Gutenberg - Version 9.9.1

Version Description

Download this release

Release Info

Developer gutenbergplugin
Plugin Icon 128x128 Gutenberg
Version 9.9.1
Comparing to
See all releases

Code changes from version 9.9.0 to 9.9.1

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-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => '7e4251b64ecc2130dea92c53362f5248');
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-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-wordcount'), 'version' => 'c8c9ce52cfb8e3f7a34be7726515ea92');
build/block-editor/index.js CHANGED
@@ -1,4 +1,4 @@
1
- window.wp=window.wp||{},window.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=509)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10: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}))},101:function(e,t,n){"use strict";t.__esModule=!0;var r=n(218);t.default=r.TextareaAutosize},11:function(e,t){e.exports=window.wp.blocks},12:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var c=typeof r;if("string"===c||"number"===c)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===c)for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},126: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(214)),c=r(n(215)),i=n(8),l=r(i),a=r(n(184)),s=r(n(216)),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=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function b(e,t){return u.und(e)||u.nul(e)?t:e}function f(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 m(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,c(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 c;return u.und(t[r])?o({},n,((c={})[r]=e[r],c)):n}),{});return o({to:t},n)}var v,g,O=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}(),h=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 O&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}return a(t,e),t}(O),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 O&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}a(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 O)&&(t[n]=r instanceof O?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(O);function k(e,t){v={fn:e,transform:t}}function y(e){g=e}var _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},C=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function w(e){_=e}var S,B=function(){return Date.now()};function I(e){S=e}var x,P,T=function(e){return e.current};function N(e){x=e}var D=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:k,get colorNames(){return g},injectColorNames:y,get requestFrame(){return E},get cancelFrame(){return C},injectFrame:function(e,t){E=e,C=t},get interpolation(){return _},injectStringInterpolator:w,get now(){return B},injectNow:function(e){B=e},get defaultElement(){return S},injectDefaultElement:I,get animatedApi(){return T},injectAnimatedApi:function(e){T=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:N,get manualFrameloop(){return P},injectManualFrameloop:function(e){P=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 a(t,e),t}(j),R=!1,L=new Set,M=function e(){if(!R)return!1;var t=B(),n=L,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var c;if(r){if(o>=n.length)break;c=n[o++]}else{if((o=n.next()).done)break;c=o.value}for(var i=c,l=!1,a=0;a<i.configs.length;a++){for(var s=i.configs[a],u=void 0,d=void 0,b=0;b<s.animatedValues.length;b++){var f=s.animatedValues[b];if(!f.done){var p=s.fromValues[b],m=s.toValues[b],v=f.lastPosition,g=m instanceof O,h=Array.isArray(s.initialVelocity)?s.initialVelocity[b]:s.initialVelocity;if(g&&(m=m.getValue()),s.immediate)f.setValue(m),f.done=!0;else if("string"!=typeof p&&"string"!=typeof m){if(void 0!==s.duration)v=p+s.easing((t-f.startTime)/s.duration)*(m-p),u=t>=f.startTime+s.duration;else if(s.decay)v=p+h/(1-.998)*(1-Math.exp(-(1-.998)*(t-f.startTime))),(u=Math.abs(f.lastPosition-v)<.1)&&(m=v);else{d=void 0!==f.lastTime?f.lastTime:t,h=void 0!==f.lastVelocity?f.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var j=Math.floor(t-d),k=0;k<j;++k)v+=1*(h+=(-s.tension*(v-m)+-s.friction*h)/s.mass*1/1e3)/1e3;var y=!(!s.clamp||0===s.tension)&&(p<m?v>m:v<m),_=Math.abs(h)<=s.precision,C=0===s.tension||Math.abs(m-v)<=s.precision;u=y||_&&C,f.lastVelocity=h,f.lastTime=t}g&&!s.toValues[b].done&&(u=!1),u?(f.value!==m&&(v=m),f.done=!0):l=!0,f.setValue(v),f.lastPosition=v}else f.setValue(m),f.done=!0}}i.props.onFrame&&(i.values[s.name]=s.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),l||(L.delete(i),i.stop(!0))}return L.size?P?P():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,c=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",l=r.extrapolateRight||r.extrapolate||"extend",a=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,c);return function(e,t,n,r,o,c,i,l,a){var s=a?a(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(s>n){if("identity"===l)return s;"clamp"===l&&(s=n)}return r===o?r:t===n?e<=t?r:o:(t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t),s=c(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r,s)}(e,c[t],c[t+1],o[t],o[t+1],a,i,l,r.map)}}var V=function(e){function t(n,r,o){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof h&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o),c}a(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}(h),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}a(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}(O),z=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}a(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}(h),G=0,U=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=G++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=m(e),n=t.delay,r=void 0===n?0:n,i=t.to,l=c(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},l,{delay:r,to:i}));else if(i){var a={};Object.entries(i).forEach((function(e){var t,n=e[0],c=e[1],i=o({to:(t={},t[n]=c,t),delay:p(r,n)},l),s=a[i.delay]&&a[i.delay].to;a[i.delay]=o({},a[i.delay],i,{to:o({},s,i.to)})})),this.queue=Object.values(a)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(l),this},t.start=function(e){var t=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var n=e.from,r=void 0===n?{}:n,c=e.to,i=void 0===c?{}:c;u.obj(r)&&(t.merged=o({},r,t.merged)),u.obj(i)&&(t.merged=o({},t.merged,i))}));var n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((function(o,i){var l=o.delay,a=c(o,["delay"]),s=function(o){i===r.length-1&&n===t.guid&&o&&(t.idle=!0,t.props.onRest&&t.props.onRest(t.merged)),e&&e()},d=u.arr(a.to)||u.fun(a.to);l?setTimeout((function(){n===t.guid&&(d?t.runAsync(a,s):t.diff(a).start(s))}),l):d?t.runAsync(a,s):t.diff(a).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),this,L.has(this)||L.add(this),R||(R=!0,E(P||M));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){return this.stop(!0),e&&(this,L.has(this)&&L.delete(this)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,c(e,["delay"])),i=this.local,l=Promise.resolve(void 0);if(u.arr(r.to))for(var a=function(e){var t=e,c=o({},r,m(r.to[t]));u.arr(c.config)&&(c.config=c.config[t]),l=l.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(c).start(e)}))}))},s=0;s<r.to.length;s++)a(s);else if(u.fun(r.to)){var d,b=0;l=l.then((function(){return r.to((function(e){var t=o({},r,m(e));if(u.arr(t.config)&&(t.config=t.config[b]),b++,i===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}))}))}l.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,c=void 0===r?{}:r,i=n.to,l=void 0===i?{}:i,a=n.config,s=void 0===a?{}:a,d=n.reverse,m=n.attach,v=n.reset,O=n.immediate;if(d){var h=[l,c];c=h[0],l=h[1]}this.merged=o({},c,this.merged,l),this.hasChanged=!1;var j=m&&m(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],l=e[r]||{},a=u.num(i),d=u.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!g[i],m=u.arr(i),h=!a&&!m&&!d,k=u.und(c[r])?i:c[r],y=a||m||d?i:1,E=p(s,r);j&&(y=j.animations[r].parent);var C,w=l.parent,S=l.interpolation,I=f(j?y.getPayload():y),x=i;h&&(x=_({range:[0,1],output:[i,i]})(1));var P,T=S&&S.getValue(),N=!u.und(w)&&l.animatedValues.some((function(e){return!e.done})),D=!u.equ(x,T),A=!u.equ(x,l.previous),R=!u.equ(E,l.config);if(v||A&&D||R){var L;if(a||d)w=S=l.parent||new H(k);else if(m)w=S=l.parent||new z(k);else if(h){var M=l.interpolation&&l.interpolation.calc(l.parent.value);M=void 0===M||v?k:M,l.parent?(w=l.parent).setValue(0,!1):w=new H(0);var F={output:[M,i]};l.interpolation?(S=l.interpolation,l.interpolation.updateConfig(F)):S=w.interpolate(F)}return I=f(j?y.getPayload():y),C=f(w.getPayload()),v&&!h&&w.setValue(k,!1),t.hasChanged=!0,C.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=B(),e.done=!1,e.animatedStyles.clear()})),p(O,r)&&w.setValue(h?y:i,!1),o({},e,((L={})[r]=o({},l,{name:r,parent:w,interpolation:S,animatedValues:C,toValues:I,previous:x,config:E,fromValues:f(w.getValue()),immediate:p(O,r),initialVelocity:b(E.velocity,0),clamp:b(E.clamp,!1),precision:b(E.precision,.01),tension:b(E.tension,170),friction:b(E.friction,26),mass:b(E.mass,1),duration:E.duration,easing:b(E.easing,(function(e){return e})),decay:E.decay}),L))}return D?e:(h&&(w.setValue(1,!1),S.updateConfig({output:[x,x]})),w.done=!0,t.hasChanged=!0,o({},e,((P={})[r]=o({},e[r],{previous:x}),P)))}),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}(),W=function(e,t){var n=i.useRef(!1),r=i.useRef(),o=u.fun(t),c=i.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 c=new U,i=o?p(t,r,c):t[r];return 0===r&&(n=i.ref),c.update(i),n||c.start(),c})),n]}),[e]),l=c[0],a=c[1];r.current=l,i.useImperativeHandle(a,(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=i.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?p(e,n,t):e[n]),a||t.start()}))}}),[e]);i.useEffect((function(){n.current?o||s(t):a||r.current.forEach((function(e){return e.start()}))})),i.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},K=0,q=function(e,t){return("function"==typeof t?e.map(t):f(t)).map(String)},$=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,i=c(e,["items","keys"]);return t=f(void 0!==t?t:null),o({items:t,keys:q(t,r)},i)};function Y(e,t){var n=function(){if(o){if(c>=r.length)return"break";i=r[c++]}else{if((c=r.next()).done)return"break";i=c.value}var n=i.key,l=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(l),e.current.deleted=e.current.deleted.filter(l))},r=e.current.deleted,o=Array.isArray(r),c=0;for(r=o?r:r[Symbol.iterator]();;){var i;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 O||(t=v.transform(t)),n.payload=t,n}return a(t,e),t}(j),Q={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},Z="[-+]?\\d*\\.?\\d+";function J(){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 ee=new RegExp("rgb"+J(Z,Z,Z)),te=new RegExp("rgba"+J(Z,Z,Z,Z)),ne=new RegExp("hsl"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Z)),oe=/^#([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})$/,ie=/^#([0-9a-fA-F]{6})$/,le=/^#([0-9a-fA-F]{8})$/;function ae(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 se(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,c=ae(o,r,e+1/3),i=ae(o,r,e),l=ae(o,r,e-1/3);return Math.round(255*c)<<24|Math.round(255*i)<<16|Math.round(255*l)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(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 fe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ie.exec(t))?parseInt(n[1]+"ff",16)>>>0:Q.hasOwnProperty(t)?Q[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|be(n[4]))>>>0:(n=oe.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=ne.exec(t))?(255|se(de(n[1]),fe(n[2]),fe(n[3])))>>>0:(n=re.exec(t))?(se(de(n[1]),fe(n[2]),fe(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,ve=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ge=new RegExp("("+Object.keys(Q).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},he=["Webkit","Ms","Moz","O"];function je(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 he.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Oe);var ke={};N((function(e){return new X(e)})),I("div"),w((function(e){var t=e.output.map((function(e){return e.replace(ve,pe)})).map((function(e){return e.replace(ge,pe)})),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(Q),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,l=c(t,["style","children","scrollTop","scrollLeft"]),a="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=je(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var b in l){var f=a?b:ke[b]||(ke[b]=b.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(f)&&e.setAttribute(f,l[b])}}),(function(e){return e}));var ye,_e,Ee=(ye=function(e){return i.forwardRef((function(t,n){var r=d(),a=i.useRef(!0),s=i.useRef(null),b=i.useRef(null),f=i.useCallback((function(e){var t=s.current;s.current=new A(e,(function(){b.current&&!1===v.fn(b.current,s.current.getAnimatedValue())&&r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){a.current=!1,s.current&&s.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return T(b,a,r)})),f(t);var p=s.current.getValue(),m=(p.scrollTop,p.scrollLeft,c(p,["scrollTop","scrollLeft"]));return l.createElement(e,o({},m,{ref:function(e){return b.current=(t=e,(r=n)&&(u.fun(r)?r(t):u.obj(r)&&(r.current=t)),t);var t,r}}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=ye(n),e}),ye)}),Ce=Ee(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ee,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=M,t.animated=Ce,t.a=Ce,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=D,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),r=n[0],o=n[1],c=n[2];return t?[r[0],o,c]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),c=p(t),l=i.useRef(),a=W(e,(function(e,t){return 0===e&&(l.current=[]),l.current.push(t),o({},c,{config:p(c.config,e),attach:e>0&&function(){return l.current[e-1]}})})),s=a[0],d=a[1],b=a[2],f=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=l.current[r];return o({},e,{config:p(e.config||c.config,t),attach:i&&function(){return i}})}))}}),[e,c.reverse]);return i.useEffect((function(){n.current&&!r&&f(t)})),i.useEffect((function(){n.current=!0}),[]),r?[s,f,b]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),l=$(r),a=l.lazy,s=void 0!==a&&a,u=(l.unique,l.reset),b=void 0!==u&&u,f=(l.enter,l.leave,l.update,l.onDestroyed),m=(l.keys,l.items,l.onFrame),v=l.onRest,g=l.onStart,O=l.ref,h=c(l,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),j=d(),k=i.useRef(!1),y=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:j});return i.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){for(var n=e.first,r=e.prevProps,i=c(e,["first","prevProps"]),l=$(t),a=l.items,s=l.keys,u=l.initial,d=l.from,b=l.enter,f=l.leave,m=l.update,v=l.trail,g=void 0===v?0:v,O=l.unique,h=l.config,j=l.order,k=void 0===j?["enter","leave","update"]:j,y=$(r),_=y.keys,E=y.items,C=o({},i.current),w=[].concat(i.deleted),S=Object.keys(C),B=new Set(S),I=new Set(s),x=s.filter((function(e){return!B.has(e)})),P=i.transitions.filter((function(e){return!e.destroyed&&!I.has(e.originalKey)})).map((function(e){return e.originalKey})),T=s.filter((function(e){return B.has(e)})),N=-g;k.length;)switch(k.shift()){case"enter":x.forEach((function(e,t){O&&w.find((function(t){return t.originalKey===e}))&&(w=w.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=a[r],c=n&&void 0!==u?"initial":"enter";C[e]={slot:c,originalKey:e,key:O?String(e):K++,item:o,trail:N+=g,config:p(h,o,c),from:p(n&&void 0!==u?u||{}:d,o),to:p(b,o)}}));break;case"leave":P.forEach((function(e){var t=_.indexOf(e),n=E[t];w.unshift(o({},C[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=g,config:p(h,n,"leave"),to:p(f,n)})),delete C[e]}));break;case"update":T.forEach((function(e){var t=s.indexOf(e),n=a[t];C[e]=o({},C[e],{item:n,slot:"update",trail:N+=g,config:p(h,n,"update"),to:p(m,n)})}))}var D=s.map((function(e){return C[e]}));return w.forEach((function(e){var t,n=e.left,r=(e.right,c(e,["left","right"]));-1!==(t=D.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),D=[].concat(D.slice(0,t),[r],D.slice(t))})),o({},i,{changed:x.length||P.length||T.length,first:n&&0===x.length,transitions:D,current:C,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,c=e.config,i=e.trail,l=e.key,a=e.item;y.current.instances.has(l)||y.current.instances.set(l,new U);var u=y.current.instances.get(l),d=o({},h,{to:r,from:n,config:c,ref:O,onRest:function(n){y.current.mounted&&(e.destroyed&&(O||s||Y(y,l),f&&f(a)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(O||s)&&y.current.deleted.length>0&&Y(y),v&&v(a,t,n))},onStart:g&&function(){return g(a,t)},onFrame:m&&function(e){return m(a,t,e)},delay:i,reset:b&&"enter"===t});u.update(d),y.current.paused||u.start()})),i.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=i.useRef();i.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 c=e.current;if(c){var i=c.controllers;if(i.length){var l=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+l})})),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=W},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(48);function o(e,t){if(null==e)return{};var n,o,c=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}},137:function(e,t,n){"use strict";e.exports=n(222)},138:function(e,t){e.exports=window.wp.wordcount},14:function(e,t){e.exports=window.wp.compose},141:function(e,t){e.exports=window.wp.shortcode},143:function(e,t,n){"use strict";var r=n(5),o=n(13),c=n(0);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}t.a=function(e){var t=e.icon,n=e.size,l=void 0===n?24:n,a=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?i(Object(n),!0).forEach((function(t){Object(r.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}({width:l,height:l},a))}},144: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"}));t.a=c},145: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=c},146: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=c},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25),o=n(39),c=n(31);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(c.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},155:function(e,t,n){"use strict";var r=n(156);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,c,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}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:c,resetWarningCache:o};return n.PropTypes=n,n}},156:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},16:function(e,t){e.exports=window.regeneratorRuntime},17:function(e,t){e.exports=window.wp.keycodes},170:function(e,t){e.exports=window.wp.tokenList},183: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=c},184:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},185: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},19: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}))},2:function(e,t){e.exports=window.lodash},200: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}},214: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},215:function(e,t){e.exports=function(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}},216: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}},217:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=c},218: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 __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c=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},i=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 l=n(8),a=n(35),s=n(219),u=n(220),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,r=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||r?setTimeout((function(){return e.textarea&&s(e.textarea)})):this.textarea&&s(this.textarea),this.textarea&&this.textarea.addEventListener("autosize:resized",this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener("autosize:resized",this.onResize),s.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),r=(t.onChange,t.style),o=(t.innerRef,t.children),a=i(t,["onResize","maxRows","onChange","style","innerRef","children"]),s=this.state.lineHeight,u=n&&s?s*n:null;return l.createElement("textarea",c({},a,{onChange:this.onChange,style:u?c({},r,{maxHeight:u}):r,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),o)},t.prototype.componentDidUpdate=function(){this.textarea&&s.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:a.number,maxRows:a.number,onResize:a.func,innerRef:a.any,async:a.bool},t}(l.Component);t.TextareaAutosize=l.forwardRef((function(e,t){return l.createElement(d,c({},e,{innerRef:t}))}))},219:function(e,t,n){var r,o;void 0===(o="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))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,i=null,l=function(){e.clientWidth!==r&&d()},a=function(t){window.removeEventListener("resize",l,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!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",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",l,!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:a,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),i!==r){i=r;var o=c("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=a,e.exports=t.default})?r.apply(t,[e,t]):r)||(e.exports=o)},22: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}))},220:function(e,t,n){var r=n(221);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 c=e.nodeName,i=document.createElement(c);i.innerHTML="&nbsp;","TEXTAREA"===c.toUpperCase()&&i.setAttribute("rows","1");var l=r(e,"font-size");i.style.fontSize=l,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i),n=i.offsetHeight,a.removeChild(i)}return n}},221: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()}))]}},222:function(e,t,n){"use strict";var r=n(223);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,c=n.onlyScrollIfNeeded,i=n.alignWithTop,l=n.alignWithLeft,a=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var b=r.isWindow(t),f=r.offset(e),p=r.outerHeight(e),m=r.outerWidth(e),v=void 0,g=void 0,O=void 0,h=void 0,j=void 0,k=void 0,y=void 0,_=void 0,E=void 0,C=void 0;b?(y=t,C=r.height(y),E=r.width(y),_={left:r.scrollLeft(y),top:r.scrollTop(y)},j={left:f.left-_.left-s,top:f.top-_.top-a},k={left:f.left+m-(_.left+E)+d,top:f.top+p-(_.top+C)+u},h=_):(v=r.offset(t),g=t.clientHeight,O=t.clientWidth,h={left:t.scrollLeft,top:t.scrollTop},j={left:f.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-s,top:f.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-a},k={left:f.left+m-(v.left+O+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:f.top+p-(v.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),j.top<0||k.top>0?!0===i?r.scrollTop(t,h.top+j.top):!1===i?r.scrollTop(t,h.top+k.top):j.top<0?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top):c||((i=void 0===i||!!i)?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top)),o&&(j.left<0||k.left>0?!0===l?r.scrollLeft(t,h.left+j.left):!1===l?r.scrollLeft(t,h.left+k.left):j.left<0?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left):c||((l=void 0===l||!!l)?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left)))}},223: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 c(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 i(e){return c(e)}function l(e){return c(e,!0)}function a(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,c=o.body,i=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=i.clientLeft||c.clientLeft||0,top:r-=i.clientTop||c.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=i(r),t.top+=l(r),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left",b=void 0;function f(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(e){return"border-box"===b(e,"boxSizing")}"undefined"!=typeof window&&(b=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,c=n||o.defaultView.getComputedStyle(e,null);return c&&(r=c.getPropertyValue(t)||c[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[d],c=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=c}return""===n?"auto":n});var m=["margin","border","padding"];function v(e,t,n){var r={},o=e.style,c=void 0;for(c in t)t.hasOwnProperty(c)&&(r[c]=o[c],o[c]=t[c]);for(c in n.call(e),t)t.hasOwnProperty(c)&&(o[c]=r[c])}function g(e,t,n){var r=0,o=void 0,c=void 0,i=void 0;for(c=0;c<t.length;c++)if(o=t[c])for(i=0;i<n.length;i++){var l;l="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(b(e,l))||0}return r}function O(e){return null!=e&&e==e.window}var h={};function j(e,t,n){if(O(e))return"width"===t?h.viewportWidth(e):h.viewportHeight(e);if(9===e.nodeType)return"width"===t?h.docWidth(e):h.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,c=(b(e),p(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=b(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=c?1:-1);var l=void 0!==o||c,a=o||i;if(-1===n)return l?a-g(e,["border","padding"],r):i;if(l){var s=2===n?-g(e,["border"],r):g(e,["margin"],r);return a+(1===n?0:s)}return i+g(e,m.slice(n),r)}f(["Width","Height"],(function(e){h["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],h["viewport"+e](n))},h["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,c=r.documentElement[n];return"CSS1Compat"===r.compatMode&&c||o&&o[n]||c}}));var k={position:"absolute",visibility:"hidden",display:"block"};function y(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=j.apply(void 0,n):v(e,k,(function(){t=j.apply(void 0,n)})),t}function _(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)):b(e,t);for(var c in t)t.hasOwnProperty(c)&&_(e,c,t[c])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);h["outer"+t]=function(t,n){return t&&y(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];h[e]=function(t,r){return void 0===r?t&&y(t,e,-1):t?(b(t),p(t)&&(r+=g(t,["padding","border"],n)),_(t,e,r)):void 0}})),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 a(e);!function(e,t){"static"===_(e,"position")&&(e.style.position="relative");var n=a(e),r={},o=void 0,c=void 0;for(c in t)t.hasOwnProperty(c)&&(o=parseFloat(_(e,c))||0,r[c]=o+t[c]-n[c]);_(e,r)}(e,t)},isWindow:O,each:f,css:_,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(O(e)){if(void 0===t)return i(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(O(e)){if(void 0===t)return l(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},h)},224: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=c},24:function(e,t){e.exports=window.wp.richText},240: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=c},25:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},259: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=c},260: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=c},261: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=c},262:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=c},263: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=c},264: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:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=c},265: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},27: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}))},28: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}))},29:function(e,t){e.exports=window.wp.url},3:function(e,t){e.exports=window.wp.components},30:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(57);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(r.a)(e,t)}},31:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(25);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(43),o=n(19);function c(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},33:function(e,t){e.exports=window.wp.dom},335:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return o.diff(e,t,n)},t.characterDiff=void 0;var o=new(((r=n(380))&&r.__esModule?r:{default:r}).default);t.characterDiff=o},336:function(e,t,n){"use strict";t.match=function(e,t){return a(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,c=t[n];if(!c)return!1;switch(n){case"orientation":case"scan":return c.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=d(o),c=d(c);break;case"resolution":o=u(o),c=u(c);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=s(o),c=s(c);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,c=parseInt(c,10)||0}switch(r){case"min":return c>=o;case"max":return c<=o;default:return c===o}}));return o&&!n||!o&&n}))},t.parse=a;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,l=/(dpi|dpcm|dppx)?$/;function a(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],i=t[2],l=t[3]||"",a={};return a.inverse=!!n&&"not"===n.toLowerCase(),a.type=i?i.toLowerCase():"all",l=l.match(/\([^\)]+\)/g)||[],a.expressions=l.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),a}))}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(l)[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(i)[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}}},337: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=[],l=!0;return function e(d){var b=n?c(d):d,f={},p=!0,m={node:b,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){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(p=!1)},delete:function(e){delete m.parent.node[m.key],e&&(p=!1)},remove:function(e){a(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(p=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){l=!1},block:function(){p=!1}};if(!l)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=i(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){m.circular=o[e];break}}else m.isLeaf=!0,m.keys=null;m.notLeaf=!m.isLeaf,m.notRoot=!m.isRoot}v();var g=t.call(m,m.node);return void 0!==g&&m.update&&m.update(g),f.before&&f.before.call(m,m.node),p?("object"!=typeof m.node||null===m.node||m.circular||(o.push(m),v(),s(m.keys,(function(t,o){r.push(t),f.pre&&f.pre.call(m,m.node[t],t);var c=e(m.node[t]);n&&u.call(m.node,t)&&(m.node[t]=c.node),c.isLast=o==m.keys.length-1,c.isFirst=0==o,f.post&&f.post.call(m,c),r.pop()})),o.pop()),f.after&&f.after.call(m,m.node),m):m}(e).node}function c(e){if("object"==typeof e&&null!==e){var t;if(a(e))t=[];else if("[object Date]"===l(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===l(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===l(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===l(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===l(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===l(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(i(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 l=c(r);return e.push(r),t.push(l),s(i(r),(function(e){l[e]=n(r[e])})),e.pop(),t.pop(),l}return r}(this.value)};var i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function l(e){return Object.prototype.toString.call(e)}var a=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(i(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}},34:function(e,t){e.exports=window.wp.hooks},35:function(e,t,n){e.exports=n(155)()},37:function(e,t){e.exports=window.wp.deprecated},376: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"}));t.a=c},377: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=c},378: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=c},379: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=c},380:function(e,t,n){"use strict";function r(){}function o(e,t,n,r,o){for(var c=0,i=t.length,l=0,a=0;c<i;c++){var s=t[c];if(s.removed){if(s.value=e.join(r.slice(a,a+s.count)),a+=s.count,c&&t[c-1].added){var u=t[c-1];t[c-1]=t[c],t[c]=u}}else{if(!s.added&&o){var d=n.slice(l,l+s.count);d=d.map((function(e,t){var n=r[a+t];return n.length>e.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(a+=s.count)}}var b=t[i-1];return i>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[i-2].value+=b.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function l(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=a+s,b=[{newPos:-1,components:[]}],f=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=a&&f+1>=s)return l([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,d=b[n-1],f=b[n+1],p=(f?f.newPos:0)-n;d&&(b[n-1]=void 0);var m=d&&d.newPos+1<a,v=f&&0<=p&&p<s;if(m||v){if(!m||v&&d.newPos<f.newPos?(r=c(f),i.pushComponent(r.components,void 0,!0)):((r=d).newPos++,i.pushComponent(r.components,!0,void 0)),p=i.extractCommon(r,t,e,n),r.newPos+1>=a&&p+1>=s)return l(o(i,r.components,t,e,i.useLongestToken));b[n]=r}else b[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>d)return r();p()||e()}),0)}();else for(;u<=d;){var m=p();if(m)return m}},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,c=n.length,i=e.newPos,l=i-r,a=0;i+1<o&&l+1<c&&this.equals(t[i+1],n[l+1]);)i++,l++,a++;return a&&e.components.push({count:a}),e.newPos=i,l},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("")}}},381: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:"M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z"}));t.a=c},382: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=c},39:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=window.wp.data},40:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},41:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},43: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}))},44:function(e,t){e.exports=window.wp.keyboardShortcuts},46:function(e,t,n){"use strict";function r(e,t,n,r,o,c,i){try{var l=e[c](i),a=l.value}catch(e){return void n(e)}l.done?t(a):Promise.resolve(a).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var i=e.apply(t,n);function l(e){r(i,o,c,l,a,"next",e)}function a(e){r(i,o,c,l,a,"throw",e)}l(void 0)}))}}n.d(t,"a",(function(){return o}))},48: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}))},5:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},50:function(e,t,n){"use strict";var r,o;function c(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function l(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,a;function s(){n=o?new WeakMap:i()}function u(){var n,r,o,c,i,s=arguments.length;for(c=new Array(s),o=0;o<s;o++)c[o]=arguments[o];for(i=t.apply(null,c),(n=a(i)).isUniqueByDependants||(n.lastDependants&&!l(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(l(r.args,c,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,c)},c[0]=null,r.args=c,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=c),a=o?function(e){var t,o,c,l,a,s=n,u=!0;for(t=0;t<e.length;t++){if(!(a=o=e[t])||"object"!=typeof a){u=!1;break}s.has(o)?s=s.get(o):(c=new WeakMap,s.set(o,c),s=c)}return s.has(r)||((l=i()).isUniqueByDependants=u,s.set(r,l)),s.get(r)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},509:function(e,t,n){"use strict";n.r(t),n.d(t,"getColorClassName",(function(){return Pe})),n.d(t,"getColorObjectByAttributeValues",(function(){return Ie})),n.d(t,"getColorObjectByColorValue",(function(){return xe})),n.d(t,"createCustomColorsHOC",(function(){return qn})),n.d(t,"withColors",(function(){return $n})),n.d(t,"__experimentalUseColors",(function(){return ur})),n.d(t,"__experimentalGetGradientClass",(function(){return Ne})),n.d(t,"getGradientValueBySlug",(function(){return De})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Ae})),n.d(t,"getGradientSlugByValue",(function(){return Re})),n.d(t,"__experimentalUseGradient",(function(){return Le})),n.d(t,"getFontSize",(function(){return un})),n.d(t,"getFontSizeClass",(function(){return bn})),n.d(t,"getFontSizeObjectByValue",(function(){return dn})),n.d(t,"FontSizePicker",(function(){return fn})),n.d(t,"withFontSizes",(function(){return mr})),n.d(t,"AlignmentToolbar",(function(){return _r})),n.d(t,"Autocomplete",(function(){return Hr})),n.d(t,"BlockAlignmentToolbar",(function(){return z})),n.d(t,"__experimentalBlockFullHeightAligmentToolbar",(function(){return Gr})),n.d(t,"__experimentalBlockAlignmentMatrixToolbar",(function(){return Ur})),n.d(t,"BlockBreadcrumb",(function(){return Dl})),n.d(t,"BlockContextProvider",(function(){return Ml})),n.d(t,"BlockControls",(function(){return C})),n.d(t,"BlockColorsStyleSelector",(function(){return zl})),n.d(t,"BlockEdit",(function(){return Wl})),n.d(t,"useBlockEditContext",(function(){return h})),n.d(t,"BlockFormatControls",(function(){return Xl})),n.d(t,"BlockIcon",(function(){return Mr})),n.d(t,"BlockNavigationDropdown",(function(){return Vd})),n.d(t,"__experimentalBlockNavigationBlockFill",(function(){return Ed})),n.d(t,"__experimentalBlockNavigationEditor",(function(){return tb})),n.d(t,"__experimentalBlockNavigationTree",(function(){return Rd})),n.d(t,"__experimentalBlockVariationPicker",(function(){return rb})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return ib})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return pb})),n.d(t,"ButtonBlockerAppender",(function(){return Ns})),n.d(t,"ColorPalette",(function(){return Ob})),n.d(t,"ColorPaletteControl",(function(){return hb})),n.d(t,"ContrastChecker",(function(){return it})),n.d(t,"__experimentalGradientPicker",(function(){return yb})),n.d(t,"__experimentalGradientPickerControl",(function(){return _b})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Eb})),n.d(t,"__experimentalFontAppearanceControl",(function(){return Yt})),n.d(t,"__experimentalFontFamilyControl",(function(){return nn})),n.d(t,"__experimentalColorGradientControl",(function(){return $e})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return rt})),n.d(t,"__experimentalImageSizeControl",(function(){return wb})),n.d(t,"InnerBlocks",(function(){return Fb})),n.d(t,"__experimentalUseInnerBlocksProps",(function(){return Mb})),n.d(t,"InspectorAdvancedControls",(function(){return ee})),n.d(t,"InspectorControls",(function(){return ce})),n.d(t,"__experimentalLinkControl",(function(){return gf})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return uf})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return Zb})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return Qb})),n.d(t,"LineHeightControl",(function(){return zt})),n.d(t,"MediaReplaceFlow",(function(){return yf})),n.d(t,"MediaPlaceholder",(function(){return Bf})),n.d(t,"MediaUpload",(function(){return jf})),n.d(t,"MediaUploadCheck",(function(){return kf})),n.d(t,"PanelColorSettings",(function(){return Jn})),n.d(t,"PlainText",(function(){return Pf})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Nf})),n.d(t,"RichText",(function(){return eb})),n.d(t,"RichTextShortcut",(function(){return Df})),n.d(t,"RichTextToolbarButton",(function(){return Af})),n.d(t,"__unstableRichTextInputEvent",(function(){return Rf})),n.d(t,"ToolSelector",(function(){return Mf})),n.d(t,"__experimentalUnitControl",(function(){return Ff})),n.d(t,"URLInput",(function(){return $b})),n.d(t,"URLInputButton",(function(){return zf})),n.d(t,"URLPopover",(function(){return wf})),n.d(t,"__experimentalImageURLInputUI",(function(){return Kf})),n.d(t,"withColorContext",(function(){return gb})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return _u})),n.d(t,"__experimentalInserterMenuExtension",(function(){return js})),n.d(t,"__experimentalPreviewOptions",(function(){return $f})),n.d(t,"__experimentalUseResizeCanvas",(function(){return tp})),n.d(t,"BlockInspector",(function(){return ap})),n.d(t,"BlockList",(function(){return Ku})),n.d(t,"useBlockProps",(function(){return sd})),n.d(t,"__experimentalBlock",(function(){return bp})),n.d(t,"BlockMover",(function(){return Xs})),n.d(t,"BlockPreview",(function(){return qa})),n.d(t,"BlockSelectionClearer",(function(){return pp})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return fp})),n.d(t,"BlockSettingsMenu",(function(){return Nu})),n.d(t,"BlockSettingsMenuControls",(function(){return xu})),n.d(t,"BlockTitle",(function(){return Nl})),n.d(t,"BlockToolbar",(function(){return Mu})),n.d(t,"CopyHandler",(function(){return vu})),n.d(t,"__unstableUseClipboardHandler",(function(){return mu})),n.d(t,"DefaultBlockAppender",(function(){return Ts})),n.d(t,"__unstableUseEditorStyles",(function(){return Mp})),n.d(t,"Inserter",(function(){return Ps})),n.d(t,"__experimentalLibrary",(function(){return Fp})),n.d(t,"__experimentalSearchForm",(function(){return Ma})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Hp})),n.d(t,"MultiSelectScrollIntoView",(function(){return Gp})),n.d(t,"__unstableUseScrollMultiSelectionIntoView",(function(){return zp})),n.d(t,"NavigableToolbar",(function(){return $s})),n.d(t,"ObserveTyping",(function(){return qp})),n.d(t,"__unstableUseTypingObserver",(function(){return Kp})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return Wp})),n.d(t,"PreserveScrollInReorder",(function(){return $p})),n.d(t,"SkipToSelectedBlock",(function(){return np})),n.d(t,"Typewriter",(function(){return Zp})),n.d(t,"__unstableUseTypewriter",(function(){return Qp})),n.d(t,"Warning",(function(){return ha})),n.d(t,"WritingFlow",(function(){return cd})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return em})),n.d(t,"useBlockDisplayInformation",(function(){return Tl})),n.d(t,"__unstableIframe",(function(){return om})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return im})),n.d(t,"BlockEditorProvider",(function(){return Ua})),n.d(t,"__experimentalUseSimulatedMediaQuery",(function(){return ep})),n.d(t,"__experimentalUseEditorFeature",(function(){return ge})),n.d(t,"transformStyles",(function(){return Lp})),n.d(t,"validateThemeColors",(function(){return lm})),n.d(t,"validateThemeGradients",(function(){return am})),n.d(t,"__experimentalGetMatchingVariation",(function(){return ob})),n.d(t,"storeConfig",(function(){return xl})),n.d(t,"store",(function(){return Pl})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Kr}));var r={};n.r(r),n.d(r,"getBlockName",(function(){return Oo})),n.d(r,"isBlockValid",(function(){return ho})),n.d(r,"getBlockAttributes",(function(){return jo})),n.d(r,"getBlock",(function(){return ko})),n.d(r,"__unstableGetBlockWithoutInnerBlocks",(function(){return yo})),n.d(r,"getBlocks",(function(){return _o})),n.d(r,"__unstableGetBlockWithBlockTree",(function(){return Eo})),n.d(r,"__unstableGetBlockTree",(function(){return Co})),n.d(r,"getClientIdsOfDescendants",(function(){return wo})),n.d(r,"getClientIdsWithDescendants",(function(){return So})),n.d(r,"getGlobalBlockCount",(function(){return Bo})),n.d(r,"getBlocksByClientId",(function(){return Io})),n.d(r,"getBlockCount",(function(){return xo})),n.d(r,"getSelectionStart",(function(){return Po})),n.d(r,"getSelectionEnd",(function(){return To})),n.d(r,"getBlockSelectionStart",(function(){return No})),n.d(r,"getBlockSelectionEnd",(function(){return Do})),n.d(r,"getSelectedBlockCount",(function(){return Ao})),n.d(r,"hasSelectedBlock",(function(){return Ro})),n.d(r,"getSelectedBlockClientId",(function(){return Lo})),n.d(r,"getSelectedBlock",(function(){return Mo})),n.d(r,"getBlockRootClientId",(function(){return Fo})),n.d(r,"getBlockParents",(function(){return Vo})),n.d(r,"getBlockParentsByBlockName",(function(){return Ho})),n.d(r,"getBlockHierarchyRootClientId",(function(){return zo})),n.d(r,"getLowestCommonAncestorWithSelectedBlock",(function(){return Go})),n.d(r,"getAdjacentBlockClientId",(function(){return Uo})),n.d(r,"getPreviousBlockClientId",(function(){return Wo})),n.d(r,"getNextBlockClientId",(function(){return Ko})),n.d(r,"getSelectedBlocksInitialCaretPosition",(function(){return qo})),n.d(r,"getSelectedBlockClientIds",(function(){return $o})),n.d(r,"getMultiSelectedBlockClientIds",(function(){return Yo})),n.d(r,"getMultiSelectedBlocks",(function(){return Xo})),n.d(r,"getFirstMultiSelectedBlockClientId",(function(){return Qo})),n.d(r,"getLastMultiSelectedBlockClientId",(function(){return Zo})),n.d(r,"isFirstMultiSelectedBlock",(function(){return Jo})),n.d(r,"isBlockMultiSelected",(function(){return ec})),n.d(r,"isAncestorMultiSelected",(function(){return tc})),n.d(r,"getMultiSelectedBlocksStartClientId",(function(){return nc})),n.d(r,"getMultiSelectedBlocksEndClientId",(function(){return rc})),n.d(r,"getBlockOrder",(function(){return oc})),n.d(r,"getBlockIndex",(function(){return cc})),n.d(r,"isBlockSelected",(function(){return ic})),n.d(r,"hasSelectedInnerBlock",(function(){return lc})),n.d(r,"isBlockWithinSelection",(function(){return ac})),n.d(r,"hasMultiSelection",(function(){return sc})),n.d(r,"isMultiSelecting",(function(){return uc})),n.d(r,"isSelectionEnabled",(function(){return dc})),n.d(r,"getBlockMode",(function(){return bc})),n.d(r,"isTyping",(function(){return fc})),n.d(r,"isDraggingBlocks",(function(){return pc})),n.d(r,"getDraggedBlockClientIds",(function(){return mc})),n.d(r,"isBlockBeingDragged",(function(){return vc})),n.d(r,"isAncestorBeingDragged",(function(){return gc})),n.d(r,"isCaretWithinFormattedText",(function(){return Oc})),n.d(r,"getBlockInsertionPoint",(function(){return hc})),n.d(r,"isBlockInsertionPointVisible",(function(){return jc})),n.d(r,"isValidTemplate",(function(){return kc})),n.d(r,"getTemplate",(function(){return yc})),n.d(r,"getTemplateLock",(function(){return _c})),n.d(r,"canInsertBlockType",(function(){return Cc})),n.d(r,"canInsertBlocks",(function(){return wc})),n.d(r,"getInserterItems",(function(){return Tc})),n.d(r,"getBlockTransformItems",(function(){return Nc})),n.d(r,"hasInserterItems",(function(){return Dc})),n.d(r,"__experimentalGetAllowedBlocks",(function(){return Ac})),n.d(r,"getBlockListSettings",(function(){return Rc})),n.d(r,"getSettings",(function(){return Lc})),n.d(r,"isLastBlockChangePersistent",(function(){return Mc})),n.d(r,"__experimentalGetBlockListSettingsForBlocks",(function(){return Fc})),n.d(r,"__experimentalGetParsedReusableBlock",(function(){return Vc})),n.d(r,"__experimentalGetReusableBlockTitle",(function(){return Hc})),n.d(r,"__unstableIsLastBlockChangeIgnored",(function(){return zc})),n.d(r,"__experimentalGetLastBlockAttributeChanges",(function(){return Gc})),n.d(r,"isNavigationMode",(function(){return Wc})),n.d(r,"hasBlockMovingClientId",(function(){return Kc})),n.d(r,"didAutomaticChange",(function(){return qc})),n.d(r,"isBlockHighlighted",(function(){return $c})),n.d(r,"areInnerBlocksControlled",(function(){return Yc})),n.d(r,"__experimentalGetActiveBlockIdByBlockNames",(function(){return Xc}));var o={};n.r(o),n.d(o,"resetBlocks",(function(){return Ci})),n.d(o,"validateBlocksToTemplate",(function(){return wi})),n.d(o,"resetSelection",(function(){return Si})),n.d(o,"receiveBlocks",(function(){return Bi})),n.d(o,"updateBlockAttributes",(function(){return Ii})),n.d(o,"updateBlock",(function(){return xi})),n.d(o,"selectBlock",(function(){return Pi})),n.d(o,"selectPreviousBlock",(function(){return Ti})),n.d(o,"selectNextBlock",(function(){return Ni})),n.d(o,"startMultiSelect",(function(){return Di})),n.d(o,"stopMultiSelect",(function(){return Ai})),n.d(o,"multiSelect",(function(){return Ri})),n.d(o,"clearSelectedBlock",(function(){return Li})),n.d(o,"toggleSelection",(function(){return Mi})),n.d(o,"replaceBlocks",(function(){return Vi})),n.d(o,"replaceBlock",(function(){return Hi})),n.d(o,"moveBlocksDown",(function(){return Gi})),n.d(o,"moveBlocksUp",(function(){return Ui})),n.d(o,"moveBlocksToPosition",(function(){return Wi})),n.d(o,"moveBlockToPosition",(function(){return Ki})),n.d(o,"insertBlock",(function(){return qi})),n.d(o,"insertBlocks",(function(){return $i})),n.d(o,"__unstableSetInsertionPoint",(function(){return Yi})),n.d(o,"showInsertionPoint",(function(){return Xi})),n.d(o,"hideInsertionPoint",(function(){return Qi})),n.d(o,"setTemplateValidity",(function(){return Zi})),n.d(o,"synchronizeTemplate",(function(){return Ji})),n.d(o,"mergeBlocks",(function(){return el})),n.d(o,"removeBlocks",(function(){return tl})),n.d(o,"removeBlock",(function(){return nl})),n.d(o,"replaceInnerBlocks",(function(){return rl})),n.d(o,"toggleBlockMode",(function(){return ol})),n.d(o,"startTyping",(function(){return cl})),n.d(o,"stopTyping",(function(){return il})),n.d(o,"startDraggingBlocks",(function(){return ll})),n.d(o,"stopDraggingBlocks",(function(){return al})),n.d(o,"enterFormattedText",(function(){return sl})),n.d(o,"exitFormattedText",(function(){return ul})),n.d(o,"selectionChange",(function(){return dl})),n.d(o,"insertDefaultBlock",(function(){return bl})),n.d(o,"updateBlockListSettings",(function(){return fl})),n.d(o,"updateSettings",(function(){return pl})),n.d(o,"__unstableSaveReusableBlock",(function(){return ml})),n.d(o,"__unstableMarkLastChangeAsPersistent",(function(){return vl})),n.d(o,"__unstableMarkNextChangeAsNotPersistent",(function(){return gl})),n.d(o,"__unstableMarkAutomaticChange",(function(){return Ol})),n.d(o,"__unstableMarkAutomaticChangeFinal",(function(){return hl})),n.d(o,"setNavigationMode",(function(){return jl})),n.d(o,"setBlockMovingClientId",(function(){return kl})),n.d(o,"duplicateBlocks",(function(){return yl})),n.d(o,"insertBeforeBlock",(function(){return _l})),n.d(o,"insertAfterBlock",(function(){return El})),n.d(o,"toggleBlockHighlight",(function(){return Cl})),n.d(o,"flashBlock",(function(){return wl})),n.d(o,"setHasControlledInnerBlocks",(function(){return Sl}));var c=n(24),i=n(10),l=n(5),a=n(0),s=n(12),u=n.n(s),d=n(2),b=n(14),f=n(34),p=n(11),m=n(4),v=n(3),g=Object(a.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:d.noop,clientId:null}),O=g.Provider;function h(){return Object(a.useContext)(g)}function j(){var e=h(),t=e.isSelected,n=e.clientId,r=e.name,o=Object(m.useSelect)((function(e){if(!t){var o=e("core/block-editor"),c=o.getBlockName,i=o.isFirstMultiSelectedBlock,l=o.getMultiSelectedBlockClientIds;return!!i(n)&&l().every((function(e){return c(e)===r}))}}),[n,t,r]);return t||o}var k=Object(v.createSlotFill)("BlockControls"),y=k.Fill,_=k.Slot,E=function(e){var t=e.controls,n=e.children;return j()?Object(a.createElement)(y,null,(function(e){var r=Object(d.isEmpty)(e)?null:e;return Object(a.createElement)(v.__experimentalToolbarContext.Provider,{value:r},Object(a.createElement)(v.ToolbarGroup,{controls:t}),n)})):null};E.Slot=function(e){var t=Object(a.useContext)(v.__experimentalToolbarContext);return Object(a.createElement)(_,Object(i.a)({},e,{fillProps:t}))};var C=E,w=n(1),S=n(7),B=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"})),I=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"})),x=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"})),P=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"})),T=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"})),N={type:"default"},D=Object(a.createContext)(N),A=D.Provider;function R(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 L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M={left:{icon:B,title:Object(w.__)("Align left")},center:{icon:I,title:Object(w.__)("Align center")},right:{icon:x,title:Object(w.__)("Align right")},wide:{icon:P,title:Object(w.__)("Wide width")},full:{icon:T,title:Object(w.__)("Full width")}},F=["left","center","right","wide","full"],V=["wide","full"],H={isAlternate:!0},z=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?F:r,c=e.isCollapsed,i=void 0===c||c,l=Object(m.useSelect)((function(e){return{wideControlsEnabled:(0,e("core/block-editor").getSettings)().alignWide}})).wideControlsEnabled,s=void 0!==l&&l,u=Object(a.useContext)(D);if("default"!==u.type)return null;var d=u.alignments,b=void 0===d?F:d,f=o.filter((function(e){return(s||!V.includes(e))&&b.includes(e)}));if(0===f.length)return null;var p=M[t],g=M.center;return Object(a.createElement)(v.ToolbarGroup,{popoverProps:H,isCollapsed:i,icon:p?p.icon:g.icon,label:Object(w.__)("Align"),toggleProps:{describedBy:Object(w.__)("Change alignment")},controls:f.map((function(e){return L(L({},M[e]),{},{isActive:t===e,role:i?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})};function G(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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=["left","center","right","wide","full"],K=["wide","full"];function q(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)?W.filter((function(t){return e.includes(t)})):!0===e?W:[],!r||!0===e&&!n?d.without.apply(void 0,[t].concat(K)):t}var $=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(a.createElement)(C,{key:"align-controls"},Object(a.createElement)(z,{value:t.attributes.align,onChange:function(e){var n,r;e||(null===(n=Object(p.getBlockType)(t.name).attributes)||void 0===n||null===(r=n.align)||void 0===r?void 0:r.default)&&(e=""),t.setAttributes({align:e})},controls:r})),Object(a.createElement)(e,Object(i.a)({key:"edit"},t))]}}),"withToolbarControls"),Y=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(m.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(a.createElement)(e,t);var c=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0),o),l=t.wrapperProps;return c.includes(r)&&(l=U(U({},l),{},{"data-align":r})),Object(a.createElement)(e,Object(i.a)({},t,{wrapperProps:l}))}}));Object(f.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(d.has)(e.attributes,["align","type"])||Object(p.hasBlockSupport)(e,"align")&&(e.attributes=U(U({},e.attributes),{},{align:{type:"string",enum:[].concat(W,[""])}})),e})),Object(f.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Y),Object(f.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align;return q(Object(p.getBlockSupport)(t,"align"),Object(p.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=u()("align".concat(r),e.className)),e}));var X=Object(v.createSlotFill)("InspectorAdvancedControls"),Q=X.Fill,Z=X.Slot;function J(e){var t=e.children;return h().isSelected?Object(a.createElement)(Q,null,t):null}J.slotName="InspectorAdvancedControls",J.Slot=Z;var ee=J,te=Object(v.createSlotFill)("InspectorControls"),ne=te.Fill,re=te.Slot;function oe(e){var t=e.children;return j()?Object(a.createElement)(ne,null,t):null}oe.Slot=re;var ce=oe;function ie(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 le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ae=/[\s#]/g,se=Object(b.createHigherOrderComponent)((function(e){return function(t){if(Object(p.hasBlockSupport)(t.name,"anchor")&&t.isSelected){var n="web"===a.Platform.OS,r=Object(a.createElement)(v.TextControl,{className:"html-anchor-control",label:Object(w.__)("HTML anchor"),help:Object(a.createElement)(a.Fragment,null,Object(w.__)("Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(a.createElement)(v.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(w.__)("Learn more about anchors"))),value:t.attributes.anchor||"",valuePlaceholder:n?null:Object(w.__)("Add an anchor"),onChange:function(e){e=e.replace(ae,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),n&&Object(a.createElement)(ee,null,r),!n&&"core/heading"===t.name&&Object(a.createElement)(ce,null,Object(a.createElement)(v.PanelBody,{title:Object(w.__)("Heading settings")},r)))}return Object(a.createElement)(e,t)}}),"withInspectorControl");function ue(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 de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(f.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(d.has)(e.attributes,["anchor","type"])||Object(p.hasBlockSupport)(e,"anchor")&&(e.attributes=le(le({},e.attributes),{},{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e})),Object(f.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",se),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(p.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var be=Object(b.createHigherOrderComponent)((function(e){return function(t){return Object(p.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),Object(a.createElement)(ee,null,Object(a.createElement)(v.TextControl,{autoComplete:"off",label:Object(w.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(w.__)("Separate multiple classes with spaces.")}))):Object(a.createElement)(e,t)}}),"withInspectorControl");function fe(e){e="<div data-custom-class-name>".concat(e,"</div>");var t=Object(p.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(f.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(p.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=de(de({},e.attributes),{},{className:{type:"string"}})),e})),Object(f.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",be),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(p.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e})),Object(f.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(p.hasBlockSupport)(t,"customClassName",!0)){var r=Object(d.omit)(e,["className"]),o=Object(p.getSaveContent)(t,r),c=fe(o),i=fe(n),l=Object(d.difference)(i,c);l.length?e.className=l.join(" "):o&&delete e.className}return e}));var pe=n(15);Object(f.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(p.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(d.uniq)([Object(p.getBlockDefaultClassName)(t.name)].concat(Object(pe.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(p.getBlockDefaultClassName)(t.name)),e}));var me={"color.palette":function(e){return void 0===e.colors?void 0:e.colors},"color.gradients":function(e){return void 0===e.gradients?void 0:e.gradients},"color.custom":function(e){return void 0===e.disableCustomColors?void 0:!e.disableCustomColors},"color.customGradient":function(e){return void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients},"typography.fontSizes":function(e){return void 0===e.fontSizes?void 0:e.fontSizes},"typography.customFontSize":function(e){return void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes},"typography.customLineHeight":function(e){return e.enableCustomLineHeight},"spacing.units":function(e){if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw"]:e.enableCustomUnits},"spacing.customPadding":function(e){return e.enableCustomSpacing}};function ve(e,t){for(var n in t)if(t[n]!==e[n])return!1;return!0}function ge(e){var t=h(),n=t.name,r=t.clientId;return Object(m.useSelect)((function(t){var o,c=t("core/block-editor"),i=c.getBlockAttributes,l=(0,c.getSettings)(),a=t(p.store).getBlockType(n),s=n,u=Object(d.get)(a,["supports","__experimentalSelector"]);if(Object(d.isObject)(u)){var b=i(r)||{};for(var f in u)if(ve(b,u[f].attributes)){s=f;break}}var m="__experimentalFeatures.defaults.".concat(e),v="__experimentalFeatures.".concat(s,".").concat(e),g=null!==(o=Object(d.get)(l,v))&&void 0!==o?o:Object(d.get)(l,m);if(void 0!==g)return g;var O=me[e]?me[e](l):void 0;return void 0!==O?O:"typography.dropCap"===e||void 0}),[n,r,e])}var Oe=function e(t){if(!Object(d.isObject)(t))return t;var n=Object(d.pickBy)(Object(d.mapValues)(t,e),d.identity);return Object(d.isEqual)(n,{})?void 0:n};function he(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 je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e){var t,n=e.attributes.style,r=e.setAttributes;return _e(e)?null:Object(a.createElement)(v.RangeControl,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.radius,label:Object(w.__)("Border radius"),min:0,max:50,initialPosition:0,allowReset:!0,onChange:function(e){var t=je(je({},n),{},{border:je(je({},null==n?void 0:n.border),{},{radius:e})});r({style:Oe(t)})}})}function ye(e){var t=Object(p.getBlockSupport)(e,Ee);return!!(!0===t||null!=t&&t.radius)}function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!ge("border.customRadius");return!ye(t)||n}var Ee="__experimentalBorder";function Ce(e){var t=we(e),n=function(e){if("web"!==a.Platform.OS)return!1;var t=Object(p.getBlockSupport)(e,Ee);return!!(!0===t||null!=t&&t.radius)}(e.name);return t||!n?null:Object(a.createElement)(ce,null,Object(a.createElement)(v.PanelBody,{title:Object(w.__)("Border settings")},Object(a.createElement)(ke,e)))}var we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[_e(e)];return t.every(Boolean)},Se=n(60),Be=n.n(Se),Ie=function(e,t,n){if(t){var r=Object(d.find)(e,{slug:t});if(r)return r}return{color:n}},xe=function(e,t){return Object(d.find)(e,{color:t})};function Pe(e,t){if(e&&t)return"has-".concat(Object(d.kebabCase)(t),"-").concat(e)}var Te=[];function Ne(e){if(e)return"has-".concat(e,"-gradient-background")}function De(e,t){var n=Object(d.find)(e,["slug",t]);return n&&n.gradient}function Ae(e,t){return Object(d.find)(e,["gradient",t])}function Re(e,t){var n=Ae(e,t);return n&&n.slug}function Le(){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,c=h(),i=c.clientId,s=ge("color.gradients")||Te,u=Object(m.useSelect)((function(e){var t=(0,e("core/block-editor").getBlockAttributes)(i)||{};return{customGradient:t[o],gradient:t[n]}}),[i,n,o]),d=u.gradient,b=u.customGradient,f=Object(m.useDispatch)("core/block-editor"),p=f.updateBlockAttributes,v=Object(a.useCallback)((function(e){var t,r,c=Re(s,e);p(i,c?(r={},Object(l.a)(r,n,c),Object(l.a)(r,o,void 0),r):(t={},Object(l.a)(t,n,void 0),Object(l.a)(t,o,e),t))}),[s,i,p]),g=Ne(d);return{gradientClass:g,gradientValue:d?De(s,d):b,setGradient:v}}var Me=n(9),Fe=n(13);function Ve(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 He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
2
  // translators: first %s: the color name or value (e.g. red or #ff0000)
3
  var ze=Object(w.__)("(Color: %s)"),Ge=Object(w.__)("(Gradient: %s)"),Ue=["colors","disableCustomColors","gradients","disableCustomGradients"];// translators: first %s: the gradient name or value (e.g. red to green or linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)
4
  function We(e){var t,n,r=e.colors,o=e.gradients,c=e.label,i=e.currentTab,l=e.colorValue,s=e.gradientValue;if("color"===i){if(l){var u=xe(r,t=l),d=u&&u.name;n=Object(w.sprintf)(ze,d||t)}}else if("gradient"===i&&s){var b=Ae(o,t=s),f=b&&b.name;n=Object(w.sprintf)(Ge,f||t)}return Object(a.createElement)(a.Fragment,null,c,!!t&&Object(a.createElement)(v.ColorIndicator,{colorValue:t,"aria-label":n}))}function Ke(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,c=e.className,l=e.label,s=e.onColorChange,b=e.onGradientChange,f=e.colorValue,p=e.gradientValue,m=e.clearable,g=s&&(!Object(d.isEmpty)(t)||!r),O=b&&(!Object(d.isEmpty)(n)||!o),h=Object(a.useState)(p?"gradient":!!g&&"color"),j=Object(Me.a)(h,2),k=j[0],y=j[1];return g||O?Object(a.createElement)(v.BaseControl,{className:u()("block-editor-color-gradient-control",c)},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(a.createElement)(v.BaseControl.VisualLabel,null,Object(a.createElement)(We,{currentTab:k,label:l,colorValue:f,gradientValue:p})))),g&&O&&Object(a.createElement)(v.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(a.createElement)(v.Button,{isSmall:!0,isPressed:"color"===k,onClick:function(){return y("color")}},Object(w.__)("Solid")),Object(a.createElement)(v.Button,{isSmall:!0,isPressed:"gradient"===k,onClick:function(){return y("gradient")}},Object(w.__)("Gradient"))),("color"===k||!O)&&Object(a.createElement)(v.ColorPalette,Object(i.a)({value:f,onChange:O?function(e){s(e),b()}:s},{colors:t,disableCustomColors:r},{clearable:m})),("gradient"===k||!g)&&Object(a.createElement)(v.__experimentalGradientPicker,Object(i.a)({value:p,onChange:g?function(e){b(e),s()}:b},{gradients:n,disableCustomGradients:o},{clearable:m})))):null}function qe(e){var t={};return t.colors=ge("color.palette"),t.gradients=ge("color.gradients"),t.disableCustomColors=!ge("color.custom"),t.disableCustomGradients=!ge("color.customGradient"),Object(a.createElement)(Ke,He(He({},t),e))}var $e=function(e){return Object(d.every)(Ue,(function(t){return e.hasOwnProperty(t)}))?Object(a.createElement)(Ke,e):Object(a.createElement)(qe,e)};function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
@@ -79,4 +79,4 @@ children:Object(w.__)("Preview")};return Object(a.createElement)(v.DropdownMenu,
79
  /* translators: %d: number of blocks */
80
  Object(w._n)("%d block","%d blocks",t.length),t.length)),Object(a.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(w.sprintf)(
81
  /* translators: %d: number of words */
82
- Object(w._n)("%d word","%d words",n),n))))}));function cp(e){var t=e.blockName,n=Object(m.useSelect)((function(e){var n,r,o=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==o||null===(n=o.value)||void 0===n?void 0:n[t],onUpdatePreferredStyleVariations:null!==(r=null==o?void 0:o.onChange)&&void 0!==r?r:null,styles:e(p.store).getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,c=n.styles,i=Object(a.useMemo)((function(){return[{label:Object(w.__)("Not set"),value:""}].concat(Object(pe.a)(c.map((function(e){return{label:e.label,value:e.name}}))))}),[c]),l=Object(a.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(a.createElement)(v.SelectControl,{options:i,value:r||"",label:Object(w.__)("Default Style"),onChange:l})}var ip=function(e){var t=e.clientId,n=e.blockName,r=e.hasBlockStyles,o=e.bubblesVirtually,c=Tl(t);return Object(a.createElement)("div",{className:"block-editor-block-inspector"},Object(a.createElement)(Ha,c),Object(a.createElement)(ib,{blockClientId:t}),r&&Object(a.createElement)("div",null,Object(a.createElement)(v.PanelBody,{title:Object(w.__)("Styles")},Object(a.createElement)(cu,{clientId:t}),Object(p.hasBlockSupport)(n,"defaultStylePicker",!0)&&Object(a.createElement)(cp,{blockName:n}))),Object(a.createElement)(ce.Slot,{bubblesVirtually:o}),Object(a.createElement)("div",null,Object(a.createElement)(lp,{slotName:ee.slotName,bubblesVirtually:o})),Object(a.createElement)(np,{key:"back"}))},lp=function(e){var t=e.slotName,n=e.bubblesVirtually,r=Object(v.__experimentalUseSlot)(t);return Boolean(r.fills&&r.fills.length)?Object(a.createElement)(v.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(w.__)("Advanced"),initialOpen:!1},Object(a.createElement)(ee.Slot,{bubblesVirtually:n})):null},ap=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e(p.store).getBlockStyles,i=n(),l=i&&o(i),a=i&&Object(p.getBlockType)(l),s=i&&c(l);return{count:r(),hasBlockStyles:s&&s.length>0,selectedBlockName:l,selectedBlockClientId:i,blockType:a}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,i=e.showNoBlockSelectedMessage,l=void 0===i||i,s=e.bubblesVirtually,u=void 0===s||s;if(n>1)return Object(a.createElement)("div",{className:"block-editor-block-inspector"},Object(a.createElement)(op,null),Object(a.createElement)(ce.Slot,{bubblesVirtually:u}));var d=c===Object(p.getUnregisteredTypeHandlerName)();return t&&o&&!d?Object(a.createElement)(ip,{clientId:o,blockName:t.name,hasBlockStyles:r,bubblesVirtually:u}):l?Object(a.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(w.__)("No block selected.")):null}));function sp(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 up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sp(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var dp=Object(a.forwardRef)((function(e,t){var n=e.children,r=e.tagName,o=void 0===r?"div":r,c=Object(Fe.a)(e,["children","tagName"]);Va()("wp.blockEditor.__experimentalBlock",{alternative:"wp.blockEditor.useBlockProps"});var i=sd(up(up({},c),{},{ref:t}));return Object(a.createElement)(o,i,n)})),bp=["p","div","h1","h2","h3","h4","h5","h6","ol","ul","li","figure","nav","pre","header","section","aside","footer","main"].reduce((function(e,t){return e[t]=Object(a.forwardRef)((function(e,n){return Object(a.createElement)(dp,Object(i.a)({},e,{ref:n,tagName:t}))})),e}),dp);function fp(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return n()||r()})),n=Object(m.useDispatch)("core/block-editor").clearSelectedBlock;Object(a.useEffect)((function(){if(t)return e.current.addEventListener("mousedown",r),function(){e.current.removeEventListener("mousedown",r)};function r(e){e.target.closest(".wp-block")||n()}}),[t,n])}function pp(e){var t=Object(a.useRef)();return fp(t),Object(a.createElement)("div",Object(i.a)({ref:t},e))}var mp=n(337),vp=n.n(mp),gp=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function Op(e){return e?e.replace(/^\s+|\s+$/g,""):""}var hp=n(200),jp=n.n(hp),kp=yp;function yp(e){this.options=e||{}}yp.prototype.emit=function(e){return e},yp.prototype.visit=function(e){return this[e.type](e)},yp.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 _p=Ep;function Ep(e){kp.call(this,e)}jp()(Ep,kp),Ep.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},Ep.prototype.comment=function(e){return this.emit("",e.position)},Ep.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Ep.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ep.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("}")},Ep.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Ep.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Ep.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ep.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},Ep.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},Ep.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("}")},Ep.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Ep.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ep.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Ep.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("}"):""},Ep.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var Cp=wp;function wp(e){e=e||{},kp.call(this,e),this.indentation=e.indent}jp()(wp,kp),wp.prototype.compile=function(e){return this.stylesheet(e)},wp.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},wp.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},wp.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},wp.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}")},wp.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}")},wp.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},wp.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},wp.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}")},wp.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)+"}")},wp.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")},wp.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}")},wp.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}")},wp.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}")},wp.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},wp.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()+"}"):""},wp.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},wp.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var Sp=function(e,t){try{var n=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 c(){var e={line:n,column:r};return function(t){return t.position=new i(e),f(),t}}function i(e){this.start=e,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var l=[];function a(o){var c=new Error(t.source+":"+n+":"+r+": "+o);if(c.reason=o,c.filename=t.source,c.line=n,c.column=r,c.source=e,!t.silent)throw c;l.push(c)}function s(){return b(/^{\s*/)}function u(){return b(/^}/)}function d(){var t,n,r,o=[];for(f(),p(o);e.length&&"}"!==e.charAt(0)&&(t=C()||(n=void 0,r=void 0,n=c(),(r=v())?(p(),n({type:"rule",selectors:r,declarations:O()})):a("selector missing")));)!1!==t&&(o.push(t),p(o));return o}function b(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function f(){b(/^\s*/)}function p(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){var t=c();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 a("End of comment missing");var i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}}function v(){var e=b(/^([^{]+)/);if(e)return Op(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=c(),t=b(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Op(t[0]),!b(/^:\s*/))return a("property missing ':'");var n=b(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(gp,""),value:n?Op(n[0]).replace(gp,""):""});return b(/^[;\s]*/),r}}function O(){var e,t=[];if(!s())return a("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:a("missing '}'")}function h(){for(var e,t=[],n=c();e=b(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),b(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:O()})}var j,k=E("import"),y=E("charset"),_=E("namespace");function E(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=c(),r=b(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=c(),t=b(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=b(/^([-\w]+)\s*/)))return a("@keyframes missing name");var r,o=t[1];if(!s())return a("@keyframes missing '{'");for(var i=p();r=h();)i.push(r),i=i.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:i}):a("@keyframes missing '}'")}}()||function(){var e=c(),t=b(/^@media *([^{]+)/);if(t){var n=Op(t[1]);if(!s())return a("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):a("@media missing '}'")}}()||function(){var e=c(),t=b(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Op(t[1]),media:Op(t[2])})}()||function(){var e=c(),t=b(/^@supports *([^{]+)/);if(t){var n=Op(t[1]);if(!s())return a("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):a("@supports missing '}'")}}()||k()||y()||_()||function(){var e=c(),t=b(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Op(t[1]),r=Op(t[2]);if(!s())return a("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):a("@document missing '}'")}}()||function(){var e=c();if(b(/^@page */)){var t=v()||[];if(!s())return a("@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}):a("@page missing '}'")}}()||function(){var e=c();if(b(/^@host\s*/)){if(!s())return a("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):a("@host missing '}'")}}()||function(){var e=c();if(b(/^@font-face\s*/)){if(!s())return a("@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}):a("@font-face missing '}'")}}()}return function e(t,n){var r=t&&"string"==typeof t.type,o=r?t:n;for(var c in t){var i=t[c];Array.isArray(i)?i.forEach((function(t){e(t,o)})):i&&"object"===Object(so.a)(i)&&e(i,o)}return r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null}),t}((j=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:l}}))}(e);return r=vp.a.map(n,(function(e){if(!e)return e;var n=t(e);return this.update(n)})),((o=o||{}).compress?new _p(o):new Cp(o)).compile(r)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var r,o};function Bp(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 Ip(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bp(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xp(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 Pp(e,t){return new URL(e,t).toString()}var Tp=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]};xp(o)&&r.push(o)}return r}(t.value).map((c=e,function(e){return Ip(Ip({},e),{},{newUrl:"url("+e.before+e.quote+Pp(e.value,c)+e.quote+e.after+")"})}));return Ip(Ip({},t),{},{value:(r=t.value,o=n,o.forEach((function(e){r=r.replace(e.source,e.newUrl)})),r)})}var r,o,c;return t}};function Np(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 Dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Np(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Np(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ap=/^(body|html|:root).*$/,Rp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Dp(Dp({},n),{},{selectors:n.selectors.map((function(n){return t.includes(n.trim())?n:n.match(Ap)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},Lp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(d.map)(e,(function(e){var n=e.css,r=e.baseURL,o=e.__experimentalNoWrapper,c=[];return t&&!(void 0!==o&&o)&&c.push(Rp(t)),r&&c.push(Tp(r)),c.length?Sp(n,Object(b.compose)(c)):n}))};function Mp(e){var t=Object(a.useRef)([]);return Object(a.useCallback)((function(n){if(n){var r=Lp(e,".editor-styles-wrapper"),o=n.ownerDocument;t.current=Object(d.map)(Object(d.compact)(r),(function(e){var t=o.createElement("style");return t.innerHTML=e,o.body.appendChild(t),t})),function(e){var t=window.getComputedStyle(e,null).getPropertyValue("background-color"),n=e.ownerDocument.getElementsByTagName("body")[0];Be()(t).getLuminance()>.5?n.classList.remove("is-dark-theme"):n.classList.add("is-dark-theme")}(n)}else t.current.forEach((function(e){return e.ownerDocument.body.removeChild(e)}))}),[e])}var Fp=function(e){var t=e.rootClientId,n=e.clientId,r=e.isAppender,o=e.showInserterHelpPanel,c=e.showMostUsedBlocks,i=void 0!==c&&c,l=e.__experimentalSelectBlockOnInsert,s=e.__experimentalInsertionIndex,u=e.onSelect,b=void 0===u?d.noop:u,f=Object(m.useSelect)((function(e){var r=e("core/block-editor").getBlockRootClientId;return t||r(n)||void 0}),[n,t]);return Object(a.createElement)(Ss,{onSelect:b,rootClientId:f,clientId:n,isAppender:r,showInserterHelpPanel:o,showMostUsedBlocks:i,__experimentalSelectBlockOnInsert:l,__experimentalInsertionIndex:s})};function Vp(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder,o=t.getBlockRootClientId,c=n(),i=Object(Me.a)(c,1)[0];return{clientIds:c,rootBlocksClientIds:r(),rootClientId:o(i)}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=e.rootClientId,o=Object(m.useDispatch)("core/block-editor"),c=o.duplicateBlocks,i=o.removeBlocks,l=o.insertAfterBlock,s=o.insertBeforeBlock,u=o.multiSelect,b=o.clearSelectedBlock,f=o.moveBlocksUp,p=o.moveBlocksDown;return Object(Ql.useShortcut)("core/block-editor/move-up",Object(a.useCallback)((function(e){e.preventDefault(),f(t,r)}),[t,f]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/move-down",Object(a.useCallback)((function(e){e.preventDefault(),p(t,r)}),[t,p]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/duplicate",Object(a.useCallback)((function(e){e.preventDefault(),c(t)}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/remove",Object(a.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/insert-after",Object(a.useCallback)((function(e){e.preventDefault(),l(Object(d.last)(t))}),[t,l]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/insert-before",Object(a.useCallback)((function(e){e.preventDefault(),s(Object(d.first)(t))}),[t,s]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/delete-multi-selection",Object(a.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<2}),Object(Ql.useShortcut)("core/block-editor/select-all",Object(a.useCallback)((function(e){e.preventDefault(),u(Object(d.first)(n),Object(d.last)(n))}),[n,u])),Object(Ql.useShortcut)("core/block-editor/unselect",Object(a.useCallback)((function(e){e.preventDefault(),b(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges()}),[t,b]),{isDisabled:t.length<2}),null}Vp.Register=function(){var e=Object(m.useDispatch)(Ql.store).registerShortcut;return Object(a.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(w.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(w.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(w.__)("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(w.__)("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(w.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(w.__)("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(w.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(w.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(w.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(w.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var Hp=Vp;function zp(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting,c=n();if(c&&!o()&&r())return c}),[]);Object(a.useEffect)((function(){if(t){var n=e.current.ownerDocument,r=lt(t,n);if(r){var o=Object(ta.getScrollContainer)(r);o&&Kb()(r,o,{onlyScrollIfNeeded:!0})}}}),[t])}function Gp(){var e=Object(a.useRef)();return zp(e),Object(a.createElement)("div",{ref:e})}var Up=new Set([Ht.UP,Ht.RIGHT,Ht.DOWN,Ht.LEFT,Ht.ENTER,Ht.BACKSPACE]);function Wp(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor").stopTyping;Object(a.useEffect)((function(){if(t){var r,o,c=e.current.ownerDocument;return c.addEventListener("mousemove",i),function(){c.removeEventListener("mousemove",i)}}function i(e){var t=e.clientX,c=e.clientY;r&&o&&(r!==t||o!==c)&&n(),r=t,o=c}}),[t,n])}function Kp(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor"),r=n.startTyping,o=n.stopTyping;Wp(e),Object(a.useEffect)((function(){var n=e.current,c=n.ownerDocument,i=c.defaultView;if(t){var l;function a(e){var t=e.target;l=i.setTimeout((function(){Object(ta.isTextField)(t)||o()}))}function s(e){var t=e.keyCode;t!==Ht.ESCAPE&&t!==Ht.TAB||o()}function u(){var e=i.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||o()}return n.addEventListener("focus",a),n.addEventListener("keydown",s),c.addEventListener("selectionchange",u),function(){i.clearTimeout(l),n.removeEventListener("focus",a),n.removeEventListener("keydown",s),c.removeEventListener("selectionchange",u)}}function d(e){var t=e.type,o=e.target;Object(ta.isTextField)(o)&&n.contains(o)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Up.has(t)}(e))&&r()}return n.addEventListener("keypress",d),n.addEventListener("keydown",d),function(){n.removeEventListener("keypress",d),n.removeEventListener("keydown",d)}}),[t,r,o])}var qp=function(e){var t=e.children,n=Object(a.useRef)();return Kp(n),Object(a.createElement)("div",{ref:n},t)};function $p(){return Va()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var Yp=-1!==window.navigator.userAgent.indexOf("Trident"),Xp=new Set([Ht.UP,Ht.DOWN,Ht.LEFT,Ht.RIGHT]);function Qp(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedBlock()}));Object(a.useEffect)((function(){if(t){var n,r,o,c=e.current.ownerDocument,i=c.defaultView;return i.addEventListener("scroll",l,!0),i.addEventListener("resize",l,!0),e.current.addEventListener("keydown",a),e.current.addEventListener("keyup",s),e.current.addEventListener("mousedown",u),e.current.addEventListener("touchstart",u),function(){i.removeEventListener("scroll",l,!0),i.removeEventListener("resize",l,!0),e.current.removeEventListener("keydown",a),e.current.removeEventListener("keyup",s),e.current.removeEventListener("mousedown",u),e.current.removeEventListener("touchstart",u),c.removeEventListener("selectionchange",d),i.cancelAnimationFrame(n),i.cancelAnimationFrame(r)}}function l(){n||(n=i.requestAnimationFrame((function(){b(),n=null})))}function a(e){r&&i.cancelAnimationFrame(r),r=i.requestAnimationFrame((function(){s(e),r=null}))}function s(t){var n=t.keyCode;if(f()){var r=Object(ta.computeCaretRect)(i);if(r)if(o)if(Xp.has(n))o=r;else{var l=r.top-o.top;if(0!==l){var a=Object(ta.getScrollContainer)(e.current);if(a){var s=a===c.body,u=s?i.scrollY:a.scrollTop,d=s?0:a.getBoundingClientRect().top,b=s?o.top/i.innerHeight:(o.top-d)/(i.innerHeight-d);if(0===u&&b<.75&&(p=e.current.querySelectorAll('[contenteditable="true"]'))[p.length-1]===c.activeElement)o=r;else{var p,m=s?i.innerHeight:a.clientHeight;o.top+o.height>d+m||o.top<d?o=r:s?i.scrollBy(0,l):a.scrollTop+=l}}}}else o=r}}function u(){c.addEventListener("selectionchange",d)}function d(){c.removeEventListener("selectionchange",d),b()}function b(){f()&&(o=Object(ta.computeCaretRect)(i))}function f(){return e.current.contains(c.activeElement)&&c.activeElement.isContentEditable}}),[t])}var Zp=Yp?function(e){return e.children}:function(e){var t=e.children,n=Object(a.useRef)();return Qp(n),Object(a.createElement)("div",{ref:n,className:"block-editor__typewriter"},t)},Jp=Object(d.overEvery)([ta.isTextField,ta.focus.tabbable.isTabbableIndex]);function em(e){Object(a.useEffect)((function(){function t(t){if(t.target===e.current){var n=ta.focus.focusable.find(e.current),r=Object(d.findLast)(n,Jp);r&&(Object(ta.placeCaretAtHorizontalEdge)(r,!0),t.preventDefault())}}return e.current.addEventListener("mousedown",t),function(){e.current.addEventListener("mousedown",t)}}),[])}var tm=n(73);function nm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rm(e){e.dir=document.dir,e.body.className="editor-styles-wrapper";var t,n=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nm(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nm(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,i=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw c}}}}(document.body.classList);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.startsWith("admin-color-")&&e.body.classList.add(r)}}catch(e){n.e(e)}finally{n.f()}}var om=Object(a.forwardRef)((function(e,t){var n=e.contentRef,r=e.children,o=e.head,c=Object(Fe.a)(e,["contentRef","children","head"]),l=Object(a.useState)(),s=Object(Me.a)(l,2),u=s[0],d=s[1],b=Object(a.useCallback)((function(e){function t(){var t,r=e.contentDocument,c=r.readyState;return("interactive"===c||"complete"===c)&&(n.current=r.body,d(r),function(e,t){e.head.innerHTML="<style>body{margin:0}</style>"+t}(r,o),rm(r),t=r,Array.from(document.styleSheets).forEach((function(e){try{e.cssRules}catch(e){return}var n=e.ownerNode,r=e.cssRules;r&&Array.from(r).find((function(e){var t=e.selectorText;return t&&(t.includes(".".concat("editor-styles-wrapper"))||t.includes(".".concat("wp-block")))}))&&!t.getElementById(n.id)&&t.head.appendChild(n.cloneNode(!0))})),function(e){var t=e.defaultView,n=t.frameElement;function r(e){var r=Object.getPrototypeOf(e).constructor.name,o=window[r],c={};for(var i in e)c[i]=e[i];if(e instanceof t.MouseEvent){var l=n.getBoundingClientRect();c.clientX+=l.left,c.clientY+=l.top}var a=new o(e.type,c);!n.dispatchEvent(a)&&e.preventDefault()}for(var o=0,c=["keydown","keypress","dragover"];o<c.length;o++){var i=c[o];e.addEventListener(i,r)}}(r),rm(r),!0)}e&&(t()||e.addEventListener("load",(function(){t()})))}),[]);return Object(a.createElement)("iframe",Object(i.a)({},c,{ref:Object(a.useCallback)(Object(tm.a)([t,b]),[]),tabIndex:"0",title:Object(w.__)("Editor canvas"),name:"editor-canvas"}),u&&Object(a.createPortal)(r,u.body))})),cm=Object(a.createContext)(new Set);function im(e){var t=Object(a.useContext)(cm),n=t.has(e),r=Object(a.useMemo)((function(){return n=e,(r=new Set(t)).add(n),r;var n,r}),[e,t]);return[n,Object(a.useCallback)((function(e){var t=e.children;return Object(a.createElement)(cm.Provider,{value:r},t)}),[r])]}function lm(e){if(void 0===e)e=Kr.colors;else{var t=e.filter((function(e){return e.color}));0===t.length?e=Kr.colors:t.length<e.length&&(e=t)}return e}function am(e){if(void 0===e)e=Kr.gradients;else{var t=e.filter((function(e){return e.gradient}));0===t.length?e=Kr.gradients:t.length<e.length&&(e=t)}return e}},51:function(e,t){e.exports=window.wp.notices},52:function(e,t){e.exports=window.wp.blob},54:function(e,t){e.exports=window.wp.a11y},57:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},60:function(e,t,n){var r;!function(o){var c=/^\s+/,i=/\s+$/,l=0,a=o.round,s=o.min,u=o.max,d=o.random;function b(e,t){if(t=t||{},(e=e||"")instanceof b)return e;if(!(this instanceof b))return new b(e,t);var n=function(e){var t,n,r,l={r:0,g:0,b:0},a=1,d=null,b=null,f=null,p=!1,m=!1;return"string"==typeof e&&(e=function(e){e=e.replace(c,"").replace(i,"").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"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:A(t[1]),g:A(t[2]),b:A(t[3]),a:F(t[4]),format:n?"name":"hex8"}:(t=G.hex6.exec(e))?{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:n?"name":"hex"}:(t=G.hex4.exec(e))?{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"}:!!(t=G.hex3.exec(e))&&{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(t=e.r,n=e.g,r=e.b,l={r:255*N(t,255),g:255*N(n,255),b:255*N(r,255)},p=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(d=L(e.s),b=L(e.v),l=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),c=e-r,i=n*(1-t),l=n*(1-c*t),a=n*(1-(1-c)*t),s=r%6;return{r:255*[n,l,i,i,a,n][s],g:255*[a,n,n,l,i,i][s],b:255*[i,i,a,n,n,l][s]}}(e.h,d,b),p=!0,m="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(d=L(e.s),f=L(e.l),l=function(e,t,n){var r,o,c;function i(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=c=n;else{var l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;r=i(a,l,e+1/3),o=i(a,l,e),c=i(a,l,e-1/3)}return{r:255*r,g:255*o,b:255*c}}(e.h,d,f),p=!0,m="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=T(a),{ok:p,format:e.format||m,r:s(255,u(l.r,0)),g:s(255,u(l.g,0)),b:s(255,u(l.b,0)),a:a}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=l++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,c=u(e,t,n),i=s(e,t,n),l=(c+i)/2;if(c==i)r=o=0;else{var a=c-i;switch(o=l>.5?a/(2-c-i):a/(c+i),c){case e:r=(t-n)/a+(t<n?6:0);break;case t:r=(n-e)/a+2;break;case n:r=(e-t)/a+4}r/=6}return{h:r,s:o,l:l}}function p(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,c=u(e,t,n),i=s(e,t,n),l=c,a=c-i;if(o=0===c?0:a/c,c==i)r=0;else{switch(c){case e:r=(t-n)/a+(t<n?6:0);break;case t:r=(n-e)/a+2;break;case n:r=(e-t)/a+4}r/=6}return{h:r,s:o,v:l}}function m(e,t,n,r){var o=[R(a(e).toString(16)),R(a(t).toString(16)),R(a(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 v(e,t,n,r){return[R(M(r)),R(a(e).toString(16)),R(a(t).toString(16)),R(a(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s-=t/100,n.s=D(n.s),b(n)}function O(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s+=t/100,n.s=D(n.s),b(n)}function h(e){return b(e).desaturate(100)}function j(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l+=t/100,n.l=D(n.l),b(n)}function k(e,t){t=0===t?0:t||10;var n=b(e).toRgb();return n.r=u(0,s(255,n.r-a(-t/100*255))),n.g=u(0,s(255,n.g-a(-t/100*255))),n.b=u(0,s(255,n.b-a(-t/100*255))),b(n)}function y(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l-=t/100,n.l=D(n.l),b(n)}function _(e,t){var n=b(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,b(n)}function E(e){var t=b(e).toHsl();return t.h=(t.h+180)%360,b(t)}function C(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+120)%360,s:t.s,l:t.l}),b({h:(n+240)%360,s:t.s,l:t.l})]}function w(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+90)%360,s:t.s,l:t.l}),b({h:(n+180)%360,s:t.s,l:t.l}),b({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+72)%360,s:t.s,l:t.l}),b({h:(n+216)%360,s:t.s,l:t.l})]}function B(e,t,n){t=t||6,n=n||30;var r=b(e).toHsl(),o=360/n,c=[b(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,c.push(b(r));return c}function I(e,t){t=t||6;for(var n=b(e).toHsv(),r=n.h,o=n.s,c=n.v,i=[],l=1/t;t--;)i.push(b({h:r,s:o,v:c})),c=(c+l)%1;return i}b.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=T(e),this._roundA=a(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=a(360*e.h),n=a(100*e.s),r=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),r=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(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 c=[R(a(e).toString(16)),R(a(t).toString(16)),R(a(n).toString(16)),R(M(r))];return o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1)?c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0):c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*N(this._r,255))+"%",g:a(100*N(this._g,255))+"%",b:a(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%)":"rgba("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=b(e);n="#"+v(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 b(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(O,arguments)},greyscale:function(){return this._applyModification(h,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(B,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var r=b(e).toRgb(),o=b(t).toRgb(),c=n/100;return b({r:(o.r-r.r)*c+r.r,g:(o.g-r.g)*c+r.g,b:(o.b-r.b)*c+r.b,a:(o.a-r.a)*c+r.a})},b.readability=function(e,t){var n=b(e),r=b(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},b.isReadable=function(e,t,n){var r,o,c,i,l,a=b.readability(e,t);switch(o=!1,(c=n,"AA"!==(i=((c=c||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(l=(c.size||"small").toLowerCase())&&"large"!==l&&(l="small"),r={level:i,size:l}).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},b.mostReadable=function(e,t,n){var r,o,c,i,l=null,a=0;o=(n=n||{}).includeFallbackColors,c=n.level,i=n.size;for(var s=0;s<t.length;s++)(r=b.readability(e,t[s]))>a&&(a=r,l=b(t[s]));return b.isReadable(e,l,{level:c,size:i})||!o?l:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var x=b.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"},P=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(x);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var 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 D(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 L(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,z,G=(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 U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}(Math)},68:function(e,t){e.exports=window.wp.htmlEntities},69:function(e,t){e.exports=window.wp.isShallowEqual},7:function(e,t){e.exports=window.wp.primitives},72:function(e,t,n){e.exports=function(e,t){var n,r,o=0;function c(){var c,i,l=n,a=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(i=0;i<a;i++)if(l.args[i]!==arguments[i]){l=l.next;continue e}return l!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(c=new Array(a),i=0;i<a;i++)c[i]=arguments[i];return l={args:c,val:e.apply(null,c)},n?(n.prev=l,l.next=n):r=l,o===t.maxSize?(r=r.prev).next=null:o++,n=l,l.val}return t=t||{},c.clear=function(){n=null,r=null,o=0},c}},73:function(e,t,n){"use strict";t.a=function(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}},8:function(e,t){e.exports=window.React},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(40),o=n(31),c=n(41);function i(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var c,i=e[Symbol.iterator]();!(_n=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}(e,t)||Object(o.a)(e,t)||Object(c.a)()}}});
1
+ window.wp=window.wp||{},window.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=509)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},10: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}))},101:function(e,t,n){"use strict";t.__esModule=!0;var r=n(218);t.default=r.TextareaAutosize},11:function(e,t){e.exports=window.wp.blocks},12:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var c=typeof r;if("string"===c||"number"===c)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===c)for(var i in r)n.call(r,i)&&r[i]&&e.push(i)}}return e.join(" ")}e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},126: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(214)),c=r(n(215)),i=n(8),l=r(i),a=r(n(184)),s=r(n(216)),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=i.useState(!1)[1];return i.useCallback((function(){return e((function(e){return!e}))}),[])}function b(e,t){return u.und(e)||u.nul(e)?t:e}function f(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 m(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,c(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 c;return u.und(t[r])?o({},n,((c={})[r]=e[r],c)):n}),{});return o({to:t},n)}var v,g,O=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}(),h=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 O&&e.addChild(s(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}return a(t,e),t}(O),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 O&&e.addChild(s(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof O&&e.removeChild(s(t))}))},t}a(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 O)&&(t[n]=r instanceof O?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(O);function k(e,t){v={fn:e,transform:t}}function y(e){g=e}var _,E=function(e){return"undefined"!=typeof window?window.requestAnimationFrame(e):-1},C=function(e){"undefined"!=typeof window&&window.cancelAnimationFrame(e)};function w(e){_=e}var S,B=function(){return Date.now()};function I(e){S=e}var x,P,T=function(e){return e.current};function N(e){x=e}var D=Object.freeze({get applyAnimatedValues(){return v},injectApplyAnimatedValues:k,get colorNames(){return g},injectColorNames:y,get requestFrame(){return E},get cancelFrame(){return C},injectFrame:function(e,t){E=e,C=t},get interpolation(){return _},injectStringInterpolator:w,get now(){return B},injectNow:function(e){B=e},get defaultElement(){return S},injectDefaultElement:I,get animatedApi(){return T},injectAnimatedApi:function(e){T=e},get createAnimatedStyle(){return x},injectCreateAnimatedStyle:N,get manualFrameloop(){return P},injectManualFrameloop:function(e){P=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 a(t,e),t}(j),R=!1,L=new Set,M=function e(){if(!R)return!1;var t=B(),n=L,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var c;if(r){if(o>=n.length)break;c=n[o++]}else{if((o=n.next()).done)break;c=o.value}for(var i=c,l=!1,a=0;a<i.configs.length;a++){for(var s=i.configs[a],u=void 0,d=void 0,b=0;b<s.animatedValues.length;b++){var f=s.animatedValues[b];if(!f.done){var p=s.fromValues[b],m=s.toValues[b],v=f.lastPosition,g=m instanceof O,h=Array.isArray(s.initialVelocity)?s.initialVelocity[b]:s.initialVelocity;if(g&&(m=m.getValue()),s.immediate)f.setValue(m),f.done=!0;else if("string"!=typeof p&&"string"!=typeof m){if(void 0!==s.duration)v=p+s.easing((t-f.startTime)/s.duration)*(m-p),u=t>=f.startTime+s.duration;else if(s.decay)v=p+h/(1-.998)*(1-Math.exp(-(1-.998)*(t-f.startTime))),(u=Math.abs(f.lastPosition-v)<.1)&&(m=v);else{d=void 0!==f.lastTime?f.lastTime:t,h=void 0!==f.lastVelocity?f.lastVelocity:s.initialVelocity,t>d+64&&(d=t);for(var j=Math.floor(t-d),k=0;k<j;++k)v+=1*(h+=(-s.tension*(v-m)+-s.friction*h)/s.mass*1/1e3)/1e3;var y=!(!s.clamp||0===s.tension)&&(p<m?v>m:v<m),_=Math.abs(h)<=s.precision,C=0===s.tension||Math.abs(m-v)<=s.precision;u=y||_&&C,f.lastVelocity=h,f.lastTime=t}g&&!s.toValues[b].done&&(u=!1),u?(f.value!==m&&(v=m),f.done=!0):l=!0,f.setValue(v),f.lastPosition=v}else f.setValue(m),f.done=!0}}i.props.onFrame&&(i.values[s.name]=s.interpolation.getValue())}i.props.onFrame&&i.props.onFrame(i.values),l||(L.delete(i),i.stop(!0))}return L.size?P?P():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,c=r.range||[0,1],i=r.extrapolateLeft||r.extrapolate||"extend",l=r.extrapolateRight||r.extrapolate||"extend",a=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,c);return function(e,t,n,r,o,c,i,l,a){var s=a?a(e):e;if(s<t){if("identity"===i)return s;"clamp"===i&&(s=t)}if(s>n){if("identity"===l)return s;"clamp"===l&&(s=n)}return r===o?r:t===n?e<=t?r:o:(t===-1/0?s=-s:n===1/0?s-=t:s=(s-t)/(n-t),s=c(s),r===-1/0?s=-s:o===1/0?s+=r:s=s*(o-r)+r,s)}(e,c[t],c[t+1],o[t],o[t+1],a,i,l,r.map)}}var V=function(e){function t(n,r,o){var c;return(c=e.call(this)||this).calc=void 0,c.payload=n instanceof h&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],c.calc=F(r,o),c}a(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}(h),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}a(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}(O),z=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new H(e)})),n}a(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}(h),G=0,U=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=G++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=m(e),n=t.delay,r=void 0===n?0:n,i=t.to,l=c(t,["delay","to"]);if(u.arr(i)||u.fun(i))this.queue.push(o({},l,{delay:r,to:i}));else if(i){var a={};Object.entries(i).forEach((function(e){var t,n=e[0],c=e[1],i=o({to:(t={},t[n]=c,t),delay:p(r,n)},l),s=a[i.delay]&&a[i.delay].to;a[i.delay]=o({},a[i.delay],i,{to:o({},s,i.to)})})),this.queue=Object.values(a)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(l),this},t.start=function(e){var t=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var n=e.from,r=void 0===n?{}:n,c=e.to,i=void 0===c?{}:c;u.obj(r)&&(t.merged=o({},r,t.merged)),u.obj(i)&&(t.merged=o({},t.merged,i))}));var n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((function(o,i){var l=o.delay,a=c(o,["delay"]),s=function(o){i===r.length-1&&n===t.guid&&o&&(t.idle=!0,t.props.onRest&&t.props.onRest(t.merged)),e&&e()},d=u.arr(a.to)||u.fun(a.to);l?setTimeout((function(){n===t.guid&&(d?t.runAsync(a,s):t.diff(a).start(s))}),l):d?t.runAsync(a,s):t.diff(a).start(s)}))}else u.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),this,L.has(this)||L.add(this),R||(R=!0,E(P||M));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){return this.stop(!0),e&&(this,L.has(this)&&L.delete(this)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,c(e,["delay"])),i=this.local,l=Promise.resolve(void 0);if(u.arr(r.to))for(var a=function(e){var t=e,c=o({},r,m(r.to[t]));u.arr(c.config)&&(c.config=c.config[t]),l=l.then((function(){if(i===n.guid)return new Promise((function(e){return n.diff(c).start(e)}))}))},s=0;s<r.to.length;s++)a(s);else if(u.fun(r.to)){var d,b=0;l=l.then((function(){return r.to((function(e){var t=o({},r,m(e));if(u.arr(t.config)&&(t.config=t.config[b]),b++,i===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}))}))}l.then(t)},t.diff=function(e){var t=this;this.props=o({},this.props,e);var n=this.props,r=n.from,c=void 0===r?{}:r,i=n.to,l=void 0===i?{}:i,a=n.config,s=void 0===a?{}:a,d=n.reverse,m=n.attach,v=n.reset,O=n.immediate;if(d){var h=[l,c];c=h[0],l=h[1]}this.merged=o({},c,this.merged,l),this.hasChanged=!1;var j=m&&m(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],i=n[1],l=e[r]||{},a=u.num(i),d=u.str(i)&&!i.startsWith("#")&&!/\d/.test(i)&&!g[i],m=u.arr(i),h=!a&&!m&&!d,k=u.und(c[r])?i:c[r],y=a||m||d?i:1,E=p(s,r);j&&(y=j.animations[r].parent);var C,w=l.parent,S=l.interpolation,I=f(j?y.getPayload():y),x=i;h&&(x=_({range:[0,1],output:[i,i]})(1));var P,T=S&&S.getValue(),N=!u.und(w)&&l.animatedValues.some((function(e){return!e.done})),D=!u.equ(x,T),A=!u.equ(x,l.previous),R=!u.equ(E,l.config);if(v||A&&D||R){var L;if(a||d)w=S=l.parent||new H(k);else if(m)w=S=l.parent||new z(k);else if(h){var M=l.interpolation&&l.interpolation.calc(l.parent.value);M=void 0===M||v?k:M,l.parent?(w=l.parent).setValue(0,!1):w=new H(0);var F={output:[M,i]};l.interpolation?(S=l.interpolation,l.interpolation.updateConfig(F)):S=w.interpolate(F)}return I=f(j?y.getPayload():y),C=f(w.getPayload()),v&&!h&&w.setValue(k,!1),t.hasChanged=!0,C.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=B(),e.done=!1,e.animatedStyles.clear()})),p(O,r)&&w.setValue(h?y:i,!1),o({},e,((L={})[r]=o({},l,{name:r,parent:w,interpolation:S,animatedValues:C,toValues:I,previous:x,config:E,fromValues:f(w.getValue()),immediate:p(O,r),initialVelocity:b(E.velocity,0),clamp:b(E.clamp,!1),precision:b(E.precision,.01),tension:b(E.tension,170),friction:b(E.friction,26),mass:b(E.mass,1),duration:E.duration,easing:b(E.easing,(function(e){return e})),decay:E.decay}),L))}return D?e:(h&&(w.setValue(1,!1),S.updateConfig({output:[x,x]})),w.done=!0,t.hasChanged=!0,o({},e,((P={})[r]=o({},e[r],{previous:x}),P)))}),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}(),W=function(e,t){var n=i.useRef(!1),r=i.useRef(),o=u.fun(t),c=i.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 c=new U,i=o?p(t,r,c):t[r];return 0===r&&(n=i.ref),c.update(i),n||c.start(),c})),n]}),[e]),l=c[0],a=c[1];r.current=l,i.useImperativeHandle(a,(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=i.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(o?p(e,n,t):e[n]),a||t.start()}))}}),[e]);i.useEffect((function(){n.current?o||s(t):a||r.current.forEach((function(e){return e.start()}))})),i.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},K=0,q=function(e,t){return("function"==typeof t?e.map(t):f(t)).map(String)},$=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,i=c(e,["items","keys"]);return t=f(void 0!==t?t:null),o({items:t,keys:q(t,r)},i)};function Y(e,t){var n=function(){if(o){if(c>=r.length)return"break";i=r[c++]}else{if((c=r.next()).done)return"break";i=c.value}var n=i.key,l=function(e){return e.key!==n};(u.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(l),e.current.deleted=e.current.deleted.filter(l))},r=e.current.deleted,o=Array.isArray(r),c=0;for(r=o?r:r[Symbol.iterator]();;){var i;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 O||(t=v.transform(t)),n.payload=t,n}return a(t,e),t}(j),Q={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},Z="[-+]?\\d*\\.?\\d+";function J(){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 ee=new RegExp("rgb"+J(Z,Z,Z)),te=new RegExp("rgba"+J(Z,Z,Z,Z)),ne=new RegExp("hsl"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%")),re=new RegExp("hsla"+J(Z,"[-+]?\\d*\\.?\\d+%","[-+]?\\d*\\.?\\d+%",Z)),oe=/^#([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})$/,ie=/^#([0-9a-fA-F]{6})$/,le=/^#([0-9a-fA-F]{8})$/;function ae(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 se(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,c=ae(o,r,e+1/3),i=ae(o,r,e),l=ae(o,r,e-1/3);return Math.round(255*c)<<24|Math.round(255*i)<<16|Math.round(255*l)<<8}function ue(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function de(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 fe(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function pe(e){var t,n,r="number"==typeof(t=e)?t>>>0===t&&t>=0&&t<=4294967295?t:null:(n=ie.exec(t))?parseInt(n[1]+"ff",16)>>>0:Q.hasOwnProperty(t)?Q[t]:(n=ee.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|255)>>>0:(n=te.exec(t))?(ue(n[1])<<24|ue(n[2])<<16|ue(n[3])<<8|be(n[4]))>>>0:(n=oe.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=ne.exec(t))?(255|se(de(n[1]),fe(n[2]),fe(n[3])))>>>0:(n=re.exec(t))?(se(de(n[1]),fe(n[2]),fe(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,ve=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,ge=new RegExp("("+Object.keys(Q).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},he=["Webkit","Ms","Moz","O"];function je(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 he.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Oe);var ke={};N((function(e){return new X(e)})),I("div"),w((function(e){var t=e.output.map((function(e){return e.replace(ve,pe)})).map((function(e){return e.replace(ge,pe)})),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(Q),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,o=t.scrollTop,i=t.scrollLeft,l=c(t,["style","children","scrollTop","scrollLeft"]),a="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var s in void 0!==o&&(e.scrollTop=o),void 0!==i&&(e.scrollLeft=i),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(s)){var u=0===s.indexOf("--"),d=je(s,n[s],u);"float"===s&&(s="cssFloat"),u?e.style.setProperty(s,d):e.style[s]=d}for(var b in l){var f=a?b:ke[b]||(ke[b]=b.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));void 0!==e.getAttribute(f)&&e.setAttribute(f,l[b])}}),(function(e){return e}));var ye,_e,Ee=(ye=function(e){return i.forwardRef((function(t,n){var r=d(),a=i.useRef(!0),s=i.useRef(null),b=i.useRef(null),f=i.useCallback((function(e){var t=s.current;s.current=new A(e,(function(){b.current&&!1===v.fn(b.current,s.current.getAnimatedValue())&&r()})),t&&t.detach()}),[]);i.useEffect((function(){return function(){a.current=!1,s.current&&s.current.detach()}}),[]),i.useImperativeHandle(n,(function(){return T(b,a,r)})),f(t);var p=s.current.getValue(),m=(p.scrollTop,p.scrollLeft,c(p,["scrollTop","scrollLeft"]));return l.createElement(e,o({},m,{ref:function(e){return b.current=(t=e,(r=n)&&(u.fun(r)?r(t):u.obj(r)&&(r.current=t)),t);var t,r}}))}))},void 0===(_e=!1)&&(_e=!0),function(e){return(u.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=_e?t[0].toLowerCase()+t.substring(1):t;return e[n]=ye(n),e}),ye)}),Ce=Ee(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ee,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=M,t.animated=Ce,t.a=Ce,t.interpolate=function(e,t,n){return e&&new V(e,t,n)},t.Globals=D,t.useSpring=function(e){var t=u.fun(e),n=W(1,t?e:[e]),r=n[0],o=n[1],c=n[2];return t?[r[0],o,c]:r},t.useTrail=function(e,t){var n=i.useRef(!1),r=u.fun(t),c=p(t),l=i.useRef(),a=W(e,(function(e,t){return 0===e&&(l.current=[]),l.current.push(t),o({},c,{config:p(c.config,e),attach:e>0&&function(){return l.current[e-1]}})})),s=a[0],d=a[1],b=a[2],f=i.useMemo((function(){return function(e){return d((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,i=l.current[r];return o({},e,{config:p(e.config||c.config,t),attach:i&&function(){return i}})}))}}),[e,c.reverse]);return i.useEffect((function(){n.current&&!r&&f(t)})),i.useEffect((function(){n.current=!0}),[]),r?[s,f,b]:s},t.useTransition=function(e,t,n){var r=o({items:e,keys:t||function(e){return e}},n),l=$(r),a=l.lazy,s=void 0!==a&&a,u=(l.unique,l.reset),b=void 0!==u&&u,f=(l.enter,l.leave,l.update,l.onDestroyed),m=(l.keys,l.items,l.onFrame),v=l.onRest,g=l.onStart,O=l.ref,h=c(l,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),j=d(),k=i.useRef(!1),y=i.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:j});return i.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){for(var n=e.first,r=e.prevProps,i=c(e,["first","prevProps"]),l=$(t),a=l.items,s=l.keys,u=l.initial,d=l.from,b=l.enter,f=l.leave,m=l.update,v=l.trail,g=void 0===v?0:v,O=l.unique,h=l.config,j=l.order,k=void 0===j?["enter","leave","update"]:j,y=$(r),_=y.keys,E=y.items,C=o({},i.current),w=[].concat(i.deleted),S=Object.keys(C),B=new Set(S),I=new Set(s),x=s.filter((function(e){return!B.has(e)})),P=i.transitions.filter((function(e){return!e.destroyed&&!I.has(e.originalKey)})).map((function(e){return e.originalKey})),T=s.filter((function(e){return B.has(e)})),N=-g;k.length;)switch(k.shift()){case"enter":x.forEach((function(e,t){O&&w.find((function(t){return t.originalKey===e}))&&(w=w.filter((function(t){return t.originalKey!==e})));var r=s.indexOf(e),o=a[r],c=n&&void 0!==u?"initial":"enter";C[e]={slot:c,originalKey:e,key:O?String(e):K++,item:o,trail:N+=g,config:p(h,o,c),from:p(n&&void 0!==u?u||{}:d,o),to:p(b,o)}}));break;case"leave":P.forEach((function(e){var t=_.indexOf(e),n=E[t];w.unshift(o({},C[e],{slot:"leave",destroyed:!0,left:_[Math.max(0,t-1)],right:_[Math.min(_.length,t+1)],trail:N+=g,config:p(h,n,"leave"),to:p(f,n)})),delete C[e]}));break;case"update":T.forEach((function(e){var t=s.indexOf(e),n=a[t];C[e]=o({},C[e],{item:n,slot:"update",trail:N+=g,config:p(h,n,"update"),to:p(m,n)})}))}var D=s.map((function(e){return C[e]}));return w.forEach((function(e){var t,n=e.left,r=(e.right,c(e,["left","right"]));-1!==(t=D.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),D=[].concat(D.slice(0,t),[r],D.slice(t))})),o({},i,{changed:x.length||P.length||T.length,first:n&&0===x.length,transitions:D,current:C,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,c=e.config,i=e.trail,l=e.key,a=e.item;y.current.instances.has(l)||y.current.instances.set(l,new U);var u=y.current.instances.get(l),d=o({},h,{to:r,from:n,config:c,ref:O,onRest:function(n){y.current.mounted&&(e.destroyed&&(O||s||Y(y,l),f&&f(a)),!Array.from(y.current.instances).some((function(e){return!e[1].idle}))&&(O||s)&&y.current.deleted.length>0&&Y(y),v&&v(a,t,n))},onStart:g&&function(){return g(a,t)},onFrame:m&&function(e){return m(a,t,e)},delay:i,reset:b&&"enter"===t});u.update(d),y.current.paused||u.start()})),i.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=i.useRef();i.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 c=e.current;if(c){var i=c.controllers;if(i.length){var l=n*t[r];i.forEach((function(e){e.queue=e.queue.map((function(e){return o({},e,{delay:e.delay+l})})),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=W},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(48);function o(e,t){if(null==e)return{};var n,o,c=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(c[n]=e[n])}return c}},137:function(e,t,n){"use strict";e.exports=n(222)},138:function(e,t){e.exports=window.wp.wordcount},14:function(e,t){e.exports=window.wp.compose},141:function(e,t){e.exports=window.wp.shortcode},143:function(e,t,n){"use strict";var r=n(5),o=n(13),c=n(0);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}t.a=function(e){var t=e.icon,n=e.size,l=void 0===n?24:n,a=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?i(Object(n),!0).forEach((function(t){Object(r.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}({width:l,height:l},a))}},144: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.9l3.3-3.4-1.1-1-3.2 3.3-3.2-3.3-1.1 1 3.3 3.4-3.5 3.6 1 1L12 13l3.5 3.5 1-1z"}));t.a=c},145: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));t.a=c},146: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));t.a=c},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25),o=n(39),c=n(31);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(o.a)(e)||Object(c.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},155:function(e,t,n){"use strict";var r=n(156);function o(){}function c(){}c.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,c,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}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:c,resetWarningCache:o};return n.PropTypes=n,n}},156:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},16:function(e,t){e.exports=window.regeneratorRuntime},17:function(e,t){e.exports=window.wp.keycodes},170:function(e,t){e.exports=window.wp.tokenList},183: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M19 8h-1V6h-5v2h-2V6H6v2H5c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2zm.5 10c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-8c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v8z"}));t.a=c},184:function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},185: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"}));t.a=c},19: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}))},2:function(e,t){e.exports=window.lodash},200: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}},214: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},215:function(e,t){e.exports=function(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}},216: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}},217:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));t.a=c},218: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 __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),c=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},i=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 l=n(8),a=n(35),s=n(219),u=n(220),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={lineHeight:null},t.textarea=null,t.onResize=function(e){t.props.onResize&&t.props.onResize(e)},t.updateLineHeight=function(){t.textarea&&t.setState({lineHeight:u(t.textarea)})},t.onChange=function(e){var n=t.props.onChange;t.currentValue=e.currentTarget.value,n&&n(e)},t}return o(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.maxRows,r=t.async;"number"==typeof n&&this.updateLineHeight(),"number"==typeof n||r?setTimeout((function(){return e.textarea&&s(e.textarea)})):this.textarea&&s(this.textarea),this.textarea&&this.textarea.addEventListener("autosize:resized",this.onResize)},t.prototype.componentWillUnmount=function(){this.textarea&&(this.textarea.removeEventListener("autosize:resized",this.onResize),s.destroy(this.textarea))},t.prototype.render=function(){var e=this,t=this.props,n=(t.onResize,t.maxRows),r=(t.onChange,t.style),o=(t.innerRef,t.children),a=i(t,["onResize","maxRows","onChange","style","innerRef","children"]),s=this.state.lineHeight,u=n&&s?s*n:null;return l.createElement("textarea",c({},a,{onChange:this.onChange,style:u?c({},r,{maxHeight:u}):r,ref:function(t){e.textarea=t,"function"==typeof e.props.innerRef?e.props.innerRef(t):e.props.innerRef&&(e.props.innerRef.current=t)}}),o)},t.prototype.componentDidUpdate=function(){this.textarea&&s.update(this.textarea)},t.defaultProps={rows:1,async:!1},t.propTypes={rows:a.number,maxRows:a.number,onResize:a.func,innerRef:a.any,async:a.bool},t}(l.Component);t.TextareaAutosize=l.forwardRef((function(e,t){return l.createElement(d,c({},e,{innerRef:t}))}))},219:function(e,t,n){var r,o;void 0===(o="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))}}),c=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){c=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function i(e){var t=o.get(e);t&&t.destroy()}function l(e){var t=o.get(e);t&&t.update()}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!o.has(e)){var t,n=null,r=null,i=null,l=function(){e.clientWidth!==r&&d()},a=function(t){window.removeEventListener("resize",l,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",a,!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",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",l,!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:a,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),i!==r){i=r;var o=c("autosize:resized");try{e.dispatchEvent(o)}catch(e){}}}}(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=a,e.exports=t.default})?r.apply(t,[e,t]):r)||(e.exports=o)},22: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}))},220:function(e,t,n){var r=n(221);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 c=e.nodeName,i=document.createElement(c);i.innerHTML="&nbsp;","TEXTAREA"===c.toUpperCase()&&i.setAttribute("rows","1");var l=r(e,"font-size");i.style.fontSize=l,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i),n=i.offsetHeight,a.removeChild(i)}return n}},221: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()}))]}},222:function(e,t,n){"use strict";var r=n(223);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,c=n.onlyScrollIfNeeded,i=n.alignWithTop,l=n.alignWithLeft,a=n.offsetTop||0,s=n.offsetLeft||0,u=n.offsetBottom||0,d=n.offsetRight||0;o=void 0===o||o;var b=r.isWindow(t),f=r.offset(e),p=r.outerHeight(e),m=r.outerWidth(e),v=void 0,g=void 0,O=void 0,h=void 0,j=void 0,k=void 0,y=void 0,_=void 0,E=void 0,C=void 0;b?(y=t,C=r.height(y),E=r.width(y),_={left:r.scrollLeft(y),top:r.scrollTop(y)},j={left:f.left-_.left-s,top:f.top-_.top-a},k={left:f.left+m-(_.left+E)+d,top:f.top+p-(_.top+C)+u},h=_):(v=r.offset(t),g=t.clientHeight,O=t.clientWidth,h={left:t.scrollLeft,top:t.scrollTop},j={left:f.left-(v.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-s,top:f.top-(v.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-a},k={left:f.left+m-(v.left+O+(parseFloat(r.css(t,"borderRightWidth"))||0))+d,top:f.top+p-(v.top+g+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),j.top<0||k.top>0?!0===i?r.scrollTop(t,h.top+j.top):!1===i?r.scrollTop(t,h.top+k.top):j.top<0?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top):c||((i=void 0===i||!!i)?r.scrollTop(t,h.top+j.top):r.scrollTop(t,h.top+k.top)),o&&(j.left<0||k.left>0?!0===l?r.scrollLeft(t,h.left+j.left):!1===l?r.scrollLeft(t,h.left+k.left):j.left<0?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left):c||((l=void 0===l||!!l)?r.scrollLeft(t,h.left+j.left):r.scrollLeft(t,h.left+k.left)))}},223: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 c(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 i(e){return c(e)}function l(e){return c(e,!0)}function a(e){var t=function(e){var t,n=void 0,r=void 0,o=e.ownerDocument,c=o.body,i=o&&o.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=i.clientLeft||c.clientLeft||0,top:r-=i.clientTop||c.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=i(r),t.top+=l(r),t}var s=new RegExp("^("+/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source+")(?!px)[a-z%]+$","i"),u=/^(top|right|bottom|left)$/,d="left",b=void 0;function f(e,t){for(var n=0;n<e.length;n++)t(e[n])}function p(e){return"border-box"===b(e,"boxSizing")}"undefined"!=typeof window&&(b=window.getComputedStyle?function(e,t,n){var r="",o=e.ownerDocument,c=n||o.defaultView.getComputedStyle(e,null);return c&&(r=c.getPropertyValue(t)||c[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[d],c=e.runtimeStyle[d];e.runtimeStyle[d]=e.currentStyle[d],r[d]="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r[d]=o,e.runtimeStyle[d]=c}return""===n?"auto":n});var m=["margin","border","padding"];function v(e,t,n){var r={},o=e.style,c=void 0;for(c in t)t.hasOwnProperty(c)&&(r[c]=o[c],o[c]=t[c]);for(c in n.call(e),t)t.hasOwnProperty(c)&&(o[c]=r[c])}function g(e,t,n){var r=0,o=void 0,c=void 0,i=void 0;for(c=0;c<t.length;c++)if(o=t[c])for(i=0;i<n.length;i++){var l;l="border"===o?o+n[i]+"Width":o+n[i],r+=parseFloat(b(e,l))||0}return r}function O(e){return null!=e&&e==e.window}var h={};function j(e,t,n){if(O(e))return"width"===t?h.viewportWidth(e):h.viewportHeight(e);if(9===e.nodeType)return"width"===t?h.docWidth(e):h.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.offsetWidth:e.offsetHeight,c=(b(e),p(e)),i=0;(null==o||o<=0)&&(o=void 0,(null==(i=b(e,t))||Number(i)<0)&&(i=e.style[t]||0),i=parseFloat(i)||0),void 0===n&&(n=c?1:-1);var l=void 0!==o||c,a=o||i;if(-1===n)return l?a-g(e,["border","padding"],r):i;if(l){var s=2===n?-g(e,["border"],r):g(e,["margin"],r);return a+(1===n?0:s)}return i+g(e,m.slice(n),r)}f(["Width","Height"],(function(e){h["doc"+e]=function(t){var n=t.document;return Math.max(n.documentElement["scroll"+e],n.body["scroll"+e],h["viewport"+e](n))},h["viewport"+e]=function(t){var n="client"+e,r=t.document,o=r.body,c=r.documentElement[n];return"CSS1Compat"===r.compatMode&&c||o&&o[n]||c}}));var k={position:"absolute",visibility:"hidden",display:"block"};function y(e){var t=void 0,n=arguments;return 0!==e.offsetWidth?t=j.apply(void 0,n):v(e,k,(function(){t=j.apply(void 0,n)})),t}function _(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)):b(e,t);for(var c in t)t.hasOwnProperty(c)&&_(e,c,t[c])}f(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);h["outer"+t]=function(t,n){return t&&y(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];h[e]=function(t,r){return void 0===r?t&&y(t,e,-1):t?(b(t),p(t)&&(r+=g(t,["padding","border"],n)),_(t,e,r)):void 0}})),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 a(e);!function(e,t){"static"===_(e,"position")&&(e.style.position="relative");var n=a(e),r={},o=void 0,c=void 0;for(c in t)t.hasOwnProperty(c)&&(o=parseFloat(_(e,c))||0,r[c]=o+t[c]-n[c]);_(e,r)}(e,t)},isWindow:O,each:f,css:_,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(O(e)){if(void 0===t)return i(e);window.scrollTo(t,l(e))}else{if(void 0===t)return e.scrollLeft;e.scrollLeft=t}},scrollTop:function(e,t){if(O(e)){if(void 0===t)return l(e);window.scrollTo(i(e),t)}else{if(void 0===t)return e.scrollTop;e.scrollTop=t}},viewportWidth:0,viewportHeight:0},h)},224: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));t.a=c},24:function(e,t){e.exports=window.wp.richText},240: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M20.1 5.1L16.9 2 6.2 12.7l-1.3 4.4 4.5-1.3L20.1 5.1zM4 20.8h8v-1.5H4v1.5z"}));t.a=c},25:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},259: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"}));t.a=c},260: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));t.a=c},261: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"}));t.a=c},262:function(e,t,n){"use strict";var r=n(0),o=n(7),c=Object(r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(r.createElement)(o.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"}));t.a=c},263: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));t.a=c},264: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:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"}));t.a=c},265: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.5 15v3.5H13V6.7l4.5 4.1 1-1.1-6.2-5.8-5.8 5.8 1 1.1 4-4v11.7h-6V15H4v5h16v-5z"}));t.a=c},27: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}))},28: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}))},29:function(e,t){e.exports=window.wp.url},3:function(e,t){e.exports=window.wp.components},30:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(57);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(r.a)(e,t)}},31:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(25);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},32:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(43),o=n(19);function c(e,t){return!t||"object"!==Object(r.a)(t)&&"function"!=typeof t?Object(o.a)(e):t}},33:function(e,t){e.exports=window.wp.dom},335:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return o.diff(e,t,n)},t.characterDiff=void 0;var o=new(((r=n(380))&&r.__esModule?r:{default:r}).default);t.characterDiff=o},336:function(e,t,n){"use strict";t.match=function(e,t){return a(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,c=t[n];if(!c)return!1;switch(n){case"orientation":case"scan":return c.toLowerCase()===o.toLowerCase();case"width":case"height":case"device-width":case"device-height":o=d(o),c=d(c);break;case"resolution":o=u(o),c=u(c);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":o=s(o),c=s(c);break;case"grid":case"color":case"color-index":case"monochrome":o=parseInt(o,10)||1,c=parseInt(c,10)||0}switch(r){case"min":return c>=o;case"max":return c<=o;default:return c===o}}));return o&&!n||!o&&n}))},t.parse=a;var r=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,o=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,c=/^(?:(min|max)-)?(.+)/,i=/(em|rem|px|cm|mm|in|pt|pc)?$/,l=/(dpi|dpcm|dppx)?$/;function a(e){return e.split(",").map((function(e){var t=(e=e.trim()).match(r),n=t[1],i=t[2],l=t[3]||"",a={};return a.inverse=!!n&&"not"===n.toLowerCase(),a.type=i?i.toLowerCase():"all",l=l.match(/\([^\)]+\)/g)||[],a.expressions=l.map((function(e){var t=e.match(o),n=t[1].toLowerCase().match(c);return{modifier:n[1],feature:n[2],value:t[2]}})),a}))}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(l)[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(i)[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}}},337: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=[],l=!0;return function e(d){var b=n?c(d):d,f={},p=!0,m={node:b,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){m.isRoot||(m.parent.node[m.key]=e),m.node=e,t&&(p=!1)},delete:function(e){delete m.parent.node[m.key],e&&(p=!1)},remove:function(e){a(m.parent.node)?m.parent.node.splice(m.key,1):delete m.parent.node[m.key],e&&(p=!1)},keys:null,before:function(e){f.before=e},after:function(e){f.after=e},pre:function(e){f.pre=e},post:function(e){f.post=e},stop:function(){l=!1},block:function(){p=!1}};if(!l)return m;function v(){if("object"==typeof m.node&&null!==m.node){m.keys&&m.node_===m.node||(m.keys=i(m.node)),m.isLeaf=0==m.keys.length;for(var e=0;e<o.length;e++)if(o[e].node_===d){m.circular=o[e];break}}else m.isLeaf=!0,m.keys=null;m.notLeaf=!m.isLeaf,m.notRoot=!m.isRoot}v();var g=t.call(m,m.node);return void 0!==g&&m.update&&m.update(g),f.before&&f.before.call(m,m.node),p?("object"!=typeof m.node||null===m.node||m.circular||(o.push(m),v(),s(m.keys,(function(t,o){r.push(t),f.pre&&f.pre.call(m,m.node[t],t);var c=e(m.node[t]);n&&u.call(m.node,t)&&(m.node[t]=c.node),c.isLast=o==m.keys.length-1,c.isFirst=0==o,f.post&&f.post.call(m,c),r.pop()})),o.pop()),f.after&&f.after.call(m,m.node),m):m}(e).node}function c(e){if("object"==typeof e&&null!==e){var t;if(a(e))t=[];else if("[object Date]"===l(e))t=new Date(e.getTime?e.getTime():e);else if(function(e){return"[object RegExp]"===l(e)}(e))t=new RegExp(e);else if(function(e){return"[object Error]"===l(e)}(e))t={message:e.message};else if(function(e){return"[object Boolean]"===l(e)}(e))t=new Boolean(e);else if(function(e){return"[object Number]"===l(e)}(e))t=new Number(e);else if(function(e){return"[object String]"===l(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(i(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 l=c(r);return e.push(r),t.push(l),s(i(r),(function(e){l[e]=n(r[e])})),e.pop(),t.pop(),l}return r}(this.value)};var i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};function l(e){return Object.prototype.toString.call(e)}var a=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(i(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}},34:function(e,t){e.exports=window.wp.hooks},35:function(e,t,n){e.exports=n(155)()},37:function(e,t){e.exports=window.wp.deprecated},376: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M9.1 9v-.5c0-.6.2-1.1.7-1.4.5-.3 1.2-.5 2-.5.7 0 1.4.1 2.1.3.7.2 1.4.5 2.1.9l.2-1.9c-.6-.3-1.2-.5-1.9-.7-.8-.1-1.6-.2-2.4-.2-1.5 0-2.7.3-3.6 1-.8.7-1.2 1.5-1.2 2.6V9h2zM20 12H4v1h8.3c.3.1.6.2.8.3.5.2.9.5 1.1.8.3.3.4.7.4 1.2 0 .7-.2 1.1-.8 1.5-.5.3-1.2.5-2.1.5-.8 0-1.6-.1-2.4-.3-.8-.2-1.5-.5-2.2-.8L7 18.1c.5.2 1.2.4 2 .6.8.2 1.6.3 2.4.3 1.7 0 3-.3 3.9-1 .9-.7 1.3-1.6 1.3-2.8 0-.9-.2-1.7-.7-2.2H20v-1z"}));t.a=c},377: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"}));t.a=c},378: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"}));t.a=c},379: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"}));t.a=c},380:function(e,t,n){"use strict";function r(){}function o(e,t,n,r,o){for(var c=0,i=t.length,l=0,a=0;c<i;c++){var s=t[c];if(s.removed){if(s.value=e.join(r.slice(a,a+s.count)),a+=s.count,c&&t[c-1].added){var u=t[c-1];t[c-1]=t[c],t[c]=u}}else{if(!s.added&&o){var d=n.slice(l,l+s.count);d=d.map((function(e,t){var n=r[a+t];return n.length>e.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(a+=s.count)}}var b=t[i-1];return i>1&&"string"==typeof b.value&&(b.added||b.removed)&&e.equals("",b.value)&&(t[i-2].value+=b.value,t.pop()),t}function c(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.callback;"function"==typeof n&&(r=n,n={}),this.options=n;var i=this;function l(e){return r?(setTimeout((function(){r(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var a=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=a+s,b=[{newPos:-1,components:[]}],f=this.extractCommon(b[0],t,e,0);if(b[0].newPos+1>=a&&f+1>=s)return l([{value:this.join(t),count:t.length}]);function p(){for(var n=-1*u;n<=u;n+=2){var r=void 0,d=b[n-1],f=b[n+1],p=(f?f.newPos:0)-n;d&&(b[n-1]=void 0);var m=d&&d.newPos+1<a,v=f&&0<=p&&p<s;if(m||v){if(!m||v&&d.newPos<f.newPos?(r=c(f),i.pushComponent(r.components,void 0,!0)):((r=d).newPos++,i.pushComponent(r.components,!0,void 0)),p=i.extractCommon(r,t,e,n),r.newPos+1>=a&&p+1>=s)return l(o(i,r.components,t,e,i.useLongestToken));b[n]=r}else b[n]=void 0}u++}if(r)!function e(){setTimeout((function(){if(u>d)return r();p()||e()}),0)}();else for(;u<=d;){var m=p();if(m)return m}},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,c=n.length,i=e.newPos,l=i-r,a=0;i+1<o&&l+1<c&&this.equals(t[i+1],n[l+1]);)i++,l++,a++;return a&&e.components.push({count:a}),e.newPos=i,l},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("")}}},381: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:"M2 2h5v11H2V2zm6 0h5v5H8V2zm6 0h4v16h-4V2zM8 8h5v5H8V8zm-6 6h11v4H2v-4z"}));t.a=c},382: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:"0 0 24 24"},Object(r.createElement)(o.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"}));t.a=c},39:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=window.wp.data},40:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},41:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},43: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}))},44:function(e,t){e.exports=window.wp.keyboardShortcuts},46:function(e,t,n){"use strict";function r(e,t,n,r,o,c,i){try{var l=e[c](i),a=l.value}catch(e){return void n(e)}l.done?t(a):Promise.resolve(a).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,c){var i=e.apply(t,n);function l(e){r(i,o,c,l,a,"next",e)}function a(e){r(i,o,c,l,a,"throw",e)}l(void 0)}))}}n.d(t,"a",(function(){return o}))},48: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}))},5:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},50:function(e,t,n){"use strict";var r,o;function c(e){return[e]}function i(){var e={clear:function(){e.head=null}};return e}function l(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,a;function s(){n=o?new WeakMap:i()}function u(){var n,r,o,c,i,s=arguments.length;for(c=new Array(s),o=0;o<s;o++)c[o]=arguments[o];for(i=t.apply(null,c),(n=a(i)).isUniqueByDependants||(n.lastDependants&&!l(i,n.lastDependants,0)&&n.clear(),n.lastDependants=i),r=n.head;r;){if(l(r.args,c,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,c)},c[0]=null,r.args=c,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=c),a=o?function(e){var t,o,c,l,a,s=n,u=!0;for(t=0;t<e.length;t++){if(!(a=o=e[t])||"object"!=typeof a){u=!1;break}s.has(o)?s=s.get(o):(c=new WeakMap,s.set(o,c),s=c)}return s.has(r)||((l=i()).isUniqueByDependants=u,s.set(r,l)),s.get(r)}:function(){return n},u.getDependants=t,u.clear=s,s(),u}},509:function(e,t,n){"use strict";n.r(t),n.d(t,"getColorClassName",(function(){return Pe})),n.d(t,"getColorObjectByAttributeValues",(function(){return Ie})),n.d(t,"getColorObjectByColorValue",(function(){return xe})),n.d(t,"createCustomColorsHOC",(function(){return qn})),n.d(t,"withColors",(function(){return $n})),n.d(t,"__experimentalUseColors",(function(){return ur})),n.d(t,"__experimentalGetGradientClass",(function(){return Ne})),n.d(t,"getGradientValueBySlug",(function(){return De})),n.d(t,"__experimentalGetGradientObjectByGradientValue",(function(){return Ae})),n.d(t,"getGradientSlugByValue",(function(){return Re})),n.d(t,"__experimentalUseGradient",(function(){return Le})),n.d(t,"getFontSize",(function(){return un})),n.d(t,"getFontSizeClass",(function(){return bn})),n.d(t,"getFontSizeObjectByValue",(function(){return dn})),n.d(t,"FontSizePicker",(function(){return fn})),n.d(t,"withFontSizes",(function(){return mr})),n.d(t,"AlignmentToolbar",(function(){return _r})),n.d(t,"Autocomplete",(function(){return Hr})),n.d(t,"BlockAlignmentToolbar",(function(){return z})),n.d(t,"__experimentalBlockFullHeightAligmentToolbar",(function(){return Gr})),n.d(t,"__experimentalBlockAlignmentMatrixToolbar",(function(){return Ur})),n.d(t,"BlockBreadcrumb",(function(){return Dl})),n.d(t,"BlockContextProvider",(function(){return Ml})),n.d(t,"BlockControls",(function(){return C})),n.d(t,"BlockColorsStyleSelector",(function(){return zl})),n.d(t,"BlockEdit",(function(){return Wl})),n.d(t,"useBlockEditContext",(function(){return h})),n.d(t,"BlockFormatControls",(function(){return Xl})),n.d(t,"BlockIcon",(function(){return Mr})),n.d(t,"BlockNavigationDropdown",(function(){return Vd})),n.d(t,"__experimentalBlockNavigationBlockFill",(function(){return Ed})),n.d(t,"__experimentalBlockNavigationEditor",(function(){return tb})),n.d(t,"__experimentalBlockNavigationTree",(function(){return Rd})),n.d(t,"__experimentalBlockVariationPicker",(function(){return rb})),n.d(t,"__experimentalBlockVariationTransforms",(function(){return ib})),n.d(t,"BlockVerticalAlignmentToolbar",(function(){return pb})),n.d(t,"ButtonBlockerAppender",(function(){return Ns})),n.d(t,"ColorPalette",(function(){return Ob})),n.d(t,"ColorPaletteControl",(function(){return hb})),n.d(t,"ContrastChecker",(function(){return it})),n.d(t,"__experimentalGradientPicker",(function(){return yb})),n.d(t,"__experimentalGradientPickerControl",(function(){return _b})),n.d(t,"__experimentalGradientPickerPanel",(function(){return Eb})),n.d(t,"__experimentalFontAppearanceControl",(function(){return Yt})),n.d(t,"__experimentalFontFamilyControl",(function(){return nn})),n.d(t,"__experimentalColorGradientControl",(function(){return $e})),n.d(t,"__experimentalPanelColorGradientSettings",(function(){return rt})),n.d(t,"__experimentalImageSizeControl",(function(){return wb})),n.d(t,"InnerBlocks",(function(){return Fb})),n.d(t,"__experimentalUseInnerBlocksProps",(function(){return Mb})),n.d(t,"InspectorAdvancedControls",(function(){return ee})),n.d(t,"InspectorControls",(function(){return ce})),n.d(t,"__experimentalLinkControl",(function(){return gf})),n.d(t,"__experimentalLinkControlSearchInput",(function(){return uf})),n.d(t,"__experimentalLinkControlSearchResults",(function(){return Zb})),n.d(t,"__experimentalLinkControlSearchItem",(function(){return Qb})),n.d(t,"LineHeightControl",(function(){return zt})),n.d(t,"MediaReplaceFlow",(function(){return yf})),n.d(t,"MediaPlaceholder",(function(){return Bf})),n.d(t,"MediaUpload",(function(){return jf})),n.d(t,"MediaUploadCheck",(function(){return kf})),n.d(t,"PanelColorSettings",(function(){return Jn})),n.d(t,"PlainText",(function(){return Pf})),n.d(t,"__experimentalResponsiveBlockControl",(function(){return Nf})),n.d(t,"RichText",(function(){return eb})),n.d(t,"RichTextShortcut",(function(){return Df})),n.d(t,"RichTextToolbarButton",(function(){return Af})),n.d(t,"__unstableRichTextInputEvent",(function(){return Rf})),n.d(t,"ToolSelector",(function(){return Mf})),n.d(t,"__experimentalUnitControl",(function(){return Ff})),n.d(t,"URLInput",(function(){return $b})),n.d(t,"URLInputButton",(function(){return zf})),n.d(t,"URLPopover",(function(){return wf})),n.d(t,"__experimentalImageURLInputUI",(function(){return Kf})),n.d(t,"withColorContext",(function(){return gb})),n.d(t,"__experimentalBlockSettingsMenuFirstItem",(function(){return _u})),n.d(t,"__experimentalInserterMenuExtension",(function(){return js})),n.d(t,"__experimentalPreviewOptions",(function(){return $f})),n.d(t,"__experimentalUseResizeCanvas",(function(){return tp})),n.d(t,"BlockInspector",(function(){return ap})),n.d(t,"BlockList",(function(){return Ku})),n.d(t,"useBlockProps",(function(){return sd})),n.d(t,"__experimentalBlock",(function(){return bp})),n.d(t,"BlockMover",(function(){return Xs})),n.d(t,"BlockPreview",(function(){return qa})),n.d(t,"BlockSelectionClearer",(function(){return pp})),n.d(t,"__unstableUseBlockSelectionClearer",(function(){return fp})),n.d(t,"BlockSettingsMenu",(function(){return Nu})),n.d(t,"BlockSettingsMenuControls",(function(){return xu})),n.d(t,"BlockTitle",(function(){return Nl})),n.d(t,"BlockToolbar",(function(){return Mu})),n.d(t,"CopyHandler",(function(){return vu})),n.d(t,"__unstableUseClipboardHandler",(function(){return mu})),n.d(t,"DefaultBlockAppender",(function(){return Ts})),n.d(t,"__unstableUseEditorStyles",(function(){return Mp})),n.d(t,"Inserter",(function(){return Ps})),n.d(t,"__experimentalLibrary",(function(){return Fp})),n.d(t,"__experimentalSearchForm",(function(){return Ma})),n.d(t,"BlockEditorKeyboardShortcuts",(function(){return Hp})),n.d(t,"MultiSelectScrollIntoView",(function(){return Gp})),n.d(t,"__unstableUseScrollMultiSelectionIntoView",(function(){return zp})),n.d(t,"NavigableToolbar",(function(){return $s})),n.d(t,"ObserveTyping",(function(){return qp})),n.d(t,"__unstableUseTypingObserver",(function(){return Kp})),n.d(t,"__unstableUseMouseMoveTypingReset",(function(){return Wp})),n.d(t,"PreserveScrollInReorder",(function(){return $p})),n.d(t,"SkipToSelectedBlock",(function(){return np})),n.d(t,"Typewriter",(function(){return Zp})),n.d(t,"__unstableUseTypewriter",(function(){return Qp})),n.d(t,"Warning",(function(){return ha})),n.d(t,"WritingFlow",(function(){return cd})),n.d(t,"__unstableUseCanvasClickRedirect",(function(){return em})),n.d(t,"useBlockDisplayInformation",(function(){return Tl})),n.d(t,"__unstableIframe",(function(){return cm})),n.d(t,"__experimentalUseNoRecursiveRenders",(function(){return lm})),n.d(t,"BlockEditorProvider",(function(){return Ua})),n.d(t,"__experimentalUseSimulatedMediaQuery",(function(){return ep})),n.d(t,"__experimentalUseEditorFeature",(function(){return ge})),n.d(t,"transformStyles",(function(){return Lp})),n.d(t,"validateThemeColors",(function(){return am})),n.d(t,"validateThemeGradients",(function(){return sm})),n.d(t,"__experimentalGetMatchingVariation",(function(){return ob})),n.d(t,"storeConfig",(function(){return xl})),n.d(t,"store",(function(){return Pl})),n.d(t,"SETTINGS_DEFAULTS",(function(){return Kr}));var r={};n.r(r),n.d(r,"getBlockName",(function(){return Oo})),n.d(r,"isBlockValid",(function(){return ho})),n.d(r,"getBlockAttributes",(function(){return jo})),n.d(r,"getBlock",(function(){return ko})),n.d(r,"__unstableGetBlockWithoutInnerBlocks",(function(){return yo})),n.d(r,"getBlocks",(function(){return _o})),n.d(r,"__unstableGetBlockWithBlockTree",(function(){return Eo})),n.d(r,"__unstableGetBlockTree",(function(){return Co})),n.d(r,"getClientIdsOfDescendants",(function(){return wo})),n.d(r,"getClientIdsWithDescendants",(function(){return So})),n.d(r,"getGlobalBlockCount",(function(){return Bo})),n.d(r,"getBlocksByClientId",(function(){return Io})),n.d(r,"getBlockCount",(function(){return xo})),n.d(r,"getSelectionStart",(function(){return Po})),n.d(r,"getSelectionEnd",(function(){return To})),n.d(r,"getBlockSelectionStart",(function(){return No})),n.d(r,"getBlockSelectionEnd",(function(){return Do})),n.d(r,"getSelectedBlockCount",(function(){return Ao})),n.d(r,"hasSelectedBlock",(function(){return Ro})),n.d(r,"getSelectedBlockClientId",(function(){return Lo})),n.d(r,"getSelectedBlock",(function(){return Mo})),n.d(r,"getBlockRootClientId",(function(){return Fo})),n.d(r,"getBlockParents",(function(){return Vo})),n.d(r,"getBlockParentsByBlockName",(function(){return Ho})),n.d(r,"getBlockHierarchyRootClientId",(function(){return zo})),n.d(r,"getLowestCommonAncestorWithSelectedBlock",(function(){return Go})),n.d(r,"getAdjacentBlockClientId",(function(){return Uo})),n.d(r,"getPreviousBlockClientId",(function(){return Wo})),n.d(r,"getNextBlockClientId",(function(){return Ko})),n.d(r,"getSelectedBlocksInitialCaretPosition",(function(){return qo})),n.d(r,"getSelectedBlockClientIds",(function(){return $o})),n.d(r,"getMultiSelectedBlockClientIds",(function(){return Yo})),n.d(r,"getMultiSelectedBlocks",(function(){return Xo})),n.d(r,"getFirstMultiSelectedBlockClientId",(function(){return Qo})),n.d(r,"getLastMultiSelectedBlockClientId",(function(){return Zo})),n.d(r,"isFirstMultiSelectedBlock",(function(){return Jo})),n.d(r,"isBlockMultiSelected",(function(){return ec})),n.d(r,"isAncestorMultiSelected",(function(){return tc})),n.d(r,"getMultiSelectedBlocksStartClientId",(function(){return nc})),n.d(r,"getMultiSelectedBlocksEndClientId",(function(){return rc})),n.d(r,"getBlockOrder",(function(){return oc})),n.d(r,"getBlockIndex",(function(){return cc})),n.d(r,"isBlockSelected",(function(){return ic})),n.d(r,"hasSelectedInnerBlock",(function(){return lc})),n.d(r,"isBlockWithinSelection",(function(){return ac})),n.d(r,"hasMultiSelection",(function(){return sc})),n.d(r,"isMultiSelecting",(function(){return uc})),n.d(r,"isSelectionEnabled",(function(){return dc})),n.d(r,"getBlockMode",(function(){return bc})),n.d(r,"isTyping",(function(){return fc})),n.d(r,"isDraggingBlocks",(function(){return pc})),n.d(r,"getDraggedBlockClientIds",(function(){return mc})),n.d(r,"isBlockBeingDragged",(function(){return vc})),n.d(r,"isAncestorBeingDragged",(function(){return gc})),n.d(r,"isCaretWithinFormattedText",(function(){return Oc})),n.d(r,"getBlockInsertionPoint",(function(){return hc})),n.d(r,"isBlockInsertionPointVisible",(function(){return jc})),n.d(r,"isValidTemplate",(function(){return kc})),n.d(r,"getTemplate",(function(){return yc})),n.d(r,"getTemplateLock",(function(){return _c})),n.d(r,"canInsertBlockType",(function(){return Cc})),n.d(r,"canInsertBlocks",(function(){return wc})),n.d(r,"getInserterItems",(function(){return Tc})),n.d(r,"getBlockTransformItems",(function(){return Nc})),n.d(r,"hasInserterItems",(function(){return Dc})),n.d(r,"__experimentalGetAllowedBlocks",(function(){return Ac})),n.d(r,"getBlockListSettings",(function(){return Rc})),n.d(r,"getSettings",(function(){return Lc})),n.d(r,"isLastBlockChangePersistent",(function(){return Mc})),n.d(r,"__experimentalGetBlockListSettingsForBlocks",(function(){return Fc})),n.d(r,"__experimentalGetParsedReusableBlock",(function(){return Vc})),n.d(r,"__experimentalGetReusableBlockTitle",(function(){return Hc})),n.d(r,"__unstableIsLastBlockChangeIgnored",(function(){return zc})),n.d(r,"__experimentalGetLastBlockAttributeChanges",(function(){return Gc})),n.d(r,"isNavigationMode",(function(){return Wc})),n.d(r,"hasBlockMovingClientId",(function(){return Kc})),n.d(r,"didAutomaticChange",(function(){return qc})),n.d(r,"isBlockHighlighted",(function(){return $c})),n.d(r,"areInnerBlocksControlled",(function(){return Yc})),n.d(r,"__experimentalGetActiveBlockIdByBlockNames",(function(){return Xc}));var o={};n.r(o),n.d(o,"resetBlocks",(function(){return Ci})),n.d(o,"validateBlocksToTemplate",(function(){return wi})),n.d(o,"resetSelection",(function(){return Si})),n.d(o,"receiveBlocks",(function(){return Bi})),n.d(o,"updateBlockAttributes",(function(){return Ii})),n.d(o,"updateBlock",(function(){return xi})),n.d(o,"selectBlock",(function(){return Pi})),n.d(o,"selectPreviousBlock",(function(){return Ti})),n.d(o,"selectNextBlock",(function(){return Ni})),n.d(o,"startMultiSelect",(function(){return Di})),n.d(o,"stopMultiSelect",(function(){return Ai})),n.d(o,"multiSelect",(function(){return Ri})),n.d(o,"clearSelectedBlock",(function(){return Li})),n.d(o,"toggleSelection",(function(){return Mi})),n.d(o,"replaceBlocks",(function(){return Vi})),n.d(o,"replaceBlock",(function(){return Hi})),n.d(o,"moveBlocksDown",(function(){return Gi})),n.d(o,"moveBlocksUp",(function(){return Ui})),n.d(o,"moveBlocksToPosition",(function(){return Wi})),n.d(o,"moveBlockToPosition",(function(){return Ki})),n.d(o,"insertBlock",(function(){return qi})),n.d(o,"insertBlocks",(function(){return $i})),n.d(o,"__unstableSetInsertionPoint",(function(){return Yi})),n.d(o,"showInsertionPoint",(function(){return Xi})),n.d(o,"hideInsertionPoint",(function(){return Qi})),n.d(o,"setTemplateValidity",(function(){return Zi})),n.d(o,"synchronizeTemplate",(function(){return Ji})),n.d(o,"mergeBlocks",(function(){return el})),n.d(o,"removeBlocks",(function(){return tl})),n.d(o,"removeBlock",(function(){return nl})),n.d(o,"replaceInnerBlocks",(function(){return rl})),n.d(o,"toggleBlockMode",(function(){return ol})),n.d(o,"startTyping",(function(){return cl})),n.d(o,"stopTyping",(function(){return il})),n.d(o,"startDraggingBlocks",(function(){return ll})),n.d(o,"stopDraggingBlocks",(function(){return al})),n.d(o,"enterFormattedText",(function(){return sl})),n.d(o,"exitFormattedText",(function(){return ul})),n.d(o,"selectionChange",(function(){return dl})),n.d(o,"insertDefaultBlock",(function(){return bl})),n.d(o,"updateBlockListSettings",(function(){return fl})),n.d(o,"updateSettings",(function(){return pl})),n.d(o,"__unstableSaveReusableBlock",(function(){return ml})),n.d(o,"__unstableMarkLastChangeAsPersistent",(function(){return vl})),n.d(o,"__unstableMarkNextChangeAsNotPersistent",(function(){return gl})),n.d(o,"__unstableMarkAutomaticChange",(function(){return Ol})),n.d(o,"__unstableMarkAutomaticChangeFinal",(function(){return hl})),n.d(o,"setNavigationMode",(function(){return jl})),n.d(o,"setBlockMovingClientId",(function(){return kl})),n.d(o,"duplicateBlocks",(function(){return yl})),n.d(o,"insertBeforeBlock",(function(){return _l})),n.d(o,"insertAfterBlock",(function(){return El})),n.d(o,"toggleBlockHighlight",(function(){return Cl})),n.d(o,"flashBlock",(function(){return wl})),n.d(o,"setHasControlledInnerBlocks",(function(){return Sl}));var c=n(24),i=n(10),l=n(5),a=n(0),s=n(12),u=n.n(s),d=n(2),b=n(14),f=n(34),p=n(11),m=n(4),v=n(3),g=Object(a.createContext)({name:"",isSelected:!1,focusedElement:null,setFocusedElement:d.noop,clientId:null}),O=g.Provider;function h(){return Object(a.useContext)(g)}function j(){var e=h(),t=e.isSelected,n=e.clientId,r=e.name,o=Object(m.useSelect)((function(e){if(!t){var o=e("core/block-editor"),c=o.getBlockName,i=o.isFirstMultiSelectedBlock,l=o.getMultiSelectedBlockClientIds;return!!i(n)&&l().every((function(e){return c(e)===r}))}}),[n,t,r]);return t||o}var k=Object(v.createSlotFill)("BlockControls"),y=k.Fill,_=k.Slot,E=function(e){var t=e.controls,n=e.children;return j()?Object(a.createElement)(y,null,(function(e){var r=Object(d.isEmpty)(e)?null:e;return Object(a.createElement)(v.__experimentalToolbarContext.Provider,{value:r},Object(a.createElement)(v.ToolbarGroup,{controls:t}),n)})):null};E.Slot=function(e){var t=Object(a.useContext)(v.__experimentalToolbarContext);return Object(a.createElement)(_,Object(i.a)({},e,{fillProps:t}))};var C=E,w=n(1),S=n(7),B=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M4 9v6h14V9H4zm8-4.8H4v1.5h8V4.2zM4 19.8h8v-1.5H4v1.5z"})),I=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M5 15h14V9H5v6zm0 4.8h14v-1.5H5v1.5zM5 4.2v1.5h14V4.2H5z"})),x=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M6 15h14V9H6v6zm6-10.8v1.5h8V4.2h-8zm0 15.6h8v-1.5h-8v1.5z"})),P=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M5 9v6h14V9H5zm11-4.8H8v1.5h8V4.2zM8 19.8h8v-1.5H8v1.5z"})),T=Object(a.createElement)(S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(S.Path,{d:"M5 4v11h14V4H5zm3 15.8h8v-1.5H8v1.5z"})),N={type:"default"},D=Object(a.createContext)(N),A=D.Provider;function R(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 L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M={left:{icon:B,title:Object(w.__)("Align left")},center:{icon:I,title:Object(w.__)("Align center")},right:{icon:x,title:Object(w.__)("Align right")},wide:{icon:P,title:Object(w.__)("Wide width")},full:{icon:T,title:Object(w.__)("Full width")}},F=["left","center","right","wide","full"],V=["wide","full"],H={isAlternate:!0},z=function(e){var t=e.value,n=e.onChange,r=e.controls,o=void 0===r?F:r,c=e.isCollapsed,i=void 0===c||c,l=Object(m.useSelect)((function(e){return{wideControlsEnabled:(0,e("core/block-editor").getSettings)().alignWide}})).wideControlsEnabled,s=void 0!==l&&l,u=Object(a.useContext)(D);if("default"!==u.type)return null;var d=u.alignments,b=void 0===d?F:d,f=o.filter((function(e){return(s||!V.includes(e))&&b.includes(e)}));if(0===f.length)return null;var p=M[t],g=M.center;return Object(a.createElement)(v.ToolbarGroup,{popoverProps:H,isCollapsed:i,icon:p?p.icon:g.icon,label:Object(w.__)("Align"),toggleProps:{describedBy:Object(w.__)("Change alignment")},controls:f.map((function(e){return L(L({},M[e]),{},{isActive:t===e,role:i?"menuitemradio":void 0,onClick:(r=e,function(){return n(t===r?void 0:r)})});var r}))})};function G(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 U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var W=["left","center","right","wide","full"],K=["wide","full"];function q(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)?W.filter((function(t){return e.includes(t)})):!0===e?W:[],!r||!0===e&&!n?d.without.apply(void 0,[t].concat(K)):t}var $=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0));return[r.length>0&&t.isSelected&&Object(a.createElement)(C,{key:"align-controls"},Object(a.createElement)(z,{value:t.attributes.align,onChange:function(e){var n,r;e||(null===(n=Object(p.getBlockType)(t.name).attributes)||void 0===n||null===(r=n.align)||void 0===r?void 0:r.default)&&(e=""),t.setAttributes({align:e})},controls:r})),Object(a.createElement)(e,Object(i.a)({key:"edit"},t))]}}),"withToolbarControls"),Y=Object(b.createHigherOrderComponent)((function(e){return function(t){var n=t.name,r=t.attributes.align,o=Object(m.useSelect)((function(e){return!!e("core/block-editor").getSettings().alignWide}),[]);if(void 0===r)return Object(a.createElement)(e,t);var c=q(Object(p.getBlockSupport)(n,"align"),Object(p.hasBlockSupport)(n,"alignWide",!0),o),l=t.wrapperProps;return c.includes(r)&&(l=U(U({},l),{},{"data-align":r})),Object(a.createElement)(e,Object(i.a)({},t,{wrapperProps:l}))}}));Object(f.addFilter)("blocks.registerBlockType","core/align/addAttribute",(function(e){return Object(d.has)(e.attributes,["align","type"])||Object(p.hasBlockSupport)(e,"align")&&(e.attributes=U(U({},e.attributes),{},{align:{type:"string",enum:[].concat(W,[""])}})),e})),Object(f.addFilter)("editor.BlockListBlock","core/editor/align/with-data-align",Y),Object(f.addFilter)("editor.BlockEdit","core/editor/align/with-toolbar-controls",$),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/align/addAssignedAlign",(function(e,t,n){var r=n.align;return q(Object(p.getBlockSupport)(t,"align"),Object(p.hasBlockSupport)(t,"alignWide",!0)).includes(r)&&(e.className=u()("align".concat(r),e.className)),e}));var X=Object(v.createSlotFill)("InspectorAdvancedControls"),Q=X.Fill,Z=X.Slot;function J(e){var t=e.children;return h().isSelected?Object(a.createElement)(Q,null,t):null}J.slotName="InspectorAdvancedControls",J.Slot=Z;var ee=J,te=Object(v.createSlotFill)("InspectorControls"),ne=te.Fill,re=te.Slot;function oe(e){var t=e.children;return j()?Object(a.createElement)(ne,null,t):null}oe.Slot=re;var ce=oe;function ie(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 le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ae=/[\s#]/g,se=Object(b.createHigherOrderComponent)((function(e){return function(t){if(Object(p.hasBlockSupport)(t.name,"anchor")&&t.isSelected){var n="web"===a.Platform.OS,r=Object(a.createElement)(v.TextControl,{className:"html-anchor-control",label:Object(w.__)("HTML anchor"),help:Object(a.createElement)(a.Fragment,null,Object(w.__)("Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page."),Object(a.createElement)(v.ExternalLink,{href:"https://wordpress.org/support/article/page-jumps/"},Object(w.__)("Learn more about anchors"))),value:t.attributes.anchor||"",valuePlaceholder:n?null:Object(w.__)("Add an anchor"),onChange:function(e){e=e.replace(ae,"-"),t.setAttributes({anchor:e})},autoCapitalize:"none",autoComplete:"off"});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),n&&Object(a.createElement)(ee,null,r),!n&&"core/heading"===t.name&&Object(a.createElement)(ce,null,Object(a.createElement)(v.PanelBody,{title:Object(w.__)("Heading settings")},r)))}return Object(a.createElement)(e,t)}}),"withInspectorControl");function ue(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 de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Object(f.addFilter)("blocks.registerBlockType","core/anchor/attribute",(function(e){return Object(d.has)(e.attributes,["anchor","type"])||Object(p.hasBlockSupport)(e,"anchor")&&(e.attributes=le(le({},e.attributes),{},{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}})),e})),Object(f.addFilter)("editor.BlockEdit","core/editor/anchor/with-inspector-control",se),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/anchor/save-props",(function(e,t,n){return Object(p.hasBlockSupport)(t,"anchor")&&(e.id=""===n.anchor?null:n.anchor),e}));var be=Object(b.createHigherOrderComponent)((function(e){return function(t){return Object(p.hasBlockSupport)(t.name,"customClassName",!0)&&t.isSelected?Object(a.createElement)(a.Fragment,null,Object(a.createElement)(e,t),Object(a.createElement)(ee,null,Object(a.createElement)(v.TextControl,{autoComplete:"off",label:Object(w.__)("Additional CSS class(es)"),value:t.attributes.className||"",onChange:function(e){t.setAttributes({className:""!==e?e:void 0})},help:Object(w.__)("Separate multiple classes with spaces.")}))):Object(a.createElement)(e,t)}}),"withInspectorControl");function fe(e){e="<div data-custom-class-name>".concat(e,"</div>");var t=Object(p.parseWithAttributeSchema)(e,{type:"string",source:"attribute",selector:"[data-custom-class-name] > *",attribute:"class"});return t?t.trim().split(/\s+/):[]}Object(f.addFilter)("blocks.registerBlockType","core/custom-class-name/attribute",(function(e){return Object(p.hasBlockSupport)(e,"customClassName",!0)&&(e.attributes=de(de({},e.attributes),{},{className:{type:"string"}})),e})),Object(f.addFilter)("editor.BlockEdit","core/editor/custom-class-name/with-inspector-control",be),Object(f.addFilter)("blocks.getSaveContent.extraProps","core/custom-class-name/save-props",(function(e,t,n){return Object(p.hasBlockSupport)(t,"customClassName",!0)&&n.className&&(e.className=u()(e.className,n.className)),e})),Object(f.addFilter)("blocks.getBlockAttributes","core/custom-class-name/addParsedDifference",(function(e,t,n){if(Object(p.hasBlockSupport)(t,"customClassName",!0)){var r=Object(d.omit)(e,["className"]),o=Object(p.getSaveContent)(t,r),c=fe(o),i=fe(n),l=Object(d.difference)(i,c);l.length?e.className=l.join(" "):o&&delete e.className}return e}));var pe=n(15);Object(f.addFilter)("blocks.getSaveContent.extraProps","core/generated-class-name/save-props",(function(e,t){return Object(p.hasBlockSupport)(t,"className",!0)&&("string"==typeof e.className?e.className=Object(d.uniq)([Object(p.getBlockDefaultClassName)(t.name)].concat(Object(pe.a)(e.className.split(" ")))).join(" ").trim():e.className=Object(p.getBlockDefaultClassName)(t.name)),e}));var me={"color.palette":function(e){return void 0===e.colors?void 0:e.colors},"color.gradients":function(e){return void 0===e.gradients?void 0:e.gradients},"color.custom":function(e){return void 0===e.disableCustomColors?void 0:!e.disableCustomColors},"color.customGradient":function(e){return void 0===e.disableCustomGradients?void 0:!e.disableCustomGradients},"typography.fontSizes":function(e){return void 0===e.fontSizes?void 0:e.fontSizes},"typography.customFontSize":function(e){return void 0===e.disableCustomFontSizes?void 0:!e.disableCustomFontSizes},"typography.customLineHeight":function(e){return e.enableCustomLineHeight},"spacing.units":function(e){if(void 0!==e.enableCustomUnits)return!0===e.enableCustomUnits?["px","em","rem","vh","vw"]:e.enableCustomUnits},"spacing.customPadding":function(e){return e.enableCustomSpacing}};function ve(e,t){for(var n in t)if(t[n]!==e[n])return!1;return!0}function ge(e){var t=h(),n=t.name,r=t.clientId;return Object(m.useSelect)((function(t){var o,c=t("core/block-editor"),i=c.getBlockAttributes,l=(0,c.getSettings)(),a=t(p.store).getBlockType(n),s=n,u=Object(d.get)(a,["supports","__experimentalSelector"]);if(Object(d.isObject)(u)){var b=i(r)||{};for(var f in u)if(ve(b,u[f].attributes)){s=f;break}}var m="__experimentalFeatures.defaults.".concat(e),v="__experimentalFeatures.".concat(s,".").concat(e),g=null!==(o=Object(d.get)(l,v))&&void 0!==o?o:Object(d.get)(l,m);if(void 0!==g)return g;var O=me[e]?me[e](l):void 0;return void 0!==O?O:"typography.dropCap"===e||void 0}),[n,r,e])}var Oe=function e(t){if(!Object(d.isObject)(t))return t;var n=Object(d.pickBy)(Object(d.mapValues)(t,e),d.identity);return Object(d.isEqual)(n,{})?void 0:n};function he(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 je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ke(e){var t,n=e.attributes.style,r=e.setAttributes;return _e(e)?null:Object(a.createElement)(v.RangeControl,{value:null==n||null===(t=n.border)||void 0===t?void 0:t.radius,label:Object(w.__)("Border radius"),min:0,max:50,initialPosition:0,allowReset:!0,onChange:function(e){var t=je(je({},n),{},{border:je(je({},null==n?void 0:n.border),{},{radius:e})});r({style:Oe(t)})}})}function ye(e){var t=Object(p.getBlockSupport)(e,Ee);return!!(!0===t||null!=t&&t.radius)}function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=!ge("border.customRadius");return!ye(t)||n}var Ee="__experimentalBorder";function Ce(e){var t=we(e),n=function(e){if("web"!==a.Platform.OS)return!1;var t=Object(p.getBlockSupport)(e,Ee);return!!(!0===t||null!=t&&t.radius)}(e.name);return t||!n?null:Object(a.createElement)(ce,null,Object(a.createElement)(v.PanelBody,{title:Object(w.__)("Border settings")},Object(a.createElement)(ke,e)))}var we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[_e(e)];return t.every(Boolean)},Se=n(60),Be=n.n(Se),Ie=function(e,t,n){if(t){var r=Object(d.find)(e,{slug:t});if(r)return r}return{color:n}},xe=function(e,t){return Object(d.find)(e,{color:t})};function Pe(e,t){if(e&&t)return"has-".concat(Object(d.kebabCase)(t),"-").concat(e)}var Te=[];function Ne(e){if(e)return"has-".concat(e,"-gradient-background")}function De(e,t){var n=Object(d.find)(e,["slug",t]);return n&&n.gradient}function Ae(e,t){return Object(d.find)(e,["gradient",t])}function Re(e,t){var n=Ae(e,t);return n&&n.slug}function Le(){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,c=h(),i=c.clientId,s=ge("color.gradients")||Te,u=Object(m.useSelect)((function(e){var t=(0,e("core/block-editor").getBlockAttributes)(i)||{};return{customGradient:t[o],gradient:t[n]}}),[i,n,o]),d=u.gradient,b=u.customGradient,f=Object(m.useDispatch)("core/block-editor"),p=f.updateBlockAttributes,v=Object(a.useCallback)((function(e){var t,r,c=Re(s,e);p(i,c?(r={},Object(l.a)(r,n,c),Object(l.a)(r,o,void 0),r):(t={},Object(l.a)(t,n,void 0),Object(l.a)(t,o,e),t))}),[s,i,p]),g=Ne(d);return{gradientClass:g,gradientValue:d?De(s,d):b,setGradient:v}}var Me=n(9),Fe=n(13);function Ve(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 He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
2
  // translators: first %s: the color name or value (e.g. red or #ff0000)
3
  var ze=Object(w.__)("(Color: %s)"),Ge=Object(w.__)("(Gradient: %s)"),Ue=["colors","disableCustomColors","gradients","disableCustomGradients"];// translators: first %s: the gradient name or value (e.g. red to green or linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)
4
  function We(e){var t,n,r=e.colors,o=e.gradients,c=e.label,i=e.currentTab,l=e.colorValue,s=e.gradientValue;if("color"===i){if(l){var u=xe(r,t=l),d=u&&u.name;n=Object(w.sprintf)(ze,d||t)}}else if("gradient"===i&&s){var b=Ae(o,t=s),f=b&&b.name;n=Object(w.sprintf)(Ge,f||t)}return Object(a.createElement)(a.Fragment,null,c,!!t&&Object(a.createElement)(v.ColorIndicator,{colorValue:t,"aria-label":n}))}function Ke(e){var t=e.colors,n=e.gradients,r=e.disableCustomColors,o=e.disableCustomGradients,c=e.className,l=e.label,s=e.onColorChange,b=e.onGradientChange,f=e.colorValue,p=e.gradientValue,m=e.clearable,g=s&&(!Object(d.isEmpty)(t)||!r),O=b&&(!Object(d.isEmpty)(n)||!o),h=Object(a.useState)(p?"gradient":!!g&&"color"),j=Object(Me.a)(h,2),k=j[0],y=j[1];return g||O?Object(a.createElement)(v.BaseControl,{className:u()("block-editor-color-gradient-control",c)},Object(a.createElement)("fieldset",null,Object(a.createElement)("legend",null,Object(a.createElement)("div",{className:"block-editor-color-gradient-control__color-indicator"},Object(a.createElement)(v.BaseControl.VisualLabel,null,Object(a.createElement)(We,{currentTab:k,label:l,colorValue:f,gradientValue:p})))),g&&O&&Object(a.createElement)(v.ButtonGroup,{className:"block-editor-color-gradient-control__button-tabs"},Object(a.createElement)(v.Button,{isSmall:!0,isPressed:"color"===k,onClick:function(){return y("color")}},Object(w.__)("Solid")),Object(a.createElement)(v.Button,{isSmall:!0,isPressed:"gradient"===k,onClick:function(){return y("gradient")}},Object(w.__)("Gradient"))),("color"===k||!O)&&Object(a.createElement)(v.ColorPalette,Object(i.a)({value:f,onChange:O?function(e){s(e),b()}:s},{colors:t,disableCustomColors:r},{clearable:m})),("gradient"===k||!g)&&Object(a.createElement)(v.__experimentalGradientPicker,Object(i.a)({value:p,onChange:g?function(e){b(e),s()}:b},{gradients:n,disableCustomGradients:o},{clearable:m})))):null}function qe(e){var t={};return t.colors=ge("color.palette"),t.gradients=ge("color.gradients"),t.disableCustomColors=!ge("color.custom"),t.disableCustomGradients=!ge("color.customGradient"),Object(a.createElement)(Ke,He(He({},t),e))}var $e=function(e){return Object(d.every)(Ue,(function(t){return e.hasOwnProperty(t)}))?Object(a.createElement)(Ke,e):Object(a.createElement)(qe,e)};function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
79
  /* translators: %d: number of blocks */
80
  Object(w._n)("%d block","%d blocks",t.length),t.length)),Object(a.createElement)("div",{className:"block-editor-multi-selection-inspector__card-description"},Object(w.sprintf)(
81
  /* translators: %d: number of words */
82
+ Object(w._n)("%d word","%d words",n),n))))}));function cp(e){var t=e.blockName,n=Object(m.useSelect)((function(e){var n,r,o=e("core/block-editor").getSettings().__experimentalPreferredStyleVariations;return{preferredStyle:null==o||null===(n=o.value)||void 0===n?void 0:n[t],onUpdatePreferredStyleVariations:null!==(r=null==o?void 0:o.onChange)&&void 0!==r?r:null,styles:e(p.store).getBlockStyles(t)}}),[t]),r=n.preferredStyle,o=n.onUpdatePreferredStyleVariations,c=n.styles,i=Object(a.useMemo)((function(){return[{label:Object(w.__)("Not set"),value:""}].concat(Object(pe.a)(c.map((function(e){return{label:e.label,value:e.name}}))))}),[c]),l=Object(a.useCallback)((function(e){o(t,e)}),[t,o]);return o&&Object(a.createElement)(v.SelectControl,{options:i,value:r||"",label:Object(w.__)("Default Style"),onChange:l})}var ip=function(e){var t=e.clientId,n=e.blockName,r=e.hasBlockStyles,o=e.bubblesVirtually,c=Tl(t);return Object(a.createElement)("div",{className:"block-editor-block-inspector"},Object(a.createElement)(Ha,c),Object(a.createElement)(ib,{blockClientId:t}),r&&Object(a.createElement)("div",null,Object(a.createElement)(v.PanelBody,{title:Object(w.__)("Styles")},Object(a.createElement)(cu,{clientId:t}),Object(p.hasBlockSupport)(n,"defaultStylePicker",!0)&&Object(a.createElement)(cp,{blockName:n}))),Object(a.createElement)(ce.Slot,{bubblesVirtually:o}),Object(a.createElement)("div",null,Object(a.createElement)(lp,{slotName:ee.slotName,bubblesVirtually:o})),Object(a.createElement)(np,{key:"back"}))},lp=function(e){var t=e.slotName,n=e.bubblesVirtually,r=Object(v.__experimentalUseSlot)(t);return Boolean(r.fills&&r.fills.length)?Object(a.createElement)(v.PanelBody,{className:"block-editor-block-inspector__advanced",title:Object(w.__)("Advanced"),initialOpen:!1},Object(a.createElement)(ee.Slot,{bubblesVirtually:n})):null},ap=Object(m.withSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientId,r=t.getSelectedBlockCount,o=t.getBlockName,c=e(p.store).getBlockStyles,i=n(),l=i&&o(i),a=i&&Object(p.getBlockType)(l),s=i&&c(l);return{count:r(),hasBlockStyles:s&&s.length>0,selectedBlockName:l,selectedBlockClientId:i,blockType:a}}))((function(e){var t=e.blockType,n=e.count,r=e.hasBlockStyles,o=e.selectedBlockClientId,c=e.selectedBlockName,i=e.showNoBlockSelectedMessage,l=void 0===i||i,s=e.bubblesVirtually,u=void 0===s||s;if(n>1)return Object(a.createElement)("div",{className:"block-editor-block-inspector"},Object(a.createElement)(op,null),Object(a.createElement)(ce.Slot,{bubblesVirtually:u}));var d=c===Object(p.getUnregisteredTypeHandlerName)();return t&&o&&!d?Object(a.createElement)(ip,{clientId:o,blockName:t.name,hasBlockStyles:r,bubblesVirtually:u}):l?Object(a.createElement)("span",{className:"block-editor-block-inspector__no-blocks"},Object(w.__)("No block selected.")):null}));function sp(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 up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sp(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var dp=Object(a.forwardRef)((function(e,t){var n=e.children,r=e.tagName,o=void 0===r?"div":r,c=Object(Fe.a)(e,["children","tagName"]);Va()("wp.blockEditor.__experimentalBlock",{alternative:"wp.blockEditor.useBlockProps"});var i=sd(up(up({},c),{},{ref:t}));return Object(a.createElement)(o,i,n)})),bp=["p","div","h1","h2","h3","h4","h5","h6","ol","ul","li","figure","nav","pre","header","section","aside","footer","main"].reduce((function(e,t){return e[t]=Object(a.forwardRef)((function(e,n){return Object(a.createElement)(dp,Object(i.a)({},e,{ref:n,tagName:t}))})),e}),dp);function fp(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.hasSelectedBlock,r=t.hasMultiSelection;return n()||r()})),n=Object(m.useDispatch)("core/block-editor").clearSelectedBlock;Object(a.useEffect)((function(){if(t)return e.current.addEventListener("mousedown",r),function(){e.current.removeEventListener("mousedown",r)};function r(e){e.target.closest(".wp-block")||n()}}),[t,n])}function pp(e){var t=Object(a.useRef)();return fp(t),Object(a.createElement)("div",Object(i.a)({ref:t},e))}var mp=n(337),vp=n.n(mp),gp=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function Op(e){return e?e.replace(/^\s+|\s+$/g,""):""}var hp=n(200),jp=n.n(hp),kp=yp;function yp(e){this.options=e||{}}yp.prototype.emit=function(e){return e},yp.prototype.visit=function(e){return this[e.type](e)},yp.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 _p=Ep;function Ep(e){kp.call(this,e)}jp()(Ep,kp),Ep.prototype.compile=function(e){return e.stylesheet.rules.map(this.visit,this).join("")},Ep.prototype.comment=function(e){return this.emit("",e.position)},Ep.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},Ep.prototype.media=function(e){return this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ep.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("}")},Ep.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},Ep.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},Ep.prototype.supports=function(e){return this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ep.prototype.keyframes=function(e){return this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}")},Ep.prototype.keyframe=function(e){var t=e.declarations;return this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}")},Ep.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("}")},Ep.prototype["font-face"]=function(e){return this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")},Ep.prototype.host=function(e){return this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}")},Ep.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},Ep.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("}"):""},Ep.prototype.declaration=function(e){return this.emit(e.property+":"+e.value,e.position)+this.emit(";")};var Cp=wp;function wp(e){e=e||{},kp.call(this,e),this.indentation=e.indent}jp()(wp,kp),wp.prototype.compile=function(e){return this.stylesheet(e)},wp.prototype.stylesheet=function(e){return this.mapVisit(e.stylesheet.rules,"\n\n")},wp.prototype.comment=function(e){return this.emit(this.indent()+"/*"+e.comment+"*/",e.position)},wp.prototype.import=function(e){return this.emit("@import "+e.import+";",e.position)},wp.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}")},wp.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}")},wp.prototype.charset=function(e){return this.emit("@charset "+e.charset+";",e.position)},wp.prototype.namespace=function(e){return this.emit("@namespace "+e.namespace+";",e.position)},wp.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}")},wp.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)+"}")},wp.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")},wp.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}")},wp.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}")},wp.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}")},wp.prototype["custom-media"]=function(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)},wp.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()+"}"):""},wp.prototype.declaration=function(e){return this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")},wp.prototype.indent=function(e){return this.level=this.level||1,null!==e?(this.level+=e,""):Array(this.level).join(this.indentation||" ")};var Sp=function(e,t){try{var n=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 c(){var e={line:n,column:r};return function(t){return t.position=new i(e),f(),t}}function i(e){this.start=e,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var l=[];function a(o){var c=new Error(t.source+":"+n+":"+r+": "+o);if(c.reason=o,c.filename=t.source,c.line=n,c.column=r,c.source=e,!t.silent)throw c;l.push(c)}function s(){return b(/^{\s*/)}function u(){return b(/^}/)}function d(){var t,n,r,o=[];for(f(),p(o);e.length&&"}"!==e.charAt(0)&&(t=C()||(n=void 0,r=void 0,n=c(),(r=v())?(p(),n({type:"rule",selectors:r,declarations:O()})):a("selector missing")));)!1!==t&&(o.push(t),p(o));return o}function b(t){var n=t.exec(e);if(n){var r=n[0];return o(r),e=e.slice(r.length),n}}function f(){b(/^\s*/)}function p(e){var t;for(e=e||[];t=m();)!1!==t&&e.push(t);return e}function m(){var t=c();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 a("End of comment missing");var i=e.slice(2,n-2);return r+=2,o(i),e=e.slice(n),r+=2,t({type:"comment",comment:i})}}function v(){var e=b(/^([^{]+)/);if(e)return Op(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=c(),t=b(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(t){if(t=Op(t[0]),!b(/^:\s*/))return a("property missing ':'");var n=b(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/),r=e({type:"declaration",property:t.replace(gp,""),value:n?Op(n[0]).replace(gp,""):""});return b(/^[;\s]*/),r}}function O(){var e,t=[];if(!s())return a("missing '{'");for(p(t);e=g();)!1!==e&&(t.push(e),p(t));return u()?t:a("missing '}'")}function h(){for(var e,t=[],n=c();e=b(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),b(/^,\s*/);if(t.length)return n({type:"keyframe",values:t,declarations:O()})}var j,k=E("import"),y=E("charset"),_=E("namespace");function E(e){var t=new RegExp("^@"+e+"\\s*([^;]+);");return function(){var n=c(),r=b(t);if(r){var o={type:e};return o[e]=r[1].trim(),n(o)}}}function C(){if("@"===e[0])return function(){var e=c(),t=b(/^@([-\w]+)?keyframes\s*/);if(t){var n=t[1];if(!(t=b(/^([-\w]+)\s*/)))return a("@keyframes missing name");var r,o=t[1];if(!s())return a("@keyframes missing '{'");for(var i=p();r=h();)i.push(r),i=i.concat(p());return u()?e({type:"keyframes",name:o,vendor:n,keyframes:i}):a("@keyframes missing '}'")}}()||function(){var e=c(),t=b(/^@media *([^{]+)/);if(t){var n=Op(t[1]);if(!s())return a("@media missing '{'");var r=p().concat(d());return u()?e({type:"media",media:n,rules:r}):a("@media missing '}'")}}()||function(){var e=c(),t=b(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:"custom-media",name:Op(t[1]),media:Op(t[2])})}()||function(){var e=c(),t=b(/^@supports *([^{]+)/);if(t){var n=Op(t[1]);if(!s())return a("@supports missing '{'");var r=p().concat(d());return u()?e({type:"supports",supports:n,rules:r}):a("@supports missing '}'")}}()||k()||y()||_()||function(){var e=c(),t=b(/^@([-\w]+)?document *([^{]+)/);if(t){var n=Op(t[1]),r=Op(t[2]);if(!s())return a("@document missing '{'");var o=p().concat(d());return u()?e({type:"document",document:r,vendor:n,rules:o}):a("@document missing '}'")}}()||function(){var e=c();if(b(/^@page */)){var t=v()||[];if(!s())return a("@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}):a("@page missing '}'")}}()||function(){var e=c();if(b(/^@host\s*/)){if(!s())return a("@host missing '{'");var t=p().concat(d());return u()?e({type:"host",rules:t}):a("@host missing '}'")}}()||function(){var e=c();if(b(/^@font-face\s*/)){if(!s())return a("@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}):a("@font-face missing '}'")}}()}return function e(t,n){var r=t&&"string"==typeof t.type,o=r?t:n;for(var c in t){var i=t[c];Array.isArray(i)?i.forEach((function(t){e(t,o)})):i&&"object"===Object(so.a)(i)&&e(i,o)}return r&&Object.defineProperty(t,"parent",{configurable:!0,writable:!0,enumerable:!1,value:n||null}),t}((j=d(),{type:"stylesheet",stylesheet:{source:t.source,rules:j,parsingErrors:l}}))}(e);return r=vp.a.map(n,(function(e){if(!e)return e;var n=t(e);return this.update(n)})),((o=o||{}).compress?new _p(o):new Cp(o)).compile(r)}catch(e){return console.warn("Error while traversing the CSS: "+e),null}var r,o};function Bp(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 Ip(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bp(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xp(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 Pp(e,t){return new URL(e,t).toString()}var Tp=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]};xp(o)&&r.push(o)}return r}(t.value).map((c=e,function(e){return Ip(Ip({},e),{},{newUrl:"url("+e.before+e.quote+Pp(e.value,c)+e.quote+e.after+")"})}));return Ip(Ip({},t),{},{value:(r=t.value,o=n,o.forEach((function(e){r=r.replace(e.source,e.newUrl)})),r)})}var r,o,c;return t}};function Np(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 Dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Np(Object(n),!0).forEach((function(t){Object(l.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Np(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ap=/^(body|html|:root).*$/,Rp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){return"rule"===n.type?Dp(Dp({},n),{},{selectors:n.selectors.map((function(n){return t.includes(n.trim())?n:n.match(Ap)?n.replace(/^(body|html|:root)/,e):e+" "+n}))}):n}},Lp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object(d.map)(e,(function(e){var n=e.css,r=e.baseURL,o=e.__experimentalNoWrapper,c=[];return t&&!(void 0!==o&&o)&&c.push(Rp(t)),r&&c.push(Tp(r)),c.length?Sp(n,Object(b.compose)(c)):n}))};function Mp(e){var t=Object(a.useRef)([]);return Object(a.useCallback)((function(n){if(n){var r=Lp(e,".editor-styles-wrapper"),o=n.ownerDocument;t.current=Object(d.map)(Object(d.compact)(r),(function(e){var t=o.createElement("style");return t.innerHTML=e,o.body.appendChild(t),t})),function(e){var t=window.getComputedStyle(e,null).getPropertyValue("background-color"),n=e.ownerDocument.getElementsByTagName("body")[0];Be()(t).getLuminance()>.5?n.classList.remove("is-dark-theme"):n.classList.add("is-dark-theme")}(n)}else t.current.forEach((function(e){return e.ownerDocument.body.removeChild(e)}))}),[e])}var Fp=function(e){var t=e.rootClientId,n=e.clientId,r=e.isAppender,o=e.showInserterHelpPanel,c=e.showMostUsedBlocks,i=void 0!==c&&c,l=e.__experimentalSelectBlockOnInsert,s=e.__experimentalInsertionIndex,u=e.onSelect,b=void 0===u?d.noop:u,f=Object(m.useSelect)((function(e){var r=e("core/block-editor").getBlockRootClientId;return t||r(n)||void 0}),[n,t]);return Object(a.createElement)(Ss,{onSelect:b,rootClientId:f,clientId:n,isAppender:r,showInserterHelpPanel:o,showMostUsedBlocks:i,__experimentalSelectBlockOnInsert:l,__experimentalInsertionIndex:s})};function Vp(){var e=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlockOrder,o=t.getBlockRootClientId,c=n(),i=Object(Me.a)(c,1)[0];return{clientIds:c,rootBlocksClientIds:r(),rootClientId:o(i)}}),[]),t=e.clientIds,n=e.rootBlocksClientIds,r=e.rootClientId,o=Object(m.useDispatch)("core/block-editor"),c=o.duplicateBlocks,i=o.removeBlocks,l=o.insertAfterBlock,s=o.insertBeforeBlock,u=o.multiSelect,b=o.clearSelectedBlock,f=o.moveBlocksUp,p=o.moveBlocksDown;return Object(Ql.useShortcut)("core/block-editor/move-up",Object(a.useCallback)((function(e){e.preventDefault(),f(t,r)}),[t,f]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/move-down",Object(a.useCallback)((function(e){e.preventDefault(),p(t,r)}),[t,p]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/duplicate",Object(a.useCallback)((function(e){e.preventDefault(),c(t)}),[t,c]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/remove",Object(a.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/insert-after",Object(a.useCallback)((function(e){e.preventDefault(),l(Object(d.last)(t))}),[t,l]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/insert-before",Object(a.useCallback)((function(e){e.preventDefault(),s(Object(d.first)(t))}),[t,s]),{bindGlobal:!0,isDisabled:0===t.length}),Object(Ql.useShortcut)("core/block-editor/delete-multi-selection",Object(a.useCallback)((function(e){e.preventDefault(),i(t)}),[t,i]),{isDisabled:t.length<2}),Object(Ql.useShortcut)("core/block-editor/select-all",Object(a.useCallback)((function(e){e.preventDefault(),u(Object(d.first)(n),Object(d.last)(n))}),[n,u])),Object(Ql.useShortcut)("core/block-editor/unselect",Object(a.useCallback)((function(e){e.preventDefault(),b(),e.target.ownerDocument.defaultView.getSelection().removeAllRanges()}),[t,b]),{isDisabled:t.length<2}),null}Vp.Register=function(){var e=Object(m.useDispatch)(Ql.store).registerShortcut;return Object(a.useEffect)((function(){e({name:"core/block-editor/duplicate",category:"block",description:Object(w.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:Object(w.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/insert-before",category:"block",description:Object(w.__)("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(w.__)("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(w.__)("Remove multiple selected blocks."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/select-all",category:"selection",description:Object(w.__)("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(w.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:Object(w.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:Object(w.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:Object(w.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}})}),[e]),null};var Hp=Vp;function zp(e){var t=Object(m.useSelect)((function(e){var t=e("core/block-editor"),n=t.getBlockSelectionEnd,r=t.hasMultiSelection,o=t.isMultiSelecting,c=n();if(c&&!o()&&r())return c}),[]);Object(a.useEffect)((function(){if(t){var n=e.current.ownerDocument,r=lt(t,n);if(r){var o=Object(ta.getScrollContainer)(r);o&&Kb()(r,o,{onlyScrollIfNeeded:!0})}}}),[t])}function Gp(){var e=Object(a.useRef)();return zp(e),Object(a.createElement)("div",{ref:e})}var Up=new Set([Ht.UP,Ht.RIGHT,Ht.DOWN,Ht.LEFT,Ht.ENTER,Ht.BACKSPACE]);function Wp(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor").stopTyping;Object(a.useEffect)((function(){if(t){var r,o,c=e.current.ownerDocument;return c.addEventListener("mousemove",i),function(){c.removeEventListener("mousemove",i)}}function i(e){var t=e.clientX,c=e.clientY;r&&o&&(r!==t||o!==c)&&n(),r=t,o=c}}),[t,n])}function Kp(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").isTyping()})),n=Object(m.useDispatch)("core/block-editor"),r=n.startTyping,o=n.stopTyping;Wp(e),Object(a.useEffect)((function(){var n=e.current,c=n.ownerDocument,i=c.defaultView;if(t){var l;function a(e){var t=e.target;l=i.setTimeout((function(){Object(ta.isTextField)(t)||o()}))}function s(e){var t=e.keyCode;t!==Ht.ESCAPE&&t!==Ht.TAB||o()}function u(){var e=i.getSelection();e.rangeCount>0&&e.getRangeAt(0).collapsed||o()}return n.addEventListener("focus",a),n.addEventListener("keydown",s),c.addEventListener("selectionchange",u),function(){i.clearTimeout(l),n.removeEventListener("focus",a),n.removeEventListener("keydown",s),c.removeEventListener("selectionchange",u)}}function d(e){var t=e.type,o=e.target;Object(ta.isTextField)(o)&&n.contains(o)&&("keydown"!==t||function(e){var t=e.keyCode;return!e.shiftKey&&Up.has(t)}(e))&&r()}return n.addEventListener("keypress",d),n.addEventListener("keydown",d),function(){n.removeEventListener("keypress",d),n.removeEventListener("keydown",d)}}),[t,r,o])}var qp=function(e){var t=e.children,n=Object(a.useRef)();return Kp(n),Object(a.createElement)("div",{ref:n},t)};function $p(){return Va()("PreserveScrollInReorder component",{hint:"This behavior is now built-in the block list"}),null}var Yp=-1!==window.navigator.userAgent.indexOf("Trident"),Xp=new Set([Ht.UP,Ht.DOWN,Ht.LEFT,Ht.RIGHT]);function Qp(e){var t=Object(m.useSelect)((function(e){return e("core/block-editor").hasSelectedBlock()}));Object(a.useEffect)((function(){if(t){var n,r,o,c=e.current.ownerDocument,i=c.defaultView;return i.addEventListener("scroll",l,!0),i.addEventListener("resize",l,!0),e.current.addEventListener("keydown",a),e.current.addEventListener("keyup",s),e.current.addEventListener("mousedown",u),e.current.addEventListener("touchstart",u),function(){i.removeEventListener("scroll",l,!0),i.removeEventListener("resize",l,!0),e.current.removeEventListener("keydown",a),e.current.removeEventListener("keyup",s),e.current.removeEventListener("mousedown",u),e.current.removeEventListener("touchstart",u),c.removeEventListener("selectionchange",d),i.cancelAnimationFrame(n),i.cancelAnimationFrame(r)}}function l(){n||(n=i.requestAnimationFrame((function(){b(),n=null})))}function a(e){r&&i.cancelAnimationFrame(r),r=i.requestAnimationFrame((function(){s(e),r=null}))}function s(t){var n=t.keyCode;if(f()){var r=Object(ta.computeCaretRect)(i);if(r)if(o)if(Xp.has(n))o=r;else{var l=r.top-o.top;if(0!==l){var a=Object(ta.getScrollContainer)(e.current);if(a){var s=a===c.body,u=s?i.scrollY:a.scrollTop,d=s?0:a.getBoundingClientRect().top,b=s?o.top/i.innerHeight:(o.top-d)/(i.innerHeight-d);if(0===u&&b<.75&&(p=e.current.querySelectorAll('[contenteditable="true"]'))[p.length-1]===c.activeElement)o=r;else{var p,m=s?i.innerHeight:a.clientHeight;o.top+o.height>d+m||o.top<d?o=r:s?i.scrollBy(0,l):a.scrollTop+=l}}}}else o=r}}function u(){c.addEventListener("selectionchange",d)}function d(){c.removeEventListener("selectionchange",d),b()}function b(){f()&&(o=Object(ta.computeCaretRect)(i))}function f(){return e.current.contains(c.activeElement)&&c.activeElement.isContentEditable}}),[t])}var Zp=Yp?function(e){return e.children}:function(e){var t=e.children,n=Object(a.useRef)();return Qp(n),Object(a.createElement)("div",{ref:n,className:"block-editor__typewriter"},t)},Jp=Object(d.overEvery)([ta.isTextField,ta.focus.tabbable.isTabbableIndex]);function em(e){Object(a.useEffect)((function(){function t(t){if(t.target===e.current){var n=ta.focus.focusable.find(e.current),r=Object(d.findLast)(n,Jp);r&&(Object(ta.placeCaretAtHorizontalEdge)(r,!0),t.preventDefault())}}return e.current.addEventListener("mousedown",t),function(){e.current.addEventListener("mousedown",t)}}),[])}var tm=n(73);function nm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function rm(e){e.dir=document.dir,e.body.className="editor-styles-wrapper";var t,n=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nm(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nm(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,i=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,c=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw c}}}}(document.body.classList);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.startsWith("admin-color-")&&e.body.classList.add(r)}}catch(e){n.e(e)}finally{n.f()}}function om(e,t){if(e){var n=window.getComputedStyle(e.body,null).getPropertyValue("background-color");Be()(n).getLuminance()>.5?e.body.classList.remove("is-dark-theme"):e.body.classList.add("is-dark-theme");var r=Lp(t,".editor-styles-wrapper");Object(d.map)(Object(d.compact)(r),(function(t){var n=e.createElement("style");n.innerHTML=t,e.body.appendChild(n)}))}}var cm=Object(a.forwardRef)((function(e,t){var n=e.contentRef,r=e.editorStyles,o=e.children,c=e.head,l=Object(Fe.a)(e,["contentRef","editorStyles","children","head"]),s=Object(a.useState)(),u=Object(Me.a)(s,2),d=u[0],b=u[1];Object(a.useEffect)((function(){om(d,r)}),[r]);var f=Object(a.useCallback)((function(e){function t(){var t,o=e.contentDocument,i=o.readyState;return("interactive"===i||"complete"===i)&&(n.current=o.body,b(o),function(e,t){e.head.innerHTML="<style>body{margin:0}</style>"+t}(o,c),rm(o),t=o,Array.from(document.styleSheets).forEach((function(e){try{e.cssRules}catch(e){return}var n=e.ownerNode,r=e.cssRules;r&&Array.from(r).find((function(e){var t=e.selectorText;return t&&(t.includes(".".concat("editor-styles-wrapper"))||t.includes(".".concat("wp-block")))}))&&!t.getElementById(n.id)&&t.head.appendChild(n.cloneNode(!0))})),om(o,r),function(e){var t=e.defaultView,n=t.frameElement;function r(e){var r=Object.getPrototypeOf(e).constructor.name,o=window[r],c={};for(var i in e)c[i]=e[i];if(e instanceof t.MouseEvent){var l=n.getBoundingClientRect();c.clientX+=l.left,c.clientY+=l.top}var a=new o(e.type,c);!n.dispatchEvent(a)&&e.preventDefault()}for(var o=0,c=["keydown","keypress","dragover"];o<c.length;o++){var i=c[o];e.addEventListener(i,r)}}(o),rm(o),!0)}e&&(t()||e.addEventListener("load",(function(){t()})))}),[]);return Object(a.createElement)("iframe",Object(i.a)({},l,{ref:Object(a.useCallback)(Object(tm.a)([t,f]),[]),tabIndex:"0",title:Object(w.__)("Editor canvas"),name:"editor-canvas"}),d&&Object(a.createPortal)(o,d.body))})),im=Object(a.createContext)(new Set);function lm(e){var t=Object(a.useContext)(im),n=t.has(e),r=Object(a.useMemo)((function(){return n=e,(r=new Set(t)).add(n),r;var n,r}),[e,t]);return[n,Object(a.useCallback)((function(e){var t=e.children;return Object(a.createElement)(im.Provider,{value:r},t)}),[r])]}function am(e){if(void 0===e)e=Kr.colors;else{var t=e.filter((function(e){return e.color}));0===t.length?e=Kr.colors:t.length<e.length&&(e=t)}return e}function sm(e){if(void 0===e)e=Kr.gradients;else{var t=e.filter((function(e){return e.gradient}));0===t.length?e=Kr.gradients:t.length<e.length&&(e=t)}return e}},51:function(e,t){e.exports=window.wp.notices},52:function(e,t){e.exports=window.wp.blob},54:function(e,t){e.exports=window.wp.a11y},57:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",(function(){return r}))},60:function(e,t,n){var r;!function(o){var c=/^\s+/,i=/\s+$/,l=0,a=o.round,s=o.min,u=o.max,d=o.random;function b(e,t){if(t=t||{},(e=e||"")instanceof b)return e;if(!(this instanceof b))return new b(e,t);var n=function(e){var t,n,r,l={r:0,g:0,b:0},a=1,d=null,b=null,f=null,p=!1,m=!1;return"string"==typeof e&&(e=function(e){e=e.replace(c,"").replace(i,"").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"};return(t=G.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=G.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=G.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=G.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=G.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=G.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=G.hex8.exec(e))?{r:A(t[1]),g:A(t[2]),b:A(t[3]),a:F(t[4]),format:n?"name":"hex8"}:(t=G.hex6.exec(e))?{r:A(t[1]),g:A(t[2]),b:A(t[3]),format:n?"name":"hex"}:(t=G.hex4.exec(e))?{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"}:!!(t=G.hex3.exec(e))&&{r:A(t[1]+""+t[1]),g:A(t[2]+""+t[2]),b:A(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(U(e.r)&&U(e.g)&&U(e.b)?(t=e.r,n=e.g,r=e.b,l={r:255*N(t,255),g:255*N(n,255),b:255*N(r,255)},p=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):U(e.h)&&U(e.s)&&U(e.v)?(d=L(e.s),b=L(e.v),l=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),c=e-r,i=n*(1-t),l=n*(1-c*t),a=n*(1-(1-c)*t),s=r%6;return{r:255*[n,l,i,i,a,n][s],g:255*[a,n,n,l,i,i][s],b:255*[i,i,a,n,n,l][s]}}(e.h,d,b),p=!0,m="hsv"):U(e.h)&&U(e.s)&&U(e.l)&&(d=L(e.s),f=L(e.l),l=function(e,t,n){var r,o,c;function i(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=c=n;else{var l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;r=i(a,l,e+1/3),o=i(a,l,e),c=i(a,l,e-1/3)}return{r:255*r,g:255*o,b:255*c}}(e.h,d,f),p=!0,m="hsl"),e.hasOwnProperty("a")&&(a=e.a)),a=T(a),{ok:p,format:e.format||m,r:s(255,u(l.r,0)),g:s(255,u(l.g,0)),b:s(255,u(l.b,0)),a:a}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=a(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=a(this._r)),this._g<1&&(this._g=a(this._g)),this._b<1&&(this._b=a(this._b)),this._ok=n.ok,this._tc_id=l++}function f(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,c=u(e,t,n),i=s(e,t,n),l=(c+i)/2;if(c==i)r=o=0;else{var a=c-i;switch(o=l>.5?a/(2-c-i):a/(c+i),c){case e:r=(t-n)/a+(t<n?6:0);break;case t:r=(n-e)/a+2;break;case n:r=(e-t)/a+4}r/=6}return{h:r,s:o,l:l}}function p(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,c=u(e,t,n),i=s(e,t,n),l=c,a=c-i;if(o=0===c?0:a/c,c==i)r=0;else{switch(c){case e:r=(t-n)/a+(t<n?6:0);break;case t:r=(n-e)/a+2;break;case n:r=(e-t)/a+4}r/=6}return{h:r,s:o,v:l}}function m(e,t,n,r){var o=[R(a(e).toString(16)),R(a(t).toString(16)),R(a(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 v(e,t,n,r){return[R(M(r)),R(a(e).toString(16)),R(a(t).toString(16)),R(a(n).toString(16))].join("")}function g(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s-=t/100,n.s=D(n.s),b(n)}function O(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.s+=t/100,n.s=D(n.s),b(n)}function h(e){return b(e).desaturate(100)}function j(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l+=t/100,n.l=D(n.l),b(n)}function k(e,t){t=0===t?0:t||10;var n=b(e).toRgb();return n.r=u(0,s(255,n.r-a(-t/100*255))),n.g=u(0,s(255,n.g-a(-t/100*255))),n.b=u(0,s(255,n.b-a(-t/100*255))),b(n)}function y(e,t){t=0===t?0:t||10;var n=b(e).toHsl();return n.l-=t/100,n.l=D(n.l),b(n)}function _(e,t){var n=b(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,b(n)}function E(e){var t=b(e).toHsl();return t.h=(t.h+180)%360,b(t)}function C(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+120)%360,s:t.s,l:t.l}),b({h:(n+240)%360,s:t.s,l:t.l})]}function w(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+90)%360,s:t.s,l:t.l}),b({h:(n+180)%360,s:t.s,l:t.l}),b({h:(n+270)%360,s:t.s,l:t.l})]}function S(e){var t=b(e).toHsl(),n=t.h;return[b(e),b({h:(n+72)%360,s:t.s,l:t.l}),b({h:(n+216)%360,s:t.s,l:t.l})]}function B(e,t,n){t=t||6,n=n||30;var r=b(e).toHsl(),o=360/n,c=[b(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,c.push(b(r));return c}function I(e,t){t=t||6;for(var n=b(e).toHsv(),r=n.h,o=n.s,c=n.v,i=[],l=1/t;t--;)i.push(b({h:r,s:o,v:c})),c=(c+l)%1;return i}b.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=T(e),this._roundA=a(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=a(360*e.h),n=a(100*e.s),r=a(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=a(360*e.h),n=a(100*e.s),r=a(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(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 c=[R(a(e).toString(16)),R(a(t).toString(16)),R(a(n).toString(16)),R(M(r))];return o&&c[0].charAt(0)==c[0].charAt(1)&&c[1].charAt(0)==c[1].charAt(1)&&c[2].charAt(0)==c[2].charAt(1)&&c[3].charAt(0)==c[3].charAt(1)?c[0].charAt(0)+c[1].charAt(0)+c[2].charAt(0)+c[3].charAt(0):c.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:a(this._r),g:a(this._g),b:a(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+a(this._r)+", "+a(this._g)+", "+a(this._b)+")":"rgba("+a(this._r)+", "+a(this._g)+", "+a(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:a(100*N(this._r,255))+"%",g:a(100*N(this._g,255))+"%",b:a(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%)":"rgba("+a(100*N(this._r,255))+"%, "+a(100*N(this._g,255))+"%, "+a(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=b(e);n="#"+v(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 b(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(O,arguments)},greyscale:function(){return this._applyModification(h,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(B,arguments)},complement:function(){return this._applyCombination(E,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(S,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(w,arguments)}},b.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:L(e[r]));e=n}return b(e,t)},b.equals=function(e,t){return!(!e||!t)&&b(e).toRgbString()==b(t).toRgbString()},b.random=function(){return b.fromRatio({r:d(),g:d(),b:d()})},b.mix=function(e,t,n){n=0===n?0:n||50;var r=b(e).toRgb(),o=b(t).toRgb(),c=n/100;return b({r:(o.r-r.r)*c+r.r,g:(o.g-r.g)*c+r.g,b:(o.b-r.b)*c+r.b,a:(o.a-r.a)*c+r.a})},b.readability=function(e,t){var n=b(e),r=b(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},b.isReadable=function(e,t,n){var r,o,c,i,l,a=b.readability(e,t);switch(o=!1,(c=n,"AA"!==(i=((c=c||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(l=(c.size||"small").toLowerCase())&&"large"!==l&&(l="small"),r={level:i,size:l}).level+r.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},b.mostReadable=function(e,t,n){var r,o,c,i,l=null,a=0;o=(n=n||{}).includeFallbackColors,c=n.level,i=n.size;for(var s=0;s<t.length;s++)(r=b.readability(e,t[s]))>a&&(a=r,l=b(t[s]));return b.isReadable(e,l,{level:c,size:i})||!o?l:(n.includeFallbackColors=!1,b.mostReadable(e,["#fff","#000"],n))};var x=b.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"},P=b.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(x);function T(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var 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 D(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 L(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,z,G=(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 U(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=b:void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}(Math)},68:function(e,t){e.exports=window.wp.htmlEntities},69:function(e,t){e.exports=window.wp.isShallowEqual},7:function(e,t){e.exports=window.wp.primitives},72:function(e,t,n){e.exports=function(e,t){var n,r,o=0;function c(){var c,i,l=n,a=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(i=0;i<a;i++)if(l.args[i]!==arguments[i]){l=l.next;continue e}return l!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(c=new Array(a),i=0;i<a;i++)c[i]=arguments[i];return l={args:c,val:e.apply(null,c)},n?(n.prev=l,l.next=n):r=l,o===t.maxSize?(r=r.prev).next=null:o++,n=l,l.val}return t=t||{},c.clear=function(){n=null,r=null,o=0},c}},73:function(e,t,n){"use strict";t.a=function(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}},8:function(e,t){e.exports=window.React},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(40),o=n(31),c=n(41);function i(e,t){return Object(r.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var c,i=e[Symbol.iterator]();!(_n=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}(e,t)||Object(o.a)(e,t)||Object(c.a)()}}});
build/edit-site/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '4951caf2f07520d0aaa0ffac9f1469cb');
1
+ <?php return array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '9f4da5fd1a741d60ce6da2566108772c');
build/edit-site/index.js CHANGED
@@ -6,7 +6,7 @@ Object(s.__)("Show %s details"),i)})},contentClassName:"edit-site-document-actio
6
  /* translators: %s: Name of the template. */
7
  Object(s.__)("Name: %s"),c)),o&&Object(a.createElement)(d.__experimentalText,{variant:"body"},Object(s.sprintf)(
8
  /* translators: %s: Description of the template. */
9
- Object(s.__)("Description: %s"),o))),Object(a.createElement)(d.Button,{className:"edit-site-template-details__show-all-button",onClick:function(){n(),i("templates")},"aria-label":Object(s.__)("Browse all templates. This will open the template menu in the navigation side panel.")},Object(s.__)("Browse all templates"))):null}function Qe(e){var t=e.openEntitiesSavedStates,n=Object(w.useSelect)((function(e){var t=e("core/edit-site"),n=t.__experimentalGetPreviewDeviceType,r=t.isFeatureActive,c=t.getEditedPostType,a=t.getEditedPostId,o=t.isInserterOpened,i=e("core").getEntityRecord,l=e("core/editor").__experimentalGetTemplateInfo,s=c(),u=i("postType",s,a()),p="wp_template"===s?l(u).title:null==u?void 0:u.slug;return{deviceType:n(),entityTitle:p,hasFixedToolbar:r("fixedToolbar"),template:u,templateType:s,isInserterOpen:o()}}),[]),r=n.deviceType,c=n.entityTitle,o=n.hasFixedToolbar,i=n.template,l=n.templateType,u=n.isInserterOpen,p=Object(w.useDispatch)("core/edit-site"),b=p.__experimentalSetPreviewDeviceType,m=p.setIsInserterOpened,f=Object(Pe.useViewportMatch)("medium"),O=!f||"Desktop"!==r||o;return Object(a.createElement)("div",{className:"edit-site-header"},Object(a.createElement)("div",{className:"edit-site-header_start"},Object(a.createElement)("div",{className:"edit-site-header__toolbar"},Object(a.createElement)(d.Button,{isPrimary:!0,isPressed:u,className:"edit-site-header-toolbar__inserter-toggle",onClick:function(){return m(!u)},icon:ke.a,label:Object(s._x)("Add block","Generic label for block inserter button")}),f&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ee.ToolSelector,null),Object(a.createElement)(Ge,null),Object(a.createElement)(ze,null),Object(a.createElement)(Ee.BlockNavigationDropdown,null)),O&&Object(a.createElement)("div",{className:"edit-site-header-toolbar__block-toolbar"},Object(a.createElement)(Ee.BlockToolbar,{hideDragHandle:!0})))),Object(a.createElement)("div",{className:"edit-site-header_center"},"wp_template"===l&&Object(a.createElement)(qe,{entityTitle:c,entityLabel:"template"},(function(e){var t=e.onClose;return Object(a.createElement)(Ke,{template:i,onClose:t})})),"wp_template_part"===l&&Object(a.createElement)(qe,{entityTitle:c,entityLabel:"template part"})),Object(a.createElement)("div",{className:"edit-site-header_end"},Object(a.createElement)("div",{className:"edit-site-header__actions"},Object(a.createElement)(Ee.__experimentalPreviewOptions,{deviceType:r,setDeviceType:b}),Object(a.createElement)(Le,{openEntitiesSavedStates:t}),Object(a.createElement)(he.f.Slot,{scope:"core/edit-site"}),Object(a.createElement)(Be,null))))}var Xe=n(239),Je=Object(a.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(f.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"}));function Ze(e){var t=e.className,n=e.identifier,r=e.title,c=e.icon,o=e.children,i=e.closeLabel,l=e.header;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(he.b,{className:t,scope:"core/edit-site",identifier:n,title:r,icon:c,closeLabel:i,header:l},o),Object(a.createElement)(he.c,{scope:"core/edit-site",identifier:n,icon:c},r))}var $e=n(43),et=n(15),tt=n(99),nt="defaults",rt=["--wp--style--color--link","background","backgroundColor","color","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textDecoration","textTransform"],ct=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["typography","fontSizes"],valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[]}],at={backgroundColor:"color",LINK_COLOR:"color",background:"gradient"};function ot(e){return ot.MAP||(ot.MAP={},ct.forEach((function(e,t){var n=e.cssVarInfix;ot.MAP[Object(j.camelCase)(n)]=ct[t]})),Object(j.forEach)(at,(function(e,t){ot.MAP[t]=ot.MAP[e]}))),ot.MAP[e]}var it="--wp--style--color--link",lt="a { color: var(".concat(it,", #00e); }");function st(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt,r=Object(w.useSelect)((function(e){return e("core/edit-site").getSettings()}));return null!==(t=Object(j.get)(r,"__experimentalFeatures.".concat(n,".").concat(e)))&&void 0!==t?t:Object(j.get)(r,"__experimentalFeatures.".concat(nt,".").concat(e))}function ut(e,t,n){if(!n||!Object(j.isString)(n))return n;var r;if(n.startsWith("var:"))r=n.slice("var:".length).split("|");else{if(!n.startsWith("var(--wp--")||!n.endsWith(")"))return n;r=n.slice("var(--wp--".length,-")".length).split("--")}var c=r,a=Object(tt.a)(c),o=a[0],i=a.slice(1);return"preset"===o?function(e,t,n,r){var c,a=Object(ye.a)(r,2),o=a[0],i=a[1],l=ot(o=Object(j.camelCase)(o));if(!l)return n;var s=null!==(c=Object(j.get)(e,[t].concat(Object(et.a)(l.path))))&&void 0!==c?c:Object(j.get)(e,[nt].concat(Object(et.a)(l.path)));if(!s)return n;var u=Object(j.find)(s,(function(e){return e.slug===i}));return u?ut(e,t,u[l.valueKey]):n}(e,t,n,i):"custom"===o?function(e,t,n,r){var c,a=null!==(c=Object(j.get)(e,[t,"settings","custom"].concat(Object(et.a)(r))))&&void 0!==c?c:Object(j.get)(e,[nt,"settings","custom"].concat(Object(et.a)(r)));return a?ut(e,t,a):n}(e,t,n,i):n}function pt(e){if(Object(j.startsWith)(e,"var:")){var t=e.slice("var:".length).split("|").join("--");return"var(--wp--".concat(t,")")}return e}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(j.reduce)(ct,(function(t,n){var r=n.path,c=n.valueKey,a=n.cssVarInfix;return Object(j.get)(e,r,[]).forEach((function(e){t.push("--wp--preset--".concat(a,"--").concat(e.slug,": ").concat(e[c]))})),t}),[])}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(j.reduce)(ct,(function(n,r){var c=r.path,a=r.valueKey,o=r.classes;return o?(o.forEach((function(r){var o=r.classSuffix,i=r.propertyName;Object(j.get)(t,c,[]).forEach((function(t){var r=t.slug,c=t[a],l=".has-".concat(r,"-").concat(o),s="".concat(e).concat(l);n+="".concat(s," {").concat(i,": ").concat(c,";}")}))})),n):n}),"")}function mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[];return Object.keys(e).forEach((function(c){var a=t+Object(j.kebabCase)(c.replace("/","-")),o=e[c];if(o instanceof Object){var i=a+n;r=[].concat(Object(et.a)(r),Object(et.a)(mt(o,i,n)))}else r.push("".concat(a,": ").concat(o))})),r}function ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(j.reduce)(He.__EXPERIMENTAL_STYLE_PROPERTY,(function(n,r,c){var a=r.value,o=r.properties;if(!e.includes(c))return n;if(o)o.forEach((function(e){var r=c.startsWith("--")?c:Object(j.kebabCase)("".concat(c).concat(Object(j.capitalize)(e)));n.push("".concat(r,": ").concat(pt(Object(j.get)(t,[].concat(Object(et.a)(a),[e])))))}));else if(Object(j.get)(t,a,!1)){var i=c.startsWith("--")?c:Object(j.kebabCase)(c);n.push("".concat(i,": ").concat(pt(Object(j.get)(t,a))))}return n}),[])}var Ot=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return Object(j.reduce)(e,(function(r,c,a){var o=c.selector;if("all"===n||"cssVariables"===n){var i,l,s,u=[].concat(Object(et.a)(bt(null==t||null===(i=t.settings)||void 0===i?void 0:i[a])),Object(et.a)(mt(null==t||null===(l=t.settings)||void 0===l||null===(s=l[a])||void 0===s?void 0:s.custom,"--wp--custom--","--")));u.length>0&&r.push("".concat(o," { ").concat(u.join(";")," }"))}if("all"===n||"blockStyles"===n){var p,b,d=ft(e[a].supports,null==t||null===(p=t.styles)||void 0===p?void 0:p[a]);d.length>0&&r.push("".concat(o," { ").concat(d.join(";")," }"));var m=dt(o,null==t||null===(b=t.settings)||void 0===b?void 0:b[a]);m&&r.push(m)}return r}),"all"===n||"blockStyles"===n?[lt]:[]).join("")};function jt(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 vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gt={isGlobalStylesUserThemeJSON:!0},yt=JSON.stringify(gt),_t=Object(a.createContext)({getSetting:function(e,t){},setSetting:function(e,t,n){},getStyle:function(e,t,n){},setStyle:function(e,t,n){},contexts:{}}),Et=function(e,t){if(Array.isArray(t))return t},ht=function(){return Object(_e.useEntityProp)("postType","wp_global_styles","content")};function wt(e){var t=e.children,n=e.baseStyles,r=ht(),c=Object(ye.a)(r,2),o=c[0],i=c[1],l=Object(w.useSelect)((function(e){return{blockTypes:e(He.store).getBlockTypes(),settings:e("core/edit-site").getSettings()}})),s=l.blockTypes,u=l.settings,p=Object(w.useDispatch)("core/edit-site").updateSettings,b=Object(a.useMemo)((function(){return function(e){var t,n=(t={},Object(P.a)(t,"root",{selector:":root",supports:rt}),Object(P.a)(t,nt,{selector:":root",supports:[]}),t);return e.forEach((function(e){var t,r=e.name,c=null==e||null===(t=e.supports)||void 0===t?void 0:t.__experimentalSelector,a=function(e){var t=[];return Object.keys(He.__EXPERIMENTAL_STYLE_PROPERTY).forEach((function(n){Object(j.get)(e,He.__EXPERIMENTAL_STYLE_PROPERTY[n].support,!1)&&t.push(n)})),t}(null==e?void 0:e.supports),o=a.length>0;if(o&&"string"==typeof c)n[r]={selector:c,supports:a,blockName:r};else if(o&&"object"===Object($e.a)(c))Object.keys(c).forEach((function(e){n[e]={selector:c[e].selector,supports:a,blockName:r,title:c[e].title,attributes:c[e].attributes}}));else if(o){var i=r.replace("core/","").replace("/","-");n[r]={selector:".wp-block-"+i,supports:a,blockName:r}}})),n}(s)}),[s]),d=Object(a.useMemo)((function(){var e=o?JSON.parse(o):gt;return e.isGlobalStylesUserThemeJSON||(e=gt),{userStyles:e,mergedStyles:Object(j.mergeWith)({},n,e,Et)}}),[o]),m=d.userStyles,f=d.mergedStyles,O=Object(a.useMemo)((function(){return{contexts:b,getSetting:function(e,t){var n;return Object(j.get)(null==m||null===(n=m.settings)||void 0===n?void 0:n[e],t)},setSetting:function(e,t,n){var r,c=vt({},m),a=null==c||null===(r=c.settings)||void 0===r?void 0:r[e];a||(a={},Object(j.set)(c,["settings",e],a)),Object(j.set)(a,t,n),i(JSON.stringify(c))},getStyle:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"merged",c="user"===r?m:f,a=Object(j.get)(null==c||null===(n=c.styles)||void 0===n?void 0:n[e],He.__EXPERIMENTAL_STYLE_PROPERTY[t].value);return ut(f,e,a)},setStyle:function(e,t,n){var r,c=vt({},m),a=null==c||null===(r=c.styles)||void 0===r?void 0:r[e];a||(a={},Object(j.set)(c,["styles",e],a)),Object(j.set)(a,He.__EXPERIMENTAL_STYLE_PROPERTY[t].value,function(e,t,n,r){var c;if(!r)return r;var a=ot(n);if(!a)return r;var o=a.valueKey,i=a.path,l=a.cssVarInfix,s=null!==(c=Object(j.get)(e,[t].concat(Object(et.a)(i))))&&void 0!==c?c:Object(j.get)(e,[nt].concat(Object(et.a)(i))),u=Object(j.find)(s,(function(e){return e[o]===r}));return u?"var:preset|".concat(l,"|").concat(u.slug):r}(f,e,t,n)),i(JSON.stringify(c))}}}),[o,f]);return Object(a.useEffect)((function(){var e=u.styles.filter((function(e){return!e.isGlobalStyles}));p(vt(vt({},u),{},{styles:[].concat(Object(et.a)(e),[{css:Ot(b,f,"cssVariables"),isGlobalStyles:!0,__experimentalNoWrapper:!0},{css:Ot(b,f,"blockStyles"),isGlobalStyles:!0}]),__experimentalFeatures:f.settings}))}),[b,f]),Object(a.createElement)(_t.Provider,{value:O},t)}function St(e){var t=e.supports;return st("typography.customLineHeight",e.name)&&t.includes("lineHeight")}function Pt(e){var t=e.supports,n=e.name,r=st("typography.customFontStyle",n)&&t.includes("fontStyle"),c=st("typography.customFontWeight",n)&&t.includes("fontWeight");return r||c}function xt(e){var t=e.context,n=t.supports,r=t.name,c=e.getStyle,o=e.setStyle,i=st("typography.fontSizes",r),l=!st("typography.customFontSize",r),u=st("typography.fontFamilies",r),p=st("typography.customFontStyle",r)&&n.includes("fontStyle"),b=st("typography.customFontWeight",r)&&n.includes("fontWeight"),m=St({supports:n,name:r}),f=Pt({supports:n,name:r});return Object(a.createElement)(d.PanelBody,{title:Object(s.__)("Typography"),initialOpen:!0},n.includes("fontFamily")&&Object(a.createElement)(Ee.__experimentalFontFamilyControl,{fontFamilies:u,value:c(r,"fontFamily"),onChange:function(e){return o(r,"fontFamily",e)}}),n.includes("fontSize")&&Object(a.createElement)(d.FontSizePicker,{value:c(r,"fontSize"),onChange:function(e){return o(r,"fontSize",e)},fontSizes:i,disableCustomFontSizes:l}),m&&Object(a.createElement)(Ee.LineHeightControl,{value:c(r,"lineHeight"),onChange:function(e){return o(r,"lineHeight",e)}}),f&&Object(a.createElement)(Ee.__experimentalFontAppearanceControl,{value:{fontStyle:c(r,"fontStyle"),fontWeight:c(r,"fontWeight")},onChange:function(e){var t=e.fontStyle,n=e.fontWeight;o(r,"fontStyle",t),o(r,"fontWeight",n)},hasFontStyles:p,hasFontWeights:b}))}var Tt=[];function kt(e){var t=e.contextName,n=e.getSetting,r=e.setSetting,c=st("color.palette",t),o=n(t,"color.palette"),i=Object(w.useSelect)((function(e){var n,r=e("core/edit-site").getSettings().__experimentalGlobalStylesBaseStyles,c=null!==(n=Object(j.get)(r,[t,"settings","color","palette"]))&&void 0!==n?n:Object(j.get)(r,[nt,"settings","color","palette"]);return c?c.map((function(e){return e.slug})):Tt}),[t]);return Object(a.createElement)(d.__experimentalColorEdit,{immutableColorSlugs:i,colors:c,onChange:function(e){r(t,"color.palette",e)},emptyUI:Object(s.__)("Colors are empty! Add some colors to create your own color palette."),canReset:c===o})}function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e){var t=e.context,n=t.supports,r=t.name,c=e.getStyle,o=e.setStyle,i=e.getSetting,l=e.setSetting,u=st("color.palette",r),p=!st("color.custom",r),b=st("color.gradients",r),d=!st("color.customGradient",r),m=[];if(n.includes("color")){var f=c(r,"color"),O=c(r,"color","user");m.push({colorValue:f,onColorChange:function(e){return o(r,"color",e)},label:Object(s.__)("Text color"),clearable:f===O})}var j={};if(n.includes("backgroundColor")){var v=c(r,"backgroundColor"),g=c(r,"backgroundColor","user");j={colorValue:v,onColorChange:function(e){return o(r,"backgroundColor",e)}},v&&(j.clearable=v===g)}var y={};if(n.includes("background")){var _=c(r,"background"),E=c(r,"background","user");y={gradientValue:_,onGradientChange:function(e){return o(r,"background",e)}},_&&(y.clearable=_===E)}if((n.includes("background")||n.includes("backgroundColor"))&&m.push(It(It(It({},j),y),{},{label:Object(s.__)("Background color")})),n.includes(it)){var h=c(r,it),w=c(r,it,"user");m.push({colorValue:h,onColorChange:function(e){return o(r,it,e)},label:Object(s.__)("Link color"),clearable:h===w})}return Object(a.createElement)(Ee.__experimentalPanelColorGradientSettings,{title:Object(s.__)("Color"),settings:m,colors:u,gradients:b,disableCustomColors:p,disableCustomGradients:d},Object(a.createElement)(kt,{key:"color-palette-panel-"+r,contextName:r,getSetting:i,setSetting:l}))}function At(e){var t=e.context.name,n=e.getStyle,r=e.setStyle,c=function(e){var t=e.units,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.filter((function(t){return e.includes(t.value)}))}(st("spacing.units",e.contextName)||[],t);return 0!==n.length&&n}({contextName:t}),o=n(t,"padding");return Object(a.createElement)(d.PanelBody,{title:Object(s.__)("Spacing")},Object(a.createElement)(d.__experimentalBoxControl,{values:o,onChange:function(e){var n=e.top,c=e.right,a=e.bottom,i=e.left;r(t,"padding",{top:n||(null==o?void 0:o.top),right:c||(null==o?void 0:o.right),bottom:a||(null==o?void 0:o.bottom),left:i||(null==o?void 0:o.left)})},label:Object(s.__)("Padding"),units:c}))}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}function Dt(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(P.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}function Bt(e){var t=e.wrapperPanelTitle,n=e.context,r=e.getStyle,c=e.setStyle,o=e.getSetting,i=e.setSetting,l=function(e){var t=e.supports;return t.includes("color")||t.includes("backgroundColor")||t.includes("background")||t.includes(it)}(n),s=function(e){var t=e.supports,n=e.name,r=St({supports:t,name:n}),c=Pt({supports:t,name:n});return r||c||t.includes("fontSize")}(n),u=function(e){var t=e.supports;return st("spacing.customPadding",e.name)&&t.includes("padding")}(n);if(!l&&!s&&!u)return null;var p=Object(a.createElement)(d.__unstableComponentSystemProvider,{__unstableNextInclude:["WPComponentsFontSizePicker"]},s&&Object(a.createElement)(xt,{context:n,getStyle:r,setStyle:c}),l&&Object(a.createElement)(Mt,{context:n,getStyle:r,setStyle:c,getSetting:o,setSetting:i}),u&&Object(a.createElement)(At,{context:n,getStyle:r,setStyle:c}));return t?Object(a.createElement)(d.PanelBody,{title:t,initialOpen:!1},p):p}function Lt(e){var t,n=Object(He.getBlockType)(e.blockName);if(void 0===n)return n;var r=n.title;return"object"===Object($e.a)(null==n||null===(t=n.supports)||void 0===t?void 0:t.__experimentalSelector)&&(r+=" (".concat(e.title,")")),r}function Rt(e){var t=e.contexts,n=e.getStyle,r=e.setStyle,c=e.getSetting,o=e.setSetting,i=Object(a.useMemo)((function(){return Object(j.sortBy)(Object(j.map)(t,(function(e,t){return{context:e,name:t,wrapperPanelTitle:Lt(e)}})),(function(e){return e.wrapperPanelTitle}))}),[t]);return Object(j.map)(i,(function(e){var t=e.context,i=e.name,l=e.wrapperPanelTitle;return"root"===i?null:Object(a.createElement)(Bt,{key:"panel-"+i,wrapperPanelTitle:l,context:Dt(Dt({},t),{},{name:i}),getStyle:n,setStyle:r,getSetting:c,setSetting:o})}))}function Ft(e){var t,n,r,c,o=e.identifier,i=e.title,l=e.icon,u=e.closeLabel,p=Object(a.useContext)(_t),b=p.contexts,m=p.getStyle,f=p.setStyle,O=p.getSetting,j=p.setSetting,v=(t=ht(),r=(n=Object(ye.a)(t,2))[0],c=n[1],[!!r&&r!==yt,Object(a.useCallback)((function(){return c(yt)}),[c])]),g=Object(ye.a)(v,2),y=g[0],_=g[1];return"object"===Object($e.a)(b)&&null!=b&&b.root?Object(a.createElement)(Ze,{className:"edit-site-global-styles-sidebar",identifier:o,title:i,icon:l,closeLabel:u,header:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("strong",null,i),Object(a.createElement)(d.Button,{className:"edit-site-global-styles-sidebar__reset-button",isSmall:!0,isTertiary:!0,disabled:!y,onClick:_},Object(s.__)("Reset to defaults")))},Object(a.createElement)(d.TabPanel,{tabs:[{name:"root",title:Object(s.__)("Root")},{name:"block",title:Object(s.__)("By Block Type")}]},(function(e){return"block"===e.name?Object(a.createElement)(Rt,{contexts:b,getStyle:m,setStyle:f,getSetting:O,setSetting:j}):Object(a.createElement)(Bt,{hasWrapper:!1,context:Dt(Dt({},b.root),{},{name:"root"}),getStyle:m,setStyle:f,getSetting:O,setSetting:j})}))):null}var Gt=Object(d.createSlotFill)("EditSiteSidebarInspector"),Vt=Gt.Slot,zt=Gt.Fill;function Ut(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ze,{identifier:"edit-site/block-inspector",title:Object(s.__)("Block Inspector"),icon:Xe.a,closeLabel:Object(s.__)("Close block inspector sidebar")},Object(a.createElement)(Vt,{bubblesVirtually:!0})),Object(a.createElement)(Ft,{identifier:"edit-site/global-styles",title:Object(s.__)("Global Styles"),closeLabel:Object(s.__)("Close global styles sidebar"),icon:Je}))}function Wt(e){var t=e.clientId,n=Object(w.useSelect)((function(e){return e("core/block-editor").__unstableGetBlockWithBlockTree(t)}),[t]).innerBlocks,r=Object(w.useDispatch)("core/block-editor").replaceBlocks;return Object(a.createElement)(Ee.BlockSettingsMenuControls,null,(function(e){var c=e.onClose;return Object(a.createElement)(d.MenuItem,{onClick:function(){r(t,n),c()}},Object(s.__)("Detach blocks from template part"))}))}function Ht(e){var t=e.clientIds,n=e.blocks,r=Object(w.useDispatch)("core/block-editor").replaceBlocks;return Object(a.createElement)(Ee.BlockSettingsMenuControls,null,(function(e){var c=e.onClose;return Object(a.createElement)(d.MenuItem,{onClick:function(){r(t,Object(He.createBlock)("core/template-part",{},n.map((function(e){return Object(He.createBlock)(e.name,e.attributes,e.innerBlocks)})))),c()}},Object(s.__)("Make template part"))}))}function Yt(){var e,t=Object(w.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlocksByClientId,c=n();return{clientIds:c,blocks:r(c)}})),n=t.clientIds,r=t.blocks;return 1===r.length&&"core/template-part"===(null===(e=r[0])||void 0===e?void 0:e.name)?Object(a.createElement)(Wt,{clientId:n[0]}):Object(a.createElement)(Ht,{clientIds:n,blocks:r})}var qt=n(240);function Kt(e){var t=e.type,n=e.id,r=e.activePage,c=e.onActivePageChange,o=Object(w.useSelect)((function(e){return t&&n&&"URL"!==t&&e("core").getEntityRecord("postType",t,n)}),[t,n]),i=Object(a.useMemo)((function(){if(null==o||!o.link)return null;var e=Object(l.getPathAndQueryString)(o.link);return e===r.path?null:function(){return c({type:t,slug:o.slug,path:e,context:{postType:o.type,postId:o.id}})}}),[o,r.path,c]);return i&&Object(a.createElement)(d.Button,{icon:qt.a,label:Object(s.__)("Edit Page Template"),onClick:i})}function Qt(e){var t=e.body;return Object(Ee.__unstableUseBlockSelectionClearer)(t),Object(Ee.__unstableUseTypingObserver)(t),Object(a.createElement)(d.DropZoneProvider,null,Object(a.createElement)(Ee.WritingFlow,null,Object(a.createElement)(Ee.BlockList,{className:"edit-site-block-editor__block-list"})))}function Xt(e){var t=e.setIsInserterOpen,n=Object(w.useSelect)((function(e){var n=e("core/edit-site"),r=n.getSettings,c=n.getEditedPostType,a=n.getPage,o=n.__experimentalGetPreviewDeviceType;return{settings:r(t),templateType:c(),page:a(),deviceType:o()}}),[t]),r=n.settings,c=n.templateType,o=n.page,i=n.deviceType,l=Object(_e.useEntityBlockEditor)("postType",c),s=Object(ye.a)(l,3),u=s[0],p=s[1],b=s[2],m=Object(w.useDispatch)("core/edit-site").setPage,f=Object(Ee.__experimentalUseResizeCanvas)(i,!0),O=Object(a.useRef)(),j=Object(a.useRef)();Object(Ee.__unstableUseMouseMoveTypingReset)(O);var v=Object(Ee.__unstableUseEditorStyles)(r.styles);return Object(a.createElement)(Ee.BlockEditorProvider,{settings:r,value:u,onInput:p,onChange:b,useSubRegistry:!1},Object(a.createElement)(Ee.BlockEditorKeyboardShortcuts,null),Object(a.createElement)(Yt,null),Object(a.createElement)(Ee.__experimentalLinkControl.ViewerFill,null,Object(a.useCallback)((function(e){return Object(a.createElement)(Kt,Object(ge.a)({},e,{activePage:o,onActivePageChange:m}))}),[o])),Object(a.createElement)(zt,null,Object(a.createElement)(Ee.BlockInspector,null)),Object(a.createElement)("div",{ref:v,className:"edit-site-visual-editor",onWheel:function(e){var t=e.deltaX,n=e.deltaY;j.current.scrollBy(t,n)}},Object(a.createElement)(d.Popover.Slot,{name:"block-toolbar"}),Object(a.createElement)(Ee.__unstableIframe,{style:f,head:window.__editorStyles.html,ref:O,contentRef:j},Object(a.createElement)(Qt,{body:j,styles:r.styles}))))}var Jt=n(44);function Zt(){var e=Object(w.useDispatch)("core"),t=e.redo,n=e.undo;return Object(Jt.useShortcut)("core/edit-site/undo",(function(e){n(),e.preventDefault()}),{bindGlobal:!0}),Object(Jt.useShortcut)("core/edit-site/redo",(function(e){t(),e.preventDefault()}),{bindGlobal:!0}),null}Zt.Register=function(){var e=Object(w.useDispatch)(Jt.store).registerShortcut;return Object(a.useEffect)((function(){e({name:"core/edit-site/undo",category:"global",description:Object(s.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-site/redo",category:"global",description:Object(s.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})}),[e]),null};var $t=Zt,en=function(e,t){var n;return"taxonomy"===e?t.name:null==t||null===(n=t.title)||void 0===n?void 0:n.rendered};function tn(e){var t=e.kind,n=e.name,r=e.query,c=void 0===r?{}:r,o=Object(w.useSelect)((function(e){return e("core").getEntityRecords(t,n,c)}),[t,n,c]),i=Object(w.useDispatch)("core/edit-site").setPage;return o?o.map((function(e){var n="content-".concat(Object(l.getPathAndQueryString)(e.link));return Object(a.createElement)(d.__experimentalNavigationItem,{key:n,item:n,title:en(t,e),onClick:function(){return n=(t=e).type,r=t.slug,c=t.link,a=t.id,void i({type:n,slug:r,path:Object(l.getPathAndQueryString)(c),context:{postType:n,postId:a}});var t,n,r,c,a}})})):null}function nn(){return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"content-pages",title:Object(s.__)("Pages"),parentMenu:"root"},Object(a.createElement)(tn,{kind:"postType",name:"page"}))}function rn(){return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"content-categories",title:Object(s.__)("Categories"),parentMenu:"root"},Object(a.createElement)(tn,{kind:"taxonomy",name:"category"}))}function cn(){var e=Object(w.useSelect)((function(e){return e("core").getEditedEntityRecord("root","site").show_on_front}),[]),t=Object(w.useDispatch)("core/edit-site").setPage;return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"content-posts",title:Object(s.__)("Posts"),parentMenu:"root"},"posts"===e&&Object(a.createElement)(d.__experimentalNavigationItem,{item:"content-/",title:Object(s.__)("All Posts"),onClick:function(){t({type:"page",path:"/",context:{query:{categoryIds:[]},queryContext:{page:1}}})}}),Object(a.createElement)(tn,{kind:"postType",name:"post"}))}function an(e){var t=e.onActivateMenu,n=Object(a.useState)("root"),r=Object(ye.a)(n,2),c=r[0],o=r[1],i=Object(w.useSelect)((function(e){return e("core/edit-site").getPage()}),[]);return Object(a.createElement)(d.__experimentalNavigation,{activeItem:i&&"content-".concat(i.path),activeMenu:c,onActivateMenu:function(e){o(e),t(e)}},Object(a.createElement)(d.__experimentalNavigationMenu,{title:Object(s.__)("Content")},Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Pages"),navigateToMenu:"content-pages"}),Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Categories"),navigateToMenu:"content-categories"}),Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Posts"),navigateToMenu:"content-posts"})),Object(a.createElement)(nn,null),Object(a.createElement)(rn,null),Object(a.createElement)(cn,null))}function on(e){var t=e.rawContent,n=Object(a.useMemo)((function(){return t?Object(He.parse)(t):[]}),[t]);return n&&0!==n.length?Object(a.createElement)("div",{className:"edit-site-navigation-panel__preview"},Object(a.createElement)(Ee.BlockPreview,{blocks:n,viewportWidth:1200})):null}function ln(e){var t=e.item,n=Object(w.useSelect)((function(e){var n;return"wp_template"===t.type?e("core/editor").__experimentalGetTemplateInfo(t):{title:(null==t||null===(n=t.title)||void 0===n?void 0:n.rendered)||(null==t?void 0:t.slug),description:""}}),[]),r=n.title,c=n.description,o=Object(w.useDispatch)("core/edit-site"),i=o.setTemplate,l=o.setTemplatePart,u=Object(a.useState)(!1),p=Object(ye.a)(u,2),b=p[0],m=p[1];return t?Object(a.createElement)(d.__experimentalNavigationItem,{className:"edit-site-navigation-panel__template-item",item:"".concat(t.type,"-").concat(t.id),title:r},Object(a.createElement)(d.Button,{onClick:function(){return"wp_template"===t.type?i(t.id,t.slug):l(t.id)},onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},Object(a.createElement)("div",{className:"edit-site-navigation-panel__template-item-title"},"draft"===t.status&&Object(a.createElement)("em",null,Object(s.__)("[Draft]")),r),c&&Object(a.createElement)("div",{className:"edit-site-navigation-panel__template-item-description"},c)),b&&Object(a.createElement)(Mn,null,Object(a.createElement)(on,{rawContent:t.content.raw}))):null}function sn(e){var t,n=e.templates,r=null==n?void 0:n.find((function(e){return"page"===e.slug})),c=null!==(t=null==n?void 0:n.filter((function(e){return e.slug.startsWith("page-")})))&&void 0!==t?t:[];return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates-pages",title:Object(s.__)("Pages"),parentMenu:"templates",isEmpty:!r&&0===c.length},Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("Specific","specific templates")},Object(j.map)(c,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))),r&&Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("General","general templates")},Object(a.createElement)(ln,{item:r})))}function un(e){var t,n,r=e.templates,c=null!==(t=null==r?void 0:r.filter((function(e){var t=e.slug;return k.includes(t)})))&&void 0!==t?t:[],o=null!==(n=null==r?void 0:r.filter((function(e){return e.slug.startsWith("post-")})))&&void 0!==n?n:[];return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates-posts",title:Object(s.__)("Posts"),parentMenu:"templates",isEmpty:0===c.length&&0===o.length},Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("Specific","specific templates")},Object(j.map)(o,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))),Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("General","general templates")},Object(j.map)(c,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))))}function pn(e){var t=e.templates;return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates-all",title:Object(s.__)("All Templates"),parentMenu:"templates"},Object(j.map)(t,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})})))}var bn=n(143);function dn(){var e=Object(w.useSelect)((function(e){var t=e("core/editor").__experimentalGetDefaultTemplateTypes,n=e("core").getEntityRecords("postType","wp_template");return{defaultTemplateTypes:t(),templates:n}}),[]),t=e.defaultTemplateTypes,n=e.templates,r=Object(w.useDispatch)("core/edit-site").addTemplate,c=Object(j.map)(n,"slug"),o=Object(j.filter)(t,(function(e){return Object(j.includes)(N,e.slug)&&!Object(j.includes)(c,e.slug)}));return o.length?Object(a.createElement)(d.DropdownMenu,{className:"edit-site-navigation-panel__new-template-dropdown",icon:null,label:Object(s.__)("Add Template"),popoverProps:{noArrow:!1},toggleProps:{children:Object(a.createElement)(bn.a,{icon:ke.a}),isSmall:!0,isTertiary:!0}},(function(e){var c=e.onClose;return Object(a.createElement)(d.NavigableMenu,{className:"edit-site-navigation-panel__new-template-popover"},Object(a.createElement)(d.MenuGroup,{label:Object(s.__)("Add Template")},Object(j.map)(o,(function(e){var o=e.title,i=e.description,l=e.slug;return Object(a.createElement)(d.MenuItem,{info:i,key:l,onClick:function(){(function(e){var c=function e(t,n){var r=Object(j.find)(n,{slug:t});if(r)return r;switch(t){case"single":case"page":return e("singular",n);case"author":case"category":case"taxonomy":case"date":case"tag":return e("archive",n);case"front-page":return e("home",n);case"attachment":return e("single",n);case"privacy-policy":return e("page",n)}return Object(j.find)(n,{slug:"index"})}(e,n),a=Object(j.find)(t,{slug:e}),o=a.title,i=a.description;r({content:c.content.raw,excerpt:i,slug:e.toString(),status:"draft",title:o})})(l),c()}},o)}))))})):null}var mn=function(e){return Object(j.deburr)(e).replace(/^\//,"").toLowerCase()},fn=function(e,t){return-1!==mn(e).indexOf(mn(t))};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 jn(e){var t=e.items,n=e.search,r=(null==t?void 0:t.length)>0?t[0].type:null,c=Object(w.useSelect)((function(e){if("wp_template"===r){var n=e("core/editor").__experimentalGetTemplateInfo;return t.map((function(e){return function(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(P.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}({slug:e.slug},n(e))}))}return t.map((function(e){var t,n;return{slug:e.slug,title:null===(t=e.title)||void 0===t?void 0:t.rendered,description:null===(n=e.excerpt)||void 0===n?void 0:n.rendered}}))}),[t,r]),o=Object(a.useMemo)((function(){return null===t||0===n.length?[]:t.filter((function(e){var t=e.slug,r=c.find((function(e){return e.slug===t})),a=r.title,o=r.description;return fn(t,n)||fn(a,n)||fn(o,n)}))}),[t,c,n]);return Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s.__)("Search results")},Object(j.map)(o,(function(e){return Object(a.createElement)(ln,{item:e,key:"".concat(e.type,"-").concat(e.id)})})))}function vn(){var e=Object(a.useState)(""),t=Object(ye.a)(e,2),n=t[0],r=t[1],c=Object(a.useCallback)((function(e){r(e)})),o=Object(w.useSelect)((function(e){return e("core").getEntityRecords("postType","wp_template")}),[]),i=null==o?void 0:o.filter((function(e){var t=e.slug;return T.includes(t)}));return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates",title:Object(s.__)("Templates"),titleAction:Object(a.createElement)(dn,null),parentMenu:"root",hasSearch:!0,onSearch:c,search:n},n&&Object(a.createElement)(jn,{items:o,search:n}),!n&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(d.__experimentalNavigationItem,{navigateToMenu:"templates-all",title:Object(s._x)("All","all templates")}),Object(a.createElement)(d.__experimentalNavigationItem,{navigateToMenu:"templates-pages",title:Object(s.__)("Pages"),hideIfTargetMenuEmpty:!0}),Object(a.createElement)(d.__experimentalNavigationItem,{navigateToMenu:"templates-posts",title:Object(s.__)("Posts"),hideIfTargetMenuEmpty:!0}),Object(j.map)(i,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))),!n&&null===o&&Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Loading…"),isText:!0}),Object(a.createElement)(un,{templates:o}),Object(a.createElement)(sn,{templates:o}),Object(a.createElement)(pn,{templates:o}))}function gn(){var e=Object(a.useState)(""),t=Object(ye.a)(e,2),n=t[0],r=t[1],c=Object(a.useCallback)((function(e){r(e)})),o=Object(w.useSelect)((function(e){return e("core").getEntityRecords("postType","wp_template_part")||[]}),[]);return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"template-parts",title:Object(s.__)("Template Parts"),parentMenu:"root",hasSearch:!0,onSearch:c,search:n},n&&Object(a.createElement)(jn,{items:o,search:n}),!n&&Object(j.map)(o,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template_part-".concat(e.id)})})),!n&&null===o&&Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Loading…"),isText:!0}))}var yn="__experimentalMainDashboardButton",En=Object(d.createSlotFill)(yn),hn=En.Fill,wn=En.Slot,Sn=hn;Sn.Slot=function(e){var t=e.children,n=Object(d.__experimentalUseSlot)(yn);return Boolean(n.fills&&n.fills.length)?Object(a.createElement)(wn,{bubblesVirtually:!0}):t};var Pn=Sn;function xn(){var e=Object(w.useSelect)((function(e){var t=e("core/edit-site"),n=t.getEditedPostType,r=t.getEditedPostId,c=t.getNavigationPanelActiveMenu;return{postId:r(),postType:n(),activeMenu:c()}}),[]),t=e.postId,n=e.postType,r=e.activeMenu,c=Object(w.useDispatch)("core/edit-site").setNavigationPanelActiveMenu;return Object(a.createElement)(d.__experimentalNavigation,{activeItem:"".concat(n,"-").concat(t),activeMenu:r,onActivateMenu:c},"root"===r&&Object(a.createElement)(Pn.Slot,null,Object(a.createElement)(d.__experimentalNavigationBackButton,{backButtonLabel:Object(s.__)("Dashboard"),className:"edit-site-navigation-panel__back-to-dashboard",href:"index.php"})),Object(a.createElement)(d.__experimentalNavigationMenu,{title:Object(s.__)("Theme")},Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Templates"),navigateToMenu:"templates"}),Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Template Parts"),navigateToMenu:"template-parts"}),Object(a.createElement)(vn,null),Object(a.createElement)(gn,null)))}var Tn=function(e){var t=e.isOpen,n=Object(a.useState)("root"),r=Object(ye.a)(n,2),c=r[0],o=r[1],i=Object(w.useSelect)((function(e){var t=e("core/edit-site").getNavigationPanelActiveMenu,n=(0,e("core").getEntityRecord)("root","__unstableBase",void 0)||{};return{templatesActiveMenu:t(),siteTitle:n.name}}),[]),l=i.templatesActiveMenu,s=i.siteTitle,u=Object(a.useRef)();return Object(a.useEffect)((function(){t&&u.current.focus()}),[l]),Object(a.createElement)("div",{className:We()("edit-site-navigation-panel",{"is-open":t}),ref:u,tabIndex:"-1"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__inner"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__site-title-container"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__site-title"},s)),Object(a.createElement)("div",{className:"edit-site-navigation-panel__scroll-container"},("root"===c||"root"!==l)&&Object(a.createElement)(xn,null),("root"===l||"root"!==c)&&Object(a.createElement)(an,{onActivateMenu:o}))))},kn=n(498),Nn=function(e){var t=e.icon,n=e.isOpen,r=Object(w.useSelect)((function(e){var t=e("core/edit-site").isFeatureActive,n=e("core").getEntityRecord,r=e("core/data").isResolving,c=n("root","__unstableBase",void 0)||{};return{isActive:t("fullscreenMode"),isRequestingSiteIcon:r("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:c.site_icon_url}}),[]),c=r.isActive,o=r.isRequestingSiteIcon,i=r.siteIconUrl,l=Object(w.useDispatch)("core/edit-site").setIsNavigationPanelOpened;if(!c)return null;var u=Object(a.createElement)(d.Icon,{size:"36px",icon:kn.a});return i?u=Object(a.createElement)("img",{alt:Object(s.__)("Site Icon"),className:"edit-site-navigation-toggle__site-icon",src:i}):o?u=null:t&&(u=Object(a.createElement)(d.Icon,{size:"36px",icon:t})),Object(a.createElement)("div",{className:"edit-site-navigation-toggle"+(n?" is-open":"")},Object(a.createElement)(d.Button,{className:"edit-site-navigation-toggle__button has-icon",label:Object(s.__)("Toggle navigation"),onClick:function(){return l(!n)},showTooltip:!0},u))},In=Object(d.createSlotFill)("EditSiteNavigationPanelPreview"),Mn=In.Fill,An=In.Slot;function Cn(){var e=Object(w.useSelect)((function(e){return e("core/edit-site").isNavigationOpened()}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Nn,{isOpen:e}),Object(a.createElement)(Tn,{isOpen:e}),Object(a.createElement)(An,null))}function Dn(){var e=Object(w.useDispatch)("core/edit-site"),t=e.setTemplate,n=e.setTemplatePart,r=e.showHomepage,c=e.setPage;Object(a.useEffect)((function(){var e=window.location.href,a=Object(l.getQueryArg)(e,"postId");if(a){var o=Object(l.getQueryArg)(e,"postType");"page"===o||"post"===o?c({context:{postType:o,postId:a}}):"wp_template"===o?t(a):"wp_template_part"===o?n(a):r()}else r()}),[]);var o=Object(w.useSelect)((function(e){var t,n,r=e("core/edit-site"),c=r.getEditedPostType,a=r.getEditedPostId,o=(0,r.getPage)(),i=a(),l=c();return null!=o&&null!==(t=o.context)&&void 0!==t&&t.postId&&null!=o&&null!==(n=o.context)&&void 0!==n&&n.postType&&(i=o.context.postId,l=o.context.postType),i&&l?{postId:i,postType:l}:null}));return Object(a.useEffect)((function(){var e=o?Object(l.addQueryArgs)(window.location.href,o):Object(l.removeQueryArgs)(window.location.href,"postType","postId");window.history.replaceState({},"",e)}),[o]),null}function Bn(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 Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rn={secondarySidebar:Object(s.__)("Block Library"),drawer:Object(s.__)("Navigation Sidebar")},Fn=function(){var e=Object(w.useSelect)((function(e){var t=e("core/edit-site"),n=t.isFeatureActive,r=t.isInserterOpened,c=t.getSettings,a=t.getEditedPostType,o=t.getEditedPostId,i=t.getPage,l=t.isNavigationOpened,s=a(),u=o();return{isInserterOpen:r(),isFullscreenActive:n("fullscreenMode"),sidebarIsOpened:!!e(he.g).getActiveComplementaryArea("core/edit-site"),settings:c(),templateType:s,page:i(),template:u?e("core").getEntityRecord("postType",s,u):null,entityId:u,isNavigationOpen:l()}}),[]),t=e.isFullscreenActive,n=e.isInserterOpen,r=e.sidebarIsOpened,c=e.settings,o=e.entityId,i=e.templateType,l=e.page,u=e.template,p=e.isNavigationOpen,b=Object(w.useDispatch)("core/editor").updateEditorSettings,f=Object(w.useDispatch)("core/edit-site"),O=f.setPage,j=f.setIsInserterOpened,v=c.defaultTemplateTypes;Object(a.useEffect)((function(){b({defaultTemplateTypes:v})}),[v]);var g=Object(a.useState)(!1),y=Object(ye.a)(g,2),_=y[0],E=y[1],h=Object(a.useCallback)((function(){return E(!0)}),[]),S=Object(a.useCallback)((function(){E(!1)}),[]),P=Object(a.useMemo)((function(){return Ln(Ln({},null==l?void 0:l.context),{},{queryContext:[(null==l?void 0:l.context.queryContext)||{page:1},function(e){return O(Ln(Ln({},l),{},{context:Ln(Ln({},null==l?void 0:l.context),{},{queryContext:Ln(Ln({},null==l?void 0:l.context.queryContext),e)})}))}]})}),[null==l?void 0:l.context]);Object(a.useEffect)((function(){p?document.body.classList.add("is-navigation-sidebar-open"):document.body.classList.remove("is-navigation-sidebar-open")}),[p]);var x=Object(Pe.useViewportMatch)("medium","<"),T=Object(Pe.__experimentalUseDialog)({onClose:function(){return j(!1)}}),k=Object(ye.a)(T,2),N=k[0],I=k[1];return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Dn,null),Object(a.createElement)(he.d,{isActive:t}),Object(a.createElement)(we.UnsavedChangesWarning,null),Object(a.createElement)(d.SlotFillProvider,null,Object(a.createElement)(d.DropZoneProvider,null,Object(a.createElement)(_e.EntityProvider,{kind:"root",type:"site"},Object(a.createElement)(_e.EntityProvider,{kind:"postType",type:i,id:o},Object(a.createElement)(_e.EntityProvider,{kind:"postType",type:"wp_global_styles",id:c.__experimentalGlobalStylesUserEntityId},Object(a.createElement)(Ee.BlockContextProvider,{value:P},Object(a.createElement)(wt,{baseStyles:c.__experimentalGlobalStylesBaseStyles},Object(a.createElement)($t.Register,null),Object(a.createElement)(Ut,null),Object(a.createElement)(he.e,{labels:Rn,drawer:Object(a.createElement)(Cn,null),secondarySidebar:n?Object(a.createElement)("div",Object(ge.a)({ref:N},I,{className:"edit-site-editor__inserter-panel"}),Object(a.createElement)("div",{className:"edit-site-editor__inserter-panel-header"},Object(a.createElement)(d.Button,{icon:Se.a,onClick:function(){return j(!1)}})),Object(a.createElement)("div",{className:"edit-site-editor__inserter-panel-content"},Object(a.createElement)(Ee.__experimentalLibrary,{showInserterHelpPanel:!0,onSelect:function(){x&&j(!1)}}))):null,sidebar:r&&Object(a.createElement)(he.b.Slot,{scope:"core/edit-site"}),header:Object(a.createElement)(Qe,{openEntitiesSavedStates:h}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Te,null),u&&Object(a.createElement)(Xt,{setIsInserterOpen:j}),Object(a.createElement)($t,null)),actions:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(we.EntitiesSavedStates,{isOpen:_,close:S}),!_&&Object(a.createElement)("div",{className:"edit-site-editor__toggle-save-panel"},Object(a.createElement)(d.Button,{isSecondary:!0,className:"edit-site-editor__toggle-save-panel-button",onClick:h,"aria-expanded":!1},Object(s.__)("Open save panel")))),footer:Object(a.createElement)(Ee.BlockBreadcrumb,null)}),Object(a.createElement)(d.Popover.Slot,null),Object(a.createElement)(m.PluginArea,null)))))))))},Gn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.perPage,r=void 0===n?20:n;return i()({path:Object(l.addQueryArgs)("/wp/v2/search",{per_page:r,search:e,type:"post",subtype:"post"})}).then((function(e){return Promise.all(e.map((function(e){return i()({url:e._links.self[0].href})})))})).then((function(e){return e.map((function(e){return{url:e.link,type:e.type,id:e.id,slug:e.slug,title:e.title.rendered||Object(s.__)("(no title)")}}))}))};function Vn(e,t){var n;t.__experimentalFetchLinkSuggestions=Gn,t.__experimentalSpotlightEntityBlocks=["core/template-part"],n={settings:t},Object(w.registerStore)("core/edit-site",{reducer:C,actions:r,selectors:c,controls:S.controls,persist:["preferences"],initialState:n}),Object(u.registerCoreBlocks)(),Object(u.__experimentalRegisterExperimentalCoreBlocks)(!0),Object(a.render)(Object(a.createElement)(Fn,null),document.getElementById(e))}},53:function(e,t,n){"use strict";n.d(t,"g",(function(){return y})),n.d(t,"b",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"d",(function(){return $})),n.d(t,"e",(function(){return re})),n.d(t,"f",(function(){return R})),n.d(t,"a",(function(){return Y}));var r={};n.r(r),n.d(r,"enableComplementaryArea",(function(){return d})),n.d(r,"disableComplementaryArea",(function(){return m})),n.d(r,"pinItem",(function(){return O})),n.d(r,"unpinItem",(function(){return j}));var c={};n.r(c),n.d(c,"getActiveComplementaryArea",(function(){return v})),n.d(c,"isItemPinned",(function(){return g}));var a=n(4),o=n(5),i=n(2);function l(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?l(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=Object(a.combineReducers)({singleEnableItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.itemType,c=t.scope,a=t.item;return"SET_SINGLE_ENABLE_ITEM"===n&&r&&c?s(s({},e),{},Object(o.a)({},r,s(s({},e[r]),{},Object(o.a)({},c,a||null)))):e},multipleEnableItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.itemType,c=t.scope,a=t.item,l=t.isEnable;if("SET_MULTIPLE_ENABLE_ITEM"!==n||!r||!c||!a||Object(i.get)(e,[r,c,a])===l)return e;var u=e[r]||{},p=u[c]||{};return s(s({},e),{},Object(o.a)({},r,s(s({},u),{},Object(o.a)({},c,s(s({},p),{},Object(o.a)({},a,l||!1))))))}}),p=Object(a.combineReducers)({enableItems:u});function b(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function d(e,t){return b("complementaryArea",e,t)}function m(e){return b("complementaryArea",e,void 0)}function f(e,t,n,r){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:r}}function O(e,t){return f("pinnedItems",e,t,!0)}function j(e,t){return f("pinnedItems",e,t,!1)}function v(e,t){return function(e,t,n){return Object(i.get)(e.enableItems.singleEnableItems,["complementaryArea",n])}(e,0,t)}function g(e,t,n){return!1!==function(e,t,n,r){return Object(i.get)(e.enableItems.multipleEnableItems,["pinnedItems",n,r])}(e,0,t,n)}var y=Object(a.createReduxStore)("core/interface",{reducer:p,actions:r,selectors:c,persist:["enableItems"]});Object(a.registerStore)("core/interface",{reducer:p,actions:r,selectors:c,persist:["enableItems"]});var _=n(10),E=n(13),h=n(0),w=n(12),S=n.n(w),P=n(3),x=n(1),T=n(146),k=n(212),N=n(213),I=n(80),M=n(144),A=n(63),C=Object(A.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,identifier:t.identifier||"".concat(e.name,"/").concat(t.name)}})),D=C((function(e){var t=e.as,n=void 0===t?P.Button:t,r=e.scope,c=e.identifier,o=e.icon,l=e.selectedIcon,s=Object(E.a)(e,["as","scope","identifier","icon","selectedIcon"]),u=n,p=Object(a.useSelect)((function(e){return e(y).getActiveComplementaryArea(r)===c}),[c]),b=Object(a.useDispatch)(y),d=b.enableComplementaryArea,m=b.disableComplementaryArea;return Object(h.createElement)(u,Object(_.a)({icon:l&&p?l:o,onClick:function(){p?m(r):d(r,c)}},Object(i.omit)(s,["name"])))})),B=function(e){var t=e.smallScreenTitle,n=e.children,r=e.className,c=e.toggleButtonProps,a=Object(h.createElement)(D,Object(_.a)({icon:M.a},c));return Object(h.createElement)(h.Fragment,null,Object(h.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&Object(h.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),a),Object(h.createElement)("div",{className:S()("components-panel__header","interface-complementary-area-header",r),tabIndex:-1},n,a))};function L(e){var t=e.scope,n=Object(E.a)(e,["scope"]);return Object(h.createElement)(P.Fill,Object(_.a)({name:"PinnedItems/".concat(t)},n))}L.Slot=function(e){var t=e.scope,n=e.className,r=Object(E.a)(e,["scope","className"]);return Object(h.createElement)(P.Slot,Object(_.a)({name:"PinnedItems/".concat(t)},r),(function(e){return!Object(i.isEmpty)(e)&&Object(h.createElement)("div",{className:S()(n,"interface-pinned-items")},e)}))};var R=L;function F(e){var t=e.scope,n=e.children,r=e.className;return Object(h.createElement)(P.Fill,{name:"ComplementaryArea/".concat(t)},Object(h.createElement)("div",{className:r},n))}var G=C((function(e){var t=e.children,n=e.className,r=e.closeLabel,c=void 0===r?Object(x.__)("Close plugin"):r,o=e.identifier,i=e.header,l=e.headerClassName,s=e.icon,u=e.isPinnable,p=void 0===u||u,b=e.panelClassName,d=e.scope,m=e.smallScreenTitle,f=e.title,O=e.toggleShortcut,j=e.isActiveByDefault,v=e.showIconLabels,g=void 0!==v&&v,_=Object(a.useSelect)((function(e){var t=e(y),n=t.getActiveComplementaryArea,r=t.isItemPinned,c=n(d);return{isActive:c===o,isPinned:r(d,o),activeArea:c,isSmall:e(I.store).isViewportMatch("< medium"),isLarge:e(I.store).isViewportMatch("large")}}),[o,d]),E=_.isActive,w=_.isPinned,M=_.activeArea,A=_.isSmall,C=_.isLarge;!function(e,t,n,r,c){var o=Object(h.useRef)(!1),i=Object(h.useRef)(!1),l=Object(a.useDispatch)(y),s=l.enableComplementaryArea,u=l.disableComplementaryArea;Object(h.useEffect)((function(){r&&c&&!o.current?(u(e),i.current=!0):i.current&&!c&&o.current?(i.current=!1,s(e,t)):i.current&&n&&n!==t&&(i.current=!1),c!==o.current&&(o.current=c)}),[r,c,e,t,n])}(d,o,M,E,A);var L=Object(a.useDispatch)(y),G=L.enableComplementaryArea,V=L.disableComplementaryArea,z=L.pinItem,U=L.unpinItem;return Object(h.useEffect)((function(){j&&void 0===M&&!A&&G(d,o)}),[M,j,d,o,A]),Object(h.createElement)(h.Fragment,null,w&&p&&Object(h.createElement)(R,{scope:d},Object(h.createElement)(D,{scope:d,identifier:o,isPressed:E&&(!g||C),"aria-expanded":E,label:f,icon:g?T.a:s,showTooltip:!g,isTertiary:g})),E&&Object(h.createElement)(F,{className:S()("interface-complementary-area",n),scope:d},Object(h.createElement)(B,{className:l,closeLabel:c,onClose:function(){return V(d)},smallScreenTitle:m,toggleButtonProps:{label:c,shortcut:O,scope:d,identifier:o}},i||Object(h.createElement)(h.Fragment,null,Object(h.createElement)("strong",null,f),p&&Object(h.createElement)(P.Button,{className:"interface-complementary-area__pin-unpin-item",icon:w?k.a:N.a,label:w?Object(x.__)("Unpin from toolbar"):Object(x.__)("Pin to toolbar"),onClick:function(){return(w?U:z)(d,o)},isPressed:w,"aria-expanded":w}))),Object(h.createElement)(P.Panel,{className:b},t)))}));G.Slot=function(e){var t=e.scope,n=Object(E.a)(e,["scope"]);return Object(h.createElement)(P.Slot,Object(_.a)({name:"ComplementaryArea/".concat(t)},n))};var V=G,z=n(9);function U(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 W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e){var t=e.name,n=e.as,r=e.onClick,c=Object(E.a)(e,["name","as","onClick"]);return Object(h.createElement)(P.Fill,{name:t},(function(e){var t=e.onClick,a=e.as,o=n||a||P.Button;return Object(h.createElement)(o,Object(_.a)({onClick:r||t?function(){(r||i.noop).apply(void 0,arguments),(t||i.noop).apply(void 0,arguments)}:void 0},c))}))}H.Slot=function(e){var t=e.name,n=e.as,r=void 0===n?[P.ButtonGroup,P.Button]:n,c=e.fillProps,a=void 0===c?{}:c,o=e.bubblesVirtually,l=Object(E.a)(e,["name","as","fillProps","bubblesVirtually"]),s=Object(z.a)(r,2),u=s[0],p=s[1];return Object(h.createElement)(P.Slot,{name:t,bubblesVirtually:o,fillProps:W({as:p},a)},(function(e){return!Object(i.isEmpty)(e)&&Object(h.createElement)(u,l,e)}))};var Y=H;function q(e){var t=e.scope,n=e.target,r=Object(E.a)(e,["scope","target"]);return Object(h.createElement)(D,Object(_.a)({as:function(e){return Object(h.createElement)(Y,Object(_.a)({name:"".concat(t,"/plugin-more-menu")},e))},role:"menuitemcheckbox",selectedIcon:T.a,name:n,scope:t},r))}var K=n(27),Q=n(28),X=n(30),J=n(32),Z=n(22);var $=function(e){Object(X.a)(c,e);var t,n,r=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Z.a)(t);if(n){var c=Object(Z.a)(this).constructor;e=Reflect.construct(r,arguments,c)}else e=r.apply(this,arguments);return Object(J.a)(this,e)});function c(){return Object(K.a)(this,c),r.apply(this,arguments)}return Object(Q.a)(c,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu"),this.props.isActive&&document.body.classList.remove("is-fullscreen-mode")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),c}(h.Component),ee=n(73);function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=Object(h.forwardRef)((function(e,t){var n=e.footer,r=e.header,c=e.sidebar,a=e.secondarySidebar,o=e.content,i=e.drawer,l=e.actions,s=e.labels,u=e.className,p=e.shortcuts,b=Object(h.useRef)(),d=Object(P.__unstableUseNavigateRegions)(b,p);!function(e){Object(h.useEffect)((function(){var t=document&&document.querySelector("html:not(.".concat(e,")"));if(t)return t.classList.toggle(e),function(){t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");var m=ne(ne({},{
10
  /* translators: accessibility text for the nav bar landmark region. */
11
  drawer:Object(x.__)("Drawer"),
12
  /* translators: accessibility text for the top bar landmark region. */
6
  /* translators: %s: Name of the template. */
7
  Object(s.__)("Name: %s"),c)),o&&Object(a.createElement)(d.__experimentalText,{variant:"body"},Object(s.sprintf)(
8
  /* translators: %s: Description of the template. */
9
+ Object(s.__)("Description: %s"),o))),Object(a.createElement)(d.Button,{className:"edit-site-template-details__show-all-button",onClick:function(){n(),i("templates")},"aria-label":Object(s.__)("Browse all templates. This will open the template menu in the navigation side panel.")},Object(s.__)("Browse all templates"))):null}function Qe(e){var t=e.openEntitiesSavedStates,n=Object(w.useSelect)((function(e){var t=e("core/edit-site"),n=t.__experimentalGetPreviewDeviceType,r=t.isFeatureActive,c=t.getEditedPostType,a=t.getEditedPostId,o=t.isInserterOpened,i=e("core").getEntityRecord,l=e("core/editor").__experimentalGetTemplateInfo,s=c(),u=i("postType",s,a()),p="wp_template"===s?l(u).title:null==u?void 0:u.slug;return{deviceType:n(),entityTitle:p,hasFixedToolbar:r("fixedToolbar"),template:u,templateType:s,isInserterOpen:o()}}),[]),r=n.deviceType,c=n.entityTitle,o=n.hasFixedToolbar,i=n.template,l=n.templateType,u=n.isInserterOpen,p=Object(w.useDispatch)("core/edit-site"),b=p.__experimentalSetPreviewDeviceType,m=p.setIsInserterOpened,f=Object(Pe.useViewportMatch)("medium"),O=!f||"Desktop"!==r||o;return Object(a.createElement)("div",{className:"edit-site-header"},Object(a.createElement)("div",{className:"edit-site-header_start"},Object(a.createElement)("div",{className:"edit-site-header__toolbar"},Object(a.createElement)(d.Button,{isPrimary:!0,isPressed:u,className:"edit-site-header-toolbar__inserter-toggle",onClick:function(){return m(!u)},icon:ke.a,label:Object(s._x)("Add block","Generic label for block inserter button")}),f&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ee.ToolSelector,null),Object(a.createElement)(Ge,null),Object(a.createElement)(ze,null),Object(a.createElement)(Ee.BlockNavigationDropdown,null)),O&&Object(a.createElement)("div",{className:"edit-site-header-toolbar__block-toolbar"},Object(a.createElement)(Ee.BlockToolbar,{hideDragHandle:!0})))),Object(a.createElement)("div",{className:"edit-site-header_center"},"wp_template"===l&&Object(a.createElement)(qe,{entityTitle:c,entityLabel:"template"},(function(e){var t=e.onClose;return Object(a.createElement)(Ke,{template:i,onClose:t})})),"wp_template_part"===l&&Object(a.createElement)(qe,{entityTitle:c,entityLabel:"template part"})),Object(a.createElement)("div",{className:"edit-site-header_end"},Object(a.createElement)("div",{className:"edit-site-header__actions"},Object(a.createElement)(Ee.__experimentalPreviewOptions,{deviceType:r,setDeviceType:b}),Object(a.createElement)(Le,{openEntitiesSavedStates:t}),Object(a.createElement)(he.f.Slot,{scope:"core/edit-site"}),Object(a.createElement)(Be,null))))}var Xe=n(239),Je=Object(a.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(a.createElement)(f.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"}));function Ze(e){var t=e.className,n=e.identifier,r=e.title,c=e.icon,o=e.children,i=e.closeLabel,l=e.header;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(he.b,{className:t,scope:"core/edit-site",identifier:n,title:r,icon:c,closeLabel:i,header:l},o),Object(a.createElement)(he.c,{scope:"core/edit-site",identifier:n,icon:c},r))}var $e=n(43),et=n(15),tt=n(99),nt="defaults",rt=["--wp--style--color--link","background","backgroundColor","color","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textDecoration","textTransform"],ct=[{path:["color","palette"],valueKey:"color",cssVarInfix:"color",classes:[{classSuffix:"color",propertyName:"color"},{classSuffix:"background-color",propertyName:"background-color"}]},{path:["color","gradients"],valueKey:"gradient",cssVarInfix:"gradient",classes:[{classSuffix:"gradient-background",propertyName:"background"}]},{path:["typography","fontSizes"],valueKey:"size",cssVarInfix:"font-size",classes:[{classSuffix:"font-size",propertyName:"font-size"}]},{path:["typography","fontFamilies"],valueKey:"fontFamily",cssVarInfix:"font-family",classes:[]}],at={backgroundColor:"color",LINK_COLOR:"color",background:"gradient"};function ot(e){return ot.MAP||(ot.MAP={},ct.forEach((function(e,t){var n=e.cssVarInfix;ot.MAP[Object(j.camelCase)(n)]=ct[t]})),Object(j.forEach)(at,(function(e,t){ot.MAP[t]=ot.MAP[e]}))),ot.MAP[e]}var it="--wp--style--color--link",lt="a { color: var(".concat(it,", #00e); }");function st(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt,r=Object(w.useSelect)((function(e){return e("core/edit-site").getSettings()}));return null!==(t=Object(j.get)(r,"__experimentalFeatures.".concat(n,".").concat(e)))&&void 0!==t?t:Object(j.get)(r,"__experimentalFeatures.".concat(nt,".").concat(e))}function ut(e,t,n){if(!n||!Object(j.isString)(n))return n;var r;if(n.startsWith("var:"))r=n.slice("var:".length).split("|");else{if(!n.startsWith("var(--wp--")||!n.endsWith(")"))return n;r=n.slice("var(--wp--".length,-")".length).split("--")}var c=r,a=Object(tt.a)(c),o=a[0],i=a.slice(1);return"preset"===o?function(e,t,n,r){var c,a=Object(ye.a)(r,2),o=a[0],i=a[1],l=ot(o=Object(j.camelCase)(o));if(!l)return n;var s=null!==(c=Object(j.get)(e,[t].concat(Object(et.a)(l.path))))&&void 0!==c?c:Object(j.get)(e,[nt].concat(Object(et.a)(l.path)));if(!s)return n;var u=Object(j.find)(s,(function(e){return e.slug===i}));return u?ut(e,t,u[l.valueKey]):n}(e,t,n,i):"custom"===o?function(e,t,n,r){var c,a=null!==(c=Object(j.get)(e,[t,"settings","custom"].concat(Object(et.a)(r))))&&void 0!==c?c:Object(j.get)(e,[nt,"settings","custom"].concat(Object(et.a)(r)));return a?ut(e,t,a):n}(e,t,n,i):n}function pt(e){if(Object(j.startsWith)(e,"var:")){var t=e.slice("var:".length).split("|").join("--");return"var(--wp--".concat(t,")")}return e}function bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(j.reduce)(ct,(function(t,n){var r=n.path,c=n.valueKey,a=n.cssVarInfix;return Object(j.get)(e,r,[]).forEach((function(e){t.push("--wp--preset--".concat(a,"--").concat(e.slug,": ").concat(e[c]))})),t}),[])}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(j.reduce)(ct,(function(n,r){var c=r.path,a=r.valueKey,o=r.classes;return o?(o.forEach((function(r){var o=r.classSuffix,i=r.propertyName;Object(j.get)(t,c,[]).forEach((function(t){var r=t.slug,c=t[a],l=".has-".concat(r,"-").concat(o),s="".concat(e).concat(l);n+="".concat(s," {").concat(i,": ").concat(c,";}")}))})),n):n}),"")}function mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[];return Object.keys(e).forEach((function(c){var a=t+Object(j.kebabCase)(c.replace("/","-")),o=e[c];if(o instanceof Object){var i=a+n;r=[].concat(Object(et.a)(r),Object(et.a)(mt(o,i,n)))}else r.push("".concat(a,": ").concat(o))})),r}function ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(j.reduce)(He.__EXPERIMENTAL_STYLE_PROPERTY,(function(n,r,c){var a=r.value,o=r.properties;if(!e.includes(c))return n;if(o)o.forEach((function(e){var r=c.startsWith("--")?c:Object(j.kebabCase)("".concat(c).concat(Object(j.capitalize)(e)));n.push("".concat(r,": ").concat(pt(Object(j.get)(t,[].concat(Object(et.a)(a),[e])))))}));else if(Object(j.get)(t,a,!1)){var i=c.startsWith("--")?c:Object(j.kebabCase)(c);n.push("".concat(i,": ").concat(pt(Object(j.get)(t,a))))}return n}),[])}var Ot=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return Object(j.reduce)(e,(function(r,c,a){var o=c.selector;if("all"===n||"cssVariables"===n){var i,l,s,u=[].concat(Object(et.a)(bt(null==t||null===(i=t.settings)||void 0===i?void 0:i[a])),Object(et.a)(mt(null==t||null===(l=t.settings)||void 0===l||null===(s=l[a])||void 0===s?void 0:s.custom,"--wp--custom--","--")));u.length>0&&r.push("".concat(o," { ").concat(u.join(";")," }"))}if("all"===n||"blockStyles"===n){var p,b,d=ft(e[a].supports,null==t||null===(p=t.styles)||void 0===p?void 0:p[a]);d.length>0&&r.push("".concat(o," { ").concat(d.join(";")," }"));var m=dt(o,null==t||null===(b=t.settings)||void 0===b?void 0:b[a]);m&&r.push(m)}return r}),"all"===n||"blockStyles"===n?[lt]:[]).join("")};function jt(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 vt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gt={isGlobalStylesUserThemeJSON:!0},yt=JSON.stringify(gt),_t=Object(a.createContext)({getSetting:function(e,t){},setSetting:function(e,t,n){},getStyle:function(e,t,n){},setStyle:function(e,t,n){},contexts:{}}),Et=function(e,t){if(Array.isArray(t))return t},ht=function(){return Object(_e.useEntityProp)("postType","wp_global_styles","content")};function wt(e){var t=e.children,n=e.baseStyles,r=ht(),c=Object(ye.a)(r,2),o=c[0],i=c[1],l=Object(w.useSelect)((function(e){return{blockTypes:e(He.store).getBlockTypes(),settings:e("core/edit-site").getSettings()}})),s=l.blockTypes,u=l.settings,p=Object(w.useDispatch)("core/edit-site").updateSettings,b=Object(a.useMemo)((function(){return function(e){var t,n=(t={},Object(P.a)(t,"root",{selector:":root",supports:rt}),Object(P.a)(t,nt,{selector:":root",supports:[]}),t);return e.forEach((function(e){var t,r=e.name,c=null==e||null===(t=e.supports)||void 0===t?void 0:t.__experimentalSelector,a=function(e){var t=[];return Object.keys(He.__EXPERIMENTAL_STYLE_PROPERTY).forEach((function(n){Object(j.get)(e,He.__EXPERIMENTAL_STYLE_PROPERTY[n].support,!1)&&t.push(n)})),t}(null==e?void 0:e.supports),o=a.length>0;if(o&&"string"==typeof c)n[r]={selector:c,supports:a,blockName:r};else if(o&&"object"===Object($e.a)(c))Object.keys(c).forEach((function(e){n[e]={selector:c[e].selector,supports:a,blockName:r,title:c[e].title,attributes:c[e].attributes}}));else if(o){var i=r.replace("core/","").replace("/","-");n[r]={selector:".wp-block-"+i,supports:a,blockName:r}}})),n}(s)}),[s]),d=Object(a.useMemo)((function(){var e=o?JSON.parse(o):gt;return e.isGlobalStylesUserThemeJSON||(e=gt),{userStyles:e,mergedStyles:Object(j.mergeWith)({},n,e,Et)}}),[o]),m=d.userStyles,f=d.mergedStyles,O=Object(a.useMemo)((function(){return{contexts:b,getSetting:function(e,t){var n;return Object(j.get)(null==m||null===(n=m.settings)||void 0===n?void 0:n[e],t)},setSetting:function(e,t,n){var r,c=vt({},m),a=null==c||null===(r=c.settings)||void 0===r?void 0:r[e];a||(a={},Object(j.set)(c,["settings",e],a)),Object(j.set)(a,t,n),i(JSON.stringify(c))},getStyle:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"merged",c="user"===r?m:f,a=Object(j.get)(null==c||null===(n=c.styles)||void 0===n?void 0:n[e],He.__EXPERIMENTAL_STYLE_PROPERTY[t].value);return ut(f,e,a)},setStyle:function(e,t,n){var r,c=vt({},m),a=null==c||null===(r=c.styles)||void 0===r?void 0:r[e];a||(a={},Object(j.set)(c,["styles",e],a)),Object(j.set)(a,He.__EXPERIMENTAL_STYLE_PROPERTY[t].value,function(e,t,n,r){var c;if(!r)return r;var a=ot(n);if(!a)return r;var o=a.valueKey,i=a.path,l=a.cssVarInfix,s=null!==(c=Object(j.get)(e,[t].concat(Object(et.a)(i))))&&void 0!==c?c:Object(j.get)(e,[nt].concat(Object(et.a)(i))),u=Object(j.find)(s,(function(e){return e[o]===r}));return u?"var:preset|".concat(l,"|").concat(u.slug):r}(f,e,t,n)),i(JSON.stringify(c))}}}),[o,f]);return Object(a.useEffect)((function(){var e=u.styles.filter((function(e){return!e.isGlobalStyles}));p(vt(vt({},u),{},{styles:[].concat(Object(et.a)(e),[{css:Ot(b,f,"cssVariables"),isGlobalStyles:!0,__experimentalNoWrapper:!0},{css:Ot(b,f,"blockStyles"),isGlobalStyles:!0}]),__experimentalFeatures:f.settings}))}),[b,f]),Object(a.createElement)(_t.Provider,{value:O},t)}function St(e){var t=e.supports;return st("typography.customLineHeight",e.name)&&t.includes("lineHeight")}function Pt(e){var t=e.supports,n=e.name,r=st("typography.customFontStyle",n)&&t.includes("fontStyle"),c=st("typography.customFontWeight",n)&&t.includes("fontWeight");return r||c}function xt(e){var t=e.context,n=t.supports,r=t.name,c=e.getStyle,o=e.setStyle,i=st("typography.fontSizes",r),l=!st("typography.customFontSize",r),u=st("typography.fontFamilies",r),p=st("typography.customFontStyle",r)&&n.includes("fontStyle"),b=st("typography.customFontWeight",r)&&n.includes("fontWeight"),m=St({supports:n,name:r}),f=Pt({supports:n,name:r});return Object(a.createElement)(d.PanelBody,{title:Object(s.__)("Typography"),initialOpen:!0},n.includes("fontFamily")&&Object(a.createElement)(Ee.__experimentalFontFamilyControl,{fontFamilies:u,value:c(r,"fontFamily"),onChange:function(e){return o(r,"fontFamily",e)}}),n.includes("fontSize")&&Object(a.createElement)(d.FontSizePicker,{value:c(r,"fontSize"),onChange:function(e){return o(r,"fontSize",e)},fontSizes:i,disableCustomFontSizes:l}),m&&Object(a.createElement)(Ee.LineHeightControl,{value:c(r,"lineHeight"),onChange:function(e){return o(r,"lineHeight",e)}}),f&&Object(a.createElement)(Ee.__experimentalFontAppearanceControl,{value:{fontStyle:c(r,"fontStyle"),fontWeight:c(r,"fontWeight")},onChange:function(e){var t=e.fontStyle,n=e.fontWeight;o(r,"fontStyle",t),o(r,"fontWeight",n)},hasFontStyles:p,hasFontWeights:b}))}var Tt=[];function kt(e){var t=e.contextName,n=e.getSetting,r=e.setSetting,c=st("color.palette",t),o=n(t,"color.palette"),i=Object(w.useSelect)((function(e){var n,r=e("core/edit-site").getSettings().__experimentalGlobalStylesBaseStyles,c=null!==(n=Object(j.get)(r,[t,"settings","color","palette"]))&&void 0!==n?n:Object(j.get)(r,[nt,"settings","color","palette"]);return c?c.map((function(e){return e.slug})):Tt}),[t]);return Object(a.createElement)(d.__experimentalColorEdit,{immutableColorSlugs:i,colors:c,onChange:function(e){r(t,"color.palette",e)},emptyUI:Object(s.__)("Colors are empty! Add some colors to create your own color palette."),canReset:c===o})}function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e){var t=e.context,n=t.supports,r=t.name,c=e.getStyle,o=e.setStyle,i=e.getSetting,l=e.setSetting,u=st("color.palette",r),p=!st("color.custom",r),b=st("color.gradients",r),d=!st("color.customGradient",r),m=[];if(n.includes("color")){var f=c(r,"color"),O=c(r,"color","user");m.push({colorValue:f,onColorChange:function(e){return o(r,"color",e)},label:Object(s.__)("Text color"),clearable:f===O})}var j={};if(n.includes("backgroundColor")){var v=c(r,"backgroundColor"),g=c(r,"backgroundColor","user");j={colorValue:v,onColorChange:function(e){return o(r,"backgroundColor",e)}},v&&(j.clearable=v===g)}var y={};if(n.includes("background")){var _=c(r,"background"),E=c(r,"background","user");y={gradientValue:_,onGradientChange:function(e){return o(r,"background",e)}},_&&(y.clearable=_===E)}if((n.includes("background")||n.includes("backgroundColor"))&&m.push(It(It(It({},j),y),{},{label:Object(s.__)("Background color")})),n.includes(it)){var h=c(r,it),w=c(r,it,"user");m.push({colorValue:h,onColorChange:function(e){return o(r,it,e)},label:Object(s.__)("Link color"),clearable:h===w})}return Object(a.createElement)(Ee.__experimentalPanelColorGradientSettings,{title:Object(s.__)("Color"),settings:m,colors:u,gradients:b,disableCustomColors:p,disableCustomGradients:d},Object(a.createElement)(kt,{key:"color-palette-panel-"+r,contextName:r,getSetting:i,setSetting:l}))}function At(e){var t=e.context.name,n=e.getStyle,r=e.setStyle,c=function(e){var t=e.units,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.filter((function(t){return e.includes(t.value)}))}(st("spacing.units",e.contextName)||[],t);return 0!==n.length&&n}({contextName:t}),o=n(t,"padding");return Object(a.createElement)(d.PanelBody,{title:Object(s.__)("Spacing")},Object(a.createElement)(d.__experimentalBoxControl,{values:o,onChange:function(e){var n=e.top,c=e.right,a=e.bottom,i=e.left;r(t,"padding",{top:n||(null==o?void 0:o.top),right:c||(null==o?void 0:o.right),bottom:a||(null==o?void 0:o.bottom),left:i||(null==o?void 0:o.left)})},label:Object(s.__)("Padding"),units:c}))}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}function Dt(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(P.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}function Bt(e){var t=e.wrapperPanelTitle,n=e.context,r=e.getStyle,c=e.setStyle,o=e.getSetting,i=e.setSetting,l=function(e){var t=e.supports;return t.includes("color")||t.includes("backgroundColor")||t.includes("background")||t.includes(it)}(n),s=function(e){var t=e.supports,n=e.name,r=St({supports:t,name:n}),c=Pt({supports:t,name:n});return r||c||t.includes("fontSize")}(n),u=function(e){var t=e.supports;return st("spacing.customPadding",e.name)&&t.includes("padding")}(n);if(!l&&!s&&!u)return null;var p=Object(a.createElement)(d.__unstableComponentSystemProvider,{__unstableNextInclude:["WPComponentsFontSizePicker"]},s&&Object(a.createElement)(xt,{context:n,getStyle:r,setStyle:c}),l&&Object(a.createElement)(Mt,{context:n,getStyle:r,setStyle:c,getSetting:o,setSetting:i}),u&&Object(a.createElement)(At,{context:n,getStyle:r,setStyle:c}));return t?Object(a.createElement)(d.PanelBody,{title:t,initialOpen:!1},p):p}function Lt(e){var t,n=Object(He.getBlockType)(e.blockName);if(void 0===n)return n;var r=n.title;return"object"===Object($e.a)(null==n||null===(t=n.supports)||void 0===t?void 0:t.__experimentalSelector)&&(r+=" (".concat(e.title,")")),r}function Rt(e){var t=e.contexts,n=e.getStyle,r=e.setStyle,c=e.getSetting,o=e.setSetting,i=Object(a.useMemo)((function(){return Object(j.sortBy)(Object(j.map)(t,(function(e,t){return{context:e,name:t,wrapperPanelTitle:Lt(e)}})),(function(e){return e.wrapperPanelTitle}))}),[t]);return Object(j.map)(i,(function(e){var t=e.context,i=e.name,l=e.wrapperPanelTitle;return"root"===i?null:Object(a.createElement)(Bt,{key:"panel-"+i,wrapperPanelTitle:l,context:Dt(Dt({},t),{},{name:i}),getStyle:n,setStyle:r,getSetting:c,setSetting:o})}))}function Ft(e){var t,n,r,c,o=e.identifier,i=e.title,l=e.icon,u=e.closeLabel,p=Object(a.useContext)(_t),b=p.contexts,m=p.getStyle,f=p.setStyle,O=p.getSetting,j=p.setSetting,v=(t=ht(),r=(n=Object(ye.a)(t,2))[0],c=n[1],[!!r&&r!==yt,Object(a.useCallback)((function(){return c(yt)}),[c])]),g=Object(ye.a)(v,2),y=g[0],_=g[1];return"object"===Object($e.a)(b)&&null!=b&&b.root?Object(a.createElement)(Ze,{className:"edit-site-global-styles-sidebar",identifier:o,title:i,icon:l,closeLabel:u,header:Object(a.createElement)(a.Fragment,null,Object(a.createElement)("strong",null,i),Object(a.createElement)(d.Button,{className:"edit-site-global-styles-sidebar__reset-button",isSmall:!0,isTertiary:!0,disabled:!y,onClick:_},Object(s.__)("Reset to defaults")))},Object(a.createElement)(d.TabPanel,{tabs:[{name:"root",title:Object(s.__)("Root")},{name:"block",title:Object(s.__)("By Block Type")}]},(function(e){return"block"===e.name?Object(a.createElement)(Rt,{contexts:b,getStyle:m,setStyle:f,getSetting:O,setSetting:j}):Object(a.createElement)(Bt,{hasWrapper:!1,context:Dt(Dt({},b.root),{},{name:"root"}),getStyle:m,setStyle:f,getSetting:O,setSetting:j})}))):null}var Gt=Object(d.createSlotFill)("EditSiteSidebarInspector"),Vt=Gt.Slot,zt=Gt.Fill;function Ut(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Ze,{identifier:"edit-site/block-inspector",title:Object(s.__)("Block Inspector"),icon:Xe.a,closeLabel:Object(s.__)("Close block inspector sidebar")},Object(a.createElement)(Vt,{bubblesVirtually:!0})),Object(a.createElement)(Ft,{identifier:"edit-site/global-styles",title:Object(s.__)("Global Styles"),closeLabel:Object(s.__)("Close global styles sidebar"),icon:Je}))}function Wt(e){var t=e.clientId,n=Object(w.useSelect)((function(e){return e("core/block-editor").__unstableGetBlockWithBlockTree(t)}),[t]).innerBlocks,r=Object(w.useDispatch)("core/block-editor").replaceBlocks;return Object(a.createElement)(Ee.BlockSettingsMenuControls,null,(function(e){var c=e.onClose;return Object(a.createElement)(d.MenuItem,{onClick:function(){r(t,n),c()}},Object(s.__)("Detach blocks from template part"))}))}function Ht(e){var t=e.clientIds,n=e.blocks,r=Object(w.useDispatch)("core/block-editor").replaceBlocks;return Object(a.createElement)(Ee.BlockSettingsMenuControls,null,(function(e){var c=e.onClose;return Object(a.createElement)(d.MenuItem,{onClick:function(){r(t,Object(He.createBlock)("core/template-part",{},n.map((function(e){return Object(He.createBlock)(e.name,e.attributes,e.innerBlocks)})))),c()}},Object(s.__)("Make template part"))}))}function Yt(){var e,t=Object(w.useSelect)((function(e){var t=e("core/block-editor"),n=t.getSelectedBlockClientIds,r=t.getBlocksByClientId,c=n();return{clientIds:c,blocks:r(c)}})),n=t.clientIds,r=t.blocks;return 1===r.length&&"core/template-part"===(null===(e=r[0])||void 0===e?void 0:e.name)?Object(a.createElement)(Wt,{clientId:n[0]}):Object(a.createElement)(Ht,{clientIds:n,blocks:r})}var qt=n(240);function Kt(e){var t=e.type,n=e.id,r=e.activePage,c=e.onActivePageChange,o=Object(w.useSelect)((function(e){return t&&n&&"URL"!==t&&e("core").getEntityRecord("postType",t,n)}),[t,n]),i=Object(a.useMemo)((function(){if(null==o||!o.link)return null;var e=Object(l.getPathAndQueryString)(o.link);return e===r.path?null:function(){return c({type:t,slug:o.slug,path:e,context:{postType:o.type,postId:o.id}})}}),[o,r.path,c]);return i&&Object(a.createElement)(d.Button,{icon:qt.a,label:Object(s.__)("Edit Page Template"),onClick:i})}function Qt(e){var t=e.body;return Object(Ee.__unstableUseBlockSelectionClearer)(t),Object(Ee.__unstableUseTypingObserver)(t),Object(a.createElement)(d.DropZoneProvider,null,Object(a.createElement)(Ee.WritingFlow,null,Object(a.createElement)(Ee.BlockList,{className:"edit-site-block-editor__block-list"})))}function Xt(e){var t=e.setIsInserterOpen,n=Object(w.useSelect)((function(e){var n=e("core/edit-site"),r=n.getSettings,c=n.getEditedPostType,a=n.getPage,o=n.__experimentalGetPreviewDeviceType;return{settings:r(t),templateType:c(),page:a(),deviceType:o()}}),[t]),r=n.settings,c=n.templateType,o=n.page,i=n.deviceType,l=Object(_e.useEntityBlockEditor)("postType",c),s=Object(ye.a)(l,3),u=s[0],p=s[1],b=s[2],m=Object(w.useDispatch)("core/edit-site").setPage,f=Object(Ee.__experimentalUseResizeCanvas)(i,!0),O=Object(a.useRef)(),j=Object(a.useRef)();Object(Ee.__unstableUseMouseMoveTypingReset)(O);var v=Object(Ee.__unstableUseEditorStyles)(r.styles);return Object(a.createElement)(Ee.BlockEditorProvider,{settings:r,value:u,onInput:p,onChange:b,useSubRegistry:!1},Object(a.createElement)(Ee.BlockEditorKeyboardShortcuts,null),Object(a.createElement)(Yt,null),Object(a.createElement)(Ee.__experimentalLinkControl.ViewerFill,null,Object(a.useCallback)((function(e){return Object(a.createElement)(Kt,Object(ge.a)({},e,{activePage:o,onActivePageChange:m}))}),[o])),Object(a.createElement)(zt,null,Object(a.createElement)(Ee.BlockInspector,null)),Object(a.createElement)("div",{ref:v,className:"edit-site-visual-editor",onWheel:function(e){var t=e.deltaX,n=e.deltaY;j.current.scrollBy(t,n)}},Object(a.createElement)(d.Popover.Slot,{name:"block-toolbar"}),Object(a.createElement)(Ee.__unstableIframe,{style:f,editorStyles:r.styles,head:window.__editorStyles.html,ref:O,contentRef:j},Object(a.createElement)(Qt,{body:j,styles:r.styles}))))}var Jt=n(44);function Zt(){var e=Object(w.useDispatch)("core"),t=e.redo,n=e.undo;return Object(Jt.useShortcut)("core/edit-site/undo",(function(e){n(),e.preventDefault()}),{bindGlobal:!0}),Object(Jt.useShortcut)("core/edit-site/redo",(function(e){t(),e.preventDefault()}),{bindGlobal:!0}),null}Zt.Register=function(){var e=Object(w.useDispatch)(Jt.store).registerShortcut;return Object(a.useEffect)((function(){e({name:"core/edit-site/undo",category:"global",description:Object(s.__)("Undo your last changes."),keyCombination:{modifier:"primary",character:"z"}}),e({name:"core/edit-site/redo",category:"global",description:Object(s.__)("Redo your last undo."),keyCombination:{modifier:"primaryShift",character:"z"}})}),[e]),null};var $t=Zt,en=function(e,t){var n;return"taxonomy"===e?t.name:null==t||null===(n=t.title)||void 0===n?void 0:n.rendered};function tn(e){var t=e.kind,n=e.name,r=e.query,c=void 0===r?{}:r,o=Object(w.useSelect)((function(e){return e("core").getEntityRecords(t,n,c)}),[t,n,c]),i=Object(w.useDispatch)("core/edit-site").setPage;return o?o.map((function(e){var n="content-".concat(Object(l.getPathAndQueryString)(e.link));return Object(a.createElement)(d.__experimentalNavigationItem,{key:n,item:n,title:en(t,e),onClick:function(){return n=(t=e).type,r=t.slug,c=t.link,a=t.id,void i({type:n,slug:r,path:Object(l.getPathAndQueryString)(c),context:{postType:n,postId:a}});var t,n,r,c,a}})})):null}function nn(){return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"content-pages",title:Object(s.__)("Pages"),parentMenu:"root"},Object(a.createElement)(tn,{kind:"postType",name:"page"}))}function rn(){return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"content-categories",title:Object(s.__)("Categories"),parentMenu:"root"},Object(a.createElement)(tn,{kind:"taxonomy",name:"category"}))}function cn(){var e=Object(w.useSelect)((function(e){return e("core").getEditedEntityRecord("root","site").show_on_front}),[]),t=Object(w.useDispatch)("core/edit-site").setPage;return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"content-posts",title:Object(s.__)("Posts"),parentMenu:"root"},"posts"===e&&Object(a.createElement)(d.__experimentalNavigationItem,{item:"content-/",title:Object(s.__)("All Posts"),onClick:function(){t({type:"page",path:"/",context:{query:{categoryIds:[]},queryContext:{page:1}}})}}),Object(a.createElement)(tn,{kind:"postType",name:"post"}))}function an(e){var t=e.onActivateMenu,n=Object(a.useState)("root"),r=Object(ye.a)(n,2),c=r[0],o=r[1],i=Object(w.useSelect)((function(e){return e("core/edit-site").getPage()}),[]);return Object(a.createElement)(d.__experimentalNavigation,{activeItem:i&&"content-".concat(i.path),activeMenu:c,onActivateMenu:function(e){o(e),t(e)}},Object(a.createElement)(d.__experimentalNavigationMenu,{title:Object(s.__)("Content")},Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Pages"),navigateToMenu:"content-pages"}),Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Categories"),navigateToMenu:"content-categories"}),Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Posts"),navigateToMenu:"content-posts"})),Object(a.createElement)(nn,null),Object(a.createElement)(rn,null),Object(a.createElement)(cn,null))}function on(e){var t=e.rawContent,n=Object(a.useMemo)((function(){return t?Object(He.parse)(t):[]}),[t]);return n&&0!==n.length?Object(a.createElement)("div",{className:"edit-site-navigation-panel__preview"},Object(a.createElement)(Ee.BlockPreview,{blocks:n,viewportWidth:1200})):null}function ln(e){var t=e.item,n=Object(w.useSelect)((function(e){var n;return"wp_template"===t.type?e("core/editor").__experimentalGetTemplateInfo(t):{title:(null==t||null===(n=t.title)||void 0===n?void 0:n.rendered)||(null==t?void 0:t.slug),description:""}}),[]),r=n.title,c=n.description,o=Object(w.useDispatch)("core/edit-site"),i=o.setTemplate,l=o.setTemplatePart,u=Object(a.useState)(!1),p=Object(ye.a)(u,2),b=p[0],m=p[1];return t?Object(a.createElement)(d.__experimentalNavigationItem,{className:"edit-site-navigation-panel__template-item",item:"".concat(t.type,"-").concat(t.id),title:r},Object(a.createElement)(d.Button,{onClick:function(){return"wp_template"===t.type?i(t.id,t.slug):l(t.id)},onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},Object(a.createElement)("div",{className:"edit-site-navigation-panel__template-item-title"},"draft"===t.status&&Object(a.createElement)("em",null,Object(s.__)("[Draft]")),r),c&&Object(a.createElement)("div",{className:"edit-site-navigation-panel__template-item-description"},c)),b&&Object(a.createElement)(Mn,null,Object(a.createElement)(on,{rawContent:t.content.raw}))):null}function sn(e){var t,n=e.templates,r=null==n?void 0:n.find((function(e){return"page"===e.slug})),c=null!==(t=null==n?void 0:n.filter((function(e){return e.slug.startsWith("page-")})))&&void 0!==t?t:[];return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates-pages",title:Object(s.__)("Pages"),parentMenu:"templates",isEmpty:!r&&0===c.length},Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("Specific","specific templates")},Object(j.map)(c,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))),r&&Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("General","general templates")},Object(a.createElement)(ln,{item:r})))}function un(e){var t,n,r=e.templates,c=null!==(t=null==r?void 0:r.filter((function(e){var t=e.slug;return k.includes(t)})))&&void 0!==t?t:[],o=null!==(n=null==r?void 0:r.filter((function(e){return e.slug.startsWith("post-")})))&&void 0!==n?n:[];return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates-posts",title:Object(s.__)("Posts"),parentMenu:"templates",isEmpty:0===c.length&&0===o.length},Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("Specific","specific templates")},Object(j.map)(o,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))),Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s._x)("General","general templates")},Object(j.map)(c,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))))}function pn(e){var t=e.templates;return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates-all",title:Object(s.__)("All Templates"),parentMenu:"templates"},Object(j.map)(t,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})})))}var bn=n(143);function dn(){var e=Object(w.useSelect)((function(e){var t=e("core/editor").__experimentalGetDefaultTemplateTypes,n=e("core").getEntityRecords("postType","wp_template");return{defaultTemplateTypes:t(),templates:n}}),[]),t=e.defaultTemplateTypes,n=e.templates,r=Object(w.useDispatch)("core/edit-site").addTemplate,c=Object(j.map)(n,"slug"),o=Object(j.filter)(t,(function(e){return Object(j.includes)(N,e.slug)&&!Object(j.includes)(c,e.slug)}));return o.length?Object(a.createElement)(d.DropdownMenu,{className:"edit-site-navigation-panel__new-template-dropdown",icon:null,label:Object(s.__)("Add Template"),popoverProps:{noArrow:!1},toggleProps:{children:Object(a.createElement)(bn.a,{icon:ke.a}),isSmall:!0,isTertiary:!0}},(function(e){var c=e.onClose;return Object(a.createElement)(d.NavigableMenu,{className:"edit-site-navigation-panel__new-template-popover"},Object(a.createElement)(d.MenuGroup,{label:Object(s.__)("Add Template")},Object(j.map)(o,(function(e){var o=e.title,i=e.description,l=e.slug;return Object(a.createElement)(d.MenuItem,{info:i,key:l,onClick:function(){(function(e){var c=function e(t,n){var r=Object(j.find)(n,{slug:t});if(r)return r;switch(t){case"single":case"page":return e("singular",n);case"author":case"category":case"taxonomy":case"date":case"tag":return e("archive",n);case"front-page":return e("home",n);case"attachment":return e("single",n);case"privacy-policy":return e("page",n)}return Object(j.find)(n,{slug:"index"})}(e,n),a=Object(j.find)(t,{slug:e}),o=a.title,i=a.description;r({content:c.content.raw,excerpt:i,slug:e.toString(),status:"draft",title:o})})(l),c()}},o)}))))})):null}var mn=function(e){return Object(j.deburr)(e).replace(/^\//,"").toLowerCase()},fn=function(e,t){return-1!==mn(e).indexOf(mn(t))};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 jn(e){var t=e.items,n=e.search,r=(null==t?void 0:t.length)>0?t[0].type:null,c=Object(w.useSelect)((function(e){if("wp_template"===r){var n=e("core/editor").__experimentalGetTemplateInfo;return t.map((function(e){return function(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(P.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}({slug:e.slug},n(e))}))}return t.map((function(e){var t,n;return{slug:e.slug,title:null===(t=e.title)||void 0===t?void 0:t.rendered,description:null===(n=e.excerpt)||void 0===n?void 0:n.rendered}}))}),[t,r]),o=Object(a.useMemo)((function(){return null===t||0===n.length?[]:t.filter((function(e){var t=e.slug,r=c.find((function(e){return e.slug===t})),a=r.title,o=r.description;return fn(t,n)||fn(a,n)||fn(o,n)}))}),[t,c,n]);return Object(a.createElement)(d.__experimentalNavigationGroup,{title:Object(s.__)("Search results")},Object(j.map)(o,(function(e){return Object(a.createElement)(ln,{item:e,key:"".concat(e.type,"-").concat(e.id)})})))}function vn(){var e=Object(a.useState)(""),t=Object(ye.a)(e,2),n=t[0],r=t[1],c=Object(a.useCallback)((function(e){r(e)})),o=Object(w.useSelect)((function(e){return e("core").getEntityRecords("postType","wp_template")}),[]),i=null==o?void 0:o.filter((function(e){var t=e.slug;return T.includes(t)}));return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"templates",title:Object(s.__)("Templates"),titleAction:Object(a.createElement)(dn,null),parentMenu:"root",hasSearch:!0,onSearch:c,search:n},n&&Object(a.createElement)(jn,{items:o,search:n}),!n&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(d.__experimentalNavigationItem,{navigateToMenu:"templates-all",title:Object(s._x)("All","all templates")}),Object(a.createElement)(d.__experimentalNavigationItem,{navigateToMenu:"templates-pages",title:Object(s.__)("Pages"),hideIfTargetMenuEmpty:!0}),Object(a.createElement)(d.__experimentalNavigationItem,{navigateToMenu:"templates-posts",title:Object(s.__)("Posts"),hideIfTargetMenuEmpty:!0}),Object(j.map)(i,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template-".concat(e.id)})}))),!n&&null===o&&Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Loading…"),isText:!0}),Object(a.createElement)(un,{templates:o}),Object(a.createElement)(sn,{templates:o}),Object(a.createElement)(pn,{templates:o}))}function gn(){var e=Object(a.useState)(""),t=Object(ye.a)(e,2),n=t[0],r=t[1],c=Object(a.useCallback)((function(e){r(e)})),o=Object(w.useSelect)((function(e){return e("core").getEntityRecords("postType","wp_template_part")||[]}),[]);return Object(a.createElement)(d.__experimentalNavigationMenu,{menu:"template-parts",title:Object(s.__)("Template Parts"),parentMenu:"root",hasSearch:!0,onSearch:c,search:n},n&&Object(a.createElement)(jn,{items:o,search:n}),!n&&Object(j.map)(o,(function(e){return Object(a.createElement)(ln,{item:e,key:"wp_template_part-".concat(e.id)})})),!n&&null===o&&Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Loading…"),isText:!0}))}var yn="__experimentalMainDashboardButton",En=Object(d.createSlotFill)(yn),hn=En.Fill,wn=En.Slot,Sn=hn;Sn.Slot=function(e){var t=e.children,n=Object(d.__experimentalUseSlot)(yn);return Boolean(n.fills&&n.fills.length)?Object(a.createElement)(wn,{bubblesVirtually:!0}):t};var Pn=Sn;function xn(){var e=Object(w.useSelect)((function(e){var t=e("core/edit-site"),n=t.getEditedPostType,r=t.getEditedPostId,c=t.getNavigationPanelActiveMenu;return{postId:r(),postType:n(),activeMenu:c()}}),[]),t=e.postId,n=e.postType,r=e.activeMenu,c=Object(w.useDispatch)("core/edit-site").setNavigationPanelActiveMenu;return Object(a.createElement)(d.__experimentalNavigation,{activeItem:"".concat(n,"-").concat(t),activeMenu:r,onActivateMenu:c},"root"===r&&Object(a.createElement)(Pn.Slot,null,Object(a.createElement)(d.__experimentalNavigationBackButton,{backButtonLabel:Object(s.__)("Dashboard"),className:"edit-site-navigation-panel__back-to-dashboard",href:"index.php"})),Object(a.createElement)(d.__experimentalNavigationMenu,{title:Object(s.__)("Theme")},Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Templates"),navigateToMenu:"templates"}),Object(a.createElement)(d.__experimentalNavigationItem,{title:Object(s.__)("Template Parts"),navigateToMenu:"template-parts"}),Object(a.createElement)(vn,null),Object(a.createElement)(gn,null)))}var Tn=function(e){var t=e.isOpen,n=Object(a.useState)("root"),r=Object(ye.a)(n,2),c=r[0],o=r[1],i=Object(w.useSelect)((function(e){var t=e("core/edit-site").getNavigationPanelActiveMenu,n=(0,e("core").getEntityRecord)("root","__unstableBase",void 0)||{};return{templatesActiveMenu:t(),siteTitle:n.name}}),[]),l=i.templatesActiveMenu,s=i.siteTitle,u=Object(a.useRef)();return Object(a.useEffect)((function(){t&&u.current.focus()}),[l]),Object(a.createElement)("div",{className:We()("edit-site-navigation-panel",{"is-open":t}),ref:u,tabIndex:"-1"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__inner"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__site-title-container"},Object(a.createElement)("div",{className:"edit-site-navigation-panel__site-title"},s)),Object(a.createElement)("div",{className:"edit-site-navigation-panel__scroll-container"},("root"===c||"root"!==l)&&Object(a.createElement)(xn,null),("root"===l||"root"!==c)&&Object(a.createElement)(an,{onActivateMenu:o}))))},kn=n(498),Nn=function(e){var t=e.icon,n=e.isOpen,r=Object(w.useSelect)((function(e){var t=e("core/edit-site").isFeatureActive,n=e("core").getEntityRecord,r=e("core/data").isResolving,c=n("root","__unstableBase",void 0)||{};return{isActive:t("fullscreenMode"),isRequestingSiteIcon:r("core","getEntityRecord",["root","__unstableBase",void 0]),siteIconUrl:c.site_icon_url}}),[]),c=r.isActive,o=r.isRequestingSiteIcon,i=r.siteIconUrl,l=Object(w.useDispatch)("core/edit-site").setIsNavigationPanelOpened;if(!c)return null;var u=Object(a.createElement)(d.Icon,{size:"36px",icon:kn.a});return i?u=Object(a.createElement)("img",{alt:Object(s.__)("Site Icon"),className:"edit-site-navigation-toggle__site-icon",src:i}):o?u=null:t&&(u=Object(a.createElement)(d.Icon,{size:"36px",icon:t})),Object(a.createElement)("div",{className:"edit-site-navigation-toggle"+(n?" is-open":"")},Object(a.createElement)(d.Button,{className:"edit-site-navigation-toggle__button has-icon",label:Object(s.__)("Toggle navigation"),onClick:function(){return l(!n)},showTooltip:!0},u))},In=Object(d.createSlotFill)("EditSiteNavigationPanelPreview"),Mn=In.Fill,An=In.Slot;function Cn(){var e=Object(w.useSelect)((function(e){return e("core/edit-site").isNavigationOpened()}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Nn,{isOpen:e}),Object(a.createElement)(Tn,{isOpen:e}),Object(a.createElement)(An,null))}function Dn(){var e=Object(w.useDispatch)("core/edit-site"),t=e.setTemplate,n=e.setTemplatePart,r=e.showHomepage,c=e.setPage;Object(a.useEffect)((function(){var e=window.location.href,a=Object(l.getQueryArg)(e,"postId");if(a){var o=Object(l.getQueryArg)(e,"postType");"page"===o||"post"===o?c({context:{postType:o,postId:a}}):"wp_template"===o?t(a):"wp_template_part"===o?n(a):r()}else r()}),[]);var o=Object(w.useSelect)((function(e){var t,n,r=e("core/edit-site"),c=r.getEditedPostType,a=r.getEditedPostId,o=(0,r.getPage)(),i=a(),l=c();return null!=o&&null!==(t=o.context)&&void 0!==t&&t.postId&&null!=o&&null!==(n=o.context)&&void 0!==n&&n.postType&&(i=o.context.postId,l=o.context.postType),i&&l?{postId:i,postType:l}:null}));return Object(a.useEffect)((function(){var e=o?Object(l.addQueryArgs)(window.location.href,o):Object(l.removeQueryArgs)(window.location.href,"postType","postId");window.history.replaceState({},"",e)}),[o]),null}function Bn(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 Ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(n),!0).forEach((function(t){Object(P.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rn={secondarySidebar:Object(s.__)("Block Library"),drawer:Object(s.__)("Navigation Sidebar")},Fn=function(){var e=Object(w.useSelect)((function(e){var t=e("core/edit-site"),n=t.isFeatureActive,r=t.isInserterOpened,c=t.getSettings,a=t.getEditedPostType,o=t.getEditedPostId,i=t.getPage,l=t.isNavigationOpened,s=a(),u=o();return{isInserterOpen:r(),isFullscreenActive:n("fullscreenMode"),sidebarIsOpened:!!e(he.g).getActiveComplementaryArea("core/edit-site"),settings:c(),templateType:s,page:i(),template:u?e("core").getEntityRecord("postType",s,u):null,entityId:u,isNavigationOpen:l()}}),[]),t=e.isFullscreenActive,n=e.isInserterOpen,r=e.sidebarIsOpened,c=e.settings,o=e.entityId,i=e.templateType,l=e.page,u=e.template,p=e.isNavigationOpen,b=Object(w.useDispatch)("core/editor").updateEditorSettings,f=Object(w.useDispatch)("core/edit-site"),O=f.setPage,j=f.setIsInserterOpened,v=c.defaultTemplateTypes;Object(a.useEffect)((function(){b({defaultTemplateTypes:v})}),[v]);var g=Object(a.useState)(!1),y=Object(ye.a)(g,2),_=y[0],E=y[1],h=Object(a.useCallback)((function(){return E(!0)}),[]),S=Object(a.useCallback)((function(){E(!1)}),[]),P=Object(a.useMemo)((function(){return Ln(Ln({},null==l?void 0:l.context),{},{queryContext:[(null==l?void 0:l.context.queryContext)||{page:1},function(e){return O(Ln(Ln({},l),{},{context:Ln(Ln({},null==l?void 0:l.context),{},{queryContext:Ln(Ln({},null==l?void 0:l.context.queryContext),e)})}))}]})}),[null==l?void 0:l.context]);Object(a.useEffect)((function(){p?document.body.classList.add("is-navigation-sidebar-open"):document.body.classList.remove("is-navigation-sidebar-open")}),[p]);var x=Object(Pe.useViewportMatch)("medium","<"),T=Object(Pe.__experimentalUseDialog)({onClose:function(){return j(!1)}}),k=Object(ye.a)(T,2),N=k[0],I=k[1];return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Dn,null),Object(a.createElement)(he.d,{isActive:t}),Object(a.createElement)(we.UnsavedChangesWarning,null),Object(a.createElement)(d.SlotFillProvider,null,Object(a.createElement)(d.DropZoneProvider,null,Object(a.createElement)(_e.EntityProvider,{kind:"root",type:"site"},Object(a.createElement)(_e.EntityProvider,{kind:"postType",type:i,id:o},Object(a.createElement)(_e.EntityProvider,{kind:"postType",type:"wp_global_styles",id:c.__experimentalGlobalStylesUserEntityId},Object(a.createElement)(Ee.BlockContextProvider,{value:P},Object(a.createElement)(wt,{baseStyles:c.__experimentalGlobalStylesBaseStyles},Object(a.createElement)($t.Register,null),Object(a.createElement)(Ut,null),Object(a.createElement)(he.e,{labels:Rn,drawer:Object(a.createElement)(Cn,null),secondarySidebar:n?Object(a.createElement)("div",Object(ge.a)({ref:N},I,{className:"edit-site-editor__inserter-panel"}),Object(a.createElement)("div",{className:"edit-site-editor__inserter-panel-header"},Object(a.createElement)(d.Button,{icon:Se.a,onClick:function(){return j(!1)}})),Object(a.createElement)("div",{className:"edit-site-editor__inserter-panel-content"},Object(a.createElement)(Ee.__experimentalLibrary,{showInserterHelpPanel:!0,onSelect:function(){x&&j(!1)}}))):null,sidebar:r&&Object(a.createElement)(he.b.Slot,{scope:"core/edit-site"}),header:Object(a.createElement)(Qe,{openEntitiesSavedStates:h}),content:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(Te,null),u&&Object(a.createElement)(Xt,{setIsInserterOpen:j}),Object(a.createElement)($t,null)),actions:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(we.EntitiesSavedStates,{isOpen:_,close:S}),!_&&Object(a.createElement)("div",{className:"edit-site-editor__toggle-save-panel"},Object(a.createElement)(d.Button,{isSecondary:!0,className:"edit-site-editor__toggle-save-panel-button",onClick:h,"aria-expanded":!1},Object(s.__)("Open save panel")))),footer:Object(a.createElement)(Ee.BlockBreadcrumb,null)}),Object(a.createElement)(d.Popover.Slot,null),Object(a.createElement)(m.PluginArea,null)))))))))},Gn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.perPage,r=void 0===n?20:n;return i()({path:Object(l.addQueryArgs)("/wp/v2/search",{per_page:r,search:e,type:"post",subtype:"post"})}).then((function(e){return Promise.all(e.map((function(e){return i()({url:e._links.self[0].href})})))})).then((function(e){return e.map((function(e){return{url:e.link,type:e.type,id:e.id,slug:e.slug,title:e.title.rendered||Object(s.__)("(no title)")}}))}))};function Vn(e,t){var n;t.__experimentalFetchLinkSuggestions=Gn,t.__experimentalSpotlightEntityBlocks=["core/template-part"],n={settings:t},Object(w.registerStore)("core/edit-site",{reducer:C,actions:r,selectors:c,controls:S.controls,persist:["preferences"],initialState:n}),Object(u.registerCoreBlocks)(),Object(u.__experimentalRegisterExperimentalCoreBlocks)(!0),Object(a.render)(Object(a.createElement)(Fn,null),document.getElementById(e))}},53:function(e,t,n){"use strict";n.d(t,"g",(function(){return y})),n.d(t,"b",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"d",(function(){return $})),n.d(t,"e",(function(){return re})),n.d(t,"f",(function(){return R})),n.d(t,"a",(function(){return Y}));var r={};n.r(r),n.d(r,"enableComplementaryArea",(function(){return d})),n.d(r,"disableComplementaryArea",(function(){return m})),n.d(r,"pinItem",(function(){return O})),n.d(r,"unpinItem",(function(){return j}));var c={};n.r(c),n.d(c,"getActiveComplementaryArea",(function(){return v})),n.d(c,"isItemPinned",(function(){return g}));var a=n(4),o=n(5),i=n(2);function l(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?l(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=Object(a.combineReducers)({singleEnableItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.itemType,c=t.scope,a=t.item;return"SET_SINGLE_ENABLE_ITEM"===n&&r&&c?s(s({},e),{},Object(o.a)({},r,s(s({},e[r]),{},Object(o.a)({},c,a||null)))):e},multipleEnableItems:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.itemType,c=t.scope,a=t.item,l=t.isEnable;if("SET_MULTIPLE_ENABLE_ITEM"!==n||!r||!c||!a||Object(i.get)(e,[r,c,a])===l)return e;var u=e[r]||{},p=u[c]||{};return s(s({},e),{},Object(o.a)({},r,s(s({},u),{},Object(o.a)({},c,s(s({},p),{},Object(o.a)({},a,l||!1))))))}}),p=Object(a.combineReducers)({enableItems:u});function b(e,t,n){return{type:"SET_SINGLE_ENABLE_ITEM",itemType:e,scope:t,item:n}}function d(e,t){return b("complementaryArea",e,t)}function m(e){return b("complementaryArea",e,void 0)}function f(e,t,n,r){return{type:"SET_MULTIPLE_ENABLE_ITEM",itemType:e,scope:t,item:n,isEnable:r}}function O(e,t){return f("pinnedItems",e,t,!0)}function j(e,t){return f("pinnedItems",e,t,!1)}function v(e,t){return function(e,t,n){return Object(i.get)(e.enableItems.singleEnableItems,["complementaryArea",n])}(e,0,t)}function g(e,t,n){return!1!==function(e,t,n,r){return Object(i.get)(e.enableItems.multipleEnableItems,["pinnedItems",n,r])}(e,0,t,n)}var y=Object(a.createReduxStore)("core/interface",{reducer:p,actions:r,selectors:c,persist:["enableItems"]});Object(a.registerStore)("core/interface",{reducer:p,actions:r,selectors:c,persist:["enableItems"]});var _=n(10),E=n(13),h=n(0),w=n(12),S=n.n(w),P=n(3),x=n(1),T=n(146),k=n(212),N=n(213),I=n(80),M=n(144),A=n(63),C=Object(A.withPluginContext)((function(e,t){return{icon:t.icon||e.icon,identifier:t.identifier||"".concat(e.name,"/").concat(t.name)}})),D=C((function(e){var t=e.as,n=void 0===t?P.Button:t,r=e.scope,c=e.identifier,o=e.icon,l=e.selectedIcon,s=Object(E.a)(e,["as","scope","identifier","icon","selectedIcon"]),u=n,p=Object(a.useSelect)((function(e){return e(y).getActiveComplementaryArea(r)===c}),[c]),b=Object(a.useDispatch)(y),d=b.enableComplementaryArea,m=b.disableComplementaryArea;return Object(h.createElement)(u,Object(_.a)({icon:l&&p?l:o,onClick:function(){p?m(r):d(r,c)}},Object(i.omit)(s,["name"])))})),B=function(e){var t=e.smallScreenTitle,n=e.children,r=e.className,c=e.toggleButtonProps,a=Object(h.createElement)(D,Object(_.a)({icon:M.a},c));return Object(h.createElement)(h.Fragment,null,Object(h.createElement)("div",{className:"components-panel__header interface-complementary-area-header__small"},t&&Object(h.createElement)("span",{className:"interface-complementary-area-header__small-title"},t),a),Object(h.createElement)("div",{className:S()("components-panel__header","interface-complementary-area-header",r),tabIndex:-1},n,a))};function L(e){var t=e.scope,n=Object(E.a)(e,["scope"]);return Object(h.createElement)(P.Fill,Object(_.a)({name:"PinnedItems/".concat(t)},n))}L.Slot=function(e){var t=e.scope,n=e.className,r=Object(E.a)(e,["scope","className"]);return Object(h.createElement)(P.Slot,Object(_.a)({name:"PinnedItems/".concat(t)},r),(function(e){return!Object(i.isEmpty)(e)&&Object(h.createElement)("div",{className:S()(n,"interface-pinned-items")},e)}))};var R=L;function F(e){var t=e.scope,n=e.children,r=e.className;return Object(h.createElement)(P.Fill,{name:"ComplementaryArea/".concat(t)},Object(h.createElement)("div",{className:r},n))}var G=C((function(e){var t=e.children,n=e.className,r=e.closeLabel,c=void 0===r?Object(x.__)("Close plugin"):r,o=e.identifier,i=e.header,l=e.headerClassName,s=e.icon,u=e.isPinnable,p=void 0===u||u,b=e.panelClassName,d=e.scope,m=e.smallScreenTitle,f=e.title,O=e.toggleShortcut,j=e.isActiveByDefault,v=e.showIconLabels,g=void 0!==v&&v,_=Object(a.useSelect)((function(e){var t=e(y),n=t.getActiveComplementaryArea,r=t.isItemPinned,c=n(d);return{isActive:c===o,isPinned:r(d,o),activeArea:c,isSmall:e(I.store).isViewportMatch("< medium"),isLarge:e(I.store).isViewportMatch("large")}}),[o,d]),E=_.isActive,w=_.isPinned,M=_.activeArea,A=_.isSmall,C=_.isLarge;!function(e,t,n,r,c){var o=Object(h.useRef)(!1),i=Object(h.useRef)(!1),l=Object(a.useDispatch)(y),s=l.enableComplementaryArea,u=l.disableComplementaryArea;Object(h.useEffect)((function(){r&&c&&!o.current?(u(e),i.current=!0):i.current&&!c&&o.current?(i.current=!1,s(e,t)):i.current&&n&&n!==t&&(i.current=!1),c!==o.current&&(o.current=c)}),[r,c,e,t,n])}(d,o,M,E,A);var L=Object(a.useDispatch)(y),G=L.enableComplementaryArea,V=L.disableComplementaryArea,z=L.pinItem,U=L.unpinItem;return Object(h.useEffect)((function(){j&&void 0===M&&!A&&G(d,o)}),[M,j,d,o,A]),Object(h.createElement)(h.Fragment,null,w&&p&&Object(h.createElement)(R,{scope:d},Object(h.createElement)(D,{scope:d,identifier:o,isPressed:E&&(!g||C),"aria-expanded":E,label:f,icon:g?T.a:s,showTooltip:!g,isTertiary:g})),E&&Object(h.createElement)(F,{className:S()("interface-complementary-area",n),scope:d},Object(h.createElement)(B,{className:l,closeLabel:c,onClose:function(){return V(d)},smallScreenTitle:m,toggleButtonProps:{label:c,shortcut:O,scope:d,identifier:o}},i||Object(h.createElement)(h.Fragment,null,Object(h.createElement)("strong",null,f),p&&Object(h.createElement)(P.Button,{className:"interface-complementary-area__pin-unpin-item",icon:w?k.a:N.a,label:w?Object(x.__)("Unpin from toolbar"):Object(x.__)("Pin to toolbar"),onClick:function(){return(w?U:z)(d,o)},isPressed:w,"aria-expanded":w}))),Object(h.createElement)(P.Panel,{className:b},t)))}));G.Slot=function(e){var t=e.scope,n=Object(E.a)(e,["scope"]);return Object(h.createElement)(P.Slot,Object(_.a)({name:"ComplementaryArea/".concat(t)},n))};var V=G,z=n(9);function U(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 W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function H(e){var t=e.name,n=e.as,r=e.onClick,c=Object(E.a)(e,["name","as","onClick"]);return Object(h.createElement)(P.Fill,{name:t},(function(e){var t=e.onClick,a=e.as,o=n||a||P.Button;return Object(h.createElement)(o,Object(_.a)({onClick:r||t?function(){(r||i.noop).apply(void 0,arguments),(t||i.noop).apply(void 0,arguments)}:void 0},c))}))}H.Slot=function(e){var t=e.name,n=e.as,r=void 0===n?[P.ButtonGroup,P.Button]:n,c=e.fillProps,a=void 0===c?{}:c,o=e.bubblesVirtually,l=Object(E.a)(e,["name","as","fillProps","bubblesVirtually"]),s=Object(z.a)(r,2),u=s[0],p=s[1];return Object(h.createElement)(P.Slot,{name:t,bubblesVirtually:o,fillProps:W({as:p},a)},(function(e){return!Object(i.isEmpty)(e)&&Object(h.createElement)(u,l,e)}))};var Y=H;function q(e){var t=e.scope,n=e.target,r=Object(E.a)(e,["scope","target"]);return Object(h.createElement)(D,Object(_.a)({as:function(e){return Object(h.createElement)(Y,Object(_.a)({name:"".concat(t,"/plugin-more-menu")},e))},role:"menuitemcheckbox",selectedIcon:T.a,name:n,scope:t},r))}var K=n(27),Q=n(28),X=n(30),J=n(32),Z=n(22);var $=function(e){Object(X.a)(c,e);var t,n,r=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Object(Z.a)(t);if(n){var c=Object(Z.a)(this).constructor;e=Reflect.construct(r,arguments,c)}else e=r.apply(this,arguments);return Object(J.a)(this,e)});function c(){return Object(K.a)(this,c),r.apply(this,arguments)}return Object(Q.a)(c,[{key:"componentDidMount",value:function(){this.isSticky=!1,this.sync(),document.body.classList.contains("sticky-menu")&&(this.isSticky=!0,document.body.classList.remove("sticky-menu"))}},{key:"componentWillUnmount",value:function(){this.isSticky&&document.body.classList.add("sticky-menu"),this.props.isActive&&document.body.classList.remove("is-fullscreen-mode")}},{key:"componentDidUpdate",value:function(e){this.props.isActive!==e.isActive&&this.sync()}},{key:"sync",value:function(){this.props.isActive?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode")}},{key:"render",value:function(){return null}}]),c}(h.Component),ee=n(73);function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=Object(h.forwardRef)((function(e,t){var n=e.footer,r=e.header,c=e.sidebar,a=e.secondarySidebar,o=e.content,i=e.drawer,l=e.actions,s=e.labels,u=e.className,p=e.shortcuts,b=Object(h.useRef)(),d=Object(P.__unstableUseNavigateRegions)(b,p);!function(e){Object(h.useEffect)((function(){var t=document&&document.querySelector("html:not(.".concat(e,")"));if(t)return t.classList.toggle(e),function(){t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");var m=ne(ne({},{
10
  /* translators: accessibility text for the nav bar landmark region. */
11
  drawer:Object(x.__)("Drawer"),
12
  /* translators: accessibility text for the top bar landmark region. */
changelog.txt CHANGED
@@ -1,5 +1,13 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
 
3
  = 9.9.0 =
4
 
5
  ### Enhancements
1
  == Changelog ==
2
 
3
+ = 9.9.1 =
4
+
5
+ ### Bug fixes
6
+
7
+ - Global Styles: enqueue preset classes in the front-end.
8
+ - Global Styles: load styles in iframed site editor.
9
+
10
+
11
  = 9.9.0 =
12
 
13
  ### Enhancements
gutenberg.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.3
7
  * Requires PHP: 5.6
8
- * Version: 9.9.0
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
@@ -13,8 +13,8 @@
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
- define( 'GUTENBERG_VERSION', '9.9.0' );
17
- define( 'GUTENBERG_GIT_COMMIT', 'd8b50ae42e2c158a34878a1c84385dcc3e100f9e' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
5
  * Description: Printing since 1440. This is the development plugin for the new block editor in core.
6
  * Requires at least: 5.3
7
  * Requires PHP: 5.6
8
+ * Version: 9.9.1
9
  * Author: Gutenberg Team
10
  * Text Domain: gutenberg
11
  *
13
  */
14
 
15
  ### BEGIN AUTO-GENERATED DEFINES
16
+ define( 'GUTENBERG_VERSION', '9.9.1' );
17
+ define( 'GUTENBERG_GIT_COMMIT', 'ac9e3cbfe97634535061a006b7373b8f1a7096c4' );
18
  ### END AUTO-GENERATED DEFINES
19
 
20
  gutenberg_pre_init();
lib/class-wp-theme-json.php CHANGED
@@ -991,7 +991,7 @@ class WP_Theme_JSON {
991
 
992
  $metadata = $this->get_blocks_metadata();
993
  foreach ( $metadata as $block_selector => $metadata ) {
994
- if ( empty( $metadata['selector'] ) || empty( $metadata['supports'] ) ) {
995
  continue;
996
  }
997
 
991
 
992
  $metadata = $this->get_blocks_metadata();
993
  foreach ( $metadata as $block_selector => $metadata ) {
994
+ if ( empty( $metadata['selector'] ) ) {
995
  continue;
996
  }
997
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: matveb, joen, karmatosed
3
  Requires at least: 5.5.0
4
  Tested up to: 5.6
5
  Requires PHP: 5.6
6
- Stable tag: 9.8.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -57,4 +57,4 @@ View <a href="https://developer.wordpress.org/block-editor/principles/versions-i
57
 
58
  == Changelog ==
59
 
60
- To read the changelog for Gutenberg 9.9.0, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.9.0">release page</a>.
3
  Requires at least: 5.5.0
4
  Tested up to: 5.6
5
  Requires PHP: 5.6
6
+ Stable tag: 9.9.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
57
 
58
  == Changelog ==
59
 
60
+ To read the changelog for Gutenberg 9.9.1, please navigate to the <a href="https://github.com/WordPress/gutenberg/releases/tag/v9.9.1">release page</a>.