Gutenberg - Version 7.4.0

Version Description

Download this release

Release Info

Developer epiqueras
Plugin Icon 128x128 Gutenberg
Version 7.4.0
Comparing to
See all releases

Code changes from version 7.3.0 to 7.4.0

build/a11y/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => 'd0c572d6fe34d783b1c2084c4dc5c46d');
1
+ <?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '306f34c32529dda32e4d40c8fb90dd45');
build/a11y/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=370)}({229:function(e,t){!function(){e.exports=this.wp.domReady}()},370:function(e,t,n){"use strict";n.r(t);var r=n(229),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document.querySelector("body");return n&&n.appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&i("polite"),null===t&&i("assertive")};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
1
+ this.wp=this.wp||{},this.wp.a11y=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=376)}({229:function(e,t){!function(){e.exports=this.wp.domReady}()},376:function(e,t,n){"use strict";n.r(t);var r=n(229),o=n.n(r),i=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","position: absolute;margin: -1px;padding: 0;height: 1px;width: 1px;overflow: hidden;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%);clip-path: inset(50%);border: 0;word-wrap: normal !important;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true");var n=document.querySelector("body");return n&&n.appendChild(t),t},a=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""},u="",l=function(e){return e=e.replace(/<[^<>]+>/g," "),u===e&&(e+=" "),u=e,e};n.d(t,"setup",(function(){return p})),n.d(t,"speak",(function(){return c}));var p=function(){var e=document.getElementById("a11y-speak-polite"),t=document.getElementById("a11y-speak-assertive");null===e&&i("polite"),null===t&&i("assertive")};o()(p);var c=function(e,t){a(),e=l(e);var n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive");r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}}});
build/annotations/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '6094b81d16b376a6dab8a41a6c92328c');
1
+ <?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'c464d05054ff155b7b819fd7b4761683');
build/annotations/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.annotations=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=360)}({1:function(t,n){!function(){t.exports=this.wp.i18n}()},10:function(t,n,e){"use strict";function r(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"a",(function(){return r}))},110:function(t,n){var e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(e){var r=new Uint8Array(16);t.exports=function(){return e(r),r}}else{var o=new Array(16);t.exports=function(){for(var t,n=0;n<16;n++)0==(3&n)&&(t=4294967296*Math.random()),o[n]=t>>>((3&n)<<3)&255;return o}}},111:function(t,n){for(var e=[],r=0;r<256;++r)e[r]=(r+256).toString(16).substr(1);t.exports=function(t,n){var r=n||0,o=e;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}},18:function(t,n,e){"use strict";var r=e(32);function o(t){return function(t){if(Array.isArray(t)){for(var n=0,e=new Array(t.length);n<t.length;n++)e[n]=t[n];return e}}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}e.d(n,"a",(function(){return o}))},2:function(t,n){!function(){t.exports=this.lodash}()},21:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(38);function o(t,n){if(null==t)return{};var e,o,a=Object(r.a)(t,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)e=i[o],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(a[e]=t[e])}return a}},24:function(t,n){!function(){t.exports=this.wp.richText}()},29:function(t,n){!function(){t.exports=this.wp.hooks}()},32:function(t,n,e){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}e.d(n,"a",(function(){return r}))},360:function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"__experimentalGetAnnotationsForBlock",(function(){return v})),e.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return O})),e.d(r,"__experimentalGetAnnotationsForRichText",(function(){return g})),e.d(r,"__experimentalGetAnnotations",(function(){return m}));var o={};e.r(o),e.d(o,"__experimentalAddAnnotation",(function(){return x})),e.d(o,"__experimentalRemoveAnnotation",(function(){return A})),e.d(o,"__experimentalUpdateAnnotationRange",(function(){return j})),e.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return _}));var a=e(4),i=e(10),u=e(18),c=e(6),f=e(2);function l(t,n){var e=t.filter(n);return t.length===e.length?t:e}var s=function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var r=e.blockClientId,o={id:e.id,blockClientId:r,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===o.selector&&(t=o.range,!(Object(f.isNumber)(t.start)&&Object(f.isNumber)(t.end)&&t.start<=t.end)))return n;var a=Object(f.get)(n,r,[]);return Object(c.a)({},n,Object(i.a)({},r,[].concat(Object(u.a)(a),[o])));case"ANNOTATION_REMOVE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.id!==e.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(f.mapValues)(n,(function(t){var n=!1,r=t.map((function(t){return t.id===e.annotationId?(n=!0,Object(c.a)({},t,{range:{start:e.start,end:e.end}})):t}));return n?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(f.mapValues)(n,(function(t){return l(t,(function(t){return t.source!==e.source}))}))}return n},d=e(21),p=e(37),b=[],v=Object(p.a)((function(t,n){return Object(f.get)(t,n,[]).filter((function(t){return"block"===t.selector}))}),(function(t,n){return[Object(f.get)(t,n,b)]})),O=function(t,n){return Object(f.get)(t,n,b)},g=Object(p.a)((function(t,n,e){return Object(f.get)(t,n,[]).filter((function(t){return"range"===t.selector&&e===t.richTextIdentifier})).map((function(t){var n=t.range,e=Object(d.a)(t,["range"]);return Object(c.a)({},n,e)}))}),(function(t,n){return[Object(f.get)(t,n,b)]}));function m(t){return Object(f.flatMap)(t,(function(t){return t}))}var y=e(79),h=e.n(y);function x(t){var n=t.blockClientId,e=t.richTextIdentifier,r=void 0===e?null:e,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?h()():l,blockClientId:n,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function A(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function j(t,n,e){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:n,end:e}}function _(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:s,selectors:r,actions:o});var T=e(24),N=e(1),w="core/annotation",I="annotation-text-";var E={name:w,title:Object(N.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,n){var e=n.richTextIdentifier,r=n.blockClientId;return{annotations:t("core/annotations").__experimentalGetAnnotationsForRichText(r,e)}},__experimentalCreatePrepareEditableTree:function(t){var n=t.annotations;return function(t,e){if(0===n.length)return t;var r={formats:t,text:e};return(r=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(n){var e=n.start,r=n.end;e>t.text.length&&(e=t.text.length),r>t.text.length&&(r=t.text.length);var o=I+n.source,a=I+n.id;t=Object(T.applyFormat)(t,{type:w,attributes:{className:o,id:a}},e,r)})),t}(r,n)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(n){var e=function(t){var n={};return t.forEach((function(t,e){(t=(t=t||[]).filter((function(t){return t.type===w}))).forEach((function(t){var r=t.attributes.id;r=r.replace(I,""),n.hasOwnProperty(r)||(n[r]={start:e}),n[r].end=e+1}))})),n}(n),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,n,e){var r=e.removeAnnotation,o=e.updateAnnotationRange;t.forEach((function(t){var e=n[t.id];if(e){var a=t.start,i=t.end;a===e.start&&i===e.end||o(t.id,e.start,e.end)}else r(t.id)}))}(t.annotations,e,{removeAnnotation:r,updateAnnotationRange:o})}}},R=E.name,k=Object(d.a)(E,["name"]);Object(T.registerFormatType)(R,k);var P=e(29);Object(P.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,n){var e=n.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(e).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},37:function(t,n,e){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,n,e){var r;if(t.length!==n.length)return!1;for(r=e;r<t.length;r++)if(t[r]!==n[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,n.a=function(t,n){var e,c;function f(){e=o?new WeakMap:i()}function l(){var e,r,o,a,i,f=arguments.length;for(a=new Array(f),o=0;o<f;o++)a[o]=arguments[o];for(i=n.apply(null,a),(e=c(i)).isUniqueByDependants||(e.lastDependants&&!u(i,e.lastDependants,0)&&e.clear(),e.lastDependants=i),r=e.head;r;){if(u(r.args,a,1))return r!==e.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=e.head,r.prev=null,e.head.prev=r,e.head=r),r.val;r=r.next}return r={val:t.apply(null,a)},a[0]=null,r.args=a,e.head&&(e.head.prev=r,r.next=e.head),e.head=r,r.val}return n||(n=a),c=o?function(t){var n,o,a,u,c,f=e,l=!0;for(n=0;n<t.length;n++){if(o=t[n],!(c=o)||"object"!=typeof c){l=!1;break}f.has(o)?f=f.get(o):(a=new WeakMap,f.set(o,a),f=a)}return f.has(r)||((u=i()).isUniqueByDependants=l,f.set(r,u)),f.get(r)}:function(){return e},l.getDependants=n,l.clear=f,f(),l}},38:function(t,n,e){"use strict";function r(t,n){if(null==t)return{};var e,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)e=a[r],n.indexOf(e)>=0||(o[e]=t[e]);return o}e.d(n,"a",(function(){return r}))},4:function(t,n){!function(){t.exports=this.wp.data}()},6:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(10);function o(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{},o=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(e).filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})))),o.forEach((function(n){Object(r.a)(t,n,e[n])}))}return t}},79:function(t,n,e){var r=e(110),o=e(111);t.exports=function(t,n,e){var a=n&&e||0;"string"==typeof t&&(n="binary"===t?new Array(16):null,t=null);var i=(t=t||{}).random||(t.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,n)for(var u=0;u<16;++u)n[a+u]=i[u];return n||o(i)}}});
1
+ this.wp=this.wp||{},this.wp.annotations=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=366)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},109:function(t,e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);t.exports=function(){return n(r),r}}else{var o=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0==(3&e)&&(t=4294967296*Math.random()),o[e]=t>>>((3&e)<<3)&255;return o}}},110:function(t,e){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);t.exports=function(t,e){var r=e||0,o=n;return[o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],"-",o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]],o[t[r++]]].join("")}},18:function(t,e,n){"use strict";var r=n(33);function o(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return o}))},2:function(t,e){!function(){t.exports=this.lodash}()},20:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(38);function o(t,e){if(null==t)return{};var n,o,a=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}},24:function(t,e){!function(){t.exports=this.wp.richText}()},29:function(t,e){!function(){t.exports=this.wp.hooks}()},33:function(t,e,n){"use strict";function r(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}n.d(e,"a",(function(){return r}))},366:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"__experimentalGetAnnotationsForBlock",(function(){return y})),n.d(r,"__experimentalGetAllAnnotationsForBlock",(function(){return m})),n.d(r,"__experimentalGetAnnotationsForRichText",(function(){return h})),n.d(r,"__experimentalGetAnnotations",(function(){return j}));var o={};n.r(o),n.d(o,"__experimentalAddAnnotation",(function(){return _})),n.d(o,"__experimentalRemoveAnnotation",(function(){return w})),n.d(o,"__experimentalUpdateAnnotationRange",(function(){return T})),n.d(o,"__experimentalRemoveAnnotationsBySource",(function(){return N}));var a=n(4),i=n(18),u=n(5),c=n(2);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){Object(u.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e){var n=t.filter(e);return t.length===n.length?t:n}function p(t){return Object(c.isNumber)(t.start)&&Object(c.isNumber)(t.end)&&t.start<=t.end}var d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"ANNOTATION_ADD":var n=e.blockClientId,r={id:e.id,blockClientId:n,richTextIdentifier:e.richTextIdentifier,source:e.source,selector:e.selector,range:e.range};if("range"===r.selector&&!p(r.range))return t;var o=Object(c.get)(t,n,[]);return l({},t,Object(u.a)({},n,[].concat(Object(i.a)(o),[r])));case"ANNOTATION_REMOVE":return Object(c.mapValues)(t,(function(t){return s(t,(function(t){return t.id!==e.annotationId}))}));case"ANNOTATION_UPDATE_RANGE":return Object(c.mapValues)(t,(function(t){var n=!1,r=t.map((function(t){return t.id===e.annotationId?(n=!0,l({},t,{range:{start:e.start,end:e.end}})):t}));return n?r:t}));case"ANNOTATION_REMOVE_SOURCE":return Object(c.mapValues)(t,(function(t){return s(t,(function(t){return t.source!==e.source}))}))}return t},b=n(20),O=n(39);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var g=[],y=Object(O.a)((function(t,e){return Object(c.get)(t,e,[]).filter((function(t){return"block"===t.selector}))}),(function(t,e){return[Object(c.get)(t,e,g)]})),m=function(t,e){return Object(c.get)(t,e,g)},h=Object(O.a)((function(t,e,n){return Object(c.get)(t,e,[]).filter((function(t){return"range"===t.selector&&n===t.richTextIdentifier})).map((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(u.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.range,{},Object(b.a)(t,["range"]))}))}),(function(t,e){return[Object(c.get)(t,e,g)]}));function j(t){return Object(c.flatMap)(t,(function(t){return t}))}var x=n(78),A=n.n(x);function _(t){var e=t.blockClientId,n=t.richTextIdentifier,r=void 0===n?null:n,o=t.range,a=void 0===o?null:o,i=t.selector,u=void 0===i?"range":i,c=t.source,f=void 0===c?"default":c,l=t.id,s={type:"ANNOTATION_ADD",id:void 0===l?A()():l,blockClientId:e,richTextIdentifier:r,source:f,selector:u};return"range"===u&&(s.range=a),s}function w(t){return{type:"ANNOTATION_REMOVE",annotationId:t}}function T(t,e,n){return{type:"ANNOTATION_UPDATE_RANGE",annotationId:t,start:e,end:n}}function N(t){return{type:"ANNOTATION_REMOVE_SOURCE",source:t}}Object(a.registerStore)("core/annotations",{reducer:d,selectors:r,actions:o});var P=n(24),E=n(1);var I={name:"core/annotation",title:Object(E.__)("Annotation"),tagName:"mark",className:"annotation-text",attributes:{className:"class",id:"id"},edit:function(){return null},__experimentalGetPropsForEditableTreePreparation:function(t,e){var n=e.richTextIdentifier,r=e.blockClientId;return{annotations:t("core/annotations").__experimentalGetAnnotationsForRichText(r,n)}},__experimentalCreatePrepareEditableTree:function(t){var e=t.annotations;return function(t,n){if(0===e.length)return t;var r={formats:t,text:n};return(r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){var n=e.start,r=e.end;n>t.text.length&&(n=t.text.length),r>t.text.length&&(r=t.text.length);var o="annotation-text-"+e.source,a="annotation-text-"+e.id;t=Object(P.applyFormat)(t,{type:"core/annotation",attributes:{className:o,id:a}},n,r)})),t}(r,e)).formats}},__experimentalGetPropsForEditableTreeChangeHandler:function(t){return{removeAnnotation:t("core/annotations").__experimentalRemoveAnnotation,updateAnnotationRange:t("core/annotations").__experimentalUpdateAnnotationRange}},__experimentalCreateOnChangeEditableValue:function(t){return function(e){var n=function(t){var e={};return t.forEach((function(t,n){(t=(t=t||[]).filter((function(t){return"core/annotation"===t.type}))).forEach((function(t){var r=t.attributes.id;r=r.replace("annotation-text-",""),e.hasOwnProperty(r)||(e[r]={start:n}),e[r].end=n+1}))})),e}(e),r=t.removeAnnotation,o=t.updateAnnotationRange;!function(t,e,n){var r=n.removeAnnotation,o=n.updateAnnotationRange;t.forEach((function(t){var n=e[t.id];if(n){var a=t.start,i=t.end;a===n.start&&i===n.end||o(t.id,n.start,n.end)}else r(t.id)}))}(t.annotations,n,{removeAnnotation:r,updateAnnotationRange:o})}}},R=I.name,k=Object(b.a)(I,["name"]);Object(P.registerFormatType)(R,k);var D=n(29);Object(D.addFilter)("editor.BlockListBlock","core/annotations",(function(t){return Object(a.withSelect)((function(t,e){var n=e.clientId;return{className:t("core/annotations").__experimentalGetAnnotationsForBlock(n).map((function(t){return"is-annotated-by-"+t.source})).join(" ")}}))(t)}))},38:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,"a",(function(){return r}))},39:function(t,e,n){"use strict";var r,o;function a(t){return[t]}function i(){var t={clear:function(){t.head=null}};return t}function u(t,e,n){var r;if(t.length!==e.length)return!1;for(r=n;r<t.length;r++)if(t[r]!==e[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,e.a=function(t,e){var n,c;function f(){n=o?new WeakMap:i()}function l(){var n,r,o,a,i,f=arguments.length;for(a=new Array(f),o=0;o<f;o++)a[o]=arguments[o];for(i=e.apply(null,a),(n=c(i)).isUniqueByDependants||(n.lastDependants&&!u(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(u(r.args,a,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:t.apply(null,a)},a[0]=null,r.args=a,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return e||(e=a),c=o?function(t){var e,o,a,u,c,f=n,l=!0;for(e=0;e<t.length;e++){if(o=t[e],!(c=o)||"object"!=typeof c){l=!1;break}f.has(o)?f=f.get(o):(a=new WeakMap,f.set(o,a),f=a)}return f.has(r)||((u=i()).isUniqueByDependants=l,f.set(r,u)),f.get(r)}:function(){return n},l.getDependants=e,l.clear=f,f(),l}},4:function(t,e){!function(){t.exports=this.wp.data}()},5:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},78:function(t,e,n){var r=n(109),o=n(110);t.exports=function(t,e,n){var a=e&&n||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null);var i=(t=t||{}).random||(t.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e)for(var u=0;u<16;++u)e[a+u]=i[u];return e||o(i)}}});
build/api-fetch/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '1719816837be9320ed22afeaf39d3e96');
1
+ <?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '7509126f38024588cb77d59156a1c96b');
build/api-fetch/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.apiFetch=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=358)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},10: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}))},21:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(38);function o(e,t){if(null==e)return{};var r,o,a=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(o=0;o<u.length;o++)r=u[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},26:function(e,t){!function(){e.exports=this.wp.url}()},358:function(e,t,r){"use strict";r.r(t);var n=r(6),o=r(21),a=r(1);var u=function(e){function t(e,r){var o=e.headers,a=void 0===o?{}:o;for(var u in a)if("x-wp-nonce"===u.toLowerCase())return r(e);return r(Object(n.a)({},e,{headers:Object(n.a)({},a,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t},c=function(e,t){var r,o,a=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),a=(o=e.endpoint.replace(/^\//,""))?r+"/"+o:r),delete e.namespace,delete e.endpoint,t(Object(n.a)({},e,{path:a}))},i=function(e){return function(t,r){return c(t,(function(t){var o,a=t.url,u=t.path;return"string"==typeof u&&(o=e,-1!==e.indexOf("?")&&(u=u.replace("?","&")),u=u.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(u=u.replace("?","&")),a=o+u),r(Object(n.a)({},t,{url:a}))}))}};function s(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):n}var f=function(e){var t=Object.keys(e).reduce((function(t,r){return t[s(r)]=e[r],t}),{});return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var a=e.method||"GET",u=s(e.path);if(o&&"GET"===a&&t[u])return Promise.resolve(t[u].body);if("OPTIONS"===a&&t[a]&&t[a][u])return Promise.resolve(t[a][u])}return r(e)}},p=r(23),l=r.n(p),d=r(46),h=r(26),b=function(e,t){var r=e.path,a=e.url,u=Object(o.a)(e,["path","url"]);return Object(n.a)({},u,{url:a&&Object(h.addQueryArgs)(a,t),path:r&&Object(h.addQueryArgs)(r,t)})},v=function(e){return e.json?e.json():Promise.reject(e)},O=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},j=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},y=function(){var e=Object(d.a)(l.a.mark((function e(t,r){var o,a,u,c,i,s;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(j(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(Object(n.a)({},b(t,{per_page:100}),{parse:!1}));case 6:return o=e.sent,e.next=9,v(o);case 9:if(a=e.sent,Array.isArray(a)){e.next=12;break}return e.abrupt("return",a);case 12:if(u=O(o)){e.next=15;break}return e.abrupt("return",a);case 15:c=[].concat(a);case 16:if(!u){e.next=27;break}return e.next=19,r(Object(n.a)({},t,{path:void 0,url:u,parse:!1}));case 19:return i=e.sent,e.next=22,v(i);case 22:s=e.sent,c=c.concat(s),u=O(i),e.next=16;break;case 27:return e.abrupt("return",c);case 28:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),m=new Set(["PATCH","PUT","DELETE"]),g="GET";var w=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},x=function(e){var t={code:"invalid_json",message:Object(a.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},P=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(w(e,t)).catch((function(e){return _(e,t)}))};function _(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]))throw e;return x(e).then((function(e){var t={code:"unknown_error",message:Object(a.__)("An unknown error occurred.")};throw e||t}))}var T=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var r=0;return t(Object(n.a)({},e,{parse:!1})).catch((function(n){var o=n.headers.get("x-wp-upload-attachment-id");return n.status>=500&&n.status<600&&o?function e(n){return r++,t({path:"/wp/v2/media/".concat(n,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return r<5?e(n):(t({path:"/wp/v2/media/".concat(n,"?force=true"),method:"DELETE"}),Promise.reject())}))}(o).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:Object(a.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):_(n,e.parse)})).then((function(t){return P(t,e.parse)}))},S={Accept:"application/json, */*;q=0.1"},k={credentials:"include"},A=[function(e,t){return"string"!=typeof e.url||Object(h.hasQueryArg)(e.url,"_locale")||(e.url=Object(h.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(h.hasQueryArg)(e.path,"_locale")||(e.path=Object(h.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},c,function(e,t){var r=e.method,o=void 0===r?g:r;return m.has(o.toUpperCase())&&(e=Object(n.a)({},e,{headers:Object(n.a)({},e.headers,{"X-HTTP-Method-Override":o,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},y];var E=function(e){if(e.status>=200&&e.status<300)return e;throw e},M=function(e){var t=e.url,r=e.path,u=e.data,c=e.parse,i=void 0===c||c,s=Object(o.a)(e,["url","path","data","parse"]),f=e.body,p=e.headers;return p=Object(n.a)({},S,p),u&&(f=JSON.stringify(u),p["Content-Type"]="application/json"),window.fetch(t||r,Object(n.a)({},k,s,{body:f,headers:p})).then((function(e){return Promise.resolve(e).then(E).catch((function(e){return _(e,i)})).then((function(e){return P(e,i)}))}),(function(){throw{code:"fetch_error",message:Object(a.__)("You are probably offline.")}}))};function C(e){var t=[].concat(A,[M]);return new Promise((function(r,n){(function e(r){return function(n){var o=t[r];return r===t.length-1?o(n):o(n,e(r+1))}})(0)(e).then(r).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return n(t);window.fetch(C.nonceEndpoint).then(E).then((function(e){return e.text()})).then((function(t){C.nonceMiddleware.nonce=t,C(e).then(r).catch(n)})).catch(n)}))}))}C.use=function(e){A.unshift(e)},C.setFetchHandler=function(e){M=e},C.createNonceMiddleware=u,C.createPreloadingMiddleware=f,C.createRootURLMiddleware=i,C.fetchAllMiddleware=y,C.mediaUploadMiddleware=T;t.default=C},38:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},46:function(e,t,r){"use strict";function n(e,t,r,n,o,a,u){try{var c=e[a](u),i=c.value}catch(e){return void r(e)}c.done?t(i):Promise.resolve(i).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var u=e.apply(t,r);function c(e){n(u,o,a,c,i,"next",e)}function i(e){n(u,o,a,c,i,"throw",e)}c(void 0)}))}}r.d(t,"a",(function(){return o}))},6:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(10);function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),o.forEach((function(t){Object(n.a)(e,t,r[t])}))}return e}}}).default;
1
+ this.wp=this.wp||{},this.wp.apiFetch=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=364)}({1:function(e,t){!function(){e.exports=this.wp.i18n}()},20:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(38);function o(e,t){if(null==e)return{};var r,o,c=Object(n.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(c[r]=e[r])}return c}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},26:function(e,t){!function(){e.exports=this.wp.url}()},364:function(e,t,r){"use strict";r.r(t);var n=r(5),o=r(20),c=r(1);function i(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 a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=function(e){function t(e,r){var n=e.headers,o=void 0===n?{}:n;for(var c in o)if("x-wp-nonce"===c.toLowerCase())return r(e);return r(a({},e,{headers:a({},o,{"X-WP-Nonce":t.nonce})}))}return t.nonce=e,t};function s(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 p=function(e,t){var r,o,c=e.path;return"string"==typeof e.namespace&&"string"==typeof e.endpoint&&(r=e.namespace.replace(/^\/|\/$/g,""),c=(o=e.endpoint.replace(/^\//,""))?r+"/"+o:r),delete e.namespace,delete e.endpoint,t(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{path:c}))};function f(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 l=function(e){return function(t,r){return p(t,(function(t){var o,c=t.url,i=t.path;return"string"==typeof i&&(o=e,-1!==e.indexOf("?")&&(i=i.replace("?","&")),i=i.replace(/^\//,""),"string"==typeof o&&-1!==o.indexOf("?")&&(i=i.replace("?","&")),c=o+i),r(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t,{url:c}))}))}};function O(e){var t=e.split("?"),r=t[1],n=t[0];return r?n+"?"+r.split("&").map((function(e){return e.split("=")})).sort((function(e,t){return e[0].localeCompare(t[0])})).map((function(e){return e.join("=")})).join("&"):n}var b=function(e){var t=Object.keys(e).reduce((function(t,r){return t[O(r)]=e[r],t}),{});return function(e,r){var n=e.parse,o=void 0===n||n;if("string"==typeof e.path){var c=e.method||"GET",i=O(e.path);if(o&&"GET"===c&&t[i])return Promise.resolve(t[i].body);if("OPTIONS"===c&&t[c]&&t[c][i])return Promise.resolve(t[c][i])}return r(e)}},d=r(23),j=r.n(d),y=r(47),h=r(26);function v(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 g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P=function(e){return e.json?e.json():Promise.reject(e)},w=function(e){return function(e){if(!e)return{};var t=e.match(/<([^>]+)>; rel="next"/);return t?{next:t[1]}:{}}(e.headers.get("link")).next},m=function(e){var t=e.path&&-1!==e.path.indexOf("per_page=-1"),r=e.url&&-1!==e.url.indexOf("per_page=-1");return t||r},x=function(){var e=Object(y.a)(j.a.mark((function e(t,r){var n,c,i,a,u,s;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==t.parse){e.next=2;break}return e.abrupt("return",r(t));case 2:if(m(t)){e.next=4;break}return e.abrupt("return",r(t));case 4:return e.next=6,r(g({},(f={per_page:100},l=void 0,O=void 0,l=(p=t).path,O=p.url,g({},Object(o.a)(p,["path","url"]),{url:O&&Object(h.addQueryArgs)(O,f),path:l&&Object(h.addQueryArgs)(l,f)})),{parse:!1}));case 6:return n=e.sent,e.next=9,P(n);case 9:if(c=e.sent,Array.isArray(c)){e.next=12;break}return e.abrupt("return",c);case 12:if(i=w(n)){e.next=15;break}return e.abrupt("return",c);case 15:a=[].concat(c);case 16:if(!i){e.next=27;break}return e.next=19,r(g({},t,{path:void 0,url:i,parse:!1}));case 19:return u=e.sent,e.next=22,P(u);case 22:s=e.sent,a=a.concat(s),i=w(u),e.next=16;break;case 27:return e.abrupt("return",a);case 28:case"end":return e.stop()}var p,f,l,O}),e)})));return function(t,r){return e.apply(this,arguments)}}();function D(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 _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=new Set(["PATCH","PUT","DELETE"]);var E=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?204===e.status?null:e.json?e.json():Promise.reject(e):e},k=function(e){var t={code:"invalid_json",message:Object(c.__)("The response is not a valid JSON response.")};if(!e||!e.json)throw t;return e.json().catch((function(){throw t}))},T=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Promise.resolve(E(e,t)).catch((function(e){return A(e,t)}))};function A(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t)throw e;return k(e).then((function(e){var t={code:"unknown_error",message:Object(c.__)("An unknown error occurred.")};throw e||t}))}function M(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 C=function(e,t){if(!(e.path&&-1!==e.path.indexOf("/wp/v2/media")||e.url&&-1!==e.url.indexOf("/wp/v2/media")))return t(e,t);var r=0;return t(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{parse:!1})).catch((function(n){var o=n.headers.get("x-wp-upload-attachment-id");return n.status>=500&&n.status<600&&o?function e(n){return r++,t({path:"/wp/v2/media/".concat(n,"/post-process"),method:"POST",data:{action:"create-image-subsizes"},parse:!1}).catch((function(){return r<5?e(n):(t({path:"/wp/v2/media/".concat(n,"?force=true"),method:"DELETE"}),Promise.reject())}))}(o).catch((function(){return!1!==e.parse?Promise.reject({code:"post_process",message:Object(c.__)("Media upload failed. If this is a photo or a large image, please scale it down and try again.")}):Promise.reject(n)})):A(n,e.parse)})).then((function(t){return T(t,e.parse)}))};function Q(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 N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Q(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var L={Accept:"application/json, */*;q=0.1"},U={credentials:"include"},G=[function(e,t){return"string"!=typeof e.url||Object(h.hasQueryArg)(e.url,"_locale")||(e.url=Object(h.addQueryArgs)(e.url,{_locale:"user"})),"string"!=typeof e.path||Object(h.hasQueryArg)(e.path,"_locale")||(e.path=Object(h.addQueryArgs)(e.path,{_locale:"user"})),t(e,t)},p,function(e,t){var r=e.method,n=void 0===r?"GET":r;return S.has(n.toUpperCase())&&(e=_({},e,{headers:_({},e.headers,{"X-HTTP-Method-Override":n,"Content-Type":"application/json"}),method:"POST"})),t(e,t)},x];var H=function(e){if(e.status>=200&&e.status<300)return e;throw e},I=function(e){var t=e.url,r=e.path,n=e.data,i=e.parse,a=void 0===i||i,u=Object(o.a)(e,["url","path","data","parse"]),s=e.body,p=e.headers;return p=N({},L,{},p),n&&(s=JSON.stringify(n),p["Content-Type"]="application/json"),window.fetch(t||r,N({},U,{},u,{body:s,headers:p})).then((function(e){return Promise.resolve(e).then(H).catch((function(e){return A(e,a)})).then((function(e){return T(e,a)}))}),(function(){throw{code:"fetch_error",message:Object(c.__)("You are probably offline.")}}))};function R(e){var t=[].concat(G,[I]);return new Promise((function(r,n){(function e(r){return function(n){var o=t[r];return r===t.length-1?o(n):o(n,e(r+1))}})(0)(e).then(r).catch((function(t){if("rest_cookie_invalid_nonce"!==t.code)return n(t);window.fetch(R.nonceEndpoint).then(H).then((function(e){return e.text()})).then((function(t){R.nonceMiddleware.nonce=t,R(e).then(r).catch(n)})).catch(n)}))}))}R.use=function(e){G.unshift(e)},R.setFetchHandler=function(e){I=e},R.createNonceMiddleware=u,R.createPreloadingMiddleware=b,R.createRootURLMiddleware=l,R.fetchAllMiddleware=x,R.mediaUploadMiddleware=C;t.default=R},38: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}))},47:function(e,t,r){"use strict";function n(e,t,r,n,o,c,i){try{var a=e[c](i),u=a.value}catch(e){return void r(e)}a.done?t(u):Promise.resolve(u).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,c){var i=e.apply(t,r);function a(e){n(i,o,c,a,u,"next",e)}function u(e){n(i,o,c,a,u,"throw",e)}a(void 0)}))}}r.d(t,"a",(function(){return o}))},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}))}}).default;
build/autop/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => '637617ad3649f7441165c34c3c5ef3a5');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '484d8a30984902cd422b6c6d058a3dca');
build/autop/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.autop=function(e){var r={};function n(t){if(r[t])return r[t].exports;var p=r[t]={i:t,l:!1,exports:{}};return e[t].call(p.exports,p,p.exports,n),p.l=!0,p.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var p in e)n.d(t,p,function(r){return e[r]}.bind(null,p));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=248)}({19:function(e,r,n){"use strict";var t=n(35);var p=n(36);function c(e,r){return Object(t.a)(e)||function(e,r){var n=[],t=!0,p=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done)&&(n.push(a.value),!r||n.length!==r);t=!0);}catch(e){p=!0,c=e}finally{try{t||null==i.return||i.return()}finally{if(p)throw c}}return n}(e,r)||Object(p.a)()}n.d(r,"a",(function(){return c}))},248:function(e,r,n){"use strict";n.r(r),n.d(r,"autop",(function(){return a})),n.d(r,"removep",(function(){return i}));var t=n(19),p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a<n.length;a+=2)for(var i=0;i<c.length;i++){var o=c[i];if(-1!==n[a].indexOf(o)){n[a]=n[a].replace(new RegExp(o,"g"),r[o]),t=!0;break}}return t&&(e=n.join("")),e}function a(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var p=e.split("</pre>"),a=p.pop();e="";for(var i=0;i<p.length;i++){var o=p[i],l=o.indexOf("<pre");if(-1!==l){var s="<pre wp-pre-tag-"+i+"></pre>";n.push([s,o.substr(l)+"</pre>"]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+u+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach((function(r){e+="<p>"+r.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+u+"[^>]*>)\\s*</p>","g"),"$1"),r&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")}))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(function(e,r){return r?e:"<br />\n"}))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+u+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach((function(r){var n=Object(t.a)(r,2),p=n[0],c=n[1];e=e.replace(p,c)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function i(e){var r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",t=r+"|pre",p=[],c=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,(function(e){return p.push(e),"<wp-preserve>"}))),-1!==e.indexOf("<pre")&&(c=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,(function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")}))),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,(function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")}))),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>[\s\S]*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,(function(e,r){return r&&-1!==r.indexOf("\n")?"\n\n":"\n"}))).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*</("+t+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,(function(e){return e.replace(/[\r\n]+/g,"")}))),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),p.length&&(e=e.replace(/<wp-preserve>/g,(function(){return p.shift()}))),e):""}},35:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},36:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",(function(){return t}))}});
1
+ this.wp=this.wp||{},this.wp.autop=function(e){var r={};function n(t){if(r[t])return r[t].exports;var p=r[t]={i:t,l:!1,exports:{}};return e[t].call(p.exports,p,p.exports,n),p.l=!0,p.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var p in e)n.d(t,p,function(r){return e[r]}.bind(null,p));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=248)}({19:function(e,r,n){"use strict";var t=n(36);var p=n(37);function c(e,r){return Object(t.a)(e)||function(e,r){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],t=!0,p=!1,c=void 0;try{for(var a,i=e[Symbol.iterator]();!(t=(a=i.next()).done)&&(n.push(a.value),!r||n.length!==r);t=!0);}catch(e){p=!0,c=e}finally{try{t||null==i.return||i.return()}finally{if(p)throw c}}return n}}(e,r)||Object(p.a)()}n.d(r,"a",(function(){return c}))},248:function(e,r,n){"use strict";n.r(r),n.d(r,"autop",(function(){return a})),n.d(r,"removep",(function(){return i}));var t=n(19),p=new RegExp("(<((?=!--|!\\[CDATA\\[)((?=!-)!(?:-(?!->)[^\\-]*)*(?:--\x3e)?|!\\[CDATA\\[[^\\]]*(?:](?!]>)[^\\]]*)*?(?:]]>)?)|[^>]*>?))");function c(e,r){for(var n=function(e){for(var r,n=[],t=e;r=t.match(p);)n.push(t.slice(0,r.index)),n.push(r[0]),t=t.slice(r.index+r[0].length);return t.length&&n.push(t),n}(e),t=!1,c=Object.keys(r),a=1;a<n.length;a+=2)for(var i=0;i<c.length;i++){var o=c[i];if(-1!==n[a].indexOf(o)){n[a]=n[a].replace(new RegExp(o,"g"),r[o]),t=!0;break}}return t&&(e=n.join("")),e}function a(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(""===e.trim())return"";if(-1!==(e+="\n").indexOf("<pre")){var p=e.split("</pre>"),a=p.pop();e="";for(var i=0;i<p.length;i++){var o=p[i],l=o.indexOf("<pre");if(-1!==l){var s="<pre wp-pre-tag-"+i+"></pre>";n.push([s,o.substr(l)+"</pre>"]),e+=o.substr(0,l)+s}else e+=o}e+=a}var u="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";-1!==(e=c(e=(e=(e=(e=e.replace(/<br\s*\/?>\s*<br\s*\/?>/g,"\n\n")).replace(new RegExp("(<"+u+"[\\s/>])","g"),"\n\n$1")).replace(new RegExp("(</"+u+">)","g"),"$1\n\n")).replace(/\r\n|\r/g,"\n"),{"\n":" \x3c!-- wpnl --\x3e "})).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"<option")).replace(/<\/option>\s*/g,"</option>")),-1!==e.indexOf("</object>")&&(e=(e=(e=e.replace(/(<object[^>]*>)\s*/g,"$1")).replace(/\s*<\/object>/g,"</object>")).replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/g,"$1")),-1===e.indexOf("<source")&&-1===e.indexOf("<track")||(e=(e=(e=e.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/g,"$1")).replace(/\s*([<\[]\/(?:audio|video)[>\]])/g,"$1")).replace(/\s*(<(?:source|track)[^>]*>)\s*/g,"$1")),-1!==e.indexOf("<figcaption")&&(e=(e=e.replace(/\s*(<figcaption[^>]*>)/,"$1")).replace(/<\/figcaption>\s*/,"</figcaption>"));var g=(e=e.replace(/\n\n+/g,"\n\n")).split(/\n\s*\n/).filter(Boolean);return e="",g.forEach((function(r){e+="<p>"+r.replace(/^\n*|\n*$/g,"")+"</p>\n"})),e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p>\s*<\/p>/g,"")).replace(/<p>([^<]+)<\/(div|address|form)>/g,"<p>$1</p></$2>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)\\s*</p>","g"),"$1")).replace(/<p>(<li.+?)<\/p>/g,"$1")).replace(/<p><blockquote([^>]*)>/gi,"<blockquote$1><p>")).replace(/<\/blockquote><\/p>/g,"</p></blockquote>")).replace(new RegExp("<p>\\s*(</?"+u+"[^>]*>)","g"),"$1")).replace(new RegExp("(</?"+u+"[^>]*>)\\s*</p>","g"),"$1"),r&&(e=(e=(e=(e=e.replace(/<(script|style).*?<\/\\1>/g,(function(e){return e[0].replace(/\n/g,"<WPPreserveNewline />")}))).replace(/<br>|<br\/>/g,"<br />")).replace(/(<br \/>)?\s*\n/g,(function(e,r){return r?e:"<br />\n"}))).replace(/<WPPreserveNewline \/>/g,"\n")),e=(e=(e=e.replace(new RegExp("(</?"+u+"[^>]*>)\\s*<br />","g"),"$1")).replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/g,"$1")).replace(/\n<\/p>$/g,"</p>"),n.forEach((function(r){var n=Object(t.a)(r,2),p=n[0],c=n[1];e=e.replace(p,c)})),-1!==e.indexOf("\x3c!-- wpnl --\x3e")&&(e=e.replace(/\s?<!-- wpnl -->\s?/g,"\n")),e}function i(e){var r="blockquote|ul|ol|li|dl|dt|dd|table|thead|tbody|tfoot|tr|th|td|h[1-6]|fieldset|figure",n=r+"|div|p",t=r+"|pre",p=[],c=!1,a=!1;return e?(-1===e.indexOf("<script")&&-1===e.indexOf("<style")||(e=e.replace(/<(script|style)[^>]*>[\s\S]*?<\/\1>/g,(function(e){return p.push(e),"<wp-preserve>"}))),-1!==e.indexOf("<pre")&&(c=!0,e=e.replace(/<pre[^>]*>[\s\S]+?<\/pre>/g,(function(e){return(e=(e=e.replace(/<br ?\/?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/<\/?p( [^>]*)?>(\r\n|\n)?/g,"<wp-line-break>")).replace(/\r?\n/g,"<wp-line-break>")}))),-1!==e.indexOf("[caption")&&(a=!0,e=e.replace(/\[caption[\s\S]+?\[\/caption\]/g,(function(e){return e.replace(/<br([^>]*)>/g,"<wp-temp-br$1>").replace(/[\r\n\t]+/,"")}))),-1!==(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(new RegExp("\\s*</("+n+")>\\s*","g"),"</$1>\n")).replace(new RegExp("\\s*<((?:"+n+")(?: [^>]*)?)>","g"),"\n<$1>")).replace(/(<p [^>]+>[\s\S]*?)<\/p>/g,"$1</p#>")).replace(/<div( [^>]*)?>\s*<p>/gi,"<div$1>\n\n")).replace(/\s*<p>/gi,"")).replace(/\s*<\/p>\s*/gi,"\n\n")).replace(/\n[\s\u00a0]+\n/g,"\n\n")).replace(/(\s*)<br ?\/?>\s*/gi,(function(e,r){return r&&-1!==r.indexOf("\n")?"\n\n":"\n"}))).replace(/\s*<div/g,"\n<div")).replace(/<\/div>\s*/g,"</div>\n")).replace(/\s*\[caption([^\[]+)\[\/caption\]\s*/gi,"\n\n[caption$1[/caption]\n\n")).replace(/caption\]\n\n+\[caption/g,"caption]\n\n[caption")).replace(new RegExp("\\s*<((?:"+t+")(?: [^>]*)?)\\s*>","g"),"\n<$1>")).replace(new RegExp("\\s*</("+t+")>\\s*","g"),"</$1>\n")).replace(/<((li|dt|dd)[^>]*)>/g," \t<$1>")).indexOf("<option")&&(e=(e=e.replace(/\s*<option/g,"\n<option")).replace(/\s*<\/select>/g,"\n</select>")),-1!==e.indexOf("<hr")&&(e=e.replace(/\s*<hr( [^>]*)?>\s*/g,"\n\n<hr$1>\n\n")),-1!==e.indexOf("<object")&&(e=e.replace(/<object[\s\S]+?<\/object>/g,(function(e){return e.replace(/[\r\n]+/g,"")}))),e=(e=(e=(e=e.replace(/<\/p#>/g,"</p>\n")).replace(/\s*(<p [^>]+>[\s\S]*?<\/p>)/g,"\n$1")).replace(/^\s+/,"")).replace(/[\s\u00a0]+$/,""),c&&(e=e.replace(/<wp-line-break>/g,"\n")),a&&(e=e.replace(/<wp-temp-br([^>]*)>/g,"<br$1>")),p.length&&(e=e.replace(/<wp-preserve>/g,(function(){return p.shift()}))),e):""}},36:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},37:function(e,r,n){"use strict";function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(r,"a",(function(){return t}))}});
build/blob/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e24e6478b082fa4f378a3e834d3ccb8c');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => '3418c128daa155119e406fde3120b6cb');
build/block-directory/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'b3d6dd55cdf87725b49c93bdcf57681b');
1
+ <?php return array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-polyfill'), 'version' => 'db2a5e6c5875ca56cfdc7fef8d955514');
build/block-directory/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.blockDirectory=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=352)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},18:function(e,t,n){"use strict";var r=n(32);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",(function(){return o}))},19:function(e,t,n){"use strict";var r=n(35);var o=n(36);function c(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,c=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}return n}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return c}))},2:function(e,t){!function(){e.exports=this.lodash}()},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},3:function(e,t){!function(){e.exports=this.wp.components}()},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},352:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"isRequestingDownloadableBlocks",(function(){return b})),n.d(r,"getDownloadableBlocks",(function(){return d})),n.d(r,"hasInstallBlocksPermission",(function(){return f})),n.d(r,"getInstalledBlockTypes",(function(){return p}));var o={};n.r(o),n.d(o,"fetchDownloadableBlocks",(function(){return N})),n.d(o,"receiveDownloadableBlocks",(function(){return C})),n.d(o,"setInstallBlocksPermission",(function(){return T})),n.d(o,"downloadBlock",(function(){return I})),n.d(o,"installBlock",(function(){return L})),n.d(o,"uninstallBlock",(function(){return D})),n.d(o,"addInstalledBlockType",(function(){return A})),n.d(o,"removeInstalledBlockType",(function(){return P}));var c=n(4),a=n(18),l=n(10),i=n(6),s=Object(c.combineReducers)({downloadableBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{results:{},hasPermission:!0,filterValue:void 0,isRequestingDownloadableBlocks:!0,installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return Object(i.a)({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),hasPermission:!0,isRequestingDownloadableBlocks:!1});case"SET_INSTALL_BLOCKS_PERMISSION":return Object(i.a)({},e,{items:t.hasPermission?e.items:[],hasPermission:t.hasPermission});case"ADD_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return Object(i.a)({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e}}),u=n(2);function b(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function d(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function f(e){return e.downloadableBlocks.hasPermission}function p(e){return Object(u.get)(e,["downloadableBlocks","installedBlockTypes"],[])}var m=n(23),k=n.n(m),O=n(9),_=n(39),h=n.n(_),j=k.a.mark(E);function y(e){return{type:"API_FETCH",request:e}}var v=function(e,t,n){if(e){var r=document.querySelector('script[src="'.concat(e.src,'"]'));r&&r.parentNode.removeChild(r);var o=document.createElement("script");o.src="string"==typeof e?e:e.src,o.onload=t,o.onerror=n,document.body.appendChild(o)}},w=function(e){if(e){var t=document.createElement("link");t.rel="stylesheet",t.href="string"==typeof e?e:e.src,document.body.appendChild(t)}};function E(e){return k.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"LOAD_ASSETS",assets:e});case 1:case"end":return t.stop()}}),j)}var g={SELECT:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,c=t.args;return(n=e.select(r))[o].apply(n,Object(a.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,c=t.args;return(n=e.dispatch(r))[o].apply(n,Object(a.a)(c))}})),API_FETCH:function(e){var t=e.request;return h()(Object(i.a)({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise((function(e,n){if(Array.isArray(t)){var r=0;Object(u.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,v(t,(function(){if(0===--r)return e(r)}),n)):w(t)}))}else v(t.editor_script,(function(){return e(0)}),n),w(t.style)}))}},B=k.a.mark(I),x=k.a.mark(L),S=k.a.mark(D);function N(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function T(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function I(e,t,n){return k.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e.assets.length){r.next=3;break}throw new Error("Block has no assets");case 3:return r.next=5,E(e.assets);case 5:if(!Object(O.getBlockTypes)().length){r.next=10;break}t(e),r.next=11;break;case 10:throw new Error("Unable to get block types");case 11:r.next=17;break;case 13:return r.prev=13,r.t0=r.catch(0),r.next=17,n(r.t0);case 17:case"end":return r.stop()}}),B,null,[[0,13]])}function L(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,A({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),x,null,[[1,12]])}function D(e,t,n){var r,o,c;return k.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,y({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,P({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),S,null,[[1,12]])}function A(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function P(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var R={reducer:s,selectors:r,actions:o,controls:g,resolvers:{getDownloadableBlocks:k.a.mark((function e(t){var n,r;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,{type:"FETCH_DOWNLOADABLE_BLOCKS"};case 5:return e.next=7,y({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(u.mapKeys)(e,(function(e,t){return Object(u.camelCase)(t)}))})),e.next=11,C(r,t);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(2),"rest_user_cannot_view"!==e.t0.code){e.next=18;break}return e.next=18,T(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:k.a.mark((function e(){return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,T(!0);case 5:e.next=12;break;case 7:if(e.prev=7,e.t0=e.catch(0),"rest_user_cannot_view"!==e.t0.code){e.next=12;break}return e.next=12,T(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},M=(Object(c.registerStore)("core/block-directory",R),n(0)),K=n(52),H=n(19),F=n(5),V=n(8),q=n(1),W=n(3);var z=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),c=5-(r+o);return Object(M.createElement)("div",{"aria-label":Object(q.sprintf)(Object(q.__)("%s out of 5 stars"),n)},Object(u.times)(r,(function(e){return Object(M.createElement)(W.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(u.times)(o,(function(e){return Object(M.createElement)(W.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(u.times)(c,(function(e){return Object(M.createElement)(W.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},U=function(e){var t=e.rating,n=e.ratingCount;return Object(M.createElement)("div",{className:"block-directory-block-ratings"},Object(M.createElement)(z,{rating:t}),Object(M.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(q.sprintf)(Object(q._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var Y=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/)?Object(M.createElement)("img",{src:t,alt:Object(q.sprintf)(Object(q.__)("%s block icon"),n)}):Object(M.createElement)("span",null,Object(M.createElement)(F.BlockIcon,{icon:t,showColors:!0})),Object(M.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(M.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(M.createElement)(U,{rating:r,ratingCount:o})),Object(M.createElement)(W.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(q.__)("Add block")))};var $=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(q.sprintf)(Object(q.__)("Authored by %s"),t)),Object(M.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(q.sprintf)(Object(q._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n),n,r)))};var G=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"chart-line"}),Object(q.sprintf)(Object(q._n)("%d active installation","%d active installations",n),n)),Object(M.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(M.createElement)(W.Icon,{icon:"update"}),Object(q.sprintf)(Object(q.__)("Updated %s"),r))))};var J=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,c=t.description,a=t.rating,l=t.activeInstalls,i=t.ratingCount,s=t.author,u=t.humanizedUpdated,b=t.authorBlockCount,d=t.authorBlockRating;return Object(M.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(M.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(M.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(M.createElement)(Y,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(M.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(M.createElement)(G,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(M.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(M.createElement)($,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var Q=Object(V.compose)(Object(c.withDispatch)((function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,c=e("core/notices"),a=c.createErrorNotice,l=c.removeNotice,i=e("core/block-editor").removeBlocks,s=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=s(e);r(e,u.noop,(function n(){a(Object(q.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-install-error"),r(e,u.noop,n)}},{label:Object(q.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(O.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(q.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(q.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?u.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(M.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(M.createElement)(J,{key:e.id,className:Object(O.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){c(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},item:e})})),o))}));var X=Object(V.compose)([W.withSpokenMessages,Object(c.withSelect)((function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,c=r.hasInstallBlocksPermission,a=r.isRequestingDownloadableBlocks,l=c();return{downloadableItems:l?o(n):[],hasPermission:l,isLoading:a()}}))])((function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,c=e.isLoading,a=e.isWaiting,l=e.debouncedSpeak;return o?c||a?Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(M.createElement)(W.Spinner,null)):t.length?(l(Object(q.sprintf)(Object(q._n)("No blocks found in your library. We did find %d block available for download.","No blocks found in your library. We did find %d blocks available for download.",t.length),t.length)),Object(M.createElement)(M.Fragment,null,Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(q.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(M.createElement)(Q,{items:t,onSelect:n,onHover:r}))):Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library.")):(l(Object(q.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(M.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(q.__)("No blocks found in your library."),Object(M.createElement)("br",null),Object(q.__)("Please contact your site administrator to install new blocks.")))}));var Z=function(){var e=Object(M.useState)(""),t=Object(H.a)(e,2),n=t[0],r=t[1],o=Object(u.debounce)(r,400);return Object(M.createElement)(F.__experimentalInserterMenuExtension,null,(function(e){var t=e.onSelect,r=e.onHover,c=e.filterValue;return e.hasItems||!c?null:(n!==c&&o(c),Object(M.createElement)(X,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(K.registerPlugin)("block-directory",{render:function(){return Object(M.createElement)(Z,null)}})},36:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},39:function(e,t){!function(){e.exports=this.wp.apiFetch}()},4:function(e,t){!function(){e.exports=this.wp.data}()},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},52:function(e,t){!function(){e.exports=this.wp.plugins}()},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){Object(r.a)(e,t,n[t])}))}return e}},8:function(e,t){!function(){e.exports=this.wp.compose}()},9:function(e,t){!function(){e.exports=this.wp.blocks}()}});
1
+ this.wp=this.wp||{},this.wp.blockDirectory=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=358)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},18:function(e,t,n){"use strict";var r=n(33);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",(function(){return o}))},19:function(e,t,n){"use strict";var r=n(36);var o=n(37);function c(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,c=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,c=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw c}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return c}))},2:function(e,t){!function(){e.exports=this.lodash}()},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},3:function(e,t){!function(){e.exports=this.wp.components}()},33:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},358:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"isRequestingDownloadableBlocks",(function(){return b})),n.d(r,"getDownloadableBlocks",(function(){return d})),n.d(r,"hasInstallBlocksPermission",(function(){return f})),n.d(r,"getInstalledBlockTypes",(function(){return p}));var o={};n.r(o),n.d(o,"fetchDownloadableBlocks",(function(){return P})),n.d(o,"receiveDownloadableBlocks",(function(){return C})),n.d(o,"setInstallBlocksPermission",(function(){return T})),n.d(o,"downloadBlock",(function(){return I})),n.d(o,"installBlock",(function(){return L})),n.d(o,"uninstallBlock",(function(){return A})),n.d(o,"addInstalledBlockType",(function(){return R})),n.d(o,"removeInstalledBlockType",(function(){return M}));var c=n(4),a=n(18),l=n(5);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=Object(c.combineReducers)({downloadableBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{results:{},filterValue:void 0,isRequestingDownloadableBlocks:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return s({},e,{isRequestingDownloadableBlocks:!0});case"RECEIVE_DOWNLOADABLE_BLOCKS":return s({},e,{results:Object.assign({},e.results,Object(l.a)({},t.filterValue,t.downloadableBlocks)),isRequestingDownloadableBlocks:!1})}return e},blockManagement:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{installedBlockTypes:[]},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ADD_INSTALLED_BLOCK_TYPE":return s({},e,{installedBlockTypes:[].concat(Object(a.a)(e.installedBlockTypes),[t.item])});case"REMOVE_INSTALLED_BLOCK_TYPE":return s({},e,{installedBlockTypes:e.installedBlockTypes.filter((function(e){return e.name!==t.item.name}))})}return e},hasPermission:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;return"SET_INSTALL_BLOCKS_PERMISSION"===t.type?t.hasPermission:e}});function b(e){return e.downloadableBlocks.isRequestingDownloadableBlocks}function d(e,t){return e.downloadableBlocks.results[t]?e.downloadableBlocks.results[t]:[]}function f(e){return e.hasPermission}function p(e){return e.blockManagement.installedBlockTypes}var m=n(23),O=n.n(m),k=n(9),j=n(2),y=n(40),h=n.n(y);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var v=O.a.mark(B);function w(e){return{type:"API_FETCH",request:e}}var g=function(e,t,n){if(e){var r=document.querySelector('script[src="'.concat(e.src,'"]'));r&&r.parentNode.removeChild(r);var o=document.createElement("script");o.src="string"==typeof e?e:e.src,o.onload=t,o.onerror=n,document.body.appendChild(o)}},E=function(e){if(e){var t=document.createElement("link");t.rel="stylesheet",t.href="string"==typeof e?e:e.src,document.body.appendChild(t)}};function B(e){return O.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",{type:"LOAD_ASSETS",assets:e});case 1:case"end":return t.stop()}}),v)}var x={SELECT:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,c=t.args;return(n=e.select(r))[o].apply(n,Object(a.a)(c))}})),DISPATCH:Object(c.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.dispatcherName,c=t.args;return(n=e.dispatch(r))[o].apply(n,Object(a.a)(c))}})),API_FETCH:function(e){var t=e.request;return h()(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t))},LOAD_ASSETS:function(e){var t=e.assets;return new Promise((function(e,n){if(Array.isArray(t)){var r=0;Object(j.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,g(t,(function(){if(0===--r)return e(r)}),n)):E(t)}))}else g(t.editor_script,(function(){return e(0)}),n),E(t.style)}))}},S=O.a.mark(I),N=O.a.mark(L),D=O.a.mark(A);function P(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function T(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function I(e,t,n){return O.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(r.prev=0,e.assets.length){r.next=3;break}throw new Error("Block has no assets");case 3:return r.next=5,B(e.assets);case 5:if(!Object(k.getBlockTypes)().length){r.next=10;break}t(e),r.next=11;break;case 10:throw new Error("Unable to get block types");case 11:r.next=17;break;case 13:return r.prev=13,r.t0=r.catch(0),r.next=17,n(r.t0);case 17:case"end":return r.stop()}}),S,null,[[0,13]])}function L(e,t,n){var r,o,c;return O.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,w({path:"__experimental/block-directory/install",data:{slug:r},method:"POST"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,R({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),N,null,[[1,12]])}function A(e,t,n){var r,o,c;return O.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return r=e.id,o=e.name,a.prev=1,a.next=4,w({path:"__experimental/block-directory/uninstall",data:{slug:r},method:"DELETE"});case 4:if(!1!==(c=a.sent).success){a.next=7;break}throw new Error(c.errorMessage);case 7:return a.next=9,M({id:r,name:o});case 9:t(),a.next=15;break;case 12:a.prev=12,a.t0=a.catch(1),n(a.t0);case 15:case"end":return a.stop()}}),D,null,[[1,12]])}function R(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function M(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var K={reducer:u,selectors:r,actions:o,controls:x,resolvers:{getDownloadableBlocks:O.a.mark((function e(t){var n,r;return O.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,{type:"FETCH_DOWNLOADABLE_BLOCKS"};case 5:return e.next=7,w({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(j.mapKeys)(e,(function(e,t){return Object(j.camelCase)(t)}))})),e.next=11,C(r,t);case 11:e.next=18;break;case 13:if(e.prev=13,e.t0=e.catch(2),"rest_user_cannot_view"!==e.t0.code){e.next=18;break}return e.next=18,T(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:O.a.mark((function e(){return O.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,w({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,T(!0);case 5:e.next=12;break;case 7:if(e.prev=7,e.t0=e.catch(0),"rest_user_cannot_view"!==e.t0.code){e.next=12;break}return e.next=12,T(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},H=(Object(c.registerStore)("core/block-directory",K),n(0)),F=n(53),V=n(19),q=n(6),W=n(8),z=n(1),U=n(3);var Y=function(e){var t=e.rating,n=.5*Math.round(t/.5),r=Math.floor(t),o=Math.ceil(t-r),c=5-(r+o);return Object(H.createElement)("div",{"aria-label":Object(z.sprintf)(Object(z.__)("%s out of 5 stars"),n)},Object(j.times)(r,(function(e){return Object(H.createElement)(U.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(j.times)(o,(function(e){return Object(H.createElement)(U.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(j.times)(c,(function(e){return Object(H.createElement)(U.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},$=function(e){var t=e.rating,n=e.ratingCount;return Object(H.createElement)("div",{className:"block-directory-block-ratings"},Object(H.createElement)(Y,{rating:t}),Object(H.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(z.sprintf)(Object(z._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var G=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(H.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/)?Object(H.createElement)("img",{src:t,alt:Object(z.sprintf)(Object(z.__)("%s block icon"),n)}):Object(H.createElement)("span",null,Object(H.createElement)(q.BlockIcon,{icon:t,showColors:!0})),Object(H.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(H.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(H.createElement)($,{rating:r,ratingCount:o})),Object(H.createElement)(U.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(z.__)("Add block")))};var J=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(H.createElement)(H.Fragment,null,Object(H.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(z.sprintf)(Object(z.__)("Authored by %s"),t)),Object(H.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(z.sprintf)(Object(z._n)("This author has %d block, with an average rating of %d.","This author has %d blocks, with an average rating of %d.",n),n,r)))};var Q=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(H.createElement)(H.Fragment,null,Object(H.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(H.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(H.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(H.createElement)(U.Icon,{icon:"chart-line"}),Object(z.sprintf)(Object(z._n)("%d active installation","%d active installations",n),n)),Object(H.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(H.createElement)(U.Icon,{icon:"update"}),Object(z.sprintf)(Object(z.__)("Updated %s"),r))))};var X=function(e){var t=e.item,n=e.onClick,r=t.icon,o=t.title,c=t.description,a=t.rating,l=t.activeInstalls,i=t.ratingCount,s=t.author,u=t.humanizedUpdated,b=t.authorBlockCount,d=t.authorBlockRating;return Object(H.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(H.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(H.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(H.createElement)(G,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(H.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(H.createElement)(Q,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(H.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(H.createElement)(J,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var Z=Object(W.compose)(Object(c.withDispatch)((function(e,t){var n=e("core/block-directory"),r=n.installBlock,o=n.downloadBlock,c=e("core/notices"),a=c.createErrorNotice,l=c.removeNotice,i=e("core/block-editor").removeBlocks,s=t.onSelect;return{downloadAndInstallBlock:function(e){var t=function(){var t=s(e);r(e,j.noop,(function n(){a(Object(z.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(z.__)("Retry"),onClick:function(){l("block-install-error"),r(e,j.noop,n)}},{label:Object(z.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(k.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(z.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(z.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?j.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(H.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(H.createElement)(X,{key:e.id,className:Object(k.getBlockMenuDefaultClassName)(e.id),icons:e.icons,onClick:function(){c(e),r(null)},onFocus:function(){return r(e)},onMouseEnter:function(){return r(e)},onMouseLeave:function(){return r(null)},onBlur:function(){return r(null)},item:e})})),o))}));var ee=Object(W.compose)([U.withSpokenMessages,Object(c.withSelect)((function(e,t){var n=t.filterValue,r=e("core/block-directory"),o=r.getDownloadableBlocks,c=r.hasInstallBlocksPermission,a=r.isRequestingDownloadableBlocks,l=c();return{downloadableItems:l?o(n):[],hasPermission:l,isLoading:a()}}))])((function(e){var t=e.downloadableItems,n=e.onSelect,r=e.onHover,o=e.hasPermission,c=e.isLoading,a=e.isWaiting,l=e.debouncedSpeak;return o?c||a?Object(H.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(H.createElement)(U.Spinner,null)):t.length?(l(Object(z.sprintf)(Object(z._n)("No blocks found in your library. We did find %d block available for download.","No blocks found in your library. We did find %d blocks available for download.",t.length),t.length)),Object(H.createElement)(H.Fragment,null,Object(H.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(z.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(H.createElement)(Z,{items:t,onSelect:n,onHover:r}))):Object(H.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(z.__)("No blocks found in your library.")):(l(Object(z.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(H.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(z.__)("No blocks found in your library."),Object(H.createElement)("br",null),Object(z.__)("Please contact your site administrator to install new blocks.")))}));var te=function(){var e=Object(H.useState)(""),t=Object(V.a)(e,2),n=t[0],r=t[1],o=Object(j.debounce)(r,400);return Object(H.createElement)(q.__experimentalInserterMenuExtension,null,(function(e){var t=e.onSelect,r=e.onHover,c=e.filterValue;return e.hasItems||!c?null:(n!==c&&o(c),Object(H.createElement)(ee,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(F.registerPlugin)("block-directory",{render:function(){return Object(H.createElement)(te,null)}})},36:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},37:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.apiFetch}()},5:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},53:function(e,t){!function(){e.exports=this.wp.plugins}()},6:function(e,t){!function(){e.exports=this.wp.blockEditor}()},8:function(e,t){!function(){e.exports=this.wp.compose}()},9:function(e,t){!function(){e.exports=this.wp.blocks}()}});
build/block-editor/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '40665ab71c8f625e3370c1ea57641913');
1
+ <?php return array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '276a00436c3b14df9cb2b3ab6422128b');
build/block-editor/index.js CHANGED
@@ -1,14 +1,14 @@
1
- this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},108:function(e,t,n){"use strict";var r=n(151),o=n(153);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=O,t.resolve=function(e,t){return O(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?O(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=O(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var c=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(154);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",s=e.split(a);s[0]=s[0].replace(/\\/g,"/");var O=e=s.join(a);if(O=O.trim(),!n&&1===e.split("#").length){var k=l.exec(O);if(k)return this.path=O,this.href=O,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var j=c.exec(O);if(j){var y=(j=j[0]).toLowerCase();this.protocol=y,O=O.substr(j.length)}if(n||j||O.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===O.substr(0,2);!_||j&&m[j]||(O=O.substr(2),this.slashes=!0)}if(!m[j]&&(_||j&&!g[j])){for(var C,S,E=-1,w=0;w<f.length;w++){-1!==(I=O.indexOf(f[w]))&&(-1===E||I<E)&&(E=I)}-1!==(S=-1===E?O.lastIndexOf("@"):O.lastIndexOf("@",E))&&(C=O.slice(0,S),O=O.slice(S+1),this.auth=decodeURIComponent(C)),E=-1;for(w=0;w<d.length;w++){var I;-1!==(I=O.indexOf(d[w]))&&(-1===E||I<E)&&(E=I)}-1===E&&(E=O.length),this.host=O.slice(0,E),O=O.slice(E),this.parseHost(),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x)for(var B=this.hostname.split(/\./),T=(w=0,B.length);w<T;w++){var N=B[w];if(N&&!N.match(b)){for(var L="",A=0,R=N.length;A<R;A++)N.charCodeAt(A)>127?L+="x":L+=N[A];if(!L.match(b)){var P=B.slice(0,w),M=B.slice(w+1),D=N.match(p);D&&(P.push(D[1]),M.unshift(D[2])),M.length&&(O="/"+M.join(".")+O),this.hostname=P.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+F,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,T=u.length;w<T;w++){var V=u[w];if(-1!==O.indexOf(V)){var H=encodeURIComponent(V);H===V&&(H=escape(V)),O=O.split(V).join(H)}}var z=O.indexOf("#");-1!==z&&(this.hash=O.substr(z),O=O.slice(0,z));var K=O.indexOf("?");if(-1!==K?(this.search=O.substr(K),this.query=O.substr(K+1),t&&(this.query=v.parse(this.query)),O=O.slice(0,K)):t&&(this.search="",this.query={}),O&&(this.pathname=O),g[y]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var G=this.search||"";this.path=F+G}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,c="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(c=v.stringify(this.query));var a=this.search||c&&"?"+c||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(O(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),c=0;c<r.length;c++){var a=r[c];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),s=0;s<l.length;s++){var u=l[s];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var b=d[f];n[b]=e[b]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",v=n.search||"";n.path=h+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var O=n.pathname&&"/"===n.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),j=k||O||n.host&&e.pathname,y=j,_=n.pathname&&n.pathname.split("/")||[],C=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(C&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),j=j&&(""===p[0]||""===_[0])),k)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=p;else if(p.length)_||(_=[]),_.pop(),_=_.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(C)n.hostname=n.host=_.shift(),(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var S=_.slice(-1)[0],E=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,w=0,I=_.length;I>=0;I--)"."===(S=_[I])?_.splice(I,1):".."===S?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!j&&!y)for(;w--;w)_.unshift("..");!j||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),E&&"/"!==_.join("/").substr(-1)&&_.push("");var x,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);C&&(n.hostname=n.host=B?"":_.length?_.shift():"",(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift()));return(j=j||n.host&&_.length)&&!B&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},11:function(e,t,n){var r;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},112:function(e,t,n){"use strict";var r=n(113);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},113:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},119:function(e,t){!function(){e.exports=this.wp.wordcount}()},12:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},13:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},136:function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},14:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},141:function(e,t,n){"use strict";var r=n(142);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,c=n.alignWithTop,a=n.alignWithLeft,l=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),b=r.offset(e),p=r.outerHeight(e),h=r.outerWidth(e),m=void 0,g=void 0,v=void 0,O=void 0,k=void 0,j=void 0,y=void 0,_=void 0,C=void 0,S=void 0;f?(y=t,S=r.height(y),C=r.width(y),_={left:r.scrollLeft(y),top:r.scrollTop(y)},k={left:b.left-_.left-s,top:b.top-_.top-l},j={left:b.left+h-(_.left+C)+d,top:b.top+p-(_.top+S)+u},O=_):(m=r.offset(t),g=t.clientHeight,v=t.clientWidth,O={left:t.scrollLeft,top:t.scrollTop},k={left:b.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-s,top:b.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},j={left:b.left+h-(m.left+v+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:b.top+p-(m.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),k.top<0||j.top>0?!0===c?r.scrollTop(t,O.top+k.top):!1===c?r.scrollTop(t,O.top+j.top):k.top<0?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+k.top):r.scrollTop(t,O.top+j.top)),o&&(k.left<0||j.left>0?!0===a?r.scrollLeft(t,O.left+k.left):!1===a?r.scrollLeft(t,O.left+j.left):k.left<0?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+k.left):r.scrollLeft(t,O.left+j.left)))}},142:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function c(e){return i(e)}function a(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,c=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=c.clientLeft||i.clientLeft||0,top:r-=c.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=c(r),t.top+=a(r),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="currentStyle",f="runtimeStyle",b="left",p="px";var h=void 0;function m(e,t){for(var n=0;n<e.length;n++)t(e[n])}function g(e){return"border-box"===h(e,"boxSizing")}"undefined"!=typeof window&&(h=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e[d]&&e[d][t];if(s.test(n)&&!u.test(t)){var r=e.style,o=r[b],i=e[f][b];e[f][b]=e[d][b],r[b]="fontSize"===t?"1em":n||0,n=r.pixelLeft+p,r[b]=o,e[f][b]=i}return""===n?"auto":n});var v=["margin","border","padding"],O=-1,k=2,j=1;function y(e,t,n){var r=0,o=void 0,i=void 0,c=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(c=0;c<n.length;c++){var a=void 0;a="border"===o?o+n[c]+"Width":o+n[c],r+=parseFloat(h(e,a))||0}return r}function _(e){return null!=e&&e==e.window}var C={};function S(e,t,n){if(_(e))return"width"===t?C.viewportWidth(e):C.viewportHeight(e);if(9===e.nodeType)return"width"===t?C.docWidth(e):C.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(h(e),g(e)),c=0;(null==o||o<=0)&&(o=void 0,(null==(c=h(e,t))||Number(c)<0)&&(c=e.style[t]||0),c=parseFloat(c)||0),void 0===n&&(n=i?j:O);var a=void 0!==o||i,l=o||c;if(n===O)return a?l-y(e,["border","padding"],r):c;if(a){var s=n===k?-y(e,["border"],r):y(e,["margin"],r);return l+(n===j?0:s)}return c+y(e,v.slice(n),r)}m(["Width","Height"],(function(e){C["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],C["viewport"+e](n))},C["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var E={position:"absolute",visibility:"hidden",display:"block"};function w(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=S.apply(void 0,n):function(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}(e,E,(function(){t=S.apply(void 0,n)})),t}function I(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):h(e,t);for(var i in t)t.hasOwnProperty(i)&&I(e,i,t[i])}m(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);C["outer"+t]=function(t,n){return t&&w(t,e,n?0:j)};var n="width"===e?["Left","Right"]:["Top","Bottom"];C[e]=function(t,r){if(void 0===r)return t&&w(t,e,O);if(t){h(t);return g(t)&&(r+=y(t,["padding","border"],n)),I(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===I(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(I(e,i))||0,r[i]=o+t[i]-n[i]);I(e,r)}(e,t)},isWindow:_,each:m,css:I,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(_(e)){if(void 0===t)return c(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(_(e)){if(void 0===t)return a(e);window.scrollTo(c(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},C)},143:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var a=n(22),l=n(25),s=n(144),u=n(145),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),a=(n.innerRef,c(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,s=e.saveDOMNodeRef,u=r&&l?l*r:null;return i({},a,{saveDOMNodeRef:s,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout((function(){return s(e.textarea)})),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=c(e,["children","saveDOMNodeRef"]);return a.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(){this.props.value!==this.currentValue&&this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.func},t}(a.Component);t.default=d},144:function(e,t,n){var r,o,i;
7
  /*!
8
  autosize 4.0.2
9
  license: MIT
10
  http://www.jacklmoore.com/autosize
11
- */o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(s("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==r){c=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}function a(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((s=function(e){return e}).destroy=function(e){return e},s.update=function(e){return e}):((s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return c(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=s,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},145:function(e,t,n){var r=n(146);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,c=document.createElement(i);c.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&c.setAttribute("rows","1");var a=r(e,"font-size");c.style.fontSize=a,c.style.padding="0px",c.style.border="0px";var l=document.body;l.appendChild(c),n=c.offsetHeight,l.removeChild(c)}return n}},146:function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},147:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},148:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},149:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(30),o=n(7);function i(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},150:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},151:function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var a,l=2147483647,s=36,u=1,d=26,f=38,b=700,p=72,h=128,m="-",g=/^xn--/,v=/[^\x20-\x7E]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=s-u,y=Math.floor,_=String.fromCharCode;function C(e){throw new RangeError(k[e])}function S(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function E(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+S((e=e.replace(O,".")).split("."),t).join(".")}function w(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function I(e){return S(e,(function(e){var t="";return e>65535&&(t+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=_(e)})).join("")}function x(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function B(e,t,n){var r=0;for(e=n?y(e/b):e>>1,e+=y(e/t);e>j*d>>1;r+=s)e=y(e/j);return y(r+(j+1)*e/(e+f))}function T(e){var t,n,r,o,i,c,a,f,b,g,v,O=[],k=e.length,j=0,_=h,S=p;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&C("not-basic"),O.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<k;){for(i=j,c=1,a=s;o>=k&&C("invalid-input"),((f=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:s)>=s||f>y((l-j)/c))&&C("overflow"),j+=f*c,!(f<(b=a<=S?u:a>=S+d?d:a-S));a+=s)c>y(l/(g=s-b))&&C("overflow"),c*=g;S=B(j-i,t=O.length+1,0==i),y(j/t)>l-_&&C("overflow"),_+=y(j/t),j%=t,O.splice(j++,0,_)}return I(O)}function N(e){var t,n,r,o,i,c,a,f,b,g,v,O,k,j,S,E=[];for(O=(e=w(e)).length,t=h,n=0,i=p,c=0;c<O;++c)(v=e[c])<128&&E.push(_(v));for(r=o=E.length,o&&E.push(m);r<O;){for(a=l,c=0;c<O;++c)(v=e[c])>=t&&v<a&&(a=v);for(a-t>y((l-n)/(k=r+1))&&C("overflow"),n+=(a-t)*k,t=a,c=0;c<O;++c)if((v=e[c])<t&&++n>l&&C("overflow"),v==t){for(f=n,b=s;!(f<(g=b<=i?u:b>=i+d?d:b-i));b+=s)S=f-g,j=s-g,E.push(_(x(g+S%j,0))),f=y(S/j);E.push(_(x(f,0))),i=B(n,k,r==o),n=0,++r}++n,++t}return E.join("")}a={version:"1.4.1",ucs2:{decode:w,encode:I},decode:T,encode:N,toASCII:function(e){return E(e,(function(e){return v.test(e)?"xn--"+N(e):e}))},toUnicode:function(e){return E(e,(function(e){return g.test(e)?T(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(152)(e),n(83))},152:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},153:function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},154:function(e,t,n){"use strict";t.decode=t.parse=n(155),t.encode=t.stringify=n(156)},155:function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u<s;++u){var d,f,b,p,h=e[u].replace(a,"%20"),m=h.indexOf(n);m>=0?(d=h.substr(0,m),f=h.substr(m+1)):(d=h,f=""),b=decodeURIComponent(d),p=decodeURIComponent(f),r(c,b)?o(c[b])?c[b].push(p):c[b]=[c[b],p]:c[b]=p}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},156:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(c(e),(function(c){var a=encodeURIComponent(r(c))+n;return o(e[c])?i(e[c],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[c]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},16:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},17:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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&&r(e,t)}n.d(t,"a",(function(){return o}))},171:function(e,t){!function(){e.exports=this.wp.tokenList}()},18:function(e,t,n){"use strict";var r=n(32);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",(function(){return o}))},19:function(e,t,n){"use strict";var r=n(35);var o=n(36);function i(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t){!function(){e.exports=this.wp.keycodes}()},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(38);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)n=c[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},22:function(e,t){!function(){e.exports=this.React}()},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},231:function(e,t,n){
12
  /*!
13
 
14
  diff v3.5.0
@@ -46,4 +46,4 @@ IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISI
46
  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47
  @license
48
  */
49
- var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(2),a=n(3),l=n(5),s=n(6),u=n(7),d=n(8),f=n(9),b=n(10),p=n(11),h=n(13),m=n(14),g=n(16),v=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=b.applyPatch,t.applyPatches=b.applyPatches,t.parsePatch=p.parsePatch,t.merge=h.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=v.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,c=t.length,a=0,l=0;i<c;i++){var s=t[i];if(s.removed){if(s.value=e.join(r.slice(l,l+s.count)),l+=s.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!s.added&&o){var d=n.slice(a,a+s.count);d=d.map((function(e,t){var n=r[l+t];return n.length>e.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1<l,m=b&&0<=p&&p<s;if(h||m){if(!h||m&&d.newPos<b.newPos?(i=o(b),c.pushComponent(i.components,void 0,!0)):((i=d).newPos++,c.pushComponent(i.components,!0,void 0)),p=c.extractCommon(i,t,e,n),i.newPos+1>=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+1<o&&a+1<i&&this.equals(t[c+1],n[a+1]);)c++,a++,l++;return l&&e.components.push({count:l}),e.newPos=c,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,c.generateOptions)(n,{ignoreWhitespace:!0}),s.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(4),a=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,s=t.wordDiff=new i.default;s.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},s.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&a.test(t[n])&&a.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return a.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,c.generateOptions)(n,{ignoreWhitespace:!0});return a.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(4),a=t.lineDiff=new i.default;a.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.sentenceDiff=new i.default;c.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.cssDiff=new i.default;c.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return s.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),c=(o=i)&&o.__esModule?o:{default:o},a=n(5),l=Object.prototype.toString,s=t.jsonDiff=new c.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var c=void 0;for(c=0;c<t.length;c+=1)if(t[c]===e)return n[c];var a=void 0;if("[object Array]"===l.call(e)){for(t.push(e),a=new Array(e.length),n.push(a),c=0;c<e.length;c+=1)a[c]=u(e[c],t,n,o,i);return t.pop(),n.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),a={},n.push(a);var s=[],d=void 0;for(d in e)e.hasOwnProperty(d)&&s.push(d);for(s.sort(),c=0;c<s.length;c+=1)a[d=s[c]]=u(e[d],t,n,o,d);t.pop(),n.pop()}else a=e;return a}s.useLongestToken=!0,s.tokenize=a.lineDiff.tokenize,s.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},s.equals=function(e,t){return c.default.prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.arrayDiff=new i.default;c.tokenize=function(e){return e.slice()},c.join=c.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=a,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=a(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),c=(r=i)&&r.__esModule?r:{default:r};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m<a.length;m++){for(var g=a[m],v=r.length-g.oldLines,O=0,k=f+g.oldStart-1,j=(0,c.default)(k,d,v);void 0!==O;O=j())if(h(g,k+O)){g.offset=f+=O;break}if(void 0===O)return!1;d=g.offset+g.oldStart+g.oldLines}for(var y=0,_=0;_<a.length;_++){var C=a[_],S=C.oldStart+C.offset+y-1;y+=C.newLines-C.oldLines,S<0&&(S=0);for(var E=0;E<C.lines.length;E++){var w=C.lines[E],I=w.length>0?w[0]:" ",x=w.length>0?w.substr(1):w,B=C.linedelimiters[E];if(" "===I)S++;else if("-"===I)r.splice(S,1),i.splice(S,1);else if("+"===I)r.splice(S,0,x),i.splice(S,0,B),S++;else if("\\"===I){var T=C.lines[E-1]?C.lines[E-1][0]:null;"+"===T?b=!0:"-"===T&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var N=0;N<r.length-1;N++)r[N]=r[N]+i[N];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var c=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);c&&(e.index=c[1]),i++}for(a(e),a(e),e.hunks=[];i<n.length;){var s=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(s))break;if(/^@@/.test(s))e.hunks.push(l());else{if(s&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(s));i++}}}function a(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),c=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(c)&&(c=c.substr(1,c.length-2)),e[r+"FileName"]=c,e[r+"Header"]=(o[1]||"").trim(),i++}}function l(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),c={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},a=0,l=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var s=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==s&&"-"!==s&&" "!==s&&"\\"!==s)break;c.lines.push(n[i]),c.linedelimiters.push(r[i]||"\n"),"+"===s?a++:"-"===s?l++:" "===s&&(a++,l++)}if(a||1!==c.newLines||(c.newLines=0),l||1!==c.oldLines||(c.oldLines=0),t.strict){if(a!==c.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(l!==c.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return c}for(;i<n.length;)c();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,c=1;return function a(){if(r&&!i){if(o?c++:r=!1,e+c<=n)return c;i=!0}if(!o)return i||(r=!0),t<=e-c?-c++:(o=!0,a())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=a,t.merge=function(e,t,n){e=l(e,n),t=l(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(s(e)?s(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,c=0,a=0;o<e.hunks.length||i<t.hunks.length;){var p=e.hunks[o]||{oldStart:1/0},h=t.hunks[i]||{oldStart:1/0};if(d(p,h))r.hunks.push(f(p,c)),o++,a+=p.newLines-p.oldLines;else if(d(h,p))r.hunks.push(f(h,a)),i++,c+=h.newLines-h.oldLines;else{var m={oldStart:Math.min(p.oldStart,h.oldStart),oldLines:0,newStart:Math.min(p.newStart+c,h.oldStart+a),newLines:0,lines:[]};b(m,p.oldStart,p.lines,h.oldStart,h.lines),i++,o++,r.hunks.push(m)}}return r};var r=n(14),o=n(11),i=n(15);function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function l(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return((0,r.structuredPatch)(void 0,void 0,t,e))}return e}function s(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function d(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function f(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function b(e,t,n,r,o){var i={offset:t,lines:n,index:0},l={offset:r,lines:o,index:0};for(g(e,i,l),g(e,l,i);i.index<i.lines.length&&l.index<l.lines.length;){var s=i.lines[i.index],u=l.lines[l.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==u[0]&&"+"!==u[0])if("+"===s[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,c(O(i)))}else if("+"===u[0]&&" "===s[0]){var f;(f=e.lines).push.apply(f,c(O(l)))}else"-"===s[0]&&" "===u[0]?h(e,i,l):"-"===u[0]&&" "===s[0]?h(e,l,i,!0):s===u?(e.lines.push(s),i.index++,l.index++):m(e,O(i),O(l));else p(e,i,l)}v(e,i),v(e,l),a(e)}function p(e,t,n){var r=O(t),o=O(n);if(k(r)&&k(o)){var a,l;if((0,i.arrayStartsWith)(r,o)&&j(n,r,r.length-o.length))return void(a=e.lines).push.apply(a,c(r));if((0,i.arrayStartsWith)(o,r)&&j(t,o,o.length-r.length))return void(l=e.lines).push.apply(l,c(o))}else if((0,i.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,c(r))}m(e,r,o)}function h(e,t,n,r){var o,i=O(t),a=function(e,t){for(var n=[],r=[],o=0,i=!1,c=!1;o<t.length&&e.index<e.lines.length;){var a=e.lines[e.index],l=t[o];if("+"===l[0])break;if(i=i||" "!==a[0],r.push(l),o++,"+"===a[0])for(c=!0;"+"===a[0];)n.push(a),a=e.lines[++e.index];l.substr(1)===a.substr(1)?(n.push(a),e.index++):c=!0}if("+"===(t[o]||"")[0]&&i&&(c=!0),c)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);a.merged?(o=e.lines).push.apply(o,c(a.merged)):m(e,r?a:i,r?i:a)}function m(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function g(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function v(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function O(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function j(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=c,t.createPatch=function(e,t,n,r,o,i){return c(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,c,a,l){l||(l={}),void 0===l.context&&(l.context=4);var s=(0,r.diffLines)(n,i,l);function u(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var d=[],f=0,b=0,p=[],h=1,m=1,g=function(e){var t=s[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var c;if(!f){var a=s[e-1];f=h,b=m,a&&(p=l.context>0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e<s.length-2){var g;(g=p).push.apply(g,o(u(r)))}else{var v,O=Math.min(r.length,l.context);(v=p).push.apply(v,o(u(r.slice(0,O))));var k={oldStart:f,oldLines:h-f+O,newStart:b,newLines:m-b+O,lines:p};if(e>=s.length-2&&r.length<=l.context){var j=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||j?j&&y||p.push("\"):p.splice(k.oldLines,0,"\")}d.push(k),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;v<s.length;v++)g(v);return{oldFileName:e,newFileName:t,oldHeader:c,newHeader:a,hunks:d}}function c(e,t,n,r,o,c,a){var l=i(e,t,n,r,o,c,a),s=[];e==t&&s.push("Index: "+e),s.push("==================================================================="),s.push("--- "+l.oldFileName+(void 0===l.oldHeader?"":"\t"+l.oldHeader)),s.push("+++ "+l.newFileName+(void 0===l.newHeader?"":"\t"+l.newHeader));for(var u=0;u<l.hunks.length;u++){var d=l.hunks[u];s.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),s.push.apply(s,d.lines)}return s.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},232:function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){h.circular=o[e];break}}else h.isLeaf=!0,h.keys=null;h.notLeaf=!h.isLeaf,h.notRoot=!h.isRoot}m();var g=t.call(h,h.node);return void 0!==g&&h.update&&h.update(g),b.before&&b.before.call(h,h.node),p?("object"!=typeof h.node||null===h.node||h.circular||(o.push(h),m(),s(h.keys,(function(t,o){r.push(t),b.pre&&b.pre.call(h,h.node[t],t);var i=e(h.node[t]);n&&u.call(h.node,t)&&(h.node[t]=i.node),i.isLast=o==h.keys.length-1,i.isFirst=0==o,b.post&&b.post.call(h,i),r.pop()})),o.pop()),b.after&&b.after.call(h,h.node),h):h}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(l(e))t=[];else if("[object Date]"===a(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===a(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===a(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===a(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===a(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===a(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return s(c(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var a=i(r);return e.push(r),t.push(a),s(c(r),(function(e){a[e]=n(r[e])})),e.pop(),t.pop(),a}return r}(this.value)};var c=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function a(e){return Object.prototype.toString.call(e)}var l=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};s(c(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},24:function(e,t){!function(){e.exports=this.wp.richText}()},25:function(e,t,n){e.exports=n(112)()},26:function(e,t){!function(){e.exports=this.wp.url}()},28:function(e,t){!function(){e.exports=this.wp.dom}()},29:function(e,t){!function(){e.exports=this.wp.hooks}()},3:function(e,t){!function(){e.exports=this.wp.components}()},30:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}n.d(t,"a",(function(){return o}))},32:function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},34:function(e,t){!function(){e.exports=this.wp.deprecated}()},344:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"resetBlocks",(function(){return Ht})),n.d(r,"resetSelection",(function(){return zt})),n.d(r,"receiveBlocks",(function(){return Kt})),n.d(r,"updateBlockAttributes",(function(){return Gt})),n.d(r,"updateBlock",(function(){return Wt})),n.d(r,"selectBlock",(function(){return qt})),n.d(r,"selectPreviousBlock",(function(){return $t})),n.d(r,"selectNextBlock",(function(){return Yt})),n.d(r,"startMultiSelect",(function(){return Xt})),n.d(r,"stopMultiSelect",(function(){return Zt})),n.d(r,"multiSelect",(function(){return Jt})),n.d(r,"clearSelectedBlock",(function(){return Qt})),n.d(r,"toggleSelection",(function(){return en})),n.d(r,"replaceBlocks",(function(){return nn})),n.d(r,"replaceBlock",(function(){return rn})),n.d(r,"moveBlocksDown",(function(){return cn})),n.d(r,"moveBlocksUp",(function(){return an})),n.d(r,"moveBlockToPosition",(function(){return ln})),n.d(r,"insertBlock",(function(){return sn})),n.d(r,"insertBlocks",(function(){return un})),n.d(r,"showInsertionPoint",(function(){return dn})),n.d(r,"hideInsertionPoint",(function(){return fn})),n.d(r,"setTemplateValidity",(function(){return bn})),n.d(r,"synchronizeTemplate",(function(){return pn})),n.d(r,"mergeBlocks",(function(){return hn})),n.d(r,"removeBlocks",(function(){return mn})),n.d(r,"removeBlock",(function(){return gn})),n.d(r,"replaceInnerBlocks",(function(){return vn})),n.d(r,"toggleBlockMode",(function(){return On})),n.d(r,"startTyping",(function(){return kn})),n.d(r,"stopTyping",(function(){return jn})),n.d(r,"startDraggingBlocks",(function(){return yn})),n.d(r,"stopDraggingBlocks",(function(){return _n})),n.d(r,"enterFormattedText",(function(){return Cn})),n.d(r,"exitFormattedText",(function(){return Sn})),n.d(r,"selectionChange",(function(){return En})),n.d(r,"insertDefaultBlock",(function(){return wn})),n.d(r,"updateBlockListSettings",(function(){return In})),n.d(r,"updateSettings",(function(){return xn})),n.d(r,"__unstableSaveReusableBlock",(function(){return Bn})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return Tn})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return Nn})),n.d(r,"__unstableMarkAutomaticChange",(function(){return Ln})),n.d(r,"setNavigationMode",(function(){return An})),n.d(r,"duplicateBlocks",(function(){return Rn})),n.d(r,"insertBeforeBlock",(function(){return Pn})),n.d(r,"insertAfterBlock",(function(){return Mn})),n.d(r,"__unstableSetSelectedMountedBlock",(function(){return Dn}));var o={};n.r(o),n.d(o,"INSERTER_UTILITY_HIGH",(function(){return Un})),n.d(o,"INSERTER_UTILITY_MEDIUM",(function(){return Vn})),n.d(o,"INSERTER_UTILITY_LOW",(function(){return Hn})),n.d(o,"INSERTER_UTILITY_NONE",(function(){return zn})),n.d(o,"getBlockName",(function(){return Wn})),n.d(o,"isBlockValid",(function(){return qn})),n.d(o,"getBlockAttributes",(function(){return $n})),n.d(o,"getBlock",(function(){return Yn})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Xn})),n.d(o,"getBlocks",(function(){return Zn})),n.d(o,"getClientIdsOfDescendants",(function(){return Jn})),n.d(o,"getClientIdsWithDescendants",(function(){return Qn})),n.d(o,"getGlobalBlockCount",(function(){return er})),n.d(o,"getBlocksByClientId",(function(){return tr})),n.d(o,"getBlockCount",(function(){return nr})),n.d(o,"getSelectionStart",(function(){return rr})),n.d(o,"getSelectionEnd",(function(){return or})),n.d(o,"getBlockSelectionStart",(function(){return ir})),n.d(o,"getBlockSelectionEnd",(function(){return cr})),n.d(o,"getSelectedBlockCount",(function(){return ar})),n.d(o,"hasSelectedBlock",(function(){return lr})),n.d(o,"getSelectedBlockClientId",(function(){return sr})),n.d(o,"getSelectedBlock",(function(){return ur})),n.d(o,"getBlockRootClientId",(function(){return dr})),n.d(o,"getBlockParents",(function(){return fr})),n.d(o,"getBlockHierarchyRootClientId",(function(){return br})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return pr})),n.d(o,"getAdjacentBlockClientId",(function(){return hr})),n.d(o,"getPreviousBlockClientId",(function(){return mr})),n.d(o,"getNextBlockClientId",(function(){return gr})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return vr})),n.d(o,"getSelectedBlockClientIds",(function(){return Or})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return kr})),n.d(o,"getMultiSelectedBlocks",(function(){return jr})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return yr})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return _r})),n.d(o,"isFirstMultiSelectedBlock",(function(){return Cr})),n.d(o,"isBlockMultiSelected",(function(){return Sr})),n.d(o,"isAncestorMultiSelected",(function(){return Er})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return wr})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return Ir})),n.d(o,"getBlockOrder",(function(){return xr})),n.d(o,"getBlockIndex",(function(){return Br})),n.d(o,"isBlockSelected",(function(){return Tr})),n.d(o,"hasSelectedInnerBlock",(function(){return Nr})),n.d(o,"isBlockWithinSelection",(function(){return Lr})),n.d(o,"hasMultiSelection",(function(){return Ar})),n.d(o,"isMultiSelecting",(function(){return Rr})),n.d(o,"isSelectionEnabled",(function(){return Pr})),n.d(o,"getBlockMode",(function(){return Mr})),n.d(o,"isTyping",(function(){return Dr})),n.d(o,"isDraggingBlocks",(function(){return Fr})),n.d(o,"isCaretWithinFormattedText",(function(){return Ur})),n.d(o,"getBlockInsertionPoint",(function(){return Vr})),n.d(o,"isBlockInsertionPointVisible",(function(){return Hr})),n.d(o,"isValidTemplate",(function(){return zr})),n.d(o,"getTemplate",(function(){return Kr})),n.d(o,"getTemplateLock",(function(){return Gr})),n.d(o,"canInsertBlockType",(function(){return qr})),n.d(o,"getInserterItems",(function(){return Xr})),n.d(o,"hasInserterItems",(function(){return Zr})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return Jr})),n.d(o,"getBlockListSettings",(function(){return Qr})),n.d(o,"getSettings",(function(){return eo})),n.d(o,"isLastBlockChangePersistent",(function(){return to})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return no})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return ro})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return oo})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return io})),n.d(o,"isNavigationMode",(function(){return ao})),n.d(o,"didAutomaticChange",(function(){return lo})),n.d(o,"__unstableGetSelectedMountedBlock",(function(){return so}));var i=n(9),c=n(24),a=n(54),l=n(47),s=n(6),u=n(12),d=n(0),f=n(11),b=n.n(f),p=n(2),h=n(8),m=n(29),g=n(4),v=n(51),O=n.n(v),k=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{color:n}},j=function(e,t){return Object(p.find)(e,{color:t})};function y(e,t){if(e&&t)return"has-".concat(Object(p.kebabCase)(t),"-").concat(e)}var _=n(14),C=n(13),S=n(15),E=n(16),w=n(7),I=n(17),x=n(10),B=[],T=function(e){return Object(h.createHigherOrderComponent)((function(t){return function(n){return Object(d.createElement)(t,Object(u.a)({},n,{colors:e}))}}),"withCustomColorPalette")},N=function(){return Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{colors:Object(p.get)(t,["colors"],B)}}))};function L(e,t){var n=Object(p.reduce)(e,(function(e,t){return Object(s.a)({},e,Object(p.isString)(t)?Object(x.a)({},t,Object(p.kebabCase)(t)):t)}),{});return Object(h.compose)([t,function(e){return function(t){function r(e){var t;return Object(_.a)(this,r),(t=Object(S.a)(this,Object(E.a)(r).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(w.a)(t))},t.state={},t}return Object(I.a)(r,t),Object(C.a)(r,[{key:"getMostReadableColor",value:function(e){return function(e,t){return O.a.mostReadable(t,Object(p.map)(e,"color")).toHexString()}(this.props.colors,e)}},{key:"createSetters",value:function(){var e=this;return Object(p.reduce)(n,(function(t,n,r){var o=Object(p.upperFirst)(r),i="custom".concat(o);return t["set".concat(o)]=e.createSetColor(r,i),t}),{})}},{key:"createSetColor",value:function(e,t){var n=this;return function(r){var o,i=j(n.props.colors,r);n.props.setAttributes((o={},Object(x.a)(o,e,i&&i.slug?i.slug:void 0),Object(x.a)(o,t,i&&i.slug?void 0:r),o))}}},{key:"render",value:function(){return Object(d.createElement)(e,Object(s.a)({},this.props,{colors:void 0},this.state,this.setters,{colorUtils:this.colorUtils}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=e.attributes,o=e.colors;return Object(p.reduce)(n,(function(e,n,i){var c=k(o,r[i],r["custom".concat(Object(p.upperFirst)(i))]),a=t[i];return Object(p.get)(a,["color"])===c.color&&a?e[i]=a:e[i]=Object(s.a)({},c,{class:y(n,c.slug)}),e}),{})}}]),r}(d.Component)}])}function A(e){return function(){for(var t=T(e),n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return Object(h.createHigherOrderComponent)(L(r,t),"withCustomColors")}}function R(){for(var e=N(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Object(h.createHigherOrderComponent)(L(n,e),"withColors")}var P=n(18),M=n(19),D=n(21),F=n(44),U=n.n(F),V=n(1),H=n(3),z=Object(H.withFilters)("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(i.getBlockType)(r);if(!o)return null;var c=Object(i.hasBlockSupport)(o,"className",!0)?Object(i.getBlockDefaultClassName)(r):null,a=b()(c,n.className),l=o.edit||o.save;return Object(d.createElement)(l,Object(u.a)({},e,{className:a}))})),K=Object(d.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:p.noop,clientId:null}),G=K.Provider,W=K.Consumer;function q(){return Object(d.useContext)(K)}var $=function(e){return Object(h.createHigherOrderComponent)((function(t){return function(n){return Object(d.createElement)(W,null,(function(r){return Object(d.createElement)(t,Object(u.a)({},n,e(r,n)))}))}}),"withBlockEditContext")},Y=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(d.createElement)(W,null,(function(n){return n.isSelected&&Object(d.createElement)(e,t)}))}}),"ifBlockEditSelected"),X=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).propsToContext=U()(e.propsToContext.bind(Object(w.a)(e)),{maxSize:1}),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,c=this.propsToContext(t,n,r,o,i);return Object(d.createElement)(G,{value:c},Object(d.createElement)(z,this.props))}}]),t}(d.Component);function Z(e){if(e)return"has-".concat(e,"-gradient-background")}function J(e,t){return Object(p.find)(e,["gradient",t])}function Q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=q().clientId,c=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,c=t.getSettings,a=r(i);return{gradient:a[n],customGradient:a[o],gradients:c().gradients}}),[i,n,o]),a=c.gradients,l=c.gradient,s=c.customGradient,u=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,f=Object(d.useCallback)((function(e){var t,r,c=function(e,t){var n=J(e,t);return n&&n.slug}(a,e);c?u(i,(r={},Object(x.a)(r,n,c),Object(x.a)(r,o,void 0),r)):u(i,(t={},Object(x.a)(t,n,void 0),Object(x.a)(t,o,e),t))}),[a,i,u]);return{gradientClass:Z(l),gradientValue:l?function(e,t){var n=Object(p.find)(e,["slug",t]);return n&&n.gradient}(a,l):s,setGradient:f}}var ee=Object(V.__)("(Color: %s)"),te=Object(V.__)("(Gradient: %s)"),ne=["colors","disableCustomColors","gradients","disableCustomGradients"];function re(e){var t,n,r=e.colors,o=e.gradients,i=e.label,c=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===c){if(a){var s=j(r,t=a),u=s&&s.name;n=Object(V.sprintf)(ee,u||t)}}else if("gradient"===c&&l){var f=J(o,t=l),b=f&&f.name;n=Object(V.sprintf)(te,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(H.ColorIndicator,{colorValue:t,"aria-label":n}))}function oe(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,i=e.className,c=e.label,a=e.onColorChange,l=e.onGradientChange,s=e.colorValue,f=e.gradientValue,h=a&&(!Object(p.isEmpty)(t)||!r),m=l&&(!Object(p.isEmpty)(n)||!o),g=Object(d.useState)(f?"gradient":!!h&&"color"),v=Object(M.a)(g,2),O=v[0],k=v[1];return h||m?Object(d.createElement)(H.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)("fieldset",null,Object(d.createElement)("legend",null,Object(d.createElement)(H.BaseControl.VisualLabel,null,Object(d.createElement)(re,{currentTab:O,label:c,colorValue:s,gradientValue:f}))),h&&m&&Object(d.createElement)(H.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(H.Button,{isLarge:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return k("color")}},Object(V.__)("Solid Color")),Object(d.createElement)(H.Button,{isLarge:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return k("gradient")}},Object(V.__)("Gradient"))),"color"===O&&Object(d.createElement)(H.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),"gradient"===O&&Object(d.createElement)(H.__experimentalGradientPicker,Object(u.a)({value:f,onChange:h?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function ie(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,ne)}));return Object(d.createElement)(oe,Object(s.a)({},t,e))}var ce=function(e){return Object(p.every)(ne,(function(t){return e.hasOwnProperty(t)}))?Object(d.createElement)(oe,e):Object(d.createElement)(ie,e)},ae=Object(V.__)("(%s: color %s)"),le=Object(V.__)("(%s: gradient %s)"),se=["colors","disableCustomColors","gradients","disableCustomGradients"],ue=function(e){var t=e.colors,n=e.gradients;return e.settings.map((function(e,r){var o,i=e.colorValue,c=e.gradientValue,a=e.label,l=e.colors,s=e.gradients;if(!i&&!c)return null;if(i){var u=j(l||t,i);o=Object(V.sprintf)(ae,a.toLowerCase(),u&&u.name||i)}else{var f=J(s||n,i);o=Object(V.sprintf)(le,a.toLowerCase(),f&&f.name||c)}return Object(d.createElement)(H.ColorIndicator,{key:r,colorValue:i||c,"aria-label":o})}))},de=function(e){var t=e.className,n=e.colors,r=e.gradients,o=e.disableCustomColors,i=e.disableCustomGradients,c=e.children,a=e.settings,l=e.title,f=Object(D.a)(e,["className","colors","gradients","disableCustomColors","disableCustomGradients","children","settings","title"]);if(Object(p.isEmpty)(n)&&Object(p.isEmpty)(r)&&o&&i&&Object(p.every)(a,(function(e){return Object(p.isEmpty)(e.colors)&&Object(p.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)})))return null;var h=Object(d.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},l,Object(d.createElement)(ue,{colors:n,gradients:r,settings:a}));return Object(d.createElement)(H.PanelBody,Object(u.a)({className:b()("block-editor-panel-color-gradient-settings",t),title:h},f),a.map((function(e,t){return Object(d.createElement)(ce,Object(u.a)({key:t},Object(s.a)({colors:n,gradients:r,disableCustomColors:o,disableCustomGradients:i},e)))})),c)},fe=function(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,se)}));return Object(d.createElement)(de,Object(s.a)({},t,e))},be=function(e){return Object(p.every)(se,(function(t){return e.hasOwnProperty(t)}))?Object(d.createElement)(de,e):Object(d.createElement)(fe,e)},pe=function(e){var t=e.colorSettings,n=Object(D.a)(e,["colorSettings"]),r=t.map((function(e){var t=e.value,n=e.onChange,r=Object(D.a)(e,["value","onChange"]);return Object(s.a)({},r,{colorValue:t,onColorChange:n})}));return Object(d.createElement)(be,Object(u.a)({settings:r,gradients:[],disableCustomGradients:!0},n))},he=n(49);function me(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()<n.getBrightness()?Object(V.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(V.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return Object(d.useEffect)((function(){Object(he.speak)(Object(V.__)("This color combination may be hard for people to read."))}),[r,o]),Object(d.createElement)("div",{className:"block-editor-contrast-checker"},Object(d.createElement)(H.Notice,{status:"warning",isDismissible:!1},i))}var ge=function(e){var t=e.backgroundColor,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,o=e.fontSize,i=e.isLargeText,c=e.textColor;if(!t&&!n||!c&&!r)return null;var a=O()(t||n),l=O()(c||r);return 1!==a.getAlpha()||1!==l.getAlpha()||O.a.isReadable(a,l,{level:"AA",size:i||!1!==i&&o>=24?"large":"small"})?null:Object(d.createElement)(me,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},ve=Object(H.createSlotFill)("InspectorControls"),Oe=ve.Fill,ke=ve.Slot,je=Y(Oe);je.Slot=ke;var ye=je,_e=window,Ce=_e.getComputedStyle,Se=_e.Node,Ee=[],we=function(e,t,n){return"function"==typeof e?e(t):!0===e?n:e},Ie=function(e){var t=e.title,n=e.colorSettings,r=e.colorPanelProps,o=e.contrastCheckers,i=e.detectedBackgroundColor,c=e.detectedColor,a=e.panelChildren,l=e.initialOpen;return Object(d.createElement)(pe,Object(u.a)({title:t,initialOpen:l,colorSettings:Object.values(n)},r),o&&(Array.isArray(o)?o.map((function(e){var t=e.backgroundColor,r=e.textColor,o=Object(D.a)(e,["backgroundColor","textColor"]);return t=we(t,n,i),r=we(r,n,c),Object(d.createElement)(ge,Object(u.a)({key:"".concat(t,"-").concat(r),backgroundColor:t,textColor:r},o))})):Object(p.map)(n,(function(e){var t=e.value,r=o.backgroundColor,a=o.textColor;return r=we(r||t,n,i),a=we(a||t,n,c),Object(d.createElement)(ge,Object(u.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},xe=function(e){return Object(d.createElement)(ye,null,Object(d.createElement)(Ie,e))};function Be(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(V.__)("Color Settings")},n=t.panelTitle,r=void 0===n?Object(V.__)("Color Settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,u=a.backgroundColorTargetRef,f=void 0===u?l:u,h=a.textColorTargetRef,m=void 0===h?l:h,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],O=q().clientId,k=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(O),settingsColors:r&&!0!==r?r:Ee}}),[O]),j=k.attributes,y=k.settingsColors,_=Object(g.useDispatch)("core/block-editor").updateBlockAttributes,C=Object(d.useCallback)((function(e){return _(O,e)}),[_,O]),S=Object(d.useMemo)((function(){return U()((function(e,t,n,r,o,i){return function(c){var a=c.children,l=c.className,u=void 0===l?"":l,f=c.style,h=void 0===f?{}:f;return(d.Children.map(a,(function(c){var a,l={};return r?l=Object(x.a)({},t,o):i&&(l=Object(x.a)({},t,i)),Object(d.cloneElement)(c,{className:b()(u,c.props.className,(a={},Object(x.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(x.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||i),a)),style:Object(s.a)({},l,h,c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),E=Object(d.useMemo)((function(){return U()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));C(Object(x.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),C(Object(x.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[C,e.length]),w=Object(d.useState)(),I=Object(M.a)(w,2),B=I[0],T=I[1],N=Object(d.useState)(),L=Object(M.a)(N,2),A=L[0],R=L[1];return Object(d.useEffect)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(p.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,u=l.textColor;if(e||(e=!0===s),t||(t=!0===u),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}if(t&&R(Ce(m.current).color),e){for(var d=f.current,b=Ce(d).backgroundColor;"rgba(0, 0, 0, 0)"===b&&d.parentNode&&d.parentNode.nodeType===Se.ELEMENT_NODE;)d=d.parentNode,b=Ce(d).backgroundColor;T(b)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(j[t.name]," | ").concat(j[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(P.a)(v))),Object(d.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=Object(s.a)({},n,{color:j[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,l=r.panelLabel,u=void 0===l?Object(p.startCase)(o):l,d=r.componentName,f=void 0===d?u.replace(/\s/g,""):d,b=r.color,h=void 0===b?n.color:b,m=r.colors,g=void 0===m?y:m,v=j[Object(p.camelCase)("custom ".concat(o))],O=v?void 0:g.find((function(e){return e.slug===h}));return e[f]=S(o,c,a,h,O&&O.color,v),e[f].displayName=f,e[f].color=v||O&&O.color,e[f].slug=h,e[f].setColor=E(o,g),t[f]={value:O?O.color:j[Object(p.camelCase)("custom ".concat(o))],onChange:e[f].setColor,label:u,colors:g},g||delete t[f].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColor:B,detectedColor:A,panelChildren:c};return Object(s.a)({},n,{ColorPanel:Object(d.createElement)(Ie,a),InspectorControlsColorPanel:Object(d.createElement)(xe,a)})}),[j,C,A,B].concat(Object(P.a)(v)))}var Te=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function Ne(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var Le=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(H.FontSizePicker),Ae=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Object(p.reduce)(t,(function(e,t){return e[t]="custom".concat(Object(p.upperFirst)(t)),e}),{});return Object(h.createHigherOrderComponent)(Object(h.compose)([Object(g.withSelect)((function(e){return{fontSizes:e("core/block-editor").getSettings().fontSizes}})),function(e){return function(t){function n(e){var t;return Object(_.a)(this,n),(t=Object(S.a)(this,Object(E.a)(n).call(this,e))).setters=t.createSetters(),t.state={},t}return Object(I.a)(n,t),Object(C.a)(n,[{key:"createSetters",value:function(){var e=this;return Object(p.reduce)(r,(function(t,n,r){var o=Object(p.upperFirst)(r);return t["set".concat(o)]=e.createSetFontSize(r,n),t}),{})}},{key:"createSetFontSize",value:function(e,t){var n=this;return function(r){var o,i=Object(p.find)(n.props.fontSizes,{size:Number(r)});n.props.setAttributes((o={},Object(x.a)(o,e,i&&i.slug?i.slug:void 0),Object(x.a)(o,t,i&&i.slug?void 0:r),o))}}},{key:"render",value:function(){return Object(d.createElement)(e,Object(s.a)({},this.props,{fontSizes:void 0},this.state,this.setters))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.attributes,o=e.fontSizes,i=function(e,r){return!t[r]||(n[r]?n[r]!==t[r].slug:t[r].size!==n[e])};if(!Object(p.some)(r,i))return null;var c=Object(p.reduce)(Object(p.pickBy)(r,i),(function(e,t,r){var i=n[r],c=Te(o,i,n[t]);return e[r]=Object(s.a)({},c,{class:Ne(i)}),e}),{});return Object(s.a)({},t,c)}}]),n}(d.Component)}]),"withFontSizes")},Re=[{icon:"editor-alignleft",title:Object(V.__)("Align text left"),align:"left"},{icon:"editor-aligncenter",title:Object(V.__)("Align text center"),align:"center"},{icon:"editor-alignright",title:Object(V.__)("Align text right"),align:"right"}];var Pe=function(e){var t=e.value,n=e.onChange,r=e.alignmentControls,o=void 0===r?Re:r,i=e.label,c=void 0===i?Object(V.__)("Change text alignment"):i,a=e.isCollapsed,l=void 0===a||a;function u(e){return function(){return n(t===e?void 0:e)}}var f=Object(p.find)(o,(function(e){return e.align===t}));return Object(d.createElement)(H.Toolbar,{isCollapsed:l,icon:f?f.icon:"editor-alignleft",label:c,controls:o.map((function(e){var n=e.align,r=t===n;return Object(s.a)({},e,{isActive:r,role:l?"menuitemradio":void 0,onClick:u(n)})}))})};var Me=Object(h.compose)([$((function(e){return{blockName:e.name}})),function(e){return function(t){var n=t.completers,r=void 0===n?[]:n;return Object(m.hasFilter)("editor.Autocomplete.completers")&&(r=Object(m.applyFilters)("editor.Autocomplete.completers",r.map(p.clone),t.blockName)),Object(d.createElement)(e,Object(u.a)({},t,{completers:r}))}}])(H.Autocomplete),De={left:{icon:"align-left",title:Object(V.__)("Align left")},center:{icon:"align-center",title:Object(V.__)("Align center")},right:{icon:"align-right",title:Object(V.__)("Align right")},wide:{icon:"align-wide",title:Object(V.__)("Wide width")},full:{icon:"align-full-width",title:Object(V.__)("Full width")}},Fe=["left","center","right","wide","full"],Ue="center",Ve=["wide","full"];var He=Object(h.compose)($((function(e){return{clientId:e.clientId}})),Object(g.withSelect)((function(e){return{wideControlsEnabled:(0,e("core/block-editor").getSettings)().alignWide}})))((function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Fe:r,i=e.isCollapsed,c=void 0===i||i,a=e.wideControlsEnabled,l=void 0!==a&&a?o:o.filter((function(e){return-1===Ve.indexOf(e)})),u=De[t],f=De[Ue];return Object(d.createElement)(H.Toolbar,{isCollapsed:c,icon:u?u.icon:f.icon,label:Object(V.__)("Change alignment"),controls:l.map((function(e){return Object(s.a)({},De[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})}));var ze=Object(g.withSelect)((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null})),Ke=function(){var e=Object(g.useDispatch)("core/block-editor"),t=e.selectBlock,n=e.clearSelectedBlock,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectionStart,r=t.getSelectedBlockClientId,o=t.getBlockParents,i=r();return{parents:o(i),clientId:i,hasSelection:!!n().clientId}}),[]),o=r.clientId,i=r.parents,c=r.hasSelection;return Object(d.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":Object(V.__)("Block breadcrumb")},Object(d.createElement)("li",{className:c?void 0:"block-editor-block-breadcrumb__current","aria-current":c?void 0:"true"},c&&Object(d.createElement)(H.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:n},Object(V.__)("Document")),!c&&Object(V.__)("Document")),i.map((function(e){return Object(d.createElement)("li",{key:e},Object(d.createElement)(H.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:function(){return t(e)}},Object(d.createElement)(ze,{clientId:e})))})),!!o&&Object(d.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(d.createElement)(ze,{clientId:o})))},Ge=Object(H.createSlotFill)("BlockControls"),We=Ge.Fill,qe=Ge.Slot,$e=Y((function(e){var t=e.controls,n=e.children;return Object(d.createElement)(We,null,Object(d.createElement)(H.Toolbar,{controls:t}),n)}));$e.Slot=qe;var Ye=$e,Xe=Object(H.createSlotFill)("BlockFormatControls"),Ze=Xe.Fill,Je=Xe.Slot,Qe=Y(Ze);Qe.Slot=Je;var et=Qe;function tt(e){var t=e.icon,n=e.showColors,r=void 0!==n&&n,o=e.className;"block-default"===Object(p.get)(t,["src"])&&(t={src:Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(d.createElement)(H.Icon,{icon:t&&t.src?t.src:t}),c=r?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(d.createElement)("span",{style:c,className:b()("block-editor-block-icon",o,{"has-colors":r})},i)}var nt=n(80),rt=n.n(nt),ot=n(20),it=n(26),ct={insertUsage:{}},at={alignWide:!1,colors:[{name:Object(V.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(V.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(V.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(V.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(V.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(V.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(V.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(V.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(V.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"},{name:Object(V.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:Object(V.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(V.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:Object(V._x)("Small","font size name"),size:13,slug:"small"},{name:Object(V._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(V._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(V._x)("Large","font size name"),size:36,slug:"large"},{name:Object(V._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:Object(V.__)("Thumbnail")},{slug:"medium",label:Object(V.__)("Medium")},{slug:"large",label:Object(V.__)("Large")},{slug:"full",label:Object(V.__)("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1,showInserterHelpPanel:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalEnableLegacyWidgetBlock:!1,__experimentalBlockDirectory:!1,__experimentalEnableFullSiteEditing:!1,__experimentalEnableFullSiteEditingDemo:!1,__experimentalEnablePageTemplates:!1,gradients:[{name:Object(V.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:Object(V.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:Object(V.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:Object(V.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:Object(V.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:Object(V.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:Object(V.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(V.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:Object(V.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:Object(V.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:Object(V.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(V.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function lt(e,t,n){return[].concat(Object(P.a)(e.slice(0,n)),Object(P.a)(Object(p.castArray)(t)),Object(P.a)(e.slice(n)))}function st(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(P.a)(e);return o.splice(t,r),lt(o,e.slice(t,t+r),n)}function ut(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(x.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,ut(o,r))})),n}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(x.a)({},n.clientId,t),dt(n.innerBlocks,n.clientId))}),{})}function ft(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(P.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(D.a)(o,["innerBlocks"]);r.push.apply(r,Object(P.a)(i)),n[c.clientId]=t(c)}return n}function bt(e){return ft(e,(function(e){return Object(p.omit)(e,"attributes")}))}function pt(e){return ft(e,(function(e){return e.attributes}))}function ht(e,t){return e===t?Object(s.a)({},e):t}function mt(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var gt=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var vt=Object(p.flow)(g.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Object(s.a)({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Object(s.a)({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(ft(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(ft(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Object(s.a)({},r.cache,gt(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Object(s.a)({},r.cache,gt(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=gt(o(n.replacedClientIds));r.cache=Object(s.a)({},Object(p.omit)(r.cache,n.replacedClientIds),Object(p.omit)(c,n.replacedClientIds),gt(Object(p.keys)(ft(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Object(s.a)({},Object(p.omit)(r.cache,n.removedClientIds),gt(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Object(s.a)({},r.cache,gt(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Object(s.a)({},r.cache,gt(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var u=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Object(s.a)({},r.cache,gt(o(u)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r<n.length;r++){var o;t.order[n[r]]&&(n===e&&(n=Object(P.a)(n)),(o=n).push.apply(o,Object(P.a)(t.order[n[r]])))}return n};if(t)switch(n.type){case"REMOVE_BLOCKS":n=Object(s.a)({},n,{type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:r(n.clientIds)});break;case"REPLACE_BLOCKS":n=Object(s.a)({},n,{type:"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN",replacedClientIds:r(n.clientIds)})}return e(t,n)}}),(function(e){return function(t,n){if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);var r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",clientIds:t.order[n.rootClientId]}));var o=r;return n.blocks.length&&(o=e(o,Object(s.a)({},n,{type:"INSERT_BLOCKS",index:0}))),o}}),(function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.reduce)(t[n],(function(n,r){return[].concat(Object(P.a)(n),[r],Object(P.a)(e(t,r)))}),[])}(t.order);return Object(s.a)({},t,{byClientId:Object(s.a)({},Object(p.omit)(t.byClientId,r),bt(n.blocks)),attributes:Object(s.a)({},Object(p.omit)(t.attributes,r),pt(n.blocks)),order:Object(s.a)({},Object(p.omit)(t.order,r),ut(n.blocks)),parents:Object(s.a)({},Object(p.omit)(t.parents,r),dt(n.blocks)),cache:Object(s.a)({},Object(p.omit)(t.cache,r),Object(p.mapValues)(ft(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var i=e(r,o),c="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===i&&!c){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Object(s.a)({},i,{isPersistentChange:a})}return i=Object(s.a)({},i,{isPersistentChange:c?!n:!mt(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,i}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return bt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(s.a)({},e,bt(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Object(s.a)({},e,Object(x.a)({},t.clientId,Object(s.a)({},e[t.clientId],n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(s.a)({},Object(p.omit)(e,t.replacedClientIds),bt(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return pt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Object(s.a)({},e,pt(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Object(s.a)({},e,Object(x.a)({},t.clientId,Object(s.a)({},e[t.clientId],t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(p.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=ht(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Object(s.a)({},e,Object(x.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Object(s.a)({},Object(p.omit)(e,t.replacedClientIds),pt(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return ut(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,Object(p.omit)(ut(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=ut(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Object(s.a)({},e,i,Object(x.a)({},r,lt(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,b=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[b].length:m;if(d===b){var v=e[b],O=v.indexOf(h);return Object(s.a)({},e,Object(x.a)({},b,st(e[b],O,g)))}return Object(s.a)({},e,(l={},Object(x.a)(l,d,Object(p.without)(e[d],h)),Object(x.a)(l,b,lt(e[b],h,g)),l));case"MOVE_BLOCKS_UP":var k=t.clientIds,j=t.rootClientId,y=void 0===j?"":j,_=Object(p.first)(k),C=e[y];if(!C.length||_===Object(p.first)(C))return e;var S=C.indexOf(_);return Object(s.a)({},e,Object(x.a)({},y,st(C,S,S-1,k.length)));case"MOVE_BLOCKS_DOWN":var E=t.clientIds,w=t.rootClientId,I=void 0===w?"":w,B=Object(p.first)(E),T=Object(p.last)(E),N=e[I];if(!N.length||T===Object(p.last)(N))return e;var L=N.indexOf(B);return Object(s.a)({},e,Object(x.a)({},I,st(N,L,L+1,E.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var A=t.clientIds;if(!t.blocks)return e;var R=ut(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Object(s.a)({},e,Object(p.omit)(R,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===A[0]?[].concat(Object(P.a)(e),Object(P.a)(R[""])):(-1===A.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(P.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return dt(t.blocks);case"RECEIVE_BLOCKS":return Object(s.a)({},e,dt(t.blocks));case"INSERT_BLOCKS":return Object(s.a)({},e,dt(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Object(s.a)({},e,Object(x.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(s.a)({},Object(p.omit)(e,t.replacedClientIds),dt(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function Ot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var kt=Object(g.combineReducers)({blocks:vt,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return Ot(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return Ot(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Object(s.a)({},e,Object(x.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Object(s.a)({},e,Object(x.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":return{rootClientId:t.rootClientId,index:t.index};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Object(s.a)({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Object(s.a)({},e,t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ct,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Object(s.a)({},e,{insertUsage:Object(s.a)({},e.insertUsage,Object(x.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(x.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(x.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"SET_SELECTED_MOUNTED_BLOCK":case"STOP_TYPING":return e}},selectedMountedBlock:function(e,t){switch(t.type){case"SET_SELECTED_MOUNTED_BLOCK":return t.clientId}return e}}),jt=n(86),yt=n.n(jt),_t=n(230),Ct=n.n(_t),St=n(30),Et=n(23),wt=n.n(Et);function It(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"SELECT",storeName:e,selectorName:t,args:r}}var xt={SELECT:Object(g.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,Object(P.a)(i))}}))},Bt=wt.a.mark(Vt),Tt=wt.a.mark($t),Nt=wt.a.mark(Yt),Lt=wt.a.mark(nn),At=wt.a.mark(ln),Rt=wt.a.mark(un),Pt=wt.a.mark(mn),Mt=wt.a.mark(An),Dt=wt.a.mark(Rn),Ft=wt.a.mark(Pn),Ut=wt.a.mark(Mn);function Vt(){return wt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,It("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,wn();case 6:case"end":return e.stop()}}),Bt)}function Ht(e){return{type:"RESET_BLOCKS",blocks:e}}function zt(e,t){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t}}function Kt(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function Gt(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function Wt(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function qt(e){return{type:"SELECT_BLOCK",initialPosition:arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,clientId:e}}function $t(e){var t;return wt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,It("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,qt(t,-1);case 6:case"end":return n.stop()}}),Tt)}function Yt(e){var t;return wt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,It("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,qt(t);case 6:case"end":return n.stop()}}),Nt)}function Xt(){return{type:"START_MULTI_SELECT"}}function Zt(){return{type:"STOP_MULTI_SELECT"}}function Jt(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function Qt(){return{type:"CLEAR_SELECTED_BLOCK"}}function en(){return{type:"TOGGLE_SELECTION",isSelectionEnabled:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}function tn(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(Object(p.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return Object(s.a)({},e,{attributes:Object(s.a)({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function nn(e,t,n){var r,o,i;return wt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=tn,c.t1=Object(p.castArray)(t),c.next=5,It("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,It("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o<t.length)){c.next=21;break}return i=t[o],c.next=15,It("core/block-editor","canInsertBlockType",i.name,r);case 15:if(c.sent){c.next=18;break}return c.abrupt("return");case 18:o++,c.next=11;break;case 21:return c.next=23,{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n};case 23:return c.delegateYield(Vt(),"t3",24);case 24:case"end":return c.stop()}}),Lt)}function rn(e,t){return nn(e,t)}function on(e){return function(t,n){return{clientIds:Object(p.castArray)(t),type:e,rootClientId:n}}}var cn=on("MOVE_BLOCKS_DOWN"),an=on("MOVE_BLOCKS_UP");function ln(e){var t,n,r,o,i,c,a=arguments;return wt.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return t=a.length>1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,It("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,It("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,It("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),At)}function sn(e,t,n){return un([e],t,n,!(arguments.length>3&&void 0!==arguments[3])||arguments[3])}function un(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return wt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=tn,f.t1=Object(p.castArray)(e),f.next=5,It("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,It("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),Rt,null,[[11,24,28,36],[29,,31,35]])}function dn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function fn(){return{type:"HIDE_INSERTION_POINT"}}function bn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function pn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function hn(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function mn(e){var t,n,r=arguments;return wt.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(r.length>1&&void 0!==r[1])||r[1],e&&e.length){o.next=3;break}return o.abrupt("return");case 3:return e=Object(p.castArray)(e),o.next=6,It("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,It("core/block-editor","getTemplateLock",n);case 9:if(!o.sent){o.next=12;break}return o.abrupt("return");case 12:if(!t){o.next=15;break}return o.next=15,$t(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(Vt(),"t0",18);case 18:case"end":return o.stop()}}),Pt)}function gn(e,t){return mn([e],t)}function vn(e,t){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:!(arguments.length>2&&void 0!==arguments[2])||arguments[2],time:Date.now()}}function On(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function kn(){return{type:"START_TYPING"}}function jn(){return{type:"STOP_TYPING"}}function yn(){return{type:"START_DRAGGING_BLOCKS"}}function _n(){return{type:"STOP_DRAGGING_BLOCKS"}}function Cn(){return{type:"ENTER_FORMATTED_TEXT"}}function Sn(){return{type:"EXIT_FORMATTED_TEXT"}}function En(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function wn(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return sn(Object(i.createBlock)(r,e),n,t)}function In(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function xn(e){return{type:"UPDATE_SETTINGS",settings:e}}function Bn(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Tn(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Nn(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function Ln(){return{type:"MARK_AUTOMATIC_CHANGE"}}function An(){var e,t=arguments;return wt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(he.speak)(Object(V.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(he.speak)(Object(V.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),Mt)}function Rn(e){var t,n,r,o,c;return wt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e||e.length){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,It("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,It("core/block-editor","getBlockRootClientId",e[0]);case 7:if(n=a.sent,!Object(p.some)(t,(function(e){return!e}))){a.next=10;break}return a.abrupt("return");case 10:if(r=t.map((function(e){return e.name})),!Object(p.some)(r,(function(e){return!Object(i.hasBlockSupport)(e,"multiple",!0)}))){a.next=13;break}return a.abrupt("return");case 13:return a.next=15,It("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),n);case 15:return o=a.sent,c=t.map((function(e){return Object(i.cloneBlock)(e)})),a.next=19,un(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,Jt(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),Dt)}function Pn(e){var t,n;return wt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,It("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,It("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,It("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,wn({},t,n);case 15:case"end":return r.stop()}}),Ft)}function Mn(e){var t,n;return wt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,It("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,It("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,It("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,wn({},t,n+1);case 15:case"end":return r.stop()}}),Ut)}function Dn(e){return{type:"SET_SELECTED_MOUNTED_BLOCK",clientId:e}}var Fn=n(37),Un=3,Vn=2,Hn=1,zn=0,Kn=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(d.createElement)(H.G,null,Object(d.createElement)(H.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),Gn=[];function Wn(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function qn(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function $n(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var Yn=Object(Fn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:$n(e,t),innerBlocks:Zn(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Xn=Object(Fn.a)((function(e,t){var n=e.blocks.byClientId[t];return n?Object(s.a)({},n,{attributes:$n(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),Zn=Object(Fn.a)((function(e,t){return Object(p.map)(xr(e,t),(function(t){return Yn(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Jn=function e(t,n){return Object(p.flatMap)(n,(function(n){var r=xr(t,n);return[].concat(Object(P.a)(r),Object(P.a)(e(t,r)))}))},Qn=Object(Fn.a)((function(e){var t=xr(e);return[].concat(Object(P.a)(t),Object(P.a)(Jn(e,t)))}),(function(e){return[e.blocks.order]})),er=Object(Fn.a)((function(e,t){var n=Qn(e);return t?Object(p.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),tr=Object(Fn.a)((function(e,t){return Object(p.map)(Object(p.castArray)(t),(function(t){return Yn(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function nr(e,t){return xr(e,t).length}function rr(e){return e.selectionStart}function or(e){return e.selectionEnd}function ir(e){return e.selectionStart.clientId}function cr(e){return e.selectionEnd.clientId}function ar(e){var t=kr(e).length;return t||(e.selectionStart.clientId?1:0)}function lr(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function sr(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function ur(e){var t=sr(e);return t?Yn(e,t):null}function dr(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var fr=Object(Fn.a)((function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]}));function br(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function pr(e,t){for(var n,r=sr(e),o=[].concat(Object(P.a)(fr(e,t)),[t]),i=[].concat(Object(P.a)(fr(e,r)),[r]),c=Math.min(o.length,i.length),a=0;a<c&&o[a]===i[a];a++)n=o[a];return n}function hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=sr(e)),void 0===t&&(t=n<0?yr(e):_r(e)),!t)return null;var r=dr(e,t);if(null===r)return null;var o=e.blocks.order[r],i=o.indexOf(t)+1*n;return i<0?null:i===o.length?null:o[i]}function mr(e,t){return hr(e,t,-1)}function gr(e,t){return hr(e,t,1)}function vr(e){return e.initialPosition}var Or=Object(Fn.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Gn;if(t.clientId===n.clientId)return[t.clientId];var r=dr(e,t.clientId);if(null===r)return Gn;var o=xr(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function kr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Gn:Or(e)}var jr=Object(Fn.a)((function(e){var t=kr(e);return t.length?t.map((function(t){return Yn(e,t)})):Gn}),(function(e){return[].concat(Object(P.a)(Or.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function yr(e){return Object(p.first)(kr(e))||null}function _r(e){return Object(p.last)(kr(e))||null}function Cr(e,t){return yr(e)===t}function Sr(e,t){return-1!==kr(e).indexOf(t)}var Er=Object(Fn.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Sr(e,n=dr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function wr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function Ir(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function xr(e,t){return e.blocks.order[t||""]||Gn}function Br(e,t,n){return xr(e,n).indexOf(t)}function Tr(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function Nr(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(xr(e,t),(function(t){return Tr(e,t)||Sr(e,t)||n&&Nr(e,t,n)}))}function Lr(e,t){if(!t)return!1;var n=kr(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function Ar(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId!==n.clientId}function Rr(e){return e.isMultiSelecting}function Pr(e){return e.isSelectionEnabled}function Mr(e,t){return e.blocksMode[t]||"visual"}function Dr(e){return e.isTyping}function Fr(e){return e.isDraggingBlocks}function Ur(e){return e.isCaretWithinFormattedText}function Vr(e){var t,n,r=e.insertionPoint,o=e.selectionEnd;if(null!==r)return r;var i=o.clientId;return i?(t=dr(e,i)||void 0,n=Br(e,o.clientId,t)+1):n=xr(e).length,{rootClientId:t,index:n}}function Hr(e){return null!==e.insertionPoint}function zr(e){return e.template.isValid}function Kr(e){return e.settings.template}function Gr(e,t){if(!t)return e.settings.templateLock;var n=Qr(e,t);return n?n.templateLock:null}var Wr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!Object(p.includes)(e,"core/post-content")||null!==t)||Object(p.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=eo(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!Gr(e,n);if(s)return!1;var u=Qr(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=Wn(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},qr=Object(Fn.a)(Wr,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function $r(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var Yr=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&Wr(e,t.name,n)},Xr=Object(Fn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?Un:t>0?Vn:"common"===e?Hn:zn},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(tr(e,Qn(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=$r(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u;return{id:o,name:t.name,initialAttributes:{},title:t.title,icon:t.icon,category:t.category,keywords:t.keywords,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=ro(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=$r(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:Kn,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return Yr(e,n,t)})).map(o),l=Wr(e,"core/block",t)?co(e).map(c):[];return Object(p.orderBy)([].concat(Object(P.a)(a),Object(P.a)(l)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,co(e),Object(i.getBlockTypes)()]})),Zr=Object(Fn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(i.getBlockTypes)(),(function(n){return Yr(e,n,t)}));if(n)return!0;var r=Wr(e,"core/block",t)&&co(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,co(e),Object(i.getBlockTypes)()]})),Jr=Object(Fn.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(i.getBlockTypes)(),(function(n){return Yr(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Qr(e,t){return e.blockListSettings[t]}function eo(e){return e.settings}function to(e){return e.blocks.isPersistentChange}var no=Object(Fn.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),ro=Object(Fn.a)((function(e,t){var n=Object(p.find)(co(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[co(e)]}));function oo(e){return e.blocks.isIgnoredChange}function io(e){return e.lastBlockAttributesChange}function co(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],Gn)}function ao(e){return e.isNavigationMode}function lo(e){return!!e.automaticChangeStatus}function so(e){return e.selectedMountedBlock}var uo={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(M.a)(e.blocks,2),a=o[0],l=o[1],u=Yn(r,a),d=Object(i.getBlockType)(u.name);if(d.merge){var f=Yn(r,l),b=Object(i.getBlockType)(f.name),h=rr(r),m=h.clientId,g=h.attributeKey,v=h.offset,O=(m===a?d:b).attributes[g],k=(m===a||m===l)&&void 0!==g&&void 0!==v&&!!O;O||("number"==typeof g?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(Object(St.a)(g))):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));var j=Object(i.cloneBlock)(u),y=Object(i.cloneBlock)(f);if(k){var _=m===a?j:y,C=_.attributes[g],S=O.multiline,E=O.__unstableMultilineWrapperTags,w=O.__unstablePreserveWhiteSpace,I=Object(c.insert)(Object(c.create)({html:C,multilineTag:S,multilineWrapperTags:E,preserveWhiteSpace:w}),"†",v,v);_.attributes[g]=Object(c.toHTMLString)({value:I,multilineTag:S,preserveWhiteSpace:w})}var x=u.name===f.name?[y]:Object(i.switchToBlockType)(y,u.name);if(x&&x.length){var B=d.merge(j.attributes,x[0].attributes);if(k){var T=Object(p.findKey)(B,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),N=B[T],L=d.attributes[T],A=L.multiline,R=L.__unstableMultilineWrapperTags,D=L.__unstablePreserveWhiteSpace,F=Object(c.create)({html:N,multilineTag:A,multilineWrapperTags:R,preserveWhiteSpace:D}),U=F.text.indexOf("†"),V=Object(c.remove)(F,U,U+1),H=Object(c.toHTMLString)({value:V,multilineTag:A,preserveWhiteSpace:D});B[T]=H,n(En(u.clientId,T,U,U))}n(nn([u.clientId,f.clientId],[Object(s.a)({},u,{attributes:Object(s.a)({},u.attributes,B)})].concat(Object(P.a)(x.slice(1)))))}}else n(qt(u.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Kr(n),o=Gr(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==zr(n))return bn(c)}],MULTI_SELECT:function(e,t){var n=ar((0,t.getState)());Object(he.speak)(Object(V.sprintf)(Object(V._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=Zn(n),o=Kr(n);return Ht(Object(i.synchronizeBlocksWithTemplate)(r,o))},MARK_AUTOMATIC_CHANGE:function(e,t){var n=window,r=n.setTimeout,o=n.requestIdleCallback;(void 0===o?function(e){return r(e,100)}:o)((function(){t.dispatch({type:"MARK_AUTOMATIC_CHANGE_FINAL"})}))}};var fo=function(e){var t,n=[yt()(uo),Ct.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=p.flowRight.apply(void 0,Object(P.a)(t))(e.dispatch),e.dispatch=r,e},bo={reducer:kt,selectors:o,actions:r,controls:xt},po=Object(g.registerStore)("core/block-editor",Object(s.a)({},bo,{persist:["preferences"]}));fo(po);var ho=Object(h.createHigherOrderComponent)((function(e){return Object(g.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(D.a)(t,["useSubRegistry","registry"]);if(!r)return Object(d.createElement)(e,Object(u.a)({registry:o},i));var c=Object(d.useState)(null),a=Object(M.a)(c,2),l=a[0],s=a[1];return Object(d.useEffect)((function(){var e=Object(g.createRegistry)({},o),t=e.registerStore("core/block-editor",bo);fo(t),s(e)}),[o]),l?Object(d.createElement)(g.RegistryProvider,{value:l},Object(d.createElement)(e,Object(u.a)({registry:l},i))):null}))}),"withRegistryProvider"),mo=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(E.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry),this.isSyncingOutcomingValue=[]}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,c=t.selectionStart,a=t.selectionEnd,l=t.resetSelection,s=t.registry;n!==e.settings&&r(n),s!==e.registry&&this.attachChangeObserver(s),this.isSyncingOutcomingValue.includes(o)?Object(p.last)(this.isSyncingOutcomingValue)===o&&(this.isSyncingOutcomingValue=[]):o!==e.value&&(this.isSyncingOutcomingValue=[],this.isSyncingIncomingValue=o,i(o),c&&a&&l(c,a))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.getSelectionStart,i=n.getSelectionEnd,c=n.isLastBlockChangePersistent,a=n.__unstableIsLastBlockChangeIgnored,l=r(),s=c();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,u=void 0===n?p.noop:n,d=e.onInput,f=void 0===d?p.noop:d,b=r(),h=c();if(b!==l&&(t.isSyncingIncomingValue||a()))return t.isSyncingIncomingValue=null,l=b,void(s=h);if(b!==l||h&&!s){b!==l&&t.isSyncingOutcomingValue.push(b),l=b,s=h;var m=o(),g=i();s?u(l,{selectionStart:m,selectionEnd:g}):f(l,{selectionStart:m,selectionEnd:g})}}))}},{key:"render",value:function(){return this.props.children}}]),t}(d.Component),go=Object(h.compose)([ho,Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(mo),vo=n(75),Oo=n(28);var ko=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(d.createElement)("div",{className:b()(t,"block-editor-warning")},Object(d.createElement)("div",{className:"block-editor-warning__contents"},Object(d.createElement)("p",{className:"block-editor-warning__message"},r),d.Children.count(n)>0&&Object(d.createElement)("div",{className:"block-editor-warning__actions"},d.Children.map(n,(function(e,t){return Object(d.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})))),o&&Object(d.createElement)(H.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(H.Button,{icon:"ellipsis",label:Object(V.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(H.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(H.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},jo=n(231),yo=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(d.createElement)("div",{className:c},Object(d.createElement)("div",{className:"block-editor-block-compare__content"},Object(d.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(d.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(d.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(d.createElement)("div",{className:"block-editor-block-compare__action"},Object(d.createElement)(H.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},_o=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(E.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(C.a)(t,[{key:"getDifference",value:function(e,t){return Object(jo.diffChars)(e,t).map((function(e,t){var n=b()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(d.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(p.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(d.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(d.createElement)(yo,{title:Object(V.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(V.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(d.createElement)(yo,{title:Object(V.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),Co=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(E.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(w.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(w.a)(n)),n}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(V.__)("Convert to Classic Block"),onClick:r},{title:Object(V.__)("Attempt Block Recovery"),onClick:o}];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(ko,{actions:[Object(d.createElement)(H.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(V._x)("Resolve","imperative verb")),a&&Object(d.createElement)(H.Button,{key:"edit",onClick:t,isPrimary:!0},Object(V.__)("Convert to HTML"))],secondaryActions:s},Object(V.__)("This block contains unexpected or invalid content.")),l&&Object(d.createElement)(H.Modal,{title:Object(V.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(_o,{block:c,onKeep:t,onConvert:n,convertor:So,convertButtonText:Object(V.__)("Convert to Blocks")})))}}]),t}(d.Component),So=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},Eo=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(g.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,So(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(Co),wo=Object(d.createElement)(ko,{className:"block-editor-block-list__block-crash-warning"},Object(V.__)("This block has encountered an error and cannot be previewed.")),Io=function(){return wo},xo=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(d.Component),Bo=n(73),To=n.n(Bo);var No=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(M.a)(n,2),o=r[0],c=r[1],a=Object(g.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(g.useDispatch)("core/block-editor").updateBlock;return Object(d.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(d.createElement)(To.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})};function Lo(e){return document.getElementById("block-"+e)}function Ao(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function Ro(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var Po=function(e){return e+1},Mo=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var Do=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(Po,0),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(Po,0),f=Object(M.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(M.a)(m,2),v=g[0],O=g[1],k=e.current?Mo(e.current):null,j=Object(d.useMemo)((function(){return!!n&&Object(Oo.getScrollContainer)(e.current)}),[n]);Object(d.useLayoutEffect)((function(){l&&p()}),[l]),Object(d.useLayoutEffect)((function(){if(i){if(n&&j){e.current.style.transform="none";var t=Mo(e.current);j.scrollTop=j.scrollTop-k.top+t.top}}else{e.current.style.transform="none";var r=Mo(e.current),o={x:k?k.left-r.left:0,y:k?k.top-r.top:0,scrollTop:k&&j?j.scrollTop-k.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object(vo.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&j&&!i&&e.y&&(j.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object(vo.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object(vo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function Fo(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function Uo(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:i(),getBlockParents:c,selectedBlockClientId:a()}}function Vo(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var Ho=Object(d.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,i=e.noCapture,c=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),a=Object(g.useDispatch)("core/block-editor").setNavigationMode;return Object(d.createElement)("div",{ref:t,tabIndex:c?void 0:"0",onFocus:function(){if(i.current)i.current=null;else if(n){var e=Lo(n);if(r){var t=Oo.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{a(!0);var c=Oo.focus.tabbable.find(o.current);c.length&&(r?Object(p.last)(c).focus():Object(p.first)(c).focus())}},style:{position:"fixed"}})})),zo=window,Ko=zo.getSelection,Go=zo.getComputedStyle,Wo=Object(p.overEvery)([Oo.isTextField,Oo.focus.tabbable.isTabbableIndex]);function qo(e,t,n){var r=Oo.focus.focusable.find(n);return t&&(r=Object(p.reverse)(r)),r=r.slice(r.indexOf(e)+1),Object(p.find)(r,(function t(n,r,o){if(!Oo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Oo.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0}))}function $o(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=t.isNavigationMode,f=t.isSelectionEnabled,b=t.getBlockSelectionStart,p=n(),h=r(),m=o();return{selectedBlockClientId:p,selectionStartClientId:h,selectionBeforeEndClientId:i(m||p),selectionAfterEndClientId:c(m||p),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:d(),isSelectionEnabled:f(),blockSelectionStart:b()}}function Yo(e){var t=e.children,n=Object(d.useRef)(),r=Object(d.useRef)(),o=Object(d.useRef)(),i=Object(d.useRef)(),c=Object(d.useRef)(),a=Object(d.useRef)(),l=Object(g.useSelect)($o,[]),s=l.selectedBlockClientId,u=l.selectionStartClientId,f=l.selectionBeforeEndClientId,b=l.selectionAfterEndClientId,h=l.selectedFirstClientId,m=l.selectedLastClientId,v=l.hasMultiSelection,O=l.blocks,k=l.isNavigationMode,j=l.isSelectionEnabled,y=l.blockSelectionStart,_=Object(g.useDispatch)("core/block-editor"),C=_.multiSelect,S=_.selectBlock,E=_.clearSelectedBlock,w=_.setNavigationMode;var I=s||h;return Object(d.createElement)("div",{className:"block-editor-writing-flow"},Object(d.createElement)(Ho,{ref:r,selectedClientId:I,containerRef:n,noCapture:c}),Object(d.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,l=e.target,d=t===ot.UP,g=t===ot.DOWN,j=t===ot.LEFT,y=t===ot.RIGHT,_=t===ot.TAB,I=t===ot.ESCAPE,x=d||j,B=j||y,T=d||g,N=B||T,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,R=T?Oo.isVerticalEdge:Oo.isHorizontalEdge;if(k){var P=_&&L||d,M=_&&!L||g,D=P?f:b;if(M||P)if(D)e.preventDefault(),S(D);else if(_&&s){var F,U=Lo(s);(F=M?Oo.focus.tabbable.findNext(U):Oo.focus.tabbable.findPrevious(U))&&(e.preventDefault(),F.focus(),E())}}else{var V=s||h;if(V){var H=Lo(V);if(_)if(L){if(l===H)return c.current=!0,void r.current.focus()}else{var z=Oo.focus.tabbable.find(H);if(l===(Object(p.last)(z)||H))return c.current=!0,void o.current.focus()}else I&&w(!0)}if(T?a.current||(a.current=Object(Oo.computeCaretRect)()):a.current=null,!N)return ot.isKeyboardEvent.primary(e)&&(i.current=Object(Oo.isEntirelySelected)(l)),void(ot.isKeyboardEvent.primary(e,"a")&&((l.isContentEditable?i.current:Object(Oo.isEntirelySelected)(l))&&(C(Object(p.first)(O),Object(p.last)(O)),e.preventDefault()),i.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===ot.UP||t===ot.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(l,t,A)){var K="rtl"===Go(l).direction?!x:x;if(L)(x&&f||!x&&b)&&(v||function(e,t){var r,o,i=qo(e,t,n.current);return!(i&&(r=e,o=i,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(l,x)&&R(l,x))&&(!function(e){var t=e?f:b;t&&C(u||s,t)}(x),e.preventDefault());else if(v)!function(e){var t=e?h:m;t&&S(t)}(x),e.preventDefault();else if(T&&Object(Oo.isVerticalEdge)(l,x)){var G=qo(l,x,n.current);G&&(Object(Oo.placeCaretAtVerticalEdge)(G,x,a.current),e.preventDefault())}else if(B&&Ko().isCollapsed&&Object(Oo.isHorizontalEdge)(l,K)){var W=qo(l,K,n.current);Object(Oo.placeCaretAtHorizontalEdge)(W,K),e.preventDefault()}}}},onMouseDown:function(e){if(a.current=null,k&&s&&Ao(Lo(s),e.target)&&w(!1),j&&0===e.button){var t=Ro(e.target);t&&(e.shiftKey?y!==t&&(C(y,t),e.preventDefault()):v&&S(t))}}},t),Object(d.createElement)(Ho,{ref:o,selectedClientId:I,containerRef:n,noCapture:c,isReverse:!0}),Object(d.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:function(){var e=Oo.focus.focusable.find(n.current),t=Object(p.findLast)(e,Wo);t&&Object(Oo.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function Xo(e){var t=e.clientId;return Object(g.useSelect)((function(e){var n=e("core/block-editor"),r=n.getBlockIndex,o=n.getBlockInsertionPoint,i=n.isBlockInsertionPointVisible,c=(0,n.getBlockRootClientId)(t),a=r(t,c),l=o();return i()&&l.index===a&&l.rootClientId===c}),[t])?Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}):null}function Zo(e){var t=e.className,n=e.isMultiSelecting,r=e.selectedBlockClientId,o=e.children,i=e.containerRef,c=Object(d.useState)(!1),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(!1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)(null),g=Object(M.a)(m,2),v=g[0],O=g[1],k=Object(d.useState)(null),j=Object(M.a)(k,2),y=j[0],_=j[1],C=Object(d.useRef)();return Object(d.createElement)(d.Fragment,null,!n&&(l||p)&&Object(d.createElement)(H.Popover,{noArrow:!0,animate:!1,anchorRef:v,position:"top right left",focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:"block-toolbar"},Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point",style:{width:v.offsetWidth}},Object(d.createElement)(Xo,{clientId:y}),Object(d.createElement)("div",{ref:C,onFocus:function(){return h(!0)},onBlur:function(){return h(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===C.current){var o=r.getBoundingClientRect(),c=n<o.top+o.height/2,a=Lo(y),l=qo(a,!0,c?i.current:a),s=new window.DOMRect(t,n,0,16);l&&Object(Oo.placeCaretAtVerticalEdge)(l,c,s,!1)}},tabIndex:-1,className:b()("block-editor-block-list__insertion-point-inserter",{"is-inserter-hidden":y===r})},Object(d.createElement)(zi,{clientId:y})))),Object(d.createElement)("div",{onMouseMove:p||n?void 0:function(e){if(e.target.className===t){var n=e.target.getBoundingClientRect(),r=e.clientY-n.top,o=Array.from(e.target.children).find((function(e){return e.offsetTop>r}));if(o){var i=o.id.slice("block-".length);if(i){var c=o.getBoundingClientRect();e.clientX>c.right||e.clientX<c.left?l&&s(!1):(s(!0),O(o),_(i))}}}else l&&s(!1)}},o))}var Jo=function(e){var t=e.clientId,n=e.rootClientId,r=e.moverDirection,o=Object(D.a)(e,["clientId","rootClientId","moverDirection"]),c=Object(g.useSelect)((function(e){var r=e("core/block-editor"),o=r.__unstableGetBlockWithoutInnerBlocks,i=(0,r.getBlockIndex)(t,n),c=o(t);return{index:i,name:c.name,attributes:c.attributes}}),[t,n]),a=c.index,l=c.name,s=c.attributes,f=Object(g.useDispatch)("core/block-editor"),b=f.setNavigationMode,p=f.removeBlock,h=Object(d.useRef)();Object(d.useEffect)((function(){h.current.focus()}));var m=Object(i.getBlockType)(l),v=Object(i.__experimentalGetAccessibleBlockLabel)(m,s,a+1,r);return Object(d.createElement)("div",Object(u.a)({className:"block-editor-block-list__breadcrumb"},o),Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.Button,{ref:h,onClick:function(){return b(!1)},onKeyDown:function(e){var n=e.keyCode;n!==ot.BACKSPACE&&n!==ot.DELETE||(p(t),e.preventDefault())},label:v},Object(d.createElement)(ze,{clientId:t}))))};var Qo=function(e){var t=e.children,n=e.focusOnMount,r=Object(D.a)(e,["children","focusOnMount"]),o=Object(d.useRef)(),i=Object(d.useCallback)((function(){var e=Oo.focus.tabbable.find(o.current);e.length&&e[0].focus()}),[]);return Object(l.useShortcut)("core/block-editor/focus-toolbar",i,{bindGlobal:!0,eventName:"keydown"}),Object(d.useEffect)((function(){n&&i()}),[]),Object(d.createElement)(H.NavigableMenu,Object(u.a)({orientation:"horizontal",role:"toolbar",ref:o},r),t)};var ei=function(e){var t=e.focusOnMount,n=Object(D.a)(e,["focusOnMount"]);return Object(d.createElement)(Qo,Object(u.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(V.__)("Block tools")},n),Object(d.createElement)(fl,null))};function ti(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,i=t.isTyping,c=t.isCaretWithinFormattedText,a=t.getSettings;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:i(),isCaretWithinFormattedText:c(),hasMultiSelection:o(),hasFixedToolbar:a().hasFixedToolbar}}function ni(e){var t=e.clientId,n=e.rootClientId,r=e.name,o=e.align,i=e.isValid,c=e.moverDirection,a=e.isEmptyDefaultBlock,s=e.capturingClientId,u=Object(g.useSelect)(ti,[]),f=u.isNavigationMode,p=u.isMultiSelecting,m=u.isTyping,v=u.isCaretWithinFormattedText,O=u.hasMultiSelection,k=u.hasFixedToolbar,j=Object(h.useViewportMatch)("medium"),y=Object(d.useState)(!1),_=Object(M.a)(y,2),C=_[0],S=_[1],E=Object(d.useState)(!1),w=Object(M.a)(E,2),I=w[0],x=w[1],B=!f&&a&&i,T=f,N=!f&&!k&&j&&!B&&!p&&(!m||v),L=!(f||N||k||a);if(Object(l.useShortcut)("core/block-editor/focus-toolbar",Object(d.useCallback)((function(){return S(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!L}),!(T||N||C||B))return null;var A=document.getElementById("block-"+s);if(!A)return null;A.classList.contains("is-block-collapsed")&&(A=A.querySelector(".is-block-content")||A);var R=B?"top left right":"top right left",P=!O||".wp-block.is-multi-selected";return Object(d.createElement)(H.Popover,{noArrow:!0,animate:!1,position:R,focusOnMount:!1,anchorRef:A,className:"block-editor-block-list__block-popover",__unstableSticky:!B&&P,__unstableSlotName:"block-toolbar",__unstableAllowVerticalSubpixelPosition:"horizontal"!==c&&A,__unstableAllowHorizontalSubpixelPosition:"horizontal"===c&&A,onBlur:function(){return S(!1)},shouldAnchorIncludePadding:!0},(N||C)&&Object(d.createElement)("div",{onFocus:function(){x(!0)},onBlur:function(){x(!1)},tabIndex:-1,className:b()("block-editor-block-list__block-popover-inserter",{"is-visible":I})},Object(d.createElement)(zi,{clientId:t,rootClientId:n})),(N||C)&&Object(d.createElement)(ei,{focusOnMount:C,"data-type":r,"data-align":o}),T&&Object(d.createElement)(Jo,{clientId:t,rootClientId:n,moverDirection:c,"data-align":o}),B&&Object(d.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(d.createElement)(zi,{position:"top right",rootClientId:n,clientId:t})))}function ri(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,c=t.__unstableGetSelectedMountedBlock,a=t.__unstableGetBlockWithoutInnerBlocks,l=t.getBlockParents,s=t.getBlockListSettings,u=t.__experimentalGetBlockListSettingsForBlocks,d=n()||r();if(d){var f=o(d),b=a(d)||{},h=b.name,m=b.attributes,g=void 0===m?{}:m,v=b.isValid,O=l(d),k=(s(f)||{}).__experimentalMoverDirection,j=u(O),y=Object(p.findIndex)(j,["__experimentalCaptureToolbars",!0]),_=d;return-1!==y&&(_=O[y]),{clientId:d,rootClientId:o(d),isMounted:c()===d,name:h,align:g.align,isValid:v,moverDirection:k,isEmptyDefaultBlock:h&&Object(i.isUnmodifiedDefaultBlock)({name:h,attributes:g}),capturingClientId:_}}}function oi(){var e=Object(g.useSelect)(ri,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.isMounted,o=e.name,i=e.align,c=e.isValid,a=e.moverDirection,l=e.isEmptyDefaultBlock,s=e.capturingClientId;return o&&r?Object(d.createElement)(ni,{clientId:t,rootClientId:n,name:o,align:i,isValid:c,moverDirection:a,isEmptyDefaultBlock:l,capturingClientId:s}):null}var ii=Object(d.createContext)();function ci(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectedBlockClientId:n(),hasMultiSelection:r(),isMultiSelecting:o()}}function ai(e){Ro(e.target)&&e.preventDefault()}var li=Object(d.forwardRef)((function(e,t){var n=e.children,r=e.className,o=Object(g.useSelect)(ci,[]),i=o.selectedBlockClientId,c=o.hasMultiSelection,a=o.isMultiSelecting,l=Object(g.useDispatch)("core/block-editor").selectBlock,s=function(e){var t=Object(g.useSelect)(Uo,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.selectedBlockClientId,l=Object(g.useDispatch)("core/block-editor"),s=l.startMultiSelect,u=l.stopMultiSelect,f=l.multiSelect,b=l.selectBlock,p=Object(d.useRef)(),h=Object(d.useRef)(),m=Object(d.useRef)();Object(d.useEffect)((function(){if(i&&!r){var e=o.length;if(!(e<2)){var t=o[0],n=o[e-1],c=Lo(t),l=Lo(n),s=window.getSelection(),u=document.createRange();c=Fo(c,"start"),l=Fo(l,"end"),u.setStartBefore(c),u.setEndAfter(l),s.removeAllRanges(),s.addRange(u)}}else{if(!a||r)return;var d=window.getSelection();if(d.rangeCount&&!d.isCollapsed){var f=Lo(a),b=d.getRangeAt(0),p=b.startContainer,h=b.endContainer;f.contains(p)&&f.contains(h)||d.removeAllRanges()}}}),[i,r,o,b,a]);var v=Object(d.useCallback)((function(t){var n=t.isSelectionEnd,r=window.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=Ro(r.focusNode);if(h.current===o){if(b(o),n&&(Vo(e.current,!0),r.rangeCount)){var i=r.getRangeAt(0).commonAncestorContainer;m.current.contains(i)&&m.current.focus()}}else{var a=[].concat(Object(P.a)(c(h.current)),[h.current]),l=[].concat(Object(P.a)(c(o)),[o]),s=Math.min(a.length,l.length)-1;f(a[s],l[s])}}}),[b,c,f]),O=Object(d.useCallback)((function(){document.removeEventListener("selectionchange",v),window.removeEventListener("mouseup",O),p.current=window.requestAnimationFrame((function(){v({isSelectionEnd:!0}),u()}))}),[v,u]);return Object(d.useEffect)((function(){return function(){document.removeEventListener("selectionchange",v),window.removeEventListener("mouseup",O),window.cancelAnimationFrame(p.current)}}),[v,O]),Object(d.useCallback)((function(t){n&&(h.current=t,m.current=document.activeElement,s(),document.addEventListener("selectionchange",v),window.addEventListener("mouseup",O),Vo(e.current,!1))}),[n,s,O])}(t);return Object(d.createElement)(Zo,{className:r,isMultiSelecting:a,selectedBlockClientId:i,containerRef:t},Object(d.createElement)(oi,null),Object(d.createElement)("div",{ref:t,className:r,onFocus:function(e){if(!c){var t=Ro(e.target);t&&t!==i&&l(t)}},onDragStart:ai},Object(d.createElement)(ii.Provider,{value:s},n)))}));var si=Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/block-editor"),a=c.isBlockSelected,l=c.isAncestorMultiSelected,s=c.isBlockMultiSelected,u=c.isFirstMultiSelectedBlock,d=c.isTyping,f=c.getBlockMode,b=c.isSelectionEnabled,p=c.getSelectedBlocksInitialCaretPosition,h=c.getSettings,m=c.hasSelectedInnerBlock,g=c.getTemplateLock,v=c.__unstableGetBlockWithoutInnerBlocks,O=c.isNavigationMode,k=v(n),j=a(n),y=h(),_=y.focusMode,C=y.isRTL,S=g(r),E=m(n,!0),w=k||{},I=w.name,x=w.attributes,B=w.isValid;return{isMultiSelected:s(n),isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isTypingWithinBlock:(j||E)&&d(),mode:f(n),isSelectionEnabled:b(),initialPosition:j?p():null,isEmptyDefaultBlock:I&&Object(i.isUnmodifiedDefaultBlock)({name:I,attributes:x}),isLocked:!!S,isFocusMode:_&&o,isNavigationMode:O(),isRTL:C,block:k,name:I,attributes:x,isValid:B,isSelected:j,isAncestorOfSelectedBlock:E}})),ui=Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.updateBlockAttributes,a=o.insertBlocks,l=o.insertDefaultBlock,s=o.removeBlock,u=o.mergeBlocks,d=o.replaceBlocks,f=o.toggleSelection,b=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;c(n,e)},onInsertBlocks:function(e,n){var r=t.rootClientId;a(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);l({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);a(e,i+1,o)},onRemove:function(e){s(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,c=o.getNextBlockClientId;if(e){var a=c(n);a&&u(n,a)}else{var l=i(n);l&&u(l,n)}},onReplace:function(e,n){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&b(),d([t.clientId],e,n)},toggleSelection:function(e){f(e)}}})),di=Object(h.compose)(h.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),si,ui,Object(h.ifCondition)((function(e){return!!e.block})),Object(H.withFilters)("editor.BlockListBlock"))((function(e){var t=e.mode,n=e.isFocusMode,r=e.isLocked,o=e.clientId,c=e.isSelected,a=e.isMultiSelected,l=e.isPartOfMultiSelection,f=e.isFirstMultiSelected,h=e.isTypingWithinBlock,m=e.isEmptyDefaultBlock,v=e.isAncestorOfSelectedBlock,O=e.isSelectionEnabled,k=e.className,j=e.name,y=e.isValid,_=e.attributes,C=e.initialPosition,S=e.wrapperProps,E=e.setAttributes,w=e.onReplace,I=e.onInsertBlocksAfter,x=e.onMerge,B=e.onRemove,T=e.onInsertDefaultBlockAfter,N=e.toggleSelection,L=e.animateOnChange,A=e.enableAnimation,R=e.isNavigationMode,P=e.isMultiSelecting,D=e.hasSelectedUI,F=void 0===D||D,U=Object(d.useContext)(ii),H=Object(g.useSelect)((function(e){return{isDraggingBlocks:e("core/block-editor").isDraggingBlocks()}}),[]).isDraggingBlocks,z=Object(g.useDispatch)("core/block-editor").__unstableSetSelectedMountedBlock,K=Object(d.useRef)(null);Object(d.useLayoutEffect)((function(){(c||f)&&z(o)}),[c,f]);var G=Object(d.useState)(!1),W=Object(M.a)(G,2),q=W[0],$=W[1],Y=Object(i.getBlockType)(j),Z=f?Object(V.__)("Multiple selected blocks"):Object(V.sprintf)(Object(V.__)("Block: %s"),Y.title),J=Object(d.useRef)(!0);Object(d.useEffect)((function(){P||R||(c?function(e){if(!K.current.contains(document.activeElement)){var t=Oo.focus.tabbable.find(K.current).filter(Oo.isTextField).filter((function(t){return!e||Ao(K.current,t)})),n=-1===C,r=(n?p.last:p.first)(t);r?Object(Oo.placeCaretAtHorizontalEdge)(r,n):K.current.focus()}}(!J.current):f&&K.current.focus()),J.current=!1}),[c,f,P,R]);var Q=Do(K,c||l,c||f,A,L),ee=j===Object(i.getUnregisteredTypeHandlerName)(),te=!n&&!(!R&&c&&m&&y)&&c&&!h,ne=H&&(c||l);Y.getEditWrapperProps&&(S=Object(s.a)({},S,Y.getEditWrapperProps(_)));var re=S&&S["data-align"],oe=b()("wp-block block-editor-block-list__block",{"has-selected-ui":F,"has-warning":!y||!!q||ee,"is-selected":te&&F,"is-navigate-mode":R,"is-multi-selected":a,"is-reusable":Object(i.isReusableBlock)(Y),"is-dragging":ne,"is-typing":h,"is-focused":n&&(c||v),"is-focus-mode":n,"has-child-selected":v,"is-block-collapsed":re},k),ie="block-".concat(o),ce=Object(d.createElement)(X,{name:j,isSelected:c,attributes:_,setAttributes:E,insertBlocksAfter:r?void 0:I,onReplace:r?void 0:w,mergeBlocks:r?void 0:x,clientId:o,isSelectionEnabled:O,toggleSelection:N});return re&&(ce=Object(d.createElement)("div",{className:"is-block-content"},ce)),"visual"!==t&&(ce=Object(d.createElement)("div",{style:{display:"none"}},ce)),Object(d.createElement)(vo.animated.div,Object(u.a)({id:ie,ref:K,className:oe,"data-block":o,"data-type":j,onKeyDown:c&&!r?function(e){var t=e.keyCode,n=e.target;switch(t){case ot.ENTER:n===K.current&&(T(),e.preventDefault());break;case ot.BACKSPACE:case ot.DELETE:n===K.current&&(B(o),e.preventDefault())}}:void 0,onMouseLeave:c?function(e){var t=e.which;1===(e.buttons||t)&&U(o)}:void 0,tabIndex:"0","aria-label":Z,role:"group"},S,{style:S&&S.style?Object(s.a)({},S.style,Q):Q}),Object(d.createElement)(xo,{onError:function(){return $(!0)}},y&&ce,y&&"html"===t&&Object(d.createElement)(No,{clientId:o}),!y&&[Object(d.createElement)(Eo,{key:"invalid-warning",clientId:o}),Object(d.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(Y,_))]),!!q&&Object(d.createElement)(Io,null))})),fi=n(55);var bi=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:f}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,c=e.rootClientId;if(t||!n)return null;var a=Object(fi.decodeEntities)(i)||Object(V.__)("Start writing or type / to choose a block");return Object(d.createElement)("div",{"data-root-client-id":c||"",className:"wp-block block-editor-default-block-appender"},Object(d.createElement)(To.a,{role:"button","aria-label":Object(V.__)("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(d.createElement)(zi,{rootClientId:c,position:"top right",isAppender:!0}))}));function pi(e){e.stopPropagation()}var hi=Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}}))((function(e){var t,n=e.blockClientIds,r=e.rootClientId,o=e.canInsertDefaultBlock,i=e.isLocked,c=e.renderAppender,a=e.className;return i||!1===c?null:(t=c?Object(d.createElement)(c,null):o?Object(d.createElement)(bi,{rootClientId:r,lastBlockClientId:Object(p.last)(n)}):Object(d.createElement)(Ki,{rootClientId:r,className:"block-list-appender__toggle"}),Object(d.createElement)("div",{tabIndex:-1,onFocus:pi,className:b()("block-list-appender",a)},t))})),mi=Object(H.createSlotFill)("__experimentalBlockListFooter"),gi=mi.Fill,vi=mi.Slot;gi.Slot=vi;var Oi=gi,ki=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t};var ji=200;var yi,_i=(yi=function(e){var t=e.className,n=e.rootClientId,r=e.isDraggable,o=e.renderAppender,c=e.__experimentalUIParts,a=void 0===c?{}:c,l=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isMultiSelecting,i=t.getSelectedBlockClientId,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getGlobalBlockCount,s=t.isTyping;return{blockClientIds:r(n),isMultiSelecting:o(),selectedBlockClientId:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),enableAnimation:!s()&&l()<=ji}}),[n]),s=l.blockClientIds,u=l.isMultiSelecting,f=l.selectedBlockClientId,p=l.multiSelectedBlockClientIds,h=l.hasMultiSelection,m=l.enableAnimation,v=n?"div":li,O=Object(d.useRef)(),k=function(e){var t=e.element,n=e.rootClientId,r=Object(d.useState)(null),o=Object(M.a)(r,2),c=o[0],a=o[1],l=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getClientIdsOfDescendants,i=t.getSettings,a=t.getTemplateLock;return{getBlockIndex:r,blockIndex:r(c,n),getClientIdsOfDescendants:o,hasUploadPermissions:!!i().mediaUpload,isLockedAll:"all"===a(n)}}),[n,c]),s=l.getBlockIndex,u=l.blockIndex,f=l.getClientIdsOfDescendants,b=l.hasUploadPermissions,p=l.isLockedAll,h=Object(g.useDispatch)("core/block-editor"),m=h.insertBlocks,v=h.updateBlockAttributes,O=h.moveBlockToPosition,k=Object(d.useCallback)((function(e){if(b){var t=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),(function(t){return"files"===t.type&&t.isMatch(e)}));if(t){var r=t.transform(e,v);m(r,u,n)}}}),[b,v,m,u,n]),j=Object(d.useCallback)((function(e){var t=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});t.length&&m(t,u,n)}),[m,u,n]),y=Object(d.useCallback)((function(e){var t=ki(e),r=t.srcRootClientId,o=t.srcClientId,i=t.srcIndex,a=t.type;if("block"===a&&o!==c&&!function(e,t){return f([e]).some((function(e){return e===t}))}(o,c||n)){var l,d,b=c?s(c,n):void 0,p=b&&i<b&&((l=r)===(d=n)||1==!l&&1==!d)?u-1:u;O(o,r,n,p)}}),[f,s,c,u,O,n]),_=Object(H.__unstableUseDropZone)({element:t,onFilesDrop:k,onHTMLDrop:j,onDrop:y,isDisabled:p,withPosition:!0}).position;if(Object(d.useEffect)((function(){if(_){var e=_.y-t.current.getBoundingClientRect().top,n=Array.from(t.current.children).find((function(t){return t.offsetTop+t.offsetHeight/2>e}));if(!n)return;var r=n.id.slice("block-".length);if(!r)return;a(r)}}),[_]),_)return c}({element:O,rootClientId:n});return Object(d.createElement)(v,{ref:O,className:b()("block-editor-block-list__layout",t)},s.map((function(e,t){var o=h?p.includes(e):f===e;return Object(d.createElement)(g.AsyncModeProvider,{key:e,value:!o},Object(d.createElement)(di,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:u,animateOnChange:t,enableAnimation:m,hasSelectedUI:a.hasSelectedUI,className:e===k?"is-drop-target":void 0}))})),Object(d.createElement)(hi,{rootClientId:n,renderAppender:o,className:null===k?"is-drop-target":void 0}),Object(d.createElement)(Oi.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(yi,e))});function Ci(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(d.useRef)(null),c=Object(d.useState)(!1),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(M.a)(m,2),v=g[0],O=v.x,k=v.y,j=g[1];if(Object(d.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e){var t=Lo(e);if(t)return t.firstChild||t}(t[0].clientId);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),j({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:k,width:n};return Object(d.createElement)("div",{ref:i,className:b()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(d.createElement)(H.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(_i,null)))}var Si=Object(g.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(d.useMemo)((function(){return Object(p.castArray)(t)}),[t]),a=Object(d.useReducer)((function(e){return e+1}),0),l=Object(M.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)(go,{value:c,settings:i},Object(d.createElement)(Ci,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var Ei=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(D.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(d.createElement)("li",{className:"block-editor-block-types-list__list-item"},Object(d.createElement)(H.Button,Object(u.a)({className:b()("block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:a},Object(d.createElement)(tt,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};var wi=function(e){var t=e.items,n=e.onSelect,r=e.onHover,o=void 0===r?function(){}:r,c=e.children;return(Object(d.createElement)("ul",{role:"list",className:"block-editor-block-types-list"},t&&t.map((function(e){return Object(d.createElement)(Ei,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,onClick:function(){n(e),o(null)},onFocus:function(){return o(e)},onMouseEnter:function(){return o(e)},onMouseLeave:function(){return o(null)},onBlur:function(){return o(null)},isDisabled:e.isDisabled,title:e.title})})),c))};var Ii=function(e){var t=e.blockType;return Object(d.createElement)("div",{className:"block-editor-block-card"},Object(d.createElement)(tt,{icon:t.icon,showColors:!0}),Object(d.createElement)("div",{className:"block-editor-block-card__content"},Object(d.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(d.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var xi=Object(h.compose)(Object(h.ifCondition)((function(e){var t=e.items;return t&&t.length>0})),Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(D.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(d.createElement)("div",{className:"block-editor-inserter__child-blocks"},(t||n)&&Object(d.createElement)("div",{className:"block-editor-inserter__parent-block-header"},Object(d.createElement)(tt,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(wi,Object(u.a)({items:r},o)))})),Bi=Object(H.createSlotFill)("__experimentalInserterMenuExtension"),Ti=Bi.Fill,Ni=Bi.Slot;Ti.Slot=Ni;var Li=Ti,Ai=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},Ri=function(e,t){return Object(p.differenceWith)(e,Ai(t),(function(e,t){return t.includes(e)}))},Pi=function(e,t,n,r){var o=Ai(r);return 0===o.length?e:e.filter((function(e){var r=e.name,i=e.title,c=e.category,a=e.keywords,l=void 0===a?[]:a,s=Ri(o,i);if(0===s.length)return!0;if(0===(s=Ri(s,l.join(" "))).length)return!0;s=Ri(s,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var u=n[r.split("/")[0]];return u&&(s=Ri(s,u.title)),0===s.length}))},Mi=function(e){return e.stopPropagation()},Di=function(e){return e.name.split("/")[0]},Fi=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},itemsPerCollection:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(w.a)(e)),e.onHover=e.onHover.bind(Object(w.a)(e)),e.panels={},e.inserterResults=Object(d.createRef)(),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks&&this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(p.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(P.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){rt()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var i=[];return o.length>0&&i.push("reusable"),r.length>0&&(i=i.concat(Object.keys(t),Object.keys(n))),i}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.collections,o=t.debouncedSpeak,i=t.items,c=t.rootChildBlocks,a=Pi(i,n,r,e),l=Object(p.filter)(a,(function(e){var t=e.name;return Object(p.includes)(c,t)})),u=[];if(!e){var d=this.props.maxSuggestedItems||9;u=Object(p.filter)(i,(function(e){return e.utility>0})).slice(0,d)}var f=Object(p.filter)(a,{category:"reusable"}),b=function(e){return Object(p.findIndex)(n,(function(t){return t.slug===e.category}))},h=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,b)}),(function(e){return Object(p.groupBy)(e,"category")}))(a),m=Object(s.a)({},r);Object.keys(r).forEach((function(e){m[e]=a.filter((function(t){return Di(t)===e})),0===m[e].length&&delete m[e]})),this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:u,reusableItems:f,itemsPerCategory:h,itemsPerCollection:m,openPanels:this.filterOpenPanels(e,h,m,a,f)});var g=Object.keys(h).reduce((function(e,t){return e+h[t].length}),0),v=Object(V.sprintf)(Object(V._n)("%d result found.","%d results found.",g),g);o(v)}},{key:"onKeyDown",value:function(e){Object(p.includes)([ot.LEFT,ot.DOWN,ot.RIGHT,ot.UP,ot.BACKSPACE,ot.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.collections,o=t.instanceId,c=t.onSelect,a=t.rootClientId,l=t.showInserterHelpPanel,s=this.state,u=s.childItems,f=s.hoveredItem,h=s.itemsPerCategory,m=s.itemsPerCollection,g=s.openPanels,v=s.reusableItems,O=s.suggestedItems,k=s.filterValue,j=function(e){return-1!==g.indexOf(e)},y=!(Object(p.isEmpty)(O)&&Object(p.isEmpty)(v)&&Object(p.isEmpty)(h)&&Object(p.isEmpty)(m)),_=f?Object(i.getBlockType)(f.name):null,C=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":C}),onKeyPress:Mi,onKeyDown:this.onKeyDown},Object(d.createElement)("div",{className:"block-editor-inserter__main-area"},Object(d.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(o),className:"screen-reader-text"},Object(V.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(o),type:"search",placeholder:Object(V.__)("Search for a block"),className:"block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(d.createElement)("div",{className:"block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(V.__)("Available block types")},Object(d.createElement)(xi,{rootClientId:a,items:u,onSelect:c,onHover:this.onHover}),!!O.length&&Object(d.createElement)(H.PanelBody,{title:Object(V._x)("Most used","blocks"),opened:j("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(wi,{items:O,onSelect:c,onHover:this.onHover})),Object(p.map)(n,(function(t){var n=h[t.slug];return n&&n.length?Object(d.createElement)(H.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:j(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(d.createElement)(wi,{items:n,onSelect:c,onHover:e.onHover})):null})),Object(p.map)(r,(function(t,n){var r=m[n];return r&&r.length?Object(d.createElement)(H.PanelBody,{key:n,title:t.title,icon:t.icon,opened:j(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(d.createElement)(wi,{items:r,onSelect:c,onHover:e.onHover})):null})),!!v.length&&Object(d.createElement)(H.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(V.__)("Reusable"),opened:j("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(d.createElement)(wi,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(it.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(V.__)("Manage all reusable blocks"))),Object(d.createElement)(Li.Slot,{fillProps:{onSelect:c,onHover:this.onHover,filterValue:k,hasItems:y}},(function(e){return e.length?e:y?null:Object(d.createElement)("p",{className:"block-editor-inserter__no-results"},Object(V.__)("No blocks found."))})))),C&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},f&&Object(d.createElement)(d.Fragment,null,!Object(i.isReusableBlock)(f)&&Object(d.createElement)(Ii,{blockType:_}),Object(d.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(f)||_.example?Object(d.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(d.createElement)(Si,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,_.example):Object(i.createBlock)(f.name,f.initialAttributes)})):Object(d.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(V.__)("No Preview Available.")))),!f&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(V.__)("Content blocks")),Object(d.createElement)("p",null,Object(V.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(d.createElement)("p",null,Object(V.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(d.createElement)("p",null,Object(V.__)("Browse through the library to learn more about what each block does."))),Object(d.createElement)(H.Tip,null,Object(d.__experimentalCreateInterpolateElement)(Object(V.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(d.createElement)("kbd",null)})))))}}]),t}(d.Component),Ui=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks"),b=f.getCategories,p=f.getCollections,h=f.getChildBlockNames,m=o;if(!m&&!n&&!r){var g=u();g&&(m=s(g)||void 0)}var v=l(m),O=d(),k=O.showInserterHelpPanel,j=O.__experimentalFetchReusableBlocks;return{categories:b(),collections:p(),rootChildBlocks:h(v),items:a(m),showInserterHelpPanel:i&&k,destinationRootClientId:m,fetchReusableBlocks:j}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,p=n.title,h=n.initialAttributes,m=s(),g=Object(i.createBlock)(b,h);if(!u&&m&&Object(i.isUnmodifiedDefaultBlock)(m))c(m.clientId,g);else if(l(g,a(),t.destinationRootClientId,f),!f){var v=Object(V.sprintf)(Object(V.__)("%s block added"),p);Object(he.speak)(v)}return d(),g}}})),H.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(Fi),Vi=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(V.sprintf)(Object(V._x)("Add %s","directly add the only allowed block"),i):Object(V._x)("Add block","Generic label for block inserter button"),Object(d.createElement)(H.Button,{icon:"insert",label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Hi=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(w.a)(e)),e.renderToggle=e.renderToggle.bind(Object(w.a)(e)),e.renderContent=e.renderContent.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?Vi:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(d.createElement)(Ui,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(d.createElement)(H.Dropdown,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(V.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(d.Component),zi=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockRootClientId,c=o.hasInserterItems,a=(0,o.__experimentalGetAllowedBlocks)(r=r||i(n)||void 0),l=a&&1===Object(p.get)(a,["length"],0),s=!1;return l&&(s=a[0]),{hasItems:c(r),hasSingleBlockType:l,blockTitle:s?s.title:"",allowedBlockType:s,rootClientId:r}})),Object(g.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(V.sprintf)(Object(V.__)("%s block added"),l.title);Object(he.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Hi);var Ki=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(zi,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(V.sprintf)(Object(V._x)("Add %s","directly add the only allowed block"),c):Object(V._x)("Add block","Generic label for block inserter button");var l=!a;return Object(d.createElement)(H.Tooltip,{text:t},Object(d.createElement)(H.Button,{className:b()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(d.createElement)("span",{className:"screen-reader-text"},t),Object(d.createElement)(H.Icon,{icon:"insert"})))},isAppender:!0})};function Gi(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,c=e.showNestedBlocks,a=e.parentBlockClientId,l=o&&!!a;return Object(d.createElement)("ul",{className:"block-editor-block-navigation__list",role:"list"},Object(p.map)(Object(p.omitBy)(t,p.isNil),(function(e){var t=Object(i.getBlockType)(e.name),a=e.clientId===n;return Object(d.createElement)("li",{key:e.clientId},Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(H.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(tt,{icon:t.icon,showColors:!0}),Object(i.__experimentalGetBlockLabel)(t,e.attributes),a&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(V.__)("(selected block)")))),c&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(Gi,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),l&&Object(d.createElement)("li",null,Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(Ki,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var Wi=Object(h.compose)(Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(g.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(d.createElement)(H.NavigableMenu,{role:"presentation",className:"block-editor-block-navigation__container"},Object(d.createElement)("p",{className:"block-editor-block-navigation__label"},Object(V.__)("Block navigation")),i&&Object(d.createElement)(Gi,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Gi,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),qi=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(H.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function $i(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen;Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(d.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var o=Object(g.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(d.createElement)(H.Button,{icon:qi,"aria-expanded":r,onClick:t?n:void 0,label:Object(V.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Yi=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(H.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)($i,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(Wi,{onSelect:t})}})};var Xi=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(V.__)("Choose pattern"):r,i=e.instructions,c=void 0===i?Object(V.__)("Select a pattern to start with."):i,a=e.patterns,l=e.onSelect,s=e.allowSkip,u=b()("block-editor-block-pattern-picker",{"has-many-patterns":a.length>4});return Object(d.createElement)(H.Placeholder,{icon:n,label:o,instructions:c,className:u},Object(d.createElement)("ul",{className:"block-editor-block-pattern-picker__patterns",role:"list"},a.map((function(e){return Object(d.createElement)("li",{key:e.name},Object(d.createElement)(H.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-pattern-picker__pattern",label:e.label}))}))),s&&Object(d.createElement)("div",{className:"block-editor-block-pattern-picker__skip"},Object(d.createElement)(H.Button,{isLink:!0,onClick:function(){return l()}},Object(V.__)("Skip"))))},Zi=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Ji=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"})),Qi={top:{icon:Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(V._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Ji,title:Object(V._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Zi,title:Object(V._x)("Vertically Align Bottom","Block vertical alignment setting")}},ec=["top","center","bottom"],tc="top";var nc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?ec:r,i=e.isCollapsed,c=void 0===i||i,a=Qi[t],l=Qi[tc];return Object(d.createElement)(H.Toolbar,{isCollapsed:c,icon:a?a.icon:l.icon,label:Object(V._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return Object(s.a)({},Qi[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})},rc=Object(h.createHigherOrderComponent)(Object(g.withSelect)((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(p.isEmpty)(r)||!o}})),"withColorContext"),oc=rc(H.ColorPalette);function ic(e){var t=e.onChange,n=e.value,r=Object(D.a)(e,["onChange","value"]);return Object(d.createElement)(ce,Object(u.a)({},r,{onColorChange:t,colorValue:n,gradients:[],disableCustomGradients:!0}))}function cc(e){var t=Object(g.useSelect)((function(e){return Object(p.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])}),[]),n=t.gradients,r=t.disableCustomGradients;return Object(d.createElement)(H.__experimentalGradientPicker,Object(u.a)({gradients:void 0!==e.gradients?e.gradient:n,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:r},e))}var ac=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?H.__experimentalGradientPicker:cc;return Object(d.createElement)(t,e)},lc=function(e){var t=e.className,n=e.value,r=e.onChange,o=e.label,i=void 0===o?Object(V.__)("Gradient Presets"):o,c=Object(D.a)(e,["className","value","onChange","label"]),a=Object(g.useSelect)((function(e){return Object(p.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])}),[]),l=a.gradients,s=void 0===l?[]:l,f=a.disableCustomGradients;return Object(p.isEmpty)(s)&&f?null:Object(d.createElement)(H.BaseControl,{className:b()("block-editor-gradient-picker-control",t)},Object(d.createElement)(H.BaseControl.VisualLabel,null,i),Object(d.createElement)(ac,Object(u.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:s,disableCustomGradients:f},c)))};function sc(e){var t=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().gradients}),[]);return Object(p.isEmpty)(t)?null:Object(d.createElement)(H.PanelBody,{title:Object(V.__)("Gradient")},Object(d.createElement)(lc,e))}var uc=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(E.a)(t).call(this,e))).updateDimensions=n.updateDimensions.bind(Object(w.a)(n)),n}return Object(I.a)(t,e),Object(C.a)(t,[{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.onChange({width:t,height:n})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.imageWidth,r=t.imageHeight,o=t.imageSizeOptions,i=void 0===o?[]:o,c=t.isResizable,a=void 0===c||c,l=t.slug,s=t.width,u=t.height,f=t.onChange,b=t.onChangeImage,h=void 0===b?p.noop:b;return Object(d.createElement)(d.Fragment,null,!Object(p.isEmpty)(i)&&Object(d.createElement)(H.SelectControl,{label:Object(V.__)("Image Size"),value:l,options:i,onChange:h}),a&&Object(d.createElement)("div",{className:"block-editor-image-size-control"},Object(d.createElement)("p",{className:"block-editor-image-size-control__row"},Object(V.__)("Image Dimensions")),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(H.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(V.__)("Width"),value:s||n||"",min:1,onChange:function(e){return f({width:parseInt(e,10)})}}),Object(d.createElement)(H.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(V.__)("Height"),value:u||r||"",min:1,onChange:function(e){return f({height:parseInt(e,10)})}})),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(H.ButtonGroup,{"aria-label":Object(V.__)("Image Size")},[25,50,75,100].map((function(t){var o=Math.round(n*(t/100)),i=Math.round(r*(t/100)),c=s===o&&u===i;return Object(d.createElement)(H.Button,{key:t,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,i)},t,"%")}))),Object(d.createElement)(H.Button,{isSmall:!0,onClick:this.updateDimensions()},Object(V.__)("Reset")))))}}]),t}(d.Component),dc=n(48),fc=n.n(dc),bc=Object(h.createHigherOrderComponent)((function(e){return $((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),pc=bc((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(Ki,{rootClientId:t,showSeparator:n})})),hc=Object(h.compose)([bc,Object(g.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(p.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(d.createElement)(bi,{rootClientId:t,lastBlockClientId:n})})),mc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.block,n=e.templateLock,r=e.__experimentalBlocks,o=e.replaceInnerBlocks,i=e.__unstableMarkNextChangeAsNotPersistent;0!==t.innerBlocks.length&&"all"!==n||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1}),r&&(i(),o(r))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.block,r=t.templateLock,o=t.template,i=t.isLastBlockChangePersistent,c=t.onInput,a=t.onChange,l=n.innerBlocks;(this.updateNestedSettings(),0===l.length||"all"===r)&&(!Object(p.isEqual)(o,e.template)&&this.synchronizeBlocksWithTemplate());if(e.block.innerBlocks!==l){var s=i?a:c;s&&s(l)}}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(p.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o,__experimentalCaptureToolbars:e.__experimentalCaptureToolbars||!1,__experimentalMoverDirection:e.__experimentalMoverDirection,__experimentalUIParts:e.__experimentalUIParts};fc()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.__experimentalCaptureToolbars,i=Object(D.a)(e,["enableClickThrough","clientId","hasOverlay","__experimentalCaptureToolbars"]),c=this.state.templateInProcess,a=b()("block-editor-inner-blocks",{"has-overlay":t&&r,"is-capturing-toolbar":o});return Object(d.createElement)("div",{className:a},!c&&Object(d.createElement)(_i,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(mc=Object(h.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),$((function(e){return Object(p.pick)(e,["clientId"])})),Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=n.isLastBlockChangePersistent,d=t.clientId,f=t.isSmallScreen,b=i(d),p=a(d);return{block:b,blockListSettings:c(d),hasOverlay:"core/template"!==b.name&&!r(d)&&!o(d,!0),parentLock:l(p),enableClickThrough:s()||f,isLastBlockChangePersistent:u()}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.__unstableMarkNextChangeAsNotPersistent,i=n.updateBlockListSettings,c=t.block,a=t.clientId,l=t.templateInsertUpdatesSelection,s=void 0===l||l;return{replaceInnerBlocks:function(e){r(a,e,0===c.innerBlocks.length&&s&&0!==e.length)},__unstableMarkNextChangeAsNotPersistent:o,updateNestedSettings:function(t){e(i(a,t))}}}))])(mc)).DefaultBlockAppender=hc,mc.ButtonBlockAppender=pc,mc.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var gc=mc,vc=Object(H.createSlotFill)("InspectorAdvancedControls"),Oc=vc.Fill,kc=vc.Slot,jc=Y(Oc);jc.slotName="InspectorAdvancedControls",jc.Slot=kc;var yc=jc,_c=n(46),Cc=[{id:"opensInNewTab",title:Object(V.__)("Open in New Tab")}],Sc=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?Cc:o;if(!i||!i.length)return null;var c=function(e){return function(n){r(Object(s.a)({},t,Object(x.a)({},e.id,n)))}},a=i.map((function(e){return Object(d.createElement)(H.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:c(e),checked:!!t&&t[e.id]})}));return Object(d.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(d.createElement)("legend",{className:"screen-reader-text"},Object(V.__)("Currently selected link settings")),a)},Ec=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,i=e.onClick,c=e.isURL,a=void 0!==c&&c,l=e.searchTerm,s=void 0===l?"":l;return Object(d.createElement)(H.Button,Object(u.a)({type:"submit"},t,{onClick:i,className:b()("block-editor-link-control__search-item",{"is-selected":o,"is-url":a,"is-entity":!a})}),a&&Object(d.createElement)(H.Icon,{className:"block-editor-link-control__search-item-icon",icon:"admin-site-alt3"}),Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(d.createElement)(H.TextHighlight,{text:n.title,highlight:s})),Object(d.createElement)("span",{"aria-hidden":!a,className:"block-editor-link-control__search-item-info"},!a&&(Object(it.safeDecodeURI)(n.url)||""),a&&Object(V.__)("Press ENTER to add this link"))),n.type&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-type"},n.type))},wc=function(e){e.keyCode;e.stopPropagation(),ot.ENTER},Ic=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.onReset,a=e.showInitialSuggestions;return Object(d.createElement)("form",{onSubmit:function(e){e.preventDefault(),e.stopPropagation()}},Object(d.createElement)(Rc,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),t&&r(t)},onKeyDown:function(e){e.keyCode!==ot.ENTER&&function(e){var t=e.keyCode;[ot.LEFT,ot.DOWN,ot.RIGHT,ot.UP,ot.BACKSPACE,ot.ENTER].indexOf(t)>-1&&e.stopPropagation()}(e)},onKeyPress:wc,placeholder:Object(V.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:a}),Object(d.createElement)(H.Button,{disabled:!t.length,type:"reset",label:Object(V.__)("Reset"),icon:"no-alt",className:"block-editor-link-control__search-reset",onClick:c}))},xc="edit";var Bc=function e(t){var n=t.value,r=t.settings,o=t.onChange,i=void 0===o?p.noop:o,c=t.showInitialSuggestions,a=Object(h.useInstanceId)(e),l=Object(d.useState)(""),f=Object(M.a)(l,2),m=f[0],v=f[1],O=Object(d.useState)(!n||!n.url),k=Object(M.a)(O,2),j=k[0],y=k[1],_=Object(g.useSelect)((function(e){return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}}),[]).fetchSearchSuggestions,C=function(e){var t="URL",n=Object(it.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(p.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:"-1",title:e,url:"URL"===t?Object(it.prependHTTP)(e):e,type:t}])},S=function(){var e=Object(_c.a)(wt.a.mark((function e(t,n){var r,o;return wt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([_(t,Object(s.a)({},n.isInitialSuggestions?{perPage:3}:{})),C(t)]);case 2:return r=e.sent,o=!t.includes(" "),e.abrupt("return",o&&!n.isInitialSuggestions?r[0].concat(r[1]):r[0]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),E=Object(d.useCallback)((function(e,t){var n=Object(it.getProtocol)(e)||"",r=n.includes("mailto"),o=Object(p.startsWith)(e,"#"),i=n.includes("tel");return o||r||i||Object(it.isURL)(e)||e&&e.includes("www.")?C(e):S(e,t)}),[C,_]);return Object(d.createElement)("div",{className:"block-editor-link-control"},!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(a)},Object(V.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(a),"aria-selected":"true",className:b()("block-editor-link-control__search-item",{"is-current":!0})},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)(H.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n.title),Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},Object(it.filterURLForDisplay)(Object(it.safeDecodeURI)(n.url))||"")),Object(d.createElement)(H.Button,{isSecondary:!0,onClick:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"show";return function(){y(xc===e),n&&n.title&&xc===e&&v(n.title)}}(xc),className:"block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit"},Object(V.__)("Edit")))),j&&Object(d.createElement)(Ic,{value:m,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";v(e)},onSelect:function(e){y(!1),i(Object(s.a)({},n,e))},renderSuggestions:function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,c=e.selectedSuggestion,l=e.isLoading,f=e.isInitialSuggestions,p=b()("block-editor-link-control__search-results",{"is-loading":l}),h=["url","mailto","tel","internal"],g=f?"block-editor-link-control-search-results-label-".concat(a):void 0,v=f?Object(V.__)("Recently updated"):Object(V.sprintf)(Object(V.__)("Search results for %s"),m),O=f?void 0:v,k=Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:g,"aria-label":O},v);return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},f?k:Object(d.createElement)(H.VisuallyHidden,null,k),Object(d.createElement)("div",Object(u.a)({},t,{className:p,"aria-labelledby":g}),o.map((function(e,t){return Object(d.createElement)(Ec,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,onClick:function(){y(!1),i(Object(s.a)({},n,e))},isSelected:t===c,isURL:h.includes(e.type.toLowerCase()),searchTerm:m})}))))},fetchSuggestions:E,onReset:function(){v("")},showInitialSuggestions:c}),!j&&Object(d.createElement)(Sc,{value:n,settings:r,onChange:i}))},Tc=Object(H.withFilters)("editor.MediaUpload")((function(){return null}));var Nc=Object(g.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),Lc=function(e){return e.stopPropagation()},Ac=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(E.a)(t).call(this,e))).onChange=n.onChange.bind(Object(w.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(w.a)(n)),n.selectLink=n.selectLink.bind(Object(w.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(w.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(w.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(w.a)(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,rt()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100)),this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentDidMount",value:function(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"shouldShowInitialSuggestions",value:function(){var e=this.state.suggestions,t=this.props,n=t.__experimentalShowInitialSuggestions,r=void 0!==n&&n,o=t.value;return!this.isUpdatingSuggestions&&r&&!(o&&o.length)&&!(e&&e.length)}},{key:"updateSuggestions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var i=!(t&&t.length);if(i||!(t.length<2||!o&&Object(it.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var c=r(t,{isInitialSuggestions:i});c.then((function(t){e.suggestionsRequest===c&&(e.setState({suggestions:t,loading:!1}),t.length?e.props.debouncedSpeak(Object(V.sprintf)(Object(V._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(V.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===c&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=c}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case ot.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case ot.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case ot.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(V.__)("Link selected.")));break;case ot.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case ot.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case ot.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,s=void 0===l?Object(V.__)("Paste URL or type to search"):l,f=t.value,h=void 0===f?"":f,m=t.autoFocus,g=void 0===m||m,v=t.__experimentalShowInitialSuggestions,O=void 0!==v&&v,k=this.state,j=k.showSuggestions,y=k.suggestions,_=k.selectedSuggestion,C=k.loading,S="url-input-control-".concat(r),E="block-editor-url-input-suggestions-".concat(r),w="block-editor-url-input-suggestion-".concat(r),I={id:E,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(w,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(H.BaseControl,{label:n,id:S,className:b()("block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(d.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(V.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:Lc,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":j,"aria-autocomplete":"list","aria-owns":E,"aria-activedescendant":null!==_?"".concat(w,"-").concat(_):void 0,ref:this.inputRef}),C&&Object(d.createElement)(H.Spinner,null),Object(p.isFunction)(a)&&j&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:x,isLoading:C,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:O&&!(h&&h.length)}),!Object(p.isFunction)(a)&&j&&!!y.length&&Object(d.createElement)(H.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(d.createElement)("div",Object(u.a)({},I,{className:b()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(d.createElement)(H.Button,Object(u.a)({},x(0,n),{key:t.id,className:b()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,i=void 0!==o&&o,c=t.showSuggestions,a=n&&n.length;return i||a||(c=!1),!0===r&&(c=!1),{showSuggestions:c}}}]),t}(d.Component),Rc=Object(h.compose)(h.withSafeTimeout,H.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(Ac);function Pc(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(D.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(d.createElement)("form",Object(u.a)({className:b()("block-editor-url-popover__link-editor",n)},i),Object(d.createElement)(Rc,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(H.Button,{icon:"editor-break",label:Object(V.__)("Apply"),type:"submit"}))}function Mc(e){var t=e.url,n=e.urlLabel,r=e.className,o=b()(r,"block-editor-url-popover__link-viewer-url");return t?Object(d.createElement)(H.ExternalLink,{className:o,href:t},n||Object(it.filterURLForDisplay)(Object(it.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function Dc(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(D.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(d.createElement)("div",Object(u.a)({className:b()("block-editor-url-popover__link-viewer",t)},c),Object(d.createElement)(Mc,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(H.Button,{icon:"edit",label:Object(V.__)("Edit"),onClick:r}))}var Fc=Object(h.compose)(H.withNotices)((function(e){var t,n=e.mediaURL,r=e.allowedTypes,o=e.accept,i=e.onSelect,c=e.onSelectURL,a=e.onError,l=e.name,s=void 0===l?Object(V.__)("Replace"):l,u=Object(d.useState)(!1),f=Object(M.a)(u,2),b=f[0],p=f[1],h=Object(d.useState)(!1),m=Object(M.a)(h,2),v=m[0],O=m[1],k=Object(d.useState)(n),j=Object(M.a)(k,2),y=j[0],_=j[1],C=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),S=Object(d.createRef)(),E=function(e){i(e),_(e.url),Object(he.speak)(Object(V.__)("The media file has been replaced"))},w=function(e){e.keyCode===ot.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=v?Object(d.createElement)(Pc,{onKeyDown:function(e){[ot.LEFT,ot.DOWN,ot.RIGHT,ot.UP,ot.BACKSPACE,ot.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:y,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return _(e)},onSubmit:function(e){e.preventDefault(),c(y),O(!1),S.current.focus()}}):Object(d.createElement)(Dc,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:y,onEditLinkClick:function(){return O(!v)}}),Object(d.createElement)(H.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(H.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(H.Button,{ref:S,"aria-expanded":t,onClick:n,onKeyDown:w},s,Object(d.createElement)("span",{className:"block-editor-media-replace-flow__indicator"})))},renderContent:function(e){var n=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.NavigableMenu,null,Object(d.createElement)(Tc,{onSelect:function(e){return E(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(d.createElement)(H.MenuItem,{icon:"admin-media",onClick:t},Object(V.__)("Open Media Library"))}}),Object(d.createElement)(Nc,null,Object(d.createElement)(H.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;C({allowedTypes:r,filesList:n,onFileChange:function(e){var n=Object(M.a)(e,1)[0];E(n),t()},onError:a})}(e,n)},accept:o,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(H.MenuItem,{icon:"upload",onClick:function(){t()}},Object(V.__)("Upload"))}})),c&&Object(d.createElement)(H.MenuItem,{icon:"admin-links",onClick:function(){return p(!b)},"aria-expanded":b},Object(d.createElement)("div",null," ",Object(V.__)("Insert from URL")," "))),b&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),Uc=n(34),Vc=n.n(Uc),Hc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(w.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(D.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,f=!!r&&s;return Object(d.createElement)(H.Popover,Object(u.a)({className:"block-editor-url-popover",focusOnMount:a,position:i},l),Object(d.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(d.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(d.createElement)(H.Button,{className:"block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(V.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),f&&Object(d.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!f&&Object(d.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(d.Component);Hc.LinkEditor=Pc,Hc.LinkViewer=Dc;var zc=Hc,Kc=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(zc,{onClose:o},Object(d.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(d.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(V.__)("URL"),placeholder:Object(V.__)("Paste or type URL"),onChange:n,value:t}),Object(d.createElement)(H.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(V.__)("Apply"),type:"submit"})))},Gc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(w.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(w.a)(e)),e.onUpload=e.onUpload.bind(Object(w.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(w.a)(e)),e.openURLInput=e.openURLInput.bind(Object(w.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(M.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,f=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(V.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var k=1===o.length,j=k&&"audio"===o[0],y=k&&"image"===o[0],_=k&&"video"===o[0];void 0===v&&m&&(v=Object(V.__)("Upload a media file or pick one from your media library."),j?v=Object(V.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(V.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(V.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(V.__)("Media"),j?O=Object(V.__)("Audio"):y?O=Object(V.__)("Image"):_&&(O=Object(V.__)("Video")))}var C=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(H.Placeholder,{icon:c,label:O,instructions:v,className:C,notices:p,onClick:t,onDoubleClick:u,preview:f},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(d.createElement)(H.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(H.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(V.__)("Cancel"),isLink:!0,onClick:e},Object(V.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(d.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(d.createElement)(H.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(V.__)("Insert from URL")),t&&Object(d.createElement)(Kc,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,f=t.value,h=void 0===f?{}:f,m=Object(d.createElement)(Tc,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:i,value:Object(p.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(d.createElement)(H.Button,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(V.__)("Media Library"))}});if(a&&c)return Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(H.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.Button,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(V.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(H.FormFileUpload,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(V.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&Vc()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(Nc,null,this.renderDropZone())):Object(d.createElement)(Nc,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Wc=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),qc=Object(h.compose)(Wc,Object(H.withFilters)("editor.MediaPlaceholder"))(Gc),$c=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(D.a)(e,["onChange","className"]);return Object(d.createElement)(To.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function Yc(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(Yc),i=r||Object(V.sprintf)(Object(V._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(d.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(o)},i))}var Xc=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(V.__)("All")}:s,f=e.viewports,b=void 0===f?[{id:"small",label:Object(V.__)("Small screens")},{id:"medium",label:Object(V.__)("Medium screens")},{id:"large",label:Object(V.__)("Large screens")}]:f;if(!t||!n||!i)return null;var p=r||Object(V.sprintf)(Object(V.__)("Use the same %s on all screensizes."),n),h=Object(V.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),m=i(Object(d.createElement)(Yc,{property:n,viewport:u}),u);return Object(d.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(d.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(d.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(d.createElement)(H.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!l,onChange:o,help:h}),!l&&Object(d.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default"},m),l&&Object(d.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive",hidden:!l},c?c(b):b.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(Yc,{property:n,viewport:e}),e))})))))},Zc=[ot.rawShortcut.primary("z"),ot.rawShortcut.primaryShift("z"),ot.rawShortcut.primary("y")],Jc=Object(d.createElement)(H.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Zc.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Qc=function(){return Jc},ea=n(40);function ta(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'<img src="'.concat(Object(ea.createBlobURL)(e),'">')})).join("")}var na={position:"bottom left"},ra=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(H.Toolbar,null,["bold","italic","link"].map((function(e){return Object(d.createElement)(H.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(H.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(H.DropdownMenu,{icon:!1,label:Object(V.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(M.a)(e,1)[0].props})),"title"),popoverProps:na})}))))},oa=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(H.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(ra,null)):Object(d.createElement)(et,null,Object(d.createElement)(ra,null))},ia=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(d.createElement)(H.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(x.a)({},ot.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function ca(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(D.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=ot.displayShortcut[r](o)),Object(d.createElement)(H.Fill,{name:c},Object(d.createElement)(H.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var aa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(d.Component);function la(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var sa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).onEnter=e.onEnter.bind(Object(w.a)(e)),e.onSplit=e.onSplit.bind(Object(w.a)(e)),e.onPaste=e.onPaste.bind(Object(w.a)(e)),e.onDelete=e.onDelete.bind(Object(w.a)(e)),e.inputRule=e.inputRule.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onEnter",value:function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=this.props,a=o.onReplace,l=o.onSplit,s=o.multiline,u=o.markAutomaticChange,d=a&&l;if(a){var f=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),b=Object(i.findTransform)(f,(function(e){return e.regExp.test(t.text)}));b&&(a([b.transform({content:t.text})]),u())}s?r?n(Object(c.insert)(t,"\n")):d&&Object(c.__unstableIsEmptyLine)(t)?this.onSplit(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!d?n(Object(c.insert)(t,"\n")):this.onSplit(t)}},{key:"onDelete",value:function(e){var t=e.value,n=e.isReverse,r=this.props,o=r.onMerge,i=r.onRemove;o&&o(!n),i&&Object(c.isEmpty)(t)&&n&&i(!n)}},{key:"onPaste",value:function(e){var t=e.value,n=e.onChange,r=e.html,o=e.plainText,a=e.files,l=e.activeFormats,s=this.props,u=s.onReplace,d=s.onSplit,f=s.tagName,b=s.canUserUseUnfilteredHTML,p=s.multiline,h=s.__unstableEmbedURLOnPaste;if(a&&a.length&&!r){var m=Object(i.pasteHandler)({HTML:ta(a),mode:"BLOCKS",tagName:f});return window.console.log("Received items:\n\n",a),void(u&&Object(c.isEmpty)(t)?u(m):this.onSplit(t,m))}var g=u&&d?"AUTO":"INLINE";h&&Object(c.isEmpty)(t)&&Object(it.isURL)(o.trim())&&(g="BLOCKS");var v=Object(i.pasteHandler)({HTML:r,plainText:o,mode:g,tagName:f,canUserUseUnfilteredHTML:b});if("string"==typeof v){var O=Object(c.create)({html:v});if(l.length)for(var k=O.formats.length;k--;)O.formats[k]=[].concat(Object(P.a)(l),Object(P.a)(O.formats[k]||[]));p&&(O=Object(c.replace)(O,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,O))}else v.length>0&&(u&&Object(c.isEmpty)(t)?u(v):this.onSplit(t,v))}},{key:"onSplit",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.props,r=n.onReplace,o=n.onSplit,i=n.__unstableOnSplitMiddle,a=n.multiline;if(r&&o){var l=[],s=Object(c.split)(e),u=Object(M.a)(s,2),d=u[0],f=u[1],b=t.length>0,p=la(a);b&&Object(c.isEmpty)(d)||l.push(o(Object(c.toHTMLString)({value:d,multilineTag:p}))),b?l.push.apply(l,Object(P.a)(t)):i&&l.push(i()),!b&&i&&Object(c.isEmpty)(f)||l.push(o(Object(c.toHTMLString)({value:f,multilineTag:p})));var h=b?l.length-1:1;r(l,h)}}},{key:"inputRule",value:function(e,t){var n=this.props,r=n.onReplace,o=n.markAutomaticChange;if(r){var a=e.start,l=e.text;if(" "===l.slice(a-1,a)){var s=l.slice(0,a).trim(),u=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),d=Object(i.findTransform)(u,(function(e){var t=e.prefix;return s===t}));if(d){var f=t(Object(c.slice)(e,a,l.length));r([d.transform(f)]),o()}}}}},{key:"getAllowedFormats",value:function(){var e=this.props,t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(Vc()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.tagName,r=e.value,o=e.onChange,a=e.selectionStart,l=e.selectionEnd,s=e.onSelectionChange,f=e.multiline,p=e.inlineToolbar,h=e.wrapperClassName,m=e.className,g=e.autocompleters,v=e.onReplace,O=e.isCaretWithinFormattedText,k=e.onEnterFormattedText,j=e.onExitFormattedText,y=e.isSelected,_=e.onCreateUndoLevel,C=e.markAutomaticChange,S=e.didAutomaticChange,E=e.undo,w=e.placeholder,I=e.keepPlaceholderOnFocus,x=(e.allowedFormats,e.withoutInteractiveFormatting),B=(e.onRemove,e.onMerge,e.onSplit,e.canUserUseUnfilteredHTML,e.instanceId,e.start),T=e.reversed,N=e.style,L=e.preserveWhiteSpace,A=e.disabled,R=e.forwardedRef,P=Object(D.a)(e,["children","tagName","value","onChange","selectionStart","selectionEnd","onSelectionChange","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","isCaretWithinFormattedText","onEnterFormattedText","onExitFormattedText","isSelected","onCreateUndoLevel","markAutomaticChange","didAutomaticChange","undo","placeholder","keepPlaceholderOnFocus","allowedFormats","withoutInteractiveFormatting","onRemove","onMerge","onSplit","canUserUseUnfilteredHTML","instanceId","start","reversed","style","preserveWhiteSpace","disabled","forwardedRef"]),M=la(f),F=this.getAllowedFormats(),U=!F||F.length>0,V=r,H=o;Array.isArray(r)&&(V=i.children.toHTML(r),H=function(e){return o(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var z=Object(d.createElement)(c.__experimentalRichText,Object(u.a)({},P,{ref:R,value:V,onChange:H,selectionStart:a,selectionEnd:l,onSelectionChange:s,tagName:n,className:b()("block-editor-rich-text__editable",m,{"is-selected":y,"keep-placeholder-on-focus":I}),placeholder:w,allowedFormats:F,withoutInteractiveFormatting:x,onEnter:this.onEnter,onDelete:this.onDelete,onPaste:this.onPaste,__unstableIsSelected:y,__unstableInputRule:this.inputRule,__unstableMultilineTag:M,__unstableIsCaretWithinFormattedText:O,__unstableOnEnterFormattedText:k,__unstableOnExitFormattedText:j,__unstableOnCreateUndoLevel:_,__unstableMarkAutomaticChange:C,__unstableDidAutomaticChange:S,__unstableUndo:E,style:N,preserveWhiteSpace:L,disabled:A,start:B,reversed:T}),(function(e){var n=e.isSelected,r=e.value,o=e.onChange,i=e.onFocus,c=e.Editable;return Object(d.createElement)(d.Fragment,null,t&&t({value:r,onChange:o,onFocus:i}),n&&U&&Object(d.createElement)(oa,{inline:p,anchorRef:R.current}),n&&Object(d.createElement)(Qc,null),Object(d.createElement)(Me,{onReplace:v,completers:g,record:r,onChange:o,isSelected:n},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(d.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:B,reversed:T,onKeyDown:r})})))}));return h?(Vc()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(d.createElement)("div",{className:b()("block-editor-rich-text",h)},z)):z}}]),t}(d.Component),ua=Object(h.compose)([h.withInstanceId,$((function(e,t){var n=e.clientId,r=e.onCaretVerticalPositionChange,o=e.isSelected;return"web"===d.Platform.OS?{clientId:n}:{clientId:n,blockIsSelected:void 0!==t.isSelected?t.isSelected:o,onCaretVerticalPositionChange:r}})),Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,c=void 0===o?r:o,a=t.isSelected,l=e("core/block-editor"),u=l.isCaretWithinFormattedText,f=l.getSelectionStart,b=l.getSelectionEnd,p=l.getSettings,h=l.didAutomaticChange,m=l.__unstableGetBlockWithoutInnerBlocks,g=l.isMultiSelecting,v=l.hasMultiSelection,O=f(),k=b(),j=p(),y=j.__experimentalCanUserUseUnfilteredHTML,_=j.__experimentalUndo;void 0===a?a=O.clientId===n&&O.attributeKey===c:a&&(a=O.clientId===n);var C={};if("native"===d.Platform.OS){var S=n&&m(n);C={shouldBlurOnUnmount:S&&a&&Object(i.isUnmodifiedDefaultBlock)(S)}}return Object(s.a)({canUserUseUnfilteredHTML:y,isCaretWithinFormattedText:u(),selectionStart:a?O.offset:void 0,selectionEnd:a?k.offset:void 0,isSelected:a,didAutomaticChange:h(),disabled:g()||v(),undo:_},C)})),Object(g.withDispatch)((function(e,t){var n=t.clientId,r=t.instanceId,o=t.identifier,i=void 0===o?r:o,c=e("core/block-editor"),a=c.__unstableMarkLastChangeAsPersistent,l=c.enterFormattedText,s=c.exitFormattedText,u=c.selectionChange;return{onCreateUndoLevel:a,onEnterFormattedText:l,onExitFormattedText:s,onSelectionChange:function(e,t){u(n,i,e,t)},markAutomaticChange:c.__unstableMarkAutomaticChange}}))])(sa),da=Object(d.forwardRef)((function(e,t){var n=Object(d.useRef)();return Object(d.createElement)(ua,Object(u.a)({},e,{forwardedRef:t||n}))}));da.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(D.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=la(r);!t&&c&&(t="<".concat(c,"></").concat(c,">"));var a=Object(d.createElement)(d.RawHTML,null,t);return n?Object(d.createElement)(n,Object(p.omit)(o,["format"]),a):a},da.isEmpty=function(e){return!e||0===e.length},da.Content.defaultProps={format:"string",value:""};var fa=da,ba=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(H.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),pa=Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var ha=function(){var e=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),t=Object(g.useDispatch)("core/block-editor").setNavigationMode;if(!Object(h.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(d.createElement)(H.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(H.Button,{icon:e?pa:ba,"aria-expanded":n,onClick:r,label:Object(V.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.NavigableMenu,{role:"menu","aria-label":Object(V.__)("Tools")},Object(d.createElement)(H.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,ba,Object(V.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,pa,Object(V.__)("Select"))}]})),Object(d.createElement)("div",{className:"block-editor-tool-selector__help"},Object(V.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},ma=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(w.a)(e)),e.submitLink=e.submitLink.bind(Object(w.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(V.__)("Edit link"):Object(V.__)("Insert link");return Object(d.createElement)("div",{className:"block-editor-url-input__button"},Object(d.createElement)(H.Button,{icon:"admin-links",label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(d.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(d.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(d.createElement)(H.Button,{className:"block-editor-url-input__back",icon:"arrow-left-alt",label:Object(V.__)("Close"),onClick:this.toggle}),Object(d.createElement)(Rc,{value:t||"",onChange:n}),Object(d.createElement)(H.Button,{icon:"editor-break",label:Object(V.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),ga=["noreferrer","noopener"],va=Object(d.createElement)(H.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(H.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(d.createElement)(H.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),Oa=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,i=void 0===o?"image":o,c=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,f=Object(d.useState)(!1),b=Object(M.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(M.a)(v,2),k=O[0],j=O[1],y=Object(d.useState)(null),_=Object(M.a)(y,2),C=_[0],S=_[1],E=Object(d.useRef)(null),w=function(e){e.stopPropagation()},I=function(e){[ot.LEFT,ot.DOWN,ot.RIGHT,ot.UP,ot.BACKSPACE,ot.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},x=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),j(!0)})),B=Object(d.useCallback)((function(){j(!1)})),T=Object(d.useCallback)((function(){S(null),B(),m(!1)})),N=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(ga,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},L=Object(d.useCallback)((function(){return function(e){var t=E.current;t&&t.contains(e.target)||(m(!1),S(null),B())}})),A=Object(d.useCallback)((function(){return function(e){C&&n({href:C}),B(),S(null),e.preventDefault()}})),R=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),P=function(){return[{linkDestination:"media",title:Object(V.__)("Media File"),url:"image"===i?c:void 0,icon:va},{linkDestination:"attachment",title:Object(V.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(H.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(H.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]},D=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.ToggleControl,{label:Object(V.__)("Open in New Tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?N(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(d.createElement)(H.TextControl,{label:Object(V.__)("Link Rel"),value:N(u)||"",onChange:function(e){n({rel:e})},onKeyPress:w,onKeyDown:I}),Object(d.createElement)(H.TextControl,{label:Object(V.__)("Link CSS Class"),value:s||"",onKeyPress:w,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==C?C:r,U=(Object(p.find)(P(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.Button,{icon:"admin-links",className:"components-toolbar__control",label:r?Object(V.__)("Edit link"):Object(V.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(zc,{onFocusOutside:L(),onClose:T,renderSettings:function(){return D},additionalControls:!F&&Object(d.createElement)(H.NavigableMenu,null,Object(p.map)(P(),(function(e){return Object(d.createElement)(H.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=P(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),B()}},e.title)})))},(!r||k)&&Object(d.createElement)(zc.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:S,onKeyDown:I,onKeyPress:w,onSubmit:A(),autocompleteRef:E}),r&&!k&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(zc.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:w,url:r,onEditLinkClick:x,urlLabel:U}),Object(d.createElement)(H.Button,{icon:"no",label:Object(V.__)("Remove link"),onClick:R}))))},ka=Object(H.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),ja=ka.Fill,ya=ka.Slot;ja.Slot=ya;var _a=ja,Ca=Object(H.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),Sa=Ca.Fill,Ea=Ca.Slot;Sa.Slot=Ea;var wa=Sa,Ia=function(e){var t=e.icon,n=e.label,r=e.onPress;return Object(d.createElement)(H.Button,{onClick:r},t," ",n)},xa=function(e){var t=e.children;return Object(d.createElement)(Oi,null,t)},Ba=[{name:"About",icon:"👋",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center","level":3} --\x3e\n\t\t\t<h3 class="has-text-align-center">What People Say</h3>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>The way to get started is to quit talking and begin doing.</p><cite>Walt Disney</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>It is our choices, Harry, that show what we truly are, far more than our abilities.</p><cite>J. K. Rowling</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>Don\'t cry because it\'s over, smile because it happened.</p><cite>Dr. Seuss</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t<hr class="wp-block-separator is-style-wide"/>\n\t\t\t\x3c!-- /wp:separator --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center"} --\x3e\n\t\t\t<h2 class="has-text-align-center">Let’s build something together.</h2>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"center","textColor":"primary"} --\x3e\n\t\t\t<p class="has-text-color has-text-align-center has-primary-color"><strong><a href="#">Get in touch!</a></strong></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t<hr class="wp-block-separator is-style-wide"/>\n\t\t\t\x3c!-- /wp:separator --\x3e\n\t\t'},{name:"Contact",icon:"✉️",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"left"} --\x3e\n\t\t\t<h2 class="has-text-align-left">Get in Touch</h2>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>10 Street Road</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>City, 10100</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>USA</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p><a href="mailto:mail@example.com">mail@example.com</a></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p><a href="tel:5555551234">(555) 555 1234</a></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\t\t'}],Ta=U()((function(){return Ba.map((function(e){return Object(s.a)({},e,{blocks:Object(i.parse)(e.content)})}))})),Na=function(){return null},La=function(e){var t=e.templates,n=void 0===t?Ta():t,r=Object(g.useDispatch)("core/editor").editPost,o=Object(d.useState)(),c=Object(M.a)(o,2),a=c[0],l=c[1];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(xa,null,n.map((function(e){return Object(d.createElement)(Ia,{key:e.name,icon:e.icon,label:e.name,onPress:function(){return l(e)}})}))),Object(d.createElement)(Na,{template:a,onDismiss:function(){return l(void 0)},onApply:function(){r({title:a.name,blocks:Object(i.parse)(a.content)}),l(void 0)}}))},Aa=function(){return Object(g.useSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/block-editor"),r=n.getBlockOrder,o=n.getBlock,c=(0,n.getSettings)().__experimentalEnablePageTemplates,a=r(),l=0===a.length,s=!l&&o(a[0]),u=1===a.length&&Object(i.isUnmodifiedDefaultBlock)(s),d=l||u,f="page"===t();return c&&d&&f}),[])},Ra=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Aa();return Object(d.createElement)(e,Object(u.a)({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible"),Pa=Object(g.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(d.createElement)(H.Button,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:function(){Lo(t).focus()}},Object(V.__)("Skip to the selected block"))})),Ma=n(171),Da=n.n(Ma);function Fa(e,t,n){var r=new Da.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var Ua=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,c=r(n),a=Object(i.getBlockType)(c.name);return{block:c,className:c.attributes.className||"",styles:o(c.name),type:a}})),Object(g.withDispatch)((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,c=e.block,a=e.onSwitch,l=void 0===a?p.noop:a,u=e.onHoverClassName,f=void 0===u?p.noop:u;if(!t||0===t.length)return null;o.styles||Object(p.find)(t,"isDefault")||(t=[{name:"default",label:Object(V._x)("Default","block style"),isDefault:!0}].concat(Object(P.a)(t)));var h=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new Da.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(p.find)(e,{name:l});if(s)return s}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(p.find)(e,"isDefault")}(t,n);function m(e){var t=Fa(n,h,e);r(t),f(null),l()}return Object(d.createElement)("div",{className:"block-editor-block-styles"},t.map((function(e){var t=Fa(n,h,e);return Object(d.createElement)("div",{key:e.name,className:b()("block-editor-block-styles__item",{"is-active":h===e}),onClick:function(){return m(e)},onKeyDown:function(t){ot.ENTER!==t.keyCode&&ot.SPACE!==t.keyCode||(t.preventDefault(),m(e))},onMouseEnter:function(){return f(t)},onMouseLeave:function(){return f(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(d.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(d.createElement)(Si,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Object(s.a)({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Object(i.cloneBlock)(c,{className:t})})),Object(d.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name))})))})),Va=n(119);var Ha=Object(g.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(Va.count)(Object(i.serialize)(t),"words");return Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(d.createElement)(tt,{icon:Object(d.createElement)(H.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},Object(V.sprintf)(Object(V._n)("%d block","%d blocks",t.length),t.length)),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(V.sprintf)(Object(V._n)("%d word","%d words",n),n))))}));function za(e){var t=e.blockName,n=Object(g.useSelect)((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(p.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(p.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,c=Object(d.useMemo)((function(){return[{label:Object(V.__)("Not set"),value:""}].concat(Object(P.a)(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),a=Object(d.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(d.createElement)(H.SelectControl,{options:c,value:r||"",label:Object(V.__)("Default Style"),onChange:a})}var Ka=Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&o(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(d.createElement)(Ha,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(Ii,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(H.PanelBody,{title:Object(V.__)("Styles"),initialOpen:!1},Object(d.createElement)(Ua,{clientId:o}),Object(d.createElement)(za,{blockName:t.name}))),Object(d.createElement)(ye.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,Object(d.createElement)(H.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(yc.slotName)&&Object(d.createElement)(H.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(V.__)("Advanced"),initialOpen:!1},Object(d.createElement)(yc.Slot,{bubblesVirtually:!0}))}))),Object(d.createElement)(Pa,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(V.__)("No block selected.")):null}));function Ga(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};return e>1?function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(V.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(V.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(V.sprintf)(Object(V._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(o>0&&!r)return Object(V.sprintf)(Object(V._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,r,o,i):r&&o?Object(V.sprintf)(Object(V.__)("Block %s is the only block, and cannot be moved"),t):i>0&&!o?Object(V.sprintf)(Object(V.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("down"),l+1):i>0&&o?Object(V.sprintf)(Object(V.__)("Block %1$s is at the end of the content and can’t be moved %2$s"),t,s("down")):i<0&&!r?Object(V.sprintf)(Object(V.__)("Move %1$s block from position %2$d %3$s to position %4$d"),t,l,s("up"),l-1):i<0&&r?Object(V.sprintf)(Object(V.__)("Block %1$s is at the beginning of the content and can’t be moved %2$s"),t,s("up")):void 0}var Wa=Object(d.createElement)(H.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(H.Polygon,{points:"9,4.5 3.3,10.1 4.8,11.5 9,7.3 13.2,11.5 14.7,10.1 "})),qa=Object(d.createElement)(H.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),$a=Object(d.createElement)(H.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(H.Polygon,{points:"9,13.5 14.7,7.9 13.2,6.5 9,10.7 4.8,6.5 3.3,7.9 "})),Ya=Object(d.createElement)(H.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(H.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),Xa=Object(d.createElement)(H.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(H.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),Za=function(e){var t=e.children,n=e.clientIds,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(p.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(d.useRef)(!1),l=Object(g.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,u=l.stopDraggingBlocks;if(Object(d.useEffect)((function(){return function(){a.current&&u()}}),[]),!c)return null;var f=Object(p.castArray)(n),b="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(d.createElement)(H.Draggable,{elementId:b,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){u(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},Ja=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(w.a)(e)),e.onBlur=e.onBlur.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,u=e.isLocked,f=e.instanceId,h=e.isHidden,m=e.rootClientId,g=this.state.isFocused,v=Object(p.castArray)(a).length;if(u||i&&c&&!m)return null;var O=function(e){return"up"===e?"horizontal"===r?o?Ya:qa:Wa:"down"===e?"horizontal"===r?o?qa:Ya:$a:null},k=function(e){return"up"===e?"horizontal"===r?o?"right":"left":"up":"down"===e?"horizontal"===r?o?"left":"right":"down":null};return Object(d.createElement)(H.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":g||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(H.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:O("up"),label:Object(V.sprintf)(Object(V.__)("Move %s"),k("up")),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)(Za,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(H.Button,{icon:Xa,className:"block-editor-block-mover__control-drag-handle block-editor-block-mover__control","aria-hidden":"true",tabIndex:"-1",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(d.createElement)(H.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:O("down"),label:Object(V.sprintf)(Object(V.__)("Move %s"),k("down")),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"block-editor-block-mover__description"},Ga(v,l&&l.title,s,i,c,-1,r,o)),Object(d.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"block-editor-block-mover__description"},Ga(v,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Qa=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(p.castArray)(n),d=Object(p.first)(u),f=o(d),b=l(Object(p.first)(u)),h=s(b),m=c(d,b),g=c(Object(p.last)(u),b),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(b),rootClientId:b,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(g.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(p.partial)(i,n,r),onMoveUp:Object(p.partial)(c,n,r)}})),h.withInstanceId)(Ja),el=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(w.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(d.createElement)("div",Object(u.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(d.Component),tl=Object(h.compose)([Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(g.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(el);var nl=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(p.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.blocks,a=e("core/block-editor"),l=a.removeBlocks,s=a.replaceBlocks,u=a.duplicateBlocks,d=a.insertAfterBlock,f=a.insertBeforeBlock;return{onDuplicate:function(){return u(o)},onRemove:function(){l(o)},onInsertBefore:function(){f(Object(p.first)(Object(p.castArray)(o)))},onInsertAfter:function(){d(Object(p.last)(Object(p.castArray)(o)))},onGroup:function(){if(c.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(c,e);t&&s(o,t)}},onUngroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&s(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})}));var rl=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(g.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(V.__)("Edit as HTML"):Object(V.__)("Edit visually");return Object(d.createElement)(H.MenuItem,{onClick:r,icon:"html"},!c&&s)}));function ol(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(V.__)("Convert to Blocks");return Object(d.createElement)(H.MenuItem,{onClick:n,icon:"screenoptions"},!r&&o)}var il=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(g.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}})))(ol),cl=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(g.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}})))(ol),al={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var ll=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0],i=Object(g.useSelect)((function(e){var t=e("core/keyboard-shortcuts").getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]);return Object(d.createElement)(nl,{clientIds:t},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,a=e.isLocked,l=e.onDuplicate,s=e.onInsertAfter,u=e.onInsertBefore,f=e.onRemove;return Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.DropdownMenu,{icon:"ellipsis",label:Object(V.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:al},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.MenuGroup,null,Object(d.createElement)(_a.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)(cl,{clientId:o}),1===r&&Object(d.createElement)(il,{clientId:o}),n&&Object(d.createElement)(H.MenuItem,{onClick:Object(p.flow)(b,l),icon:"admin-page",shortcut:i.duplicate},Object(V.__)("Duplicate")),c&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(H.MenuItem,{onClick:Object(p.flow)(b,u),icon:"insert-before",shortcut:i.insertBefore},Object(V.__)("Insert Before")),Object(d.createElement)(H.MenuItem,{onClick:Object(p.flow)(b,s),icon:"insert-after",shortcut:i.insertAfter},Object(V.__)("Insert After"))),1===r&&Object(d.createElement)(rl,{clientId:o,onToggle:b}),Object(d.createElement)(wa.Slot,{fillProps:{clientIds:t,onClose:b}})),Object(d.createElement)(H.MenuGroup,null,!a&&Object(d.createElement)(H.MenuItem,{onClick:Object(p.flow)(b,f),icon:"trash",shortcut:i.remove},Object(V._n)("Remove Block","Remove Blocks",r))))})))}))},sl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var l,u=a?n[0]:null,f=a?Object(i.getBlockType)(u.name):null,b=Object(p.mapKeys)(o,(function(e){return e.name})),h=Object(p.orderBy)(Object(p.filter)(Object(i.getPossibleBlockTransformations)(n),(function(e){return e&&!!b[e.name]})),(function(e){return b[e.name].frecency}),"desc");if(1===Object(p.uniq)(Object(p.map)(n,"name")).length){var m=n[0].name,g=Object(i.getBlockType)(m);l=g.icon}else l="layout";return c||h.length?Object(d.createElement)(H.Dropdown,{position:"bottom right",className:"block-editor-block-switcher",contentClassName:"block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(V.__)("Change block type or style"):Object(V.sprintf)(Object(V._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.Button,{className:"block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,onKeyDown:function(e){r||e.keyCode!==ot.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0,icon:Object(d.createElement)(d.Fragment,null,Object(d.createElement)(tt,{icon:l,showColors:!0}),Object(d.createElement)(H.SVG,{className:"block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(H.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(d.createElement)(d.Fragment,null,(c||0!==h.length)&&Object(d.createElement)("div",{className:"block-editor-block-switcher__container"},c&&Object(d.createElement)(H.PanelBody,{title:Object(V.__)("Block Styles"),initialOpen:!0},Object(d.createElement)(Ua,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==h.length&&Object(d.createElement)(H.PanelBody,{title:Object(V.__)("Transform To:"),initialOpen:!0},Object(d.createElement)(wi,{items:h.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(d.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(d.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(V.__)("Preview")),Object(d.createElement)(Si,{viewportWidth:500,blocks:f.example?Object(i.getBlockFromExample)(u.name,{attributes:Object(s.a)({},f.example.attributes,{className:a}),innerBlocks:f.example.innerBlocks}):Object(i.cloneBlock)(u,{className:a})})))}}):Object(d.createElement)(H.Toolbar,null,Object(d.createElement)(H.Button,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",label:Object(V.__)("Block icon"),icon:Object(d.createElement)(tt,{icon:l,showColors:!0})}))}}]),t}(d.Component),ul=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(p.first)(Object(p.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}})),Object(g.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(sl);var dl=Object(g.withSelect)((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(d.createElement)(ul,{key:"switcher",clientIds:n}):null}));function fl(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=t.getBlockRootClientId,c=t.getBlockListSettings,a=r(),l=i(a[0]),s=c(l)||{},u=s.__experimentalMoverDirection,d=s.__experimentalUIParts,f=void 0===d?{}:d;return{blockClientIds:a,rootClientId:l,isValid:1===a.length?o(a[0]):null,mode:1===a.length?n(a[0]):null,moverDirection:u,hasMovers:f.hasMovers}}),[]),t=e.blockClientIds,n=e.isValid,r=e.mode,o=e.moverDirection,i=e.hasMovers,c=void 0===i||i;return 0===t.length?null:t.length>1?Object(d.createElement)("div",{className:"block-editor-block-toolbar"},c&&Object(d.createElement)(Qa,{clientIds:t,__experimentalOrientation:o}),Object(d.createElement)(dl,null),Object(d.createElement)(ll,{clientIds:t})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},c&&Object(d.createElement)(Qa,{clientIds:t,__experimentalOrientation:o}),"visual"===r&&n&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(ul,{clientIds:t}),Object(d.createElement)(Ye.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(et.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(ll,{clientIds:t}))}var bl=Object(h.compose)([Object(g.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(Oo.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(p.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'<img src="'.concat(Object(ea.createBlobURL)(e),'">')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,b=l.html,h=Object(i.pasteHandler)({HTML:b,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(d.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function pl(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder;return{clientIds:n(),rootBlocksClientIds:r()}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=Object(g.useDispatch)("core/block-editor"),o=r.duplicateBlocks,i=r.removeBlocks,c=r.insertAfterBlock,a=r.insertBeforeBlock,s=r.multiSelect,u=r.clearSelectedBlock;return Object(l.useShortcut)("core/block-editor/duplicate",Object(d.useCallback)((function(e){e.preventDefault(),o(t)}),[t,o]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(d.useCallback)((function(e){e.preventDefault(),c(Object(p.last)(t))}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(d.useCallback)((function(e){e.preventDefault(),a(Object(p.first)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<1}),Object(l.useShortcut)("core/block-editor/select-all",Object(d.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(n),Object(p.last)(n))}),[n,s])),Object(l.useShortcut)("core/block-editor/unselect",Object(d.useCallback)((function(e){e.preventDefault(),u(),window.getSelection().removeAllRanges()}),[t,u]),{isDisabled:t.length<2}),null}pl.Register=function(){var e=Object(g.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(d.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(V.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(V.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(V.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(V.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:Object(V.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(V.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selections",description:Object(V.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(V.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var hl=pl;function ml(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelecting:r()}}),[]),t=e.selectionEnd,n=e.isMultiSelecting;return Object(d.useEffect)((function(){if(t&&!n){var e=Lo(t);if(e){var r=Object(Oo.getScrollContainer)(e);r&&rt()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var gl=[ot.UP,ot.RIGHT,ot.DOWN,ot.LEFT,ot.ENTER,ot.BACKSPACE];var vl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).stopTypingOnSelectionUncollapse=e.stopTypingOnSelectionUncollapse.bind(Object(w.a)(e)),e.stopTypingOnMouseMove=e.stopTypingOnMouseMove.bind(Object(w.a)(e)),e.startTypingInTextField=e.startTypingInTextField.bind(Object(w.a)(e)),e.stopTypingOnNonTextField=e.stopTypingOnNonTextField.bind(Object(w.a)(e)),e.stopTypingOnEscapeKey=e.stopTypingOnEscapeKey.bind(Object(w.a)(e)),e.onKeyDown=Object(p.over)([e.startTypingInTextField,e.stopTypingOnEscapeKey]),e.lastMouseMove=null,e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){this.toggleEventBindings(this.props.isTyping)}},{key:"componentDidUpdate",value:function(e){this.props.isTyping!==e.isTyping&&this.toggleEventBindings(this.props.isTyping)}},{key:"componentWillUnmount",value:function(){this.toggleEventBindings(!1)}},{key:"toggleEventBindings",value:function(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",this.stopTypingOnSelectionUncollapse),document[t]("mousemove",this.stopTypingOnMouseMove)}},{key:"stopTypingOnMouseMove",value:function(e){var t=e.clientX,n=e.clientY;if(this.lastMouseMove){var r=this.lastMouseMove,o=r.clientX,i=r.clientY;o===t&&i===n||this.props.onStopTyping()}this.lastMouseMove={clientX:t,clientY:n}}},{key:"stopTypingOnSelectionUncollapse",value:function(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||this.props.onStopTyping()}},{key:"stopTypingOnEscapeKey",value:function(e){this.props.isTyping&&e.keyCode===ot.ESCAPE&&this.props.onStopTyping()}},{key:"startTypingInTextField",value:function(e){var t=this.props,n=t.isTyping,r=t.onStartTyping,o=e.type,i=e.target;n||!Object(Oo.isTextField)(i)||i.closest(".block-editor-block-toolbar")||("keydown"!==o||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(gl,t)}(e))&&r()}},{key:"stopTypingOnNonTextField",value:function(e){var t=this;e.persist(),this.props.setTimeout((function(){var n=t.props,r=n.isTyping,o=n.onStopTyping,i=e.target;r&&!Object(Oo.isTextField)(i)&&o()}))}},{key:"render",value:function(){var e=this.props.children;return Object(d.createElement)("div",{onFocus:this.stopTypingOnNonTextField,onKeyPress:this.startTypingInTextField,onKeyDown:this.onKeyDown},e)}}]),t}(d.Component),Ol=Object(h.compose)([Object(g.withSelect)((function(e){return{isTyping:(0,e("core/block-editor").isTyping)()}})),Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{onStartTyping:t.startTyping,onStopTyping:t.stopTyping}})),h.withSafeTimeout])(vl);function kl(){return Vc()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var jl=-1!==window.navigator.userAgent.indexOf("Trident"),yl=new Set([ot.UP,ot.DOWN,ot.LEFT,ot.RIGHT]),_l=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(E.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(w.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(w.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(w.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(w.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(w.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(w.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(C.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(Oo.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(Oo.computeCaretRect)();if(n)if(this.caretRect)if(yl.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(Oo.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top<a?this.caretRect=n:i?window.scrollBy(0,r):o.scrollTop+=r}}}}else this.caretRect=n}}},{key:"addSelectionChangeListener",value:function(){document.addEventListener("selectionchange",this.computeCaretRectOnSelectionChange)}},{key:"onKeyDown",value:function(e){var t=this;e.persist(),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId),this.onKeyDown.rafId=window.requestAnimationFrame((function(){t.maintainCaretPosition(e),delete t.onKeyDown.rafId}))}},{key:"render",value:function(){return jl?this.props.children:Object(d.createElement)("div",{ref:this.ref,onKeyDown:this.onKeyDown,onKeyUp:this.maintainCaretPosition,onMouseDown:this.addSelectionChangeListener,onTouchStart:this.addSelectionChangeListener,className:"block-editor__typewriter"},this.props.children)}}]),t}(d.Component),Cl=Object(g.withSelect)((function(e){return{selectedBlockClientId:(0,e("core/block-editor").getSelectedBlockClientId)()}}))(_l),Sl=["left","center","right","wide","full"],El=["wide","full"];function wl(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?Sl:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(El)):t}var Il=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=wl(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(d.createElement)(Ye,{key:"align-controls"},Object(d.createElement)(He,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),xl=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(g.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(d.createElement)(e,t);var c=wl(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(p.includes)(c,r)&&(a=Object(s.a)({},a,{"data-align":r})),Object(d.createElement)(e,Object(u.a)({},t,{wrapperProps:a}))}}));Object(m.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(p.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(p.assign)(e.attributes,{align:{type:"string"}})),e)})),Object(m.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",xl),Object(m.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Il),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(p.includes)(wl(o,c),r)&&(e.className=b()("align".concat(r),e.className)),e}));var Bl=/[\s#]/g;var Tl=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(d.createElement)(d.Fragment,null,Object(d.createElement)(e,t),Object(d.createElement)(yc,null,Object(d.createElement)(H.TextControl,{className:"html-anchor-control",label:Object(V.__)("HTML Anchor"),help:Object(d.createElement)(d.Fragment,null,Object(V.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(d.createElement)(H.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(V.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Bl,"-"),t.setAttributes({anchor:e})}}))):Object(d.createElement)(e,t)}}),"withInspectorControl");Object(m.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(p.has)(e.attributes,["anchor","type"])?e:(Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(p.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Object(m.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",Tl),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var Nl=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(d.createElement)(d.Fragment,null,Object(d.createElement)(e,t),Object(d.createElement)(yc,null,Object(d.createElement)(H.TextControl,{label:Object(V.__)("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(V.__)("Separate multiple classes with spaces.")}))):Object(d.createElement)(e,t)}}),"withInspectorControl");function Ll(e){e="<div data-custom-class-name>".concat(e,"</div>");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(m.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(p.assign)(e.attributes,{className:{type:"string"}})),e})),Object(m.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",Nl),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=b()(e.className,n.className)),e})),Object(m.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(p.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=Ll(o),a=Ll(n),l=Object(p.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(p.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(P.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var Al=n(232),Rl=n.n(Al),Pl=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ml=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=S()||E());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return Dl(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Dl(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Pl,""),value:n?Dl(n[0]).replace(Pl,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var k,j=C("import"),y=C("charset"),_=C("namespace");function C(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function S(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=Dl(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Dl(t[1]),media:Dl(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=Dl(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||j()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Dl(t[1]),r=Dl(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function E(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type;var o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(St.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((k=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:k,parsingErrors:a}}))};function Dl(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Fl=n(136),Ul=n.n(Fl),Vl=Hl;function Hl(e){this.options=e||{}}Hl.prototype.emit=function(e){return e},Hl.prototype.visit=function(e){return this[e.type](e)},Hl.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r<o;r++)n+=this.visit(e[r]),t&&r<o-1&&(n+=this.emit(t));return n};var zl=Kl;function Kl(e){Vl.call(this,e)}Ul()(Kl,Vl),Kl.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},Kl.prototype.comment=function(e){return this.emit("",e.position)},Kl.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Kl.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Kl.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Kl.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Kl.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Kl.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Kl.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},Kl.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},Kl.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Kl.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Kl.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Kl.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Kl.prototype.rule=function(e){var t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},Kl.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var Gl=Wl;function Wl(e){e=e||{},Vl.call(this,e),this.indentation=e.indent}Ul()(Wl,Vl),Wl.prototype.compile=function(e){return this.stylesheet(e)},Wl.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},Wl.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},Wl.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Wl.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Wl.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Wl.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Wl.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Wl.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Wl.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},Wl.prototype.keyframe=function(e){var t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},Wl.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},Wl.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},Wl.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Wl.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Wl.prototype.rule=function(e){var t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},Wl.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},Wl.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var ql=function(e,t){return((t=t||{}).compress?new zl(t):new Gl(t)).compile(e)};var $l=function(e,t){try{var n=Ml(e),r=Rl.a.map(n,(function(e){if(!e)return e;var n=t(e);return this.update(n)}));return ql(r)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}},Yl=n(108);function Xl(e){return 0!==e.value.indexOf("data:")&&0!==e.value.indexOf("#")&&(t=e.value,!/^\/(?!\/)/.test(t)&&!function(e){return/^(?:https?:)?\/\//.test(e)}(e.value));var t}function Zl(e){return function(t){var n=function(e,t){var n=Object(Yl.parse)(e).pathname;return Object(Yl.resolve)(t,n)}(t.value,e);return Object(s.a)({},t,{newUrl:"url("+t.before+t.quote+n+t.quote+t.after+")"})}}var Jl=function(e){return function(t){if("declaration"===t.type){var n=function(e){for(var t,n=/url\((\s*)(['"]?)(.+?)\2(\s*)\)/g,r=[];null!==(t=n.exec(e));){var o={source:t[0],before:t[1],quote:t[2],value:t[3],after:t[4]};Xl(o)&&r.push(o)}return r}(t.value).map(Zl(e));return Object(s.a)({},t,{value:(r=t.value,o=n,o.forEach((function(e){r=r.replace(e.source,e.newUrl)})),r)})}var r,o;return t}},Ql=/^(body|html|:root).*$/,es=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Object(s.a)({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(Ql)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},ts=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(es(t)),r&&o.push(Jl(r)),o.length?$l(n,Object(h.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return Pe})),n.d(t,"Autocomplete",(function(){return Me})),n.d(t,"BlockAlignmentToolbar",(function(){return He})),n.d(t,"BlockBreadcrumb",(function(){return Ke})),n.d(t,"BlockControls",(function(){return Ye})),n.d(t,"BlockEdit",(function(){return X})),n.d(t,"useBlockEditContext",(function(){return q})),n.d(t,"BlockFormatControls",(function(){return et})),n.d(t,"BlockIcon",(function(){return tt})),n.d(t,"BlockNavigationDropdown",(function(){return Yi})),n.d(t,"__experimentalBlockNavigationList",(function(){return Gi})),n.d(t,"__experimentalBlockPatternPicker",(function(){return Xi})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return nc})),n.d(t,"ButtonBlockerAppender",(function(){return Ki})),n.d(t,"ColorPalette",(function(){return oc})),n.d(t,"ColorPaletteControl",(function(){return ic})),n.d(t,"ContrastChecker",(function(){return ge})),n.d(t,"__experimentalGradientPicker",(function(){return ac})),n.d(t,"__experimentalGradientPickerControl",(function(){return lc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return sc})),n.d(t,"__experimentalColorGradientControl",(function(){return ce})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return be})),n.d(t,"__experimentalImageSizeControl",(function(){return uc})),n.d(t,"InnerBlocks",(function(){return gc})),n.d(t,"InspectorAdvancedControls",(function(){return yc})),n.d(t,"InspectorControls",(function(){return ye})),n.d(t,"__experimentalLinkControl",(function(){return Bc})),n.d(t,"MediaReplaceFlow",(function(){return Fc})),n.d(t,"MediaPlaceholder",(function(){return qc})),n.d(t,"MediaUpload",(function(){return Tc})),n.d(t,"MediaUploadCheck",(function(){return Nc})),n.d(t,"PanelColorSettings",(function(){return pe})),n.d(t,"PlainText",(function(){return $c})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Xc})),n.d(t,"RichText",(function(){return fa})),n.d(t,"RichTextShortcut",(function(){return ia})),n.d(t,"RichTextToolbarButton",(function(){return ca})),n.d(t,"__unstableRichTextInputEvent",(function(){return aa})),n.d(t,"ToolSelector",(function(){return ha})),n.d(t,"URLInput",(function(){return Rc})),n.d(t,"URLInputButton",(function(){return ma})),n.d(t,"URLPopover",(function(){return zc})),n.d(t,"__experimentalImageURLInputUI",(function(){return Oa})),n.d(t,"withColorContext",(function(){return rc})),n.d(t,"__experimentalBlockListFooter",(function(){return Oi})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return _a})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return wa})),n.d(t,"__experimentalInserterMenuExtension",(function(){return Li})),n.d(t,"__experimentalPageTemplatePicker",(function(){return La})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return Ra})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Aa})),n.d(t,"BlockInspector",(function(){return Ka})),n.d(t,"BlockList",(function(){return _i})),n.d(t,"BlockMover",(function(){return Qa})),n.d(t,"BlockPreview",(function(){return Si})),n.d(t,"BlockSelectionClearer",(function(){return tl})),n.d(t,"BlockSettingsMenu",(function(){return ll})),n.d(t,"BlockTitle",(function(){return ze})),n.d(t,"BlockToolbar",(function(){return fl})),n.d(t,"CopyHandler",(function(){return bl})),n.d(t,"DefaultBlockAppender",(function(){return bi})),n.d(t,"Inserter",(function(){return zi})),n.d(t,"MultiBlocksSwitcher",(function(){return dl})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return hl})),n.d(t,"MultiSelectScrollIntoView",(function(){return ml})),n.d(t,"NavigableToolbar",(function(){return Qo})),n.d(t,"ObserveTyping",(function(){return Ol})),n.d(t,"PreserveScrollInReorder",(function(){return kl})),n.d(t,"SkipToSelectedBlock",(function(){return Pa})),n.d(t,"Typewriter",(function(){return Cl})),n.d(t,"Warning",(function(){return ko})),n.d(t,"WritingFlow",(function(){return Yo})),n.d(t,"BlockEditorProvider",(function(){return go})),n.d(t,"getColorClassName",(function(){return y})),n.d(t,"getColorObjectByAttributeValues",(function(){return k})),n.d(t,"getColorObjectByColorValue",(function(){return j})),n.d(t,"createCustomColorsHOC",(function(){return A})),n.d(t,"withColors",(function(){return R})),n.d(t,"__experimentalUseColors",(function(){return Be})),n.d(t,"__experimentalGetGradientClass",(function(){return Z})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return J})),n.d(t,"__experimentalUseGradient",(function(){return Q})),n.d(t,"getFontSize",(function(){return Te})),n.d(t,"getFontSizeClass",(function(){return Ne})),n.d(t,"FontSizePicker",(function(){return Le})),n.d(t,"withFontSizes",(function(){return Ae})),n.d(t,"transformStyles",(function(){return ts})),n.d(t,"storeConfig",(function(){return bo})),n.d(t,"SETTINGS_DEFAULTS",(function(){return at}))},35:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},36:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},37:function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,l;function s(){n=o?new WeakMap:c()}function u(){var n,r,o,i,c,s=arguments.length;for(i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];for(c=t.apply(null,i),(n=l(c)).isUniqueByDependants||(n.lastDependants&&!a(c,n.lastDependants,0)&&n.clear(),n.lastDependants=c),r=n.head;r;){if(a(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=i),l=o?function(e){var t,o,i,a,l,s=n,u=!0;for(t=0;t<e.length;t++){if(o=e[t],!(l=o)||"object"!=typeof l){u=!1;break}s.has(o)?s=s.get(o):(i=new WeakMap,s.set(o,i),s=i)}return s.has(r)||((a=c()).isUniqueByDependants=u,s.set(r,a)),s.get(r)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},38:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.blob}()},44:function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c<l;c++)if(a.args[c]!==arguments[c]){a=a.next;continue e}return a!==r&&(a===o&&(o=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=r,a.prev=null,r.prev=a,r=a),a.val}a=a.next}for(t=new Array(l),c=0;c<l;c++)t[c]=arguments[c];return a={args:t,val:e.apply(null,t)},r?(r.prev=a,a.next=r):o=a,i===n?(o=o.prev).next=null:i++,r=a,a.val}return t&&t.maxSize&&(n=t.maxSize),c.clear=function(){r=null,o=null,i=0},c}},46:function(e,t,n){"use strict";function r(e,t,n,r,o,i,c){try{var a=e[i](c),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function a(e){r(c,o,i,a,l,"next",e)}function l(e){r(c,o,i,a,l,"throw",e)}a(void 0)}))}}n.d(t,"a",(function(){return o}))},47:function(e,t){!function(){e.exports=this.wp.keyboardShortcuts}()},48:function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},49:function(e,t){!function(){e.exports=this.wp.a11y}()},51:function(e,t,n){var r;!function(o){var i=/^\s+/,c=/\s+$/,a=0,l=o.round,s=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(c,"").toLowerCase();var t,n=!1;if(B[e])e=B[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=z.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=z.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=z.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=z.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=z.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=z.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=z.hex8.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=z.hex6.exec(e))return{r:R(t[1]),g:R(t[2]),b:R(t[3]),format:n?"name":"hex"};if(t=z.hex4.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=z.hex3.exec(e))return{r:R(t[1]+""+t[1]),g:R(t[2]+""+t[2]),b:R(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(K(e.r)&&K(e.g)&&K(e.b)?(b=e.r,p=e.g,h=e.b,t={r:255*L(b,255),g:255*L(p,255),b:255*L(h,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):K(e.h)&&K(e.s)&&K(e.v)?(r=M(e.s),a=M(e.v),t=function(e,t,n){e=6*L(e,360),t=L(t,100),n=L(n,100);var r=o.floor(e),i=e-r,c=n*(1-t),a=n*(1-i*t),l=n*(1-(1-i)*t),s=r%6;return{r:255*[n,a,c,c,l,n][s],g:255*[l,n,n,a,c,c][s],b:255*[c,c,l,n,n,a][s]}}(e.h,r,a),d=!0,f="hsv"):K(e.h)&&K(e.s)&&K(e.l)&&(r=M(e.s),l=M(e.l),t=function(e,t,n){var r,o,i;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=L(e,360),t=L(t,100),n=L(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=N(n),{ok:d,format:e.format||f,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.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=n.ok,this._tc_id=a++}function b(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:a}}function p(e,t,n){e=L(e,255),t=L(t,255),n=L(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=i,l=i-c;if(o=0===i?0:l/i,i==c)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:a}}function h(e,t,n,r){var o=[P(l(e).toString(16)),P(l(t).toString(16)),P(l(n).toString(16))];return r&&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 m(e,t,n,r){return[P(D(r)),P(l(e).toString(16)),P(l(t).toString(16)),P(l(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=A(n.s),f(n)}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=A(n.s),f(n)}function O(e){return f(e).desaturate(100)}function k(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=A(n.l),f(n)}function j(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,s(255,n.r-l(-t/100*255))),n.g=u(0,s(255,n.g-l(-t/100*255))),n.b=u(0,s(255,n.b-l(-t/100*255))),f(n)}function y(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=A(n.l),f(n)}function _(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function C(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function S(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function w(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function I(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function x(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}f.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,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.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*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(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),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[P(l(e).toString(16)),P(l(t).toString(16)),P(l(n).toString(16)),P(D(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.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*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(k,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,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(I,arguments)},complement:function(){return this._applyCombination(C,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(E,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;s<t.length;s++)(r=f.readability(e,t[s]))>l&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var B=f.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"},T=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function A(e){return s(1,u(0,e))}function R(e){return parseInt(e,16)}function P(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return R(e)/255}var U,V,H,z=(V="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",H="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+H),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+H),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+H),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 K(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},54:function(e,t){!function(){e.exports=this.wp.viewport}()},55:function(e,t){!function(){e.exports=this.wp.htmlEntities}()},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(10);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){Object(r.a)(e,t,n[t])}))}return e}},7:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},73:function(e,t,n){"use strict";t.__esModule=!0;var r=n(143);t.default=r.default},75:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(147)),i=r(n(148)),c=n(22),a=r(c),l=r(n(149)),s=r(n(150)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function b(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return u.fun(e)?e.apply(void 0,n):e}function h(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,i(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var i;return u.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var m,g,v=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.removeChild(s(t))}))},t}return l(t,e),t}(v),k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.removeChild(s(t))}))},t}l(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof v)&&(t[n]=r instanceof v?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(v);function j(e,t){m={fn:e,transform:t}}function y(e){g=e}var _,C=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},S=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function E(e){_=e}var w,I=function(){return Date.now()};function x(e){w=e}var B,T,N=function(e){return e.current};function L(e){B=e}var A=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:j,get colorNames(){return g},injectColorNames:y,get requestFrame(){return C},get cancelFrame(){return S},injectFrame:function(e,t){C=e,S=t},get interpolation(){return _},injectStringInterpolator:E,get now(){return I},injectNow:function(e){I=e},get defaultElement(){return w},injectDefaultElement:x,get animatedApi(){return N},injectAnimatedApi:function(e){N=e},get createAnimatedStyle(){return B},injectCreateAnimatedStyle:L,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),R=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:B(t.style)}):t,r.update=n,r.attach(),r}return l(t,e),t}(k),P=!1,M=new Set,D=function e(){if(!P)return!1;var t=I(),n=M,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l<c.configs.length;l++){for(var s=c.configs[l],u=void 0,d=void 0,f=0;f<s.animatedValues.length;f++){var b=s.animatedValues[f];if(!b.done){var p=s.fromValues[f],h=s.toValues[f],m=b.lastPosition,g=h instanceof v,O=Array.isArray(s.initialVelocity)?s.initialVelocity[f]:s.initialVelocity;if(g&&(h=h.getValue()),s.immediate)b.setValue(h),b.done=!0;else if("string"!=typeof p&&"string"!=typeof h){if(void 0!==s.duration)m=p+s.easing((t-b.startTime)/s.duration)*(h-p),u=t>=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var k=Math.floor(t-d),j=0;j<k;++j){m+=1*(O+=1*((-s.tension*(m-h)+-s.friction*O)/s.mass)/1e3)/1e3}var y=!(!s.clamp||0===s.tension)&&(p<h?m>h:m<h),_=Math.abs(O)<=s.precision,S=0===s.tension||Math.abs(h-m)<=s.precision;u=y||_&&S,b.lastVelocity=O,b.lastTime=t}g&&!s.toValues[f].done&&(u=!1),u?(b.value!==h&&(m=h),b.done=!0):a=!0,b.setValue(m),b.lastPosition=m}else b.setValue(h),b.done=!0}}c.props.onFrame&&(c.values[s.name]=s.interpolation.getValue())}c.props.onFrame&&c.props.onFrame(c.values),a||(M.delete(c),c.stop(!0))}return M.size?T?T():C(e):P=!1,P};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],c=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(s<t){if("identity"===c)return s;"clamp"===c&&(s=t)}if(s>n){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var U=function(e){function t(n,r,o){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=F(r,o),i}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t){this.calc=F(e,t)},n.interpolate=function(e,n){return new t(this,e,n)},t}(O);var V=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t){return new U(this,e,t)},t}(v),H=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new V(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new U(this,e,t)},t}(O),z=0,K=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,M.has(t)||M.add(t),P||(P=!0,C(T||D));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,M.has(t)&&M.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s<r.to.length;s++)l(s);else if(u.fun(r.to)){var d,f=0;a=a.then((function(){return r.to((function(e){var t=o({},r,h(e));if(u.arr(t.config)&&(t.config=t.config[f]),f++,c===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}a.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,c=n.to,a=void 0===c?{}:c,l=n.config,s=void 0===l?{}:l,d=n.reverse,h=n.attach,m=n.reset,v=n.immediate;if(d){var O=[a,i];i=O[0],a=O[1]}this.merged=o({},i,this.merged,a),this.hasChanged=!1;var k=h&&h(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],c=n[1],a=e[r]||{},l=u.num(c),d=u.str(c)&&!c.startsWith("#")&&!/\d/.test(c)&&!g[c],h=u.arr(c),O=!l&&!h&&!d,j=u.und(i[r])?c:i[r],y=l||h?c:d?c:1,C=p(s,r);k&&(y=k.animations[r].parent);var S,E=a.parent,w=a.interpolation,x=b(k?y.getPayload():y),B=c;O&&(B=_({range:[0,1],output:[c,c]})(1));var T,N=w&&w.getValue(),L=!u.und(E)&&a.animatedValues.some((function(e){return!e.done})),A=!u.equ(B,N),R=!u.equ(B,a.previous),P=!u.equ(C,a.config);if(m||R&&A||P){var M;if(l||d)E=w=a.parent||new V(j);else if(h)E=w=a.parent||new H(j);else if(O){var D=a.interpolation&&a.interpolation.calc(a.parent.value);D=void 0===D||m?j:D,a.parent?(E=a.parent).setValue(0,!1):E=new V(0);var F={output:[D,c]};a.interpolation?(w=a.interpolation,a.interpolation.updateConfig(F)):w=E.interpolate(F)}return x=b(k?y.getPayload():y),S=b(E.getPayload()),m&&!O&&E.setValue(j,!1),t.hasChanged=!0,S.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=L?e.lastVelocity:void 0,e.lastTime=L?e.lastTime:void 0,e.startTime=I(),e.done=!1,e.animatedStyles.clear()})),p(v,r)&&E.setValue(O?y:c,!1),o({},e,((M={})[r]=o({},a,{name:r,parent:E,interpolation:w,animatedValues:S,toValues:x,previous:B,config:C,fromValues:b(E.getValue()),immediate:p(v,r),initialVelocity:f(C.velocity,0),clamp:f(C.clamp,!1),precision:f(C.precision,.01),tension:f(C.tension,170),friction:f(C.friction,26),mass:f(C.mass,1),duration:C.duration,easing:f(C.easing,(function(e){return e})),decay:C.decay}),M))}return A?e:(O&&(E.setValue(1,!1),w.updateConfig({output:[B,B]})),E.done=!0,t.hasChanged=!0,o({},e,((T={})[r]=o({},e[r],{previous:B}),T)))}),this.animations),this.hasChanged)for(var j in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[j]=this.animations[j].interpolation,this.values[j]=this.animations[j].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),G=function(e,t){var n=c.useRef(!1),r=c.useRef(),o=u.fun(t),i=c.useMemo((function(){var n;return(r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new K,c=o?p(t,r,i):t[r];return 0===r&&(n=c.ref),i.update(c),n||i.start(),i})),n])}),[e]),a=i[0],l=i[1];r.current=a;c.useImperativeHandle(l,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var s=c.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?p(e,n,t):e[n]),l||t.start()}))}}),[e]);c.useEffect((function(){n.current?o||s(t):l||r.current.forEach((function(e){return e.start()}))})),c.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var d=r.current.map((function(e){return e.getValues()}));return o?[d,s,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:d},W=0,q="enter",$="leave",Y="update",X=function(e,t){return("function"==typeof t?e.map(t):b(t)).map(String)},Z=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,c=i(e,["items","keys"]);return t=b(void 0!==t?t:null),o({items:t,keys:X(t,r)},c)};function J(e,t){var n=function(){if(o){if(i>=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var Q=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return l(t,e),t}(k),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},te="[-+]?\\d*\\.?\\d+",ne=te+"%";function re(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var oe=new RegExp("rgb"+re(te,te,te)),ie=new RegExp("rgba"+re(te,te,te,te)),ce=new RegExp("hsl"+re(te,ne,ne)),ae=new RegExp("hsla"+re(te,ne,ne,te)),le=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,se=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ue=/^#([0-9a-fA-F]{6})$/,de=/^#([0-9a-fA-F]{8})$/;function fe(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function be(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=fe(o,r,e+1/3),c=fe(o,r,e),a=fe(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function pe(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function he(e){return(parseFloat(e)%360+360)%360/360}function me(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ge(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function ve(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ue.exec(t))?parseInt(n[1]+"ff",16)>>>0:ee.hasOwnProperty(t)?ee[t]:(n=oe.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|255)>>>0:(n=ie.exec(t))?(pe(n[1])<<24|pe(n[2])<<16|pe(n[3])<<8|me(n[4]))>>>0:(n=le.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=de.exec(t))?parseInt(n[1],16)>>>0:(n=se.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=ce.exec(t))?(255|be(he(n[1]),ge(n[2]),ge(n[3])))>>>0:(n=ae.exec(t))?(be(he(n[1]),ge(n[2]),ge(n[3]))|me(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var Oe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ke=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,je=new RegExp("("+Object.keys(ee).join("|")+")","g"),ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_e=["Webkit","Ms","Moz","O"];function Ce(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}ye=Object.keys(ye).reduce((function(e,t){return _e.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),ye);var Se={};L((function(e){return new Q(e)})),x("div"),E((function(e){var t=e.output.map((function(e){return e.replace(ke,ve)})).map((function(e){return e.replace(je,ve)})),n=t[0].match(Oe).map((function(){return[]}));t.forEach((function(e){e.match(Oe).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(Oe).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(Oe,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),y(ee),j((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=Ce(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:Se[f]||(Se[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var Ee,we,Ie=(Ee=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new R(e,(function(){f.current&&!1===m.fn(f.current,s.current.getAnimatedValue())&&r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return N(f,l,r)})),b(t);var p=s.current.getValue(),h=(p.scrollTop,p.scrollLeft,i(p,["scrollTop","scrollLeft"]));return a.createElement(e,o({},h,{ref:function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}}))}))},void 0===(we=!1)&&(we=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=we?t[0].toLowerCase()+t.substring(1):t;return e[n]=Ee(n),e}),Ee)}),xe=Ie(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ie,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=D,t.animated=xe,t.a=xe,t.interpolate=function(e,t,n){return e&&new U(e,t,n)},t.Globals=A,t.useSpring=function(e){var t=u.fun(e),n=G(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=G(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=Z(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),k=d(),j=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!j.current&&new Map,forceUpdate:k});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=Z(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,k=a.order,j=void 0===k?[q,$,Y]:k,y=Z(r),_=y.keys,C=y.items,S=o({},c.current),E=[].concat(c.deleted),w=Object.keys(S),I=new Set(w),x=new Set(s),B=s.filter((function(e){return!I.has(e)})),T=c.transitions.filter((function(e){return!e.destroyed&&!x.has(e.originalKey)})).map((function(e){return e.originalKey})),N=s.filter((function(e){return I.has(e)})),L=-g;for(;j.length;){switch(j.shift()){case q:B.forEach((function(e,t){v&&E.find((function(t){return t.originalKey===e}))&&(E=E.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":q;S[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:L+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case $:T.forEach((function(e){var t=_.indexOf(e),n=C[t],r=$;E.unshift(o({},S[e],{slot:r,destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:L+=g,config:p(O,n,r),to:p(b,n)})),delete S[e]}));break;case Y:N.forEach((function(e){var t=s.indexOf(e),n=l[t],r=Y;S[e]=o({},S[e],{item:n,slot:r,trail:L+=g,config:p(O,n,r),to:p(h,n)})}))}}var A=s.map((function(e){return S[e]}));return E.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=A.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),A=[].concat(A.slice(0,t),[r],A.slice(t))})),o({},c,{changed:B.length||T.length||N.length,first:n&&0===B.length,transitions:A,current:S,deleted:E,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new K);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||J(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&J(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&t===q});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=j.current=!0,function(){y.current.mounted=j.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=G},8:function(e,t){!function(){e.exports=this.wp.compose}()},80:function(e,t,n){"use strict";e.exports=n(141)},83:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},86:function(e,t,n){e.exports=function(){"use strict";return function(e){var t={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(t,e),function(e){return function(n){return function(r){var o,i,c=t[r.type],a=n(r);if(c)for(o=0;o<c.length;o++)(i=c[o](r,e))&&e.dispatch(i);return a}}}}}()},9:function(e,t){!function(){e.exports=this.wp.blocks}()}});
1
+ this.wp=this.wp||{},this.wp.blockEditor=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=350)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.lodash}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){var r;
2
  /*!
3
  Copyright (c) 2016 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(31),o=n(7);function i(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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&&r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t){!function(){e.exports=this.wp.primitives}()},function(e,t,n){"use strict";var r=n(33);function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";var r=n(36);var o=n(37);function i(e,t){return Object(r.a)(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=e[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(e,t)||Object(o.a)()}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(38);function o(e,t){if(null==e)return{};var n,o,i=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)n=c[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){!function(){e.exports=this.wp.keycodes}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.regeneratorRuntime}()},function(e,t){!function(){e.exports=this.wp.richText}()},function(e,t,n){e.exports=n(111)()},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.wp.dom}()},,function(e,t){!function(){e.exports=this.wp.hooks}()},,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";function r(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},,function(e,t){!function(){e.exports=this.wp.deprecated}()},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r,o;function i(e){return[e]}function c(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},o="undefined"!=typeof WeakMap,t.a=function(e,t){var n,l;function s(){n=o?new WeakMap:c()}function u(){var n,r,o,i,c,s=arguments.length;for(i=new Array(s),o=0;o<s;o++)i[o]=arguments[o];for(c=t.apply(null,i),(n=l(c)).isUniqueByDependants||(n.lastDependants&&!a(c,n.lastDependants,0)&&n.clear(),n.lastDependants=c),r=n.head;r;){if(a(r.args,i,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,i)},i[0]=null,r.args=i,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=i),l=o?function(e){var t,o,i,a,l,s=n,u=!0;for(t=0;t<e.length;t++){if(o=e[t],!(l=o)||"object"!=typeof l){u=!1;break}s.has(o)?s=s.get(o):(i=new WeakMap,s.set(o,i),s=i)}return s.has(r)||((a=c()).isUniqueByDependants=u,s.set(r,a)),s.get(r)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},,function(e,t){!function(){e.exports=this.wp.blob}()},,,,function(e,t,n){e.exports=function(e,t){var n,r,o,i=0;function c(){var t,c,a=r,l=arguments.length;e:for(;a;){if(a.args.length===arguments.length){for(c=0;c<l;c++)if(a.args[c]!==arguments[c]){a=a.next;continue e}return a!==r&&(a===o&&(o=a.prev),a.prev.next=a.next,a.next&&(a.next.prev=a.prev),a.next=r,a.prev=null,r.prev=a,r=a),a.val}a=a.next}for(t=new Array(l),c=0;c<l;c++)t[c]=arguments[c];return a={args:t,val:e.apply(null,t)},r?(r.prev=a,a.next=r):o=a,i===n?(o=o.prev).next=null:i++,r=a,a.val}return t&&t.maxSize&&(n=t.maxSize),c.clear=function(){r=null,o=null,i=0},c}},,function(e,t,n){"use strict";function r(e,t,n,r,o,i,c){try{var a=e[i](c),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var c=e.apply(t,n);function a(e){r(c,o,i,a,l,"next",e)}function l(e){r(c,o,i,a,l,"throw",e)}a(void 0)}))}}n.d(t,"a",(function(){return o}))},function(e,t){!function(){e.exports=this.wp.keyboardShortcuts}()},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},function(e,t){!function(){e.exports=this.wp.a11y}()},,function(e,t,n){var r;!function(o){var i=/^\s+/,c=/\s+$/,a=0,l=o.round,s=o.min,u=o.max,d=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(c,"").toLowerCase();var t,n=!1;if(B[e])e=B[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=z.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=z.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=z.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=z.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=z.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=z.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=z.hex8.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=z.hex6.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:n?"name":"hex"};if(t=z.hex4.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=z.hex3.exec(e))return{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(G(e.r)&&G(e.g)&&G(e.b)?(b=e.r,p=e.g,h=e.b,t={r:255*N(b,255),g:255*N(p,255),b:255*N(h,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):G(e.h)&&G(e.s)&&G(e.v)?(r=D(e.s),a=D(e.v),t=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),i=e-r,c=n*(1-t),a=n*(1-i*t),l=n*(1-(1-i)*t),s=r%6;return{r:255*[n,a,c,c,l,n][s],g:255*[l,n,n,a,c,c][s],b:255*[c,c,l,n,n,a][s]}}(e.h,r,a),d=!0,f="hsv"):G(e.h)&&G(e.s)&&G(e.l)&&(r=D(e.s),l=D(e.l),t=function(e,t,n){var r,o,i;function c(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=i=n;else{var a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;r=c(l,a,e+1/3),o=c(l,a,e),i=c(l,a,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var b,p,h;return n=P(n),{ok:d,format:e.format||f,r:s(255,u(t.r,0)),g:s(255,u(t.g,0)),b:s(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.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=n.ok,this._tc_id=a++}function b(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=(i+c)/2;if(i==c)r=o=0;else{var l=i-c;switch(o=a>.5?l/(2-i-c):l/(i+c),i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:a}}function p(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),c=s(e,t,n),a=i,l=i-c;if(o=0===i?0:l/i,i==c)r=0;else{switch(i){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:a}}function h(e,t,n,r){var o=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16))];return r&&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 m(e,t,n,r){return[R(M(r)),R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=L(n.s),f(n)}function v(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=L(n.s),f(n)}function O(e){return f(e).desaturate(100)}function j(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=L(n.l),f(n)}function k(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,s(255,n.r-l(-t/100*255))),n.g=u(0,s(255,n.g-l(-t/100*255))),n.b=u(0,s(255,n.b-l(-t/100*255))),f(n)}function y(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=L(n.l),f(n)}function _(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function E(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function w(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function I(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function x(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,c=[],a=1/t;t--;)c.push(f({h:r,s:o,v:i})),i=(i+a)%1;return c}f.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,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.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*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=P(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),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=b(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=b(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return h(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[R(l(e).toString(16)),R(l(t).toString(16)),R(l(n).toString(16)),R(M(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.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)&&(T[h(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(j,arguments)},brighten:function(){return this._applyModification(k,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(O,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(I,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(C,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,c,a=null,l=0;o=(n=n||{}).includeFallbackColors,i=n.level,c=n.size;for(var s=0;s<t.length;s++)(r=f.readability(e,t[s]))>l&&(l=r,a=f(t[s]));return f.isReadable(e,a,{level:i,size:c})||!o?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var B=f.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"},T=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(B);function P(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 n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=s(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function L(e){return s(1,u(0,e))}function A(e){return parseInt(e,16)}function R(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,U,z=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",U="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+U),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!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},,,function(e,t){!function(){e.exports=this.wp.viewport}()},function(e,t){!function(){e.exports=this.wp.htmlEntities}()},,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0;var r=n(142);t.default=r.default},,function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(146)),i=r(n(147)),c=n(22),a=r(c),l=r(n(148)),s=r(n(149)),u={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"==typeof e},str:function(e){return"string"==typeof e},num:function(e){return"number"==typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!=typeof t)return!1;if(u.str(e)||u.num(e))return e===t;if(u.obj(e)&&u.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!u.und(n)||e===t}};function d(){var e=c.useState(!1)[1];return c.useCallback((function(){return e((function(e){return!e}))}),[])}function f(e,t){return u.und(e)||u.nul(e)?t:e}function b(e){return u.und(e)?[]:u.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return u.fun(e)?e.apply(void 0,n):e}function h(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,i(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(u.und(t))return o({to:t},e);var n=Object.keys(e).reduce((function(n,r){var i;return u.und(t[r])?o({},n,((i={})[r]=e[r],i)):n}),{});return o({to:t},n)}var m,g,v=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),O=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof v&&e.removeChild(s(t))}))},t}return l(t,e),t}(v),j=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof v&&e.removeChild(s(t))}))},t}l(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof v)&&(t[n]=r instanceof v?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(v);function k(e,t){m={fn:e,transform:t}}function y(e){g=e}var _,S=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},E=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function C(e){_=e}var w,I=function(){return Date.now()};function x(e){w=e}var B,T,P=function(e){return e.current};function N(e){B=e}var L=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:k,get colorNames(){return g},injectColorNames:y,get requestFrame(){return S},get cancelFrame(){return E},injectFrame:function(e,t){S=e,E=t},get interpolation(){return _},injectStringInterpolator:C,get now(){return I},injectNow:function(e){I=e},get defaultElement(){return w},injectDefaultElement:x,get animatedApi(){return P},injectAnimatedApi:function(e){P=e},get createAnimatedStyle(){return B},injectCreateAnimatedStyle:N,get manualFrameloop(){return T},injectManualFrameloop:function(e){T=e}}),A=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?o({},t,{style:B(t.style)}):t,r.update=n,r.attach(),r}return l(t,e),t}(j),R=!1,D=new Set,M=function e(){if(!R)return!1;var t=I(),n=D,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}for(var c=i,a=!1,l=0;l<c.configs.length;l++){for(var s=c.configs[l],u=void 0,d=void 0,f=0;f<s.animatedValues.length;f++){var b=s.animatedValues[f];if(!b.done){var p=s.fromValues[f],h=s.toValues[f],m=b.lastPosition,g=h instanceof v,O=Array.isArray(s.initialVelocity)?s.initialVelocity[f]:s.initialVelocity;if(g&&(h=h.getValue()),s.immediate)b.setValue(h),b.done=!0;else if("string"!=typeof p&&"string"!=typeof h){if(void 0!==s.duration)m=p+s.easing((t-b.startTime)/s.duration)*(h-p),u=t>=b.startTime+s.duration;else if(s.decay)m=p+O/(1-.998)*(1-Math.exp(-(1-.998)*(t-b.startTime))),(u=Math.abs(b.lastPosition-m)<.1)&&(h=m);else{d=void 0!==b.lastTime?b.lastTime:t,O=void 0!==b.lastVelocity?b.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var j=Math.floor(t-d),k=0;k<j;++k){m+=1*(O+=1*((-s.tension*(m-h)+-s.friction*O)/s.mass)/1e3)/1e3}var y=!(!s.clamp||0===s.tension)&&(p<h?m>h:m<h),_=Math.abs(O)<=s.precision,E=0===s.tension||Math.abs(h-m)<=s.precision;u=y||_&&E,b.lastVelocity=O,b.lastTime=t}g&&!s.toValues[f].done&&(u=!1),u?(b.value!==h&&(m=h),b.done=!0):a=!0,b.setValue(m),b.lastPosition=m}else b.setValue(h),b.done=!0}}c.props.onFrame&&(c.values[s.name]=s.interpolation.getValue())}c.props.onFrame&&c.props.onFrame(c.values),a||(D.delete(c),c.stop(!0))}return D.size?T?T():S(e):R=!1,R};function F(e,t,n){if("function"==typeof e)return e;if(Array.isArray(e))return F({range:e,output:t,extrapolate:n});if(_&&"string"==typeof e.output[0])return _(e);var r=e,o=r.output,i=r.range||[0,1],c=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,c,a,l){var s=l?l(e):e;if(s<t){if("identity"===c)return s;"clamp"===c&&(s=t)}if(s>n){if("identity"===a)return s;"clamp"===a&&(s=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t);s=i(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r;return s}(e,i[t],i[t+1],o[t],o[t+1],l,c,a,r.map)}}var V=function(e){function t(n,r,o){var i;return(i=e.call(this)||this).calc=void 0,i.payload=n instanceof O&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],i.calc=F(r,o),i}l(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t){this.calc=F(e,t)},n.interpolate=function(e,n){return new t(this,e,n)},t}(O);var H=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}l(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&function e(t,n){"update"in t?n.add(t):t.getChildren().forEach((function(t){return e(t,n)}))}(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t){return new V(this,e,t)},t}(v),U=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}l(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new V(this,e,t)},t}(O),z=0,G=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=z++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=h(e),n=t.delay,r=void 0===n?0:n,c=t.to,a=i(t,["delay","to"]);if(u.arr(c)||u.fun(c))this.queue.push(o({},a,{delay:r,to:c}));else if(c){var l={};Object.entries(c).forEach((function(e){var t,n=e[0],i=e[1],c=o({to:(t={},t[n]=i,t),delay:p(r,n)},a),s=l[c.delay]&&l[c.delay].to;l[c.delay]=o({},l[c.delay],c,{to:o({},s,c.to)})})),this.queue=Object.values(l)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(a),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,i=e.to,c=void 0===i?{}:i;u.obj(r)&&(n.merged=o({},r,n.merged)),u.obj(c)&&(n.merged=o({},n.merged,c))}));var r=this.local=++this.guid,c=this.localQueue=this.queue;this.queue=[],c.forEach((function(t,o){var a=t.delay,l=i(t,["delay"]),s=function(t){o===c.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},d=u.arr(l.to)||u.fun(l.to);a?setTimeout((function(){r===n.guid&&(d?n.runAsync(l,s):n.diff(l).start(s))}),a):d?n.runAsync(l,s):n.diff(l).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,D.has(t)||D.add(t),R||(R=!0,S(T||M));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,D.has(t)&&D.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,i(e,["delay"])),c=this.local,a=Promise.resolve(void 0);if(u.arr(r.to))for(var l=function(e){var t=e,i=o({},r,h(r.to[t]));u.arr(i.config)&&(i.config=i.config[t]),a=a.then((function(){if(c===n.guid)return new Promise((function(e){return n.diff(i).start(e)}))}))},s=0;s<r.to.length;s++)l(s);else if(u.fun(r.to)){var d,f=0;a=a.then((function(){return r.to((function(e){var t=o({},r,h(e));if(u.arr(t.config)&&(t.config=t.config[f]),f++,c===n.guid)return d=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return d}))}))}a.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,i=void 0===r?{}:r,c=n.to,a=void 0===c?{}:c,l=n.config,s=void 0===l?{}:l,d=n.reverse,h=n.attach,m=n.reset,v=n.immediate;if(d){var O=[a,i];i=O[0],a=O[1]}this.merged=o({},i,this.merged,a),this.hasChanged=!1;var j=h&&h(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],c=n[1],a=e[r]||{},l=u.num(c),d=u.str(c)&&!c.startsWith("#")&&!/\d/.test(c)&&!g[c],h=u.arr(c),O=!l&&!h&&!d,k=u.und(i[r])?c:i[r],y=l||h?c:d?c:1,S=p(s,r);j&&(y=j.animations[r].parent);var E,C=a.parent,w=a.interpolation,x=b(j?y.getPayload():y),B=c;O&&(B=_({range:[0,1],output:[c,c]})(1));var T,P=w&&w.getValue(),N=!u.und(C)&&a.animatedValues.some((function(e){return!e.done})),L=!u.equ(B,P),A=!u.equ(B,a.previous),R=!u.equ(S,a.config);if(m||A&&L||R){var D;if(l||d)C=w=a.parent||new H(k);else if(h)C=w=a.parent||new U(k);else if(O){var M=a.interpolation&&a.interpolation.calc(a.parent.value);M=void 0===M||m?k:M,a.parent?(C=a.parent).setValue(0,!1):C=new H(0);var F={output:[M,c]};a.interpolation?(w=a.interpolation,a.interpolation.updateConfig(F)):w=C.interpolate(F)}return x=b(j?y.getPayload():y),E=b(C.getPayload()),m&&!O&&C.setValue(k,!1),t.hasChanged=!0,E.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=N?e.lastVelocity:void 0,e.lastTime=N?e.lastTime:void 0,e.startTime=I(),e.done=!1,e.animatedStyles.clear()})),p(v,r)&&C.setValue(O?y:c,!1),o({},e,((D={})[r]=o({},a,{name:r,parent:C,interpolation:w,animatedValues:E,toValues:x,previous:B,config:S,fromValues:b(C.getValue()),immediate:p(v,r),initialVelocity:f(S.velocity,0),clamp:f(S.clamp,!1),precision:f(S.precision,.01),tension:f(S.tension,170),friction:f(S.friction,26),mass:f(S.mass,1),duration:S.duration,easing:f(S.easing,(function(e){return e})),decay:S.decay}),D))}return L?e:(O&&(C.setValue(1,!1),w.updateConfig({output:[B,B]})),C.done=!0,t.hasChanged=!0,o({},e,((T={})[r]=o({},e[r],{previous:B}),T)))}),this.animations),this.hasChanged)for(var k in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[k]=this.animations[k].interpolation,this.values[k]=this.animations[k].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),K=function(e,t){var n=c.useRef(!1),r=c.useRef(),o=u.fun(t),i=c.useMemo((function(){var n;return(r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var i=new G,c=o?p(t,r,i):t[r];return 0===r&&(n=c.ref),i.update(c),n||i.start(),i})),n])}),[e]),a=i[0],l=i[1];r.current=a;c.useImperativeHandle(l,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var s=c.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?p(e,n,t):e[n]),l||t.start()}))}}),[e]);c.useEffect((function(){n.current?o||s(t):l||r.current.forEach((function(e){return e.start()}))})),c.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var d=r.current.map((function(e){return e.getValues()}));return o?[d,s,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:d},W=0,q=function(e,t){return("function"==typeof t?e.map(t):b(t)).map(String)},$=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,c=i(e,["items","keys"]);return t=b(void 0!==t?t:null),o({items:t,keys:q(t,r)},c)};function Y(e,t){var n=function(){if(o){if(i>=r.length)return"break";c=r[i++]}else{if((i=r.next()).done)return"break";c=i.value}var n=c.key,a=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(a),e.current.deleted=e.current.deleted.filter(a))},r=e.current.deleted,o=Array.isArray(r),i=0;for(r=o?r:r[Symbol.iterator]();;){var c;if("break"===n())break}e.current.forceUpdate()}var X=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof v||(t=m.transform(t)),n.payload=t,n}return l(t,e),t}(j),Z={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},J="[-+]?\\d*\\.?\\d+",Q=J+"%";function ee(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var te=new RegExp("rgb"+ee(J,J,J)),ne=new RegExp("rgba"+ee(J,J,J,J)),re=new RegExp("hsl"+ee(J,Q,Q)),oe=new RegExp("hsla"+ee(J,Q,Q,J)),ie=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ae=/^#([0-9a-fA-F]{6})$/,le=/^#([0-9a-fA-F]{8})$/;function se(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ue(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=se(o,r,e+1/3),c=se(o,r,e),a=se(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*c)<<16|Math.round(255*a)<<8}function de(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function fe(e){return(parseFloat(e)%360+360)%360/360}function be(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function pe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function he(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ae.exec(t))?parseInt(n[1]+"ff",16)>>>0:Z.hasOwnProperty(t)?Z[t]:(n=te.exec(t))?(de(n[1])<<24|de(n[2])<<16|de(n[3])<<8|255)>>>0:(n=ne.exec(t))?(de(n[1])<<24|de(n[2])<<16|de(n[3])<<8|be(n[4]))>>>0:(n=ie.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+"ff",16)>>>0:(n=le.exec(t))?parseInt(n[1],16)>>>0:(n=ce.exec(t))?parseInt(n[1]+n[1]+n[2]+n[2]+n[3]+n[3]+n[4]+n[4],16)>>>0:(n=re.exec(t))?(255|ue(fe(n[1]),pe(n[2]),pe(n[3])))>>>0:(n=oe.exec(t))?(ue(fe(n[1]),pe(n[2]),pe(n[3]))|be(n[4]))>>>0:null;return null===r?e:"rgba("+((4278190080&(r=r||0))>>>24)+", "+((16711680&r)>>>16)+", "+((65280&r)>>>8)+", "+(255&r)/255+")"}var me=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ge=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ve=new RegExp("("+Object.keys(Z).join("|")+")","g"),Oe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},je=["Webkit","Ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Oe.hasOwnProperty(e)&&Oe[e]?(""+t).trim():t+"px"}Oe=Object.keys(Oe).reduce((function(e,t){return je.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Oe);var ye={};N((function(e){return new X(e)})),x("div"),C((function(e){var t=e.output.map((function(e){return e.replace(ge,he)})).map((function(e){return e.replace(ve,he)})),n=t[0].match(me).map((function(){return[]}));t.forEach((function(e){e.match(me).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(me).map((function(t,r){return F(o({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(me,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,o){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+o+")"}))}})),y(Z),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,c=t.scrollLeft,a=i(t,["style","children","scrollTop","scrollLeft"]),l="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==c&&(e.scrollLeft=c),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=ke(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var f in a){var b=l?f:ye[f]||(ye[f]=f.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(b)&&e.setAttribute(b,a[f])}}),(function(e){return e}));var _e,Se,Ee=(_e=function(e){return c.forwardRef((function(t,n){var r=d(),l=c.useRef(!0),s=c.useRef(null),f=c.useRef(null),b=c.useCallback((function(e){var t=s.current;s.current=new A(e,(function(){f.current&&!1===m.fn(f.current,s.current.getAnimatedValue())&&r()})),t&&t.detach()}),[]);c.useEffect((function(){return function(){l.current=!1,s.current&&s.current.detach()}}),[]),c.useImperativeHandle(n,(function(){return P(f,l,r)})),b(t);var p=s.current.getValue(),h=(p.scrollTop,p.scrollLeft,i(p,["scrollTop","scrollLeft"]));return a.createElement(e,o({},h,{ref:function(e){return f.current=function(e,t){return t&&(u.fun(t)?t(e):u.obj(t)&&(t.current=e)),e}(e,n)}}))}))},void 0===(Se=!1)&&(Se=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Se?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),Ce=Ee(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ee,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=M,t.animated=Ce,t.a=Ce,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=L,t.useSpring=function(e){var t=u.fun(e),n=K(1,t?e:[e]),r=n[0],o=n[1],i=n[2];return t?[r[0],o,i]:r},t.useTrail=function(e,t){var n=c.useRef(!1),r=u.fun(t),i=p(t),a=c.useRef(),l=K(e,(function(e,t){return 0===e&&(a.current=[]),a.current.push(t),o({},i,{config:p(i.config,e),attach:e>0&&function(){return a.current[e-1]}})})),s=l[0],d=l[1],f=l[2],b=c.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,c=a.current[r];return o({},e,{config:p(e.config||i.config,t),attach:c&&function(){return c}})}))}}),[e,i.reverse]);return c.useEffect((function(){n.current&&!r&&b(t)})),c.useEffect((function(){n.current=!0}),[]),r?[s,b,f]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),a=$(r),l=a.lazy,s=void 0!==l&&l,u=(a.unique,a.reset),f=void 0!==u&&u,b=(a.enter,a.leave,a.update,a.onDestroyed),h=(a.keys,a.items,a.onFrame),m=a.onRest,g=a.onStart,v=a.ref,O=i(a,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),j=d(),k=c.useRef(!1),y=c.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:j});return c.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(y.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(y.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(y.current.instances).map((function(e){return e[1]}))}}})),y.current=function(e,t){var n=e.first,r=e.prevProps,c=i(e,["first","prevProps"]),a=$(t),l=a.items,s=a.keys,u=a.initial,d=a.from,f=a.enter,b=a.leave,h=a.update,m=a.trail,g=void 0===m?0:m,v=a.unique,O=a.config,j=a.order,k=void 0===j?["enter","leave","update"]:j,y=$(r),_=y.keys,S=y.items,E=o({},c.current),C=[].concat(c.deleted),w=Object.keys(E),I=new Set(w),x=new Set(s),B=s.filter((function(e){return!I.has(e)})),T=c.transitions.filter((function(e){return!e.destroyed&&!x.has(e.originalKey)})).map((function(e){return e.originalKey})),P=s.filter((function(e){return I.has(e)})),N=-g;for(;k.length;){switch(k.shift()){case"enter":B.forEach((function(e,t){v&&C.find((function(t){return t.originalKey===e}))&&(C=C.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":"enter";E[e]={slot:i,originalKey:e,key:v?String(e):W++,item:o,trail:N+=g,config:p(O,o,i),from:p(n&&void 0!==u?u||{}:d,o),to:p(f,o)}}));break;case"leave":T.forEach((function(e){var t=_.indexOf(e),n=S[t];C.unshift(o({},E[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=g,config:p(O,n,"leave"),to:p(b,n)})),delete E[e]}));break;case"update":P.forEach((function(e){var t=s.indexOf(e),n=l[t];E[e]=o({},E[e],{item:n,slot:"update",trail:N+=g,config:p(O,n,"update"),to:p(h,n)})}))}}var L=s.map((function(e){return E[e]}));return C.forEach((function(e){var t,n=e.left,r=(e.right,i(e,["left","right"]));-1!==(t=L.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),L=[].concat(L.slice(0,t),[r],L.slice(t))})),o({},c,{changed:B.length||T.length||P.length,first:n&&0===B.length,transitions:L,current:E,deleted:C,prevProps:t})}(y.current,r),y.current.changed&&y.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,i=e.config,c=e.trail,a=e.key,l=e.item;y.current.instances.has(a)||y.current.instances.set(a,new G);var u=y.current.instances.get(a),d=o({},O,{to:r,from:n,config:i,ref:v,onRest:function(n){y.current.mounted&&(e.destroyed&&(v||s||Y(y,a),b&&b(l)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(v||s)&&y.current.deleted.length>0&&Y(y),m&&m(l,t,n))},onStart:g&&function(){return g(l,t)},onFrame:h&&function(e){return h(l,t,e)},delay:c,reset:f&&"enter"===t});u.update(d),y.current.paused||u.start()})),c.useEffect((function(){return y.current.mounted=k.current=!0,function(){y.current.mounted=k.current=!1,Array.from(y.current.instances).map((function(e){return e[1].destroy()})),y.current.instances.clear()}}),[]),y.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:y.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=c.useRef();c.useEffect((function(){u.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var i=e.current;if(i){var c=i.controllers;if(c.length){var a=n*t[r];c.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+a})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=K},,,,,function(e,t,n){"use strict";e.exports=n(140)},,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,function(e,t,n){e.exports=function(){"use strict";return function(e){var t={};return function e(t,n){var r;if(Array.isArray(n))for(r=0;r<n.length;r++)e(t,n[r]);else for(r in n)t[r]=(t[r]||[]).concat(n[r])}(t,e),function(e){return function(n){return function(r){var o,i,c=t[r.type],a=n(r);if(c)for(o=0;o<c.length;o++)(i=c[o](r,e))&&e.dispatch(i);return a}}}}}()},,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(150),o=n(152);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=O,t.resolve=function(e,t){return O(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?O(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=O(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var c=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(153);function O(e,t,n){if(e&&o.isObject(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),a=-1!==i&&i<e.indexOf("#")?"?":"#",s=e.split(a);s[0]=s[0].replace(/\\/g,"/");var O=e=s.join(a);if(O=O.trim(),!n&&1===e.split("#").length){var j=l.exec(O);if(j)return this.path=O,this.href=O,this.pathname=j[1],j[2]?(this.search=j[2],this.query=t?v.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var k=c.exec(O);if(k){var y=(k=k[0]).toLowerCase();this.protocol=y,O=O.substr(k.length)}if(n||k||O.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===O.substr(0,2);!_||k&&m[k]||(O=O.substr(2),this.slashes=!0)}if(!m[k]&&(_||k&&!g[k])){for(var S,E,C=-1,w=0;w<f.length;w++){-1!==(I=O.indexOf(f[w]))&&(-1===C||I<C)&&(C=I)}-1!==(E=-1===C?O.lastIndexOf("@"):O.lastIndexOf("@",C))&&(S=O.slice(0,E),O=O.slice(E+1),this.auth=decodeURIComponent(S)),C=-1;for(w=0;w<d.length;w++){var I;-1!==(I=O.indexOf(d[w]))&&(-1===C||I<C)&&(C=I)}-1===C&&(C=O.length),this.host=O.slice(0,C),O=O.slice(C),this.parseHost(),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x)for(var B=this.hostname.split(/\./),T=(w=0,B.length);w<T;w++){var P=B[w];if(P&&!P.match(b)){for(var N="",L=0,A=P.length;L<A;L++)P.charCodeAt(L)>127?N+="x":N+=P[L];if(!N.match(b)){var R=B.slice(0,w),D=B.slice(w+1),M=P.match(p);M&&(R.push(M[1]),D.unshift(M[2])),D.length&&(O="/"+D.join(".")+O),this.hostname=R.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+F,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(w=0,T=u.length;w<T;w++){var H=u[w];if(-1!==O.indexOf(H)){var U=encodeURIComponent(H);U===H&&(U=escape(H)),O=O.split(H).join(U)}}var z=O.indexOf("#");-1!==z&&(this.hash=O.substr(z),O=O.slice(0,z));var G=O.indexOf("?");if(-1!==G?(this.search=O.substr(G),this.query=O.substr(G+1),t&&(this.query=v.parse(this.query)),O=O.slice(0,G)):t&&(this.search="",this.query={}),O&&(this.pathname=O),g[y]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){F=this.pathname||"";var K=this.search||"";this.path=F+K}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,c="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(c=v.stringify(this.query));var a=this.search||c&&"?"+c||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(O(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var n=new i,r=Object.keys(this),c=0;c<r.length;c++){var a=r[c];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),s=0;s<l.length;s++){var u=l[s];"protocol"!==u&&(n[u]=e[u])}return g[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!g[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var b=d[f];n[b]=e[b]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||m[e.protocol])n.pathname=e.pathname;else{for(var p=(e.pathname||"").split("/");p.length&&!(e.host=p.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==p[0]&&p.unshift(""),p.length<2&&p.unshift(""),n.pathname=p.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var h=n.pathname||"",v=n.search||"";n.path=h+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var O=n.pathname&&"/"===n.pathname.charAt(0),j=e.host||e.pathname&&"/"===e.pathname.charAt(0),k=j||O||n.host&&e.pathname,y=k,_=n.pathname&&n.pathname.split("/")||[],S=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(S&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===p[0]?p[0]=e.host:p.unshift(e.host)),e.host=null),k=k&&(""===p[0]||""===_[0])),j)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=p;else if(p.length)_||(_=[]),_.pop(),_=_.concat(p),n.search=e.search,n.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(S)n.hostname=n.host=_.shift(),(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift());return n.search=e.search,n.query=e.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var E=_.slice(-1)[0],C=(n.host||e.host||_.length>1)&&("."===E||".."===E)||""===E,w=0,I=_.length;I>=0;I--)"."===(E=_[I])?_.splice(I,1):".."===E?(_.splice(I,1),w++):w&&(_.splice(I,1),w--);if(!k&&!y)for(;w--;w)_.unshift("..");!k||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),C&&"/"!==_.join("/").substr(-1)&&_.push("");var x,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);S&&(n.hostname=n.host=B?"":_.length?_.shift():"",(x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=x.shift(),n.host=n.hostname=x.shift()));return(k=k||n.host&&_.length)&&!B&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},,,,function(e,t,n){"use strict";var r=n(112);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,c){if(c!==r){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,,function(e,t){!function(){e.exports=this.wp.wordcount}()},,,,,,,,,,,,,,,,,function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},,,,,function(e,t,n){"use strict";var r=n(141);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,c=n.alignWithTop,a=n.alignWithLeft,l=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var f=r.isWindow(t),b=r.offset(e),p=r.outerHeight(e),h=r.outerWidth(e),m=void 0,g=void 0,v=void 0,O=void 0,j=void 0,k=void 0,y=void 0,_=void 0,S=void 0,E=void 0;f?(y=t,E=r.height(y),S=r.width(y),_={left:r.scrollLeft(y),top:r.scrollTop(y)},j={left:b.left-_.left-s,top:b.top-_.top-l},k={left:b.left+h-(_.left+S)+d,top:b.top+p-(_.top+E)+u},O=_):(m=r.offset(t),g=t.clientHeight,v=t.clientWidth,O={left:t.scrollLeft,top:t.scrollTop},j={left:b.left-(m.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-s,top:b.top-(m.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},k={left:b.left+h-(m.left+v+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:b.top+p-(m.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),j.top<0||k.top>0?!0===c?r.scrollTop(t,O.top+j.top):!1===c?r.scrollTop(t,O.top+k.top):j.top<0?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top):i||((c=void 0===c||!!c)?r.scrollTop(t,O.top+j.top):r.scrollTop(t,O.top+k.top)),o&&(j.left<0||k.left>0?!0===a?r.scrollLeft(t,O.left+j.left):!1===a?r.scrollLeft(t,O.left+k.left):j.left<0?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,O.left+j.left):r.scrollLeft(t,O.left+k.left)))}},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};function i(e,t){var n=e["page"+(t?"Y":"X")+"Offset"],r="scroll"+(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}function c(e){return i(e)}function a(e){return i(e,!0)}function l(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,i=o.body,c=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=c.clientLeft||i.clientLeft||0,top:r-=c.clientTop||i.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=c(r),t.top+=a(r),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/;var d=void 0;function f(e,t){for(var n=0;n<e.length;n++)t(e[n])}function b(e){return"border-box"===d(e,"boxSizing")}"undefined"!=typeof window&&(d=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,i=n||o.defaultView.getComputedStyle(e,null);return i&&(r=i.getPropertyValue(t)||i[t]),r}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(s.test(n)&&!u.test(t)){var r=e.style,o=r.left,i=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=o,e.runtimeStyle.left=i}return""===n?"auto":n});var p=["margin","border","padding"];function h(e,t,n){var r={},o=e.style,i=void 0;for(i in t)t.hasOwnProperty(i)&&(r[i]=o[i],o[i]=t[i]);for(i in n.call(e),t)t.hasOwnProperty(i)&&(o[i]=r[i])}function m(e,t,n){var r=0,o=void 0,i=void 0,c=void 0;for(i=0;i<t.length;i++)if(o=t[i])for(c=0;c<n.length;c++){var a=void 0;a="border"===o?o+n[c]+"Width":o+n[c],r+=parseFloat(d(e,a))||0}return r}function g(e){return null!=e&&e==e.window}var v={};function O(e,t,n){if(g(e))return"width"===t?v.viewportWidth(e):v.viewportHeight(e);if(9===e.nodeType)return"width"===t?v.docWidth(e):v.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,i=(d(e),b(e)),c=0;(null==o||o<=0)&&(o=void 0,(null==(c=d(e,t))||Number(c)<0)&&(c=e.style[t]||0),c=parseFloat(c)||0),void 0===n&&(n=i?1:-1);var a=void 0!==o||i,l=o||c;if(-1===n)return a?l-m(e,["border","padding"],r):c;if(a){var s=2===n?-m(e,["border"],r):m(e,["margin"],r);return l+(1===n?0:s)}return c+m(e,p.slice(n),r)}f(["Width","Height"],(function(e){v["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],v["viewport"+e](n))},v["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,i=r.documentElement[n];return"CSS1Compat"===r.compatMode&&i||o&&o[n]||i}}));var j={position:"absolute",visibility:"hidden",display:"block"};function k(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=O.apply(void 0,n):h(e,j,(function(){t=O.apply(void 0,n)})),t}function y(e,t,n){var r=n;if("object"!==(void 0===t?"undefined":o(t)))return void 0!==r?("number"==typeof r&&(r+="px"),void(e.style[t]=r)):d(e,t);for(var i in t)t.hasOwnProperty(i)&&y(e,i,t[i])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);v["outer"+t]=function(t,n){return t&&k(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];v[e]=function(t,r){if(void 0===r)return t&&k(t,e,-1);if(t){d(t);return b(t)&&(r+=m(t,["padding","border"],n)),y(t,e,r)}}})),e.exports=r({getWindow:function(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},offset:function(e,t){if(void 0===t)return l(e);!function(e,t){"static"===y(e,"position")&&(e.style.position="relative");var n=l(e),r={},o=void 0,i=void 0;for(i in t)t.hasOwnProperty(i)&&(o=parseFloat(y(e,i))||0,r[i]=o+t[i]-n[i]);y(e,r)}(e,t)},isWindow:g,each:f,css:y,clone:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);if(e.overflow)for(var n in e)e.hasOwnProperty(n)&&(t.overflow[n]=e.overflow[n]);return t},scrollLeft:function(e,t){if(g(e)){if(void 0===t)return c(e);window.scrollTo(t,a(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(g(e)){if(void 0===t)return a(e);window.scrollTo(c(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},v)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};t.__esModule=!0;var a=n(22),l=n(25),s=n(143),u=n(144),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.dispatchEvent=function(e){var n=document.createEvent("Event");n.initEvent(e,!0,!1),t.textarea.dispatchEvent(n)},t.updateLineHeight=function(){t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t.saveDOMNodeRef=function(e){var n=t.props.innerRef;n&&n(e),t.textarea=e},t.getLocals=function(){var e=t,n=e.props,r=(n.onResize,n.maxRows),o=(n.onChange,n.style),a=(n.innerRef,c(n,["onResize","maxRows","onChange","style","innerRef"])),l=e.state.lineHeight,s=e.saveDOMNodeRef,u=r&&l?l*r:null;return i({},a,{saveDOMNodeRef:s,style:u?i({},o,{maxHeight:u}):o,onChange:t.onChange})},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.onResize;"number"==typeof t.maxRows&&this.updateLineHeight(),setTimeout((function(){return s(e.textarea)})),n&&this.textarea.addEventListener("autosize:resized",n)},t.prototype.componentWillUnmount=function(){var e=this.props.onResize;e&&this.textarea.removeEventListener("autosize:resized",e),this.dispatchEvent("autosize:destroy")},t.prototype.render=function(){var e=this.getLocals(),t=e.children,n=e.saveDOMNodeRef,r=c(e,["children","saveDOMNodeRef"]);return a.createElement("textarea",i({},r,{ref:n}),t)},t.prototype.componentDidUpdate=function(){this.props.value!==this.currentValue&&this.dispatchEvent("autosize:update")},t.defaultProps={rows:1},t.propTypes={rows:l.number,maxRows:l.number,onResize:l.func,innerRef:l.func},t}(a.Component);t.default=d},function(e,t,n){var r,o,i;
7
  /*!
8
  autosize 4.0.2
9
  license: MIT
10
  http://www.jacklmoore.com/autosize
11
+ */o=[e,t],void 0===(i="function"==typeof(r=function(e,t){"use strict";var n,r,o="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function c(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,c=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),o.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function s(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(s("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==r){c=r;var o=i("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}function a(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((s=function(e){return e}).destroy=function(e){return e},s.update=function(e){return e}):((s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return c(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=s,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(145);e.exports=function(e){var t=r(e,"line-height"),n=parseFloat(t,10);if(t===n+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",t=r(e,"line-height"),n=parseFloat(t,10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(n*=4,n/=3):-1!==t.indexOf("mm")?(n*=96,n/=25.4):-1!==t.indexOf("cm")?(n*=96,n/=2.54):-1!==t.indexOf("in")?n*=96:-1!==t.indexOf("pc")&&(n*=16),n=Math.round(n),"normal"===t){var i=e.nodeName,c=document.createElement(i);c.innerHTML="&nbsp;","TEXTAREA"===i.toUpperCase()&&c.setAttribute("rows","1");var a=r(e,"font-size");c.style.fontSize=a,c.style.padding="0px",c.style.border="0px";var l=document.body;l.appendChild(c),n=c.offsetHeight,l.removeChild(c)}return n}},function(e,t){e.exports=function(e,t,n){return((n=window.getComputedStyle)?n(e):e.currentStyle)[t.replace(/-(\w)/gi,(function(e,t){return t.toUpperCase()}))]}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){(function(e,r){var o;/*! https://mths.be/punycode v1.4.1 by @mathias */!function(i){t&&t.nodeType,e&&e.nodeType;var c="object"==typeof r&&r;c.global!==c&&c.window!==c&&c.self;var a,l=2147483647,s=/^xn--/,u=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=Math.floor,p=String.fromCharCode;function h(e){throw new RangeError(f[e])}function m(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+m((e=e.replace(d,".")).split("."),t).join(".")}function v(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function O(e){return m(e,(function(e){var t="";return e>65535&&(t+=p((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=p(e)})).join("")}function j(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,n){var r=0;for(e=n?b(e/700):e>>1,e+=b(e/t);e>455;r+=36)e=b(e/35);return b(r+36*e/(e+38))}function y(e){var t,n,r,o,i,c,a,s,u,d,f,p=[],m=e.length,g=0,v=128,j=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&h("not-basic"),p.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=g,c=1,a=36;o>=m&&h("invalid-input"),((s=(f=e.charCodeAt(o++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36)>=36||s>b((l-g)/c))&&h("overflow"),g+=s*c,!(s<(u=a<=j?1:a>=j+26?26:a-j));a+=36)c>b(l/(d=36-u))&&h("overflow"),c*=d;j=k(g-i,t=p.length+1,0==i),b(g/t)>l-v&&h("overflow"),v+=b(g/t),g%=t,p.splice(g++,0,v)}return O(p)}function _(e){var t,n,r,o,i,c,a,s,u,d,f,m,g,O,y,_=[];for(m=(e=v(e)).length,t=128,n=0,i=72,c=0;c<m;++c)(f=e[c])<128&&_.push(p(f));for(r=o=_.length,o&&_.push("-");r<m;){for(a=l,c=0;c<m;++c)(f=e[c])>=t&&f<a&&(a=f);for(a-t>b((l-n)/(g=r+1))&&h("overflow"),n+=(a-t)*g,t=a,c=0;c<m;++c)if((f=e[c])<t&&++n>l&&h("overflow"),f==t){for(s=n,u=36;!(s<(d=u<=i?1:u>=i+26?26:u-i));u+=36)y=s-d,O=36-d,_.push(p(j(d+y%O,0))),s=b(y/O);_.push(p(j(s,0))),i=k(n,g,r==o),n=0,++r}++n,++t}return _.join("")}a={version:"1.4.1",ucs2:{decode:v,encode:O},decode:y,encode:_,toASCII:function(e){return g(e,(function(e){return u.test(e)?"xn--"+_(e):e}))},toUnicode:function(e){return g(e,(function(e){return s.test(e)?y(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return a}.call(t,n,t,e))||(e.exports=o)}()}).call(this,n(151)(e),n(84))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,n){"use strict";t.decode=t.parse=n(154),t.encode=t.stringify=n(155)},function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,i){t=t||"&",n=n||"=";var c={};if("string"!=typeof e||0===e.length)return c;var a=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var s=e.length;l>0&&s>l&&(s=l);for(var u=0;u<s;++u){var d,f,b,p,h=e[u].replace(a,"%20"),m=h.indexOf(n);m>=0?(d=h.substr(0,m),f=h.substr(m+1)):(d=h,f=""),b=decodeURIComponent(d),p=decodeURIComponent(f),r(c,b)?o(c[b])?c[b].push(p):c[b]=[c[b],p]:c[b]=p}return c};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?i(c(e),(function(c){var a=encodeURIComponent(r(c))+n;return o(e[c])?i(e[c],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[c]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function i(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var c=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},,,,,,,,,,,,,,,function(e,t){!function(){e.exports=this.wp.tokenList}()},,,,,,function(e,t,n){"use strict";var r=n(5),o=n(20),i=n(0);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}t.a=function(e){var t=e.icon,n=e.size,a=void 0===n?24:n,l=Object(o.a)(e,["icon","size"]);return Object(i.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:a,height:a},l))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.dispatch;return function(e){return function(n){return Array.isArray(n)?n.filter(Boolean).map(t):e(n)}}}},function(e,t,n){
12
  /*!
13
 
14
  diff v3.5.0
46
  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47
  @license
48
  */
49
+ var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(2),a=n(3),l=n(5),s=n(6),u=n(7),d=n(8),f=n(9),b=n(10),p=n(11),h=n(13),m=n(14),g=n(16),v=n(17);t.Diff=i.default,t.diffChars=c.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=l.diffLines,t.diffTrimmedLines=l.diffTrimmedLines,t.diffSentences=s.diffSentences,t.diffCss=u.diffCss,t.diffJson=d.diffJson,t.diffArrays=f.diffArrays,t.structuredPatch=m.structuredPatch,t.createTwoFilesPatch=m.createTwoFilesPatch,t.createPatch=m.createPatch,t.applyPatch=b.applyPatch,t.applyPatches=b.applyPatches,t.parsePatch=p.parsePatch,t.merge=h.merge,t.convertChangesToDMP=g.convertChangesToDMP,t.convertChangesToXML=v.convertChangesToXML,t.canonicalize=d.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,c=t.length,a=0,l=0;i<c;i++){var s=t[i];if(s.removed){if(s.value=e.join(r.slice(l,l+s.count)),l+=s.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!s.added&&o){var d=n.slice(a,a+s.count);d=d.map((function(e,t){var n=r[l+t];return n.length>e.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(a,a+s.count));a+=s.count,s.added||(l+=s.count)}}var f=t[c-1];return c>1&&"string"==typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[c-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var c=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var l=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=l+s,f=[{newPos:-1,components:[]}],b=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=l&&b+1>=s)return a([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],b=f[n+1],p=(b?b.newPos:0)-n;d&&(f[n-1]=void 0);var h=d&&d.newPos+1<l,m=b&&0<=p&&p<s;if(h||m){if(!h||m&&d.newPos<b.newPos?(i=o(b),c.pushComponent(i.components,void 0,!0)):((i=d).newPos++,c.pushComponent(i.components,!0,void 0)),p=c.extractCommon(i,t,e,n),i.newPos+1>=l&&p+1>=s)return a(r(c,i.components,t,e,c.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();p()||e()}),0)}();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,c=e.newPos,a=c-r,l=0;c+1<o&&a+1<i&&this.equals(t[c+1],n[a+1]);)c++,a++,l++;return l&&e.components.push({count:l}),e.newPos=c,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,c.generateOptions)(n,{ignoreWhitespace:!0}),s.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(4),a=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,s=t.wordDiff=new i.default;s.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},s.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&a.test(t[n])&&a.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return a.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,c.generateOptions)(n,{ignoreWhitespace:!0});return a.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=n(4),a=t.lineDiff=new i.default;a.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.sentenceDiff=new i.default;c.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.cssDiff=new i.default;c.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return s.diff(e,t,n)},t.canonicalize=u;var o,i=n(1),c=(o=i)&&o.__esModule?o:{default:o},a=n(5),l=Object.prototype.toString,s=t.jsonDiff=new c.default;function u(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var c=void 0;for(c=0;c<t.length;c+=1)if(t[c]===e)return n[c];var a=void 0;if("[object Array]"===l.call(e)){for(t.push(e),a=new Array(e.length),n.push(a),c=0;c<e.length;c+=1)a[c]=u(e[c],t,n,o,i);return t.pop(),n.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),a={},n.push(a);var s=[],d=void 0;for(d in e)e.hasOwnProperty(d)&&s.push(d);for(s.sort(),c=0;c<s.length;c+=1)a[d=s[c]]=u(e[d],t,n,o,d);t.pop(),n.pop()}else a=e;return a}s.useLongestToken=!0,s.tokenize=a.lineDiff.tokenize,s.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(u(e,null,null,o),o," ")},s.equals=function(e,t){return c.default.prototype.equals.call(s,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},c=t.arrayDiff=new i.default;c.tokenize=function(e){return e.slice()},c.join=c.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=a,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=a(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),c=(r=i)&&r.__esModule?r:{default:r};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,l=n.compareLine||function(e,t,n,r){return t===r},s=0,u=n.fuzzFactor||0,d=0,f=0,b=void 0,p=void 0;function h(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",c=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!l(t+1,r[t],i,c)&&++s>u)return!1;t++}}return!0}for(var m=0;m<a.length;m++){for(var g=a[m],v=r.length-g.oldLines,O=0,j=f+g.oldStart-1,k=(0,c.default)(j,d,v);void 0!==O;O=k())if(h(g,j+O)){g.offset=f+=O;break}if(void 0===O)return!1;d=g.offset+g.oldStart+g.oldLines}for(var y=0,_=0;_<a.length;_++){var S=a[_],E=S.oldStart+S.offset+y-1;y+=S.newLines-S.oldLines,E<0&&(E=0);for(var C=0;C<S.lines.length;C++){var w=S.lines[C],I=w.length>0?w[0]:" ",x=w.length>0?w.substr(1):w,B=S.linedelimiters[C];if(" "===I)E++;else if("-"===I)r.splice(E,1),i.splice(E,1);else if("+"===I)r.splice(E,0,x),i.splice(E,0,B),E++;else if("\\"===I){var T=S.lines[C-1]?S.lines[C-1][0]:null;"+"===T?b=!0:"-"===T&&(p=!0)}}}if(b)for(;!r[r.length-1];)r.pop(),i.pop();else p&&(r.push(""),i.push("\n"));for(var P=0;P<r.length-1;P++)r[P]=r[P]+i[P];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function c(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var c=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);c&&(e.index=c[1]),i++}for(a(e),a(e),e.hunks=[];i<n.length;){var s=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(s))break;if(/^@@/.test(s))e.hunks.push(l());else{if(s&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(s));i++}}}function a(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),c=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(c)&&(c=c.substr(1,c.length-2)),e[r+"FileName"]=c,e[r+"Header"]=(o[1]||"").trim(),i++}}function l(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),c={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},a=0,l=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var s=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==s&&"-"!==s&&" "!==s&&"\\"!==s)break;c.lines.push(n[i]),c.linedelimiters.push(r[i]||"\n"),"+"===s?a++:"-"===s?l++:" "===s&&(a++,l++)}if(a||1!==c.newLines||(c.newLines=0),l||1!==c.oldLines||(c.oldLines=0),t.strict){if(a!==c.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(l!==c.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return c}for(;i<n.length;)c();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,c=1;return function a(){if(r&&!i){if(o?c++:r=!1,e+c<=n)return c;i=!0}if(!o)return i||(r=!0),t<=e-c?-c++:(o=!0,a())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=a,t.merge=function(e,t,n){e=l(e,n),t=l(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(s(e)?s(t)?(r.oldFileName=u(r,e.oldFileName,t.oldFileName),r.newFileName=u(r,e.newFileName,t.newFileName),r.oldHeader=u(r,e.oldHeader,t.oldHeader),r.newHeader=u(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,c=0,a=0;o<e.hunks.length||i<t.hunks.length;){var p=e.hunks[o]||{oldStart:1/0},h=t.hunks[i]||{oldStart:1/0};if(d(p,h))r.hunks.push(f(p,c)),o++,a+=p.newLines-p.oldLines;else if(d(h,p))r.hunks.push(f(h,a)),i++,c+=h.newLines-h.oldLines;else{var m={oldStart:Math.min(p.oldStart,h.oldStart),oldLines:0,newStart:Math.min(p.newStart+c,h.oldStart+a),newLines:0,lines:[]};b(m,p.oldStart,p.lines,h.oldStart,h.lines),i++,o++,r.hunks.push(m)}}return r};var r=n(14),o=n(11),i=n(15);function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function l(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return((0,r.structuredPatch)(void 0,void 0,t,e))}return e}function s(e){return e.newFileName&&e.newFileName!==e.oldFileName}function u(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function d(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function f(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function b(e,t,n,r,o){var i={offset:t,lines:n,index:0},l={offset:r,lines:o,index:0};for(g(e,i,l),g(e,l,i);i.index<i.lines.length&&l.index<l.lines.length;){var s=i.lines[i.index],u=l.lines[l.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==u[0]&&"+"!==u[0])if("+"===s[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,c(O(i)))}else if("+"===u[0]&&" "===s[0]){var f;(f=e.lines).push.apply(f,c(O(l)))}else"-"===s[0]&&" "===u[0]?h(e,i,l):"-"===u[0]&&" "===s[0]?h(e,l,i,!0):s===u?(e.lines.push(s),i.index++,l.index++):m(e,O(i),O(l));else p(e,i,l)}v(e,i),v(e,l),a(e)}function p(e,t,n){var r=O(t),o=O(n);if(j(r)&&j(o)){var a,l;if((0,i.arrayStartsWith)(r,o)&&k(n,r,r.length-o.length))return void(a=e.lines).push.apply(a,c(r));if((0,i.arrayStartsWith)(o,r)&&k(t,o,o.length-r.length))return void(l=e.lines).push.apply(l,c(o))}else if((0,i.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,c(r))}m(e,r,o)}function h(e,t,n,r){var o,i=O(t),a=function(e,t){for(var n=[],r=[],o=0,i=!1,c=!1;o<t.length&&e.index<e.lines.length;){var a=e.lines[e.index],l=t[o];if("+"===l[0])break;if(i=i||" "!==a[0],r.push(l),o++,"+"===a[0])for(c=!0;"+"===a[0];)n.push(a),a=e.lines[++e.index];l.substr(1)===a.substr(1)?(n.push(a),e.index++):c=!0}if("+"===(t[o]||"")[0]&&i&&(c=!0),c)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);a.merged?(o=e.lines).push.apply(o,c(a.merged)):m(e,r?a:i,r?i:a)}function m(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function g(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function v(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function O(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function j(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function k(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=c,t.createPatch=function(e,t,n,r,o,i){return c(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,c,a,l){l||(l={}),void 0===l.context&&(l.context=4);var s=(0,r.diffLines)(n,i,l);function u(e){return e.map((function(e){return" "+e}))}s.push({value:"",lines:[]});for(var d=[],f=0,b=0,p=[],h=1,m=1,g=function(e){var t=s[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var c;if(!f){var a=s[e-1];f=h,b=m,a&&(p=l.context>0?u(a.lines.slice(-l.context)):[],f-=p.length,b-=p.length)}(c=p).push.apply(c,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(f)if(r.length<=2*l.context&&e<s.length-2){var g;(g=p).push.apply(g,o(u(r)))}else{var v,O=Math.min(r.length,l.context);(v=p).push.apply(v,o(u(r.slice(0,O))));var j={oldStart:f,oldLines:h-f+O,newStart:b,newLines:m-b+O,lines:p};if(e>=s.length-2&&r.length<=l.context){var k=/\n$/.test(n),y=/\n$/.test(i);0!=r.length||k?k&&y||p.push("\"):p.splice(j.oldLines,0,"\")}d.push(j),f=0,b=0,p=[]}h+=r.length,m+=r.length}},v=0;v<s.length;v++)g(v);return{oldFileName:e,newFileName:t,oldHeader:c,newHeader:a,hunks:d}}function c(e,t,n,r,o,c,a){var l=i(e,t,n,r,o,c,a),s=[];e==t&&s.push("Index: "+e),s.push("==================================================================="),s.push("--- "+l.oldFileName+(void 0===l.oldHeader?"":"\t"+l.oldHeader)),s.push("+++ "+l.newFileName+(void 0===l.newHeader?"":"\t"+l.newHeader));for(var u=0;u<l.hunks.length;u++){var d=l.hunks[u];s.push("@@ -"+d.oldStart+","+d.oldLines+" +"+d.newStart+","+d.newLines+" @@"),s.push.apply(s,d.lines)}return s.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},function(e,t){var n=e.exports=function(e){return new r(e)};function r(e){this.value=e}function o(e,t,n){var r=[],o=[],a=!0;return function e(d){var f=n?i(d):d,b={},p=!0,h={node:f,node_:d,path:[].concat(r),parent:o[o.length-1],parents:o,key:r.slice(-1)[0],isRoot:0===r.length,level:r.length,circular:null,update:function(e,t){h.isRoot||(h.parent.node[h.key]=e),h.node=e,t&&(p=!1)},delete:function(e){delete h.parent.node[h.key],e&&(p=!1)},remove:function(e){l(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],e&&(p=!1)},keys:null,before:function(e){b.before=e},after:function(e){b.after=e},pre:function(e){b.pre=e},post:function(e){b.post=e},stop:function(){a=!1},block:function(){p=!1}};if(!a)return h;function m(){if("object"==typeof h.node&&null!==h.node){h.keys&&h.node_===h.node||(h.keys=c(h.node)),h.isLeaf=0==h.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){h.circular=o[e];break}}else h.isLeaf=!0,h.keys=null;h.notLeaf=!h.isLeaf,h.notRoot=!h.isRoot}m();var g=t.call(h,h.node);return void 0!==g&&h.update&&h.update(g),b.before&&b.before.call(h,h.node),p?("object"!=typeof h.node||null===h.node||h.circular||(o.push(h),m(),s(h.keys,(function(t,o){r.push(t),b.pre&&b.pre.call(h,h.node[t],t);var i=e(h.node[t]);n&&u.call(h.node,t)&&(h.node[t]=i.node),i.isLast=o==h.keys.length-1,i.isFirst=0==o,b.post&&b.post.call(h,i),r.pop()})),o.pop()),b.after&&b.after.call(h,h.node),h):h}(e).node}function i(e){if("object"==typeof e&&null!==e){var t;if(l(e))t=[];else if("[object Date]"===a(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===a(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===a(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===a(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===a(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===a(e)}(e))t=new String(e);else if(Object.create&&Object.getPrototypeOf)t=Object.create(Object.getPrototypeOf(e));else if(e.constructor===Object)t={};else{var n=e.constructor&&e.constructor.prototype||e.__proto__||{},r=function(){};r.prototype=n,t=new r}return s(c(e),(function(n){t[n]=e[n]})),t}return e}r.prototype.get=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r)){t=void 0;break}t=t[r]}return t},r.prototype.has=function(e){for(var t=this.value,n=0;n<e.length;n++){var r=e[n];if(!t||!u.call(t,r))return!1;t=t[r]}return!0},r.prototype.set=function(e,t){for(var n=this.value,r=0;r<e.length-1;r++){var o=e[r];u.call(n,o)||(n[o]={}),n=n[o]}return n[e[r]]=t,t},r.prototype.map=function(e){return o(this.value,e,!0)},r.prototype.forEach=function(e){return this.value=o(this.value,e,!1),this.value},r.prototype.reduce=function(e,t){var n=1===arguments.length,r=n?this.value:t;return this.forEach((function(t){this.isRoot&&n||(r=e.call(this,r,t))})),r},r.prototype.paths=function(){var e=[];return this.forEach((function(t){e.push(this.path)})),e},r.prototype.nodes=function(){var e=[];return this.forEach((function(t){e.push(this.node)})),e},r.prototype.clone=function(){var e=[],t=[];return function n(r){for(var o=0;o<e.length;o++)if(e[o]===r)return t[o];if("object"==typeof r&&null!==r){var a=i(r);return e.push(r),t.push(a),s(c(r),(function(e){a[e]=n(r[e])})),e.pop(),t.pop(),a}return r}(this.value)};var c=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function a(e){return Object.prototype.toString.call(e)}var l=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)};s(c(r.prototype),(function(e){n[e]=function(t){var n=[].slice.call(arguments,1),o=new r(t);return o[e].apply(o,n)}}));var u=Object.hasOwnProperty||function(e,t){return t in e}},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n(17),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M12 5V3H3v2h9zm5 4V7H3v2h14zm-5 4v-2H3v2h9zm5 4v-2H3v2h14z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(17),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M14 5V3H6v2h8zm3 4V7H3v2h14zm-3 4v-2H6v2h8zm3 4v-2H3v2h14z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(17),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M17 5V3H8v2h9zm0 4V7H3v2h14zm0 4v-2H8v2h9zm0 4v-2H3v2h14z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(17),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6zM10 1c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16c-3.9 0-7-3.1-7-7s3.1-7 7-7 7 3.1 7 7-3.1 7-7 7zm1-11H9v3H6v2h3v3h2v-3h3V9h-3V6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(17),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(17),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"}));t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"resetBlocks",(function(){return mn})),n.d(r,"resetSelection",(function(){return gn})),n.d(r,"receiveBlocks",(function(){return vn})),n.d(r,"updateBlockAttributes",(function(){return On})),n.d(r,"updateBlock",(function(){return jn})),n.d(r,"selectBlock",(function(){return kn})),n.d(r,"selectPreviousBlock",(function(){return yn})),n.d(r,"selectNextBlock",(function(){return _n})),n.d(r,"startMultiSelect",(function(){return Sn})),n.d(r,"stopMultiSelect",(function(){return En})),n.d(r,"multiSelect",(function(){return Cn})),n.d(r,"clearSelectedBlock",(function(){return wn})),n.d(r,"toggleSelection",(function(){return In})),n.d(r,"replaceBlocks",(function(){return Bn})),n.d(r,"replaceBlock",(function(){return Tn})),n.d(r,"moveBlocksDown",(function(){return Nn})),n.d(r,"moveBlocksUp",(function(){return Ln})),n.d(r,"moveBlockToPosition",(function(){return An})),n.d(r,"insertBlock",(function(){return Rn})),n.d(r,"insertBlocks",(function(){return Dn})),n.d(r,"showInsertionPoint",(function(){return Mn})),n.d(r,"hideInsertionPoint",(function(){return Fn})),n.d(r,"setTemplateValidity",(function(){return Vn})),n.d(r,"synchronizeTemplate",(function(){return Hn})),n.d(r,"mergeBlocks",(function(){return Un})),n.d(r,"removeBlocks",(function(){return zn})),n.d(r,"removeBlock",(function(){return Gn})),n.d(r,"replaceInnerBlocks",(function(){return Kn})),n.d(r,"toggleBlockMode",(function(){return Wn})),n.d(r,"startTyping",(function(){return qn})),n.d(r,"stopTyping",(function(){return $n})),n.d(r,"startDraggingBlocks",(function(){return Yn})),n.d(r,"stopDraggingBlocks",(function(){return Xn})),n.d(r,"enterFormattedText",(function(){return Zn})),n.d(r,"exitFormattedText",(function(){return Jn})),n.d(r,"selectionChange",(function(){return Qn})),n.d(r,"insertDefaultBlock",(function(){return er})),n.d(r,"updateBlockListSettings",(function(){return tr})),n.d(r,"updateSettings",(function(){return nr})),n.d(r,"__unstableSaveReusableBlock",(function(){return rr})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return or})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return ir})),n.d(r,"__unstableMarkAutomaticChange",(function(){return cr})),n.d(r,"setNavigationMode",(function(){return ar})),n.d(r,"duplicateBlocks",(function(){return lr})),n.d(r,"insertBeforeBlock",(function(){return sr})),n.d(r,"insertAfterBlock",(function(){return ur}));var o={};n.r(o),n.d(o,"INSERTER_UTILITY_HIGH",(function(){return pr})),n.d(o,"INSERTER_UTILITY_MEDIUM",(function(){return hr})),n.d(o,"INSERTER_UTILITY_LOW",(function(){return mr})),n.d(o,"INSERTER_UTILITY_NONE",(function(){return gr})),n.d(o,"getBlockName",(function(){return jr})),n.d(o,"isBlockValid",(function(){return kr})),n.d(o,"getBlockAttributes",(function(){return yr})),n.d(o,"getBlock",(function(){return _r})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Sr})),n.d(o,"getBlocks",(function(){return Er})),n.d(o,"getClientIdsOfDescendants",(function(){return Cr})),n.d(o,"getClientIdsWithDescendants",(function(){return wr})),n.d(o,"getGlobalBlockCount",(function(){return Ir})),n.d(o,"getBlocksByClientId",(function(){return xr})),n.d(o,"getBlockCount",(function(){return Br})),n.d(o,"getSelectionStart",(function(){return Tr})),n.d(o,"getSelectionEnd",(function(){return Pr})),n.d(o,"getBlockSelectionStart",(function(){return Nr})),n.d(o,"getBlockSelectionEnd",(function(){return Lr})),n.d(o,"getSelectedBlockCount",(function(){return Ar})),n.d(o,"hasSelectedBlock",(function(){return Rr})),n.d(o,"getSelectedBlockClientId",(function(){return Dr})),n.d(o,"getSelectedBlock",(function(){return Mr})),n.d(o,"getBlockRootClientId",(function(){return Fr})),n.d(o,"getBlockParents",(function(){return Vr})),n.d(o,"getBlockHierarchyRootClientId",(function(){return Hr})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Ur})),n.d(o,"getAdjacentBlockClientId",(function(){return zr})),n.d(o,"getPreviousBlockClientId",(function(){return Gr})),n.d(o,"getNextBlockClientId",(function(){return Kr})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return Wr})),n.d(o,"getSelectedBlockClientIds",(function(){return qr})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return $r})),n.d(o,"getMultiSelectedBlocks",(function(){return Yr})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return Xr})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return Zr})),n.d(o,"isFirstMultiSelectedBlock",(function(){return Jr})),n.d(o,"isBlockMultiSelected",(function(){return Qr})),n.d(o,"isAncestorMultiSelected",(function(){return eo})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return to})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return no})),n.d(o,"getBlockOrder",(function(){return ro})),n.d(o,"getBlockIndex",(function(){return oo})),n.d(o,"isBlockSelected",(function(){return io})),n.d(o,"hasSelectedInnerBlock",(function(){return co})),n.d(o,"isBlockWithinSelection",(function(){return ao})),n.d(o,"hasMultiSelection",(function(){return lo})),n.d(o,"isMultiSelecting",(function(){return so})),n.d(o,"isSelectionEnabled",(function(){return uo})),n.d(o,"getBlockMode",(function(){return fo})),n.d(o,"isTyping",(function(){return bo})),n.d(o,"isDraggingBlocks",(function(){return po})),n.d(o,"isCaretWithinFormattedText",(function(){return ho})),n.d(o,"getBlockInsertionPoint",(function(){return mo})),n.d(o,"isBlockInsertionPointVisible",(function(){return go})),n.d(o,"isValidTemplate",(function(){return vo})),n.d(o,"getTemplate",(function(){return Oo})),n.d(o,"getTemplateLock",(function(){return jo})),n.d(o,"canInsertBlockType",(function(){return yo})),n.d(o,"getInserterItems",(function(){return Eo})),n.d(o,"hasInserterItems",(function(){return Co})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return wo})),n.d(o,"getBlockListSettings",(function(){return Io})),n.d(o,"getSettings",(function(){return xo})),n.d(o,"isLastBlockChangePersistent",(function(){return Bo})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return To})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return Po})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return No})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return Lo})),n.d(o,"isNavigationMode",(function(){return Ro})),n.d(o,"didAutomaticChange",(function(){return Do}));var i=n(9),c=n(24),a=n(55),l=n(48),s=n(5),u=n(11),d=n(0),f=n(10),b=n.n(f),p=n(2),h=n(8),m=n(29),g=n(4),v=n(52),O=n.n(v),j=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{color:n}},k=function(e,t){return Object(p.find)(e,{color:t})};function y(e,t){if(e&&t)return"has-".concat(Object(p.kebabCase)(t),"-").concat(e)}var _=n(13),S=n(12),E=n(14),C=n(15),w=n(7),I=n(16);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=[],P=function(e){return Object(h.createHigherOrderComponent)((function(t){return function(n){return Object(d.createElement)(t,Object(u.a)({},n,{colors:e}))}}),"withCustomColorPalette")},N=function(){return Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{colors:Object(p.get)(t,["colors"],T)}}))};function L(e,t){var n=Object(p.reduce)(e,(function(e,t){return B({},e,{},Object(p.isString)(t)?Object(s.a)({},t,Object(p.kebabCase)(t)):t)}),{});return Object(h.compose)([t,function(e){return function(t){function r(e){var t;return Object(_.a)(this,r),(t=Object(E.a)(this,Object(C.a)(r).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(w.a)(t))},t.state={},t}return Object(I.a)(r,t),Object(S.a)(r,[{key:"getMostReadableColor",value:function(e){return function(e,t){return O.a.mostReadable(t,Object(p.map)(e,"color")).toHexString()}(this.props.colors,e)}},{key:"createSetters",value:function(){var e=this;return Object(p.reduce)(n,(function(t,n,r){var o=Object(p.upperFirst)(r),i="custom".concat(o);return t["set".concat(o)]=e.createSetColor(r,i),t}),{})}},{key:"createSetColor",value:function(e,t){var n=this;return function(r){var o,i=k(n.props.colors,r);n.props.setAttributes((o={},Object(s.a)(o,e,i&&i.slug?i.slug:void 0),Object(s.a)(o,t,i&&i.slug?void 0:r),o))}}},{key:"render",value:function(){return Object(d.createElement)(e,B({},this.props,{colors:void 0},this.state,{},this.setters,{colorUtils:this.colorUtils}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=e.attributes,o=e.colors;return Object(p.reduce)(n,(function(e,n,i){var c=j(o,r[i],r["custom".concat(Object(p.upperFirst)(i))]),a=t[i];return Object(p.get)(a,["color"])===c.color&&a?e[i]=a:e[i]=B({},c,{class:y(n,c.slug)}),e}),{})}}]),r}(d.Component)}])}function A(e){return function(){for(var t=P(e),n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return Object(h.createHigherOrderComponent)(L(r,t),"withCustomColors")}}function R(){for(var e=N(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Object(h.createHigherOrderComponent)(L(n,e),"withColors")}var D=n(18),M=n(19),F=n(20),V=n(45),H=n.n(V),U=n(1),z=n(3),G=Object(z.withFilters)("editor.BlockEdit")((function(e){var t=e.attributes,n=void 0===t?{}:t,r=e.name,o=Object(i.getBlockType)(r);if(!o)return null;var c=Object(i.hasBlockSupport)(o,"className",!0)?Object(i.getBlockDefaultClassName)(r):null,a=b()(c,n.className),l=o.edit||o.save;return Object(d.createElement)(l,Object(u.a)({},e,{className:a}))})),K=Object(d.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:p.noop,clientId:null}),W=K.Provider,q=K.Consumer;function $(){return Object(d.useContext)(K)}var Y=function(e){return Object(h.createHigherOrderComponent)((function(t){return function(n){return Object(d.createElement)(q,null,(function(r){return Object(d.createElement)(t,Object(u.a)({},n,e(r,n)))}))}}),"withBlockEditContext")},X=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(d.createElement)(q,null,(function(n){return n.isSelected&&Object(d.createElement)(e,t)}))}}),"ifBlockEditSelected"),Z=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).propsToContext=H()(e.propsToContext.bind(Object(w.a)(e)),{maxSize:1}),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"propsToContext",value:function(e,t,n,r,o){return{name:e,isSelected:t,clientId:n,onFocus:r,onCaretVerticalPositionChange:o}}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.isSelected,r=e.clientId,o=e.onFocus,i=e.onCaretVerticalPositionChange,c=this.propsToContext(t,n,r,o,i);return Object(d.createElement)(W,{value:c},Object(d.createElement)(G,this.props))}}]),t}(d.Component);function J(e){if(e)return"has-".concat(e,"-gradient-background")}function Q(e,t){var n=Object(p.find)(e,["slug",t]);return n&&n.gradient}function ee(e,t){return Object(p.find)(e,["gradient",t])}function te(e,t){var n=ee(e,t);return n&&n.slug}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.gradientAttribute,n=void 0===t?"gradient":t,r=e.customGradientAttribute,o=void 0===r?"customGradient":r,i=$(),c=i.clientId,a=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockAttributes,i=t.getSettings,a=r(c);return{gradient:a[n],customGradient:a[o],gradients:i().gradients}}),[c,n,o]),l=a.gradients,u=a.gradient,f=a.customGradient,b=Object(g.useDispatch)("core/block-editor"),p=b.updateBlockAttributes,h=Object(d.useCallback)((function(e){var t,r,i=te(l,e);i?p(c,(r={},Object(s.a)(r,n,i),Object(s.a)(r,o,void 0),r)):p(c,(t={},Object(s.a)(t,n,void 0),Object(s.a)(t,o,e),t))}),[l,c,p]),m=J(u);return{gradientClass:m,gradientValue:u?Q(l,u):f,setGradient:h}}function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var oe=Object(U.__)("(Color: %s)"),ie=Object(U.__)("(Gradient: %s)"),ce=["colors","disableCustomColors","gradients","disableCustomGradients"];function ae(e){var t,n,r=e.colors,o=e.gradients,i=e.label,c=e.currentTab,a=e.colorValue,l=e.gradientValue;if("color"===c){if(a){var s=k(r,t=a),u=s&&s.name;n=Object(U.sprintf)(oe,u||t)}}else if("gradient"===c&&l){var f=ee(o,t=l),b=f&&f.name;n=Object(U.sprintf)(ie,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(z.ColorIndicator,{colorValue:t,"aria-label":n}))}function le(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,i=e.className,c=e.label,a=e.onColorChange,l=e.onGradientChange,s=e.colorValue,f=e.gradientValue,h=a&&(!Object(p.isEmpty)(t)||!r),m=l&&(!Object(p.isEmpty)(n)||!o),g=Object(d.useState)(f?"gradient":!!h&&"color"),v=Object(M.a)(g,2),O=v[0],j=v[1];return h||m?Object(d.createElement)(z.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)("fieldset",null,Object(d.createElement)("legend",null,Object(d.createElement)(z.BaseControl.VisualLabel,null,Object(d.createElement)(ae,{currentTab:O,label:c,colorValue:s,gradientValue:f}))),h&&m&&Object(d.createElement)(z.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(z.Button,{isLarge:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return j("color")}},Object(U.__)("Solid Color")),Object(d.createElement)(z.Button,{isLarge:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return j("gradient")}},Object(U.__)("Gradient"))),("color"===O||!m)&&Object(d.createElement)(z.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===O||!h)&&Object(d.createElement)(z.__experimentalGradientPicker,Object(u.a)({value:f,onChange:h?function(e){l(e),a()}:l},{gradients:n,disableCustomGradients:o})))):null}function se(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,ce)}));return Object(d.createElement)(le,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},e))}var ue=function(e){return Object(p.every)(ce,(function(t){return e.hasOwnProperty(t)}))?Object(d.createElement)(le,e):Object(d.createElement)(se,e)};function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=Object(U.__)("(%s: color %s)"),pe=Object(U.__)("(%s: gradient %s)"),he=["colors","disableCustomColors","gradients","disableCustomGradients"],me=function(e){var t=e.colors,n=e.gradients;return e.settings.map((function(e,r){var o,i=e.colorValue,c=e.gradientValue,a=e.label,l=e.colors,s=e.gradients;if(!i&&!c)return null;if(i){var u=k(l||t,i);o=Object(U.sprintf)(be,a.toLowerCase(),u&&u.name||i)}else{var f=ee(s||n,i);o=Object(U.sprintf)(pe,a.toLowerCase(),f&&f.name||c)}return Object(d.createElement)(z.ColorIndicator,{key:r,colorValue:i||c,"aria-label":o})}))},ge=function(e){var t=e.className,n=e.colors,r=e.gradients,o=e.disableCustomColors,i=e.disableCustomGradients,c=e.children,a=e.settings,l=e.title,s=Object(F.a)(e,["className","colors","gradients","disableCustomColors","disableCustomGradients","children","settings","title"]);if(Object(p.isEmpty)(n)&&Object(p.isEmpty)(r)&&o&&i&&Object(p.every)(a,(function(e){return Object(p.isEmpty)(e.colors)&&Object(p.isEmpty)(e.gradients)&&(void 0===e.disableCustomColors||e.disableCustomColors)&&(void 0===e.disableCustomGradients||e.disableCustomGradients)})))return null;var f=Object(d.createElement)("span",{className:"block-editor-panel-color-gradient-settings__panel-title"},l,Object(d.createElement)(me,{colors:n,gradients:r,settings:a}));return Object(d.createElement)(z.PanelBody,Object(u.a)({className:b()("block-editor-panel-color-gradient-settings",t),title:f},s),a.map((function(e,t){return Object(d.createElement)(ue,Object(u.a)({key:t},fe({colors:n,gradients:r,disableCustomColors:o,disableCustomGradients:i},e)))})),c)},ve=function(e){var t=Object(g.useSelect)((function(e){var t=e("core/block-editor").getSettings();return Object(p.pick)(t,he)}));return Object(d.createElement)(ge,fe({},t,{},e))},Oe=function(e){return Object(p.every)(he,(function(t){return e.hasOwnProperty(t)}))?Object(d.createElement)(ge,e):Object(d.createElement)(ve,e)};function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ke=function(e){var t=e.colorSettings,n=Object(F.a)(e,["colorSettings"]),r=t.map((function(e){var t=e.value,n=e.onChange;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(F.a)(e,["value","onChange"]),{colorValue:t,onColorChange:n})}));return Object(d.createElement)(Oe,Object(u.a)({settings:r,gradients:[],disableCustomGradients:!0},n))},ye=n(50);function _e(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()<n.getBrightness()?Object(U.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(U.__)("This color combination may be hard for people to read. Try using a brighter background color and/or a darker text color.");return Object(d.useEffect)((function(){Object(ye.speak)(Object(U.__)("This color combination may be hard for people to read."))}),[r,o]),Object(d.createElement)("div",{className:"block-editor-contrast-checker"},Object(d.createElement)(z.Notice,{status:"warning",isDismissible:!1},i))}var Se=function(e){var t=e.backgroundColor,n=e.fallbackBackgroundColor,r=e.fallbackTextColor,o=e.fontSize,i=e.isLargeText,c=e.textColor;if(!t&&!n||!c&&!r)return null;var a=O()(t||n),l=O()(c||r);return 1!==a.getAlpha()||1!==l.getAlpha()||O.a.isReadable(a,l,{level:"AA",size:i||!1!==i&&o>=24?"large":"small"})?null:Object(d.createElement)(_e,{backgroundColor:t,textColor:c,tinyBackgroundColor:a,tinyTextColor:l})},Ee=Object(z.createSlotFill)("InspectorControls"),Ce=Ee.Fill,we=Ee.Slot,Ie=X(Ce);Ie.Slot=we;var xe=Ie;function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pe=window,Ne=Pe.getComputedStyle,Le=Pe.Node,Ae=[],Re=function(e,t,n){return"function"==typeof e?e(t):!0===e?n:e},De=function(e){var t=e.title,n=e.colorSettings,r=e.colorPanelProps,o=e.contrastCheckers,i=e.detectedBackgroundColor,c=e.detectedColor,a=e.panelChildren,l=e.initialOpen;return Object(d.createElement)(ke,Object(u.a)({title:t,initialOpen:l,colorSettings:Object.values(n)},r),o&&(Array.isArray(o)?o.map((function(e){var t=e.backgroundColor,r=e.textColor,o=Object(F.a)(e,["backgroundColor","textColor"]);return t=Re(t,n,i),r=Re(r,n,c),Object(d.createElement)(Se,Object(u.a)({key:"".concat(t,"-").concat(r),backgroundColor:t,textColor:r},o))})):Object(p.map)(n,(function(e){var t=e.value,r=o.backgroundColor,a=o.textColor;return r=Re(r||t,n,i),a=Re(a||t,n,c),Object(d.createElement)(Se,Object(u.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},Me=function(e){return Object(d.createElement)(xe,null,Object(d.createElement)(De,e))};function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(U.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(U.__)("Color settings"):n,o=t.colorPanelProps,i=t.contrastCheckers,c=t.panelChildren,a=t.colorDetector,l=(a=void 0===a?{}:a).targetRef,u=a.backgroundColorTargetRef,f=void 0===u?l:u,h=a.textColorTargetRef,m=void 0===h?l:h,v=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],O=$(),j=O.clientId,k=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockAttributes,r=(0,t.getSettings)().colors;return{attributes:n(j),settingsColors:r&&!0!==r?r:Ae}}),[j]),y=k.attributes,_=k.settingsColors,S=Object(g.useDispatch)("core/block-editor"),E=S.updateBlockAttributes,C=Object(d.useCallback)((function(e){return E(j,e)}),[E,j]),w=Object(d.useMemo)((function(){return H()((function(e,t,n,r,o,i){return function(c){var a=c.children,l=c.className,u=void 0===l?"":l,f=c.style,h=void 0===f?{}:f;return(d.Children.map(a,(function(c){var a,l={};return r?l=Object(s.a)({},t,o):i&&(l=Object(s.a)({},t,i)),Object(d.cloneElement)(c,{className:b()(u,c.props.className,(a={},Object(s.a)(a,"has-".concat(Object(p.kebabCase)(r),"-").concat(Object(p.kebabCase)(t)),r),Object(s.a)(a,n||"has-".concat(Object(p.kebabCase)(e)),r||i),a)),style:Te({},l,{},h,{},c.props.style||{})})})))}}),{maxSize:e.length})}),[e.length]),I=Object(d.useMemo)((function(){return H()((function(e,t){return function(n){var r=t.find((function(e){return e.color===n}));C(Object(s.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),C(Object(s.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[C,e.length]),x=Object(d.useState)(),B=Object(M.a)(x,2),T=B[0],P=B[1],N=Object(d.useState)(),L=Object(M.a)(N,2),A=L[0],R=L[1];return Object(d.useEffect)((function(){if(i){var e=!1,t=!1,n=!0,r=!1,o=void 0;try{for(var c,a=Object(p.castArray)(i)[Symbol.iterator]();!(n=(c=a.next()).done);n=!0){var l=c.value,s=l.backgroundColor,u=l.textColor;if(e||(e=!0===s),t||(t=!0===u),e&&t)break}}catch(e){r=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw o}}if(t&&R(Ne(m.current).color),e){for(var d=f.current,b=Ne(d).backgroundColor;"rgba(0, 0, 0, 0)"===b&&d.parentNode&&d.parentNode.nodeType===Le.ELEMENT_NODE;)d=d.parentNode,b=Ne(d).backgroundColor;P(b)}}}),[e.reduce((function(e,t){return"".concat(e," | ").concat(y[t.name]," | ").concat(y[Object(p.camelCase)("custom ".concat(t.name))])}),"")].concat(Object(D.a)(v))),Object(d.useMemo)((function(){var t={},n=e.reduce((function(e,n){"string"==typeof n&&(n={name:n});var r=Te({},n,{color:y[n.name]}),o=r.name,i=r.property,c=void 0===i?o:i,a=r.className,l=r.panelLabel,s=void 0===l?Object(p.startCase)(o):l,u=r.componentName,d=void 0===u?s.replace(/\s/g,""):u,f=r.color,b=void 0===f?n.color:f,h=r.colors,m=void 0===h?_:h,g=y[Object(p.camelCase)("custom ".concat(o))],v=g?void 0:m.find((function(e){return e.slug===b}));return e[d]=w(o,c,a,b,v&&v.color,g),e[d].displayName=d,e[d].color=g||v&&v.color,e[d].slug=b,e[d].setColor=I(o,m),t[d]={value:v?v.color:y[Object(p.camelCase)("custom ".concat(o))],onChange:e[d].setColor,label:s,colors:m},m||delete t[d].colors,e}),{}),a={title:r,initialOpen:!1,colorSettings:t,colorPanelProps:o,contrastCheckers:i,detectedBackgroundColor:T,detectedColor:A,panelChildren:c};return Te({},n,{ColorPanel:Object(d.createElement)(De,a),InspectorControlsColorPanel:Object(d.createElement)(Me,a)})}),[y,C,A,T].concat(Object(D.a)(v)))}var Ve=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function He(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var Ue=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(z.FontSizePicker);function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ke=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Object(p.reduce)(t,(function(e,t){return e[t]="custom".concat(Object(p.upperFirst)(t)),e}),{});return Object(h.createHigherOrderComponent)(Object(h.compose)([Object(g.withSelect)((function(e){return{fontSizes:e("core/block-editor").getSettings().fontSizes}})),function(e){return function(t){function n(e){var t;return Object(_.a)(this,n),(t=Object(E.a)(this,Object(C.a)(n).call(this,e))).setters=t.createSetters(),t.state={},t}return Object(I.a)(n,t),Object(S.a)(n,[{key:"createSetters",value:function(){var e=this;return Object(p.reduce)(r,(function(t,n,r){var o=Object(p.upperFirst)(r);return t["set".concat(o)]=e.createSetFontSize(r,n),t}),{})}},{key:"createSetFontSize",value:function(e,t){var n=this;return function(r){var o,i=Object(p.find)(n.props.fontSizes,{size:Number(r)});n.props.setAttributes((o={},Object(s.a)(o,e,i&&i.slug?i.slug:void 0),Object(s.a)(o,t,i&&i.slug?void 0:r),o))}}},{key:"render",value:function(){return Object(d.createElement)(e,Ge({},this.props,{fontSizes:void 0},this.state,{},this.setters))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.attributes,o=e.fontSizes,i=function(e,r){return!t[r]||(n[r]?n[r]!==t[r].slug:t[r].size!==n[e])};if(!Object(p.some)(r,i))return null;var c=Object(p.reduce)(Object(p.pickBy)(r,i),(function(e,t,r){var i=n[r],c=Ve(o,i,n[t]);return e[r]=Ge({},c,{class:He(i)}),e}),{});return Ge({},t,{},c)}}]),n}(d.Component)}]),"withFontSizes")},We=n(250),qe=n(251),$e=n(252);function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Xe=[{icon:We.a,title:Object(U.__)("Align text left"),align:"left"},{icon:qe.a,title:Object(U.__)("Align text center"),align:"center"},{icon:$e.a,title:Object(U.__)("Align text right"),align:"right"}];var Ze=function(e){var t=e.value,n=e.onChange,r=e.alignmentControls,o=void 0===r?Xe:r,i=e.label,c=void 0===i?Object(U.__)("Change text alignment"):i,a=e.isCollapsed,l=void 0===a||a;function u(e){return function(){return n(t===e?void 0:e)}}var f=Object(p.find)(o,(function(e){return e.align===t}));return Object(d.createElement)(z.Toolbar,{isCollapsed:l,icon:f?f.icon:"editor-alignleft",label:c,controls:o.map((function(e){var n=e.align;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{isActive:t===n,role:l?"menuitemradio":void 0,onClick:u(n)})}))})};var Je=Object(h.compose)([Y((function(e){return{blockName:e.name}})),function(e){return function(t){var n=t.completers,r=void 0===n?[]:n;return Object(m.hasFilter)("editor.Autocomplete.completers")&&(r=Object(m.applyFilters)("editor.Autocomplete.completers",r.map(p.clone),t.blockName)),Object(d.createElement)(e,Object(u.a)({},t,{completers:r}))}}])(z.Autocomplete),Qe=n(17),et=Object(d.createElement)(Qe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Qe.Path,{d:"M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z"})),tt=Object(d.createElement)(Qe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Qe.Path,{d:"M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z"})),nt=Object(d.createElement)(Qe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Qe.Path,{d:"M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z"})),rt=Object(d.createElement)(Qe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Qe.Path,{d:"M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z"})),ot=Object(d.createElement)(Qe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Qe.Path,{d:"M17 13V3H3v10h14zM5 17h10v-2H5v2z"}));function it(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ct={left:{icon:et,title:Object(U.__)("Align left")},center:{icon:tt,title:Object(U.__)("Align center")},right:{icon:nt,title:Object(U.__)("Align right")},wide:{icon:rt,title:Object(U.__)("Wide width")},full:{icon:ot,title:Object(U.__)("Full width")}},at=["left","center","right","wide","full"],lt=["wide","full"];var st=Object(h.compose)(Y((function(e){return{clientId:e.clientId}})),Object(g.withSelect)((function(e){return{wideControlsEnabled:(0,e("core/block-editor").getSettings)().alignWide}})))((function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?at:r,i=e.isCollapsed,c=void 0===i||i,a=e.wideControlsEnabled,l=void 0!==a&&a?o:o.filter((function(e){return-1===lt.indexOf(e)})),u=ct[t],f=ct.center;return Object(d.createElement)(z.Toolbar,{isCollapsed:c,icon:u?u.icon:f.icon,label:Object(U.__)("Change alignment"),controls:l.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?it(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},ct[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})}));var ut=Object(g.withSelect)((function(e,t){return{name:(0,e("core/block-editor").getBlockName)(t.clientId)}}))((function(e){var t=e.name;if(!t)return null;var n=Object(i.getBlockType)(t);return n?n.title:null})),dt=function(){var e=Object(g.useDispatch)("core/block-editor"),t=e.selectBlock,n=e.clearSelectedBlock,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectionStart,r=t.getSelectedBlockClientId,o=t.getBlockParents,i=r();return{parents:o(i),clientId:i,hasSelection:!!n().clientId}}),[]),o=r.clientId,i=r.parents,c=r.hasSelection;return Object(d.createElement)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":Object(U.__)("Block breadcrumb")},Object(d.createElement)("li",{className:c?void 0:"block-editor-block-breadcrumb__current","aria-current":c?void 0:"true"},c&&Object(d.createElement)(z.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:n},Object(U.__)("Document")),!c&&Object(U.__)("Document")),i.map((function(e){return Object(d.createElement)("li",{key:e},Object(d.createElement)(z.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:function(){return t(e)}},Object(d.createElement)(ut,{clientId:e})))})),!!o&&Object(d.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(d.createElement)(ut,{clientId:o})))},ft=Object(z.createSlotFill)("BlockControls"),bt=ft.Fill,pt=ft.Slot,ht=X((function(e){var t=e.controls,n=e.children;return Object(d.createElement)(bt,null,Object(d.createElement)(z.Toolbar,{controls:t}),n)}));ht.Slot=pt;var mt=ht,gt=Object(z.createSlotFill)("BlockFormatControls"),vt=gt.Fill,Ot=gt.Slot,jt=X(vt);jt.Slot=Ot;var kt=jt;function yt(e){var t=e.icon,n=e.showColors,r=void 0!==n&&n,o=e.className;"block-default"===Object(p.get)(t,["src"])&&(t={src:Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}))});var i=Object(d.createElement)(z.Icon,{icon:t&&t.src?t.src:t}),c=r?{backgroundColor:t&&t.background,color:t&&t.foreground}:{};return Object(d.createElement)("span",{style:c,className:b()("block-editor-block-icon",o,{"has-colors":r})},i)}var _t=n(176),St=n(253),Et=n(79),Ct=n.n(Et),wt=n(21),It=n(26),xt={insertUsage:{}},Bt={alignWide:!1,colors:[{name:Object(U.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(U.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(U.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(U.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(U.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(U.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(U.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(U.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(U.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"},{name:Object(U.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:Object(U.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(U.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:Object(U._x)("Small","font size name"),size:13,slug:"small"},{name:Object(U._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(U._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(U._x)("Large","font size name"),size:36,slug:"large"},{name:Object(U._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",label:Object(U.__)("Thumbnail")},{slug:"medium",label:Object(U.__)("Medium")},{slug:"large",label:Object(U.__)("Large")},{slug:"full",label:Object(U.__)("Full Size")}],maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,availableLegacyWidgets:{},hasPermissionsToManageWidgets:!1,showInserterHelpPanel:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalEnableLegacyWidgetBlock:!1,__experimentalBlockDirectory:!1,__experimentalEnableFullSiteEditing:!1,__experimentalEnableFullSiteEditingDemo:!1,__experimentalEnablePageTemplates:!1,gradients:[{name:Object(U.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:Object(U.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:Object(U.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:Object(U.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:Object(U.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:Object(U.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:Object(U.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(U.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:Object(U.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:Object(U.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:Object(U.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(U.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}]};function Tt(e,t,n){return[].concat(Object(D.a)(e.slice(0,n)),Object(D.a)(Object(p.castArray)(t)),Object(D.a)(e.slice(n)))}function Pt(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(D.a)(e);return o.splice(t,r),Tt(o,e.slice(t,t+r),n)}function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function At(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(s.a)({},t,[]);return e.forEach((function(e){var r=e.clientId,o=e.innerBlocks;n[t].push(r),Object.assign(n,At(o,r))})),n}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.reduce((function(e,n){return Object.assign(e,Object(s.a)({},n.clientId,t),Rt(n.innerBlocks,n.clientId))}),{})}function Dt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(D.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(F.a)(o,["innerBlocks"]);r.push.apply(r,Object(D.a)(i)),n[c.clientId]=t(c)}return n}function Mt(e){return Dt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function Ft(e){return Dt(e,(function(e){return e.attributes}))}function Vt(e,t){return e===t?Lt({},e):t}function Ht(e,t){return"UPDATE_BLOCK_ATTRIBUTES"===e.type&&void 0!==t&&"UPDATE_BLOCK_ATTRIBUTES"===t.type&&e.clientId===t.clientId&&(n=e.attributes,r=t.attributes,Object(p.isEqual)(Object(p.keys)(n),Object(p.keys)(r)));var n,r}var Ut=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var zt=Object(p.flow)(g.combineReducers,(function(e){return function(t,n){if(t&&"SAVE_REUSABLE_BLOCK_SUCCESS"===n.type){var r=n.id,o=n.updatedId;if(r===o)return t;(t=Lt({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Lt({},e,{ref:o}):e}))}return e(t,n)}}),(function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=e(t,n);if(r===t)return t;r.cache=t.cache?t.cache:{};var o=function(e){return e.reduce((function(e,n){var r=n;do{e.push(r),r=t.parents[r]}while(r);return e}),[])};switch(n.type){case"RESET_BLOCKS":r.cache=Object(p.mapValues)(Dt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Dt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Lt({},r.cache,{},Ut(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Lt({},r.cache,{},Ut(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=Ut(o(n.replacedClientIds));r.cache=Lt({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(c,n.replacedClientIds),{},Ut(Object(p.keys)(Dt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Lt({},Object(p.omit)(r.cache,n.removedClientIds),{},Ut(Object(p.difference)(o(n.clientIds),n.clientIds)));break;case"MOVE_BLOCK_TO_POSITION":var a=[n.clientId];n.fromRootClientId&&a.push(n.fromRootClientId),n.toRootClientId&&a.push(n.toRootClientId),r.cache=Lt({},r.cache,{},Ut(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Lt({},r.cache,{},Ut(o(l)));break;case"SAVE_REUSABLE_BLOCK_SUCCESS":var s=Object(p.keys)(Object(p.omitBy)(r.attributes,(function(e,t){return"core/block"!==r.byClientId[t].name||e.ref!==n.updatedId})));r.cache=Lt({},r.cache,{},Ut(o(s)))}return r}}),(function(e){return function(t,n){var r=function(e){for(var n=e,r=0;r<n.length;r++){var o;t.order[n[r]]&&(n===e&&(n=Object(D.a)(n)),(o=n).push.apply(o,Object(D.a)(t.order[n[r]])))}return n};if(t)switch(n.type){case"REMOVE_BLOCKS":n=Lt({},n,{type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:r(n.clientIds)});break;case"REPLACE_BLOCKS":n=Lt({},n,{type:"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN",replacedClientIds:r(n.clientIds)})}return e(t,n)}}),(function(e){return function(t,n){if("REPLACE_INNER_BLOCKS"!==n.type)return e(t,n);var r=t;t.order[n.rootClientId]&&(r=e(r,{type:"REMOVE_BLOCKS",clientIds:t.order[n.rootClientId]}));var o=r;return n.blocks.length&&(o=e(o,Lt({},n,{type:"INSERT_BLOCKS",index:0}))),o}}),(function(e){return function(t,n){if(t&&"RESET_BLOCKS"===n.type){var r=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.reduce)(t[n],(function(n,r){return[].concat(Object(D.a)(n),[r],Object(D.a)(e(t,r)))}),[])}(t.order);return Lt({},t,{byClientId:Lt({},Object(p.omit)(t.byClientId,r),{},Mt(n.blocks)),attributes:Lt({},Object(p.omit)(t.attributes,r),{},Ft(n.blocks)),order:Lt({},Object(p.omit)(t.order,r),{},At(n.blocks)),parents:Lt({},Object(p.omit)(t.parents,r),{},Rt(n.blocks)),cache:Lt({},Object(p.omit)(t.cache,r),{},Object(p.mapValues)(Dt(n.blocks),(function(){return{}})))})}return e(t,n)}}),(function(e){var t,n=!1;return function(r,o){var i=e(r,o),c="MARK_LAST_CHANGE_AS_PERSISTENT"===o.type||n;if(r===i&&!c){n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type;var a=Object(p.get)(r,["isPersistentChange"],!0);return r.isPersistentChange===a?r:Lt({},i,{isPersistentChange:a})}return i=Lt({},i,{isPersistentChange:c?!n:!Ht(o,t)}),t=o,n="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"===o.type,i}}),(function(e){var t=new Set(["RECEIVE_BLOCKS"]);return function(n,r){var o=e(n,r);return o!==n&&(o.isIgnoredChange=t.has(r.type)),o}}))({byClientId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Mt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Lt({},e,{},Mt(t.blocks));case"UPDATE_BLOCK":if(!e[t.clientId])return e;var n=Object(p.omit)(t.updates,"attributes");return Object(p.isEmpty)(n)?e:Lt({},e,Object(s.a)({},t.clientId,Lt({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Lt({},Object(p.omit)(e,t.replacedClientIds),{},Mt(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},attributes:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Ft(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Lt({},e,{},Ft(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Lt({},e,Object(s.a)({},t.clientId,Lt({},e[t.clientId],{},t.updates.attributes))):e;case"UPDATE_BLOCK_ATTRIBUTES":if(!e[t.clientId])return e;var n=Object(p.reduce)(t.attributes,(function(n,r,o){return r!==n[o]&&((n=Vt(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Lt({},e,Object(s.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Lt({},Object(p.omit)(e,t.replacedClientIds),{},Ft(t.blocks)):e;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e},order:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return At(t.blocks);case"RECEIVE_BLOCKS":return Lt({},e,{},Object(p.omit)(At(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=At(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Lt({},e,{},i,Object(s.a)({},r,Tt(o,i[r],a)));case"MOVE_BLOCK_TO_POSITION":var l,u=t.fromRootClientId,d=void 0===u?"":u,f=t.toRootClientId,b=void 0===f?"":f,h=t.clientId,m=t.index,g=void 0===m?e[b].length:m;if(d===b){var v=e[b],O=v.indexOf(h);return Lt({},e,Object(s.a)({},b,Pt(e[b],O,g)))}return Lt({},e,(l={},Object(s.a)(l,d,Object(p.without)(e[d],h)),Object(s.a)(l,b,Tt(e[b],h,g)),l));case"MOVE_BLOCKS_UP":var j=t.clientIds,k=t.rootClientId,y=void 0===k?"":k,_=Object(p.first)(j),S=e[y];if(!S.length||_===Object(p.first)(S))return e;var E=S.indexOf(_);return Lt({},e,Object(s.a)({},y,Pt(S,E,E-1,j.length)));case"MOVE_BLOCKS_DOWN":var C=t.clientIds,w=t.rootClientId,I=void 0===w?"":w,x=Object(p.first)(C),B=Object(p.last)(C),T=e[I];if(!T.length||B===Object(p.last)(T))return e;var P=T.indexOf(x);return Lt({},e,Object(s.a)({},I,Pt(T,P,P+1,C.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var L=At(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Lt({},e,{},Object(p.omit)(L,""))},function(e){return Object(p.mapValues)(e,(function(e){return Object(p.reduce)(e,(function(e,t){return t===N[0]?[].concat(Object(D.a)(e),Object(D.a)(L[""])):(-1===N.indexOf(t)&&e.push(t),e)}),[])}))}])(e);case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.flow)([function(e){return Object(p.omit)(e,t.removedClientIds)},function(e){return Object(p.mapValues)(e,(function(e){return p.without.apply(void 0,[e].concat(Object(D.a)(t.removedClientIds)))}))}])(e)}return e},parents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"RESET_BLOCKS":return Rt(t.blocks);case"RECEIVE_BLOCKS":return Lt({},e,{},Rt(t.blocks));case"INSERT_BLOCKS":return Lt({},e,{},Rt(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Lt({},e,Object(s.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Lt({},Object(p.omit)(e,t.replacedClientIds),{},Rt(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function Gt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return t.updateSelection?{clientId:t.blocks[0].clientId}:e;case"REMOVE_BLOCKS":return t.clientIds&&t.clientIds.length&&-1!==t.clientIds.indexOf(e.clientId)?{}:e;case"REPLACE_BLOCKS":if(-1===t.clientIds.indexOf(e.clientId))return e;var n=t.indexToSelect||t.blocks.length-1,r=t.blocks[n];return r?r.clientId===e.clientId?e:{clientId:r.clientId}:{}}return e}var Kt=Object(g.combineReducers)({blocks:zt,isTyping:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e},isDraggingBlocks:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_DRAGGING_BLOCKS":return!0;case"STOP_DRAGGING_BLOCKS":return!1}return e},isCaretWithinFormattedText:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"ENTER_FORMATTED_TEXT":return!0;case"EXIT_FORMATTED_TEXT":return!1}return e},selectionStart:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset};case"RESET_SELECTION":return t.selectionStart;case"MULTI_SELECT":return{clientId:t.start}}return Gt(e,t)},selectionEnd:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SELECTION_CHANGE":return{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset};case"RESET_SELECTION":return t.selectionEnd;case"MULTI_SELECT":return{clientId:t.end}}return Gt(e,t)},isMultiSelecting:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e},isSelectionEnabled:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e},initialPosition:function(e,t){return"SELECT_BLOCK"===t.type?t.initialPosition:"REMOVE_BLOCKS"===t.type?e:void 0},blocksMode:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("TOGGLE_BLOCK_MODE"===t.type){var n=t.clientId;return Lt({},e,Object(s.a)({},n,e[n]&&"html"===e[n]?"visual":"html"))}return e},blockListSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object(p.omit)(e,t.clientIds);case"UPDATE_BLOCK_LIST_SETTINGS":var n=t.clientId;return t.settings?Object(p.isEqual)(e[n],t.settings)?e:Lt({},e,Object(s.a)({},n,t.settings)):e.hasOwnProperty(n)?Object(p.omit)(e,n):e}return e},insertionPoint:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SHOW_INSERTION_POINT":var n=t.rootClientId,r=t.index;return{rootClientId:n,index:r};case"HIDE_INSERTION_POINT":return null}return e},template:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{isValid:!0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_TEMPLATE_VALIDITY":return Lt({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Bt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Lt({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":return t.blocks.reduce((function(e,n){var r=n.name,o={name:n.name};return Object(i.isReusableBlock)(n)&&(o.ref=n.attributes.ref,r+="/"+n.attributes.ref),Lt({},e,{insertUsage:Lt({},e.insertUsage,Object(s.a)({},r,{time:t.time,count:e.insertUsage[r]?e.insertUsage[r].count+1:1,insert:o}))})}),e)}return e},lastBlockAttributesChange:function(e,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return Object(s.a)({},t.clientId,t.updates.attributes);case"UPDATE_BLOCK_ATTRIBUTES":return Object(s.a)({},t.clientId,t.attributes)}return null},isNavigationMode:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return"INSERT_BLOCKS"!==t.type&&("SET_NAVIGATION_MODE"===t.type?t.isNavigationMode:e)},automaticChangeStatus:function(e,t){switch(t.type){case"MARK_AUTOMATIC_CHANGE":return"pending";case"MARK_AUTOMATIC_CHANGE_FINAL":return"pending"===e?"final":void 0;case"SELECTION_CHANGE":return"final"!==e?e:void 0;case"STOP_TYPING":return e}}}),Wt=n(86),qt=n.n(Wt),$t=n(230),Yt=n.n($t),Xt=n(31),Zt=n(23),Jt=n.n(Zt);function Qt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{type:"SELECT",storeName:e,selectorName:t,args:r}}var en={SELECT:Object(g.createRegistryControl)((function(e){return function(t){var n,r=t.storeName,o=t.selectorName,i=t.args;return(n=e.select(r))[o].apply(n,Object(D.a)(i))}}))};function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rn=Jt.a.mark(hn),on=Jt.a.mark(yn),cn=Jt.a.mark(_n),an=Jt.a.mark(Bn),ln=Jt.a.mark(An),sn=Jt.a.mark(Dn),un=Jt.a.mark(zn),dn=Jt.a.mark(ar),fn=Jt.a.mark(lr),bn=Jt.a.mark(sr),pn=Jt.a.mark(ur);function hn(){return Jt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Qt("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,er();case 6:case"end":return e.stop()}}),rn)}function mn(e){return{type:"RESET_BLOCKS",blocks:e}}function gn(e,t){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t}}function vn(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function On(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function jn(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function yn(e){var t;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Qt("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,kn(t,-1);case 6:case"end":return n.stop()}}),on)}function _n(e){var t;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Qt("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,kn(t);case 6:case"end":return n.stop()}}),cn)}function Sn(){return{type:"START_MULTI_SELECT"}}function En(){return{type:"STOP_MULTI_SELECT"}}function Cn(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function wn(){return{type:"CLEAR_SELECTED_BLOCK"}}function In(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function xn(e,t){var n=Object(p.get)(t,["__experimentalPreferredStyleVariations","value"],{});return e.map((function(e){var t=e.name;if(!n[t])return e;var r=Object(p.get)(e,["attributes","className"]);if(Object(p.includes)(r,"is-style-"))return e;var o=e.attributes,i=void 0===o?{}:o,c=n[t];return nn({},e,{attributes:nn({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Bn(e,t,n){var r,o,i;return Jt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=xn,c.t1=Object(p.castArray)(t),c.next=5,Qt("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,Qt("core/block-editor","getBlockRootClientId",Object(p.first)(e));case 9:r=c.sent,o=0;case 11:if(!(o<t.length)){c.next=21;break}return i=t[o],c.next=15,Qt("core/block-editor","canInsertBlockType",i.name,r);case 15:if(c.sent){c.next=18;break}return c.abrupt("return");case 18:o++,c.next=11;break;case 21:return c.next=23,{type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:n};case 23:return c.delegateYield(hn(),"t3",24);case 24:case"end":return c.stop()}}),an)}function Tn(e,t){return Bn(e,t)}function Pn(e){return function(t,n){return{clientIds:Object(p.castArray)(t),type:e,rootClientId:n}}}var Nn=Pn("MOVE_BLOCKS_DOWN"),Ln=Pn("MOVE_BLOCKS_UP");function An(e){var t,n,r,o,i,c,a=arguments;return Jt.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return t=a.length>1&&void 0!==a[1]?a[1]:"",n=a.length>2&&void 0!==a[2]?a[2]:"",r=a.length>3?a[3]:void 0,l.next=5,Qt("core/block-editor","getTemplateLock",t);case 5:if("all"!==(o=l.sent)){l.next=8;break}return l.abrupt("return");case 8:if(i={type:"MOVE_BLOCK_TO_POSITION",fromRootClientId:t,toRootClientId:n,clientId:e,index:r},t!==n){l.next=13;break}return l.next=12,i;case 12:return l.abrupt("return");case 13:if("insert"!==o){l.next=15;break}return l.abrupt("return");case 15:return l.next=17,Qt("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,Qt("core/block-editor","canInsertBlockType",c,n);case 20:if(!l.sent){l.next=24;break}return l.next=24,i;case 24:case"end":return l.stop()}}),ln)}function Rn(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Dn([e],t,n,r)}function Dn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return Jt.a.wrap((function(f){for(;;)switch(f.prev=f.next){case 0:return r=!(d.length>3&&void 0!==d[3])||d[3],f.t0=xn,f.t1=Object(p.castArray)(e),f.next=5,Qt("core/block-editor","getSettings");case 5:f.t2=f.sent,e=(0,f.t0)(f.t1,f.t2),o=[],i=!0,c=!1,a=void 0,f.prev=11,l=e[Symbol.iterator]();case 13:if(i=(s=l.next()).done){f.next=22;break}return u=s.value,f.next=17,Qt("core/block-editor","canInsertBlockType",u.name,n);case 17:f.sent&&o.push(u);case 19:i=!0,f.next=13;break;case 22:f.next=28;break;case 24:f.prev=24,f.t3=f.catch(11),c=!0,a=f.t3;case 28:f.prev=28,f.prev=29,i||null==l.return||l.return();case 31:if(f.prev=31,!c){f.next=34;break}throw a;case 34:return f.finish(31);case 35:return f.finish(28);case 36:if(!o.length){f.next=38;break}return f.abrupt("return",{type:"INSERT_BLOCKS",blocks:o,index:t,rootClientId:n,time:Date.now(),updateSelection:r});case 38:case"end":return f.stop()}}),sn,null,[[11,24,28,36],[29,,31,35]])}function Mn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Fn(){return{type:"HIDE_INSERTION_POINT"}}function Vn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Hn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Un(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function zn(e){var t,n,r=arguments;return Jt.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t=!(r.length>1&&void 0!==r[1])||r[1],e&&e.length){o.next=3;break}return o.abrupt("return");case 3:return e=Object(p.castArray)(e),o.next=6,Qt("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,Qt("core/block-editor","getTemplateLock",n);case 9:if(!o.sent){o.next=12;break}return o.abrupt("return");case 12:if(!t){o.next=15;break}return o.next=15,yn(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(hn(),"t0",18);case 18:case"end":return o.stop()}}),un)}function Gn(e,t){return zn([e],t)}function Kn(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:n,time:Date.now()}}function Wn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function qn(){return{type:"START_TYPING"}}function $n(){return{type:"STOP_TYPING"}}function Yn(){return{type:"START_DRAGGING_BLOCKS"}}function Xn(){return{type:"STOP_DRAGGING_BLOCKS"}}function Zn(){return{type:"ENTER_FORMATTED_TEXT"}}function Jn(){return{type:"EXIT_FORMATTED_TEXT"}}function Qn(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function er(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Rn(Object(i.createBlock)(r,e),n,t)}function tr(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function nr(e){return{type:"UPDATE_SETTINGS",settings:e}}function rr(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function or(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function ir(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function cr(){return{type:"MARK_AUTOMATIC_CHANGE"}}function ar(){var e,t=arguments;return Jt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=!(t.length>0&&void 0!==t[0])||t[0],n.next=3,{type:"SET_NAVIGATION_MODE",isNavigationMode:e};case 3:e?Object(ye.speak)(Object(U.__)("You are currently in navigation mode. Navigate blocks using the Tab key. To exit navigation mode and edit the selected block, press Enter.")):Object(ye.speak)(Object(U.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),dn)}function lr(e){var t,n,r,o,c;return Jt.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(e||e.length){a.next=2;break}return a.abrupt("return");case 2:return a.next=4,Qt("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,Qt("core/block-editor","getBlockRootClientId",e[0]);case 7:if(n=a.sent,!Object(p.some)(t,(function(e){return!e}))){a.next=10;break}return a.abrupt("return");case 10:if(r=t.map((function(e){return e.name})),!Object(p.some)(r,(function(e){return!Object(i.hasBlockSupport)(e,"multiple",!0)}))){a.next=13;break}return a.abrupt("return");case 13:return a.next=15,Qt("core/block-editor","getBlockIndex",Object(p.last)(Object(p.castArray)(e)),n);case 15:return o=a.sent,c=t.map((function(e){return Object(i.cloneBlock)(e)})),a.next=19,Dn(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,Cn(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),fn)}function sr(e){var t,n;return Jt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Qt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Qt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Qt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,er({},t,n);case 15:case"end":return r.stop()}}),bn)}function ur(e){var t,n;return Jt.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(e){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,Qt("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,Qt("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,Qt("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,er({},t,n+1);case 15:case"end":return r.stop()}}),pn)}var dr=n(39);function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fr(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pr=3,hr=2,mr=1,gr=0,vr=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(z.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(d.createElement)(z.G,null,Object(d.createElement)(z.Path,{d:"M19 3H5c-1.105 0-2 .895-2 2v14c0 1.105.895 2 2 2h14c1.105 0 2-.895 2-2V5c0-1.105-.895-2-2-2zM6 6h5v5H6V6zm4.5 13C9.12 19 8 17.88 8 16.5S9.12 14 10.5 14s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zm3-6l3-5 3 5h-6z"}))),Or=[];function jr(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function kr(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function yr(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var _r=Object(dr.a)((function(e,t){var n=e.blocks.byClientId[t];return n?br({},n,{attributes:yr(e,t),innerBlocks:Er(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Sr=Object(dr.a)((function(e,t){var n=e.blocks.byClientId[t];return n?br({},n,{attributes:yr(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),Er=Object(dr.a)((function(e,t){return Object(p.map)(ro(e,t),(function(t){return _r(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Cr=function e(t,n){return Object(p.flatMap)(n,(function(n){var r=ro(t,n);return[].concat(Object(D.a)(r),Object(D.a)(e(t,r)))}))},wr=Object(dr.a)((function(e){var t=ro(e);return[].concat(Object(D.a)(t),Object(D.a)(Cr(e,t)))}),(function(e){return[e.blocks.order]})),Ir=Object(dr.a)((function(e,t){var n=wr(e);return t?Object(p.reduce)(n,(function(n,r){return e.blocks.byClientId[r].name===t?n+1:n}),0):n.length}),(function(e){return[e.blocks.order,e.blocks.byClientId]})),xr=Object(dr.a)((function(e,t){return Object(p.map)(Object(p.castArray)(t),(function(t){return _r(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function Br(e,t){return ro(e,t).length}function Tr(e){return e.selectionStart}function Pr(e){return e.selectionEnd}function Nr(e){return e.selectionStart.clientId}function Lr(e){return e.selectionEnd.clientId}function Ar(e){var t=$r(e).length;return t||(e.selectionStart.clientId?1:0)}function Rr(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function Dr(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function Mr(e){var t=Dr(e);return t?_r(e,t):null}function Fr(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Vr=Object(dr.a)((function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[],o=t;e.blocks.parents[o];)o=e.blocks.parents[o],r.push(o);return n?r:r.reverse()}),(function(e){return[e.blocks.parents]}));function Hr(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Ur(e,t){for(var n,r=Dr(e),o=[].concat(Object(D.a)(Vr(e,t)),[t]),i=[].concat(Object(D.a)(Vr(e,r)),[r]),c=Math.min(o.length,i.length),a=0;a<c&&o[a]===i[a];a++)n=o[a];return n}function zr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Dr(e)),void 0===t&&(t=n<0?Xr(e):Zr(e)),!t)return null;var r=Fr(e,t);if(null===r)return null;var o=e.blocks.order,i=o[r],c=i.indexOf(t),a=c+1*n;return a<0?null:a===i.length?null:i[a]}function Gr(e,t){return zr(e,t,-1)}function Kr(e,t){return zr(e,t,1)}function Wr(e){return e.initialPosition}var qr=Object(dr.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return Or;if(t.clientId===n.clientId)return[t.clientId];var r=Fr(e,t.clientId);if(null===r)return Or;var o=ro(e,r),i=o.indexOf(t.clientId),c=o.indexOf(n.clientId);return i>c?o.slice(c,i+1):o.slice(i,c+1)}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function $r(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?Or:qr(e)}var Yr=Object(dr.a)((function(e){var t=$r(e);return t.length?t.map((function(t){return _r(e,t)})):Or}),(function(e){return[].concat(Object(D.a)(qr.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Xr(e){return Object(p.first)($r(e))||null}function Zr(e){return Object(p.last)($r(e))||null}function Jr(e,t){return Xr(e)===t}function Qr(e,t){return-1!==$r(e).indexOf(t)}var eo=Object(dr.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=Qr(e,n=Fr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function to(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function no(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function ro(e,t){return e.blocks.order[t||""]||Or}function oo(e,t,n){return ro(e,n).indexOf(t)}function io(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function co(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(ro(e,t),(function(t){return io(e,t)||Qr(e,t)||n&&co(e,t,n)}))}function ao(e,t){if(!t)return!1;var n=$r(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function lo(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId!==n.clientId}function so(e){return e.isMultiSelecting}function uo(e){return e.isSelectionEnabled}function fo(e,t){return e.blocksMode[t]||"visual"}function bo(e){return e.isTyping}function po(e){return e.isDraggingBlocks}function ho(e){return e.isCaretWithinFormattedText}function mo(e){var t,n,r=e.insertionPoint,o=e.selectionEnd;if(null!==r)return r;var i=o.clientId;return i?(t=Fr(e,i)||void 0,n=oo(e,o.clientId,t)+1):n=ro(e).length,{rootClientId:t,index:n}}function go(e){return null!==e.insertionPoint}function vo(e){return e.template.isValid}function Oo(e){return e.settings.template}function jo(e,t){if(!t)return e.settings.templateLock;var n=Io(e,t);return n?n.templateLock:null}var ko=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object(p.isBoolean)(e)?e:Object(p.isArray)(e)?!(!Object(p.includes)(e,"core/post-content")||null!==t)||Object(p.includes)(e,t):n},o=Object(i.getBlockType)(t);if(!o)return!1;var c=xo(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!jo(e,n);if(s)return!1;var u=Io(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=jr(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},yo=Object(dr.a)(ko,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function _o(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var So=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&ko(e,t.name,n)},Eo=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?pr:t>0?hr:"common"===e?mr:gr},r=function(e,t){if(!e)return t;var n=Date.now()-e;switch(!0){case n<36e5:return 4*t;case n<864e5:return 2*t;case n<6048e5:return t/2;default:return t/4}},o=function(t){var o=t.name,c=!1;Object(i.hasBlockSupport)(t.name,"multiple",!0)||(c=Object(p.some)(xr(e,wr(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=_o(e,o)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=t.variations.filter((function(e){var t=e.scope;return!t||t.includes("inserter")}));return{id:o,name:t.name,initialAttributes:{},title:t.title,description:t.description,icon:t.icon,category:t.category,keywords:t.keywords,variations:f,example:t.example,isDisabled:c,utility:n(t.category,d,a),frecency:r(s,d)}},c=function(t){var o,c="core/block/".concat(t.id),a=Po(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=_o(e,c)||{},s=l.time,u=l.count,d=void 0===u?0:u,f=n("reusable",d,!1),b=r(s,d);return{id:c,name:"core/block",initialAttributes:{ref:t.id},title:t.title,icon:o?o.icon:vr,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return So(e,n,t)})).map(o),l=ko(e,"core/block",t)?Ao(e).map(c):[];return Object(p.orderBy)([].concat(Object(D.a)(a),Object(D.a)(l)),["utility","frecency"],["desc","desc"])}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.blocks.order,e.preferences.insertUsage,e.settings.allowedBlockTypes,e.settings.templateLock,Ao(e),Object(i.getBlockTypes)()]})),Co=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(p.some)(Object(i.getBlockTypes)(),(function(n){return So(e,n,t)}));if(n)return!0;var r=ko(e,"core/block",t)&&Ao(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Ao(e),Object(i.getBlockTypes)()]})),wo=Object(dr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return Object(p.filter)(Object(i.getBlockTypes)(),(function(n){return So(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Io(e,t){return e.blockListSettings[t]}function xo(e){return e.settings}function Bo(e){return e.blocks.isPersistentChange}var To=Object(dr.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),Po=Object(dr.a)((function(e,t){var n=Object(p.find)(Ao(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Ao(e)]}));function No(e){return e.blocks.isIgnoredChange}function Lo(e){return e.lastBlockAttributesChange}function Ao(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],Or)}function Ro(e){return e.isNavigationMode}function Do(e){return!!e.automaticChangeStatus}function Mo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mo(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Vo={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(M.a)(e.blocks,2),a=o[0],l=o[1],s=_r(r,a),u=Object(i.getBlockType)(s.name);if(u.merge){var d=_r(r,l),f=Object(i.getBlockType)(d.name),b=Tr(r),h=b.clientId,m=b.attributeKey,g=b.offset,v=(h===a?u:f).attributes[m],O=(h===a||h===l)&&void 0!==m&&void 0!==g&&!!v;v||("number"==typeof m?window.console.error("RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ".concat(Object(Xt.a)(m))):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));var j=Object(i.cloneBlock)(s),k=Object(i.cloneBlock)(d);if(O){var y=h===a?j:k,_=y.attributes[m],S=v.multiline,E=v.__unstableMultilineWrapperTags,C=v.__unstablePreserveWhiteSpace,w=Object(c.insert)(Object(c.create)({html:_,multilineTag:S,multilineWrapperTags:E,preserveWhiteSpace:C}),"†",g,g);y.attributes[m]=Object(c.toHTMLString)({value:w,multilineTag:S,preserveWhiteSpace:C})}var I=s.name===d.name?[k]:Object(i.switchToBlockType)(k,s.name);if(I&&I.length){var x=u.merge(j.attributes,I[0].attributes);if(O){var B=Object(p.findKey)(x,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),T=x[B],P=u.attributes[B],N=P.multiline,L=P.__unstableMultilineWrapperTags,A=P.__unstablePreserveWhiteSpace,R=Object(c.create)({html:T,multilineTag:N,multilineWrapperTags:L,preserveWhiteSpace:A}),F=R.text.indexOf("†"),V=Object(c.remove)(R,F,F+1),H=Object(c.toHTMLString)({value:V,multilineTag:N,preserveWhiteSpace:A});x[B]=H,n(Qn(s.clientId,B,F,F))}n(Bn([s.clientId,d.clientId],[Fo({},s,{attributes:Fo({},s.attributes,{},x)})].concat(Object(D.a)(I.slice(1)))))}}else n(kn(s.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=Oo(n),o=jo(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==vo(n))return Vn(c)}],MULTI_SELECT:function(e,t){var n=Ar((0,t.getState)());Object(ye.speak)(Object(U.sprintf)(Object(U._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=Er(n),o=Oo(n);return mn(Object(i.synchronizeBlocksWithTemplate)(r,o))},MARK_AUTOMATIC_CHANGE:function(e,t){var n=window,r=n.setTimeout,o=n.requestIdleCallback;(void 0===o?function(e){return r(e,100)}:o)((function(){t.dispatch({type:"MARK_AUTOMATIC_CHANGE_FINAL"})}))}};var Ho=function(e){var t,n=[qt()(Vo),Yt.a],r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}};return t=n.map((function(e){return e(o)})),r=p.flowRight.apply(void 0,Object(D.a)(t))(e.dispatch),e.dispatch=r,e};function Uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var zo={reducer:Kt,selectors:o,actions:r,controls:en},Go=Object(g.registerStore)("core/block-editor",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},zo,{persist:["preferences"]}));Ho(Go);var Ko=Object(h.createHigherOrderComponent)((function(e){return Object(g.withRegistry)((function(t){var n=t.useSubRegistry,r=void 0===n||n,o=t.registry,i=Object(F.a)(t,["useSubRegistry","registry"]);if(!r)return Object(d.createElement)(e,Object(u.a)({registry:o},i));var c=Object(d.useState)(null),a=Object(M.a)(c,2),l=a[0],s=a[1];return Object(d.useEffect)((function(){var e=Object(g.createRegistry)({},o),t=e.registerStore("core/block-editor",zo);Ho(t),s(e)}),[o]),l?Object(d.createElement)(g.RegistryProvider,{value:l},Object(d.createElement)(e,Object(u.a)({registry:l},i))):null}))}),"withRegistryProvider"),Wo=function(e){function t(){return Object(_.a)(this,t),Object(E.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(S.a)(t,[{key:"componentDidMount",value:function(){this.props.updateSettings(this.props.settings),this.props.resetBlocks(this.props.value),this.attachChangeObserver(this.props.registry),this.isSyncingOutcomingValue=[]}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.settings,r=t.updateSettings,o=t.value,i=t.resetBlocks,c=t.selectionStart,a=t.selectionEnd,l=t.resetSelection,s=t.registry;n!==e.settings&&r(n),s!==e.registry&&this.attachChangeObserver(s),this.isSyncingOutcomingValue.includes(o)?Object(p.last)(this.isSyncingOutcomingValue)===o&&(this.isSyncingOutcomingValue=[]):o!==e.value&&(this.isSyncingOutcomingValue=[],this.isSyncingIncomingValue=o,i(o),c&&a&&l(c,a))}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"attachChangeObserver",value:function(e){var t=this;this.unsubscribe&&this.unsubscribe();var n=e.select("core/block-editor"),r=n.getBlocks,o=n.getSelectionStart,i=n.getSelectionEnd,c=n.isLastBlockChangePersistent,a=n.__unstableIsLastBlockChangeIgnored,l=r(),s=c();this.unsubscribe=e.subscribe((function(){var e=t.props,n=e.onChange,u=void 0===n?p.noop:n,d=e.onInput,f=void 0===d?p.noop:d,b=r(),h=c();if(b!==l&&(t.isSyncingIncomingValue||a()))return t.isSyncingIncomingValue=null,l=b,void(s=h);if(b!==l||h&&!s){b!==l&&t.isSyncingOutcomingValue.push(b),l=b,s=h;var m=o(),g=i();s?u(l,{selectionStart:m,selectionEnd:g}):f(l,{selectionStart:m,selectionEnd:g})}}))}},{key:"render",value:function(){return this.props.children}}]),t}(d.Component),qo=Object(h.compose)([Ko,Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(Wo),$o=n(74),Yo=n(27);var Xo=function(e){var t=e.className,n=e.actions,r=e.children,o=e.secondaryActions;return Object(d.createElement)("div",{className:b()(t,"block-editor-warning")},Object(d.createElement)("div",{className:"block-editor-warning__contents"},Object(d.createElement)("p",{className:"block-editor-warning__message"},r),d.Children.count(n)>0&&Object(d.createElement)("div",{className:"block-editor-warning__actions"},d.Children.map(n,(function(e,t){return Object(d.createElement)("span",{key:t,className:"block-editor-warning__action"},e)})))),o&&Object(d.createElement)(z.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.Button,{icon:"ellipsis",label:Object(U.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(z.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(z.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},Zo=n(231),Jo=function(e){var t=e.title,n=e.rawContent,r=e.renderedContent,o=e.action,i=e.actionText,c=e.className;return Object(d.createElement)("div",{className:c},Object(d.createElement)("div",{className:"block-editor-block-compare__content"},Object(d.createElement)("h2",{className:"block-editor-block-compare__heading"},t),Object(d.createElement)("div",{className:"block-editor-block-compare__html"},n),Object(d.createElement)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor"},r)),Object(d.createElement)("div",{className:"block-editor-block-compare__action"},Object(d.createElement)(z.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},Qo=function(e){function t(){return Object(_.a)(this,t),Object(E.a)(this,Object(C.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(S.a)(t,[{key:"getDifference",value:function(e,t){return Object(Zo.diffChars)(e,t).map((function(e,t){var n=b()({"block-editor-block-compare__added":e.added,"block-editor-block-compare__removed":e.removed});return Object(d.createElement)("span",{key:t,className:n},e.value)}))}},{key:"getOriginalContent",value:function(e){return{rawContent:e.originalContent,renderedContent:Object(i.getSaveElement)(e.name,e.attributes)}}},{key:"getConvertedContent",value:function(e){var t=Object(p.castArray)(e),n=t.map((function(e){return Object(i.getSaveContent)(e.name,e.attributes,e.innerBlocks)})),r=t.map((function(e){return Object(i.getSaveElement)(e.name,e.attributes,e.innerBlocks)}));return{rawContent:n.join(""),renderedContent:r}}},{key:"render",value:function(){var e=this.props,t=e.block,n=e.onKeep,r=e.onConvert,o=e.convertor,i=e.convertButtonText,c=this.getOriginalContent(t),a=this.getConvertedContent(o(t)),l=this.getDifference(c.rawContent,a.rawContent);return Object(d.createElement)("div",{className:"block-editor-block-compare__wrapper"},Object(d.createElement)(Jo,{title:Object(U.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(U.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(d.createElement)(Jo,{title:Object(U.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),ei=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(E.a)(this,Object(C.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(w.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(w.a)(n)),n}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onCompare",value:function(){this.setState({compare:!0})}},{key:"onCompareClose",value:function(){this.setState({compare:!1})}},{key:"render",value:function(){var e=this.props,t=e.convertToHTML,n=e.convertToBlocks,r=e.convertToClassic,o=e.attemptBlockRecovery,c=e.block,a=!!Object(i.getBlockType)("core/html"),l=this.state.compare,s=[{title:Object(U.__)("Convert to Classic Block"),onClick:r},{title:Object(U.__)("Attempt Block Recovery"),onClick:o}];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Xo,{actions:[Object(d.createElement)(z.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(U._x)("Resolve","imperative verb")),a&&Object(d.createElement)(z.Button,{key:"edit",onClick:t,isPrimary:!0},Object(U.__)("Convert to HTML"))],secondaryActions:s},Object(U.__)("This block contains unexpected or invalid content.")),l&&Object(d.createElement)(z.Modal,{title:Object(U.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(Qo,{block:c,onKeep:t,onConvert:n,convertor:ti,convertButtonText:Object(U.__)("Convert to Blocks")})))}}]),t}(d.Component),ti=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},ni=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId;return{block:e("core/block-editor").getBlock(n)}})),Object(g.withDispatch)((function(e,t){var n=t.block,r=e("core/block-editor").replaceBlock;return{convertToClassic:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/freeform",{content:e.originalContent})}(n))},convertToHTML:function(){r(n.clientId,function(e){return Object(i.createBlock)("core/html",{content:e.originalContent})}(n))},convertToBlocks:function(){r(n.clientId,ti(n))},attemptBlockRecovery:function(){var e,t,o,c;r(n.clientId,(t=(e=n).name,o=e.attributes,c=e.innerBlocks,Object(i.createBlock)(t,o,c)))}}}))])(ei),ri=Object(d.createElement)(Xo,{className:"block-editor-block-list__block-crash-warning"},Object(U.__)("This block has encountered an error and cannot be previewed.")),oi=function(){return ri},ii=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"componentDidCatch",value:function(e){this.props.onError(e),this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?null:this.props.children}}]),t}(d.Component),ci=n(72),ai=n.n(ci);var li=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(M.a)(n,2),o=r[0],c=r[1],a=Object(g.useSelect)((function(e){return{block:e("core/block-editor").getBlock(t)}}),[t]).block,l=Object(g.useDispatch)("core/block-editor").updateBlock;return Object(d.useEffect)((function(){c(Object(i.getBlockContent)(a))}),[a]),Object(d.createElement)(ai.a,{className:"block-editor-block-list__block-html-textarea",value:o,onBlur:function(){var e=Object(i.getBlockType)(a.name),n=Object(i.getBlockAttributes)(e,o,a.attributes),r=o||Object(i.getSaveContent)(e,n),s=!o||Object(i.isValidBlockContent)(e,n,r);l(t,{attributes:n,originalContent:r,isValid:s}),o||c({content:r})},onChange:function(e){return c(e.target.value)}})};function si(e){return document.getElementById("block-"+e)}function ui(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function di(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var fi=function(e){return e+1},bi=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var pi=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(fi,0),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(fi,0),f=Object(M.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(M.a)(m,2),v=g[0],O=g[1],j=e.current?bi(e.current):null,k=Object(d.useMemo)((function(){return!!n&&Object(Yo.getScrollContainer)(e.current)}),[n]);Object(d.useLayoutEffect)((function(){l&&p()}),[l]),Object(d.useLayoutEffect)((function(){if(i){if(n&&k){e.current.style.transform="none";var t=bi(e.current);k.scrollTop=k.scrollTop-j.top+t.top}}else{e.current.style.transform="none";var r=bi(e.current),o={x:j?j.left-r.left:0,y:j?j.top-r.top:0,scrollTop:j&&k?k.scrollTop-j.top+r.top:0};e.current.style.transform=0===o.x&&0===o.y?void 0:"translate3d(".concat(o.x,"px,").concat(o.y,"px,0)"),s(),O(o)}}),[o]);var y=Object($o.useSpring)({from:{x:v.x,y:v.y},to:{x:0,y:0},reset:l!==b,config:{mass:5,tension:2e3,friction:200},immediate:i,onFrame:function(e){n&&k&&!i&&e.y&&(k.scrollTop=v.scrollTop+e.y)}});return i?{}:{transformOrigin:"center",transform:Object($o.interpolate)([y.x,y.y],(function(e,t){return 0===e&&0===t?void 0:"translate3d(".concat(e,"px,").concat(t,"px,0)")})),zIndex:Object($o.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function hi(e,t){for(var n="start"===t?"firstChild":"lastChild",r="start"===t?"nextSibling":"previousSibling";e[n];)for(e=e[n];e.nodeType===e.TEXT_NODE&&/^[ \t\n]*$/.test(e.data)&&e[r];)e=e[r];return e}function mi(e){var t=e("core/block-editor"),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.getMultiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.getSelectedBlockClientId;return{isSelectionEnabled:n(),isMultiSelecting:r(),multiSelectedBlockClientIds:o(),hasMultiSelection:i(),getBlockParents:c,selectedBlockClientId:a()}}function gi(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var vi=Object(d.forwardRef)((function(e,t){var n=e.selectedClientId,r=e.isReverse,o=e.containerRef,i=e.noCapture,c=e.hasMultiSelection,a=e.multiSelectionContainer,l=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()})),s=Object(g.useDispatch)("core/block-editor").setNavigationMode;return Object(d.createElement)("div",{ref:t,tabIndex:l?void 0:"0",onFocus:function(){if(i.current)i.current=null;else if(n){var e=si(n);if(r){var t=Yo.focus.tabbable.find(e);(Object(p.last)(t)||e).focus()}else e.focus()}else{if(c)return void a.current.focus();s(!0);var l=Yo.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),Oi=window,ji=Oi.getSelection,ki=Oi.getComputedStyle,yi=Object(p.overEvery)([Yo.isTextField,Yo.focus.tabbable.isTabbableIndex]);function _i(e,t,n){var r=Yo.focus.focusable.find(n);return t&&(r=Object(p.reverse)(r)),r=r.slice(r.indexOf(e)+1),Object(p.find)(r,(function t(n,r,o){if(!Yo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Yo.isTextField)(n))return!0;if(!n.classList.contains("block-editor-block-list__block"))return!1;if(function(e){return!!e.querySelector(".block-editor-block-list__layout")}(n))return!0;if(n.contains(e))return!1;for(var i,c=1;(i=o[r+c])&&n.contains(i);c++)if(t(i,r+c,o))return!1;return!0}))}function Si(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getMultiSelectedBlocksStartClientId,o=t.getMultiSelectedBlocksEndClientId,i=t.getPreviousBlockClientId,c=t.getNextBlockClientId,a=t.getFirstMultiSelectedBlockClientId,l=t.getLastMultiSelectedBlockClientId,s=t.hasMultiSelection,u=t.getBlockOrder,d=t.isNavigationMode,f=t.isSelectionEnabled,b=t.getBlockSelectionStart,p=t.isMultiSelecting,h=n(),m=r(),g=o();return{selectedBlockClientId:h,selectionStartClientId:m,selectionBeforeEndClientId:i(g||h),selectionAfterEndClientId:c(g||h),selectedFirstClientId:a(),selectedLastClientId:l(),hasMultiSelection:s(),blocks:u(),isNavigationMode:d(),isSelectionEnabled:f(),blockSelectionStart:b(),isMultiSelecting:p()}}function Ei(e){var t=e.children,n=Object(d.useRef)(),r=Object(d.useRef)(),o=Object(d.useRef)(),i=Object(d.useRef)(),c=Object(d.useRef)(),a=Object(d.useRef)(),l=Object(d.useRef)(),s=Object(g.useSelect)(Si,[]),u=s.selectedBlockClientId,f=s.selectionStartClientId,h=s.selectionBeforeEndClientId,m=s.selectionAfterEndClientId,v=s.selectedFirstClientId,O=s.selectedLastClientId,j=s.hasMultiSelection,k=s.blocks,y=s.isNavigationMode,_=s.isSelectionEnabled,S=s.blockSelectionStart,E=s.isMultiSelecting,C=Object(g.useDispatch)("core/block-editor"),w=C.multiSelect,I=C.selectBlock,x=C.clearSelectedBlock,B=C.setNavigationMode;Object(d.useEffect)((function(){j&&!E&&i.current.focus()}),[j,E]);var T=b()("block-editor-writing-flow",{"is-navigate-mode":y});return Object(d.createElement)("div",{className:T},Object(d.createElement)(vi,{ref:r,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i}),Object(d.createElement)("div",{ref:n,onKeyDown:function(e){var t=e.keyCode,s=e.target,d=t===wt.UP,b=t===wt.DOWN,g=t===wt.LEFT,_=t===wt.RIGHT,S=t===wt.TAB,E=t===wt.ESCAPE,C=d||g,T=g||_,P=d||b,N=T||P,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,R=P?Yo.isVerticalEdge:Yo.isHorizontalEdge;if(y){var D=S&&L||d,M=S&&!L||b,F=D?h:m;if(M||D)if(F)e.preventDefault(),I(F);else if(S&&u){var V,H=si(u);(V=M?Yo.focus.tabbable.findNext(H):Yo.focus.tabbable.findPrevious(H))&&(e.preventDefault(),V.focus(),x())}}else{if(u)if(S){var U=si(u);if(L){if(s===U)return a.current=!0,void r.current.focus()}else{var z=Yo.focus.tabbable.find(U);if(s===(Object(p.last)(z)||U))return a.current=!0,void o.current.focus()}}else E&&B(!0);else if(j&&S&&s===i.current)return a.current=!0,void(L?r.current.focus():o.current.focus());if(P?l.current||(l.current=Object(Yo.computeCaretRect)()):l.current=null,!N)return wt.isKeyboardEvent.primary(e)&&(c.current=Object(Yo.isEntirelySelected)(s)),void(wt.isKeyboardEvent.primary(e,"a")&&((s.isContentEditable?c.current:Object(Yo.isEntirelySelected)(s))&&(w(Object(p.first)(k),Object(p.last)(k)),e.preventDefault()),c.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===wt.UP||t===wt.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(s,t,A)){var G="rtl"===ki(s).direction?!C:C;if(L)(C&&h||!C&&m)&&(j||function(e,t){var r,o,i=_i(e,t,n.current);return!(i&&(r=e,o=i,r.closest(".block-editor-block-list__block")===o.closest(".block-editor-block-list__block")))}(s,C)&&R(s,C))&&(!function(e){var t=e?h:m;t&&w(f||u,t)}(C),e.preventDefault());else if(j)!function(e){var t=e?v:O;t&&I(t)}(C),e.preventDefault();else if(P&&Object(Yo.isVerticalEdge)(s,C)){var K=_i(s,C,n.current);K&&(Object(Yo.placeCaretAtVerticalEdge)(K,C,l.current),e.preventDefault())}else if(T&&ji().isCollapsed&&Object(Yo.isHorizontalEdge)(s,G)){var W=_i(s,G,n.current);Object(Yo.placeCaretAtHorizontalEdge)(W,G),e.preventDefault()}}}},onMouseDown:function(e){if(l.current=null,y&&u&&ui(si(u),e.target)&&B(!1),_&&0===e.button){var t=di(e.target);t&&(e.shiftKey?S!==t&&(w(S,t),e.preventDefault()):j&&I(t))}}},Object(d.createElement)("div",{ref:i,tabIndex:j?"0":void 0,"aria-label":j?Object(U.__)("Multiple selected blocks"):void 0,style:{position:"fixed"}}),t),Object(d.createElement)(vi,{ref:o,selectedClientId:u,containerRef:n,noCapture:a,hasMultiSelection:j,multiSelectionContainer:i,isReverse:!0}),Object(d.createElement)("div",{"aria-hidden":!0,tabIndex:-1,onClick:function(){var e=Yo.focus.focusable.find(n.current),t=Object(p.findLast)(e,yi);t&&Object(Yo.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function Ci(e){var t=e.clientId;return Object(g.useSelect)((function(e){var n=e("core/block-editor"),r=n.getBlockIndex,o=n.getBlockInsertionPoint,i=n.isBlockInsertionPointVisible,c=(0,n.getBlockRootClientId)(t),a=r(t,c),l=o();return i()&&l.index===a&&l.rootClientId===c}),[t])?Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point-indicator"}):null}function wi(e){var t=e.className,n=e.isMultiSelecting,r=e.selectedBlockClientId,o=e.children,i=e.containerRef,c=Object(d.useState)(!1),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(!1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)(null),g=Object(M.a)(m,2),v=g[0],O=g[1],j=Object(d.useState)(null),k=Object(M.a)(j,2),y=k[0],_=k[1],S=Object(d.useRef)();return Object(d.createElement)(d.Fragment,null,!n&&(l||p)&&Object(d.createElement)(z.Popover,{noArrow:!0,animate:!1,anchorRef:v,position:"top right left",focusOnMount:!1,className:"block-editor-block-list__insertion-point-popover",__unstableSlotName:"block-toolbar",__unstableFixedPosition:!1},Object(d.createElement)("div",{className:"block-editor-block-list__insertion-point",style:{width:v.offsetWidth}},Object(d.createElement)(Ci,{clientId:y}),Object(d.createElement)("div",{ref:S,onFocus:function(){return h(!0)},onBlur:function(){return h(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===S.current){var o=r.getBoundingClientRect(),c=n<o.top+o.height/2,a=si(y),l=_i(a,!0,c?i.current:a),s=new window.DOMRect(t,n,0,16);l&&Object(Yo.placeCaretAtVerticalEdge)(l,c,s,!1)}},tabIndex:-1,className:b()("block-editor-block-list__insertion-point-inserter",{"is-inserter-hidden":y===r})},Object(d.createElement)(Cc,{clientId:y})))),Object(d.createElement)("div",{onMouseMove:p||n?void 0:function(e){if(e.target.className===t){var n=e.target.getBoundingClientRect(),r=e.clientY-n.top,o=Array.from(e.target.children).find((function(e){return e.offsetTop>r}));if(o){var i=o.id.slice("block-".length);if(i){var c=o.getBoundingClientRect();e.clientX>c.right||e.clientX<c.left?l&&s(!1):(s(!0),O(o),_(i))}}}else l&&s(!1)}},o))}var Ii=function(e){var t=e.clientId,n=e.rootClientId,r=e.moverDirection,o=Object(F.a)(e,["clientId","rootClientId","moverDirection"]),c=Object(g.useSelect)((function(e){var r=e("core/block-editor"),o=r.__unstableGetBlockWithoutInnerBlocks,i=(0,r.getBlockIndex)(t,n),c=o(t);return{index:i,name:c.name,attributes:c.attributes}}),[t,n]),a=c.index,l=c.name,s=c.attributes,f=Object(g.useDispatch)("core/block-editor"),b=f.setNavigationMode,p=f.removeBlock,h=Object(d.useRef)();Object(d.useEffect)((function(){h.current.focus()}));var m=Object(i.getBlockType)(l),v=Object(i.__experimentalGetAccessibleBlockLabel)(m,s,a+1,r);return Object(d.createElement)("div",Object(u.a)({className:"block-editor-block-list__breadcrumb"},o),Object(d.createElement)(z.Toolbar,null,Object(d.createElement)(z.Button,{ref:h,onClick:function(){return b(!1)},onKeyDown:function(e){var n=e.keyCode;n!==wt.BACKSPACE&&n!==wt.DELETE||(p(t),e.preventDefault())},label:v},Object(d.createElement)(ut,{clientId:t}))))};var xi=function(e){var t=e.children,n=e.focusOnMount,r=Object(F.a)(e,["children","focusOnMount"]),o=Object(d.useRef)(),i=Object(d.useCallback)((function(){var e=Yo.focus.tabbable.find(o.current);e.length&&e[0].focus()}),[]);return Object(l.useShortcut)("core/block-editor/focus-toolbar",i,{bindGlobal:!0,eventName:"keydown"}),Object(d.useEffect)((function(){n&&i()}),[]),Object(d.createElement)(z.NavigableMenu,Object(u.a)({orientation:"horizontal",role:"toolbar",ref:o},r),t)};var Bi=function(e){var t=e.focusOnMount,n=Object(F.a)(e,["focusOnMount"]);return Object(d.createElement)(xi,Object(u.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(U.__)("Block tools")},n),Object(d.createElement)(ns,null))};function Ti(e){var t=e("core/block-editor"),n=t.isNavigationMode,r=t.isMultiSelecting,o=t.hasMultiSelection,i=t.isTyping,c=t.isCaretWithinFormattedText,a=t.getSettings,l=t.getLastMultiSelectedBlockClientId;return{isNavigationMode:n(),isMultiSelecting:r(),isTyping:i(),isCaretWithinFormattedText:c(),hasMultiSelection:o(),hasFixedToolbar:a().hasFixedToolbar,lastClientId:l()}}function Pi(e){var t=e.clientId,n=e.rootClientId,r=e.name,o=e.align,i=e.isValid,c=e.moverDirection,a=e.isEmptyDefaultBlock,s=e.capturingClientId,u=Object(g.useSelect)(Ti,[]),f=u.isNavigationMode,p=u.isMultiSelecting,m=u.isTyping,v=u.isCaretWithinFormattedText,O=u.hasMultiSelection,j=u.hasFixedToolbar,k=u.lastClientId,y=Object(h.useViewportMatch)("medium"),_=Object(d.useState)(!1),S=Object(M.a)(_,2),E=S[0],C=S[1],w=Object(d.useState)(!1),I=Object(M.a)(w,2),x=I[0],B=I[1],T=Object(d.useContext)(Ri),P=Object(M.a)(T,1)[0],N=!f&&a&&i,L=f,A=!f&&!j&&y&&!N&&!p&&(!m||v),R=!(f||A||j||a);if(Object(l.useShortcut)("core/block-editor/focus-toolbar",Object(d.useCallback)((function(){return C(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!R}),!(L||A||E||N))return null;var D=P[t];if(s&&(D=document.getElementById("block-"+s)),!D)return null;D.classList.contains("is-block-collapsed")&&(D=D.querySelector(".is-block-content")||D);var F=D;if(O){var V=P[k];if(!V)return null;F={top:D,bottom:V}}var H=N?"top left right":"top right left";return Object(d.createElement)(z.Popover,{noArrow:!0,animate:!1,position:H,focusOnMount:!1,anchorRef:F,className:"block-editor-block-list__block-popover",__unstableSticky:!N,__unstableSlotName:"block-toolbar",__unstableAllowVerticalSubpixelPosition:"horizontal"!==c&&D,__unstableAllowHorizontalSubpixelPosition:"horizontal"===c&&D,onBlur:function(){return C(!1)},shouldAnchorIncludePadding:!0},(A||E)&&Object(d.createElement)("div",{onFocus:function(){B(!0)},onBlur:function(){B(!1)},tabIndex:-1,className:b()("block-editor-block-list__block-popover-inserter",{"is-visible":x})},Object(d.createElement)(Cc,{clientId:t,rootClientId:n})),(A||E)&&Object(d.createElement)(Bi,{focusOnMount:E,"data-type":r,"data-align":o}),L&&Object(d.createElement)(Ii,{clientId:t,rootClientId:n,moverDirection:c,"data-align":o}),N&&Object(d.createElement)("div",{className:"block-editor-block-list__empty-block-inserter"},Object(d.createElement)(Cc,{position:"top right",rootClientId:n,clientId:t})))}function Ni(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getFirstMultiSelectedBlockClientId,o=t.getBlockRootClientId,c=t.__unstableGetBlockWithoutInnerBlocks,a=t.getBlockParents,l=t.getBlockListSettings,s=t.__experimentalGetBlockListSettingsForBlocks,u=n()||r();if(u){var d,f=o(u),b=c(u)||{},h=b.name,m=b.attributes,g=void 0===m?{}:m,v=b.isValid,O=a(u),j=(l(f)||{}).__experimentalMoverDirection,k=s(O),y=Object(p.findIndex)(k,["__experimentalCaptureToolbars",!0]);return-1!==y&&(d=O[y]),{clientId:u,rootClientId:o(u),name:h,align:g.align,isValid:v,moverDirection:j,isEmptyDefaultBlock:h&&Object(i.isUnmodifiedDefaultBlock)({name:h,attributes:g}),capturingClientId:d}}}function Li(){var e=Object(g.useSelect)(Ni,[]);if(!e)return null;var t=e.clientId,n=e.rootClientId,r=e.name,o=e.align,i=e.isValid,c=e.moverDirection,a=e.isEmptyDefaultBlock,l=e.capturingClientId;return r?Object(d.createElement)(Pi,{clientId:t,rootClientId:n,name:r,align:o,isValid:i,moverDirection:c,isEmptyDefaultBlock:a,capturingClientId:l}):null}var Ai=Object(d.createContext)(),Ri=Object(d.createContext)();function Di(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectedBlockClientId:n(),hasMultiSelection:r(),isMultiSelecting:o()}}function Mi(e){di(e.target)&&e.preventDefault()}var Fi=Object(d.forwardRef)((function(e,t){var n=e.children,r=e.className,o=Object(g.useSelect)(Di,[]),i=o.selectedBlockClientId,c=o.hasMultiSelection,a=o.isMultiSelecting,l=Object(g.useDispatch)("core/block-editor").selectBlock,s=function(e){var t=Object(g.useSelect)(mi,[]),n=t.isSelectionEnabled,r=t.isMultiSelecting,o=t.multiSelectedBlockClientIds,i=t.hasMultiSelection,c=t.getBlockParents,a=t.selectedBlockClientId,l=Object(g.useDispatch)("core/block-editor"),s=l.startMultiSelect,u=l.stopMultiSelect,f=l.multiSelect,b=l.selectBlock,p=Object(d.useRef)(),h=Object(d.useRef)(),m=Object(d.useRef)();Object(d.useEffect)((function(){if(i&&!r){var e=o.length;if(!(e<2)){var t=o[0],n=o[e-1],c=si(t),l=si(n),s=window.getSelection(),u=document.createRange();c=hi(c,"start"),l=hi(l,"end"),u.setStartBefore(c),u.setEndAfter(l),s.removeAllRanges(),s.addRange(u)}}else{if(!a||r)return;var d=window.getSelection();if(d.rangeCount&&!d.isCollapsed){var f=si(a),b=d.getRangeAt(0),p=b.startContainer,h=b.endContainer;f.contains(p)&&f.contains(h)||d.removeAllRanges()}}}),[i,r,o,b,a]);var v=Object(d.useCallback)((function(t){var n=t.isSelectionEnd,r=window.getSelection();if(r.rangeCount&&!r.isCollapsed){var o=di(r.focusNode);if(h.current===o){if(b(o),n&&(gi(e.current,!0),r.rangeCount)){var i=r.getRangeAt(0).commonAncestorContainer;m.current.contains(i)&&m.current.focus()}}else{var a=[].concat(Object(D.a)(c(h.current)),[h.current]),l=[].concat(Object(D.a)(c(o)),[o]),s=Math.min(a.length,l.length)-1;f(a[s],l[s])}}else gi(e.current,!0)}),[b,c,f]),O=Object(d.useCallback)((function(){document.removeEventListener("selectionchange",v),window.removeEventListener("mouseup",O),p.current=window.requestAnimationFrame((function(){v({isSelectionEnd:!0}),u()}))}),[v,u]);return Object(d.useEffect)((function(){return function(){document.removeEventListener("selectionchange",v),window.removeEventListener("mouseup",O),window.cancelAnimationFrame(p.current)}}),[v,O]),Object(d.useCallback)((function(t){n&&(h.current=t,m.current=document.activeElement,s(),document.addEventListener("selectionchange",v),window.addEventListener("mouseup",O),gi(e.current,!1))}),[n,s,O])}(t);return Object(d.createElement)(wi,{className:r,isMultiSelecting:a,selectedBlockClientId:i,containerRef:t},Object(d.createElement)(Ri.Provider,{value:Object(d.useState)({})},Object(d.createElement)(Li,null),Object(d.createElement)("div",{ref:t,className:r,onFocus:function(e){if(!c){var t=di(e.target);t&&t!==i&&l(t)}},onDragStart:Mi},Object(d.createElement)(Ai.Provider,{value:s},n))))}));function Vi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vi(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ui=Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=t.isLargeViewport,c=e("core/block-editor"),a=c.isBlockSelected,l=c.isAncestorMultiSelected,s=c.isBlockMultiSelected,u=c.isFirstMultiSelectedBlock,d=c.getLastMultiSelectedBlockClientId,f=c.isTyping,b=c.getBlockMode,p=c.isSelectionEnabled,h=c.getSelectedBlocksInitialCaretPosition,m=c.getSettings,g=c.hasSelectedInnerBlock,v=c.getTemplateLock,O=c.__unstableGetBlockWithoutInnerBlocks,j=c.isNavigationMode,k=O(n),y=a(n),_=m(),S=_.focusMode,E=_.isRTL,C=v(r),w=g(n,!0),I=k||{},x=I.name,B=I.attributes,T=I.isValid;return{isMultiSelected:s(n),isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isLastMultiSelected:d()===n,isTypingWithinBlock:(y||w)&&f(),mode:b(n),isSelectionEnabled:p(),initialPosition:y?h():null,isEmptyDefaultBlock:x&&Object(i.isUnmodifiedDefaultBlock)({name:x,attributes:B}),isLocked:!!C,isFocusMode:S&&o,isNavigationMode:j(),isRTL:E,block:k,name:x,attributes:B,isValid:T,isSelected:y,isAncestorOfSelectedBlock:w}})),zi=Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.updateBlockAttributes,a=o.insertBlocks,l=o.insertDefaultBlock,s=o.removeBlock,u=o.mergeBlocks,d=o.replaceBlocks,f=o.toggleSelection,b=o.__unstableMarkLastChangeAsPersistent;return{setAttributes:function(e){var n=t.clientId;c(n,e)},onInsertBlocks:function(e,n){var r=t.rootClientId;a(e,n,r)},onInsertDefaultBlockAfter:function(){var e=t.clientId,n=t.rootClientId,o=(0,r("core/block-editor").getBlockIndex)(e,n);l({},n,o+1)},onInsertBlocksAfter:function(e){var n=t.clientId,o=t.rootClientId,i=(0,r("core/block-editor").getBlockIndex)(n,o);a(e,i+1,o)},onRemove:function(e){s(e)},onMerge:function(e){var n=t.clientId,o=r("core/block-editor"),i=o.getPreviousBlockClientId,c=o.getNextBlockClientId;if(e){var a=c(n);a&&u(n,a)}else{var l=i(n);l&&u(l,n)}},onReplace:function(e,n){e.length&&!Object(i.isUnmodifiedDefaultBlock)(e[e.length-1])&&b(),d([t.clientId],e,n)},toggleSelection:function(e){f(e)}}})),Gi=Object(h.compose)(h.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),Ui,zi,Object(h.ifCondition)((function(e){return!!e.block})),Object(z.withFilters)("editor.BlockListBlock"))((function(e){var t=e.mode,n=e.isFocusMode,r=e.isLocked,o=e.clientId,c=e.isSelected,a=e.isMultiSelected,l=e.isPartOfMultiSelection,f=e.isFirstMultiSelected,h=e.isLastMultiSelected,m=e.isTypingWithinBlock,v=e.isEmptyDefaultBlock,O=e.isAncestorOfSelectedBlock,j=e.isSelectionEnabled,k=e.className,y=e.name,_=e.isValid,S=e.attributes,E=e.initialPosition,C=e.wrapperProps,w=e.setAttributes,I=e.onReplace,x=e.onInsertBlocksAfter,B=e.onMerge,T=e.onRemove,P=e.onInsertDefaultBlockAfter,N=e.toggleSelection,L=e.animateOnChange,A=e.enableAnimation,R=e.isNavigationMode,D=e.isMultiSelecting,F=e.hasSelectedUI,V=void 0===F||F,H=Object(d.useContext)(Ai),z=Object(d.useContext)(Ri),G=Object(M.a)(z,2)[1],K=Object(g.useSelect)((function(e){return{isDraggingBlocks:e("core/block-editor").isDraggingBlocks()}}),[]).isDraggingBlocks,W=Object(d.useRef)(null);Object(d.useLayoutEffect)((function(){if(c||f||h){var e=W.current;return G((function(t){return Hi({},t,Object(s.a)({},o,e))})),function(){G((function(e){return Object(p.omit)(e,o)}))}}}),[c,f,h]);var q=Object(d.useState)(!1),$=Object(M.a)(q,2),Y=$[0],X=$[1],J=Object(i.getBlockType)(y),Q=Object(U.sprintf)(Object(U.__)("Block: %s"),J.title),ee=Object(d.useRef)(!0);Object(d.useEffect)((function(){D||R||!c||function(e){if(!W.current.contains(document.activeElement)){var t=Yo.focus.tabbable.find(W.current).filter(Yo.isTextField).filter((function(t){return!e||ui(W.current,t)})),n=-1===E,r=(n?p.last:p.first)(t);r?Object(Yo.placeCaretAtHorizontalEdge)(r,n):W.current.focus()}}(!ee.current),ee.current=!1}),[c,D,R]);var te=pi(W,c||l,c||f,A,L),ne=y===Object(i.getUnregisteredTypeHandlerName)(),re=!n&&!(!R&&c&&v&&_)&&c&&!m,oe=K&&(c||l);J.getEditWrapperProps&&(C=Hi({},C,{},J.getEditWrapperProps(S)));var ie=C&&C["data-align"],ce=b()("wp-block block-editor-block-list__block",{"has-selected-ui":V,"has-warning":!_||!!Y||ne,"is-selected":re&&V,"is-multi-selected":a,"is-reusable":Object(i.isReusableBlock)(J),"is-dragging":oe,"is-typing":m,"is-focused":n&&(c||O),"is-focus-mode":n,"has-child-selected":O,"is-block-collapsed":ie},k),ae="block-".concat(o),le=Object(d.createElement)(Z,{name:y,isSelected:c,attributes:S,setAttributes:w,insertBlocksAfter:r?void 0:x,onReplace:r?void 0:I,mergeBlocks:r?void 0:B,clientId:o,isSelectionEnabled:j,toggleSelection:N});return ie&&(le=Object(d.createElement)("div",{className:"is-block-content"},le)),"visual"!==t&&(le=Object(d.createElement)("div",{style:{display:"none"}},le)),Object(d.createElement)($o.animated.div,Object(u.a)({id:ae,ref:W,className:ce,"data-block":o,"data-type":y,onKeyDown:c&&!r?function(e){var t=e.keyCode,n=e.target;switch(t){case wt.ENTER:n===W.current&&(P(),e.preventDefault());break;case wt.BACKSPACE:case wt.DELETE:n===W.current&&(T(o),e.preventDefault())}}:void 0,onMouseLeave:c?function(e){var t=e.which;1===(e.buttons||t)&&H(o)}:void 0,tabIndex:"0","aria-label":Q,role:"group"},C,{style:C&&C.style?Hi({},C.style,{},te):te}),Object(d.createElement)(ii,{onError:function(){return X(!0)}},_&&le,_&&"html"===t&&Object(d.createElement)(li,{clientId:o}),!_&&[Object(d.createElement)(ni,{key:"invalid-warning",clientId:o}),Object(d.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(J,S))]),!!Y&&Object(d.createElement)(oi,null))})),Ki=n(56);var Wi=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.getBlockCount,o=n.getBlockName,c=n.isBlockValid,a=n.getSettings,l=n.getTemplateLock,s=!r(t.rootClientId),u=o(t.lastBlockClientId)===Object(i.getDefaultBlockName)(),d=c(t.lastBlockClientId),f=a().bodyPlaceholder;return{isVisible:s||!u||!d,showPrompt:s,isLocked:!!l(t.rootClientId),placeholder:f}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.insertDefaultBlock,o=n.startTyping;return{onAppend:function(){var e=t.rootClientId;r(void 0,e),o()}}})))((function(e){var t=e.isLocked,n=e.isVisible,r=e.onAppend,o=e.showPrompt,i=e.placeholder,c=e.rootClientId;if(t||!n)return null;var a=Object(Ki.decodeEntities)(i)||Object(U.__)("Start writing or type / to choose a block");return Object(d.createElement)("div",{"data-root-client-id":c||"",className:"wp-block block-editor-default-block-appender"},Object(d.createElement)(ai.a,{role:"button","aria-label":Object(U.__)("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(d.createElement)(Cc,{rootClientId:c,position:"top right",isAppender:!0}))}));function qi(e){e.stopPropagation()}var $i=Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=e("core/block-editor"),o=r.getBlockOrder,c=r.canInsertBlockType;return{isLocked:!!(0,r.getTemplateLock)(n),blockClientIds:o(n),canInsertDefaultBlock:c(Object(i.getDefaultBlockName)(),n)}}))((function(e){var t,n=e.blockClientIds,r=e.rootClientId,o=e.canInsertDefaultBlock,i=e.isLocked,c=e.renderAppender,a=e.className;return i||!1===c?null:(t=c?Object(d.createElement)(c,null):o?Object(d.createElement)(Wi,{rootClientId:r,lastBlockClientId:Object(p.last)(n)}):Object(d.createElement)(wc,{rootClientId:r,className:"block-list-appender__toggle"}),Object(d.createElement)("div",{tabIndex:-1,onFocus:qi,className:b()("block-list-appender",a)},t))})),Yi=Object(z.createSlotFill)("__experimentalBlockListFooter"),Xi=Yi.Fill,Zi=Yi.Slot;Xi.Slot=Zi;var Ji=Xi;function Qi(e){var t=e.element,n=e.rootClientId,r=Object(d.useState)(null),o=Object(M.a)(r,2),c=o[0],a=o[1];var l=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getClientIdsOfDescendants,i=t.getSettings,a=t.getTemplateLock;return{getBlockIndex:r,blockIndex:r(c,n),getClientIdsOfDescendants:o,hasUploadPermissions:!!i().mediaUpload,isLockedAll:"all"===a(n)}}),[n,c]),s=l.getBlockIndex,u=l.blockIndex,f=l.getClientIdsOfDescendants,b=l.hasUploadPermissions,p=l.isLockedAll,h=Object(g.useDispatch)("core/block-editor"),m=h.insertBlocks,v=h.updateBlockAttributes,O=h.moveBlockToPosition,j=Object(d.useCallback)((function(e){if(b){var t=Object(i.findTransform)(Object(i.getBlockTransforms)("from"),(function(t){return"files"===t.type&&t.isMatch(e)}));if(t){var r=t.transform(e,v);m(r,u,n)}}}),[b,v,m,u,n]),k=Object(d.useCallback)((function(e){var t=Object(i.pasteHandler)({HTML:e,mode:"BLOCKS"});t.length&&m(t,u,n)}),[m,u,n]),y=Object(d.useCallback)((function(e){var t=function(e){var t={srcRootClientId:null,srcClientId:null,srcIndex:null,type:null};if(!e.dataTransfer)return t;try{t=Object.assign(t,JSON.parse(e.dataTransfer.getData("text")))}catch(e){return t}return t}(e),r=t.srcRootClientId,o=t.srcClientId,i=t.srcIndex,a=t.type;if("block"===a&&o!==c&&!function(e,t){return f([e]).some((function(e){return e===t}))}(o,c||n)){var l,d,b=c?s(c,n):void 0,p=b&&i<b&&((l=r)===(d=n)||1==!l&&1==!d)?u-1:u;O(o,r,n,p)}}),[f,s,c,u,O,n]),_=Object(z.__unstableUseDropZone)({element:t,onFilesDrop:j,onHTMLDrop:k,onDrop:y,isDisabled:p,withPosition:!0}).position;if(Object(d.useEffect)((function(){if(_){var e=_.y-t.current.getBoundingClientRect().top,n=Array.from(t.current.children).find((function(t){return t.offsetTop+t.offsetHeight/2>e}));if(!n)return;var r=n.id.slice("block-".length);if(!r)return;a(r)}}),[_]),_)return c}var ec,tc=(ec=function(e){var t=e.className,n=e.rootClientId,r=e.isDraggable,o=e.renderAppender,i=e.__experimentalUIParts,c=void 0===i?{}:i,a=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockOrder,o=t.isMultiSelecting,i=t.getSelectedBlockClientId,c=t.getMultiSelectedBlockClientIds,a=t.hasMultiSelection,l=t.getGlobalBlockCount,s=t.isTyping;return{blockClientIds:r(n),isMultiSelecting:o(),selectedBlockClientId:i(),multiSelectedBlockClientIds:c(),hasMultiSelection:a(),enableAnimation:!s()&&l()<=200}}),[n]),l=a.blockClientIds,s=a.isMultiSelecting,u=a.selectedBlockClientId,f=a.multiSelectedBlockClientIds,p=a.hasMultiSelection,h=a.enableAnimation,m=n?"div":Fi,v=Object(d.useRef)(),O=Qi({element:v,rootClientId:n});return Object(d.createElement)(m,{ref:v,className:b()("block-editor-block-list__layout",t)},l.map((function(e,t){var o=p?f.includes(e):u===e;return Object(d.createElement)(g.AsyncModeProvider,{key:e,value:!o},Object(d.createElement)(Gi,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:s,animateOnChange:t,enableAnimation:h,hasSelectedUI:c.hasSelectedUI,className:e===O?"is-drop-target":void 0}))})),Object(d.createElement)($i,{rootClientId:n,renderAppender:o,className:null===O?"is-drop-target":void 0}),Object(d.createElement)(Ji.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(ec,e))});function nc(e){var t=e.blocks,n=e.viewportWidth,r=e.padding,o=void 0===r?0:r,i=Object(d.useRef)(null),c=Object(d.useState)(!1),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(M.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(M.a)(m,2),v=g[0],O=v.x,j=v.y,k=g[1];if(Object(d.useLayoutEffect)((function(){var e=setTimeout((function(){var e=i.current;if(e){if(1===t.length){var r=function(e){var t=si(e);if(t)return t.firstChild||t}(t[0].clientId);if(!r)return;var c=e.getBoundingClientRect();c={width:c.width-2*o,height:c.height-2*o,left:c.left,top:c.top};var a=r.getBoundingClientRect(),l=c.width/a.width||1,u=-(a.left-c.left)*l+o,d=c.height>a.height*l?(c.height-a.height*l)/2+o:0;h(l),k({x:u,y:d}),r.style.marginTop="0"}else{var f=e.getBoundingClientRect();h(f.width/n)}s(!0)}}),100);return function(){e&&window.clearTimeout(e)}}),[]),!t||0===t.length)return null;var y={transform:"scale(".concat(p,")"),visibility:l?"visible":"hidden",left:O,top:j,width:n};return Object(d.createElement)("div",{ref:i,className:b()("block-editor-block-preview__container editor-styles-wrapper",{"is-ready":l}),"aria-hidden":!0},Object(d.createElement)(z.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(tc,null)))}var rc=Object(g.withSelect)((function(e){return{settings:e("core/block-editor").getSettings()}}))((function(e){var t=e.blocks,n=e.viewportWidth,r=void 0===n?700:n,o=e.padding,i=e.settings,c=Object(d.useMemo)((function(){return Object(p.castArray)(t)}),[t]),a=Object(d.useReducer)((function(e){return e+1}),0),l=Object(M.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)(qo,{value:c,settings:i},Object(d.createElement)(nc,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var oc=function(e){var t=e.icon,n=e.onClick,r=e.isDisabled,o=e.title,i=e.className,c=Object(F.a)(e,["icon","onClick","isDisabled","title","className"]),a=t?{backgroundColor:t.background,color:t.foreground}:{};return Object(d.createElement)("li",{className:"block-editor-block-types-list__list-item"},Object(d.createElement)(z.Button,Object(u.a)({className:b()("block-editor-block-types-list__item",i),onClick:function(e){e.preventDefault(),n()},disabled:r},c),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-icon",style:a},Object(d.createElement)(yt,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function ic(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ic(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ac=function(e){var t=e.items,n=void 0===t?[]:t,r=e.onSelect,o=e.onHover,c=void 0===o?function(){}:o,a=e.children,l=n.reduce((function(e,t){var n=t.variations,r=void 0===n?[]:n;return r.some((function(e){return e.isDefault}))||e.push(t),r.length&&(e=e.concat(r.map((function(e){return cc({},t,{id:"".concat(t.id,"-").concat(e.name),icon:e.icon||t.icon,title:e.title||t.title,description:e.description||t.description,example:e.hasOwnProperty("example")?e.example:t.example,initialAttributes:cc({},t.initialAttributes,{},e.attributes),innerBlocks:e.innerBlocks})})))),e}),[]);return Object(d.createElement)("ul",{role:"list",className:"block-editor-block-types-list"},l.map((function(e){return Object(d.createElement)(oc,{key:e.id,className:Object(i.getBlockMenuDefaultClassName)(e.id),icon:e.icon,onClick:function(){r(e),c(null)},onFocus:function(){return c(e)},onMouseEnter:function(){return c(e)},onMouseLeave:function(){return c(null)},onBlur:function(){return c(null)},isDisabled:e.isDisabled,title:e.title})})),a)};var lc=function(e){var t=e.blockType;return Object(d.createElement)("div",{className:"block-editor-block-card"},Object(d.createElement)(yt,{icon:t.icon,showColors:!0}),Object(d.createElement)("div",{className:"block-editor-block-card__content"},Object(d.createElement)("div",{className:"block-editor-block-card__title"},t.title),Object(d.createElement)("div",{className:"block-editor-block-card__description"},t.description)))};var sc=Object(h.compose)(Object(h.ifCondition)((function(e){var t=e.items;return t&&t.length>0})),Object(g.withSelect)((function(e,t){var n=t.rootClientId,r=(0,e("core/blocks").getBlockType)((0,e("core/block-editor").getBlockName)(n));return{rootBlockTitle:r&&r.title,rootBlockIcon:r&&r.icon}})))((function(e){var t=e.rootBlockIcon,n=e.rootBlockTitle,r=e.items,o=Object(F.a)(e,["rootBlockIcon","rootBlockTitle","items"]);return Object(d.createElement)("div",{className:"block-editor-inserter__child-blocks"},(t||n)&&Object(d.createElement)("div",{className:"block-editor-inserter__parent-block-header"},Object(d.createElement)(yt,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(ac,Object(u.a)({items:r},o)))})),uc=Object(z.createSlotFill)("__experimentalInserterMenuExtension"),dc=uc.Fill,fc=uc.Slot;dc.Slot=fc;var bc=dc;function pc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=(e=(e=Object(p.deburr)(e)).replace(/^\//,"")).toLowerCase(),Object(p.words)(e)},mc=function(e,t){return Object(p.differenceWith)(e,hc(t),(function(e,t){return t.includes(e)}))},gc=function(e,t,n,r){var o=hc(r);return 0===o.length?e:e.filter((function(e){var r=e.name,i=e.title,c=e.category,a=e.keywords,l=void 0===a?[]:a,s=e.variations,u=void 0===s?[]:s,d=mc(o,i);if(0===d.length)return!0;if(0===(d=mc(d,l.join(" "))).length)return!0;d=mc(d,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var f=n[r.split("/")[0]];return f&&(d=mc(d,f.title)),0===d.length||0===(d=mc(d,u.map((function(e){return e.title})).join(" "))).length})).map((function(e){if(Object(p.isEmpty)(e.variations))return e;var t=e.variations.filter((function(e){return Object(p.intersectionWith)(o,hc(e.title),(function(e,t){return t.includes(e)})).length>0}));return Object(p.isEmpty)(t)?e:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{variations:t})}))};function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jc=function(e){return e.stopPropagation()},kc=function(e){return e.name.split("/")[0]},yc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},itemsPerCollection:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(w.a)(e)),e.onHover=e.onHover.bind(Object(w.a)(e)),e.panels={},e.inserterResults=Object(d.createRef)(),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchReusableBlocks&&this.props.fetchReusableBlocks(),this.filter()}},{key:"componentDidUpdate",value:function(e){e.items!==this.props.items&&this.filter(this.state.filterValue)}},{key:"onChangeSearchInput",value:function(e){this.filter(e.target.value)}},{key:"onHover",value:function(e){this.setState({hoveredItem:e});var t=this.props,n=t.showInsertionPoint,r=t.hideInsertionPoint;e?n():r()}},{key:"bindPanel",value:function(e){var t=this;return function(n){t.panels[e]=n}}},{key:"onTogglePanel",value:function(e){var t=this;return function(){-1!==t.state.openPanels.indexOf(e)?t.setState({openPanels:Object(p.without)(t.state.openPanels,e)}):(t.setState({openPanels:[].concat(Object(D.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){Ct()(t.panels[e],t.inserterResults.current,{alignWithTop:!0})})))}}},{key:"filterOpenPanels",value:function(e,t,n,r,o){if(e===this.state.filterValue)return this.state.openPanels;if(!e)return["suggested"];var i=[];return o.length>0&&i.push("reusable"),r.length>0&&(i=i.concat(Object.keys(t),Object.keys(n))),i}},{key:"filter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props,n=t.categories,r=t.collections,o=t.debouncedSpeak,i=t.items,c=t.rootChildBlocks,a=gc(i,n,r,e),l=Object(p.filter)(a,(function(e){var t=e.name;return Object(p.includes)(c,t)})),s=[];if(!e){var u=this.props.maxSuggestedItems||9;s=Object(p.filter)(i,(function(e){return e.utility>0})).slice(0,u)}var d=Object(p.filter)(a,{category:"reusable"}),f=function(e){return Object(p.findIndex)(n,(function(t){return t.slug===e.category}))},b=Object(p.flow)((function(e){return Object(p.filter)(e,(function(e){return"reusable"!==e.category}))}),(function(e){return Object(p.sortBy)(e,f)}),(function(e){return Object(p.groupBy)(e,"category")}))(a),h=Oc({},r);Object.keys(r).forEach((function(e){h[e]=a.filter((function(t){return kc(t)===e})),0===h[e].length&&delete h[e]})),this.setState({hoveredItem:null,childItems:l,filterValue:e,suggestedItems:s,reusableItems:d,itemsPerCategory:b,itemsPerCollection:h,openPanels:this.filterOpenPanels(e,b,h,a,d)});var m=Object.keys(b).reduce((function(e,t){return e+b[t].length}),0),g=Object(U.sprintf)(Object(U._n)("%d result found.","%d results found.",m),m);o(g)}},{key:"onKeyDown",value:function(e){Object(p.includes)([wt.LEFT,wt.DOWN,wt.RIGHT,wt.UP,wt.BACKSPACE,wt.ENTER],e.keyCode)&&e.stopPropagation()}},{key:"render",value:function(){var e=this,t=this.props,n=t.categories,r=t.collections,o=t.instanceId,c=t.onSelect,a=t.rootClientId,l=t.showInserterHelpPanel,s=this.state,u=s.childItems,f=s.hoveredItem,h=s.itemsPerCategory,m=s.itemsPerCollection,g=s.openPanels,v=s.reusableItems,O=s.suggestedItems,j=s.filterValue,k=function(e){return-1!==g.indexOf(e)},y=!(Object(p.isEmpty)(O)&&Object(p.isEmpty)(v)&&Object(p.isEmpty)(h)&&Object(p.isEmpty)(m)),_=f?Object(i.getBlockType)(f.name):null,S=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":S}),onKeyPress:jc,onKeyDown:this.onKeyDown},Object(d.createElement)("div",{className:"block-editor-inserter__main-area"},Object(d.createElement)("label",{htmlFor:"block-editor-inserter__search-".concat(o),className:"screen-reader-text"},Object(U.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(o),type:"search",placeholder:Object(U.__)("Search for a block"),className:"block-editor-inserter__search",autoFocus:!0,onChange:this.onChangeSearchInput}),Object(d.createElement)("div",{className:"block-editor-inserter__results",ref:this.inserterResults,tabIndex:"0",role:"region","aria-label":Object(U.__)("Available block types")},Object(d.createElement)(sc,{rootClientId:a,items:u,onSelect:c,onHover:this.onHover}),!!O.length&&Object(d.createElement)(z.PanelBody,{title:Object(U._x)("Most used","blocks"),opened:k("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(ac,{items:O,onSelect:c,onHover:this.onHover})),Object(p.map)(n,(function(t){var n=h[t.slug];return n&&n.length?Object(d.createElement)(z.PanelBody,{key:t.slug,title:t.title,icon:t.icon,opened:k(t.slug),onToggle:e.onTogglePanel(t.slug),ref:e.bindPanel(t.slug)},Object(d.createElement)(ac,{items:n,onSelect:c,onHover:e.onHover})):null})),Object(p.map)(r,(function(t,n){var r=m[n];return r&&r.length?Object(d.createElement)(z.PanelBody,{key:n,title:t.title,icon:t.icon,opened:k(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(d.createElement)(ac,{items:r,onSelect:c,onHover:e.onHover})):null})),!!v.length&&Object(d.createElement)(z.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(U.__)("Reusable"),opened:k("reusable"),onToggle:this.onTogglePanel("reusable"),icon:"controls-repeat",ref:this.bindPanel("reusable")},Object(d.createElement)(ac,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(It.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(U.__)("Manage all reusable blocks"))),Object(d.createElement)(bc.Slot,{fillProps:{onSelect:c,onHover:this.onHover,filterValue:j,hasItems:y}},(function(e){return e.length?e:y?null:Object(d.createElement)("p",{className:"block-editor-inserter__no-results"},Object(U.__)("No blocks found."))})))),S&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel"},f&&Object(d.createElement)(d.Fragment,null,!Object(i.isReusableBlock)(f)&&Object(d.createElement)(lc,{blockType:f}),Object(d.createElement)("div",{className:"block-editor-inserter__preview"},Object(i.isReusableBlock)(f)||_.example?Object(d.createElement)("div",{className:"block-editor-inserter__preview-content"},Object(d.createElement)(rc,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,{attributes:Oc({},_.example.attributes,{},f.initialAttributes),innerBlocks:_.example.innerBlocks}):Object(i.createBlock)(f.name,f.initialAttributes)})):Object(d.createElement)("div",{className:"block-editor-inserter__preview-content-missing"},Object(U.__)("No Preview Available.")))),!f&&Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-no-block-text"},Object(d.createElement)("div",{className:"block-editor-inserter__menu-help-panel-title"},Object(U.__)("Content blocks")),Object(d.createElement)("p",null,Object(U.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(d.createElement)("p",null,Object(U.__)("There are blocks available for all kinds of content: insert text, headings, images, lists, videos, tables, and lots more.")),Object(d.createElement)("p",null,Object(U.__)("Browse through the library to learn more about what each block does."))),Object(d.createElement)(z.Tip,null,Object(d.__experimentalCreateInterpolateElement)(Object(U.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(d.createElement)("kbd",null)})))))}}]),t}(d.Component),_c=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.isAppender,o=t.rootClientId,i=t.showInserterHelpPanel,c=e("core/block-editor"),a=c.getInserterItems,l=c.getBlockName,s=c.getBlockRootClientId,u=c.getBlockSelectionEnd,d=c.getSettings,f=e("core/blocks"),b=f.getCategories,p=f.getCollections,h=f.getChildBlockNames,m=o;if(!m&&!n&&!r){var g=u();g&&(m=s(g)||void 0)}var v=l(m),O=d(),j=O.showInserterHelpPanel,k=O.__experimentalFetchReusableBlocks;return{categories:b(),collections:p(),rootChildBlocks:h(v),items:a(m),showInserterHelpPanel:i&&j,destinationRootClientId:m,fetchReusableBlocks:k}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=e("core/block-editor"),c=o.showInsertionPoint;function a(){var e=r("core/block-editor"),n=e.getBlockIndex,o=e.getBlockSelectionEnd,i=e.getBlockOrder,c=t.clientId,a=t.destinationRootClientId,l=t.isAppender;if(c)return n(c,a);var s=o();return!l&&s?n(s,a)+1:i(a).length}return{showInsertionPoint:function(){var e=a();c(t.destinationRootClientId,e)},hideInsertionPoint:o.hideInsertionPoint,onSelect:function(n){var o=e("core/block-editor"),c=o.replaceBlocks,l=o.insertBlock,s=r("core/block-editor").getSelectedBlock,u=t.isAppender,d=t.onSelect,f=t.__experimentalSelectBlockOnInsert,b=n.name,h=n.title,m=n.initialAttributes,g=n.innerBlocks,v=s(),O=Object(i.createBlock)(b,m,function e(t){return Object(p.map)(t,(function(t){var n=Object(M.a)(t,3),r=n[0],o=n[1],c=n[2],a=void 0===c?[]:c;return Object(i.createBlock)(r,o,e(a))}))}(g));if(!u&&v&&Object(i.isUnmodifiedDefaultBlock)(v))c(v.clientId,O);else if(l(O,a(),t.destinationRootClientId,f),!f){var j=Object(U.sprintf)(Object(U.__)("%s block added"),h);Object(ye.speak)(j)}return d(),O}}})),z.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(yc),Sc=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),i):Object(U._x)("Add block","Generic label for block inserter button"),Object(d.createElement)(z.Button,{icon:St.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Ec=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(w.a)(e)),e.renderToggle=e.renderToggle.bind(Object(w.a)(e)),e.renderContent=e.renderContent.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onToggle",value:function(e){var t=this.props.onToggle;t&&t(e)}},{key:"renderToggle",value:function(e){var t=e.onToggle,n=e.isOpen,r=this.props,o=r.disabled,i=r.blockTitle,c=r.hasSingleBlockType,a=r.renderToggle,l=void 0===a?Sc:a;return l({onToggle:t,isOpen:n,disabled:o,blockTitle:i,hasSingleBlockType:c})}},{key:"renderContent",value:function(e){var t=e.onClose,n=this.props,r=n.rootClientId,o=n.clientId,i=n.isAppender,c=n.showInserterHelpPanel,a=n.__experimentalSelectBlockOnInsert;return Object(d.createElement)(_c,{onSelect:t,rootClientId:r,clientId:o,isAppender:i,showInserterHelpPanel:c,__experimentalSelectBlockOnInsert:a})}},{key:"render",value:function(){var e=this.props,t=e.position,n=e.hasSingleBlockType,r=e.insertOnlyAllowedBlock;return n?this.renderToggle({onToggle:r}):Object(d.createElement)(z.Dropdown,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(U.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(d.Component),Cc=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=t.rootClientId,o=e("core/block-editor"),i=o.getBlockRootClientId,c=o.hasInserterItems,a=o.__experimentalGetAllowedBlocks,l=e("core/blocks").__experimentalGetBlockVariations,s=a(r=r||i(n)||void 0),u=1===Object(p.size)(s)&&0===Object(p.size)(l(s[0].name,"inserter")),d=!1;return u&&(d=s[0]),{hasItems:c(r),hasSingleBlockType:u,blockTitle:d?d.title:"",allowedBlockType:d,rootClientId:r}})),Object(g.withDispatch)((function(e,t,n){var r=n.select;return{insertOnlyAllowedBlock:function(){var n=t.rootClientId,o=t.clientId,c=t.isAppender,a=t.hasSingleBlockType,l=t.allowedBlockType,s=t.__experimentalSelectBlockOnInsert;if(a&&((0,e("core/block-editor").insertBlock)(Object(i.createBlock)(l.name),function(){var e=r("core/block-editor"),t=e.getBlockIndex,i=e.getBlockSelectionEnd,a=e.getBlockOrder;if(o)return t(o,n);var l=i();return!c&&l?t(l,n)+1:a(n).length}(),n,s),!s)){var u=Object(U.sprintf)(Object(U.__)("%s block added"),l.title);Object(ye.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Ec);var wc=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(Cc,{rootClientId:t,__experimentalSelectBlockOnInsert:r,renderToggle:function(e){var t,r=e.onToggle,o=e.disabled,i=e.isOpen,c=e.blockTitle,a=e.hasSingleBlockType;t=a?Object(U.sprintf)(Object(U._x)("Add %s","directly add the only allowed block"),c):Object(U._x)("Add block","Generic label for block inserter button");var l=!a;return Object(d.createElement)(z.Tooltip,{text:t},Object(d.createElement)(z.Button,{className:b()(n,"block-editor-button-block-appender"),onClick:r,"aria-haspopup":l?"true":void 0,"aria-expanded":l?i:void 0,disabled:o,label:t},Object(d.createElement)("span",{className:"screen-reader-text"},t),Object(d.createElement)(_t.a,{icon:St.a})))},isAppender:!0})};function Ic(e){var t=e.blocks,n=e.selectedBlockClientId,r=e.selectBlock,o=e.showAppender,c=e.showNestedBlocks,a=e.parentBlockClientId,l=o&&!!a;return Object(d.createElement)("ul",{className:"block-editor-block-navigation__list",role:"list"},Object(p.map)(Object(p.omitBy)(t,p.isNil),(function(e){var t=Object(i.getBlockType)(e.name),a=e.clientId===n;return Object(d.createElement)("li",{key:e.clientId},Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(z.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(yt,{icon:t.icon,showColors:!0}),Object(i.__experimentalGetBlockLabel)(t,e.attributes),a&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(U.__)("(selected block)")))),c&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(Ic,{blocks:e.innerBlocks,selectedBlockClientId:n,selectBlock:r,parentBlockClientId:e.clientId,showAppender:o,showNestedBlocks:!0}))})),l&&Object(d.createElement)("li",null,Object(d.createElement)("div",{className:"block-editor-block-navigation__item"},Object(d.createElement)(wc,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var xc=Object(h.compose)(Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getBlockHierarchyRootClientId,o=t.getBlock,i=t.getBlocks,c=n();return{rootBlocks:i(),rootBlock:c?o(r(c)):null,selectedBlockClientId:c}})),Object(g.withDispatch)((function(e,t){var n=t.onSelect,r=void 0===n?p.noop:n;return{selectBlock:function(t){e("core/block-editor").selectBlock(t),r(t)}}})))((function(e){var t=e.rootBlock,n=e.rootBlocks,r=e.selectedBlockClientId,o=e.selectBlock;if(!n||0===n.length)return null;var i=t&&(t.clientId!==r||t.innerBlocks&&0!==t.innerBlocks.length);return Object(d.createElement)(z.NavigableMenu,{role:"presentation",className:"block-editor-block-navigation__container"},Object(d.createElement)("p",{className:"block-editor-block-navigation__label"},Object(U.__)("Block navigation")),i&&Object(d.createElement)(Ic,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Ic,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Bc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(z.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function Tc(e){var t=e.isEnabled,n=e.onToggle,r=e.isOpen;Object(l.useShortcut)("core/edit-post/toggle-block-navigation",Object(d.useCallback)(n,[n]),{bindGlobal:!0,isDisabled:!t});var o=Object(g.useSelect)((function(e){return e("core/keyboard-shortcuts").getShortcutRepresentation("core/edit-post/toggle-block-navigation")}),[]);return Object(d.createElement)(z.Button,{icon:Bc,"aria-expanded":r,onClick:t?n:void 0,label:Object(U.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Pc=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)(Tc,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(xc,{onSelect:t})}})};var Nc=function(e){var t=e.icon,n=void 0===t?"layout":t,r=e.label,o=void 0===r?Object(U.__)("Choose variation"):r,i=e.instructions,c=void 0===i?Object(U.__)("Select a variation to start with."):i,a=e.variations,l=e.onSelect,s=e.allowSkip,u=b()("block-editor-block-variation-picker",{"has-many-variations":a.length>4});return Object(d.createElement)(z.Placeholder,{icon:n,label:o,instructions:c,className:u},Object(d.createElement)("ul",{className:"block-editor-block-variation-picker__variations",role:"list"},a.map((function(e){return Object(d.createElement)("li",{key:e.name},Object(d.createElement)(z.Button,{isSecondary:!0,icon:e.icon,iconSize:48,onClick:function(){return l(e)},className:"block-editor-block-variation-picker__variation",label:e.title}))}))),s&&Object(d.createElement)("div",{className:"block-editor-block-variation-picker__skip"},Object(d.createElement)(z.Button,{isLink:!0,onClick:function(){return l()}},Object(U.__)("Skip"))))},Lc=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Ac=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}));function Rc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Dc={top:{icon:Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(U._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Ac,title:Object(U._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Lc,title:Object(U._x)("Vertically Align Bottom","Block vertical alignment setting")}},Mc=["top","center","bottom"];var Fc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Mc:r,i=e.isCollapsed,c=void 0===i||i,a=Dc[t],l=Dc.top;return Object(d.createElement)(z.Toolbar,{isCollapsed:c,icon:a?a.icon:l.icon,label:Object(U._x)("Change vertical alignment","Block vertical alignment setting label"),controls:o.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Dc[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})},Vc=Object(h.createHigherOrderComponent)(Object(g.withSelect)((function(e,t){var n=e("core/block-editor").getSettings(),r=void 0===t.colors?n.colors:t.colors,o=void 0===t.disableCustomColors?n.disableCustomColors:t.disableCustomColors;return{colors:r,disableCustomColors:o,hasColorsToChoose:!Object(p.isEmpty)(r)||!o}})),"withColorContext"),Hc=Vc(z.ColorPalette);function Uc(e){var t=e.onChange,n=e.value,r=Object(F.a)(e,["onChange","value"]);return Object(d.createElement)(ue,Object(u.a)({},r,{onColorChange:t,colorValue:n,gradients:[],disableCustomGradients:!0}))}function zc(e){var t=Object(g.useSelect)((function(e){return Object(p.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])}),[]),n=t.gradients,r=t.disableCustomGradients;return Object(d.createElement)(z.__experimentalGradientPicker,Object(u.a)({gradients:void 0!==e.gradients?e.gradient:n,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:r},e))}var Gc=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?z.__experimentalGradientPicker:zc;return Object(d.createElement)(t,e)},Kc=function(e){var t=e.className,n=e.value,r=e.onChange,o=e.label,i=void 0===o?Object(U.__)("Gradient Presets"):o,c=Object(F.a)(e,["className","value","onChange","label"]),a=Object(g.useSelect)((function(e){return Object(p.pick)(e("core/block-editor").getSettings(),["gradients","disableCustomGradients"])}),[]),l=a.gradients,s=void 0===l?[]:l,f=a.disableCustomGradients;return Object(p.isEmpty)(s)&&f?null:Object(d.createElement)(z.BaseControl,{className:b()("block-editor-gradient-picker-control",t)},Object(d.createElement)(z.BaseControl.VisualLabel,null,i),Object(d.createElement)(Gc,Object(u.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:s,disableCustomGradients:f},c)))};function Wc(e){var t=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().gradients}),[]);return Object(p.isEmpty)(t)?null:Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Gradient")},Object(d.createElement)(Kc,e))}var qc=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(E.a)(this,Object(C.a)(t).call(this,e))).updateDimensions=n.updateDimensions.bind(Object(w.a)(n)),n}return Object(I.a)(t,e),Object(S.a)(t,[{key:"updateDimensions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){e.props.onChange({width:t,height:n})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.imageWidth,r=t.imageHeight,o=t.imageSizeOptions,i=void 0===o?[]:o,c=t.isResizable,a=void 0===c||c,l=t.slug,s=t.width,u=t.height,f=t.onChange,b=t.onChangeImage,h=void 0===b?p.noop:b;return Object(d.createElement)(d.Fragment,null,!Object(p.isEmpty)(i)&&Object(d.createElement)(z.SelectControl,{label:Object(U.__)("Image Size"),value:l,options:i,onChange:h}),a&&Object(d.createElement)("div",{className:"block-editor-image-size-control"},Object(d.createElement)("p",{className:"block-editor-image-size-control__row"},Object(U.__)("Image Dimensions")),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(U.__)("Width"),value:s||n||"",min:1,onChange:function(e){return f({width:parseInt(e,10)})}}),Object(d.createElement)(z.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(U.__)("Height"),value:u||r||"",min:1,onChange:function(e){return f({height:parseInt(e,10)})}})),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(z.ButtonGroup,{"aria-label":Object(U.__)("Image Size")},[25,50,75,100].map((function(t){var o=Math.round(n*(t/100)),i=Math.round(r*(t/100)),c=s===o&&u===i;return Object(d.createElement)(z.Button,{key:t,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,i)},t,"%")}))),Object(d.createElement)(z.Button,{isSmall:!0,onClick:this.updateDimensions()},Object(U.__)("Reset")))))}}]),t}(d.Component),$c=n(49),Yc=n.n($c),Xc=Object(h.createHigherOrderComponent)((function(e){return Y((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),Zc=Xc((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(wc,{rootClientId:t,showSeparator:n})})),Jc=Object(h.compose)([Xc,Object(g.withSelect)((function(e,t){var n=t.clientId,r=(0,e("core/block-editor").getBlockOrder)(n);return{lastBlockClientId:Object(p.last)(r)}}))])((function(e){var t=e.clientId,n=e.lastBlockClientId;return Object(d.createElement)(Wi,{rootClientId:t,lastBlockClientId:n})})),Qc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.block,n=e.templateLock,r=e.__experimentalBlocks,o=e.replaceInnerBlocks,i=e.__unstableMarkNextChangeAsNotPersistent;0!==t.innerBlocks.length&&"all"!==n||this.synchronizeBlocksWithTemplate(),this.state.templateInProcess&&this.setState({templateInProcess:!1}),r&&(i(),o(r))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.block,r=t.templateLock,o=t.template,i=t.isLastBlockChangePersistent,c=t.onInput,a=t.onChange,l=n.innerBlocks;(this.updateNestedSettings(),0===l.length||"all"===r)&&(!Object(p.isEqual)(o,e.template)&&this.synchronizeBlocksWithTemplate());if(e.block.innerBlocks!==l){var s=i?a:c;s&&s(l)}}},{key:"synchronizeBlocksWithTemplate",value:function(){var e=this.props,t=e.template,n=e.block,r=e.replaceInnerBlocks,o=n.innerBlocks,c=Object(i.synchronizeBlocksWithTemplate)(o,t);Object(p.isEqual)(c,o)||r(c)}},{key:"updateNestedSettings",value:function(){var e=this.props,t=e.blockListSettings,n=e.allowedBlocks,r=e.updateNestedSettings,o=e.templateLock,i=e.parentLock,c={allowedBlocks:n,templateLock:void 0===o?i:o,__experimentalCaptureToolbars:e.__experimentalCaptureToolbars||!1,__experimentalMoverDirection:e.__experimentalMoverDirection,__experimentalUIParts:e.__experimentalUIParts};Yc()(t,c)||r(c)}},{key:"render",value:function(){var e=this.props,t=e.enableClickThrough,n=e.clientId,r=e.hasOverlay,o=e.__experimentalCaptureToolbars,i=Object(F.a)(e,["enableClickThrough","clientId","hasOverlay","__experimentalCaptureToolbars"]),c=this.state.templateInProcess,a=b()("block-editor-inner-blocks",{"has-overlay":t&&r,"is-capturing-toolbar":o});return Object(d.createElement)("div",{className:a},!c&&Object(d.createElement)(tc,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(Qc=Object(h.compose)([Object(a.withViewportMatch)({isSmallScreen:"< medium"}),Y((function(e){return Object(p.pick)(e,["clientId"])})),Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.isBlockSelected,o=n.hasSelectedInnerBlock,i=n.getBlock,c=n.getBlockListSettings,a=n.getBlockRootClientId,l=n.getTemplateLock,s=n.isNavigationMode,u=n.isLastBlockChangePersistent,d=t.clientId,f=t.isSmallScreen,b=i(d),p=a(d);return{block:b,blockListSettings:c(d),hasOverlay:"core/template"!==b.name&&!r(d)&&!o(d,!0),parentLock:l(p),enableClickThrough:s()||f,isLastBlockChangePersistent:u()}})),Object(g.withDispatch)((function(e,t){var n=e("core/block-editor"),r=n.replaceInnerBlocks,o=n.__unstableMarkNextChangeAsNotPersistent,i=n.updateBlockListSettings,c=t.block,a=t.clientId,l=t.templateInsertUpdatesSelection,s=void 0===l||l;return{replaceInnerBlocks:function(e){r(a,e,0===c.innerBlocks.length&&s&&0!==e.length)},__unstableMarkNextChangeAsNotPersistent:o,updateNestedSettings:function(t){e(i(a,t))}}}))])(Qc)).DefaultBlockAppender=Jc,Qc.ButtonBlockAppender=Zc,Qc.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var ea=Qc,ta=Object(z.createSlotFill)("InspectorAdvancedControls"),na=ta.Fill,ra=ta.Slot,oa=X(na);oa.slotName="InspectorAdvancedControls",oa.Slot=ra;var ia=oa,ca=n(47);function aa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var la=[{id:"opensInNewTab",title:Object(U.__)("Open in New Tab")}],sa=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?la:o;if(!i||!i.length)return null;var c=function(e){return function(n){r(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,Object(s.a)({},e.id,n)))}},a=i.map((function(e){return Object(d.createElement)(z.ToggleControl,{className:"block-editor-link-control__setting",key:e.id,label:e.title,onChange:c(e),checked:!!t&&t[e.id]})}));return Object(d.createElement)("fieldset",{className:"block-editor-link-control__settings"},Object(d.createElement)("legend",{className:"screen-reader-text"},Object(U.__)("Currently selected link settings")),a)},ua=function(e){var t=e.itemProps,n=e.suggestion,r=e.isSelected,o=void 0!==r&&r,i=e.onClick,c=e.isURL,a=void 0!==c&&c,l=e.searchTerm,s=void 0===l?"":l;return Object(d.createElement)(z.Button,Object(u.a)({},t,{onClick:i,className:b()("block-editor-link-control__search-item",{"is-selected":o,"is-url":a,"is-entity":!a})}),a&&Object(d.createElement)(z.Icon,{className:"block-editor-link-control__search-item-icon",icon:"admin-site-alt3"}),Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-title"},Object(d.createElement)(z.TextHighlight,{text:n.title,highlight:s})),Object(d.createElement)("span",{"aria-hidden":!a,className:"block-editor-link-control__search-item-info"},!a&&(Object(It.safeDecodeURI)(n.url)||""),a&&Object(U.__)("Press ENTER to add this link"))),n.type&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-type"},n.type))},da=function(e){e.keyCode;e.stopPropagation(),wt.ENTER},fa=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.onReset,a=e.showInitialSuggestions,l=Object(d.useState)(),s=Object(M.a)(l,2),u=s[0],f=s[1];return Object(d.createElement)("form",{onSubmit:function(e){e.preventDefault(),r(u||{url:t})}},Object(d.createElement)(ja,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),f(t)},onKeyDown:function(e){e.keyCode!==wt.ENTER&&function(e){var t=e.keyCode;[wt.LEFT,wt.DOWN,wt.RIGHT,wt.UP,wt.BACKSPACE,wt.ENTER].indexOf(t)>-1&&e.stopPropagation()}(e)},onKeyPress:da,placeholder:Object(U.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:a}),Object(d.createElement)(z.Button,{disabled:!t.length,type:"reset",label:Object(U.__)("Reset"),icon:"no-alt",className:"block-editor-link-control__search-reset",onClick:c}))};function ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ba(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ba(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ha=function e(t){var n=t.value,r=t.settings,o=t.onChange,i=void 0===o?p.noop:o,c=t.showInitialSuggestions,a=Object(d.useRef)(),l=Object(h.useInstanceId)(e),s=Object(d.useState)(n&&n.url||""),f=Object(M.a)(s,2),m=f[0],v=f[1],O=Object(d.useState)(!n||!n.url),j=Object(M.a)(O,2),k=j[0],y=j[1],_=Object(d.useRef)(!1),S=Object(g.useSelect)((function(e){return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}}),[]).fetchSearchSuggestions,E=n&&Object(It.filterURLForDisplay)(Object(It.safeDecodeURI)(n.url))||"";Object(d.useEffect)((function(){_.current&&a.current&&!a.current.contains(document.activeElement)&&(Yo.focus.focusable.find(a.current)[0]||a.current).focus();_.current=!1}),[k]);var C=function(e){var t="URL",n=Object(It.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(p.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:"-1",title:e,url:"URL"===t?Object(It.prependHTTP)(e):e,type:t}])},w=function(){var e=Object(ca.a)(Jt.a.mark((function e(t,n){var r,o;return Jt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([S(t,pa({},n.isInitialSuggestions?{perPage:3}:{})),C(t)]);case 2:return r=e.sent,o=!t.includes(" "),e.abrupt("return",o&&!n.isInitialSuggestions?r[0].concat(r[1]):r[0]);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();function I(){_.current=!!a.current&&a.current.contains(document.activeElement),y(!1)}var x=Object(d.useCallback)((function(e,t){var n=Object(It.getProtocol)(e)||"",r=n.includes("mailto"),o=Object(p.startsWith)(e,"#"),i=n.includes("tel");return o||r||i||Object(It.isURL)(e)||e&&e.includes("www.")?C(e):w(e,t)}),[C,S]);return Object(d.createElement)("div",{tabIndex:-1,ref:a,className:"block-editor-link-control"},k||!n?Object(d.createElement)(fa,{value:m,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";v(e)},onSelect:function(e){i(pa({},n,{},e)),I()},renderSuggestions:function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,c=e.selectedSuggestion,a=e.isLoading,s=e.isInitialSuggestions,f=b()("block-editor-link-control__search-results",{"is-loading":a}),p=["url","mailto","tel","internal"],h=s?"block-editor-link-control-search-results-label-".concat(l):void 0,g=s?Object(U.__)("Recently updated"):Object(U.sprintf)(Object(U.__)("Search results for %s"),m),v=s?void 0:g,O=Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:h,"aria-label":v},g);return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},s?O:Object(d.createElement)(z.VisuallyHidden,null,O),Object(d.createElement)("div",Object(u.a)({},t,{className:f,"aria-labelledby":h}),o.map((function(e,t){return Object(d.createElement)(ua,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,onClick:function(){i(pa({},n,{},e)),I()},isSelected:t===c,isURL:p.includes(e.type.toLowerCase()),searchTerm:m})}))))},fetchSuggestions:x,onReset:function(){v("")},showInitialSuggestions:c}):Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(l)},Object(U.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(l),"aria-selected":"true",className:b()("block-editor-link-control__search-item",{"is-current":!0})},Object(d.createElement)("span",{className:"block-editor-link-control__search-item-header"},Object(d.createElement)(z.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||E),n&&n.title&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},E)),Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(){return y(!0)},className:"block-editor-link-control__search-item-action block-editor-link-control__search-item-action--edit"},Object(U.__)("Edit"))),Object(d.createElement)(sa,{value:n,settings:r,onChange:i})))},ma=Object(z.withFilters)("editor.MediaUpload")((function(){return null}));var ga=Object(g.withSelect)((function(e){return{hasUploadPermissions:!!(0,e("core/block-editor").getSettings)().mediaUpload}}))((function(e){var t=e.hasUploadPermissions,n=e.fallback,r=void 0===n?null:n,o=e.children;return t?o:r})),va=function(e){return e.stopPropagation()},Oa=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(E.a)(this,Object(C.a)(t).call(this,e))).onChange=n.onChange.bind(Object(w.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(w.a)(n)),n.selectLink=n.selectLink.bind(Object(w.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(w.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(w.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(w.a)(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(S.a)(t,[{key:"componentDidUpdate",value:function(){var e=this,t=this.state,n=t.showSuggestions,r=t.selectedSuggestion;n&&null!==r&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,Ct()(this.suggestionNodes[r],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){e.scrollingIntoView=!1}),100)),this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentDidMount",value:function(){this.shouldShowInitialSuggestions()&&this.updateSuggestions()}},{key:"componentWillUnmount",value:function(){delete this.suggestionsRequest}},{key:"bindSuggestionNode",value:function(e){var t=this;return function(n){t.suggestionNodes[e]=n}}},{key:"shouldShowInitialSuggestions",value:function(){var e=this.state.suggestions,t=this.props,n=t.__experimentalShowInitialSuggestions,r=void 0!==n&&n,o=t.value;return!this.isUpdatingSuggestions&&r&&!(o&&o.length)&&!(e&&e.length)}},{key:"updateSuggestions",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.props,r=n.__experimentalFetchLinkSuggestions,o=n.__experimentalHandleURLSuggestions;if(r){var i=!(t&&t.length);if(i||!(t.length<2||!o&&Object(It.isURL)(t))){this.isUpdatingSuggestions=!0,this.setState({showSuggestions:!0,selectedSuggestion:null,loading:!0});var c=r(t,{isInitialSuggestions:i});c.then((function(t){e.suggestionsRequest===c&&(e.setState({suggestions:t,loading:!1}),t.length?e.props.debouncedSpeak(Object(U.sprintf)(Object(U._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",t.length),t.length),"assertive"):e.props.debouncedSpeak(Object(U.__)("No results."),"assertive"),e.isUpdatingSuggestions=!1)})).catch((function(){e.suggestionsRequest===c&&(e.setState({loading:!1}),e.isUpdatingSuggestions=!1)})),this.suggestionsRequest=c}else this.setState({showSuggestions:!1,selectedSuggestion:null,loading:!1})}}},{key:"onChange",value:function(e){var t=e.target.value;this.props.onChange(t),this.props.disableSuggestions||this.updateSuggestions(t)}},{key:"onKeyDown",value:function(e){var t=this.state,n=t.showSuggestions,r=t.selectedSuggestion,o=t.suggestions,i=t.loading;if(n&&o.length&&!i){var c=this.state.suggestions[this.state.selectedSuggestion];switch(e.keyCode){case wt.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case wt.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case wt.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(U.__)("Link selected.")));break;case wt.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case wt.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case wt.DOWN:this.props.value.length!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(this.props.value.length,this.props.value.length))}}},{key:"selectLink",value:function(e){this.props.onChange(e.url,e),this.setState({selectedSuggestion:null,showSuggestions:!1})}},{key:"handleOnClick",value:function(e){this.selectLink(e),this.inputRef.current.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.label,r=t.instanceId,o=t.className,i=t.isFullWidth,c=t.hasBorder,a=t.__experimentalRenderSuggestions,l=t.placeholder,s=void 0===l?Object(U.__)("Paste URL or type to search"):l,f=t.value,h=void 0===f?"":f,m=t.autoFocus,g=void 0===m||m,v=t.__experimentalShowInitialSuggestions,O=void 0!==v&&v,j=this.state,k=j.showSuggestions,y=j.suggestions,_=j.selectedSuggestion,S=j.loading,E="url-input-control-".concat(r),C="block-editor-url-input-suggestions-".concat(r),w="block-editor-url-input-suggestion-".concat(r),I={id:C,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(w,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(z.BaseControl,{label:n,id:E,className:b()("block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(d.createElement)("input",{autoFocus:g,type:"text","aria-label":Object(U.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:va,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":C,"aria-activedescendant":null!==_?"".concat(w,"-").concat(_):void 0,ref:this.inputRef}),S&&Object(d.createElement)(z.Spinner,null),Object(p.isFunction)(a)&&k&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:x,isLoading:S,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:O&&!(h&&h.length)}),!Object(p.isFunction)(a)&&k&&!!y.length&&Object(d.createElement)(z.Popover,{position:"bottom",noArrow:!0,focusOnMount:!1},Object(d.createElement)("div",Object(u.a)({},I,{className:b()("block-editor-url-input__suggestions","".concat(o,"__suggestions"))}),y.map((function(t,n){return Object(d.createElement)(z.Button,Object(u.a)({},x(0,n),{key:t.id,className:b()("block-editor-url-input__suggestion",{"is-selected":n===_}),onClick:function(){return e.handleOnClick(t)}}),t.title)})))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.value,r=e.disableSuggestions,o=e.__experimentalShowInitialSuggestions,i=void 0!==o&&o,c=t.showSuggestions,a=n&&n.length;return i||a||(c=!1),!0===r&&(c=!1),{showSuggestions:c}}}]),t}(d.Component),ja=Object(h.compose)(h.withSafeTimeout,z.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(Oa);function ka(e){var t=e.autocompleteRef,n=e.className,r=e.onChangeInputValue,o=e.value,i=Object(F.a)(e,["autocompleteRef","className","onChangeInputValue","value"]);return Object(d.createElement)("form",Object(u.a)({className:b()("block-editor-url-popover__link-editor",n)},i),Object(d.createElement)(ja,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(z.Button,{icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"}))}function ya(e){var t=e.url,n=e.urlLabel,r=e.className,o=b()(r,"block-editor-url-popover__link-viewer-url");return t?Object(d.createElement)(z.ExternalLink,{className:o,href:t},n||Object(It.filterURLForDisplay)(Object(It.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function _a(e){var t=e.className,n=e.linkClassName,r=e.onEditLinkClick,o=e.url,i=e.urlLabel,c=Object(F.a)(e,["className","linkClassName","onEditLinkClick","url","urlLabel"]);return Object(d.createElement)("div",Object(u.a)({className:b()("block-editor-url-popover__link-viewer",t)},c),Object(d.createElement)(ya,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(z.Button,{icon:"edit",label:Object(U.__)("Edit"),onClick:r}))}var Sa=Object(h.compose)(z.withNotices)((function(e){var t,n=e.mediaURL,r=e.allowedTypes,o=e.accept,i=e.onSelect,c=e.onSelectURL,a=e.onError,l=e.name,s=void 0===l?Object(U.__)("Replace"):l,u=Object(d.useState)(!1),f=Object(M.a)(u,2),b=f[0],p=f[1],h=Object(d.useState)(!1),m=Object(M.a)(h,2),v=m[0],O=m[1],j=Object(d.useState)(n),k=Object(M.a)(j,2),y=k[0],_=k[1],S=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),E=Object(d.createRef)(),C=function(e){i(e),_(e.url),Object(ye.speak)(Object(U.__)("The media file has been replaced"))},w=function(e){e.keyCode===wt.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=v?Object(d.createElement)(ka,{onKeyDown:function(e){[wt.LEFT,wt.DOWN,wt.RIGHT,wt.UP,wt.BACKSPACE,wt.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:y,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return _(e)},onSubmit:function(e){e.preventDefault(),c(y),O(!1),E.current.focus()}}):Object(d.createElement)(_a,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:y,onEditLinkClick:function(){return O(!v)}}),Object(d.createElement)(z.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(z.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(z.Button,{ref:E,"aria-expanded":t,onClick:n,onKeyDown:w},s,Object(d.createElement)("span",{className:"block-editor-media-replace-flow__indicator"})))},renderContent:function(e){var n=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,null,Object(d.createElement)(ma,{onSelect:function(e){return C(e)},allowedTypes:r,render:function(e){var t=e.open;return Object(d.createElement)(z.MenuItem,{icon:"admin-media",onClick:t},Object(U.__)("Open Media Library"))}}),Object(d.createElement)(ga,null,Object(d.createElement)(z.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;S({allowedTypes:r,filesList:n,onFileChange:function(e){var n=Object(M.a)(e,1)[0];C(n),t()},onError:a})}(e,n)},accept:o,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(z.MenuItem,{icon:"upload",onClick:function(){t()}},Object(U.__)("Upload"))}})),c&&Object(d.createElement)(z.MenuItem,{icon:"admin-links",onClick:function(){return p(!b)},"aria-expanded":b},Object(d.createElement)("div",null," ",Object(U.__)("Insert from URL")," "))),b&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),Ea=n(35),Ca=n.n(Ea),wa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(w.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"toggleSettingsVisibility",value:function(){this.setState({isSettingsExpanded:!this.state.isSettingsExpanded})}},{key:"render",value:function(){var e=this.props,t=e.additionalControls,n=e.children,r=e.renderSettings,o=e.position,i=void 0===o?"bottom center":o,c=e.focusOnMount,a=void 0===c?"firstElement":c,l=Object(F.a)(e,["additionalControls","children","renderSettings","position","focusOnMount"]),s=this.state.isSettingsExpanded,f=!!r&&s;return Object(d.createElement)(z.Popover,Object(u.a)({className:"block-editor-url-popover",focusOnMount:a,position:i},l),Object(d.createElement)("div",{className:"block-editor-url-popover__input-container"},Object(d.createElement)("div",{className:"block-editor-url-popover__row"},n,!!r&&Object(d.createElement)(z.Button,{className:"block-editor-url-popover__settings-toggle",icon:"arrow-down-alt2",label:Object(U.__)("Link settings"),onClick:this.toggleSettingsVisibility,"aria-expanded":s})),f&&Object(d.createElement)("div",{className:"block-editor-url-popover__row block-editor-url-popover__settings"},r())),t&&!f&&Object(d.createElement)("div",{className:"block-editor-url-popover__additional-controls"},t))}}]),t}(d.Component);wa.LinkEditor=ka,wa.LinkViewer=_a;var Ia=wa,xa=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(Ia,{onClose:o},Object(d.createElement)("form",{className:"block-editor-media-placeholder__url-input-form",onSubmit:r},Object(d.createElement)("input",{className:"block-editor-media-placeholder__url-input-field",type:"url","aria-label":Object(U.__)("URL"),placeholder:Object(U.__)("Paste or type URL"),onChange:n,value:t}),Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:"editor-break",label:Object(U.__)("Apply"),type:"submit"})))},Ba=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(w.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(w.a)(e)),e.onUpload=e.onUpload.bind(Object(w.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(w.a)(e)),e.openURLInput=e.openURLInput.bind(Object(w.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onlyAllowsImages",value:function(){var e=this.props.allowedTypes;return!!e&&Object(p.every)(e,(function(e){return"image"===e||Object(p.startsWith)(e,"image/")}))}},{key:"componentDidMount",value:function(){this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"componentDidUpdate",value:function(e){Object(p.get)(e.value,["src"],"")!==Object(p.get)(this.props.value,["src"],"")&&this.setState({src:Object(p.get)(this.props.value,["src"],"")})}},{key:"onChangeSrc",value:function(e){this.setState({src:e.target.value})}},{key:"onSubmitSrc",value:function(e){e.preventDefault(),this.state.src&&this.props.onSelectURL&&(this.props.onSelectURL(this.state.src),this.closeURLInput())}},{key:"onUpload",value:function(e){this.onFilesUpload(e.target.files)}},{key:"onFilesUpload",value:function(e){var t,n=this.props,r=n.addToGallery,o=n.allowedTypes,i=n.mediaUpload,c=n.multiple,a=n.onError,l=n.onSelect,s=n.value;if(c)if(r){var u=void 0===s?[]:s;t=function(e){l(u.concat(e))}}else t=l;else t=function(e){var t=Object(M.a)(e,1)[0];return l(t)};i({allowedTypes:o,filesList:e,onFileChange:t,onError:a})}},{key:"openURLInput",value:function(){this.setState({isURLInputVisible:!0})}},{key:"closeURLInput",value:function(){this.setState({isURLInputVisible:!1})}},{key:"renderPlaceholder",value:function(e,t){var n=this.props,r=n.allowedTypes,o=void 0===r?[]:r,i=n.className,c=n.icon,a=n.isAppender,l=n.labels,s=void 0===l?{}:l,u=n.onDoubleClick,f=n.mediaPreview,p=n.notices,h=n.onSelectURL,m=n.mediaUpload,g=n.children,v=s.instructions,O=s.title;if(m||h||(v=Object(U.__)("To edit this block, you need permission to upload media.")),void 0===v||void 0===O){var j=1===o.length,k=j&&"audio"===o[0],y=j&&"image"===o[0],_=j&&"video"===o[0];void 0===v&&m&&(v=Object(U.__)("Upload a media file or pick one from your media library."),k?v=Object(U.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(U.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(U.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(U.__)("Media"),k?O=Object(U.__)("Audio"):y?O=Object(U.__)("Image"):_&&(O=Object(U.__)("Video")))}var S=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(z.Placeholder,{icon:c,label:O,instructions:v,className:S,notices:p,onClick:t,onDoubleClick:u,preview:f},e,g)}},{key:"renderDropZone",value:function(){var e=this.props,t=e.disableDropZone,n=e.onHTMLDrop,r=void 0===n?p.noop:n;return t?null:Object(d.createElement)(z.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(U.__)("Cancel"),isLink:!0,onClick:e},Object(U.__)("Cancel"))}},{key:"renderUrlSelectionUI",value:function(){if(!this.props.onSelectURL)return null;var e=this.state,t=e.isURLInputVisible,n=e.src;return Object(d.createElement)("div",{className:"block-editor-media-placeholder__url-input-container"},Object(d.createElement)(z.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(U.__)("Insert from URL")),t&&Object(d.createElement)(xa,{src:n,onChange:this.onChangeSrc,onSubmit:this.onSubmitSrc,onClose:this.closeURLInput}))}},{key:"renderMediaUploadChecked",value:function(){var e=this,t=this.props,n=t.accept,r=t.addToGallery,o=t.allowedTypes,i=void 0===o?[]:o,c=t.isAppender,a=t.mediaUpload,l=t.multiple,s=void 0!==l&&l,u=t.onSelect,f=t.value,h=void 0===f?{}:f,m=Object(d.createElement)(ma,{addToGallery:r,gallery:s&&this.onlyAllowsImages(),multiple:s,onSelect:u,allowedTypes:i,value:Object(p.isArray)(h)?h.map((function(e){return e.id})):h.id,render:function(e){var t=e.open;return Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(U.__)("Media Library"))}});if(a&&c)return Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(z.FormFileUpload,{onChange:this.onUpload,accept:n,multiple:s,render:function(t){var n=t.openFileDialog,r=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(U.__)("Upload")),m,e.renderUrlSelectionUI(),e.renderCancelLink());return e.renderPlaceholder(r,n)}}));if(a){var g=Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(z.FormFileUpload,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(U.__)("Upload")),m,this.renderUrlSelectionUI(),this.renderCancelLink());return this.renderPlaceholder(g)}return this.renderPlaceholder(m)}},{key:"render",value:function(){var e=this.props,t=e.disableMediaButtons,n=e.dropZoneUIOnly;return n||t?(n&&Ca()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(ga,null,this.renderDropZone())):Object(d.createElement)(ga,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Ta=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Pa=Object(h.compose)(Ta,Object(z.withFilters)("editor.MediaPlaceholder"))(Ba),Na=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(F.a)(e,["onChange","className"]);return Object(d.createElement)(ai.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function La(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(La),i=r||Object(U.sprintf)(Object(U._x)("Controls the %1$s property for %2$s viewports.","Text labelling a interface as controlling a given layout property (eg: margin) for a given screen size."),t,n.label);return Object(d.createElement)(d.Fragment,null,Object(d.createElement)("span",{"aria-describedby":"rbc-desc-".concat(o)},n.label),Object(d.createElement)("span",{className:"screen-reader-text",id:"rbc-desc-".concat(o)},i))}var Aa=function(e){var t=e.title,n=e.property,r=e.toggleLabel,o=e.onIsResponsiveChange,i=e.renderDefaultControl,c=e.renderResponsiveControls,a=e.isResponsive,l=void 0!==a&&a,s=e.defaultLabel,u=void 0===s?{id:"all",label:Object(U.__)("All")}:s,f=e.viewports,b=void 0===f?[{id:"small",label:Object(U.__)("Small screens")},{id:"medium",label:Object(U.__)("Medium screens")},{id:"large",label:Object(U.__)("Large screens")}]:f;if(!t||!n||!i)return null;var p=r||Object(U.sprintf)(Object(U.__)("Use the same %s on all screensizes."),n),h=Object(U.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),m=i(Object(d.createElement)(La,{property:n,viewport:u}),u);return Object(d.createElement)("fieldset",{className:"block-editor-responsive-block-control"},Object(d.createElement)("legend",{className:"block-editor-responsive-block-control__title"},t),Object(d.createElement)("div",{className:"block-editor-responsive-block-control__inner"},Object(d.createElement)(z.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:p,checked:!l,onChange:o,help:h}),!l&&Object(d.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--default"},m),l&&Object(d.createElement)("div",{className:"block-editor-responsive-block-control__group block-editor-responsive-block-control__group--responsive",hidden:!l},c?c(b):b.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(La,{property:n,viewport:e}),e))})))))},Ra=[wt.rawShortcut.primary("z"),wt.rawShortcut.primaryShift("z"),wt.rawShortcut.primary("y")],Da=Object(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Ra.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),Ma=function(){return Da},Fa=n(41);function Va(e){return e.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)})).map((function(e){return'<img src="'.concat(Object(Fa.createBlobURL)(e),'">')})).join("")}var Ha={position:"bottom left"},Ua=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(z.Toolbar,null,["bold","italic","link"].map((function(e){return Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(z.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(z.DropdownMenu,{icon:!1,label:Object(U.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(M.a)(e,1)[0].props})),"title"),popoverProps:Ha})}))))},za=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(z.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(Ua,null)):Object(d.createElement)(kt,null,Object(d.createElement)(Ua,null))},Ga=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onUse",value:function(){return this.props.onUse(),!1}},{key:"render",value:function(){var e=this.props,t=e.character,n=e.type;return Object(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(s.a)({},wt.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function Ka(e){var t,n=e.name,r=e.shortcutType,o=e.shortcutCharacter,i=Object(F.a)(e,["name","shortcutType","shortcutCharacter"]),c="RichText.ToolbarControls";return n&&(c+=".".concat(n)),r&&o&&(t=wt.displayShortcut[r](o)),Object(d.createElement)(z.Fill,{name:c},Object(d.createElement)(z.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var Wa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onInput",value:function(e){e.inputType===this.props.inputType&&this.props.onInput()}},{key:"componentDidMount",value:function(){document.addEventListener("input",this.onInput,!0)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("input",this.onInput,!0)}},{key:"render",value:function(){return null}}]),t}(d.Component);function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $a(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var Ya=Object(d.forwardRef)((function e(t,n){var r=t.children,o=t.tagName,a=t.value,l=t.onChange,f=t.isSelected,p=t.multiline,m=t.inlineToolbar,v=t.wrapperClassName,O=t.className,j=t.autocompleters,k=t.onReplace,y=t.placeholder,_=t.keepPlaceholderOnFocus,S=t.allowedFormats,E=t.formattingControls,C=t.withoutInteractiveFormatting,w=t.onRemove,I=t.onMerge,x=t.onSplit,B=t.__unstableOnSplitMiddle,T=t.identifier,P=t.start,N=t.reversed,L=t.style,A=t.preserveWhiteSpace,R=t.__unstableEmbedURLOnPaste,V=Object(F.a)(t,["children","tagName","value","onChange","isSelected","multiline","inlineToolbar","wrapperClassName","className","autocompleters","onReplace","placeholder","keepPlaceholderOnFocus","allowedFormats","formattingControls","withoutInteractiveFormatting","onRemove","onMerge","onSplit","__unstableOnSplitMiddle","identifier","start","reversed","style","preserveWhiteSpace","__unstableEmbedURLOnPaste"]),H=Object(h.useInstanceId)(e);T=T||H;var U=Object(d.useRef)(),z=n||U,G=$(),K=G.clientId,W=G.onCaretVerticalPositionChange,q=G.isSelected,Y=Object(g.useSelect)((function(e){var t,n=e("core/block-editor"),r=n.isCaretWithinFormattedText,o=n.getSelectionStart,c=n.getSelectionEnd,a=n.getSettings,l=n.didAutomaticChange,u=n.__unstableGetBlockWithoutInnerBlocks,b=n.isMultiSelecting,p=n.hasMultiSelection,h=o(),m=c(),g=a(),v=g.__experimentalCanUserUseUnfilteredHTML,O=g.__experimentalUndo;void 0===f?t=h.clientId===K&&h.attributeKey===T:f&&(t=h.clientId===K);var j={};if("native"===d.Platform.OS){var k=K&&u(K);j={shouldBlurOnUnmount:k&&t&&Object(i.isUnmodifiedDefaultBlock)(k)}}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({canUserUseUnfilteredHTML:v,isCaretWithinFormattedText:r(),selectionStart:t?h.offset:void 0,selectionEnd:t?m.offset:void 0,isSelected:t,didAutomaticChange:l(),disabled:b()||p(),undo:O},j)})),X=Y.canUserUseUnfilteredHTML,Z=Y.isCaretWithinFormattedText,J=Y.selectionStart,Q=Y.selectionEnd,ee=Y.isSelected,te=Y.didAutomaticChange,ne=Y.disabled,re=Y.undo,oe=Y.shouldBlurOnUnmount,ie=Object(g.useDispatch)("core/block-editor"),ce=ie.__unstableMarkLastChangeAsPersistent,ae=ie.enterFormattedText,le=ie.exitFormattedText,se=ie.selectionChange,ue=ie.__unstableMarkAutomaticChange,de=$a(p),fe=function(e){var t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(Ca()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}({allowedFormats:S,formattingControls:E}),be=!fe||fe.length>0,pe=a,he=l;Array.isArray(a)&&(pe=i.children.toHTML(a),he=function(e){return l(i.children.fromDOM(Object(c.__unstableCreateElement)(document,e).childNodes))});var me=Object(d.useCallback)((function(e,t){se(K,T,e,t)}),[K,T]),ge=Object(d.useCallback)((function(e){var t=e.value,n=e.isReverse;I&&I(!n),w&&Object(c.isEmpty)(t)&&n&&w(!n)}),[I,w]),ve=Object(d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k&&x){var n=[],r=Object(c.split)(e),o=Object(M.a)(r,2),i=o[0],a=o[1],l=t.length>0;l&&Object(c.isEmpty)(i)||n.push(x(Object(c.toHTMLString)({value:i,multilineTag:de}))),l?n.push.apply(n,Object(D.a)(t)):B&&n.push(B()),!l&&B&&Object(c.isEmpty)(a)||n.push(x(Object(c.toHTMLString)({value:a,multilineTag:de})));var s=l?n.length-1:1;k(n,s)}}),[k,x,de,B]),Oe=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=k&&x;if(k){var a=Object(i.getBlockTransforms)("from").filter((function(e){return"enter"===e.type})),l=Object(i.findTransform)(a,(function(e){return e.regExp.test(t.text)}));l&&(k([l.transform({content:t.text})]),ue())}p?r?n(Object(c.insert)(t,"\n")):o&&Object(c.__unstableIsEmptyLine)(t)?ve(t):n(Object(c.__unstableInsertLineSeparator)(t)):r||!o?n(Object(c.insert)(t,"\n")):ve(t)}),[k,x,ue,p,ve]),je=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.html,a=e.plainText,l=e.files,s=e.activeFormats;if(l&&l.length&&!r){var u=Object(i.pasteHandler)({HTML:Va(l),mode:"BLOCKS",tagName:o});return window.console.log("Received items:\n\n",l),void(k&&Object(c.isEmpty)(t)?k(u):ve(t,u))}var d=k&&x?"AUTO":"INLINE";R&&Object(c.isEmpty)(t)&&Object(It.isURL)(a.trim())&&(d="BLOCKS");var f=Object(i.pasteHandler)({HTML:r,plainText:a,mode:d,tagName:o,canUserUseUnfilteredHTML:X});if("string"==typeof f){var b=Object(c.create)({html:f});if(s.length)for(var h=b.formats.length;h--;)b.formats[h]=[].concat(Object(D.a)(s),Object(D.a)(b.formats[h]||[]));p&&(b=Object(c.replace)(b,/\n+/g,c.__UNSTABLE_LINE_SEPARATOR)),n(Object(c.insert)(t,b))}else f.length>0&&(k&&Object(c.isEmpty)(t)?k(f):ve(t,f))}),[o,k,x,ve,R,X,p]),ke=Object(d.useCallback)((function(e,t){if(k){var n=e.start,r=e.text;if(" "===r.slice(n-1,n)){var o=r.slice(0,n).trim(),a=Object(i.getBlockTransforms)("from").filter((function(e){return"prefix"===e.type})),l=Object(i.findTransform)(a,(function(e){var t=e.prefix;return o===t}));if(l){var s=t(Object(c.slice)(e,n,r.length)),u=l.transform(s);k([u]),ue()}}}}),[k,ue]),ye=Object(d.createElement)(c.__experimentalRichText,Object(u.a)({},V,{clientId:K,identifier:T,ref:z,value:pe,onChange:he,selectionStart:J,selectionEnd:Q,onSelectionChange:me,tagName:o,className:b()("block-editor-rich-text__editable",O,{"keep-placeholder-on-focus":_}),placeholder:y,allowedFormats:fe,withoutInteractiveFormatting:C,onEnter:Oe,onDelete:ge,onPaste:je,__unstableIsSelected:ee,__unstableInputRule:ke,__unstableMultilineTag:de,__unstableIsCaretWithinFormattedText:Z,__unstableOnEnterFormattedText:ae,__unstableOnExitFormattedText:le,__unstableOnCreateUndoLevel:ce,__unstableMarkAutomaticChange:ue,__unstableDidAutomaticChange:te,__unstableUndo:re,style:L,preserveWhiteSpace:A,disabled:ne,start:P,reversed:N,onCaretVerticalPositionChange:W,blockIsSelected:void 0!==f?f:q,shouldBlurOnUnmount:oe}),(function(e){var t=e.isSelected,n=e.value,o=e.onChange,i=e.onFocus,c=e.Editable;return Object(d.createElement)(d.Fragment,null,r&&r({value:n,onChange:o,onFocus:i}),t&&be&&Object(d.createElement)(za,{inline:m,anchorRef:z.current}),t&&Object(d.createElement)(Ma,null),Object(d.createElement)(Je,{onReplace:k,completers:j,record:n,onChange:o,isSelected:t},(function(e){var t=e.listBoxId,n=e.activeId,r=e.onKeyDown;return Object(d.createElement)(c,{"aria-autocomplete":t?"list":void 0,"aria-owns":t,"aria-activedescendant":n,start:P,reversed:N,onKeyDown:r})})))}));return v?(Ca()("wp.blockEditor.RichText wrapperClassName prop",{alternative:"className prop or create your own wrapper div"}),Object(d.createElement)("div",{className:b()("block-editor-rich-text",v)},ye)):ye}));Ya.Content=function(e){var t=e.value,n=e.tagName,r=e.multiline,o=Object(F.a)(e,["value","tagName","multiline"]);Array.isArray(t)&&(t=i.children.toHTML(t));var c=$a(r);!t&&c&&(t="<".concat(c,"></").concat(c,">"));var a=Object(d.createElement)(d.RawHTML,null,t);return n?Object(d.createElement)(n,Object(p.omit)(o,["format"]),a):a},Ya.isEmpty=function(e){return!e||0===e.length},Ya.Content.defaultProps={format:"string",value:""};var Xa=Ya,Za=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(z.Path,{d:"M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"})),Ja=Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var Qa=function(){var e=Object(g.useSelect)((function(e){return e("core/block-editor").isNavigationMode()}),[]),t=Object(g.useDispatch)("core/block-editor").setNavigationMode;if(!Object(h.useViewportMatch)("medium"))return null;var n=function(e){t("edit"!==e)};return Object(d.createElement)(z.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(z.Button,{icon:e?Ja:Za,"aria-expanded":n,onClick:r,label:Object(U.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.NavigableMenu,{role:"menu","aria-label":Object(U.__)("Tools")},Object(d.createElement)(z.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,Za,Object(U.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,Ja,Object(U.__)("Select"))}]})),Object(d.createElement)("div",{className:"block-editor-tool-selector__help"},Object(U.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},el=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(w.a)(e)),e.submitLink=e.submitLink.bind(Object(w.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"toggle",value:function(){this.setState({expanded:!this.state.expanded})}},{key:"submitLink",value:function(e){e.preventDefault(),this.toggle()}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.onChange,r=this.state.expanded,o=t?Object(U.__)("Edit link"):Object(U.__)("Insert link");return Object(d.createElement)("div",{className:"block-editor-url-input__button"},Object(d.createElement)(z.Button,{icon:"admin-links",label:o,onClick:this.toggle,className:"components-toolbar__control",isPressed:!!t}),r&&Object(d.createElement)("form",{className:"block-editor-url-input__button-modal",onSubmit:this.submitLink},Object(d.createElement)("div",{className:"block-editor-url-input__button-modal-line"},Object(d.createElement)(z.Button,{className:"block-editor-url-input__back",icon:"arrow-left-alt",label:Object(U.__)("Close"),onClick:this.toggle}),Object(d.createElement)(ja,{value:t||"",onChange:n}),Object(d.createElement)(z.Button,{icon:"editor-break",label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),tl=["noreferrer","noopener"],nl=Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.Path,{d:"m19 5v14h-14v-14h14m0-2h-14c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h14c1.1 0 2-0.9 2-2v-14c0-1.1-0.9-2-2-2z"}),Object(d.createElement)(z.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),rl=function(e){var t=e.linkDestination,n=e.onChangeUrl,r=e.url,o=e.mediaType,i=void 0===o?"image":o,c=e.mediaUrl,a=e.mediaLink,l=e.linkTarget,s=e.linkClass,u=e.rel,f=Object(d.useState)(!1),b=Object(M.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(M.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(M.a)(y,2),S=_[0],E=_[1],C=Object(d.useRef)(null),w=function(e){e.stopPropagation()},I=function(e){[wt.LEFT,wt.DOWN,wt.RIGHT,wt.UP,wt.BACKSPACE,wt.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},x=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||E(""),k(!0)})),B=Object(d.useCallback)((function(){k(!1)})),T=Object(d.useCallback)((function(){E(null),B(),m(!1)})),P=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(tl,(function(e){var n=new RegExp("\\b"+e+"\\b","gi");t=t.replace(n,"")})),t!==e&&(t=t.trim()),Object(p.isEmpty)(t)&&(t=void 0)),t},N=Object(d.useCallback)((function(){return function(e){var t=C.current;t&&t.contains(e.target)||(m(!1),E(null),B())}})),L=Object(d.useCallback)((function(){return function(e){S&&n({href:S}),B(),E(null),e.preventDefault()}})),A=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),R=function(){return[{linkDestination:"media",title:Object(U.__)("Media File"),url:"image"===i?c:void 0,icon:nl},{linkDestination:"attachment",title:Object(U.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(z.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(z.Path,{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"}))}]},D=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.ToggleControl,{label:Object(U.__)("Open in New Tab"),onChange:function(e){var t=function(e){var t=e?"_blank":void 0;return{linkTarget:t,rel:t||u?P(u):void 0}}(e);n(t)},checked:"_blank"===l}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link Rel"),value:P(u)||"",onChange:function(e){n({rel:e})},onKeyPress:w,onKeyDown:I}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link CSS Class"),value:s||"",onKeyPress:w,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==S?S:r,V=(Object(p.find)(R(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{icon:"admin-links",className:"components-toolbar__control",label:r?Object(U.__)("Edit link"):Object(U.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(Ia,{onFocusOutside:N(),onClose:T,renderSettings:function(){return D},additionalControls:!F&&Object(d.createElement)(z.NavigableMenu,null,Object(p.map)(R(),(function(e){return Object(d.createElement)(z.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;E(null),t=e.url,o=R(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),B()}},e.title)})))},(!r||j)&&Object(d.createElement)(Ia.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:E,onKeyDown:I,onKeyPress:w,onSubmit:L(),autocompleteRef:C}),r&&!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Ia.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:w,url:r,onEditLinkClick:x,urlLabel:V}),Object(d.createElement)(z.Button,{icon:"no",label:Object(U.__)("Remove link"),onClick:A}))))},ol=Object(z.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),il=ol.Fill,cl=ol.Slot;il.Slot=cl;var al=il,ll=Object(z.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),sl=ll.Fill,ul=ll.Slot;sl.Slot=ul;var dl=sl,fl=function(e){var t=e.icon,n=e.label,r=e.onPress;return Object(d.createElement)(z.Button,{onClick:r},t," ",n)},bl=function(e){var t=e.children;return Object(d.createElement)(Ji,null,t)};function pl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hl=[{name:"About",icon:"👋",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">Visitors will want to know who is on the other side of the page. Use this space to write about yourself, your site, your business, or anything you want. Use the testimonials below to quote others, talking about the same thing – in their own words.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">This is sample content, included with the template to illustrate its features. Remove or replace it with your own words and media.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center","level":3} --\x3e\n\t\t\t<h3 class="has-text-align-center">What People Say</h3>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>The way to get started is to quit talking and begin doing.</p><cite>Walt Disney</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>It is our choices, Harry, that show what we truly are, far more than our abilities.</p><cite>J. K. Rowling</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:quote --\x3e\n\t\t\t<blockquote class="wp-block-quote"><p>Don\'t cry because it\'s over, smile because it happened.</p><cite>Dr. Seuss</cite></blockquote>\n\t\t\t\x3c!-- /wp:quote --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t<hr class="wp-block-separator is-style-wide"/>\n\t\t\t\x3c!-- /wp:separator --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"center"} --\x3e\n\t\t\t<h2 class="has-text-align-center">Let’s build something together.</h2>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph {"align":"center","textColor":"primary"} --\x3e\n\t\t\t<p class="has-text-color has-text-align-center has-primary-color"><strong><a href="#">Get in touch!</a></strong></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:separator {"className":"is-style-wide"} --\x3e\n\t\t\t<hr class="wp-block-separator is-style-wide"/>\n\t\t\t\x3c!-- /wp:separator --\x3e\n\t\t'},{name:"Contact",icon:"✉️",content:'\n\t\t\t\x3c!-- wp:paragraph {"align":"left"} --\x3e\n\t\t\t<p class="has-text-align-left">Let\'s talk 👋 Don\'t hesitate to reach out with the contact information below, or send a message using the form.</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:heading {"align":"left"} --\x3e\n\t\t\t<h2 class="has-text-align-left">Get in Touch</h2>\n\t\t\t\x3c!-- /wp:heading --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>10 Street Road</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>City, 10100</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p>USA</p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p><a href="mailto:mail@example.com">mail@example.com</a></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\n\t\t\t\x3c!-- wp:paragraph --\x3e\n\t\t\t<p><a href="tel:5555551234">(555) 555 1234</a></p>\n\t\t\t\x3c!-- /wp:paragraph --\x3e\n\t\t'}],ml=H()((function(){return hl.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{blocks:Object(i.parse)(e.content)})}))})),gl=function(){return null},vl=function(e){var t=e.templates,n=void 0===t?ml():t,r=Object(g.useDispatch)("core/editor").editPost,o=Object(d.useState)(),c=Object(M.a)(o,2),a=c[0],l=c[1];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(bl,null,n.map((function(e){return Object(d.createElement)(fl,{key:e.name,icon:e.icon,label:e.name,onPress:function(){return l(e)}})}))),Object(d.createElement)(gl,{template:a,onDismiss:function(){return l(void 0)},onApply:function(){r({title:a.name,blocks:Object(i.parse)(a.content)}),l(void 0)}}))},Ol=function(){return Object(g.useSelect)((function(e){var t=e("core/editor").getCurrentPostType,n=e("core/block-editor"),r=n.getBlockOrder,o=n.getBlock,c=(0,n.getSettings)().__experimentalEnablePageTemplates,a=r(),l=0===a.length,s=!l&&o(a[0]),u=1===a.length&&Object(i.isUnmodifiedDefaultBlock)(s),d=l||u,f="page"===t();return c&&d&&f}),[])},jl=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Ol();return Object(d.createElement)(e,Object(u.a)({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible"),kl=Object(g.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(d.createElement)(z.Button,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:function(){si(t).focus()}},Object(U.__)("Skip to the selected block"))})),yl=n(170),_l=n.n(yl);function Sl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function El(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sl(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cl(e,t,n){var r=new _l.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var wl=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock,o=e("core/blocks").getBlockStyles,c=r(n),a=Object(i.getBlockType)(c.name);return{block:c,className:c.attributes.className||"",styles:o(c.name),type:a}})),Object(g.withDispatch)((function(e,t){var n=t.clientId;return{onChangeClassName:function(t){e("core/block-editor").updateBlockAttributes(n,{className:t})}}}))])((function(e){var t=e.styles,n=e.className,r=e.onChangeClassName,o=e.type,c=e.block,a=e.onSwitch,l=void 0===a?p.noop:a,s=e.onHoverClassName,u=void 0===s?p.noop:s;if(!t||0===t.length)return null;o.styles||Object(p.find)(t,"isDefault")||(t=[{name:"default",label:Object(U._x)("Default","block style"),isDefault:!0}].concat(Object(D.a)(t)));var f=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new _l.a(t).values()[Symbol.iterator]();!(n=(i=c.next()).done);n=!0){var a=i.value;if(-1!==a.indexOf("is-style-")){var l=a.substring(9),s=Object(p.find)(e,{name:l});if(s)return s}}}catch(e){r=!0,o=e}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return Object(p.find)(e,"isDefault")}(t,n);function h(e){var t=Cl(n,f,e);r(t),u(null),l()}return Object(d.createElement)("div",{className:"block-editor-block-styles"},t.map((function(e){var t=Cl(n,f,e);return Object(d.createElement)("div",{key:e.name,className:b()("block-editor-block-styles__item",{"is-active":f===e}),onClick:function(){return h(e)},onKeyDown:function(t){wt.ENTER!==t.keyCode&&wt.SPACE!==t.keyCode||(t.preventDefault(),h(e))},onMouseEnter:function(){return u(t)},onMouseLeave:function(){return u(null)},role:"button",tabIndex:"0","aria-label":e.label||e.name},Object(d.createElement)("div",{className:"block-editor-block-styles__item-preview"},Object(d.createElement)(rc,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:El({},o.example.attributes,{className:t}),innerBlocks:o.example.innerBlocks}):Object(i.cloneBlock)(c,{className:t})})),Object(d.createElement)("div",{className:"block-editor-block-styles__item-label"},e.label||e.name))})))})),Il=n(118);var xl=Object(g.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(Il.count)(Object(i.serialize)(t),"words");return Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(d.createElement)(yt,{icon:Object(d.createElement)(z.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"})),showColors:!0}),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-content"},Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-title"},Object(U.sprintf)(Object(U._n)("%d block","%d blocks",t.length),t.length)),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(U.sprintf)(Object(U._n)("%d word","%d words",n),n))))}));function Bl(e){var t=e.blockName,n=Object(g.useSelect)((function(e){var n=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:Object(p.get)(n,["value",t]),onUpdatePreferredStyleVariations:Object(p.get)(n,["onChange"],null),styles:e("core/blocks").getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,i=n.styles,c=Object(d.useMemo)((function(){return[{label:Object(U.__)("Not set"),value:""}].concat(Object(D.a)(i.map((function(e){return{label:e.label,value:e.name}}))))}),[i]),a=Object(d.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(d.createElement)(z.SelectControl,{options:c,value:r||"",label:Object(U.__)("Default Style"),onChange:a})}var Tl=Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e("core/blocks").getBlockStyles,a=n(),l=a&&o(a),s=a&&Object(i.getBlockType)(l),u=a&&c(l);return{count:r(),hasBlockStyles:u&&u.length>0,selectedBlockName:l,selectedBlockClientId:a,blockType:s}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,a=e.showNoBlockSelectedMessage,l=void 0===a||a;if(n>1)return Object(d.createElement)(xl,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(lc,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Styles"),initialOpen:!1},Object(d.createElement)(wl,{clientId:o}),Object(d.createElement)(Bl,{blockName:t.name}))),Object(d.createElement)(xe.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,Object(d.createElement)(z.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(ia.slotName)&&Object(d.createElement)(z.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(U.__)("Advanced"),initialOpen:!1},Object(d.createElement)(ia.Slot,{bubblesVirtually:!0}))}))),Object(d.createElement)(kl,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(U.__)("No block selected.")):null}));function Pl(e,t,n,r,o,i,c,a){var l=n+1,s=function(e){return"up"===e?"horizontal"===c?a?"right":"left":"up":"down"===e?"horizontal"===c?a?"left":"right":"down":null};if(e>1)return function(e,t,n,r,o){var i=t+1;if(o<0&&n)return Object(U.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(U.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(U.sprintf)(Object(U._n)("Move %1$d block from position %2$d up by one place","Move %1$d blocks from position %2$d up by one place",e),e,i);if(o>0&&!r)return Object(U.sprintf)(Object(U._n)("Move %1$d block from position %2$d down by one place","Move %1$d blocks from position %2$d down by one place",e),e,i)}(e,n,r,o,i);if(r&&o)return Object(U.sprintf)(Object(U.__)("Block %s is the only block, and cannot be moved"),t);if(i>0&&!o){var u=s("down");if("down"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l+1)}if(i>0&&o){var d=s("down");if("down"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===d)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the end of the content and can’t be moved right"),t)}if(i<0&&!r){var f=s("up");if("up"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===f)return Object(U.sprintf)(Object(U.__)("Move %1$s block from position %2$d right to position %3$d"),t,l,l-1)}if(i<0&&r){var b=s("up");if("up"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(U.sprintf)(Object(U.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var Nl=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),Ll=Object(d.createElement)(z.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(z.Path,{d:"M13.5 9L7.9 3.3 6.5 4.8 10.7 9l-4.2 4.2 1.4 1.5L13.5 9z"})),Al=Object(d.createElement)(z.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(z.Path,{d:"M13,8c0.6,0,1-0.4,1-1s-0.4-1-1-1s-1,0.4-1,1S12.4,8,13,8z M5,6C4.4,6,4,6.4,4,7s0.4,1,1,1s1-0.4,1-1S5.6,6,5,6z M5,10 c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S5.6,10,5,10z M13,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S13.6,10,13,10z M9,6 C8.4,6,8,6.4,8,7s0.4,1,1,1s1-0.4,1-1S9.6,6,9,6z M9,10c-0.6,0-1,0.4-1,1s0.4,1,1,1s1-0.4,1-1S9.6,10,9,10z"})),Rl=n(254),Dl=n(255),Ml=function(e){var t=e.children,n=e.clientIds,r=Object(g.useSelect)((function(e){var t=e("core/block-editor"),r=t.getBlockIndex,o=t.getBlockRootClientId,i=t.getTemplateLock,c=Object(p.castArray)(n),a=1===c.length?o(c[0]):null,l=a?i(a):null;return{index:r(c[0],a),srcRootClientId:a,isDraggable:1===c.length&&"all"!==l}}),[n]),o=r.srcRootClientId,i=r.index,c=r.isDraggable,a=Object(d.useRef)(!1),l=Object(g.useDispatch)("core/block-editor"),s=l.startDraggingBlocks,u=l.stopDraggingBlocks;if(Object(d.useEffect)((function(){return function(){a.current&&u()}}),[]),!c)return null;var f=Object(p.castArray)(n),b="block-".concat(f[0]),h={type:"block",srcIndex:i,srcClientId:f[0],srcRootClientId:o};return Object(d.createElement)(z.Draggable,{elementId:b,transferData:h,onDragStart:function(){s(),a.current=!0},onDragEnd:function(){u(),a.current=!1}},(function(e){var n=e.onDraggableStart,r=e.onDraggableEnd;return t({onDraggableStart:n,onDraggableEnd:r})}))},Fl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(w.a)(e)),e.onBlur=e.onBlur.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onFocus",value:function(){this.setState({isFocused:!0})}},{key:"onBlur",value:function(){this.setState({isFocused:!1})}},{key:"render",value:function(){var e=this.props,t=e.onMoveUp,n=e.onMoveDown,r=e.__experimentalOrientation,o=e.isRTL,i=e.isFirst,c=e.isLast,a=e.clientIds,l=e.blockType,s=e.firstIndex,u=e.isLocked,f=e.instanceId,h=e.isHidden,m=e.rootClientId,g=e.hideDragHandle,v=this.state.isFocused,O=Object(p.castArray)(a).length;if(u||i&&c&&!m)return null;var j=function(e){return"up"===e?"horizontal"===r?o?Ll:Nl:Rl.a:"down"===e?"horizontal"===r?o?Nl:Ll:Dl.a:null},k=function(e){return"up"===e?"horizontal"===r?o?"right":"left":"up":"down"===e?"horizontal"===r?o?"left":"right":"down":null};return Object(d.createElement)(z.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":v||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:j("up"),label:Object(U.sprintf)(Object(U.__)("Move %s"),k("up")),"aria-describedby":"block-editor-block-mover__up-description-".concat(f),"aria-disabled":i,onFocus:this.onFocus,onBlur:this.onBlur}),!g&&Object(d.createElement)(Ml,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(z.Button,{icon:Al,className:"block-editor-block-mover__control-drag-handle block-editor-block-mover__control","aria-hidden":"true",tabIndex:"-1",onDragStart:t,onDragEnd:n,draggable:!0})})),Object(d.createElement)(z.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:j("down"),label:Object(U.sprintf)(Object(U.__)("Move %s"),k("down")),"aria-describedby":"block-editor-block-mover__down-description-".concat(f),"aria-disabled":c,onFocus:this.onFocus,onBlur:this.onBlur}),Object(d.createElement)("span",{id:"block-editor-block-mover__up-description-".concat(f),className:"block-editor-block-mover__description"},Pl(O,l&&l.title,s,i,c,-1,r,o)),Object(d.createElement)("span",{id:"block-editor-block-mover__down-description-".concat(f),className:"block-editor-block-mover__description"},Pl(O,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Vl=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockIndex,a=r.getTemplateLock,l=r.getBlockRootClientId,s=r.getBlockOrder,u=Object(p.castArray)(n),d=Object(p.first)(u),f=o(d),b=l(Object(p.first)(u)),h=s(b),m=c(d,b),g=c(Object(p.last)(u),b),v=(0,e("core/block-editor").getSettings)().isRTL;return{blockType:f?Object(i.getBlockType)(f.name):null,isLocked:"all"===a(b),rootClientId:b,firstIndex:m,isRTL:v,isFirst:0===m,isLast:g===h.length-1}})),Object(g.withDispatch)((function(e,t){var n=t.clientIds,r=t.rootClientId,o=e("core/block-editor"),i=o.moveBlocksDown,c=o.moveBlocksUp;return{onMoveDown:Object(p.partial)(i,n,r),onMoveUp:Object(p.partial)(c,n,r)}})),h.withInstanceId)(Fl),Hl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(w.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"clearSelectionIfFocusTarget",value:function(e){var t=this.props,n=t.hasSelectedBlock,r=t.hasMultiSelection,o=t.clearSelectedBlock,i=n||r;e.target===this.container&&i&&o()}},{key:"render",value:function(){return Object(d.createElement)("div",Object(u.a)({tabIndex:-1,onFocus:this.clearSelectionIfFocusTarget,ref:this.bindContainer},Object(p.omit)(this.props,["clearSelectedBlock","hasSelectedBlock","hasMultiSelection"])))}}]),t}(d.Component),Ul=Object(h.compose)([Object(g.withSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return{hasSelectedBlock:n(),hasMultiSelection:r()}})),Object(g.withDispatch)((function(e){return{clearSelectedBlock:e("core/block-editor").clearSelectedBlock}}))])(Hl),zl=Object(d.createElement)(Qe.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(Qe.Path,{d:"M12 4h3c.6 0 1 .4 1 1v1H3V5c0-.6.5-1 1-1h3c.2-1.1 1.3-2 2.5-2s2.3.9 2.5 2zM8 4h3c-.2-.6-.9-1-1.5-1S8.2 3.4 8 4zM4 7h11l-.9 10.1c0 .5-.5.9-1 .9H5.9c-.5 0-.9-.4-1-.9L4 7z"}));var Gl=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=e("core/block-editor"),r=n.canInsertBlockType,o=n.getBlockRootClientId,c=n.getBlocksByClientId,a=n.getTemplateLock,l=e("core/blocks").getDefaultBlockName,s=c(t.clientIds),u=o(t.clientIds[0]);return{blocks:s,canDuplicate:Object(p.every)(s,(function(e){return!!e&&Object(i.hasBlockSupport)(e.name,"multiple",!0)&&r(e.name,u)})),canInsertDefaultBlock:r(l(),u),extraProps:t,isLocked:!!a(u),rootClientId:u}})),Object(g.withDispatch)((function(e,t,n){var r=n.select,o=t.clientIds,c=t.blocks,a=e("core/block-editor"),l=a.removeBlocks,s=a.replaceBlocks,u=a.duplicateBlocks,d=a.insertAfterBlock,f=a.insertBeforeBlock;return{onDuplicate:function(){return u(o)},onRemove:function(){l(o)},onInsertBefore:function(){f(Object(p.first)(Object(p.castArray)(o)))},onInsertAfter:function(){d(Object(p.last)(Object(p.castArray)(o)))},onGroup:function(){if(c.length){var e=(0,r("core/blocks").getGroupingBlockName)(),t=Object(i.switchToBlockType)(c,e);t&&s(o,t)}},onUngroup:function(){if(c.length){var e=c[0].innerBlocks;e.length&&s(o,e)}}}}))])((function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock;return(0,e.children)({canDuplicate:t,canInsertDefaultBlock:n,isLocked:e.isLocked,onDuplicate:e.onDuplicate,onGroup:e.onGroup,onInsertAfter:e.onInsertAfter,onInsertBefore:e.onInsertBefore,onRemove:e.onRemove,onUngroup:e.onUngroup})}));var Kl=Object(h.compose)([Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor"),o=r.getBlock,c=r.getBlockMode,a=r.getSettings,l=o(n),s=a().codeEditingEnabled;return{mode:c(n),blockType:l?Object(i.getBlockType)(l.name):null,isCodeEditingEnabled:s}})),Object(g.withDispatch)((function(e,t){var n=t.onToggle,r=void 0===n?p.noop:n,o=t.clientId;return{onToggleMode:function(){e("core/block-editor").toggleBlockMode(o),r()}}}))])((function(e){var t=e.blockType,n=e.mode,r=e.onToggleMode,o=e.small,c=void 0!==o&&o,a=e.isCodeEditingEnabled,l=void 0===a||a;if(!Object(i.hasBlockSupport)(t,"html",!0)||!l)return null;var s="visual"===n?Object(U.__)("Edit as HTML"):Object(U.__)("Edit visually");return Object(d.createElement)(z.MenuItem,{onClick:r,icon:"html"},!c&&s)}));function Wl(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(U.__)("Convert to Blocks");return Object(d.createElement)(z.MenuItem,{onClick:n,icon:"screenoptions"},!r&&o)}var ql=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&"core/html"===r.name}})),Object(g.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.getBlockContent)(n)}))}}})))(Wl),$l=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientId,r=e("core/block-editor").getBlock(n);return{block:r,shouldRender:r&&r.name===Object(i.getFreeformContentHandlerName)()}})),Object(g.withDispatch)((function(e,t){var n=t.block;return{onClick:function(){return e("core/block-editor").replaceBlocks(n.clientId,Object(i.rawHandler)({HTML:Object(i.serialize)(n)}))}}})))(Wl),Yl={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var Xl=function(e){var t=e.clientIds,n=Object(p.castArray)(t),r=n.length,o=n[0],i=Object(g.useSelect)((function(e){var t=e("core/keyboard-shortcuts").getShortcutRepresentation;return{duplicate:t("core/block-editor/duplicate"),remove:t("core/block-editor/remove"),insertAfter:t("core/block-editor/insert-after"),insertBefore:t("core/block-editor/insert-before")}}),[]);return Object(d.createElement)(Gl,{clientIds:t},(function(e){var n=e.canDuplicate,c=e.canInsertDefaultBlock,a=e.isLocked,l=e.onDuplicate,s=e.onInsertAfter,u=e.onInsertBefore,f=e.onRemove;return Object(d.createElement)(z.Toolbar,null,Object(d.createElement)(z.DropdownMenu,{icon:"ellipsis",label:Object(U.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:Yl},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuGroup,null,Object(d.createElement)(al.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)($l,{clientId:o}),1===r&&Object(d.createElement)(ql,{clientId:o}),n&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,l),icon:"admin-page",shortcut:i.duplicate},Object(U.__)("Duplicate")),c&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,u),icon:"insert-before",shortcut:i.insertBefore},Object(U.__)("Insert Before")),Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,s),icon:"insert-after",shortcut:i.insertAfter},Object(U.__)("Insert After"))),1===r&&Object(d.createElement)(Kl,{clientId:o,onToggle:b}),Object(d.createElement)(dl.Slot,{fillProps:{clientIds:t,onClose:b}})),Object(d.createElement)(z.MenuGroup,null,!a&&Object(d.createElement)(z.MenuItem,{onClick:Object(p.flow)(b,f),icon:zl,shortcut:i.remove},Object(U._n)("Remove Block","Remove Blocks",r))))})))}))};function Zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zl(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ql=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"onHoverClassName",value:function(e){this.setState({hoveredClassName:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.blocks,r=t.onTransform,o=t.inserterItems,c=t.hasBlockStyles,a=this.state.hoveredClassName;if(!n||!n.length)return null;var l,s=a?n[0]:null,u=a?Object(i.getBlockType)(s.name):null,f=Object(p.mapKeys)(o,(function(e){return e.name})),b=Object(p.orderBy)(Object(p.filter)(Object(i.getPossibleBlockTransformations)(n),(function(e){return e&&!!f[e.name]})),(function(e){return f[e.name].frecency}),"desc");if(1===Object(p.uniq)(Object(p.map)(n,"name")).length){var h=n[0].name,m=Object(i.getBlockType)(h);l=m.icon}else l="layout";return c||b.length?Object(d.createElement)(z.Dropdown,{position:"bottom right",className:"block-editor-block-switcher",contentClassName:"block-editor-block-switcher__popover",renderToggle:function(e){var t=e.onToggle,r=e.isOpen,o=1===n.length?Object(U.__)("Change block type or style"):Object(U.sprintf)(Object(U._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(d.createElement)(z.Toolbar,null,Object(d.createElement)(z.Button,{className:"block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,onKeyDown:function(e){r||e.keyCode!==wt.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0,icon:Object(d.createElement)(d.Fragment,null,Object(d.createElement)(yt,{icon:l,showColors:!0}),Object(d.createElement)(z.SVG,{className:"block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(z.Path,{d:"M6.5 8.9c.6-.6 1.4-.9 2.2-.9h6.9l-1.3 1.3 1.4 1.4L19.4 7l-3.7-3.7-1.4 1.4L15.6 6H8.7c-1.4 0-2.6.5-3.6 1.5l-2.8 2.8 1.4 1.4 2.8-2.8zm13.8 2.4l-2.8 2.8c-.6.6-1.3.9-2.1.9h-7l1.3-1.3-1.4-1.4L4.6 16l3.7 3.7 1.4-1.4L8.4 17h6.9c1.3 0 2.6-.5 3.5-1.5l2.8-2.8-1.3-1.4z"})))}))},renderContent:function(t){var o=t.onClose;return Object(d.createElement)(d.Fragment,null,(c||0!==b.length)&&Object(d.createElement)("div",{className:"block-editor-block-switcher__container"},c&&Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Block Styles"),initialOpen:!0},Object(d.createElement)(wl,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==b.length&&Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Transform To:"),initialOpen:!0},Object(d.createElement)(ac,{items:b.map((function(e){return{id:e.name,icon:e.icon,title:e.title}})),onSelect:function(e){r(n,e.id),o()}}))),null!==a&&Object(d.createElement)("div",{className:"block-editor-block-switcher__preview"},Object(d.createElement)("div",{className:"block-editor-block-switcher__preview-title"},Object(U.__)("Preview")),Object(d.createElement)(rc,{viewportWidth:500,blocks:u.example?Object(i.getBlockFromExample)(s.name,{attributes:Jl({},u.example.attributes,{className:a}),innerBlocks:u.example.innerBlocks}):Object(i.cloneBlock)(s,{className:a})})))}}):Object(d.createElement)(z.Toolbar,null,Object(d.createElement)(z.Button,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",label:Object(U.__)("Block icon"),icon:Object(d.createElement)(yt,{icon:l,showColors:!0})}))}}]),t}(d.Component),es=Object(h.compose)(Object(g.withSelect)((function(e,t){var n=t.clientIds,r=e("core/block-editor"),o=r.getBlocksByClientId,i=r.getBlockRootClientId,c=r.getInserterItems,a=e("core/blocks").getBlockStyles,l=i(Object(p.first)(Object(p.castArray)(n))),s=o(n),u=s&&1===s.length?s[0]:null,d=u&&a(u.name);return{blocks:s,inserterItems:c(l),hasBlockStyles:d&&d.length>0}})),Object(g.withDispatch)((function(e,t){return{onTransform:function(n,r){e("core/block-editor").replaceBlocks(t.clientIds,Object(i.switchToBlockType)(n,r))}}})))(Ql);var ts=Object(g.withSelect)((function(e){var t=e("core/block-editor").getMultiSelectedBlockClientIds();return{isMultiBlockSelection:t.length>1,selectedBlockClientIds:t}}))((function(e){var t=e.isMultiBlockSelection,n=e.selectedBlockClientIds;return t?Object(d.createElement)(es,{key:"switcher",clientIds:n}):null}));function ns(e){var t=e.hideDragHandle,n=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockMode,r=t.getSelectedBlockClientIds,o=t.isBlockValid,i=t.getBlockRootClientId,c=t.getBlockListSettings,a=r(),l=i(a[0]),s=c(l)||{},u=s.__experimentalMoverDirection,d=s.__experimentalUIParts,f=void 0===d?{}:d;return{blockClientIds:a,rootClientId:l,isValid:1===a.length?o(a[0]):null,mode:1===a.length?n(a[0]):null,moverDirection:u,hasMovers:f.hasMovers}}),[]),r=n.blockClientIds,o=n.isValid,i=n.mode,c=n.moverDirection,a=n.hasMovers,l=void 0===a||a;return 0===r.length?null:r.length>1?Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Vl,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),Object(d.createElement)(ts,null),Object(d.createElement)(Xl,{clientIds:r})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Vl,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),"visual"===i&&o&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(es,{clientIds:r}),Object(d.createElement)(mt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(kt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(Xl,{clientIds:r}))}var rs=Object(h.compose)([Object(g.withDispatch)((function(e,t,n){var r=(0,n.select)("core/block-editor"),o=r.getBlocksByClientId,c=r.getSelectedBlockClientIds,a=r.hasMultiSelection,l=r.getSettings,s=e("core/block-editor"),u=s.removeBlocks,d=s.replaceBlocks,f=l().__experimentalCanUserUseUnfilteredHTML;return{handler:function(e){var t=c();if(0!==t.length&&(a()||!Object(Yo.documentHasSelection)())){if(e.preventDefault(),"copy"===e.type||"cut"===e.type){var n=o(t),r=Object(i.serialize)(n);e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",r)}if("cut"===e.type)u(t);else if("paste"===e.type){var l=function(e){var t=e.clipboardData,n=t.items,r=t.files;n=Object(p.isNil)(n)?[]:n,r=Object(p.isNil)(r)?[]:r;var o="",i="";try{o=t.getData("text/plain"),i=t.getData("text/html")}catch(e){try{i=t.getData("Text")}catch(e){return}}return r=Array.from(r),Array.from(n).forEach((function(e){if(e.getAsFile){var t=e.getAsFile();if(t){var n=t.name,o=t.type,i=t.size;Object(p.find)(r,{name:n,type:o,size:i})||r.push(t)}}})),(r=r.filter((function(e){var t=e.type;return/^image\/(?:jpe?g|png|gif)$/.test(t)}))).length&&!i&&(i=r.map((function(e){return'<img src="'.concat(Object(Fa.createBlobURL)(e),'">')})).join(""),o=""),{html:i,plainText:o}}(e),s=l.plainText,b=l.html,h=Object(i.pasteHandler)({HTML:b,plainText:s,mode:"BLOCKS",canUserUseUnfilteredHTML:f});d(t,h)}}}}}))])((function(e){var t=e.children,n=e.handler;return Object(d.createElement)("div",{onCopy:n,onCut:n,onPaste:n},t)}));function os(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder;return{clientIds:n(),rootBlocksClientIds:r()}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=Object(g.useDispatch)("core/block-editor"),o=r.duplicateBlocks,i=r.removeBlocks,c=r.insertAfterBlock,a=r.insertBeforeBlock,s=r.multiSelect,u=r.clearSelectedBlock;return Object(l.useShortcut)("core/block-editor/duplicate",Object(d.useCallback)((function(e){e.preventDefault(),o(t)}),[t,o]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/remove",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-after",Object(d.useCallback)((function(e){e.preventDefault(),c(Object(p.last)(t))}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/insert-before",Object(d.useCallback)((function(e){e.preventDefault(),a(Object(p.first)(t))}),[t,a]),{bindGlobal:!0,isDisabled:0===t.length}),Object(l.useShortcut)("core/block-editor/delete-multi-selection",Object(d.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<1}),Object(l.useShortcut)("core/block-editor/select-all",Object(d.useCallback)((function(e){e.preventDefault(),s(Object(p.first)(n),Object(p.last)(n))}),[n,s])),Object(l.useShortcut)("core/block-editor/unselect",Object(d.useCallback)((function(e){e.preventDefault(),u(),window.getSelection().removeAllRanges()}),[t,u]),{isDisabled:t.length<2}),null}os.Register=function(){var e=Object(g.useDispatch)("core/keyboard-shortcuts").registerShortcut;return Object(d.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(U.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(U.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(U.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:Object(U.__)("Insert a new block after the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"y"}}),e({name:"core/block-editor/delete-multi-selection",category:"block",description:Object(U.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(U.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selections",description:Object(U.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(U.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var is=os;function cs(){var e=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.isMultiSelecting;return{selectionEnd:n(),isMultiSelecting:r()}}),[]),t=e.selectionEnd,n=e.isMultiSelecting;return Object(d.useEffect)((function(){if(t&&!n){var e=si(t);if(e){var r=Object(Yo.getScrollContainer)(e);r&&Ct()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var as=[wt.UP,wt.RIGHT,wt.DOWN,wt.LEFT,wt.ENTER,wt.BACKSPACE];var ls=Object(h.withSafeTimeout)((function(e){var t=e.children,n=e.setTimeout,r=Object(d.useRef)(),o=Object(g.useSelect)((function(e){return e("core/block-editor").isTyping()})),i=Object(g.useDispatch)("core/block-editor"),c=i.startTyping,a=i.stopTyping;function l(e){var t=e?"addEventListener":"removeEventListener";document[t]("selectionchange",u),document[t]("mousemove",s)}function s(e){var t=e.clientX,n=e.clientY;if(r.current){var o=r.current,i=o.clientX,c=o.clientY;i===t&&c===n||a()}r.current={clientX:t,clientY:n}}function u(){var e=window.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||a()}function f(e){var t=e.type,n=e.target;o||!Object(Yo.isTextField)(n)||n.closest(".block-editor-block-toolbar")||("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(as,t)}(e))&&c()}return Object(d.useEffect)((function(){return l(o),function(){return l(!1)}}),[o]),Object(d.createElement)("div",{onFocus:function(e){var t=e.target;n((function(){o&&!Object(Yo.isTextField)(t)&&a()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){o&&e.keyCode===wt.ESCAPE&&a()}])},t)}));function ss(){return Ca()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var us=-1!==window.navigator.userAgent.indexOf("Trident"),ds=new Set([wt.UP,wt.DOWN,wt.LEFT,wt.RIGHT]),fs=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(E.a)(this,Object(C.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(w.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(w.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(w.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(w.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(w.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(w.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(w.a)(e)),e}return Object(I.a)(t,e),Object(S.a)(t,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScrollResize,!0),window.addEventListener("resize",this.onScrollResize,!0)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScrollResize,!0),window.removeEventListener("resize",this.onScrollResize,!0),document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.onScrollResize.rafId&&window.cancelAnimationFrame(this.onScrollResize.rafId),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId)}},{key:"computeCaretRect",value:function(){this.isSelectionEligibleForScroll()&&(this.caretRect=Object(Yo.computeCaretRect)())}},{key:"computeCaretRectOnSelectionChange",value:function(){document.removeEventListener("selectionchange",this.computeCaretRectOnSelectionChange),this.computeCaretRect()}},{key:"onScrollResize",value:function(){var e=this;this.onScrollResize.rafId||(this.onScrollResize.rafId=window.requestAnimationFrame((function(){e.computeCaretRect(),delete e.onScrollResize.rafId})))}},{key:"isSelectionEligibleForScroll",value:function(){return this.props.selectedBlockClientId&&this.ref.current.contains(document.activeElement)&&document.activeElement.isContentEditable}},{key:"isLastEditableNode",value:function(){var e=this.ref.current.querySelectorAll('[contenteditable="true"]');return e[e.length-1]===document.activeElement}},{key:"maintainCaretPosition",value:function(e){var t=e.keyCode;if(this.isSelectionEligibleForScroll()){var n=Object(Yo.computeCaretRect)();if(n)if(this.caretRect)if(ds.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(Yo.getScrollContainer)(this.ref.current);if(o){var i=o===document.body,c=i?window.scrollY:o.scrollTop,a=i?0:o.getBoundingClientRect().top,l=i?this.caretRect.top/window.innerHeight:(this.caretRect.top-a)/(window.innerHeight-a);if(0===c&&l<.75&&this.isLastEditableNode())this.caretRect=n;else{var s=i?window.innerHeight:o.clientHeight;this.caretRect.top+this.caretRect.height>a+s||this.caretRect.top<a?this.caretRect=n:i?window.scrollBy(0,r):o.scrollTop+=r}}}}else this.caretRect=n}}},{key:"addSelectionChangeListener",value:function(){document.addEventListener("selectionchange",this.computeCaretRectOnSelectionChange)}},{key:"onKeyDown",value:function(e){var t=this;e.persist(),this.onKeyDown.rafId&&window.cancelAnimationFrame(this.onKeyDown.rafId),this.onKeyDown.rafId=window.requestAnimationFrame((function(){t.maintainCaretPosition(e),delete t.onKeyDown.rafId}))}},{key:"render",value:function(){return us?this.props.children:Object(d.createElement)("div",{ref:this.ref,onKeyDown:this.onKeyDown,onKeyUp:this.maintainCaretPosition,onMouseDown:this.addSelectionChangeListener,onTouchStart:this.addSelectionChangeListener,className:"block-editor__typewriter"},this.props.children)}}]),t}(d.Component),bs=Object(g.withSelect)((function(e){return{selectedBlockClientId:(0,e("core/block-editor").getSelectedBlockClientId)()}}))(fs);function ps(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var hs=["left","center","right","wide","full"],ms=["wide","full"];function gs(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t=Array.isArray(e)?e:!0===e?hs:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(ms)):t}var vs=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=gs(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(d.createElement)(mt,{key:"align-controls"},Object(d.createElement)(st,{value:t.attributes.align,onChange:function(e){if(!e){var n=Object(i.getBlockType)(t.name);Object(p.get)(n,["attributes","align","default"])&&(e="")}t.setAttributes({align:e})},controls:r})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),Os=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(g.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(d.createElement)(e,t);var c=gs(Object(i.getBlockSupport)(n,"align"),Object(i.hasBlockSupport)(n,"alignWide",!0),o),a=t.wrapperProps;return Object(p.includes)(c,r)&&(a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ps(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ps(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},a,{"data-align":r})),Object(d.createElement)(e,Object(u.a)({},t,{wrapperProps:a}))}}));Object(m.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(p.has)(e.attributes,["align","type"])?e:(Object(i.hasBlockSupport)(e,"align")&&(e.attributes=Object(p.assign)(e.attributes,{align:{type:"string"}})),e)})),Object(m.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Os),Object(m.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",vs),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align,o=Object(i.getBlockSupport)(t,"align"),c=Object(i.hasBlockSupport)(t,"alignWide",!0);return Object(p.includes)(gs(o,c),r)&&(e.className=b()("align".concat(r),e.className)),e}));var js=/[\s#]/g;var ks=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"anchor")&&t.isSelected?Object(d.createElement)(d.Fragment,null,Object(d.createElement)(e,t),Object(d.createElement)(ia,null,Object(d.createElement)(z.TextControl,{className:"html-anchor-control",label:Object(U.__)("HTML Anchor"),help:Object(d.createElement)(d.Fragment,null,Object(U.__)("Enter a word or two — without spaces — to make a unique web address just for this heading, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(d.createElement)(z.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(U.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(js,"-"),t.setAttributes({anchor:e})}}))):Object(d.createElement)(e,t)}}),"withInspectorControl");Object(m.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(p.has)(e.attributes,["anchor","type"])?e:(Object(i.hasBlockSupport)(e,"anchor")&&(e.attributes=Object(p.assign)(e.attributes,{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e)})),Object(m.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",ks),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var ys=Object(h.createHigherOrderComponent)((function(e){return function(t){return Object(i.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(d.createElement)(d.Fragment,null,Object(d.createElement)(e,t),Object(d.createElement)(ia,null,Object(d.createElement)(z.TextControl,{label:Object(U.__)("Additional CSS Class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(U.__)("Separate multiple classes with spaces.")}))):Object(d.createElement)(e,t)}}),"withInspectorControl");function _s(e){e="<div data-custom-class-name>".concat(e,"</div>");var t=Object(i.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(m.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(i.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=Object(p.assign)(e.attributes,{className:{type:"string"}})),e})),Object(m.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",ys),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(i.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=b()(e.className,n.className)),e})),Object(m.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(i.hasBlockSupport)(t,"customClassName",!0)){var r=Object(p.omit)(e,["className"]),o=Object(i.getSaveContent)(t,r),c=_s(o),a=_s(n),l=Object(p.difference)(a,c);l.length?e.className=l.join(" "):o&&delete e.className}return e})),Object(m.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(i.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(p.uniq)([Object(i.getBlockDefaultClassName)(t.name)].concat(Object(D.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var Ss=n(232),Es=n.n(Ss),Cs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ws=function(e,t){t=t||{};var n=1,r=1;function o(e){var t=e.match(/\n/g);t&&(n+=t.length);var o=e.lastIndexOf("\n");r=~o?e.length-o:r+e.length}function i(){var e={line:n,column:r};return function(t){return t.position=new c(e),b(),t}}function c(e){this.start=e,this.end={line:n,column:r},this.source=t.source}c.prototype.content=e;var a=[];function l(o){var i=new Error(t.source+":"+n+":"+r+": "+o);if(i.reason=o,i.filename=t.source,i.line=n,i.column=r,i.source=e,!t.silent)throw i;a.push(i)}function s(){return f(/^{\s*/)}function u(){return f(/^}/)}function d(){var t,n=[];for(b(),p(n);e.length&&"}"!==e.charAt(0)&&(t=E()||C());)!1!==t&&(n.push(t),p(n));return n}function f(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function b(){f(/^\s*/)}function p(e){var t;for(e=e||[];t=h();)!1!==t&&e.push(t);return e}function h(){var t=i();if("/"===e.charAt(0)&&"*"===e.charAt(1)){for(var n=2;""!==e.charAt(n)&&("*"!==e.charAt(n)||"/"!==e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return l("End of comment missing");var c=e.slice(2,n-2);return r+=2,o(c),e=e.slice(n),r+=2,t({type:"comment",comment:c})}}function m(){var e=f(/^([^{]+)/);if(e)return Is(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,(function(e){return e.replace(/,/g,"‌")})).split(/\s*(?![^(]*\)),\s*/).map((function(e){return e.replace(/\u200C/g,",")}))}function g(){var e=i(),t=f(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Is(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Cs,""),value:n?Is(n[0]).replace(Cs,""):""});return f(/^[;\s]*/),r}}function v(){var e,t=[];if(!s())return l("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:l("missing '}'")}function O(){for(var e,t=[],n=i();e=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),f(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:v()})}var j,k=S("import"),y=S("charset"),_=S("namespace");function S(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=i(),r=f(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function E(){if("@"===e[0])return function(){var e=i(),t=f(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=f(/^([-\w]+)\s*/)))return l("@keyframes missing name");var r,o=t[1];if(!s())return l("@keyframes missing '{'");for(var c=p();r=O();)c.push(r),c=c.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:c}):l("@keyframes missing '}'")}}()||function(){var e=i(),t=f(/^@media *([^{]+)/);if(t){var n=Is(t[1]);if(!s())return l("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):l("@media missing '}'")}}()||function(){var e=i(),t=f(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Is(t[1]),media:Is(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=Is(t[1]);if(!s())return l("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):l("@supports missing '}'")}}()||k()||y()||_()||function(){var e=i(),t=f(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Is(t[1]),r=Is(t[2]);if(!s())return l("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):l("@document missing '}'")}}()||function(){var e=i();if(f(/^@page */)){var t=m()||[];if(!s())return l("@page missing '{'");for(var n,r=p();n=g();)r.push(n),r=r.concat(p());return u()?e({type:"page",selectors:t,declarations:r}):l("@page missing '}'")}}()||function(){var e=i();if(f(/^@host\s*/)){if(!s())return l("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):l("@host missing '}'")}}()||function(){var e=i();if(f(/^@font-face\s*/)){if(!s())return l("@font-face missing '{'");for(var t,n=p();t=g();)n.push(t),n=n.concat(p());return u()?e({type:"font-face",declarations:n}):l("@font-face missing '}'")}}()}function C(){var e=i(),t=m();return t?(p(),e({type:"rule",selectors:t,declarations:v()})):l("selector missing")}return function e(t,n){var r=t&&"string"==typeof t.type,o=r?t:n;for(var i in t){var c=t[i];Array.isArray(c)?c.forEach((function(t){e(t,o)})):c&&"object"===Object(Xt.a)(c)&&e(c,o)}r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null});return t}((j=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:a}}))};function Is(e){return e?e.replace(/^\s+|\s+$/g,""):""}var xs=n(135),Bs=n.n(xs),Ts=Ps;function Ps(e){this.options=e||{}}Ps.prototype.emit=function(e){return e},Ps.prototype.visit=function(e){return this[e.type](e)},Ps.prototype.mapVisit=function(e,t){var n="";t=t||"";for(var r=0,o=e.length;r<o;r++)n+=this.visit(e[r]),t&&r<o-1&&(n+=this.emit(t));return n};var Ns=Ls;function Ls(e){Ts.call(this,e)}Bs()(Ls,Ts),Ls.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},Ls.prototype.comment=function(e){return this.emit("",e.position)},Ls.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Ls.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ls.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ls.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Ls.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Ls.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ls.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},Ls.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},Ls.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Ls.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Ls.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ls.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Ls.prototype.rule=function(e){var t=e.declarations;return t.length?this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):""},Ls.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var As=Rs;function Rs(e){e=e||{},Ts.call(this,e),this.indentation=e.indent}Bs()(Rs,Ts),Rs.prototype.compile=function(e){return this.stylesheet(e)},Rs.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},Rs.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},Rs.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Rs.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Rs.prototype.document=function(e){var t="@"+(e.vendor||"")+"document "+e.document;return this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Rs.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Rs.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Rs.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Rs.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")},Rs.prototype.keyframe=function(e){var t=e.declarations;return this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")},Rs.prototype.page=function(e){var t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},Rs.prototype["font-face"]=function(e){return this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")},Rs.prototype.host=function(e){return this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")},Rs.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Rs.prototype.rule=function(e){var t=this.indent(),n=e.declarations;return n.length?this.emit(e.selectors.map((function(e){return t+e})).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(n,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}"):""},Rs.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},Rs.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var Ds=function(e,t){try{var n=ws(e),r=Es.a.map(n,(function(e){if(!e)return e;var n=t(e);return this.update(n)}));return o=r,((i=i||{}).compress?new Ns(i):new As(i)).compile(o)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var o,i},Ms=n(107);function Fs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fs(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hs(e){return 0!==e.value.indexOf("data:")&&0!==e.value.indexOf("#")&&(t=e.value,!/^\/(?!\/)/.test(t)&&!function(e){return/^(?:https?:)?\/\//.test(e)}(e.value));var t}function Us(e){return function(t){var n=function(e,t){var n=Object(Ms.parse)(e).pathname;return Object(Ms.resolve)(t,n)}(t.value,e);return Vs({},t,{newUrl:"url("+t.before+t.quote+n+t.quote+t.after+")"})}}var zs=function(e){return function(t){if("declaration"===t.type){var n=function(e){for(var t,n=/url\((\s*)(['"]?)(.+?)\2(\s*)\)/g,r=[];null!==(t=n.exec(e));){var o={source:t[0],before:t[1],quote:t[2],value:t[3],after:t[4]};Hs(o)&&r.push(o)}return r}(t.value).map(Us(e));return Vs({},t,{value:(r=t.value,o=n,o.forEach((function(e){r=r.replace(e.source,e.newUrl)})),r)})}var r,o;return t}};function Gs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ks(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gs(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ws=/^(body|html|:root).*$/,qs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Ks({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(Ws)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},$s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(p.map)(e,(function(e){var n=e.css,r=e.baseURL,o=[];return t&&o.push(qs(t)),r&&o.push(zs(r)),o.length?Ds(n,Object(h.compose)(o)):n}))};n.d(t,"AlignmentToolbar",(function(){return Ze})),n.d(t,"Autocomplete",(function(){return Je})),n.d(t,"BlockAlignmentToolbar",(function(){return st})),n.d(t,"BlockBreadcrumb",(function(){return dt})),n.d(t,"BlockControls",(function(){return mt})),n.d(t,"BlockEdit",(function(){return Z})),n.d(t,"useBlockEditContext",(function(){return $})),n.d(t,"BlockFormatControls",(function(){return kt})),n.d(t,"BlockIcon",(function(){return yt})),n.d(t,"BlockNavigationDropdown",(function(){return Pc})),n.d(t,"__experimentalBlockNavigationList",(function(){return Ic})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Nc})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Fc})),n.d(t,"ButtonBlockerAppender",(function(){return wc})),n.d(t,"ColorPalette",(function(){return Hc})),n.d(t,"ColorPaletteControl",(function(){return Uc})),n.d(t,"ContrastChecker",(function(){return Se})),n.d(t,"__experimentalGradientPicker",(function(){return Gc})),n.d(t,"__experimentalGradientPickerControl",(function(){return Kc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Wc})),n.d(t,"__experimentalColorGradientControl",(function(){return ue})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return Oe})),n.d(t,"__experimentalImageSizeControl",(function(){return qc})),n.d(t,"InnerBlocks",(function(){return ea})),n.d(t,"InspectorAdvancedControls",(function(){return ia})),n.d(t,"InspectorControls",(function(){return xe})),n.d(t,"__experimentalLinkControl",(function(){return ha})),n.d(t,"MediaReplaceFlow",(function(){return Sa})),n.d(t,"MediaPlaceholder",(function(){return Pa})),n.d(t,"MediaUpload",(function(){return ma})),n.d(t,"MediaUploadCheck",(function(){return ga})),n.d(t,"PanelColorSettings",(function(){return ke})),n.d(t,"PlainText",(function(){return Na})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Aa})),n.d(t,"RichText",(function(){return Xa})),n.d(t,"RichTextShortcut",(function(){return Ga})),n.d(t,"RichTextToolbarButton",(function(){return Ka})),n.d(t,"__unstableRichTextInputEvent",(function(){return Wa})),n.d(t,"ToolSelector",(function(){return Qa})),n.d(t,"URLInput",(function(){return ja})),n.d(t,"URLInputButton",(function(){return el})),n.d(t,"URLPopover",(function(){return Ia})),n.d(t,"__experimentalImageURLInputUI",(function(){return rl})),n.d(t,"withColorContext",(function(){return Vc})),n.d(t,"__experimentalBlockListFooter",(function(){return Ji})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return al})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return dl})),n.d(t,"__experimentalInserterMenuExtension",(function(){return bc})),n.d(t,"__experimentalPageTemplatePicker",(function(){return vl})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return jl})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Ol})),n.d(t,"BlockInspector",(function(){return Tl})),n.d(t,"BlockList",(function(){return tc})),n.d(t,"BlockMover",(function(){return Vl})),n.d(t,"BlockPreview",(function(){return rc})),n.d(t,"BlockSelectionClearer",(function(){return Ul})),n.d(t,"BlockSettingsMenu",(function(){return Xl})),n.d(t,"BlockTitle",(function(){return ut})),n.d(t,"BlockToolbar",(function(){return ns})),n.d(t,"CopyHandler",(function(){return rs})),n.d(t,"DefaultBlockAppender",(function(){return Wi})),n.d(t,"Inserter",(function(){return Cc})),n.d(t,"MultiBlocksSwitcher",(function(){return ts})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return is})),n.d(t,"MultiSelectScrollIntoView",(function(){return cs})),n.d(t,"NavigableToolbar",(function(){return xi})),n.d(t,"ObserveTyping",(function(){return ls})),n.d(t,"PreserveScrollInReorder",(function(){return ss})),n.d(t,"SkipToSelectedBlock",(function(){return kl})),n.d(t,"Typewriter",(function(){return bs})),n.d(t,"Warning",(function(){return Xo})),n.d(t,"WritingFlow",(function(){return Ei})),n.d(t,"BlockEditorProvider",(function(){return qo})),n.d(t,"getColorClassName",(function(){return y})),n.d(t,"getColorObjectByAttributeValues",(function(){return j})),n.d(t,"getColorObjectByColorValue",(function(){return k})),n.d(t,"createCustomColorsHOC",(function(){return A})),n.d(t,"withColors",(function(){return R})),n.d(t,"__experimentalUseColors",(function(){return Fe})),n.d(t,"__experimentalGetGradientClass",(function(){return J})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return ee})),n.d(t,"__experimentalUseGradient",(function(){return ne})),n.d(t,"getFontSize",(function(){return Ve})),n.d(t,"getFontSizeClass",(function(){return He})),n.d(t,"FontSizePicker",(function(){return Ue})),n.d(t,"withFontSizes",(function(){return Ke})),n.d(t,"transformStyles",(function(){return $s})),n.d(t,"storeConfig",(function(){return zo})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Bt}))}]);
build/block-editor/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-right:14px;padding-left:14px;position:relative}@media (min-width:600px){.block-editor-block-list__layout{padding-right:58px;padding-left:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-right:0;padding-left:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode:before{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #007cba;border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected:before{border-right:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.is-block-content{float:left;margin-right:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.is-block-content{float:right;margin-left:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-58px;margin-left:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{opacity:0;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none}}.block-editor-block-list__breadcrumb{display:block;line-height:1;z-index:22}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-right:none;box-shadow:inset -3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-right:8px;padding-left:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover{z-index:28;position:absolute}.block-editor-block-list__insertion-point-popover .components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible}.components-popover.block-editor-block-list__block-popover{z-index:29;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb{margin-bottom:13px;margin-right:-14px}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align=full],.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align=full]{margin-right:0}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender.is-drop-target>div:before{content:"";position:absolute;left:-14px;right:-14px;top:-14px;bottom:-14px;border:3px solid #0085ba}body.admin-color-sunrise .block-list-appender.is-drop-target>div:before{border:3px solid #d1864a}body.admin-color-ocean .block-list-appender.is-drop-target>div:before{border:3px solid #a3b9a2}body.admin-color-midnight .block-list-appender.is-drop-target>div:before{border:3px solid #e14d43}body.admin-color-ectoplasm .block-list-appender.is-drop-target>div:before{border:3px solid #a7b656}body.admin-color-coffee .block-list-appender.is-drop-target>div:before{border:3px solid #c2a68c}body.admin-color-blue .block-list-appender.is-drop-target>div:before{border:3px solid #82b4cb}body.admin-color-light .block-list-appender.is-drop-target>div:before{border:3px solid #0085ba}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control{float:right}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){display:block;position:absolute;top:37px;right:-38px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){transition-duration:0s}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;padding:0;border:none;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active{cursor:grabbing}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle,.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-right:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:4px 0 4px 8px;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-button.has-icon{justify-content:center}.block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-right:0}.block-editor-block-pattern-picker__pattern:last-child{margin-left:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-button.block-editor-block-switcher__toggle{width:auto}.components-button.block-editor-block-switcher__toggle:active,.components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-right:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;outline:1px dashed #8d96a0;width:100%;height:auto;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-gradient-control__button-tabs{display:block}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon{width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .components-button svg,.block-editor-default-block-appender .block-editor-inserter .components-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 16px 11px 38px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;left:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f3f4f5;border-radius:2px}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;right:auto;left:60px;bottom:0}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__menu-help-panel{display:none;border-right:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-replace-flow__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.block-editor-media-flow__url-input{max-width:255px;padding:0 15px 10px}.block-editor-media-flow__url-input input{max-width:180px}.block-editor-media-replace-flow__link-viewer .components-external-link__icon{display:none}.block-editor-media-replace-flow__link-viewer .components-visually-hidden{position:static}.block-editor-media-replace-flow__link-viewer .components-button{flex-shrink:0}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-left:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto;margin-bottom:6px}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-right-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:5px -4px 0 0;height:36px}.block-editor-warning__secondary .components-button.has-icon{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-button.has-icon{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}
1
+ .block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-right:14px;padding-left:14px;position:relative}@media (min-width:600px){.block-editor-block-list__layout{padding-right:58px;padding-left:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-right:0;padding-left:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-right:0;margin-left:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-right:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;left:-14px;right:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:rgba(66,88,99,.4);box-shadow:inset -3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset -3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:3px 0 0 0 #d7dade}}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:#007cba;box-shadow:inset -3px 0 0 0 #007cba}@media (min-width:600px){.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #007cba;border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:rgba(145,151,162,.25);border-right:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:rgba(66,88,99,.4) transparent rgba(66,88,99,.4) rgba(66,88,99,.4)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;left:-14px;right:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected:before{border-right:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.is-block-content{float:left;margin-right:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.is-block-content{float:right;margin-left:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-14px;margin-left:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-right:-58px;margin-left:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]:before{right:0;left:0;border-right-width:0;border-left-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{right:auto;left:8px}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;right:0;left:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{opacity:0;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:0;justify-content:center}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;right:14px;left:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{right:0;left:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-left:none}}.block-editor-block-list__breadcrumb{display:block;line-height:1;z-index:22}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-right:none;box-shadow:inset -3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-right:8px;padding-left:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:3px 0 0 0 #007cba}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-left:-14px;margin-right:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover{z-index:28}.block-editor-block-list__insertion-point-popover .components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible}.components-popover.block-editor-block-list__block-popover{z-index:29}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb{margin-bottom:13px;margin-right:-14px}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align=full],.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align=full]{margin-right:0}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender.is-drop-target>div:before{content:"";position:absolute;left:-14px;right:-14px;top:-14px;bottom:-14px;border:3px solid #0085ba}body.admin-color-sunrise .block-list-appender.is-drop-target>div:before{border:3px solid #d1864a}body.admin-color-ocean .block-list-appender.is-drop-target>div:before{border:3px solid #a3b9a2}body.admin-color-midnight .block-list-appender.is-drop-target>div:before{border:3px solid #e14d43}body.admin-color-ectoplasm .block-list-appender.is-drop-target>div:before{border:3px solid #a7b656}body.admin-color-coffee .block-list-appender.is-drop-target>div:before{border:3px solid #c2a68c}body.admin-color-blue .block-list-appender.is-drop-target>div:before{border:3px solid #82b4cb}body.admin-color-light .block-list-appender.is-drop-target>div:before{border:3px solid #0085ba}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-left:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 0 0 16px;min-width:200px}.block-editor-block-compare__wrapper>div button{float:left}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-right:1px solid #ddd;padding-right:15px;padding-left:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-left:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-left:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control{float:right}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){display:block;position:absolute;top:37px;right:-38px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){transition-duration:0s}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;padding:0;border:none;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active{cursor:grabbing}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle,.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-right:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-right:2px solid #a2aab2;margin-right:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-right:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;right:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-right:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;right:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:right;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-left:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;right:0;transform-origin:top right;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(-90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-button.block-editor-block-switcher__toggle{width:auto}.components-button.block-editor-block-switcher__toggle:active,.components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-right:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-right:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-right:none;box-shadow:3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-left:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-right:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-right:-4px;margin-left:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:4px 0 4px 8px;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-right:0}.block-editor-block-variation-picker__variation:last-child{margin-left:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;outline:1px dashed #8d96a0;width:100%;height:auto;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-gradient-control__button-tabs{display:block}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-right:auto;margin-left:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 14px 0 50px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon{width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .components-button svg,.block-editor-default-block-appender .block-editor-inserter .components-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-left:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{left:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 16px 11px 38px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;left:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;right:-1px;left:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:right;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 24px 16px 16px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-left:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-left:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-right:auto;font-size:.9em;background-color:#f3f4f5;border-radius:2px}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;right:auto;left:60px;bottom:0}.block-editor-link-control__search-item-action{margin-right:auto;flex-shrink:0}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-left:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-right:5px}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;left:-14px;bottom:-14px;right:-14px;z-index:60}[data-align=full] .has-overlay:after{left:0;right:0}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:left}.block-editor-inserter__manage-reusable-blocks{margin:16px 16px 0 0}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-left:8px}.block-editor-inserter__menu-help-panel{display:none;border-right:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-left:0;margin-right:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;left:0;bottom:0;right:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__indicator{margin-right:4px}.block-editor-media-replace-flow__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:5px solid;margin-right:4px;margin-left:2px}.block-editor-media-flow__url-input{max-width:255px;padding:0 15px 10px}.block-editor-media-flow__url-input input{max-width:180px}.block-editor-media-replace-flow__link-viewer .components-external-link__icon{display:none}.block-editor-media-replace-flow__link-viewer .components-visually-hidden{position:static}.block-editor-media-replace-flow__link-viewer .components-button{flex-shrink:0}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-left:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-right:-2px;margin-left:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 -3px .6em 0}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-right:-3px}.block-editor-responsive-block-control__inner{margin-right:-1px}.block-editor-responsive-block-control__toggle{margin-right:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto;margin-bottom:6px}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-right:0;margin-left:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;left:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:right;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-left:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;left:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-right:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-right:1px solid #e2e4e7;margin-right:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(-180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:right;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-right-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 0 0 6px}.block-editor-warning__secondary{margin:5px -4px 0 0;height:36px}.block-editor-warning__secondary .components-button.has-icon{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-button.has-icon{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(-90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}
build/block-editor/style.css CHANGED
@@ -1 +1 @@
1
- .block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-left:14px;padding-right:14px;position:relative}@media (min-width:600px){.block-editor-block-list__layout{padding-left:58px;padding-right:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-left:0;padding-right:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 20px 12px;width:calc(100% - 40px)}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-left:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;right:-14px;left:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-navigate-mode:before{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #007cba;border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:rgba(145,151,162,.25);border-left:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected:before{border-left:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.block-editor-block-list__layout .block-editor-block-list__block.is-navigate-mode{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.is-block-content{float:left;margin-right:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.is-block-content{float:right;margin-left:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-58px;margin-right:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{opacity:0;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:4px}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none}}.block-editor-block-list__breadcrumb{display:block;line-height:1;z-index:22}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-left:none;box-shadow:inset 3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-left:8px;padding-right:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover{z-index:28;position:absolute}.block-editor-block-list__insertion-point-popover .components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible}.components-popover.block-editor-block-list__block-popover{z-index:29;position:absolute}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb{margin-bottom:13px;margin-left:-14px}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align=full],.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align=full]{margin-left:0}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender.is-drop-target>div:before{content:"";position:absolute;right:-14px;left:-14px;top:-14px;bottom:-14px;border:3px solid #0085ba}body.admin-color-sunrise .block-list-appender.is-drop-target>div:before{border:3px solid #d1864a}body.admin-color-ocean .block-list-appender.is-drop-target>div:before{border:3px solid #a3b9a2}body.admin-color-midnight .block-list-appender.is-drop-target>div:before{border:3px solid #e14d43}body.admin-color-ectoplasm .block-list-appender.is-drop-target>div:before{border:3px solid #a7b656}body.admin-color-coffee .block-list-appender.is-drop-target>div:before{border:3px solid #c2a68c}body.admin-color-blue .block-list-appender.is-drop-target>div:before{border:3px solid #82b4cb}body.admin-color-light .block-list-appender.is-drop-target>div:before{border:3px solid #0085ba}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control{float:left}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){display:block;position:absolute;top:37px;left:-38px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){transition-duration:0s}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;padding:0;border:none;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active{cursor:grabbing}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle,.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-left:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-pattern-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-pattern-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-pattern-picker.has-many-patterns .components-placeholder__fieldset{max-width:90%}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns>li{list-style:none;margin:4px 8px 4px 0;flex-shrink:1;max-width:100px}.block-editor-block-pattern-picker__patterns.block-editor-block-pattern-picker__patterns .block-editor-block-pattern-picker__pattern{padding:8px}.block-editor-block-pattern-picker__pattern{width:100%}.block-editor-block-pattern-picker__pattern.components-button.has-icon{justify-content:center}.block-editor-block-pattern-picker__pattern.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-pattern-picker__pattern.components-button{height:auto;padding:0}.block-editor-block-pattern-picker__pattern:before{content:"";padding-bottom:100%}.block-editor-block-pattern-picker__pattern:first-child{margin-left:0}.block-editor-block-pattern-picker__pattern:last-child{margin-right:0}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-button.block-editor-block-switcher__toggle{width:auto}.components-button.block-editor-block-switcher__toggle:active,.components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-left:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;outline:1px dashed #8d96a0;width:100%;height:auto;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-gradient-control__button-tabs{display:block}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon{width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .components-button svg,.block-editor-default-block-appender .block-editor-inserter .components-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 38px 11px 16px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;right:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f3f4f5;border-radius:2px}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;left:auto;right:60px;bottom:0}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{display:inline-flex;align-items:center;color:#555d66;background:none;cursor:pointer;border:none;outline:none;transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__menu-help-panel{display:none;border-left:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-replace-flow__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.block-editor-media-flow__url-input{max-width:255px;padding:0 15px 10px}.block-editor-media-flow__url-input input{max-width:180px}.block-editor-media-replace-flow__link-viewer .components-external-link__icon{display:none}.block-editor-media-replace-flow__link-viewer .components-visually-hidden{position:static}.block-editor-media-replace-flow__link-viewer .components-button{flex-shrink:0}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-right:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable.is-selected:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto;margin-bottom:6px}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover>svg{color:#555d66;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus{box-shadow:none}.block-editor-url-popover .components-button.has-icon:not(:disabled):focus>svg{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.block-editor-url-popover__settings-toggle{flex-shrink:0;border-radius:0;border-left:1px solid #e2e4e7;margin-left:1px}.block-editor-url-popover__settings-toggle[aria-expanded=true] .dashicon{transform:rotate(180deg)}.block-editor-url-popover__input-container .components-base-control:last-child,.block-editor-url-popover__input-container .components-base-control:last-child .components-base-control__field{margin-bottom:0}.block-editor-url-popover__settings{display:block;padding:16px;border-top:1px solid #e2e4e7}.block-editor-url-popover__link-editor,.block-editor-url-popover__link-viewer{display:flex}.block-editor-url-popover__link-editor .block-editor-url-input .components-base-control__field,.block-editor-url-popover__link-viewer .block-editor-url-input .components-base-control__field{margin-bottom:0}.block-editor-url-popover__link-editor .block-editor-url-input .components-spinner,.block-editor-url-popover__link-viewer .block-editor-url-input .components-spinner{bottom:9px}.block-editor-url-popover__link-viewer-url{margin:7px;flex-grow:1;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:500px}.block-editor-url-popover__link-viewer-url.has-invalid-link{color:#d94f4f}.block-editor-warning{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap;background-color:#fff;border:1px solid #e2e4e7;text-align:left;padding:10px 14px 14px}.is-selected .block-editor-warning{border-color:rgba(66,88,99,.4)}@media (min-width:600px){.is-selected .block-editor-warning{border-left-color:transparent}}.is-dark-theme .is-selected .block-editor-warning{border-color:hsla(0,0%,100%,.45)}.block-editor-warning .block-editor-warning__message{line-height:1.4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;margin:1em 0}.block-editor-warning p.block-editor-warning__message.block-editor-warning__message{min-height:auto}.block-editor-warning .block-editor-warning__contents{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;align-items:baseline;width:100%}.block-editor-warning .block-editor-warning__actions{display:flex}.block-editor-warning .block-editor-warning__action{margin:0 6px 0 0}.block-editor-warning__secondary{margin:5px 0 0 -4px;height:36px}.block-editor-warning__secondary .components-button.has-icon{width:auto;padding:8px 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-button.has-icon{padding:8px 4px}}.block-editor-warning__secondary .components-button svg{transform:rotate(90deg)}.block-editor-writing-flow{display:flex;flex-direction:column}.block-editor-writing-flow__click-redirect{cursor:text}.html-anchor-control .components-external-link{display:block;margin-top:8px}
1
+ .block-editor-block-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin:0;border-radius:4px}.block-editor-block-icon.has-colors svg{fill:currentColor}.block-editor-block-icon svg{min-width:20px;min-height:20px;max-width:24px;max-height:24px}.block-editor-block-inspector .components-base-control{margin-bottom:24px}.block-editor-block-inspector .components-base-control:last-child{margin-bottom:8px}.block-editor-block-inspector .components-panel__body{border:none;border-top:1px solid #e2e4e7}.block-editor-block-inspector .block-editor-block-card{padding:16px}.block-editor-block-inspector__no-blocks{display:block;font-size:13px;background:#fff;padding:32px 16px;text-align:center}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging:before{border:none}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*{background:#f8f9f9}.block-editor-block-list__layout .block-editor-block-list__block.is-selected.is-dragging>*>*{visibility:hidden}.block-editor-block-list__layout .block-editor-block-list__block.is-selected .reusable-block-edit-panel *{z-index:1}.block-editor-block-list__layout{padding-left:14px;padding-right:14px;position:relative}@media (min-width:600px){.block-editor-block-list__layout{padding-left:58px;padding-right:58px}}.block-editor-block-list__layout .block-editor-block-list__layout{padding-left:0;padding-right:0}.block-editor-block-list__layout .block-editor-block-list__block{position:relative;overflow-wrap:break-word}.block-editor-block-list__layout .block-editor-block-list__block .components-placeholder .components-with-notices-ui{margin:-10px 0 12px}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui{margin:0 0 12px;width:100%}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice{margin-left:0;margin-right:0}.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content{font-size:13px}.block-editor-block-list__layout .block-editor-block-list__block:before{z-index:0;content:"";position:absolute;border:1px solid transparent;border-left:none;box-shadow:none;pointer-events:none;transition:border-color .1s linear,border-style .1s linear,box-shadow .1s linear;outline:1px solid transparent;right:-14px;left:-14px;top:-14px;bottom:-14px}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block:before{transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:rgba(66,88,99,.4);box-shadow:inset 3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:hsla(0,0%,100%,.45);box-shadow:inset 3px 0 0 0 #d7dade}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:-3px 0 0 0 #d7dade}}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{border-color:#007cba;box-shadow:inset 3px 0 0 0 #007cba}@media (min-width:600px){.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block.is-selected:before{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){opacity:.5;transition:opacity .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected){transition-duration:0s}}.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected).is-focused,.block-editor-block-list__layout .block-editor-block-list__block.is-focus-mode:not(.is-multi-selected):not(.is-focused) .block-editor-block-list__block{opacity:1}.block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}body.admin-color-sunrise .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #d1864a}body.admin-color-ocean .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a3b9a2}body.admin-color-midnight .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #e14d43}body.admin-color-ectoplasm .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #a7b656}body.admin-color-coffee .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #c2a68c}body.admin-color-blue .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #82b4cb}body.admin-color-light .block-editor-block-list__layout .block-editor-block-list__block.is-drop-target:before{border-top:3px solid #0085ba}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #007cba;border-radius:1px;outline:2px solid transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .is-block-content,.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected:not(.is-block-collapsed){box-shadow:0 0 0 2px #fff}.block-editor-block-list__layout .block-editor-block-list__block.is-multi-selected .components-placeholder ::selection{background:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning{min-height:36px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning>*{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.block-editor-block-list__layout .block-editor-block-list__block.has-warning .block-editor-warning{pointer-events:all}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:rgba(145,151,162,.25);border-left:1px solid rgba(145,151,162,.25)}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning:before{border-color:hsla(0,0%,100%,.35)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:rgba(66,88,99,.4) rgba(66,88,99,.4) rgba(66,88,99,.4) transparent}.is-dark-theme .block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:before{border-color:hsla(0,0%,100%,.45)}.block-editor-block-list__layout .block-editor-block-list__block.has-warning:after{content:"";position:absolute;background-color:rgba(248,249,249,.4);top:-14px;bottom:-14px;right:-14px;left:-14px}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-multi-selected:after{background-color:transparent}.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:22px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block.has-warning.is-selected:after{bottom:-14px}}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable.is-selected:before{border-left:transparent;border-width:1px;border-style:dashed}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay:after{display:none}.block-editor-block-list__layout .block-editor-block-list__block.is-reusable>.block-editor-inner-blocks.has-overlay .block-editor-inner-blocks.has-overlay:after{display:block}.is-navigate-mode .block-editor-block-list__layout .block-editor-block-list__block{cursor:default}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left],.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]{z-index:21;width:100%;height:0}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]:before,.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]:before{content:none}.block-editor-block-list__layout .block-editor-block-list__block[data-align=left]>.is-block-content{float:left;margin-right:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=right]>.is-block-content{float:right;margin-left:2em}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.block-editor-block-list__layout .block-editor-block-list__block[data-align=wide]{clear:both}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-14px;margin-right:-14px}@media (min-width:600px){.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]{margin-left:-58px;margin-right:-58px}}.block-editor-block-list__layout .block-editor-block-list__block[data-align=full]:before{left:0;right:0;border-left-width:0;border-right-width:0}.block-editor-block-list__layout .block-editor-block-list__block[data-clear=true]{float:none}.block-editor-block-list__layout .block-editor-block-list__block .block-editor-block-list__layout .block-editor-default-block-appender .block-editor-inserter{left:auto;right:8px}.block-editor-block-list .block-editor-inserter{margin:8px;cursor:move;cursor:grab}.block-editor-block-list__insertion-point{position:relative;z-index:6;margin-top:-14px}.block-editor-block-list__insertion-point-indicator{position:absolute;top:calc(50% - 1px);height:2px;left:0;right:0;background:#0085ba}body.admin-color-sunrise .block-editor-block-list__insertion-point-indicator{background:#d1864a}body.admin-color-ocean .block-editor-block-list__insertion-point-indicator{background:#a3b9a2}body.admin-color-midnight .block-editor-block-list__insertion-point-indicator{background:#e14d43}body.admin-color-ectoplasm .block-editor-block-list__insertion-point-indicator{background:#a7b656}body.admin-color-coffee .block-editor-block-list__insertion-point-indicator{background:#c2a68c}body.admin-color-blue .block-editor-block-list__insertion-point-indicator{background:#82b4cb}body.admin-color-light .block-editor-block-list__insertion-point-indicator{background:#0085ba}.block-editor-block-list__insertion-point-inserter{display:none;justify-content:center;cursor:text}@media (min-width:480px){.block-editor-block-list__insertion-point-inserter{display:flex}}.block-editor-block-list__insertion-point-inserter.is-inserter-hidden .block-editor-inserter__toggle{opacity:0;pointer-events:none}.block-editor-block-list__block-popover-inserter{position:absolute;top:-9999em;margin-bottom:14px}.block-editor-block-list__block-popover-inserter.is-visible{position:static}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle{border-radius:50%;color:#007cba;background:#fff;height:28px;width:28px;padding:0;justify-content:center}.block-editor-block-list__block-popover-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover,.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):hover{box-shadow:none}.block-editor-block-list__block>.block-editor-block-list__insertion-point{position:absolute;top:-16px;height:28px;bottom:auto;left:14px;right:14px}.block-editor-block-list__block[data-align=full]>.block-editor-block-list__insertion-point{left:0;right:0}.block-editor-block-list__block .block-editor-block-list__block-html-textarea{display:block;margin:0;width:100%;border:none;outline:none;box-shadow:none;resize:none;overflow:hidden;font-family:Menlo,Consolas,monaco,monospace;font-size:14px;line-height:150%;transition:padding .2s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-list__block .block-editor-block-list__block-html-textarea{transition-duration:0s}}.block-editor-block-list__block .block-editor-block-list__block-html-textarea:focus{box-shadow:none}.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:100%}@media (min-width:600px){.block-editor-block-contextual-toolbar .block-editor-block-toolbar{width:auto;border-right:none}}.block-editor-block-list__breadcrumb{display:block;line-height:1;z-index:22}.block-editor-block-list__breadcrumb .components-toolbar{display:flex;background:#fff;border:1px solid #007cba;border-left:none;box-shadow:inset 3px 0 0 0 #007cba;height:38px;font-size:13px;line-height:29px;padding-left:8px;padding-right:8px}.block-editor-block-list__breadcrumb .components-toolbar .components-button{box-shadow:none}.is-dark-theme .block-editor-block-list__breadcrumb .components-toolbar{border-color:hsla(0,0%,100%,.45)}@media (min-width:600px){.block-editor-block-list__breadcrumb .components-toolbar{box-shadow:-3px 0 0 0 #007cba}}.block-editor-block-list__block .block-editor-warning{z-index:5;position:relative;margin-right:-14px;margin-left:-14px;margin-bottom:-14px;transform:translateY(-14px)}.block-editor-block-list__block .block-editor-warning.block-editor-block-list__block-crash-warning{margin-bottom:auto}.block-editor-block-list__insertion-point-popover{z-index:28}.block-editor-block-list__insertion-point-popover .components-popover__content{background:none;border:none;box-shadow:none;overflow-y:visible}.components-popover.block-editor-block-list__block-popover{z-index:29}.components-popover.block-editor-block-list__block-popover .components-popover__content{margin:0!important;min-width:auto;background:none;border:none;box-shadow:none;overflow-y:visible;pointer-events:none}.components-popover.block-editor-block-list__block-popover .components-popover__content>*{pointer-events:all}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar,.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb{margin-bottom:13px;margin-left:-14px}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-align=full],.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-list__breadcrumb[data-align=full]{margin-left:0}.is-dragging-components-draggable .components-popover.block-editor-block-list__block-popover{opacity:0}.block-editor-block-list__block .block-list-appender{margin:14px 0}.has-background .block-editor-block-list__block .block-list-appender{margin:32px 14px}.block-list-appender.is-drop-target>div:before{content:"";position:absolute;right:-14px;left:-14px;top:-14px;bottom:-14px;border:3px solid #0085ba}body.admin-color-sunrise .block-list-appender.is-drop-target>div:before{border:3px solid #d1864a}body.admin-color-ocean .block-list-appender.is-drop-target>div:before{border:3px solid #a3b9a2}body.admin-color-midnight .block-list-appender.is-drop-target>div:before{border:3px solid #e14d43}body.admin-color-ectoplasm .block-list-appender.is-drop-target>div:before{border:3px solid #a7b656}body.admin-color-coffee .block-list-appender.is-drop-target>div:before{border:3px solid #c2a68c}body.admin-color-blue .block-list-appender.is-drop-target>div:before{border:3px solid #82b4cb}body.admin-color-light .block-list-appender.is-drop-target>div:before{border:3px solid #0085ba}.block-list-appender>.block-editor-inserter{display:block}.block-editor-block-breadcrumb{list-style:none;padding:0;margin:0}.block-editor-block-breadcrumb li{display:inline-block;margin:0}.block-editor-block-breadcrumb li:not(:last-child):after{content:"\2192"}.block-editor-block-breadcrumb__button.components-button{height:24px;line-height:24px;padding:0}.block-editor-block-breadcrumb__button.components-button:hover{text-decoration:underline}.block-editor-block-breadcrumb__button.components-button:focus{color:#191e23;outline-offset:-1px;outline:1px dotted #555d66;outline-offset:-2px;box-shadow:none}.block-editor-block-breadcrumb__current{cursor:default}.block-editor-block-breadcrumb__button.components-button,.block-editor-block-breadcrumb__current{color:#555d66;padding:0 8px;font-size:inherit}.block-editor-block-card{display:flex;align-items:flex-start}.block-editor-block-card__icon{border:1px solid #ccd0d4;padding:7px;margin-right:10px;height:36px;width:36px}.block-editor-block-card__content{flex-grow:1}.block-editor-block-card__title{font-weight:500;margin-bottom:5px}.block-editor-block-card__description{font-size:13px}.block-editor-block-card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor-block-compare{overflow:auto;height:auto}@media (min-width:600px){.block-editor-block-compare{max-height:70%}}.block-editor-block-compare__wrapper{display:flex;padding-bottom:16px}.block-editor-block-compare__wrapper>div{display:flex;justify-content:space-between;flex-direction:column;width:50%;padding:0 16px 0 0;min-width:200px}.block-editor-block-compare__wrapper>div button{float:right}.block-editor-block-compare__wrapper .block-editor-block-compare__converted{border-left:1px solid #ddd;padding-left:15px;padding-right:0}.block-editor-block-compare__wrapper .block-editor-block-compare__html{font-family:Menlo,Consolas,monaco,monospace;font-size:12px;color:#23282d;border-bottom:1px solid #ddd;padding-bottom:15px;line-height:1.7}.block-editor-block-compare__wrapper .block-editor-block-compare__html span{background-color:#e6ffed;padding-top:3px;padding-bottom:3px}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__added{background-color:#acf2bd}.block-editor-block-compare__wrapper .block-editor-block-compare__html span.block-editor-block-compare__removed{background-color:#d94f4f}.block-editor-block-compare__wrapper .block-editor-block-compare__preview{padding:14px 0 0}.block-editor-block-compare__wrapper .block-editor-block-compare__preview p{font-size:12px;margin-top:0}.block-editor-block-compare__wrapper .block-editor-block-compare__action{margin-top:14px}.block-editor-block-compare__wrapper .block-editor-block-compare__heading{font-size:1em;font-weight:400;margin:.67em 0}.block-editor-block-mobile-toolbar{display:flex;flex-direction:row;border-right:1px solid #e2e4e7}.block-editor-block-mobile-toolbar .block-editor-block-mover__control{width:36px;height:36px;border-radius:4px;padding:3px;margin:0;justify-content:center;align-items:center}.block-editor-block-mobile-toolbar .block-editor-block-mover__control .dashicon{margin:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover{display:flex;margin-right:auto}.block-editor-block-mobile-toolbar .block-editor-block-mover .block-editor-block-mover__control{float:left}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){display:block;position:absolute;top:37px;left:-38px;opacity:0;background:#fff;border:1px solid rgba(66,88,99,.4);border-radius:4px;transition:box-shadow .2s ease-out}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){transition-duration:0s}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{animation-duration:1ms}}@media (min-width:600px){.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control{display:flex;align-items:center;justify-content:center;padding:0;border:none;width:28px;height:24px;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control svg{width:28px;height:24px;padding:2px 5px}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control[aria-disabled=true]{cursor:default;pointer-events:none;color:rgba(14,28,46,.62)}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__control:focus:not(:disabled){background-color:transparent}}@media (min-width:600px){.block-editor-block-list__block:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal){margin-top:0}}.block-editor-block-mover__control-drag-handle{cursor:move;cursor:grab;fill:currentColor}.block-editor-block-mover__control-drag-handle,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus,.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none;background:none;color:rgba(10,24,41,.7)}.block-editor-block-mover__control-drag-handle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active{cursor:grabbing}.block-editor-block-mover.is-horizontal .block-editor-block-mover__control-drag-handle,.block-editor-block-mover__description{display:none}.block-editor-block-navigation__container{padding:7px}.block-editor-block-navigation__label{margin:0 0 8px;color:#6c7781}.block-editor-block-navigation__list,.block-editor-block-navigation__paragraph{padding:0;margin:0}.block-editor-block-navigation__list .block-editor-button-block-appender{outline:none;background:none;padding:8px;margin-left:.8em;width:36px;border-radius:4px}.block-editor-block-navigation__list .block-editor-button-block-appender:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5;outline:none}.block-editor-block-navigation__list .block-editor-button-block-appender:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__list .block-editor-block-navigation__list{margin-top:2px;border-left:2px solid #a2aab2;margin-left:1em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__list{margin-left:1.5em}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item:before{position:absolute;left:0;background:#a2aab2;width:.5em;height:2px;content:"";top:calc(50% - 1px)}.block-editor-block-navigation__list .block-editor-block-navigation__list .block-editor-block-navigation__item-button{margin-left:.8em;width:calc(100% - .8em)}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child{position:relative}.block-editor-block-navigation__list .block-editor-block-navigation__list>li:last-child:after{position:absolute;content:"";background:#fff;top:19px;bottom:0;left:-2px;width:2px}.block-editor-block-navigation__item-button{display:flex;align-items:center;width:100%;padding:6px;text-align:left;color:#40464d;border-radius:4px}.block-editor-block-navigation__item-button .block-editor-block-icon{margin-right:6px}.block-editor-block-navigation__item-button:hover:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;background:#f3f4f5}.block-editor-block-navigation__item-button:focus:not(:disabled):not([aria-disabled=true]){color:#191e23;border:none;box-shadow:none;outline-offset:-2px;outline:1px dotted #555d66}.block-editor-block-navigation__item-button.is-selected,.block-editor-block-navigation__item-button.is-selected:focus{color:#32373c;background:#edeff0}.components-popover.block-editor-block-navigation__popover{z-index:99998}.block-editor-block-preview__container{position:relative;width:100%;overflow:hidden}.block-editor-block-preview__container.is-ready{overflow:visible}.block-editor-block-preview__content{position:absolute;top:0;left:0;transform-origin:top left;text-align:initial;margin:0;overflow:visible;min-height:auto}.block-editor-block-preview__content .block-editor-block-list__block,.block-editor-block-preview__content .block-editor-block-list__layout{padding:0}.block-editor-block-preview__content>div section{height:auto}.block-editor-block-preview__content .block-editor-block-drop-zone,.block-editor-block-preview__content .block-editor-block-list__insertion-point,.block-editor-block-preview__content .block-list-appender,.block-editor-block-preview__content .reusable-block-indicator{display:none}.block-editor-block-settings-menu .components-dropdown-menu__toggle .dashicon{transform:rotate(90deg)}.block-editor-block-settings-menu__popover .components-dropdown-menu__menu{padding:0}.block-editor-block-styles{display:flex;flex-wrap:wrap;justify-content:space-between}.block-editor-block-styles__item{width:calc(50% - 4px);margin:4px 0;flex-shrink:0;cursor:pointer;overflow:hidden;border-radius:4px;padding:calc(37.5% - 6px) 6px 6px}.block-editor-block-styles__item:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent}.block-editor-block-styles__item:hover{background:#f3f4f5;color:#191e23}.block-editor-block-styles__item.is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.block-editor-block-styles__item.is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-styles__item-preview{outline:1px solid transparent;border:1px solid rgba(25,30,35,.2);border-radius:4px;display:flex;overflow:hidden;background:#fff;padding:75% 0 0;margin-top:-75%}.block-editor-block-styles__item-preview .block-editor-block-preview__container{padding-top:0;margin:-75% 0 0}.block-editor-block-styles__item-label{text-align:center;padding:4px 2px}.block-editor-block-switcher{position:relative;height:36px}.components-button.block-editor-block-switcher__no-switcher-icon,.components-button.block-editor-block-switcher__toggle{margin:0;display:block;height:36px;padding:3px}.components-button.block-editor-block-switcher__no-switcher-icon{width:48px}.components-button.block-editor-block-switcher__no-switcher-icon .block-editor-block-icon{margin-right:auto;margin-left:auto}.components-button.block-editor-block-switcher__no-switcher-icon:disabled{border-radius:0;opacity:.84}.components-button.block-editor-block-switcher__no-switcher-icon:disabled .block-editor-block-icon.has-colors{color:#555d66!important;background:#f3f4f5!important}.components-button.block-editor-block-switcher__toggle{width:auto}.components-button.block-editor-block-switcher__toggle:active,.components-button.block-editor-block-switcher__toggle:not(:disabled):not([aria-disabled=true]):hover,.components-button.block-editor-block-switcher__toggle:not([aria-disabled=true]):focus{outline:none;box-shadow:none;background:none;border:none}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{width:42px;height:30px;position:relative;margin:0 auto;padding:3px;display:flex;align-items:center;transition:all .1s cubic-bezier(.165,.84,.44,1)}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-switcher__toggle .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{transition-duration:0s}}.components-button.block-editor-block-switcher__toggle .block-editor-block-icon:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.components-button.block-editor-block-switcher__toggle .block-editor-block-switcher__transform{margin-top:6px;border-radius:4px}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):hover .block-editor-block-switcher__transform,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle[aria-expanded=true] .block-editor-block-switcher__transform{transform:translateY(-36px)}.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-icon,.components-button.block-editor-block-switcher__toggle:not(:disabled):focus .block-editor-block-switcher__transform{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent}.components-popover.block-editor-block-switcher__popover .components-popover__content{min-width:300px;max-width:680px;display:flex;background:#fff;box-shadow:0 3px 30px rgba(25,30,35,.1)}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__container{min-width:300px;max-width:340px;width:50%}@media (min-width:782px){.block-editor-block-switcher__popover .components-popover__content{position:relative}.block-editor-block-switcher__popover .components-popover__content .block-editor-block-switcher__preview{border-left:1px solid #e2e4e7;box-shadow:0 3px 30px rgba(25,30,35,.1);background:#fff;width:300px;height:auto;position:-webkit-sticky;position:sticky;-ms-grid-row-align:stretch;align-self:stretch;top:0;padding:10px}}.block-editor-block-switcher__popover .components-popover__content .components-panel__body{border:0;position:relative;z-index:1}.block-editor-block-switcher__popover .components-popover__content .components-panel__body+.components-panel__body{border-top:1px solid #e2e4e7}.block-editor-block-switcher__popover .block-editor-block-styles{margin:0 -3px}.block-editor-block-switcher__popover .block-editor-block-types-list{margin:8px -8px -8px}.block-editor-block-switcher__preview-title{margin-bottom:10px;color:#6c7781}.block-editor-block-toolbar{display:flex;flex-grow:1;width:100%;overflow:auto;position:relative;border-left:1px solid #b5bcc2;transition:border-color .1s linear,box-shadow .1s linear}@media (prefers-reduced-motion:reduce){.block-editor-block-toolbar{transition-duration:0s}}@media (min-width:600px){.block-editor-block-toolbar{overflow:inherit;border-left:none;box-shadow:-3px 0 0 0 #555d66}.is-dark-theme .block-editor-block-toolbar{box-shadow:-3px 0 0 0 #d7dade}}.block-editor-block-toolbar .components-toolbar{border:0;border-top:1px solid #b5bcc2;border-bottom:1px solid #b5bcc2;border-right:1px solid #b5bcc2;line-height:0}.has-fixed-toolbar .block-editor-block-toolbar{box-shadow:none;border-left:1px solid #e2e4e7}.has-fixed-toolbar .block-editor-block-toolbar .components-toolbar{border-color:#e2e4e7}.block-editor-block-toolbar__slot{display:inline-block;line-height:0}@supports ((position:-webkit-sticky) or (position:sticky)){.block-editor-block-toolbar__slot{display:inline-flex}}.block-editor-block-types-list{list-style:none;padding:4px;margin-left:-4px;margin-right:-4px;overflow:hidden;display:flex;flex-wrap:wrap}.block-editor-block-variation-picker .components-placeholder__instructions{margin-bottom:0}.block-editor-block-variation-picker .components-placeholder__fieldset{flex-direction:column}.block-editor-block-variation-picker.has-many-variations .components-placeholder__fieldset{max-width:90%}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations{display:flex;justify-content:flex-start;flex-direction:row;flex-wrap:wrap;width:100%;margin:16px 0;padding:0;list-style:none}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations>li{list-style:none;margin:4px 8px 4px 0;flex-shrink:1;max-width:100px}.block-editor-block-variation-picker__variations.block-editor-block-variation-picker__variations .block-editor-block-variation-picker__variation{padding:8px}.block-editor-block-variation-picker__variation{width:100%}.block-editor-block-variation-picker__variation.components-button.has-icon{justify-content:center}.block-editor-block-variation-picker__variation.components-button.has-icon.is-secondary{background-color:#fff}.block-editor-block-variation-picker__variation.components-button{height:auto;padding:0}.block-editor-block-variation-picker__variation:before{content:"";padding-bottom:100%}.block-editor-block-variation-picker__variation:first-child{margin-left:0}.block-editor-block-variation-picker__variation:last-child{margin-right:0}.block-editor-button-block-appender{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;outline:1px dashed #8d96a0;width:100%;height:auto;color:#555d66;background:rgba(237,239,240,.8)}.block-editor-button-block-appender:focus,.block-editor-button-block-appender:hover{outline:1px dashed #555d66;color:#191e23}.block-editor-button-block-appender:active{outline:1px dashed #191e23;color:#191e23}.is-dark-theme .block-editor-button-block-appender{background:rgba(50,55,60,.7);color:#f8f9f9}.is-dark-theme .block-editor-button-block-appender:focus,.is-dark-theme .block-editor-button-block-appender:hover{outline:1px dashed #fff}.block-editor-color-gradient-control__button-tabs{display:block}.block-editor-panel-color-gradient-settings .component-color-indicator{vertical-align:text-bottom}.block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:inline-block}.block-editor-panel-color-gradient-settings.is-opened .block-editor-panel-color-gradient-settings__panel-title .component-color-indicator{display:none}.block-editor-contrast-checker>.components-notice{margin:0}.block-editor-default-block-appender{clear:both;margin-left:auto;margin-right:auto;position:relative}.block-editor-default-block-appender[data-root-client-id=""] .block-editor-default-block-appender__content:hover{outline:1px solid transparent}.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{font-family:"Noto Serif",serif;font-size:16px;border:none;background:none;box-shadow:none;display:block;cursor:text;width:100%;outline:1px solid transparent;transition:outline .2s;resize:none;margin-top:28px;margin-bottom:28px;padding:0 50px 0 14px;color:rgba(14,28,46,.62)}@media (prefers-reduced-motion:reduce){.block-editor-default-block-appender textarea.block-editor-default-block-appender__content{transition-duration:0s}}.is-dark-theme .block-editor-default-block-appender textarea.block-editor-default-block-appender__content{color:hsla(0,0%,100%,.65)}.block-editor-default-block-appender .components-drop-zone__content-icon{display:none}.block-editor-default-block-appender__content{min-height:28px;line-height:1.8}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{position:absolute;top:0}.block-editor-block-list__empty-block-inserter .components-button.has-icon,.block-editor-default-block-appender .block-editor-inserter .components-button.has-icon{width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .components-button svg,.block-editor-default-block-appender .block-editor-inserter .components-button svg{display:block;margin:auto}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{margin-right:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover{box-shadow:none}.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{right:8px}@media (min-width:600px){.block-editor-block-list__empty-block-inserter,.block-editor-default-block-appender .block-editor-inserter{display:flex;height:100%}}.block-editor-block-list__empty-block-inserter:disabled,.block-editor-default-block-appender .block-editor-inserter:disabled{display:none}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle,.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle{border-radius:50%;width:28px;height:28px;padding:0}.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:rgba(10,24,41,.7)}.is-dark-theme .block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:hover),.is-dark-theme .block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:hover){color:hsla(0,0%,100%,.75)}@media (min-width:600px){.block-editor-default-block-appender .block-editor-inserter{align-items:center}}.block-editor-link-control{position:relative;min-width:360px}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{width:calc(100% - 32px);display:block;margin:16px;padding:11px 38px 11px 16px;position:relative;z-index:1;border:1px solid #e1e1e1;border-radius:4px;font-size:16px}@media (min-width:600px){.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]{font-size:13px}}.block-editor-link-control .block-editor-link-control__search-input.block-editor-link-control__search-input input[type=text]:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-link-control__search-reset{position:absolute;top:19px;right:19px;z-index:10}.block-editor-link-control__search-results-wrapper{position:relative;margin-top:-15px}.block-editor-link-control__search-results-wrapper:after,.block-editor-link-control__search-results-wrapper:before{content:"";position:absolute;left:-1px;right:16px;display:block;pointer-events:none;z-index:100}.block-editor-link-control__search-results-wrapper:before{height:8px;top:0;bottom:auto;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0))}.block-editor-link-control__search-results-wrapper:after{height:16px;bottom:0;top:auto;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.block-editor-link-control__search-results-label{padding:15px 30px 0;display:block;font-size:1.1em}.block-editor-link-control__search-results{margin:0;padding:8px 16px 16px;max-height:200px;overflow-y:auto}.block-editor-link-control__search-results.is-loading{opacity:.2}.block-editor-link-control__search-item{position:relative;display:flex;align-items:center;font-size:13px;cursor:pointer;background:#fff;width:100%;border:none;text-align:left;padding:10px 15px;border-radius:5px;height:auto}.block-editor-link-control__search-item:focus,.block-editor-link-control__search-item:hover{background-color:#e9e9e9}.block-editor-link-control__search-item.is-selected{background:#f2f2f2}.block-editor-link-control__search-item.is-selected .block-editor-link-control__search-item-type{background:#fff}.block-editor-link-control__search-item.is-current{background:transparent;border:0;width:100%;cursor:default;padding:16px 16px 16px 24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-header{display:block;margin-right:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-icon{margin-right:1em;min-width:24px}.block-editor-link-control__search-item .block-editor-link-control__search-item-info,.block-editor-link-control__search-item .block-editor-link-control__search-item-title{text-overflow:ellipsis;max-width:230px;overflow:hidden;white-space:nowrap}.block-editor-link-control__search-item .block-editor-link-control__search-item-title{display:block;margin-bottom:.2em;font-weight:500}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{font-weight:700;color:#000;background-color:transparent}.block-editor-link-control__search-item .block-editor-link-control__search-item-title span{font-weight:400}.block-editor-link-control__search-item .block-editor-link-control__search-item-info{display:block;color:#999;font-size:.9em;line-height:1.3}.block-editor-link-control__search-item .block-editor-link-control__search-item-type{display:block;padding:3px 8px;margin-left:auto;font-size:.9em;background-color:#f3f4f5;border-radius:2px}.block-editor-link-control__search-results div[role=menu]>.block-editor-link-control__search-item.block-editor-link-control__search-item{padding:10px}.block-editor-link-control__settings{border-top:1px solid #e1e1e1;margin:0;padding:16px 24px}.block-editor-link-control__settings :last-child{margin-bottom:0}.block-editor-link-control__setting{margin-bottom:16px}.block-editor-link-control__setting :last-child{margin-bottom:0}.block-editor-link-control .block-editor-link-control__search-input .components-spinner{display:block;z-index:100}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;top:27px;left:auto;right:60px;bottom:0}.block-editor-link-control__search-item-action{margin-left:auto;flex-shrink:0}.block-editor-image-size-control{margin-bottom:1em}.block-editor-image-size-control .block-editor-image-size-control__row{display:flex;justify-content:space-between}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-bottom:.5em}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height input,.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width input{line-height:1.25}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__width{margin-right:5px}.block-editor-image-size-control .block-editor-image-size-control__row .block-editor-image-size-control__height{margin-left:5px}.block-editor-inner-blocks.has-overlay:after{content:"";position:absolute;top:-14px;right:-14px;bottom:-14px;left:-14px;z-index:60}[data-align=full] .has-overlay:after{right:0;left:0}.block-editor-inserter{display:inline-block;background:none;border:none;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;line-height:1.4}@media (min-width:782px){.block-editor-inserter{position:relative}}@media (min-width:782px){.block-editor-inserter__popover>.components-popover__content{overflow-y:visible;height:432px}}.block-editor-inserter__toggle{transition:color .2s ease}@media (prefers-reduced-motion:reduce){.block-editor-inserter__toggle{transition-duration:0s}}.block-editor-inserter__menu{height:100%;display:flex;width:auto}@media (min-width:782px){.block-editor-inserter__menu{width:400px;position:relative}.block-editor-inserter__menu.has-help-panel{width:700px}}.block-editor-inserter__main-area{width:auto;display:flex;flex-direction:column;height:100%}@media (min-width:782px){.block-editor-inserter__main-area{width:400px;position:relative}}.block-editor-inserter__inline-elements{margin-top:-1px}.block-editor-inserter__menu.is-bottom:after{border-bottom-color:#fff}.components-popover.block-editor-inserter__popover{z-index:99998}.components-popover input[type=search].block-editor-inserter__search{display:block;margin:16px;padding:11px 16px;position:relative;z-index:1;border-radius:4px;font-size:16px}@media (min-width:600px){.components-popover input[type=search].block-editor-inserter__search{font-size:13px}}.components-popover input[type=search].block-editor-inserter__search:focus{color:#191e23;border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent}.block-editor-inserter__results{flex-grow:1;overflow:auto;position:relative;z-index:1;padding:0 16px 16px}.block-editor-inserter__results:focus{outline:1px dotted #555d66}@media (min-width:782px){.block-editor-inserter__results{height:394px}}.block-editor-inserter__results [role=presentation]+.components-panel__body{border-top:none}.block-editor-inserter__popover .block-editor-block-types-list{margin:0 -8px}.block-editor-inserter__reusable-blocks-panel{position:relative;text-align:right}.block-editor-inserter__manage-reusable-blocks{margin:16px 0 0 16px}.block-editor-inserter__no-results{font-style:italic;padding:24px;text-align:center}.block-editor-inserter__child-blocks{padding:0 16px}.block-editor-inserter__parent-block-header{display:flex;align-items:center}.block-editor-inserter__parent-block-header h2{font-size:13px}.block-editor-inserter__parent-block-header .block-editor-block-icon{margin-right:8px}.block-editor-inserter__menu-help-panel{display:none;border-left:1px solid #e2e4e7;width:300px;height:100%;padding:20px;overflow-y:auto}@media (min-width:782px){.block-editor-inserter__menu-help-panel{display:flex;flex-direction:column}}.block-editor-inserter__menu-help-panel .block-editor-block-card{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2e4e7;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel .block-editor-block-card{animation-duration:1ms}}.block-editor-inserter__menu-help-panel .block-editor-inserter__preview{display:flex;flex-grow:2}.block-editor-inserter__menu-help-panel-no-block{display:flex;height:100%;flex-direction:column;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.block-editor-inserter__menu-help-panel-no-block{animation-duration:1ms}}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text{flex-grow:1}.block-editor-inserter__menu-help-panel-no-block .block-editor-inserter__menu-help-panel-no-block-text h4{font-size:18px}.block-editor-inserter__menu-help-panel-no-block .components-notice{margin:0}.block-editor-inserter__menu-help-panel-no-block h4{margin-top:0}.block-editor-inserter__menu-help-panel-hover-area{flex-grow:1;margin-top:20px;padding:20px;border:1px dotted #e2e4e7;display:flex;align-items:center;text-align:center}.block-editor-inserter__menu-help-panel-title{font-size:18px;font-weight:600;margin-bottom:20px}.block-editor-inserter__preview-content{border:1px solid #e2e4e7;border-radius:4px;min-height:150px;display:-ms-grid;display:grid;flex-grow:2}.block-editor-inserter__preview-content .block-editor-block-preview__container{margin-right:0;margin-left:0;padding:10px}.block-editor-inserter__preview-content-missing{flex:1;display:flex;justify-content:center;color:#606a73;border:1px solid #e2e4e7;border-radius:4px;align-items:center}.block-editor-block-types-list__list-item{display:block;width:33.33%;padding:0;margin:0 0 12px}.components-button.block-editor-block-types-list__item{display:flex;flex-direction:column;width:100%;font-size:13px;color:#32373c;padding:0 4px;align-items:stretch;justify-content:center;cursor:pointer;background:transparent;word-break:break-word;border-radius:4px;border:1px solid transparent;transition:all .05s ease-in-out;position:relative;height:auto}@media (prefers-reduced-motion:reduce){.components-button.block-editor-block-types-list__item{transition-duration:0s}}.components-button.block-editor-block-types-list__item:disabled{opacity:.6;cursor:default}.components-button.block-editor-block-types-list__item:not(:disabled):hover:before{content:"";display:block;background:#f3f4f5;color:#191e23;position:absolute;z-index:-1;border-radius:4px;top:0;right:0;bottom:0;left:0}.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):hover .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled):active,.components-button.block-editor-block-types-list__item:not(:disabled):focus{position:relative;color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2;outline:2px solid transparent;background:transparent}.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):active .block-editor-block-types-list__item-title,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-icon,.components-button.block-editor-block-types-list__item:not(:disabled):focus .block-editor-block-types-list__item-title{color:inherit}.components-button.block-editor-block-types-list__item:not(:disabled).is-active{color:#191e23;box-shadow:inset 0 0 0 2px #555d66;outline:2px solid transparent;outline-offset:-2px}.components-button.block-editor-block-types-list__item:not(:disabled).is-active:focus{color:#191e23;box-shadow:0 0 0 1px #fff,0 0 0 3px #00a0d2,inset 0 0 0 2px #555d66;outline:4px solid transparent;outline-offset:-4px}.block-editor-block-types-list__item-icon{padding:12px 20px;border-radius:4px;color:#555d66;transition:all .05s ease-in-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon{transition-duration:0s}}.block-editor-block-types-list__item-icon .block-editor-block-icon{margin-left:auto;margin-right:auto}.block-editor-block-types-list__item-icon svg{transition:all .15s ease-out}@media (prefers-reduced-motion:reduce){.block-editor-block-types-list__item-icon svg{transition-duration:0s}}.block-editor-block-types-list__item-title{padding:4px 2px 8px}.modal-open .block-editor-media-replace-flow__options{display:none}.block-editor-media-replace-flow__indicator{margin-left:4px}.block-editor-media-replace-flow__indicator:after{content:"";pointer-events:none;display:block;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:5px solid;margin-left:4px;margin-right:2px}.block-editor-media-flow__url-input{max-width:255px;padding:0 15px 10px}.block-editor-media-flow__url-input input{max-width:180px}.block-editor-media-replace-flow__link-viewer .components-external-link__icon{display:none}.block-editor-media-replace-flow__link-viewer .components-visually-hidden{position:static}.block-editor-media-replace-flow__link-viewer .components-button{flex-shrink:0}.block-editor-media-placeholder__url-input-container .block-editor-media-placeholder__button{margin-bottom:0}.block-editor-media-placeholder__url-input-form{display:flex}.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:100%;flex-grow:1;border:none;border-radius:0;margin:2px}@media (min-width:600px){.block-editor-media-placeholder__url-input-form input[type=url].block-editor-media-placeholder__url-input-field{width:300px}}.block-editor-media-placeholder__url-input-submit-button{flex-shrink:1}.block-editor-media-placeholder__button{margin-bottom:.5rem}.block-editor-media-placeholder__button .dashicon{vertical-align:middle;margin-bottom:3px}.block-editor-media-placeholder__button:hover{color:#23282d}.block-editor-media-placeholder__cancel-button.is-link{margin:1em;display:block}.block-editor-media-placeholder.is-appender{min-height:100px;outline:1px dashed #8d96a0}.block-editor-media-placeholder.is-appender:hover{outline:1px dashed #555d66;cursor:pointer}.is-dark-theme .block-editor-media-placeholder.is-appender:hover{outline:1px dashed #fff}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button{margin-right:4px}.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:focus,.block-editor-media-placeholder.is-appender .block-editor-media-placeholder__upload-button.components-button:hover{box-shadow:none;border:1px solid #555d66}.block-editor-multi-selection-inspector__card{display:flex;align-items:flex-start;padding:16px}.block-editor-multi-selection-inspector__card-content{flex-grow:1}.block-editor-multi-selection-inspector__card-title{font-weight:500;margin-bottom:5px}.block-editor-multi-selection-inspector__card-description{font-size:13px}.block-editor-multi-selection-inspector__card .block-editor-block-icon{margin-left:-2px;margin-right:10px;padding:0 3px;width:36px;height:24px}.block-editor .block-editor-plain-text{box-shadow:none;font-family:inherit;font-size:inherit;color:inherit;line-height:inherit;border:none;padding:0;margin:0;width:100%}.block-editor-responsive-block-control{margin-bottom:28px;border-bottom:1px solid #d7dade;padding-bottom:14px}.block-editor-responsive-block-control:last-child{padding-bottom:0;border-bottom:0}.block-editor-responsive-block-control__title{margin:0 0 .6em -3px}.block-editor-responsive-block-control__label{font-weight:600;margin-bottom:.6em;margin-left:-3px}.block-editor-responsive-block-control__inner{margin-left:-1px}.block-editor-responsive-block-control__toggle{margin-left:1px}.block-editor-responsive-block-control .components-base-control__help{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.block-editor-format-toolbar .components-dropdown-menu__toggle .components-dropdown-menu__indicator:after{margin:7px}.block-editor-rich-text__editable>p:first-child{margin-top:0}.block-editor-rich-text__editable a{color:#007fac}.block-editor-rich-text__editable code{padding:2px;border-radius:2px;color:#23282d;background:#f3f4f5;font-family:Menlo,Consolas,monaco,monospace;font-size:inherit}.block-editor-rich-text__editable [data-rich-text-placeholder]{pointer-events:none}.block-editor-rich-text__editable [data-rich-text-placeholder]:after{content:attr(data-rich-text-placeholder);opacity:.62}.block-editor-rich-text__editable:focus{outline:none}.block-editor-rich-text__editable:focus [data-rich-text-format-boundary]{border-radius:2px}.block-editor-rich-text__editable:focus:not(.keep-placeholder-on-focus) [data-rich-text-placeholder]:after{display:none}figcaption.block-editor-rich-text__editable [data-rich-text-placeholder]:before{opacity:.8}.components-popover.block-editor-rich-text__inline-format-toolbar{z-index:99998}.components-popover.block-editor-rich-text__inline-format-toolbar .components-popover__content{min-width:auto;margin-bottom:6px}.components-popover.block-editor-rich-text__inline-format-toolbar .components-toolbar{border:none}.block-editor-skip-to-selected-block{position:absolute;top:-9999em}.block-editor-skip-to-selected-block:focus{height:auto;width:auto;display:block;font-size:14px;font-weight:600;padding:15px 23px 14px;background:#f1f1f1;color:#11a0d2;line-height:normal;box-shadow:0 0 2px 2px rgba(0,0,0,.6);text-decoration:none;outline:none;z-index:100000}body.admin-color-sunrise .block-editor-skip-to-selected-block:focus{color:#c8b03c}body.admin-color-ocean .block-editor-skip-to-selected-block:focus{color:#a89d8a}body.admin-color-midnight .block-editor-skip-to-selected-block:focus{color:#77a6b9}body.admin-color-ectoplasm .block-editor-skip-to-selected-block:focus{color:#c77430}body.admin-color-coffee .block-editor-skip-to-selected-block:focus{color:#9fa47b}body.admin-color-blue .block-editor-skip-to-selected-block:focus{color:#d9ab59}body.admin-color-light .block-editor-skip-to-selected-block:focus{color:#c75726}.block-editor-tool-selector__help{padding:16px;border-top:1px solid #e2e4e7;color:#6c7781}.block-editor-block-list__block .block-editor-url-input,.block-editor-url-input,.components-popover .block-editor-url-input{flex-grow:1;position:relative;padding:1px}.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:100%;padding:8px;border:none;border-radius:0;margin-left:0;margin-right:0;font-size:16px}@media (min-width:600px){.block-editor-block-list__block .block-editor-url-input input[type=text],.block-editor-url-input input[type=text],.components-popover .block-editor-url-input input[type=text]{width:300px;font-size:13px}}.block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,.block-editor-url-input input[type=text]::-ms-clear,.components-popover .block-editor-url-input input[type=text]::-ms-clear{display:none}.block-editor-block-list__block .block-editor-url-input.has-border input[type=text],.block-editor-url-input.has-border input[type=text],.components-popover .block-editor-url-input.has-border input[type=text]{border:1px solid #555d66;border-radius:4px}.block-editor-block-list__block .block-editor-url-input.is-full-width,.block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,.block-editor-block-list__block .block-editor-url-input.is-full-width input[type=text],.block-editor-url-input.is-full-width,.block-editor-url-input.is-full-width__suggestions,.block-editor-url-input.is-full-width input[type=text],.components-popover .block-editor-url-input.is-full-width,.components-popover .block-editor-url-input.is-full-width__suggestions,.components-popover .block-editor-url-input.is-full-width input[type=text]{width:100%}.block-editor-block-list__block .block-editor-url-input .components-spinner,.block-editor-url-input .components-spinner,.components-popover .block-editor-url-input .components-spinner{position:absolute;right:8px;bottom:17px;margin:0}.block-editor-url-input__suggestions{max-height:200px;transition:all .15s ease-in-out;padding:4px 0;width:302px;overflow-y:auto}@media (prefers-reduced-motion:reduce){.block-editor-url-input__suggestions{transition-duration:0s}}.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:none}@media (min-width:600px){.block-editor-url-input .components-spinner,.block-editor-url-input__suggestions{display:inherit}}.block-editor-url-input__suggestion{padding:4px 8px;color:#6c7781;display:block;font-size:13px;cursor:pointer;background:#fff;width:100%;text-align:left;border:none;box-shadow:none}.block-editor-url-input__suggestion:hover{background:#e2e4e7}.block-editor-url-input__suggestion.is-selected,.block-editor-url-input__suggestion:focus{background:#00719e;color:#fff;outline:none}body.admin-color-sunrise .block-editor-url-input__suggestion.is-selected,body.admin-color-sunrise .block-editor-url-input__suggestion:focus{background:#b2723f}body.admin-color-ocean .block-editor-url-input__suggestion.is-selected,body.admin-color-ocean .block-editor-url-input__suggestion:focus{background:#8b9d8a}body.admin-color-midnight .block-editor-url-input__suggestion.is-selected,body.admin-color-midnight .block-editor-url-input__suggestion:focus{background:#bf4139}body.admin-color-ectoplasm .block-editor-url-input__suggestion.is-selected,body.admin-color-ectoplasm .block-editor-url-input__suggestion:focus{background:#8e9b49}body.admin-color-coffee .block-editor-url-input__suggestion.is-selected,body.admin-color-coffee .block-editor-url-input__suggestion:focus{background:#a58d77}body.admin-color-blue .block-editor-url-input__suggestion.is-selected,body.admin-color-blue .block-editor-url-input__suggestion:focus{background:#6f99ad}body.admin-color-light .block-editor-url-input__suggestion.is-selected,body.admin-color-light .block-editor-url-input__suggestion:focus{background:#00719e}.components-toolbar>.block-editor-url-input__button{position:inherit}.block-editor-url-input__button .block-editor-url-input__back{margin-right:4px;overflow:visible}.block-editor-url-input__button .block-editor-url-input__back:after{content:"";position:absolute;display:block;width:1px;height:24px;right:-1px;background:#e2e4e7}.block-editor-url-input__button-modal{box-shadow:0 3px 30px rgba(25,30,35,.1);border:1px solid #e2e4e7;background:#fff}.block-editor-url-input__button-modal-line{display:flex;flex-direction:row;flex-grow:1;flex-shrink:1;min-width:0;align-items:flex-start}.block-editor-url-input__button-modal-line .components-button{flex-shrink:0;width:36px;height:36px}.block-editor-url-popover__additional-controls{border-top:1px solid #e2e4e7}.block-editor-url-popover__additional-controls>div[role=menu] .components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary)>svg{box-shadow:none}.block-editor-url-popover__additional-controls div[role=menu]>.components-button{padding-left:2px}.block-editor-url-popover__row{display:flex}.block-editor-url-popover__row>:not(.block-editor-url-popover__settings-toggle){flex-grow:1}.block-editor-url-popover .components-button.has-icon{padding:3px}.block-editor-url-popover .components-button.has-icon>svg{padding:5px;border-radius:4px;height:30px;width:30px}.block-editor-url-popover .components-button.has-icon:not(:disabled):not([aria-disabled=true]):not(.is-s