Gutenberg - Version 7.6.0

Version Description

Download this release

Release Info

Developer jorgefilipecosta
Plugin Icon 128x128 Gutenberg
Version 7.6.0
Comparing to
See all releases

Code changes from version 7.5.0 to 7.6.0

README.md CHANGED
@@ -14,7 +14,7 @@ The block editor first became available in December 2018, and we're still hard a
14
 
15
  ## Getting Started
16
 
17
- Get hands on: check out the [Block Editor live demo](https://wordpress.org/gutenberg/) to play with a test instance of the editor.
18
 
19
  ### Using Gutenberg
20
 
14
 
15
  ## Getting Started
16
 
17
+ Get hands on: check out the [block editor live demo](https://wordpress.org/gutenberg/) to play with a test instance of the editor.
18
 
19
  ### Using Gutenberg
20
 
build/a11y/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '09fdea767523792caf8a6f8456051239');
1
+ <?php return array('dependencies' => array('wp-dom-ready', 'wp-polyfill'), 'version' => '5f36e8086ddeccd0ae422f658d06fb30');
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=385)}({232:function(e,t){!function(){e.exports=this.wp.domReady}()},385:function(e,t,n){"use strict";n.r(t);var r=n(232),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=398)}({232:function(e,t){!function(){e.exports=this.wp.domReady}()},398:function(e,t,n){"use strict";n.r(t);var r=n(232),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' => 'd3094a4cac1b01f67dd9e8d0cf9e8d01');
1
+ <?php return array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'cd40af0c15abec96d463b1f2d65873bc');
build/annotations/index.js CHANGED
@@ -1 +1 @@
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=375)}({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(35);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(39);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}()},30:function(t,e){!function(){t.exports=this.wp.hooks}()},35: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}))},375: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(6),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(38);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(30);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";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}},39: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}))},4:function(t,e){!function(){t.exports=this.wp.data}()},6: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)}}});
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=388)}({1:function(t,e){!function(){t.exports=this.wp.i18n}()},108: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}}},109: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("")}},19:function(t,e,n){"use strict";var r=n(32);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(37);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}()},30:function(t,e){!function(){t.exports=this.wp.hooks}()},32: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}))},37: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}))},388: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(19),u=n(6),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(79),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(30);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)}))},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}()},6: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}))},79:function(t,e,n){var r=n(108),o=n(109);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' => '61c1dd29ea09ae129423d3abff21d328');
1
+ <?php return array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'db62c262626c635e65e7fd36782caf1f');
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=373)}({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(39);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}()},27:function(e,t){!function(){e.exports=this.wp.url}()},373:function(e,t,r){"use strict";r.r(t);var n=r(6),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(27);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},39: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}))},6: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;
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=385)}({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(37);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}()},27:function(e,t){!function(){e.exports=this.wp.url}()},37: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}))},385:function(e,t,r){"use strict";r.r(t);var n=r(6),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(44),h=r(27);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},44: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}))},6: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' => '32640053e4f2c85fdcd34c78d0ddee86');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e155d06afce2cfdb798f2a6029af2a1e');
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=252)}({19:function(e,r,n){"use strict";var t=n(32);var p=n(33);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}))},252: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):""}},32:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},33: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=253)}({18:function(e,r,n){"use strict";var t=n(33);var p=n(34);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}))},253: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(18),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):""}},33:function(e,r,n){"use strict";function t(e){if(Array.isArray(e))return e}n.d(r,"a",(function(){return t}))},34: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' => '03dd3b2e67135ef7d690da2a9bb638f8');
1
+ <?php return array('dependencies' => array('wp-polyfill'), 'version' => 'e38a5045702b58d3c22eab8bad2f0478');
build/blob/index.js CHANGED
@@ -1 +1 @@
1
- this.wp=this.wp||{},this.wp.blob=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=253)}({253:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
1
+ this.wp=this.wp||{},this.wp.blob=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=254)}({254:function(e,t,n){"use strict";n.r(t),n.d(t,"createBlobURL",(function(){return f})),n.d(t,"getBlobByURL",(function(){return c})),n.d(t,"revokeBlobURL",(function(){return l})),n.d(t,"isBlobURL",(function(){return d}));var r=window.URL,o=r.createObjectURL,u=r.revokeObjectURL,i={};function f(e){var t=o(e);return i[t]=e,t}function c(e){return i[e]}function l(e){i[e]&&u(e),delete i[e]}function d(e){return!(!e||!e.indexOf)&&0===e.indexOf("blob:")}}});
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', 'wp-primitives'), 'version' => 'a8910d23bccabd0c450ac31c59aa0e85');
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', 'wp-primitives'), 'version' => '90b0d0473a24f45eb2dc1ad281a4abc4');
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=367)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},10:function(e,t){!function(){e.exports=this.wp.blocks}()},18:function(e,t,n){"use strict";var r=n(35);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(32);var o=n(33);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}()},254:function(e,t,n){"use strict";var r=n(0),o=n(9),c=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.a=c},3:function(e,t){!function(){e.exports=this.wp.components}()},32:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},33: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}))},35: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}))},367: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 D})),n.d(o,"receiveDownloadableBlocks",(function(){return C})),n.d(o,"setInstallBlocksPermission",(function(){return L})),n.d(o,"downloadBlock",(function(){return T})),n.d(o,"installBlock",(function(){return I})),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(6);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(10),j=n(2),y=n(40),h=n.n(y);function v(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 _=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()}}),_)}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?v(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(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(T),N=O.a.mark(I),P=O.a.mark(A);function D(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function C(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function L(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function T(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 I(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()}}),P,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 H={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,L(!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,L(!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,L(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},K=(Object(c.registerStore)("core/block-directory",H),n(0)),V=n(53),F=n(19),q=n(5),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(K.createElement)("div",{"aria-label":Object(z.sprintf)(Object(z.__)("%s out of 5 stars"),n)},Object(j.times)(r,(function(e){return Object(K.createElement)(U.Icon,{key:"full_stars_".concat(e),icon:"star-filled",size:16})})),Object(j.times)(o,(function(e){return Object(K.createElement)(U.Icon,{key:"half_stars_".concat(e),icon:"star-half",size:16})})),Object(j.times)(c,(function(e){return Object(K.createElement)(U.Icon,{key:"empty_stars_".concat(e),icon:"star-empty",size:16})})))},$=function(e){var t=e.rating,n=e.ratingCount;return Object(K.createElement)("div",{className:"block-directory-block-ratings"},Object(K.createElement)(Y,{rating:t}),Object(K.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(K.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/)?Object(K.createElement)("img",{src:t,alt:Object(z.sprintf)(Object(z.__)("%s block icon"),n)}):Object(K.createElement)("span",null,Object(K.createElement)(q.BlockIcon,{icon:t,showColors:!0})),Object(K.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(K.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(K.createElement)($,{rating:r,ratingCount:o})),Object(K.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(K.createElement)(K.Fragment,null,Object(K.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(z.sprintf)(Object(z.__)("Authored by %s"),t)),Object(K.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)))},Q=n(254);var X=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(K.createElement)(K.Fragment,null,Object(K.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(K.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(K.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(K.createElement)(U.Icon,{icon:"chart-line"}),Object(z.sprintf)(Object(z._n)("%d active installation","%d active installations",n),n)),Object(K.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(K.createElement)(U.Icon,{icon:Q.a}),Object(z.sprintf)(Object(z.__)("Updated %s"),r))))};var Z=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(K.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(K.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(K.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(K.createElement)(G,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(K.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(K.createElement)(X,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(K.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(K.createElement)(J,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var ee=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(K.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(K.createElement)(Z,{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 te=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(K.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(K.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(K.createElement)(K.Fragment,null,Object(K.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(K.createElement)(ee,{items:t,onSelect:n,onHover:r}))):Object(K.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(K.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(z.__)("No blocks found in your library."),Object(K.createElement)("br",null),Object(z.__)("Please contact your site administrator to install new blocks.")))}));var ne=function(){var e=Object(K.useState)(""),t=Object(F.a)(e,2),n=t[0],r=t[1],o=Object(j.debounce)(r,400);return Object(K.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(K.createElement)(te,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(V.registerPlugin)("block-directory",{render:function(){return Object(K.createElement)(ne,null)}})},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.apiFetch}()},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},53:function(e,t){!function(){e.exports=this.wp.plugins}()},6: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}))},8:function(e,t){!function(){e.exports=this.wp.compose}()},9:function(e,t){!function(){e.exports=this.wp.primitives}()}});
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=378)}({0:function(e,t){!function(){e.exports=this.wp.element}()},1:function(e,t){!function(){e.exports=this.wp.i18n}()},11:function(e,t){!function(){e.exports=this.wp.blocks}()},110:function(e,t,n){"use strict";var r=n(6),o=n(20),c=n(0);function a(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,l=void 0===n?24:n,i=Object(o.a)(e,["icon","size"]);return Object(c.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:l,height:l},i))}},18:function(e,t,n){"use strict";var r=n(33);var o=n(34);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}))},19: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}))},2:function(e,t){!function(){e.exports=this.lodash}()},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(37);function o(e,t){if(null==e)return{};var n,o,c=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}},23:function(e,t){!function(){e.exports=this.regeneratorRuntime}()},255:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M10 1l3 6 6 .75-4.12 4.62L16 19l-6-3-6 3 1.13-6.63L1 7.75 7 7z"}));t.a=c},256:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88l-4.68 2.34.87-5.15-3.18-3.56 4.65-.58z"}));t.a=c},257:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M10.2 3.28c3.53 0 6.43 2.61 6.92 6h2.08l-3.5 4-3.5-4h2.32c-.45-1.97-2.21-3.45-4.32-3.45-1.45 0-2.73.71-3.54 1.78L4.95 5.66C6.23 4.2 8.11 3.28 10.2 3.28zm-.4 13.44c-3.52 0-6.43-2.61-6.92-6H.8l3.5-4c1.17 1.33 2.33 2.67 3.5 4H5.48c.45 1.97 2.21 3.45 4.32 3.45 1.45 0 2.73-.71 3.54-1.78l1.71 1.95c-1.28 1.46-3.15 2.38-5.25 2.38z"}));t.a=c},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}))},33:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},34: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";function r(e,t){if(null==e)return{};var n,r,o={},c=Object.keys(e);for(r=0;r<c.length;r++)n=c[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},378: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 D})),n.d(o,"receiveDownloadableBlocks",(function(){return N})),n.d(o,"setInstallBlocksPermission",(function(){return C})),n.d(o,"downloadBlock",(function(){return T})),n.d(o,"installBlock",(function(){return A})),n.d(o,"uninstallBlock",(function(){return I})),n.d(o,"addInstalledBlockType",(function(){return M})),n.d(o,"removeInstalledBlockType",(function(){return R}));var c=n(4),a=n(19),l=n(6);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 O=n(23),m=n.n(O),j=n(11),k=n(2),y=n(40),h=n.n(y);function v(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 w=m.a.mark(B);function g(e){return{type:"API_FETCH",request:e}}var _=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 m.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()}}),w)}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?v(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(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(k.forEach)(t,(function(t){null!==t.match(/\.js$/)?(r++,_(t,(function(){if(0===--r)return e(r)}),n)):E(t)}))}else _(t.editor_script,(function(){return e(0)}),n),E(t.style)}))}},S=m.a.mark(T),P=m.a.mark(A),L=m.a.mark(I);function D(){return{type:"FETCH_DOWNLOADABLE_BLOCKS"}}function N(e,t){return{type:"RECEIVE_DOWNLOADABLE_BLOCKS",downloadableBlocks:e,filterValue:t}}function C(e){return{type:"SET_INSTALL_BLOCKS_PERMISSION",hasPermission:e}}function T(e,t,n){return m.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(j.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 A(e,t,n){var r,o,c;return m.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,g({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,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()}}),P,null,[[1,12]])}function I(e,t,n){var r,o,c;return m.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,g({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,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()}}),L,null,[[1,12]])}function M(e){return{type:"ADD_INSTALLED_BLOCK_TYPE",item:e}}function R(e){return{type:"REMOVE_INSTALLED_BLOCK_TYPE",item:e}}var z={reducer:u,selectors:r,actions:o,controls:x,resolvers:{getDownloadableBlocks:m.a.mark((function e(t){var n,r;return m.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,g({path:"__experimental/block-directory/search?term=".concat(t)});case 7:return n=e.sent,r=n.map((function(e){return Object(k.mapKeys)(e,(function(e,t){return Object(k.camelCase)(t)}))})),e.next=11,N(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,C(!1);case 18:case"end":return e.stop()}}),e,null,[[2,13]])})),hasInstallBlocksPermission:m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g({path:"__experimental/block-directory/search?term="});case 3:return e.next=5,C(!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,C(!1);case 12:case"end":return e.stop()}}),e,null,[[0,7]])}))}},V=(Object(c.registerStore)("core/block-directory",z),n(0)),H=n(54),K=n(18),F=n(5),q=n(9),W=n(1),G=n(3),U=n(110),Y=n(255),$=n(7),J=Object(V.createElement)($.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(V.createElement)($.Path,{d:"M10 1L7 7l-6 .75 4.13 4.62L4 19l6-3 6 3-1.12-6.63L19 7.75 13 7zm0 2.24l2.34 4.69 4.65.58-3.18 3.56.87 5.15L10 14.88V3.24z"})),Q=n(256);var X=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(V.createElement)("div",{"aria-label":Object(W.sprintf)(Object(W.__)("%s out of 5 stars"),n)},Object(k.times)(r,(function(e){return Object(V.createElement)(U.a,{key:"full_stars_".concat(e),icon:Y.a,size:16})})),Object(k.times)(o,(function(e){return Object(V.createElement)(U.a,{key:"half_stars_".concat(e),icon:J,size:16})})),Object(k.times)(c,(function(e){return Object(V.createElement)(U.a,{key:"empty_stars_".concat(e),icon:Q.a,size:16})})))},Z=function(e){var t=e.rating,n=e.ratingCount;return Object(V.createElement)("div",{className:"block-directory-block-ratings"},Object(V.createElement)(X,{rating:t}),Object(V.createElement)("span",{className:"block-directory-block-ratings__rating-count","aria-label":Object(W.sprintf)(Object(W._n)("%d total rating","%d total ratings",n),n)},"(",n,")"))};var ee=function(e){var t=e.icon,n=e.title,r=e.rating,o=e.ratingCount,c=e.onClick;return Object(V.createElement)("div",{className:"block-directory-downloadable-block-header__row"},null!==t.match(/\.(jpeg|jpg|gif|png)(?:\?.*)?$/)?Object(V.createElement)("img",{src:t,alt:Object(W.sprintf)(Object(W.__)("%s block icon"),n)}):Object(V.createElement)("span",null,Object(V.createElement)(F.BlockIcon,{icon:t,showColors:!0})),Object(V.createElement)("div",{className:"block-directory-downloadable-block-header__column"},Object(V.createElement)("span",{role:"heading",className:"block-directory-downloadable-block-header__title"},n),Object(V.createElement)(Z,{rating:r,ratingCount:o})),Object(V.createElement)(G.Button,{isDefault:!0,onClick:function(e){e.preventDefault(),c()}},Object(W.__)("Add block")))};var te=function(e){var t=e.author,n=e.authorBlockCount,r=e.authorBlockRating;return Object(V.createElement)(V.Fragment,null,Object(V.createElement)("span",{className:"block-directory-downloadable-block-author-info__content-author"},Object(W.sprintf)(Object(W.__)("Authored by %s"),t)),Object(V.createElement)("span",{className:"block-directory-downloadable-block-author-info__content"},Object(W.sprintf)(Object(W._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)))},ne=Object(V.createElement)($.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(V.createElement)($.Path,{d:"M18 3.5c0 .62-.38 1.16-.92 1.38v13.11H1.99l4.22-6.73c-.13-.23-.21-.48-.21-.76C6 9.67 6.67 9 7.5 9S9 9.67 9 10.5c0 .13-.02.25-.05.37l1.44.63c.27-.3.67-.5 1.11-.5.18 0 .35.04.51.09l3.58-6.41c-.36-.27-.59-.7-.59-1.18 0-.83.67-1.5 1.5-1.5.19 0 .36.04.53.1l.05-.09v.11c.54.22.92.76.92 1.38zm-1.92 13.49V5.85l-3.29 5.89c.13.23.21.48.21.76 0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5l.01-.07-1.63-.72c-.25.18-.55.29-.88.29-.18 0-.35-.04-.51-.1l-3.2 5.09h12.29z"})),re=n(257);var oe=function(e){var t=e.description,n=e.activeInstalls,r=e.humanizedUpdated;return Object(V.createElement)(V.Fragment,null,Object(V.createElement)("p",{className:"block-directory-downloadable-block-info__content"},t),Object(V.createElement)("div",{className:"block-directory-downloadable-block-info__row"},Object(V.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(V.createElement)(U.a,{icon:ne}),Object(W.sprintf)(Object(W._n)("%d active installation","%d active installations",n),n)),Object(V.createElement)("div",{className:"block-directory-downloadable-block-info__column"},Object(V.createElement)(U.a,{icon:re.a}),Object(W.sprintf)(Object(W.__)("Updated %s"),r))))};var ce=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(V.createElement)("li",{className:"block-directory-downloadable-block-list-item"},Object(V.createElement)("article",{className:"block-directory-downloadable-block-list-item__panel"},Object(V.createElement)("header",{className:"block-directory-downloadable-block-list-item__header"},Object(V.createElement)(ee,{icon:r,onClick:n,title:o,rating:a,ratingCount:i})),Object(V.createElement)("section",{className:"block-directory-downloadable-block-list-item__body"},Object(V.createElement)(oe,{activeInstalls:l,description:c,humanizedUpdated:u})),Object(V.createElement)("footer",{className:"block-directory-downloadable-block-list-item__footer"},Object(V.createElement)(te,{author:s,authorBlockCount:b,authorBlockRating:d}))))};var ae=Object(q.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,k.noop,(function n(){a(Object(W.__)("Block previews can't install."),{id:"block-install-error",actions:[{label:Object(W.__)("Retry"),onClick:function(){l("block-install-error"),r(e,k.noop,n)}},{label:Object(W.__)("Remove"),onClick:function(){l("block-install-error"),i(t.clientId),Object(j.unregisterBlockType)(e.name)}}]})}))};o(e,t,(function n(){a(Object(W.__)("Block previews can’t load."),{id:"block-download-error",actions:[{label:Object(W.__)("Retry"),onClick:function(){l("block-download-error"),o(e,t,n)}}]})}))}}})))((function(e){var t=e.items,n=e.onHover,r=void 0===n?k.noop:n,o=e.children,c=e.downloadAndInstallBlock;return(Object(V.createElement)("ul",{role:"list",className:"block-directory-downloadable-blocks-list"},t&&t.map((function(e){return Object(V.createElement)(ce,{key:e.id,className:Object(j.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 le=Object(q.compose)([G.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(V.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(V.createElement)(G.Spinner,null)):t.length?(l(Object(W.sprintf)(Object(W._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(V.createElement)(V.Fragment,null,Object(V.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description"},Object(W.__)("No blocks found in your library. These blocks can be downloaded and installed:")),Object(V.createElement)(ae,{items:t,onSelect:n,onHover:r}))):Object(V.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(W.__)("No blocks found in your library.")):(l(Object(W.__)("No blocks found in your library. Please contact your site administrator to install new blocks.")),Object(V.createElement)("p",{className:"block-directory-downloadable-blocks-panel__description has-no-results"},Object(W.__)("No blocks found in your library."),Object(V.createElement)("br",null),Object(W.__)("Please contact your site administrator to install new blocks.")))}));var ie=function(){var e=Object(V.useState)(""),t=Object(K.a)(e,2),n=t[0],r=t[1],o=Object(k.debounce)(r,400);return Object(V.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(V.createElement)(le,{onSelect:t,onHover:r,filterValue:n,isWaiting:c!==n}))}))};Object(H.registerPlugin)("block-directory",{render:function(){return Object(V.createElement)(ie,null)}})},4:function(e,t){!function(){e.exports=this.wp.data}()},40:function(e,t){!function(){e.exports=this.wp.apiFetch}()},5:function(e,t){!function(){e.exports=this.wp.blockEditor}()},54:function(e,t){!function(){e.exports=this.wp.plugins}()},6: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}))},7:function(e,t){!function(){e.exports=this.wp.primitives}()},9:function(e,t){!function(){e.exports=this.wp.compose}()}});
build/block-directory/style-rtl.css CHANGED
@@ -1 +1 @@
1
- .block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}
1
+ .block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-right:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-right:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-left:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:right;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:right;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}
build/block-directory/style.css CHANGED
@@ -1 +1 @@
1
- .block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .dashicons{font-size:ms(-2);width:1.1em}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings [class*=dashicons-star-]{color:#ffb900}
1
+ .block-directory-downloadable-block-header__row{display:flex;flex-grow:1}.block-directory-downloadable-block-header__row .block-editor-block-icon{width:36px;height:36px;font-size:36px;background-color:#edeff0}.block-directory-downloadable-block-header__row img{width:36px;height:36px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column{display:flex;flex-direction:column;flex-grow:1}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-downloadable-block-header__title{font-weight:600;margin-left:12px}.block-directory-downloadable-block-header__row .block-directory-downloadable-block-header__column .block-directory-block-ratings{margin-left:12px}.block-directory-downloadable-block-info__content{font-size:13px}.block-directory-downloadable-block-info__row{display:flex;justify-content:space-between;color:#606a73;margin-top:8px;font-size:12px}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column{display:flex;align-items:center}.block-directory-downloadable-block-info__row .block-directory-downloadable-block-info__column .dashicon{font-size:16px;margin-right:4px}.block-directory-downloadable-block-author-info__content{color:#606a73;margin-bottom:4px}.block-directory-downloadable-block-author-info__content-author{margin-bottom:4px;font-size:14px}.block-directory-downloadable-block-list-item{width:100%;padding:0;margin:0 0 12px;display:flex;flex-direction:row;font-size:13px;color:#32373c;align-items:flex-start;justify-content:center;background:transparent;word-break:break-word;border-radius:4px;border:1px solid #e2e4e7;transition:all .05s ease-in-out;position:relative;text-align:left;overflow:hidden}@media (prefers-reduced-motion:reduce){.block-directory-downloadable-block-list-item{transition-duration:0s}}.block-directory-downloadable-block-list-item__panel{display:flex;flex-grow:1;flex-direction:column}.block-directory-downloadable-block-list-item__header{display:flex;flex-direction:column;padding:12px 12px 0}.block-directory-downloadable-block-list-item__body{display:flex;flex-direction:column;padding:12px}.block-directory-downloadable-block-list-item__footer{display:flex;flex-direction:column;padding:12px;background-color:#f3f4f5}.block-directory-downloadable-block-list-item__content{color:#606a73}.block-directory-downloadable-blocks-list{list-style:none;padding:2px 0;overflow:hidden;display:flex;flex-wrap:wrap}.block-directory-downloadable-blocks-panel__description{font-style:italic;padding:0;margin-top:0;text-align:left;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results{font-style:normal;padding:0;margin-top:100px;text-align:center;color:#606a73}.block-directory-downloadable-blocks-panel__description.has-no-results .components-spinner{float:inherit}.block-directory-block-ratings{display:flex}.block-directory-block-ratings>div{line-height:1;display:flex}.block-directory-block-ratings .block-directory-block-ratings__rating-count{color:#606a73;font-size:ms(-2)}.block-directory-block-ratings svg{fill:#ffb900}
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-primitives', 'wp-rich-text', 'wp-token-list', 'wp-url', 'wp-viewport', 'wp-wordcount'), 'version' => '0b142f9d4e15a158117d9ebc862e05c2');
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' => '241345a79547bcd17b5c2c78b839ed72');
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=359)}([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.primitives}()},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,n){"use strict";var r=n(35);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(32);var o=n(33);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(39);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(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){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";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,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){!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.a11y}()},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},,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 E(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 w(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 C(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(E,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(w,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(143);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(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),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 _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},S=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function w(e){_=e}var C,I=function(){return Date.now()};function x(e){C=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 E},get cancelFrame(){return S},injectFrame:function(e,t){E=e,S=t},get interpolation(){return _},injectStringInterpolator:w,get now(){return I},injectNow:function(e){I=e},get defaultElement(){return C},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,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||(D.delete(c),c.stop(!0))}return D.size?T?T():E(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,E(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,E=p(s,r);j&&(y=j.animations[r].parent);var S,w=a.parent,C=a.interpolation,x=b(j?y.getPayload():y),B=c;O&&(B=_({range:[0,1],output:[c,c]})(1));var T,P=C&&C.getValue(),N=!u.und(w)&&a.animatedValues.some((function(e){return!e.done})),L=!u.equ(B,P),A=!u.equ(B,a.previous),R=!u.equ(E,a.config);if(m||A&&L||R){var D;if(l||d)w=C=a.parent||new H(k);else if(h)w=C=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?(w=a.parent).setValue(0,!1):w=new H(0);var F={output:[M,c]};a.interpolation?(C=a.interpolation,a.interpolation.updateConfig(F)):C=w.interpolate(F)}return x=b(j?y.getPayload():y),S=b(w.getPayload()),m&&!O&&w.setValue(k,!1),t.hasChanged=!0,S.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)&&w.setValue(O?y:c,!1),o({},e,((D={})[r]=o({},a,{name:r,parent:w,interpolation:C,animatedValues:S,toValues:x,previous:B,config:E,fromValues:b(w.getValue()),immediate:p(v,r),initialVelocity:f(E.velocity,0),clamp:f(E.clamp,!1),precision:f(E.precision,.01),tension:f(E.tension,170),friction:f(E.friction,26),mass:f(E.mass,1),duration:E.duration,easing:f(E.easing,(function(e){return e})),decay:E.decay}),D))}return L?e:(O&&(w.setValue(1,!1),C.updateConfig({output:[B,B]})),w.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"),w((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,Ee,Se=(_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===(Ee=!1)&&(Ee=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ee?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),we=Se(["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=Se,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=we,t.a=we,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,E=y.items,S=o({},c.current),w=[].concat(c.deleted),C=Object.keys(S),I=new Set(C),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&&w.find((function(t){return t.originalKey===e}))&&(w=w.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":"enter";S[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=E[t];w.unshift(o({},S[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 S[e]}));break;case"update":P.forEach((function(e){var t=s.indexOf(e),n=l[t];S[e]=o({},S[e],{item:n,slot:"update",trail:N+=g,config:p(O,n,"update"),to:p(h,n)})}))}}var L=s.map((function(e){return S[e]}));return w.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:S,deleted:w,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(141)},,,,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(152),o=n(154);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(155);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 E,S,w=-1,C=0;C<f.length;C++){-1!==(I=O.indexOf(f[C]))&&(-1===w||I<w)&&(w=I)}-1!==(S=-1===w?O.lastIndexOf("@"):O.lastIndexOf("@",w))&&(E=O.slice(0,S),O=O.slice(S+1),this.auth=decodeURIComponent(E)),w=-1;for(C=0;C<d.length;C++){var I;-1!==(I=O.indexOf(d[C]))&&(-1===w||I<w)&&(w=I)}-1===w&&(w=O.length),this.host=O.slice(0,w),O=O.slice(w),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=(C=0,B.length);C<T;C++){var P=B[C];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,C),D=B.slice(C+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(C=0,T=u.length;C<T;C++){var H=u[C];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("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(E&&(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(E)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],w=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,C=0,I=_.length;I>=0;I--)"."===(S=_[I])?_.splice(I,1):".."===S?(_.splice(I,1),C++):C&&(_.splice(I,1),C--);if(!k&&!y)for(;C--;C)_.unshift("..");!k||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),w&&"/"!==_.join("/").substr(-1)&&_.push("");var x,B=""===_[0]||_[0]&&"/"===_[0].charAt(0);E&&(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,n){"use strict";var r=n(0),o=n(9),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.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}));t.a=i},,,,,,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(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,j=void 0,k=void 0,y=void 0,_=void 0,E=void 0,S=void 0;f?(y=t,S=r.height(y),E=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+E)+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},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(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},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(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}},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){"use strict";var r=n(0),o=n(9),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.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z"}));t.a=i},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(153)(e),n(83))},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(156),t.encode=t.stringify=n(157)},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(6),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";var r=n(0),o=n(9),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"}));t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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,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,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 E=a[_],S=E.oldStart+E.offset+y-1;y+=E.newLines-E.oldLines,S<0&&(S=0);for(var w=0;w<E.lines.length;w++){var C=E.lines[w],I=C.length>0?C[0]:" ",x=C.length>0?C.substr(1):C,B=E.linedelimiters[w];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=E.lines[w-1]?E.lines[w-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(9),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(9),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(9),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(9),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(9),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(9),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(9),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(9),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";var r=n(0),o=n(9),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";n.r(t);var r={};n.r(r),n.d(r,"resetBlocks",(function(){return gn})),n.d(r,"resetSelection",(function(){return vn})),n.d(r,"receiveBlocks",(function(){return On})),n.d(r,"updateBlockAttributes",(function(){return jn})),n.d(r,"updateBlock",(function(){return kn})),n.d(r,"selectBlock",(function(){return yn})),n.d(r,"selectPreviousBlock",(function(){return _n})),n.d(r,"selectNextBlock",(function(){return En})),n.d(r,"startMultiSelect",(function(){return Sn})),n.d(r,"stopMultiSelect",(function(){return wn})),n.d(r,"multiSelect",(function(){return Cn})),n.d(r,"clearSelectedBlock",(function(){return In})),n.d(r,"toggleSelection",(function(){return xn})),n.d(r,"replaceBlocks",(function(){return Tn})),n.d(r,"replaceBlock",(function(){return Pn})),n.d(r,"moveBlocksDown",(function(){return Ln})),n.d(r,"moveBlocksUp",(function(){return An})),n.d(r,"moveBlockToPosition",(function(){return Rn})),n.d(r,"insertBlock",(function(){return Dn})),n.d(r,"insertBlocks",(function(){return Mn})),n.d(r,"showInsertionPoint",(function(){return Fn})),n.d(r,"hideInsertionPoint",(function(){return Vn})),n.d(r,"setTemplateValidity",(function(){return Hn})),n.d(r,"synchronizeTemplate",(function(){return Un})),n.d(r,"mergeBlocks",(function(){return zn})),n.d(r,"removeBlocks",(function(){return Gn})),n.d(r,"removeBlock",(function(){return Kn})),n.d(r,"replaceInnerBlocks",(function(){return Wn})),n.d(r,"toggleBlockMode",(function(){return qn})),n.d(r,"startTyping",(function(){return $n})),n.d(r,"stopTyping",(function(){return Yn})),n.d(r,"startDraggingBlocks",(function(){return Xn})),n.d(r,"stopDraggingBlocks",(function(){return Zn})),n.d(r,"enterFormattedText",(function(){return Jn})),n.d(r,"exitFormattedText",(function(){return Qn})),n.d(r,"selectionChange",(function(){return er})),n.d(r,"insertDefaultBlock",(function(){return tr})),n.d(r,"updateBlockListSettings",(function(){return nr})),n.d(r,"updateSettings",(function(){return rr})),n.d(r,"__unstableSaveReusableBlock",(function(){return or})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return ir})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return cr})),n.d(r,"__unstableMarkAutomaticChange",(function(){return ar})),n.d(r,"setNavigationMode",(function(){return lr})),n.d(r,"duplicateBlocks",(function(){return sr})),n.d(r,"insertBeforeBlock",(function(){return ur})),n.d(r,"insertAfterBlock",(function(){return dr}));var o={};n.r(o),n.d(o,"INSERTER_UTILITY_HIGH",(function(){return hr})),n.d(o,"INSERTER_UTILITY_MEDIUM",(function(){return mr})),n.d(o,"INSERTER_UTILITY_LOW",(function(){return gr})),n.d(o,"INSERTER_UTILITY_NONE",(function(){return vr})),n.d(o,"getBlockName",(function(){return kr})),n.d(o,"isBlockValid",(function(){return yr})),n.d(o,"getBlockAttributes",(function(){return _r})),n.d(o,"getBlock",(function(){return Er})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Sr})),n.d(o,"getBlocks",(function(){return wr})),n.d(o,"getClientIdsOfDescendants",(function(){return Cr})),n.d(o,"getClientIdsWithDescendants",(function(){return Ir})),n.d(o,"getGlobalBlockCount",(function(){return xr})),n.d(o,"getBlocksByClientId",(function(){return Br})),n.d(o,"getBlockCount",(function(){return Tr})),n.d(o,"getSelectionStart",(function(){return Pr})),n.d(o,"getSelectionEnd",(function(){return Nr})),n.d(o,"getBlockSelectionStart",(function(){return Lr})),n.d(o,"getBlockSelectionEnd",(function(){return Ar})),n.d(o,"getSelectedBlockCount",(function(){return Rr})),n.d(o,"hasSelectedBlock",(function(){return Dr})),n.d(o,"getSelectedBlockClientId",(function(){return Mr})),n.d(o,"getSelectedBlock",(function(){return Fr})),n.d(o,"getBlockRootClientId",(function(){return Vr})),n.d(o,"getBlockParents",(function(){return Hr})),n.d(o,"getBlockParentsByBlockName",(function(){return Ur})),n.d(o,"getBlockHierarchyRootClientId",(function(){return zr})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Gr})),n.d(o,"getAdjacentBlockClientId",(function(){return Kr})),n.d(o,"getPreviousBlockClientId",(function(){return Wr})),n.d(o,"getNextBlockClientId",(function(){return qr})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return $r})),n.d(o,"getSelectedBlockClientIds",(function(){return Yr})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return Xr})),n.d(o,"getMultiSelectedBlocks",(function(){return Zr})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return Jr})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return Qr})),n.d(o,"isFirstMultiSelectedBlock",(function(){return eo})),n.d(o,"isBlockMultiSelected",(function(){return to})),n.d(o,"isAncestorMultiSelected",(function(){return no})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return ro})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return oo})),n.d(o,"getBlockOrder",(function(){return io})),n.d(o,"getBlockIndex",(function(){return co})),n.d(o,"isBlockSelected",(function(){return ao})),n.d(o,"hasSelectedInnerBlock",(function(){return lo})),n.d(o,"isBlockWithinSelection",(function(){return so})),n.d(o,"hasMultiSelection",(function(){return uo})),n.d(o,"isMultiSelecting",(function(){return fo})),n.d(o,"isSelectionEnabled",(function(){return bo})),n.d(o,"getBlockMode",(function(){return po})),n.d(o,"isTyping",(function(){return ho})),n.d(o,"isDraggingBlocks",(function(){return mo})),n.d(o,"isCaretWithinFormattedText",(function(){return go})),n.d(o,"getBlockInsertionPoint",(function(){return vo})),n.d(o,"isBlockInsertionPointVisible",(function(){return Oo})),n.d(o,"isValidTemplate",(function(){return jo})),n.d(o,"getTemplate",(function(){return ko})),n.d(o,"getTemplateLock",(function(){return yo})),n.d(o,"canInsertBlockType",(function(){return Eo})),n.d(o,"getInserterItems",(function(){return Co})),n.d(o,"hasInserterItems",(function(){return Io})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return xo})),n.d(o,"getBlockListSettings",(function(){return Bo})),n.d(o,"getSettings",(function(){return To})),n.d(o,"isLastBlockChangePersistent",(function(){return Po})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return No})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return Lo})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return Ao})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return Ro})),n.d(o,"isNavigationMode",(function(){return Mo})),n.d(o,"didAutomaticChange",(function(){return Fo}));var i=n(10),c=n(24),a=n(55),l=n(48),s=n(6),u=n(12),d=n(0),f=n(11),b=n.n(f),p=n(2),h=n(8),m=n(30),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(14),E=n(13),S=n(15),w=n(16),C=n(7),I=n(17);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(S.a)(this,Object(w.a)(r).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(C.a)(t))},t.state={},t}return Object(I.a)(r,t),Object(E.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(S.a)(this,Object(w.a)(t).apply(this,arguments))).propsToContext=H()(e.propsToContext.bind(Object(C.a)(e)),{maxSize:1}),e}return Object(I.a)(t,e),Object(E.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)("div",{className:"block-editor-color-gradient-control__color-indicator"},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,{isSmall:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return j("color")}},Object(U.__)("Solid")),Object(d.createElement)(z.Button,{isSmall:!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(49);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,{spokenMessage:null,status:"warning",isDismissible:!1},i))}var Ee=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})},Se=Object(z.createSlotFill)("InspectorControls"),we=Se.Fill,Ce=Se.Slot,Ie=X(we);Ie.Slot=Ce;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={textColor:Object(U.__)("Text Color"),backgroundColor:Object(U.__)("Background Color")},De=function(e,t,n){return"function"==typeof e?e(t):!0===e?n:e},Me=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=De(t,n,i),r=De(r,n,c),Object(d.createElement)(Ee,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=De(r||t,n,i),a=De(a||t,n,c),Object(d.createElement)(Ee,Object(u.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},Fe=function(e){return Object(d.createElement)(xe,null,Object(d.createElement)(Me,e))};function Ve(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,E=Object(g.useDispatch)("core/block-editor"),S=E.updateBlockAttributes,w=Object(d.useCallback)((function(e){return S(j,e)}),[S,j]),C=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}));w(Object(s.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),w(Object(s.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[w,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?n.label||Re[o]||Object(p.startCase)(o):l,u=r.componentName,d=void 0===u?Object(p.startCase)(o).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]=C(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)(Me,a),InspectorControlsColorPanel:Object(d.createElement)(Fe,a)})}),[y,w,A,T].concat(Object(D.a)(v)))}var He=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function Ue(e){if(e)return"has-".concat(Object(p.kebabCase)(e),"-font-size")}var ze=Object(g.withSelect)((function(e){var t=e("core/block-editor").getSettings();return{disableCustomFontSizes:t.disableCustomFontSizes,fontSizes:t.fontSizes}}))(z.FontSizePicker);function Ge(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 Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var We=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(w.a)(n).call(this,e))).setters=t.createSetters(),t.state={},t}return Object(I.a)(n,t),Object(E.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,Ke({},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=He(o,i,n[t]);return e[r]=Ke({},c,{class:Ue(i)}),e}),{});return Ke({},t,{},c)}}]),n}(d.Component)}]),"withFontSizes")},qe=n(255),$e=n(256),Ye=n(257);function Xe(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 Ze=[{icon:qe.a,title:Object(U.__)("Align text left"),align:"left"},{icon:$e.a,title:Object(U.__)("Align text center"),align:"center"},{icon:Ye.a,title:Object(U.__)("Align text right"),align:"right"}];var Je=function(e){var t=e.value,n=e.onChange,r=e.alignmentControls,o=void 0===r?Ze: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?Xe(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(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 Qe=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),et=n(9),tt=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z"})),nt=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z"})),rt=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z"})),ot=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z"})),it=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M17 13V3H3v10h14zM5 17h10v-2H5v2z"}));function ct(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 at={left:{icon:tt,title:Object(U.__)("Align left")},center:{icon:nt,title:Object(U.__)("Align center")},right:{icon:rt,title:Object(U.__)("Align right")},wide:{icon:ot,title:Object(U.__)("Wide width")},full:{icon:it,title:Object(U.__)("Full width")}},lt=["left","center","right","wide","full"],st=["wide","full"];var ut=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?lt:r,i=e.isCollapsed,c=void 0===i||i,a=e.wideControlsEnabled,l=void 0!==a&&a?o:o.filter((function(e){return-1===st.indexOf(e)})),u=at[t],f=at.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?ct(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},at[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})}));var dt=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})),ft=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)(dt,{clientId:e})))})),!!o&&Object(d.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(d.createElement)(dt,{clientId:o})))},bt=Object(z.createSlotFill)("BlockControls"),pt=bt.Fill,ht=bt.Slot,mt=X((function(e){var t=e.controls,n=e.children;return Object(d.createElement)(pt,null,Object(d.createElement)(z.Toolbar,{controls:t}),n)}));mt.Slot=ht;var gt=mt,vt=Object(z.createSlotFill)("BlockFormatControls"),Ot=vt.Fill,jt=vt.Slot,kt=X(Ot);kt.Slot=jt;var yt=kt;function _t(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 Et=n(178),St=n(259),wt=n(79),Ct=n.n(wt),It=n(21),xt=n(27),Bt={insertUsage:{}},Tt={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",name:Object(U.__)("Thumbnail")},{slug:"medium",name:Object(U.__)("Medium")},{slug:"large",name:Object(U.__)("Large")},{slug:"full",name: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 Pt(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 Nt(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),Pt(o,e.slice(t,t+r),n)}function Lt(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 At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rt(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,Rt(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(s.a)({},n.clientId,t),Dt(n.innerBlocks,n.clientId))}),{})}function Mt(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 Ft(e){return Mt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function Vt(e){return Mt(e,(function(e){return e.attributes}))}function Ht(e,t){return e===t?At({},e):t}function Ut(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 zt=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var Gt=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=At({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?At({},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)(Mt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Mt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=At({},r.cache,{},zt(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=At({},r.cache,{},zt(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=zt(o(n.replacedClientIds));r.cache=At({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(c,n.replacedClientIds),{},zt(Object(p.keys)(Mt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=At({},Object(p.omit)(r.cache,n.removedClientIds),{},zt(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=At({},r.cache,{},zt(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=At({},r.cache,{},zt(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=At({},r.cache,{},zt(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=At({},n,{type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:r(n.clientIds)});break;case"REPLACE_BLOCKS":n=At({},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,At({},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 At({},t,{byClientId:At({},Object(p.omit)(t.byClientId,r),{},Ft(n.blocks)),attributes:At({},Object(p.omit)(t.attributes,r),{},Vt(n.blocks)),order:At({},Object(p.omit)(t.order,r),{},Rt(n.blocks)),parents:At({},Object(p.omit)(t.parents,r),{},Dt(n.blocks)),cache:At({},Object(p.omit)(t.cache,r),{},Object(p.mapValues)(Mt(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:At({},i,{isPersistentChange:a})}return i=At({},i,{isPersistentChange:c?!n:!Ut(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 Ft(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return At({},e,{},Ft(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:At({},e,Object(s.a)({},t.clientId,At({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?At({},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},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 Vt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return At({},e,{},Vt(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?At({},e,Object(s.a)({},t.clientId,At({},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:At({},e,Object(s.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?At({},Object(p.omit)(e,t.replacedClientIds),{},Vt(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 Rt(t.blocks);case"RECEIVE_BLOCKS":return At({},e,{},Object(p.omit)(Rt(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Rt(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return At({},e,{},i,Object(s.a)({},r,Pt(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 At({},e,Object(s.a)({},b,Nt(e[b],O,g)))}return At({},e,(l={},Object(s.a)(l,d,Object(p.without)(e[d],h)),Object(s.a)(l,b,Pt(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),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var S=E.indexOf(_);return At({},e,Object(s.a)({},y,Nt(E,S,S-1,j.length)));case"MOVE_BLOCKS_DOWN":var w=t.clientIds,C=t.rootClientId,I=void 0===C?"":C,x=Object(p.first)(w),B=Object(p.last)(w),T=e[I];if(!T.length||B===Object(p.last)(T))return e;var P=T.indexOf(x);return At({},e,Object(s.a)({},I,Nt(T,P,P+1,w.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var L=Rt(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return At({},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 Dt(t.blocks);case"RECEIVE_BLOCKS":return At({},e,{},Dt(t.blocks));case"INSERT_BLOCKS":return At({},e,{},Dt(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return At({},e,Object(s.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return At({},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 Kt(){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 Wt=Object(g.combineReducers)({blocks:Gt,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 Kt(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 Kt(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 At({},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:At({},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 At({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Tt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return At({},e,{},t.settings)}return e},preferences: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"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),At({},e,{insertUsage:At({},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}}}),qt=n(85),$t=n.n(qt),Yt=n(233),Xt=n.n(Yt),Zt=n(31),Jt=n(23),Qt=n.n(Jt);function en(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 tn={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 nn(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 rn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var on=Qt.a.mark(mn),cn=Qt.a.mark(_n),an=Qt.a.mark(En),ln=Qt.a.mark(Tn),sn=Qt.a.mark(Rn),un=Qt.a.mark(Mn),dn=Qt.a.mark(Gn),fn=Qt.a.mark(lr),bn=Qt.a.mark(sr),pn=Qt.a.mark(ur),hn=Qt.a.mark(dr);function mn(){return Qt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,en("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,tr();case 6:case"end":return e.stop()}}),on)}function gn(e){return{type:"RESET_BLOCKS",blocks:e}}function vn(e,t){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t}}function On(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function jn(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function kn(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function yn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function _n(e){var t;return Qt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,en("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,yn(t,-1);case 6:case"end":return n.stop()}}),cn)}function En(e){var t;return Qt.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,en("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,yn(t);case 6:case"end":return n.stop()}}),an)}function Sn(){return{type:"START_MULTI_SELECT"}}function wn(){return{type:"STOP_MULTI_SELECT"}}function Cn(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function In(){return{type:"CLEAR_SELECTED_BLOCK"}}function xn(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Bn(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 rn({},e,{attributes:rn({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Tn(e,t,n){var r,o,i;return Qt.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=Bn,c.t1=Object(p.castArray)(t),c.next=5,en("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,en("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,en("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(mn(),"t3",24);case 24:case"end":return c.stop()}}),ln)}function Pn(e,t){return Tn(e,t)}function Nn(e){return function(t,n){return{clientIds:Object(p.castArray)(t),type:e,rootClientId:n}}}var Ln=Nn("MOVE_BLOCKS_DOWN"),An=Nn("MOVE_BLOCKS_UP");function Rn(e){var t,n,r,o,i,c,a=arguments;return Qt.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,en("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,en("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,en("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()}}),sn)}function Dn(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Mn([e],t,n,r)}function Mn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return Qt.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=Bn,f.t1=Object(p.castArray)(e),f.next=5,en("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,en("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()}}),un,null,[[11,24,28,36],[29,,31,35]])}function Fn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function Vn(){return{type:"HIDE_INSERTION_POINT"}}function Hn(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Un(){return{type:"SYNCHRONIZE_TEMPLATE"}}function zn(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Gn(e){var t,n,r=arguments;return Qt.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,en("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,en("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,_n(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(mn(),"t0",18);case 18:case"end":return o.stop()}}),dn)}function Kn(e,t){return Gn([e],t)}function Wn(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 qn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function $n(){return{type:"START_TYPING"}}function Yn(){return{type:"STOP_TYPING"}}function Xn(){return{type:"START_DRAGGING_BLOCKS"}}function Zn(){return{type:"STOP_DRAGGING_BLOCKS"}}function Jn(){return{type:"ENTER_FORMATTED_TEXT"}}function Qn(){return{type:"EXIT_FORMATTED_TEXT"}}function er(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function tr(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Dn(Object(i.createBlock)(r,e),n,t)}function nr(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function rr(e){return{type:"UPDATE_SETTINGS",settings:e}}function or(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function ir(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function cr(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function ar(){return{type:"MARK_AUTOMATIC_CHANGE"}}function lr(){var e,t=arguments;return Qt.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()}}),fn)}function sr(e){var t,n,r,o,c;return Qt.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,en("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,en("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,en("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,Mn(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()}}),bn)}function ur(e){var t,n;return Qt.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,en("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,en("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,en("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,tr({},t,n);case 15:case"end":return r.stop()}}),pn)}function dr(e){var t,n;return Qt.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,en("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,en("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,en("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,tr({},t,n+1);case 15:case"end":return r.stop()}}),hn)}var fr=n(38);function br(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 pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?br(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var hr=3,mr=2,gr=1,vr=0,Or=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"}))),jr=[];function kr(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function yr(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function _r(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var Er=Object(fr.a)((function(e,t){var n=e.blocks.byClientId[t];return n?pr({},n,{attributes:_r(e,t),innerBlocks:wr(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Sr=Object(fr.a)((function(e,t){var n=e.blocks.byClientId[t];return n?pr({},n,{attributes:_r(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),wr=Object(fr.a)((function(e,t){return Object(p.map)(io(e,t),(function(t){return Er(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=io(t,n);return[].concat(Object(D.a)(r),Object(D.a)(e(t,r)))}))},Ir=Object(fr.a)((function(e){var t=io(e);return[].concat(Object(D.a)(t),Object(D.a)(Cr(e,t)))}),(function(e){return[e.blocks.order]})),xr=Object(fr.a)((function(e,t){var n=Ir(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]})),Br=Object(fr.a)((function(e,t){return Object(p.map)(Object(p.castArray)(t),(function(t){return Er(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function Tr(e,t){return io(e,t).length}function Pr(e){return e.selectionStart}function Nr(e){return e.selectionEnd}function Lr(e){return e.selectionStart.clientId}function Ar(e){return e.selectionEnd.clientId}function Rr(e){var t=Xr(e).length;return t||(e.selectionStart.clientId?1:0)}function Dr(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function Mr(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function Fr(e){var t=Mr(e);return t?Er(e,t):null}function Vr(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Hr=Object(fr.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]})),Ur=Object(fr.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Hr(e,t,r);return Object(p.map)(Object(p.filter)(Object(p.map)(o,(function(t){return{id:t,name:kr(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function zr(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Gr(e,t){for(var n,r=Mr(e),o=[].concat(Object(D.a)(Hr(e,t)),[t]),i=[].concat(Object(D.a)(Hr(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 Kr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Mr(e)),void 0===t&&(t=n<0?Jr(e):Qr(e)),!t)return null;var r=Vr(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 Wr(e,t){return Kr(e,t,-1)}function qr(e,t){return Kr(e,t,1)}function $r(e){return e.initialPosition}var Yr=Object(fr.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return jr;if(t.clientId===n.clientId)return[t.clientId];var r=Vr(e,t.clientId);if(null===r)return jr;var o=io(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 Xr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?jr:Yr(e)}var Zr=Object(fr.a)((function(e){var t=Xr(e);return t.length?t.map((function(t){return Er(e,t)})):jr}),(function(e){return[].concat(Object(D.a)(Yr.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function Jr(e){return Object(p.first)(Xr(e))||null}function Qr(e){return Object(p.last)(Xr(e))||null}function eo(e,t){return Jr(e)===t}function to(e,t){return-1!==Xr(e).indexOf(t)}var no=Object(fr.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=to(e,n=Vr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function ro(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function oo(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function io(e,t){return e.blocks.order[t||""]||jr}function co(e,t,n){return io(e,n).indexOf(t)}function ao(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function lo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(io(e,t),(function(t){return ao(e,t)||to(e,t)||n&&lo(e,t,n)}))}function so(e,t){if(!t)return!1;var n=Xr(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function uo(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId!==n.clientId}function fo(e){return e.isMultiSelecting}function bo(e){return e.isSelectionEnabled}function po(e,t){return e.blocksMode[t]||"visual"}function ho(e){return e.isTyping}function mo(e){return e.isDraggingBlocks}function go(e){return e.isCaretWithinFormattedText}function vo(e){var t,n,r=e.insertionPoint,o=e.selectionEnd;if(null!==r)return r;var i=o.clientId;return i?(t=Vr(e,i)||void 0,n=co(e,o.clientId,t)+1):n=io(e).length,{rootClientId:t,index:n}}function Oo(e){return null!==e.insertionPoint}function jo(e){return e.template.isValid}function ko(e){return e.settings.template}function yo(e,t){if(!t)return e.settings.templateLock;var n=Bo(e,t);return n?n.templateLock:null}var _o=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=To(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!yo(e,n);if(s)return!1;var u=Bo(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=kr(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},Eo=Object(fr.a)(_o,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function So(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var wo=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&_o(e,t.name,n)},Co=Object(fr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?hr:t>0?mr:"common"===e?gr:vr},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)(Br(e,Ir(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=So(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=Lo(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=So(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:Or,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return wo(e,n,t)})).map(o),l=_o(e,"core/block",t)?Do(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,Do(e),Object(i.getBlockTypes)()]})),Io=Object(fr.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 wo(e,n,t)}));if(n)return!0;var r=_o(e,"core/block",t)&&Do(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Do(e),Object(i.getBlockTypes)()]})),xo=Object(fr.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 wo(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Bo(e,t){return e.blockListSettings[t]}function To(e){return e.settings}function Po(e){return e.blocks.isPersistentChange}var No=Object(fr.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),Lo=Object(fr.a)((function(e,t){var n=Object(p.find)(Do(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Do(e)]}));function Ao(e){return e.blocks.isIgnoredChange}function Ro(e){return e.lastBlockAttributesChange}function Do(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],jr)}function Mo(e){return e.isNavigationMode}function Fo(e){return!!e.automaticChangeStatus}function Vo(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 Ho(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}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],s=Er(r,a),u=Object(i.getBlockType)(s.name);if(u.merge){var d=Er(r,l),f=Object(i.getBlockType)(d.name),b=Pr(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(Zt.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],E=v.multiline,S=v.__unstableMultilineWrapperTags,w=v.__unstablePreserveWhiteSpace,C=Object(c.insert)(Object(c.create)({html:_,multilineTag:E,multilineWrapperTags:S,preserveWhiteSpace:w}),"†",g,g);y.attributes[m]=Object(c.toHTMLString)({value:C,multilineTag:E,preserveWhiteSpace:w})}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(er(s.clientId,B,F,F))}n(Tn([s.clientId,d.clientId],[Ho({},s,{attributes:Ho({},s.attributes,{},x)})].concat(Object(D.a)(I.slice(1)))))}}else n(yn(s.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=ko(n),o=yo(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==jo(n))return Hn(c)}],MULTI_SELECT:function(e,t){var n=Rr((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=wr(n),o=ko(n);return gn(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 zo=function(e){var t,n=[$t()(Uo),Xt.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 Go(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 Ko={reducer:Wt,selectors:o,actions:r,controls:tn},Wo=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?Go(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Ko,{persist:["preferences"]}));zo(Wo);var qo=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",Ko);zo(t),s(e)}),[o]),l?Object(d.createElement)(g.RegistryProvider,{value:l},Object(d.createElement)(e,Object(u.a)({registry:l},i))):null}))}),"withRegistryProvider"),$o=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.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),Yo=Object(h.compose)([qo,Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])($o),Xo=n(74),Zo=n(28),Jo=n(258);var Qo=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:Jo.a,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)})))}}))},ei=n(234),ti=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)))},ni=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.a)(t,[{key:"getDifference",value:function(e,t){return Object(ei.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)(ti,{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)(ti,{title:Object(U.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),ri=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(C.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(C.a)(n)),n}return Object(I.a)(t,e),Object(E.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)(Qo,{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)(ni,{block:c,onKeep:t,onConvert:n,convertor:oi,convertButtonText:Object(U.__)("Convert to Blocks")})))}}]),t}(d.Component),oi=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},ii=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,oi(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)))}}}))])(ri),ci=Object(d.createElement)(Qo,{className:"block-editor-block-list__block-crash-warning"},Object(U.__)("This block has encountered an error and cannot be previewed.")),ai=function(){return ci},li=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(E.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),si=n(72),ui=n.n(si);var di=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)(ui.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 fi(e){return document.getElementById("block-"+e)}function bi(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function pi(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var hi=function(e){return e+1},mi=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var gi=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(hi,0),a=Object(M.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(hi,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?mi(e.current):null,k=Object(d.useMemo)((function(){return!!n&&Object(Zo.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=mi(e.current);k.scrollTop=k.scrollTop-j.top+t.top}}else{e.current.style.transform="none";var r=mi(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(Xo.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(Xo.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(Xo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function vi(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 Oi(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 ji(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var ki=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=fi(n);if(r){var t=Zo.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=Zo.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),yi=window,_i=yi.getSelection,Ei=yi.getComputedStyle,Si=Object(p.overEvery)([Zo.isTextField,Zo.focus.tabbable.isTabbableIndex]);function wi(e,t,n){var r=Zo.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(!Zo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Zo.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 Ci(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 Ii(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)(Ci,[]),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,E=s.blockSelectionStart,S=s.isMultiSelecting,w=Object(g.useDispatch)("core/block-editor"),C=w.multiSelect,I=w.selectBlock,x=w.clearSelectedBlock,B=w.setNavigationMode;Object(d.useEffect)((function(){j&&!S&&i.current.focus()}),[j,S]);var T=b()("block-editor-writing-flow",{"is-navigate-mode":y});return Object(d.createElement)("div",{className:T},Object(d.createElement)(ki,{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===It.UP,b=t===It.DOWN,g=t===It.LEFT,_=t===It.RIGHT,E=t===It.TAB,S=t===It.ESCAPE,w=d||g,T=g||_,P=d||b,N=T||P,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,R=P?Zo.isVerticalEdge:Zo.isHorizontalEdge;if(y){var D=E&&L||d,M=E&&!L||b,F=D?h:m;if(M||D)if(F)e.preventDefault(),I(F);else if(E&&u){var V,H=fi(u);(V=M?Zo.focus.tabbable.findNext(H):Zo.focus.tabbable.findPrevious(H))&&(e.preventDefault(),V.focus(),x())}}else{if(u)if(E){var U=fi(u);if(L){if(s===U)return a.current=!0,void r.current.focus()}else{var z=Zo.focus.tabbable.find(U);if(s===(Object(p.last)(z)||U))return a.current=!0,void o.current.focus()}}else S&&B(!0);else if(j&&E&&s===i.current)return a.current=!0,void(L?r.current.focus():o.current.focus());if(P?l.current||(l.current=Object(Zo.computeCaretRect)()):l.current=null,!N)return It.isKeyboardEvent.primary(e)&&(c.current=Object(Zo.isEntirelySelected)(s)),void(It.isKeyboardEvent.primary(e,"a")&&((s.isContentEditable?c.current:Object(Zo.isEntirelySelected)(s))&&(C(Object(p.first)(k),Object(p.last)(k)),e.preventDefault()),c.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===It.UP||t===It.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(s,t,A)){var G="rtl"===Ei(s).direction?!w:w;if(L)(w&&h||!w&&m)&&(j||function(e,t){var r,o,i=wi(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,w)&&R(s,w))&&(!function(e){var t=e?h:m;t&&C(f||u,t)}(w),e.preventDefault());else if(j)!function(e){var t=e?v:O;t&&I(t)}(w),e.preventDefault();else if(P&&Object(Zo.isVerticalEdge)(s,w)){var K=wi(s,w,n.current);K&&(Object(Zo.placeCaretAtVerticalEdge)(K,w,l.current),e.preventDefault())}else if(T&&_i().isCollapsed&&Object(Zo.isHorizontalEdge)(s,G)){var W=wi(s,G,n.current);Object(Zo.placeCaretAtHorizontalEdge)(W,G),e.preventDefault()}}}},onMouseDown:function(e){if(l.current=null,y&&u&&bi(fi(u),e.target)&&B(!1),_&&0===e.button){var t=pi(e.target);t&&(e.shiftKey?E!==t&&(C(E,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)(ki,{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=Zo.focus.focusable.find(n.current),t=Object(p.findLast)(e,Si);t&&Object(Zo.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function xi(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 Bi(e){var t=e.className,n=e.isMultiSelecting,r=e.hasMultiSelection,o=e.selectedBlockClientId,i=e.children,c=e.containerRef,a=Object(d.useState)(!1),l=Object(M.a)(a,2),s=l[0],u=l[1],f=Object(d.useState)(!1),p=Object(M.a)(f,2),h=p[0],m=p[1],v=Object(d.useState)(null),O=Object(M.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(M.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(),C=Object(g.useSelect)((function(e){return{multiSelectedBlockClientIds:(0,e("core/block-editor").getMultiSelectedBlockClientIds)()}})).multiSelectedBlockClientIds;var I=r?C.includes(E):E===o;return Object(d.createElement)(d.Fragment,null,!n&&(s||h)&&Object(d.createElement)(z.Popover,{noArrow:!0,animate:!1,anchorRef:j,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:j.offsetWidth}},Object(d.createElement)(xi,{clientId:E}),Object(d.createElement)("div",{ref:w,onFocus:function(){return m(!0)},onBlur:function(){return m(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===w.current){var o=r.getBoundingClientRect(),i=n<o.top+o.height/2,a=fi(E),l=wi(a,!0,i?c.current:a),s=new window.DOMRect(t,n,0,16);l&&Object(Zo.placeCaretAtVerticalEdge)(l,i,s,!1)}},tabIndex:-1,className:b()("block-editor-block-list__insertion-point-inserter",{"is-inserter-hidden":I})},Object(d.createElement)(xc,{clientId:E})))),Object(d.createElement)("div",{onMouseMove:h||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?s&&u(!1):(u(!0),k(o),S(i))}}}else s&&u(!1)}},i))}var Ti=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!==It.BACKSPACE&&n!==It.DELETE||(p(t),e.preventDefault())},label:v},Object(d.createElement)(dt,{clientId:t}))))};var Pi=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=Zo.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 Ni=function(e){var t=e.focusOnMount,n=Object(F.a)(e,["focusOnMount"]);return Object(d.createElement)(Pi,Object(u.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(U.__)("Block tools")},n),Object(d.createElement)(fs,null))};function Li(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 Ai(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)(Li,[]),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),E=Object(M.a)(_,2),S=E[0],w=E[1],C=Object(d.useState)(!1),I=Object(M.a)(C,2),x=I[0],B=I[1],T=Object(d.useContext)(Fi),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 w(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!R}),!(L||A||S||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 w(!1)},shouldAnchorIncludePadding:!0},(A||S)&&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)(xc,{clientId:t,rootClientId:n})),(A||S)&&Object(d.createElement)(Ni,{focusOnMount:S,"data-type":r,"data-align":o}),L&&Object(d.createElement)(Ti,{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)(xc,{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.__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 Di(){var e=Object(g.useSelect)(Ri,[]);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)(Ai,{clientId:t,rootClientId:n,name:r,align:o,isValid:i,moverDirection:c,isEmptyDefaultBlock:a,capturingClientId:l}):null}var Mi=Object(d.createContext)(),Fi=Object(d.createContext)();function Vi(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectedBlockClientId:n(),hasMultiSelection:r(),isMultiSelecting:o()}}function Hi(e){pi(e.target)&&e.preventDefault()}var Ui=Object(d.forwardRef)((function(e,t){var n=e.children,r=e.className,o=e.hasPopover,i=void 0===o||o,c=Object(g.useSelect)(Vi,[]),a=c.selectedBlockClientId,l=c.hasMultiSelection,s=c.isMultiSelecting,u=Object(g.useDispatch)("core/block-editor").selectBlock,f=function(e){var t=Object(g.useSelect)(Oi,[]),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=fi(t),l=fi(n),s=window.getSelection(),u=document.createRange();c=vi(c,"start"),l=vi(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=fi(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=pi(r.focusNode);if(h.current===o){if(b(o),n&&(ji(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 ji(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),ji(e.current,!1))}),[n,s,O])}(t);return Object(d.createElement)(Bi,{className:r,isMultiSelecting:s,hasMultiSelection:l,selectedBlockClientId:a,containerRef:t},Object(d.createElement)(Fi.Provider,{value:Object(d.useState)({})},i?Object(d.createElement)(Di,null):null,Object(d.createElement)("div",{ref:t,className:r,onFocus:function(e){if(!l){var t=pi(e.target);t&&t!==a&&u(t)}},onDragStart:Hi},Object(d.createElement)(Mi.Provider,{value:f},n))))}));function zi(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 Gi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zi(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ki=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(),E=_.focusMode,S=_.isRTL,w=v(r),C=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||C)&&f(),mode:b(n),isSelectionEnabled:p(),initialPosition:y?h():null,isEmptyDefaultBlock:x&&Object(i.isUnmodifiedDefaultBlock)({name:x,attributes:B}),isLocked:!!w,isFocusMode:E&&o,isNavigationMode:j(),isRTL:S,block:k,name:x,attributes:B,isValid:T,isSelected:y,isAncestorOfSelectedBlock:C}})),Wi=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)}}})),qi=Object(h.compose)(h.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),Ki,Wi,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,E=e.attributes,S=e.initialPosition,w=e.wrapperProps,C=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)(Mi),z=Object(d.useContext)(Fi),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 Gi({},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=Zo.focus.tabbable.find(W.current).filter(Zo.isTextField).filter((function(t){return!e||bi(W.current,t)})),n=-1===S,r=(n?p.last:p.first)(t);r?Object(Zo.placeCaretAtHorizontalEdge)(r,n):W.current.focus()}}(!ee.current),ee.current=!1}),[c,D,R]);var te=gi(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&&(w=Gi({},w,{},J.getEditWrapperProps(E)));var ie=w&&w["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:E,setAttributes:C,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)(Xo.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 It.ENTER:n===W.current&&(P(),e.preventDefault());break;case It.BACKSPACE:case It.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"},w,{style:w&&w.style?Gi({},w.style,{},te):te}),Object(d.createElement)(li,{onError:function(){return X(!0)}},_&&le,_&&"html"===t&&Object(d.createElement)(di,{clientId:o}),!_&&[Object(d.createElement)(ii,{key:"invalid-warning",clientId:o}),Object(d.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(J,E))]),!!Y&&Object(d.createElement)(ai,null))})),$i=n(56);var Yi=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($i.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)(ui.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)(xc,{rootClientId:c,position:"top right",isAppender:!0}))}));function Xi(e){e.stopPropagation()}var Zi=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)(Yi,{rootClientId:r,lastBlockClientId:Object(p.last)(n)}):Object(d.createElement)(Bc,{rootClientId:r,className:"block-list-appender__toggle"}),Object(d.createElement)("div",{tabIndex:-1,onFocus:Xi,className:b()("block-list-appender",a)},t))})),Ji=Object(z.createSlotFill)("__experimentalBlockListFooter"),Qi=Ji.Fill,ec=Ji.Slot;Qi.Slot=ec;var tc=Qi;function nc(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 rc,oc=(rc=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,f=a.selectedBlockClientId,p=a.multiSelectedBlockClientIds,h=a.hasMultiSelection,m=a.enableAnimation,v=n?"div":Ui,O=Object(d.useRef)(),j=nc({element:O,rootClientId:n}),k=n?{}:{hasPopover:c.hasPopover};return Object(d.createElement)(v,Object(u.a)({ref:O,className:b()("block-editor-block-list__layout",t)},k),l.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)(qi,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:s,animateOnChange:t,enableAnimation:m,hasSelectedUI:c.hasSelectedUI,className:e===j?"is-drop-target":void 0}))})),Object(d.createElement)(Zi,{rootClientId:n,renderAppender:o,className:null===j?"is-drop-target":void 0}),Object(d.createElement)(tc.Slot,null))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(rc,e))});function ic(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=fi(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)(oc,null)))}var cc=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)(Yo,{value:c,settings:i},Object(d.createElement)(ic,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var ac=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)(_t,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function lc(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 sc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var uc=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 sc({},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:sc({},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)(ac,{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 dc=function(e){var t=e.blockType;return Object(d.createElement)("div",{className:"block-editor-block-card"},Object(d.createElement)(_t,{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 fc=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)(_t,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(uc,Object(u.a)({items:r},o)))})),bc=Object(z.createSlotFill)("__experimentalInserterMenuExtension"),pc=bc.Fill,hc=bc.Slot;pc.Slot=hc;var mc=pc;function gc(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 vc=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)},Oc=function(e,t){return Object(p.differenceWith)(e,vc(t),(function(e,t){return t.includes(e)}))},jc=function(e,t,n,r){var o=vc(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=Oc(o,i);if(0===d.length)return!0;if(0===(d=Oc(d,l.join(" "))).length)return!0;d=Oc(d,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var f=n[r.split("/")[0]];return f&&(d=Oc(d,f.title)),0===d.length||0===(d=Oc(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,vc(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?gc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{variations:t})}))};function kc(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 yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _c=function(e){return e.stopPropagation()},Ec=function(e){return e.name.split("/")[0]},Sc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},itemsPerCollection:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(C.a)(e)),e.onHover=e.onHover.bind(Object(C.a)(e)),e.panels={},e.inserterResults=Object(d.createRef)(),e}return Object(I.a)(t,e),Object(E.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=jc(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=yc({},r);Object.keys(r).forEach((function(e){h[e]=a.filter((function(t){return Ec(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)([It.LEFT,It.DOWN,It.RIGHT,It.UP,It.BACKSPACE,It.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,E=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":E}),onKeyPress:_c,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)(fc,{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)(uc,{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)(uc,{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)(uc,{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)(uc,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(xt.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(U.__)("Manage all reusable blocks"))),Object(d.createElement)(mc.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."))})))),E&&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)(dc,{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)(cc,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,{attributes:yc({},_.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),wc=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)(Sc),Cc=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})},Ic=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(C.a)(e)),e.renderToggle=e.renderToggle.bind(Object(C.a)(e)),e.renderContent=e.renderContent.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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?Cc: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)(wc,{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),xc=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").getBlockVariations,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}))])(Ic);var Bc=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(xc,{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)(Et.a,{icon:St.a})))},isAppender:!0})};function Tc(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)(_t,{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)(Tc,{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)(Bc,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var Pc=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)(Tc,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Tc,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Nc=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 Lc(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:Nc,"aria-expanded":r,onClick:t?n:void 0,label:Object(U.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Ac=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)(Lc,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(Pc,{onSelect:t})}})};var Rc=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"))))},Dc=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"})),Mc=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 Fc(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 Vc={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:Mc,title:Object(U._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Dc,title:Object(U._x)("Vertically Align Bottom","Block vertical alignment setting")}},Hc=["top","center","bottom"];var Uc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?Hc:r,i=e.isCollapsed,c=void 0===i||i,a=Vc[t],l=Vc.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?Fc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Vc[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})},zc=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"),Gc=zc(z.ColorPalette);function Kc(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}))}var Wc=Object(z.navigateRegions)((function(e){var t=e.footer,n=e.header,r=e.sidebar,o=e.content,i=e.publish,c=e.className;return Object(d.createElement)("div",{className:b()(c,"block-editor-editor-skeleton")},!!n&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__header",role:"region","aria-label":Object(U.__)("Editor top bar"),tabIndex:"-1"},n),Object(d.createElement)("div",{className:"block-editor-editor-skeleton__body"},Object(d.createElement)("div",{className:"block-editor-editor-skeleton__content",role:"region","aria-label":Object(U.__)("Editor content"),tabIndex:"-1"},o),!!r&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__sidebar",role:"region","aria-label":Object(U.__)("Editor settings"),tabIndex:"-1"},r),!!i&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__publish",role:"region","aria-label":Object(U.__)("Editor publish"),tabIndex:"-1"},i)),!!t&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__footer",role:"region","aria-label":Object(U.__)("Editor footer"),tabIndex:"-1"},t))}));function qc(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 $c=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?z.__experimentalGradientPicker:qc;return Object(d.createElement)(t,e)},Yc=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)($c,Object(u.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:s,disableCustomGradients:f},c)))};function Xc(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)(Yc,e))}var Zc=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).updateDimensions=n.updateDimensions.bind(Object(C.a)(n)),n}return Object(I.a)(t,e),Object(E.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),Jc=n(50),Qc=n.n(Jc),ea=Object(h.createHigherOrderComponent)((function(e){return Y((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),ta=ea((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(Bc,{rootClientId:t,showSeparator:n})})),na=Object(h.compose)([ea,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)(Yi,{rootClientId:t,lastBlockClientId:n})})),ra=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(E.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};Qc()(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)(oc,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(ra=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))}}}))])(ra)).DefaultBlockAppender=na,ra.ButtonBlockAppender=ta,ra.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var oa=ra,ia=Object(z.createSlotFill)("InspectorAdvancedControls"),ca=ia.Fill,aa=ia.Slot,la=X(ca);la.slotName="InspectorAdvancedControls",la.Slot=aa;var sa=la,ua=n(47);function da(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 fa=[{id:"opensInNewTab",title:Object(U.__)("Open in New Tab")}],ba=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?fa: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?da(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):da(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)},pa=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(xt.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))},ha=function(e){e.keyCode;e.stopPropagation(),It.ENTER},ma=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.showInitialSuggestions,a=Object(d.useState)(),l=Object(M.a)(a,2),s=l[0],u=l[1];return Object(d.createElement)("form",{onSubmit:function(e){e.preventDefault(),r(s||{url:t})}},Object(d.createElement)(Ca,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),u(t)},onKeyDown:function(e){e.keyCode!==It.ENTER&&function(e){var t=e.keyCode;[It.LEFT,It.DOWN,It.RIGHT,It.UP,It.BACKSPACE,It.ENTER].indexOf(t)>-1&&e.stopPropagation()}(e)},onKeyPress:ha,placeholder:Object(U.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:c}),Object(d.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(d.createElement)(z.Button,{type:"submit",label:Object(U.__)("Submit"),icon:"editor-break",className:"block-editor-link-control__search-submit"})))};function ga(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 va(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oa=function e(t){var n=t.value,r=t.settings,o=t.onChange,i=void 0===o?p.noop:o,c=t.showInitialSuggestions,a=t.forceIsEditingLink,l=Object(d.useRef)(),s=Object(h.useInstanceId)(e),f=Object(d.useState)(n&&n.url||""),m=Object(M.a)(f,2),v=m[0],O=m[1],j=Object(d.useState)(void 0!==a?a:!n||!n.url),k=Object(M.a)(j,2),y=k[0],_=k[1],E=Object(d.useRef)(!1),S=Object(g.useSelect)((function(e){return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}}),[]).fetchSearchSuggestions,w=n&&Object(xt.filterURLForDisplay)(Object(xt.safeDecodeURI)(n.url))||"";Object(d.useEffect)((function(){void 0!==a&&a!==y&&_(a)}),[a]),Object(d.useEffect)((function(){E.current&&l.current&&!l.current.contains(document.activeElement)&&(Zo.focus.focusable.find(l.current)[0]||l.current).focus();E.current=!1}),[y]);var C=function(e){var t="URL",n=Object(xt.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(xt.prependHTTP)(e):e,type:t}])},I=function(){var e=Object(ua.a)(Qt.a.mark((function e(t,n){var r,o;return Qt.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([S(t,va({},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 x(){E.current=!!l.current&&l.current.contains(document.activeElement),_(!1)}var B=Object(d.useCallback)((function(e,t){return Object(p.startsWith)(e,"#")||Object(xt.isURL)(e)||e&&e.includes("www.")?C(e):I(e,t)}),[C,S]);return Object(d.createElement)("div",{tabIndex:-1,ref:l,className:"block-editor-link-control"},y||!n?Object(d.createElement)(ma,{value:v,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";O(e)},onSelect:function(e){i(va({},n,{},e)),x()},renderSuggestions:function(e){var t=e.suggestionsListProps,r=e.buildSuggestionItemProps,o=e.suggestions,c=e.selectedSuggestion,a=e.isLoading,l=e.isInitialSuggestions,f=b()("block-editor-link-control__search-results",{"is-loading":a}),p=["url","mailto","tel","internal"],h=l?"block-editor-link-control-search-results-label-".concat(s):void 0,m=l?Object(U.__)("Recently updated"):Object(U.sprintf)(Object(U.__)("Search results for %s"),v),g=l?void 0:m,O=Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:h,"aria-label":g},m);return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},l?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)(pa,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,onClick:function(){i(va({},n,{},e)),x()},isSelected:t===c,isURL:p.includes(e.type.toLowerCase()),searchTerm:v})}))))},fetchSuggestions:B,showInitialSuggestions:c}):Object(d.createElement)(d.Fragment,null,Object(d.createElement)("p",{className:"screen-reader-text",id:"current-link-label-".concat(s)},Object(U.__)("Currently selected"),":"),Object(d.createElement)("div",{"aria-labelledby":"current-link-label-".concat(s),"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||w),n&&n.title&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},w)),Object(d.createElement)(z.Button,{isSecondary:!0,onClick:function(){return _(!0)},className:"block-editor-link-control__search-item-action"},Object(U.__)("Edit")))),Object(d.createElement)(ba,{value:n,settings:r,onChange:i}))},ja=n(261),ka=n(151),ya=Object(z.withFilters)("editor.MediaUpload")((function(){return null}));var _a=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})),Ea=n(179),Sa=function(e){return e.stopPropagation()},wa=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).onChange=n.onChange.bind(Object(C.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(C.a)(n)),n.selectLink=n.selectLink.bind(Object(C.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(C.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(C.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(C.a)(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(E.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(xt.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 It.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case It.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case It.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(U.__)("Link selected.")));break;case It.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case It.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case It.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,E=j.loading,S="url-input-control-".concat(r),w="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),I={id:w,ref:this.autocompleteRef,role:"listbox"},x=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(z.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(U.__)("URL"),required:!0,value:h,onChange:this.onChange,onInput:Sa,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":w,"aria-activedescendant":null!==_?"".concat(C,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(d.createElement)(z.Spinner,null),Object(p.isFunction)(a)&&k&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:x,isLoading:E,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),Ca=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}})))(wa);function Ia(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)(Ca,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(z.Button,{icon:Ea.a,label:Object(U.__)("Apply"),type:"submit"}))}var xa=n(260);function Ba(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(xt.filterURLForDisplay)(Object(xt.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function Ta(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)(Ba,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(z.Button,{icon:xa.a,label:Object(U.__)("Edit"),onClick:r}))}var Pa=Object(h.compose)(z.withNotices)((function(e){var t,n=e.mediaURL,r=e.mediaId,o=e.allowedTypes,i=e.accept,c=e.onSelect,a=e.onSelectURL,l=e.onError,s=e.name,u=void 0===s?Object(U.__)("Replace"):s,f=Object(d.useState)(!1),b=Object(M.a)(f,2),p=b[0],h=b[1],m=Object(d.useState)(!1),v=Object(M.a)(m,2),O=v[0],j=v[1],k=Object(d.useState)(n),y=Object(M.a)(k,2),_=y[0],E=y[1],S=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),w=Object(d.createRef)(),C=function(e){c(e),E(e.url),Object(ye.speak)(Object(U.__)("The media file has been replaced"))},I=function(e){e.keyCode===It.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=O?Object(d.createElement)(Ia,{onKeyDown:function(e){[It.LEFT,It.DOWN,It.RIGHT,It.UP,It.BACKSPACE,It.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:_,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return E(e)},onSubmit:function(e){e.preventDefault(),a(_),j(!1),w.current.focus()}}):Object(d.createElement)(Ta,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:_,onEditLinkClick:function(){return j(!O)}}),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:w,"aria-expanded":t,onClick:n,onKeyDown:I},u,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)(ya,{value:r,onSelect:function(e){return C(e)},allowedTypes:o,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)(_a,null,Object(d.createElement)(z.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;S({allowedTypes:o,filesList:n,onFileChange:function(e){var n=Object(M.a)(e,1)[0];C(n),t()},onError:l})}(e,n)},accept:i,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(z.MenuItem,{icon:ja.a,onClick:function(){t()}},Object(U.__)("Upload"))}})),a&&Object(d.createElement)(z.MenuItem,{icon:ka.a,onClick:function(){return h(!p)},"aria-expanded":p},Object(d.createElement)("div",null," ",Object(U.__)("Insert from URL")," "))),p&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),Na=n(37),La=n.n(Na),Aa=n(262),Ra=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(C.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(E.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:Aa.a,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);Ra.LinkEditor=Ia,Ra.LinkViewer=Ta;var Da=Ra,Ma=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(Da,{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:Ea.a,label:Object(U.__)("Apply"),type:"submit"})))},Fa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(C.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(C.a)(e)),e.onUpload=e.onUpload.bind(Object(C.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(C.a)(e)),e.openURLInput=e.openURLInput.bind(Object(C.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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 E=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(z.Placeholder,{icon:c,label:O,instructions:v,className:E,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)(Ma,{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)(ya,{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&&La()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(_a,null,this.renderDropZone())):Object(d.createElement)(_a,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),Va=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Ha=Object(h.compose)(Va,Object(z.withFilters)("editor.MediaPlaceholder"))(Fa),Ua=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(F.a)(e,["onChange","className"]);return Object(d.createElement)(ui.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function za(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(za),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 Ga=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,p=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 h=r||Object(U.sprintf)(Object(U.__)("Use the same %s on all screensizes."),n),m=Object(U.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),g=i(Object(d.createElement)(za,{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:h,checked:!l,onChange:o,help:m}),Object(d.createElement)("div",{className:b()("block-editor-responsive-block-control__group",{"is-responsive":l})},!l&&g,l&&(c?c(p):p.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(za,{property:n,viewport:e}),e))}))))))},Ka=[It.rawShortcut.primary("z"),It.rawShortcut.primaryShift("z"),It.rawShortcut.primary("y")],Wa=Object(d.createElement)(z.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Ka.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),qa=function(){return Wa},$a=n(41);function Ya(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($a.createBlobURL)(e),'">')})).join("")}var Xa={position:"bottom left"},Za=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(z.Toolbar,null,["bold","italic","link","text-color"].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:Xa})}))))},Ja=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)(Za,null)):Object(d.createElement)(yt,null,Object(d.createElement)(Za,null))},Qa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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)({},It.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function el(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=It.displayShortcut[r](o)),Object(d.createElement)(z.Fill,{name:c},Object(d.createElement)(z.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var tl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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 nl(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 rl(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var ol=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,E=t.allowedFormats,S=t.formattingControls,w=t.withoutInteractiveFormatting,C=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?nl(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nl(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=rl(p),fe=function(e){var t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(La()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}({allowedFormats:E,formattingControls:S}),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),C&&Object(c.isEmpty)(t)&&n&&C(!n)}),[I,C]),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:Ya(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(xt.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:w,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)(Ja,{inline:m,anchorRef:z.current}),t&&Object(d.createElement)(qa,null),Object(d.createElement)(Qe,{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?(La()("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}));ol.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=rl(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},ol.isEmpty=function(e){return!e||0===e.length},ol.Content.defaultProps={format:"string",value:""};var il=ol,cl=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"})),al=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 ll=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?al:cl,"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,cl,Object(U.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,al,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.")))}})},sl=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z"})),ul=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(C.a)(e)),e.submitLink=e.submitLink.bind(Object(C.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(E.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:ka.a,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:sl,label:Object(U.__)("Close"),onClick:this.toggle}),Object(d.createElement)(Ca,{value:t||"",onChange:n}),Object(d.createElement)(z.Button,{icon:Ea.a,label:Object(U.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),dl=n(113),fl=["noreferrer","noopener"],bl=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"})),pl=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),E=_[0],S=_[1],w=Object(d.useRef)(null),C=function(e){e.stopPropagation()},I=function(e){[It.LEFT,It.DOWN,It.RIGHT,It.UP,It.BACKSPACE,It.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},x=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),k(!0)})),B=Object(d.useCallback)((function(){k(!1)})),T=Object(d.useCallback)((function(){S(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)(fl,(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=w.current;t&&t.contains(e.target)||(m(!1),S(null),B())}})),L=Object(d.useCallback)((function(){return function(e){E&&n({href:E}),B(),S(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:bl},{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:C,onKeyDown:I}),Object(d.createElement)(z.TextControl,{label:Object(U.__)("Link CSS Class"),value:s||"",onKeyPress:C,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==E?E:r,V=(Object(p.find)(R(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.Button,{icon:ka.a,className:"components-toolbar__control",label:r?Object(U.__)("Edit link"):Object(U.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(Da,{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;S(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)(Da.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:S,onKeyDown:I,onKeyPress:C,onSubmit:L(),autocompleteRef:w}),r&&!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Da.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:C,url:r,onEditLinkClick:x,urlLabel:V}),Object(d.createElement)(z.Button,{icon:dl.a,label:Object(U.__)("Remove link"),onClick:A}))))},hl=Object(z.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),ml=hl.Fill,gl=hl.Slot;ml.Slot=gl;var vl=ml,Ol=Object(z.createSlotFill)("__experimentalBlockSettingsMenuPluginsExtension"),jl=Ol.Fill,kl=Ol.Slot;jl.Slot=kl;var yl=jl,_l=function(e){var t=e.icon,n=e.label,r=e.onPress;return Object(d.createElement)(z.Button,{onClick:r},t," ",n)},El=function(e){var t=e.children;return Object(d.createElement)(tc,null,t)};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}var wl=[{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'}],Cl=H()((function(){return wl.map((function(e){return function(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}({},e,{blocks:Object(i.parse)(e.content)})}))})),Il=function(){return null},xl=function(e){var t=e.templates,n=void 0===t?Cl():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)(El,null,n.map((function(e){return Object(d.createElement)(_l,{key:e.name,icon:e.icon,label:e.name,onPress:function(){return l(e)}})}))),Object(d.createElement)(Il,{template:a,onDismiss:function(){return l(void 0)},onApply:function(){r({title:a.name,blocks:Object(i.parse)(a.content)}),l(void 0)}}))},Bl=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}),[])},Tl=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Bl();return Object(d.createElement)(e,Object(u.a)({},t,{showPageTemplatePicker:n}))}}),"__experimentalWithPageTemplatePickerVisible"),Pl=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(){fi(t).focus()}},Object(U.__)("Skip to the selected block"))})),Nl=n(172),Ll=n.n(Nl);function Al(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 Rl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Al(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Al(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dl(e,t,n){var r=new Ll.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var Ml=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 Ll.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=Dl(n,f,e);r(t),u(null),l()}return Object(d.createElement)("div",{className:"block-editor-block-styles"},t.map((function(e){var t=Dl(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){It.ENTER!==t.keyCode&&It.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)(cc,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Rl({},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))})))})),Fl=n(119);var Vl=Object(g.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(Fl.count)(Object(i.serialize)(t),"words");return Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(d.createElement)(_t,{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 Hl(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 Ul=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)(Vl,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(dc,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(z.PanelBody,{title:Object(U.__)("Styles"),initialOpen:!1},Object(d.createElement)(Ml,{clientId:o}),Object(d.createElement)(Hl,{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)(sa.slotName)&&Object(d.createElement)(z.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(U.__)("Advanced"),initialOpen:!1},Object(d.createElement)(sa.Slot,{bubblesVirtually:!0}))}))),Object(d.createElement)(Pl,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(U.__)("No block selected.")):null}));function zl(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 Gl=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"})),Kl=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"})),Wl=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"})),ql=n(263),$l=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})}))},Yl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(C.a)(e)),e.onBlur=e.onBlur.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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?Kl:Gl:ql.a:"down"===e?"horizontal"===r?o?Gl:Kl:Aa.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)($l,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(z.Button,{icon:Wl,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"},zl(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"},zl(O,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Xl=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)(Yl),Zl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(C.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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),Jl=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}}))])(Zl),Ql=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.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 es=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 ts=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 ns(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 rs=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)}))}}})))(ns),os=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)}))}}})))(ns),is={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var cs=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)(es,{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:Jo.a,label:Object(U.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:is},(function(e){var b=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(z.MenuGroup,null,Object(d.createElement)(vl.Slot,{fillProps:{onClose:b}}),1===r&&Object(d.createElement)(os,{clientId:o}),1===r&&Object(d.createElement)(rs,{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)(ts,{clientId:o,onToggle:b}),Object(d.createElement)(yl.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:Ql,shortcut:i.remove},Object(U._n)("Remove Block","Remove Blocks",r))))})))}))};function as(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 ls(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?as(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ss=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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!==It.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0,icon:Object(d.createElement)(d.Fragment,null,Object(d.createElement)(_t,{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)(Ml,{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)(uc,{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)(cc,{viewportWidth:500,blocks:u.example?Object(i.getBlockFromExample)(s.name,{attributes:ls({},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)(_t,{icon:l,showColors:!0})}))}}]),t}(d.Component),us=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))}}})))(ss);var ds=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)(us,{key:"switcher",clientIds:n}):null}));function fs(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)(Xl,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),Object(d.createElement)(ds,null),Object(d.createElement)(cs,{clientIds:r})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Xl,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),"visual"===i&&o&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(us,{clientIds:r}),Object(d.createElement)(gt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(yt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(cs,{clientIds:r}))}var bs=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(Zo.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($a.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 ps(){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}ps.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:"selection",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 hs=ps;function ms(){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=fi(t);if(e){var r=Object(Zo.getScrollContainer)(e);r&&Ct()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var gs=[It.UP,It.RIGHT,It.DOWN,It.LEFT,It.ENTER,It.BACKSPACE];var vs=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(Zo.isTextField)(n)||n.closest(".block-editor-block-toolbar")||("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(gs,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(Zo.isTextField)(t)&&a()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){o&&e.keyCode===It.ESCAPE&&a()}])},t)}));function Os(){return La()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var js=-1!==window.navigator.userAgent.indexOf("Trident"),ks=new Set([It.UP,It.DOWN,It.LEFT,It.RIGHT]),ys=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(C.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(C.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(C.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(C.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(C.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(C.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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(Zo.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(Zo.computeCaretRect)();if(n)if(this.caretRect)if(ks.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(Zo.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 js?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),_s=Object(g.withSelect)((function(e){return{selectedBlockClientId:(0,e("core/block-editor").getSelectedBlockClientId)()}}))(ys);function Es(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 Ss=["left","center","right","wide","full"],ws=["wide","full"];function Cs(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?Ss:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(ws)):t}var Is=Object(d.createContext)({}),xs=Is.Provider,Bs=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Object(d.useContext)(Is).isEmbedButton,r=t.name,o=n?[]:Cs(Object(i.getBlockSupport)(r,"align"),Object(i.hasBlockSupport)(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(d.createElement)(gt,{key:"align-controls"},Object(d.createElement)(ut,{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:o})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),Ts=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=Cs(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?Es(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Es(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",Ts),Object(m.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",Bs),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)(Cs(o,c),r)&&(e.className=b()("align".concat(r),e.className)),e}));var Ps=/[\s#]/g;var Ns=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)(sa,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(Ps,"-"),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",Ns),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 Ls=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)(sa,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 As(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",Ls),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=As(o),a=As(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 Rs=n(235),Ds=n.n(Rs),Ms=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Fs=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()||w());)!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 Vs(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=Vs(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Ms,""),value:n?Vs(n[0]).replace(Ms,""):""});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=E("import"),y=E("charset"),_=E("namespace");function E(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=Vs(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:Vs(t[1]),media:Vs(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=Vs(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=Vs(t[1]),r=Vs(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 w(){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(Zt.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 Vs(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Hs=n(136),Us=n.n(Hs),zs=Gs;function Gs(e){this.options=e||{}}Gs.prototype.emit=function(e){return e},Gs.prototype.visit=function(e){return this[e.type](e)},Gs.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 Ks=Ws;function Ws(e){zs.call(this,e)}Us()(Ws,zs),Ws.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},Ws.prototype.comment=function(e){return this.emit("",e.position)},Ws.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Ws.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ws.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("}")},Ws.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Ws.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Ws.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ws.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},Ws.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},Ws.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("}")},Ws.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Ws.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ws.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Ws.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("}"):""},Ws.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var qs=$s;function $s(e){e=e||{},zs.call(this,e),this.indentation=e.indent}Us()($s,zs),$s.prototype.compile=function(e){return this.stylesheet(e)},$s.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},$s.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},$s.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},$s.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}")},$s.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}")},$s.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},$s.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},$s.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}")},$s.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)+"}")},$s.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")},$s.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}")},$s.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}")},$s.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}")},$s.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},$s.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()+"}"):""},$s.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},$s.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var Ys=function(e,t){try{var n=Fs(e),r=Ds.a.map(n,(function(e){if(!e)return e;var n=t(e);return this.update(n)}));return o=r,((i=i||{}).compress?new Ks(i):new qs(i)).compile(o)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var o,i},Xs=n(107);function Zs(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 Js(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zs(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Qs(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 eu(e){return function(t){var n=function(e,t){var n=Object(Xs.parse)(e).pathname;return Object(Xs.resolve)(t,n)}(t.value,e);return Js({},t,{newUrl:"url("+t.before+t.quote+n+t.quote+t.after+")"})}}var tu=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]};Qs(o)&&r.push(o)}return r}(t.value).map(eu(e));return Js({},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 nu(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 ru(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nu(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ou=/^(body|html|:root).*$/,iu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?ru({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(ou)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},cu=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(iu(t)),r&&o.push(tu(r)),o.length?Ys(n,Object(h.compose)(o)):n}))};n.d(t,"__experimentalAlignmentHookSettingsProvider",(function(){return xs})),n.d(t,"AlignmentToolbar",(function(){return Je})),n.d(t,"Autocomplete",(function(){return Qe})),n.d(t,"BlockAlignmentToolbar",(function(){return ut})),n.d(t,"BlockBreadcrumb",(function(){return ft})),n.d(t,"BlockControls",(function(){return gt})),n.d(t,"BlockEdit",(function(){return Z})),n.d(t,"useBlockEditContext",(function(){return $})),n.d(t,"BlockFormatControls",(function(){return yt})),n.d(t,"BlockIcon",(function(){return _t})),n.d(t,"BlockNavigationDropdown",(function(){return Ac})),n.d(t,"__experimentalBlockNavigationList",(function(){return Tc})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Rc})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Uc})),n.d(t,"ButtonBlockerAppender",(function(){return Bc})),n.d(t,"ColorPalette",(function(){return Gc})),n.d(t,"ColorPaletteControl",(function(){return Kc})),n.d(t,"ContrastChecker",(function(){return Ee})),n.d(t,"__experimentalEditorSkeleton",(function(){return Wc})),n.d(t,"__experimentalGradientPicker",(function(){return $c})),n.d(t,"__experimentalGradientPickerControl",(function(){return Yc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Xc})),n.d(t,"__experimentalColorGradientControl",(function(){return ue})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return Oe})),n.d(t,"__experimentalImageSizeControl",(function(){return Zc})),n.d(t,"InnerBlocks",(function(){return oa})),n.d(t,"InspectorAdvancedControls",(function(){return sa})),n.d(t,"InspectorControls",(function(){return xe})),n.d(t,"__experimentalLinkControl",(function(){return Oa})),n.d(t,"MediaReplaceFlow",(function(){return Pa})),n.d(t,"MediaPlaceholder",(function(){return Ha})),n.d(t,"MediaUpload",(function(){return ya})),n.d(t,"MediaUploadCheck",(function(){return _a})),n.d(t,"PanelColorSettings",(function(){return ke})),n.d(t,"PlainText",(function(){return Ua})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Ga})),n.d(t,"RichText",(function(){return il})),n.d(t,"RichTextShortcut",(function(){return Qa})),n.d(t,"RichTextToolbarButton",(function(){return el})),n.d(t,"__unstableRichTextInputEvent",(function(){return tl})),n.d(t,"ToolSelector",(function(){return ll})),n.d(t,"URLInput",(function(){return Ca})),n.d(t,"URLInputButton",(function(){return ul})),n.d(t,"URLPopover",(function(){return Da})),n.d(t,"__experimentalImageURLInputUI",(function(){return pl})),n.d(t,"withColorContext",(function(){return zc})),n.d(t,"__experimentalBlockListFooter",(function(){return tc})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return vl})),n.d(t,"__experimentalBlockSettingsMenuPluginsExtension",(function(){return yl})),n.d(t,"__experimentalInserterMenuExtension",(function(){return mc})),n.d(t,"__experimentalPageTemplatePicker",(function(){return xl})),n.d(t,"__experimentalWithPageTemplatePickerVisible",(function(){return Tl})),n.d(t,"__experimentalUsePageTemplatePickerVisible",(function(){return Bl})),n.d(t,"BlockInspector",(function(){return Ul})),n.d(t,"BlockList",(function(){return oc})),n.d(t,"BlockMover",(function(){return Xl})),n.d(t,"BlockPreview",(function(){return cc})),n.d(t,"BlockSelectionClearer",(function(){return Jl})),n.d(t,"BlockSettingsMenu",(function(){return cs})),n.d(t,"BlockTitle",(function(){return dt})),n.d(t,"BlockToolbar",(function(){return fs})),n.d(t,"CopyHandler",(function(){return bs})),n.d(t,"DefaultBlockAppender",(function(){return Yi})),n.d(t,"Inserter",(function(){return xc})),n.d(t,"MultiBlocksSwitcher",(function(){return ds})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return hs})),n.d(t,"MultiSelectScrollIntoView",(function(){return ms})),n.d(t,"NavigableToolbar",(function(){return Pi})),n.d(t,"ObserveTyping",(function(){return vs})),n.d(t,"PreserveScrollInReorder",(function(){return Os})),n.d(t,"SkipToSelectedBlock",(function(){return Pl})),n.d(t,"Typewriter",(function(){return _s})),n.d(t,"Warning",(function(){return Qo})),n.d(t,"WritingFlow",(function(){return Ii})),n.d(t,"BlockEditorProvider",(function(){return Yo})),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 Ve})),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 He})),n.d(t,"getFontSizeClass",(function(){return Ue})),n.d(t,"FontSizePicker",(function(){return ze})),n.d(t,"withFontSizes",(function(){return We})),n.d(t,"transformStyles",(function(){return cu})),n.d(t,"storeConfig",(function(){return Ko})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Tt}))}]);
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=370)}([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){!function(){e.exports=this.wp.primitives}()},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,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){!function(){e.exports=this.wp.blocks}()},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(8);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,n){"use strict";var r=n(33);var o=n(34);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";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}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(37);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.React}()},function(e,t){!function(){e.exports=this.wp.keycodes}()},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,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){!function(){e.exports=this.wp.deprecated}()},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){"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,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){!function(){e.exports=this.wp.keyboardShortcuts}()},function(e,t){!function(){e.exports=this.wp.a11y}()},function(e,t){!function(){e.exports=this.wp.isShallowEqual}()},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(x[e])e=x[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=U.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=U.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=U.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=U.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=U.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=U.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=U.hex8.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),a:F(t[4]),format:n?"name":"hex8"};if(t=U.hex6.exec(e))return{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:n?"name":"hex"};if(t=U.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=U.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=R(e.s),a=R(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=R(e.s),l=R(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=[M(l(e).toString(16)),M(l(t).toString(16)),M(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[M(D(r)),M(l(e).toString(16)),M(l(t).toString(16)),M(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 E(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 w(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 C(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 B(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=[M(l(e).toString(16)),M(l(t).toString(16)),M(l(n).toString(16)),M(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*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(E,arguments)},monochromatic:function(){return this._applyCombination(B,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(S,arguments)},tetrad:function(){return this._applyCombination(w,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]:R(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 x=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}(x);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 M(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function D(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return A(e)/255}var V,H,z,U=(H="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",z="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+z),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+z),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+z),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function G(e){return!!U.CSS_UNIT.exec(e)}e.exports?e.exports=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(144);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(148)),i=r(n(149)),c=n(21),a=r(c),l=r(n(150)),s=r(n(151)),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 _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},S=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function w(e){_=e}var C,I=function(){return Date.now()};function B(e){C=e}var x,T,P=function(e){return e.current};function N(e){x=e}var L=Object.freeze({get applyAnimatedValues(){return m},injectApplyAnimatedValues:k,get colorNames(){return g},injectColorNames:y,get requestFrame(){return E},get cancelFrame(){return S},injectFrame:function(e,t){E=e,S=t},get interpolation(){return _},injectStringInterpolator:w,get now(){return I},injectNow:function(e){I=e},get defaultElement(){return C},injectDefaultElement:B,get animatedApi(){return P},injectAnimatedApi:function(e){P=e},get createAnimatedStyle(){return x},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:x(t.style)}):t,r.update=n,r.attach(),r}return l(t,e),t}(j),M=!1,R=new Set,D=function e(){if(!M)return!1;var t=I(),n=R,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,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||(R.delete(c),c.stop(!0))}return R.size?T?T():E(e):M=!1,M};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),z=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),U=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=U++}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,R.has(t)||R.add(t),M||(M=!0,E(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,R.has(t)&&R.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,E=p(s,r);j&&(y=j.animations[r].parent);var S,w=a.parent,C=a.interpolation,B=b(j?y.getPayload():y),x=c;O&&(x=_({range:[0,1],output:[c,c]})(1));var T,P=C&&C.getValue(),N=!u.und(w)&&a.animatedValues.some((function(e){return!e.done})),L=!u.equ(x,P),A=!u.equ(x,a.previous),M=!u.equ(E,a.config);if(m||A&&L||M){var R;if(l||d)w=C=a.parent||new H(k);else if(h)w=C=a.parent||new z(k);else if(O){var D=a.interpolation&&a.interpolation.calc(a.parent.value);D=void 0===D||m?k:D,a.parent?(w=a.parent).setValue(0,!1):w=new H(0);var F={output:[D,c]};a.interpolation?(C=a.interpolation,a.interpolation.updateConfig(F)):C=w.interpolate(F)}return B=b(j?y.getPayload():y),S=b(w.getPayload()),m&&!O&&w.setValue(k,!1),t.hasChanged=!0,S.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)&&w.setValue(O?y:c,!1),o({},e,((R={})[r]=o({},a,{name:r,parent:w,interpolation:C,animatedValues:S,toValues:B,previous:x,config:E,fromValues:b(w.getValue()),immediate:p(v,r),initialVelocity:f(E.velocity,0),clamp:f(E.clamp,!1),precision:f(E.precision,.01),tension:f(E.tension,170),friction:f(E.friction,26),mass:f(E.mass,1),duration:E.duration,easing:f(E.easing,(function(e){return e})),decay:E.decay}),R))}return L?e:(O&&(w.setValue(1,!1),C.updateConfig({output:[x,x]})),w.done=!0,t.hasChanged=!0,o({},e,((T={})[r]=o({},e[r],{previous:x}),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)})),B("div"),w((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,Ee,Se=(_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===(Ee=!1)&&(Ee=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Ee?t[0].toLowerCase()+t.substring(1):t;return e[n]=_e(n),e}),_e)}),we=Se(["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=Se,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=we,t.a=we,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,E=y.items,S=o({},c.current),w=[].concat(c.deleted),C=Object.keys(S),I=new Set(C),B=new Set(s),x=s.filter((function(e){return!I.has(e)})),T=c.transitions.filter((function(e){return!e.destroyed&&!B.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":x.forEach((function(e,t){v&&w.find((function(t){return t.originalKey===e}))&&(w=w.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=l[r],i=n&&void 0!==u?"initial":"enter";S[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=E[t];w.unshift(o({},S[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 S[e]}));break;case"update":P.forEach((function(e){var t=s.indexOf(e),n=l[t];S[e]=o({},S[e],{item:n,slot:"update",trail:N+=g,config:p(O,n,"update"),to:p(h,n)})}))}}var L=s.map((function(e){return S[e]}));return w.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:x.length||T.length||P.length,first:n&&0===x.length,transitions:L,current:S,deleted:w,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(142)},,,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(153),o=n(155);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(156);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 E,S,w=-1,C=0;C<f.length;C++){-1!==(I=O.indexOf(f[C]))&&(-1===w||I<w)&&(w=I)}-1!==(S=-1===w?O.lastIndexOf("@"):O.lastIndexOf("@",w))&&(E=O.slice(0,S),O=O.slice(S+1),this.auth=decodeURIComponent(E)),w=-1;for(C=0;C<d.length;C++){var I;-1!==(I=O.indexOf(d[C]))&&(-1===w||I<w)&&(w=I)}-1===w&&(w=O.length),this.host=O.slice(0,w),O=O.slice(w),this.parseHost(),this.hostname=this.hostname||"";var B="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!B)for(var x=this.hostname.split(/\./),T=(C=0,x.length);C<T;C++){var P=x[C];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 M=x.slice(0,C),R=x.slice(C+1),D=P.match(p);D&&(M.push(D[1]),R.unshift(D[2])),R.length&&(O="/"+R.join(".")+O),this.hostname=M.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),B||(this.hostname=r.toASCII(this.hostname));var F=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+F,this.href+=this.host,B&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==O[0]&&(O="/"+O))}if(!h[y])for(C=0,T=u.length;C<T;C++){var H=u[C];if(-1!==O.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),O=O.split(H).join(z)}}var U=O.indexOf("#");-1!==U&&(this.hash=O.substr(U),O=O.slice(0,U));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("/")||[],E=(p=e.pathname&&e.pathname.split("/")||[],n.protocol&&!g[n.protocol]);if(E&&(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(E)n.hostname=n.host=_.shift(),(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.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],w=(n.host||e.host||_.length>1)&&("."===S||".."===S)||""===S,C=0,I=_.length;I>=0;I--)"."===(S=_[I])?_.splice(I,1):".."===S?(_.splice(I,1),C++):C&&(_.splice(I,1),C--);if(!k&&!y)for(;C--;C)_.unshift("..");!k||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),w&&"/"!==_.join("/").substr(-1)&&_.push("");var B,x=""===_[0]||_[0]&&"/"===_[0].charAt(0);E&&(n.hostname=n.host=x?"":_.length?_.shift():"",(B=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=B.shift(),n.host=n.hostname=B.shift()));return(k=k||n.host&&_.length)&&!x&&_.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(6),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";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,n){"use strict";var r=n(0),o=n(7),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.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}));t.a=i},,,,,,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(143);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,E=void 0,S=void 0;f?(y=t,S=r.height(y),E=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+E)+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},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(21),l=n(26),s=n(145),u=n(146),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(147);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){"use strict";var r=n(0),o=n(7),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.74 2.76c1.68 1.69 1.68 4.41 0 6.1l-1.53 1.52c-1.12 1.12-2.7 1.47-4.14 1.09l2.62-2.61.76-.77.76-.76c.84-.84.84-2.2 0-3.04-.84-.85-2.2-.85-3.04 0l-.77.76-3.38 3.38c-.37-1.44-.02-3.02 1.1-4.14l1.52-1.53c1.69-1.68 4.42-1.68 6.1 0zM8.59 13.43l5.34-5.34c.42-.42.42-1.1 0-1.52-.44-.43-1.13-.39-1.53 0l-5.33 5.34c-.42.42-.42 1.1 0 1.52.44.43 1.13.39 1.52 0zm-.76 2.29l4.14-4.15c.38 1.44.03 3.02-1.09 4.14l-1.52 1.53c-1.69 1.68-4.41 1.68-6.1 0-1.68-1.68-1.68-4.42 0-6.1l1.53-1.52c1.12-1.12 2.7-1.47 4.14-1.1l-4.14 4.15c-.85.84-.85 2.2 0 3.05.84.84 2.2.84 3.04 0z"}));t.a=i},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(154)(e),n(83))},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(157),t.encode=t.stringify=n(158)},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(0),o=n(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"}));t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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 E=a[_],S=E.oldStart+E.offset+y-1;y+=E.newLines-E.oldLines,S<0&&(S=0);for(var w=0;w<E.lines.length;w++){var C=E.lines[w],I=C.length>0?C[0]:" ",B=C.length>0?C.substr(1):C,x=E.linedelimiters[w];if(" "===I)S++;else if("-"===I)r.splice(S,1),i.splice(S,1);else if("+"===I)r.splice(S,0,B),i.splice(S,0,x),S++;else if("\\"===I){var T=E.lines[w-1]?E.lines[w-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,n){"use strict";t.match=function(e,t){return l(e).some((function(e){var n=e.inverse,r="all"===e.type||t.type===e.type;if(r&&n||!r&&!n)return!1;var o=e.expressions.every((function(e){var n=e.feature,r=e.modifier,o=e.value,i=t[n];if(!i)return!1;switch(n){case"orientation":case"scan":return i.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=d(o),i=d(i);break;case"resolution":o=u(o),i=u(i);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=s(o),i=s(i);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,i=parseInt(i,10)||0}switch(r){case"min":return i>=o;case"max":return i<=o;default:return i===o}}));return o&&!n||!o&&n}))},t.parse=l;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,i=/^(?:(min|max)-)?(.+)/,c=/(em|rem|px|cm|mm|in|pt|pc)?$/,a=/(dpi|dpcm|dppx)?$/;function l(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],c=t[2],a=t[3]||"",l={};return l.inverse=!!n&&"not"===n.toLowerCase(),l.type=c?c.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],l.expressions=a.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(i);return{modifier:n[1],feature:n[2],value:t[2]}})),l}))}function s(e){var t,n=Number(e);return n||(n=(t=e.match(/^(\d+)\s*\/\s*(\d+)$/))[1]/t[2]),n}function u(e){var t=parseFloat(e);switch(String(e).match(a)[1]){case"dpcm":return t/2.54;case"dppx":return 96*t;default:return t}}function d(e){var t=parseFloat(e);switch(String(e).match(c)[1]){case"em":case"rem":return 16*t;case"cm":return 96*t/2.54;case"mm":return 96*t/2.54/10;case"in":return 96*t;case"pt":return 72*t;case"pc":return 72*t/12;default:return t}}},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(7),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(7),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(7),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(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 7h-1V5h-4v2h-4V5H6v2H5c-1.1 0-2 .9-2 2v10h18V9c0-1.1-.9-2-2-2zm0 10H5V9h14v8z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M5 7v3l-2 1.5V5h11V3l4 3.01L14 9V7H5zm10 6v-3l2-1.5V15H6v2l-4-3.01L6 11v2h9z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),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(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M8 14V8H5l5-6 5 6h-3v6H8zm-2 2v-6H4v8h12.01v-8H14v6H6z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),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";var r=n(0),o=n(7),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(7),i=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M4.5,11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5V11z M7,10.5h1.5V15H10v-4.5h1.5V9H7V10.5z M14.5,10l-1-1H12v6h1.5v-3.9 l1,1l1-1V15H17V9h-1.5L14.5,10z M19.5,13.5V9H18v6h5v-1.5H19.5z"}));t.a=i},function(e,t,n){"use strict";var r=n(0),o=n(7),i=Object(r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(r.createElement)(o.Path,{d:"M9 9V3H3v6h6zm8 0V3h-6v6h6zm-8 8v-6H3v6h6zm8 0v-6h-6v6h6z"}));t.a=i},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"resetBlocks",(function(){return On})),n.d(r,"resetSelection",(function(){return jn})),n.d(r,"receiveBlocks",(function(){return kn})),n.d(r,"updateBlockAttributes",(function(){return yn})),n.d(r,"updateBlock",(function(){return _n})),n.d(r,"selectBlock",(function(){return En})),n.d(r,"selectPreviousBlock",(function(){return Sn})),n.d(r,"selectNextBlock",(function(){return wn})),n.d(r,"startMultiSelect",(function(){return Cn})),n.d(r,"stopMultiSelect",(function(){return In})),n.d(r,"multiSelect",(function(){return Bn})),n.d(r,"clearSelectedBlock",(function(){return xn})),n.d(r,"toggleSelection",(function(){return Tn})),n.d(r,"replaceBlocks",(function(){return Nn})),n.d(r,"replaceBlock",(function(){return Ln})),n.d(r,"moveBlocksDown",(function(){return Mn})),n.d(r,"moveBlocksUp",(function(){return Rn})),n.d(r,"moveBlockToPosition",(function(){return Dn})),n.d(r,"insertBlock",(function(){return Fn})),n.d(r,"insertBlocks",(function(){return Vn})),n.d(r,"showInsertionPoint",(function(){return Hn})),n.d(r,"hideInsertionPoint",(function(){return zn})),n.d(r,"setTemplateValidity",(function(){return Un})),n.d(r,"synchronizeTemplate",(function(){return Gn})),n.d(r,"mergeBlocks",(function(){return Kn})),n.d(r,"removeBlocks",(function(){return Wn})),n.d(r,"removeBlock",(function(){return qn})),n.d(r,"replaceInnerBlocks",(function(){return $n})),n.d(r,"toggleBlockMode",(function(){return Yn})),n.d(r,"startTyping",(function(){return Xn})),n.d(r,"stopTyping",(function(){return Zn})),n.d(r,"startDraggingBlocks",(function(){return Jn})),n.d(r,"stopDraggingBlocks",(function(){return Qn})),n.d(r,"enterFormattedText",(function(){return er})),n.d(r,"exitFormattedText",(function(){return tr})),n.d(r,"selectionChange",(function(){return nr})),n.d(r,"insertDefaultBlock",(function(){return rr})),n.d(r,"updateBlockListSettings",(function(){return or})),n.d(r,"updateSettings",(function(){return ir})),n.d(r,"__unstableSaveReusableBlock",(function(){return cr})),n.d(r,"__unstableMarkLastChangeAsPersistent",(function(){return ar})),n.d(r,"__unstableMarkNextChangeAsNotPersistent",(function(){return lr})),n.d(r,"__unstableMarkAutomaticChange",(function(){return sr})),n.d(r,"setNavigationMode",(function(){return ur})),n.d(r,"duplicateBlocks",(function(){return dr})),n.d(r,"insertBeforeBlock",(function(){return fr})),n.d(r,"insertAfterBlock",(function(){return br}));var o={};n.r(o),n.d(o,"INSERTER_UTILITY_HIGH",(function(){return gr})),n.d(o,"INSERTER_UTILITY_MEDIUM",(function(){return vr})),n.d(o,"INSERTER_UTILITY_LOW",(function(){return Or})),n.d(o,"INSERTER_UTILITY_NONE",(function(){return jr})),n.d(o,"getBlockName",(function(){return _r})),n.d(o,"isBlockValid",(function(){return Er})),n.d(o,"getBlockAttributes",(function(){return Sr})),n.d(o,"getBlock",(function(){return wr})),n.d(o,"__unstableGetBlockWithoutInnerBlocks",(function(){return Cr})),n.d(o,"getBlocks",(function(){return Ir})),n.d(o,"getClientIdsOfDescendants",(function(){return Br})),n.d(o,"getClientIdsWithDescendants",(function(){return xr})),n.d(o,"getGlobalBlockCount",(function(){return Tr})),n.d(o,"getBlocksByClientId",(function(){return Pr})),n.d(o,"getBlockCount",(function(){return Nr})),n.d(o,"getSelectionStart",(function(){return Lr})),n.d(o,"getSelectionEnd",(function(){return Ar})),n.d(o,"getBlockSelectionStart",(function(){return Mr})),n.d(o,"getBlockSelectionEnd",(function(){return Rr})),n.d(o,"getSelectedBlockCount",(function(){return Dr})),n.d(o,"hasSelectedBlock",(function(){return Fr})),n.d(o,"getSelectedBlockClientId",(function(){return Vr})),n.d(o,"getSelectedBlock",(function(){return Hr})),n.d(o,"getBlockRootClientId",(function(){return zr})),n.d(o,"getBlockParents",(function(){return Ur})),n.d(o,"getBlockParentsByBlockName",(function(){return Gr})),n.d(o,"getBlockHierarchyRootClientId",(function(){return Kr})),n.d(o,"getLowestCommonAncestorWithSelectedBlock",(function(){return Wr})),n.d(o,"getAdjacentBlockClientId",(function(){return qr})),n.d(o,"getPreviousBlockClientId",(function(){return $r})),n.d(o,"getNextBlockClientId",(function(){return Yr})),n.d(o,"getSelectedBlocksInitialCaretPosition",(function(){return Xr})),n.d(o,"getSelectedBlockClientIds",(function(){return Zr})),n.d(o,"getMultiSelectedBlockClientIds",(function(){return Jr})),n.d(o,"getMultiSelectedBlocks",(function(){return Qr})),n.d(o,"getFirstMultiSelectedBlockClientId",(function(){return eo})),n.d(o,"getLastMultiSelectedBlockClientId",(function(){return to})),n.d(o,"isFirstMultiSelectedBlock",(function(){return no})),n.d(o,"isBlockMultiSelected",(function(){return ro})),n.d(o,"isAncestorMultiSelected",(function(){return oo})),n.d(o,"getMultiSelectedBlocksStartClientId",(function(){return io})),n.d(o,"getMultiSelectedBlocksEndClientId",(function(){return co})),n.d(o,"getBlockOrder",(function(){return ao})),n.d(o,"getBlockIndex",(function(){return lo})),n.d(o,"isBlockSelected",(function(){return so})),n.d(o,"hasSelectedInnerBlock",(function(){return uo})),n.d(o,"isBlockWithinSelection",(function(){return fo})),n.d(o,"hasMultiSelection",(function(){return bo})),n.d(o,"isMultiSelecting",(function(){return po})),n.d(o,"isSelectionEnabled",(function(){return ho})),n.d(o,"getBlockMode",(function(){return mo})),n.d(o,"isTyping",(function(){return go})),n.d(o,"isDraggingBlocks",(function(){return vo})),n.d(o,"isCaretWithinFormattedText",(function(){return Oo})),n.d(o,"getBlockInsertionPoint",(function(){return jo})),n.d(o,"isBlockInsertionPointVisible",(function(){return ko})),n.d(o,"isValidTemplate",(function(){return yo})),n.d(o,"getTemplate",(function(){return _o})),n.d(o,"getTemplateLock",(function(){return Eo})),n.d(o,"canInsertBlockType",(function(){return wo})),n.d(o,"getInserterItems",(function(){return Bo})),n.d(o,"hasInserterItems",(function(){return xo})),n.d(o,"__experimentalGetAllowedBlocks",(function(){return To})),n.d(o,"getBlockListSettings",(function(){return Po})),n.d(o,"getSettings",(function(){return No})),n.d(o,"isLastBlockChangePersistent",(function(){return Lo})),n.d(o,"__experimentalGetBlockListSettingsForBlocks",(function(){return Ao})),n.d(o,"__experimentalGetParsedReusableBlock",(function(){return Mo})),n.d(o,"__unstableIsLastBlockChangeIgnored",(function(){return Ro})),n.d(o,"__experimentalGetLastBlockAttributeChanges",(function(){return Do})),n.d(o,"isNavigationMode",(function(){return Vo})),n.d(o,"didAutomaticChange",(function(){return Ho}));var i=n(11),c=n(24),a=n(55),l=n(48),s=n(6),u=n(12),d=n(0),f=n(10),b=n.n(f),p=n(2),h=n(9),m=n(30),g=n(4),v=n(51),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(14),E=n(13),S=n(15),w=n(16),C=n(8),I=n(17);function B(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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B(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 x({},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(S.a)(this,Object(w.a)(r).call(this,e))).setters=t.createSetters(),t.colorUtils={getMostReadableColor:t.getMostReadableColor.bind(Object(C.a)(t))},t.state={},t}return Object(I.a)(r,t),Object(E.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,x({},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]=x({},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 M(){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 R=n(19),D=n(18),F=n(20),V=n(47),H=n.n(V),z=n(1),U=n(3),G=Object(U.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(S.a)(this,Object(w.a)(t).apply(this,arguments))).propsToContext=H()(e.propsToContext.bind(Object(C.a)(e)),{maxSize:1}),e}return Object(I.a)(t,e),Object(E.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(z.__)("(Color: %s)"),ie=Object(z.__)("(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(z.sprintf)(oe,u||t)}}else if("gradient"===c&&l){var f=ee(o,t=l),b=f&&f.name;n=Object(z.sprintf)(ie,b||t)}return Object(d.createElement)(d.Fragment,null,i,!!t&&Object(d.createElement)(U.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(D.a)(g,2),O=v[0],j=v[1];return h||m?Object(d.createElement)(U.BaseControl,{className:b()("block-editor-color-gradient-control",i)},Object(d.createElement)("fieldset",null,Object(d.createElement)("legend",null,Object(d.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(d.createElement)(U.BaseControl.VisualLabel,null,Object(d.createElement)(ae,{currentTab:O,label:c,colorValue:s,gradientValue:f})))),h&&m&&Object(d.createElement)(U.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(d.createElement)(U.Button,{isSmall:!0,isPrimary:"color"===O,isSecondary:"color"!==O,onClick:function(){return j("color")}},Object(z.__)("Solid")),Object(d.createElement)(U.Button,{isSmall:!0,isPrimary:"gradient"===O,isSecondary:"gradient"!==O,onClick:function(){return j("gradient")}},Object(z.__)("Gradient"))),("color"===O||!m)&&Object(d.createElement)(U.ColorPalette,Object(u.a)({value:s,onChange:m?function(e){a(e),l()}:a},{colors:t,disableCustomColors:r})),("gradient"===O||!h)&&Object(d.createElement)(U.__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(z.__)("(%s: color %s)"),pe=Object(z.__)("(%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(z.sprintf)(be,a.toLowerCase(),u&&u.name||i)}else{var f=ee(s||n,i);o=Object(z.sprintf)(pe,a.toLowerCase(),f&&f.name||c)}return Object(d.createElement)(U.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)(U.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(49);function _e(e){var t=e.tinyBackgroundColor,n=e.tinyTextColor,r=e.backgroundColor,o=e.textColor,i=t.getBrightness()<n.getBrightness()?Object(z.__)("This color combination may be hard for people to read. Try using a darker background color and/or a brighter text color."):Object(z.__)("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(z.__)("This color combination may be hard for people to read."))}),[r,o]),Object(d.createElement)("div",{className:"block-editor-contrast-checker"},Object(d.createElement)(U.Notice,{spokenMessage:null,status:"warning",isDismissible:!1},i))}var Ee=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})},Se=Object(U.createSlotFill)("InspectorControls"),we=Se.Fill,Ce=Se.Slot,Ie=X(we);Ie.Slot=Ce;var Be=Ie;function xe(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?xe(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(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=[],Me={textColor:Object(z.__)("Text Color"),backgroundColor:Object(z.__)("Background Color")},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)(Ee,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)(Ee,Object(u.a)({},o,{key:"".concat(r,"-").concat(a),backgroundColor:r,textColor:a}))}))),"function"==typeof a?a(n):a)},Fe=function(e){return Object(d.createElement)(Be,null,Object(d.createElement)(De,e))};function Ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{panelTitle:Object(z.__)("Color settings")},n=t.panelTitle,r=void 0===n?Object(z.__)("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,E=Object(g.useDispatch)("core/block-editor"),S=E.updateBlockAttributes,w=Object(d.useCallback)((function(e){return S(j,e)}),[S,j]),C=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}));w(Object(s.a)({},r?Object(p.camelCase)("custom ".concat(e)):e,void 0)),w(Object(s.a)({},r?e:Object(p.camelCase)("custom ".concat(e)),r?r.slug:n))}}),{maxSize:e.length})}),[w,e.length]),B=Object(d.useState)(),x=Object(D.a)(B,2),T=x[0],P=x[1],N=Object(d.useState)(),L=Object(D.a)(N,2),A=L[0],M=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&&M(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(R.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?n.label||Me[o]||Object(p.startCase)(o):l,u=r.componentName,d=void 0===u?Object(p.startCase)(o).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]=C(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)(Fe,a)})}),[y,w,A,T].concat(Object(R.a)(v)))}var He=function(e,t,n){if(t){var r=Object(p.find)(e,{slug:t});if(r)return r}return{size:n}};function ze(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}}))(U.FontSizePicker);function Ge(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 Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var We=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(w.a)(n).call(this,e))).setters=t.createSetters(),t.state={},t}return Object(I.a)(n,t),Object(E.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,Ke({},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=He(o,i,n[t]);return e[r]=Ke({},c,{class:ze(i)}),e}),{});return Ke({},t,{},c)}}]),n}(d.Component)}]),"withFontSizes")},qe=n(258),$e=n(259),Ye=n(260);function Xe(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 Ze=[{icon:qe.a,title:Object(z.__)("Align text left"),align:"left"},{icon:$e.a,title:Object(z.__)("Align text center"),align:"center"},{icon:Ye.a,title:Object(z.__)("Align text right"),align:"right"}];var Je=function(e){var t=e.value,n=e.onChange,r=e.alignmentControls,o=void 0===r?Ze:r,i=e.label,c=void 0===i?Object(z.__)("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)(U.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?Xe(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(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 Qe=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}))}}])(U.Autocomplete),et=n(7),tt=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M3 5h14V3H3v2zm9 8V7H3v6h9zm2-4h3V7h-3v2zm0 4h3v-2h-3v2zM3 17h14v-2H3v2z"})),nt=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M3 5h14V3H3v2zm12 8V7H5v6h10zM3 17h14v-2H3v2z"})),rt=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M3 5h14V3H3v2zm0 4h3V7H3v2zm14 4V7H8v6h9zM3 13h3v-2H3v2zm0 4h14v-2H3v2z"})),ot=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M5 5h10V3H5v2zm12 8V7H3v6h14zM5 17h10v-2H5v2z"})),it=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M17 13V3H3v10h14zM5 17h10v-2H5v2z"}));function ct(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 at={left:{icon:tt,title:Object(z.__)("Align left")},center:{icon:nt,title:Object(z.__)("Align center")},right:{icon:rt,title:Object(z.__)("Align right")},wide:{icon:ot,title:Object(z.__)("Wide width")},full:{icon:it,title:Object(z.__)("Full width")}},lt=["left","center","right","wide","full"],st=["wide","full"];var ut=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?lt:r,i=e.isCollapsed,c=void 0===i||i,a=e.wideControlsEnabled,l=void 0!==a&&a?o:o.filter((function(e){return-1===st.indexOf(e)})),u=at[t],f=at.center;return Object(d.createElement)(U.Toolbar,{isCollapsed:c,icon:u?u.icon:f.icon,label:Object(z.__)("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?ct(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},at[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})}));var dt=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})),ft=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(z.__)("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)(U.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:n},Object(z.__)("Document")),!c&&Object(z.__)("Document")),i.map((function(e){return Object(d.createElement)("li",{key:e},Object(d.createElement)(U.Button,{className:"block-editor-block-breadcrumb__button",isTertiary:!0,onClick:function(){return t(e)}},Object(d.createElement)(dt,{clientId:e})))})),!!o&&Object(d.createElement)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true"},Object(d.createElement)(dt,{clientId:o})))},bt=Object(U.createSlotFill)("BlockControls"),pt=bt.Fill,ht=bt.Slot,mt=X((function(e){var t=e.controls,n=e.children;return Object(d.createElement)(pt,null,Object(d.createElement)(U.Toolbar,{controls:t}),n)}));mt.Slot=ht;var gt=mt,vt=Object(U.createSlotFill)("BlockFormatControls"),Ot=vt.Fill,jt=vt.Slot,kt=X(Ot);kt.Slot=jt;var yt=kt,_t=n(261);function Et(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:_t.a});var i=Object(d.createElement)(U.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 St=n(110),wt=n(264),Ct=n(80),It=n.n(Ct),Bt=n(22),xt=n(27),Tt=n(263),Pt={insertUsage:{}},Nt={alignWide:!1,colors:[{name:Object(z.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:Object(z.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:Object(z.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:Object(z.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:Object(z.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:Object(z.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:Object(z.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:Object(z.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:Object(z.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"},{name:Object(z.__)("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:Object(z.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:Object(z.__)("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],fontSizes:[{name:Object(z._x)("Small","font size name"),size:13,slug:"small"},{name:Object(z._x)("Normal","font size name"),size:16,slug:"normal"},{name:Object(z._x)("Medium","font size name"),size:20,slug:"medium"},{name:Object(z._x)("Large","font size name"),size:36,slug:"large"},{name:Object(z._x)("Huge","font size name"),size:48,slug:"huge"}],imageSizes:[{slug:"thumbnail",name:Object(z.__)("Thumbnail")},{slug:"medium",name:Object(z.__)("Medium")},{slug:"large",name:Object(z.__)("Large")},{slug:"full",name:Object(z.__)("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,__mobileEnablePageTemplates:!1,gradients:[{name:Object(z.__)("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(z.__)("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(z.__)("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(z.__)("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(z.__)("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(z.__)("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(z.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:Object(z.__)("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(z.__)("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(z.__)("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(z.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:Object(z.__)("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(R.a)(e.slice(0,n)),Object(R.a)(Object(p.castArray)(t)),Object(R.a)(e.slice(n)))}function At(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=Object(R.a)(e);return o.splice(t,r),Lt(o,e.slice(t,t+r),n)}function Mt(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 Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dt(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,Dt(o,r))})),n}function Ft(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),Ft(n.innerBlocks,n.clientId))}),{})}function Vt(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p.identity,n={},r=Object(R.a)(e);r.length;){var o=r.shift(),i=o.innerBlocks,c=Object(F.a)(o,["innerBlocks"]);r.push.apply(r,Object(R.a)(i)),n[c.clientId]=t(c)}return n}function Ht(e){return Vt(e,(function(e){return Object(p.omit)(e,"attributes")}))}function zt(e){return Vt(e,(function(e){return e.attributes}))}function Ut(e,t){return e===t?Rt({},e):t}function Gt(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 Kt=function(e){return e.reduce((function(e,t){return e[t]={},e}),{})};var Wt=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=Rt({},t)).attributes=Object(p.mapValues)(t.attributes,(function(e,n){return"core/block"===t.byClientId[n].name&&e.ref===r?Rt({},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)(Vt(n.blocks),(function(){return{}}));break;case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":var i=Object(p.keys)(Vt(n.blocks));n.rootClientId&&i.push(n.rootClientId),r.cache=Rt({},r.cache,{},Kt(o(i)));break;case"UPDATE_BLOCK":case"UPDATE_BLOCK_ATTRIBUTES":r.cache=Rt({},r.cache,{},Kt(o([n.clientId])));break;case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var c=Kt(o(n.replacedClientIds));r.cache=Rt({},Object(p.omit)(r.cache,n.replacedClientIds),{},Object(p.omit)(c,n.replacedClientIds),{},Kt(Object(p.keys)(Vt(n.blocks))));break;case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":r.cache=Rt({},Object(p.omit)(r.cache,n.removedClientIds),{},Kt(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=Rt({},r.cache,{},Kt(o(a)));break;case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":var l=[];n.rootClientId&&l.push(n.rootClientId),r.cache=Rt({},r.cache,{},Kt(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=Rt({},r.cache,{},Kt(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(R.a)(n)),(o=n).push.apply(o,Object(R.a)(t.order[n[r]])))}return n};if(t)switch(n.type){case"REMOVE_BLOCKS":n=Rt({},n,{type:"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN",removedClientIds:r(n.clientIds)});break;case"REPLACE_BLOCKS":n=Rt({},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,Rt({},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(R.a)(n),[r],Object(R.a)(e(t,r)))}),[])}(t.order);return Rt({},t,{byClientId:Rt({},Object(p.omit)(t.byClientId,r),{},Ht(n.blocks)),attributes:Rt({},Object(p.omit)(t.attributes,r),{},zt(n.blocks)),order:Rt({},Object(p.omit)(t.order,r),{},Dt(n.blocks)),parents:Rt({},Object(p.omit)(t.parents,r),{},Ft(n.blocks)),cache:Rt({},Object(p.omit)(t.cache,r),{},Object(p.mapValues)(Vt(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:Rt({},i,{isPersistentChange:a})}return i=Rt({},i,{isPersistentChange:c?!n:!Gt(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 Ht(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Rt({},e,{},Ht(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:Rt({},e,Object(s.a)({},t.clientId,Rt({},e[t.clientId],{},n)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Rt({},Object(p.omit)(e,t.replacedClientIds),{},Ht(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 zt(t.blocks);case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":return Rt({},e,{},zt(t.blocks));case"UPDATE_BLOCK":return e[t.clientId]&&t.updates.attributes?Rt({},e,Object(s.a)({},t.clientId,Rt({},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=Ut(e[t.clientId],n))[o]=r),n}),e[t.clientId]);return n===e[t.clientId]?e:Rt({},e,Object(s.a)({},t.clientId,n));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return t.blocks?Rt({},Object(p.omit)(e,t.replacedClientIds),{},zt(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 Dt(t.blocks);case"RECEIVE_BLOCKS":return Rt({},e,{},Object(p.omit)(Dt(t.blocks),""));case"INSERT_BLOCKS":var n=t.rootClientId,r=void 0===n?"":n,o=e[r]||[],i=Dt(t.blocks,r),c=t.index,a=void 0===c?o.length:c;return Rt({},e,{},i,Object(s.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 Rt({},e,Object(s.a)({},b,At(e[b],O,g)))}return Rt({},e,(l={},Object(s.a)(l,d,Object(p.without)(e[d],h)),Object(s.a)(l,b,Lt(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),E=e[y];if(!E.length||_===Object(p.first)(E))return e;var S=E.indexOf(_);return Rt({},e,Object(s.a)({},y,At(E,S,S-1,j.length)));case"MOVE_BLOCKS_DOWN":var w=t.clientIds,C=t.rootClientId,I=void 0===C?"":C,B=Object(p.first)(w),x=Object(p.last)(w),T=e[I];if(!T.length||x===Object(p.last)(T))return e;var P=T.indexOf(B);return Rt({},e,Object(s.a)({},I,At(T,P,P+1,w.length)));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":var N=t.clientIds;if(!t.blocks)return e;var L=Dt(t.blocks);return Object(p.flow)([function(e){return Object(p.omit)(e,t.replacedClientIds)},function(e){return Rt({},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(R.a)(e),Object(R.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(R.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 Ft(t.blocks);case"RECEIVE_BLOCKS":return Rt({},e,{},Ft(t.blocks));case"INSERT_BLOCKS":return Rt({},e,{},Ft(t.blocks,t.rootClientId||""));case"MOVE_BLOCK_TO_POSITION":return Rt({},e,Object(s.a)({},t.clientId,t.toRootClientId||""));case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Rt({},Object(p.omit)(e,t.replacedClientIds),{},Ft(t.blocks,e[t.clientIds[0]]));case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":return Object(p.omit)(e,t.removedClientIds)}return e}});function qt(){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 $t=Object(g.combineReducers)({blocks:Wt,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 qt(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 qt(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 Rt({},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:Rt({},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 Rt({},e,{isValid:t.isValid})}return e},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"UPDATE_SETTINGS":return Rt({},e,{},t.settings)}return e},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Pt,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),Rt({},e,{insertUsage:Rt({},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}}}),Yt=n(85),Xt=n.n(Yt),Zt=n(233),Jt=n.n(Zt),Qt=n(31),en=n(23),tn=n.n(en);function nn(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 rn={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(R.a)(i))}}))};function on(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 cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var an=tn.a.mark(vn),ln=tn.a.mark(Sn),sn=tn.a.mark(wn),un=tn.a.mark(Nn),dn=tn.a.mark(Dn),fn=tn.a.mark(Vn),bn=tn.a.mark(Wn),pn=tn.a.mark(ur),hn=tn.a.mark(dr),mn=tn.a.mark(fr),gn=tn.a.mark(br);function vn(){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,nn("core/block-editor","getBlockCount");case 2:if(0!==e.sent){e.next=6;break}return e.next=6,rr();case 6:case"end":return e.stop()}}),an)}function On(e){return{type:"RESET_BLOCKS",blocks:e}}function jn(e,t){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t}}function kn(e){return{type:"RECEIVE_BLOCKS",blocks:e}}function yn(e,t){return{type:"UPDATE_BLOCK_ATTRIBUTES",clientId:e,attributes:t}}function _n(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function En(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function Sn(e){var t;return tn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,nn("core/block-editor","getPreviousBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,En(t,-1);case 6:case"end":return n.stop()}}),ln)}function wn(e){var t;return tn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,nn("core/block-editor","getNextBlockClientId",e);case 2:if(!(t=n.sent)){n.next=6;break}return n.next=6,En(t);case 6:case"end":return n.stop()}}),sn)}function Cn(){return{type:"START_MULTI_SELECT"}}function In(){return{type:"STOP_MULTI_SELECT"}}function Bn(e,t){return{type:"MULTI_SELECT",start:e,end:t}}function xn(){return{type:"CLEAR_SELECTED_BLOCK"}}function Tn(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}function Pn(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 cn({},e,{attributes:cn({},i,{className:"".concat(r||""," is-style-").concat(c).trim()})})}))}function Nn(e,t,n){var r,o,i;return tn.a.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return e=Object(p.castArray)(e),c.t0=Pn,c.t1=Object(p.castArray)(t),c.next=5,nn("core/block-editor","getSettings");case 5:return c.t2=c.sent,t=(0,c.t0)(c.t1,c.t2),c.next=9,nn("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,nn("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(vn(),"t3",24);case 24:case"end":return c.stop()}}),un)}function Ln(e,t){return Nn(e,t)}function An(e){return function(t,n){return{clientIds:Object(p.castArray)(t),type:e,rootClientId:n}}}var Mn=An("MOVE_BLOCKS_DOWN"),Rn=An("MOVE_BLOCKS_UP");function Dn(e){var t,n,r,o,i,c,a=arguments;return tn.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,nn("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,nn("core/block-editor","getBlockName",e);case 17:return c=l.sent,l.next=20,nn("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()}}),dn)}function Fn(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Vn([e],t,n,r)}function Vn(e,t,n){var r,o,i,c,a,l,s,u,d=arguments;return tn.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=Pn,f.t1=Object(p.castArray)(e),f.next=5,nn("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,nn("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()}}),fn,null,[[11,24,28,36],[29,,31,35]])}function Hn(e,t){return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t}}function zn(){return{type:"HIDE_INSERTION_POINT"}}function Un(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}function Gn(){return{type:"SYNCHRONIZE_TEMPLATE"}}function Kn(e,t){return{type:"MERGE_BLOCKS",blocks:[e,t]}}function Wn(e){var t,n,r=arguments;return tn.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,nn("core/block-editor","getBlockRootClientId",e[0]);case 6:return n=o.sent,o.next=9,nn("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,Sn(e[0]);case 15:return o.next=17,{type:"REMOVE_BLOCKS",clientIds:e};case 17:return o.delegateYield(vn(),"t0",18);case 18:case"end":return o.stop()}}),bn)}function qn(e,t){return Wn([e],t)}function $n(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 Yn(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Xn(){return{type:"START_TYPING"}}function Zn(){return{type:"STOP_TYPING"}}function Jn(){return{type:"START_DRAGGING_BLOCKS"}}function Qn(){return{type:"STOP_DRAGGING_BLOCKS"}}function er(){return{type:"ENTER_FORMATTED_TEXT"}}function tr(){return{type:"EXIT_FORMATTED_TEXT"}}function nr(e,t,n,r){return{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:n,endOffset:r}}function rr(e,t,n){var r=Object(i.getDefaultBlockName)();if(r)return Fn(Object(i.createBlock)(r,e),n,t)}function or(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function ir(e){return{type:"UPDATE_SETTINGS",settings:e}}function cr(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function ar(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function lr(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}function sr(){return{type:"MARK_AUTOMATIC_CHANGE"}}function ur(){var e,t=arguments;return tn.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(z.__)("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(z.__)("You are currently in edit mode. To return to the navigation mode, press Escape."));case 4:case"end":return n.stop()}}),pn)}function dr(e){var t,n,r,o,c;return tn.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,nn("core/block-editor","getBlocksByClientId",e);case 4:return t=a.sent,a.next=7,nn("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,nn("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,Vn(c,o+1,n);case 19:if(!(c.length>1)){a.next=22;break}return a.next=22,Bn(Object(p.first)(c).clientId,Object(p.last)(c).clientId);case 22:case"end":return a.stop()}}),hn)}function fr(e){var t,n;return tn.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,nn("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,nn("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,nn("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,rr({},t,n);case 15:case"end":return r.stop()}}),mn)}function br(e){var t,n;return tn.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,nn("core/block-editor","getBlockRootClientId",e);case 4:return t=r.sent,r.next=7,nn("core/block-editor","getTemplateLock",t);case 7:if(!r.sent){r.next=10;break}return r.abrupt("return");case 10:return r.next=12,nn("core/block-editor","getBlockIndex",e,t);case 12:return n=r.sent,r.next=15,rr({},t,n+1);case 15:case"end":return r.stop()}}),gn)}var pr=n(39);function hr(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 mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gr=3,vr=2,Or=1,jr=0,kr=Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(U.Rect,{x:"0",fill:"none",width:"24",height:"24"}),Object(d.createElement)(U.G,null,Object(d.createElement)(U.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"}))),yr=[];function _r(e,t){var n=e.blocks.byClientId[t];return n?n.name:null}function Er(e,t){var n=e.blocks.byClientId[t];return!!n&&n.isValid}function Sr(e,t){return e.blocks.byClientId[t]?e.blocks.attributes[t]:null}var wr=Object(pr.a)((function(e,t){var n=e.blocks.byClientId[t];return n?mr({},n,{attributes:Sr(e,t),innerBlocks:Ir(e,t)}):null}),(function(e,t){return[e.blocks.cache[t]]})),Cr=Object(pr.a)((function(e,t){var n=e.blocks.byClientId[t];return n?mr({},n,{attributes:Sr(e,t)}):null}),(function(e,t){return[e.blocks.byClientId[t],e.blocks.attributes[t]]})),Ir=Object(pr.a)((function(e,t){return Object(p.map)(ao(e,t),(function(t){return wr(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]})),Br=function e(t,n){return Object(p.flatMap)(n,(function(n){var r=ao(t,n);return[].concat(Object(R.a)(r),Object(R.a)(e(t,r)))}))},xr=Object(pr.a)((function(e){var t=ao(e);return[].concat(Object(R.a)(t),Object(R.a)(Br(e,t)))}),(function(e){return[e.blocks.order]})),Tr=Object(pr.a)((function(e,t){var n=xr(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]})),Pr=Object(pr.a)((function(e,t){return Object(p.map)(Object(p.castArray)(t),(function(t){return wr(e,t)}))}),(function(e){return[e.blocks.byClientId,e.blocks.order,e.blocks.attributes]}));function Nr(e,t){return ao(e,t).length}function Lr(e){return e.selectionStart}function Ar(e){return e.selectionEnd}function Mr(e){return e.selectionStart.clientId}function Rr(e){return e.selectionEnd.clientId}function Dr(e){var t=Jr(e).length;return t||(e.selectionStart.clientId?1:0)}function Fr(e){var t=e.selectionStart,n=e.selectionEnd;return!!t.clientId&&t.clientId===n.clientId}function Vr(e){var t=e.selectionStart,n=e.selectionEnd,r=t.clientId;return r&&r===n.clientId?r:null}function Hr(e){var t=Vr(e);return t?wr(e,t):null}function zr(e,t){return void 0!==e.blocks.parents[t]?e.blocks.parents[t]:null}var Ur=Object(pr.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]})),Gr=Object(pr.a)((function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=Ur(e,t,r);return Object(p.map)(Object(p.filter)(Object(p.map)(o,(function(t){return{id:t,name:_r(e,t)}})),{name:n}),(function(e){return e.id}))}),(function(e){return[e.blocks.parents]}));function Kr(e,t){var n,r=t;do{n=r,r=e.blocks.parents[r]}while(r);return n}function Wr(e,t){for(var n,r=Vr(e),o=[].concat(Object(R.a)(Ur(e,t)),[t]),i=[].concat(Object(R.a)(Ur(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 qr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(void 0===t&&(t=Vr(e)),void 0===t&&(t=n<0?eo(e):to(e)),!t)return null;var r=zr(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 $r(e,t){return qr(e,t,-1)}function Yr(e,t){return qr(e,t,1)}function Xr(e){return e.initialPosition}var Zr=Object(pr.a)((function(e){var t=e.selectionStart,n=e.selectionEnd;if(void 0===t.clientId||void 0===n.clientId)return yr;if(t.clientId===n.clientId)return[t.clientId];var r=zr(e,t.clientId);if(null===r)return yr;var o=ao(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 Jr(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?yr:Zr(e)}var Qr=Object(pr.a)((function(e){var t=Jr(e);return t.length?t.map((function(t){return wr(e,t)})):yr}),(function(e){return[].concat(Object(R.a)(Zr.getDependants(e)),[e.blocks.byClientId,e.blocks.order,e.blocks.attributes])}));function eo(e){return Object(p.first)(Jr(e))||null}function to(e){return Object(p.last)(Jr(e))||null}function no(e,t){return eo(e)===t}function ro(e,t){return-1!==Jr(e).indexOf(t)}var oo=Object(pr.a)((function(e,t){for(var n=t,r=!1;n&&!r;)r=ro(e,n=zr(e,n));return r}),(function(e){return[e.blocks.order,e.selectionStart.clientId,e.selectionEnd.clientId]}));function io(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:t.clientId||null}function co(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId===n.clientId?null:n.clientId||null}function ao(e,t){return e.blocks.order[t||""]||yr}function lo(e,t,n){return ao(e,n).indexOf(t)}function so(e,t){var n=e.selectionStart,r=e.selectionEnd;return n.clientId===r.clientId&&n.clientId===t}function uo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object(p.some)(ao(e,t),(function(t){return so(e,t)||ro(e,t)||n&&uo(e,t,n)}))}function fo(e,t){if(!t)return!1;var n=Jr(e),r=n.indexOf(t);return r>-1&&r<n.length-1}function bo(e){var t=e.selectionStart,n=e.selectionEnd;return t.clientId!==n.clientId}function po(e){return e.isMultiSelecting}function ho(e){return e.isSelectionEnabled}function mo(e,t){return e.blocksMode[t]||"visual"}function go(e){return e.isTyping}function vo(e){return e.isDraggingBlocks}function Oo(e){return e.isCaretWithinFormattedText}function jo(e){var t,n,r=e.insertionPoint,o=e.selectionEnd;if(null!==r)return r;var i=o.clientId;return i?(t=zr(e,i)||void 0,n=lo(e,o.clientId,t)+1):n=ao(e).length,{rootClientId:t,index:n}}function ko(e){return null!==e.insertionPoint}function yo(e){return e.template.isValid}function _o(e){return e.settings.template}function Eo(e,t){if(!t)return e.settings.templateLock;var n=Po(e,t);return n?n.templateLock:null}var So=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=No(e),a=c.allowedBlockTypes,l=r(a,t,!0);if(!l)return!1;var s=!!Eo(e,n);if(s)return!1;var u=Po(e,n),d=Object(p.get)(u,["allowedBlocks"]),f=r(d,t),b=o.parent,h=_r(e,n),m=r(b,h);return null!==f&&null!==m?f||m:null!==f?f:null===m||m},wo=Object(pr.a)(So,(function(e,t,n){return[e.blockListSettings[n],e.blocks.byClientId[n],e.settings.allowedBlockTypes,e.settings.templateLock]}));function Co(e,t){return Object(p.get)(e.preferences.insertUsage,[t],null)}var Io=function(e,t,n){return!!Object(i.hasBlockSupport)(t,"inserter",!0)&&So(e,t.name,n)},Bo=Object(pr.a)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t,n){return n?gr:t>0?vr:"common"===e?Or:jr},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)(Pr(e,xr(e)),{name:t.name}));var a=Object(p.isArray)(t.parent),l=Co(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=Mo(e,t.id);1===a.length&&(o=Object(i.getBlockType)(a[0].name));var l=Co(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:kr,category:"reusable",keywords:[],isDisabled:!1,utility:f,frecency:b}},a=Object(i.getBlockTypes)().filter((function(n){return Io(e,n,t)})).map(o),l=So(e,"core/block",t)?Fo(e).map(c):[];return Object(p.orderBy)([].concat(Object(R.a)(a),Object(R.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,Fo(e),Object(i.getBlockTypes)()]})),xo=Object(pr.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 Io(e,n,t)}));if(n)return!0;var r=So(e,"core/block",t)&&Fo(e).length>0;return r}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Fo(e),Object(i.getBlockTypes)()]})),To=Object(pr.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 Io(e,n,t)}))}),(function(e,t){return[e.blockListSettings[t],e.blocks.byClientId,e.settings.allowedBlockTypes,e.settings.templateLock,Object(i.getBlockTypes)()]}));function Po(e,t){return e.blockListSettings[t]}function No(e){return e.settings}function Lo(e){return e.blocks.isPersistentChange}var Ao=Object(pr.a)((function(e,t){return Object(p.filter)(e.blockListSettings,(function(e,n){return t.includes(n)}))}),(function(e){return[e.blockListSettings]})),Mo=Object(pr.a)((function(e,t){var n=Object(p.find)(Fo(e),(function(e){return e.id===t}));return n?Object(i.parse)(n.content):null}),(function(e){return[Fo(e)]}));function Ro(e){return e.blocks.isIgnoredChange}function Do(e){return e.lastBlockAttributesChange}function Fo(e){return Object(p.get)(e,["settings","__experimentalReusableBlocks"],yr)}function Vo(e){return e.isNavigationMode}function Ho(e){return!!e.automaticChangeStatus}function zo(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 Uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zo(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Go={MERGE_BLOCKS:function(e,t){var n=t.dispatch,r=t.getState(),o=Object(D.a)(e.blocks,2),a=o[0],l=o[1],s=wr(r,a),u=Object(i.getBlockType)(s.name);if(u.merge){var d=wr(r,l),f=Object(i.getBlockType)(d.name),b=Lr(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(Qt.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],E=v.multiline,S=v.__unstableMultilineWrapperTags,w=v.__unstablePreserveWhiteSpace,C=Object(c.insert)(Object(c.create)({html:_,multilineTag:E,multilineWrapperTags:S,preserveWhiteSpace:w}),"†",g,g);y.attributes[m]=Object(c.toHTMLString)({value:C,multilineTag:E,preserveWhiteSpace:w})}var I=s.name===d.name?[k]:Object(i.switchToBlockType)(k,s.name);if(I&&I.length){var B=u.merge(j.attributes,I[0].attributes);if(O){var x=Object(p.findKey)(B,(function(e){return"string"==typeof e&&-1!==e.indexOf("†")})),T=B[x],P=u.attributes[x],N=P.multiline,L=P.__unstableMultilineWrapperTags,A=P.__unstablePreserveWhiteSpace,M=Object(c.create)({html:T,multilineTag:N,multilineWrapperTags:L,preserveWhiteSpace:A}),F=M.text.indexOf("†"),V=Object(c.remove)(M,F,F+1),H=Object(c.toHTMLString)({value:V,multilineTag:N,preserveWhiteSpace:A});B[x]=H,n(nr(s.clientId,x,F,F))}n(Nn([s.clientId,d.clientId],[Uo({},s,{attributes:Uo({},s.attributes,{},B)})].concat(Object(R.a)(I.slice(1)))))}}else n(En(s.clientId))},RESET_BLOCKS:[function(e,t){var n=t.getState(),r=_o(n),o=Eo(n),c=!r||"all"!==o||Object(i.doBlocksMatchTemplate)(e.blocks,r);if(c!==yo(n))return Un(c)}],MULTI_SELECT:function(e,t){var n=Dr((0,t.getState)());Object(ye.speak)(Object(z.sprintf)(Object(z._n)("%s block selected.","%s blocks selected.",n),n),"assertive")},SYNCHRONIZE_TEMPLATE:function(e,t){var n=(0,t.getState)(),r=Ir(n),o=_o(n);return On(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 Ko=function(e){var t,n=[Xt()(Go),Jt.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(R.a)(t))(e.dispatch),e.dispatch=r,e};function Wo(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 qo={reducer:$t,selectors:o,actions:r,controls:rn},$o=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?Wo(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},qo,{persist:["preferences"]}));Ko($o);var Yo=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(D.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",qo);Ko(t),s(e)}),[o]),l?Object(d.createElement)(g.RegistryProvider,{value:l},Object(d.createElement)(e,Object(u.a)({registry:l},i))):null}))}),"withRegistryProvider"),Xo=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.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),Zo=Object(h.compose)([Yo,Object(g.withDispatch)((function(e){var t=e("core/block-editor");return{updateSettings:t.updateSettings,resetBlocks:t.resetBlocks,resetSelection:t.resetSelection}}))])(Xo),Jo=n(75),Qo=n(28),ei=n(262);var ti=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)(U.Dropdown,{className:"block-editor-warning__secondary",position:"bottom left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(U.Button,{icon:ei.a,label:Object(z.__)("More options"),onClick:n,"aria-expanded":t})},renderContent:function(){return Object(d.createElement)(U.MenuGroup,null,o.map((function(e,t){return Object(d.createElement)(U.MenuItem,{onClick:e.onClick,key:t},e.title)})))}}))},ni=n(234),ri=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)(U.Button,{isSecondary:!0,tabIndex:"0",onClick:o},i)))},oi=function(e){function t(){return Object(_.a)(this,t),Object(S.a)(this,Object(w.a)(t).apply(this,arguments))}return Object(I.a)(t,e),Object(E.a)(t,[{key:"getDifference",value:function(e,t){return Object(ni.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)(ri,{title:Object(z.__)("Current"),className:"block-editor-block-compare__current",action:n,actionText:Object(z.__)("Convert to HTML"),rawContent:c.rawContent,renderedContent:c.renderedContent}),Object(d.createElement)(ri,{title:Object(z.__)("After Conversion"),className:"block-editor-block-compare__converted",action:r,actionText:i,rawContent:l,renderedContent:a.renderedContent}))}}]),t}(d.Component),ii=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).state={compare:!1},n.onCompare=n.onCompare.bind(Object(C.a)(n)),n.onCompareClose=n.onCompareClose.bind(Object(C.a)(n)),n}return Object(I.a)(t,e),Object(E.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(z.__)("Convert to Classic Block"),onClick:r},{title:Object(z.__)("Attempt Block Recovery"),onClick:o}];return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(ti,{actions:[Object(d.createElement)(U.Button,{key:"convert",onClick:this.onCompare,isSecondary:a,isPrimary:!a},Object(z._x)("Resolve","imperative verb")),a&&Object(d.createElement)(U.Button,{key:"edit",onClick:t,isPrimary:!0},Object(z.__)("Convert to HTML"))],secondaryActions:s},Object(z.__)("This block contains unexpected or invalid content.")),l&&Object(d.createElement)(U.Modal,{title:Object(z.__)("Resolve Block"),onRequestClose:this.onCompareClose,className:"block-editor-block-compare"},Object(d.createElement)(oi,{block:c,onKeep:t,onConvert:n,convertor:ci,convertButtonText:Object(z.__)("Convert to Blocks")})))}}]),t}(d.Component),ci=function(e){return Object(i.rawHandler)({HTML:e.originalContent})},ai=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,ci(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)))}}}))])(ii),li=Object(d.createElement)(ti,{className:"block-editor-block-list__block-crash-warning"},Object(z.__)("This block has encountered an error and cannot be previewed.")),si=function(){return li},ui=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={hasError:!1},e}return Object(I.a)(t,e),Object(E.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),di=n(73),fi=n.n(di);var bi=function(e){var t=e.clientId,n=Object(d.useState)(""),r=Object(D.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)(fi.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 pi(e){return document.getElementById("block-"+e)}function hi(e,t){var n=e.querySelector(".block-editor-block-list__layout");return e.contains(t)&&(!n||!n.contains(t))}function mi(e){e.nodeType!==e.ELEMENT_NODE&&(e=e.parentElement);var t=e.closest(".wp-block");if(t)return t.id.slice("block-".length)}var gi=function(e){return e+1},vi=function(e){return{top:e.offsetTop,left:e.offsetLeft}};var Oi=function(e,t,n,r,o){var i=Object(h.useReducedMotion)()||!r,c=Object(d.useReducer)(gi,0),a=Object(D.a)(c,2),l=a[0],s=a[1],u=Object(d.useReducer)(gi,0),f=Object(D.a)(u,2),b=f[0],p=f[1],m=Object(d.useState)({x:0,y:0,scrollTop:0}),g=Object(D.a)(m,2),v=g[0],O=g[1],j=e.current?vi(e.current):null,k=Object(d.useMemo)((function(){return!!n&&Object(Qo.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=vi(e.current);k.scrollTop=k.scrollTop-j.top+t.top}}else{e.current.style.transform="none";var r=vi(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(Jo.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(Jo.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(Jo.interpolate)([y.x,y.y],(function(e,n){return!t||0===e&&0===n?void 0:"1"}))}};function ji(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 ki(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 yi(e,t){Array.from(e.querySelectorAll(".rich-text")).forEach((function(e){t?e.setAttribute("contenteditable",!0):e.removeAttribute("contenteditable")}))}var _i=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=pi(n);if(r){var t=Qo.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=Qo.focus.tabbable.find(o.current);l.length&&(r?Object(p.last)(l).focus():Object(p.first)(l).focus())}},style:{position:"fixed"}})})),Ei=window,Si=Ei.getSelection,wi=Ei.getComputedStyle,Ci=Object(p.overEvery)([Qo.isTextField,Qo.focus.tabbable.isTabbableIndex]);function Ii(e,t,n){var r=Qo.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(!Qo.focus.tabbable.isTabbableIndex(n))return!1;if(Object(Qo.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 Bi(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 xi(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)(Bi,[]),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,E=s.blockSelectionStart,S=s.isMultiSelecting,w=Object(g.useDispatch)("core/block-editor"),C=w.multiSelect,I=w.selectBlock,B=w.clearSelectedBlock,x=w.setNavigationMode;Object(d.useEffect)((function(){j&&!S&&i.current.focus()}),[j,S]);var T=b()("block-editor-writing-flow",{"is-navigate-mode":y});return Object(d.createElement)("div",{className:T},Object(d.createElement)(_i,{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===Bt.UP,b=t===Bt.DOWN,g=t===Bt.LEFT,_=t===Bt.RIGHT,E=t===Bt.TAB,S=t===Bt.ESCAPE,w=d||g,T=g||_,P=d||b,N=T||P,L=e.shiftKey,A=L||e.ctrlKey||e.altKey||e.metaKey,M=P?Qo.isVerticalEdge:Qo.isHorizontalEdge;if(y){var R=E&&L||d,D=E&&!L||b,F=R?h:m;if(D||R)if(F)e.preventDefault(),I(F);else if(E&&u){var V,H=pi(u);(V=D?Qo.focus.tabbable.findNext(H):Qo.focus.tabbable.findPrevious(H))&&(e.preventDefault(),V.focus(),B())}}else{if(u)if(E){var z=pi(u);if(L){if(s===z)return a.current=!0,void r.current.focus()}else{var U=Qo.focus.tabbable.find(z);if(s===(Object(p.last)(U)||z))return a.current=!0,void o.current.focus()}}else S&&x(!0);else if(j&&E&&s===i.current)return a.current=!0,void(L?r.current.focus():o.current.focus());if(P?l.current||(l.current=Object(Qo.computeCaretRect)()):l.current=null,!N)return Bt.isKeyboardEvent.primary(e)&&(c.current=Object(Qo.isEntirelySelected)(s)),void(Bt.isKeyboardEvent.primary(e,"a")&&((s.isContentEditable?c.current:Object(Qo.isEntirelySelected)(s))&&(C(Object(p.first)(k),Object(p.last)(k)),e.preventDefault()),c.current=!0));if(!e.nativeEvent.defaultPrevented&&function(e,t,n){if((t===Bt.UP||t===Bt.DOWN)&&!n)return!0;var r=e.tagName;return"INPUT"!==r&&"TEXTAREA"!==r}(s,t,A)){var G="rtl"===wi(s).direction?!w:w;if(L)(w&&h||!w&&m)&&(j||function(e,t){var r,o,i=Ii(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,w)&&M(s,w))&&(!function(e){var t=e?h:m;t&&C(f||u,t)}(w),e.preventDefault());else if(j)!function(e){var t=e?v:O;t&&I(t)}(w),e.preventDefault();else if(P&&Object(Qo.isVerticalEdge)(s,w)){var K=Ii(s,w,n.current);K&&(Object(Qo.placeCaretAtVerticalEdge)(K,w,l.current),e.preventDefault())}else if(T&&Si().isCollapsed&&Object(Qo.isHorizontalEdge)(s,G)){var W=Ii(s,G,n.current);Object(Qo.placeCaretAtHorizontalEdge)(W,G),e.preventDefault()}}}},onMouseDown:function(e){if(l.current=null,y&&u&&hi(pi(u),e.target)&&x(!1),_&&0===e.button){var t=mi(e.target);t&&(e.shiftKey?E!==t&&(C(E,t),e.preventDefault()):j&&I(t))}}},Object(d.createElement)("div",{ref:i,tabIndex:j?"0":void 0,"aria-label":j?Object(z.__)("Multiple selected blocks"):void 0,style:{position:"fixed"}}),t),Object(d.createElement)(_i,{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=Qo.focus.focusable.find(n.current),t=Object(p.findLast)(e,Ci);t&&Object(Qo.placeCaretAtHorizontalEdge)(t,!0)},className:"block-editor-writing-flow__click-redirect"}))}function Ti(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 Pi(e){var t=e.className,n=e.isMultiSelecting,r=e.hasMultiSelection,o=e.selectedBlockClientId,i=e.children,c=e.containerRef,a=Object(d.useState)(!1),l=Object(D.a)(a,2),s=l[0],u=l[1],f=Object(d.useState)(!1),p=Object(D.a)(f,2),h=p[0],m=p[1],v=Object(d.useState)(null),O=Object(D.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(D.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(),C=Object(g.useSelect)((function(e){return{multiSelectedBlockClientIds:(0,e("core/block-editor").getMultiSelectedBlockClientIds)()}})).multiSelectedBlockClientIds;var I=r?C.includes(E):E===o;return Object(d.createElement)(d.Fragment,null,!n&&(s||h)&&Object(d.createElement)(U.Popover,{noArrow:!0,animate:!1,anchorRef:j,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:j.offsetWidth}},Object(d.createElement)(Ti,{clientId:E}),Object(d.createElement)("div",{ref:w,onFocus:function(){return m(!0)},onBlur:function(){return m(!1)},onClick:function(e){var t=e.clientX,n=e.clientY,r=e.target;if(r===w.current){var o=r.getBoundingClientRect(),i=n<o.top+o.height/2,a=pi(E),l=Ii(a,!0,i?c.current:a),s=new window.DOMRect(t,n,0,16);l&&Object(Qo.placeCaretAtVerticalEdge)(l,i,s,!1)}},tabIndex:-1,className:b()("block-editor-block-list__insertion-point-inserter",{"is-inserter-hidden":I})},Object(d.createElement)(Bc,{clientId:E})))),Object(d.createElement)("div",{onMouseMove:h||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?s&&u(!1):(u(!0),k(o),S(i))}}}else s&&u(!1)}},i))}var Ni=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)(U.Toolbar,null,Object(d.createElement)(U.Button,{ref:h,onClick:function(){return b(!1)},onKeyDown:function(e){var n=e.keyCode;n!==Bt.BACKSPACE&&n!==Bt.DELETE||(p(t),e.preventDefault())},label:v},Object(d.createElement)(dt,{clientId:t}))))};var Li=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=Qo.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)(U.NavigableMenu,Object(u.a)({orientation:"horizontal",role:"toolbar",ref:o},r),t)};var Ai=function(e){var t=e.focusOnMount,n=Object(F.a)(e,["focusOnMount"]);return Object(d.createElement)(Li,Object(u.a)({focusOnMount:t,className:"block-editor-block-contextual-toolbar","aria-label":Object(z.__)("Block tools")},n),Object(d.createElement)(vs,null))};function Mi(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 Ri(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)(Mi,[]),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),E=Object(D.a)(_,2),S=E[0],w=E[1],C=Object(d.useState)(!1),I=Object(D.a)(C,2),B=I[0],x=I[1],T=Object(d.useContext)(Hi),P=Object(D.a)(T,1)[0],N=!f&&a&&i,L=f,A=!f&&!j&&y&&!N&&!p&&(!m||v),M=!(f||A||j||a);if(Object(l.useShortcut)("core/block-editor/focus-toolbar",Object(d.useCallback)((function(){return w(!0)}),[]),{bindGlobal:!0,eventName:"keydown",isDisabled:!M}),!(L||A||S||N))return null;var R=P[t];if(s&&(R=document.getElementById("block-"+s)),!R)return null;R.classList.contains("is-block-collapsed")&&(R=R.querySelector(".is-block-content")||R);var F=R;if(O){var V=P[k];if(!V)return null;F={top:R,bottom:V}}var H=N?"top left right":"top right left";return Object(d.createElement)(U.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&&R,__unstableAllowHorizontalSubpixelPosition:"horizontal"===c&&R,onBlur:function(){return w(!1)},shouldAnchorIncludePadding:!0},(A||S)&&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":B})},Object(d.createElement)(Bc,{clientId:t,rootClientId:n})),(A||S)&&Object(d.createElement)(Ai,{focusOnMount:S,"data-type":r,"data-align":o}),L&&Object(d.createElement)(Ni,{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)(Bc,{position:"top right",rootClientId:n,clientId:t})))}function Di(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 Fi(){var e=Object(g.useSelect)(Di,[]);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)(Ri,{clientId:t,rootClientId:n,name:r,align:o,isValid:i,moverDirection:c,isEmptyDefaultBlock:a,capturingClientId:l}):null}var Vi=Object(d.createContext)(),Hi=Object(d.createContext)();function zi(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.hasMultiSelection,o=t.isMultiSelecting;return{selectedBlockClientId:n(),hasMultiSelection:r(),isMultiSelecting:o()}}function Ui(e){mi(e.target)&&e.preventDefault()}var Gi=Object(d.forwardRef)((function(e,t){var n=e.children,r=e.className,o=e.hasPopover,i=void 0===o||o,c=Object(g.useSelect)(zi,[]),a=c.selectedBlockClientId,l=c.hasMultiSelection,s=c.isMultiSelecting,u=Object(g.useDispatch)("core/block-editor").selectBlock,f=function(e){var t=Object(g.useSelect)(ki,[]),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=pi(t),l=pi(n),s=window.getSelection(),u=document.createRange();c=ji(c,"start"),l=ji(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=pi(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=mi(r.focusNode);if(h.current===o){if(b(o),n&&(yi(e.current,!0),r.rangeCount)){var i=r.getRangeAt(0).commonAncestorContainer;m.current.contains(i)&&m.current.focus()}}else{var a=[].concat(Object(R.a)(c(h.current)),[h.current]),l=[].concat(Object(R.a)(c(o)),[o]),s=Math.min(a.length,l.length)-1;f(a[s],l[s])}}else yi(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),yi(e.current,!1))}),[n,s,O])}(t);return Object(d.createElement)(Pi,{className:r,isMultiSelecting:s,hasMultiSelection:l,selectedBlockClientId:a,containerRef:t},Object(d.createElement)(Hi.Provider,{value:Object(d.useState)({})},i?Object(d.createElement)(Fi,null):null,Object(d.createElement)("div",{ref:t,className:r,onFocus:function(e){if(!l){var t=mi(e.target);t&&t!==a&&u(t)}},onDragStart:Ui},Object(d.createElement)(Vi.Provider,{value:f},n))))}));function Ki(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 Wi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ki(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qi=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(),E=_.focusMode,S=_.isRTL,w=v(r),C=g(n,!0),I=k||{},B=I.name,x=I.attributes,T=I.isValid;return{isMultiSelected:s(n),isPartOfMultiSelection:s(n)||l(n),isFirstMultiSelected:u(n),isLastMultiSelected:d()===n,isTypingWithinBlock:(y||C)&&f(),mode:b(n),isSelectionEnabled:p(),initialPosition:y?h():null,isEmptyDefaultBlock:B&&Object(i.isUnmodifiedDefaultBlock)({name:B,attributes:x}),isLocked:!!w,isFocusMode:E&&o,isNavigationMode:j(),isRTL:S,block:k,name:B,attributes:x,isValid:T,isSelected:y,isAncestorOfSelectedBlock:C}})),$i=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)}}})),Yi=Object(h.compose)(h.pure,Object(a.withViewportMatch)({isLargeViewport:"medium"}),qi,$i,Object(h.ifCondition)((function(e){return!!e.block})),Object(U.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,E=e.attributes,S=e.initialPosition,w=e.wrapperProps,C=e.setAttributes,I=e.onReplace,B=e.onInsertBlocksAfter,x=e.onMerge,T=e.onRemove,P=e.onInsertDefaultBlockAfter,N=e.toggleSelection,L=e.animateOnChange,A=e.enableAnimation,M=e.isNavigationMode,R=e.isMultiSelecting,F=e.hasSelectedUI,V=void 0===F||F,H=Object(d.useContext)(Vi),U=Object(d.useContext)(Hi),G=Object(D.a)(U,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 Wi({},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(D.a)(q,2),Y=$[0],X=$[1],J=Object(i.getBlockType)(y),Q=Object(z.sprintf)(Object(z.__)("Block: %s"),J.title),ee=Object(d.useRef)(!0);Object(d.useEffect)((function(){R||M||!c||function(e){if(!W.current.contains(document.activeElement)){var t=Qo.focus.tabbable.find(W.current).filter(Qo.isTextField).filter((function(t){return!e||hi(W.current,t)})),n=-1===S,r=(n?p.last:p.first)(t);r?Object(Qo.placeCaretAtHorizontalEdge)(r,n):W.current.focus()}}(!ee.current),ee.current=!1}),[c,R,M]);var te=Oi(W,c||l,c||f,A,L),ne=y===Object(i.getUnregisteredTypeHandlerName)(),re=!n&&!(!M&&c&&v&&_)&&c&&!m,oe=K&&(c||l);J.getEditWrapperProps&&(w=Wi({},w,{},J.getEditWrapperProps(E)));var ie=w&&w["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:E,setAttributes:C,insertBlocksAfter:r?void 0:B,onReplace:r?void 0:I,mergeBlocks:r?void 0:x,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)(Jo.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 Bt.ENTER:n===W.current&&(P(),e.preventDefault());break;case Bt.BACKSPACE:case Bt.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"},w,{style:w&&w.style?Wi({},w.style,{},te):te}),Object(d.createElement)(ui,{onError:function(){return X(!0)}},_&&le,_&&"html"===t&&Object(d.createElement)(bi,{clientId:o}),!_&&[Object(d.createElement)(ai,{key:"invalid-warning",clientId:o}),Object(d.createElement)("div",{key:"invalid-preview"},Object(i.getSaveElement)(J,E))]),!!Y&&Object(d.createElement)(si,null))})),Xi=n(56);var Zi=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(Xi.decodeEntities)(i)||Object(z.__)("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)(fi.a,{role:"button","aria-label":Object(z.__)("Add block"),className:"block-editor-default-block-appender__content",readOnly:!0,onFocus:r,value:o?a:""}),Object(d.createElement)(Bc,{rootClientId:c,position:"top right",isAppender:!0}))}));function Ji(e){e.stopPropagation()}var Qi=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)(Zi,{rootClientId:r,lastBlockClientId:Object(p.last)(n)}):Object(d.createElement)(xc,{rootClientId:r,className:"block-list-appender__toggle"}),Object(d.createElement)("div",{tabIndex:-1,onFocus:Ji,className:b()("block-list-appender",a)},t))}));function ec(e){var t=e.element,n=e.rootClientId,r=Object(d.useState)(null),o=Object(D.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(U.__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 tc,nc=(tc=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,f=a.selectedBlockClientId,p=a.multiSelectedBlockClientIds,h=a.hasMultiSelection,m=a.enableAnimation,v=n?"div":Gi,O=Object(d.useRef)(),j=ec({element:O,rootClientId:n}),k=n?{}:{hasPopover:c.hasPopover};return Object(d.createElement)(v,Object(u.a)({ref:O,className:b()("block-editor-block-list__layout",t)},k),l.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)(Yi,{rootClientId:n,clientId:e,isDraggable:r,isMultiSelecting:s,animateOnChange:t,enableAnimation:m,hasSelectedUI:c.hasSelectedUI,className:e===j?"is-drop-target":void 0}))})),Object(d.createElement)(Qi,{rootClientId:n,renderAppender:o,className:null===j?"is-drop-target":void 0}))},function(e){return Object(d.createElement)(g.AsyncModeProvider,{value:!1},Object(d.createElement)(tc,e))});function rc(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(D.a)(c,2),l=a[0],s=a[1],u=Object(d.useState)(1),f=Object(D.a)(u,2),p=f[0],h=f[1],m=Object(d.useState)({x:0,y:0}),g=Object(D.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=pi(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)(U.Disabled,{style:y,className:"block-editor-block-preview__content"},Object(d.createElement)(nc,null)))}var oc=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(D.a)(a,2),s=l[0],u=l[1];return Object(d.useLayoutEffect)(u,[t]),Object(d.createElement)(Zo,{value:c,settings:i},Object(d.createElement)(rc,{key:s,blocks:c,viewportWidth:r,padding:o}))}));var ic=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)(U.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)(Et,{icon:t,showColors:!0})),Object(d.createElement)("span",{className:"block-editor-block-types-list__item-title"},o)))};function cc(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 ac(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lc=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 ac({},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:ac({},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)(ic,{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 sc=function(e){var t=e.blockType;return Object(d.createElement)("div",{className:"block-editor-block-card"},Object(d.createElement)(Et,{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 uc=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)(Et,{icon:t,showColors:!0}),n&&Object(d.createElement)("h2",null,n)),Object(d.createElement)(lc,Object(u.a)({items:r},o)))})),dc=[Object(d.__experimentalCreateInterpolateElement)(Object(z.__)("While writing, you can press <kbd>/</kbd> to quickly insert new blocks."),{kbd:Object(d.createElement)("kbd",null)}),Object(d.__experimentalCreateInterpolateElement)(Object(z.__)("Indent a list by pressing <kbd>space</kbd> at the beginning of a line."),{kbd:Object(d.createElement)("kbd",null)}),Object(d.__experimentalCreateInterpolateElement)(Object(z.__)("Outdent a list by pressing <kbd>backspace</kbd> at the beginning of a line"),{kbd:Object(d.createElement)("kbd",null)}),Object(z.__)("Drag files into the editor to automatically insert media blocks."),Object(z.__)("Change a block's type by pressing the block icon on the toolbar.")];var fc=function(){var e=Object(d.useState)(Math.floor(Math.random()*dc.length)),t=Object(D.a)(e,1)[0];return Object(d.createElement)(U.Tip,null,dc[t])},bc=Object(U.createSlotFill)("__experimentalInserterMenuExtension"),pc=bc.Fill,hc=bc.Slot;pc.Slot=hc;var mc=pc;function gc(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 vc=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)},Oc=function(e,t){return Object(p.differenceWith)(e,vc(t),(function(e,t){return t.includes(e)}))},jc=function(e,t,n,r){var o=vc(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=Oc(o,i);if(0===d.length)return!0;if(0===(d=Oc(d,l.join(" "))).length)return!0;d=Oc(d,Object(p.get)(Object(p.find)(t,{slug:c}),["title"]));var f=n[r.split("/")[0]];return f&&(d=Oc(d,f.title)),0===d.length||0===(d=Oc(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,vc(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?gc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{variations:t})}))};function kc(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 yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kc(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _c=function(e){return e.stopPropagation()},Ec=function(e){return e.name.split("/")[0]},Sc=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={childItems:[],filterValue:"",hoveredItem:null,suggestedItems:[],reusableItems:[],itemsPerCategory:{},itemsPerCollection:{},openPanels:["suggested"]},e.onChangeSearchInput=e.onChangeSearchInput.bind(Object(C.a)(e)),e.onHover=e.onHover.bind(Object(C.a)(e)),e.panels={},e.inserterResults=Object(d.createRef)(),e}return Object(I.a)(t,e),Object(E.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(R.a)(t.state.openPanels),[e])}),t.props.setTimeout((function(){It()(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=jc(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=yc({},r);Object.keys(r).forEach((function(e){h[e]=a.filter((function(t){return Ec(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(z.sprintf)(Object(z._n)("%d result found.","%d results found.",m),m);o(g)}},{key:"onKeyDown",value:function(e){Object(p.includes)([Bt.LEFT,Bt.DOWN,Bt.RIGHT,Bt.UP,Bt.BACKSPACE,Bt.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,E=y&&l;return Object(d.createElement)("div",{className:b()("block-editor-inserter__menu",{"has-help-panel":E}),onKeyPress:_c,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(z.__)("Search for a block")),Object(d.createElement)("input",{id:"block-editor-inserter__search-".concat(o),type:"search",placeholder:Object(z.__)("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(z.__)("Available block types")},Object(d.createElement)(uc,{rootClientId:a,items:u,onSelect:c,onHover:this.onHover}),!!O.length&&Object(d.createElement)(U.PanelBody,{title:Object(z._x)("Most used","blocks"),opened:k("suggested"),onToggle:this.onTogglePanel("suggested"),ref:this.bindPanel("suggested")},Object(d.createElement)(lc,{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)(U.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)(lc,{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)(U.PanelBody,{key:n,title:t.title,icon:t.icon,opened:k(n),onToggle:e.onTogglePanel(n),ref:e.bindPanel(n)},Object(d.createElement)(lc,{items:r,onSelect:c,onHover:e.onHover})):null})),!!v.length&&Object(d.createElement)(U.PanelBody,{className:"block-editor-inserter__reusable-blocks-panel",title:Object(z.__)("Reusable"),opened:k("reusable"),onToggle:this.onTogglePanel("reusable"),icon:Tt.a,ref:this.bindPanel("reusable")},Object(d.createElement)(lc,{items:v,onSelect:c,onHover:this.onHover}),Object(d.createElement)("a",{className:"block-editor-inserter__manage-reusable-blocks",href:Object(xt.addQueryArgs)("edit.php",{post_type:"wp_block"})},Object(z.__)("Manage all reusable blocks"))),Object(d.createElement)(mc.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(z.__)("No blocks found."))})))),E&&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)(sc,{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)(oc,{padding:10,viewportWidth:500,blocks:_.example?Object(i.getBlockFromExample)(f.name,{attributes:yc({},_.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(z.__)("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(z.__)("Content blocks")),Object(d.createElement)("p",null,Object(z.__)("Welcome to the wonderful world of blocks! Blocks are the basis of all content within the editor.")),Object(d.createElement)("p",null,Object(z.__)("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(z.__)("Browse through the library to learn more about what each block does."))),Object(d.createElement)(fc,null))))}}]),t}(d.Component),wc=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(D.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(z.sprintf)(Object(z.__)("%s block added"),h);Object(ye.speak)(j)}return d(),O}}})),U.withSpokenMessages,h.withInstanceId,h.withSafeTimeout)(Sc),Cc=function(e){var t,n=e.onToggle,r=e.disabled,o=e.isOpen,i=e.blockTitle,c=e.hasSingleBlockType;return t=c?Object(z.sprintf)(Object(z._x)("Add %s","directly add the only allowed block"),i):Object(z._x)("Add block","Generic label for block inserter button"),Object(d.createElement)(U.Button,{icon:wt.a,label:t,tooltipPosition:"bottom",onClick:n,className:"block-editor-inserter__toggle","aria-haspopup":!c&&"true","aria-expanded":!c&&o,disabled:r})},Ic=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onToggle=e.onToggle.bind(Object(C.a)(e)),e.renderToggle=e.renderToggle.bind(Object(C.a)(e)),e.renderContent=e.renderContent.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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?Cc: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)(wc,{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)(U.Dropdown,{className:"block-editor-inserter",contentClassName:"block-editor-inserter__popover",position:t,onToggle:this.onToggle,expandOnMobile:!0,headerTitle:Object(z.__)("Add a block"),renderToggle:this.renderToggle,renderContent:this.renderContent})}}]),t}(d.Component),Bc=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").getBlockVariations,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(z.sprintf)(Object(z.__)("%s block added"),l.title);Object(ye.speak)(u)}}}})),Object(h.ifCondition)((function(e){return e.hasItems}))])(Ic);var xc=function(e){var t=e.rootClientId,n=e.className,r=e.__experimentalSelectBlockOnInsert;return Object(d.createElement)(Bc,{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(z.sprintf)(Object(z._x)("Add %s","directly add the only allowed block"),c):Object(z._x)("Add block","Generic label for block inserter button");var l=!a;return Object(d.createElement)(U.Tooltip,{text:t},Object(d.createElement)(U.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)(St.a,{icon:wt.a})))},isAppender:!0})};function Tc(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)(U.Button,{className:b()("block-editor-block-navigation__item-button",{"is-selected":a}),onClick:function(){return r(e.clientId)}},Object(d.createElement)(Et,{icon:t.icon,showColors:!0}),Object(i.__experimentalGetBlockLabel)(t,e.attributes),a&&Object(d.createElement)("span",{className:"screen-reader-text"},Object(z.__)("(selected block)")))),c&&!!e.innerBlocks&&!!e.innerBlocks.length&&Object(d.createElement)(Tc,{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)(xc,{rootClientId:a,__experimentalSelectBlockOnInsert:!1}))))}var Pc=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)(U.NavigableMenu,{role:"presentation",className:"block-editor-block-navigation__container"},Object(d.createElement)("p",{className:"block-editor-block-navigation__label"},Object(z.__)("Block navigation")),i&&Object(d.createElement)(Tc,{blocks:[t],selectedBlockClientId:r,selectBlock:o,showNestedBlocks:!0}),!i&&Object(d.createElement)(Tc,{blocks:n,selectedBlockClientId:r,selectBlock:o}))})),Nc=Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},Object(d.createElement)(U.Path,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"}));function Lc(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)(U.Button,{icon:Nc,"aria-expanded":r,onClick:t?n:void 0,label:Object(z.__)("Block navigation"),className:"block-editor-block-navigation",shortcut:o,"aria-disabled":!t})}var Ac=function(e){var t=e.isDisabled,n=Object(g.useSelect)((function(e){return!!e("core/block-editor").getBlockCount()}),[])&&!t;return Object(d.createElement)(U.Dropdown,{contentClassName:"block-editor-block-navigation__popover",renderToggle:function(e){return Object(d.createElement)(Lc,Object(u.a)({},e,{isEnabled:n}))},renderContent:function(e){var t=e.onClose;return Object(d.createElement)(Pc,{onSelect:t})}})},Mc=n(265);var Rc=function(e){var t=e.icon,n=void 0===t?Mc.a:t,r=e.label,o=void 0===r?Object(z.__)("Choose variation"):r,i=e.instructions,c=void 0===i?Object(z.__)("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)(U.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)(U.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)(U.Button,{isLink:!0,onClick:function(){return l()}},Object(z.__)("Skip"))))},Dc=Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(U.Path,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"})),Fc=Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(U.Path,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}));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}var Hc={top:{icon:Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(U.Path,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"})),title:Object(z._x)("Vertically Align Top","Block vertical alignment setting")},center:{icon:Fc,title:Object(z._x)("Vertically Align Middle","Block vertical alignment setting")},bottom:{icon:Dc,title:Object(z._x)("Vertically Align Bottom","Block vertical alignment setting")}},zc=["top","center","bottom"];var Uc=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?zc:r,i=e.isCollapsed,c=void 0===i||i,a=Hc[t],l=Hc.top;return Object(d.createElement)(U.Toolbar,{isCollapsed:c,icon:a?a.icon:l.icon,label:Object(z._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?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}({},Hc[e],{isActive:t===e,role:c?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})},Gc=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"),Kc=Gc(U.ColorPalette);function Wc(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}))}var qc=Object(U.navigateRegions)((function(e){var t=e.footer,n=e.header,r=e.sidebar,o=e.content,i=e.publish,c=e.className;return function(e){Object(d.useEffect)((function(){var t=document&&document.querySelector("html:not(.".concat(e));if(t)return t.classList.toggle(e),function(){t.classList.toggle(e)}}),[e])}("block-editor-editor-skeleton__html-container"),Object(d.createElement)("div",{className:b()(c,"block-editor-editor-skeleton")},!!n&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__header",role:"region","aria-label":Object(z.__)("Editor top bar"),tabIndex:"-1"},n),Object(d.createElement)("div",{className:"block-editor-editor-skeleton__body"},Object(d.createElement)("div",{className:"block-editor-editor-skeleton__content",role:"region","aria-label":Object(z.__)("Editor content"),tabIndex:"-1"},o),!!r&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__sidebar",role:"region","aria-label":Object(z.__)("Editor settings"),tabIndex:"-1"},r),!!i&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__publish",role:"region","aria-label":Object(z.__)("Editor publish"),tabIndex:"-1"},i)),!!t&&Object(d.createElement)("div",{className:"block-editor-editor-skeleton__footer",role:"region","aria-label":Object(z.__)("Editor footer"),tabIndex:"-1"},t))}));function $c(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)(U.__experimentalGradientPicker,Object(u.a)({gradients:void 0!==e.gradients?e.gradient:n,disableCustomGradients:void 0!==e.disableCustomGradients?e.disableCustomGradients:r},e))}var Yc=function(e){var t=void 0!==e.gradients&&void 0!==e.disableCustomGradients?U.__experimentalGradientPicker:$c;return Object(d.createElement)(t,e)},Xc=function(e){var t=e.className,n=e.value,r=e.onChange,o=e.label,i=void 0===o?Object(z.__)("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)(U.BaseControl,{className:b()("block-editor-gradient-picker-control",t)},Object(d.createElement)(U.BaseControl.VisualLabel,null,i),Object(d.createElement)(Yc,Object(u.a)({value:n,onChange:r,className:"block-editor-gradient-picker-control__gradient-picker-presets",gradients:s,disableCustomGradients:f},c)))};function Zc(e){var t=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().gradients}),[]);return Object(p.isEmpty)(t)?null:Object(d.createElement)(U.PanelBody,{title:Object(z.__)("Gradient")},Object(d.createElement)(Xc,e))}var Jc=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).updateDimensions=n.updateDimensions.bind(Object(C.a)(n)),n}return Object(I.a)(t,e),Object(E.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)(U.SelectControl,{label:Object(z.__)("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(z.__)("Image dimensions")),Object(d.createElement)("div",{className:"block-editor-image-size-control__row"},Object(d.createElement)(U.TextControl,{type:"number",className:"block-editor-image-size-control__width",label:Object(z.__)("Width"),value:s||n||"",min:1,onChange:function(e){return f({width:parseInt(e,10)})}}),Object(d.createElement)(U.TextControl,{type:"number",className:"block-editor-image-size-control__height",label:Object(z.__)("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)(U.ButtonGroup,{"aria-label":Object(z.__)("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)(U.Button,{key:t,isSmall:!0,isPrimary:c,isPressed:c,onClick:e.updateDimensions(o,i)},t,"%")}))),Object(d.createElement)(U.Button,{isSmall:!0,onClick:this.updateDimensions()},Object(z.__)("Reset")))))}}]),t}(d.Component),Qc=n(50),ea=n.n(Qc),ta=Object(h.createHigherOrderComponent)((function(e){return Y((function(e){return Object(p.pick)(e,["clientId"])}))(e)}),"withClientId"),na=ta((function(e){var t=e.clientId,n=e.showSeparator;return Object(d.createElement)(xc,{rootClientId:t,showSeparator:n})})),ra=Object(h.compose)([ta,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)(Zi,{rootClientId:t,lastBlockClientId:n})})),oa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={templateInProcess:!!e.props.template},e.updateNestedSettings(),e}return Object(I.a)(t,e),Object(E.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};ea()(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)(nc,Object(u.a)({rootClientId:n},i)))}}]),t}(d.Component);(oa=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))}}}))])(oa)).DefaultBlockAppender=ra,oa.ButtonBlockAppender=na,oa.Content=Object(i.withBlockContentContext)((function(e){var t=e.BlockContent;return Object(d.createElement)(t,null)}));var ia=oa,ca=Object(U.createSlotFill)("InspectorAdvancedControls"),aa=ca.Fill,la=ca.Slot,sa=X(aa);sa.slotName="InspectorAdvancedControls",sa.Slot=la;var ua=sa,da=n(44);function fa(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 ba=[{id:"opensInNewTab",title:Object(z.__)("Open in new tab")}],pa=function(e){var t=e.value,n=e.onChange,r=void 0===n?p.noop:n,o=e.settings,i=void 0===o?ba: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?fa(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fa(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)(U.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(z.__)("Currently selected link settings")),a)},ha=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM1.11 9.68h2.51c.04.91.167 1.814.38 2.7H1.84c-.403-.85-.65-1.764-.73-2.7zm8.57-5.4V1.19c.964.366 1.756 1.08 2.22 2 .205.347.386.708.54 1.08l-2.76.01zm3.22 1.35c.232.883.37 1.788.41 2.7H9.68v-2.7h3.22zM8.32 1.19v3.09H5.56c.154-.372.335-.733.54-1.08.462-.924 1.255-1.64 2.22-2.01zm0 4.44v2.7H4.7c.04-.912.178-1.817.41-2.7h3.21zm-4.7 2.69H1.11c.08-.936.327-1.85.73-2.7H4c-.213.886-.34 1.79-.38 2.7zM4.7 9.68h3.62v2.7H5.11c-.232-.883-.37-1.788-.41-2.7zm3.63 4v3.09c-.964-.366-1.756-1.08-2.22-2-.205-.347-.386-.708-.54-1.08l2.76-.01zm1.35 3.09v-3.04h2.76c-.154.372-.335.733-.54 1.08-.464.92-1.256 1.634-2.22 2v-.04zm0-4.44v-2.7h3.62c-.04.912-.178 1.817-.41 2.7H9.68zm4.71-2.7h2.51c-.08.936-.327 1.85-.73 2.7H14c.21-.87.337-1.757.38-2.65l.01-.05zm0-1.35c-.046-.894-.176-1.78-.39-2.65h2.16c.403.85.65 1.764.73 2.7l-2.5-.05zm1-4H13.6c-.324-.91-.793-1.76-1.39-2.52 1.244.56 2.325 1.426 3.14 2.52h.04zm-9.6-2.52c-.597.76-1.066 1.61-1.39 2.52H2.65c.815-1.094 1.896-1.96 3.14-2.52zm-3.15 12H4.4c.324.91.793 1.76 1.39 2.52-1.248-.567-2.33-1.445-3.14-2.55l-.01.03zm9.56 2.52c.597-.76 1.066-1.61 1.39-2.52h1.76c-.82 1.08-1.9 1.933-3.14 2.48l-.01.04z"})),ma=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)(U.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)(St.a,{className:"block-editor-link-control__search-item-icon",icon:ha}),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)(U.TextHighlight,{text:n.title,highlight:s})),Object(d.createElement)("span",{"aria-hidden":!a,className:"block-editor-link-control__search-item-info"},!a&&(Object(xt.safeDecodeURI)(n.url)||""),a&&Object(z.__)("Press ENTER to add this link"))),n.type&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-type"},n.type))},ga=n(179),va=function(e){var t=e.value,n=e.onChange,r=e.onSelect,o=e.renderSuggestions,i=e.fetchSuggestions,c=e.showInitialSuggestions,a=e.errorMessage,l=Object(d.useState)(),s=Object(D.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)("div",{className:"block-editor-link-control__search-input-wrapper"},Object(d.createElement)(Ta,{className:"block-editor-link-control__search-input",value:t,onChange:function(e,t){n(e),f(t)},placeholder:Object(z.__)("Search or type url"),__experimentalRenderSuggestions:o,__experimentalFetchLinkSuggestions:i,__experimentalHandleURLSuggestions:!0,__experimentalShowInitialSuggestions:c}),Object(d.createElement)("div",{className:"block-editor-link-control__search-actions"},Object(d.createElement)(U.Button,{type:"submit",label:Object(z.__)("Submit"),icon:ga.a,className:"block-editor-link-control__search-submit"}))),a&&Object(d.createElement)(U.Notice,{className:"block-editor-link-control__search-error",status:"error",isDismissible:!1},a))},Oa=function(e){var t=e.searchTerm,n=e.onClick,r=e.itemProps,o=e.isSelected;return t?Object(d.createElement)(U.Button,Object(u.a)({},r,{className:b()("block-editor-link-control__search-create block-editor-link-control__search-item",{"is-selected":o}),onClick:n}),Object(d.createElement)(U.Icon,{className:"block-editor-link-control__search-item-icon",icon:"insert"}),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.__experimentalCreateInterpolateElement)(Object(z.sprintf)(Object(z.__)("New page: <mark>%s</mark>"),t),{mark:Object(d.createElement)("mark",null)})))):null};function ja(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 ka(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ja(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ya=function(e){var t=!1;return{promise:new Promise((function(n,r){e.then((function(e){return t?r({isCanceled:!0}):n(e)}),(function(e){return r(t?{isCanceled:!0}:e)}))})),cancel:function(){t=!0}}};var _a=function e(t){var n=t.value,r=t.settings,o=t.onChange,i=void 0===o?p.noop:o,c=t.showInitialSuggestions,a=t.forceIsEditingLink,l=t.createSuggestion,s=Object(d.useRef)(),f=Object(d.useRef)(),m=Object(d.useRef)(),v=Object(h.useInstanceId)(e),O=Object(d.useState)(n&&n.url||""),j=Object(D.a)(O,2),k=j[0],y=j[1],_=Object(d.useState)(void 0!==a?a:!n||!n.url),E=Object(D.a)(_,2),S=E[0],w=E[1],C=Object(d.useState)(!1),I=Object(D.a)(C,2),B=I[0],x=I[1],T=Object(d.useState)(null),P=Object(D.a)(T,2),N=P[0],L=P[1],A=Object(d.useRef)(!1),M=Object(g.useSelect)((function(e){return{fetchSearchSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}}),[]).fetchSearchSuggestions,R=n&&Object(xt.filterURLForDisplay)(Object(xt.safeDecodeURI)(n.url))||"";Object(d.useEffect)((function(){void 0!==a&&a!==S&&w(a)}),[a]),Object(d.useEffect)((function(){A.current&&m.current&&!m.current.contains(document.activeElement)&&(Qo.focus.focusable.find(m.current)[0]||m.current).focus();A.current=!1}),[S]),Object(d.useEffect)((function(){return function(){s.current&&s.current.cancel(),f.current&&f.current.cancel()}}),[]);var F=function(e){var t="URL",n=Object(xt.getProtocol)(e)||"";return n.includes("mailto")&&(t="mailto"),n.includes("tel")&&(t="tel"),Object(p.startsWith)(e,"#")&&(t="internal"),Promise.resolve([{id:e,title:e,url:"URL"===t?Object(xt.prependHTTP)(e):e,type:t}])},V=function(){var e=Object(da.a)(tn.a.mark((function e(t,n){var r,o;return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([M(t,ka({},n.isInitialSuggestions?{perPage:3}:{})),F(t)]);case 2:return r=e.sent,o=!t.includes(" "),r=o&&!n.isInitialSuggestions?r[0].concat(r[1]):r[0],e.abrupt("return",G(t)?r:r.concat({title:t,url:t,type:"__CREATE__"}));case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();function H(){A.current=!!m.current&&m.current.contains(document.activeElement),w(!1)}function G(e){var t=Object(p.startsWith)(e,"#");return Object(xt.isURL)(e)||e&&e.includes("www.")||t}var K=Object(d.useCallback)((function(e,t){return G(e)?F(e):V(e,t)}),[F,M]),W=function(){var e=Object(da.a)(tn.a.mark((function e(t){var n;return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return x(!0),L(null),e.prev=2,f.current=ya(Promise.resolve(l(t))),e.next=6,f.current.promise;case 6:n=e.sent,x(!1),n?(i(n),H()):w(!0),e.next=18;break;case 11:if(e.prev=11,e.t0=e.catch(2),!e.t0||!e.t0.isCanceled){e.next=15;break}return e.abrupt("return");case 15:L(e.t0.message||Object(z.__)("An unknown error occurred during creation. Please try again.")),x(!1),w(!0);case 18:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t){return e.apply(this,arguments)}}(),q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(!1),i(ka({},t,{},e))};return Object(d.createElement)("div",{tabIndex:-1,ref:m,className:"block-editor-link-control"},B&&Object(d.createElement)("div",{className:"block-editor-link-control__loading"},Object(d.createElement)(U.Spinner,null)," ",Object(z.__)("Creating"),"…"),(S||!n)&&!B&&Object(d.createElement)(va,{value:k,onChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";y(e)},onSelect:function(){var e=Object(da.a)(tn.a.mark((function e(t){return tn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("__CREATE__"!==t.type){e.next=5;break}return e.next=3,W(k);case 3:e.next=7;break;case 5:q(t,n),H();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),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=1===o.length&&p.includes(o[0].type.toLowerCase()),m=l&&!h&&!s,g="block-editor-link-control-search-results-label-".concat(v),O=s?Object(z.__)("Recently updated"):Object(z.sprintf)(Object(z.__)('Search results for "%s"'),k),j=Object(d.createElement)(s?d.Fragment:U.VisuallyHidden,{},Object(d.createElement)("span",{className:"block-editor-link-control__search-results-label",id:g},O));return Object(d.createElement)("div",{className:"block-editor-link-control__search-results-wrapper"},j,Object(d.createElement)("div",Object(u.a)({},t,{className:f,"aria-labelledby":g}),o.map((function(e,t){return m&&"__CREATE__"===e.type?Object(d.createElement)(Oa,{searchTerm:k,onClick:Object(da.a)(tn.a.mark((function t(){return tn.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,W(e.title);case 2:case"end":return t.stop()}}),t)}))),key:e.type,itemProps:r(e,t),isSelected:t===c}):"__CREATE__"===e.type?null:Object(d.createElement)(ma,{key:"".concat(e.id,"-").concat(e.type),itemProps:r(e,t),suggestion:e,index:t,onClick:function(){H(),i(ka({},n,{},e))},isSelected:t===c,isURL:p.includes(e.type.toLowerCase()),searchTerm:k})}))))},fetchSuggestions:K,showInitialSuggestions:c,errorMessage:N}),n&&!S&&!B&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)("div",{"aria-label":Object(z.__)("Currently selected"),"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)(U.ExternalLink,{className:"block-editor-link-control__search-item-title",href:n.url},n&&n.title||R),n&&n.title&&Object(d.createElement)("span",{className:"block-editor-link-control__search-item-info"},R)),Object(d.createElement)(U.Button,{isSecondary:!0,onClick:function(){return w(!0)},className:"block-editor-link-control__search-item-action"},Object(z.__)("Edit")))),Object(d.createElement)(pa,{value:n,settings:r,onChange:i}))},Ea=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M13 11V4c0-.55-.45-1-1-1h-1.67L9 1H5L3.67 3H2c-.55 0-1 .45-1 1v7c0 .55.45 1 1 1h10c.55 0 1-.45 1-1zM7 4.5c1.38 0 2.5 1.12 2.5 2.5S8.38 9.5 7 9.5 4.5 8.38 4.5 7 5.62 4.5 7 4.5zM14 6h5v10.5c0 1.38-1.12 2.5-2.5 2.5S14 17.88 14 16.5s1.12-2.5 2.5-2.5c.17 0 .34.02.5.05V9h-3V6zm-4 8.05V13h2v3.5c0 1.38-1.12 2.5-2.5 2.5S7 17.88 7 16.5 8.12 14 9.5 14c.17 0 .34.02.5.05z"})),Sa=n(267),wa=n(152),Ca=Object(U.withFilters)("editor.MediaUpload")((function(){return null}));var Ia=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})),Ba=function(e){return e.stopPropagation()},xa=function(e){function t(e){var n;return Object(_.a)(this,t),(n=Object(S.a)(this,Object(w.a)(t).call(this,e))).onChange=n.onChange.bind(Object(C.a)(n)),n.onFocus=n.onFocus.bind(Object(C.a)(n)),n.onKeyDown=n.onKeyDown.bind(Object(C.a)(n)),n.selectLink=n.selectLink.bind(Object(C.a)(n)),n.handleOnClick=n.handleOnClick.bind(Object(C.a)(n)),n.bindSuggestionNode=n.bindSuggestionNode.bind(Object(C.a)(n)),n.autocompleteRef=e.autocompleteRef||Object(d.createRef)(),n.inputRef=Object(d.createRef)(),n.updateSuggestions=Object(p.throttle)(n.updateSuggestions.bind(Object(C.a)(n)),200),n.suggestionNodes=[],n.isUpdatingSuggestions=!1,n.state={suggestions:[],showSuggestions:!1,selectedSuggestion:null},n}return Object(I.a)(t,e),Object(E.a)(t,[{key:"componentDidUpdate",value:function(e){var t=this,n=this.state,r=n.showSuggestions,o=n.selectedSuggestion,i=this.props.value;r&&null!==o&&!this.scrollingIntoView&&(this.scrollingIntoView=!0,It()(this.suggestionNodes[o],this.autocompleteRef.current,{onlyScrollIfNeeded:!0}),this.props.setTimeout((function(){t.scrollingIntoView=!1}),100)),e.value!==i&&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(xt.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(z.sprintf)(Object(z._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(z.__)("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:"onFocus",value:function(){var e=this.state.suggestions,t=this.props,n=t.disableSuggestions,r=t.value;!r||n||this.isUpdatingSuggestions||e&&e.length||this.updateSuggestions(r)}},{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 Bt.UP:e.stopPropagation(),e.preventDefault();var a=r?r-1:o.length-1;this.setState({selectedSuggestion:a});break;case Bt.DOWN:e.stopPropagation(),e.preventDefault();var l=null===r||r===o.length-1?0:r+1;this.setState({selectedSuggestion:l});break;case Bt.TAB:null!==this.state.selectedSuggestion&&(this.selectLink(c),this.props.speak(Object(z.__)("Link selected.")));break;case Bt.ENTER:null!==this.state.selectedSuggestion&&(e.stopPropagation(),this.selectLink(c))}}else switch(e.keyCode){case Bt.UP:0!==e.target.selectionStart&&(e.stopPropagation(),e.preventDefault(),e.target.setSelectionRange(0,0));break;case Bt.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(z.__)("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,E=j.loading,S="url-input-control-".concat(r),w="block-editor-url-input-suggestions-".concat(r),C="block-editor-url-input-suggestion-".concat(r),I={id:w,ref:this.autocompleteRef,role:"listbox"},B=function(t,n){return{role:"option",tabIndex:"-1",id:"".concat(C,"-").concat(n),ref:e.bindSuggestionNode(n),"aria-selected":n===_}};return Object(d.createElement)(U.BaseControl,{label:n,id:S,className:b()("block-editor-url-input",o,{"is-full-width":i,"has-border":c})},Object(d.createElement)("input",{className:"block-editor-url-input__input",autoFocus:g,type:"text","aria-label":Object(z.__)("URL"),required:!0,value:h,onChange:this.onChange,onFocus:this.onFocus,onInput:Ba,placeholder:s,onKeyDown:this.onKeyDown,role:"combobox","aria-expanded":k,"aria-autocomplete":"list","aria-owns":w,"aria-activedescendant":null!==_?"".concat(C,"-").concat(_):void 0,ref:this.inputRef}),E&&Object(d.createElement)(U.Spinner,null),Object(p.isFunction)(a)&&k&&!!y.length&&a({suggestions:y,selectedSuggestion:_,suggestionsListProps:I,buildSuggestionItemProps:B,isLoading:E,handleSuggestionClick:this.handleOnClick,isInitialSuggestions:O&&!(h&&h.length)}),!Object(p.isFunction)(a)&&k&&!!y.length&&Object(d.createElement)(U.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)(U.Button,Object(u.a)({},B(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),Ta=Object(h.compose)(h.withSafeTimeout,U.withSpokenMessages,h.withInstanceId,Object(g.withSelect)((function(e,t){if(!Object(p.isFunction)(t.__experimentalFetchLinkSuggestions))return{__experimentalFetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))(xa);function Pa(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)(Ta,{value:o,onChange:r,autocompleteRef:t}),Object(d.createElement)(U.Button,{icon:ga.a,label:Object(z.__)("Apply"),type:"submit"}))}var Na=n(266),La=Object(U.createSlotFill)("BlockEditorURLPopoverLinkViewer"),Aa=La.Slot,Ma=La.Fill;function Ra(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)(U.ExternalLink,{className:o,href:t},n||Object(xt.filterURLForDisplay)(Object(xt.safeDecodeURI)(t))):Object(d.createElement)("span",{className:o})}function Da(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)(Ra,{url:o,urlLabel:i,className:n}),r&&Object(d.createElement)(U.Button,{icon:Na.a,label:Object(z.__)("Edit"),onClick:r}),Object(d.createElement)(Aa,{fillProps:Object(d.useMemo)((function(){return{url:o}}),[o])}))}Da.Fill=Ma;var Fa=Da,Va=Object(h.compose)(U.withNotices)((function(e){var t,n=e.mediaURL,r=e.mediaId,o=e.allowedTypes,i=e.accept,c=e.onSelect,a=e.onSelectURL,l=e.onError,s=e.name,u=void 0===s?Object(z.__)("Replace"):s,f=Object(d.useState)(!1),b=Object(D.a)(f,2),p=b[0],h=b[1],m=Object(d.useState)(!1),v=Object(D.a)(m,2),O=v[0],j=v[1],k=Object(d.useState)(n),y=Object(D.a)(k,2),_=y[0],E=y[1],S=Object(g.useSelect)((function(e){return e("core/block-editor").getSettings().mediaUpload}),[]),w=Object(d.createRef)(),C=function(e){c(e),E(e.url),Object(ye.speak)(Object(z.__)("The media file has been replaced"))},I=function(e){e.keyCode===Bt.DOWN&&(e.preventDefault(),e.stopPropagation(),e.target.click())};return t=O?Object(d.createElement)(Pa,{onKeyDown:function(e){[Bt.LEFT,Bt.DOWN,Bt.RIGHT,Bt.UP,Bt.BACKSPACE,Bt.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},onKeyPress:function(e){e.stopPropagation()},value:_,isFullWidthInput:!0,hasInputBorder:!0,onChangeInputValue:function(e){return E(e)},onSubmit:function(e){e.preventDefault(),a(_),j(!1),w.current.focus()}}):Object(d.createElement)(Fa,{isFullWidth:!0,className:"block-editor-media-replace-flow__link-viewer",url:_,onEditLinkClick:function(){return j(!O)}}),Object(d.createElement)(U.Dropdown,{contentClassName:"block-editor-media-replace-flow__options",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return Object(d.createElement)(U.ToolbarGroup,{className:"media-replace-flow"},Object(d.createElement)(U.Button,{ref:w,"aria-expanded":t,onClick:n,onKeyDown:I},u,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)(U.NavigableMenu,null,Object(d.createElement)(Ca,{value:r,onSelect:function(e){return C(e)},allowedTypes:o,render:function(e){var t=e.open;return Object(d.createElement)(U.MenuItem,{icon:Ea,onClick:t},Object(z.__)("Open Media Library"))}}),Object(d.createElement)(Ia,null,Object(d.createElement)(U.FormFileUpload,{onChange:function(e){!function(e,t){var n=e.target.files;S({allowedTypes:o,filesList:n,onFileChange:function(e){var n=Object(D.a)(e,1)[0];C(n),t()},onError:l})}(e,n)},accept:i,render:function(e){var t=e.openFileDialog;return Object(d.createElement)(U.MenuItem,{icon:Sa.a,onClick:function(){t()}},Object(z.__)("Upload"))}})),a&&Object(d.createElement)(U.MenuItem,{icon:wa.a,onClick:function(){return h(!p)},"aria-expanded":p},Object(d.createElement)("div",null," ",Object(z.__)("Insert from URL")," "))),p&&Object(d.createElement)("div",{className:"block-editor-media-flow__url-input"},t))}})})),Ha=n(38),za=n.n(Ha),Ua=n(268),Ga=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggleSettingsVisibility=e.toggleSettingsVisibility.bind(Object(C.a)(e)),e.state={isSettingsExpanded:!1},e}return Object(I.a)(t,e),Object(E.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)(U.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)(U.Button,{className:"block-editor-url-popover__settings-toggle",icon:Ua.a,label:Object(z.__)("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);Ga.LinkEditor=Pa,Ga.LinkViewer=Fa;var Ka=Ga,Wa=function(e){var t=e.src,n=e.onChange,r=e.onSubmit,o=e.onClose;return Object(d.createElement)(Ka,{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(z.__)("URL"),placeholder:Object(z.__)("Paste or type URL"),onChange:n,value:t}),Object(d.createElement)(U.Button,{className:"block-editor-media-placeholder__url-input-submit-button",icon:ga.a,label:Object(z.__)("Apply"),type:"submit"})))},qa=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={src:"",isURLInputVisible:!1},e.onChangeSrc=e.onChangeSrc.bind(Object(C.a)(e)),e.onSubmitSrc=e.onSubmitSrc.bind(Object(C.a)(e)),e.onUpload=e.onUpload.bind(Object(C.a)(e)),e.onFilesUpload=e.onFilesUpload.bind(Object(C.a)(e)),e.openURLInput=e.openURLInput.bind(Object(C.a)(e)),e.closeURLInput=e.closeURLInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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(D.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(z.__)("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(z.__)("Upload a media file or pick one from your media library."),k?v=Object(z.__)("Upload an audio file, pick one from your media library, or add one with a URL."):y?v=Object(z.__)("Upload an image file, pick one from your media library, or add one with a URL."):_&&(v=Object(z.__)("Upload a video file, pick one from your media library, or add one with a URL."))),void 0===O&&(O=Object(z.__)("Media"),k?O=Object(z.__)("Audio"):y?O=Object(z.__)("Image"):_&&(O=Object(z.__)("Video")))}var E=b()("block-editor-media-placeholder",i,{"is-appender":a});return Object(d.createElement)(U.Placeholder,{icon:c,label:O,instructions:v,className:E,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)(U.DropZone,{onFilesDrop:this.onFilesUpload,onHTMLDrop:r})}},{key:"renderCancelLink",value:function(){var e=this.props.onCancel;return e&&Object(d.createElement)(U.Button,{className:"block-editor-media-placeholder__cancel-button",title:Object(z.__)("Cancel"),isLink:!0,onClick:e},Object(z.__)("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)(U.Button,{className:"block-editor-media-placeholder__button",onClick:this.openURLInput,isPressed:t,isSecondary:!0},Object(z.__)("Insert from URL")),t&&Object(d.createElement)(Wa,{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)(Ca,{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)(U.Button,{isSecondary:!0,onClick:function(e){e.stopPropagation(),t()}},Object(z.__)("Media Library"))}});if(a&&c)return Object(d.createElement)(d.Fragment,null,this.renderDropZone(),Object(d.createElement)(U.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)(U.Button,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button")},Object(z.__)("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)(U.FormFileUpload,{isSecondary:!0,className:b()("block-editor-media-placeholder__button","block-editor-media-placeholder__upload-button"),onChange:this.onUpload,accept:n,multiple:s},Object(z.__)("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&&za()("wp.blockEditor.MediaPlaceholder dropZoneUIOnly prop",{alternative:"disableMediaButtons"}),Object(d.createElement)(Ia,null,this.renderDropZone())):Object(d.createElement)(Ia,{fallback:this.renderPlaceholder(this.renderUrlSelectionUI())},this.renderMediaUploadChecked())}}]),t}(d.Component),$a=Object(g.withSelect)((function(e){return{mediaUpload:(0,e("core/block-editor").getSettings)().mediaUpload}})),Ya=Object(h.compose)($a,Object(U.withFilters)("editor.MediaPlaceholder"))(qa),Xa=Object(d.forwardRef)((function(e,t){var n=e.onChange,r=e.className,o=Object(F.a)(e,["onChange","className"]);return Object(d.createElement)(fi.a,Object(u.a)({ref:t,className:b()("block-editor-plain-text",r),onChange:function(e){return n(e.target.value)}},o))}));function Za(e){var t=e.property,n=e.viewport,r=e.desc,o=Object(h.useInstanceId)(Za),i=r||Object(z.sprintf)(Object(z._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 Ja=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(z.__)("All")}:s,f=e.viewports,p=void 0===f?[{id:"small",label:Object(z.__)("Small screens")},{id:"medium",label:Object(z.__)("Medium screens")},{id:"large",label:Object(z.__)("Large screens")}]:f;if(!t||!n||!i)return null;var h=r||Object(z.sprintf)(Object(z.__)("Use the same %s on all screensizes."),n),m=Object(z.__)("Toggle between using the same value for all screen sizes or using a unique value per screen size."),g=i(Object(d.createElement)(Za,{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)(U.ToggleControl,{className:"block-editor-responsive-block-control__toggle",label:h,checked:!l,onChange:o,help:m}),Object(d.createElement)("div",{className:b()("block-editor-responsive-block-control__group",{"is-responsive":l})},!l&&g,l&&(c?c(p):p.map((function(e){return Object(d.createElement)(d.Fragment,{key:e.id},i(Object(d.createElement)(Za,{property:n,viewport:e}),e))}))))))},Qa=[Bt.rawShortcut.primary("z"),Bt.rawShortcut.primaryShift("z"),Bt.rawShortcut.primary("y")],el=Object(d.createElement)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(p.fromPairs)(Qa.map((function(e){return[e,function(e){return e.preventDefault()}]})))}),tl=function(){return el},nl=n(42);function rl(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(nl.createBlobURL)(e),'">')})).join("")}var ol={position:"bottom left"},il=function(){return Object(d.createElement)("div",{className:"block-editor-format-toolbar"},Object(d.createElement)(U.Toolbar,null,["bold","italic","link","text-color"].map((function(e){return Object(d.createElement)(U.Slot,{name:"RichText.ToolbarControls.".concat(e),key:e})})),Object(d.createElement)(U.Slot,{name:"RichText.ToolbarControls"},(function(e){return 0!==e.length&&Object(d.createElement)(U.DropdownMenu,{icon:!1,label:Object(z.__)("More rich text controls"),controls:Object(p.orderBy)(e.map((function(e){return Object(D.a)(e,1)[0].props})),"title"),popoverProps:ol})}))))},cl=function(e){var t=e.inline,n=e.anchorRef;return t?Object(d.createElement)(U.Popover,{noArrow:!0,position:"top center",focusOnMount:!1,anchorRef:n,className:"block-editor-rich-text__inline-format-toolbar"},Object(d.createElement)(il,null)):Object(d.createElement)(yt,null,Object(d.createElement)(il,null))},al=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onUse=e.onUse.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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)(U.KeyboardShortcuts,{bindGlobal:!0,shortcuts:Object(s.a)({},Bt.rawShortcut[n](t),this.onUse)})}}]),t}(d.Component);function ll(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=Bt.displayShortcut[r](o)),Object(d.createElement)(U.Fill,{name:c},Object(d.createElement)(U.ToolbarButton,Object(u.a)({},i,{shortcut:t})))}var sl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).onInput=e.onInput.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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 ul(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 dl(e){if(!0===e||"p"===e||"li"===e)return!0===e?"p":e}var fl=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,E=t.allowedFormats,S=t.formattingControls,w=t.withoutInteractiveFormatting,C=t.onRemove,I=t.onMerge,B=t.onSplit,x=t.__unstableOnSplitMiddle,T=t.identifier,P=t.start,N=t.reversed,L=t.style,A=t.preserveWhiteSpace,M=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 z=Object(d.useRef)(),U=n||z,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?ul(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ul(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=dl(p),fe=function(e){var t=e.allowedFormats,n=e.formattingControls;if(t||n)return t||(za()("wp.blockEditor.RichText formattingControls prop",{alternative:"allowedFormats"}),n.map((function(e){return"core/".concat(e)})))}({allowedFormats:E,formattingControls:S}),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),C&&Object(c.isEmpty)(t)&&n&&C(!n)}),[I,C]),ve=Object(d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k&&B){var n=[],r=Object(c.split)(e),o=Object(D.a)(r,2),i=o[0],a=o[1],l=t.length>0;l&&Object(c.isEmpty)(i)||n.push(B(Object(c.toHTMLString)({value:i,multilineTag:de}))),l?n.push.apply(n,Object(R.a)(t)):x&&n.push(x()),!l&&x&&Object(c.isEmpty)(a)||n.push(B(Object(c.toHTMLString)({value:a,multilineTag:de})));var s=l?n.length-1:1;k(n,s)}}),[k,B,de,x]),Oe=Object(d.useCallback)((function(e){var t=e.value,n=e.onChange,r=e.shiftKey,o=k&&B;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,B,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:rl(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&&B?"AUTO":"INLINE";M&&Object(c.isEmpty)(t)&&Object(xt.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(R.a)(s),Object(R.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,B,ve,M,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:U,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:w,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)(cl,{inline:m,anchorRef:U.current}),t&&Object(d.createElement)(tl,null),Object(d.createElement)(Qe,{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?(za()("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}));fl.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=dl(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},fl.isEmpty=function(e){return!e||0===e.length},fl.Content.defaultProps={format:"string",value:""};var bl=fl,pl=Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(U.Path,{fill:"none",d:"M0 0h24v24H0V0z"}),Object(d.createElement)(U.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"})),hl=Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},Object(d.createElement)(U.Path,{d:"M6.5 1v21.5l6-6.5H21L6.5 1zm5.1 13l-3.1 3.4V5.9l7.8 8.1h-4.7z"}));var ml=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)(U.Dropdown,{renderToggle:function(t){var n=t.isOpen,r=t.onToggle;return Object(d.createElement)(U.Button,{icon:e?hl:pl,"aria-expanded":n,onClick:r,label:Object(z.__)("Tools")})},renderContent:function(){return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(U.NavigableMenu,{role:"menu","aria-label":Object(z.__)("Tools")},Object(d.createElement)(U.MenuItemsChoice,{value:e?"select":"edit",onSelect:n,choices:[{value:"edit",label:Object(d.createElement)(d.Fragment,null,pl,Object(z.__)("Edit"))},{value:"select",label:Object(d.createElement)(d.Fragment,null,hl,Object(z.__)("Select"))}]})),Object(d.createElement)("div",{className:"block-editor-tool-selector__help"},Object(z.__)("Tools offer different interactions for block selection & editing. To select, press Escape, to go back to editing, press Enter.")))}})},gl=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M18 9v2H6l4 4-1 2-7-7 7-7 1 2-4 4h12z"})),vl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).toggle=e.toggle.bind(Object(C.a)(e)),e.submitLink=e.submitLink.bind(Object(C.a)(e)),e.state={expanded:!1},e}return Object(I.a)(t,e),Object(E.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(z.__)("Edit link"):Object(z.__)("Insert link");return Object(d.createElement)("div",{className:"block-editor-url-input__button"},Object(d.createElement)(U.Button,{icon:wa.a,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)(U.Button,{className:"block-editor-url-input__back",icon:gl,label:Object(z.__)("Close"),onClick:this.toggle}),Object(d.createElement)(Ta,{value:t||"",onChange:n}),Object(d.createElement)(U.Button,{icon:ga.a,label:Object(z.__)("Submit"),type:"submit"}))))}}]),t}(d.Component),Ol=n(113),jl=["noreferrer","noopener"],kl=Object(d.createElement)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(U.Path,{d:"M0,0h24v24H0V0z",fill:"none"}),Object(d.createElement)(U.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)(U.Path,{d:"m14.14 11.86l-3 3.87-2.14-2.59-3 3.86h12l-3.86-5.14z"})),yl=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(D.a)(f,2),h=b[0],m=b[1],g=Object(d.useCallback)((function(){m(!0)})),v=Object(d.useState)(!1),O=Object(D.a)(v,2),j=O[0],k=O[1],y=Object(d.useState)(null),_=Object(D.a)(y,2),E=_[0],S=_[1],w=Object(d.useRef)(null),C=function(e){e.stopPropagation()},I=function(e){[Bt.LEFT,Bt.DOWN,Bt.RIGHT,Bt.UP,Bt.BACKSPACE,Bt.ENTER].indexOf(e.keyCode)>-1&&e.stopPropagation()},B=Object(d.useCallback)((function(){"media"!==t&&"attachment"!==t||S(""),k(!0)})),x=Object(d.useCallback)((function(){k(!1)})),T=Object(d.useCallback)((function(){S(null),x(),m(!1)})),P=function(e){var t=e;return void 0===e||Object(p.isEmpty)(t)||Object(p.isEmpty)(t)||(Object(p.each)(jl,(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=w.current;t&&t.contains(e.target)||(m(!1),S(null),x())}})),L=Object(d.useCallback)((function(){return function(e){E&&n({href:E}),x(),S(null),e.preventDefault()}})),A=Object(d.useCallback)((function(){n({linkDestination:"none",href:""})})),M=function(){return[{linkDestination:"media",title:Object(z.__)("Media File"),url:"image"===i?c:void 0,icon:kl},{linkDestination:"attachment",title:Object(z.__)("Attachment Page"),url:"image"===i?a:void 0,icon:Object(d.createElement)(U.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(U.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),Object(d.createElement)(U.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"}))}]},R=Object(d.createElement)(d.Fragment,null,Object(d.createElement)(U.ToggleControl,{label:Object(z.__)("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)(U.TextControl,{label:Object(z.__)("Link Rel"),value:P(u)||"",onChange:function(e){n({rel:e})},onKeyPress:C,onKeyDown:I}),Object(d.createElement)(U.TextControl,{label:Object(z.__)("Link CSS Class"),value:s||"",onKeyPress:C,onKeyDown:I,onChange:function(e){n({linkClass:e})}})),F=null!==E?E:r,V=(Object(p.find)(M(),["linkDestination",t])||{}).title;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(U.Button,{icon:wa.a,className:"components-toolbar__control",label:r?Object(z.__)("Edit link"):Object(z.__)("Insert link"),"aria-expanded":h,onClick:g}),h&&Object(d.createElement)(Ka,{onFocusOutside:N(),onClose:T,renderSettings:function(){return R},additionalControls:!F&&Object(d.createElement)(U.NavigableMenu,null,Object(p.map)(M(),(function(e){return Object(d.createElement)(U.MenuItem,{key:e.linkDestination,icon:e.icon,onClick:function(){var t,r,o;S(null),t=e.url,o=M(),r=t?(Object(p.find)(o,(function(e){return e.url===t}))||{linkDestination:"custom"}).linkDestination:"none",n({linkDestination:r,href:t}),x()}},e.title)})))},(!r||j)&&Object(d.createElement)(Ka.LinkEditor,{className:"block-editor-format-toolbar__link-container-content",value:F,onChangeInputValue:S,onKeyDown:I,onKeyPress:C,onSubmit:L(),autocompleteRef:w}),r&&!j&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Ka.LinkViewer,{className:"block-editor-format-toolbar__link-container-content",onKeyPress:C,url:r,onEditLinkClick:B,urlLabel:V}),Object(d.createElement)(U.Button,{icon:Ol.a,label:Object(z.__)("Remove link"),onClick:A}))))},_l=Object(U.createSlotFill)("__experimentalBlockSettingsMenuFirstItem"),El=_l.Fill,Sl=_l.Slot;El.Slot=Sl;var wl=El,Cl=Object(g.withSelect)((function(e){return{selectedBlockClientId:e("core/block-editor").getBlockSelectionStart()}}))((function(e){var t=e.selectedBlockClientId;return t&&Object(d.createElement)(U.Button,{isSecondary:!0,className:"block-editor-skip-to-selected-block",onClick:function(){pi(t).focus()}},Object(z.__)("Skip to the selected block"))})),Il=n(173),Bl=n.n(Il);function xl(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 Tl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xl(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pl(e,t,n){var r=new Bl.a(e);return t&&r.remove("is-style-"+t.name),r.add("is-style-"+n.name),r.value}var Nl=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(z._x)("Default","block style"),isDefault:!0}].concat(Object(R.a)(t)));var f=function(e,t){var n=!0,r=!1,o=void 0;try{for(var i,c=new Bl.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=Pl(n,f,e);r(t),u(null),l()}return Object(d.createElement)("div",{className:"block-editor-block-styles"},t.map((function(e){var t=Pl(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){Bt.ENTER!==t.keyCode&&Bt.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)(oc,{viewportWidth:500,blocks:o.example?Object(i.getBlockFromExample)(c.name,{attributes:Tl({},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))})))})),Ll=n(119);var Al=Object(g.withSelect)((function(e){return{blocks:(0,e("core/block-editor").getMultiSelectedBlocks)()}}))((function(e){var t=e.blocks,n=Object(Ll.count)(Object(i.serialize)(t),"words");return Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card"},Object(d.createElement)(Et,{icon:Object(d.createElement)(U.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(U.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(z.sprintf)(Object(z._n)("%d block","%d blocks",t.length),t.length)),Object(d.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(z.sprintf)(Object(z._n)("%d word","%d words",n),n))))}));function Ml(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(z.__)("Not set"),value:""}].concat(Object(R.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)(U.SelectControl,{options:c,value:r||"",label:Object(z.__)("Default Style"),onChange:a})}var Rl=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)(Al,null);var s=c===Object(i.getUnregisteredTypeHandlerName)();return t&&o&&!s?Object(d.createElement)("div",{className:"block-editor-block-inspector"},Object(d.createElement)(sc,{blockType:t}),r&&Object(d.createElement)("div",null,Object(d.createElement)(U.PanelBody,{title:Object(z.__)("Styles"),initialOpen:!1},Object(d.createElement)(Nl,{clientId:o}),Object(d.createElement)(Ml,{blockName:t.name}))),Object(d.createElement)(Be.Slot,{bubblesVirtually:!0}),Object(d.createElement)("div",null,Object(d.createElement)(U.__experimentalSlotFillConsumer,null,(function(e){return(0,e.hasFills)(ua.slotName)&&Object(d.createElement)(U.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(z.__)("Advanced"),initialOpen:!1},Object(d.createElement)(ua.Slot,{bubblesVirtually:!0}))}))),Object(d.createElement)(Cl,{key:"back"})):l?Object(d.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(z.__)("No block selected.")):null}));function Dl(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(z.__)("Blocks cannot be moved up as they are already at the top");if(o>0&&r)return Object(z.__)("Blocks cannot be moved down as they are already at the bottom");if(o<0&&!n)return Object(z.sprintf)(Object(z._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(z.sprintf)(Object(z._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(z.sprintf)(Object(z.__)("Block %s is the only block, and cannot be moved"),t);if(i>0&&!o){var u=s("down");if("down"===u)return Object(z.sprintf)(Object(z.__)("Move %1$s block from position %2$d down to position %3$d"),t,l,l+1);if("left"===u)return Object(z.sprintf)(Object(z.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l+1);if("right"===u)return Object(z.sprintf)(Object(z.__)("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(z.sprintf)(Object(z.__)("Block %1$s is at the end of the content and can’t be moved down"),t);if("left"===d)return Object(z.sprintf)(Object(z.__)("Block %1$s is at the end of the content and can’t be moved left"),t);if("right"===d)return Object(z.sprintf)(Object(z.__)("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(z.sprintf)(Object(z.__)("Move %1$s block from position %2$d up to position %3$d"),t,l,l-1);if("left"===f)return Object(z.sprintf)(Object(z.__)("Move %1$s block from position %2$d left to position %3$d"),t,l,l-1);if("right"===f)return Object(z.sprintf)(Object(z.__)("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(z.sprintf)(Object(z.__)("Block %1$s is at the beginning of the content and can’t be moved up"),t);if("left"===b)return Object(z.sprintf)(Object(z.__)("Block %1$s is at the beginning of the content and can’t be moved left"),t);if("right"===b)return Object(z.sprintf)(Object(z.__)("Block %1$s is at the beginning of the content and can’t be moved right"),t)}}var Fl=Object(d.createElement)(U.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(U.Path,{d:"M4.5 9l5.6-5.7 1.4 1.5L7.3 9l4.2 4.2-1.4 1.5L4.5 9z"})),Vl=Object(d.createElement)(U.SVG,{width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},Object(d.createElement)(U.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"})),Hl=Object(d.createElement)(U.SVG,{width:"18",height:"18",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},Object(d.createElement)(U.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"})),zl=n(269),Ul=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)(U.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})}))},Gl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={isFocused:!1},e.onFocus=e.onFocus.bind(Object(C.a)(e)),e.onBlur=e.onBlur.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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?Vl:Fl:zl.a:"down"===e?"horizontal"===r?o?Fl:Vl:Ua.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)(U.ToolbarGroup,{className:b()("block-editor-block-mover",{"is-visible":v||!h,"is-horizontal":"horizontal"===r})},Object(d.createElement)(U.Button,{className:"block-editor-block-mover__control",onClick:i?null:t,icon:j("up"),label:Object(z.sprintf)(Object(z.__)("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)(Ul,{clientIds:a},(function(e){var t=e.onDraggableStart,n=e.onDraggableEnd;return Object(d.createElement)(U.Button,{icon:Hl,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)(U.Button,{className:"block-editor-block-mover__control",onClick:c?null:n,icon:j("down"),label:Object(z.sprintf)(Object(z.__)("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"},Dl(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"},Dl(O,l&&l.title,s,i,c,1,r,o)))}}]),t}(d.Component),Kl=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)(Gl),Wl=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).bindContainer=e.bindContainer.bind(Object(C.a)(e)),e.clearSelectionIfFocusTarget=e.clearSelectionIfFocusTarget.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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),ql=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}}))])(Wl),$l=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M6 15V2h10v13H6zm-1 1h8v2H3V5h2v11z"})),Yl=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M11 8H9v2H7v2h2v2h2v-2h2v-2h-2V8zm-1-4c-3.9 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zM3 1v2h14V1H3z"})),Xl=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.Path,{d:"M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z"})),Zl=Object(d.createElement)(et.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(d.createElement)(et.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 Jl=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})})),Ql=n(270);var es=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(z.__)("Edit as HTML"):Object(z.__)("Edit visually");return Object(d.createElement)(U.MenuItem,{onClick:r,icon:Ql.a},!c&&s)})),ts=n(271);function ns(e){var t=e.shouldRender,n=e.onClick,r=e.small;if(!t)return null;var o=Object(z.__)("Convert to Blocks");return Object(d.createElement)(U.MenuItem,{onClick:n,icon:ts.a},!r&&o)}var rs=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)}))}}})))(ns),os=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)}))}}})))(ns);function is(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 cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?is(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):is(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var as=Object(U.createSlotFill)("BlockSettingsMenuControls"),ls=as.Fill,ss=as.Slot;ls.Slot=function(e){var t=e.fillProps,n=Object(g.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlocksByClientId,r=t.getSelectedBlockClientIds;return{selectedBlocks:Object(p.map)(n(r()),(function(e){return e.name}))}}),[]).selectedBlocks;return Object(d.createElement)(ss,{fillProps:cs({},t,{selectedBlocks:n})},(function(e){return!Object(p.isEmpty)(e)&&Object(d.createElement)(U.MenuGroup,null,e)}))};var us=ls,ds={className:"block-editor-block-settings-menu__popover",position:"bottom right"};var fs=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)(Jl,{clientIds:t},(function(e){var t=e.canDuplicate,n=e.canInsertDefaultBlock,c=e.isLocked,a=e.onDuplicate,l=e.onInsertAfter,s=e.onInsertBefore,u=e.onRemove;return Object(d.createElement)(U.Toolbar,null,Object(d.createElement)(U.DropdownMenu,{icon:ei.a,label:Object(z.__)("More options"),className:"block-editor-block-settings-menu",popoverProps:ds},(function(e){var f=e.onClose;return Object(d.createElement)(d.Fragment,null,Object(d.createElement)(U.MenuGroup,null,Object(d.createElement)(wl.Slot,{fillProps:{onClose:f}}),1===r&&Object(d.createElement)(os,{clientId:o}),1===r&&Object(d.createElement)(rs,{clientId:o}),t&&Object(d.createElement)(U.MenuItem,{onClick:Object(p.flow)(f,a),icon:$l,shortcut:i.duplicate},Object(z.__)("Duplicate")),n&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(U.MenuItem,{onClick:Object(p.flow)(f,s),icon:Yl,shortcut:i.insertBefore},Object(z.__)("Insert Before")),Object(d.createElement)(U.MenuItem,{onClick:Object(p.flow)(f,l),icon:Xl,shortcut:i.insertAfter},Object(z.__)("Insert After"))),1===r&&Object(d.createElement)(es,{clientId:o,onToggle:f})),Object(d.createElement)(us.Slot,{fillProps:{onClose:f}}),Object(d.createElement)(U.MenuGroup,null,!c&&Object(d.createElement)(U.MenuItem,{onClick:Object(p.flow)(f,u),icon:Zl,shortcut:i.remove},Object(z._n)("Remove Block","Remove Blocks",r))))})))}))};function bs(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 ps(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bs(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var hs=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).state={hoveredClassName:null},e.onHoverClassName=e.onHoverClassName.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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=Mc.a;return c||b.length?Object(d.createElement)(U.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(z.__)("Change block type or style"):Object(z.sprintf)(Object(z._n)("Change type of %d block","Change type of %d blocks",n.length),n.length);return Object(d.createElement)(U.Toolbar,null,Object(d.createElement)(U.Button,{className:"block-editor-block-switcher__toggle",onClick:t,"aria-haspopup":"true","aria-expanded":r,label:o,onKeyDown:function(e){r||e.keyCode!==Bt.DOWN||(e.preventDefault(),e.stopPropagation(),t())},showTooltip:!0,icon:Object(d.createElement)(d.Fragment,null,Object(d.createElement)(Et,{icon:l,showColors:!0}),Object(d.createElement)(U.SVG,{className:"block-editor-block-switcher__transform",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(d.createElement)(U.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)(U.PanelBody,{title:Object(z.__)("Block Styles"),initialOpen:!0},Object(d.createElement)(Nl,{clientId:n[0].clientId,onSwitch:o,onHoverClassName:e.onHoverClassName})),0!==b.length&&Object(d.createElement)(U.PanelBody,{title:Object(z.__)("Transform To:"),initialOpen:!0},Object(d.createElement)(lc,{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(z.__)("Preview")),Object(d.createElement)(oc,{viewportWidth:500,blocks:u.example?Object(i.getBlockFromExample)(s.name,{attributes:ps({},u.example.attributes,{className:a}),innerBlocks:u.example.innerBlocks}):Object(i.cloneBlock)(s,{className:a})})))}}):Object(d.createElement)(U.Toolbar,null,Object(d.createElement)(U.Button,{disabled:!0,className:"block-editor-block-switcher__no-switcher-icon",label:Object(z.__)("Block icon"),icon:Object(d.createElement)(Et,{icon:l,showColors:!0})}))}}]),t}(d.Component),ms=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))}}})))(hs);var gs=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)(ms,{key:"switcher",clientIds:n}):null}));function vs(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)(Kl,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),Object(d.createElement)(gs,null),Object(d.createElement)(fs,{clientIds:r})):Object(d.createElement)("div",{className:"block-editor-block-toolbar"},l&&Object(d.createElement)(Kl,{clientIds:r,__experimentalOrientation:c,hideDragHandle:t}),"visual"===i&&o&&Object(d.createElement)(d.Fragment,null,Object(d.createElement)(ms,{clientIds:r}),Object(d.createElement)(gt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"}),Object(d.createElement)(yt.Slot,{bubblesVirtually:!0,className:"block-editor-block-toolbar__slot"})),Object(d.createElement)(fs,{clientIds:r}))}var Os=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(Qo.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(nl.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 js(){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}js.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(z.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(z.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(z.__)("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(z.__)("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(z.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(z.__)("Select all text when typing. Press again to select all blocks."),keyCombination:{modifier:"primary",character:"a"}}),e({name:"core/block-editor/unselect",category:"selection",description:Object(z.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(z.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}})}),[e]),null};var ks=js;function ys(){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=pi(t);if(e){var r=Object(Qo.getScrollContainer)(e);r&&It()(e,r,{onlyScrollIfNeeded:!0})}}}),[t,n]),null}var _s=[Bt.UP,Bt.RIGHT,Bt.DOWN,Bt.LEFT,Bt.ENTER,Bt.BACKSPACE];var Es=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(Qo.isTextField)(n)||n.closest(".block-editor-block-toolbar")||("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Object(p.includes)(_s,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(Qo.isTextField)(t)&&a()}))},onKeyPress:f,onKeyDown:Object(p.over)([f,function(e){o&&e.keyCode===Bt.ESCAPE&&a()}])},t)}));function Ss(){return za()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var ws=-1!==window.navigator.userAgent.indexOf("Trident"),Cs=new Set([Bt.UP,Bt.DOWN,Bt.LEFT,Bt.RIGHT]),Is=function(e){function t(){var e;return Object(_.a)(this,t),(e=Object(S.a)(this,Object(w.a)(t).apply(this,arguments))).ref=Object(d.createRef)(),e.onKeyDown=e.onKeyDown.bind(Object(C.a)(e)),e.addSelectionChangeListener=e.addSelectionChangeListener.bind(Object(C.a)(e)),e.computeCaretRectOnSelectionChange=e.computeCaretRectOnSelectionChange.bind(Object(C.a)(e)),e.maintainCaretPosition=e.maintainCaretPosition.bind(Object(C.a)(e)),e.computeCaretRect=e.computeCaretRect.bind(Object(C.a)(e)),e.onScrollResize=e.onScrollResize.bind(Object(C.a)(e)),e.isSelectionEligibleForScroll=e.isSelectionEligibleForScroll.bind(Object(C.a)(e)),e}return Object(I.a)(t,e),Object(E.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(Qo.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(Qo.computeCaretRect)();if(n)if(this.caretRect)if(Cs.has(t))this.caretRect=n;else{var r=n.top-this.caretRect.top;if(0!==r){var o=Object(Qo.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 ws?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)()}}))(Is),xs=n(235),Ts=/\((min|max)-width:[^\(]*?\)/g;function Ps(e){return!!e.media&&!!e.media.mediaText.match(Ts)}function Ns(e,t,n){e.deleteRule(n),e.insertRule(t,n)}function Ls(e,t){return e.replace(Ts,(function(e){return Object(xs.match)(e,{type:"screen",width:t})?"(min-width:0px)":"(min-width:999999px)"}))}function As(e,t){Object(d.useEffect)((function(){var n=function(){if(window)return Object(p.filter)(Object(p.get)(window,["document","styleSheets"],[]),(function(e){return e.href&&e.href.includes(window.location.hostname)}))}(),r=[];return n.forEach((function(n,o){for(var i=!1,c=0;c<n.cssRules.length;++c){var a=n.cssRules[c];if(!i&&a.cssText.match(new RegExp("#start-".concat(e)))&&(i=!0),i&&a.cssText.match(new RegExp("#end-".concat(e)))&&(i=!1),i&&Ps(a)){var l=a.cssText;r[o]||(r[o]=[]),r[o][c]=l,Ns(n,Ls(l,t),c)}}})),function(){r.forEach((function(e,t){if(e)for(var r=0;r<e.length;++r){var o=e[r];o&&Ns(n[t],o,r)}}))}}),[t])}function Ms(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 Rs=["left","center","right","wide","full"],Ds=["wide","full"];function Fs(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?Rs:[],!r||!0===e&&!n?p.without.apply(void 0,[t].concat(Ds)):t}var Vs=Object(d.createContext)({}),Hs=Vs.Provider,zs=Object(h.createHigherOrderComponent)((function(e){return function(t){var n=Object(d.useContext)(Vs).isEmbedButton,r=t.name,o=n?[]:Fs(Object(i.getBlockSupport)(r,"align"),Object(i.hasBlockSupport)(r,"alignWide",!0));return[o.length>0&&t.isSelected&&Object(d.createElement)(gt,{key:"align-controls"},Object(d.createElement)(ut,{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:o})),Object(d.createElement)(e,Object(u.a)({key:"edit"},t))]}}),"withToolbarControls"),Us=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=Fs(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?Ms(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ms(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",Us),Object(m.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",zs),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)(Fs(o,c),r)&&(e.className=b()("align".concat(r),e.className)),e}));var Gs=/[\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)(ua,null,Object(d.createElement)(U.TextControl,{className:"html-anchor-control",label:Object(z.__)("HTML anchor"),help:Object(d.createElement)(d.Fragment,null,Object(z.__)("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)(U.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(z.__)("Learn more about anchors"))),value:t.attributes.anchor||"",onChange:function(e){e=e.replace(Gs,"-"),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 Ws=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)(ua,null,Object(d.createElement)(U.TextControl,{label:Object(z.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(z.__)("Separate multiple classes with spaces.")}))):Object(d.createElement)(e,t)}}),"withInspectorControl");function qs(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",Ws),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=qs(o),a=qs(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(R.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(i.getBlockDefaultClassName)(t.name)),e}));var $s=n(236),Ys=n.n($s),Xs=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Zs=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()||w());)!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 Js(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=Js(t[0]),!f(/^:\s*/))return l("property missing ':'");var n=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(Xs,""),value:n?Js(n[0]).replace(Xs,""):""});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=E("import"),y=E("charset"),_=E("namespace");function E(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=Js(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:Js(t[1]),media:Js(t[2])})}()||function(){var e=i(),t=f(/^@supports *([^{]+)/);if(t){var n=Js(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=Js(t[1]),r=Js(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 w(){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(Qt.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 Js(e){return e?e.replace(/^\s+|\s+$/g,""):""}var Qs=n(137),eu=n.n(Qs),tu=nu;function nu(e){this.options=e||{}}nu.prototype.emit=function(e){return e},nu.prototype.visit=function(e){return this[e.type](e)},nu.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 ru=ou;function ou(e){tu.call(this,e)}eu()(ou,tu),ou.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},ou.prototype.comment=function(e){return this.emit("",e.position)},ou.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},ou.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},ou.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("}")},ou.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},ou.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},ou.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},ou.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},ou.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},ou.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("}")},ou.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},ou.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},ou.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},ou.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("}"):""},ou.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var iu=cu;function cu(e){e=e||{},tu.call(this,e),this.indentation=e.indent}eu()(cu,tu),cu.prototype.compile=function(e){return this.stylesheet(e)},cu.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},cu.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},cu.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},cu.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}")},cu.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}")},cu.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},cu.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},cu.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}")},cu.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)+"}")},cu.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")},cu.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}")},cu.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}")},cu.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}")},cu.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},cu.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()+"}"):""},cu.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},cu.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var au=function(e,t){try{var n=Zs(e),r=Ys.a.map(n,(function(e){if(!e)return e;var n=t(e);return this.update(n)}));return o=r,((i=i||{}).compress?new ru(i):new iu(i)).compile(o)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var o,i},lu=n(106);function su(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 uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?su(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):su(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function du(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 fu(e){return function(t){var n=function(e,t){var n=Object(lu.parse)(e).pathname;return Object(lu.resolve)(t,n)}(t.value,e);return uu({},t,{newUrl:"url("+t.before+t.quote+n+t.quote+t.after+")"})}}var bu=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]};du(o)&&r.push(o)}return r}(t.value).map(fu(e));return uu({},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 pu(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 hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pu(Object(n),!0).forEach((function(t){Object(s.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mu=/^(body|html|:root).*$/,gu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?hu({},n,{selectors:n.selectors.map((function(n){return Object(p.includes)(t,n.trim())?n:n.match(mu)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},vu=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(gu(t)),r&&o.push(bu(r)),o.length?au(n,Object(h.compose)(o)):n}))};n.d(t,"__experimentalAlignmentHookSettingsProvider",(function(){return Hs})),n.d(t,"AlignmentToolbar",(function(){return Je})),n.d(t,"Autocomplete",(function(){return Qe})),n.d(t,"BlockAlignmentToolbar",(function(){return ut})),n.d(t,"BlockBreadcrumb",(function(){return ft})),n.d(t,"BlockControls",(function(){return gt})),n.d(t,"BlockEdit",(function(){return Z})),n.d(t,"useBlockEditContext",(function(){return $})),n.d(t,"BlockFormatControls",(function(){return yt})),n.d(t,"BlockIcon",(function(){return Et})),n.d(t,"BlockNavigationDropdown",(function(){return Ac})),n.d(t,"__experimentalBlockNavigationList",(function(){return Tc})),n.d(t,"__experimentalBlockVariationPicker",(function(){return Rc})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return Uc})),n.d(t,"ButtonBlockerAppender",(function(){return xc})),n.d(t,"ColorPalette",(function(){return Kc})),n.d(t,"ColorPaletteControl",(function(){return Wc})),n.d(t,"ContrastChecker",(function(){return Ee})),n.d(t,"__experimentalEditorSkeleton",(function(){return qc})),n.d(t,"__experimentalGradientPicker",(function(){return Yc})),n.d(t,"__experimentalGradientPickerControl",(function(){return Xc})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Zc})),n.d(t,"__experimentalColorGradientControl",(function(){return ue})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return Oe})),n.d(t,"__experimentalImageSizeControl",(function(){return Jc})),n.d(t,"InnerBlocks",(function(){return ia})),n.d(t,"InspectorAdvancedControls",(function(){return ua})),n.d(t,"InspectorControls",(function(){return Be})),n.d(t,"__experimentalLinkControl",(function(){return _a})),n.d(t,"MediaReplaceFlow",(function(){return Va})),n.d(t,"MediaPlaceholder",(function(){return Ya})),n.d(t,"MediaUpload",(function(){return Ca})),n.d(t,"MediaUploadCheck",(function(){return Ia})),n.d(t,"PanelColorSettings",(function(){return ke})),n.d(t,"PlainText",(function(){return Xa})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Ja})),n.d(t,"RichText",(function(){return bl})),n.d(t,"RichTextShortcut",(function(){return al})),n.d(t,"RichTextToolbarButton",(function(){return ll})),n.d(t,"__unstableRichTextInputEvent",(function(){return sl})),n.d(t,"ToolSelector",(function(){return ml})),n.d(t,"URLInput",(function(){return Ta})),n.d(t,"URLInputButton",(function(){return vl})),n.d(t,"URLPopover",(function(){return Ka})),n.d(t,"__experimentalImageURLInputUI",(function(){return yl})),n.d(t,"withColorContext",(function(){return Gc})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return wl})),n.d(t,"__experimentalInserterMenuExtension",(function(){return mc})),n.d(t,"BlockInspector",(function(){return Rl})),n.d(t,"BlockList",(function(){return nc})),n.d(t,"BlockMover",(function(){return Kl})),n.d(t,"BlockPreview",(function(){return oc})),n.d(t,"BlockSelectionClearer",(function(){return ql})),n.d(t,"BlockSettingsMenu",(function(){return fs})),n.d(t,"BlockSettingsMenuControls",(function(){return us})),n.d(t,"BlockTitle",(function(){return dt})),n.d(t,"BlockToolbar",(function(){return vs})),n.d(t,"CopyHandler",(function(){return Os})),n.d(t,"DefaultBlockAppender",(function(){return Zi})),n.d(t,"Inserter",(function(){return Bc})),n.d(t,"MultiBlocksSwitcher",(function(){return gs})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return ks})),n.d(t,"MultiSelectScrollIntoView",(function(){return ys})),n.d(t,"NavigableToolbar",(function(){return Li})),n.d(t,"ObserveTyping",(function(){return Es})),n.d(t,"PreserveScrollInReorder",(function(){return Ss})),n.d(t,"SkipToSelectedBlock",(function(){return Cl})),n.d(t,"Typewriter",(function(){return Bs})),n.d(t,"Warning",(function(){return ti})),n.d(t,"WritingFlow",(function(){return xi})),n.d(t,"BlockEditorProvider",(function(){return Zo})),n.d(t,"useSimulatedMediaQuery",(function(){return As})),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 M})),n.d(t,"__experimentalUseColors",(function(){return Ve})),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 He})),n.d(t,"getFontSizeClass",(function(){return ze})),n.d(t,"FontSizePicker",(function(){return Ue})),n.d(t,"withFontSizes",(function(){return We})),n.d(t,"transformStyles",(function(){return vu})),n.d(t,"storeConfig",(function(){return qo})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Nt}))}]);
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 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 svg{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__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.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}}html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.block-editor-editor-skeleton{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:782px){.block-editor-editor-skeleton{top:32px}.is-fullscreen-mode .block-editor-editor-skeleton{top:0}}.block-editor-editor-skeleton{right:0}@media (min-width:782px){.block-editor-editor-skeleton{right:160px}}@media (min-width:782px){.auto-fold .block-editor-editor-skeleton{right:36px}}@media (min-width:961px){.auto-fold .block-editor-editor-skeleton{right:160px}}.folded .block-editor-editor-skeleton{right:0}@media (min-width:782px){.folded .block-editor-editor-skeleton{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .block-editor-editor-skeleton{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .block-editor-editor-skeleton{margin-right:-18px}}body.is-fullscreen-mode .block-editor-editor-skeleton{right:0!important}.block-editor-editor-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.block-editor-editor-skeleton__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.block-editor-editor-skeleton__content{overflow:auto}}.block-editor-editor-skeleton__sidebar{display:none}@media (min-width:782px){.block-editor-editor-skeleton__sidebar{display:block;z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.block-editor-editor-skeleton__sidebar:focus{top:auto;bottom:0}}.is-sidebar-opened .block-editor-editor-skeleton__sidebar{display:block;width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff}@media (min-width:782px){.is-sidebar-opened .block-editor-editor-skeleton__sidebar{overflow:auto;border-right:1px solid #e2e4e7;position:relative!important;z-index:90}}.block-editor-editor-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.block-editor-editor-skeleton__header{position:static;top:0}}.block-editor-editor-skeleton__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.block-editor-editor-skeleton__footer{display:block}}.block-editor-editor-skeleton__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.block-editor-editor-skeleton__publish:focus{top:auto;bottom:0}.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 36px;position:relative;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-actions{position:absolute;top:19px;left:19px}.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}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;right:auto;bottom:auto;top:28px;left:62px}.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:0 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-button.has-icon{padding:0 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
+ #start-resizable-editor-section{display:none}.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);height:auto}.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 svg{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__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.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}.components-popover__content .block-editor-link-control{min-width:auto;width:90vw;max-width:360px}.block-editor-link-control__search-input-wrapper{position:relative}.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 36px;position:relative;border:1px solid #e2e4e7;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-error{margin:-8px 16px 16px}.block-editor-link-control__search-actions{position:absolute;top:19px;left:19px}.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;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:#edeff0}.block-editor-link-control__search-item.is-selected{background:#f3f4f5}.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;margin-top:2px}.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}.block-editor-link-control__search-item .block-editor-link-control__search-item-title mark{color:#191e23}.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:#6c7781;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__loading{margin:16px;display:flex;align-items:center}.block-editor-link-control__loading .components-spinner{margin-top:0}.components-button+.block-editor-link-control__search-create{margin-top:20px;overflow:visible;padding:12px 15px}.components-button+.block-editor-link-control__search-create:before{content:"";position:absolute;top:-10px;right:0;display:block;width:100%;border-top:1px solid #e2e4e7}.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 #e2e4e7;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}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;right:auto;bottom:auto;top:28px;left:62px}.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-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:0 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-right:4px}.block-editor-warning__secondary .components-button.has-icon{padding:0 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}#end-resizable-editor-section{display:none}html.block-editor-editor-skeleton__html-container{position:fixed;width:100%}@media (min-width:782px){html.block-editor-editor-skeleton__html-container{position:static;width:auto}}.block-editor-editor-skeleton{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;left:0;bottom:0}@media (min-width:782px){.block-editor-editor-skeleton{top:32px}.is-fullscreen-mode .block-editor-editor-skeleton{top:0}}.block-editor-editor-skeleton{right:0}@media (min-width:782px){.block-editor-editor-skeleton{right:160px}}@media (min-width:782px){.auto-fold .block-editor-editor-skeleton{right:36px}}@media (min-width:961px){.auto-fold .block-editor-editor-skeleton{right:160px}}.folded .block-editor-editor-skeleton{right:0}@media (min-width:782px){.folded .block-editor-editor-skeleton{right:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .block-editor-editor-skeleton{right:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .block-editor-editor-skeleton{margin-right:-18px}}body.is-fullscreen-mode .block-editor-editor-skeleton{right:0!important}.block-editor-editor-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.block-editor-editor-skeleton__content{flex-grow:1;background-color:#ccd0d4;display:flex;flex-direction:column;overflow:auto}.block-editor-editor-skeleton__sidebar{display:none}@media (min-width:782px){.block-editor-editor-skeleton__sidebar{display:block;z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.block-editor-editor-skeleton__sidebar:focus{top:auto;bottom:0}}.is-sidebar-opened .block-editor-editor-skeleton__sidebar{display:block;width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;left:0;bottom:0;right:0;background:#fff}@media (min-width:782px){.is-sidebar-opened .block-editor-editor-skeleton__sidebar{overflow:auto;border-right:1px solid #e2e4e7;position:relative!important;z-index:90}}.block-editor-editor-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.block-editor-editor-skeleton__header{position:static;top:0}}.block-editor-editor-skeleton__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.block-editor-editor-skeleton__footer{display:block}}.block-editor-editor-skeleton__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;right:auto;left:0;width:280px}.block-editor-editor-skeleton__publish:focus{top:auto;bottom: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;min-width:400px;position:relative}@media (min-width:782px){.block-editor-inserter__menu{width:400px}.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}
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 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 svg{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__color-indicator{margin-bottom:8px}.block-editor-color-gradient-control__button-tabs{display:block;margin-bottom:8px}.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}}html{position:fixed;width:100%}@media (min-width:782px){html{position:static;width:auto}}.block-editor-editor-skeleton{display:flex;flex-direction:column;height:auto;max-height:100%;position:fixed;top:46px;right:0;bottom:0}@media (min-width:782px){.block-editor-editor-skeleton{top:32px}.is-fullscreen-mode .block-editor-editor-skeleton{top:0}}.block-editor-editor-skeleton{left:0}@media (min-width:782px){.block-editor-editor-skeleton{left:160px}}@media (min-width:782px){.auto-fold .block-editor-editor-skeleton{left:36px}}@media (min-width:961px){.auto-fold .block-editor-editor-skeleton{left:160px}}.folded .block-editor-editor-skeleton{left:0}@media (min-width:782px){.folded .block-editor-editor-skeleton{left:36px}}@media (max-width:782px){.auto-fold .wp-responsive-open .block-editor-editor-skeleton{left:190px}}@media (max-width:600px){.auto-fold .wp-responsive-open .block-editor-editor-skeleton{margin-left:-18px}}body.is-fullscreen-mode .block-editor-editor-skeleton{left:0!important}.block-editor-editor-skeleton__body{flex-grow:1;display:flex;overflow:auto;overscroll-behavior-y:none}.block-editor-editor-skeleton__content{flex-grow:1;display:flex;flex-direction:column}@media (min-width:782px){.block-editor-editor-skeleton__content{overflow:auto}}.block-editor-editor-skeleton__sidebar{display:none}@media (min-width:782px){.block-editor-editor-skeleton__sidebar{display:block;z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px}.block-editor-editor-skeleton__sidebar:focus{top:auto;bottom:0}}.is-sidebar-opened .block-editor-editor-skeleton__sidebar{display:block;width:auto;flex-shrink:0;position:absolute;z-index:100000;top:0;right:0;bottom:0;left:0;background:#fff}@media (min-width:782px){.is-sidebar-opened .block-editor-editor-skeleton__sidebar{overflow:auto;border-left:1px solid #e2e4e7;position:relative!important;z-index:90}}.block-editor-editor-skeleton__header{flex-shrink:0;height:auto;border-bottom:1px solid #e2e4e7;z-index:30;position:-webkit-sticky;position:sticky;top:0}@media (min-width:600px){.block-editor-editor-skeleton__header{position:static;top:0}}.block-editor-editor-skeleton__footer{height:auto;flex-shrink:0;overflow:auto;border-top:1px solid #e2e4e7;display:none}@media (min-width:782px){.block-editor-editor-skeleton__footer{display:block}}.block-editor-editor-skeleton__publish{z-index:100000;position:fixed!important;top:-9999em;bottom:auto;left:auto;right:0;width:280px}.block-editor-editor-skeleton__publish:focus{top:auto;bottom:0}.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 36px 11px 16px;position:relative;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-actions{position:absolute;top:19px;right:19px}.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}.block-editor-link-control .block-editor-link-control__search-input .components-spinner.components-spinner{position:absolute;left:auto;bottom:auto;top:28px;right:62px}.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-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:0 2px}@media (min-width:600px){.block-editor-warning__secondary{margin-left:4px}.block-editor-warning__secondary .components-button.has-icon{padding:0 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
+ #start-resizable-editor-section{display:none}.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);height:auto}.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 svg{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-edi