"use strict";var wp;(wp||={}).blockEditor=(()=>{var hde=Object.create;var hS=Object.defineProperty;var gde=Object.getOwnPropertyDescriptor;var bde=Object.getOwnPropertyNames;var kde=Object.getPrototypeOf,vde=Object.prototype.hasOwnProperty;var te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ns=(e,t)=>{for(var o in t)hS(e,o,{get:t[o],enumerable:!0})},R4=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of bde(t))!vde.call(e,n)&&n!==o&&hS(e,n,{get:()=>t[n],enumerable:!(r=gde(t,n))||r.enumerable});return e};var l=(e,t,o)=>(o=e!=null?hde(kde(e)):{},R4(t||!e||!e.__esModule?hS(o,"default",{value:e,enumerable:!0}):o,e)),yde=e=>R4(hS({},"__esModule",{value:!0}),e);var $=te((_Oe,A4)=>{A4.exports=window.wp.blocks});var I=te((SOe,L4)=>{L4.exports=window.wp.element});var D=te((xOe,M4)=>{M4.exports=window.wp.data});var Y=te((wOe,N4)=>{N4.exports=window.wp.compose});var nt=te((COe,D4)=>{D4.exports=window.wp.hooks});var O=te((POe,q4)=>{q4.exports=window.wp.components});var _S=te((OOe,Y4)=>{Y4.exports=window.wp.privateApis});var Oe=te((VOe,ez)=>{ez.exports=window.wp.deprecated});var x=te((zOe,oz)=>{oz.exports=window.ReactJSXRuntime});var Zr=te((UOe,nz)=>{nz.exports=window.wp.url});var M=te((JOe,dz)=>{dz.exports=window.wp.i18n});var Kd=te((eRe,fz)=>{"use strict";fz.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],o.get(n[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(n of t.entries())if(!o.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(t[n]!==o[n])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var q=te((uRe,vz)=>{vz.exports=window.wp.primitives});var Vo=te((CNe,yz)=>{yz.exports=window.wp.richText});var Sz=te((BNe,_z)=>{_z.exports=window.wp.blockSerializationDefaultParser});var Fo=te((JNe,o6)=>{o6.exports=window.wp.a11y});var ii=te((eDe,l6)=>{l6.exports=window.wp.notices});var Tp=te((tDe,c6)=>{c6.exports=window.wp.preferences});var $6=te((e5e,Yx)=>{var H6={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u1EA4:"A",\u1EAE:"A",\u1EB2:"A",\u1EB4:"A",\u1EB6:"A",\u00C6:"AE",\u1EA6:"A",\u1EB0:"A",\u0202:"A",\u1EA2:"A",\u1EA0:"A",\u1EA8:"A",\u1EAA:"A",\u1EAC:"A",\u00C7:"C",\u1E08:"C",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u1EBE:"E",\u1E16:"E",\u1EC0:"E",\u1E14:"E",\u1E1C:"E",\u0206:"E",\u1EBA:"E",\u1EBC:"E",\u1EB8:"E",\u1EC2:"E",\u1EC4:"E",\u1EC6:"E",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u1E2E:"I",\u020A:"I",\u1EC8:"I",\u1ECA:"I",\u00D0:"D",\u00D1:"N",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u1ED0:"O",\u1E4C:"O",\u1E52:"O",\u020E:"O",\u1ECE:"O",\u1ECC:"O",\u1ED4:"O",\u1ED6:"O",\u1ED8:"O",\u1EDC:"O",\u1EDE:"O",\u1EE0:"O",\u1EDA:"O",\u1EE2:"O",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u1EE6:"U",\u1EE4:"U",\u1EEC:"U",\u1EEE:"U",\u1EF0:"U",\u00DD:"Y",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u1EA5:"a",\u1EAF:"a",\u1EB3:"a",\u1EB5:"a",\u1EB7:"a",\u00E6:"ae",\u1EA7:"a",\u1EB1:"a",\u0203:"a",\u1EA3:"a",\u1EA1:"a",\u1EA9:"a",\u1EAB:"a",\u1EAD:"a",\u00E7:"c",\u1E09:"c",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u1EBF:"e",\u1E17:"e",\u1EC1:"e",\u1E15:"e",\u1E1D:"e",\u0207:"e",\u1EBB:"e",\u1EBD:"e",\u1EB9:"e",\u1EC3:"e",\u1EC5:"e",\u1EC7:"e",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u1E2F:"i",\u020B:"i",\u1EC9:"i",\u1ECB:"i",\u00F0:"d",\u00F1:"n",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u1ED1:"o",\u1E4D:"o",\u1E53:"o",\u020F:"o",\u1ECF:"o",\u1ECD:"o",\u1ED5:"o",\u1ED7:"o",\u1ED9:"o",\u1EDD:"o",\u1EDF:"o",\u1EE1:"o",\u1EDB:"o",\u1EE3:"o",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u1EE7:"u",\u1EE5:"u",\u1EED:"u",\u1EEF:"u",\u1EF1:"u",\u00FD:"y",\u00FF:"y",\u0100:"A",\u0101:"a",\u0102:"A",\u0103:"a",\u0104:"A",\u0105:"a",\u0106:"C",\u0107:"c",\u0108:"C",\u0109:"c",\u010A:"C",\u010B:"c",\u010C:"C",\u010D:"c",C\u0306:"C",c\u0306:"c",\u010E:"D",\u010F:"d",\u0110:"D",\u0111:"d",\u0112:"E",\u0113:"e",\u0114:"E",\u0115:"e",\u0116:"E",\u0117:"e",\u0118:"E",\u0119:"e",\u011A:"E",\u011B:"e",\u011C:"G",\u01F4:"G",\u011D:"g",\u01F5:"g",\u011E:"G",\u011F:"g",\u0120:"G",\u0121:"g",\u0122:"G",\u0123:"g",\u0124:"H",\u0125:"h",\u0126:"H",\u0127:"h",\u1E2A:"H",\u1E2B:"h",\u0128:"I",\u0129:"i",\u012A:"I",\u012B:"i",\u012C:"I",\u012D:"i",\u012E:"I",\u012F:"i",\u0130:"I",\u0131:"i",\u0132:"IJ",\u0133:"ij",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u1E30:"K",\u1E31:"k",K\u0306:"K",k\u0306:"k",\u0139:"L",\u013A:"l",\u013B:"L",\u013C:"l",\u013D:"L",\u013E:"l",\u013F:"L",\u0140:"l",\u0141:"l",\u0142:"l",\u1E3E:"M",\u1E3F:"m",M\u0306:"M",m\u0306:"m",\u0143:"N",\u0144:"n",\u0145:"N",\u0146:"n",\u0147:"N",\u0148:"n",\u0149:"n",N\u0306:"N",n\u0306:"n",\u014C:"O",\u014D:"o",\u014E:"O",\u014F:"o",\u0150:"O",\u0151:"o",\u0152:"OE",\u0153:"oe",P\u0306:"P",p\u0306:"p",\u0154:"R",\u0155:"r",\u0156:"R",\u0157:"r",\u0158:"R",\u0159:"r",R\u0306:"R",r\u0306:"r",\u0212:"R",\u0213:"r",\u015A:"S",\u015B:"s",\u015C:"S",\u015D:"s",\u015E:"S",\u0218:"S",\u0219:"s",\u015F:"s",\u0160:"S",\u0161:"s",\u0162:"T",\u0163:"t",\u021B:"t",\u021A:"T",\u0164:"T",\u0165:"t",\u0166:"T",\u0167:"t",T\u0306:"T",t\u0306:"t",\u0168:"U",\u0169:"u",\u016A:"U",\u016B:"u",\u016C:"U",\u016D:"u",\u016E:"U",\u016F:"u",\u0170:"U",\u0171:"u",\u0172:"U",\u0173:"u",\u0216:"U",\u0217:"u",V\u0306:"V",v\u0306:"v",\u0174:"W",\u0175:"w",\u1E82:"W",\u1E83:"w",X\u0306:"X",x\u0306:"x",\u0176:"Y",\u0177:"y",\u0178:"Y",Y\u0306:"Y",y\u0306:"y",\u0179:"Z",\u017A:"z",\u017B:"Z",\u017C:"z",\u017D:"Z",\u017E:"z",\u017F:"s",\u0192:"f",\u01A0:"O",\u01A1:"o",\u01AF:"U",\u01B0:"u",\u01CD:"A",\u01CE:"a",\u01CF:"I",\u01D0:"i",\u01D1:"O",\u01D2:"o",\u01D3:"U",\u01D4:"u",\u01D5:"U",\u01D6:"u",\u01D7:"U",\u01D8:"u",\u01D9:"U",\u01DA:"u",\u01DB:"U",\u01DC:"u",\u1EE8:"U",\u1EE9:"u",\u1E78:"U",\u1E79:"u",\u01FA:"A",\u01FB:"a",\u01FC:"AE",\u01FD:"ae",\u01FE:"O",\u01FF:"o",\u00DE:"TH",\u00FE:"th",\u1E54:"P",\u1E55:"p",\u1E64:"S",\u1E65:"s",X\u0301:"X",x\u0301:"x",\u0403:"\u0413",\u0453:"\u0433",\u040C:"\u041A",\u045C:"\u043A",A\u030B:"A",a\u030B:"a",E\u030B:"E",e\u030B:"e",I\u030B:"I",i\u030B:"i",\u01F8:"N",\u01F9:"n",\u1ED2:"O",\u1ED3:"o",\u1E50:"O",\u1E51:"o",\u1EEA:"U",\u1EEB:"u",\u1E80:"W",\u1E81:"w",\u1EF2:"Y",\u1EF3:"y",\u0200:"A",\u0201:"a",\u0204:"E",\u0205:"e",\u0208:"I",\u0209:"i",\u020C:"O",\u020D:"o",\u0210:"R",\u0211:"r",\u0214:"U",\u0215:"u",B\u030C:"B",b\u030C:"b",\u010C\u0323:"C",\u010D\u0323:"c",\u00CA\u030C:"E",\u00EA\u030C:"e",F\u030C:"F",f\u030C:"f",\u01E6:"G",\u01E7:"g",\u021E:"H",\u021F:"h",J\u030C:"J",\u01F0:"j",\u01E8:"K",\u01E9:"k",M\u030C:"M",m\u030C:"m",P\u030C:"P",p\u030C:"p",Q\u030C:"Q",q\u030C:"q",\u0158\u0329:"R",\u0159\u0329:"r",\u1E66:"S",\u1E67:"s",V\u030C:"V",v\u030C:"v",W\u030C:"W",w\u030C:"w",X\u030C:"X",x\u030C:"x",Y\u030C:"Y",y\u030C:"y",A\u0327:"A",a\u0327:"a",B\u0327:"B",b\u0327:"b",\u1E10:"D",\u1E11:"d",\u0228:"E",\u0229:"e",\u0190\u0327:"E",\u025B\u0327:"e",\u1E28:"H",\u1E29:"h",I\u0327:"I",i\u0327:"i",\u0197\u0327:"I",\u0268\u0327:"i",M\u0327:"M",m\u0327:"m",O\u0327:"O",o\u0327:"o",Q\u0327:"Q",q\u0327:"q",U\u0327:"U",u\u0327:"u",X\u0327:"X",x\u0327:"x",Z\u0327:"Z",z\u0327:"z",\u0439:"\u0438",\u0419:"\u0418",\u0451:"\u0435",\u0401:"\u0415"},G6=Object.keys(H6).join("|"),gge=new RegExp(G6,"g"),bge=new RegExp(G6,"");function kge(e){return H6[e]}var W6=function(e){return e.replace(gge,kge)},vge=function(e){return!!e.match(bge)};Yx.exports=W6;Yx.exports.has=vge;Yx.exports.remove=W6});var nj=te((S5e,rj)=>{rj.exports=window.wp.apiFetch});var oM=te((x5e,ij)=>{ij.exports=window.wp.htmlEntities});var av=te((Y5e,Cj)=>{Cj.exports=window.wp.styleEngine});var st=te((qVe,qj)=>{qj.exports=window.wp.keycodes});var ze=te((m3e,lU)=>{lU.exports=window.wp.dom});var uU=te(gM=>{"use strict";Object.defineProperty(gM,"__esModule",{value:!0});gM.default=cU;function cU(){}cU.prototype={diff:function(t,o){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r=="function"&&(n=r,r={}),this.options=r;var i=this;function s(g){return n?(setTimeout(function(){n(void 0,g)},0),!0):g}t=this.castInput(t),o=this.castInput(o),t=this.removeEmpty(this.tokenize(t)),o=this.removeEmpty(this.tokenize(o));var a=o.length,c=t.length,u=1,d=a+c,f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],o,t,0);if(f[0].newPos+1>=a&&m+1>=c)return s([{value:this.join(o),count:o.length}]);function p(){for(var g=-1*u;g<=u;g+=2){var b=void 0,k=f[g-1],y=f[g+1],v=(y?y.newPos:0)-g;k&&(f[g-1]=void 0);var S=k&&k.newPos+1=a&&v+1>=c)return s(dbe(i,b.components,o,t,i.useLongestToken));f[g]=b}u++}if(n)(function g(){setTimeout(function(){if(u>d)return n();p()||g()},0)})();else for(;u<=d;){var h=p();if(h)return h}},pushComponent:function(t,o,r){var n=t[t.length-1];n&&n.added===o&&n.removed===r?t[t.length-1]={count:n.count+1,added:o,removed:r}:t.push({count:1,added:o,removed:r})},extractCommon:function(t,o,r,n){for(var i=o.length,s=r.length,a=t.newPos,c=a-n,u=0;a+1p.length?g:p}),u.value=e.join(d)}else u.value=e.join(o.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}var m=t[s-1];return s>1&&typeof m.value=="string"&&(m.added||m.removed)&&e.equals("",m.value)&&(t[s-2].value+=m.value,t.pop()),t}function fbe(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var fU=te(hv=>{"use strict";Object.defineProperty(hv,"__esModule",{value:!0});hv.diffChars=hbe;hv.characterDiff=void 0;var mbe=pbe(uU());function pbe(e){return e&&e.__esModule?e:{default:e}}var dU=new mbe.default;hv.characterDiff=dU;function hbe(e,t,o){return dU.diff(e,t,o)}});var Gs=te((T3e,BU)=>{BU.exports=window.React});var TU=te((I3e,EU)=>{"use strict";var vbe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";EU.exports=vbe});var RU=te((P3e,OU)=>{"use strict";var ybe=TU();function IU(){}function PU(){}PU.resetWarningCache=IU;OU.exports=function(){function e(r,n,i,s,a,c){if(c!==ybe){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var o={array:e,bigint: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:PU,resetWarningCache:IU};return o.PropTypes=o,o}});var LU=te((A3e,AU)=>{AU.exports=RU()();var O3e,R3e});var NU=te((ww,MU)=>{(function(e,t){if(typeof define=="function"&&define.amd)define(["module","exports"],t);else if(typeof ww<"u")t(MU,ww);else{var o={exports:{}};t(o,o.exports),e.autosize=o.exports}})(ww,function(e,t){"use strict";var o=typeof Map=="function"?new Map:(function(){var c=[],u=[];return{has:function(f){return c.indexOf(f)>-1},get:function(f){return u[c.indexOf(f)]},set:function(f,m){c.indexOf(f)===-1&&(c.push(f),u.push(m))},delete:function(f){var m=c.indexOf(f);m>-1&&(c.splice(m,1),u.splice(m,1))}}})(),r=function(u){return new Event(u,{bubbles:!0})};try{new Event("test")}catch{r=function(d){var f=document.createEvent("Event");return f.initEvent(d,!0,!1),f}}function n(c){if(!c||!c.nodeName||c.nodeName!=="TEXTAREA"||o.has(c))return;var u=null,d=null,f=null;function m(){var v=window.getComputedStyle(c,null);v.resize==="vertical"?c.style.resize="none":v.resize==="both"&&(c.style.resize="horizontal"),v.boxSizing==="content-box"?u=-(parseFloat(v.paddingTop)+parseFloat(v.paddingBottom)):u=parseFloat(v.borderTopWidth)+parseFloat(v.borderBottomWidth),isNaN(u)&&(u=0),b()}function p(v){{var S=c.style.width;c.style.width="0px",c.offsetWidth,c.style.width=S}c.style.overflowY=v}function h(v){for(var S=[];v&&v.parentNode&&v.parentNode instanceof Element;)v.parentNode.scrollTop&&S.push({node:v.parentNode,scrollTop:v.parentNode.scrollTop}),v=v.parentNode;return S}function g(){if(c.scrollHeight!==0){var v=h(c),S=document.documentElement&&document.documentElement.scrollTop;c.style.height="",c.style.height=c.scrollHeight+u+"px",d=c.clientWidth,v.forEach(function(w){w.node.scrollTop=w.scrollTop}),S&&(document.documentElement.scrollTop=S)}}function b(){g();var v=Math.round(parseFloat(c.style.height)),S=window.getComputedStyle(c,null),w=S.boxSizing==="content-box"?Math.round(parseFloat(S.height)):c.offsetHeight;if(w"u"||typeof window.getComputedStyle!="function"?(a=function(u){return u},a.destroy=function(c){return c},a.update=function(c){return c}):(a=function(u,d){return u&&Array.prototype.forEach.call(u.length?u:[u],function(f){return n(f,d)}),u},a.destroy=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],i),c},a.update=function(c){return c&&Array.prototype.forEach.call(c.length?c:[c],s),c}),t.default=a,e.exports=t.default})});var VU=te((L3e,DU)=>{var _be=function(e,t,o){return o=window.getComputedStyle,(o?o(e):e.currentStyle)[t.replace(/-(\w)/gi,function(r,n){return n.toUpperCase()})]};DU.exports=_be});var zU=te((M3e,FU)=>{var kM=VU();function Sbe(e){var t=kM(e,"line-height"),o=parseFloat(t,10);if(t===o+""){var r=e.style.lineHeight;e.style.lineHeight=t+"em",t=kM(e,"line-height"),o=parseFloat(t,10),r?e.style.lineHeight=r:delete e.style.lineHeight}if(t.indexOf("pt")!==-1?(o*=4,o/=3):t.indexOf("mm")!==-1?(o*=96,o/=25.4):t.indexOf("cm")!==-1?(o*=96,o/=2.54):t.indexOf("in")!==-1?o*=96:t.indexOf("pc")!==-1&&(o*=16),o=Math.round(o),t==="normal"){var n=e.nodeName,i=document.createElement(n);i.innerHTML=" ",n.toUpperCase()==="TEXTAREA"&&i.setAttribute("rows","1");var s=kM(e,"font-size");i.style.fontSize=s,i.style.padding="0px",i.style.border="0px";var a=document.body;a.appendChild(i);var c=i.offsetHeight;o=c,a.removeChild(i)}return o}FU.exports=Sbe});var UU=te(gl=>{"use strict";var xbe=gl&&gl.__extends||(function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])};return function(t,o){e(t,o);function r(){this.constructor=t}t.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)}})(),vM=gl&&gl.__assign||Object.assign||function(e){for(var t,o=1,r=arguments.length;o{"use strict";yM.__esModule=!0;var Tbe=UU();yM.default=Tbe.TextareaAutosize});var bv=te((z3e,$U)=>{$U.exports=window.wp.warning});var HH=te((nFe,UH)=>{UH.exports=window.ReactDOM});var bC=te((F4e,A8)=>{A8.exports=window.wp.blob});var vl=te((hze,Y8)=>{Y8.exports=window.wp.keyboardShortcuts});var jC=te(()=>{});var UC=te(()=>{});var _N=te(()=>{});var W7=te((O6e,G7)=>{var cye="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",uye=(e,t=21)=>(o=t)=>{let r="",n=o|0;for(;n--;)r+=e[Math.random()*e.length|0];return r},dye=(e=21)=>{let t="",o=e|0;for(;o--;)t+=cye[Math.random()*64|0];return t};G7.exports={nanoid:dye,customAlphabet:uye}});var SN=te(()=>{});var K7=te((L6e,xN)=>{var we=String,$7=function(){return{isColorSupported:!1,reset:we,bold:we,dim:we,italic:we,underline:we,inverse:we,hidden:we,strikethrough:we,black:we,red:we,green:we,yellow:we,blue:we,magenta:we,cyan:we,white:we,gray:we,bgBlack:we,bgRed:we,bgGreen:we,bgYellow:we,bgBlue:we,bgMagenta:we,bgCyan:we,bgWhite:we,blackBright:we,redBright:we,greenBright:we,yellowBright:we,blueBright:we,magentaBright:we,cyanBright:we,whiteBright:we,bgBlackBright:we,bgRedBright:we,bgGreenBright:we,bgYellowBright:we,bgBlueBright:we,bgMagentaBright:we,bgCyanBright:we,bgWhiteBright:we}};xN.exports=$7();xN.exports.createColors=$7});var HC=te((M6e,Z7)=>{"use strict";var q7=K7(),Y7=SN(),$v=class e extends Error{constructor(t,o,r,n,i,s){super(t),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),n&&(this.source=n),s&&(this.plugin=s),typeof o<"u"&&typeof r<"u"&&(typeof o=="number"?(this.line=o,this.column=r):(this.line=o.line,this.column=o.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let o=this.source;t==null&&(t=q7.isColorSupported),Y7&&t&&(o=Y7(o));let r=o.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),s=String(i).length,a,c;if(t){let{bold:u,gray:d,red:f}=q7.createColors(!0);a=m=>u(f(m)),c=m=>d(m)}else a=c=u=>u;return r.slice(n,i).map((u,d)=>{let f=n+1+d,m=" "+(" "+f).slice(-s)+" | ";if(f===this.line){let p=c(m.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+c(m)+u+` `+p+a("^")}return" "+c(m)+u}).join(` `)}toString(){let t=this.showSourceCode();return t&&(t=` `+t+` `),this.name+": "+this.message+t}};Z7.exports=$v;$v.default=$v});var X7=te(()=>{});var t9=te((V6e,e9)=>{"use strict";var{SourceMapConsumer:Q7,SourceMapGenerator:J7}=jC(),{existsSync:fye,readFileSync:mye}=X7(),{dirname:wN,join:pye}=UC();function hye(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var Kv=class{constructor(t,o){if(o.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=o.map?o.map.prev:void 0,n=this.loadMap(o.from,r);!this.mapFile&&o.from&&(this.mapFile=o.from),this.mapFile&&(this.root=wN(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new Q7(this.text)),this.consumerCache}decodeInline(t){let o=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/;if(n.test(t)||i.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(o.test(t)||r.test(t))return hye(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let o=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!o)return;let r=t.lastIndexOf(o.pop()),n=t.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(t.substring(r,n)))}loadFile(t){if(this.root=wN(t),fye(t))return this.mapFile=t,mye(t,"utf-8").toString().trim()}loadMap(t,o){if(o===!1)return!1;if(o){if(typeof o=="string")return o;if(typeof o=="function"){let r=o(t);if(r){let n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(o instanceof Q7)return J7.fromSourceMap(o).toString();if(o instanceof J7)return o.toString();if(this.isMap(o))return JSON.stringify(o);throw new Error("Unsupported previous source map format: "+o.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return t&&(r=pye(wN(t),r)),this.loadFile(r)}}}startWith(t,o){return t?t.substr(0,o.length)===o:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};e9.exports=Kv;Kv.default=Kv});var IN=te((F6e,i9)=>{"use strict";var{SourceMapConsumer:gye,SourceMapGenerator:bye}=jC(),{fileURLToPath:o9,pathToFileURL:GC}=_N(),{isAbsolute:EN,resolve:TN}=UC(),{nanoid:kye}=W7(),CN=SN(),r9=HC(),vye=t9(),BN=Symbol("fromOffsetCache"),yye=!!(gye&&bye),n9=!!(TN&&EN),mh=class{constructor(t,o={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,o.from&&(!n9||/^\w+:\/\//.test(o.from)||EN(o.from)?this.file=o.from:this.file=TN(o.from)),n9&&yye){let r=new vye(this.css,o);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,o,r,n={}){let i,s,a;if(o&&typeof o=="object"){let u=o,d=r;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);o=f.line,r=f.col}else o=u.line,r=u.column;if(typeof d.offset=="number"){let f=this.fromOffset(d.offset);s=f.line,a=f.col}else s=d.line,a=d.column}else if(!r){let u=this.fromOffset(o);o=u.line,r=u.col}let c=this.origin(o,r,s,a);return c?i=new r9(t,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,n.plugin):i=new r9(t,s===void 0?o:{column:r,line:o},s===void 0?r:{column:a,line:s},this.css,this.file,n.plugin),i.input={column:r,endColumn:a,endLine:s,line:o,source:this.css},this.file&&(GC&&(i.input.url=GC(this.file).toString()),i.input.file=this.file),i}fromOffset(t){let o,r;if(this[BN])r=this[BN];else{let i=this.css.split(` `);r=new Array(i.length);let s=0;for(let a=0,c=i.length;a=o)n=r.length-1;else{let i=r.length-2,s;for(;n>1),t=r[s+1])n=s+1;else{n=s;break}}return{col:t-r[n]+1,line:n+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:TN(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,o,r,n){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:o,line:t});if(!s.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:n,line:r}));let c;EN(s.source)?c=GC(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||GC(this.map.mapFile));let u={column:s.column,endColumn:a&&a.column,endLine:a&&a.line,line:s.line,url:c.toString()};if(c.protocol==="file:")if(o9)u.file=o9(c);else throw new Error("file: protocol is not available in this PostCSS build");let d=i.sourceContentFor(s.source);return d&&(u.source=d),u}toJSON(){let t={};for(let o of["hasBOM","css","file","id"])this[o]!=null&&(t[o]=this[o]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}get from(){return this.file||this.id}};i9.exports=mh;mh.default=mh;CN&&CN.registerInput&&CN.registerInput(mh)});var ON=te((z6e,d9)=>{"use strict";var{SourceMapConsumer:a9,SourceMapGenerator:WC}=jC(),{dirname:$C,relative:l9,resolve:c9,sep:u9}=UC(),{pathToFileURL:s9}=_N(),_ye=IN(),Sye=!!(a9&&WC),xye=!!($C&&c9&&l9&&u9),PN=class{constructor(t,o,r,n){this.stringify=t,this.mapOpts=r.map||{},this.root=o,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let o=` `;this.css.includes(`\r `)&&(o=`\r `),this.css+=o+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let o=this.toUrl(this.path(t.file)),r=t.root||$C(t.file),n;this.mapOpts.sourcesContent===!1?(n=new a9(t.text),n.sourcesContent&&(n.sourcesContent=null)):n=t.consumer(),this.map.applySourceMap(n,o,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let o=this.root.nodes.length-1;o>=0;o--)t=this.root.nodes[o],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(o)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),xye&&Sye&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,o=>{t+=o}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=WC.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new WC({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new WC({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,o=1,r="",n={generated:{column:0,line:0},original:{column:0,line:0},source:""},i,s;this.stringify(this.root,(a,c,u)=>{if(this.css+=a,c&&u!=="end"&&(n.generated.line=t,n.generated.column=o-1,c.source&&c.source.start?(n.source=this.sourcePath(c),n.original.line=c.source.start.line,n.original.column=c.source.start.column-1,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,this.map.addMapping(n))),i=a.match(/\n/g),i?(t+=i.length,s=a.lastIndexOf(` `),o=a.length-s):o+=a.length,c&&u!=="start"){let d=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==d.last||d.raws.semicolon)&&(c.source&&c.source.end?(n.source=this.sourcePath(c),n.original.line=c.source.end.line,n.original.column=c.source.end.column-1,n.generated.line=t,n.generated.column=o-2,this.map.addMapping(n)):(n.source=r,n.original.line=1,n.original.column=0,n.generated.line=t,n.generated.column=o-1,this.map.addMapping(n)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(o=>o.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let o=this.memoizedPaths.get(t);if(o)return o;let r=this.opts.to?$C(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=$C(c9(r,this.mapOpts.annotation)));let n=l9(r,t);return this.memoizedPaths.set(t,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let o=t.source.input.map;this.previousMaps.includes(o)||this.previousMaps.push(o)}});else{let t=new _ye(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(o=>{if(o.source){let r=o.source.input.from;if(r&&!t[r]){t[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,o.source.input.css)}}});else if(this.css){let o=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(o,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let o=this.memoizedFileURLs.get(t);if(o)return o;if(s9){let r=s9(t).toString();return this.memoizedFileURLs.set(t,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let o=this.memoizedURLs.get(t);if(o)return o;u9==="\\"&&(t=t.replace(/\\/g,"/"));let r=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,r),r}};d9.exports=PN});var RN=te((j6e,m9)=>{"use strict";var f9={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function wye(e){return e[0].toUpperCase()+e.slice(1)}var qv=class{constructor(t){this.builder=t}atrule(t,o){let r="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?r+=t.raws.afterName:n&&(r+=" "),t.nodes)this.block(t,r+n);else{let i=(t.raws.between||"")+(o?";":"");this.builder(r+n+i,t)}}beforeAfter(t,o){let r;t.type==="decl"?r=this.raw(t,null,"beforeDecl"):t.type==="comment"?r=this.raw(t,null,"beforeComment"):o==="before"?r=this.raw(t,null,"beforeRule"):r=this.raw(t,null,"beforeClose");let n=t.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(` `)){let s=this.raw(t,null,"indent");if(s.length)for(let a=0;a0&&t.nodes[o].type==="comment";)o-=1;let r=this.raw(t,"semicolon");for(let n=0;n{if(n=c.raws[o],typeof n<"u")return!1})}return typeof n>"u"&&(n=f9[r]),s.rawCache[r]=n,n}rawBeforeClose(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return o=r.raws.after,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeComment(t,o){let r;return t.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(o,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(t,o){let r;return t.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(o,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(t){let o;return t.walk(r=>{if(r.type!=="decl"&&(o=r.raws.between,typeof o<"u"))return!1}),o}rawBeforeRule(t){let o;return t.walk(r=>{if(r.nodes&&(r.parent!==t||t.first!==r)&&typeof r.raws.before<"u")return o=r.raws.before,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawColon(t){let o;return t.walkDecls(r=>{if(typeof r.raws.between<"u")return o=r.raws.between.replace(/[^\s:]/g,""),!1}),o}rawEmptyBody(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length===0&&(o=r.raws.after,typeof o<"u"))return!1}),o}rawIndent(t){if(t.raws.indent)return t.raws.indent;let o;return t.walk(r=>{let n=r.parent;if(n&&n!==t&&n.parent&&n.parent===t&&typeof r.raws.before<"u"){let i=r.raws.before.split(` `);return o=i[i.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(t){let o;return t.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(o=r.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(t,o){let r=t[o],n=t.raws[o];return n&&n.value===r?n.raw:r}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,o){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,o)}};m9.exports=qv;qv.default=qv});var KC=te((U6e,p9)=>{"use strict";var Cye=RN();function AN(e,t){new Cye(t).stringify(e)}p9.exports=AN;AN.default=AN});var LN=te((H6e,g9)=>{"use strict";var h9={};g9.exports=function(t){h9[t]||(h9[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var qC=te((G6e,MN)=>{"use strict";MN.exports.isClean=Symbol("isClean");MN.exports.my=Symbol("my")});var ZC=te((W6e,b9)=>{"use strict";var{isClean:YC,my:Bye}=qC(),Eye=HC(),Tye=RN(),Iye=KC();function NN(e,t){let o=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||r==="proxyCache")continue;let n=e[r],i=typeof n;r==="parent"&&i==="object"?t&&(o[r]=t):r==="source"?o[r]=n:Array.isArray(n)?o[r]=n.map(s=>NN(s,o)):(i==="object"&&n!==null&&(n=NN(n)),o[r]=n)}return o}var Yv=class{constructor(t={}){this.raws={},this[YC]=!1,this[Bye]=!0;for(let o in t)if(o==="nodes"){this.nodes=[];for(let r of t[o])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[o]=t[o]}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let o=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${o.input.from}:${o.start.line}:${o.start.column}$&`)}return t}after(t){return this.parent.insertAfter(this,t),this}assign(t={}){for(let o in t)this[o]=t[o];return this}before(t){return this.parent.insertBefore(this,t),this}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}clone(t={}){let o=NN(this);for(let r in t)o[r]=t[r];return o}cloneAfter(t={}){let o=this.clone(t);return this.parent.insertAfter(this,o),o}cloneBefore(t={}){let o=this.clone(t);return this.parent.insertBefore(this,o),o}error(t,o={}){if(this.source){let{end:r,start:n}=this.rangeBy(o);return this.source.input.error(t,{column:n.column,line:n.line},{column:r.column,line:r.line},o)}return new Eye(t)}getProxyProcessor(){return{get(t,o){return o==="proxyOf"?t:o==="root"?()=>t.root().toProxy():t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="prop"||o==="value"||o==="name"||o==="params"||o==="important"||o==="text")&&t.markDirty()),!0}}}markDirty(){if(this[YC]){this[YC]=!1;let t=this;for(;t=t.parent;)t[YC]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t,o){let r=this.source.start;if(t.index)r=this.positionInside(t.index,o);else if(t.word){o=this.toString();let n=o.indexOf(t.word);n!==-1&&(r=this.positionInside(n,o))}return r}positionInside(t,o){let r=o||this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;stypeof c=="object"&&c.toJSON?c.toJSON(null,o):c);else if(typeof a=="object"&&a.toJSON)r[s]=a.toJSON(null,o);else if(s==="source"){let c=o.get(a.input);c==null&&(c=i,o.set(a.input,i),i++),r[s]={end:a.end,inputId:c,start:a.start}}else r[s]=a}return n&&(r.inputs=[...o.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=Iye){t.stringify&&(t=t.stringify);let o="";return t(this,r=>{o+=r}),o}warn(t,o,r){let n={node:this};for(let i in r)n[i]=r[i];return t.warn(o,n)}get proxyOf(){return this}};b9.exports=Yv;Yv.default=Yv});var DN=te(($6e,k9)=>{"use strict";var Pye=ZC(),Zv=class extends Pye{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};k9.exports=Zv;Zv.default=Zv});var VN=te((K6e,v9)=>{"use strict";var Oye=ZC(),Xv=class extends Oye{constructor(t){super(t),this.type="comment"}};v9.exports=Xv;Xv.default=Xv});var Pf=te((q6e,T9)=>{"use strict";var{isClean:y9,my:_9}=qC(),S9=DN(),x9=VN(),Rye=ZC(),w9,FN,zN,C9;function B9(e){return e.map(t=>(t.nodes&&(t.nodes=B9(t.nodes)),delete t.source,t))}function E9(e){if(e[y9]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)E9(t)}var ss=class e extends Rye{append(...t){for(let o of t){let r=this.normalize(o,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let o of this.nodes)o.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let o=this.getIterator(),r,n;for(;this.indexes[o]t[o](...r.map(n=>typeof n=="function"?(i,s)=>n(i.toProxy(),s):n)):o==="every"||o==="some"?r=>t[o]((n,...i)=>r(n.toProxy(),...i)):o==="root"?()=>t.root().toProxy():o==="nodes"?t.nodes.map(r=>r.toProxy()):o==="first"||o==="last"?t[o].toProxy():t[o]:t[o]},set(t,o,r){return t[o]===r||(t[o]=r,(o==="name"||o==="params"||o==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,o){let r=this.index(t),n=this.normalize(o,this.proxyOf.nodes[r]).reverse();r=this.index(t);for(let s of n)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let n of t)n.parent&&n.parent.removeChild(n,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new S9(t)]}else if(t.selector)t=[new FN(t)];else if(t.name)t=[new zN(t)];else if(t.text)t=[new x9(t)];else throw new Error("Unknown node type in node creation");return t.map(n=>(n[_9]||e.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[y9]&&E9(n),typeof n.raws.before>"u"&&o&&typeof o.raws.before<"u"&&(n.raws.before=o.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}prepend(...t){t=t.reverse();for(let o of t){let r=this.normalize(o,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let o;for(let r in this.indexes)o=this.indexes[r],o>=t&&(this.indexes[r]=o-1);return this.markDirty(),this}replaceValues(t,o,r){return r||(r=o,o={}),this.walkDecls(n=>{o.props&&!o.props.includes(n.prop)||o.fast&&!n.value.includes(o.fast)||(n.value=n.value.replace(t,r))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((o,r)=>{let n;try{n=t(o,r)}catch(i){throw o.addToError(i)}return n!==!1&&o.walk&&(n=o.walk(t)),n})}walkAtRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&t.test(r.name))return o(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="atrule")return o(r,n)}))}walkComments(t){return this.walk((o,r)=>{if(o.type==="comment")return t(o,r)})}walkDecls(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&t.test(r.prop))return o(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="decl")return o(r,n)}))}walkRules(t,o){return o?t instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&t.test(r.selector))return o(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===t)return o(r,n)}):(o=t,this.walk((r,n)=>{if(r.type==="rule")return o(r,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ss.registerParse=e=>{w9=e};ss.registerRule=e=>{FN=e};ss.registerAtRule=e=>{zN=e};ss.registerRoot=e=>{C9=e};T9.exports=ss;ss.default=ss;ss.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,zN.prototype):e.type==="rule"?Object.setPrototypeOf(e,FN.prototype):e.type==="decl"?Object.setPrototypeOf(e,S9.prototype):e.type==="comment"?Object.setPrototypeOf(e,x9.prototype):e.type==="root"&&Object.setPrototypeOf(e,C9.prototype),e[_9]=!0,e.nodes&&e.nodes.forEach(t=>{ss.rebuild(t)})}});var O9=te((Y6e,P9)=>{"use strict";var XC=/[\t\n\f\r "#'()/;[\\\]{}]/g,QC=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Aye=/.[\r\n"'(/\\]/,I9=/[\da-f]/i;P9.exports=function(t,o={}){let r=t.css.valueOf(),n=o.ignoreErrors,i,s,a,c,u,d,f,m,p,h,g=r.length,b=0,k=[],y=[];function v(){return b}function S(P){throw t.error("Unclosed "+P,b)}function w(){return y.length===0&&b>=g}function C(P){if(y.length)return y.pop();if(b>=g)return;let R=P?P.ignoreUnclosed:!1;switch(i=r.charCodeAt(b),i){case 10:case 32:case 9:case 13:case 12:{s=b;do s+=1,i=r.charCodeAt(s);while(i===32||i===10||i===9||i===13||i===12);h=["space",r.slice(b,s)],b=s-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let B=String.fromCharCode(i);h=[B,B,b];break}case 40:{if(m=k.length?k.pop()[1]:"",p=r.charCodeAt(b+1),m==="url"&&p!==39&&p!==34&&p!==32&&p!==10&&p!==9&&p!==12&&p!==13){s=b;do{if(d=!1,s=r.indexOf(")",s+1),s===-1)if(n||R){s=b;break}else S("bracket");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);h=["brackets",r.slice(b,s+1),b,s],b=s}else s=r.indexOf(")",b+1),c=r.slice(b,s+1),s===-1||Aye.test(c)?h=["(","(",b]:(h=["brackets",c,b,s],b=s);break}case 39:case 34:{a=i===39?"'":'"',s=b;do{if(d=!1,s=r.indexOf(a,s+1),s===-1)if(n||R){s=b+1;break}else S("string");for(f=s;r.charCodeAt(f-1)===92;)f-=1,d=!d}while(d);h=["string",r.slice(b,s+1),b,s],b=s;break}case 64:{XC.lastIndex=b+1,XC.test(r),XC.lastIndex===0?s=r.length-1:s=XC.lastIndex-2,h=["at-word",r.slice(b,s+1),b,s],b=s;break}case 92:{for(s=b,u=!0;r.charCodeAt(s+1)===92;)s+=1,u=!u;if(i=r.charCodeAt(s+1),u&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(s+=1,I9.test(r.charAt(s)))){for(;I9.test(r.charAt(s+1));)s+=1;r.charCodeAt(s+1)===32&&(s+=1)}h=["word",r.slice(b,s+1),b,s],b=s;break}default:{i===47&&r.charCodeAt(b+1)===42?(s=r.indexOf("*/",b+2)+1,s===0&&(n||R?s=r.length:S("comment")),h=["comment",r.slice(b,s+1),b,s],b=s):(QC.lastIndex=b+1,QC.test(r),QC.lastIndex===0?s=r.length-1:s=QC.lastIndex-2,h=["word",r.slice(b,s+1),b,s],k.push(h),b=s);break}}return b++,h}function E(P){y.push(P)}return{back:E,endOfFile:w,nextToken:C,position:v}}});var L9=te((Z6e,A9)=>{"use strict";var R9=Pf(),ph=class extends R9{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};A9.exports=ph;ph.default=ph;R9.registerAtRule(ph)});var JC=te((X6e,V9)=>{"use strict";var M9=Pf(),N9,D9,fu=class extends M9{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,o,r){let n=super.normalize(t);if(o){if(r==="prepend")this.nodes.length>1?o.raws.before=this.nodes[1].raws.before:delete o.raws.before;else if(this.first!==o)for(let i of n)i.raws.before=o.raws.before}return n}removeChild(t,o){let r=this.index(t);return!o&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}toResult(t={}){return new N9(new D9,this,t).stringify()}};fu.registerLazyResult=e=>{N9=e};fu.registerProcessor=e=>{D9=e};V9.exports=fu;fu.default=fu;M9.registerRoot(fu)});var z9=te((Q6e,F9)=>{"use strict";var Qv={comma(e){return Qv.split(e,[","],!0)},space(e){let t=[" ",` `," "];return Qv.split(e,t)},split(e,t,o){let r=[],n="",i=!1,s=0,a=!1,c="",u=!1;for(let d of e)u?u=!1:d==="\\"?u=!0:a?d===c&&(a=!1):d==='"'||d==="'"?(a=!0,c=d):d==="("?s+=1:d===")"?s>0&&(s-=1):s===0&&t.includes(d)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=d;return(o||n!=="")&&r.push(n.trim()),r}};F9.exports=Qv;Qv.default=Qv});var H9=te((J6e,U9)=>{"use strict";var j9=Pf(),Lye=z9(),hh=class extends j9{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Lye.comma(this.selector)}set selectors(t){let o=this.selector?this.selector.match(/,\s*/):null,r=o?o[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}};U9.exports=hh;hh.default=hh;j9.registerRule(hh)});var K9=te((eje,$9)=>{"use strict";var Mye=DN(),Nye=O9(),Dye=VN(),Vye=L9(),Fye=JC(),G9=H9(),W9={empty:!0,space:!0};function zye(e){for(let t=e.length-1;t>=0;t--){let o=e[t],r=o[3]||o[2];if(r)return r}}var jN=class{constructor(t){this.input=t,this.root=new Fye,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let o=new Vye;o.name=t[1].slice(1),o.name===""&&this.unnamedAtrule(o,t),this.init(o,t[2]);let r,n,i,s=!1,a=!1,c=[],u=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),r=t[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){o.source.end=this.getPosition(t[2]),o.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(c.length>0){for(i=c.length-1,n=c[i];n&&n[0]==="space";)n=c[--i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(o.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(o,"params",c),s&&(t=c[c.length-1],o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(t){let o=this.colon(t);if(o===!1)return;let r=0,n;for(let i=o-1;i>=0&&(n=t[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}colon(t){let o=0,r,n,i;for(let[s,a]of t.entries()){if(r=a,n=r[0],n==="("&&(o+=1),n===")"&&(o-=1),o===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return s}i=r}return!1}comment(t){let o=new Dye;this.init(o,t[2]),o.source.end=this.getPosition(t[3]||t[2]),o.source.end.offset++;let r=t[1].slice(2,-2);if(/^\s*$/.test(r))o.text="",o.raws.left=r,o.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);o.text=n[2],o.raws.left=n[1],o.raws.right=n[3]}}createTokenizer(){this.tokenizer=Nye(this.input)}decl(t,o){let r=new Mye;this.init(r,t[0][2]);let n=t[t.length-1];for(n[0]===";"&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(n[3]||n[2]||zye(t)),r.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let u=t[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=t.shift()[1]}r.raws.between="";let i;for(;t.length;)if(i=t.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],a;for(;t.length&&(a=t[0][0],!(a!=="space"&&a!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let u=t.length-1;u>=0;u--){if(i=t[u],i[1].toLowerCase()==="!important"){r.important=!0;let d=this.stringFrom(t,u);d=this.spacesFromEnd(t)+d,d!==" !important"&&(r.raws.important=d);break}else if(i[1].toLowerCase()==="important"){let d=t.slice(0),f="";for(let m=u;m>0;m--){let p=d[m][0];if(f.trim().indexOf("!")===0&&p!=="space")break;f=d.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,t=d)}if(i[0]!=="space"&&i[0]!=="comment")break}t.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=s.map(u=>u[1]).join(""),s=[]),this.raw(r,"value",s.concat(t),o),r.value.includes(":")&&!o&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let o=new G9;this.init(o,t[2]),o.selector="",o.raws.between="",this.current=o}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let o=this.current.nodes[this.current.nodes.length-1];o&&o.type==="rule"&&!o.raws.ownSemicolon&&(o.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let o=this.input.fromOffset(t);return{column:o.col,line:o.line,offset:t}}init(t,o){this.current.push(t),t.source={input:this.input,start:this.getPosition(o)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let o=!1,r=null,n=!1,i=null,s=[],a=t[1].startsWith("--"),c=[],u=t;for(;u;){if(r=u[0],c.push(u),r==="("||r==="[")i||(i=u),s.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=u),s.push("}");else if(s.length===0)if(r===";")if(n){this.decl(c,a);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),o=!0;break}else r===":"&&(n=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(o=!0),s.length>0&&this.unclosedBracket(i),o&&n){if(!a)for(;c.length&&(u=c[c.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,a)}else this.unknownWord(c)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,o,r,n){let i,s,a=r.length,c="",u=!0,d,f;for(let m=0;mp+h[1],"");t.raws[o]={raw:m,value:c}}t[o]=c}rule(t){t.pop();let o=new G9;this.init(o,t[0][2]),o.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(o,"selector",t),this.current=o}spacesAndCommentsFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],!(o!=="space"&&o!=="comment"));)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let o,r="";for(;t.length&&(o=t[0][0],!(o!=="space"&&o!=="comment"));)r+=t.shift()[1];return r}spacesFromEnd(t){let o,r="";for(;t.length&&(o=t[t.length-1][0],o==="space");)r=t.pop()[1]+r;return r}stringFrom(t,o){let r="";for(let n=o;n{"use strict";var jye=Pf(),Uye=K9(),Hye=IN();function e1(e,t){let o=new Hye(e,t),r=new Uye(o);try{r.parse()}catch(n){throw n}return r.root}q9.exports=e1;e1.default=e1;jye.registerParse(e1)});var Z9=te((oje,Y9)=>{"use strict";var Jv=class{constructor(t,o={}){if(this.type="warning",this.text=t,o.node&&o.node.source){let r=o.node.rangeBy(o);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in o)this[r]=o[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Y9.exports=Jv;Jv.default=Jv});var HN=te((rje,X9)=>{"use strict";var Gye=Z9(),ey=class{constructor(t,o,r){this.processor=t,this.messages=[],this.root=o,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,o={}){o.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(o.plugin=this.lastPlugin.postcssPlugin);let r=new Gye(t,o);return this.messages.push(r),r}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};X9.exports=ey;ey.default=ey});var J9=te((ije,Q9)=>{"use strict";var Wye=ON(),$ye=KC(),nje=LN(),Kye=UN(),qye=HN(),ty=class{constructor(t,o,r){o=o.toString(),this.stringified=!1,this._processor=t,this._css=o,this._opts=r,this._map=void 0;let n,i=$ye;this.result=new qye(this._processor,n,this._opts),this.result.css=o;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new Wye(i,n,this._opts,o);if(a.isMap()){let[c,u]=a.generate();c&&(this.result.css=c),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,o){return this.async().then(t,o)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,o=Kye;try{t=o(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}};Q9.exports=ty;ty.default=ty});var GN=te((sje,oG)=>{"use strict";var Yye=Pf(),eG,tG,Of=class extends Yye{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new eG(new tG,this,t).stringify()}};Of.registerLazyResult=e=>{eG=e};Of.registerProcessor=e=>{tG=e};oG.exports=Of;Of.default=Of});var aG=te((lje,sG)=>{"use strict";var{isClean:Zs,my:Zye}=qC(),Xye=ON(),Qye=KC(),Jye=Pf(),e_e=GN(),aje=LN(),rG=HN(),t_e=UN(),o_e=JC(),r_e={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},n_e={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},i_e={Once:!0,postcssPlugin:!0,prepare:!0},gh=0;function oy(e){return typeof e=="object"&&typeof e.then=="function"}function iG(e){let t=!1,o=r_e[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[o,o+"-"+t,gh,o+"Exit",o+"Exit-"+t]:t?[o,o+"-"+t,o+"Exit",o+"Exit-"+t]:e.append?[o,gh,o+"Exit"]:[o,o+"Exit"]}function nG(e){let t;return e.type==="document"?t=["Document",gh,"DocumentExit"]:e.type==="root"?t=["Root",gh,"RootExit"]:t=iG(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function WN(e){return e[Zs]=!1,e.nodes&&e.nodes.forEach(t=>WN(t)),e}var $N={},mu=class e{constructor(t,o,r){this.stringified=!1,this.processed=!1;let n;if(typeof o=="object"&&o!==null&&(o.type==="root"||o.type==="document"))n=WN(o);else if(o instanceof e||o instanceof rG)n=WN(o.root),o.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=o.map);else{let i=t_e;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(o,r)}catch(s){this.processed=!0,this.error=s}n&&!n[Zye]&&Jye.rebuild(n)}this.result=new rG(t,n,r),this.helpers={...$N,postcss:$N,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,o){let r=this.result.lastPlugin;try{o&&o.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin?(t.plugin=r.postcssPlugin,t.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return t}prepareVisitors(){this.listeners={};let t=(o,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([o,n])};for(let o of this.plugins)if(typeof o=="object")for(let r in o){if(!n_e[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${o.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!i_e[r])if(typeof o[r]=="object")for(let n in o[r])n==="*"?t(o,r,o[r][n]):t(o,r+"-"+n.toLowerCase(),o[r][n]);else typeof o[r]=="function"&&t(o,r,o[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let r=this.visitTick(o);if(oy(r))try{await r}catch(n){let i=o[o.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[o,r]of this.listeners.OnceExit){this.result.lastPlugin=o;try{if(t.type==="document"){let n=t.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(t,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let o=this.result.root.nodes.map(r=>t.Once(r,this.helpers));return oy(o[0])?Promise.all(o):o}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(o){throw this.handleError(o)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,o=Qye;t.syntax&&(o=t.syntax.stringify),t.stringifier&&(o=t.stringifier),o.stringify&&(o=o.stringify);let n=new Xye(o,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let o=this.runOnRoot(t);if(oy(o))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[Zs];)t[Zs]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let o of t.nodes)this.visitSync(this.listeners.OnceExit,o);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,o){return this.async().then(t,o)}toString(){return this.css}visitSync(t,o){for(let[r,n]of t){this.result.lastPlugin=r;let i;try{i=n(o,this.helpers)}catch(s){throw this.handleError(s,o.proxyOf)}if(o.type!=="root"&&o.type!=="document"&&!o.parent)return!0;if(oy(i))throw this.getAsyncError()}}visitTick(t){let o=t[t.length-1],{node:r,visitors:n}=o;if(r.type!=="root"&&r.type!=="document"&&!r.parent){t.pop();return}if(n.length>0&&o.visitorIndex{n[Zs]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,t.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};mu.registerPostcss=e=>{$N=e};sG.exports=mu;mu.default=mu;o_e.registerLazyResult(mu);e_e.registerLazyResult(mu)});var cG=te((cje,lG)=>{"use strict";var s_e=J9(),a_e=aG(),l_e=GN(),c_e=JC(),Rf=class{constructor(t=[]){this.version="8.4.38",this.plugins=this.normalize(t)}normalize(t){let o=[];for(let r of t)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))o=o.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)o.push(r);else if(typeof r=="function")o.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return o}process(t,o={}){return!this.plugins.length&&!o.parser&&!o.stringifier&&!o.syntax?new s_e(this,t,o):new a_e(this,t,o)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};lG.exports=Rf;Rf.default=Rf;c_e.registerProcessor(Rf);l_e.registerProcessor(Rf)});var fG=te((uje,dG)=>{dG.exports=function(t){let o=t.prefix,r=/\s+$/.test(o)?o:`${o} `,n=t.ignoreFiles?[].concat(t.ignoreFiles):[],i=t.includeFiles?[].concat(t.includeFiles):[];return function(s){n.length&&s.source.input.file&&uG(s.source.input.file,n)||i.length&&s.source.input.file&&!uG(s.source.input.file,i)||s.walkRules(a=>{let c=["keyframes","-webkit-keyframes","-moz-keyframes","-o-keyframes","-ms-keyframes"];a.parent&&c.includes(a.parent.name)||(a.selectors=a.selectors.map(u=>t.exclude&&u_e(u,t.exclude)?u:t.transform?t.transform(o,u,r+u,s.source.input.file,a):r+u))})}};function uG(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e.includes(o))}function u_e(e,t){return t.some(o=>o instanceof RegExp?o.test(e):e===o)}});var pG=te((dje,mG)=>{var KN=40,qN=41,t1=39,YN=34,ZN=92,bh=47,XN=44,QN=58,o1=42,d_e=117,f_e=85,m_e=43,p_e=/^[a-f0-9?-]+$/i;mG.exports=function(e){for(var t=[],o=e,r,n,i,s,a,c,u,d,f=0,m=o.charCodeAt(f),p=o.length,h=[{nodes:t}],g=0,b,k="",y="",v="";f{hG.exports=function e(t,o,r){var n,i,s,a;for(n=0,i=t.length;n{function bG(e,t){var o=e.type,r=e.value,n,i;return t&&(i=t(e))!==void 0?i:o==="word"||o==="space"?r:o==="string"?(n=e.quote||"",n+r+(e.unclosed?"":n)):o==="comment"?"/*"+r+(e.unclosed?"":"*/"):o==="div"?(e.before||"")+r+(e.after||""):Array.isArray(e.nodes)?(n=kG(e.nodes,t),o!=="function"?n:r+"("+(e.before||"")+n+(e.after||"")+(e.unclosed?"":")")):r}function kG(e,t){var o,r;if(Array.isArray(e)){for(o="",r=e.length-1;~r;r-=1)o=bG(e[r],t)+o;return o}return bG(e,t)}vG.exports=kG});var SG=te((pje,_G)=>{var r1=45,n1=43,JN=46,h_e=101,g_e=69;function b_e(e){var t=e.charCodeAt(0),o;if(t===n1||t===r1){if(o=e.charCodeAt(1),o>=48&&o<=57)return!0;var r=e.charCodeAt(2);return o===JN&&r>=48&&r<=57}return t===JN?(o=e.charCodeAt(1),o>=48&&o<=57):t>=48&&t<=57}_G.exports=function(e){var t=0,o=e.length,r,n,i;if(o===0||!b_e(e))return!1;for(r=e.charCodeAt(t),(r===n1||r===r1)&&t++;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),r===JN&&n>=48&&n<=57)for(t+=2;t57));)t+=1;if(r=e.charCodeAt(t),n=e.charCodeAt(t+1),i=e.charCodeAt(t+2),(r===h_e||r===g_e)&&(n>=48&&n<=57||(n===n1||n===r1)&&i>=48&&i<=57))for(t+=n===n1||n===r1?3:2;t57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var BG=te((hje,CG)=>{var k_e=pG(),xG=gG(),wG=yG();function pu(e){return this instanceof pu?(this.nodes=k_e(e),this):new pu(e)}pu.prototype.toString=function(){return Array.isArray(this.nodes)?wG(this.nodes):""};pu.prototype.walk=function(e,t){return xG(this.nodes,e,t),this};pu.unit=SG();pu.walk=xG;pu.stringify=wG;CG.exports=pu});var TG=te((gje,eD)=>{var EG=BG();eD.exports=e=>{let o=Object.assign({skipHostRelativeUrls:!0},e);return{postcssPlugin:"rebaseUrl",Declaration(r){let n=EG(r.value),i=!1;n.walk(s=>{if(s.type!=="function"||s.value!=="url")return;let a=s.nodes[0].value,c=new URL(a,e.rootUrl);return c.pathname===a&&o.skipHostRelativeUrls||(s.nodes[0].value=c.toString(),i=!0),!1}),i&&(r.value=EG.stringify(n))}}};eD.exports.postcss=!0});var jG=te((Pje,zG)=>{zG.exports=window.wp.priorityQueue});var yy=te((H7e,$$)=>{$$.exports=window.wp.isShallowEqual});var fE=te((bKe,WY)=>{WY.exports=window.wp.tokenList});var y5=te((IKe,sZ)=>{"use strict";var qxe=function(t){return Yxe(t)&&!Zxe(t)};function Yxe(e){return!!e&&typeof e=="object"}function Zxe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Jxe(e)}var Xxe=typeof Symbol=="function"&&Symbol.for,Qxe=Xxe?Symbol.for("react.element"):60103;function Jxe(e){return e.$$typeof===Qxe}function ewe(e){return Array.isArray(e)?[]:{}}function Hy(e,t){return t.clone!==!1&&t.isMergeableObject(e)?sg(ewe(e),e,t):e}function twe(e,t,o){return e.concat(t).map(function(r){return Hy(r,o)})}function owe(e,t){if(!t.customMerge)return sg;var o=t.customMerge(e);return typeof o=="function"?o:sg}function rwe(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function nZ(e){return Object.keys(e).concat(rwe(e))}function iZ(e,t){try{return t in e}catch{return!1}}function nwe(e,t){return iZ(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function iwe(e,t,o){var r={};return o.isMergeableObject(e)&&nZ(e).forEach(function(n){r[n]=Hy(e[n],o)}),nZ(t).forEach(function(n){nwe(e,n)||(iZ(e,n)&&o.isMergeableObject(t[n])?r[n]=owe(n,o)(e[n],t[n],o):r[n]=Hy(t[n],o))}),r}function sg(e,t,o){o=o||{},o.arrayMerge=o.arrayMerge||twe,o.isMergeableObject=o.isMergeableObject||qxe,o.cloneUnlessOtherwiseSpecified=Hy;var r=Array.isArray(t),n=Array.isArray(e),i=r===n;return i?r?o.arrayMerge(e,t,o):iwe(e,t,o):Hy(t,o)}sg.all=function(t,o){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,n){return sg(r,n,o)},{})};var swe=sg;sZ.exports=swe});var mX=te((KYe,fX)=>{fX.exports=window.wp.commands});var Qu=te((vJe,IJ)=>{IJ.exports=window.wp.date});var lee=te((set,aee)=>{var oee=!1,hm,pV,hV,wT,CT,ree,BT,gV,bV,kV,nee,vV,yV,iee,see;function mn(){if(!oee){oee=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),o=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(vV=/\b(iPhone|iP[ao]d)/.exec(e),yV=/\b(iP[ao]d)/.exec(e),kV=/Android/i.exec(e),iee=/FBAN\/\w+;/i.exec(e),see=/Mobile/i.exec(e),nee=!!/Win64/.exec(e),t){hm=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,hm&&document&&document.documentMode&&(hm=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);ree=r?parseFloat(r[1])+4:hm,pV=t[2]?parseFloat(t[2]):NaN,hV=t[3]?parseFloat(t[3]):NaN,wT=t[4]?parseFloat(t[4]):NaN,wT?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),CT=t&&t[1]?parseFloat(t[1]):NaN):CT=NaN}else hm=pV=hV=CT=wT=NaN;if(o){if(o[1]){var n=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);BT=n?parseFloat(n[1].replace("_",".")):!0}else BT=!1;gV=!!o[2],bV=!!o[3]}else BT=gV=bV=!1}}var _V={ie:function(){return mn()||hm},ieCompatibilityMode:function(){return mn()||ree>hm},ie64:function(){return _V.ie()&&nee},firefox:function(){return mn()||pV},opera:function(){return mn()||hV},webkit:function(){return mn()||wT},safari:function(){return _V.webkit()},chrome:function(){return mn()||CT},windows:function(){return mn()||gV},osx:function(){return mn()||BT},linux:function(){return mn()||bV},iphone:function(){return mn()||vV},mobile:function(){return mn()||vV||yV||kV||see},nativeApp:function(){return mn()||iee},android:function(){return mn()||kV},ipad:function(){return mn()||yV}};aee.exports=_V});var uee=te((aet,cee)=>{"use strict";var ET=!!(typeof window<"u"&&window.document&&window.document.createElement),XCe={canUseDOM:ET,canUseWorkers:typeof Worker<"u",canUseEventListeners:ET&&!!(window.addEventListener||window.attachEvent),canUseViewport:ET&&!!window.screen,isInWorker:!ET};cee.exports=XCe});var pee=te((cet,mee)=>{"use strict";var dee=uee(),fee;dee.canUseDOM&&(fee=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function QCe(e,t){if(!dee.canUseDOM||t&&!("addEventListener"in document))return!1;var o="on"+e,r=o in document;if(!r){var n=document.createElement("div");n.setAttribute(o,"return;"),r=typeof n[o]=="function"}return!r&&fee&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}mee.exports=QCe});var yee=te((uet,vee)=>{"use strict";var JCe=lee(),e1e=pee(),hee=10,gee=40,bee=800;function kee(e){var t=0,o=0,r=0,n=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),r=t*hee,n=o*hee,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||n)&&e.deltaMode&&(e.deltaMode==1?(r*=gee,n*=gee):(r*=bee,n*=bee)),r&&!t&&(t=r<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:t,spinY:o,pixelX:r,pixelY:n}}kee.getEventType=function(){return JCe.firefox()?"DOMMouseScroll":e1e("wheel")?"wheel":"mousewheel"};vee.exports=kee});var See=te((det,_ee)=>{_ee.exports=yee()});var Xte=te((Jtt,Zte)=>{"use strict";Zte.exports=function e(t,o){if(t===o)return!0;if(t&&o&&typeof t=="object"&&typeof o=="object"){if(t.constructor!==o.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!e(t[n],o[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!e(t[s],o[s]))return!1}return!0}return t!==t&&o!==o}});var vOe={};Ns(vOe,{AlignmentControl:()=>qx,AlignmentToolbar:()=>U6,Autocomplete:()=>pj,BlockAlignmentControl:()=>dw,BlockAlignmentToolbar:()=>Nj,BlockBindingsAttributeControl:()=>dv,BlockBindingsSourceFieldsList:()=>uv,BlockBreadcrumb:()=>iU,BlockCanvas:()=>bX,BlockColorsStyleSelector:()=>_X,BlockContextProvider:()=>wS,BlockControls:()=>mt,BlockEdit:()=>jx,BlockEditorKeyboardShortcuts:()=>CC,BlockEditorProvider:()=>n7,BlockFormatControls:()=>ZD,BlockIcon:()=>Pe,BlockInspector:()=>Dle,BlockList:()=>vh,BlockMover:()=>BB,BlockNavigationDropdown:()=>OQ,BlockPopover:()=>T$,BlockPreview:()=>nn,BlockSelectionClearer:()=>j$,BlockSettingsMenu:()=>iE,BlockSettingsMenuControls:()=>eE,BlockStyles:()=>Bg,BlockTitle:()=>mv,BlockToolbar:()=>QZ,BlockTools:()=>Xy,BlockVerticalAlignmentControl:()=>aw,BlockVerticalAlignmentToolbar:()=>tJ,ButtonBlockAppender:()=>Cu,ButtonBlockerAppender:()=>k$,ColorPalette:()=>xJ,ColorPaletteControl:()=>BJ,ContrastChecker:()=>sT,CopyHandler:()=>zle,DefaultBlockAppender:()=>Nh,DimensionControl:()=>Ng,FontSizePicker:()=>KL,HeadingLevelDropdown:()=>UQ,HeightControl:()=>tee,InnerBlocks:()=>Sy,Inserter:()=>bi,InspectorAdvancedControls:()=>Pu,InspectorControls:()=>he,JustifyContentControl:()=>Fp,JustifyToolbar:()=>dte,LineHeightControl:()=>YT,LinkControl:()=>sd,MediaPlaceholder:()=>Roe,MediaReplaceFlow:()=>Yg,MediaUpload:()=>Su,MediaUploadCheck:()=>ds,MultiSelectScrollIntoView:()=>Gle,NavigableToolbar:()=>tg,ObserveTyping:()=>fK,PanelColorSettings:()=>Loe,PlainText:()=>Lre,RecursionProvider:()=>vF,RichText:()=>Jg,RichTextShortcut:()=>i3,RichTextToolbarButton:()=>a3,SETTINGS_DEFAULTS:()=>pk,SkipToSelectedBlock:()=>EI,ToolSelector:()=>rce,Typewriter:()=>qle,URLInput:()=>nd,URLInputButton:()=>Hre,URLPopover:()=>cd,Warning:()=>jc,WritingFlow:()=>DC,__experimentalBlockAlignmentMatrixControl:()=>Xj,__experimentalBlockFullHeightAligmentControl:()=>Kj,__experimentalBlockPatternSetup:()=>QQ,__experimentalBlockPatternsList:()=>Qs,__experimentalBlockVariationPicker:()=>HQ,__experimentalBlockVariationTransforms:()=>JE,__experimentalBorderRadiusControl:()=>nT,__experimentalColorGradientControl:()=>Xu,__experimentalColorGradientSettingsDropdown:()=>yT,__experimentalDateFormatPicker:()=>PJ,__experimentalDuotoneControl:()=>lT,__experimentalFontAppearanceControl:()=>uT,__experimentalFontFamilyControl:()=>dT,__experimentalGetBorderClassesAndStyles:()=>K2,__experimentalGetColorClassesAndStyles:()=>q2,__experimentalGetElementClassName:()=>gOe,__experimentalGetGapCSSValue:()=>Tr,__experimentalGetGradientClass:()=>Ap,__experimentalGetGradientObjectByGradientValue:()=>R6,__experimentalGetShadowClassesAndStyles:()=>k4,__experimentalGetSpacingClassesAndStyles:()=>_4,__experimentalImageEditor:()=>nte,__experimentalImageSizeControl:()=>lte,__experimentalImageURLInputUI:()=>Zre,__experimentalInspectorPopoverHeader:()=>h2,__experimentalLetterSpacingControl:()=>mT,__experimentalLibrary:()=>Ule,__experimentalLinkControl:()=>qT,__experimentalLinkControlSearchInput:()=>Nte,__experimentalLinkControlSearchItem:()=>xte,__experimentalLinkControlSearchResults:()=>Ite,__experimentalListView:()=>qE,__experimentalPanelColorGradientSettings:()=>ST,__experimentalPreviewOptions:()=>fne,__experimentalPublishDateTimePicker:()=>Jle,__experimentalRecursionProvider:()=>Yle,__experimentalResponsiveBlockControl:()=>Fre,__experimentalSpacingSizesControl:()=>cb,__experimentalTextDecorationControl:()=>hT,__experimentalTextTransformControl:()=>bT,__experimentalUnitControl:()=>jre,__experimentalUseBlockOverlayActive:()=>aU,__experimentalUseBlockPreview:()=>$G,__experimentalUseBorderProps:()=>b4,__experimentalUseColorProps:()=>y4,__experimentalUseCustomSides:()=>KF,__experimentalUseGradient:()=>rge,__experimentalUseHasRecursion:()=>Zle,__experimentalUseMultipleOriginColorsAndGradients:()=>ed,__experimentalUseResizeCanvas:()=>mne,__experimentalWritingModeControl:()=>vT,__unstableBlockSettingsMenuFirstItem:()=>NB,__unstableBlockToolbarLastItem:()=>OB,__unstableEditorStyles:()=>_l,__unstableIframe:()=>fh,__unstableInserterMenuExtension:()=>P1,__unstableRichTextInputEvent:()=>l3,__unstableUseBlockSelectionClearer:()=>Hf,__unstableUseClipboardHandler:()=>Fle,__unstableUseMouseMoveTypingReset:()=>wy,__unstableUseTypewriter:()=>gF,__unstableUseTypingObserver:()=>Cy,createCustomColorsHOC:()=>P6,getColorClassName:()=>Qn,getColorObjectByAttributeValues:()=>Ds,getColorObjectByColorValue:()=>SS,getComputedFluidTypographyValue:()=>M6,getCustomValueFromPreset:()=>bj,getFontSize:()=>Lp,getFontSizeClass:()=>Uc,getFontSizeObjectByValue:()=>$L,getGradientSlugByValue:()=>A6,getGradientValueBySlug:()=>$x,getPxFromCssUnit:()=>Yue,getSpacingPresetCssVar:()=>sv,getTypographyClassesAndStyles:()=>S4,isValueSpacingPreset:()=>sw,privateApis:()=>O4,store:()=>_,storeConfig:()=>Pp,transformStyles:()=>Af,useBlockBindingsUtils:()=>ml,useBlockCommands:()=>PE,useBlockDisplayInformation:()=>gt,useBlockEditContext:()=>Ae,useBlockEditingMode:()=>Zo,useBlockProps:()=>Mv,useCachedTruthy:()=>x4,useHasRecursion:()=>yF,useInnerBlocksProps:()=>qf,useSetting:()=>B6,useSettings:()=>fe,useStyleOverride:()=>fs,withColorContext:()=>iT,withColors:()=>O6,withFontSizes:()=>z6});var nce=l($()),Fi=l(I()),k2=l(D()),wF=l(Y()),X_=l(nt());var gS=l(I()),xc=Symbol("mayDisplayControls"),ip=Symbol("mayDisplayParentControls"),bS=Symbol("blockEditingMode"),sp=Symbol("blockBindings"),kS=Symbol("isPreviewMode"),tO={name:"",isSelected:!1},oO=(0,gS.createContext)(tO);oO.displayName="BlockEditContext";var{Provider:vS}=oO;function Ae(){return(0,gS.useContext)(oO)}var _de={grad:.9,turn:360,rad:360/(2*Math.PI)},Za=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Do=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=Math.pow(10,t)),Math.round(o*e)/o+0},Xn=function(e,t,o){return t===void 0&&(t=0),o===void 0&&(o=1),e>o?o:e>t?e:t},W4=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},V4=function(e){return{r:Xn(e.r,0,255),g:Xn(e.g,0,255),b:Xn(e.b,0,255),a:Xn(e.a)}},rO=function(e){return{r:Do(e.r),g:Do(e.g),b:Do(e.b),a:Do(e.a,3)}},Sde=/^#([0-9a-f]{3,8})$/i,yS=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},$4=function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=Math.max(t,o,r),s=i-Math.min(t,o,r),a=s?i===t?(o-r)/s:i===o?2+(r-t)/s:4+(t-o)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:n}},K4=function(e){var t=e.h,o=e.s,r=e.v,n=e.a;t=t/360*6,o/=100,r/=100;var i=Math.floor(t),s=r*(1-o),a=r*(1-(t-i)*o),c=r*(1-(1-t+i)*o),u=i%6;return{r:255*[r,a,s,s,c,r][u],g:255*[c,r,r,a,s,s][u],b:255*[s,s,c,r,r,a][u],a:n}},F4=function(e){return{h:W4(e.h),s:Xn(e.s,0,100),l:Xn(e.l,0,100),a:Xn(e.a)}},z4=function(e){return{h:Do(e.h),s:Do(e.s),l:Do(e.l),a:Do(e.a,3)}},j4=function(e){return K4((o=(t=e).s,{h:t.h,s:(o*=((r=t.l)<50?r:100-r)/100)>0?2*o/(r+o)*100:0,v:r+o,a:t.a}));var t,o,r},uk=function(e){return{h:(t=$4(e)).h,s:(n=(200-(o=t.s))*(r=t.v)/100)>0&&n<200?o*r/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,o,r,n},xde=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,wde=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cde=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Bde=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,sO={string:[[function(e){var t=Sde.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Do(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?Do(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Cde.exec(e)||Bde.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:V4({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=xde.exec(e)||wde.exec(e);if(!t)return null;var o,r,n=F4({h:(o=t[1],r=t[2],r===void 0&&(r="deg"),Number(o)*(_de[r]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return j4(n)},"hsl"]],object:[[function(e){var t=e.r,o=e.g,r=e.b,n=e.a,i=n===void 0?1:n;return Za(t)&&Za(o)&&Za(r)?V4({r:Number(t),g:Number(o),b:Number(r),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,o=e.s,r=e.l,n=e.a,i=n===void 0?1:n;if(!Za(t)||!Za(o)||!Za(r))return null;var s=F4({h:Number(t),s:Number(o),l:Number(r),a:Number(i)});return j4(s)},"hsl"],[function(e){var t=e.h,o=e.s,r=e.v,n=e.a,i=n===void 0?1:n;if(!Za(t)||!Za(o)||!Za(r))return null;var s=(function(a){return{h:W4(a.h),s:Xn(a.s,0,100),v:Xn(a.v,0,100),a:Xn(a.a)}})({h:Number(t),s:Number(o),v:Number(r),a:Number(i)});return K4(s)},"hsv"]]},U4=function(e,t){for(var o=0;o=.5},e.prototype.toHex=function(){return t=rO(this.rgba),o=t.r,r=t.g,n=t.b,s=(i=t.a)<1?yS(Do(255*i)):"","#"+yS(o)+yS(r)+yS(n)+s;var t,o,r,n,i,s},e.prototype.toRgb=function(){return rO(this.rgba)},e.prototype.toRgbString=function(){return t=rO(this.rgba),o=t.r,r=t.g,n=t.b,(i=t.a)<1?"rgba("+o+", "+r+", "+n+", "+i+")":"rgb("+o+", "+r+", "+n+")";var t,o,r,n,i},e.prototype.toHsl=function(){return z4(uk(this.rgba))},e.prototype.toHslString=function(){return t=z4(uk(this.rgba)),o=t.h,r=t.s,n=t.l,(i=t.a)<1?"hsla("+o+", "+r+"%, "+n+"%, "+i+")":"hsl("+o+", "+r+"%, "+n+"%)";var t,o,r,n,i},e.prototype.toHsv=function(){return t=$4(this.rgba),{h:Do(t.h),s:Do(t.s),v:Do(t.v),a:Do(t.a,3)};var t},e.prototype.invert=function(){return ft({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),ft(nO(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),ft(nO(this.rgba,-t))},e.prototype.grayscale=function(){return ft(nO(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),ft(H4(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),ft(H4(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?ft({r:(o=this.rgba).r,g:o.g,b:o.b,a:t}):Do(this.rgba.a,3);var o},e.prototype.hue=function(t){var o=uk(this.rgba);return typeof t=="number"?ft({h:t,s:o.s,l:o.l,a:o.a}):Do(o.h)},e.prototype.isEqual=function(t){return this.toHex()===ft(t).toHex()},e})(),ft=function(e){return e instanceof aO?e:new aO(e)},G4=[],wc=function(e){e.forEach(function(t){G4.indexOf(t)<0&&(t(aO,sO),G4.push(t))})};function Cc(e,t){var o={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var n in o)r[o[n]]=n;var i={};e.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,c,u=r[this.toHex()];if(u)return u;if(s?.closest){var d=this.toRgb(),f=1/0,m="black";if(!i.length)for(var p in o)i[p]=new e(o[p]).toRgb();for(var h in o){var g=(a=d,c=i[h],Math.pow(a.r-c.r,2)+Math.pow(a.g-c.g,2)+Math.pow(a.b-c.b,2));gc?(a+.05)/(c+.05):(c+.05)/(a+.05),(r=2)===void 0&&(r=0),n===void 0&&(n=Math.pow(10,r)),Math.floor(n*o)/n+0},e.prototype.isReadable=function(t,o){return t===void 0&&(t="#FFF"),o===void 0&&(o={}),this.contrast(t)>=(a=(s=(r=o).size)===void 0?"normal":s,(i=(n=r.level)===void 0?"AA":n)==="AAA"&&a==="normal"?7:i==="AA"&&a==="large"?3:4.5);var r,n,i,s,a}}var Q4=l(O());var Z4=l(_S()),{lock:X4,unlock:z}=(0,Z4.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/block-editor");wc([Cc,ap]);var{kebabCase:Tde}=z(Q4.privateApis),Ds=(e,t,o)=>{if(t){let r=e?.find(n=>n.slug===t);if(r)return r}return{color:o}},SS=(e,t)=>e?.find(o=>o.color===t);function Qn(e,t){if(!(!e||!t))return`has-${Tde(t)}-${e}`}function J4(e,t){let o=ft(t),r=({color:i})=>o.contrast(i),n=Math.max(...e.map(r));return e.find(i=>r(i)===n).color}var Ux=l(I()),mf=l(Y()),T6=l(O());var w6=l(D()),C6=l(Oe());var zx=l(I()),WL=l($());function tz(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t({...o,...e}),[o,e]);return(0,rz.jsx)(xS.Provider,{value:r,children:t})}var Jn=xS;var cp=l(Zr());function dk(e){if(e.includes(" "))return!1;let o=(0,cp.getProtocol)(e),r=(0,cp.isValidProtocol)(o),n=Pde(e),i=e?.startsWith("www."),s=e?.startsWith("#")&&(0,cp.isValidFragment)(e);return r||i||s||n}function Pde(e,t=6){let o=e.split(/[?#]/)[0];return new RegExp(`(?<=\\S)\\.(?:[a-zA-Z_]{2,${t}})(?:\\/|$)`).test(o)}var Ode="__default",iz="core/pattern-overrides";function fk(e){return e?.[Ode]?.source===iz}function sz(e,t){if(fk(e)){let o={};for(let r of t){let n=e[r]?e[r]:{source:iz};o[r]=n}return o}return e}var az=l(I()),$i=(0,az.createContext)({});$i.displayName="PrivateBlockContext";var CS=l(x()),Rde={},Ade=e=>{let{name:t}=e,o=(0,Xa.getBlockType)(t);if(!o)return null;let r=o.edit||o.save;return(0,CS.jsx)(r,{...e})},lz=(0,cz.withFilters)("editor.BlockEdit")(Ade),Lde=e=>{let{name:t,clientId:o,attributes:r,setAttributes:n}=e,i=(0,mk.useRegistry)(),s=(0,Xa.getBlockType)(t),a=(0,$d.useContext)(Jn),c=(0,mk.useSelect)(k=>z(k(Xa.store)).getAllBlockBindingsSources(),[]),{bindableAttributes:u}=(0,$d.useContext)($i),{blockBindings:d,context:f,hasPatternOverrides:m}=(0,$d.useMemo)(()=>{let k=s?.usesContext?Object.fromEntries(Object.entries(a).filter(([y])=>s.usesContext.includes(y))):Rde;return r?.metadata?.bindings&&Object.values(r?.metadata?.bindings||{}).forEach(y=>{c[y?.source]?.usesContext?.forEach(v=>{k[v]=a[v]})}),{blockBindings:sz(r?.metadata?.bindings,u),context:k,hasPatternOverrides:fk(r?.metadata?.bindings)}},[s?.usesContext,a,r?.metadata?.bindings,u,c]),p=(0,mk.useSelect)(k=>{if(!d)return r;let y={},v=new Map;for(let[S,w]of Object.entries(d)){let{source:C,args:E}=w,P=c[C];!P||!u?.includes(S)||v.set(P,{...v.get(P),[S]:{args:E}})}if(v.size)for(let[S,w]of v){let C={};S.getValues?C=S.getValues({select:k,context:f,clientId:o,bindings:w}):Object.keys(w).forEach(E=>{C[E]=S.label});for(let[E,P]of Object.entries(C))E==="url"&&(!P||!dk(P))?y[E]=null:y[E]=P}return{...r,...y}},[r,u,d,o,f,c]),h=(0,$d.useCallback)(k=>{if(!d){n(k);return}i.batch(()=>{let y={...k},v=new Map;for(let[w,C]of Object.entries(y)){if(!d[w]||!u?.includes(w))continue;let E=d[w],P=c[E?.source];P?.setValues&&(v.set(P,{...v.get(P),[w]:{args:E.args,newValue:C}}),delete y[w])}if(v.size)for(let[w,C]of v)w.setValues({select:i.select,dispatch:i.dispatch,context:f,clientId:o,bindings:C});let S=!!f["pattern/overrides"];!(m&&S)&&Object.keys(y).length&&(m&&delete y.href,n(y))})},[u,d,o,f,m,n,c,i]);if(!s)return null;if(s.apiVersion>1)return(0,CS.jsx)(lz,{...e,attributes:p,context:f,setAttributes:h});let g=(0,Xa.hasBlockSupport)(s,"className",!0)?(0,Xa.getBlockDefaultClassName)(t):null,b=V(g,r?.className,e.className);return(0,CS.jsx)(lz,{...e,attributes:p,className:b,context:f,setAttributes:h})},uz=Lde;var _6=l($()),GL=l(O()),S6=l(D()),Fx=l(M());var Vx=l(D());var bk=l(Kd()),pO=l(Y()),kk=l(D()),hz=l(Oe()),LS=l($());var Le=l(M()),mz={insertUsage:{}},pk={alignWide:!1,supportsLayout:!0,colors:[{name:(0,Le.__)("Black"),slug:"black",color:"#000000"},{name:(0,Le.__)("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:(0,Le.__)("White"),slug:"white",color:"#ffffff"},{name:(0,Le.__)("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:(0,Le.__)("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:(0,Le.__)("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:(0,Le.__)("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:(0,Le.__)("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:(0,Le.__)("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:(0,Le.__)("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:(0,Le.__)("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:(0,Le.__)("Vivid purple"),slug:"vivid-purple",color:"#9b51e0"}],fontSizes:[{name:(0,Le._x)("Small","font size name"),size:13,slug:"small"},{name:(0,Le._x)("Normal","font size name"),size:16,slug:"normal"},{name:(0,Le._x)("Medium","font size name"),size:20,slug:"medium"},{name:(0,Le._x)("Large","font size name"),size:36,slug:"large"},{name:(0,Le._x)("Huge","font size name"),size:42,slug:"huge"}],imageDefaultSize:"large",imageSizes:[{slug:"thumbnail",name:(0,Le.__)("Thumbnail")},{slug:"medium",name:(0,Le.__)("Medium")},{slug:"large",name:(0,Le.__)("Large")},{slug:"full",name:(0,Le.__)("Full Size")}],imageEditing:!0,maxWidth:580,allowedBlockTypes:!0,maxUploadFileSize:0,allowedMimeTypes:null,canLockBlocks:!0,enableOpenverseMediaCategory:!0,clearBlockSelection:!0,__experimentalCanUserUseUnfilteredHTML:!1,__experimentalBlockDirectory:!1,__mobileEnablePageTemplates:!1,__experimentalBlockPatterns:[],__experimentalBlockPatternCategories:[],isPreviewMode:!1,blockInspectorAnimation:{animationParent:"core/navigation","core/navigation":{enterDirection:"leftToRight"},"core/navigation-submenu":{enterDirection:"rightToLeft"},"core/navigation-link":{enterDirection:"rightToLeft"},"core/search":{enterDirection:"rightToLeft"},"core/social-links":{enterDirection:"rightToLeft"},"core/page-list":{enterDirection:"rightToLeft"},"core/spacer":{enterDirection:"rightToLeft"},"core/home-link":{enterDirection:"rightToLeft"},"core/site-title":{enterDirection:"rightToLeft"},"core/site-logo":{enterDirection:"rightToLeft"}},generateAnchors:!1,gradients:[{name:(0,Le.__)("Vivid cyan blue to vivid purple"),gradient:"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)",slug:"vivid-cyan-blue-to-vivid-purple"},{name:(0,Le.__)("Light green cyan to vivid green cyan"),gradient:"linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%)",slug:"light-green-cyan-to-vivid-green-cyan"},{name:(0,Le.__)("Luminous vivid amber to luminous vivid orange"),gradient:"linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%)",slug:"luminous-vivid-amber-to-luminous-vivid-orange"},{name:(0,Le.__)("Luminous vivid orange to vivid red"),gradient:"linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%)",slug:"luminous-vivid-orange-to-vivid-red"},{name:(0,Le.__)("Very light gray to cyan bluish gray"),gradient:"linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%)",slug:"very-light-gray-to-cyan-bluish-gray"},{name:(0,Le.__)("Cool to warm spectrum"),gradient:"linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%)",slug:"cool-to-warm-spectrum"},{name:(0,Le.__)("Blush light purple"),gradient:"linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%)",slug:"blush-light-purple"},{name:(0,Le.__)("Blush bordeaux"),gradient:"linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)",slug:"blush-bordeaux"},{name:(0,Le.__)("Luminous dusk"),gradient:"linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%)",slug:"luminous-dusk"},{name:(0,Le.__)("Pale ocean"),gradient:"linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%)",slug:"pale-ocean"},{name:(0,Le.__)("Electric grass"),gradient:"linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%)",slug:"electric-grass"},{name:(0,Le.__)("Midnight"),gradient:"linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%)",slug:"midnight"}],__unstableResolvedAssets:{styles:[],scripts:[]}};function BS(e,t,o){return[...e.slice(0,o),...Array.isArray(t)?t:[t],...e.slice(o)]}function ES(e,t,o,r=1){let n=[...e];return n.splice(t,r),BS(n,e.slice(t,t+r),o)}var Vs=Symbol("globalStylesDataKey"),TS=Symbol("globalStylesLinks"),Bc=Symbol("selectBlockPatternsKey"),IS=Symbol("reusableBlocksSelect"),Ec=Symbol("sectionRootClientIdKey"),PS=Symbol("mediaEditKey"),OS=Symbol("getMediaSelect"),RS=Symbol("essentialFormat"),up=Symbol("isIsolatedEditor");var{isContentBlock:Mde}=z(LS.privateApis),Nde=e=>e;function gk(e,t=""){let o=new Map,r=[];return o.set(t,r),e.forEach(n=>{let{clientId:i,innerBlocks:s}=n;r.push(i),gk(s,i).forEach((a,c)=>{o.set(c,a)})}),o}function AS(e,t=""){let o=[],r=[[t,e]];for(;r.length;){let[n,i]=r.shift();i.forEach(({innerBlocks:s,...a})=>{o.push([a.clientId,n]),s?.length&&r.push([a.clientId,s])})}return o}function gz(e,t=Nde){let o=[],r=[...e];for(;r.length;){let{innerBlocks:n,...i}=r.shift();r.push(...n),o.push([i.clientId,t(i)])}return o}function Dde(e){let t={},o=[...e];for(;o.length;){let{innerBlocks:r,...n}=o.shift();o.push(...r),t[n.clientId]=!0}return t}function uO(e){return gz(e,t=>{let{attributes:o,...r}=t;return r})}function dO(e){return gz(e,t=>t.attributes)}function Vde(e,t){return(0,bk.default)(Object.keys(e),Object.keys(t))}function Fde(e,t){return e.type==="UPDATE_BLOCK_ATTRIBUTES"&&t!==void 0&&t.type==="UPDATE_BLOCK_ATTRIBUTES"&&(0,bk.default)(e.clientIds,t.clientIds)&&Vde(e.attributes,t.attributes)}function fO(e,t){let o=e.tree,r=[...t],n=[...t];for(;r.length;){let i=r.shift();r.push(...i.innerBlocks),n.push(...i.innerBlocks)}for(let i of n)o.set(i.clientId,{});for(let i of n)o.set(i.clientId,Object.assign(o.get(i.clientId),{...e.byClientId.get(i.clientId),attributes:e.attributes.get(i.clientId),innerBlocks:i.innerBlocks.map(s=>o.get(s.clientId))}))}function Qa(e,t,o=!1){let r=e.tree,n=new Set([]),i=new Set;for(let s of t){let a=o?s:e.parents.get(s);do if(e.controlledInnerBlocks[a]){i.add(a);break}else n.add(a),a=e.parents.get(a);while(a!==void 0)}for(let s of n)r.set(s,{...r.get(s)});for(let s of n)r.get(s).innerBlocks=(e.order.get(s)||[]).map(a=>r.get(a));for(let s of i)r.set("controlled||"+s,{innerBlocks:(e.order.get(s)||[]).map(a=>r.get(a))})}var zde=e=>(t={},o)=>{let r=e(t,o);if(r===t)return t;switch(r.tree=t.tree?t.tree:new Map,o.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{r.tree=new Map(r.tree),fO(r,o.blocks),Qa(r,o.rootClientId?[o.rootClientId]:[""],!0);break}case"UPDATE_BLOCK":r.tree=new Map(r.tree),r.tree.set(o.clientId,{...r.tree.get(o.clientId),...r.byClientId.get(o.clientId),attributes:r.attributes.get(o.clientId)}),Qa(r,[o.clientId],!1);break;case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{r.tree=new Map(r.tree),o.clientIds.forEach(i=>{r.tree.set(i,{...r.tree.get(i),attributes:r.attributes.get(i)})}),Qa(r,o.clientIds,!1);break}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let i=Dde(o.blocks);r.tree=new Map(r.tree),o.replacedClientIds.forEach(a=>{r.tree.delete(a),i[a]||r.tree.delete("controlled||"+a)}),fO(r,o.blocks),Qa(r,o.blocks.map(a=>a.clientId),!1);let s=[];for(let a of o.clientIds){let c=t.parents.get(a);c!==void 0&&(c===""||r.byClientId.get(c))&&s.push(c)}Qa(r,s,!0);break}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":let n=[];for(let i of o.clientIds){let s=t.parents.get(i);s!==void 0&&(s===""||r.byClientId.get(s))&&n.push(s)}r.tree=new Map(r.tree),o.removedClientIds.forEach(i=>{r.tree.delete(i),r.tree.delete("controlled||"+i)}),Qa(r,n,!0);break;case"MOVE_BLOCKS_TO_POSITION":{let i=[];o.fromRootClientId?i.push(o.fromRootClientId):i.push(""),o.toRootClientId&&i.push(o.toRootClientId),r.tree=new Map(r.tree),Qa(r,i,!0);break}case"MOVE_BLOCKS_UP":case"MOVE_BLOCKS_DOWN":{let i=[o.rootClientId?o.rootClientId:""];r.tree=new Map(r.tree),Qa(r,i,!0);break}case"SAVE_REUSABLE_BLOCK_SUCCESS":{let i=[];r.attributes.forEach((s,a)=>{r.byClientId.get(a).name==="core/block"&&s.ref===o.updatedId&&i.push(a)}),r.tree=new Map(r.tree),i.forEach(s=>{r.tree.set(s,{...r.byClientId.get(s),attributes:r.attributes.get(s),innerBlocks:r.tree.get(s).innerBlocks})}),Qa(r,i,!1)}}return r};function jde(e){let t,o=!1,r;return(n,i)=>{let s=e(n,i),a;if(i.type==="SET_EXPLICIT_PERSISTENT"&&(r=i.isPersistentChange,a=n.isPersistentChange??!0),r!==void 0)return a=r,a===s.isPersistentChange?s:{...s,isPersistentChange:a};let c=i.type==="MARK_LAST_CHANGE_AS_PERSISTENT"||o;return n===s&&!c?(o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",a=n?.isPersistentChange??!0,n.isPersistentChange===a?n:{...s,isPersistentChange:a}):(s={...s,isPersistentChange:c?!o:!Fde(i,t)},t=i,o=i.type==="MARK_NEXT_CHANGE_AS_NOT_PERSISTENT",s)}}function Ude(e){let t=new Set(["RECEIVE_BLOCKS"]);return(o,r)=>{let n=e(o,r);return n!==o&&(n.isIgnoredChange=t.has(r.type)),n}}var Hde=e=>(t,o)=>{let r=n=>{let i=n;for(let s=0;s(t,o)=>{if(o.type==="RESET_BLOCKS"){let r={...t,byClientId:new Map(uO(o.blocks)),attributes:new Map(dO(o.blocks)),order:gk(o.blocks),parents:new Map(AS(o.blocks)),controlledInnerBlocks:{}};return r.tree=new Map(t?.tree),fO(r,o.blocks),r.tree.set("",{innerBlocks:o.blocks.map(n=>r.tree.get(n.clientId))}),r}return e(t,o)},Wde=e=>(t,o)=>{if(o.type!=="REPLACE_INNER_BLOCKS")return e(t,o);let r={};if(Object.keys(t.controlledInnerBlocks).length){let s=[...o.blocks];for(;s.length;){let{innerBlocks:a,...c}=s.shift();s.push(...a),t.controlledInnerBlocks[c.clientId]&&(r[c.clientId]=!0)}}let n=t;t.order.get(o.rootClientId)&&(n=e(n,{type:"REMOVE_BLOCKS",keepControlledInnerBlocks:r,clientIds:t.order.get(o.rootClientId)}));let i=n;if(o.blocks.length){i=e(i,{...o,type:"INSERT_BLOCKS",index:0});let s=new Map(i.order);Object.keys(r).forEach(a=>{t.order.get(a)&&s.set(a,t.order.get(a))}),i.order=s,i.tree=new Map(i.tree),Object.keys(r).forEach(a=>{let c=`controlled||${a}`;t.tree.has(c)&&i.tree.set(c,t.tree.get(c))})}return i},$de=e=>(t,o)=>{if(t&&o.type==="SAVE_REUSABLE_BLOCK_SUCCESS"){let{id:r,updatedId:n}=o;if(r===n)return t;t={...t},t.attributes=new Map(t.attributes),t.attributes.forEach((i,s)=>{let{name:a}=t.byClientId.get(s);a==="core/block"&&i.ref===r&&t.attributes.set(s,{...i,ref:n})})}return e(t,o)},Kde=e=>(t,o)=>{if(o.type==="SET_HAS_CONTROLLED_INNER_BLOCKS"){let r=e(t,{type:"REPLACE_INNER_BLOCKS",rootClientId:o.clientId,blocks:[]});return e(r,o)}return e(t,o)},qde=(0,pO.pipe)(kk.combineReducers,$de,zde,Hde,Wde,Gde,jde,Ude,Kde)({byClientId(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return uO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.has(t.clientId))return e;let{attributes:o,...r}=t.updates;if(Object.values(r).length===0)return e;let n=new Map(e);return n.set(t.clientId,{...e.get(t.clientId),...r}),n}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),uO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},attributes(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let o=new Map(e);return dO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"UPDATE_BLOCK":{if(!e.get(t.clientId)||!t.updates.attributes)return e;let o=new Map(e);return o.set(t.clientId,{...e.get(t.clientId),...t.updates.attributes}),o}case"SYNC_DERIVED_BLOCK_ATTRIBUTES":case"UPDATE_BLOCK_ATTRIBUTES":{if(t.clientIds.every(n=>!e.get(n)))return e;let o=!1,r=new Map(e);for(let n of t.clientIds){let i=Object.entries(t.options?.uniqueByBlock?t.attributes[n]:t.attributes??{});if(i.length===0)continue;let s=!1,a=e.get(n),c={};i.forEach(([u,d])=>{a[u]!==d&&(s=!0,c[u]=d)}),o=o||s,s&&r.set(n,{...a,...c})}return o?r:e}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{if(!t.blocks)return e;let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),dO(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},order(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=gk(t.blocks),r=new Map(e);return o.forEach((n,i)=>{i!==""&&r.set(i,n)}),r.set("",(e.get("")??[]).concat(o[""])),r}case"INSERT_BLOCKS":{let{rootClientId:o=""}=t,r=e.get(o)||[],n=gk(t.blocks,o),{index:i=r.length}=t,s=new Map(e);return n.forEach((a,c)=>{s.set(c,a)}),s.set(o,BS(r,n.get(o),i)),s}case"MOVE_BLOCKS_TO_POSITION":{let{fromRootClientId:o="",toRootClientId:r="",clientIds:n}=t,{index:i=e.get(r).length}=t;if(o===r){let c=e.get(r).indexOf(n[0]),u=new Map(e);return u.set(r,ES(e.get(r),c,i,n.length)),u}let s=new Map(e);return s.set(o,e.get(o)?.filter(a=>!n.includes(a))??[]),s.set(r,BS(e.get(r),n,i)),s}case"MOVE_BLOCKS_UP":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=e.get(r);if(!i.length||n===i[0])return e;let s=i.indexOf(n),a=new Map(e);return a.set(r,ES(i,s,s-1,o.length)),a}case"MOVE_BLOCKS_DOWN":{let{clientIds:o,rootClientId:r=""}=t,n=o[0],i=o[o.length-1],s=e.get(r);if(!s.length||i===s[s.length-1])return e;let a=s.indexOf(n),c=new Map(e);return c.set(r,ES(s,a,a+1,o.length)),c}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let{clientIds:o}=t;if(!t.blocks)return e;let r=gk(t.blocks),n=new Map(e);return t.replacedClientIds.forEach(i=>{n.delete(i)}),r.forEach((i,s)=>{s!==""&&n.set(s,i)}),n.forEach((i,s)=>{let a=Object.values(i).reduce((c,u)=>u===o[0]?[...c,...r.get("")]:(o.indexOf(u)===-1&&c.push(u),c),[]);n.set(s,a)}),n}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o.forEach((r,n)=>{let i=r?.filter(s=>!t.removedClientIds.includes(s))??[];i.length!==r.length&&o.set(n,i)}),o}}return e},parents(e=new Map,t){switch(t.type){case"RECEIVE_BLOCKS":{let o=new Map(e);return AS(t.blocks).forEach(([r,n])=>{o.set(r,n)}),o}case"INSERT_BLOCKS":{let o=new Map(e);return AS(t.blocks,t.rootClientId||"").forEach(([r,n])=>{o.set(r,n)}),o}case"MOVE_BLOCKS_TO_POSITION":{let o=new Map(e);return t.clientIds.forEach(r=>{o.set(r,t.toRootClientId||"")}),o}case"REPLACE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.replacedClientIds.forEach(r=>{o.delete(r)}),AS(t.blocks,e.get(t.clientIds[0])).forEach(([r,n])=>{o.set(r,n)}),o}case"REMOVE_BLOCKS_AUGMENTED_WITH_CHILDREN":{let o=new Map(e);return t.removedClientIds.forEach(r=>{o.delete(r)}),o}}return e},controlledInnerBlocks(e={},{type:t,clientId:o,hasControlledInnerBlocks:r}){return t==="SET_HAS_CONTROLLED_INNER_BLOCKS"?{...e,[o]:r}:e}});function Yde(e=!1,t){switch(t.type){case"HIDE_BLOCK_INTERFACE":return!0;case"SHOW_BLOCK_INTERFACE":return!1}return e}function Zde(e=!1,t){switch(t.type){case"START_TYPING":return!0;case"STOP_TYPING":return!1}return e}function Xde(e=!1,t){switch(t.type){case"START_DRAGGING":return!0;case"STOP_DRAGGING":return!1}return e}function Qde(e=[],t){switch(t.type){case"START_DRAGGING_BLOCKS":return t.clientIds;case"STOP_DRAGGING_BLOCKS":return[]}return e}function Jde(e={},t){return t.type==="SET_BLOCK_VISIBILITY"?{...e,...t.updates}:e}function pz(e={},t){switch(t.type){case"CLEAR_SELECTED_BLOCK":return e.clientId?{}:e;case"SELECT_BLOCK":return t.clientId===e.clientId?e:{clientId:t.clientId};case"REPLACE_INNER_BLOCKS":case"INSERT_BLOCKS":return!t.updateSelection||!t.blocks.length?e:{clientId:t.blocks[0].clientId};case"REMOVE_BLOCKS":return!t.clientIds||!t.clientIds.length||t.clientIds.indexOf(e.clientId)===-1?e:{};case"REPLACE_BLOCKS":{if(t.clientIds.indexOf(e.clientId)===-1)return e;let o=t.blocks[t.indexToSelect]||t.blocks[t.blocks.length-1];return o?o.clientId===e.clientId?e:{clientId:o.clientId}:{}}}return e}function efe(e={},t){switch(t.type){case"SELECTION_CHANGE":return t.clientId?{selectionStart:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.startOffset},selectionEnd:{clientId:t.clientId,attributeKey:t.attributeKey,offset:t.endOffset}}:{selectionStart:t.start||e.selectionStart,selectionEnd:t.end||e.selectionEnd};case"RESET_SELECTION":let{selectionStart:n,selectionEnd:i}=t;return{selectionStart:n,selectionEnd:i};case"MULTI_SELECT":let{start:s,end:a}=t;return s===e.selectionStart?.clientId&&a===e.selectionEnd?.clientId?e:{selectionStart:{clientId:s},selectionEnd:{clientId:a}};case"RESET_BLOCKS":let c=e?.selectionStart?.clientId,u=e?.selectionEnd?.clientId;if(!c&&!u)return e;if(!t.blocks.some(d=>d.clientId===c))return{selectionStart:{},selectionEnd:{}};if(!t.blocks.some(d=>d.clientId===u))return{...e,selectionEnd:e.selectionStart}}let o=pz(e.selectionStart,t),r=pz(e.selectionEnd,t);return o===e.selectionStart&&r===e.selectionEnd?e:{selectionStart:o,selectionEnd:r}}function tfe(e=!1,t){switch(t.type){case"START_MULTI_SELECT":return!0;case"STOP_MULTI_SELECT":return!1}return e}function ofe(e=!0,t){switch(t.type){case"TOGGLE_SELECTION":return t.isSelectionEnabled}return e}function rfe(e=!1,t){switch(t.type){case"DISPLAY_BLOCK_REMOVAL_PROMPT":let{clientIds:o,selectPrevious:r,message:n}=t;return{clientIds:o,selectPrevious:r,message:n};case"CLEAR_BLOCK_REMOVAL_PROMPT":return!1}return e}function nfe(e=!1,t){switch(t.type){case"SET_BLOCK_REMOVAL_RULES":return t.rules}return e}function ife(e=null,t){return t.type==="REPLACE_BLOCKS"&&t.initialPosition!==void 0||["MULTI_SELECT","SELECT_BLOCK","RESET_SELECTION","INSERT_BLOCKS","REPLACE_INNER_BLOCKS"].includes(t.type)?t.initialPosition:e}function sfe(e={},t){if(t.type==="TOGGLE_BLOCK_MODE"){let{clientId:o}=t;return{...e,[o]:e[o]&&e[o]==="html"?"visual":"html"}}return e}function afe(e=null,t){switch(t.type){case"SHOW_INSERTION_POINT":{let{rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s}=t,a={rootClientId:o,index:r,__unstableWithInserter:n,operation:i,nearestSide:s};return(0,bk.default)(e,a)?e:a}case"HIDE_INSERTION_POINT":return null}return e}function lfe(e={isValid:!0},t){switch(t.type){case"SET_TEMPLATE_VALIDITY":return{...e,isValid:t.isValid}}return e}function cfe(e=pk,t){switch(t.type){case"UPDATE_SETTINGS":{let o=t.reset?{...pk,...t.settings}:{...e,...t.settings};return Object.defineProperty(o,"__unstableIsPreviewMode",{get(){return(0,hz.default)("__unstableIsPreviewMode",{since:"6.8",alternative:"isPreviewMode"}),this.isPreviewMode}}),o}}return e}function ufe(e=mz,t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":{let o=t.blocks.reduce((r,n)=>{let{attributes:i,name:s}=n,a=s,c=(0,kk.select)(LS.store).getActiveBlockVariation(s,i);return c?.name&&(a+="/"+c.name),s==="core/block"&&(a+="/"+i.ref),{...r,[a]:{time:t.time,count:r[a]?r[a].count+1:1}}},e.insertUsage);return{...e,insertUsage:o}}}return e}var dfe=(e={},t)=>{switch(t.type){case"REPLACE_BLOCKS":case"REMOVE_BLOCKS":return Object.fromEntries(Object.entries(e).filter(([o])=>!t.clientIds.includes(o)));case"UPDATE_BLOCK_LIST_SETTINGS":{let o=typeof t.clientId=="string"?{[t.clientId]:t.settings}:t.clientId;for(let n in o)o[n]?(0,bk.default)(e[n],o[n])&&delete o[n]:e[n]||delete o[n];if(Object.keys(o).length===0)return e;let r={...e,...o};for(let n in o)o[n]||delete r[n];return r}}return e};function ffe(e=null,t){switch(t.type){case"UPDATE_BLOCK":if(!t.updates.attributes)break;return{[t.clientId]:t.updates.attributes};case"UPDATE_BLOCK_ATTRIBUTES":return t.clientIds.reduce((o,r)=>({...o,[r]:t.options?.uniqueByBlock?t.attributes[r]:t.attributes}),{})}return e}function mfe(e,t){switch(t.type){case"TOGGLE_BLOCK_HIGHLIGHT":let{clientId:o,isHighlighted:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function pfe(e,t){switch(t.type){case"TOGGLE_BLOCK_SPOTLIGHT":let{clientId:o,hasBlockSpotlight:r}=t;return r?o:e===o?null:e;case"SELECT_BLOCK":return t.clientId!==e?null:e;case"SELECTION_CHANGE":return t.start?.clientId!==e||t.end?.clientId!==e?null:e;case"CLEAR_SELECTED_BLOCK":return null}return e}function hfe(e=null,t){switch(t.type){case"SET_BLOCK_EXPANDED_IN_LIST_VIEW":return t.clientId;case"SELECT_BLOCK":if(t.clientId!==e)return null}return e}function gfe(e={},t){switch(t.type){case"INSERT_BLOCKS":case"REPLACE_BLOCKS":if(!t.blocks.length)return e;let o=t.blocks.map(n=>n.clientId),r=t.meta?.source;return{clientIds:o,source:r};case"RESET_BLOCKS":return{}}return e}function bfe(e,t){return t.type==="EDIT_CONTENT_ONLY_SECTION"?t.clientId:e}function kfe(e=new Map,t){switch(t.type){case"SET_BLOCK_EDITING_MODE":return e.get(t.clientId)===t.mode?e:new Map(e).set(t.clientId,t.mode);case"UNSET_BLOCK_EDITING_MODE":{if(!e.has(t.clientId))return e;let o=new Map(e);return o.delete(t.clientId),o}case"RESET_BLOCKS":return e.has("")?new Map().set("",e.get("")):e}return e}function vfe(e=null,t){return t.type==="SET_OPENED_BLOCK_SETTINGS_MENU"?t?.clientId??null:e}function yfe(e=new Map,t){switch(t.type){case"SET_STYLE_OVERRIDE":return new Map(e).set(t.id,t.style);case"DELETE_STYLE_OVERRIDE":{let o=new Map(e);return o.delete(t.id),o}}return e}function _fe(e=[],t){switch(t.type){case"REGISTER_INSERTER_MEDIA_CATEGORY":return[...e,t.category]}return e}function Sfe(e=!1,t){switch(t.type){case"LAST_FOCUS":return t.lastFocus}return e}function xfe(e=100,t){switch(t.type){case"SET_ZOOM_LEVEL":return t.zoom;case"RESET_ZOOM_LEVEL":return 100}return e}function wfe(e=null,t){switch(t.type){case"SET_INSERTION_POINT":return t.value;case"SELECT_BLOCK":return null}return e}var Cfe=(0,kk.combineReducers)({blocks:qde,isDragging:Xde,isTyping:Zde,isBlockInterfaceHidden:Yde,draggedBlocks:Qde,selection:efe,isMultiSelecting:tfe,isSelectionEnabled:ofe,initialPosition:ife,blocksMode:sfe,blockListSettings:dfe,insertionPoint:wfe,insertionCue:afe,template:lfe,settings:cfe,preferences:ufe,lastBlockAttributesChange:ffe,lastFocus:Sfe,expandedBlock:hfe,highlightedBlock:mfe,lastBlockInserted:gfe,editedContentOnlySection:bfe,blockVisibility:Jde,blockEditingModes:kfe,styleOverrides:yfe,removalPromptData:rfe,blockRemovalRules:nfe,openedBlockSettingsMenu:vfe,registeredInserterMediaCategories:_fe,zoomLevel:xfe,hasBlockSpotlight:pfe});function bz(e,t){if(t===""){let n=e.blocks.tree.get(t);return n?{clientId:"",...n}:void 0}if(!e.blocks.controlledInnerBlocks[t])return e.blocks.tree.get(t);let o=e.blocks.tree.get(`controlled||${t}`);return{...e.blocks.tree.get(t),innerBlocks:o?.innerBlocks}}function hO(e,t,o){let r=bz(e,t);if(r&&(o(r),!!r?.innerBlocks?.length))for(let n of r?.innerBlocks)hO(e,n.clientId,o)}function hk(e,t,o){if(!o.length)return;let r=e.blocks.parents.get(t);for(;r!==void 0;){if(o.includes(r))return r;r=e.blocks.parents.get(r)}}function Bfe(e){return e?.attributes?.metadata?.bindings&&Object.keys(e?.attributes?.metadata?.bindings).length}function mO(e,t=""){let o=e?.zoomLevel<100||e?.zoomLevel==="auto-scaled",r=new Map,n=e.settings?.[Ec],i=e.blocks.order.get(n),s=Array.from(e.blockEditingModes).some(([,p])=>p==="disabled"),a=[],c=[];Object.keys(e.blocks.controlledInnerBlocks).forEach(p=>{let h=e.blocks.byClientId?.get(p);h?.name==="core/template-part"&&a.push(p),h?.name==="core/block"&&c.push(p)});let u=Object.keys(e.blockListSettings).filter(p=>e.blockListSettings[p]?.templateLock==="contentOnly"),d=e.settings?.[up],f=window?.__experimentalContentOnlyPatternInsertion&&!d?Array.from(e.blocks.attributes.keys()).filter(p=>e.blocks.attributes.get(p)?.metadata?.patternName):[],m=[...u,...f,...window?.__experimentalContentOnlyPatternInsertion&&!d?a:[]];return hO(e,t,p=>{let{clientId:h,name:g}=p;if(e.editedContentOnlySection){if(e.editedContentOnlySection===h){r.set(h,"default");return}if(hk(e,h,[e.editedContentOnlySection])){r.set(h,"default");return}if(window?.__experimentalContentOnlyPatternInsertion){r.set(h,"disabled");return}}if(!e.blockEditingModes.has(h)){if(s){let b,k=e.blocks.parents.get(h);for(;k!==void 0&&(e.blockEditingModes.has(k)&&(b=e.blockEditingModes.get(k)),!b);)k=e.blocks.parents.get(k);if(b==="disabled"){r.set(h,"disabled");return}}if(o){if(h===n){r.set(h,"contentOnly");return}if(!i?.length){r.set(h,"disabled");return}if(i.includes(h)){r.set(h,"contentOnly");return}r.set(h,"disabled");return}if(c.length){if(c.includes(h)){if(hk(e,h,c)){r.set(h,"disabled");return}return}let b=hk(e,h,c);if(b){if(hk(e,b,c)){r.set(h,"disabled");return}if(Bfe(p)){r.set(h,"contentOnly");return}r.set(h,"disabled")}}m.length&&hk(e,h,m)&&(Mde(g)?r.set(h,"contentOnly"):r.set(h,"disabled"))}}),r}function Tc({prevState:e,nextState:t,addedBlocks:o,removedClientIds:r}){let n=e.derivedBlockEditingModes,i;return r?.forEach(s=>{hO(e,s,a=>{n.has(a.clientId)&&(i||(i=new Map(n)),i.delete(a.clientId))})}),o?.forEach(s=>{let a=mO(t,s.clientId);a.size&&(i?i=new Map([...i?.size?i:[],...a]):i=new Map([...n?.size?n:[],...a]))}),i}function Efe(e){return(t,o)=>{let r=e(t,o);if(o.type!=="SET_EDITOR_MODE"&&r===t)return t;switch(o.type){case"REMOVE_BLOCKS":{let n=Tc({prevState:t,nextState:r,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"RECEIVE_BLOCKS":case"INSERT_BLOCKS":{let n=Tc({prevState:t,nextState:r,addedBlocks:o.blocks});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_ATTRIBUTES":{let n=[],i=[];for(let a of o?.clientIds){let c=o.options?.uniqueByBlock?o.attributes[a]:o.attributes;if(!c)break;c.metadata?.patternName&&!t.blocks.attributes.get(a)?.metadata?.patternName?n.push(r.blocks.tree.get(a)):c.metadata&&!c.metadata?.patternName&&t.blocks.attributes.get(a)?.metadata?.patternName&&i.push(a)}if(!n?.length&&!i?.length)break;let s=Tc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(s)return{...r,derivedBlockEditingModes:s??t.derivedBlockEditingModes};break}case"UPDATE_BLOCK_LIST_SETTINGS":{let n=[],i=[],s=typeof o.clientId=="string"?{[o.clientId]:o.settings}:o.clientId;for(let c in s){let u=t.blockListSettings[c]?.templateLock!=="contentOnly"&&r.blockListSettings[c]?.templateLock==="contentOnly",d=t.blockListSettings[c]?.templateLock==="contentOnly"&&r.blockListSettings[c]?.templateLock!=="contentOnly";u?n.push(r.blocks.tree.get(c)):d&&i.push(c)}if(!n.length&&!i.length)break;let a=Tc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:i});if(a)return{...r,derivedBlockEditingModes:a??t.derivedBlockEditingModes};break}case"SET_BLOCK_EDITING_MODE":case"UNSET_BLOCK_EDITING_MODE":case"SET_HAS_CONTROLLED_INNER_BLOCKS":{let n=bz(r,o.clientId);if(!n)break;let i=Tc({prevState:t,nextState:r,removedClientIds:[o.clientId],addedBlocks:[n]});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"REPLACE_BLOCKS":{let n=Tc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:o.clientIds});if(n)return{...r,derivedBlockEditingModes:n??t.derivedBlockEditingModes};break}case"REPLACE_INNER_BLOCKS":{let n=t.blocks.order.get(o.rootClientId),i=Tc({prevState:t,nextState:r,addedBlocks:o.blocks,removedClientIds:n});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"MOVE_BLOCKS_TO_POSITION":{let n=o.clientIds.map(s=>r.blocks.byClientId.get(s)),i=Tc({prevState:t,nextState:r,addedBlocks:n,removedClientIds:o.clientIds});if(i)return{...r,derivedBlockEditingModes:i??t.derivedBlockEditingModes};break}case"UPDATE_SETTINGS":{if(t?.settings?.[Ec]!==r?.settings?.[Ec])return{...r,derivedBlockEditingModes:mO(r)};break}case"RESET_BLOCKS":case"EDIT_CONTENT_ONLY_SECTION":case"SET_EDITOR_MODE":case"RESET_ZOOM_LEVEL":case"SET_ZOOM_LEVEL":return{...r,derivedBlockEditingModes:mO(r)}}return r.derivedBlockEditingModes=t?.derivedBlockEditingModes??new Map,r}}function Tfe(e){return(t,o)=>{let r=e(t,o);return t?(r.automaticChangeStatus=t.automaticChangeStatus,o.type==="MARK_AUTOMATIC_CHANGE"?{...r,automaticChangeStatus:"pending"}:o.type==="MARK_AUTOMATIC_CHANGE_FINAL"&&t.automaticChangeStatus==="pending"?{...r,automaticChangeStatus:"final"}:r.blocks===t.blocks&&r.selection===t.selection||r.automaticChangeStatus!=="final"&&r.selection!==t.selection?r:{...r,automaticChangeStatus:void 0}):r}}var kz=(0,pO.pipe)(Efe,Tfe)(Cfe);var DL={};Ns(DL,{__experimentalGetActiveBlockIdByBlockNames:()=>Spe,__experimentalGetAllowedBlocks:()=>spe,__experimentalGetAllowedPatterns:()=>upe,__experimentalGetBlockListSettingsForBlocks:()=>hpe,__experimentalGetDirectInsertBlock:()=>ape,__experimentalGetGlobalBlocksByName:()=>bme,__experimentalGetLastBlockAttributeChanges:()=>kpe,__experimentalGetParsedPattern:()=>lpe,__experimentalGetPatternTransformItems:()=>mpe,__experimentalGetPatternsByBlockTypes:()=>fpe,__experimentalGetReusableBlockTitle:()=>gpe,__unstableGetBlockWithoutInnerBlocks:()=>pme,__unstableGetClientIdWithClientIdsTree:()=>Fz,__unstableGetClientIdsTree:()=>zz,__unstableGetContentLockingParent:()=>Ppe,__unstableGetSelectedBlocksWithPartialSelection:()=>Fme,__unstableGetTemporarilyEditingAsBlocks:()=>Ope,__unstableGetVisibleBlocks:()=>Bpe,__unstableHasActiveBlockOverlayActive:()=>t6,__unstableIsFullySelected:()=>Mme,__unstableIsLastBlockChangeIgnored:()=>bpe,__unstableIsSelectionCollapsed:()=>Nme,__unstableIsSelectionMergeable:()=>Vme,__unstableIsWithinBlockOverlay:()=>Epe,__unstableSelectionHasUnmergeableBlock:()=>Dme,areInnerBlocksControlled:()=>Mx,canEditBlock:()=>Qz,canInsertBlockType:()=>uf,canInsertBlocks:()=>Jme,canLockBlockType:()=>tpe,canMoveBlock:()=>Xz,canMoveBlocks:()=>epe,canRemoveBlock:()=>RL,canRemoveBlocks:()=>Zz,didAutomaticChange:()=>ype,getAdjacentBlockClientId:()=>TL,getAllowedBlocks:()=>CL,getBlock:()=>cl,getBlockAttributes:()=>ri,getBlockCount:()=>vme,getBlockEditingMode:()=>ni,getBlockHierarchyRootClientId:()=>Cme,getBlockIndex:()=>Wz,getBlockInsertionPoint:()=>Yme,getBlockListSettings:()=>NL,getBlockMode:()=>Gme,getBlockName:()=>lo,getBlockNamesByClientId:()=>kme,getBlockOrder:()=>Qr,getBlockParents:()=>sl,getBlockParentsByBlockName:()=>EL,getBlockRootClientId:()=>ko,getBlockSelectionEnd:()=>_me,getBlockSelectionStart:()=>yme,getBlockTransformItems:()=>npe,getBlocks:()=>hme,getBlocksByClientId:()=>Lx,getBlocksByName:()=>Uz,getClientIdsOfDescendants:()=>jz,getClientIdsWithDescendants:()=>wp,getDirectInsertBlock:()=>e6,getDraggedBlockClientIds:()=>$me,getFirstMultiSelectedBlockClientId:()=>IL,getGlobalBlockCount:()=>gme,getHoveredBlockClientId:()=>Cpe,getInserterItems:()=>rpe,getLastMultiSelectedBlockClientId:()=>Hz,getLowestCommonAncestorWithSelectedBlock:()=>Bme,getMultiSelectedBlockClientIds:()=>Vc,getMultiSelectedBlocks:()=>Pme,getMultiSelectedBlocksEndClientId:()=>Lme,getMultiSelectedBlocksStartClientId:()=>Ame,getNextBlockClientId:()=>Tme,getPatternsByBlockTypes:()=>dpe,getPreviousBlockClientId:()=>Eme,getSelectedBlock:()=>wme,getSelectedBlockClientId:()=>Bp,getSelectedBlockClientIds:()=>Ep,getSelectedBlockCount:()=>Sme,getSelectedBlocksInitialCaretPosition:()=>Ime,getSelectionEnd:()=>Xk,getSelectionStart:()=>Zk,getSettings:()=>Mc,getTemplate:()=>Qme,getTemplateLock:()=>Fs,hasBlockMovingClientId:()=>vpe,hasDraggedInnerBlock:()=>qz,hasInserterItems:()=>ipe,hasMultiSelection:()=>jme,hasSelectedBlock:()=>xme,hasSelectedInnerBlock:()=>Kz,isAncestorBeingDragged:()=>Kme,isAncestorMultiSelected:()=>Rme,isBlockBeingDragged:()=>PL,isBlockHighlighted:()=>_pe,isBlockInsertionPointVisible:()=>Zme,isBlockMultiSelected:()=>Gz,isBlockSelected:()=>$z,isBlockValid:()=>mme,isBlockVisible:()=>wpe,isBlockWithinSelection:()=>zme,isCaretWithinFormattedText:()=>qme,isDraggingBlocks:()=>Yz,isFirstMultiSelectedBlock:()=>Ome,isGroupable:()=>Ipe,isLastBlockChangePersistent:()=>ppe,isMultiSelecting:()=>Ume,isSelectionEnabled:()=>Hme,isTyping:()=>Wme,isUngroupable:()=>Tpe,isValidTemplate:()=>Xme,wasBlockJustInserted:()=>xpe});var De=l($()),Nz=l(I()),Dz=l(nt());var MS=l(I()),Te=(0,MS.forwardRef)(({icon:e,size:t=24,...o},r)=>(0,MS.cloneElement)(e,{width:t,height:t,...o,ref:r}));var NS=l(q()),gO=l(x()),qd=(0,gO.jsx)(NS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gO.jsx)(NS.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var DS=l(q()),bO=l(x()),kO=(0,bO.jsx)(DS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bO.jsx)(DS.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})});var VS=l(q()),vO=l(x()),Ic=(0,vO.jsx)(VS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vO.jsx)(VS.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var FS=l(q()),yO=l(x()),Yd=(0,yO.jsx)(FS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yO.jsx)(FS.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var zS=l(q()),_O=l(x()),Pc=(0,_O.jsx)(zS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_O.jsx)(zS.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var jS=l(q()),SO=l(x()),xO=(0,SO.jsx)(jS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SO.jsx)(jS.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})});var US=l(q()),wO=l(x()),Zd=(0,wO.jsx)(US.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wO.jsx)(US.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})});var HS=l(q()),CO=l(x()),Xd=(0,CO.jsx)(HS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,CO.jsx)(HS.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})});var GS=l(q()),BO=l(x()),EO=(0,BO.jsx)(GS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BO.jsx)(GS.Path,{d:"M18.5 5.5h-13c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2v-9c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5h-13c-.3 0-.5-.2-.5-.5v-9c0-.3.2-.5.5-.5h13c.3 0 .5.2.5.5v9zM6.5 12H8v-2h2V8.5H6.5V12zm9.5 2h-2v1.5h3.5V12H16v2z"})});var WS=l(q()),TO=l(x()),IO=(0,TO.jsx)(WS.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,TO.jsx)(WS.Path,{d:"M17.7 4.3c-1.2 0-2.8 0-3.8 1-.6.6-.9 1.5-.9 2.6V14c-.6-.6-1.5-1-2.5-1C8.6 13 7 14.6 7 16.5S8.6 20 10.5 20c1.5 0 2.8-1 3.3-2.3.5-.8.7-1.8.7-2.5V7.9c0-.7.2-1.2.5-1.6.6-.6 1.8-.6 2.8-.6h.3V4.3h-.4z"})});var $S=l(q()),PO=l(x()),OO=(0,PO.jsx)($S.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PO.jsx)($S.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"})});var KS=l(q()),RO=l(x()),AO=(0,RO.jsx)(KS.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,RO.jsx)(KS.Path,{d:"M6 5.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2V6zm11-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM13 6a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2h-3a2 2 0 01-2-2V6zm5 8.5h-3a.5.5 0 00-.5.5v3a.5.5 0 00.5.5h3a.5.5 0 00.5-.5v-3a.5.5 0 00-.5-.5zM15 13a2 2 0 00-2 2v3a2 2 0 002 2h3a2 2 0 002-2v-3a2 2 0 00-2-2h-3zm-9 1.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5H6a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5zM4 15a2 2 0 012-2h3a2 2 0 012 2v3a2 2 0 01-2 2H6a2 2 0 01-2-2v-3z",fillRule:"evenodd",clipRule:"evenodd"})});var qS=l(q()),LO=l(x()),Ja=(0,LO.jsx)(qS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LO.jsx)(qS.Path,{d:"M16.5 7.5 10 13.9l-2.5-2.4-1 1 3.5 3.6 7.5-7.6z"})});var YS=l(q()),MO=l(x()),_n=(0,MO.jsx)(YS.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,MO.jsx)(YS.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var ZS=l(q()),NO=l(x()),vk=(0,NO.jsx)(ZS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NO.jsx)(ZS.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var XS=l(q()),DO=l(x()),Cr=(0,DO.jsx)(XS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DO.jsx)(XS.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var QS=l(q()),VO=l(x()),Oc=(0,VO.jsx)(QS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VO.jsx)(QS.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})});var JS=l(q()),FO=l(x()),Qo=(0,FO.jsx)(JS.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FO.jsx)(JS.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var e0=l(q()),zO=l(x()),Qd=(0,zO.jsx)(e0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,zO.jsx)(e0.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var t0=l(q()),jO=l(x()),Jd=(0,jO.jsx)(t0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jO.jsx)(t0.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})});var o0=l(q()),UO=l(x()),HO=(0,UO.jsx)(o0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UO.jsx)(o0.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})});var r0=l(q()),GO=l(x()),WO=(0,GO.jsx)(r0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GO.jsx)(r0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.625 5.5h9.75c.069 0 .125.056.125.125v9.75a.125.125 0 0 1-.125.125h-9.75a.125.125 0 0 1-.125-.125v-9.75c0-.069.056-.125.125-.125ZM4 5.625C4 4.728 4.728 4 5.625 4h9.75C16.273 4 17 4.728 17 5.625v9.75c0 .898-.727 1.625-1.625 1.625h-9.75A1.625 1.625 0 0 1 4 15.375v-9.75Zm14.5 11.656v-9H20v9C20 18.8 18.77 20 17.251 20H6.25v-1.5h11.001c.69 0 1.249-.528 1.249-1.219Z"})});var n0=l(q()),$O=l(x()),ef=(0,$O.jsx)(n0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$O.jsx)(n0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.5h11a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V5a.5.5 0 0 1 .5-.5ZM3 5a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Zm17 3v10.75c0 .69-.56 1.25-1.25 1.25H6v1.5h12.75a2.75 2.75 0 0 0 2.75-2.75V8H20Z"})});var i0=l(q()),KO=l(x()),qO=(0,KO.jsx)(i0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KO.jsx)(i0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Zm-12.5 9v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})});var tf=l(q()),dp=l(x()),YO=(0,dp.jsxs)(tf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,dp.jsx)(tf.G,{opacity:".25",children:(0,dp.jsx)(tf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,dp.jsx)(tf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 15v3c0 .138.112.25.25.25h3v1.5H6A1.75 1.75 0 0 1 4.25 18v-3h1.5Z"})]});var of=l(q()),fp=l(x()),ZO=(0,fp.jsxs)(of.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,fp.jsx)(of.G,{opacity:".25",children:(0,fp.jsx)(of.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,fp.jsx)(of.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 18.25h3a.25.25 0 0 0 .25-.25v-3h1.5v3A1.75 1.75 0 0 1 18 19.75h-3v-1.5Z"})]});var rf=l(q()),mp=l(x()),XO=(0,mp.jsxs)(rf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,mp.jsx)(rf.G,{opacity:".25",children:(0,mp.jsx)(rf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,mp.jsx)(rf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.75a.25.25 0 0 0-.25.25v3h-1.5V6c0-.966.784-1.75 1.75-1.75h3v1.5H6Z"})]});var nf=l(q()),pp=l(x()),QO=(0,pp.jsxs)(nf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,pp.jsx)(nf.G,{opacity:".25",children:(0,pp.jsx)(nf.Path,{d:"M5.75 6A.25.25 0 0 1 6 5.75h3v-1.5H6A1.75 1.75 0 0 0 4.25 6v3h1.5V6ZM18 18.25h-3v1.5h3A1.75 1.75 0 0 0 19.75 18v-3h-1.5v3a.25.25 0 0 1-.25.25ZM18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5ZM5.75 18v-3h-1.5v3c0 .966.784 1.75 1.75 1.75h3v-1.5H6a.25.25 0 0 1-.25-.25Z"})}),(0,pp.jsx)(nf.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 9V6a.25.25 0 0 0-.25-.25h-3v-1.5h3c.966 0 1.75.784 1.75 1.75v3h-1.5Z"})]});var s0=l(q()),JO=l(x()),yk=(0,JO.jsx)(s0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JO.jsx)(s0.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})});var a0=l(q()),eR=l(x()),tR=(0,eR.jsx)(a0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eR.jsx)(a0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M3 7c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7Zm2-.5h14c.3 0 .5.2.5.5v1L12 13.5 4.5 7.9V7c0-.3.2-.5.5-.5Zm-.5 3.3V17c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V9.8L12 15.4 4.5 9.8Z"})});var l0=l(q()),oR=l(x()),hp=(0,oR.jsx)(l0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,oR.jsx)(l0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})});var c0=l(q()),rR=l(x()),nR=(0,rR.jsx)(c0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rR.jsx)(c0.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})});var u0=l(q()),iR=l(x()),sR=(0,iR.jsx)(u0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,iR.jsx)(u0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.848 8a1 1 0 0 1-.914-.594l-.723-1.63a.5.5 0 0 0-.447-.276H5a.5.5 0 0 0-.5.5v11.5a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5v-9A.5.5 0 0 0 19 8h-6.152Zm.612-1.5a.5.5 0 0 1-.462-.31l-.445-1.084A2 2 0 0 0 10.763 4H5a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-5.54Z"})});var d0=l(q()),aR=l(x()),lR=(0,aR.jsx)(d0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aR.jsx)(d0.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})});var f0=l(q()),cR=l(x()),uR=(0,cR.jsx)(f0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,cR.jsx)(f0.Path,{d:"M7.1 6.8L3.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H7.1zm-.8 6.8L8 8.9l1.7 4.7H6.3zm14.5-1.5c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2 .1.8-.2 1.4-.6 2z"})});var m0=l(q()),dR=l(x()),fR=(0,dR.jsx)(m0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dR.jsx)(m0.Path,{d:"M11 16.8c-.1-.1-.2-.3-.3-.5v-2.6c0-.9-.1-1.7-.3-2.2-.2-.5-.5-.9-.9-1.2-.4-.2-.9-.3-1.6-.3-.5 0-1 .1-1.5.2s-.9.3-1.2.6l.2 1.2c.4-.3.7-.4 1.1-.5.3-.1.7-.2 1-.2.6 0 1 .1 1.3.4.3.2.4.7.4 1.4-1.2 0-2.3.2-3.3.7s-1.4 1.1-1.4 2.1c0 .7.2 1.2.7 1.6.4.4 1 .6 1.8.6.9 0 1.7-.4 2.4-1.2.1.3.2.5.4.7.1.2.3.3.6.4.3.1.6.1 1.1.1h.1l.2-1.2h-.1c-.4.1-.6 0-.7-.1zM9.2 16c-.2.3-.5.6-.9.8-.3.1-.7.2-1.1.2-.4 0-.7-.1-.9-.3-.2-.2-.3-.5-.3-.9 0-.6.2-1 .7-1.3.5-.3 1.3-.4 2.5-.5v2zm10.6-3.9c-.3-.6-.7-1.1-1.2-1.5-.6-.4-1.2-.6-1.9-.6-.5 0-.9.1-1.4.3-.4.2-.8.5-1.1.8V6h-1.4v12h1.3l.2-1c.2.4.6.6 1 .8.4.2.9.3 1.4.3.7 0 1.2-.2 1.8-.5.5-.4 1-.9 1.3-1.5.3-.6.5-1.3.5-2.1-.1-.6-.2-1.3-.5-1.9zm-1.7 4c-.4.5-.9.8-1.6.8s-1.2-.2-1.7-.7c-.4-.5-.7-1.2-.7-2.1 0-.9.2-1.6.7-2.1.4-.5 1-.7 1.7-.7s1.2.3 1.6.8c.4.5.6 1.2.6 2s-.2 1.4-.6 2z"})});var p0=l(q()),mR=l(x()),pR=(0,mR.jsx)(p0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mR.jsx)(p0.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"})});var h0=l(q()),hR=l(x()),gR=(0,hR.jsx)(h0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hR.jsx)(h0.Path,{d:"M7 18v1h10v-1H7zm5-2c1.5 0 2.6-.4 3.4-1.2.8-.8 1.1-2 1.1-3.5V5H15v5.8c0 1.2-.2 2.1-.6 2.8-.4.7-1.2 1-2.4 1s-2-.3-2.4-1c-.4-.7-.6-1.6-.6-2.8V5H7.5v6.2c0 1.5.4 2.7 1.1 3.5.8.9 1.9 1.3 3.4 1.3z"})});var g0=l(q()),bR=l(x()),kR=(0,bR.jsx)(g0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bR.jsx)(g0.Path,{d:"M6.1 6.8L2.1 18h1.6l1.1-3h4.3l1.1 3h1.6l-4-11.2H6.1zm-.8 6.8L7 8.9l1.7 4.7H5.3zm15.1-.7c-.4-.5-.9-.8-1.6-1 .4-.2.7-.5.8-.9.2-.4.3-.9.3-1.4 0-.9-.3-1.6-.8-2-.6-.5-1.3-.7-2.4-.7h-3.5V18h4.2c1.1 0 2-.3 2.6-.8.6-.6 1-1.4 1-2.4-.1-.8-.3-1.4-.6-1.9zm-5.7-4.7h1.8c.6 0 1.1.1 1.4.4.3.2.5.7.5 1.3 0 .6-.2 1.1-.5 1.3-.3.2-.8.4-1.4.4h-1.8V8.2zm4 8c-.4.3-.9.5-1.5.5h-2.6v-3.8h2.6c1.4 0 2 .6 2 1.9.1.6-.1 1-.5 1.4z"})});var b0=l(q()),vR=l(x()),gp=(0,vR.jsx)(b0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vR.jsx)(b0.Path,{d:"M6 4a2 2 0 0 0-2 2v3h1.5V6a.5.5 0 0 1 .5-.5h3V4H6Zm3 14.5H6a.5.5 0 0 1-.5-.5v-3H4v3a2 2 0 0 0 2 2h3v-1.5Zm6 1.5v-1.5h3a.5.5 0 0 0 .5-.5v-3H20v3a2 2 0 0 1-2 2h-3Zm3-16a2 2 0 0 1 2 2v3h-1.5V6a.5.5 0 0 0-.5-.5h-3V4h3Z"})});var k0=l(q()),yR=l(x()),_k=(0,yR.jsx)(k0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yR.jsx)(k0.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8Zm6.5 8c0 .6 0 1.2-.2 1.8h-2.7c0-.6.2-1.1.2-1.8s0-1.2-.2-1.8h2.7c.2.6.2 1.1.2 1.8Zm-.9-3.2h-2.4c-.3-.9-.7-1.8-1.1-2.4-.1-.2-.2-.4-.3-.5 1.6.5 3 1.6 3.8 3ZM12.8 17c-.3.5-.6 1-.8 1.3-.2-.3-.5-.8-.8-1.3-.3-.5-.6-1.1-.8-1.7h3.3c-.2.6-.5 1.2-.8 1.7Zm-2.9-3.2c-.1-.6-.2-1.1-.2-1.8s0-1.2.2-1.8H14c.1.6.2 1.1.2 1.8s0 1.2-.2 1.8H9.9ZM11.2 7c.3-.5.6-1 .8-1.3.2.3.5.8.8 1.3.3.5.6 1.1.8 1.7h-3.3c.2-.6.5-1.2.8-1.7Zm-1-1.2c-.1.2-.2.3-.3.5-.4.7-.8 1.5-1.1 2.4H6.4c.8-1.4 2.2-2.5 3.8-3Zm-1.8 8H5.7c-.2-.6-.2-1.1-.2-1.8s0-1.2.2-1.8h2.7c0 .6-.2 1.1-.2 1.8s0 1.2.2 1.8Zm-2 1.4h2.4c.3.9.7 1.8 1.1 2.4.1.2.2.4.3.5-1.6-.5-3-1.6-3.8-3Zm7.4 3c.1-.2.2-.3.3-.5.4-.7.8-1.5 1.1-2.4h2.4c-.8 1.4-2.2 2.5-3.8 3Z"})});var v0=l(q()),_R=l(x()),Sk=(0,_R.jsx)(v0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_R.jsx)(v0.Path,{d:"m3 5c0-1.10457.89543-2 2-2h13.5c1.1046 0 2 .89543 2 2v13.5c0 1.1046-.8954 2-2 2h-13.5c-1.10457 0-2-.8954-2-2zm2-.5h6v6.5h-6.5v-6c0-.27614.22386-.5.5-.5zm-.5 8v6c0 .2761.22386.5.5.5h6v-6.5zm8 0v6.5h6c.2761 0 .5-.2239.5-.5v-6zm0-8v6.5h6.5v-6c0-.27614-.2239-.5-.5-.5z",fillRule:"evenodd",clipRule:"evenodd"})});var y0=l(q()),SR=l(x()),xk=(0,SR.jsx)(y0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,SR.jsx)(y0.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v3H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-3h3c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h3V13c0 1.1.9 2 2 2h2.5v3zm0-4.5H11c-.3 0-.5-.2-.5-.5v-2.5H13c.3 0 .5.2.5.5v2.5zm5-.5c0 .3-.2.5-.5.5h-3V11c0-1.1-.9-2-2-2h-2.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7z"})});var _0=l(q()),xR=l(x()),wR=(0,xR.jsx)(_0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xR.jsx)(_0.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var S0=l(q()),CR=l(x()),BR=(0,CR.jsx)(S0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,CR.jsx)(S0.Path,{d:"M9 11.1H5v-4H3v10h2v-4h4v4h2v-10H9v4zm8 4c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6v1.5h8v-2H17z"})});var x0=l(q()),ER=l(x()),TR=(0,ER.jsx)(x0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ER.jsx)(x0.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.3 1.7c-.4-.4-1-.7-1.6-.8v-.1c.6-.2 1.1-.5 1.5-.9.3-.4.5-.8.5-1.3 0-.4-.1-.8-.3-1.1-.2-.3-.5-.6-.8-.8-.4-.2-.8-.4-1.2-.5-.6-.1-1.1-.2-1.6-.2-.6 0-1.3.1-1.8.3s-1.1.5-1.6.9l1.2 1.4c.4-.2.7-.4 1.1-.6.3-.2.7-.3 1.1-.3.4 0 .8.1 1.1.3.3.2.4.5.4.8 0 .4-.2.7-.6.9-.7.3-1.5.5-2.2.4v1.6c.5 0 1 0 1.5.1.3.1.7.2 1 .3.2.1.4.2.5.4s.1.4.1.6c0 .3-.2.7-.5.8-.4.2-.9.3-1.4.3s-1-.1-1.4-.3c-.4-.2-.8-.4-1.2-.7L13 15.6c.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.6 0 1.1-.1 1.6-.2.4-.1.9-.2 1.3-.5.4-.2.7-.5.9-.9.2-.4.3-.8.3-1.2 0-.6-.3-1.1-.7-1.5z"})});var w0=l(q()),IR=l(x()),PR=(0,IR.jsx)(w0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IR.jsx)(w0.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var C0=l(q()),OR=l(x()),RR=(0,OR.jsx)(C0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OR.jsx)(C0.Path,{d:"M9 11H5V7H3v10h2v-4h4v4h2V7H9v4zm11.7 1.2c-.2-.3-.5-.7-.8-.9-.3-.3-.7-.5-1.1-.6-.5-.1-.9-.2-1.4-.2-.2 0-.5.1-.7.1-.2.1-.5.1-.7.2l.1-1.9h4.3V7H14l-.3 5 1 .6.5-.2.4-.1c.1-.1.3-.1.4-.1h.5c.5 0 1 .1 1.4.4.4.2.6.7.6 1.1 0 .4-.2.8-.6 1.1-.4.3-.9.4-1.4.4-.4 0-.9-.1-1.3-.3-.4-.2-.7-.4-1.1-.7 0 0-1.1 1.4-1 1.5.5.4 1 .8 1.6 1 .7.3 1.5.4 2.3.4.5 0 1-.1 1.5-.3s.9-.4 1.3-.7c.4-.3.7-.7.9-1.1s.3-.9.3-1.4-.1-1-.3-1.4z"})});var B0=l(q()),AR=l(x()),LR=(0,AR.jsx)(B0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AR.jsx)(B0.Path,{d:"M20.7 12.4c-.2-.3-.4-.6-.7-.9s-.6-.5-1-.6c-.4-.2-.8-.2-1.2-.2-.5 0-.9.1-1.3.3s-.8.5-1.2.8c0-.5 0-.9.2-1.4l.6-.9c.2-.2.5-.4.8-.5.6-.2 1.3-.2 1.9 0 .3.1.6.3.8.5 0 0 1.3-1.3 1.3-1.4-.4-.3-.9-.6-1.4-.8-.6-.2-1.3-.3-2-.3-.6 0-1.1.1-1.7.4-.5.2-1 .5-1.4.9-.4.4-.8 1-1 1.6-.3.7-.4 1.5-.4 2.3s.1 1.5.3 2.1c.2.6.6 1.1 1 1.5.4.4.9.7 1.4.9 1 .3 2 .3 3 0 .4-.1.8-.3 1.2-.6.3-.3.6-.6.8-1 .2-.5.3-.9.3-1.4s-.1-.9-.3-1.3zm-2 2.1c-.1.2-.3.4-.4.5-.1.1-.3.2-.5.2-.2.1-.4.1-.6.1-.2.1-.5 0-.7-.1-.2 0-.3-.2-.5-.3-.1-.2-.3-.4-.4-.6-.2-.3-.3-.7-.3-1 .3-.3.6-.5 1-.7.3-.1.7-.2 1-.2.4 0 .8.1 1.1.3.3.3.4.7.4 1.1 0 .2 0 .5-.1.7zM9 11H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var E0=l(q()),MR=l(x()),NR=(0,MR.jsx)(E0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MR.jsx)(E0.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var T0=l(q()),DR=l(x()),wk=(0,DR.jsx)(T0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,DR.jsx)(T0.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})});var I0=l(q()),VR=l(x()),FR=(0,VR.jsx)(I0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,VR.jsx)(I0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})});var P0=l(q()),zR=l(x()),jR=(0,zR.jsx)(P0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zR.jsx)(P0.Path,{d:"M15 4H9v11h6V4zM4 18.5V20h16v-1.5H4z"})});var O0=l(q()),UR=l(x()),HR=(0,UR.jsx)(O0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,UR.jsx)(O0.Path,{d:"M20 11h-5V4H9v7H4v1.5h5V20h6v-7.5h5z"})});var R0=l(q()),GR=l(x()),Rc=(0,GR.jsx)(R0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GR.jsx)(R0.Path,{d:"M12.5 15v5H11v-5H4V9h7V4h1.5v5h7v6h-7Z"})});var A0=l(q()),WR=l(x()),Ac=(0,WR.jsx)(A0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WR.jsx)(A0.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})});var L0=l(q()),$R=l(x()),Lc=(0,$R.jsx)(L0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$R.jsx)(L0.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})});var M0=l(q()),KR=l(x()),qR=(0,KR.jsx)(M0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KR.jsx)(M0.Path,{d:"M7 4H17V8L7 8V4ZM7 16L17 16V20L7 20V16ZM20 11.25H4V12.75H20V11.25Z"})});var N0=l(q()),YR=l(x()),bp=(0,YR.jsx)(N0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YR.jsx)(N0.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})});var D0=l(q()),ZR=l(x()),XR=(0,ZR.jsx)(D0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZR.jsx)(D0.Path,{d:"M4 4L20 4L20 5.5L4 5.5L4 4ZM10 7L14 7L14 17L10 17L10 7ZM20 18.5L4 18.5L4 20L20 20L20 18.5Z"})});var V0=l(q()),QR=l(x()),kp=(0,QR.jsx)(V0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QR.jsx)(V0.Path,{d:"M4 4H5.5V20H4V4ZM7 10L17 10V14L7 14V10ZM20 4H18.5V20H20V4Z"})});var F0=l(q()),JR=l(x()),eA=(0,JR.jsx)(F0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JR.jsx)(F0.Path,{d:"M9 20h6V9H9v11zM4 4v1.5h16V4H4z"})});var z0=l(q()),tA=l(x()),el=(0,tA.jsx)(z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,tA.jsx)(z0.Path,{d:"m6.734 16.106 2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.158 1.093-1.028-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"})});var j0=l(q()),oA=l(x()),rA=(0,oA.jsx)(j0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,oA.jsx)(j0.Path,{d:"M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var U0=l(q()),nA=l(x()),ei=(0,nA.jsx)(U0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nA.jsx)(U0.Path,{d:"M17.031 4.703 15.576 4l-1.56 3H14v.03l-2.324 4.47H9.5V13h1.396l-1.502 2.889h-.95a3.694 3.694 0 0 1 0-7.389H10V7H8.444a5.194 5.194 0 1 0 0 10.389h.17L7.5 19.53l1.416.719L15.049 8.5h.507a3.694 3.694 0 0 1 0 7.39H14v1.5h1.556a5.194 5.194 0 0 0 .273-10.383l1.202-2.304Z"})});var H0=l(q()),iA=l(x()),Xr=(0,iA.jsx)(H0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iA.jsx)(H0.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})});var G0=l(q()),sA=l(x()),Ck=(0,sA.jsx)(G0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,sA.jsx)(G0.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})});var W0=l(q()),aA=l(x()),lA=(0,aA.jsx)(W0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,aA.jsx)(W0.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zM9.8 7c0-1.2 1-2.2 2.2-2.2 1.2 0 2.2 1 2.2 2.2v3H9.8V7zm6.7 11.5h-9v-7h9v7z"})});var $0=l(q()),cA=l(x()),uA=(0,cA.jsx)($0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,cA.jsx)($0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 11h-.2V9c0-1.5-1.2-2.8-2.8-2.8S9.2 7.5 9.2 9v2H9c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h6c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm-1.8 0h-2.5V9c0-.7.6-1.2 1.2-1.2s1.2.6 1.2 1.2v2z"})});var K0=l(q()),dA=l(x()),sf=(0,dA.jsx)(K0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,dA.jsx)(K0.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1zm-2.8 0H9.8V7c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3z"})});var Bk=l(q()),Ek=l(x()),vp=(0,Ek.jsxs)(Bk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Ek.jsx)(Bk.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,Ek.jsx)(Bk.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m5 3c-1.10457 0-2 .89543-2 2v14c0 1.1046.89543 2 2 2h14c1.1046 0 2-.8954 2-2v-14c0-1.10457-.8954-2-2-2zm14 1.5h-14c-.27614 0-.5.22386-.5.5v10.7072l3.62953-2.6465c.25108-.1831.58905-.1924.84981-.0234l2.92666 1.8969 3.5712-3.4719c.2911-.2831.7545-.2831 1.0456 0l2.9772 2.8945v-9.3568c0-.27614-.2239-.5-.5-.5zm-14.5 14.5v-1.4364l4.09643-2.987 2.99567 1.9417c.2936.1903.6798.1523.9307-.0917l3.4772-3.3806 3.4772 3.3806.0228-.0234v2.5968c0 .2761-.2239.5-.5.5h-14c-.27614 0-.5-.2239-.5-.5z"})]});var q0=l(q()),fA=l(x()),mA=(0,fA.jsx)(q0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fA.jsx)(q0.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"})});var Y0=l(q()),pA=l(x()),Ki=(0,pA.jsx)(Y0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pA.jsx)(Y0.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var Tk=l(q()),Ik=l(x()),tl=(0,Ik.jsxs)(Tk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Ik.jsx)(Tk.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,Ik.jsx)(Tk.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]});var Z0=l(q()),hA=l(x()),gA=(0,hA.jsx)(Z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hA.jsx)(Z0.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})});var X0=l(q()),bA=l(x()),Pk=(0,bA.jsx)(X0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bA.jsx)(X0.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var Q0=l(q()),kA=l(x()),vA=(0,kA.jsx)(Q0.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,kA.jsx)(Q0.Path,{d:"M10.97 10.159a3.382 3.382 0 0 0-2.857.955l1.724 1.723-2.836 2.913L7 17h1.25l2.913-2.837 1.723 1.723a3.38 3.38 0 0 0 .606-.825c.33-.63.446-1.343.35-2.032L17 10.695 13.305 7l-2.334 3.159Z"})});var J0=l(q()),yA=l(x()),ti=(0,yA.jsx)(J0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yA.jsx)(J0.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var ex=l(q()),_A=l(x()),SA=(0,_A.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_A.jsx)(ex.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var tx=l(q()),xA=l(x()),wA=(0,xA.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xA.jsx)(tx.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var ox=l(q()),CA=l(x()),BA=(0,CA.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,CA.jsx)(ox.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var rx=l(q()),EA=l(x()),TA=(0,EA.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,EA.jsx)(rx.Path,{d:"M19 3H5c-.6 0-1 .4-1 1v7c0 .5.4 1 1 1h14c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1zM5.5 10.5v-.4l1.8-1.3 1.3.8c.3.2.7.2.9-.1L11 8.1l2.4 2.4H5.5zm13 0h-2.9l-4-4c-.3-.3-.8-.3-1.1 0L8.9 8l-1.2-.8c-.3-.2-.6-.2-.9 0l-1.3 1V4.5h13v6zM4 20h9v-1.5H4V20zm0-4h16v-1.5H4V16z"})});var nx=l(q()),IA=l(x()),PA=(0,IA.jsx)(nx.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,IA.jsx)(nx.Path,{d:"M18 5.5H6a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5ZM6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm1 5h1.5v1.5H7V9Zm1.5 4.5H7V15h1.5v-1.5ZM10 9h7v1.5h-7V9Zm7 4.5h-7V15h7v-1.5Z"})});var ix=l(q()),OA=l(x()),RA=(0,OA.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,OA.jsx)(ix.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var sx=l(q()),AA=l(x()),Br=(0,AA.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AA.jsx)(sx.Path,{d:"M7 11.5h10V13H7z"})});var ax=l(q()),LA=l(x()),MA=(0,LA.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LA.jsx)(ax.Path,{d:"M15.1 4.8l-3-2.5V4c-4.4 0-8 3.6-8 8 0 3.7 2.5 6.9 6 7.7.3.1.6.1 1 .2l.2-1.5c-.4 0-.7-.1-1.1-.2l-.1.2v-.2c-2.6-.8-4.5-3.3-4.5-6.2 0-3.6 2.9-6.5 6.5-6.5v1.8l3-2.5zM20 11c-.2-1.4-.7-2.7-1.6-3.8l-1.2.8c.7.9 1.1 2 1.3 3.1L20 11zm-1.5 1.8c-.1.5-.2 1.1-.4 1.6s-.5 1-.8 1.5l1.2.9c.4-.5.8-1.1 1-1.8s.5-1.3.5-2l-1.5-.2zm-5.6 5.6l.2 1.5c1.4-.2 2.7-.7 3.8-1.6l-.9-1.1c-.9.7-2 1.1-3.1 1.2z"})});var lx=l(q()),NA=l(x()),DA=(0,NA.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NA.jsx)(lx.Path,{d:"M4 6.5h5a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H4V16h5a.5.5 0 0 0 .5-.5v-7A.5.5 0 0 0 9 8H4V6.5Zm16 0h-5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h5V16h-5a.5.5 0 0 1-.5-.5v-7A.5.5 0 0 1 15 8h5V6.5Z"})});var cx=l(q()),VA=l(x()),FA=(0,VA.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VA.jsx)(cx.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})});var ux=l(q()),zA=l(x()),ol=(0,zA.jsx)(ux.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,zA.jsx)(ux.Path,{d:"M3.99961 13C4.67043 13.3354 4.6703 13.3357 4.67017 13.3359L4.67298 13.3305C4.67621 13.3242 4.68184 13.3135 4.68988 13.2985C4.70595 13.2686 4.7316 13.2218 4.76695 13.1608C4.8377 13.0385 4.94692 12.8592 5.09541 12.6419C5.39312 12.2062 5.84436 11.624 6.45435 11.0431C7.67308 9.88241 9.49719 8.75 11.9996 8.75C14.502 8.75 16.3261 9.88241 17.5449 11.0431C18.1549 11.624 18.6061 12.2062 18.9038 12.6419C19.0523 12.8592 19.1615 13.0385 19.2323 13.1608C19.2676 13.2218 19.2933 13.2686 19.3093 13.2985C19.3174 13.3135 19.323 13.3242 19.3262 13.3305L19.3291 13.3359C19.3289 13.3357 19.3288 13.3354 19.9996 13C20.6704 12.6646 20.6703 12.6643 20.6701 12.664L20.6697 12.6632L20.6688 12.6614L20.6662 12.6563L20.6583 12.6408C20.6517 12.6282 20.6427 12.6108 20.631 12.5892C20.6078 12.5459 20.5744 12.4852 20.5306 12.4096C20.4432 12.2584 20.3141 12.0471 20.1423 11.7956C19.7994 11.2938 19.2819 10.626 18.5794 9.9569C17.1731 8.61759 14.9972 7.25 11.9996 7.25C9.00203 7.25 6.82614 8.61759 5.41987 9.9569C4.71736 10.626 4.19984 11.2938 3.85694 11.7956C3.68511 12.0471 3.55605 12.2584 3.4686 12.4096C3.42484 12.4852 3.39142 12.5459 3.36818 12.5892C3.35656 12.6108 3.34748 12.6282 3.34092 12.6408L3.33297 12.6563L3.33041 12.6614L3.32948 12.6632L3.32911 12.664C3.32894 12.6643 3.32879 12.6646 3.99961 13ZM11.9996 16C13.9326 16 15.4996 14.433 15.4996 12.5C15.4996 10.567 13.9326 9 11.9996 9C10.0666 9 8.49961 10.567 8.49961 12.5C8.49961 14.433 10.0666 16 11.9996 16Z"})});var Ok=l(q()),Rk=l(x()),jA=(0,Rk.jsxs)(Ok.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Rk.jsx)(Ok.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,Rk.jsx)(Ok.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"})]});var dx=l(q()),UA=l(x()),HA=(0,UA.jsx)(dx.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,UA.jsx)(dx.Path,{d:"M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6.5c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12.8 3h-1.5v3h1.5V3zm-1.6 18h1.5v-3h-1.5v3zm6.8-9.8v1.5h3v-1.5h-3zm-12 0H3v1.5h3v-1.5zm9.7 5.6 2.1 2.1 1.1-1.1-2.1-2.1-1.1 1.1zM8.3 7.2 6.2 5.1 5.1 6.2l2.1 2.1 1.1-1.1zM5.1 17.8l1.1 1.1 2.1-2.1-1.1-1.1-2.1 2.1zM18.9 6.2l-1.1-1.1-2.1 2.1 1.1 1.1 2.1-2.1z"})});var fx=l(q()),GA=l(x()),mx=(0,GA.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GA.jsx)(fx.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z"})});var Ak=l(q()),Lk=l(x()),WA=(0,Lk.jsxs)(Ak.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Lk.jsx)(Ak.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Lk.jsx)(Ak.Path,{d:"m16.5 19.5h-9v-1.5h9z"})]});var yp=l(q()),_p=l(x()),$A=(0,_p.jsxs)(yp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,_p.jsx)(yp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,_p.jsx)(yp.Path,{d:"m4.5 7.5v9h1.5v-9z"}),(0,_p.jsx)(yp.Path,{d:"m18 7.5v9h1.5v-9z"})]});var Mk=l(q()),Nk=l(x()),KA=(0,Nk.jsxs)(Mk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Nk.jsx)(Mk.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Nk.jsx)(Mk.Path,{d:"m4.5 16.5v-9h1.5v9z"})]});var Dk=l(q()),Vk=l(x()),qA=(0,Vk.jsxs)(Dk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Vk.jsx)(Dk.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,Vk.jsx)(Dk.Path,{d:"m18 16.5v-9h1.5v9z"})]});var Fk=l(q()),zk=l(x()),YA=(0,zk.jsxs)(Fk.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,zk.jsx)(Fk.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,zk.jsx)(Fk.Path,{d:"m16.5 6h-9v-1.5h9z"})]});var Sp=l(q()),xp=l(x()),ZA=(0,xp.jsxs)(Sp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,xp.jsx)(Sp.Path,{d:"m7.5 6h9v-1.5h-9zm0 13.5h9v-1.5h-9zm-3-3h1.5v-9h-1.5zm13.5-9v9h1.5v-9z",style:{opacity:.25}}),(0,xp.jsx)(Sp.Path,{d:"m7.5 6h9v-1.5h-9z"}),(0,xp.jsx)(Sp.Path,{d:"m7.5 19.5h9v-1.5h-9z"})]});var px=l(q()),XA=l(x()),QA=(0,XA.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,XA.jsx)(px.Path,{d:"M17.5 4v5a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V4H8v5a.5.5 0 0 0 .5.5h7A.5.5 0 0 0 16 9V4h1.5Zm0 16v-5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v5H8v-5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v5h1.5Z"})});var hx=l(q()),JA=l(x()),jk=(0,JA.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JA.jsx)(hx.Path,{d:"M5 4h14v11H5V4Zm11 16H8v-1.5h8V20Z"})});var gx=l(q()),eL=l(x()),af=(0,eL.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eL.jsx)(gx.Path,{d:"M16 5.5H8V4h8v1.5ZM16 20H8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var bx=l(q()),tL=l(x()),oL=(0,tL.jsx)(bx.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,tL.jsx)(bx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})});var kx=l(q()),rL=l(x()),oi=(0,rL.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rL.jsx)(kx.Path,{d:"M21.3 10.8l-5.6-5.6c-.7-.7-1.8-.7-2.5 0l-5.6 5.6c-.7.7-.7 1.8 0 2.5l5.6 5.6c.3.3.8.5 1.2.5s.9-.2 1.2-.5l5.6-5.6c.8-.7.8-1.9.1-2.5zm-1 1.4l-5.6 5.6c-.1.1-.3.1-.4 0l-5.6-5.6c-.1-.1-.1-.3 0-.4l5.6-5.6s.1-.1.2-.1.1 0 .2.1l5.6 5.6c.1.1.1.3 0 .4zm-16.6-.4L10 5.5l-1-1-6.3 6.3c-.7.7-.7 1.8 0 2.5L9 19.5l1.1-1.1-6.3-6.3c-.2 0-.2-.2-.1-.3z"})});var vx=l(q()),nL=l(x()),iL=(0,nL.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nL.jsx)(vx.Path,{d:"M4.75 4a.75.75 0 0 0-.75.75v7.826c0 .2.08.39.22.53l6.72 6.716a2.313 2.313 0 0 0 3.276-.001l5.61-5.611-.531-.53.532.528a2.315 2.315 0 0 0 0-3.264L13.104 4.22a.75.75 0 0 0-.53-.22H4.75ZM19 12.576a.815.815 0 0 1-.236.574l-5.61 5.611a.814.814 0 0 1-1.153 0L5.5 12.264V5.5h6.763l6.5 6.502a.816.816 0 0 1 .237.574ZM8.75 9.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})});var yx=l(q()),sL=l(x()),aL=(0,sL.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sL.jsx)(yx.Path,{d:"M8.2 14.4h3.9L13 17h1.7L11 6.5H9.3L5.6 17h1.7l.9-2.6zm2-5.5 1.4 4H8.8l1.4-4zm7.4 7.5-1.3.8.8 1.4H5.5V20h14.3l-2.2-3.6z"})});var _x=l(q()),lL=l(x()),cL=(0,lL.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lL.jsx)(_x.Path,{d:"M7 5.6v1.7l2.6.9v3.9L7 13v1.7L17.5 11V9.3L7 5.6zm4.2 6V8.8l4 1.4-4 1.4zm-5.7 5.6V5.5H4v14.3l3.6-2.2-.8-1.3-1.3.9z"})});var Sx=l(q()),uL=l(x()),dL=(0,uL.jsx)(Sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uL.jsx)(Sx.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})});var xx=l(q()),fL=l(x()),mL=(0,fL.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fL.jsx)(xx.Path,{d:"M18 4h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 9c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v7zm-5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-7c0-.3.2-.5.5-.5h1V9H6c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-1h-1.5v1z"})});var wx=l(q()),pL=l(x()),rl=(0,pL.jsx)(wx.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,pL.jsx)(wx.Path,{d:"M17 10h-1.2V7c0-2.1-1.7-3.8-3.8-3.8-2.1 0-3.8 1.7-3.8 3.8h1.5c0-1.2 1-2.2 2.2-2.2s2.2 1 2.2 2.2v3H7c-.6 0-1 .4-1 1v8c0 .6.4 1 1 1h10c.6 0 1-.4 1-1v-8c0-.6-.4-1-1-1z"})});var Cx=l(q()),hL=l(x()),qi=(0,hL.jsx)(Cx.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,hL.jsx)(Cx.Path,{d:"M20.7 12.7s0-.1-.1-.2c0-.2-.2-.4-.4-.6-.3-.5-.9-1.2-1.6-1.8-.7-.6-1.5-1.3-2.6-1.8l-.6 1.4c.9.4 1.6 1 2.1 1.5.6.6 1.1 1.2 1.4 1.6.1.2.3.4.3.5v.1l.7-.3.7-.3Zm-5.2-9.3-1.8 4c-.5-.1-1.1-.2-1.7-.2-3 0-5.2 1.4-6.6 2.7-.7.7-1.2 1.3-1.6 1.8-.2.3-.3.5-.4.6 0 0 0 .1-.1.2s0 0 .7.3l.7.3V13c0-.1.2-.3.3-.5.3-.4.7-1 1.4-1.6 1.2-1.2 3-2.3 5.5-2.3H13v.3c-.4 0-.8-.1-1.1-.1-1.9 0-3.5 1.6-3.5 3.5s.6 2.3 1.6 2.9l-2 4.4.9.4 7.6-16.2-.9-.4Zm-3 12.6c1.7-.2 3-1.7 3-3.5s-.2-1.4-.6-1.9L12.4 16Z"})});var Bx=l(q()),gL=l(x()),bL=(0,gL.jsx)(Bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,gL.jsx)(Bx.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"})});var Ex=l(q()),kL=l(x()),vL=(0,kL.jsx)(Ex.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,kL.jsx)(Ex.Path,{d:"M17.8 2l-.9.3c-.1 0-3.6 1-5.2 2.1C10 5.5 9.3 6.5 8.9 7.1c-.6.9-1.7 4.7-1.7 6.3l-.9 2.3c-.2.4 0 .8.4 1 .1 0 .2.1.3.1.3 0 .6-.2.7-.5l.6-1.5c.3 0 .7-.1 1.2-.2.7-.1 1.4-.3 2.2-.5.8-.2 1.6-.5 2.4-.8.7-.3 1.4-.7 1.9-1.2s.8-1.2 1-1.9c.2-.7.3-1.6.4-2.4.1-.8.1-1.7.2-2.5 0-.8.1-1.5.2-2.1V2zm-1.9 5.6c-.1.8-.2 1.5-.3 2.1-.2.6-.4 1-.6 1.3-.3.3-.8.6-1.4.9-.7.3-1.4.5-2.2.8-.6.2-1.3.3-1.8.4L15 7.5c.3-.3.6-.7 1-1.1 0 .4 0 .8-.1 1.2zM6 20h8v-1.5H6V20z"})});var Tx=l(q()),yL=l(x()),_L=(0,yL.jsx)(Tx.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,yL.jsx)(Tx.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"})});var ll=l(Vo()),Sn=l(Oe()),Ie=l(D());var Az=l($()),Lz=l(Sz());var Xt="core/block-editor";var Ox={};Ns(Ox,{getAllPatterns:()=>Kfe,getBlockRemovalRules:()=>zfe,getBlockSettings:()=>wz,getBlockStyles:()=>eme,getBlockWithoutAttributes:()=>Mfe,getClosestAllowedInsertionPoint:()=>Ez,getClosestAllowedInsertionPointForPattern:()=>ome,getContentLockingParent:()=>SL,getEditedContentOnlySection:()=>xL,getEnabledBlockParents:()=>Vfe,getEnabledClientIdsTree:()=>Dfe,getExpandedBlock:()=>Qfe,getInserterMediaCategories:()=>Gfe,getInsertionPoint:()=>rme,getLastFocus:()=>Zfe,getLastInsertedBlocksClientIds:()=>Lfe,getOpenedBlockSettingsMenu:()=>jfe,getParentSectionBlock:()=>Hk,getPatternBySlug:()=>$fe,getRegisteredInserterMediaCategories:()=>Hfe,getRemovalPromptData:()=>Ffe,getReusableBlocks:()=>Yfe,getSectionRootClientId:()=>cf,getStyleOverrides:()=>Ufe,getZoomLevel:()=>tme,hasAllowedPatterns:()=>Wfe,hasBlockSpotlight:()=>ime,isBlockHidden:()=>nme,isBlockInterfaceHidden:()=>Afe,isBlockSubtreeDisabled:()=>Nfe,isContainerInsertableToInContentOnlyMode:()=>Uk,isDragging:()=>Xfe,isEditLockedBlock:()=>Tz,isLockedBlock:()=>sme,isMoveLockedBlock:()=>Iz,isRemoveLockedBlock:()=>Pz,isSectionBlock:()=>il,isWithinEditedContentOnlySection:()=>Jfe,isZoomOut:()=>wL});var Er=l(D()),Px=l($());var Ix=l($()),xz=l(nt());function pe(e,t,o){t=Array.isArray(t)?[...t]:[t],e=Array.isArray(e)?[...e]:{...e};let r=t.pop(),n=e;for(let i of t){let s=n[i];n=n[i]=Array.isArray(s)?[...s]:{...s}}return n[r]=o,e}var nl=(e,t,o)=>{let r=Array.isArray(t)?t:t.split("."),n=e;return r.forEach(i=>{n=n?.[i]}),n??o};var Ife=["color","border","dimensions","typography","spacing"],Pfe={"color.palette":e=>e.colors,"color.gradients":e=>e.gradients,"color.custom":e=>e.disableCustomColors===void 0?void 0:!e.disableCustomColors,"color.customGradient":e=>e.disableCustomGradients===void 0?void 0:!e.disableCustomGradients,"typography.fontSizes":e=>e.fontSizes,"typography.customFontSize":e=>e.disableCustomFontSizes===void 0?void 0:!e.disableCustomFontSizes,"typography.lineHeight":e=>e.enableCustomLineHeight,"spacing.units":e=>{if(e.enableCustomUnits!==void 0)return e.enableCustomUnits===!0?["px","em","rem","vh","vw","%"]:e.enableCustomUnits},"spacing.padding":e=>e.enableCustomSpacing},Ofe={"border.customColor":"border.color","border.customStyle":"border.style","border.customWidth":"border.width","typography.customFontStyle":"typography.fontStyle","typography.customFontWeight":"typography.fontWeight","typography.customLetterSpacing":"typography.letterSpacing","typography.customTextDecorations":"typography.textDecoration","typography.customTextTransforms":"typography.textTransform","border.customRadius":"border.radius","spacing.customMargin":"spacing.margin","spacing.customPadding":"spacing.padding","typography.customLineHeight":"typography.lineHeight"},Rfe=e=>Ofe[e]||e;function wz(e,t,...o){let r=lo(e,t),n=[];if(t){let i=t;do{let s=lo(e,i);(0,Ix.hasBlockSupport)(s,"__experimentalSettings",!1)&&n.push(i)}while(i=e.blocks.parents.get(i))}return o.map(i=>{if(Ife.includes(i)){console.warn("Top level useSetting paths are disabled. Please use a subpath to query the information needed.");return}let s=(0,xz.applyFilters)("blockEditor.useSetting.before",void 0,i,t,r);if(s!==void 0)return s;let a=Rfe(i);for(let d of n){let f=ri(e,d);if(s=nl(f.settings?.blocks?.[r],a)??nl(f.settings,a),s!==void 0)break}let c=Mc(e);if(s===void 0&&r&&(s=nl(c.__experimentalFeatures?.blocks?.[r],a)),s===void 0&&(s=nl(c.__experimentalFeatures,a)),s!==void 0)return Ix.__EXPERIMENTAL_PATHS_WITH_OVERRIDE[a]?s.custom??s.theme??s.default:s;let u=Pfe[a]?.(c);return u!==void 0?u:a==="typography.dropCap"?!0:void 0})}var{isContentBlock:Cz}=z(Px.privateApis);function Afe(e){return e.isBlockInterfaceHidden}function Lfe(e){return e?.lastBlockInserted?.clientIds}function Mfe(e,t){return e.blocks.byClientId.get(t)}var Nfe=(e,t)=>{let o=r=>ni(e,r)==="disabled"&&Qr(e,r).every(o);return Qr(e,t).every(o)};function Uk(e,t,o){let r=Cz(t),n=lo(e,o),i=Cz(n);return cf(e)===o||i&&r}function Bz(e,t){let o=Qr(e,t),r=[];for(let n of o){let i=Bz(e,n);ni(e,n)!=="disabled"?r.push({clientId:n,innerBlocks:i}):r.push(...i)}return r}var Dfe=(0,Er.createRegistrySelector)(()=>(0,Er.createSelector)(Bz,e=>[e.blocks.order,e.derivedBlockEditingModes,e.blockEditingModes])),Vfe=(0,Er.createSelector)((e,t,o=!1)=>sl(e,t,o).filter(r=>ni(e,r)!=="disabled"),e=>[e.blocks.parents,e.blockEditingModes,e.settings.templateLock,e.blockListSettings]);function Ffe(e){return e.removalPromptData}function zfe(e){return e.blockRemovalRules}function jfe(e){return e.openedBlockSettingsMenu}var Ufe=(0,Er.createSelector)(e=>{let o=wp(e).reduce((r,n,i)=>(r[n]=i,r),{});return[...e.styleOverrides].sort((r,n)=>{let[,{clientId:i}]=r,[,{clientId:s}]=n,a=o[i]??-1,c=o[s]??-1;return a-c})},e=>[e.blocks.order,e.styleOverrides]);function Hfe(e){return e.registeredInserterMediaCategories}var Gfe=(0,Er.createSelector)(e=>{let{settings:{inserterMediaCategories:t,allowedMimeTypes:o,enableOpenverseMediaCategory:r},registeredInserterMediaCategories:n}=e;if(!t&&!n.length||!o)return;let i=t?.map(({name:a})=>a)||[];return[...t||[],...(n||[]).filter(({name:a})=>!i.includes(a))].filter(a=>!r&&a.name==="openverse"?!1:Object.values(o).some(c=>c.startsWith(`${a.mediaType}/`)))},e=>[e.settings.inserterMediaCategories,e.settings.allowedMimeTypes,e.settings.enableOpenverseMediaCategory,e.registeredInserterMediaCategories]),Wfe=(0,Er.createRegistrySelector)(e=>(0,Er.createSelector)((t,o=null)=>{let{getAllPatterns:r}=z(e(Xt)),n=r(),{allowedBlockTypes:i}=Mc(t);return n.some(s=>{let{inserter:a=!0}=s;if(!a)return!1;let c=lf(s);return Wk(c,i)&&c.every(({name:u})=>uf(t,u,o))})},(t,o)=>[...$k(e)(t),...Nc(e)(t,o)])),$fe=(0,Er.createRegistrySelector)(e=>(0,Er.createSelector)((t,o)=>{if(o?.startsWith("core/block/")){let r=parseInt(o.slice(11),10),n=z(e(Xt)).getReusableBlocks().find(({id:i})=>i===r);return n?Gk(n,t.settings.__experimentalUserPatternCategories):null}return[...t.settings.__experimentalBlockPatterns??[],...t.settings[Bc]?.(e)??[]].find(({name:r})=>r===o)},(t,o)=>o?.startsWith("core/block/")?[z(e(Xt)).getReusableBlocks(),t.settings.__experimentalReusableBlocks]:[t.settings.__experimentalBlockPatterns,t.settings[Bc]?.(e)])),Kfe=(0,Er.createRegistrySelector)(e=>(0,Er.createSelector)(t=>[...z(e(Xt)).getReusableBlocks().map(o=>Gk(o,t.settings.__experimentalUserPatternCategories)),...t.settings.__experimentalBlockPatterns??[],...t.settings[Bc]?.(e)??[]].filter((o,r,n)=>r===n.findIndex(i=>o.name===i.name)),$k(e))),qfe=[],Yfe=(0,Er.createRegistrySelector)(e=>t=>{let o=t.settings[IS];return(o?o(e):t.settings.__experimentalReusableBlocks)??qfe});function Zfe(e){return e.lastFocus}function Xfe(e){return e.isDragging}function Qfe(e){return e.expandedBlock}var SL=(e,t)=>{let o=t,r;for(;!r&&(o=e.blocks.parents.get(o));)Fs(e,o)==="contentOnly"&&(r=o);return r},Hk=(e,t)=>{let o=t,r;for(;o=e.blocks.parents.get(o);)il(e,o)&&(r=o);return r};function il(e,t){if(t===e.editedContentOnlySection)return!1;let o=lo(e,t);if(o==="core/block")return!0;let r=ri(e,t),n=o==="core/template-part",i=e.settings?.[up];if((r?.metadata?.patternName||n)&&window?.__experimentalContentOnlyPatternInsertion&&!i)return!0;let s=Fs(e,t)==="contentOnly",a=ko(e,t),c=Fs(e,a)==="contentOnly";return!!(s&&!c)}function xL(e){return e.editedContentOnlySection}function Jfe(e,t){if(!e.editedContentOnlySection)return!1;if(e.editedContentOnlySection===t)return!0;let o=t;for(;o=e.blocks.parents.get(o);)if(e.editedContentOnlySection===o)return!0;return!1}var eme=(0,Er.createSelector)((e,t)=>t.reduce((o,r)=>(o[r]=e.blocks.attributes.get(r)?.style,o),{}),(e,t)=>[...t.map(o=>e.blocks.attributes.get(o)?.style)]);function cf(e){return e.settings?.[Ec]}function wL(e){return e.zoomLevel==="auto-scaled"||e.zoomLevel<100}function tme(e){return e.zoomLevel}function Ez(e,t,o=""){let r=Array.isArray(t)?t:[t],n=s=>r.every(a=>uf(e,a,s));if(!o){if(n(o))return o;let s=cf(e);return s&&n(s)?s:null}let i=o;for(;i!==null&&!n(i);)i=ko(e,i);return i}function ome(e,t,o){let{allowedBlockTypes:r}=Mc(e);if(!Wk(lf(t),r))return null;let i=lf(t).map(({blockName:s})=>s);return Ez(e,i,o)}function rme(e){return e.insertionPoint}var nme=(e,t)=>{let o=lo(e,t);return(0,Px.hasBlockSupport)(e,o,"visibility",!0)?e.blocks.attributes.get(t)?.metadata?.blockVisibility===!1:!1};function ime(e){return!!e.hasBlockSpotlight||!!e.editedContentOnlySection}function Tz(e,t){return!!ri(e,t)?.lock?.edit}function Iz(e,t){let o=ri(e,t);if(o?.lock?.move!==void 0)return!!o?.lock?.move;let r=ko(e,t);return Fs(e,r)==="all"}function Pz(e,t){let o=ri(e,t);if(o?.lock?.remove!==void 0)return!!o?.lock?.remove;let r=ko(e,t),n=Fs(e,r);return n==="all"||n==="insert"}function sme(e,t){return Tz(e,t)||Iz(e,t)||Pz(e,t)}var qk=l(M()),Et={user:"user",theme:"theme",directory:"directory"},Kk={full:"fully",unsynced:"unsynced"},df={name:"allPatterns",label:(0,qk._x)("All","patterns")},al={name:"myPatterns",label:(0,qk.__)("My patterns")},Cp={name:"core/starter-content",label:(0,qk.__)("Starter content")};function Rx(e,t,o){let r=e.name.startsWith("core/block"),n=e.source==="core"||e.source?.startsWith("pattern-directory");return!!(t===Et.theme&&(r||n)||t===Et.directory&&(r||!n)||t===Et.user&&e.type!==Et.user||o===Kk.full&&e.syncStatus!==""||o===Kk.unsynced&&e.syncStatus!=="unsynced"&&r)}var Dc=Symbol("isFiltered"),Oz=new WeakMap,Rz=new WeakMap;function Gk(e,t=[]){return{name:`core/block/${e.id}`,id:e.id,type:Et.user,title:e.title?.raw,categories:e.wp_pattern_category?.map(o=>{let r=t.find(({id:n})=>n===o);return r?r.slug:o}),content:e.content?.raw,syncStatus:e.wp_pattern_sync_status}}function ame(e){let t=(0,Az.parse)(e.content,{__unstableSkipMigrationLogs:!0});return t.length===1&&(t[0].attributes={...t[0].attributes,metadata:{...t[0].attributes.metadata||{},categories:e.categories,patternName:e.name,name:t[0].attributes.metadata?.name||e.title}}),{...e,blocks:t}}function Ax(e){let t=Oz.get(e);return t||(t=ame(e),Oz.set(e,t)),t}function lf(e){let t=Rz.get(e);return t||(t=(0,Lz.parse)(e.content),t=t.filter(o=>o.blockName!==null),Rz.set(e,t)),t}var ff=(e,t,o=null)=>typeof e=="boolean"?e:Array.isArray(e)?e.includes("core/post-content")&&t===null?!0:e.includes(t):o,Wk=(e,t)=>{if(typeof t=="boolean")return t;let o=[...e];for(;o.length>0;){let r=o.shift();if(!ff(t,r.name||r.blockName,!0))return!1;r.innerBlocks?.forEach(i=>{o.push(i)})}return!0},$k=e=>t=>[t.settings.__experimentalBlockPatterns,t.settings.__experimentalUserPatternCategories,t.settings.__experimentalReusableBlocks,t.settings[Bc]?.(e),t.blockPatterns,z(e(Xt)).getReusableBlocks()],Nc=()=>(e,t)=>[e.blockListSettings[t],e.blocks.byClientId.get(t),e.settings.allowedBlockTypes,e.settings.templateLock,ni(e,t),cf(e),il(e,t)];var lme=(e,t,o)=>(r,n)=>{let i,s;if(typeof e=="function"?(i=e(r),s=e(n)):(i=r[e],s=n[e]),i>s)return o==="asc"?1:-1;if(s>i)return o==="asc"?-1:1;let a=t.findIndex(u=>u===r),c=t.findIndex(u=>u===n);return a>c?1:c>a?-1:0};function zs(e,t,o="asc"){return e.concat().sort(lme(t,e,o))}var{isContentBlock:BL}=z(De.privateApis),cme=3600*1e3,ume=24*3600*1e3,dme=168*3600*1e3,Jo=[],fme=new Set,Vz={[Dc]:!0};function lo(e,t){let o=e.blocks.byClientId.get(t),r="core/social-link";if(Nz.Platform.OS!=="web"&&o?.name===r){let n=e.blocks.attributes.get(t),{service:i}=n??{};return i?`${r}-${i}`:r}return o?o.name:null}function mme(e,t){let o=e.blocks.byClientId.get(t);return!!o&&o.isValid}function ri(e,t){return e.blocks.byClientId.get(t)?e.blocks.attributes.get(t):null}function cl(e,t){return e.blocks.byClientId.has(t)?e.blocks.tree.get(t):null}var pme=(0,Ie.createSelector)((e,t)=>{let o=e.blocks.byClientId.get(t);return o?{...o,attributes:ri(e,t)}:null},(e,t)=>[e.blocks.byClientId.get(t),e.blocks.attributes.get(t)]);function hme(e,t){let o=!t||!Mx(e,t)?t||"":"controlled||"+t;return e.blocks.tree.get(o)?.innerBlocks||Jo}var Fz=(0,Ie.createSelector)((e,t)=>((0,Sn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdWithClientIdsTree",{since:"6.3",version:"6.5"}),{clientId:t,innerBlocks:zz(e,t)}),e=>[e.blocks.order]),zz=(0,Ie.createSelector)((e,t="")=>((0,Sn.default)("wp.data.select( 'core/block-editor' ).__unstableGetClientIdsTree",{since:"6.3",version:"6.5"}),Qr(e,t).map(o=>Fz(e,o))),e=>[e.blocks.order]),jz=(0,Ie.createSelector)((e,t)=>{t=Array.isArray(t)?[...t]:[t];let o=[];for(let n of t){let i=e.blocks.order.get(n);i&&o.push(...i)}let r=0;for(;r[e.blocks.order]),wp=e=>jz(e,""),gme=(0,Ie.createSelector)((e,t)=>{let o=wp(e);if(!t)return o.length;let r=0;for(let n of o)e.blocks.byClientId.get(n).name===t&&r++;return r},e=>[e.blocks.order,e.blocks.byClientId]),Uz=(0,Ie.createSelector)((e,t)=>{if(!t)return Jo;let o=Array.isArray(t)?t:[t],n=wp(e).filter(i=>{let s=e.blocks.byClientId.get(i);return o.includes(s.name)});return n.length>0?n:Jo},e=>[e.blocks.order,e.blocks.byClientId]);function bme(e,t){return(0,Sn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetGlobalBlocksByName",{since:"6.5",alternative:"wp.data.select( 'core/block-editor' ).getBlocksByName"}),Uz(e,t)}var Lx=(0,Ie.createSelector)((e,t)=>(Array.isArray(t)?t:[t]).map(o=>cl(e,o)),(e,t)=>(Array.isArray(t)?t:[t]).map(o=>e.blocks.tree.get(o))),kme=(0,Ie.createSelector)((e,t)=>Lx(e,t).filter(Boolean).map(o=>o.name),(e,t)=>Lx(e,t));function vme(e,t){return Qr(e,t).length}function Zk(e){return e.selection.selectionStart}function Xk(e){return e.selection.selectionEnd}function yme(e){return e.selection.selectionStart.clientId}function _me(e){return e.selection.selectionEnd.clientId}function Sme(e){let t=Vc(e).length;return t||(e.selection.selectionStart.clientId?1:0)}function xme(e){let{selectionStart:t,selectionEnd:o}=e.selection;return!!t.clientId&&t.clientId===o.clientId}function Bp(e){let{selectionStart:t,selectionEnd:o}=e.selection,{clientId:r}=t;return!r||r!==o.clientId?null:r}function wme(e){let t=Bp(e);return t?cl(e,t):null}function ko(e,t){return e.blocks.parents.get(t)??null}var sl=(0,Ie.createSelector)((e,t,o=!1)=>{let r=[],n=t;for(;n=e.blocks.parents.get(n);)r.push(n);return r.length?o?r:r.reverse():Jo},e=>[e.blocks.parents]),EL=(0,Ie.createSelector)((e,t,o,r=!1)=>{let n=sl(e,t,r),i=Array.isArray(o)?s=>o.includes(s):s=>o===s;return n.filter(s=>i(lo(e,s)))},e=>[e.blocks.parents]);function Cme(e,t){let o=t,r;do r=o,o=e.blocks.parents.get(o);while(o);return r}function Bme(e,t){let o=Bp(e),r=[...sl(e,t),t],n=[...sl(e,o),o],i,s=Math.min(r.length,n.length);for(let a=0;a{let{selectionStart:t,selectionEnd:o}=e.selection;if(!t.clientId||!o.clientId)return Jo;if(t.clientId===o.clientId)return[t.clientId];let r=ko(e,t.clientId);if(r===null)return Jo;let n=Qr(e,r),i=n.indexOf(t.clientId),s=n.indexOf(o.clientId);return i>s?n.slice(s,i+1):n.slice(i,s+1)},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function Vc(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?Jo:Ep(e)}var Pme=(0,Ie.createSelector)(e=>{let t=Vc(e);return t.length?t.map(o=>cl(e,o)):Jo},e=>[...Ep.getDependants(e),e.blocks.byClientId,e.blocks.order,e.blocks.attributes]);function IL(e){return Vc(e)[0]||null}function Hz(e){let t=Vc(e);return t[t.length-1]||null}function Ome(e,t){return IL(e)===t}function Gz(e,t){return Vc(e).indexOf(t)!==-1}var Rme=(0,Ie.createSelector)((e,t)=>{let o=t,r=!1;for(;o&&!r;)o=ko(e,o),r=Gz(e,o);return r},e=>[e.blocks.order,e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId]);function Ame(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:t.clientId||null}function Lme(e){let{selectionStart:t,selectionEnd:o}=e.selection;return t.clientId===o.clientId?null:o.clientId||null}function Mme(e){let t=Zk(e),o=Xk(e);return!t.attributeKey&&!o.attributeKey&&typeof t.offset>"u"&&typeof o.offset>"u"}function Nme(e){let t=Zk(e),o=Xk(e);return!!t&&!!o&&t.clientId===o.clientId&&t.attributeKey===o.attributeKey&&t.offset===o.offset}function Dme(e){return Ep(e).some(t=>{let o=lo(e,t);return!(0,De.getBlockType)(o).merge})}function Vme(e,t){let o=Zk(e),r=Xk(e);if(o.clientId===r.clientId||!o.attributeKey||!r.attributeKey||typeof o.offset>"u"||typeof r.offset>"u")return!1;let n=ko(e,o.clientId),i=ko(e,r.clientId);if(n!==i)return!1;let s=Qr(e,n),a=s.indexOf(o.clientId),c=s.indexOf(r.clientId),u,d;a>c?(u=r,d=o):(u=o,d=r);let f=t?d.clientId:u.clientId,m=t?u.clientId:d.clientId,p=lo(e,f);if(!(0,De.getBlockType)(p).merge)return!1;let g=cl(e,m);if(g.name===p)return!0;let b=(0,De.switchToBlockType)(g,p);return b&&b.length}var Fme=e=>{let t=Zk(e),o=Xk(e);if(t.clientId===o.clientId||!t.attributeKey||!o.attributeKey||typeof t.offset>"u"||typeof o.offset>"u")return Jo;let r=ko(e,t.clientId),n=ko(e,o.clientId);if(r!==n)return Jo;let i=Qr(e,r),s=i.indexOf(t.clientId),a=i.indexOf(o.clientId),[c,u]=s>a?[o,t]:[t,o],d=cl(e,c.clientId),f=cl(e,u.clientId),m=d.attributes[c.attributeKey],p=f.attributes[u.attributeKey],h=(0,ll.create)({html:m}),g=(0,ll.create)({html:p});return h=(0,ll.remove)(h,0,c.offset),g=(0,ll.remove)(g,u.offset,g.text.length),[{...d,attributes:{...d.attributes,[c.attributeKey]:(0,ll.toHTMLString)({value:h})}},{...f,attributes:{...f.attributes,[u.attributeKey]:(0,ll.toHTMLString)({value:g})}}]};function Qr(e,t){return e.blocks.order.get(t||"")||Jo}function Wz(e,t){let o=ko(e,t);return Qr(e,o).indexOf(t)}function $z(e,t){let{selectionStart:o,selectionEnd:r}=e.selection;return o.clientId!==r.clientId?!1:o.clientId===t}function Kz(e,t,o=!1){let r=Ep(e);return r.length?o?r.some(n=>sl(e,n,!0).includes(t)):r.some(n=>ko(e,n)===t):!1}function qz(e,t,o=!1){return Qr(e,t).some(r=>PL(e,r)||o&&qz(e,r,o))}function zme(e,t){if(!t)return!1;let o=Vc(e),r=o.indexOf(t);return r>-1&&rPL(e,r)):!1}function qme(){return(0,Sn.default)('wp.data.select( "core/block-editor" ).isCaretWithinFormattedText',{since:"6.1",version:"6.3"}),!1}var Yme=(0,Ie.createSelector)(e=>{let t,o,{insertionCue:r,selection:{selectionEnd:n}}=e;if(r!==null)return r;let{clientId:i}=n;return i?(t=ko(e,i)||void 0,o=Wz(e,n.clientId)+1):o=Qr(e).length,{rootClientId:t,index:o}},e=>[e.insertionCue,e.selection.selectionEnd.clientId,e.blocks.parents,e.blocks.order]);function Zme(e){return e.insertionCue!==null}function Xme(e){return e.template.isValid}function Qme(e){return e.settings.template}function Fs(e,t){if(!t)return e.settings.templateLock??!1;let o=NL(e,t)?.templateLock;return o==="contentOnly"&&e.editedContentOnlySection===t?!1:o??!1}var OL=(e,t,o=null)=>{let r,n;if(t&&typeof t=="object"?(r=t,n=t.name):(r=(0,De.getBlockType)(t),n=t),!r)return!1;let{allowedBlockTypes:i}=Mc(e);if(!ff(i,n,!0))return!1;let a=(Array.isArray(r.parent)?r.parent:[]).concat(Array.isArray(r.ancestor)?r.ancestor:[]);if(a.length>0){if(a.includes("core/post-content"))return!0;let c=o,u=!1;do{if(a.includes(lo(e,c))){u=!0;break}c=e.blocks.parents.get(c)}while(c);return u}return!0},Qk=(e,t,o=null)=>{if(!OL(e,t,o))return!1;let r;t&&typeof t=="object"?(r=t,t=r.name):r=(0,De.getBlockType)(t);let n=Fs(e,o);if(n&&n!=="contentOnly")return!1;let i=ni(e,o??"");if(i==="disabled")return!1;let s=NL(e,o);if(o&&s===void 0)return!1;let a=BL(t),c=!!il(e,o),u=!!Hk(e,o);if((c||u)&&!a||(c||i==="contentOnly")&&!Uk(e,t,o))return!1;let d=lo(e,o),m=(0,De.getBlockType)(d)?.allowedBlocks,p=ff(m,t);if(p!==!1){let v=s?.allowedBlocks,S=ff(v,t);S!==null&&(p=S)}let h=r.parent,g=ff(h,d),b=!0,k=r.ancestor;k&&(b=[o,...sl(e,o)].some(S=>ff(k,lo(e,S))));let y=b&&(p===null&&g===null||p===!0||g===!0);return y&&(0,Dz.applyFilters)("blockEditor.__unstableCanInsertBlockType",y,r,o,{getBlock:cl.bind(null,e),getBlockParentsByBlockName:EL.bind(null,e)})},uf=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)(Qk,(t,o,r)=>Nc(e)(t,r)));function Jme(e,t,o=null){return t.every(r=>uf(e,lo(e,r),o))}function RL(e,t){let o=ri(e,t);if(o===null)return!0;if(o.lock?.remove!==void 0)return!o.lock.remove;let r=ko(e,t),n=Fs(e,r);if(n&&n!=="contentOnly")return!1;let i=!!Hk(e,t),s=BL(lo(e,t));if(i&&!s)return!1;let a=!!il(e,r),c=ni(e,r);return(a||c==="contentOnly")&&!Uk(e,lo(e,t),r)?!1:c!=="disabled"}function Zz(e,t){return t.every(o=>RL(e,o))}function Xz(e,t){let o=ri(e,t);if(o===null)return!0;if(o.lock?.move!==void 0)return!o.lock.move;let r=ko(e,t);if(Fs(e,r)==="all")return!1;let i=!!Hk(e,t),s=BL(lo(e,t));if(i&&!s)return!1;let a=!!il(e,r),c=ni(e,r);return(a||c==="contentOnly")&&!Uk(e,lo(e,t),r)?!1:ni(e,r)!=="disabled"}function epe(e,t){return t.every(o=>Xz(e,o))}function Qz(e,t){let o=ri(e,t);if(o===null)return!0;let{lock:r}=o;return!r?.edit}function tpe(e,t){return(0,De.hasBlockSupport)(t,"lock",!0)?!!e.settings?.canLockBlocks:!1}function AL(e,t){return e.preferences.insertUsage?.[t]??null}var Yk=(e,t,o)=>(0,De.hasBlockSupport)(t,"inserter",!0)?Qk(e,t.name,o):!1,ope=(e,t)=>o=>{let r=`${t.id}/${o.name}`,{time:n,count:i=0}=AL(e,r)||{};return{...t,id:r,icon:o.icon||t.icon,title:o.title||t.title,description:o.description||t.description,category:o.category||t.category,example:o.hasOwnProperty("example")?o.example:t.example,initialAttributes:{...t.initialAttributes,...o.attributes},innerBlocks:o.innerBlocks,keywords:o.keywords||t.keywords,frecency:LL(n,i),isSearchOnly:o.isSearchOnly}},LL=(e,t)=>{if(!e)return t;let o=Date.now()-e;switch(!0){case oo=>{let r=o.name,n=!1;(0,De.hasBlockSupport)(o.name,"multiple",!0)||(n=Lx(e,wp(e)).some(({name:m})=>m===o.name));let{time:i,count:s=0}=AL(e,r)||{},a={id:r,name:o.name,title:o.title,icon:o.icon,isDisabled:n,frecency:LL(i,s)};if(t==="transform")return a;let c=(0,De.getBlockVariations)(o.name,"inserter"),u=(0,De.getBlockVariations)(o.name,"block"),d=new Set(c.map(m=>m.name)),f=[...c,...u.filter(m=>!d.has(m.name)).map(m=>({...m,isSearchOnly:!0,isDefault:!1}))];return{...a,initialAttributes:{},description:o.description,category:o.category,keywords:o.keywords,parent:o.parent,ancestor:o.ancestor,variations:f,example:o.example,utility:1}},rpe=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o=null,r=Vz)=>{let n=p=>{let h=p.wp_pattern_sync_status?oi:{src:oi,foreground:"var(--wp-block-synced-color)"},g=Gk(p),{time:b,count:k=0}=AL(t,g.name)||{},y=LL(b,k);return{id:g.name,name:"core/block",initialAttributes:{ref:p.id},title:g.title,icon:h,category:"reusable",keywords:["reusable"],isDisabled:!1,utility:1,frecency:y,content:g.content,get blocks(){return Ax(g).blocks},syncStatus:g.syncStatus}},i=Qk(t,"core/block",o)?z(e(Xt)).getReusableBlocks().map(n):[],s=Jz(t,{buildScope:"inserter"}),a=(0,De.getBlockTypes)().filter(p=>(0,De.hasBlockSupport)(p,"inserter",!0)).map(s);r[Dc]!==!1?a=a.filter(p=>Yk(t,p,o)):a=a.filter(p=>OL(t,p,o)).map(p=>({...p,isAllowedInCurrentRoot:Yk(t,p,o)}));let c=a.reduce((p,h)=>{let{variations:g=[]}=h;if(g.some(({isDefault:b})=>b)||p.push(h),g.length){let b=ope(t,h);p.push(...g.map(b))}return p},[]),u=(p,h)=>{let{core:g,noncore:b}=p;return(h.name.startsWith("core/")?g:b).push(h),p},{core:d,noncore:f}=c.reduce(u,{core:[],noncore:[]});return[...[...d,...f],...i]},(t,o)=>[(0,De.getBlockTypes)(),z(e(Xt)).getReusableBlocks(),t.blocks.order,t.preferences.insertUsage,...Nc(e)(t,o)])),npe=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o,r=null)=>{let n=Array.isArray(o)?o:[o],i=Jz(t,{buildScope:"transform"}),s=(0,De.getBlockTypes)().filter(u=>Yk(t,u,r)).map(i),a=Object.fromEntries(Object.entries(s).map(([,u])=>[u.name,u])),c=(0,De.getPossibleBlockTransformations)(n).reduce((u,d)=>(a[d?.name]&&u.push(a[d.name]),u),[]);return zs(c,u=>a[u.name].frecency,"desc")},(t,o,r)=>[(0,De.getBlockTypes)(),t.preferences.insertUsage,...Nc(e)(t,r)])),ipe=(e,t=null)=>(0,De.getBlockTypes)().some(n=>Yk(e,n,t))?!0:Qk(e,"core/block",t),CL=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o=null)=>{if(!o)return;let r=(0,De.getBlockTypes)().filter(i=>Yk(t,i,o));return Qk(t,"core/block",o)&&r.push("core/block"),r},(t,o)=>[(0,De.getBlockTypes)(),...Nc(e)(t,o)])),spe=(0,Ie.createSelector)((e,t=null)=>((0,Sn.default)('wp.data.select( "core/block-editor" ).__experimentalGetAllowedBlocks',{alternative:'wp.data.select( "core/block-editor" ).getAllowedBlocks',since:"6.2",version:"6.4"}),CL(e,t)),(e,t)=>CL.getDependants(e,t));function e6(e,t=null){if(!t)return;let{defaultBlock:o,directInsert:r}=e.blockListSettings[t]??{};if(!(!o||!r))return o}function ape(e,t=null){return(0,Sn.default)('wp.data.select( "core/block-editor" ).__experimentalGetDirectInsertBlock',{alternative:'wp.data.select( "core/block-editor" ).getDirectInsertBlock',since:"6.3",version:"6.4"}),e6(e,t)}var lpe=(0,Ie.createRegistrySelector)(e=>(t,o)=>{let r=z(e(Xt)).getPatternBySlug(o);return r?Ax(r):null}),ML=e=>(t,o)=>[...$k(e)(t),...Nc(e)(t,o)],Mz=new WeakMap;function cpe(e){let t=Mz.get(e);return t||(t={...e,get blocks(){return Ax(e).blocks}},Mz.set(e,t)),t}var upe=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o=null,r=Vz)=>{let{getAllPatterns:n}=z(e(Xt)),i=n(),{allowedBlockTypes:s}=Mc(t);return i.filter(({inserter:d=!0})=>!!d).map(cpe).filter(d=>Wk(lf(d),s)).filter(d=>lf(d).every(({blockName:f})=>r[Dc]!==!1?uf(t,f,o):OL(t,f,o)))},ML(e))),dpe=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o,r=null)=>{if(!o)return Jo;let n=e(Xt).__experimentalGetAllowedPatterns(r),i=Array.isArray(o)?o:[o],s=n.filter(a=>a?.blockTypes?.some?.(c=>i.includes(c)));return s.length===0?Jo:s},(t,o,r)=>ML(e)(t,r))),fpe=(0,Ie.createRegistrySelector)(e=>((0,Sn.default)('wp.data.select( "core/block-editor" ).__experimentalGetPatternsByBlockTypes',{alternative:'wp.data.select( "core/block-editor" ).getPatternsByBlockTypes',since:"6.2",version:"6.4"}),e(Xt).getPatternsByBlockTypes)),mpe=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o,r=null)=>{if(!o||o.some(({clientId:i,innerBlocks:s})=>s.length||Mx(t,i)))return Jo;let n=Array.from(new Set(o.map(({name:i})=>i)));return e(Xt).getPatternsByBlockTypes(n,r)},(t,o,r)=>ML(e)(t,r)));function NL(e,t){return e.blockListSettings[t]}function Mc(e){return e.settings}function ppe(e){return e.blocks.isPersistentChange}var hpe=(0,Ie.createSelector)((e,t=[])=>t.reduce((o,r)=>e.blockListSettings[r]?{...o,[r]:e.blockListSettings[r]}:o,{}),e=>[e.blockListSettings]),gpe=(0,Ie.createRegistrySelector)(e=>(0,Ie.createSelector)((t,o)=>{(0,Sn.default)("wp.data.select( 'core/block-editor' ).__experimentalGetReusableBlockTitle",{since:"6.6",version:"6.8"});let r=z(e(Xt)).getReusableBlocks().find(n=>n.id===o);return r?r.title?.raw:null},()=>[z(e(Xt)).getReusableBlocks()]));function bpe(e){return e.blocks.isIgnoredChange}function kpe(e){return e.lastBlockAttributesChange}function vpe(){return(0,Sn.default)('wp.data.select( "core/block-editor" ).hasBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),!1}function ype(e){return!!e.automaticChangeStatus}function _pe(e,t){return e.highlightedBlock===t}function Mx(e,t){return!!e.blocks.controlledInnerBlocks[t]}var Spe=(0,Ie.createSelector)((e,t)=>{if(!t.length)return null;let o=Bp(e);if(t.includes(lo(e,o)))return o;let r=Vc(e),n=EL(e,o||r[0],t);return n?n[n.length-1]:null},(e,t)=>[e.selection.selectionStart.clientId,e.selection.selectionEnd.clientId,t]);function xpe(e,t,o){let{lastBlockInserted:r}=e;return r.clientIds?.includes(t)&&r.source===o}function wpe(e,t){return e.blockVisibility?.[t]??!0}function Cpe(){(0,Sn.default)("wp.data.select( 'core/block-editor' ).getHoveredBlockClientId",{since:"6.9",version:"7.1"})}var Bpe=(0,Ie.createSelector)(e=>{let t=new Set(Object.keys(e.blockVisibility).filter(o=>e.blockVisibility[o]));return t.size===0?fme:t},e=>[e.blockVisibility]);function t6(e,t){if(ni(e,t)!=="default")return!1;if(!Qz(e,t))return!0;if(wL(e)){let n=cf(e);if(n){if(Qr(e,n)?.includes(t))return!0}else if(t&&!ko(e,t))return!0}return((0,De.hasBlockSupport)(lo(e,t),"__experimentalDisableBlockOverlay",!1)?!1:Mx(e,t))&&!$z(e,t)&&!Kz(e,t,!0)}function Epe(e,t){let o=e.blocks.parents.get(t);for(;o;){if(t6(e,o))return!0;o=e.blocks.parents.get(o)}return!1}function ni(e,t=""){return t===null&&(t=""),e.derivedBlockEditingModes?.has(t)?e.derivedBlockEditingModes.get(t):e.blockEditingModes.has(t)?e.blockEditingModes.get(t):"default"}var Tpe=(0,Ie.createRegistrySelector)(e=>(t,o="")=>{let r=o||Bp(t);if(!r||il(t,r))return!1;let{getGroupingBlockName:n}=e(De.store),i=cl(t,r),s=n();return i&&(i.name===s||(0,De.getBlockType)(i.name)?.transforms?.ungroup)&&!!i.innerBlocks.length&&RL(t,r)}),Ipe=(0,Ie.createRegistrySelector)(e=>(t,o=Jo)=>{let{getGroupingBlockName:r}=e(De.store),n=r(),i=o?.length?o:Ep(t),s=i?.length?ko(t,i[0]):void 0;return uf(t,n,s)&&i.length&&Zz(t,i)}),Ppe=(e,t)=>((0,Sn.default)("wp.data.select( 'core/block-editor' ).__unstableGetContentLockingParent",{since:"6.1",version:"6.7"}),SL(e,t));function Ope(e){return(0,Sn.default)("wp.data.select( 'core/block-editor' ).__unstableGetTemporarilyEditingAsBlocks",{since:"6.1",version:"6.7"}),xL(e)}var Nx={};Ns(Nx,{__experimentalUpdateSettings:()=>VL,clearBlockRemovalPrompt:()=>Dpe,deleteStyleOverride:()=>jpe,editContentOnlySection:()=>zL,ensureDefaultBlock:()=>a6,expandBlock:()=>Wpe,hideBlockInterface:()=>Lpe,privateRemoveBlocks:()=>FL,resetZoomLevel:()=>Ype,setBlockRemovalRules:()=>Vpe,setInsertionPoint:()=>$pe,setLastFocus:()=>Upe,setOpenedBlockSettingsMenu:()=>Fpe,setStyleOverride:()=>zpe,setZoomLevel:()=>qpe,showBlockInterface:()=>Mpe,startDragging:()=>Hpe,stopDragging:()=>Gpe,stopEditingContentOnlySection:()=>Kpe,toggleBlockSpotlight:()=>Zpe});var r6=l(I()),n6=l(Oe()),i6=l(Fo()),s6=l(M()),Rpe=e=>Array.isArray(e)?e:[e],Ape=["inserterMediaCategories","blockInspectorAnimation","mediaSideload"];function VL(e,{stripExperimentalSettings:t=!1,reset:o=!1}={}){let r=e;Object.hasOwn(r,"__unstableIsPreviewMode")&&((0,n6.default)("__unstableIsPreviewMode argument in wp.data.dispatch('core/block-editor').updateSettings",{since:"6.8",alternative:"isPreviewMode"}),r={...r},r.isPreviewMode=r.__unstableIsPreviewMode,delete r.__unstableIsPreviewMode);let n=r;if(t&&r6.Platform.OS==="web"){n={};for(let i in r)Ape.includes(i)||(n[i]=r[i])}return{type:"UPDATE_SETTINGS",settings:n,reset:o}}function Lpe(){return{type:"HIDE_BLOCK_INTERFACE"}}function Mpe(){return{type:"SHOW_BLOCK_INTERFACE"}}var FL=(e,t=!0,o=!1)=>({select:r,dispatch:n,registry:i})=>{if(!e||!e.length||(e=Rpe(e),!r.canRemoveBlocks(e)))return;let a=!o&&r.getBlockRemovalRules();if(a){let u=function(p){let h=[],g=[...p];for(;g.length;){let{innerBlocks:b,...k}=g.shift();g.push(...b),h.push(k)}return h};var c=u;let d=e.map(r.getBlock),f=u(d),m;for(let p of a)if(m=p.callback(f),m){n(Npe(e,t,m));return}}t&&n.selectPreviousBlock(e[0],t),i.batch(()=>{n({type:"REMOVE_BLOCKS",clientIds:e}),n(a6())})},a6=()=>({select:e,dispatch:t})=>{if(e.getBlockCount()>0)return;let{__unstableHasCustomAppender:r}=e.getSettings();r||t.insertDefaultBlock()};function Npe(e,t,o){return{type:"DISPLAY_BLOCK_REMOVAL_PROMPT",clientIds:e,selectPrevious:t,message:o}}function Dpe(){return{type:"CLEAR_BLOCK_REMOVAL_PROMPT"}}function Vpe(e=!1){return{type:"SET_BLOCK_REMOVAL_RULES",rules:e}}function Fpe(e){return{type:"SET_OPENED_BLOCK_SETTINGS_MENU",clientId:e}}function zpe(e,t){return{type:"SET_STYLE_OVERRIDE",id:e,style:t}}function jpe(e){return{type:"DELETE_STYLE_OVERRIDE",id:e}}function Upe(e=null){return{type:"LAST_FOCUS",lastFocus:e}}function Hpe(){return{type:"START_DRAGGING"}}function Gpe(){return{type:"STOP_DRAGGING"}}function Wpe(e){return{type:"SET_BLOCK_EXPANDED_IN_LIST_VIEW",clientId:e}}function $pe(e){return{type:"SET_INSERTION_POINT",value:e}}function zL(e){return{type:"EDIT_CONTENT_ONLY_SECTION",clientId:e}}function Kpe(){return{type:"EDIT_CONTENT_ONLY_SECTION"}}var qpe=(e=100)=>({select:t,dispatch:o})=>{if(e!==100){let r=t.getBlockSelectionStart(),n=t.getSectionRootClientId();if(r){let i;if(n){let s=t.getBlockOrder(n);s?.includes(r)?i=r:i=t.getBlockParents(r).find(a=>s.includes(a))}else i=t.getBlockHierarchyRootClientId(r);i?o.selectBlock(i):o.clearSelectedBlock(),(0,i6.speak)((0,s6.__)("You are currently in zoom-out mode."))}}o({type:"SET_ZOOM_LEVEL",zoom:e})};function Ype(){return{type:"RESET_ZOOM_LEVEL"}}function Zpe(e,t){return{type:"TOGGLE_BLOCK_SPOTLIGHT",clientId:e,hasBlockSpotlight:t}}var HL={};Ns(HL,{__unstableDeleteSelection:()=>yhe,__unstableExpandSelection:()=>She,__unstableMarkAutomaticChange:()=>zhe,__unstableMarkLastChangeAsPersistent:()=>Vhe,__unstableMarkNextChangeAsNotPersistent:()=>Fhe,__unstableSaveReusableBlock:()=>Dhe,__unstableSetEditorMode:()=>jhe,__unstableSetTemporarilyEditingAsBlocks:()=>Yhe,__unstableSplitSelection:()=>_he,clearSelectedBlock:()=>che,duplicateBlocks:()=>Hhe,enterFormattedText:()=>Ohe,exitFormattedText:()=>Rhe,flashBlock:()=>$he,hideInsertionPoint:()=>bhe,hoverBlock:()=>rhe,insertAfterBlock:()=>Whe,insertBeforeBlock:()=>Ghe,insertBlock:()=>hhe,insertBlocks:()=>b6,insertDefaultBlock:()=>Lhe,mergeBlocks:()=>xhe,moveBlockToPosition:()=>phe,moveBlocksDown:()=>fhe,moveBlocksToPosition:()=>g6,moveBlocksUp:()=>mhe,multiSelect:()=>lhe,receiveBlocks:()=>Jpe,registerInserterMediaCategory:()=>Zhe,removeBlock:()=>whe,removeBlocks:()=>k6,replaceBlock:()=>dhe,replaceBlocks:()=>p6,replaceInnerBlocks:()=>Che,resetBlocks:()=>Xpe,resetSelection:()=>Qpe,selectBlock:()=>ohe,selectNextBlock:()=>ihe,selectPreviousBlock:()=>nhe,selectionChange:()=>Ahe,setBlockEditingMode:()=>Xhe,setBlockMovingClientId:()=>Uhe,setBlockVisibility:()=>qhe,setHasControlledInnerBlocks:()=>Khe,setTemplateValidity:()=>khe,showInsertionPoint:()=>ghe,startDraggingBlocks:()=>Ihe,startMultiSelect:()=>she,startTyping:()=>Ehe,stopDraggingBlocks:()=>Phe,stopMultiSelect:()=>ahe,stopTyping:()=>The,synchronizeTemplate:()=>vhe,toggleBlockHighlight:()=>UL,toggleBlockMode:()=>Bhe,toggleSelection:()=>uhe,unsetBlockEditingMode:()=>Qhe,updateBlock:()=>the,updateBlockAttributes:()=>ehe,updateBlockListSettings:()=>Mhe,updateSettings:()=>Nhe,validateBlocksToTemplate:()=>m6});var ge=l($()),Dx=l(Fo()),Fc=l(M()),d6=l(ii()),it=l(Vo()),zc=l(Oe()),f6=l(Tp());var u6=l(Vo()),ul="\x86";function Jk(e){if(e)return Object.keys(e).find(t=>{let o=e[t];return(typeof o=="string"||o instanceof u6.RichTextData)&&o.toString().indexOf(ul)!==-1})}function jL(e){for(let[t,o]of Object.entries(e.attributes))if(o.source==="rich-text"||o.source==="html")return t}var Ip=e=>Array.isArray(e)?e:[e],Xpe=e=>({dispatch:t})=>{t({type:"RESET_BLOCKS",blocks:e}),t(m6(e))},m6=e=>({select:t,dispatch:o})=>{let r=t.getTemplate(),n=t.getTemplateLock(),i=!r||n!=="all"||(0,ge.doBlocksMatchTemplate)(e,r),s=t.isValidTemplate();if(i!==s)return o.setTemplateValidity(i),i};function Qpe(e,t,o){return{type:"RESET_SELECTION",selectionStart:e,selectionEnd:t,initialPosition:o}}function Jpe(e){return(0,zc.default)('wp.data.dispatch( "core/block-editor" ).receiveBlocks',{since:"5.9",alternative:"resetBlocks or insertBlocks"}),{type:"RECEIVE_BLOCKS",blocks:e}}function ehe(e,t,o={uniqueByBlock:!1}){return typeof o=="boolean"&&(o={uniqueByBlock:o}),{type:"UPDATE_BLOCK_ATTRIBUTES",clientIds:Ip(e),attributes:t,options:o}}function the(e,t){return{type:"UPDATE_BLOCK",clientId:e,updates:t}}function ohe(e,t=0){return{type:"SELECT_BLOCK",initialPosition:t,clientId:e}}function rhe(){return(0,zc.default)('wp.data.dispatch( "core/block-editor" ).hoverBlock',{since:"6.9",version:"7.1"}),{type:"DO_NOTHING"}}var nhe=(e,t=!1)=>({select:o,dispatch:r})=>{let n=o.getPreviousBlockClientId(e);if(n)r.selectBlock(n,-1);else if(t){let i=o.getBlockRootClientId(e);i&&r.selectBlock(i,-1)}},ihe=e=>({select:t,dispatch:o})=>{let r=t.getNextBlockClientId(e);r&&o.selectBlock(r)};function she(){return{type:"START_MULTI_SELECT"}}function ahe(){return{type:"STOP_MULTI_SELECT"}}var lhe=(e,t,o=0)=>({select:r,dispatch:n})=>{let i=r.getBlockRootClientId(e),s=r.getBlockRootClientId(t);if(i!==s)return;n({type:"MULTI_SELECT",start:e,end:t,initialPosition:o});let a=r.getSelectedBlockCount();(0,Dx.speak)((0,Fc.sprintf)((0,Fc._n)("%s block selected.","%s blocks selected.",a),a),"assertive")};function che(){return{type:"CLEAR_SELECTED_BLOCK"}}function uhe(e=!0){return{type:"TOGGLE_SELECTION",isSelectionEnabled:e}}var p6=(e,t,o,r=0,n)=>({select:i,dispatch:s,registry:a})=>{e=Ip(e),t=Ip(t);let c=i.getBlockRootClientId(e[0]);for(let u=0;u{s({type:"REPLACE_BLOCKS",clientIds:e,blocks:t,time:Date.now(),indexToSelect:o,initialPosition:r,meta:n}),s.ensureDefaultBlock()})};function dhe(e,t){return p6(e,t)}var h6=e=>(t,o)=>({select:r,dispatch:n})=>{r.canMoveBlocks(t)&&n({type:e,clientIds:Ip(t),rootClientId:o})},fhe=h6("MOVE_BLOCKS_DOWN"),mhe=h6("MOVE_BLOCKS_UP"),g6=(e,t="",o="",r)=>({select:n,dispatch:i})=>{n.canMoveBlocks(e)&&(t!==o&&(!n.canRemoveBlocks(e)||!n.canInsertBlocks(e,o))||i({type:"MOVE_BLOCKS_TO_POSITION",fromRootClientId:t,toRootClientId:o,clientIds:e,index:r}))};function phe(e,t="",o="",r){return g6([e],t,o,r)}function hhe(e,t,o,r,n){return b6([e],t,o,r,0,n)}var b6=(e,t,o,r=!0,n=0,i)=>({select:s,dispatch:a})=>{n!==null&&typeof n=="object"&&(i=n,n=0,(0,zc.default)("meta argument in wp.data.dispatch('core/block-editor')",{since:"5.8",hint:"The meta argument is now the 6th argument of the function"})),e=Ip(e);let c=[];for(let u of e)s.canInsertBlockType(u.name,o)&&c.push(u);c.length&&a({type:"INSERT_BLOCKS",blocks:c,index:t,rootClientId:o,time:Date.now(),updateSelection:r,initialPosition:r?n:null,meta:i})};function ghe(e,t,o={}){let{__unstableWithInserter:r,operation:n,nearestSide:i}=o;return{type:"SHOW_INSERTION_POINT",rootClientId:e,index:t,__unstableWithInserter:r,operation:n,nearestSide:i}}var bhe=()=>({select:e,dispatch:t})=>{e.isBlockInsertionPointVisible()&&t({type:"HIDE_INSERTION_POINT"})};function khe(e){return{type:"SET_TEMPLATE_VALIDITY",isValid:e}}var vhe=()=>({select:e,dispatch:t})=>{t({type:"SYNCHRONIZE_TEMPLATE"});let o=e.getBlocks(),r=e.getTemplate(),n=(0,ge.synchronizeBlocksWithTemplate)(o,r);t.resetBlocks(n)},yhe=e=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd();if(n.clientId===i.clientId)return;if(!n.attributeKey||!i.attributeKey||typeof n.offset>"u"||typeof i.offset>"u")return!1;let s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let p=e?m:f,h=o.getBlock(p.clientId),g=(0,ge.getBlockType)(h.name);if(!g.merge)return;let b=f,k=m,y=o.getBlock(b.clientId),v=o.getBlock(k.clientId),S=y.attributes[b.attributeKey],w=v.attributes[k.attributeKey],C=(0,it.create)({html:S}),E=(0,it.create)({html:w});C=(0,it.remove)(C,b.offset,C.text.length),E=(0,it.insert)(E,ul,0,k.offset);let P=(0,ge.cloneBlock)(y,{[b.attributeKey]:(0,it.toHTMLString)({value:C})}),R=(0,ge.cloneBlock)(v,{[k.attributeKey]:(0,it.toHTMLString)({value:E})}),B=e?P:R,T=y.name===v.name?[B]:(0,ge.switchToBlockType)(B,g.name);if(!T||!T.length)return;let A;if(e){let Q=T.pop();A=g.merge(Q.attributes,R.attributes)}else{let Q=T.shift();A=g.merge(P.attributes,Q.attributes)}let L=Jk(A),U=A[L],G=(0,it.create)({html:U}),j=G.text.indexOf(ul),N=(0,it.remove)(G,j,j+1),F=(0,it.toHTMLString)({value:N});A[L]=F;let K=o.getSelectedBlockClientIds(),Z=[...e?T:[],{...h,attributes:{...h.attributes,...A}},...e?[]:T];t.batch(()=>{r.selectionChange(h.clientId,L,j,j),r.replaceBlocks(K,Z,0,o.getSelectedBlocksInitialCaretPosition())})},_he=(e=[])=>({registry:t,select:o,dispatch:r})=>{let n=o.getSelectionStart(),i=o.getSelectionEnd(),s=o.getBlockRootClientId(n.clientId),a=o.getBlockRootClientId(i.clientId);if(s!==a)return;let c=o.getBlockOrder(s),u=c.indexOf(n.clientId),d=c.indexOf(i.clientId),f,m;u>d?(f=i,m=n):(f=n,m=i);let p=f,h=m,g=o.getBlock(p.clientId),b=o.getBlock(h.clientId),k=(0,ge.getBlockType)(g.name),y=(0,ge.getBlockType)(b.name),v=typeof p.attributeKey=="string"?p.attributeKey:jL(k),S=typeof h.attributeKey=="string"?h.attributeKey:jL(y),w=o.getBlockAttributes(p.clientId);if(w?.metadata?.bindings?.[v]){if(e.length){let{createWarningNotice:ee}=t.dispatch(d6.store);ee((0,Fc.__)("Blocks can't be inserted into other blocks with bindings"),{type:"snackbar"});return}r.insertAfterBlock(p.clientId);return}if(!v||!S||typeof n.offset>"u"||typeof i.offset>"u")return;if(p.clientId===h.clientId&&v===S&&p.offset===h.offset){if(e.length){if((0,ge.isUnmodifiedDefaultBlock)(g,"content")){r.replaceBlocks([p.clientId],e,e.length-1,-1);return}}else if(!o.getBlockOrder(p.clientId).length){let ee=function(){let de=(0,ge.getDefaultBlockName)();return o.canInsertBlockType(de,s)?(0,ge.createBlock)(de):(0,ge.createBlock)(o.getBlockName(p.clientId))};var E=ee;let ie=w[v].length;if(p.offset===0&&ie){r.insertBlocks([ee()],o.getBlockIndex(p.clientId),s,!1);return}if(p.offset===ie){r.insertBlocks([ee()],o.getBlockIndex(p.clientId)+1,s);return}}}let P=g.attributes[v],R=b.attributes[S],B=(0,it.create)({html:P}),T=(0,it.create)({html:R});B=(0,it.remove)(B,p.offset,B.text.length),T=(0,it.remove)(T,0,h.offset);let A={...g,innerBlocks:g.clientId===b.clientId?[]:g.innerBlocks,attributes:{...g.attributes,[v]:(0,it.toHTMLString)({value:B})}},L={...b,clientId:g.clientId===b.clientId?(0,ge.createBlock)(b.name).clientId:b.clientId,attributes:{...b.attributes,[S]:(0,it.toHTMLString)({value:T})}},U=(0,ge.getDefaultBlockName)();if(g.clientId===b.clientId&&U&&L.name!==U&&o.canInsertBlockType(U,s)){let ee=(0,ge.switchToBlockType)(L,U);ee?.length===1&&(L=ee[0])}if(!e.length){r.replaceBlocks(o.getSelectedBlockClientIds(),[A,L]);return}let G,j=[],N=[...e],F=N.shift(),K=(0,ge.getBlockType)(A.name),Z=K.merge&&F.name===K.name?[F]:(0,ge.switchToBlockType)(F,K.name);if(Z?.length){let ee=Z.shift();A={...A,attributes:{...A.attributes,...K.merge(A.attributes,ee.attributes)}},j.push(A),G={clientId:A.clientId,attributeKey:v,offset:(0,it.create)({html:A.attributes[v]}).text.length},N.unshift(...Z)}else(0,ge.isUnmodifiedBlock)(A)||j.push(A),j.push(F);let Q=N.pop(),J=(0,ge.getBlockType)(L.name);if(N.length&&j.push(...N),Q){let ee=J.merge&&J.name===Q.name?[Q]:(0,ge.switchToBlockType)(Q,J.name);if(ee?.length){let ie=ee.pop();j.push({...L,attributes:{...L.attributes,...J.merge(ie.attributes,L.attributes)}}),j.push(...ee),G={clientId:L.clientId,attributeKey:S,offset:(0,it.create)({html:ie.attributes[S]}).text.length}}else j.push(Q),(0,ge.isUnmodifiedBlock)(L)||j.push(L)}else(0,ge.isUnmodifiedBlock)(L)||j.push(L);t.batch(()=>{r.replaceBlocks(o.getSelectedBlockClientIds(),j,j.length-1,0),G&&r.selectionChange(G.clientId,G.attributeKey,G.offset,G.offset)})},She=()=>({select:e,dispatch:t})=>{let o=e.getSelectionStart(),r=e.getSelectionEnd();t.selectionChange({start:{clientId:o.clientId},end:{clientId:r.clientId}})},xhe=(e,t)=>({registry:o,select:r,dispatch:n})=>{let i=e,s=t,a=r.getBlock(i),c=(0,ge.getBlockType)(a.name);if(!c||r.getBlockEditingMode(i)==="disabled"||r.getBlockEditingMode(s)==="disabled")return;let u=r.getBlock(s);if(!c.merge&&(0,ge.getBlockSupport)(a.name,"__experimentalOnMerge")){let w=(0,ge.switchToBlockType)(u,c.name);if(w?.length!==1){n.selectBlock(a.clientId);return}let[C]=w;if(C.innerBlocks.length<1){n.selectBlock(a.clientId);return}o.batch(()=>{n.insertBlocks(C.innerBlocks,void 0,i),n.removeBlock(s),n.selectBlock(C.innerBlocks[0].clientId);let E=r.getNextBlockClientId(i);if(E&&r.getBlockName(i)===r.getBlockName(E)){let P=r.getBlockAttributes(i),R=r.getBlockAttributes(E);Object.keys(P).every(B=>P[B]===R[B])&&(n.moveBlocksToPosition(r.getBlockOrder(E),E,i),n.removeBlock(E,!1))}});return}if((0,ge.isUnmodifiedDefaultBlock)(a)){n.removeBlock(i,r.isBlockSelected(i));return}if((0,ge.isUnmodifiedDefaultBlock)(u)){n.removeBlock(s,r.isBlockSelected(s));return}if(!c.merge){(0,ge.isUnmodifiedBlock)(u,"content")?n.removeBlock(s,r.isBlockSelected(s)):n.selectBlock(a.clientId);return}let d=(0,ge.getBlockType)(u.name),{clientId:f,attributeKey:m,offset:p}=r.getSelectionStart(),g=(f===i?c:d).attributes[m],b=(f===i||f===s)&&m!==void 0&&p!==void 0&&!!g;g||(typeof m=="number"?window.console.error(`RichText needs an identifier prop that is the block attribute key of the attribute it controls. Its type is expected to be a string, but was ${typeof m}`):window.console.error("The RichText identifier prop does not match any attributes defined by the block."));let k=(0,ge.cloneBlock)(a),y=(0,ge.cloneBlock)(u);if(b){let w=f===i?k:y,C=w.attributes[m],E=(0,it.insert)((0,it.create)({html:C}),ul,p,p);w.attributes[m]=(0,it.toHTMLString)({value:E})}let v=a.name===u.name?[y]:(0,ge.switchToBlockType)(y,a.name);if(!v||!v.length)return;let S=c.merge(k.attributes,v[0].attributes);if(b){let w=Jk(S),C=S[w],E=(0,it.create)({html:C}),P=E.text.indexOf(ul),R=(0,it.remove)(E,P,P+1),B=(0,it.toHTMLString)({value:R});S[w]=B,n.selectionChange(a.clientId,w,P,P)}n.replaceBlocks([a.clientId,u.clientId],[{...a,attributes:{...a.attributes,...S}},...v.slice(1)],0)},k6=(e,t=!0)=>FL(e,t);function whe(e,t){return k6([e],t)}function Che(e,t,o=!1,r=0){return{type:"REPLACE_INNER_BLOCKS",rootClientId:e,blocks:t,updateSelection:o,initialPosition:o?r:null,time:Date.now()}}function Bhe(e){return{type:"TOGGLE_BLOCK_MODE",clientId:e}}function Ehe(){return{type:"START_TYPING"}}function The(){return{type:"STOP_TYPING"}}function Ihe(e=[]){return{type:"START_DRAGGING_BLOCKS",clientIds:e}}function Phe(){return{type:"STOP_DRAGGING_BLOCKS"}}function Ohe(){return(0,zc.default)('wp.data.dispatch( "core/block-editor" ).enterFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function Rhe(){return(0,zc.default)('wp.data.dispatch( "core/block-editor" ).exitFormattedText',{since:"6.1",version:"6.3"}),{type:"DO_NOTHING"}}function Ahe(e,t,o,r){return typeof e=="string"?{type:"SELECTION_CHANGE",clientId:e,attributeKey:t,startOffset:o,endOffset:r}:{type:"SELECTION_CHANGE",...e}}var Lhe=(e,t,o)=>({dispatch:r})=>{let n=(0,ge.getDefaultBlockName)();if(!n)return;let i=(0,ge.createBlock)(n,e);return r.insertBlock(i,o,t)};function Mhe(e,t){return{type:"UPDATE_BLOCK_LIST_SETTINGS",clientId:e,settings:t}}function Nhe(e){return VL(e,{stripExperimentalSettings:!0})}function Dhe(e,t){return{type:"SAVE_REUSABLE_BLOCK_SUCCESS",id:e,updatedId:t}}function Vhe(){return{type:"MARK_LAST_CHANGE_AS_PERSISTENT"}}function Fhe(){return{type:"MARK_NEXT_CHANGE_AS_NOT_PERSISTENT"}}var zhe=()=>({dispatch:e})=>{e({type:"MARK_AUTOMATIC_CHANGE"});let{requestIdleCallback:t=o=>setTimeout(o,100)}=window;t(()=>{e({type:"MARK_AUTOMATIC_CHANGE_FINAL"})})},jhe=e=>({registry:t})=>{t.dispatch(f6.store).set("core","editorTool",e),e==="navigation"?(0,Dx.speak)((0,Fc.__)("You are currently in Write mode.")):e==="edit"&&(0,Dx.speak)((0,Fc.__)("You are currently in Design mode."))};function Uhe(){return(0,zc.default)('wp.data.dispatch( "core/block-editor" ).setBlockMovingClientId',{since:"6.7",hint:"Block moving mode feature has been removed"}),{type:"DO_NOTHING"}}var Hhe=(e,t=!0)=>({select:o,dispatch:r})=>{if(!e||!e.length)return;let n=o.getBlocksByClientId(e);if(n.some(d=>!d)||n.map(d=>d.name).some(d=>!(0,ge.hasBlockSupport)(d,"multiple",!0)))return;let s=o.getBlockRootClientId(e[0]),a=Ip(e),c=o.getBlockIndex(a[a.length-1]),u=n.map(d=>(0,ge.__experimentalCloneSanitizedBlock)(d));return r.insertBlocks(u,c+1,s,t),u.length>1&&t&&r.multiSelect(u[0].clientId,u[u.length-1].clientId),u.map(d=>d.clientId)},Ghe=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,ge.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i,r)},Whe=e=>({select:t,dispatch:o})=>{if(!e)return;let r=t.getBlockRootClientId(e);if(t.getTemplateLock(r))return;let i=t.getBlockIndex(e),s=r?t.getDirectInsertBlock(r):null;if(!s)return o.insertDefaultBlock({},r,i+1);let a={};if(s.attributesToCopy){let u=t.getBlockAttributes(e);s.attributesToCopy.forEach(d=>{u[d]&&(a[d]=u[d])})}let c=(0,ge.createBlock)(s.name,{...s.attributes,...a});return o.insertBlock(c,i+1,r)};function UL(e,t){return{type:"TOGGLE_BLOCK_HIGHLIGHT",clientId:e,isHighlighted:t}}var $he=(e,t=150)=>async({dispatch:o})=>{o(UL(e,!0)),await new Promise(r=>setTimeout(r,t)),o(UL(e,!1))};function Khe(e,t){return{type:"SET_HAS_CONTROLLED_INNER_BLOCKS",hasControlledInnerBlocks:t,clientId:e}}function qhe(e){return{type:"SET_BLOCK_VISIBILITY",updates:e}}function Yhe(e){return(0,zc.default)("wp.data.dispatch( 'core/block-editor' ).__unstableSetTemporarilyEditingAsBlocks",{since:"7.0"}),zL(e)}var Zhe=e=>({select:t,dispatch:o})=>{if(!e||typeof e!="object"){console.error("Category should be an `InserterMediaCategory` object.");return}if(!e.name){console.error("Category should have a `name` that should be unique among all media categories.");return}if(!e.labels?.name){console.error("Category should have a `labels.name`.");return}if(!["image","audio","video"].includes(e.mediaType)){console.error("Category should have `mediaType` property that is one of `image|audio|video`.");return}if(!e.fetch||typeof e.fetch!="function"){console.error("Category should have a `fetch` function defined with the following signature `(InserterMediaRequest) => Promise`.");return}let r=t.getRegisteredInserterMediaCategories();if(r.some(({name:n})=>n===e.name)){console.error(`A category is already registered with the same name: "${e.name}".`);return}if(r.some(({labels:{name:n}={}})=>n===e.labels?.name)){console.error(`A category is already registered with the same labels.name: "${e.labels.name}".`);return}o({type:"REGISTER_INSERTER_MEDIA_CATEGORY",category:{...e,isExternalResource:!0}})};function Xhe(e="",t){return{type:"SET_BLOCK_EDITING_MODE",clientId:e,mode:t}}function Qhe(e=""){return{type:"UNSET_BLOCK_EDITING_MODE",clientId:e}}var Pp={reducer:kz,selectors:DL,actions:HL},_=(0,Vx.createReduxStore)(Xt,{...Pp,persist:["preferences"]}),v6=(0,Vx.registerStore)(Xt,{...Pp,persist:["preferences"]});z(v6).registerPrivateActions(Nx);z(v6).registerPrivateSelectors(Ox);z(_).registerPrivateActions(Nx);z(_).registerPrivateSelectors(Ox);var Op=l(O()),y6=l(M());var Yi=l(x());function Jhe({className:e,actions:t,children:o,secondaryActions:r}){return(0,Yi.jsx)("div",{style:{display:"contents",all:"initial"},children:(0,Yi.jsx)("div",{className:V(e,"block-editor-warning"),children:(0,Yi.jsxs)("div",{className:"block-editor-warning__contents",children:[(0,Yi.jsx)("p",{className:"block-editor-warning__message",children:o}),(t?.length>0||r)&&(0,Yi.jsxs)("div",{className:"block-editor-warning__actions",children:[t?.length>0&&t.map((n,i)=>(0,Yi.jsx)("span",{className:"block-editor-warning__action",children:n},i)),r&&(0,Yi.jsx)(Op.DropdownMenu,{className:"block-editor-warning__secondary",icon:Ki,label:(0,y6.__)("More options"),popoverProps:{placement:"bottom-end",className:"block-editor-warning__dropdown"},noIcons:!0,children:()=>(0,Yi.jsx)(Op.MenuGroup,{children:r.map((n,i)=>(0,Yi.jsx)(Op.MenuItem,{onClick:n.onClick,children:n.title},i))})})]})]})})})}var jc=Jhe;var Rp=l(x());function x6({originalBlockClientId:e,name:t,onReplace:o}){let{selectBlock:r}=(0,S6.useDispatch)(_),n=(0,_6.getBlockType)(t);return(0,Rp.jsxs)(jc,{actions:[(0,Rp.jsx)(GL.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>r(e),children:(0,Fx.__)("Find original")},"find-original"),(0,Rp.jsx)(GL.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>o([]),children:(0,Fx.__)("Remove")},"remove")],children:[(0,Rp.jsxs)("strong",{children:[n?.title,": "]}),(0,Fx.__)("This block can only be used once.")]})}var ev=l(x());function jx({mayDisplayControls:e,mayDisplayParentControls:t,blockEditingMode:o,isPreviewMode:r,...n}){let{name:i,isSelected:s,clientId:a,attributes:c={},__unstableLayoutClassNames:u}=n,{layout:d=null,metadata:f={}}=c,{bindings:m}=f,p=(0,WL.hasBlockSupport)(i,"layout",!1)||(0,WL.hasBlockSupport)(i,"__experimentalLayout",!1),{originalBlockClientId:h}=(0,zx.useContext)($i);return(0,ev.jsxs)(vS,{value:(0,zx.useMemo)(()=>({name:i,isSelected:s,clientId:a,layout:p?d:null,__unstableLayoutClassNames:u,[xc]:e,[ip]:t,[bS]:o,[sp]:m,[kS]:r}),[i,s,a,p,d,u,e,t,o,m,r]),children:[(0,ev.jsx)(uz,{...n}),h&&(0,ev.jsx)(x6,{originalBlockClientId:h,name:i,onReplace:n.onReplace})]})}function fe(...e){let{clientId:t=null}=Ae();return(0,w6.useSelect)(o=>z(o(_)).getBlockSettings(t,...e),[t,...e])}function B6(e){(0,C6.default)("wp.blockEditor.useSetting",{since:"6.5",alternative:"wp.blockEditor.useSettings",note:"The new useSettings function can retrieve multiple settings at once, with better performance."});let[t]=fe(e);return t}var Hx=l(x()),{kebabCase:ege}=z(T6.privateApis),E6=([e,...t])=>e.toUpperCase()+t.join(""),tge=e=>(0,mf.createHigherOrderComponent)(t=>o=>(0,Hx.jsx)(t,{...o,colors:e}),"withCustomColorPalette"),oge=()=>(0,mf.createHigherOrderComponent)(e=>t=>{let[o,r,n]=fe("color.palette.custom","color.palette.theme","color.palette.default"),i=(0,Ux.useMemo)(()=>[...o||[],...r||[],...n||[]],[o,r,n]);return(0,Hx.jsx)(e,{...t,colors:i})},"withEditorColorPalette");function I6(e,t){let o=e.reduce((r,n)=>({...r,...typeof n=="string"?{[n]:ege(n)}:n}),{});return(0,mf.compose)([t,r=>class extends Ux.Component{constructor(n){super(n),this.setters=this.createSetters(),this.colorUtils={getMostReadableColor:this.getMostReadableColor.bind(this)},this.state={}}getMostReadableColor(n){let{colors:i}=this.props;return J4(i,n)}createSetters(){return Object.keys(o).reduce((n,i)=>{let s=E6(i),a=`custom${s}`;return n[`set${s}`]=this.createSetColor(i,a),n},{})}createSetColor(n,i){return s=>{let a=SS(this.props.colors,s);this.props.setAttributes({[n]:a&&a.slug?a.slug:void 0,[i]:a&&a.slug?void 0:s})}}static getDerivedStateFromProps({attributes:n,colors:i},s){return Object.entries(o).reduce((a,[c,u])=>{let d=Ds(i,n[c],n[`custom${E6(c)}`]),f=s[c];return f?.color===d.color&&f?a[c]=f:a[c]={...d,class:Qn(u,d.slug)},a},{})}render(){return(0,Hx.jsx)(r,{...this.props,colors:void 0,...this.state,...this.setters,colorUtils:this.colorUtils})}}])}function P6(e){return(...t)=>{let o=tge(e);return(0,mf.createHigherOrderComponent)(I6(t,o),"withCustomColors")}}function O6(...e){let t=oge();return(0,mf.createHigherOrderComponent)(I6(e,t),"withColors")}var Gx=l(I()),Wx=l(D());function Ap(e){if(e)return`has-${e}-gradient-background`}function $x(e,t){let o=e?.find(r=>r.slug===t);return o&&o.gradient}function R6(e,t){return e?.find(r=>r.gradient===t)}function A6(e,t){let o=R6(e,t);return o&&o.slug}function rge({gradientAttribute:e="gradient",customGradientAttribute:t="customGradient"}={}){let{clientId:o}=Ae(),[r,n,i]=fe("color.gradients.custom","color.gradients.theme","color.gradients.default"),s=(0,Gx.useMemo)(()=>[...r||[],...n||[],...i||[]],[r,n,i]),{gradient:a,customGradient:c}=(0,Wx.useSelect)(p=>{let{getBlockAttributes:h}=p(_),g=h(o)||{};return{customGradient:g[t],gradient:g[e]}},[o,e,t]),{updateBlockAttributes:u}=(0,Wx.useDispatch)(_),d=(0,Gx.useCallback)(p=>{let h=A6(s,p);if(h){u(o,{[e]:h,[t]:void 0});return}u(o,{[e]:void 0,[t]:p})},[s,o,u]),f=Ap(a),m;return a?m=$x(s,a):m=c,{gradientClass:f,gradientValue:m,setGradient:d}}var L6=l(O());var{kebabCase:nge}=z(L6.privateApis),Lp=(e,t,o)=>{if(t){let r=e?.find(({slug:n})=>n===t);if(r)return r}return{size:o}};function $L(e,t){let o=e?.find(({size:r})=>r===t);return o||{size:t}}function Uc(e){if(e)return`has-${nge(e)}-font-size`}var ige="1600px",sge="320px",age=1,lge=.25,cge=.75,uge="14px";function M6({minimumFontSize:e,maximumFontSize:t,fontSize:o,minimumViewportWidth:r=sge,maximumViewportWidth:n=ige,scaleFactor:i=age,minimumFontSizeLimit:s}){if(s=Hc(s)?s:uge,o){let v=Hc(o);if(!v?.unit)return null;let S=Hc(s,{coerceTo:v.unit});if(S?.value&&!e&&!t&&v?.value<=S?.value)return null;if(t||(t=`${v.value}${v.unit}`),!e){let w=v.unit==="px"?v.value:v.value*16,C=Math.min(Math.max(1-.075*Math.log2(w),lge),cge),E=tv(v.value*C,3);S?.value&&Ee.toUpperCase()+t.join(""),z6=(...e)=>{let t=e.reduce((o,r)=>(o[r]=`custom${V6(r)}`,o),{});return(0,ov.createHigherOrderComponent)((0,ov.compose)([(0,ov.createHigherOrderComponent)(o=>r=>{let[n]=fe("typography.fontSizes");return(0,qL.jsx)(o,{...r,fontSizes:n||fge})},"withFontSizes"),o=>class extends F6.Component{constructor(r){super(r),this.setters=this.createSetters(),this.state={}}createSetters(){return Object.entries(t).reduce((r,[n,i])=>{let s=V6(n);return r[`set${s}`]=this.createSetFontSize(n,i),r},{})}createSetFontSize(r,n){return i=>{let s=this.props.fontSizes?.find(({size:a})=>a===Number(i));this.props.setAttributes({[r]:s&&s.slug?s.slug:void 0,[n]:s&&s.slug?void 0:i})}}static getDerivedStateFromProps({attributes:r,fontSizes:n},i){let s=(c,u)=>i[u]?r[u]?r[u]!==i[u].slug:i[u].size!==r[c]:!0;if(!Object.values(t).some(s))return null;let a=Object.entries(t).filter(([c,u])=>s(u,c)).reduce((c,[u,d])=>{let f=r[u],m=Lp(n,f,r[d]);return c[u]={...m,class:Uc(f)},c},{});return{...i,...a}}render(){return(0,qL.jsx)(o,{...this.props,fontSizes:void 0,...this.state,...this.setters})}}]),"withFontSizes")};var Gc=l(M()),Kx=l(O());var j6=l(x()),mge=[{icon:Ic,title:(0,Gc.__)("Align text left"),align:"left"},{icon:qd,title:(0,Gc.__)("Align text center"),align:"center"},{icon:Pc,title:(0,Gc.__)("Align text right"),align:"right"}],pge={placement:"bottom-start"};function hge({value:e,onChange:t,alignmentControls:o=mge,label:r=(0,Gc.__)("Align text"),description:n=(0,Gc.__)("Change text alignment"),isCollapsed:i=!0,isToolbar:s}){function a(m){return()=>t(e===m?void 0:m)}let c=o.find(m=>m.align===e);function u(){return c?c.icon:(0,Gc.isRTL)()?Pc:Ic}let d=s?Kx.ToolbarGroup:Kx.ToolbarDropdownMenu,f=s?{isCollapsed:i}:{toggleProps:{description:n},popoverProps:pge};return(0,j6.jsx)(d,{icon:u(),label:r,controls:o.map(m=>{let{align:p}=m;return{...m,isActive:e===p,role:i?"menuitemradio":void 0,onClick:a(p)}}),...f})}var YL=hge;var ZL=l(x()),qx=e=>(0,ZL.jsx)(YL,{...e,isToolbar:!1}),U6=e=>(0,ZL.jsx)(YL,{...e,isToolbar:!0});var tw=l(nt()),ow=l(O()),uj=l(I()),rw=l($());var tj=l(D()),$c=l($()),tM=l(I());var X6=l($6());var XL=function(e,t){return XL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(o[n]=r[n])},XL(e,t)};function K6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");XL(e,t);function o(){this.constructor=e}e.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}var Bo=function(){return Bo=Object.assign||function(t){for(var o,r=1,n=arguments.length;re.name||"",xge=e=>e.title,wge=e=>e.description||"",Cge=e=>e.keywords||[],Bge=e=>e.category,Ege=()=>null,Tge=[/([\p{Ll}\p{Lo}\p{N}])([\p{Lu}\p{Lt}])/gu,/([\p{Lu}\p{Lt}])([\p{Lu}\p{Lt}][\p{Ll}\p{Lo}])/gu],Ige=new RegExp("(\\p{C}|\\p{P}|\\p{S})+","giu"),QL=new Map,JL=new Map;function Zx(e=""){if(QL.has(e))return QL.get(e);let t=Z6(e,{splitRegexp:Tge,stripRegexp:Ige}).split(" ").filter(Boolean);return QL.set(e,t),t}function rv(e=""){if(JL.has(e))return JL.get(e);let t=(0,X6.default)(e);return t=t.replace(/^\//,""),t=t.toLowerCase(),JL.set(e,t),t}var nv=(e="")=>Zx(rv(e)),Pge=(e,t)=>e.filter(o=>!nv(t).some(r=>r.includes(o))),Xx=(e,t,o,r)=>nv(r).length===0?e:iv(e,r,{getCategory:s=>t.find(({slug:a})=>a===s.category)?.title,getCollection:s=>o[s.name.split("/")[0]]?.title}),iv=(e=[],t="",o={})=>{if(nv(t).length===0)return e;let n=e.map(i=>[i,Oge(i,t,o)]).filter(([,i])=>i>0);return n.sort(([,i],[,s])=>s-i),n.map(([i])=>i)};function Oge(e,t,o={}){let{getName:r=Sge,getTitle:n=xge,getDescription:i=wge,getKeywords:s=Cge,getCategory:a=Bge,getCollection:c=Ege}=o,u=r(e),d=n(e),f=i(e),m=s(e),p=a(e),h=c(e),g=rv(t),b=rv(d),k=0;if(g===b)k+=30;else if(b.startsWith(g))k+=20;else{let y=[u,d,f,...m,p,h].join(" "),v=Zx(g);Pge(v,y).length===0&&(k+=10)}if(k!==0&&u.startsWith("core/")){let y=u!==e.id;k+=y?1:2}return k}var js=l($()),Mp=l(D()),Qx=l(I()),Q6=l(ii()),Jx=l(M());var Rge=(e,t,o)=>{let r=(0,Qx.useMemo)(()=>({[Dc]:!!o}),[o]),[n]=(0,Mp.useSelect)(d=>[d(_).getInserterItems(e,r)],[e,r]),{getClosestAllowedInsertionPoint:i}=z((0,Mp.useSelect)(_)),{createErrorNotice:s}=(0,Mp.useDispatch)(Q6.store),[a,c]=(0,Mp.useSelect)(d=>{let{getCategories:f,getCollections:m}=d(js.store);return[f(),m()]},[]),u=(0,Qx.useCallback)(({name:d,initialAttributes:f,innerBlocks:m,syncStatus:p,content:h},g)=>{let b=i(d,e);if(b===null){let y=(0,js.getBlockType)(d)?.title??d;s((0,Jx.sprintf)((0,Jx.__)(`Block "%s" can't be inserted.`),y),{type:"snackbar",id:"inserter-notice"});return}let k=p==="unsynced"?(0,js.parse)(h,{__unstableSkipMigrationLogs:!0}):(0,js.createBlock)(d,f,(0,js.createBlocksFromInnerBlocksTemplate)(m));t(k,void 0,g,b)},[i,e,t,s]);return[n,a,c,u]},Wc=Rge;var J6=l(O());var ej=l(I()),eM=l(x());function Age({icon:e,showColors:t=!1,className:o,context:r}){e?.src==="block-default"&&(e={src:OO});let n=(0,eM.jsx)(J6.Icon,{icon:e&&e.src?e.src:e,context:r}),i=t?{backgroundColor:e&&e.background,color:e&&e.foreground}:{};return(0,eM.jsx)("span",{style:i,className:V("block-editor-block-icon",o,{"has-colors":t}),children:n})}var Pe=(0,ej.memo)(Age);var ew=(e,t)=>(t&&e.sort(({id:o},{id:r})=>{let n=t.indexOf(o),i=t.indexOf(r);return n<0&&(n=t.length),i<0&&(i=t.length),n-i}),e);var Np=l(x()),Lge=()=>{},Mge=9;function Nge(){return{name:"blocks",className:"block-editor-autocompleters__block",triggerPrefix:"/",useItems(e){let{rootClientId:t,selectedBlockId:o,prioritizedBlocks:r}=(0,tj.useSelect)(u=>{let{getSelectedBlockClientId:d,getBlock:f,getBlockListSettings:m,getBlockRootClientId:p}=u(_),{getActiveBlockVariation:h}=u($c.store),g=d(),{name:b,attributes:k}=f(g),y=h(b,k),v=p(g);return{selectedBlockId:y?`${b}/${y.name}`:b,rootClientId:v,prioritizedBlocks:m(v)?.prioritizedInserterBlocks}},[]),[n,i,s]=Wc(t,Lge,!0),a=(0,tM.useMemo)(()=>(e.trim()?Xx(n,i,s,e):ew(zs(n,"frecency","desc"),r)).filter(d=>d.id!==o).slice(0,Mge),[e,o,n,i,s,r]);return[(0,tM.useMemo)(()=>a.map(u=>{let{title:d,icon:f,isDisabled:m}=u;return{key:`block-${u.id}`,value:u,label:(0,Np.jsxs)(Np.Fragment,{children:[(0,Np.jsx)(Pe,{icon:f,showColors:!0},"icon"),d]}),isDisabled:m}}),[a])]},allowContext(e,t){return!(/\S/.test(e)||/\S/.test(t))},getOptionCompletion(e){let{name:t,initialAttributes:o,innerBlocks:r,syncStatus:n,blocks:i}=e;return{action:"replace",value:n==="unsynced"?(i??[]).map(s=>(0,$c.cloneBlock)(s)):(0,$c.createBlock)(t,o,(0,$c.createBlocksFromInnerBlocksTemplate)(r))}}}}var oj=Nge();var sj=l(nj()),aj=l(Zr());var lj=l(oM()),pf=l(x()),Dge=10;function Vge(){return{name:"links",className:"block-editor-autocompleters__link",triggerPrefix:"[[",options:async e=>{let t=await(0,sj.default)({path:(0,aj.addQueryArgs)("/wp/v2/search",{per_page:Dge,search:e,type:"post",order_by:"menu_order"})});return t=t.filter(o=>o.title!==""),t},getOptionKeywords(e){return[...e.title.split(/\s+/)]},getOptionLabel(e){return(0,pf.jsxs)(pf.Fragment,{children:[(0,pf.jsx)(Te,{icon:e.subtype==="page"?tl:RA},"icon"),(0,lj.decodeEntities)(e.title)]})},getOptionCompletion(e){return(0,pf.jsx)("a",{href:e.url,children:e.title})}}}var cj=Vge();var dj=l(x()),Fge=[];function fj({completers:e=Fge}){let{name:t}=Ae();return(0,uj.useMemo)(()=>{let o=[...e,cj];return(t===(0,rw.getDefaultBlockName)()||(0,rw.getBlockSupport)(t,"__experimentalSlashInserter",!1))&&(o=[...o,oj]),(0,tw.hasFilter)("editor.Autocomplete.completers")&&(o===e&&(o=o.map(r=>({...r}))),o=(0,tw.applyFilters)("editor.Autocomplete.completers",o,t)),o},[e,t])}function mj(e){return(0,ow.__unstableUseAutocompleteProps)({...e,completers:fj(e)})}function zge(e){return(0,dj.jsx)(ow.Autocomplete,{...e,completers:fj(e)})}var pj=zge;var aM=l(M()),Zc=l(O());var Lj=l(D());var cw=l(I());var si=l(M());var Jr=l(O());var Dp=l(M());var xn={default:{name:"default",slug:"flow",className:"is-layout-flow",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},constrained:{name:"constrained",slug:"constrained",className:"is-layout-constrained",baseStyles:[{selector:" > .alignleft",rules:{float:"left","margin-inline-start":"0","margin-inline-end":"2em"}},{selector:" > .alignright",rules:{float:"right","margin-inline-start":"2em","margin-inline-end":"0"}},{selector:" > .aligncenter",rules:{"margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > :where(:not(.alignleft):not(.alignright):not(.alignfull))",rules:{"max-width":"var(--wp--style--global--content-size)","margin-left":"auto !important","margin-right":"auto !important"}},{selector:" > .alignwide",rules:{"max-width":"var(--wp--style--global--wide-size)"}}],spacingStyles:[{selector:" > :first-child",rules:{"margin-block-start":"0"}},{selector:" > :last-child",rules:{"margin-block-end":"0"}},{selector:" > *",rules:{"margin-block-start":null,"margin-block-end":"0"}}]},flex:{name:"flex",slug:"flex",className:"is-layout-flex",displayMode:"flex",baseStyles:[{selector:"",rules:{"flex-wrap":"wrap","align-items":"center"}},{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]},grid:{name:"grid",slug:"grid",className:"is-layout-grid",displayMode:"grid",baseStyles:[{selector:" > :is(*, div)",rules:{margin:"0"}}],spacingStyles:[{selector:"",rules:{gap:null}}]}};function wn(e,t=""){return e.split(",").map(o=>`${o}${t?` ${t}`:""}`).join(",")}function Kc(e,t=xn,o,r){let n="";return t?.[o]?.spacingStyles?.length&&r&&t[o].spacingStyles.forEach(i=>{n+=`${wn(e,i.selector.trim())} { `,n+=Object.entries(i.rules).map(([s,a])=>`${s}: ${a||r}`).join("; "),n+="; }"}),n}function nw(e){let{contentSize:t,wideSize:o,type:r="default"}=e,n={},i=/^(?!0)\d+(px|em|rem|vw|vh|%|svw|lvw|dvw|svh|lvh|dvh|vi|svi|lvi|dvi|vb|svb|lvb|dvb|vmin|svmin|lvmin|dvmin|vmax|svmax|lvmax|dvmax)?$/i;return i.test(t)&&r==="constrained"&&(n.none=(0,Dp.sprintf)((0,Dp.__)("Max %s wide"),t)),i.test(o)&&(n.wide=(0,Dp.sprintf)((0,Dp.__)("Max %s wide"),o)),n}var Zi=l(M());var hj=8,qc=["top","right","bottom","left"],gj={top:void 0,right:void 0,bottom:void 0,left:void 0},iw={custom:mx,axial:mx,horizontal:$A,vertical:ZA,top:YA,right:qA,bottom:WA,left:KA},Us={default:(0,Zi.__)("Spacing control"),top:(0,Zi.__)("Top"),bottom:(0,Zi.__)("Bottom"),left:(0,Zi.__)("Left"),right:(0,Zi.__)("Right"),mixed:(0,Zi.__)("Mixed"),vertical:(0,Zi.__)("Vertical"),horizontal:(0,Zi.__)("Horizontal"),axial:(0,Zi.__)("Horizontal & vertical"),custom:(0,Zi.__)("Custom")},dl={axial:"axial",top:"top",right:"right",bottom:"bottom",left:"left",custom:"custom"};function sw(e){return e?.includes?e==="0"||e.includes("var:preset|spacing|"):!1}function bj(e,t){if(!sw(e))return e;let o=jge(e);return t.find(n=>String(n.slug)===o)?.size}function Vp(e,t){if(!e||sw(e)||e==="0")return e;let o=t.find(r=>String(r.size)===String(e));return o?.slug?`var:preset|spacing|${o.slug}`:e}function sv(e){if(!e)return;let t=e.match(/var:preset\|spacing\|(.+)/);return t?`var(--wp--preset--spacing--${t[1]})`:e}function jge(e){if(!e)return;if(e==="0"||e==="default")return e;let t=e.match(/var:preset\|spacing\|(.+)/);return t?t[1]:void 0}function rM(e,t){if(!e||!e.length)return!1;let o=e.includes("horizontal")||e.includes("left")&&e.includes("right"),r=e.includes("vertical")||e.includes("top")&&e.includes("bottom");return t==="horizontal"?o:t==="vertical"?r:o||r}function Uge(e=[]){let t={top:0,right:0,bottom:0,left:0};return e.forEach(o=>t[o]+=1),(t.top+t.bottom)%2===0&&(t.left+t.right)%2===0}function kj(e={},t){let{top:o,right:r,bottom:n,left:i}=e,s=[o,r,n,i].filter(Boolean),a=o===n&&i===r&&(!!o||!!i),c=!s.length&&Uge(t),u=t?.includes("horizontal")&&t?.includes("vertical")&&t?.length===2;if(rM(t)&&(a||c))return dl.axial;if(u&&s.length===1){let d;return Object.entries(e).some(([f,m])=>(d=f,m!==void 0)),d}return t?.length===1&&!s.length?t[0]:dl.custom}function Hge(e){if(!e)return null;let t=typeof e=="string";return{top:t?e:e?.top,left:t?e:e?.left}}function Tr(e,t="0"){let o=Hge(e);if(!o)return null;let r=sv(o?.top)||t,n=sv(o?.left)||t;return r===n?r:`${r} ${n}`}var Qt=l(x()),Gge={left:"flex-start",right:"flex-end",center:"center","space-between":"space-between"},vj={left:"flex-start",right:"flex-end",center:"center",stretch:"stretch"},Wge={top:"flex-start",center:"center",bottom:"flex-end",stretch:"stretch","space-between":"space-between"},yj={horizontal:"center",vertical:"top"},$ge=["wrap","nowrap"],Sj={name:"flex",label:(0,si.__)("Flex"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowOrientation:n=!0,allowJustification:i=!0}=r;return(0,Qt.jsxs)(Qt.Fragment,{children:[(0,Qt.jsxs)(Jr.Flex,{children:[i&&(0,Qt.jsx)(Jr.FlexItem,{children:(0,Qt.jsx)(_j,{layout:t,onChange:o})}),n&&(0,Qt.jsx)(Jr.FlexItem,{children:(0,Qt.jsx)(Zge,{layout:t,onChange:o})})]}),(0,Qt.jsx)(Yge,{layout:t,onChange:o})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowVerticalAlignment:n=!0,allowJustification:i=!0}=r;return!i&&!n?null:(0,Qt.jsxs)(mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:[i&&(0,Qt.jsx)(_j,{layout:t,onChange:o,isToolbar:!0}),n&&(0,Qt.jsx)(Kge,{layout:t,onChange:o})]})},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=xn}){let{orientation:a="horizontal"}=o,c=r?.spacing?.blockGap&&!qe(n,"spacing","blockGap")?Tr(r?.spacing?.blockGap,"0.5em"):void 0,u=Gge[o.justifyContent],d=$ge.includes(o.flexWrap)?o.flexWrap:"wrap",f=Wge[o.verticalAlignment],m=vj[o.justifyContent]||vj.left,p="",h=[];return d&&d!=="wrap"&&h.push(`flex-wrap: ${d}`),a==="horizontal"?(f&&h.push(`align-items: ${f}`),u&&h.push(`justify-content: ${u}`)):(f&&h.push(`justify-content: ${f}`),h.push("flex-direction: column"),h.push(`align-items: ${m}`)),h.length&&(p=`${wn(t)} { ${h.join("; ")}; }`),i&&c&&(p+=Kc(t,s,"flex",c)),p},getOrientation(e){let{orientation:t="horizontal"}=e;return t},getAlignments(){return[]}};function Kge({layout:e,onChange:t}){let{orientation:o="horizontal"}=e,r=o==="horizontal"?yj.horizontal:yj.vertical,{verticalAlignment:n=r}=e;return(0,Qt.jsx)(aw,{onChange:s=>{t({...e,verticalAlignment:s})},value:n,controls:o==="horizontal"?["top","center","bottom","stretch"]:["top","center","bottom","space-between"]})}var qge={placement:"bottom-start"};function _j({layout:e,onChange:t,isToolbar:o=!1}){let{justifyContent:r="left",orientation:n="horizontal"}=e,i=c=>{t({...e,justifyContent:c})},s=["left","center","right"];if(n==="horizontal"?s.push("space-between"):s.push("stretch"),o)return(0,Qt.jsx)(Fp,{allowedControls:s,value:r,onChange:i,popoverProps:qge});let a=[{value:"left",icon:Ac,label:(0,si.__)("Justify items left")},{value:"center",icon:Rc,label:(0,si.__)("Justify items center")},{value:"right",icon:Lc,label:(0,si.__)("Justify items right")}];return n==="horizontal"?a.push({value:"space-between",icon:bp,label:(0,si.__)("Space between items")}):a.push({value:"stretch",icon:kp,label:(0,si.__)("Stretch items")}),(0,Qt.jsx)(Jr.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,si.__)("Justification"),value:r,onChange:i,className:"block-editor-hooks__flex-layout-justification-controls",children:a.map(({value:c,icon:u,label:d})=>(0,Qt.jsx)(Jr.__experimentalToggleGroupControlOptionIcon,{value:c,icon:u,label:d},c))})}function Yge({layout:e,onChange:t}){let{flexWrap:o="wrap"}=e;return(0,Qt.jsx)(Jr.ToggleControl,{label:(0,si.__)("Allow to wrap to multiple lines"),onChange:r=>{t({...e,flexWrap:r?"wrap":"nowrap"})},checked:o==="wrap"})}function Zge({layout:e,onChange:t}){let{orientation:o="horizontal",verticalAlignment:r,justifyContent:n}=e;return(0,Qt.jsxs)(Jr.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,className:"block-editor-hooks__flex-layout-orientation-controls",label:(0,si.__)("Orientation"),value:o,onChange:i=>{let s=r,a=n;return i==="horizontal"?(r==="space-between"&&(s="center"),n==="stretch"&&(a="left")):(r==="stretch"&&(s="top"),n==="space-between"&&(a="left")),t({...e,orientation:i,verticalAlignment:s,justifyContent:a})},children:[(0,Qt.jsx)(Jr.__experimentalToggleGroupControlOptionIcon,{icon:Xd,value:"horizontal",label:(0,si.__)("Horizontal")}),(0,Qt.jsx)(Jr.__experimentalToggleGroupControlOptionIcon,{icon:xO,value:"vertical",label:(0,si.__)("Vertical")})]})}var xj=l(M());var wj={name:"default",label:(0,xj.__)("Flow"),inspectorControls:function(){return null},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,style:o,blockName:r,hasBlockGapSupport:n,layoutDefinitions:i=xn}){let s=Tr(o?.spacing?.blockGap),a="";qe(r,"spacing","blockGap")||(s?.top?a=Tr(s?.top):typeof s=="string"&&(a=Tr(s)));let c="";return n&&a&&(c+=Kc(t,i,"default",a)),c},getOrientation(){return"vertical"},getAlignments(e,t){let o=nw(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(n=>({name:n,info:o[n]}));let r=[{name:"left"},{name:"center"},{name:"right"}];if(!t){let{contentSize:n,wideSize:i}=e;n&&r.unshift({name:"full"}),i&&r.unshift({name:"wide",info:o.wide})}return r.unshift({name:"none",info:o.none}),r}};var en=l(O()),fl=l(M());var Bj=l(av());var zo=l(x()),Ej={name:"constrained",label:(0,fl.__)("Constrained"),inspectorControls:function({layout:t,onChange:o,layoutBlockSupport:r={}}){let{wideSize:n,contentSize:i,justifyContent:s="center"}=t,{allowJustification:a=!0,allowCustomContentAndWideSize:c=!0}=r,u=p=>{o({...t,justifyContent:p})},d=[{value:"left",icon:Ac,label:(0,fl.__)("Justify items left")},{value:"center",icon:Rc,label:(0,fl.__)("Justify items center")},{value:"right",icon:Lc,label:(0,fl.__)("Justify items right")}],[f]=fe("spacing.units"),m=(0,en.__experimentalUseCustomUnits)({availableUnits:f||["%","px","em","rem","vw"]});return(0,zo.jsxs)(en.__experimentalVStack,{spacing:4,className:"block-editor-hooks__layout-constrained",children:[c&&(0,zo.jsxs)(zo.Fragment,{children:[(0,zo.jsx)(en.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,fl.__)("Content width"),labelPosition:"top",value:i||n||"",onChange:p=>{p=0>parseFloat(p)?"0":p,o({...t,contentSize:p!==""?p:void 0})},units:m,prefix:(0,zo.jsx)(en.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,zo.jsx)(Te,{icon:Yd})})}),(0,zo.jsx)(en.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,fl.__)("Wide width"),labelPosition:"top",value:n||i||"",onChange:p=>{p=0>parseFloat(p)?"0":p,o({...t,wideSize:p!==""?p:void 0})},units:m,prefix:(0,zo.jsx)(en.__experimentalInputControlPrefixWrapper,{variant:"icon",children:(0,zo.jsx)(Te,{icon:af})})}),(0,zo.jsx)("p",{className:"block-editor-hooks__layout-constrained-helptext",children:(0,fl.__)("Customize the width for all elements that are assigned to the center or wide columns.")})]}),a&&(0,zo.jsx)(en.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,fl.__)("Justification"),value:s,onChange:u,children:d.map(({value:p,icon:h,label:g})=>(0,zo.jsx)(en.__experimentalToggleGroupControlOptionIcon,{value:p,icon:h,label:g},p))})]})},toolBarControls:function({layout:t={},onChange:o,layoutBlockSupport:r}){let{allowJustification:n=!0}=r;return n?(0,zo.jsx)(mt,{group:"block",__experimentalShareWithChildBlocks:!0,children:(0,zo.jsx)(Qge,{layout:t,onChange:o})}):null},getLayoutStyle:function({selector:t,layout:o={},style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=xn}){let{contentSize:a,wideSize:c,justifyContent:u}=o,d=Tr(r?.spacing?.blockGap),f="";qe(n,"spacing","blockGap")||(d?.top?f=Tr(d?.top):typeof d=="string"&&(f=Tr(d)));let m=u==="left"?"0 !important":"auto !important",p=u==="right"?"0 !important":"auto !important",h=a||c?` ${wn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} { max-width: ${a??c}; margin-left: ${m}; margin-right: ${p}; } ${wn(t,"> .alignwide")} { max-width: ${c??a}; } ${wn(t,"> .alignfull")} { max-width: none; } `:"";return u==="left"?h+=`${wn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} { margin-left: ${m}; }`:u==="right"&&(h+=`${wn(t,"> :where(:not(.alignleft):not(.alignright):not(.alignfull))")} { margin-right: ${p}; }`),r?.spacing?.padding&&(0,Bj.getCSSRules)(r).forEach(b=>{if(b.key==="paddingRight"){let k=b.value==="0"?"0px":b.value;h+=` ${wn(t,"> .alignfull")} { margin-right: calc(${k} * -1); } `}else if(b.key==="paddingLeft"){let k=b.value==="0"?"0px":b.value;h+=` ${wn(t,"> .alignfull")} { margin-left: calc(${k} * -1); } `}}),i&&f&&(h+=Kc(t,s,"constrained",f)),h},getOrientation(){return"vertical"},getAlignments(e){let t=nw(e);if(e.alignments!==void 0)return e.alignments.includes("none")||e.alignments.unshift("none"),e.alignments.map(i=>({name:i,info:t[i]}));let{contentSize:o,wideSize:r}=e,n=[{name:"left"},{name:"center"},{name:"right"}];return o&&n.unshift({name:"full"}),r&&n.unshift({name:"wide",info:t.wide}),n.unshift({name:"none",info:t.none}),n}},Xge={placement:"bottom-start"};function Qge({layout:e,onChange:t}){let{justifyContent:o="center"}=e;return(0,zo.jsx)(Fp,{allowedControls:["left","center","right"],value:o,onChange:i=>{t({...e,justifyContent:i})},popoverProps:Xge})}var Ir=l(M()),Xe=l(O()),lw=l(I());var $e=l(x()),Jge={px:600,"%":100,vw:100,vh:100,em:38,rem:38,svw:100,lvw:100,dvw:100,svh:100,lvh:100,dvh:100,vi:100,svi:100,lvi:100,dvi:100,vb:100,svb:100,lvb:100,dvb:100,vmin:100,svmin:100,lvmin:100,dvmin:100,vmax:100,svmax:100,lvmax:100,dvmax:100},ebe=[{value:"px",label:"px",default:0},{value:"rem",label:"rem",default:0},{value:"em",label:"em",default:0}],Tj={name:"grid",label:(0,Ir.__)("Grid"),inspectorControls:function({layout:t={},onChange:o,layoutBlockSupport:r={}}){let{allowSizingOnChildren:n=!1}=r,i=!0,s=!t?.isManualPlacement||window.__experimentalEnableGridInteractivity;return(0,$e.jsxs)($e.Fragment,{children:[window.__experimentalEnableGridInteractivity&&(0,$e.jsx)(rbe,{layout:t,onChange:o}),(0,$e.jsxs)(Xe.__experimentalVStack,{spacing:4,children:[i&&(0,$e.jsx)(obe,{layout:t,onChange:o,allowSizingOnChildren:n}),s&&(0,$e.jsx)(tbe,{layout:t,onChange:o})]})]})},toolBarControls:function(){return null},getLayoutStyle:function({selector:t,layout:o,style:r,blockName:n,hasBlockGapSupport:i,layoutDefinitions:s=xn}){let{minimumColumnWidth:a=null,columnCount:c=null,rowCount:u=null}=o,d=r?.spacing?.blockGap&&!qe(n,"spacing","blockGap")?Tr(r?.spacing?.blockGap,"0.5em"):void 0,f="",m=[];if(a&&c>0){let p=`max(${a}, ( 100% - (${d||"1.2rem"}*${c-1}) ) / ${c})`;m.push(`grid-template-columns: repeat(auto-fill, minmax(${p}, 1fr))`,"container-type: inline-size"),u&&m.push(`grid-template-rows: repeat(${u}, minmax(1rem, auto))`)}else c?(m.push(`grid-template-columns: repeat(${c}, minmax(0, 1fr))`),u&&m.push(`grid-template-rows: repeat(${u}, minmax(1rem, auto))`)):m.push(`grid-template-columns: repeat(auto-fill, minmax(min(${a||"12rem"}, 100%), 1fr))`,"container-type: inline-size");return m.length&&(f=`${wn(t)} { ${m.join("; ")}; }`),i&&d&&(f+=Kc(t,s,"grid",d)),f},getOrientation(){return"horizontal"},getAlignments(){return[]}};function tbe({layout:e,onChange:t}){let{minimumColumnWidth:o,columnCount:r,isManualPlacement:n}=e,s=o||(n||r?null:"12rem"),[a,c="rem"]=(0,Xe.__experimentalParseQuantityAndUnitFromRawValue)(s),u=f=>{t({...e,minimumColumnWidth:[f,c].join("")})},d=f=>{let m;["em","rem"].includes(f)&&c==="px"?m=(a/16).toFixed(2)+f:["em","rem"].includes(c)&&f==="px"&&(m=Math.round(a*16)+f),t({...e,minimumColumnWidth:m})};return(0,$e.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-minimum-width-control",children:[(0,$e.jsx)(Xe.BaseControl.VisualLabel,{as:"legend",children:(0,Ir.__)("Min. column width")}),(0,$e.jsxs)(Xe.Flex,{gap:4,children:[(0,$e.jsx)(Xe.FlexItem,{isBlock:!0,children:(0,$e.jsx)(Xe.__experimentalUnitControl,{size:"__unstable-large",onChange:f=>{t({...e,minimumColumnWidth:f===""?void 0:f})},onUnitChange:d,value:s,units:ebe,min:0,label:(0,Ir.__)("Minimum column width"),hideLabelFromVision:!0})}),(0,$e.jsx)(Xe.FlexItem,{isBlock:!0,children:(0,$e.jsx)(Xe.RangeControl,{__next40pxDefaultSize:!0,onChange:u,value:a||0,min:0,max:Jge[c]||600,withInputField:!1,label:(0,Ir.__)("Minimum column width"),hideLabelFromVision:!0})})]}),(0,$e.jsx)("p",{className:"components-base-control__help",children:(0,Ir.__)("Columns will wrap to fewer per row when they can no longer maintain the minimum width.")})]})}function obe({layout:e,onChange:t,allowSizingOnChildren:o}){let{columnCount:n=void 0,rowCount:i,isManualPlacement:s}=e;return(0,$e.jsx)($e.Fragment,{children:(0,$e.jsxs)("fieldset",{className:"block-editor-hooks__grid-layout-columns-and-rows-controls",children:[!s&&(0,$e.jsx)(Xe.BaseControl.VisualLabel,{as:"legend",children:(0,Ir.__)("Max. columns")}),(0,$e.jsxs)(Xe.Flex,{gap:4,children:[(0,$e.jsx)(Xe.FlexItem,{isBlock:!0,children:(0,$e.jsx)(Xe.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let u=a===""||a==="0"?s?1:void 0:parseInt(a,10);t({...e,columnCount:u})},value:n,min:1,label:(0,Ir.__)("Columns"),hideLabelFromVision:!s})}),(0,$e.jsx)(Xe.FlexItem,{isBlock:!0,children:o&&s?(0,$e.jsx)(Xe.__experimentalNumberControl,{size:"__unstable-large",onChange:a=>{let c=a===""||a==="0"?1:parseInt(a,10);t({...e,rowCount:c})},value:i,min:1,label:(0,Ir.__)("Rows")}):(0,$e.jsx)(Xe.RangeControl,{__next40pxDefaultSize:!0,value:n??1,onChange:a=>t({...e,columnCount:a===""||a==="0"?1:a}),min:1,max:16,withInputField:!1,label:(0,Ir.__)("Columns"),hideLabelFromVision:!0})})]})]})})}function rbe({layout:e,onChange:t}){let{columnCount:o,rowCount:r,minimumColumnWidth:n,isManualPlacement:i}=e,[s,a]=(0,lw.useState)(o||3),[c,u]=(0,lw.useState)(r),[d,f]=(0,lw.useState)(n||"12rem"),m=i?"manual":"auto",p=g=>{g==="manual"?f(n||"12rem"):(a(o||3),u(r)),t({...e,columnCount:s,rowCount:g==="manual"?c:void 0,isManualPlacement:g==="manual"?!0:void 0,minimumColumnWidth:g==="auto"?d:null})},h=m==="manual"?(0,Ir.__)("Grid items can be manually placed in any position on the grid."):(0,Ir.__)("Grid items are placed automatically depending on their order.");return(0,$e.jsxs)(Xe.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Ir.__)("Grid item position"),value:m,onChange:p,isBlock:!0,help:h,children:[(0,$e.jsx)(Xe.__experimentalToggleGroupControlOption,{value:"auto",label:(0,Ir.__)("Auto")},"auto"),(0,$e.jsx)(Xe.__experimentalToggleGroupControlOption,{value:"manual",label:(0,Ir.__)("Manual")},"manual")]})}var Ij=[wj,Sj,Ej,Tj];function Xi(e="default"){return Ij.find(t=>t.name===e)}function Pj(){return Ij}var nM=l(x()),iM={type:"default"},sM=(0,cw.createContext)(iM);sM.displayName="BlockLayoutContext";var Oj=sM.Provider;function hf(){return(0,cw.useContext)(sM)}function Rj({layout:e={},css:t,...o}){let r=Xi(e.type),[n]=fe("spacing.blockGap"),i=n!==null;if(r){if(t)return(0,nM.jsx)("style",{children:t});let s=r.getLayoutStyle?.({hasBlockGapSupport:i,layout:e,...o});if(s)return(0,nM.jsx)("style",{children:s})}return null}var uw=[],Aj=["none","left","center","right","wide","full"],nbe=["wide","full"];function lv(e=Aj){e.includes("none")||(e=["none",...e]);let t=e.length===1&&e[0]==="none",[o,r,n]=(0,Lj.useSelect)(c=>{if(t)return[!1,!1,!1];let u=c(_).getSettings();return[u.alignWide??!1,u.supportsLayout,u.__unstableIsBlockBasedTheme]},[t]),i=hf();if(t)return uw;let s=Xi(i?.type);if(r){let u=s.getAlignments(i,n).filter(d=>e.includes(d.name));return u.length===1&&u[0].name==="none"?uw:u}if(s.name!=="default"&&s.name!=="constrained")return uw;let a=e.filter(c=>i.alignments?i.alignments.includes(c):!o&&nbe.includes(c)?!1:Aj.includes(c)).map(c=>({name:c}));return a.length===1&&a[0].name==="none"?uw:a}var Yc=l(M());var cv={none:{icon:Yd,title:(0,Yc._x)("None","Alignment option")},left:{icon:wA,title:(0,Yc.__)("Align left")},center:{icon:SA,title:(0,Yc.__)("Align center")},right:{icon:BA,title:(0,Yc.__)("Align right")},wide:{icon:af,title:(0,Yc.__)("Wide width")},full:{icon:jk,title:(0,Yc.__)("Full width")}},Mj="none";var gf=l(x());function ibe({value:e,onChange:t,controls:o,isToolbar:r,isCollapsed:n=!0}){let i=lv(o);if(!!!i.length)return null;function a(p){t([e,"none"].includes(p)?void 0:p)}let c=cv[e],u=cv[Mj],d=r?Zc.ToolbarGroup:Zc.ToolbarDropdownMenu,f={icon:c?c.icon:u.icon,label:(0,aM.__)("Align")},m=r?{isCollapsed:n,controls:i.map(({name:p})=>({...cv[p],isActive:e===p||!e&&p==="none",role:n?"menuitemradio":void 0,onClick:()=>a(p)}))}:{toggleProps:{description:(0,aM.__)("Change alignment")},children:({onClose:p})=>(0,gf.jsx)(gf.Fragment,{children:(0,gf.jsx)(Zc.MenuGroup,{className:"block-editor-block-alignment-control__menu-group",children:i.map(({name:h,info:g})=>{let{icon:b,title:k}=cv[h],y=h===e||!e&&h==="none";return(0,gf.jsx)(Zc.MenuItem,{icon:b,iconPosition:"left",className:V("components-dropdown-menu__menu-item",{"is-active":y}),isSelected:y,onClick:()=>{a(h),p()},role:"menuitemradio",info:g,children:k},h)})})})};return(0,gf.jsx)(d,{...f,...m})}var lM=ibe;var cM=l(x()),dw=e=>(0,cM.jsx)(lM,{...e,isToolbar:!1}),Nj=e=>(0,cM.jsx)(lM,{...e,isToolbar:!0});var jj=l(Kd()),hw=l(M()),gw=l($()),Ji=l(O()),fM=l(D()),Uj=l(I()),Hj=l(Y());var dM=l(Kd()),Dj=l($()),Vj=l(O()),Fj=l(D()),mw=l(I()),zj=l(Y());var fw=l(D());function uM(e){return!e||Object.keys(e).length===0}function ml(e){let{clientId:t}=Ae(),o=e||t,{updateBlockAttributes:r}=(0,fw.useDispatch)(_),{getBlockAttributes:n}=(0,fw.useRegistry)().select(_);return{updateBlockBindings:a=>{let{metadata:{bindings:c,...u}={}}=n(o),d={...c};Object.entries(a).forEach(([m,p])=>{if(!p&&d[m]){delete d[m];return}d[m]=p});let f={...u,bindings:d};uM(f.bindings)&&delete f.bindings,r(o,{metadata:uM(f)?void 0:f})},removeAllBlockBindings:()=>{let{metadata:{bindings:a,...c}={}}=n(o);r(o,{metadata:uM(c)?void 0:c})}}}var Qi=l(x()),{Menu:Xc}=z(Vj.privateApis);function sbe({args:e,attribute:t,field:o,source:r,sourceKey:n}){let i=(0,mw.useMemo)(()=>({source:n,args:o.args||{key:o.key}}),[o.args,o.key,n]),s=(0,mw.useContext)(Jn),a=(0,Fj.useSelect)(u=>r.getValues({select:u,context:s,bindings:{[t]:i}}),[t,s,i,r]),{updateBlockBindings:c}=ml();return(0,Qi.jsxs)(Xc.CheckboxItem,{onChange:()=>{let u=(0,dM.default)(e,o.args)??o.key===e?.key;c(u?{[t]:void 0}:{[t]:i})},name:t+"-binding",value:a[t],checked:(0,dM.default)(e,o.args)??o.key===e?.key,children:[(0,Qi.jsx)(Xc.ItemLabel,{children:o.label}),(0,Qi.jsx)(Xc.ItemHelpText,{children:a[t]})]})}function uv({args:e,attribute:t,sourceKey:o,fields:r}){let n=(0,zj.useViewportMatch)("medium","<");if(!r||r.length===0)return null;let i=(0,Dj.getBlockBindingsSource)(o);return(0,Qi.jsxs)(Xc,{placement:n?"bottom-start":"left-start",children:[(0,Qi.jsx)(Xc.SubmenuTriggerItem,{children:(0,Qi.jsx)(Xc.ItemLabel,{children:i.label})}),(0,Qi.jsx)(Xc.Popover,{gutter:8,children:(0,Qi.jsx)(Xc.Group,{children:r.map(s=>(0,Qi.jsx)(sbe,{args:e,attribute:t,field:s,source:i,sourceKey:o},o+JSON.stringify(s.args)||s.key))})})]},o)}var ai=l(x()),{Menu:pw}=z(Ji.privateApis);function dv({attribute:e,binding:t,blockName:o}){let{updateBlockBindings:r}=ml(),n=(0,Hj.useViewportMatch)("medium","<"),i=(0,Uj.useContext)(Jn),s=(0,fM.useSelect)(g=>{let{getAllBlockBindingsSources:b,getBlockBindingsSourceFieldsList:k,getBlockType:y}=z(g(gw.store)),v=y(o).attributes?.[e]?.type,S=v==="rich-text"?"string":v,w={};return Object.entries(b()).forEach(([C,E])=>{let P=k(E,i);if(!P?.length)return;let R=P.filter(B=>B.type===S);R.length&&(w[C]=R)}),w},[e,o,i]),{canUpdateBlockBindings:a}=(0,fM.useSelect)(g=>({canUpdateBlockBindings:g(_).getSettings().canUpdateBlockBindings})),c=Object.keys(s).length>0,u=!a||!c,{source:d,args:f}=t||{},m=(0,gw.getBlockBindingsSource)(d),p,h=!0;return t===void 0?(c?p=(0,hw.__)("Not connected"):p=(0,hw.__)("No sources available"),h=!0):m?p=s?.[d]?.find(g=>(0,jj.default)(g.args,f))?.label||m?.label||d:(h=!1,p=(0,hw.__)("Source not registered")),(0,ai.jsx)(Ji.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:e,onDeselect:!!c&&(()=>{r({[e]:void 0})}),children:(0,ai.jsxs)(pw,{placement:n?"bottom-start":"left-start",children:[(0,ai.jsx)(pw.TriggerButton,{render:(0,ai.jsx)(Ji.__experimentalItem,{}),disabled:!c,children:(0,ai.jsxs)(Ji.__experimentalVStack,{className:"block-editor-bindings__item",spacing:0,children:[(0,ai.jsx)(Ji.__experimentalText,{truncate:!0,children:e}),(0,ai.jsx)(Ji.__experimentalText,{truncate:!0,variant:h?"muted":void 0,isDestructive:!h,children:p})]})}),!u&&(0,ai.jsx)(pw.Popover,{gutter:n?8:36,children:(0,ai.jsx)(pw,{placement:n?"bottom-start":"left-start",children:Object.entries(s).map(([g,b])=>(0,ai.jsx)(uv,{args:t?.args,attribute:e,sourceKey:g,fields:b},g))})})]})})}var Gj=l(M()),Wj=l(O());var $j=l(x());function abe({isActive:e,label:t=(0,Gj.__)("Full height"),onToggle:o,isDisabled:r}){return(0,$j.jsx)(Wj.ToolbarButton,{isActive:e,icon:gp,label:t,onClick:()=>o(!e),disabled:r})}var Kj=abe;var Yj=l(M()),Zj=l(st()),bf=l(O()),fv=l(x()),lbe=()=>{};function cbe(e){let{label:t=(0,Yj.__)("Change matrix alignment"),onChange:o=lbe,value:r="center",isDisabled:n}=e,i=(0,fv.jsx)(bf.AlignmentMatrixControl.Icon,{value:r});return(0,fv.jsx)(bf.Dropdown,{popoverProps:{placement:"bottom-start"},renderToggle:({onToggle:s,isOpen:a})=>(0,fv.jsx)(bf.ToolbarButton,{onClick:s,"aria-haspopup":"true","aria-expanded":a,onKeyDown:u=>{!a&&u.keyCode===Zj.DOWN&&(u.preventDefault(),s())},label:t,icon:i,showTooltip:!0,disabled:n}),renderContent:()=>(0,fv.jsx)(bf.AlignmentMatrixControl,{onChange:o,value:r})})}var Xj=cbe;var hM=l(O()),vw=l(D()),yw=l(M());var nU=l(I());var Qj=l(D()),bw=l($());function jo({clientId:e,maximumLength:t,context:o}){let r=(0,Qj.useSelect)(n=>{if(!e)return null;let{getBlockName:i,getBlockAttributes:s}=n(_),{getBlockType:a,getActiveBlockVariation:c}=n(bw.store),u=i(e),d=a(u);if(!d)return null;let f=s(e),m=(0,bw.__experimentalGetBlockLabel)(d,f,o);return m!==d.title?m:c(u,f)?.title||d.title},[e,o]);return r?t&&t>0&&r.length>t?r.slice(0,t-3)+"...":r:null}function mv({clientId:e,maximumLength:t,context:o}){return jo({clientId:e,maximumLength:t,context:o})}var kf=l(I()),tU=l(Y());var kw=l(I()),mM=l(Y()),Jj=l(x()),pv=(0,kw.createContext)({refsMap:(0,mM.observableMap)()});pv.displayName="BlockRefsContext";function eU({children:e}){let t=(0,kw.useMemo)(()=>({refsMap:(0,mM.observableMap)()}),[]);return(0,Jj.jsx)(pv.Provider,{value:t,children:e})}function oU(e){let{refsMap:t}=(0,kf.useContext)(pv);return(0,tU.useRefEffect)(o=>(t.set(e,o),()=>t.delete(e)),[e])}function pM(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function vf(e,t){let{refsMap:o}=(0,kf.useContext)(pv);(0,kf.useLayoutEffect)(()=>{pM(t,o.get(e));let r=o.subscribe(e,()=>pM(t,o.get(e)));return()=>{r(),pM(t,null)}},[o,e,t])}function pt(e){let[t,o]=(0,kf.useState)(null);return vf(e,o),t}function rU(e){if(!e)return null;let t=Array.from(document.querySelectorAll('iframe[name="editor-canvas"]').values()).find(o=>(o.contentDocument||o.contentWindow.document)===e.ownerDocument)??e;return t?.closest('[role="region"]')??t}var Cn=l(x());function ube({rootLabelText:e}){let{selectBlock:t,clearSelectedBlock:o}=(0,vw.useDispatch)(_),{clientId:r,parents:n,hasSelection:i}=(0,vw.useSelect)(c=>{let{getSelectionStart:u,getSelectedBlockClientId:d,getEnabledBlockParents:f}=z(c(_)),m=d();return{parents:f(m),clientId:m,hasSelection:!!u().clientId}},[]),s=e||(0,yw._x)("Document","noun, breadcrumb"),a=(0,nU.useRef)();return vf(r,a),(0,Cn.jsxs)("ul",{className:"block-editor-block-breadcrumb",role:"list","aria-label":(0,yw.__)("Block breadcrumb"),children:[(0,Cn.jsxs)("li",{className:i?void 0:"block-editor-block-breadcrumb__current","aria-current":i?void 0:"true",children:[i&&(0,Cn.jsx)(hM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>{let c=a.current?.closest(".editor-styles-wrapper");o(),rU(c)?.focus()},children:s}),!i&&(0,Cn.jsx)("span",{children:s}),!!r&&(0,Cn.jsx)(Te,{icon:Oc,className:"block-editor-block-breadcrumb__separator"})]}),n.map(c=>(0,Cn.jsxs)("li",{children:[(0,Cn.jsx)(hM.Button,{size:"small",className:"block-editor-block-breadcrumb__button",onClick:()=>t(c),children:(0,Cn.jsx)(mv,{clientId:c,maximumLength:35})}),(0,Cn.jsx)(Te,{icon:Oc,className:"block-editor-block-breadcrumb__separator"})]},c)),!!r&&(0,Cn.jsx)("li",{className:"block-editor-block-breadcrumb__current","aria-current":"true",children:(0,Cn.jsx)(mv,{clientId:r,maximumLength:35})})]})}var iU=ube;var sU=l(D());function aU(e){return(0,sU.useSelect)(t=>{let{__unstableHasActiveBlockOverlayActive:o}=t(_);return o(e)},[e])}var OE=l(Y()),hX=l(I()),gX=l(D());var vi=l(D()),lB=l(Y()),Tu=l(I()),bK=l($());var lu=l(I()),je=l($()),y8=l(O()),uC=l(D()),_8=l(Y()),S8=l(ze());var pl=l(M()),Sw=l(O()),yf=l(I()),jp=l($()),xw=l(D());var gU=l(fU()),_w=l(M()),bU=l($());var mU=l(O()),pU=l(I()),hU=l(ze()),Hs=l(x());function bM({title:e,rawContent:t,renderedContent:o,action:r,actionText:n,className:i}){return(0,Hs.jsxs)("div",{className:i,children:[(0,Hs.jsxs)("div",{className:"block-editor-block-compare__content",children:[(0,Hs.jsx)("h2",{className:"block-editor-block-compare__heading",children:e}),(0,Hs.jsx)("div",{className:"block-editor-block-compare__html",children:t}),(0,Hs.jsx)("div",{className:"block-editor-block-compare__preview edit-post-visual-editor",children:(0,Hs.jsx)(pU.RawHTML,{children:(0,hU.safeHTML)(o)})})]}),(0,Hs.jsx)("div",{className:"block-editor-block-compare__action",children:(0,Hs.jsx)(mU.Button,{__next40pxDefaultSize:!0,variant:"secondary",tabIndex:"0",onClick:r,children:n})})]})}var zp=l(x());function gbe({block:e,onKeep:t,onConvert:o,convertor:r,convertButtonText:n}){function i(u,d){return(0,gU.diffChars)(u,d).map((m,p)=>{let h=V({"block-editor-block-compare__added":m.added,"block-editor-block-compare__removed":m.removed});return(0,zp.jsx)("span",{className:h,children:m.value},p)})}function s(u){return(Array.isArray(u)?u:[u]).map(m=>(0,bU.getSaveContent)(m.name,m.attributes,m.innerBlocks)).join("")}let a=s(r(e)),c=i(e.originalContent,a);return(0,zp.jsxs)("div",{className:"block-editor-block-compare__wrapper",children:[(0,zp.jsx)(bM,{title:(0,_w.__)("Current"),className:"block-editor-block-compare__current",action:t,actionText:(0,_w.__)("Convert to HTML"),rawContent:e.originalContent,renderedContent:e.originalContent}),(0,zp.jsx)(bM,{title:(0,_w.__)("After Conversion"),className:"block-editor-block-compare__converted",action:o,actionText:n,rawContent:c,renderedContent:a})]})}var kU=gbe;var hl=l(x()),vU=e=>(0,jp.rawHandler)({HTML:e.originalContent});function yU({clientId:e}){let{block:t,canInsertHTMLBlock:o,canInsertClassicBlock:r}=(0,xw.useSelect)(d=>{let{canInsertBlockType:f,getBlock:m,getBlockRootClientId:p}=d(_),h=p(e);return{block:m(e),canInsertHTMLBlock:f("core/html",h),canInsertClassicBlock:f("core/freeform",h)}},[e]),{replaceBlock:n}=(0,xw.useDispatch)(_),[i,s]=(0,yf.useState)(!1),a=(0,yf.useCallback)(()=>s(!1),[]),c=(0,yf.useMemo)(()=>({toClassic(){let d=(0,jp.createBlock)("core/freeform",{content:t.originalContent});return n(t.clientId,d)},toHTML(){let d=(0,jp.createBlock)("core/html",{content:t.originalContent});return n(t.clientId,d)},toBlocks(){let d=vU(t);return n(t.clientId,d)},toRecoveredBlock(){let d=(0,jp.createBlock)(t.name,t.attributes,t.innerBlocks);return n(t.clientId,d)}}),[t,n]),u=(0,yf.useMemo)(()=>[{title:(0,pl._x)("Resolve","imperative verb"),onClick:()=>s(!0)},o&&{title:(0,pl.__)("Convert to HTML"),onClick:c.toHTML},r&&{title:(0,pl.__)("Convert to Classic Block"),onClick:c.toClassic}].filter(Boolean),[o,r,c]);return(0,hl.jsxs)(hl.Fragment,{children:[(0,hl.jsx)(jc,{actions:[(0,hl.jsx)(Sw.Button,{__next40pxDefaultSize:!0,onClick:c.toRecoveredBlock,variant:"primary",children:(0,pl.__)("Attempt recovery")},"recover")],secondaryActions:u,children:(0,pl.__)("Block contains unexpected or invalid content.")}),i&&(0,hl.jsx)(Sw.Modal,{title:(0,pl.__)("Resolve Block"),onRequestClose:a,className:"block-editor-block-compare",children:(0,hl.jsx)(kU,{block:t,onKeep:c.toHTML,onConvert:c.toBlocks,convertor:vU,convertButtonText:(0,pl.__)("Convert to Blocks")})})]})}var _U=l(M());var SU=l(x()),bbe=(0,SU.jsx)(jc,{className:"block-editor-block-list__block-crash-warning",children:(0,_U.__)("This block has encountered an error and cannot be previewed.")}),xU=()=>bbe;var wU=l(I()),kbe=class extends wU.Component{constructor(){super(...arguments),this.state={hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}render(){return this.state.hasError?this.props.fallback:this.props.children}},CU=kbe;var HU=l(_M()),Ew=l(I()),Tw=l(D()),Ws=l($());var GU=l(x());function Ibe({clientId:e}){let[t,o]=(0,Ew.useState)(""),r=(0,Tw.useSelect)(s=>s(_).getBlock(e),[e]),{updateBlock:n}=(0,Tw.useDispatch)(_),i=()=>{let s=(0,Ws.getBlockType)(r.name);if(!s)return;let a=(0,Ws.getBlockAttributes)(s,t,r.attributes),c=t||(0,Ws.getSaveContent)(s,a),[u]=t?(0,Ws.validateBlock)({...r,attributes:a,originalContent:c}):[!0];n(e,{attributes:a,originalContent:c,isValid:u}),t||o(c)};return(0,Ew.useEffect)(()=>{o((0,Ws.getBlockContent)(r))},[r]),(0,GU.jsx)(HU.default,{className:"block-editor-block-list__block-html-textarea",value:t,onBlur:i,onChange:s=>o(s.target.value)})}var WU=Ibe;var b8=l(I()),aC=l(M()),k8=l($()),lC=l(Y()),v8=l(bv());var xM=vv(),ke=e=>kv(e,xM),wM=vv();ke.write=e=>kv(e,wM);var Iw=vv();ke.onStart=e=>kv(e,Iw);var CM=vv();ke.onFrame=e=>kv(e,CM);var BM=vv();ke.onFinish=e=>kv(e,BM);var Up=[];ke.setTimeout=(e,t)=>{let o=ke.now()+t,r=()=>{let i=Up.findIndex(s=>s.cancel==r);~i&&Up.splice(i,1),Jc-=~i?1:0},n={time:o,handler:e,cancel:r};return Up.splice(KU(o),0,n),Jc+=1,qU(),n};var KU=e=>~(~Up.findIndex(t=>t.time>e)||~Up.length);ke.cancel=e=>{Iw.delete(e),CM.delete(e),BM.delete(e),xM.delete(e),wM.delete(e)};ke.sync=e=>{SM=!0,ke.batchedUpdates(e),SM=!1};ke.throttle=e=>{let t;function o(){try{e(...t)}finally{t=null}}function r(...n){t=n,ke.onStart(o)}return r.handler=e,r.cancel=()=>{Iw.delete(o),t=null},r};var EM=typeof window<"u"?window.requestAnimationFrame:()=>{};ke.use=e=>EM=e;ke.now=typeof performance<"u"?()=>performance.now():Date.now;ke.batchedUpdates=e=>e();ke.catch=console.error;ke.frameLoop="always";ke.advance=()=>{ke.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):ZU()};var Qc=-1,Jc=0,SM=!1;function kv(e,t){SM?(t.delete(e),e(0)):(t.add(e),qU())}function qU(){Qc<0&&(Qc=0,ke.frameLoop!=="demand"&&EM(YU))}function Pbe(){Qc=-1}function YU(){~Qc&&(EM(YU),ke.batchedUpdates(ZU))}function ZU(){let e=Qc;Qc=ke.now();let t=KU(Qc);if(t&&(XU(Up.splice(0,t),o=>o.handler()),Jc-=t),!Jc){Pbe();return}Iw.flush(),xM.flush(e?Math.min(64,Qc-e):16.667),CM.flush(),wM.flush(),BM.flush()}function vv(){let e=new Set,t=e;return{add(o){Jc+=t==e&&!e.has(o)?1:0,e.add(o)},delete(o){return Jc-=t==e&&e.has(o)?1:0,e.delete(o)},flush(o){t.size&&(e=new Set,Jc-=t.size,XU(t,r=>r(o)&&e.add(r)),Jc+=e.size,t=e)}}}function XU(e,t){e.forEach(o=>{try{t(o)}catch(r){ke.catch(r)}})}var ci=l(Gs());function Lw(){}var rH=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),ne={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function $s(e,t){if(ne.arr(e)){if(!ne.arr(t)||e.length!==t.length)return!1;for(let o=0;oe.forEach(t);function ui(e,t,o){if(ne.arr(e)){for(let r=0;rne.und(e)?[]:ne.arr(e)?e:[e];function $p(e,t){if(e.size){let o=Array.from(e);e.clear(),ht(o,t)}}var Kp=(e,...t)=>$p(e,o=>o(...t)),AM=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),LM,nH,eu=null,iH=!1,MM=Lw,Obe=e=>{e.to&&(nH=e.to),e.now&&(ke.now=e.now),e.colors!==void 0&&(eu=e.colors),e.skipAnimation!=null&&(iH=e.skipAnimation),e.createStringInterpolator&&(LM=e.createStringInterpolator),e.requestAnimationFrame&&ke.use(e.requestAnimationFrame),e.batchedUpdates&&(ke.batchedUpdates=e.batchedUpdates),e.willAdvance&&(MM=e.willAdvance),e.frameLoop&&(ke.frameLoop=e.frameLoop)},Bn=Object.freeze({__proto__:null,get createStringInterpolator(){return LM},get to(){return nH},get colors(){return eu},get skipAnimation(){return iH},get willAdvance(){return MM},assign:Obe}),yv=new Set,li=[],TM=[],Rw=0,qp={get idle(){return!yv.size&&!li.length},start(e){Rw>e.priority?(yv.add(e),ke.onStart(Rbe)):(sH(e),ke(OM))},advance:OM,sort(e){if(Rw)ke.onFrame(()=>qp.sort(e));else{let t=li.indexOf(e);~t&&(li.splice(t,1),aH(e))}},clear(){li=[],yv.clear()}};function Rbe(){yv.forEach(sH),yv.clear(),ke(OM)}function sH(e){li.includes(e)||aH(e)}function aH(e){li.splice(Abe(li,t=>t.priority>e.priority),0,e)}function OM(e){let t=TM;for(let o=0;o0}function Abe(e,t){let o=e.findIndex(t);return o<0?e.length:o}var lH={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},es="[-+]?\\d*\\.?\\d+",Aw=es+"%";function Mw(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Lbe=new RegExp("rgb"+Mw(es,es,es)),Mbe=new RegExp("rgba"+Mw(es,es,es,es)),Nbe=new RegExp("hsl"+Mw(es,Aw,Aw)),Dbe=new RegExp("hsla"+Mw(es,Aw,Aw,es)),Vbe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Fbe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,zbe=/^#([0-9a-fA-F]{6})$/,jbe=/^#([0-9a-fA-F]{8})$/;function Ube(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=zbe.exec(e))?parseInt(t[1]+"ff",16)>>>0:eu&&eu[e]!==void 0?eu[e]:(t=Lbe.exec(e))?(Hp(t[1])<<24|Hp(t[2])<<16|Hp(t[3])<<8|255)>>>0:(t=Mbe.exec(e))?(Hp(t[1])<<24|Hp(t[2])<<16|Hp(t[3])<<8|eH(t[4]))>>>0:(t=Vbe.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=jbe.exec(e))?parseInt(t[1],16)>>>0:(t=Fbe.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=Nbe.exec(e))?(QU(JU(t[1]),Pw(t[2]),Pw(t[3]))|255)>>>0:(t=Dbe.exec(e))?(QU(JU(t[1]),Pw(t[2]),Pw(t[3]))|eH(t[4]))>>>0:null}function IM(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+(t-e)*6*o:o<1/2?t:o<2/3?e+(t-e)*(2/3-o)*6:e}function QU(e,t,o){let r=o<.5?o*(1+t):o+t-o*t,n=2*o-r,i=IM(n,r,e+1/3),s=IM(n,r,e),a=IM(n,r,e-1/3);return Math.round(i*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function Hp(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function JU(e){return(parseFloat(e)%360+360)%360/360}function eH(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Pw(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function tH(e){let t=Ube(e);if(t===null)return e;t=t||0;let o=(t&4278190080)>>>24,r=(t&16711680)>>>16,n=(t&65280)>>>8,i=(t&255)/255;return`rgba(${o}, ${r}, ${n}, ${i})`}var tu=(e,t,o)=>{if(ne.fun(e))return e;if(ne.arr(e))return tu({range:e,output:t,extrapolate:o});if(ne.str(e.output[0]))return LM(e);let r=e,n=r.output,i=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(u=>u);return u=>{let d=Gbe(u,i);return Hbe(u,i[d],i[d+1],n[d],n[d+1],c,s,a,r.map)}};function Hbe(e,t,o,r,n,i,s,a,c){let u=c?c(e):e;if(uo){if(a==="identity")return u;a==="clamp"&&(u=o)}return r===n?r:t===o?e<=t?r:n:(t===-1/0?u=-u:o===1/0?u=u-t:u=(u-t)/(o-t),u=i(u),r===-1/0?u=-u:n===1/0?u=u+r:u=u*(n-r)+r,u)}function Gbe(e,t){for(var o=1;o=e);++o);return o-1}function RM(){return RM=Object.assign?Object.assign.bind():function(e){for(var t=1;t!!(e&&e[Gp]),er=e=>e&&e[Gp]?e[Gp]():e,NM=e=>e[_f]||null;function Wbe(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Sf(e,t){let o=e[_f];o&&o.forEach(r=>{Wbe(r,t)})}var Wp=class{constructor(t){if(this[Gp]=void 0,this[_f]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");$be(this,t)}},$be=(e,t)=>cH(e,Gp,t);function ou(e,t){if(e[Gp]){let o=e[_f];o||cH(e,_f,o=new Set),o.has(t)||(o.add(t),e.observerAdded&&e.observerAdded(o.size,t))}return t}function ru(e,t){let o=e[_f];if(o&&o.has(t)){let r=o.size-1;r?o.delete(t):e[_f]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var cH=(e,t,o)=>Object.defineProperty(e,t,{value:o,writable:!0,configurable:!0}),Ow=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Kbe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,oH=new RegExp(`(${Ow.source})(%|[a-z]+)`,"i"),qbe=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Nw=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,uH=e=>{let[t,o]=Ybe(e);if(!t||AM())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(o&&o.startsWith("--")){let n=window.getComputedStyle(document.documentElement).getPropertyValue(o);return n||e}else{if(o&&Nw.test(o))return uH(o);if(o)return o}return e},Ybe=e=>{let t=Nw.exec(e);if(!t)return[,];let[,o,r]=t;return[o,r]},PM,Zbe=(e,t,o,r,n)=>`rgba(${Math.round(t)}, ${Math.round(o)}, ${Math.round(r)}, ${n})`,Dw=e=>{PM||(PM=eu?new RegExp(`(${Object.keys(eu).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(i=>er(i).replace(Nw,uH).replace(Kbe,tH).replace(PM,tH)),o=t.map(i=>i.match(Ow).map(Number)),n=o[0].map((i,s)=>o.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(i=>tu(RM({},e,{output:i})));return i=>{var s;let a=!oH.test(t[0])&&((s=t.find(u=>oH.test(u)))==null?void 0:s.replace(Ow,"")),c=0;return t[0].replace(Ow,()=>`${n[c++](i)}${a||""}`).replace(qbe,Zbe)}},dH="react-spring: ",fH=e=>{let t=e,o=!1;if(typeof t!="function")throw new TypeError(`${dH}once requires a function parameter`);return(...r)=>{o||(t(...r),o=!0)}},Xbe=fH(console.warn);function mH(){Xbe(`${dH}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var H3e=fH(console.warn);function Yp(e){return ne.str(e)&&(e[0]=="#"||/\d/.test(e)||!AM()&&Nw.test(e)||e in(eu||{}))}var _v=AM()?ci.useEffect:ci.useLayoutEffect,Qbe=()=>{let e=(0,ci.useRef)(!1);return _v(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function DM(){let e=(0,ci.useState)()[1],t=Qbe();return()=>{t.current&&e(Math.random())}}function pH(e,t){let[o]=(0,ci.useState)(()=>({inputs:t,result:e()})),r=(0,ci.useRef)(),n=r.current,i=n;return i?t&&i.inputs&&Jbe(t,i.inputs)||(i={inputs:t,result:e()}):i=o,(0,ci.useEffect)(()=>{r.current=i,n==o&&(o.inputs=o.result=void 0)},[i]),i.result}function Jbe(e,t){if(e.length!==t.length)return!1;for(let o=0;o(0,ci.useEffect)(e,eke),eke=[];var Ov=l(Gs()),Rv=l(Gs());var kH=l(Gs()),bl=l(Gs()),Sv=Symbol.for("Animated:node"),tke=e=>!!e&&e[Sv]===e,ts=e=>e&&e[Sv],jw=(e,t)=>rH(e,Sv,t),xv=e=>e&&e[Sv]&&e[Sv].getPayload(),Vw=class{constructor(){this.payload=void 0,jw(this,this)}getPayload(){return this.payload||[]}},xf=class e extends Vw{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,ne.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new e(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,o){return ne.num(t)&&(this.lastPosition=t,o&&(t=Math.round(t/o)*o,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,ne.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},wf=class e extends xf{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=tu({output:[t,t]})}static create(t){return new e(t)}getValue(){let t=this._string;return t??(this._string=this._toString(this._value))}setValue(t){if(ne.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=tu({output:[this.getValue(),t]})),this._value=0,super.reset()}},Fw={dependencies:null},Cf=class extends Vw{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let o={};return ui(this.source,(r,n)=>{tke(r)?o[n]=r.getValue(t):Pr(r)?o[n]=er(r):t||(o[n]=r)}),o}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&ht(this.payload,t=>t.reset())}_makePayload(t){if(t){let o=new Set;return ui(t,this._addToPayload,o),Array.from(o)}}_addToPayload(t){Fw.dependencies&&Pr(t)&&Fw.dependencies.add(t);let o=xv(t);o&&ht(o,r=>this.add(r))}},FM=class e extends Cf{constructor(t){super(t)}static create(t){return new e(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let o=this.getPayload();return t.length==o.length?o.map((r,n)=>r.setValue(t[n])).some(Boolean):(super.setValue(t.map(oke)),!0)}};function oke(e){return(Yp(e)?wf:xf).create(e)}function Uw(e){let t=ts(e);return t?t.constructor:ne.arr(e)?FM:Yp(e)?wf:xf}function zw(){return zw=Object.assign?Object.assign.bind():function(e){for(var t=1;t{let o=!ne.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,bl.forwardRef)((r,n)=>{let i=(0,bl.useRef)(null),s=o&&(0,bl.useCallback)(h=>{i.current=nke(n,h)},[n]),[a,c]=rke(r,t),u=DM(),d=()=>{let h=i.current;if(o&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},f=new zM(d,c),m=(0,bl.useRef)();_v(()=>(m.current=f,ht(c,h=>ou(h,f)),()=>{m.current&&(ht(m.current.deps,h=>ru(h,m.current)),ke.cancel(m.current.update))})),(0,bl.useEffect)(d,[]),VM(()=>()=>{let h=m.current;ht(h.deps,g=>ru(g,h))});let p=t.getComponentProps(a.getValue());return kH.createElement(e,zw({},p,{ref:s}))})},zM=class{constructor(t,o){this.update=t,this.deps=o}eventObserved(t){t.type=="change"&&ke.write(this.update)}};function rke(e,t){let o=new Set;return Fw.dependencies=o,e.style&&(e=zw({},e,{style:t.createAnimatedStyle(e.style)})),e=new Cf(e),Fw.dependencies=null,[e,o]}function nke(e,t){return e&&(ne.fun(e)?e(t):e.current=t),t}var gH=Symbol.for("AnimatedComponent"),vH=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:o=n=>new Cf(n),getComponentProps:r=n=>n}={})=>{let n={applyAnimatedValues:t,createAnimatedStyle:o,getComponentProps:r},i=s=>{let a=bH(s)||"Anonymous";return ne.str(s)?s=i[s]||(i[s]=hH(s,n)):s=s[gH]||(s[gH]=hH(s,n)),s.displayName=`Animated(${a})`,s};return ui(e,(s,a)=>{ne.arr(e)&&(a=bH(s)),i[a]=i(s)}),{animated:i}},bH=e=>ne.str(e)?e:e&&ne.str(e.displayName)?e.displayName:ne.fun(e)&&e.name||null;function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var t=1;te===!0||!!(t&&e&&(ne.fun(e)?e(t):tn(e).includes(t))),OH=(e,t)=>ne.obj(e)?t&&e[t]:e,RH=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,ike=e=>e,AH=(e,t=ike)=>{let o=ske;e.default&&e.default!==!0&&(e=e.default,o=Object.keys(e));let r={};for(let n of o){let i=t(e[n],n);ne.und(i)||(r[n]=i)}return r},ske=["config","onProps","onStart","onChange","onPause","onResume","onRest"],ake={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function lke(e){let t={},o=0;if(ui(e,(r,n)=>{ake[n]||(t[n]=r,o++)}),o)return t}function LH(e){let t=lke(e);if(t){let o={to:t};return ui(e,(r,n)=>n in t||(o[n]=r)),o}return Or({},e)}function Tv(e){return e=er(e),ne.arr(e)?e.map(Tv):Yp(e)?Bn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function HM(e){return ne.fun(e)||ne.arr(e)&&ne.obj(e[0])}var cke={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}},Ww=1.70158,Hw=Ww*1.525,yH=Ww+1,_H=2*Math.PI/3,SH=2*Math.PI/4.5,Gw=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,uke={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>yH*e*e*e-Ww*e*e,easeOutBack:e=>1+yH*Math.pow(e-1,3)+Ww*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((Hw+1)*2*e-Hw)/2:(Math.pow(2*e-2,2)*((Hw+1)*(e*2-2)+Hw)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*_H),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*_H)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*SH))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*SH)/2+1,easeInBounce:e=>1-Gw(1-e),easeOutBounce:Gw,easeInOutBounce:e=>e<.5?(1-Gw(1-2*e))/2:(1+Gw(2*e-1))/2},GM=Or({},cke.default,{mass:1,damping:1,easing:uke.linear,clamp:!1}),WM=class{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,GM)}};function dke(e,t,o){o&&(o=Or({},o),xH(o,t),t=Or({},o,t)),xH(e,t),Object.assign(e,t);for(let s in GM)e[s]==null&&(e[s]=GM[s]);let{mass:r,frequency:n,damping:i}=e;return ne.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*r,e.friction=4*Math.PI*i*r/n),e}function xH(e,t){if(!ne.und(t.decay))e.duration=void 0;else{let o=!ne.und(t.tension)||!ne.und(t.friction);(o||!ne.und(t.frequency)||!ne.und(t.damping)||!ne.und(t.mass))&&(e.duration=void 0,e.decay=void 0),o&&(e.frequency=void 0)}}var wH=[],$M=class{constructor(){this.changed=!1,this.values=wH,this.toValues=null,this.fromValues=wH,this.to=void 0,this.from=void 0,this.config=new WM,this.immediate=!1}};function MH(e,{key:t,props:o,defaultProps:r,state:n,actions:i}){return new Promise((s,a)=>{var c;let u,d,f=Ev((c=o.cancel)!=null?c:r?.cancel,t);if(f)h();else{ne.und(o.pause)||(n.paused=Ev(o.pause,t));let g=r?.pause;g!==!0&&(g=n.paused||Ev(g,t)),u=Bf(o.delay||0,t),g?(n.resumeQueue.add(p),i.pause()):(i.resume(),p())}function m(){n.resumeQueue.add(p),n.timeouts.delete(d),d.cancel(),u=d.time-ke.now()}function p(){u>0&&!Bn.skipAnimation?(n.delayed=!0,d=ke.setTimeout(h,u),n.pauseQueue.add(m),n.timeouts.add(d)):h()}function h(){n.delayed&&(n.delayed=!1),n.pauseQueue.delete(m),n.timeouts.delete(d),e<=(n.cancelId||0)&&(f=!0);try{i.start(Or({},o,{callId:e,cancel:f}),s)}catch(g){a(g)}}})}var JM=(e,t)=>t.length==1?t[0]:t.some(o=>o.cancelled)?Zp(e.get()):t.every(o=>o.noop)?NH(e.get()):os(e.get(),t.every(o=>o.finished)),NH=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),os=(e,t,o=!1)=>({value:e,finished:t,cancelled:o}),Zp=e=>({value:e,cancelled:!0,finished:!1});function DH(e,t,o,r){let{callId:n,parentId:i,onRest:s}=t,{asyncTo:a,promise:c}=o;return!i&&e===a&&!t.reset?c:o.promise=(async()=>{o.asyncId=n,o.asyncTo=e;let u=AH(t,(b,k)=>k==="onRest"?void 0:b),d,f,m=new Promise((b,k)=>(d=b,f=k)),p=b=>{let k=n<=(o.cancelId||0)&&Zp(r)||n!==o.asyncId&&os(r,!1);if(k)throw b.result=k,f(b),b},h=(b,k)=>{let y=new $w,v=new Kw;return(async()=>{if(Bn.skipAnimation)throw Iv(o),v.result=os(r,!1),f(v),v;p(y);let S=ne.obj(b)?Or({},b):Or({},k,{to:b});S.parentId=n,ui(u,(C,E)=>{ne.und(S[E])&&(S[E]=C)});let w=await r.start(S);return p(y),o.paused&&await new Promise(C=>{o.resumeQueue.add(C)}),w})()},g;if(Bn.skipAnimation)return Iv(o),os(r,!1);try{let b;ne.arr(e)?b=(async k=>{for(let y of k)await h(y)})(e):b=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([b.then(d),m]),g=os(r.get(),!0,!1)}catch(b){if(b instanceof $w)g=b.result;else if(b instanceof Kw)g=b.result;else throw b}finally{n==o.asyncId&&(o.asyncId=i,o.asyncTo=i?a:void 0,o.promise=i?c:void 0)}return ne.fun(s)&&ke.batchedUpdates(()=>{s(g,r,r.item)}),g})()}function Iv(e,t){$p(e.timeouts,o=>o.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var $w=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}},Kw=class extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}},KM=e=>e instanceof Pv,fke=1,Pv=class extends Wp{constructor(...t){super(...t),this.id=fke++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=ts(this);return t&&t.getValue()}to(...t){return Bn.to(this,t)}interpolate(...t){return mH(),Bn.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,o=!1){Sf(this,{type:"change",parent:this,value:t,idle:o})}_onPriorityChange(t){this.idle||qp.sort(this),Sf(this,{type:"priority",parent:this,priority:t})}},Ef=Symbol.for("SpringPhase"),VH=1,qM=2,YM=4,jM=e=>(e[Ef]&VH)>0,nu=e=>(e[Ef]&qM)>0,wv=e=>(e[Ef]&YM)>0,CH=(e,t)=>t?e[Ef]|=qM|VH:e[Ef]&=~qM,BH=(e,t)=>t?e[Ef]|=YM:e[Ef]&=~YM,ZM=class extends Pv{constructor(t,o){if(super(),this.key=void 0,this.animation=new $M,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ne.und(t)||!ne.und(o)){let r=ne.obj(t)?Or({},t):Or({},o,{from:t});ne.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(nu(this)||this._state.asyncTo)||wv(this)}get goal(){return er(this.animation.to)}get velocity(){let t=ts(this);return t instanceof xf?t.lastVelocity||0:t.getPayload().map(o=>o.lastVelocity||0)}get hasAnimated(){return jM(this)}get isAnimating(){return nu(this)}get isPaused(){return wv(this)}get isDelayed(){return this._state.delayed}advance(t){let o=!0,r=!1,n=this.animation,{config:i,toValues:s}=n,a=xv(n.to);!a&&Pr(n.to)&&(s=tn(er(n.to))),n.values.forEach((d,f)=>{if(d.done)return;let m=d.constructor==wf?1:a?a[f].lastPosition:s[f],p=n.immediate,h=m;if(!p){if(h=d.lastPosition,i.tension<=0){d.done=!0;return}let g=d.elapsedTime+=t,b=n.fromValues[f],k=d.v0!=null?d.v0:d.v0=ne.arr(i.velocity)?i.velocity[f]:i.velocity,y,v=i.precision||(b==m?.005:Math.min(1,Math.abs(m-b)*.001));if(ne.und(i.duration))if(i.decay){let S=i.decay===!0?.998:i.decay,w=Math.exp(-(1-S)*g);h=b+k/(1-S)*(1-w),p=Math.abs(d.lastPosition-h)<=v,y=k*w}else{y=d.lastVelocity==null?k:d.lastVelocity;let S=i.restVelocity||v/10,w=i.clamp?0:i.bounce,C=!ne.und(w),E=b==m?d.v0>0:bS,!(!P&&(p=Math.abs(m-h)<=v,p)));++A){C&&(R=h==m||h>m==E,R&&(y=-y*w,h=m));let L=-i.tension*1e-6*(h-m),U=-i.friction*.001*y,G=(L+U)/i.mass;y=y+G*B,h=h+y*B}}else{let S=1;i.duration>0&&(this._memoizedDuration!==i.duration&&(this._memoizedDuration=i.duration,d.durationProgress>0&&(d.elapsedTime=i.duration*d.durationProgress,g=d.elapsedTime+=t)),S=(i.progress||0)+g/this._memoizedDuration,S=S>1?1:S<0?0:S,d.durationProgress=S),h=b+i.easing(S)*(m-b),y=(h-d.lastPosition)/t,p=S==1}d.lastVelocity=y,Number.isNaN(h)&&(console.warn("Got NaN while animating:",this),p=!0)}a&&!a[f].done&&(p=!1),p?d.done=!0:o=!1,d.setValue(h,i.round)&&(r=!0)});let c=ts(this),u=c.getValue();if(o){let d=er(n.to);(u!==d||r)&&!i.decay?(c.setValue(d),this._onChange(d)):r&&i.decay&&this._onChange(u),this._stop()}else r&&this._onChange(u)}set(t){return ke.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(nu(this)){let{to:t,config:o}=this.animation;ke.batchedUpdates(()=>{this._onStart(),o.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,o){let r;return ne.und(t)?(r=this.queue||[],this.queue=[]):r=[ne.obj(t)?t:Or({},o,{to:t})],Promise.all(r.map(n=>this._update(n))).then(n=>JM(this,n))}stop(t){let{to:o}=this.animation;return this._focus(this.get()),Iv(this._state,t&&this._lastCallId),ke.batchedUpdates(()=>this._stop(o,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){let o=this.key||"",{to:r,from:n}=t;r=ne.obj(r)?r[o]:r,(r==null||HM(r))&&(r=void 0),n=ne.obj(n)?n[o]:n,n==null&&(n=void 0);let i={to:r,from:n};return jM(this)||(t.reverse&&([r,n]=[n,r]),n=er(n),ne.und(n)?ts(this)||this._set(r):this._set(n)),i}_update(t,o){let r=Or({},t),{key:n,defaultProps:i}=this;r.default&&Object.assign(i,AH(r,(c,u)=>/^on/.test(u)?OH(c,n):c)),TH(this,r,"onProps"),Bv(this,"onProps",r,this);let s=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let a=this._state;return MH(++this._lastCallId,{key:n,props:r,defaultProps:i,state:a,actions:{pause:()=>{wv(this)||(BH(this,!0),Kp(a.pauseQueue),Bv(this,"onPause",os(this,Cv(this,this.animation.to)),this))},resume:()=>{wv(this)&&(BH(this,!1),nu(this)&&this._resume(),Kp(a.resumeQueue),Bv(this,"onResume",os(this,Cv(this,this.animation.to)),this))},start:this._merge.bind(this,s)}}).then(c=>{if(r.loop&&c.finished&&!(o&&c.noop)){let u=FH(r);if(u)return this._update(u,!0)}return c})}_merge(t,o,r){if(o.cancel)return this.stop(!0),r(Zp(this));let n=!ne.und(t.to),i=!ne.und(t.from);if(n||i)if(o.callId>this._lastToId)this._lastToId=o.callId;else return r(Zp(this));let{key:s,defaultProps:a,animation:c}=this,{to:u,from:d}=c,{to:f=u,from:m=d}=t;i&&!n&&(!o.default||ne.und(f))&&(f=m),o.reverse&&([f,m]=[m,f]);let p=!$s(m,d);p&&(c.from=m),m=er(m);let h=!$s(f,u);h&&this._focus(f);let g=HM(o.to),{config:b}=c,{decay:k,velocity:y}=b;(n||i)&&(b.velocity=0),o.config&&!g&&dke(b,Bf(o.config,s),o.config!==a.config?Bf(a.config,s):void 0);let v=ts(this);if(!v||ne.und(f))return r(os(this,!0));let S=ne.und(o.reset)?i&&!o.default:!ne.und(m)&&Ev(o.reset,s),w=S?m:this.get(),C=Tv(f),E=ne.num(C)||ne.arr(C)||Yp(C),P=!g&&(!E||Ev(a.immediate||o.immediate,s));if(h){let A=Uw(f);if(A!==v.constructor)if(P)v=this._set(C);else throw Error(`Cannot animate between ${v.constructor.name} and ${A.name}, as the "to" prop suggests`)}let R=v.constructor,B=Pr(f),T=!1;if(!B){let A=S||!jM(this)&&p;(h||A)&&(T=$s(Tv(w),C),B=!T),(!$s(c.immediate,P)&&!P||!$s(b.decay,k)||!$s(b.velocity,y))&&(B=!0)}if(T&&nu(this)&&(c.changed&&!S?B=!0:B||this._stop(u)),!g&&((B||Pr(u))&&(c.values=v.getPayload(),c.toValues=Pr(f)?null:R==wf?[1]:tn(C)),c.immediate!=P&&(c.immediate=P,!P&&!S&&this._set(u)),B)){let{onRest:A}=c;ht(mke,U=>TH(this,o,U));let L=os(this,Cv(this,u));Kp(this._pendingCalls,L),this._pendingCalls.add(r),c.changed&&ke.batchedUpdates(()=>{c.changed=!S,A?.(L,this),S?Bf(a.onRest,L):c.onStart==null||c.onStart(L,this)})}S&&this._set(w),g?r(DH(o.to,o,this._state,this)):B?this._start():nu(this)&&!h?this._pendingCalls.add(r):r(NH(w))}_focus(t){let o=this.animation;t!==o.to&&(NM(this)&&this._detach(),o.to=t,NM(this)&&this._attach())}_attach(){let t=0,{to:o}=this.animation;Pr(o)&&(ou(o,this),KM(o)&&(t=o.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;Pr(t)&&ru(t,this)}_set(t,o=!0){let r=er(t);if(!ne.und(r)){let n=ts(this);if(!n||!$s(r,n.getValue())){let i=Uw(r);!n||n.constructor!=i?jw(this,i.create(r)):n.setValue(r),n&&ke.batchedUpdates(()=>{this._onChange(r,o)})}}return ts(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,Bv(this,"onStart",os(this,Cv(this,t.to)),this))}_onChange(t,o){o||(this._onStart(),Bf(this.animation.onChange,t,this)),Bf(this.defaultProps.onChange,t,this),super._onChange(t,o)}_start(){let t=this.animation;ts(this).reset(er(t.to)),t.immediate||(t.fromValues=t.values.map(o=>o.lastPosition)),nu(this)||(CH(this,!0),wv(this)||this._resume())}_resume(){Bn.skipAnimation?this.finish():qp.start(this)}_stop(t,o){if(nu(this)){CH(this,!1);let r=this.animation;ht(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Sf(this,{type:"idle",parent:this});let n=o?Zp(this.get()):os(this.get(),Cv(this,t??r.to));Kp(this._pendingCalls,n),r.changed&&(r.changed=!1,Bv(this,"onRest",n,this))}}};function Cv(e,t){let o=Tv(t),r=Tv(e.get());return $s(r,o)}function FH(e,t=e.loop,o=e.to){let r=Bf(t);if(r){let n=r!==!0&&LH(r),i=(n||e).reverse,s=!n||n.reset;return XM(Or({},e,{loop:t,default:!1,pause:void 0,to:!i||HM(o)?o:void 0,from:s?e.from:void 0,reset:s},n))}}function XM(e){let{to:t,from:o}=e=LH(e),r=new Set;return ne.obj(t)&&EH(t,r),ne.obj(o)&&EH(o,r),e.keys=r.size?Array.from(r):null,e}function EH(e,t){ui(e,(o,r)=>o!=null&&t.add(r))}var mke=["onStart","onRest","onChange","onPause","onResume"];function TH(e,t,o){e.animation[o]=t[o]!==RH(t,o)?OH(t[o],e.key):void 0}function Bv(e,t,...o){var r,n,i,s;(r=(n=e.animation)[t])==null||r.call(n,...o),(i=(s=e.defaultProps)[t])==null||i.call(s,...o)}var pke=["onStart","onChange","onRest"],hke=1,qw=class{constructor(t,o){this.id=hke++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),o&&(this._flush=o),t&&this.start(Or({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((o,r)=>t[r]=o.get()),t}set(t){for(let o in t){let r=t[o];ne.und(r)||this.springs[o].set(r)}}update(t){return t&&this.queue.push(XM(t)),this}start(t){let{queue:o}=this;return t?o=tn(t).map(XM):this.queue=[],this._flush?this._flush(this,o):(jH(this,o),gke(this,o))}stop(t,o){if(t!==!!t&&(o=t),o){let r=this.springs;ht(tn(o),n=>r[n].stop(!!t))}else Iv(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(ne.und(t))this.start({pause:!0});else{let o=this.springs;ht(tn(t),r=>o[r].pause())}return this}resume(t){if(ne.und(t))this.start({pause:!1});else{let o=this.springs;ht(tn(t),r=>o[r].resume())}return this}each(t){ui(this.springs,t)}_onFrame(){let{onStart:t,onChange:o,onRest:r}=this._events,n=this._active.size>0,i=this._changed.size>0;(n&&!this._started||i&&!this._started)&&(this._started=!0,$p(t,([c,u])=>{u.value=this.get(),c(u,this,this._item)}));let s=!n&&this._started,a=i||s&&r.size?this.get():null;i&&o.size&&$p(o,([c,u])=>{u.value=a,c(u,this,this._item)}),s&&(this._started=!1,$p(r,([c,u])=>{u.value=a,c(u,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;ke.onFrame(this._onFrame)}};function gke(e,t){return Promise.all(t.map(o=>zH(e,o))).then(o=>JM(e,o))}async function zH(e,t,o){let{keys:r,to:n,from:i,loop:s,onRest:a,onResolve:c}=t,u=ne.obj(t.default)&&t.default;s&&(t.loop=!1),n===!1&&(t.to=null),i===!1&&(t.from=null);let d=ne.arr(n)||ne.fun(n)?n:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):ht(pke,g=>{let b=t[g];if(ne.fun(b)){let k=e._events[g];t[g]=({finished:y,cancelled:v})=>{let S=k.get(b);S?(y||(S.finished=!1),v&&(S.cancelled=!0)):k.set(b,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[g]=t[g])}});let f=e._state;t.pause===!f.paused?(f.paused=t.pause,Kp(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);let m=(r||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),p=t.cancel===!0||RH(t,"cancel")===!0;(d||p&&f.asyncId)&&m.push(MH(++e._lastAsyncId,{props:t,state:f,actions:{pause:Lw,resume:Lw,start(g,b){p?(Iv(f,e._lastAsyncId),b(Zp(e))):(g.onRest=a,b(DH(d,g,f,e)))}}})),f.paused&&await new Promise(g=>{f.resumeQueue.add(g)});let h=JM(e,await Promise.all(m));if(s&&h.finished&&!(o&&h.noop)){let g=FH(t,s,n);if(g)return jH(e,[g]),zH(e,g,!0)}return c&&ke.batchedUpdates(()=>c(h,e,e.item)),h}function bke(e,t){let o=new ZM;return o.key=e,t&&ou(o,t),o}function kke(e,t,o){t.keys&&ht(t.keys,r=>{(e[r]||(e[r]=o(r)))._prepareNode(t)})}function jH(e,t){ht(t,o=>{kke(e.springs,o,r=>bke(r,e))})}function vke(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var yke=["children"],eN=e=>{let{children:t}=e,o=vke(e,yke),r=(0,Rv.useContext)(Yw),n=o.pause||!!r.pause,i=o.immediate||!!r.immediate;o=pH(()=>({pause:n,immediate:i}),[n,i]);let{Provider:s}=Yw;return Ov.createElement(s,{value:o},t)},Yw=_ke(eN,{});eN.Provider=Yw.Provider;eN.Consumer=Yw.Consumer;function _ke(e,t){return Object.assign(e,Ov.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var IH;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(IH||(IH={}));var QM=class extends Pv{constructor(t,o){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=tu(...o);let r=this._get(),n=Uw(r);jw(this,n.create(r))}advance(t){let o=this._get(),r=this.get();$s(o,r)||(ts(this).setValue(o),this._onChange(o,this.idle)),!this.idle&&PH(this._active)&&UM(this)}_get(){let t=ne.arr(this.source)?this.source.map(er):tn(er(this.source));return this.calc(...t)}_start(){this.idle&&!PH(this._active)&&(this.idle=!1,ht(xv(this),t=>{t.done=!1}),Bn.skipAnimation?(ke.batchedUpdates(()=>this.advance()),UM(this)):qp.start(this))}_attach(){let t=1;ht(tn(this.source),o=>{Pr(o)&&ou(o,this),KM(o)&&(o.idle||this._active.add(o),t=Math.max(t,o.priority+1))}),this.priority=t,this._start()}_detach(){ht(tn(this.source),t=>{Pr(t)&&ru(t,this)}),this._active.clear(),UM(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=tn(this.source).reduce((o,r)=>Math.max(o,(KM(r)?r.priority:0)+1),0))}};function Ske(e){return e.idle!==!1}function PH(e){return!e.size||Array.from(e).every(Ske)}function UM(e){e.idle||(e.idle=!0,ht(xv(e),t=>{t.done=!0}),Sf(e,{type:"idle",parent:e}))}Bn.assign({createStringInterpolator:Dw,to:(e,t)=>new QM(e,t)});var J3e=qp.advance;var WH=l(HH());function nN(e,t){if(e==null)return{};var o={},r=Object.keys(e),n,i;for(i=0;i=0)&&(o[n]=e[n]);return o}var xke=["style","children","scrollTop","scrollLeft"],$H=/^--/;function wke(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!$H.test(e)&&!(Av.hasOwnProperty(e)&&Av[e])?t+"px":(""+t).trim()}var GH={};function Cke(e,t){if(!e.nodeType||!e.setAttribute)return!1;let o=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",r=t,{style:n,children:i,scrollTop:s,scrollLeft:a}=r,c=nN(r,xke),u=Object.values(c),d=Object.keys(c).map(f=>o||e.hasAttribute(f)?f:GH[f]||(GH[f]=f.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));i!==void 0&&(e.textContent=i);for(let f in n)if(n.hasOwnProperty(f)){let m=wke(f,n[f]);$H.test(f)?e.style.setProperty(f,m):e.style[f]=m}d.forEach((f,m)=>{e.setAttribute(f,u[m])}),s!==void 0&&(e.scrollTop=s),a!==void 0&&(e.scrollLeft=a)}var Av={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},Bke=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),Eke=["Webkit","Ms","Moz","O"];Av=Object.keys(Av).reduce((e,t)=>(Eke.forEach(o=>e[Bke(o,t)]=e[t]),e),Av);var Tke=["x","y","z"],Ike=/^(matrix|translate|scale|rotate|skew)/,Pke=/^(translate)/,Oke=/^(rotate|skew)/,tN=(e,t)=>ne.num(e)&&e!==0?e+t:e,Zw=(e,t)=>ne.arr(e)?e.every(o=>Zw(o,t)):ne.num(e)?e===t:parseFloat(e)===t,oN=class extends Cf{constructor(t){let{x:o,y:r,z:n}=t,i=nN(t,Tke),s=[],a=[];(o||r||n)&&(s.push([o||0,r||0,n||0]),a.push(c=>[`translate3d(${c.map(u=>tN(u,"px")).join(",")})`,Zw(c,0)])),ui(i,(c,u)=>{if(u==="transform")s.push([c||""]),a.push(d=>[d,d===""]);else if(Ike.test(u)){if(delete i[u],ne.und(c))return;let d=Pke.test(u)?"px":Oke.test(u)?"deg":"";s.push(tn(c)),a.push(u==="rotate3d"?([f,m,p,h])=>[`rotate3d(${f},${m},${p},${tN(h,d)})`,Zw(h,0)]:f=>[`${u}(${f.map(m=>tN(m,d)).join(",")})`,Zw(f,u.startsWith("scale")?1:0)])}}),s.length&&(i.transform=new rN(s,a)),super(i)}},rN=class extends Wp{constructor(t,o){super(),this._value=null,this.inputs=t,this.transforms=o}get(){return this._value||(this._value=this._get())}_get(){let t="",o=!0;return ht(this.inputs,(r,n)=>{let i=er(r[0]),[s,a]=this.transforms[n](ne.arr(i)?i:r.map(er));t+=" "+s,o=o&&a}),o?"none":t}observerAdded(t){t==1&&ht(this.inputs,o=>ht(o,r=>Pr(r)&&ou(r,this)))}observerRemoved(t){t==0&&ht(this.inputs,o=>ht(o,r=>Pr(r)&&ru(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Sf(this,t)}},Rke=["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"],Ake=["scrollTop","scrollLeft"];Bn.assign({batchedUpdates:WH.unstable_batchedUpdates,createStringInterpolator:Dw,colors:lH});var Lke=vH(Rke,{applyAnimatedValues:Cke,createAnimatedStyle:e=>new oN(e),getComponentProps:e=>nN(e,Ake)}),KH=Lke.animated;var Xp=l(I()),YH=l(ze()),ZH=l(D());var Mke=200;function qH(e){return{top:e.offsetTop,left:e.offsetLeft}}function Nke({triggerAnimationOnChange:e,clientId:t}){let o=(0,Xp.useRef)(),{isTyping:r,getGlobalBlockCount:n,isBlockSelected:i,isFirstMultiSelectedBlock:s,isBlockMultiSelected:a,isAncestorMultiSelected:c,isDraggingBlocks:u}=(0,ZH.useSelect)(_),{previous:d,prevRect:f}=(0,Xp.useMemo)(()=>({previous:o.current&&qH(o.current),prevRect:o.current&&o.current.getBoundingClientRect()}),[e]);return(0,Xp.useLayoutEffect)(()=>{if(!d||!o.current)return;let m=(0,YH.getScrollContainer)(o.current),p=i(t),h=p||s(t),g=u();function b(){if(!g&&h&&f){let R=o.current.getBoundingClientRect().top-f.top;R&&(m.scrollTop+=R)}}if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||r()||n()>Mke){b();return}let y=p||a(t)||c(t);if(y&&g)return;let v=y?"1":"",S=new qw({x:0,y:0,config:{mass:5,tension:2e3,friction:200},onChange({value:P}){if(!o.current)return;let{x:R,y:B}=P;R=Math.round(R),B=Math.round(B);let T=R===0&&B===0;o.current.style.transformOrigin="center center",o.current.style.transform=T?null:`translate3d(${R}px,${B}px,0)`,o.current.style.zIndex=v,b()}});o.current.style.transform=void 0;let w=qH(o.current),C=Math.round(d.left-w.left),E=Math.round(d.top-w.top);return S.start({x:0,y:0,from:{x:C,y:E}}),()=>{S.stop(),S.set({x:0,y:0})}},[d,f,t,r,n,i,s,a,c,u]),o}var Xw=Nke;var eC=l(I()),kl=l(ze()),XH=l(D());var Qw=".block-editor-block-list__block",Dke=".block-list-appender",Vke=".block-editor-button-block-appender";function Jw(e,t){return e.closest(Qw)===t.closest(Qw)}function iu(e,t){return t.closest([Qw,Dke,Vke].join(","))===e}function su(e){for(;e&&e.nodeType!==e.ELEMENT_NODE;)e=e.parentNode;if(!e)return;let o=e.closest(Qw);if(o)return o.id.slice(6)}function iN(e,t){let o=Math.min(e.left,t.left),r=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.top,t.top);return new window.DOMRectReadOnly(o,i,r-o,n-i)}function Fke(e){let t=e.ownerDocument.defaultView;if(!t||e.classList.contains("components-visually-hidden"))return!1;let o=e.getBoundingClientRect();if(o.width===0||o.height===0)return!1;if(e.checkVisibility)return e.checkVisibility?.({opacityProperty:!0,contentVisibilityAuto:!0,visibilityProperty:!0});let r=t.getComputedStyle(e);return!(r.display==="none"||r.visibility==="hidden"||r.opacity==="0")}function zke(e){let t=window.getComputedStyle(e);return t.overflowX==="auto"||t.overflowX==="scroll"||t.overflowY==="auto"||t.overflowY==="scroll"}var jke=["core/navigation"];function Qp(e){let t=e.ownerDocument.defaultView;if(!t)return new window.DOMRectReadOnly;let o=e.getBoundingClientRect(),r=e.getAttribute("data-type");if(r&&jke.includes(r)){let s=[e],a;for(;a=s.pop();)if(!zke(a)){for(let c of a.children)if(Fke(c)){let u=c.getBoundingClientRect();o=iN(o,u),s.push(c)}}}let n=Math.max(o.left,0),i=Math.min(o.right,t.innerWidth);return o=new window.DOMRectReadOnly(n,o.top,i-n,o.height),o}function QH({clientId:e,initialPosition:t}){let o=(0,eC.useRef)(),{isBlockSelected:r,isMultiSelecting:n,isZoomOut:i}=z((0,XH.useSelect)(_));return(0,eC.useEffect)(()=>{if(!r(e)||n()||i()||t==null||!o.current)return;let{ownerDocument:s}=o.current;if(iu(o.current,s.activeElement))return;let a=kl.focus.tabbable.find(o.current).filter(d=>(0,kl.isTextField)(d)),c=t===-1,u=a[c?a.length-1:0]||o.current;if(!iu(o.current,u)){o.current.focus();return}if(!o.current.getAttribute("contenteditable")){let d=kl.focus.tabbable.findNext(o.current);if(d&&iu(o.current,d)&&(0,kl.isFormElement)(d)){d.focus();return}}(0,kl.placeCaretAtHorizontalEdge)(u,c)},[t,e]),o}var JH=l(Y());function tC(e){e.defaultPrevented||(e.preventDefault(),e.currentTarget.classList.toggle("is-hovered",e.type==="mouseover"))}function e8({isEnabled:e=!0}={}){return(0,JH.useRefEffect)(t=>{if(e)return t.addEventListener("mouseout",tC),t.addEventListener("mouseover",tC),()=>{t.removeEventListener("mouseout",tC),t.removeEventListener("mouseover",tC),t.classList.remove("is-hovered")}},[e])}var oC=l(D()),t8=l(Y());function o8(e){let{isBlockSelected:t}=(0,oC.useSelect)(_),{selectBlock:o,selectionChange:r}=(0,oC.useDispatch)(_);return(0,t8.useRefEffect)(n=>{function i(s){if(!n.parentElement.closest('[contenteditable="true"]')){if(t(e)){s.target.isContentEditable||r(e);return}iu(n,s.target)&&o(e)}}return n.addEventListener("focusin",i),()=>{n.removeEventListener("focusin",i)}},[t,o])}var n8=l(ze()),au=l(st()),rC=l(D()),i8=l(Y());function r8(e){return!e||e==="transparent"||e==="rgba(0, 0, 0, 0)"}function s8({clientId:e,isSelected:t}){let{getBlockRootClientId:o,isZoomOut:r,hasMultiSelection:n,isSectionBlock:i,editedContentOnlySection:s}=z((0,rC.useSelect)(_)),{insertAfterBlock:a,removeBlock:c,resetZoomLevel:u,startDraggingBlocks:d,stopDraggingBlocks:f,editContentOnlySection:m}=z((0,rC.useDispatch)(_));return(0,i8.useRefEffect)(p=>{if(!t)return;function h(k){let{keyCode:y,target:v}=k;y!==au.ENTER&&y!==au.BACKSPACE&&y!==au.DELETE||v!==p||(0,n8.isTextField)(v)||(k.preventDefault(),y===au.ENTER&&r()?u():y===au.ENTER?a(e):c(e))}function g(k){if(p!==k.target||p.isContentEditable||p.ownerDocument.activeElement!==p||n()){k.preventDefault();return}let y=JSON.stringify({type:"block",srcClientIds:[e],srcRootClientId:o(e)});k.dataTransfer.effectAllowed="move",k.dataTransfer.clearData(),k.dataTransfer.setData("wp-blocks",y);let{ownerDocument:v}=p,{defaultView:S}=v;S.getSelection().removeAllRanges();let C=v.createElement("div");C.style.width="1px",C.style.height="1px",C.style.position="fixed",C.style.visibility="hidden",v.body.appendChild(C),k.dataTransfer.setDragImage(C,0,0);let E=p.getBoundingClientRect(),P=p.cloneNode(!0);P.style.visibility="hidden",P.style.display="none";let R=p.id;p.id=null;let B=1;{let ee=p;for(;ee=ee.parentElement;){let{scale:ie}=S.getComputedStyle(ee);if(ie&&ie!=="none"){B=parseFloat(ie);break}}}let T=1/B;p.after(P);let A={};for(let ee of["transform","transformOrigin","transition","zIndex","position","top","left","pointerEvents","opacity","backgroundColor"])A[ee]=p.style[ee];let L=S.scrollY,U=S.scrollX,G=k.clientX,j=k.clientY;p.style.position="relative",p.style.top="0px",p.style.left="0px";let N=k.clientX-E.left,F=k.clientY-E.top,K=E.height>200?200/E.height:1;if(p.style.zIndex="1000",p.style.transformOrigin=`${N*T}px ${F*T}px`,p.style.transition="transform 0.2s ease-out",p.style.transform=`scale(${K})`,p.style.opacity="0.9",r8(S.getComputedStyle(p).backgroundColor)){let ee="transparent",ie=p;for(;ie=ie.parentElement;){let{backgroundColor:de}=S.getComputedStyle(ie);if(!r8(de)){ee=de;break}}p.style.backgroundColor=ee}let Z=!1;function Q(ee){Z||(Z=!0,p.style.pointerEvents="none");let ie=S.scrollY,de=S.scrollX;p.style.top=`${(ee.clientY-j+ie-L)*T}px`,p.style.left=`${(ee.clientX-G+de-U)*T}px`}function J(){v.removeEventListener("dragover",Q),v.removeEventListener("dragend",J),v.removeEventListener("drop",J),v.removeEventListener("scroll",Q);for(let[ee,ie]of Object.entries(A))p.style[ee]=ie;P.remove(),p.id=R,C.remove(),f(),document.body.classList.remove("is-dragging-components-draggable"),v.documentElement.classList.remove("is-dragging")}v.addEventListener("dragover",Q),v.addEventListener("dragend",J),v.addEventListener("drop",J),v.addEventListener("scroll",Q),d([e]),document.body.classList.add("is-dragging-components-draggable"),v.documentElement.classList.add("is-dragging")}p.addEventListener("keydown",h),p.addEventListener("dragstart",g);function b(k){i(e)&&!(s===e)&&(k.preventDefault(),m(e))}return window?.__experimentalContentOnlyPatternInsertion&&p.addEventListener("dblclick",b),()=>{p.removeEventListener("keydown",h),p.removeEventListener("dragstart",g),window?.__experimentalContentOnlyPatternInsertion&&p.removeEventListener("dblclick",b)}},[e,t,o,a,c,r,u,n,d,f,i,s,m])}var a8=l(Y()),l8=l(I());function c8(){let e=(0,l8.useContext)(nC);return(0,a8.useRefEffect)(t=>{if(e)return e.observe(t),()=>{e.unobserve(t)}},[e])}var iC=l(Y());function u8({isSelected:e}){let t=(0,iC.useReducedMotion)();return(0,iC.useRefEffect)(o=>{if(e){let{ownerDocument:r}=o,{defaultView:n}=r;if(!n.IntersectionObserver)return;let i=new n.IntersectionObserver(s=>{s[0].isIntersecting||o.scrollIntoView({behavior:t?"instant":"smooth"}),i.disconnect()});return i.observe(o),()=>{i.disconnect()}}},[e])}var d8=l(Y()),f8=l(D());function sC({clientId:e="",isEnabled:t=!0}={}){let{getEnabledClientIdsTree:o}=z((0,f8.useSelect)(_));return(0,d8.useRefEffect)(r=>{if(!t)return;let n=()=>{o(e).forEach(({clientId:s})=>{let a=r.querySelector(`[data-block="${s}"]`);a&&(a.classList.remove("has-editable-outline"),a.offsetWidth,a.classList.add("has-editable-outline"))})},i=s=>{(s.target===r||s.target.classList.contains("is-root-container"))&&(s.defaultPrevented||(s.preventDefault(),n()))};return r.addEventListener("click",i),()=>r.removeEventListener("click",i)},[t])}var m8=l(Y()),Lv=new Map;function Uke(e,t){let o=Lv.get(e);o||(o=new Set,Lv.set(e,o),e.addEventListener("pointerdown",h8)),o.add(t)}function Hke(e,t){let o=Lv.get(e);o&&(o.delete(t),p8(t),o.size===0&&(Lv.delete(e),e.removeEventListener("pointerdown",h8)))}function p8(e){let t=e.getAttribute("data-draggable");t&&(e.removeAttribute("data-draggable"),t==="true"&&!e.getAttribute("draggable")&&e.setAttribute("draggable","true"))}function h8(e){let{target:t}=e,{ownerDocument:o,isContentEditable:r,tagName:n}=t,i=["INPUT","TEXTAREA"].includes(n),s=Lv.get(o);if(r||i)for(let a of s)a.getAttribute("draggable")==="true"&&a.contains(t)&&(a.removeAttribute("draggable"),a.setAttribute("data-draggable","true"));else for(let a of s)p8(a)}function g8(){return(0,m8.useRefEffect)(e=>(Uke(e.ownerDocument,e),()=>{Hke(e.ownerDocument,e)}),[])}function Mv(e={},{__unstableIsHtml:t}={}){let{clientId:o,className:r,wrapperProps:n={},isAligned:i,index:s,mode:a,name:c,blockApiVersion:u,blockTitle:d,isSelected:f,isSubtreeDisabled:m,hasOverlay:p,initialPosition:h,blockEditingMode:g,isHighlighted:b,isMultiSelected:k,isPartiallySelected:y,isReusable:v,isDragging:S,hasChildSelected:w,isEditingDisabled:C,hasEditableOutline:E,isEditingContentOnlySection:P,defaultClassName:R,isSectionBlock:B,isWithinSectionBlock:T,canMove:A,isBlockHidden:L}=(0,b8.useContext)($i),U=(0,aC.sprintf)((0,aC.__)("Block: %s"),d),G=a==="html"&&!t?"-visual":"",j=g8(),N=!T,F=(0,lC.useMergeRefs)([e.ref,QH({clientId:o,initialPosition:h}),oU(o),o8(o),s8({clientId:o,isSelected:f}),e8({isEnabled:N}),c8(),Xw({triggerAnimationOnChange:s,clientId:o}),(0,lC.useDisabled)({isDisabled:!p}),sC({clientId:o,isEnabled:B}),u8({isSelected:f}),A?j:void 0]),K=Ae(),Q=!!K[sp]?{"--wp-admin-theme-color":"var(--wp-block-synced-color)","--wp-admin-theme-color--rgb":"var(--wp-block-synced-color--rgb)"}:{};u<2&&o===K.clientId&&(0,v8.default)(`Block type "${c}" must support API version 2 or higher to work correctly with "useBlockProps" method.`);let J=!1;return(n?.style?.marginTop?.charAt(0)==="-"||n?.style?.marginBottom?.charAt(0)==="-"||n?.style?.marginLeft?.charAt(0)==="-"||n?.style?.marginRight?.charAt(0)==="-")&&(J=!0),{tabIndex:g==="disabled"?-1:0,draggable:A&&!w?!0:void 0,...n,...e,ref:F,id:`block-${o}${G}`,role:"document","aria-label":U,"data-block":o,"data-type":c,"data-title":d,inert:m?"true":void 0,className:V("block-editor-block-list__block",{"wp-block":!i,"has-block-overlay":p,"is-selected":f,"is-highlighted":b,"is-multi-selected":k,"is-partially-selected":y,"is-reusable":v,"is-dragging":S,"has-child-selected":w,"is-editing-disabled":C,"has-editable-outline":E,"has-negative-margin":J,"is-editing-content-only-section":P,"is-block-hidden":L},r,e.className,n.className,R),style:{...n.style,...e.style,...Q}}}Mv.save=k8.__unstableGetBlockProps;var co=l(x());function Gke(e,t){let o={...e,...t};return e?.hasOwnProperty("className")&&t?.hasOwnProperty("className")&&(o.className=V(e.className,t.className)),e?.hasOwnProperty("style")&&t?.hasOwnProperty("style")&&(o.style={...e.style,...t.style}),o}function cC({children:e,isHtml:t,...o}){return(0,co.jsx)("div",{...Mv(o,{__unstableIsHtml:t}),children:e})}function sN({block:{__unstableBlockSource:e},mode:t,isLocked:o,canRemove:r,clientId:n,isSelected:i,isSelectionEnabled:s,className:a,__unstableLayoutClassNames:c,name:u,isValid:d,attributes:f,wrapperProps:m,setAttributes:p,onReplace:h,onRemove:g,onInsertBlocksAfter:b,onMerge:k,toggleSelection:y}){let{mayDisplayControls:v,mayDisplayParentControls:S,themeSupportsLayout:w,...C}=(0,lu.useContext)($i),E=hf()||{},P=(0,co.jsx)(jx,{name:u,isSelected:i,attributes:f,setAttributes:p,insertBlocksAfter:o?void 0:b,onReplace:r?h:void 0,onRemove:r?g:void 0,mergeBlocks:r?k:void 0,clientId:n,isSelectionEnabled:s,toggleSelection:y,__unstableLayoutClassNames:c,__unstableParentLayout:Object.keys(E).length?E:void 0,mayDisplayControls:v,mayDisplayParentControls:S,blockEditingMode:C.blockEditingMode,isPreviewMode:C.isPreviewMode}),R=(0,je.getBlockType)(u);R?.getEditWrapperProps&&(m=Gke(m,R.getEditWrapperProps(f)));let B=m&&!!m["data-align"]&&!w,T=a?.includes("is-position-sticky");B&&(P=(0,co.jsx)("div",{className:V("wp-block",T&&a),"data-align":m["data-align"],children:P}));let A;if(d)t==="html"?A=(0,co.jsxs)(co.Fragment,{children:[(0,co.jsx)("div",{style:{display:"none"},children:P}),(0,co.jsx)(cC,{isHtml:!0,children:(0,co.jsx)(WU,{clientId:n})})]}):R?.apiVersion>1?A=P:A=(0,co.jsx)(cC,{children:P});else{let j=e?(0,je.serializeRawBlock)(e):(0,je.getSaveContent)(R,f);A=(0,co.jsxs)(cC,{className:"has-warning",children:[(0,co.jsx)(yU,{clientId:n}),(0,co.jsx)(lu.RawHTML,{children:(0,S8.safeHTML)(j)})]})}let{"data-align":L,...U}=m??{},G={...U,className:V(U.className,L&&w&&`align${L}`,!(L&&T)&&a)};return(0,co.jsx)($i.Provider,{value:{wrapperProps:G,isAligned:B,...C},children:(0,co.jsx)(CU,{fallback:(0,co.jsx)(cC,{className:"has-warning",children:(0,co.jsx)(xU,{})}),children:A})})}var Wke=(0,uC.withDispatch)((e,t,o)=>{let{updateBlockAttributes:r,insertBlocks:n,mergeBlocks:i,replaceBlocks:s,toggleSelection:a,__unstableMarkLastChangeAsPersistent:c,moveBlocksToPosition:u,removeBlock:d,selectBlock:f}=e(_);return{setAttributes(m){let{getMultiSelectedBlockClientIds:p}=o.select(_),h=p(),{clientId:g,attributes:b}=t,k=h.length?h:[g],y=typeof m=="function"?m(b):m;r(k,y)},onInsertBlocks(m,p){let{rootClientId:h}=t;n(m,p,h)},onInsertBlocksAfter(m){let{clientId:p,rootClientId:h}=t,{getBlockIndex:g}=o.select(_),b=g(p);n(m,b+1,h)},onMerge(m){let{clientId:p,rootClientId:h}=t,{getPreviousBlockClientId:g,getNextBlockClientId:b,getBlock:k,getBlockAttributes:y,getBlockName:v,getBlockOrder:S,getBlockIndex:w,getBlockRootClientId:C,canInsertBlockType:E}=o.select(_);function P(){let B=k(p),T=(0,je.getDefaultBlockName)(),A=(0,je.getBlockType)(T);if(v(p)!==T){let L=(0,je.switchToBlockType)(B,T);L&&L.length&&s(p,L)}else if((0,je.isUnmodifiedDefaultBlock)(B)){let L=b(p);L&&o.batch(()=>{d(p),f(L)})}else if(A.merge){let L=A.merge({},B.attributes);s([p],[(0,je.createBlock)(T,L)])}}function R(B,T=!0){let A=v(B),U=(0,je.getBlockType)(A).category==="text",G=C(B),j=S(B),[N]=j;j.length===1&&(0,je.isUnmodifiedBlock)(k(N))?d(B):U?o.batch(()=>{if(E(v(N),G))u([N],B,G,w(B));else{let F=(0,je.switchToBlockType)(k(N),(0,je.getDefaultBlockName)());F&&F.length&&F.every(K=>E(K.name,G))?(n(F,w(B),G,T),d(N,!1)):P()}!S(B).length&&(0,je.isUnmodifiedBlock)(k(B))&&d(B,!1)}):P()}if(m){if(h){let T=b(h);if(T)if(v(h)===v(T)){let A=y(h),L=y(T);if(Object.keys(A).every(U=>A[U]===L[U])){o.batch(()=>{u(S(T),T,h),d(T,!1)});return}}else{i(h,T);return}}let B=b(p);if(!B)return;S(B).length?R(B,!1):i(p,B)}else{let B=g(p);if(B)i(B,p);else if(h){let T=g(h);if(T&&v(h)===v(T)){let A=y(h),L=y(T);if(Object.keys(A).every(U=>A[U]===L[U])){o.batch(()=>{u(S(h),h,T),d(h,!1)});return}}R(h)}else P()}},onReplace(m,p,h){m.length&&!(0,je.isUnmodifiedDefaultBlock)(m[m.length-1])&&c();let g=m?.length===1&&Array.isArray(m[0])?m[0]:m;s([t.clientId],g,p,h)},onRemove(){d(t.clientId)},toggleSelection(m){a(m)}}});sN=(0,_8.compose)(Wke,(0,y8.withFilters)("editor.BlockListBlock"))(sN);function $ke(e){let{clientId:t,rootClientId:o}=e,r=(0,uC.useSelect)(re=>{let{isBlockSelected:W,getBlockMode:H,isSelectionEnabled:oe,getTemplateLock:ce,isSectionBlock:le,getParentSectionBlock:ye,getBlockWithoutAttributes:_e,getBlockAttributes:Ve,canRemoveBlock:go,canMoveBlock:ot,getSettings:Yt,getEditedContentOnlySection:Ct,getBlockEditingMode:rt,getBlockName:Vt,isFirstMultiSelectedBlock:Ft,getMultiSelectedBlockClientIds:We,hasSelectedInnerBlock:so,getBlocksByName:dt,getBlockIndex:ao,isBlockMultiSelected:qn,isBlockSubtreeDisabled:Kr,isBlockHighlighted:Fe,__unstableIsFullySelected:bo,__unstableSelectionHasUnmergeableBlock:Zt,isBlockBeingDragged:me,isDragging:wo,__unstableHasActiveBlockOverlayActive:Co,getSelectedBlocksInitialCaretPosition:Yn}=z(re(_)),Zn=_e(t);if(!Zn)return;let{hasBlockSupport:dr,getActiveBlockVariation:$a}=re(je.store),Re=Ve(t),{name:Se,isValid:Bt}=Zn,ae=(0,je.getBlockType)(Se),{supportsLayout:Me,isPreviewMode:qr,__experimentalBlockBindingsSupportedAttributes:Yr}=Yt(),ak=Yr?.[Se],Hd=ae?.apiVersion>1,Gd={isPreviewMode:qr,blockWithoutAttributes:Zn,name:Se,attributes:Re,isValid:Bt,themeSupportsLayout:Me,index:ao(t),isReusable:(0,je.isReusableBlock)(ae),className:Hd?Re.className:void 0,defaultClassName:Hd?(0,je.getBlockDefaultClassName)(Se):void 0,blockTitle:ae?.title,isBlockHidden:Re?.metadata?.blockVisibility===!1,bindableAttributes:ak};if(qr)return Gd;let{isBlockHidden:np}=z(re(_)),Ka=W(t),lk=go(t),Wd=ot(t),ck=$a(Se,Re),ue=qn(t),xe=so(t,!0),Ze=rt(t),fr=(0,je.hasBlockSupport)(Se,"multiple",!0)?[]:dt(Se),qa=fr.length&&fr[0]!==t;return{...Gd,mode:H(t),isSelectionEnabled:oe(),isLocked:!!ce(o),isSectionBlock:le(t),isWithinSectionBlock:le(t)||!!ye(t),canRemove:lk,canMove:Wd,isSelected:Ka,isEditingContentOnlySection:Ct()===t,blockEditingMode:Ze,mayDisplayControls:Ka||Ft(t)&&We().every(Ya=>Vt(Ya)===Se),mayDisplayParentControls:dr(Vt(t),"__experimentalExposeControlsToChildren",!1)&&so(t),blockApiVersion:ae?.apiVersion||1,blockTitle:ck?.title||ae?.title,isSubtreeDisabled:Ze==="disabled"&&Kr(t),hasOverlay:Co(t)&&!wo(),initialPosition:Ka?Yn():void 0,isHighlighted:Fe(t),isMultiSelected:ue,isPartiallySelected:ue&&!bo()&&!Zt(),isDragging:me(t),hasChildSelected:xe,isEditingDisabled:Ze==="disabled",hasEditableOutline:Ze!=="disabled"&&rt(o)==="disabled",originalBlockClientId:qa?fr[0]:!1,isBlockHidden:np(t)}},[t,o]),{isPreviewMode:n,mode:i="visual",isSelectionEnabled:s=!1,isLocked:a=!1,canRemove:c=!1,canMove:u=!1,blockWithoutAttributes:d,name:f,attributes:m,isValid:p,isSelected:h=!1,themeSupportsLayout:g,isEditingContentOnlySection:b,blockEditingMode:k,mayDisplayControls:y,mayDisplayParentControls:v,index:S,blockApiVersion:w,blockTitle:C,isSubtreeDisabled:E,hasOverlay:P,initialPosition:R,isHighlighted:B,isMultiSelected:T,isPartiallySelected:A,isReusable:L,isDragging:U,hasChildSelected:G,isSectionBlock:j,isWithinSectionBlock:N,isEditingDisabled:F,hasEditableOutline:K,className:Z,defaultClassName:Q,originalBlockClientId:J,isBlockHidden:ee,bindableAttributes:ie}=r,de=(0,lu.useMemo)(()=>({...d,attributes:m}),[d,m]);if(!r)return null;let X={isPreviewMode:n,clientId:t,className:Z,index:S,mode:i,name:f,blockApiVersion:w,blockTitle:C,isSelected:h,isSubtreeDisabled:E,hasOverlay:P,initialPosition:R,blockEditingMode:k,isHighlighted:B,isMultiSelected:T,isPartiallySelected:A,isReusable:L,isDragging:U,hasChildSelected:G,isSectionBlock:j,isWithinSectionBlock:N,isEditingDisabled:F,hasEditableOutline:K,isEditingContentOnlySection:b,defaultClassName:Q,mayDisplayControls:y,mayDisplayParentControls:v,originalBlockClientId:J,themeSupportsLayout:g,canMove:u,isBlockHidden:ee,bindableAttributes:ie};return ee&&!h&&!T&&!G?null:(0,co.jsx)($i.Provider,{value:X,children:(0,co.jsx)(sN,{...e,mode:i,isSelectionEnabled:s,isLocked:a,canRemove:c,canMove:u,block:de,name:f,attributes:m,isValid:p,isSelected:h})})}var x8=(0,lu.memo)($ke);var BD=l(D()),v$=l($());var wD=l(M()),p$=l(oM()),G1=l(D()),W1=l(st());var f$=l(Fo()),Pl=l(M()),j1=l(O()),m$=l(I()),U1=l(D()),H1=l(Y()),hy=l($());var Pt=l(I()),Mh=l(O()),wu=l(M()),D1=l(Y()),c$=l(D());var Jp=l(M()),eh=l(I()),C8=l(O()),Nv=l(x()),w8=[(0,eh.createInterpolateElement)((0,Jp.__)("While writing, you can press / to quickly insert new blocks."),{kbd:(0,Nv.jsx)("kbd",{})}),(0,eh.createInterpolateElement)((0,Jp.__)("Indent a list by pressing space at the beginning of a line."),{kbd:(0,Nv.jsx)("kbd",{})}),(0,eh.createInterpolateElement)((0,Jp.__)("Outdent a list by pressing backspace at the beginning of a line."),{kbd:(0,Nv.jsx)("kbd",{})}),(0,Jp.__)("Drag files into the editor to automatically insert media blocks."),(0,Jp.__)("Change a block's type by pressing the block icon on the toolbar.")];function Kke(){let[e]=(0,eh.useState)(Math.floor(Math.random()*w8.length));return(0,Nv.jsx)(C8.Tip,{children:w8[e]})}var B8=Kke;var _h=l($()),KG=l(I()),qG=l(M());var rs=l(O()),dC=l(D()),E8=l(Oe()),th=l(M());var on=l(x()),{Badge:qke}=z(rs.privateApis);function Yke({children:e,onClick:t}){return t?(0,on.jsx)(rs.Button,{__next40pxDefaultSize:!0,className:"block-editor-block-card__parent-select-button",onClick:t,children:e}):e}function Zke({title:e,icon:t,description:o,blockType:r,className:n,name:i,allowParentNavigation:s,parentClientId:a,isChild:c,children:u,clientId:d}){r&&((0,E8.default)("`blockType` property in `BlockCard component`",{since:"5.7",alternative:"`title, icon and description` properties"}),{title:e,icon:t,description:o}=r);let f=(0,dC.useSelect)(h=>{if(a||c||!s)return;let{getBlockParentsByBlockName:g}=h(_);return g(d,"core/navigation",!0)[0]},[d,s,c,a]),{selectBlock:m}=(0,dC.useDispatch)(_),p=a?"div":"h2";return(0,on.jsxs)("div",{className:V("block-editor-block-card",{"is-parent":a,"is-child":c},n),children:[f&&(0,on.jsx)(rs.Button,{onClick:()=>m(f),label:f?(0,th.__)("Go to parent Navigation block"):(0,th.__)("Go to parent section"),style:{minWidth:24,padding:0},icon:(0,th.isRTL)()?Qo:Cr,size:"small"}),c&&(0,on.jsx)("span",{className:"block-editor-block-card__child-indicator-icon",children:(0,on.jsx)(rs.Icon,{icon:(0,th.isRTL)()?Zd:Xd})}),(0,on.jsxs)(Yke,{onClick:a?()=>{m(a)}:void 0,children:[(0,on.jsx)(Pe,{icon:t,showColors:!0}),(0,on.jsxs)(rs.__experimentalVStack,{spacing:1,children:[(0,on.jsxs)(p,{className:"block-editor-block-card__title",children:[(0,on.jsx)("span",{className:"block-editor-block-card__name",children:i?.length?i:e}),!a&&!c&&!!i?.length&&(0,on.jsx)(qke,{children:e})]}),!a&&!c&&o&&(0,on.jsx)(rs.__experimentalText,{className:"block-editor-block-card__description",children:o}),u]})]})]})}var Dv=Zke;var s1=l(Y()),rD=l(D()),Lf=l(I()),oD=l(Oe());var o7=l(D()),BC=l(I()),r7=l(O());var vC=l(D());var at=(e=>(e.Unknown="REDUX_UNKNOWN",e.Add="ADD_ITEM",e.Prepare="PREPARE_ITEM",e.Cancel="CANCEL_ITEM",e.Remove="REMOVE_ITEM",e.PauseItem="PAUSE_ITEM",e.ResumeItem="RESUME_ITEM",e.PauseQueue="PAUSE_QUEUE",e.ResumeQueue="RESUME_QUEUE",e.OperationStart="OPERATION_START",e.OperationFinish="OPERATION_FINISH",e.AddOperations="ADD_OPERATIONS",e.CacheBlobUrl="CACHE_BLOB_URL",e.RevokeBlobUrls="REVOKE_BLOB_URLS",e.UpdateSettings="UPDATE_SETTINGS",e))(at||{}),Vv=(e=>(e.Processing="PROCESSING",e.Paused="PAUSED",e))(Vv||{}),cu=(e=>(e.Prepare="PREPARE",e.Upload="UPLOAD",e))(cu||{});var Xke=()=>{},Qke={queue:[],queueStatus:"active",blobUrls:{},settings:{mediaUpload:Xke}};function Jke(e=Qke,t={type:at.Unknown}){switch(t.type){case at.PauseQueue:return{...e,queueStatus:"paused"};case at.ResumeQueue:return{...e,queueStatus:"active"};case at.Add:return{...e,queue:[...e.queue,t.item]};case at.Cancel:return{...e,queue:e.queue.map(o=>o.id===t.id?{...o,error:t.error}:o)};case at.Remove:return{...e,queue:e.queue.filter(o=>o.id!==t.id)};case at.OperationStart:return{...e,queue:e.queue.map(o=>o.id===t.id?{...o,currentOperation:t.operation}:o)};case at.AddOperations:return{...e,queue:e.queue.map(o=>o.id!==t.id?o:{...o,operations:[...o.operations||[],...t.operations]})};case at.OperationFinish:return{...e,queue:e.queue.map(o=>{if(o.id!==t.id)return o;let r=o.operations?o.operations.slice(1):[],n=o.attachment||t.item.attachment?{...o.attachment,...t.item.attachment}:void 0;return{...o,currentOperation:void 0,operations:r,...t.item,attachment:n,additionalData:{...o.additionalData,...t.item.additionalData}}})};case at.CacheBlobUrl:{let o=e.blobUrls[t.id]||[];return{...e,blobUrls:{...e.blobUrls,[t.id]:[...o,t.blobUrl]}}}case at.RevokeBlobUrls:{let o={...e.blobUrls};return delete o[t.id],{...e,blobUrls:o}}case at.UpdateSettings:return{...e,settings:{...e.settings,...t.settings}}}return e}var aN=Jke;var fC={};Ns(fC,{getItems:()=>eve,getSettings:()=>nve,isUploading:()=>tve,isUploadingById:()=>rve,isUploadingByUrl:()=>ove});function eve(e){return e.queue}function tve(e){return e.queue.length>=1}function ove(e,t){return e.queue.some(o=>o.attachment?.url===t||o.sourceUrl===t)}function rve(e,t){return e.queue.some(o=>o.attachment?.id===t||o.sourceAttachmentId===t)}function nve(e){return e.settings}var lN={};Ns(lN,{getAllItems:()=>ive,getBlobUrls:()=>dve,getItem:()=>sve,getPausedUploadForPost:()=>cve,isBatchUploaded:()=>ave,isPaused:()=>uve,isUploadingToPost:()=>lve});function ive(e){return e.queue}function sve(e,t){return e.queue.find(o=>o.id===t)}function ave(e,t){return e.queue.filter(r=>t===r.batchId).length===0}function lve(e,t){return e.queue.some(o=>o.currentOperation===cu.Upload&&o.additionalData.post===t)}function cve(e,t){return e.queue.find(o=>o.status===Vv.Paused&&o.additionalData.post===t)}function uve(e){return e.queueStatus==="paused"}function dve(e,t){return e.blobUrls[t]||[]}var gC={};Ns(gC,{addItems:()=>hve,cancelItem:()=>gve});var mC,fve=new Uint8Array(16);function cN(){if(!mC&&(mC=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!mC))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return mC(fve)}var tr=[];for(let e=0;e<256;++e)tr.push((e+256).toString(16).slice(1));function T8(e,t=0){return tr[e[t+0]]+tr[e[t+1]]+tr[e[t+2]]+tr[e[t+3]]+"-"+tr[e[t+4]]+tr[e[t+5]]+"-"+tr[e[t+6]]+tr[e[t+7]]+"-"+tr[e[t+8]]+tr[e[t+9]]+"-"+tr[e[t+10]]+tr[e[t+11]]+tr[e[t+12]]+tr[e[t+13]]+tr[e[t+14]]+tr[e[t+15]]}var mve=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),uN={randomUUID:mve};function pve(e,t,o){if(uN.randomUUID&&!t&&!e)return uN.randomUUID();e=e||{};let r=e.random||(e.rng||cN)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){o=o||0;for(let n=0;n<16;++n)t[o+n]=r[n];return t}return T8(r)}var Fv=pve;var pC=l(M());var Tf=class extends Error{code;file;constructor({code:e,message:t,file:o,cause:r}){super(t,{cause:r}),Object.setPrototypeOf(this,new.target.prototype),this.code=e,this.file=o}};function I8(e,t){if(!t)return;let o=t.some(r=>r.includes("/")?r===e.type:e.type.startsWith(`${r}/`));if(e.type&&!o)throw new Tf({code:"MIME_TYPE_NOT_SUPPORTED",message:(0,pC.sprintf)((0,pC.__)("%s: Sorry, this file type is not supported here."),e.name),file:e})}var hC=l(M());function P8(e){return e?Object.entries(e).flatMap(([t,o])=>{let[r]=o.split("/"),n=t.split("|");return[o,...n.map(i=>`${r}/${i}`)]}):null}function O8(e,t){let o=P8(t);if(!o)return;let r=o.includes(e.type);if(e.type&&!r)throw new Tf({code:"MIME_TYPE_NOT_ALLOWED_FOR_USER",message:(0,hC.sprintf)((0,hC.__)("%s: Sorry, you are not allowed to upload this file type."),e.name),file:e})}var oh=l(M());function R8(e,t){if(e.size<=0)throw new Tf({code:"EMPTY_FILE",message:(0,oh.sprintf)((0,oh.__)("%s: This file is empty."),e.name),file:e});if(t&&e.size>t)throw new Tf({code:"SIZE_ABOVE_LIMIT",message:(0,oh.sprintf)((0,oh.__)("%s: This file exceeds the maximum upload size for this site."),e.name),file:e})}function hve({files:e,onChange:t,onSuccess:o,onError:r,onBatchSuccess:n,additionalData:i,allowedTypes:s}){return async({select:a,dispatch:c})=>{let u=Fv();for(let d of e){try{I8(d,s),O8(d,a.getSettings().allowedMimeTypes)}catch(f){r?.(f);continue}try{R8(d,a.getSettings().maxUploadFileSize)}catch(f){r?.(f);continue}c.addItem({file:d,batchId:u,onChange:t,onSuccess:o,onBatchSuccess:n,onError:r,additionalData:i})}}}function gve(e,t,o=!1){return async({select:r,dispatch:n})=>{let i=r.getItem(e);if(i){if(i.abortController?.abort(),!o){let{onError:s}=i;s?.(t??new Error("Upload cancelled")),!s&&t&&console.error("Upload cancelled",t)}n({type:at.Cancel,id:e,error:t}),n.removeItem(e),n.revokeBlobUrls(e),i.batchId&&r.isBatchUploaded(i.batchId)&&i.onBatchSuccess?.()}}}var dN={};Ns(dN,{addItem:()=>yve,finishOperation:()=>Cve,pauseQueue:()=>Sve,prepareItem:()=>Bve,processItem:()=>_ve,removeItem:()=>wve,resumeQueue:()=>xve,revokeBlobUrls:()=>Tve,updateSettings:()=>Ive,uploadItem:()=>Eve});var rh=l(bC());var bve=l(Zr()),kve=l(M());function L8(e){if(e instanceof File)return e;let t=e.type.split("/")[1],o=e.type==="application/pdf"?"document":e.type.split("/")[0];return new File([e],`${o}.${t}`,{type:e.type})}function vve(e,t){return new File([e],t,{type:e.type,lastModified:e.lastModified})}function M8(e){return vve(e,e.name)}var N8=class extends File{constructor(e="stub-file"){super([],e)}};function yve({file:e,batchId:t,onChange:o,onSuccess:r,onBatchSuccess:n,onError:i,additionalData:s={},sourceUrl:a,sourceAttachmentId:c,abortController:u,operations:d}){return async({dispatch:f})=>{let m=Fv(),p=L8(e),h;p instanceof N8||(h=(0,rh.createBlobURL)(p),f({type:at.CacheBlobUrl,id:m,blobUrl:h})),f({type:at.Add,item:{id:m,batchId:t,status:Vv.Processing,sourceFile:M8(p),file:p,attachment:{url:h},additionalData:{convert_format:!1,...s},onChange:o,onSuccess:r,onBatchSuccess:n,onError:i,sourceUrl:a,sourceAttachmentId:c,abortController:u||new AbortController,operations:Array.isArray(d)?d:[cu.Prepare]}}),f.processItem(m)}}function _ve(e){return async({select:t,dispatch:o})=>{if(t.isPaused())return;let r=t.getItem(e),{attachment:n,onChange:i,onSuccess:s,onBatchSuccess:a,batchId:c}=r,u=Array.isArray(r.operations?.[0])?r.operations[0][0]:r.operations?.[0];if(n&&i?.([n]),!u){n&&s?.([n]),o.revokeBlobUrls(e),c&&t.isBatchUploaded(c)&&a?.();return}if(u)switch(o({type:at.OperationStart,id:e,operation:u}),u){case cu.Prepare:o.prepareItem(r.id);break;case cu.Upload:o.uploadItem(e);break}}}function Sve(){return{type:at.PauseQueue}}function xve(){return async({select:e,dispatch:t})=>{t({type:at.ResumeQueue});for(let o of e.getAllItems())t.processItem(o.id)}}function wve(e){return async({select:t,dispatch:o})=>{t.getItem(e)&&o({type:at.Remove,id:e})}}function Cve(e,t){return async({dispatch:o})=>{o({type:at.OperationFinish,id:e,item:t}),o.processItem(e)}}function Bve(e){return async({dispatch:t})=>{let o=[cu.Upload];t({type:at.AddOperations,id:e,operations:o}),t.finishOperation(e,{})}}function Eve(e){return async({select:t,dispatch:o})=>{let r=t.getItem(e);t.getSettings().mediaUpload({filesList:[r.file],additionalData:r.additionalData,signal:r.abortController?.signal,onFileChange:([n])=>{(0,rh.isBlobURL)(n.url)||o.finishOperation(e,{attachment:n})},onSuccess:([n])=>{o.finishOperation(e,{attachment:n})},onError:n=>{o.cancelItem(e,n)}})}}function Tve(e){return async({select:t,dispatch:o})=>{let r=t.getBlobUrls(e);for(let n of r)(0,rh.revokeBlobURL)(n);o({type:at.RevokeBlobUrls,id:e})}}function Ive(e){return{type:at.UpdateSettings,settings:e}}var D8=l(_S()),{lock:K4e,unlock:zv}=(0,D8.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/upload-media");var kC="core/upload-media";var V8={reducer:aN,selectors:fC,actions:gC},uu=(0,vC.createReduxStore)(kC,{reducer:aN,selectors:fC,actions:gC});(0,vC.register)(uu);zv(uu).registerPrivateActions(dN);zv(uu).registerPrivateSelectors(lN);var U8=l(I()),H8=l(D());var F8=l(I()),nh=l(D()),z8=l(Y());var yC=l(x());function Pve(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,nh.createRegistry)({},t),r.registerStore(kC,V8),e.set(t,r)),r}var Ove=(0,z8.createHigherOrderComponent)(e=>({useSubRegistry:t=!0,...o})=>{let r=(0,nh.useRegistry)(),[n]=(0,F8.useState)(()=>new WeakMap),i=Pve(n,r,t);return i===r?(0,yC.jsx)(e,{registry:r,...o}):(0,yC.jsx)(nh.RegistryProvider,{value:i,children:(0,yC.jsx)(e,{registry:i,...o})})},"withRegistryProvider"),j8=Ove;var _C=l(x()),Rve=j8(e=>{let{children:t,settings:o}=e,{updateSettings:r}=zv((0,H8.useDispatch)(uu));return(0,U8.useEffect)(()=>{r(o)},[o,r]),(0,_C.jsx)(_C.Fragment,{children:t})}),fN=Rve;var G8=l(I()),ih=l(D()),W8=l(Y());var SC=l(x());function Ave(e,t,o){if(!o)return t;let r=e.get(t);return r||(r=(0,ih.createRegistry)({},t),r.registerStore(Xt,Pp),e.set(t,r)),r}var Lve=(0,W8.createHigherOrderComponent)(e=>({useSubRegistry:t=!0,...o})=>{let r=(0,ih.useRegistry)(),[n]=(0,G8.useState)(()=>new WeakMap),i=Ave(n,r,t);return i===r?(0,SC.jsx)(e,{registry:r,...o}):(0,SC.jsx)(ih.RegistryProvider,{value:i,children:(0,SC.jsx)(e,{registry:i,...o})})},"withRegistryProvider"),$8=Lve;var di=l(I()),xC=l(D()),q8=l($());var K8=()=>{};function wC({clientId:e=null,value:t,selection:o,onChange:r=K8,onInput:n=K8}){let i=(0,xC.useRegistry)(),{resetBlocks:s,resetSelection:a,replaceInnerBlocks:c,setHasControlledInnerBlocks:u,__unstableMarkNextChangeAsNotPersistent:d}=i.dispatch(_),{getBlockName:f,getBlocks:m,getSelectionStart:p,getSelectionEnd:h}=i.select(_),g=(0,xC.useSelect)(E=>!e||E(_).areInnerBlocksControlled(e),[e]),b=(0,di.useRef)({incoming:null,outgoing:[]}),k=(0,di.useRef)(!1),y=()=>{t&&(d(),e?i.batch(()=>{u(e,!0);let E=t.map(P=>(0,q8.cloneBlock)(P));k.current&&(b.current.incoming=E),d(),c(e,E)}):(k.current&&(b.current.incoming=t),s(t)))},v=()=>{d(),e?(u(e,!1),d(),c(e,[])):s([])},S=(0,di.useRef)(n),w=(0,di.useRef)(r);(0,di.useEffect)(()=>{S.current=n,w.current=r},[n,r]),(0,di.useEffect)(()=>{b.current.outgoing.includes(t)?b.current.outgoing[b.current.outgoing.length-1]===t&&(b.current.outgoing=[]):m(e)!==t&&(b.current.outgoing=[],y(),o&&a(o.selectionStart,o.selectionEnd,o.initialPosition))},[t,e]);let C=(0,di.useRef)(!1);(0,di.useEffect)(()=>{if(!C.current){C.current=!0;return}g||(b.current.outgoing=[],y())},[g]),(0,di.useEffect)(()=>{let{getSelectedBlocksInitialCaretPosition:E,isLastBlockChangePersistent:P,__unstableIsLastBlockChangeIgnored:R,areInnerBlocksControlled:B}=i.select(_),T=m(e),A=P(),L=!1;k.current=!0;let U=i.subscribe(()=>{if(e!==null&&f(e)===null||!(!e||B(e)))return;let j=P(),N=m(e),F=N!==T;if(T=N,F&&(b.current.incoming||R())){b.current.incoming=null,A=j;return}(F||L&&!F&&j&&!A)&&(A=j,b.current.outgoing.push(T),(A?w.current:S.current)(T,{selection:{selectionStart:p(),selectionEnd:h(),initialPosition:E()}})),L=F},_);return()=>{k.current=!1,U()}},[i,e]),(0,di.useEffect)(()=>()=>{v()},[])}var Z8=l(I()),X8=l(D()),Q8=l(vl()),vo=l(M());function J8(){return null}function Mve(){let{registerShortcut:e}=(0,X8.useDispatch)(Q8.store);return(0,Z8.useEffect)(()=>{e({name:"core/block-editor/copy",category:"block",description:(0,vo.__)("Copy the selected block(s)."),keyCombination:{modifier:"primary",character:"c"}}),e({name:"core/block-editor/cut",category:"block",description:(0,vo.__)("Cut the selected block(s)."),keyCombination:{modifier:"primary",character:"x"}}),e({name:"core/block-editor/paste",category:"block",description:(0,vo.__)("Paste the selected block(s)."),keyCombination:{modifier:"primary",character:"v"}}),e({name:"core/block-editor/duplicate",category:"block",description:(0,vo.__)("Duplicate the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"d"}}),e({name:"core/block-editor/remove",category:"block",description:(0,vo.__)("Remove the selected block(s)."),keyCombination:{modifier:"access",character:"z"}}),e({name:"core/block-editor/paste-styles",category:"block",description:(0,vo.__)("Paste the copied style to the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"v"}}),e({name:"core/block-editor/insert-before",category:"block",description:(0,vo.__)("Insert a new block before the selected block(s)."),keyCombination:{modifier:"primaryAlt",character:"t"}}),e({name:"core/block-editor/insert-after",category:"block",description:(0,vo.__)("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:(0,vo.__)("Delete selection."),keyCombination:{character:"del"},aliases:[{character:"backspace"}]}),e({name:"core/block-editor/stop-editing-as-blocks",category:"block",description:(0,vo.__)("Finish editing a design."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/select-all",category:"selection",description:(0,vo.__)("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:(0,vo.__)("Clear selection."),keyCombination:{character:"escape"}}),e({name:"core/block-editor/multi-text-selection",category:"selection",description:(0,vo.__)("Select text across multiple blocks."),keyCombination:{modifier:"shift",character:"arrow"}}),e({name:"core/block-editor/focus-toolbar",category:"global",description:(0,vo.__)("Navigate to the nearest toolbar."),keyCombination:{modifier:"alt",character:"F10"}}),e({name:"core/block-editor/move-up",category:"block",description:(0,vo.__)("Move the selected block(s) up."),keyCombination:{modifier:"secondary",character:"t"}}),e({name:"core/block-editor/move-down",category:"block",description:(0,vo.__)("Move the selected block(s) down."),keyCombination:{modifier:"secondary",character:"y"}}),e({name:"core/block-editor/collapse-list-view",category:"list-view",description:(0,vo.__)("Collapse all other items."),keyCombination:{modifier:"alt",character:"l"}}),e({name:"core/block-editor/group",category:"block",description:(0,vo.__)("Create a group block from the selected multiple blocks."),keyCombination:{modifier:"primary",character:"g"}}),e({name:"core/block-editor/toggle-block-visibility",category:"block",description:(0,vo.__)("Show or hide the selected block(s)."),keyCombination:{modifier:"primaryShift",character:"h"}})},[e]),null}J8.Register=Mve;var CC=J8;var e7=l(I());function Nve(e={}){return(0,e7.useMemo)(()=>({mediaUpload:e.mediaUpload,mediaSideload:e.mediaSideload,maxUploadFileSize:e.maxUploadFileSize,allowedMimeTypes:e.allowedMimeTypes}),[e])}var t7=Nve;var If=l(x()),Dve=()=>{};function Vve(e,{allowedTypes:t,additionalData:o={},filesList:r,onError:n=Dve,onFileChange:i,onSuccess:s,onBatchSuccess:a}){e.dispatch(uu).addItems({files:r,onChange:i,onSuccess:s,onBatchSuccess:a,onError:({message:c})=>n(c),additionalData:o,allowedTypes:t})}var sh=$8(e=>{let{settings:t,registry:o,stripExperimentalSettings:r=!1}=e,n=t7(t),i=t;window.__experimentalMediaProcessing&&t.mediaUpload&&(i=(0,BC.useMemo)(()=>({...t,mediaUpload:Vve.bind(null,o)}),[t,o]));let{__experimentalUpdateSettings:s}=z((0,o7.useDispatch)(_));(0,BC.useEffect)(()=>{s({...i,__internalIsInitialized:!0},{stripExperimentalSettings:r,reset:!0})},[i,r,s]),wC(e);let a=(0,If.jsxs)(r7.SlotFillProvider,{passthrough:!0,children:[!i?.isPreviewMode&&(0,If.jsx)(CC.Register,{}),(0,If.jsx)(eU,{children:e.children})]});return window.__experimentalMediaProcessing?(0,If.jsx)(fN,{settings:n,useSubRegistry:!1,children:a}):a}),Fve=e=>(0,If.jsx)(sh,{...e,stripExperimentalSettings:!0,children:e.children}),n7=Fve;var ry=l(Y()),DG=l(D()),i1=l(I()),VG=l(O());var is=l(I()),z7=l(M()),du=l(Y()),j7=l(O()),vN=l(D());var L7=l(D()),M7=l(M()),Gv=l(Y()),N7=l(I());var i7=l(Y()),s7=l(D());function zve(e){let{isMultiSelecting:t,getMultiSelectedBlockClientIds:o,hasMultiSelection:r,getSelectedBlockClientId:n,getSelectedBlocksInitialCaretPosition:i,__unstableIsFullySelected:s}=e(_);return{isMultiSelecting:t(),multiSelectedBlockClientIds:o(),hasMultiSelection:r(),selectedBlockClientId:n(),initialPosition:i(),isFullSelection:s()}}function a7(){let{initialPosition:e,isMultiSelecting:t,multiSelectedBlockClientIds:o,hasMultiSelection:r,selectedBlockClientId:n,isFullSelection:i}=(0,s7.useSelect)(zve,[]);return(0,i7.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;if(e==null||!r||t)return;let{length:u}=o;u<2||i&&(s.contentEditable=!0,s.focus(),c.getSelection().removeAllRanges())},[r,t,o,n,e,i])}var ah=l(ze()),mN=l(st()),EC=l(D()),TC=l(Y()),jv=l(I());var pN=l(x());function l7(){let e=(0,jv.useRef)(),t=(0,jv.useRef)(),o=(0,jv.useRef)(),{hasMultiSelection:r,getSelectedBlockClientId:n,getBlockCount:i,getBlockOrder:s,getLastFocus:a,getSectionRootClientId:c,isZoomOut:u}=z((0,EC.useSelect)(_)),{setLastFocus:d}=z((0,EC.useDispatch)(_)),f=(0,jv.useRef)();function m(k){let y=e.current.ownerDocument===k.target.ownerDocument?e.current:e.current.ownerDocument.defaultView.frameElement;if(f.current)f.current=null;else if(r())e.current.focus();else if(n())a()?.current?a().current.focus():e.current.querySelector(`[data-block="${n()}"]`).focus();else if(u()){let v=c(),S=s(v);S.length?e.current.querySelector(`[data-block="${S[0]}"]`).focus():v?e.current.querySelector(`[data-block="${v}"]`).focus():y.focus()}else{let v=k.target.compareDocumentPosition(y)&k.target.DOCUMENT_POSITION_FOLLOWING,S=ah.focus.tabbable.find(e.current);S.length&&(v?S[0]:S[S.length-1]).focus()}}let p=(0,pN.jsx)("div",{ref:t,tabIndex:"0",onFocus:m}),h=(0,pN.jsx)("div",{ref:o,tabIndex:"0",onFocus:m}),g=(0,TC.useRefEffect)(k=>{function y(E){if(E.defaultPrevented||E.keyCode!==mN.TAB||!o.current||!t.current)return;let{target:P,shiftKey:R}=E,B=R?"findPrevious":"findNext",T=ah.focus.tabbable[B](P),A=P.closest("[data-block]"),L=A&&T&&(Jw(A,T)||iu(A,T));if((0,ah.isFormElement)(T)&&L)return;let U=R?t:o;f.current=!0,U.current.focus({preventScroll:!0})}function v(E){d({...a(),current:E.target});let{ownerDocument:P}=k;!E.relatedTarget&&E.target.hasAttribute("data-block")&&P.activeElement===P.body&&i()===0&&k.focus()}function S(E){if(E.keyCode!==mN.TAB||E.target?.getAttribute("role")==="region"||e.current===E.target)return;let R=E.shiftKey?"findPrevious":"findNext",B=ah.focus.tabbable[R](E.target);(B===t.current||B===o.current)&&(E.preventDefault(),B.focus({preventScroll:!0}))}let{ownerDocument:w}=k,{defaultView:C}=w;return C.addEventListener("keydown",S),k.addEventListener("keydown",y),k.addEventListener("focusout",v),()=>{C.removeEventListener("keydown",S),k.removeEventListener("keydown",y),k.removeEventListener("focusout",v)}},[]),b=(0,TC.useMergeRefs)([e,g]);return[p,b,h]}var Uo=l(ze()),Ks=l(st()),IC=l(D()),c7=l(Y());function jve(e,t,o){let r=t===Ks.UP||t===Ks.DOWN,{tagName:n}=e,i=e.getAttribute("type");return r&&!o?n==="INPUT"?!["date","datetime-local","month","number","range","time","week"].includes(i):!0:n==="INPUT"?["button","checkbox","number","color","file","image","radio","reset","submit"].includes(i):n!=="TEXTAREA"}function hN(e,t,o,r){let n=Uo.focus.focusable.find(o);t&&n.reverse(),n=n.slice(n.indexOf(e)+1);let i;r&&(i=e.getBoundingClientRect());function s(a){if(!a.closest("[inert]")&&!(a.children.length===1&&Jw(a,a.firstElementChild)&&a.firstElementChild.getAttribute("contenteditable")==="true")){if(!Uo.focus.tabbable.isTabbableIndex(a)||a.isContentEditable&&a.contentEditable!=="true")return!1;if(r){let c=a.getBoundingClientRect();if(c.left>=i.right||c.right<=i.left)return!1}return!0}}return n.find(s)}function u7(){let{getMultiSelectedBlocksStartClientId:e,getMultiSelectedBlocksEndClientId:t,getSettings:o,hasMultiSelection:r,__unstableIsFullySelected:n}=(0,IC.useSelect)(_),{selectBlock:i}=(0,IC.useDispatch)(_);return(0,c7.useRefEffect)(s=>{let a;function c(){a=null}function u(f,m){let p=hN(f,m,s);return p&&su(p)}function d(f){if(f.defaultPrevented)return;let{keyCode:m,target:p,shiftKey:h,ctrlKey:g,altKey:b,metaKey:k}=f,y=m===Ks.UP,v=m===Ks.DOWN,S=m===Ks.LEFT,w=m===Ks.RIGHT,C=y||S,E=S||w,P=y||v,R=E||P,B=h||g||b||k,T=P?Uo.isVerticalEdge:Uo.isHorizontalEdge,{ownerDocument:A}=s,{defaultView:L}=A;if(!R)return;if(r()){if(h||!n())return;f.preventDefault(),C?i(e()):i(t(),-1);return}if(!jve(p,m,B))return;P?a||(a=(0,Uo.computeCaretRect)(L)):a=null;let U=(0,Uo.isRTL)(p)?!C:C,{keepCaretInsideBlock:G}=o();if(h)u(p,C)&&T(p,C)&&(s.contentEditable=!0,s.focus());else if(P&&(0,Uo.isVerticalEdge)(p,C)&&(!b||(0,Uo.isHorizontalEdge)(p,U))&&!G){let j=hN(p,C,s,!0);j&&((0,Uo.placeCaretAtVerticalEdge)(j,b?!C:C,b?void 0:a),f.preventDefault())}else if(E&&L.getSelection().isCollapsed&&(0,Uo.isHorizontalEdge)(p,U)&&!G){let j=hN(p,U,s);(0,Uo.placeCaretAtHorizontalEdge)(j,C),f.preventDefault()}}return s.addEventListener("mousedown",c),s.addEventListener("keydown",d),()=>{s.removeEventListener("mousedown",c),s.removeEventListener("keydown",d)}},[])}var d7=l(ze()),PC=l(D()),f7=l(vl()),m7=l(Y());function p7(){let{getBlockOrder:e,getSelectedBlockClientIds:t,getBlockRootClientId:o}=(0,PC.useSelect)(_),{multiSelect:r,selectBlock:n}=(0,PC.useDispatch)(_),i=(0,f7.__unstableUseShortcutEventMatch)();return(0,m7.useRefEffect)(s=>{function a(c){if(!i("core/block-editor/select-all",c))return;let u=t();if(u.length<2&&!(0,d7.isEntirelySelected)(c.target))return;c.preventDefault();let[d]=u,f=o(d),m=e(f);if(u.length===m.length){f&&(s.ownerDocument.defaultView.getSelection().removeAllRanges(),n(f));return}r(m[0],m[m.length-1])}return s.addEventListener("keydown",a),()=>{s.removeEventListener("keydown",a)}},[])}var OC=l(D()),g7=l(Y());function h7(e,t){e.contentEditable=t,t&&e.focus()}function b7(){let{startMultiSelect:e,stopMultiSelect:t}=(0,OC.useDispatch)(_),{isSelectionEnabled:o,hasSelectedBlock:r,isDraggingBlocks:n,isMultiSelecting:i}=(0,OC.useSelect)(_);return(0,g7.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a,u,d;function f(){t(),c.removeEventListener("mouseup",f),d=c.requestAnimationFrame(()=>{if(!r())return;h7(s,!1);let g=c.getSelection();if(g.rangeCount){let b=g.getRangeAt(0),{commonAncestorContainer:k}=b,y=b.cloneRange();u.contains(k)&&(u.focus(),g.removeAllRanges(),g.addRange(y))}})}let m;function p({target:g}){m=g}function h({buttons:g,target:b,relatedTarget:k}){b.contains(m)&&(b.contains(k)||n()||g===1&&(i()||s!==b&&b.getAttribute("contenteditable")==="true"&&o()&&(u=b,e(),c.addEventListener("mouseup",f),h7(s,!0))))}return s.addEventListener("mouseout",h),s.addEventListener("mousedown",p),()=>{s.removeEventListener("mouseout",h),c.removeEventListener("mouseup",f),c.cancelAnimationFrame(d)}},[e,t,o,r])}var RC=l(D()),y7=l(Y()),gN=l(Vo()),_7=l(ze());function Uve(e){let{anchorNode:t,anchorOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===0?t:t.childNodes[o-1]}function Hve(e){let{focusNode:t,focusOffset:o}=e;return t.nodeType===t.TEXT_NODE||o===t.childNodes.length?t:o===0&&(0,_7.isSelectionForward)(e)?t.previousSibling??t.parentElement:t.childNodes[o]}function Gve(e,t){let o=0;for(;e[o]===t[o];)o++;return o}function k7(e,t){e.contentEditable!==String(t)&&(e.contentEditable=t,t&&e.focus())}function v7(e){return(e.nodeType===e.ELEMENT_NODE?e:e.parentElement)?.closest("[data-wp-block-attribute-key]")}function S7(){let{multiSelect:e,selectBlock:t,selectionChange:o}=(0,RC.useDispatch)(_),{getBlockParents:r,getBlockSelectionStart:n,isMultiSelecting:i}=(0,RC.useSelect)(_);return(0,y7.useRefEffect)(s=>{let{ownerDocument:a}=s,{defaultView:c}=a;function u(d){let f=c.getSelection();if(!f.rangeCount)return;let m=Uve(f),p=Hve(f);if(!s.contains(m)||!s.contains(p))return;let h=d.shiftKey&&d.type==="mouseup";if(f.isCollapsed&&!h){if(s.contentEditable==="true"&&!i()){k7(s,!1);let y=m.nodeType===m.ELEMENT_NODE?m:m.parentElement;y=y?.closest("[contenteditable]"),y?.focus()}return}let g=su(m),b=su(p);if(h){let y=n(),v=su(d.target),S=v!==b;(g===b&&f.isCollapsed||!b||S)&&(b=v),g!==y&&(g=y)}if(g===void 0&&b===void 0){k7(s,!1);return}if(g===b)i()?e(g,g):t(g);else{let y=[...r(g),g],v=[...r(b),b],S=Gve(y,v);if(y[S]!==g||v[S]!==b){e(y[S],v[S]);return}let w=v7(m),C=v7(p);if(w&&C){let E=f.getRangeAt(0),P=(0,gN.create)({element:w,range:E,__unstableIsEditableTree:!0}),R=(0,gN.create)({element:C,range:E,__unstableIsEditableTree:!0}),B=P.start??P.end,T=R.start??R.end;o({start:{clientId:g,attributeKey:w.dataset.wpBlockAttributeKey,offset:B},end:{clientId:b,attributeKey:C.dataset.wpBlockAttributeKey,offset:T}})}else e(g,b)}}return a.addEventListener("selectionchange",u),c.addEventListener("mouseup",u),()=>{a.removeEventListener("selectionchange",u),c.removeEventListener("mouseup",u)}},[e,t,o,r])}var AC=l(D()),x7=l(Y());function w7(){let{selectBlock:e}=(0,AC.useDispatch)(_),{isSelectionEnabled:t,getBlockSelectionStart:o,hasMultiSelection:r}=(0,AC.useSelect)(_);return(0,x7.useRefEffect)(n=>{function i(s){if(!t()||s.button!==0)return;let a=o(),c=su(s.target);s.shiftKey?a&&a!==c&&(n.contentEditable=!0,n.focus()):r()&&e(c)}return n.addEventListener("mousedown",i),()=>{n.removeEventListener("mousedown",i)}},[e,t,o,r])}var LC=l(D()),C7=l(Y()),yl=l(st()),qs=l($());function B7(){let{__unstableIsFullySelected:e,getSelectedBlockClientIds:t,getSelectedBlockClientId:o,__unstableIsSelectionMergeable:r,hasMultiSelection:n,getBlockName:i,canInsertBlockType:s,getBlockRootClientId:a,getSelectionStart:c,getSelectionEnd:u,getBlockAttributes:d}=(0,LC.useSelect)(_),{replaceBlocks:f,__unstableSplitSelection:m,removeBlocks:p,__unstableDeleteSelection:h,__unstableExpandSelection:g,__unstableMarkAutomaticChange:b}=(0,LC.useDispatch)(_);return(0,C7.useRefEffect)(k=>{function y(w){k.contentEditable==="true"&&w.preventDefault()}function v(w){if(!w.defaultPrevented){if(!n()){if(w.keyCode===yl.ENTER){if(w.shiftKey||e())return;let C=o(),E=i(C),P=c(),R=u();if(P.attributeKey===R.attributeKey){let B=d(C)[P.attributeKey],T=(0,qs.getBlockTransforms)("from").filter(({type:L})=>L==="enter"),A=(0,qs.findTransform)(T,L=>L.regExp.test(B));if(A){f(C,A.transform({content:B})),b();return}}if(!(0,qs.hasBlockSupport)(E,"splitting",!1)&&!w.__deprecatedOnSplit)return;s(E,a(C))&&(m(),w.preventDefault())}return}w.keyCode===yl.ENTER?(k.contentEditable=!1,w.preventDefault(),e()?f(t(),(0,qs.createBlock)((0,qs.getDefaultBlockName)())):m()):w.keyCode===yl.BACKSPACE||w.keyCode===yl.DELETE?(k.contentEditable=!1,w.preventDefault(),e()?p(t()):r()?h(w.keyCode===yl.DELETE):g()):w.key.length===1&&!(w.metaKey||w.ctrlKey)&&(k.contentEditable=!1,r()?h(w.keyCode===yl.DELETE):(w.preventDefault(),k.ownerDocument.defaultView.getSelection().removeAllRanges()))}}function S(w){n()&&(k.contentEditable=!1,r()?h():(w.preventDefault(),k.ownerDocument.defaultView.getSelection().removeAllRanges()))}return k.addEventListener("beforeinput",y),k.addEventListener("keydown",v),k.addEventListener("compositionstart",S),()=>{k.removeEventListener("beforeinput",y),k.removeEventListener("keydown",v),k.removeEventListener("compositionstart",S)}},[])}var Ys=l($()),NC=l(ze()),uh=l(D()),A7=l(Y());var E7=l(I()),T7=l($()),Uv=l(D()),fi=l(M()),I7=l(ii());function lh(){let{getBlockName:e}=(0,Uv.useSelect)(_),{getBlockType:t}=(0,Uv.useSelect)(T7.store),{createSuccessNotice:o}=(0,Uv.useDispatch)(I7.store);return(0,E7.useCallback)((r,n)=>{let i="";if(r==="copyStyles")i=(0,fi.__)("Styles copied to clipboard.");else if(n.length===1){let s=n[0],a=t(e(s))?.title;r==="copy"?i=(0,fi.sprintf)((0,fi.__)('Copied "%s" to clipboard.'),a):i=(0,fi.sprintf)((0,fi.__)('Moved "%s" to clipboard.'),a)}else r==="copy"?i=(0,fi.sprintf)((0,fi._n)("Copied %d block to clipboard.","Copied %d blocks to clipboard.",n.length),n.length):i=(0,fi.sprintf)((0,fi._n)("Moved %d block to clipboard.","Moved %d blocks to clipboard.",n.length),n.length);o(i,{type:"snackbar"})},[o,e,t])}var O7=l(ze()),mi=l($());var P7=l(ze());function Wve(e){let t="",o=e.indexOf(t);if(o>-1)e=e.substring(o+t.length);else return e;let n=e.indexOf("");return n>-1&&(e=e.substring(0,n)),e}function $ve(e){let t="";return e.startsWith(t)?e.slice(t.length):e}function ch({clipboardData:e}){let t="",o="";try{t=e.getData("text/plain"),o=e.getData("text/html")}catch{return}o=Wve(o),o=$ve(o);let r=(0,P7.getFilesFromDataTransfer)(e);return r.length&&!Kve(r,o)?{files:r}:{html:o,plainText:t,files:[]}}function Kve(e,t){if(t&&e?.length===1&&e[0].type.indexOf("image/")===0){let o=/<\s*img\b/gi;if(t.match(o)?.length!==1)return!0;let r=/<\s*img\b[^>]*\bsrc="file:\/\//i;if(t.match(r))return!0}return!1}var bN=Symbol("requiresWrapperOnCopy");function MC(e,t,o){let r=t,[n]=t;if(n&&o.select(mi.store).getBlockType(n.name)[bN]){let{getBlockRootClientId:a,getBlockName:c,getBlockAttributes:u}=o.select(_),d=a(n.clientId),f=c(d);f&&(r=(0,mi.createBlock)(f,u(d),r))}let i=(0,mi.serialize)(r);e.clipboardData.setData("text/plain",qve(i)),e.clipboardData.setData("text/html",i)}function R7(e,t){let{plainText:o,html:r,files:n}=ch(e),i=[];if(n.length){let s=(0,mi.getBlockTransforms)("from");i=n.reduce((a,c)=>{let u=(0,mi.findTransform)(s,d=>d.type==="files"&&d.isMatch([c]));return u&&a.push(u.transform([c])),a},[]).flat()}else i=(0,mi.pasteHandler)({HTML:r,plainText:o,mode:"BLOCKS",canUserUseUnfilteredHTML:t});return i}function qve(e){return e=e.replace(/
/g,` `),(0,O7.__unstableStripHTML)(e).trim().replace(/\n\n+/g,` `)}function Hv(){let e=(0,uh.useRegistry)(),{getBlocksByClientId:t,getSelectedBlockClientIds:o,hasMultiSelection:r,getSettings:n,getBlockName:i,__unstableIsFullySelected:s,__unstableIsSelectionCollapsed:a,__unstableIsSelectionMergeable:c,__unstableGetSelectedBlocksWithPartialSelection:u,canInsertBlockType:d,getBlockRootClientId:f}=(0,uh.useSelect)(_),{flashBlock:m,removeBlocks:p,replaceBlocks:h,__unstableDeleteSelection:g,__unstableExpandSelection:b,__unstableSplitSelection:k}=(0,uh.useDispatch)(_),y=lh();return(0,A7.useRefEffect)(v=>{function S(w){if(w.defaultPrevented)return;let C=o();if(C.length===0)return;if(!r()){let{target:T}=w,{ownerDocument:A}=T;if(w.type==="copy"||w.type==="cut"?(0,NC.documentHasUncollapsedSelection)(A):(0,NC.documentHasSelection)(A)&&!A.activeElement.isContentEditable)return}let{activeElement:E}=w.target.ownerDocument;if(!v.contains(E))return;let P=c(),R=a()||s(),B=!R&&!P;if(w.type==="copy"||w.type==="cut")if(w.preventDefault(),C.length===1&&m(C[0]),B)b();else{y(w.type,C);let T;if(R)T=t(C);else{let[A,L]=u(),U=t(C.slice(1,C.length-1));T=[A,...U,L]}MC(w,T,e)}if(w.type==="cut")R&&!B?p(C):(w.target.ownerDocument.activeElement.contentEditable=!1,g());else if(w.type==="paste"){let{__experimentalCanUserUseUnfilteredHTML:T,mediaUpload:A}=n();if(w.clipboardData.getData("rich-text")==="true")return;let{plainText:U,html:G,files:j}=ch(w),N=s(),F=[];if(j.length){if(!A){w.preventDefault();return}let J=(0,Ys.getBlockTransforms)("from");F=j.reduce((ee,ie)=>{let de=(0,Ys.findTransform)(J,X=>X.type==="files"&&X.isMatch([ie]));return de&&ee.push(de.transform([ie])),ee},[]).flat()}else F=(0,Ys.pasteHandler)({HTML:G,plainText:U,mode:N?"BLOCKS":"AUTO",canUserUseUnfilteredHTML:T});if(typeof F=="string")return;if(N){h(C,F,F.length-1,-1),w.preventDefault();return}if(!r()&&!(0,Ys.hasBlockSupport)(i(C[0]),"splitting",!1)&&!w.__deprecatedOnSplit)return;let[K]=C,Z=f(K),Q=[];for(let J of F)if(d(J.name,Z))Q.push(J);else{let ee=i(Z),ie=J.name!==ee?(0,Ys.switchToBlockType)(J,ee):[J];if(!ie)return;for(let de of ie)for(let X of de.innerBlocks)Q.push(X)}k(Q),w.preventDefault()}}return v.ownerDocument.addEventListener("copy",S),v.ownerDocument.addEventListener("cut",S),v.ownerDocument.addEventListener("paste",S),()=>{v.ownerDocument.removeEventListener("copy",S),v.ownerDocument.removeEventListener("cut",S),v.ownerDocument.removeEventListener("paste",S)}},[])}var dh=l(x());function kN(){let[e,t,o]=l7(),r=(0,L7.useSelect)(n=>n(_).hasMultiSelection(),[]);return[e,(0,Gv.useMergeRefs)([t,Hv(),B7(),b7(),S7(),w7(),a7(),p7(),u7(),(0,Gv.useRefEffect)(n=>(n.tabIndex=0,n.dataset.hasMultiSelection=r,r?(n.setAttribute("aria-label",(0,M7.__)("Multiple selected blocks")),()=>{delete n.dataset.hasMultiSelection,n.removeAttribute("aria-label")}):()=>{delete n.dataset.hasMultiSelection}),[r])]),o]}function Yve({children:e,...t},o){let[r,n,i]=kN();return(0,dh.jsxs)(dh.Fragment,{children:[r,(0,dh.jsx)("div",{...t,ref:(0,Gv.useMergeRefs)([n,o]),className:V(t.className,"block-editor-writing-flow"),children:e}),i]})}var DC=(0,N7.forwardRef)(Yve);var VC=null;function D7(){return VC||(VC=Array.from(document.styleSheets).reduce((e,t)=>{try{t.cssRules}catch{return e}let{ownerNode:o,cssRules:r}=t;if(o===null||!r||o.id.startsWith("wp-")||!o.id)return e;function n(i){return Array.from(i).find(({selectorText:s,conditionText:a,cssRules:c})=>a?n(c):s&&(s.includes(".editor-styles-wrapper")||s.includes(".wp-block")))}if(n(r)){let i=o.tagName==="STYLE";if(i){let s=o.id.replace("-inline-css","-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}if(e.push(o.cloneNode(!0)),!i){let s=o.id.replace("-css","-inline-css"),a=document.getElementById(s);a&&e.push(a.cloneNode(!0))}}return e},[]),VC)}var rn=l(I()),Wv=l(Y());function V7({frameSize:e,containerWidth:t,maxContainerWidth:o,scaleContainerWidth:r}){return(Math.min(t,o)-e*2)/r}function Zve(e,t){let{scaleValue:o,scrollHeight:r}=e,{frameSize:n,scaleValue:i}=t;return r*(i/o)+n*2}function Xve(e,t){let{containerHeight:o,frameSize:r,scaleValue:n,scrollTop:i}=e,{containerHeight:s,frameSize:a,scaleValue:c,scrollHeight:u}=t,d=i;d=(d+o/2-r)/n-o/2,d=(d+s/2)*c+a-s/2,d=i<=r?0:d;let f=u-s;return Math.round(Math.min(Math.max(0,d),Math.max(0,f)))}function Qve(e,t){let{scaleValue:o,frameSize:r,scrollTop:n}=e,{scaleValue:i,frameSize:s,scrollTop:a}=t;return[{translate:"0 0",scale:o,paddingTop:`${r/o}px`,paddingBottom:`${r/o}px`},{translate:`0 ${n-a}px`,scale:i,paddingTop:`${s/i}px`,paddingBottom:`${s/i}px`}]}function F7({frameSize:e,iframeDocument:t,maxContainerWidth:o=750,scale:r}){let[n,{height:i}]=(0,Wv.useResizeObserver)(),[s,{width:a,height:c}]=(0,Wv.useResizeObserver)(),u=(0,rn.useRef)(0),d=r!==1,f=(0,Wv.useReducedMotion)(),m=r==="auto-scaled",p=(0,rn.useRef)(!1),h=(0,rn.useRef)(null);(0,rn.useEffect)(()=>{d||(u.current=a)},[a,d]);let g=Math.max(u.current,a),b=m?V7({frameSize:e,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:g}):r,k=(0,rn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),y=(0,rn.useRef)({scaleValue:b,frameSize:e,containerHeight:0,scrollTop:0,scrollHeight:0}),v=(0,rn.useCallback)(()=>{let{scrollTop:C}=k.current,{scrollTop:E}=y.current;return t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top",`${C}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next",`${E}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior",k.current.scrollHeight===k.current.containerHeight?"auto":"scroll"),t.documentElement.classList.add("zoom-out-animation"),t.documentElement.animate(Qve(k.current,y.current),{easing:"cubic-bezier(0.46, 0.03, 0.52, 0.96)",duration:400})},[t]),S=(0,rn.useCallback)(()=>{p.current=!1,h.current=null,t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",y.current.scaleValue),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${y.current.frameSize}px`),t.documentElement.classList.remove("zoom-out-animation"),t.documentElement.scrollTop=y.current.scrollTop,t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-scroll-top-next"),t.documentElement.style.removeProperty("--wp-block-editor-iframe-zoom-out-overflow-behavior"),k.current=y.current},[t]),w=(0,rn.useRef)(!1);return(0,rn.useEffect)(()=>{let C=t&&w.current!==d;if(w.current=d,!!C&&(p.current=!0,!!d))return t.documentElement.classList.add("is-zoomed-out"),()=>{t.documentElement.classList.remove("is-zoomed-out")}},[t,d]),(0,rn.useEffect)(()=>{if(t&&(m&&k.current.scaleValue!==1&&(k.current.scaleValue=V7({frameSize:k.current.frameSize,containerWidth:a,maxContainerWidth:o,scaleContainerWidth:a})),b<1&&(p.current||(t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale",b),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-frame-size",`${e}px`)),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-content-height",`${i}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-inner-height",`${c}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-container-width",`${a}px`),t.documentElement.style.setProperty("--wp-block-editor-iframe-zoom-out-scale-container-width",`${g}px`)),p.current))if(p.current=!1,h.current){h.current.reverse();let C=k.current,E=y.current;k.current=E,y.current=C}else k.current.scrollTop=t.documentElement.scrollTop,k.current.scrollHeight=t.documentElement.scrollHeight,k.current.containerHeight=c,y.current={scaleValue:b,frameSize:e,containerHeight:t.documentElement.clientHeight},y.current.scrollHeight=Zve(k.current,y.current),y.current.scrollTop=Xve(k.current,y.current),h.current=v(),f?S():h.current.onfinish=S},[v,S,f,m,b,e,t,i,a,c,o,g]),{isZoomedOut:d,scaleContainerWidth:g,contentResizeListener:n,containerResizeListener:s}}var ns=l(x());function U7(e,t,o){let r={};for(let s in e)r[s]=e[s];if(e instanceof o.contentDocument.defaultView.MouseEvent){let s=o.getBoundingClientRect();r.clientX+=s.left,r.clientY+=s.top}let n=new t(e.type,r);r.defaultPrevented&&n.preventDefault(),!o.dispatchEvent(n)&&e.preventDefault()}function Jve(e){return(0,du.useRefEffect)(()=>{let{defaultView:t}=e;if(!t)return;let{frameElement:o}=t,r=e.documentElement,n=["dragover","mousemove"],i={};for(let s of n)i[s]=a=>{let u=Object.getPrototypeOf(a).constructor.name,d=window[u];U7(a,d,o)},r.addEventListener(s,i[s]);return()=>{for(let s of n)r.removeEventListener(s,i[s])}})}function eye({contentRef:e,children:t,tabIndex:o=0,scale:r=1,frameSize:n=0,readonly:i,forwardedRef:s,title:a=(0,z7.__)("Editor canvas"),...c}){let{resolvedAssets:u,isPreviewMode:d}=(0,vN.useSelect)(j=>{let{getSettings:N}=j(_),F=N();return{resolvedAssets:F.__unstableResolvedAssets,isPreviewMode:F.isPreviewMode}},[]),{styles:f="",scripts:m=""}=u,[p,h]=(0,is.useState)(),[g,b]=(0,is.useState)([]),[k,y,v]=kN(),S=(0,du.useRefEffect)(j=>{j._load=()=>{h(j.contentDocument)};let N;function F(J){J.preventDefault()}function K(J){J.target.tagName==="A"&&J.target.getAttribute("href")?.startsWith("#")&&(J.preventDefault(),N.defaultView.location.hash=J.target.getAttribute("href").slice(1))}let{ownerDocument:Z}=j;b(Array.from(Z.body.classList).filter(J=>J.startsWith("admin-color-")||J.startsWith("post-type-")||J==="wp-embed-responsive"));function Q(){let{contentDocument:J}=j,{documentElement:ee}=J;N=J,ee.classList.add("block-editor-iframe__html"),J.dir=Z.dir;for(let ie of D7())J.getElementById(ie.id)||(J.head.appendChild(ie.cloneNode(!0)),d||console.warn(`${ie.id} was added to the iframe incorrectly. Please use block.json or enqueue_block_assets to add styles to the iframe.`,ie));N.addEventListener("dragover",F,!1),N.addEventListener("drop",F,!1),N.addEventListener("click",K)}return j.addEventListener("load",Q),()=>{delete j._load,j.removeEventListener("load",Q),N?.removeEventListener("dragover",F),N?.removeEventListener("drop",F),N?.removeEventListener("click",K)}},[]),{contentResizeListener:w,containerResizeListener:C,isZoomedOut:E,scaleContainerWidth:P}=F7({scale:r,frameSize:parseInt(n),iframeDocument:p}),R=(0,du.useDisabled)({isDisabled:!i}),B=(0,du.useMergeRefs)([Jve(p),e,y,R]),T=`