PHP 8.2.31
Preview: block-library.min.js Size: 1.09 MB
/proc/self/root/home/nshryvcy/blissfulnepal.com/wp-includes/js/dist/block-library.min.js

"use strict";var wp;(wp||={}).blockLibrary=(()=>{var qpe=Object.create;var Bb=Object.defineProperty;var Zpe=Object.getOwnPropertyDescriptor;var Kpe=Object.getOwnPropertyNames;var Qpe=Object.getPrototypeOf,Ype=Object.prototype.hasOwnProperty;var Xpe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ce=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Z=(e,t)=>{for(var r in t)Bb(e,r,{get:t[r],enumerable:!0})},ER=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Kpe(t))!Ype.call(e,n)&&n!==r&&Bb(e,n,{get:()=>t[n],enumerable:!(a=Zpe(t,n))||a.enumerable});return e};var o=(e,t,r)=>(r=e!=null?qpe(Qpe(e)):{},ER(t||!e||!e.__esModule?Bb(r,"default",{value:e,enumerable:!0}):r,e)),Jpe=e=>ER(Bb({},"__esModule",{value:!0}),e);var W=Ce((ECe,DR)=>{DR.exports=window.wp.blocks});var me=Ce((DCe,LR)=>{LR.exports=window.wp.compose});var V=Ce((LCe,MR)=>{MR.exports=window.wp.data});var T=Ce((MCe,AR)=>{AR.exports=window.wp.blockEditor});var Fu=Ce((ACe,RR)=>{RR.exports=window.wp.serverSideRender});var P=Ce((RCe,zR)=>{zR.exports=window.wp.i18n});var Z7=Ce(rr=>{"use strict";Object.defineProperty(rr,"__esModule",{value:!0});rr.Doctype=rr.CDATA=rr.Tag=rr.Style=rr.Script=rr.Comment=rr.Directive=rr.Text=rr.Root=rr.isTag=rr.ElementType=void 0;var ri;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(ri=rr.ElementType||(rr.ElementType={}));function tde(e){return e.type===ri.Tag||e.type===ri.Script||e.type===ri.Style}rr.isTag=tde;rr.Root=ri.Root;rr.Text=ri.Text;rr.Directive=ri.Directive;rr.Comment=ri.Comment;rr.Script=ri.Script;rr.Style=ri.Style;rr.Tag=ri.Tag;rr.CDATA=ri.CDATA;rr.Doctype=ri.Doctype});var X7=Ce(Ue=>{"use strict";var Hu=Ue&&Ue.__extends||(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(a[i]=n[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}})(),d0=Ue&&Ue.__assign||function(){return d0=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},d0.apply(this,arguments)};Object.defineProperty(Ue,"__esModule",{value:!0});Ue.cloneNode=Ue.hasChildren=Ue.isDocument=Ue.isDirective=Ue.isComment=Ue.isText=Ue.isCDATA=Ue.isTag=Ue.Element=Ue.Document=Ue.CDATA=Ue.NodeWithChildren=Ue.ProcessingInstruction=Ue.Comment=Ue.Text=Ue.DataNode=Ue.Node=void 0;var wn=Z7(),Q7=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),Y7(this,t)},e})();Ue.Node=Q7;var Ib=(function(e){Hu(t,e);function t(r){var a=e.call(this)||this;return a.data=r,a}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t})(Q7);Ue.DataNode=Ib;var FR=(function(e){Hu(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=wn.ElementType.Text,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(Ib);Ue.Text=FR;var HR=(function(e){Hu(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=wn.ElementType.Comment,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(Ib);Ue.Comment=HR;var OR=(function(e){Hu(t,e);function t(r,a){var n=e.call(this,a)||this;return n.name=r,n.type=wn.ElementType.Directive,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(Ib);Ue.ProcessingInstruction=OR;var Nb=(function(e){Hu(t,e);function t(r){var a=e.call(this)||this;return a.children=r,a}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t})(Q7);Ue.NodeWithChildren=Nb;var jR=(function(e){Hu(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=wn.ElementType.CDATA,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(Nb);Ue.CDATA=jR;var UR=(function(e){Hu(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=wn.ElementType.Root,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(Nb);Ue.Document=UR;var GR=(function(e){Hu(t,e);function t(r,a,n,i){n===void 0&&(n=[]),i===void 0&&(i=r==="script"?wn.ElementType.Script:r==="style"?wn.ElementType.Style:wn.ElementType.Tag);var l=e.call(this,n)||this;return l.name=r,l.attribs=a,l.type=i,l}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(a){var n,i;return{name:a,value:r.attribs[a],namespace:(n=r["x-attribsNamespace"])===null||n===void 0?void 0:n[a],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[a]}})},enumerable:!1,configurable:!0}),t})(Nb);Ue.Element=GR;function WR(e){return(0,wn.isTag)(e)}Ue.isTag=WR;function $R(e){return e.type===wn.ElementType.CDATA}Ue.isCDATA=$R;function qR(e){return e.type===wn.ElementType.Text}Ue.isText=qR;function ZR(e){return e.type===wn.ElementType.Comment}Ue.isComment=ZR;function KR(e){return e.type===wn.ElementType.Directive}Ue.isDirective=KR;function QR(e){return e.type===wn.ElementType.Root}Ue.isDocument=QR;function rde(e){return Object.prototype.hasOwnProperty.call(e,"children")}Ue.hasChildren=rde;function Y7(e,t){t===void 0&&(t=!1);var r;if(qR(e))r=new FR(e.data);else if(ZR(e))r=new HR(e.data);else if(WR(e)){var a=t?K7(e.children):[],n=new GR(e.name,d0({},e.attribs),a);a.forEach(function(c){return c.parent=n}),e.namespace!=null&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]=d0({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]=d0({},e["x-attribsPrefix"])),r=n}else if($R(e)){var a=t?K7(e.children):[],i=new jR(a);a.forEach(function(u){return u.parent=i}),r=i}else if(QR(e)){var a=t?K7(e.children):[],l=new UR(a);a.forEach(function(u){return u.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else if(KR(e)){var s=new OR(e.name,e.data);e["x-name"]!=null&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),r=s}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}Ue.cloneNode=Y7;function K7(e){for(var t=e.map(function(a){return Y7(a,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}});var JR=Ce(Is=>{"use strict";var ode=Is&&Is.__createBinding||(Object.create?(function(e,t,r,a){a===void 0&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}):(function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]})),ade=Is&&Is.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&ode(t,e,r)};Object.defineProperty(Is,"__esModule",{value:!0});Is.DomHandler=void 0;var J7=Z7(),Ou=X7();ade(X7(),Is);var YR={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},XR=(function(){function e(t,r,a){this.dom=[],this.root=new Ou.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(a=r,r=YR),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??YR,this.elementCB=a??null}return e.prototype.onparserinit=function(t){this.parser=t},e.prototype.onreset=function(){this.dom=[],this.root=new Ou.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(t){this.handleCallback(t)},e.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},e.prototype.onopentag=function(t,r){var a=this.options.xmlMode?J7.ElementType.Tag:void 0,n=new Ou.Element(t,r,void 0,a);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(t){var r=this.lastNode;if(r&&r.type===J7.ElementType.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var a=new Ou.Text(t);this.addNode(a),this.lastNode=a}},e.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===J7.ElementType.Comment){this.lastNode.data+=t;return}var r=new Ou.Comment(t);this.addNode(r),this.lastNode=r},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var t=new Ou.Text(""),r=new Ou.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(t,r){var a=new Ou.ProcessingInstruction(t,r);this.addNode(a)},e.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},e.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],a=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),a&&(t.prev=a,a.next=t),t.parent=r,this.lastNode=null},e})();Is.DomHandler=XR;Is.default=XR});var ez=Ce(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.CARRIAGE_RETURN_PLACEHOLDER_REGEX=jo.CARRIAGE_RETURN_PLACEHOLDER=jo.CARRIAGE_RETURN_REGEX=jo.CARRIAGE_RETURN=jo.CASE_SENSITIVE_TAG_NAMES_MAP=jo.CASE_SENSITIVE_TAG_NAMES=void 0;jo.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"];jo.CASE_SENSITIVE_TAG_NAMES_MAP=jo.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{});jo.CARRIAGE_RETURN="\r";jo.CARRIAGE_RETURN_REGEX=new RegExp(jo.CARRIAGE_RETURN,"g");jo.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__");jo.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(jo.CARRIAGE_RETURN_PLACEHOLDER,"g")});var eS=Ce(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.formatAttributes=tz;Sf.escapeSpecialCharacters=lde;Sf.revertEscapedCharacters=rz;Sf.formatDOM=oz;var Eb=JR(),f0=ez();function nde(e){return f0.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function tz(e){for(var t={},r=0,a=e.length;r<a;r++){var n=e[r];t[n.name]=n.value}return t}function ide(e){e=e.toLowerCase();var t=nde(e);return t||e}function lde(e){return e.replace(f0.CARRIAGE_RETURN_REGEX,f0.CARRIAGE_RETURN_PLACEHOLDER)}function rz(e){return e.replace(f0.CARRIAGE_RETURN_PLACEHOLDER_REGEX,f0.CARRIAGE_RETURN)}function oz(e,t,r){t===void 0&&(t=null);for(var a=[],n,i=0,l=e.length;i<l;i++){var s=e[i];switch(s.nodeType){case 1:{var c=ide(s.nodeName);n=new Eb.Element(c,tz(s.attributes)),n.children=oz(c==="template"?s.content.childNodes:s.childNodes,n);break}case 3:n=new Eb.Text(rz(s.nodeValue));break;case 8:n=new Eb.Comment(s.nodeValue);break;default:continue}var u=a[i-1]||null;u&&(u.next=n),n.parent=t,n.prev=u,n.next=null,a.push(n)}return r&&(n=new Eb.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r),n.next=a[0]||null,n.parent=t,a.unshift(n),a[1]&&(a[1].prev=a[0])),a}});var mz=Ce(oS=>{"use strict";Object.defineProperty(oS,"__esModule",{value:!0});oS.default=ude;var sde=eS(),az="html",nz="head",Db="body",cde=/<([a-zA-Z]+[0-9]?)/,iz=/<head[^]*>/i,lz=/<body[^]*>/i,Mb=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},tS=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},sz=typeof window=="object"&&window.DOMParser;typeof sz=="function"&&(cz=new sz,uz="text/html",tS=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),cz.parseFromString(e,uz)},Mb=tS);var cz,uz;typeof document=="object"&&document.implementation&&(h0=document.implementation.createHTMLDocument(),Mb=function(e,t){if(t){var r=h0.documentElement.querySelector(t);return r&&(r.innerHTML=e),h0}return h0.documentElement.innerHTML=e,h0});var h0,Lb=typeof document=="object"&&document.createElement("template"),rS;Lb&&Lb.content&&(rS=function(e){return Lb.innerHTML=e,Lb.content.childNodes});function ude(e){var t,r;e=(0,sde.escapeSpecialCharacters)(e);var a=e.match(cde),n=a&&a[1]?a[1].toLowerCase():"";switch(n){case az:{var i=tS(e);if(!iz.test(e)){var l=i.querySelector(nz);(t=l?.parentNode)===null||t===void 0||t.removeChild(l)}if(!lz.test(e)){var l=i.querySelector(Db);(r=l?.parentNode)===null||r===void 0||r.removeChild(l)}return i.querySelectorAll(az)}case nz:case Db:{var s=Mb(e).querySelectorAll(n);return lz.test(e)&&iz.test(e)?s[0].parentNode.childNodes:s}default:{if(rS)return rS(e);var l=Mb(e,Db).querySelector(Db);return l.childNodes}}}});var pz=Ce(g0=>{"use strict";var mde=g0&&g0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(g0,"__esModule",{value:!0});g0.default=hde;var pde=mde(mz()),dde=eS(),fde=/<(![a-zA-Z\s]+)>/;function hde(e){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(fde),r=t?t[1]:void 0;return(0,dde.formatDOM)((0,pde.default)(e),null,r)}});var dz=Ce(Ab=>{var gde=0;Ab.SAME=gde;var vde=1;Ab.CAMELCASE=vde;Ab.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}});var hz=Ce(Pl=>{"use strict";function bde(e){return Uo.hasOwnProperty(e)?Uo[e]:null}function Ua(e,t,r,a,n,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var Uo={},yde=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];yde.forEach(e=>{Uo[e]=new Ua(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{Uo[e]=new Ua(e,1,!1,t,null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(e=>{Uo[e]=new Ua(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{Uo[e]=new Ua(e,2,!1,e,null,!1,!1)});["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{Uo[e]=new Ua(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(e=>{Uo[e]=new Ua(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(e=>{Uo[e]=new Ua(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(e=>{Uo[e]=new Ua(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(e=>{Uo[e]=new Ua(e,5,!1,e.toLowerCase(),null,!1,!1)});var aS=/[\-\:]([a-z])/g,nS=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(aS,nS);Uo[t]=new Ua(t,1,!1,e,null,!1,!1)});["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(aS,nS);Uo[t]=new Ua(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(aS,nS);Uo[t]=new Ua(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(e=>{Uo[e]=new Ua(e,1,!1,e.toLowerCase(),null,!1,!1)});var _de="xlinkHref";Uo[_de]=new Ua("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(e=>{Uo[e]=new Ua(e,1,!1,e.toLowerCase(),null,!0,!0)});var{CAMELCASE:xde,SAME:kde,possibleStandardNames:fz}=dz(),wde=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Cde=wde+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Sde=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+Cde+"]*$")),Tde=Object.keys(fz).reduce((e,t)=>{let r=fz[t];return r===kde?e[t]=t:r===xde?e[t.toLowerCase()]=t:e[t]=r,e},{});Pl.BOOLEAN=3;Pl.BOOLEANISH_STRING=2;Pl.NUMERIC=5;Pl.OVERLOADED_BOOLEAN=4;Pl.POSITIVE_NUMERIC=6;Pl.RESERVED=0;Pl.STRING=1;Pl.getPropertyInfo=bde;Pl.isCustomAttribute=Sde;Pl.possibleStandardNames=Tde});var iS=Ce((qCe,gz)=>{gz.exports=window.React});var kz=Ce((ZCe,xz)=>{"use strict";var vz=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Pde=/\n/g,Bde=/^\s*/,Ide=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Nde=/^:\s*/,Ede=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Dde=/^[;\s]*/,Lde=/^\s+|\s+$/g,Mde=`
`,bz="/",yz="*",pp="",Ade="comment",Rde="declaration";function zde(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,a=1;function n(h){var g=h.match(Pde);g&&(r+=g.length);var b=h.lastIndexOf(Mde);a=~b?h.length-b:a+h.length}function i(){var h={line:r,column:a};return function(g){return g.position=new l(h),u(),g}}function l(h){this.start=h,this.end={line:r,column:a},this.source=t.source}l.prototype.content=e;function s(h){var g=new Error(t.source+":"+r+":"+a+": "+h);if(g.reason=h,g.filename=t.source,g.line=r,g.column=a,g.source=e,!t.silent)throw g}function c(h){var g=h.exec(e);if(g){var b=g[0];return n(b),e=e.slice(b.length),g}}function u(){c(Bde)}function m(h){var g;for(h=h||[];g=p();)g!==!1&&h.push(g);return h}function p(){var h=i();if(!(bz!=e.charAt(0)||yz!=e.charAt(1))){for(var g=2;pp!=e.charAt(g)&&(yz!=e.charAt(g)||bz!=e.charAt(g+1));)++g;if(g+=2,pp===e.charAt(g-1))return s("End of comment missing");var b=e.slice(2,g-2);return a+=2,n(b),e=e.slice(g),a+=2,h({type:Ade,comment:b})}}function d(){var h=i(),g=c(Ide);if(g){if(p(),!c(Nde))return s("property missing ':'");var b=c(Ede),y=h({type:Rde,property:_z(g[0].replace(vz,pp)),value:b?_z(b[0].replace(vz,pp)):pp});return c(Dde),y}}function f(){var h=[];m(h);for(var g;g=d();)g!==!1&&(h.push(g),m(h));return h}return u(),f()}function _z(e){return e?e.replace(Lde,pp):pp}xz.exports=zde});var wz=Ce(v0=>{"use strict";var Vde=v0&&v0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(v0,"__esModule",{value:!0});v0.default=Hde;var Fde=Vde(kz());function Hde(e,t){let r=null;if(!e||typeof e!="string")return r;let a=(0,Fde.default)(e),n=typeof t=="function";return a.forEach(i=>{if(i.type!=="declaration")return;let{property:l,value:s}=i;n?t(l,s,i):s&&(r=r||{},r[l]=s)}),r}});var Sz=Ce(Rb=>{"use strict";Object.defineProperty(Rb,"__esModule",{value:!0});Rb.camelCase=void 0;var Ode=/^--[a-zA-Z0-9_-]+$/,jde=/-([a-z])/g,Ude=/^[^-]+$/,Gde=/^-(webkit|moz|ms|o|khtml)-/,Wde=/^-(ms)-/,$de=function(e){return!e||Ude.test(e)||Ode.test(e)},qde=function(e,t){return t.toUpperCase()},Cz=function(e,t){return"".concat(t,"-")},Zde=function(e,t){return t===void 0&&(t={}),$de(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Wde,Cz):e=e.replace(Gde,Cz),e.replace(jde,qde))};Rb.camelCase=Zde});var Pz=Ce((sS,Tz)=>{"use strict";var Kde=sS&&sS.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Qde=Kde(wz()),Yde=Sz();function lS(e,t){var r={};return!e||typeof e!="string"||(0,Qde.default)(e,function(a,n){a&&n&&(r[(0,Yde.camelCase)(a,t)]=n)}),r}lS.default=lS;Tz.exports=lS});var cS=Ce(Ga=>{"use strict";var Xde=Ga&&Ga.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ga,"__esModule",{value:!0});Ga.returnFirstArg=Ga.canTextBeChildOfNode=Ga.ELEMENTS_WITH_NO_TEXT_CHILDREN=Ga.PRESERVE_CUSTOM_ATTRIBUTES=void 0;Ga.isCustomComponent=rfe;Ga.setStyleProp=afe;var Jde=iS(),efe=Xde(Pz()),tfe=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function rfe(e,t){return e.includes("-")?!tfe.has(e):!!(t&&typeof t.is=="string")}var ofe={reactCompat:!0};function afe(e,t){if(typeof e=="string"){if(!e.trim()){t.style={};return}try{t.style=(0,efe.default)(e,ofe)}catch{t.style={}}}}Ga.PRESERVE_CUSTOM_ATTRIBUTES=Number(Jde.version.split(".")[0])>=16;Ga.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var nfe=function(e){return!Ga.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};Ga.canTextBeChildOfNode=nfe;var ife=function(e){return e};Ga.returnFirstArg=ife});var mS=Ce(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.default=ufe;var b0=hz(),Bz=cS(),lfe=["checked","value"],sfe=["input","select","textarea"],cfe={reset:!0,submit:!0};function ufe(e,t){e===void 0&&(e={});var r={},a=!!(e.type&&cfe[e.type]);for(var n in e){var i=e[n];if((0,b0.isCustomAttribute)(n)){r[n]=i;continue}var l=n.toLowerCase(),s=Iz(l);if(s){var c=(0,b0.getPropertyInfo)(s);switch(lfe.includes(s)&&sfe.includes(t)&&!a&&(s=Iz("default"+l)),r[s]=i,c&&c.type){case b0.BOOLEAN:r[s]=!0;break;case b0.OVERLOADED_BOOLEAN:i===""&&(r[s]=!0);break}continue}Bz.PRESERVE_CUSTOM_ATTRIBUTES&&(r[n]=i)}return(0,Bz.setStyleProp)(e.style,r),r}function Iz(e){return b0.possibleStandardNames[e]}});var Ez=Ce(_0=>{"use strict";var mfe=_0&&_0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_0,"__esModule",{value:!0});_0.default=Nz;var pS=iS(),pfe=mfe(mS()),y0=cS(),dfe={cloneElement:pS.cloneElement,createElement:pS.createElement,isValidElement:pS.isValidElement};function Nz(e,t){t===void 0&&(t={});for(var r=[],a=typeof t.replace=="function",n=t.transform||y0.returnFirstArg,i=t.library||dfe,l=i.cloneElement,s=i.createElement,c=i.isValidElement,u=e.length,m=0;m<u;m++){var p=e[m];if(a){var d=t.replace(p,m);if(c(d)){u>1&&(d=l(d,{key:d.key||m})),r.push(n(d,p,m));continue}}if(p.type==="text"){var f=!p.data.trim().length;if(f&&p.parent&&!(0,y0.canTextBeChildOfNode)(p.parent)||t.trim&&f)continue;r.push(n(p.data,p,m));continue}var h=p,g={};ffe(h)?((0,y0.setStyleProp)(h.attribs.style,h.attribs),g=h.attribs):h.attribs&&(g=(0,pfe.default)(h.attribs,h.name));var b=void 0;switch(p.type){case"script":case"style":p.children[0]&&(g.dangerouslySetInnerHTML={__html:p.children[0].data});break;case"tag":p.name==="textarea"&&p.children[0]?g.defaultValue=p.children[0].data:p.children&&p.children.length&&(b=Nz(p.children,t));break;default:continue}u>1&&(g.key=m),r.push(n(s(p.name,g,b),p,m))}return r.length===1?r[0]:r}function ffe(e){return y0.PRESERVE_CUSTOM_ATTRIBUTES&&e.type==="tag"&&(0,y0.isCustomComponent)(e.name,e.attribs)}});var dS=Ce(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.Doctype=or.CDATA=or.Tag=or.Style=or.Script=or.Comment=or.Directive=or.Text=or.Root=or.isTag=or.ElementType=void 0;var oi;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(oi=or.ElementType||(or.ElementType={}));function hfe(e){return e.type===oi.Tag||e.type===oi.Script||e.type===oi.Style}or.isTag=hfe;or.Root=oi.Root;or.Text=oi.Text;or.Directive=oi.Directive;or.Comment=oi.Comment;or.Script=oi.Script;or.Style=oi.Style;or.Tag=oi.Tag;or.CDATA=oi.CDATA;or.Doctype=oi.Doctype});var vS=Ce(Ge=>{"use strict";var ju=Ge&&Ge.__extends||(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(a[i]=n[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function a(){this.constructor=t}t.prototype=r===null?Object.create(r):(a.prototype=r.prototype,new a)}})(),x0=Ge&&Ge.__assign||function(){return x0=Object.assign||function(e){for(var t,r=1,a=arguments.length;r<a;r++){t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},x0.apply(this,arguments)};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.cloneNode=Ge.hasChildren=Ge.isDocument=Ge.isDirective=Ge.isComment=Ge.isText=Ge.isCDATA=Ge.isTag=Ge.Element=Ge.Document=Ge.CDATA=Ge.NodeWithChildren=Ge.ProcessingInstruction=Ge.Comment=Ge.Text=Ge.DataNode=Ge.Node=void 0;var Cn=dS(),hS=(function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(t){return t===void 0&&(t=!1),gS(this,t)},e})();Ge.Node=hS;var zb=(function(e){ju(t,e);function t(r){var a=e.call(this)||this;return a.data=r,a}return Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(r){this.data=r},enumerable:!1,configurable:!0}),t})(hS);Ge.DataNode=zb;var Dz=(function(e){ju(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Cn.ElementType.Text,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t})(zb);Ge.Text=Dz;var Lz=(function(e){ju(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Cn.ElementType.Comment,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t})(zb);Ge.Comment=Lz;var Mz=(function(e){ju(t,e);function t(r,a){var n=e.call(this,a)||this;return n.name=r,n.type=Cn.ElementType.Directive,n}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t})(zb);Ge.ProcessingInstruction=Mz;var Vb=(function(e){ju(t,e);function t(r){var a=e.call(this)||this;return a.children=r,a}return Object.defineProperty(t.prototype,"firstChild",{get:function(){var r;return(r=this.children[0])!==null&&r!==void 0?r:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(r){this.children=r},enumerable:!1,configurable:!0}),t})(hS);Ge.NodeWithChildren=Vb;var Az=(function(e){ju(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Cn.ElementType.CDATA,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t})(Vb);Ge.CDATA=Az;var Rz=(function(e){ju(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=Cn.ElementType.Root,r}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t})(Vb);Ge.Document=Rz;var zz=(function(e){ju(t,e);function t(r,a,n,i){n===void 0&&(n=[]),i===void 0&&(i=r==="script"?Cn.ElementType.Script:r==="style"?Cn.ElementType.Style:Cn.ElementType.Tag);var l=e.call(this,n)||this;return l.name=r,l.attribs=a,l.type=i,l}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(r){this.name=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var r=this;return Object.keys(this.attribs).map(function(a){var n,i;return{name:a,value:r.attribs[a],namespace:(n=r["x-attribsNamespace"])===null||n===void 0?void 0:n[a],prefix:(i=r["x-attribsPrefix"])===null||i===void 0?void 0:i[a]}})},enumerable:!1,configurable:!0}),t})(Vb);Ge.Element=zz;function Vz(e){return(0,Cn.isTag)(e)}Ge.isTag=Vz;function Fz(e){return e.type===Cn.ElementType.CDATA}Ge.isCDATA=Fz;function Hz(e){return e.type===Cn.ElementType.Text}Ge.isText=Hz;function Oz(e){return e.type===Cn.ElementType.Comment}Ge.isComment=Oz;function jz(e){return e.type===Cn.ElementType.Directive}Ge.isDirective=jz;function Uz(e){return e.type===Cn.ElementType.Root}Ge.isDocument=Uz;function gfe(e){return Object.prototype.hasOwnProperty.call(e,"children")}Ge.hasChildren=gfe;function gS(e,t){t===void 0&&(t=!1);var r;if(Hz(e))r=new Dz(e.data);else if(Oz(e))r=new Lz(e.data);else if(Vz(e)){var a=t?fS(e.children):[],n=new zz(e.name,x0({},e.attribs),a);a.forEach(function(c){return c.parent=n}),e.namespace!=null&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]=x0({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]=x0({},e["x-attribsPrefix"])),r=n}else if(Fz(e)){var a=t?fS(e.children):[],i=new Az(a);a.forEach(function(u){return u.parent=i}),r=i}else if(Uz(e)){var a=t?fS(e.children):[],l=new Rz(a);a.forEach(function(u){return u.parent=l}),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),r=l}else if(jz(e)){var s=new Mz(e.name,e.data);e["x-name"]!=null&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),r=s}else throw new Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(r.sourceCodeLocation=e.sourceCodeLocation),r}Ge.cloneNode=gS;function fS(e){for(var t=e.map(function(a){return gS(a,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}});var $z=Ce(Ns=>{"use strict";var vfe=Ns&&Ns.__createBinding||(Object.create?(function(e,t,r,a){a===void 0&&(a=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,n)}):(function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]})),bfe=Ns&&Ns.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&vfe(t,e,r)};Object.defineProperty(Ns,"__esModule",{value:!0});Ns.DomHandler=void 0;var bS=dS(),Uu=vS();bfe(vS(),Ns);var Gz={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},Wz=(function(){function e(t,r,a){this.dom=[],this.root=new Uu.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof r=="function"&&(a=r,r=Gz),typeof t=="object"&&(r=t,t=void 0),this.callback=t??null,this.options=r??Gz,this.elementCB=a??null}return e.prototype.onparserinit=function(t){this.parser=t},e.prototype.onreset=function(){this.dom=[],this.root=new Uu.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(t){this.handleCallback(t)},e.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},e.prototype.onopentag=function(t,r){var a=this.options.xmlMode?bS.ElementType.Tag:void 0,n=new Uu.Element(t,r,void 0,a);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(t){var r=this.lastNode;if(r&&r.type===bS.ElementType.Text)r.data+=t,this.options.withEndIndices&&(r.endIndex=this.parser.endIndex);else{var a=new Uu.Text(t);this.addNode(a),this.lastNode=a}},e.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===bS.ElementType.Comment){this.lastNode.data+=t;return}var r=new Uu.Comment(t);this.addNode(r),this.lastNode=r},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var t=new Uu.Text(""),r=new Uu.CDATA([t]);this.addNode(r),t.parent=r,this.lastNode=t},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(t,r){var a=new Uu.ProcessingInstruction(t,r);this.addNode(a)},e.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},e.prototype.addNode=function(t){var r=this.tagStack[this.tagStack.length-1],a=r.children[r.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),r.children.push(t),a&&(t.prev=a,a.next=t),t.parent=r,this.lastNode=null},e})();Ns.DomHandler=Wz;Ns.default=Wz});var _S=Ce(co=>{"use strict";var yS=co&&co.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(co,"__esModule",{value:!0});co.htmlToDOM=co.domToReact=co.attributesToProps=co.Text=co.ProcessingInstruction=co.Element=co.Comment=void 0;co.default=xfe;var qz=yS(pz());co.htmlToDOM=qz.default;var yfe=yS(mS());co.attributesToProps=yfe.default;var Zz=yS(Ez());co.domToReact=Zz.default;var Fb=$z();Object.defineProperty(co,"Comment",{enumerable:!0,get:function(){return Fb.Comment}});Object.defineProperty(co,"Element",{enumerable:!0,get:function(){return Fb.Element}});Object.defineProperty(co,"ProcessingInstruction",{enumerable:!0,get:function(){return Fb.ProcessingInstruction}});Object.defineProperty(co,"Text",{enumerable:!0,get:function(){return Fb.Text}});var _fe={lowerCaseAttributeNames:!1};function xfe(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");return e?(0,Zz.default)((0,qz.default)(e,t?.htmlparser2||_fe),t):[]}});var ai=Ce((n6e,Qz)=>{Qz.exports=window.wp.dom});var v=Ce((i6e,Yz)=>{Yz.exports=window.ReactJSXRuntime});var U=Ce((u6e,eV)=>{eV.exports=window.wp.element});var L=Ce((p6e,tV)=>{tV.exports=window.wp.primitives});var M=Ce((oPe,rV)=>{rV.exports=window.wp.components});var Rr=Ce((aPe,oV)=>{oV.exports=window.wp.blob});var Q=Ce((nPe,aV)=>{aV.exports=window.wp.coreData});var mr=Ce((tBe,FV)=>{FV.exports=window.wp.url});var Wo=Ce((aBe,GV)=>{GV.exports=window.wp.htmlEntities});var xr=Ce((gBe,aF)=>{aF.exports=window.wp.notices});var iF=Ce((_Be,nF)=>{nF.exports=window.wp.privateApis});var As=Ce((cIe,RF)=>{RF.exports=window.wp.keycodes});var Ff=Ce((fIe,FF)=>{FF.exports=window.wp.deprecated});var em=Ce((zIe,QF)=>{QF.exports=window.wp.richText});var Lk=Ce((BDe,WO)=>{WO.exports=window.wp.date});var G1=Ce((iLe,ij)=>{ij.exports=window.wp.apiFetch});var Yc=Ce((LMe,VU)=>{VU.exports=window.wp.hooks});var rv=Ce((XRe,D5)=>{var uW={\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"},mW=Object.keys(uW).join("|"),X1e=new RegExp(mW,"g"),J1e=new RegExp(mW,"");function eve(e){return uW[e]}var pW=function(e){return e.replace(X1e,eve)},tve=function(e){return!!e.match(J1e)};D5.exports=pW;D5.exports.has=tve;D5.exports.remove=pW});var Eq=Ce((pHe,Nq)=>{Nq.exports=window.wp.uploadMedia});var bv=Ce((FOe,DZ)=>{DZ.exports=window.wp.a11y});var cD=Ce((bWe,RY)=>{RY.exports=window.wp.escapeHtml});var wre=Ce((VXe,kre)=>{kre.exports=window.wp.wordcount});var Ene=Ce((Drt,Nne)=>{Nne.exports=window.wp.patterns});var kie=Ce((Vot,xie)=>{xie.exports=window.wp.autop});var Kse=Ce((_lt,Zse)=>{"use strict";Zse.exports=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var a,n,i;if(Array.isArray(t)){if(a=t.length,a!=r.length)return!1;for(n=a;n--!==0;)if(!e(t[n],r[n]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;for(n of t.entries())if(!e(n[1],r.get(n[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(n of t.entries())if(!r.has(n[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if(a=t.length,a!=r.length)return!1;for(n=a;n--!==0;)if(t[n]!==r[n])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),a=i.length,a!==Object.keys(r).length)return!1;for(n=a;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[n]))return!1;for(n=a;n--!==0;){var l=i[n];if(!e(t[l],r[l]))return!1}return!0}return t!==t&&r!==r}});var Npe=Ce((tpt,Ipe)=>{Ipe.exports=window.wp.keyboardShortcuts});var BCe={};Z(BCe,{__experimentalGetCoreBlocks:()=>Vpe,__experimentalRegisterExperimentalCoreBlocks:()=>PCe,privateApis:()=>PR,registerCoreBlocks:()=>TCe});var Cl=o(W(),1),Mpe=o(me(),1),Ape=o(V(),1),Rpe=o(T(),1),zpe=o(Fu(),1),yb=o(P(),1);function VR(e){var t,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=VR(e[t]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function ede(){for(var e,t,r=0,a="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=VR(e))&&(a&&(a+=" "),a+=t);return a}var w=ede;var xS=o(_S(),1),Bl=o(_S(),1),Kz=xS.default.default||xS.default;var Xz=o(ai(),1),Jz=o(v(),1),kfe=({wrapperProps:e={},html:t=""})=>{let r={replace:({name:i,type:l,attribs:s,parent:c,children:u})=>{if(l==="tag"&&i){let m=(0,Bl.attributesToProps)(s||{}),p=i;if(!c){let d={...m,...e,className:w(m.className,e.className),style:{...m.style||{},...e.style||{}}};return(0,Jz.jsx)(p,{...d,children:(0,Bl.domToReact)(u,r)})}}}},a=(0,Xz.safeHTML)(t);return Kz(a,r)},uo=kfe;var GB={};Z(GB,{init:()=>Tfe,metadata:()=>Bx,name:()=>mV,settings:()=>pV});var UB=o(P(),1);var Hb=o(U(),1),Wa=(0,Hb.forwardRef)(({icon:e,size:t=24,...r},a)=>(0,Hb.cloneElement)(e,{width:t,height:t,...r,ref:a}));var k0=o(L(),1),w0=o(v(),1),kS=(0,w0.jsxs)(k0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,w0.jsx)(k0.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 12.75L9.5 12.75L9.5 11.25L19.5 11.25L19.5 12.75Z"}),(0,w0.jsx)(k0.Path,{d:"M4.5 9.5L8.5 12L4.5 14.5L4.5 9.5Z"})]});var dp=o(L(),1),fp=o(v(),1),wS=(0,fp.jsxs)(dp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,fp.jsx)(dp.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.5L9.5 9.5L9.5 8L19.5 8L19.5 9.5Z"}),(0,fp.jsx)(dp.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 13L9.5 13L9.5 11.5L19.5 11.5L19.5 13Z"}),(0,fp.jsx)(dp.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.3999L9.5 16.3999L9.5 14.8999L19.5 14.8999L19.5 16.3999Z"}),(0,fp.jsx)(dp.Path,{d:"M4.5 6.25L8.5 8.75L4.5 11.25L4.5 6.25Z"})]});var hp=o(L(),1),gp=o(v(),1),CS=(0,gp.jsxs)(hp.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,gp.jsx)(hp.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.25L9.5 9.25L9.5 7.75L19.5 7.75L19.5 9.25Z"}),(0,gp.jsx)(hp.Path,{d:"M4.5 6L8.5 8.5L4.5 11L4.5 6Z"}),(0,gp.jsx)(hp.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.25L9.5 16.25L9.5 14.75L19.5 14.75L19.5 16.25Z"}),(0,gp.jsx)(hp.Path,{d:"M4.5 13L8.5 15.5L4.5 18L4.5 13Z"})]});var Ob=o(L(),1),SS=o(v(),1),vp=(0,SS.jsx)(Ob.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SS.jsx)(Ob.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"})});var jb=o(L(),1),TS=o(v(),1),PS=(0,TS.jsx)(jb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TS.jsx)(jb.Path,{d:"M7.5 5.5h9V4h-9v1.5Zm-3.5 7h16V11H4v1.5Zm3.5 7h9V18h-9v1.5Z"})});var Ub=o(L(),1),BS=o(v(),1),IS=(0,BS.jsx)(Ub.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BS.jsx)(Ub.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})});var Gb=o(L(),1),NS=o(v(),1),ES=(0,NS.jsx)(Gb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NS.jsx)(Gb.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})});var Wb=o(L(),1),DS=o(v(),1),LS=(0,DS.jsx)(Wb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DS.jsx)(Wb.Path,{d:"M11.111 5.5H20V4h-8.889v1.5ZM4 12.5h16V11H4v1.5Zm7.111 7H20V18h-8.889v1.5Z"})});var $b=o(L(),1),MS=o(v(),1),AS=(0,MS.jsx)($b.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MS.jsx)($b.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M11.934 7.406a1 1 0 0 0 .914.594H19a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h5.764a.5.5 0 0 1 .447.276l.723 1.63Zm1.064-1.216a.5.5 0 0 0 .462.31H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.764a2 2 0 0 1 1.789 1.106l.445 1.084ZM8.5 10.5h7V12h-7v-1.5Zm7 3.5h-7v1.5h7V14Z"})});var qb=o(L(),1),RS=o(v(),1),ni=(0,RS.jsx)(qb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RS.jsx)(qb.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 Zb=o(L(),1),zS=o(v(),1),VS=(0,zS.jsx)(Zb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zS.jsx)(Zb.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 Kb=o(L(),1),FS=o(v(),1),C0=(0,FS.jsx)(Kb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FS.jsx)(Kb.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v3.5h-15V5c0-.3.2-.5.5-.5zm8 5.5h6.5v3.5H13V10zm-1.5 3.5h-7V10h7v3.5zm-7 5.5v-4h7v4.5H5c-.3 0-.5-.2-.5-.5zm14.5.5h-6V15h6.5v4c0 .3-.2.5-.5.5z"})});var Qb=o(L(),1),HS=o(v(),1),OS=(0,HS.jsx)(Qb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HS.jsx)(Qb.Path,{d:"M4 13.5h3v-3H4v3Zm6-3.5 2 2-2 2 1 1 3-3-3-3-1 1Zm7 .5v3h3v-3h-3Z"})});var Yb=o(L(),1),jS=o(v(),1),US=(0,jS.jsx)(Yb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jS.jsx)(Yb.Path,{d:"M8 12.5h8V11H8v1.5Z M19 6.5H5a2 2 0 0 0-2 2V15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a2 2 0 0 0-2-2ZM5 8h14a.5.5 0 0 1 .5.5V15a.5.5 0 0 1-.5.5H5a.5.5 0 0 1-.5-.5V8.5A.5.5 0 0 1 5 8Z"})});var Xb=o(L(),1),GS=o(v(),1),WS=(0,GS.jsx)(Xb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GS.jsx)(Xb.Path,{d:"M14.5 17.5H9.5V16H14.5V17.5Z M14.5 8H9.5V6.5H14.5V8Z M7 3.5H17C18.1046 3.5 19 4.39543 19 5.5V9C19 10.1046 18.1046 11 17 11H7C5.89543 11 5 10.1046 5 9V5.5C5 4.39543 5.89543 3.5 7 3.5ZM17 5H7C6.72386 5 6.5 5.22386 6.5 5.5V9C6.5 9.27614 6.72386 9.5 7 9.5H17C17.2761 9.5 17.5 9.27614 17.5 9V5.5C17.5 5.22386 17.2761 5 17 5Z M7 13H17C18.1046 13 19 13.8954 19 15V18.5C19 19.6046 18.1046 20.5 17 20.5H7C5.89543 20.5 5 19.6046 5 18.5V15C5 13.8954 5.89543 13 7 13ZM17 14.5H7C6.72386 14.5 6.5 14.7239 6.5 15V18.5C6.5 18.7761 6.72386 19 7 19H17C17.2761 19 17.5 18.7761 17.5 18.5V15C17.5 14.7239 17.2761 14.5 17 14.5Z"})});var Jb=o(L(),1),$S=o(v(),1),S0=(0,$S.jsx)(Jb.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$S.jsx)(Jb.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V7h15v12zM9 10H7v2h2v-2zm0 4H7v2h2v-2zm4-4h-2v2h2v-2zm4 0h-2v2h2v-2zm-4 4h-2v2h2v-2zm4 0h-2v2h2v-2z"})});var ey=o(L(),1),qS=o(v(),1),ZS=(0,qS.jsx)(ey.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qS.jsx)(ey.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 5.5h12a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5ZM4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6Zm4 10h2v-1.5H8V16Zm5 0h-2v-1.5h2V16Zm1 0h2v-1.5h-2V16Z"})});var ty=o(L(),1),KS=o(v(),1),Gu=(0,KS.jsx)(ty.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KS.jsx)(ty.Path,{fillRule:"evenodd",clipRule:"evenodd",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"})});var ry=o(L(),1),QS=o(v(),1),bp=(0,QS.jsx)(ry.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QS.jsx)(ry.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})});var oy=o(L(),1),YS=o(v(),1),XS=(0,YS.jsx)(oy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YS.jsx)(oy.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})});var ay=o(L(),1),JS=o(v(),1),ny=(0,JS.jsx)(ay.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JS.jsx)(ay.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})});var iy=o(L(),1),e9=o(v(),1),t9=(0,e9.jsx)(iy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,e9.jsx)(iy.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 ly=o(L(),1),r9=o(v(),1),sy=(0,r9.jsx)(ly.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r9.jsx)(ly.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})});var cy=o(L(),1),o9=o(v(),1),T0=(0,o9.jsx)(cy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o9.jsx)(cy.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})});var uy=o(L(),1),a9=o(v(),1),P0=(0,a9.jsx)(uy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,a9.jsx)(uy.Path,{d:"M20 6H4c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H4c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h16c.3 0 .5.2.5.5v9zM10 10H8v2h2v-2zm-5 2h2v-2H5v2zm8-2h-2v2h2v-2zm-5 6h8v-2H8v2zm6-4h2v-2h-2v2zm3 0h2v-2h-2v2zm0 4h2v-2h-2v2zM5 16h2v-2H5v2z"})});var my=o(L(),1),n9=o(v(),1),yp=(0,n9.jsx)(my.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,n9.jsx)(my.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})});var py=o(L(),1),i9=o(v(),1),B0=(0,i9.jsx)(py.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,i9.jsx)(py.Path,{d:"M20.8 10.7l-4.3-4.3-1.1 1.1 4.3 4.3c.1.1.1.3 0 .4l-4.3 4.3 1.1 1.1 4.3-4.3c.7-.8.7-1.9 0-2.6zM4.2 11.8l4.3-4.3-1-1-4.3 4.3c-.7.7-.7 1.8 0 2.5l4.3 4.3 1.1-1.1-4.3-4.3c-.2-.1-.2-.3-.1-.4z"})});var dy=o(L(),1),l9=o(v(),1),s9=(0,l9.jsx)(dy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,l9.jsx)(dy.Path,{d:"M19 6H6c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h13c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM6 17.5c-.3 0-.5-.2-.5-.5V8c0-.3.2-.5.5-.5h3v10H6zm13.5-.5c0 .3-.2.5-.5.5h-3v-10h3c.3 0 .5.2.5.5v9z"})});var fy=o(L(),1),c9=o(v(),1),u9=(0,c9.jsx)(fy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,c9.jsx)(fy.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 7.5h-5v10h5v-10Zm1.5 0v10H19a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5h-2.5ZM6 7.5h2.5v10H6a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5ZM6 6h13a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Z"})});var hy=o(L(),1),m9=o(v(),1),I0=(0,m9.jsx)(hy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,m9.jsx)(hy.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M7.25 16.437a6.5 6.5 0 1 1 9.5 0V16A2.75 2.75 0 0 0 14 13.25h-4A2.75 2.75 0 0 0 7.25 16v.437Zm1.5 1.193a6.47 6.47 0 0 0 3.25.87 6.47 6.47 0 0 0 3.25-.87V16c0-.69-.56-1.25-1.25-1.25h-4c-.69 0-1.25.56-1.25 1.25v1.63ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm10-2a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"})});var _p=o(L(),1),Tf=o(v(),1),p9=(0,Tf.jsxs)(_p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Tf.jsx)(_p.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"}),(0,Tf.jsx)(_p.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15"}),(0,Tf.jsx)(_p.Circle,{cx:"12",cy:"9",r:"2",fillRule:"evenodd",clipRule:"evenodd"})]});var gy=o(L(),1),d9=o(v(),1),f9=(0,d9.jsx)(gy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,d9.jsx)(gy.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6.68822 16.625L5.5 17.8145L5.5 5.5L18.5 5.5L18.5 16.625L6.68822 16.625ZM7.31 18.125L19 18.125C19.5523 18.125 20 17.6773 20 17.125L20 5C20 4.44772 19.5523 4 19 4H5C4.44772 4 4 4.44772 4 5V19.5247C4 19.8173 4.16123 20.086 4.41935 20.2237C4.72711 20.3878 5.10601 20.3313 5.35252 20.0845L7.31 18.125ZM16 9.99997H8V8.49997H16V9.99997ZM8 14H13V12.5H8V14Z"})});var vy=o(L(),1),h9=o(v(),1),g9=(0,h9.jsx)(vy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,h9.jsx)(vy.Path,{d:"m6.249 11.065.44-.44h3.186l-1.5 1.5H7.31l-1.957 1.96A.792.792 0 0 1 4 13.524V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.5L12.5 8V5.5h-7v6.315l.749-.75ZM20 19.75H7v-1.5h13v1.5Zm0-12.653-8.967 9.064L8 17l.867-2.935L17.833 5 20 7.097Z"})});var by=o(L(),1),v9=o(v(),1),b9=(0,v9.jsx)(by.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,v9.jsx)(by.Path,{d:"M6.68822 10.625L6.24878 11.0649L5.5 11.8145L5.5 5.5L12.5 5.5V8L14 6.5V5C14 4.44772 13.5523 4 13 4H5C4.44772 4 4 4.44771 4 5V13.5247C4 13.8173 4.16123 14.086 4.41935 14.2237C4.72711 14.3878 5.10601 14.3313 5.35252 14.0845L7.31 12.125H8.375L9.875 10.625H7.31H6.68822ZM14.5605 10.4983L11.6701 13.75H16.9975C17.9963 13.75 18.7796 14.1104 19.3553 14.7048C19.9095 15.2771 20.2299 16.0224 20.4224 16.7443C20.7645 18.0276 20.7543 19.4618 20.7487 20.2544C20.7481 20.345 20.7475 20.4272 20.7475 20.4999L19.2475 20.5001C19.2475 20.4191 19.248 20.3319 19.2484 20.2394V20.2394C19.2526 19.4274 19.259 18.2035 18.973 17.1307C18.8156 16.5401 18.586 16.0666 18.2778 15.7483C17.9909 15.4521 17.5991 15.25 16.9975 15.25H11.8106L14.5303 17.9697L13.4696 19.0303L8.96956 14.5303L13.4394 9.50171L14.5605 10.4983Z"})});var yy=o(L(),1),y9=o(v(),1),N0=(0,y9.jsx)(yy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,y9.jsx)(yy.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z"})});var _y=o(L(),1),_9=o(v(),1),E0=(0,_9.jsx)(_y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_9.jsx)(_y.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8.10417 6.00024H6.5C5.39543 6.00024 4.5 6.89567 4.5 8.00024V10.3336H6V8.00024C6 7.7241 6.22386 7.50024 6.5 7.50024H8.10417V6.00024ZM4.5 13.6669V16.0002C4.5 17.1048 5.39543 18.0002 6.5 18.0002H8.10417V16.5002H6.5C6.22386 16.5002 6 16.2764 6 16.0002V13.6669H4.5ZM10.3958 6.00024V7.50024H13.6042V6.00024H10.3958ZM15.8958 6.00024V7.50024H17.5C17.7761 7.50024 18 7.7241 18 8.00024V10.3336H19.5V8.00024C19.5 6.89567 18.6046 6.00024 17.5 6.00024H15.8958ZM19.5 13.6669H18V16.0002C18 16.2764 17.7761 16.5002 17.5 16.5002H15.8958V18.0002H17.5C18.6046 18.0002 19.5 17.1048 19.5 16.0002V13.6669ZM13.6042 18.0002V16.5002H10.3958V18.0002H13.6042Z"})});var xy=o(L(),1),x9=o(v(),1),xp=(0,x9.jsx)(xy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,x9.jsx)(xy.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h6.2v8.9l2.5-3.1 2.5 3.1V4.5h2.2c.4 0 .8.4.8.8v13.4z"})});var ky=o(L(),1),k9=o(v(),1),D0=(0,k9.jsx)(ky.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,k9.jsx)(ky.Path,{d:"M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z"})});var wy=o(L(),1),w9=o(v(),1),L0=(0,w9.jsx)(wy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,w9.jsx)(wy.Path,{d:"M12.5 14.5h-1V16h1c2.2 0 4-1.8 4-4s-1.8-4-4-4h-1v1.5h1c1.4 0 2.5 1.1 2.5 2.5s-1.1 2.5-2.5 2.5zm-4 1.5v-1.5h-1C6.1 14.5 5 13.4 5 12s1.1-2.5 2.5-2.5h1V8h-1c-2.2 0-4 1.8-4 4s1.8 4 4 4h1zm-1-3.2h5v-1.5h-5v1.5zM18 4H9c-1.1 0-2 .9-2 2v.5h1.5V6c0-.3.2-.5.5-.5h9c.3 0 .5.2.5.5v12c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5v-.5H7v.5c0 1.1.9 2 2 2h9c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2z"})});var Cy=o(L(),1),C9=o(v(),1),S9=(0,C9.jsx)(Cy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,C9.jsx)(Cy.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"})});var M0=o(L(),1),A0=o(v(),1),T9=(0,A0.jsxs)(M0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,A0.jsx)(M0.Path,{d:"M4 16h10v1.5H4V16Zm0-4.5h16V13H4v-1.5ZM10 7h10v1.5H10V7Z",fillRule:"evenodd",clipRule:"evenodd"}),(0,A0.jsx)(M0.Path,{d:"m4 5.25 4 2.5-4 2.5v-5Z"})]});var Sy=o(L(),1),P9=o(v(),1),B9=(0,P9.jsx)(Sy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,P9.jsx)(Sy.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 Ty=o(L(),1),I9=o(v(),1),R0=(0,I9.jsx)(Ty.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,I9.jsx)(Ty.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 Py=o(L(),1),N9=o(v(),1),E9=(0,N9.jsx)(Py.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,N9.jsx)(Py.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var By=o(L(),1),D9=o(v(),1),L9=(0,D9.jsx)(By.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,D9.jsx)(By.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM20.0303 9.03033L17.0607 12L20.0303 14.9697L18.9697 16.0303L15.4697 12.5303L14.9393 12L15.4697 11.4697L18.9697 7.96967L20.0303 9.03033Z"})});var Iy=o(L(),1),M9=o(v(),1),A9=(0,M9.jsx)(Iy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,M9.jsx)(Iy.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-8-3.5l3 3-3 3 1 1 4-4-4-4-1 1z"})});var Ny=o(L(),1),R9=o(v(),1),z0=(0,R9.jsx)(Ny.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,R9.jsx)(Ny.Path,{d:"M4 8.8h8.9V7.2H4v1.6zm0 7h8.9v-1.5H4v1.5zM18 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"})});var Ey=o(L(),1),z9=o(v(),1),V0=(0,z9.jsx)(Ey.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,z9.jsx)(Ey.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM6 13c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-7c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});var Dy=o(L(),1),V9=o(v(),1),F0=(0,V9.jsx)(Dy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,V9.jsx)(Dy.Path,{d:"M3.8 15.8h8.9v-1.5H3.8v1.5zm0-7h8.9V7.2H3.8v1.6zm14.7-2.1V10h1V5.3l-2.2.7.3 1 .9-.3zm1.2 6.1c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5H20v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3 0-.8-.3-1.1z"})});var Ly=o(L(),1),F9=o(v(),1),Ki=(0,F9.jsx)(Ly.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,F9.jsx)(Ly.Path,{d:"M11.1 15.8H20v-1.5h-8.9v1.5zm0-8.6v1.5H20V7.2h-8.9zM5 6.7V10h1V5.3L3.8 6l.4 1 .8-.3zm-.4 5.7c-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-1c.3-.6.8-1.4.9-2.1.1-.3 0-.8-.2-1.1-.5-.6-1.3-.5-1.7-.4z"})});var My=o(L(),1),H9=o(v(),1),O9=(0,H9.jsx)(My.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,H9.jsx)(My.Path,{d:"M3 9c0 2.8 2.2 5 5 5v-.2V20h1.5V5.5H12V20h1.5V5.5h3V4H8C5.2 4 3 6.2 3 9Zm15.9-1-1.1 1 2.6 3-2.6 3 1.1 1 3.4-4-3.4-4Z"})});var Ay=o(L(),1),j9=o(v(),1),H0=(0,j9.jsx)(Ay.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,j9.jsx)(Ay.Path,{d:"M20 5.5H4V4H20V5.5ZM12 12.5H4V11H12V12.5ZM20 20V18.5H4V20H20ZM15.4697 14.9697L18.4393 12L15.4697 9.03033L16.5303 7.96967L20.0303 11.4697L20.5607 12L20.0303 12.5303L16.5303 16.0303L15.4697 14.9697Z"})});var Ry=o(L(),1),U9=o(v(),1),O0=(0,U9.jsx)(Ry.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,U9.jsx)(Ry.Path,{d:"M4 7.2v1.5h16V7.2H4zm8 8.6h8v-1.5h-8v1.5zm-4-4.6l-4 4 4 4 1-1-3-3 3-3-1-1z"})});var zy=o(L(),1),G9=o(v(),1),kp=(0,G9.jsx)(zy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,G9.jsx)(zy.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 Vy=o(L(),1),W9=o(v(),1),j0=(0,W9.jsx)(Vy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,W9.jsx)(Vy.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M16.375 4.5H4.625a.125.125 0 0 0-.125.125v8.254l2.859-1.54a.75.75 0 0 1 .68-.016l2.384 1.142 2.89-2.074a.75.75 0 0 1 .874 0l2.313 1.66V4.625a.125.125 0 0 0-.125-.125Zm.125 9.398-2.75-1.975-2.813 2.02a.75.75 0 0 1-.76.067l-2.444-1.17L4.5 14.583v1.792c0 .069.056.125.125.125h11.75a.125.125 0 0 0 .125-.125v-2.477ZM4.625 3C3.728 3 3 3.728 3 4.625v11.75C3 17.273 3.728 18 4.625 18h11.75c.898 0 1.625-.727 1.625-1.625V4.625C18 3.728 17.273 3 16.375 3H4.625ZM20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})});var Fy=o(L(),1),$9=o(v(),1),Il=(0,$9.jsx)(Fy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$9.jsx)(Fy.Path,{fillRule:"evenodd",clipRule:"evenodd",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"})});var Hy=o(L(),1),q9=o(v(),1),wp=(0,q9.jsx)(Hy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,q9.jsx)(Hy.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 Oy=o(L(),1),Z9=o(v(),1),K9=(0,Z9.jsx)(Oy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Z9.jsx)(Oy.Path,{d:"M18.5 10.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 jy=o(L(),1),Q9=o(v(),1),Y9=(0,Q9.jsx)(jy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,Q9.jsx)(jy.Path,{d:"M17.6 7c-.6.9-1.5 1.7-2.6 2v1h2v7h2V7h-1.4zM11 11H7V7H5v10h2v-4h4v4h2V7h-2v4z"})});var Uy=o(L(),1),X9=o(v(),1),J9=(0,X9.jsx)(Uy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,X9.jsx)(Uy.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 Gy=o(L(),1),eT=o(v(),1),tT=(0,eT.jsx)(Gy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eT.jsx)(Gy.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 Wy=o(L(),1),rT=o(v(),1),oT=(0,rT.jsx)(Wy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rT.jsx)(Wy.Path,{d:"M20 13V7h-3l-4 6v2h5v2h2v-2h1v-2h-1zm-2 0h-2.8L18 9v4zm-9-2H5V7H3v10h2v-4h4v4h2V7H9v4z"})});var $y=o(L(),1),aT=o(v(),1),nT=(0,aT.jsx)($y.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aT.jsx)($y.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 qy=o(L(),1),iT=o(v(),1),lT=(0,iT.jsx)(qy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iT.jsx)(qy.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 Zy=o(L(),1),sT=o(v(),1),cT=(0,sT.jsx)(Zy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sT.jsx)(Zy.Path,{d:"M6 5V18.5911L12 13.8473L18 18.5911V5H6Z"})});var Ky=o(L(),1),uT=o(v(),1),mT=(0,uT.jsx)(Ky.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,uT.jsx)(Ky.Path,{d:"M12 4L4 7.9V20h16V7.9L12 4zm6.5 14.5H14V13h-4v5.5H5.5V8.8L12 5.7l6.5 3.1v9.7z"})});var Qy=o(L(),1),pT=o(v(),1),dT=(0,pT.jsx)(Qy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,pT.jsx)(Qy.Path,{d:"M4.8 11.4H2.1V9H1v6h1.1v-2.6h2.7V15h1.1V9H4.8v2.4zm1.9-1.3h1.7V15h1.1v-4.9h1.7V9H6.7v1.1zM16.2 9l-1.5 2.7L13.3 9h-.9l-.8 6h1.1l.5-4 1.5 2.8 1.5-2.8.5 4h1.1L17 9h-.8zm3.8 5V9h-1.1v6h3.6v-1H20z"})});var Yy=o(L(),1),fT=o(v(),1),Wu=(0,fT.jsx)(Yy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,fT.jsx)(Yy.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 Xy=o(L(),1),hT=o(v(),1),gT=(0,hT.jsx)(Xy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hT.jsx)(Xy.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 Jy=o(L(),1),vT=o(v(),1),Cp=(0,vT.jsx)(Jy.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vT.jsx)(Jy.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 e_=o(L(),1),bT=o(v(),1),U0=(0,bT.jsx)(e_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,bT.jsx)(e_.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 t_=o(L(),1),yT=o(v(),1),ii=(0,yT.jsx)(t_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yT.jsx)(t_.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 r_=o(L(),1),_T=o(v(),1),xT=(0,_T.jsx)(r_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_T.jsx)(r_.Path,{d:"M12 11v1.5h8V11h-8zm-6-1c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"})});var o_=o(L(),1),kT=o(v(),1),Nl=(0,kT.jsx)(o_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kT.jsx)(o_.Path,{d:"M4 4v1.5h16V4H4zm8 8.5h8V11h-8v1.5zM4 20h16v-1.5H4V20zm4-8c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"})});var a_=o(L(),1),wT=o(v(),1),CT=(0,wT.jsx)(a_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wT.jsx)(a_.Path,{d:"M11 14.5l1.1 1.1 3-3 .5-.5-.6-.6-3-3-1 1 1.7 1.7H5v1.5h7.7L11 14.5zM16.8 5h-7c-1.1 0-2 .9-2 2v1.5h1.5V7c0-.3.2-.5.5-.5h7c.3 0 .5.2.5.5v10c0 .3-.2.5-.5.5h-7c-.3 0-.5-.2-.5-.5v-1.5H7.8V17c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2z"})});var n_=o(L(),1),ST=o(v(),1),Sp=(0,ST.jsx)(n_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ST.jsx)(n_.Path,{d:"M18.1823 11.6392C18.1823 13.0804 17.0139 14.2487 15.5727 14.2487C14.3579 14.2487 13.335 13.4179 13.0453 12.2922L13.0377 12.2625L13.0278 12.2335L12.3985 10.377L12.3942 10.3785C11.8571 8.64997 10.246 7.39405 8.33961 7.39405C5.99509 7.39405 4.09448 9.29465 4.09448 11.6392C4.09448 13.9837 5.99509 15.8843 8.33961 15.8843C8.88499 15.8843 9.40822 15.781 9.88943 15.5923L9.29212 14.0697C8.99812 14.185 8.67729 14.2487 8.33961 14.2487C6.89838 14.2487 5.73003 13.0804 5.73003 11.6392C5.73003 10.1979 6.89838 9.02959 8.33961 9.02959C9.55444 9.02959 10.5773 9.86046 10.867 10.9862L10.8772 10.9836L11.4695 12.7311C11.9515 14.546 13.6048 15.8843 15.5727 15.8843C17.9172 15.8843 19.8178 13.9837 19.8178 11.6392C19.8178 9.29465 17.9172 7.39404 15.5727 7.39404C15.0287 7.39404 14.5066 7.4968 14.0264 7.6847L14.6223 9.20781C14.9158 9.093 15.2358 9.02959 15.5727 9.02959C17.0139 9.02959 18.1823 10.1979 18.1823 11.6392Z"})});var i_=o(L(),1),TT=o(v(),1),PT=(0,TT.jsx)(i_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TT.jsx)(i_.Path,{d:"M12 9c-.8 0-1.5.7-1.5 1.5S11.2 12 12 12s1.5-.7 1.5-1.5S12.8 9 12 9zm0-5c-3.6 0-6.5 2.8-6.5 6.2 0 .8.3 1.8.9 3.1.5 1.1 1.2 2.3 2 3.6.7 1 3 3.8 3.2 3.9l.4.5.4-.5c.2-.2 2.6-2.9 3.2-3.9.8-1.2 1.5-2.5 2-3.6.6-1.3.9-2.3.9-3.1C18.5 6.8 15.6 4 12 4zm4.3 8.7c-.5 1-1.1 2.2-1.9 3.4-.5.7-1.7 2.2-2.4 3-.7-.8-1.9-2.3-2.4-3-.8-1.2-1.4-2.3-1.9-3.3-.6-1.4-.7-2.2-.7-2.5 0-2.6 2.2-4.7 5-4.7s5 2.1 5 4.7c0 .2-.1 1-.7 2.4z"})});var l_=o(L(),1),BT=o(v(),1),IT=(0,BT.jsx)(l_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BT.jsx)(l_.Path,{d:"M11.2 6.8c-.7 0-1.4.5-1.6 1.1l-2.8 7.5-1.2-1.8c-.1-.2-.4-.3-.6-.3H3v1.5h1.6l1.2 1.8c.6.9 1.9.7 2.2-.3l2.9-7.9s.1-.2.2-.2h7.8V6.7h-7.8Zm5.3 3.4-1.9 1.9-1.9-1.9-1.1 1.1 1.9 1.9-1.9 1.9 1.1 1.1 1.9-1.9 1.9 1.9 1.1-1.1-1.9-1.9 1.9-1.9-1.1-1.1Z"})});var s_=o(L(),1),NT=o(v(),1),ET=(0,NT.jsx)(s_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NT.jsx)(s_.Path,{d:"M3 6v11.5h8V6H3Zm11 3h7V7.5h-7V9Zm7 3.5h-7V11h7v1.5ZM14 16h7v-1.5h-7V16Z"})});var G0=o(L(),1),W0=o(v(),1),$0=(0,W0.jsxs)(G0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,W0.jsx)(G0.Path,{d:"m7 6.5 4 2.5-4 2.5z"}),(0,W0.jsx)(G0.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 c_=o(L(),1),DT=o(v(),1),LT=(0,DT.jsx)(c_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DT.jsx)(c_.Path,{d:"M5 5v1.5h14V5H5zm0 7.8h14v-1.5H5v1.5zM5 19h14v-1.5H5V19z"})});var u_=o(L(),1),MT=o(v(),1),q0=(0,MT.jsx)(u_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MT.jsx)(u_.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})});var m_=o(L(),1),AT=o(v(),1),RT=(0,AT.jsx)(m_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AT.jsx)(m_.Path,{d:"M4 9v1.5h16V9H4zm12 5.5h4V13h-4v1.5zm-6 0h4V13h-4v1.5zm-6 0h4V13H4v1.5z"})});var p_=o(L(),1),zT=o(v(),1),VT=(0,zT.jsx)(p_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zT.jsx)(p_.Path,{d:"M18.5 10a1.5 1.5 0 0 1 1.5 1.5v7a1.5 1.5 0 0 1-1.5 1.5h-7a1.5 1.5 0 0 1-1.5-1.5v-7a1.5 1.5 0 0 1 1.5-1.5zM16 4a2 2 0 0 1 2 2v2h-1.5V6a.5.5 0 0 0-.5-.5H6a.5.5 0 0 0-.5.5v3H8v1.5H5.5V16a.5.5 0 0 0 .5.5h2V18H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z"})});var d_=o(L(),1),FT=o(v(),1),Tp=(0,FT.jsx)(d_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FT.jsx)(d_.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-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})});var f_=o(L(),1),HT=o(v(),1),OT=(0,HT.jsx)(f_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HT.jsx)(f_.Path,{d:"M6.6 6L5.4 7l4.5 5-4.5 5 1.1 1 5.5-6-5.4-6zm6 0l-1.1 1 4.5 5-4.5 5 1.1 1 5.5-6-5.5-6z"})});var h_=o(L(),1),jT=o(v(),1),UT=(0,jT.jsx)(h_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jT.jsx)(h_.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12-9.8c.4 0 .8-.3.9-.7l1.1-3h3.6l.5 1.7h1.9L13 9h-2.2l-3.4 9.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12H20V6c0-1.1-.9-2-2-2zm-6 7l1.4 3.9h-2.7L12 11z"})});var g_=o(L(),1),GT=o(v(),1),WT=(0,GT.jsx)(g_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GT.jsx)(g_.Path,{d:"M17.5 9V6a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v3H8V6a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v3h1.5Zm0 6.5V18a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-2.5H8V18a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5v-2.5h1.5ZM4 13h16v-1.5H4V13Z"})});var Z0=o(L(),1),K0=o(v(),1),Fc=(0,K0.jsxs)(Z0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,K0.jsx)(Z0.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,K0.jsx)(Z0.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 Pf=o(L(),1),Bf=o(v(),1),$T=(0,Bf.jsxs)(Pf.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,Bf.jsx)(Pf.Path,{d:"M14.5 5.5h-7V7h7V5.5ZM7.5 9h7v1.5h-7V9Zm7 3.5h-7V14h7v-1.5Z"}),(0,Bf.jsx)(Pf.Path,{d:"M16 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM6 3.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V4a.5.5 0 0 1 .5-.5Z"}),(0,Bf.jsx)(Pf.Path,{d:"M20 8v11c0 .69-.31 1-.999 1H6v1.5h13.001c1.52 0 2.499-.982 2.499-2.5V8H20Z"})]});var v_=o(L(),1),qT=o(v(),1),ZT=(0,qT.jsx)(v_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,qT.jsx)(v_.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 b_=o(L(),1),KT=o(v(),1),Pp=(0,KT.jsx)(b_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KT.jsx)(b_.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})});var y_=o(L(),1),QT=o(v(),1),Q0=(0,QT.jsx)(y_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QT.jsx)(y_.Path,{d:"m21.5 9.1-6.6-6.6-4.2 5.6c-1.2-.1-2.4.1-3.6.7-.1 0-.1.1-.2.1-.5.3-.9.6-1.2.9l3.7 3.7-5.7 5.7v1.1h1.1l5.7-5.7 3.7 3.7c.4-.4.7-.8.9-1.2.1-.1.1-.2.2-.3.6-1.1.8-2.4.6-3.6l5.6-4.1zm-7.3 3.5.1.9c.1.9 0 1.8-.4 2.6l-6-6c.8-.4 1.7-.5 2.6-.4l.9.1L15 4.9 19.1 9l-4.9 3.6z"})});var __=o(L(),1),YT=o(v(),1),XT=(0,YT.jsx)(__.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,YT.jsx)(__.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})});var x_=o(L(),1),JT=o(v(),1),If=(0,JT.jsx)(x_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,JT.jsx)(x_.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})});var k_=o(L(),1),eP=o(v(),1),tP=(0,eP.jsx)(k_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eP.jsx)(k_.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM7 9h10v6H7V9Z"})});var w_=o(L(),1),rP=o(v(),1),oP=(0,rP.jsx)(w_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rP.jsx)(w_.Path,{d:"M5 5.5h8V4H5v1.5ZM5 20h8v-1.5H5V20ZM19 9H5v6h14V9Z"})});var C_=o(L(),1),aP=o(v(),1),nP=(0,aP.jsx)(C_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aP.jsx)(C_.Path,{d:"M19 5.5h-8V4h8v1.5ZM19 20h-8v-1.5h8V20ZM5 9h14v6H5V9Z"})});var S_=o(L(),1),iP=o(v(),1),Bp=(0,iP.jsx)(S_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,iP.jsx)(S_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M10 4.5a1 1 0 11-2 0 1 1 0 012 0zm1.5 0a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm2.25 7.5v-1A2.75 2.75 0 0011 8.25H7A2.75 2.75 0 004.25 11v1h1.5v-1c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v1h1.5zM4 20h9v-1.5H4V20zm16-4H4v-1.5h16V16z"})});var T_=o(L(),1),lP=o(v(),1),Nf=(0,lP.jsx)(T_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lP.jsx)(T_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 4H4v1.5h16V4zm-2 9h-3c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5h-3c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3zM4 9.5h9V8H4v1.5zM9 13H6c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h3c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2zm.5 5c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-3c0-.3.2-.5.5-.5h3c.3 0 .5.2.5.5v3z"})});var P_=o(L(),1),sP=o(v(),1),Y0=(0,sP.jsx)(P_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,sP.jsx)(P_.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-2.2 6.6H7l1.6-2.2c.3-.4.5-.7.6-.9.1-.2.2-.4.2-.5 0-.2-.1-.3-.1-.4-.1-.1-.2-.1-.4-.1s-.4 0-.6.1c-.3.1-.5.3-.7.4l-.2.2-.2-1.2.1-.1c.3-.2.5-.3.8-.4.3-.1.6-.1.9-.1.3 0 .6.1.9.2.2.1.4.3.6.5.1.2.2.5.2.7 0 .3-.1.6-.2.9-.1.3-.4.7-.7 1.1l-.5.6h1.6v1.2z"})});var B_=o(L(),1),cP=o(v(),1),uP=(0,cP.jsx)(B_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,cP.jsx)(B_.Path,{d:"M13 8H4v1.5h9V8zM4 4v1.5h16V4H4zm9 8H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1V13c0-.6-.4-1-1-1zm-.5 6.6H6.7l-1.2 1.2v-6.3h7v5.1z"})});var I_=o(L(),1),mP=o(v(),1),pP=(0,mP.jsx)(I_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mP.jsx)(I_.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})});var N_=o(L(),1),dP=o(v(),1),fP=(0,dP.jsx)(N_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dP.jsx)(N_.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})});var X0=o(L(),1),J0=o(v(),1),e1=(0,J0.jsxs)(X0.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,J0.jsx)(X0.Path,{d:"M11.696 13.972c.356-.546.599-.958.728-1.235a1.79 1.79 0 00.203-.783c0-.264-.077-.47-.23-.618-.148-.153-.354-.23-.618-.23-.295 0-.569.07-.82.212a3.413 3.413 0 00-.738.571l-.147-1.188c.289-.234.59-.41.903-.526.313-.117.66-.175 1.041-.175.375 0 .695.08.959.24.264.153.46.362.59.626.135.265.203.556.203.876 0 .362-.08.734-.24 1.115-.154.381-.427.87-.82 1.466l-.756 1.152H14v1.106h-4l1.696-2.609z"}),(0,J0.jsx)(X0.Path,{d:"M19.5 7h-15v12a.5.5 0 00.5.5h14a.5.5 0 00.5-.5V7zM3 7V5a2 2 0 012-2h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"})]});var E_=o(L(),1),hP=o(v(),1),gP=(0,hP.jsx)(E_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hP.jsx)(E_.Path,{d:"M8.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H4v-3h4.001ZM4 20h9v-1.5H4V20Zm16-4H4v-1.5h16V16ZM13.001 3.984V9.47c0 1.518-.98 2.5-2.499 2.5h-.5v-1.5h.5c.69 0 1-.31 1-1V6.984H9v-3h4.001Z"})});var D_=o(L(),1),vP=o(v(),1),bP=(0,vP.jsx)(D_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vP.jsx)(D_.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 L_=o(L(),1),yP=o(v(),1),t1=(0,yP.jsx)(L_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yP.jsx)(L_.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 M_=o(L(),1),_P=o(v(),1),xP=(0,_P.jsx)(M_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,_P.jsx)(M_.Path,{d:"M8.1 12.3c.1.1.3.3.5.3.2.1.4.1.6.1.2 0 .4 0 .6-.1.2-.1.4-.2.5-.3l3-3c.3-.3.5-.7.5-1.1 0-.4-.2-.8-.5-1.1L9.7 3.5c-.1-.2-.3-.3-.5-.3H5c-.4 0-.8.4-.8.8v4.2c0 .2.1.4.2.5l3.7 3.6zM5.8 4.8h3.1l3.4 3.4v.1l-3 3 .5.5-.7-.5-3.3-3.4V4.8zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})});var A_=o(L(),1),kP=o(v(),1),wP=(0,kP.jsx)(A_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,kP.jsx)(A_.Path,{d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v12zM7 16.5h6V15H7v1.5zm4-4h6V11h-6v1.5zM9 11H7v1.5h2V11zm6 5.5h2V15h-2v1.5z"})});var R_=o(L(),1),CP=o(v(),1),SP=(0,CP.jsx)(R_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,CP.jsx)(R_.Path,{d:"M11.6 7l-1.1-1L5 12l5.5 6 1.1-1L7 12l4.6-5zm6 0l-1.1-1-5.5 6 5.5 6 1.1-1-4.6-5 4.6-5z"})});var z_=o(L(),1),TP=o(v(),1),PP=(0,TP.jsx)(z_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,TP.jsx)(z_.Path,{d:"M4 18h6V6H4v12zm9-9.5V10h7V8.5h-7zm0 7h7V14h-7v1.5z"})});var V_=o(L(),1),BP=o(v(),1),IP=(0,BP.jsx)(V_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,BP.jsx)(V_.Path,{d:"M14 6v12h6V6h-6zM4 10h7V8.5H4V10zm0 5.5h7V14H4v1.5z"})});var F_=o(L(),1),NP=o(v(),1),EP=(0,NP.jsx)(F_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,NP.jsx)(F_.Path,{d:"M18 8H6c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c0-1.1-.9-2-2-2zm.5 6c0 .3-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5v-4c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v4zM4 4v1.5h16V4H4zm0 16h16v-1.5H4V20z"})});var H_=o(L(),1),DP=o(v(),1),r1=(0,DP.jsx)(H_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,DP.jsx)(H_.Path,{d:"M5 13.5h3v-3H5v3zm5 0h3v-3h-3v3zM17 9l-1 1 2 2-2 2 1 1 3-3-3-3z"})});var O_=o(L(),1),LP=o(v(),1),o1=(0,LP.jsx)(O_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LP.jsx)(O_.Path,{d:"M4 13.5h6v-3H4v3zm8.2-2.5.8-.3V14h1V9.3l-2.2.7.4 1zm7.1-1.2c-.5-.6-1.2-.5-1.7-.4-.3.1-.5.2-.7.3l.1 1.1c.2-.2.5-.4.8-.5.3-.1.6 0 .7.1.2.3 0 .8-.2 1.1-.5.8-.9 1.6-1.4 2.5h2.7v-1h-.9c.3-.6.8-1.4.9-2.1 0-.3-.1-.8-.3-1.1z"})});var j_=o(L(),1),MP=o(v(),1),a1=(0,MP.jsx)(j_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MP.jsx)(j_.Path,{d:"M16 10.5v3h3v-3h-3zm-5 3h3v-3h-3v3zM7 9l-3 3 3 3 1-1-2-2 2-2-1-1z"})});var U_=o(L(),1),AP=o(v(),1),n1=(0,AP.jsx)(U_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AP.jsx)(U_.Path,{d:"M4 13.5h6v-3H4v3zm8 0h3v-3h-3v3zm5-3v3h3v-3h-3z"})});var G_=o(L(),1),RP=o(v(),1),zP=(0,RP.jsx)(G_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RP.jsx)(G_.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})});var W_=o(L(),1),VP=o(v(),1),FP=(0,VP.jsx)(W_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VP.jsx)(W_.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"m13.955 20.748 8-17.5-.91-.416L19.597 6H13.5v1.5h5.411l-1.6 3.5H13.5v1.5h3.126l-1.6 3.5H13.5l.028 1.5h.812l-1.295 2.832.91.416ZM17.675 16l-.686 1.5h4.539L21.5 16h-3.825Zm2.286-5-.686 1.5H21.5V11h-1.54ZM2 12c0 3.58 2.42 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.48 0-4.5-1.52-4.5-4S5.52 7.5 8 7.5h3.5V6H8c-3.58 0-6 2.42-6 6Z"})});var $_=o(L(),1),HP=o(v(),1),OP=(0,HP.jsx)($_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,HP.jsx)($_.Path,{d:"M7 18h4.5v1.5h-7v-7H6V17L17 6h-4.5V4.5h7v7H18V7L7 18Z"})});var q_=o(L(),1),jP=o(v(),1),UP=(0,jP.jsx)(q_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,jP.jsx)(q_.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 Z_=o(L(),1),GP=o(v(),1),i1=(0,GP.jsx)(Z_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,GP.jsx)(Z_.Path,{d:"M5 10.2h-.8v1.5H5c1.9 0 3.8.8 5.1 2.1 1.4 1.4 2.1 3.2 2.1 5.1v.8h1.5V19c0-2.3-.9-4.5-2.6-6.2-1.6-1.6-3.8-2.6-6.1-2.6zm10.4-1.6C12.6 5.8 8.9 4.2 5 4.2h-.8v1.5H5c3.5 0 6.9 1.4 9.4 3.9s3.9 5.8 3.9 9.4v.8h1.5V19c0-3.9-1.6-7.6-4.4-10.4zM4 20h3v-3H4v3z"})});var K_=o(L(),1),WP=o(v(),1),l1=(0,WP.jsx)(K_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,WP.jsx)(K_.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 Q_=o(L(),1),$P=o(v(),1),qP=(0,$P.jsx)(Q_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,$P.jsx)(Q_.Path,{d:"M4.5 12.5v4H3V7h1.5v3.987h15V7H21v9.5h-1.5v-4h-15Z"})});var Y_=o(L(),1),ZP=o(v(),1),s1=(0,ZP.jsx)(Y_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,ZP.jsx)(Y_.Path,{d:"M9 11.8l6.1-4.5c.1.4.4.7.9.7h2c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-2c-.6 0-1 .4-1 1v.4l-6.4 4.8c-.2-.1-.4-.2-.6-.2H6c-.6 0-1 .4-1 1v2c0 .6.4 1 1 1h2c.2 0 .4-.1.6-.2l6.4 4.8v.4c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-2c0-.6-.4-1-1-1h-2c-.5 0-.8.3-.9.7L9 12.2v-.4z"})});var X_=o(L(),1),KP=o(v(),1),c1=(0,KP.jsx)(X_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,KP.jsx)(X_.Path,{d:"M16 4.2v1.5h2.5v12.5H16v1.5h4V4.2h-4zM4.2 19.8h4v-1.5H5.8V5.8h2.5V4.2h-4l-.1 15.6zm5.1-3.1l1.4.6 4-10-1.4-.6-4 10z"})});var J_=o(L(),1),QP=o(v(),1),YP=(0,QP.jsx)(J_.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,QP.jsx)(J_.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.5zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})});var ex=o(L(),1),XP=o(v(),1),JP=(0,XP.jsx)(ex.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,XP.jsx)(ex.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-8Zm0 1.5c3.4 0 6.2 2.7 6.5 6l-1.2-.6-.8-.4c-.1 0-.2 0-.3-.1H16c-.1-.2-.4-.2-.7 0l-2.9 2.1L9 11.3h-.7L5.5 13v-1.1c0-3.6 2.9-6.5 6.5-6.5Zm0 13c-2.7 0-5-1.7-6-4l2.8-1.7 3.5 1.2h.4s.2 0 .4-.2l2.9-2.1.4.2c.6.3 1.4.7 2.1 1.1-.5 3.1-3.2 5.4-6.4 5.4Z"})});var tx=o(L(),1),eB=o(v(),1),tB=(0,eB.jsx)(tx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,eB.jsx)(tx.Path,{fill:"none",d:"M5.75 12.75V18.25H11.25M12.75 5.75H18.25V11.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square"})});var rx=o(L(),1),rB=o(v(),1),oB=(0,rB.jsx)(rx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,rB.jsx)(rx.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 ox=o(L(),1),aB=o(v(),1),u1=(0,aB.jsx)(ox.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,aB.jsx)(ox.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-17.6 1L10 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 ax=o(L(),1),nB=o(v(),1),iB=(0,nB.jsx)(ax.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,nB.jsx)(ax.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 nx=o(L(),1),lB=o(v(),1),sB=(0,lB.jsx)(nx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,lB.jsx)(nx.Path,{d:"M4 16.5h13V15H4v1.5ZM4 12v1.5h16V12H4Zm1.5-4.2c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8H5.6c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8Z"})});var ix=o(L(),1),cB=o(v(),1),uB=(0,cB.jsx)(ix.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,cB.jsx)(ix.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm0-5.5h-4v-4h4v4Zm0-5.5h-4V5c0-.3.2-.5.5-.5h3.5v4Zm11 10.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14Zm-4-10.8H14v3h-3v1.5h3v3h1.5v-3h3v-1.5h-3v-3Z"})});var lx=o(L(),1),mB=o(v(),1),pB=(0,mB.jsx)(lx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,mB.jsx)(lx.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1 .8 1.9 1.8 2H19.2c.9-.1 1.7-.9 1.8-1.8V5c0-1.1-.9-2-2-2Zm-5 16.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h9v15Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19Zm0-5h-4v-4h4v4Zm0-5.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-11 7.3H10v-3h3v-1.5h-3v-3H8.5v3h-3v1.5h3v3Z"})});var sx=o(L(),1),dB=o(v(),1),fB=(0,dB.jsx)(sx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,dB.jsx)(sx.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14.2c.1.9.9 1.7 1.8 1.8H19.2c1-.1 1.8-1 1.8-2V5c0-1.1-.9-2-2-2ZM8.5 19.5H5c-.3 0-.5-.2-.5-.5V5c0-.3.2-.5.5-.5h3.5v15Zm11-.5c0 .3-.2.5-.5.5h-9v-15h9c.3 0 .5.2.5.5v14ZM16.9 8.8l-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1L18 9.9l-1.1-1.1Z"})});var m1=o(L(),1),p1=o(v(),1),d1=(0,p1.jsxs)(m1.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,p1.jsx)(m1.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 9.484h-8.889v-1.5H20v1.5Zm0 7h-4.889v-1.5H20v1.5Zm-14 .032a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),(0,p1.jsx)(m1.Path,{d:"M13 15.516a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 8.484a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"})]});var cx=o(L(),1),hB=o(v(),1),gB=(0,hB.jsx)(cx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,hB.jsx)(cx.Path,{d:"M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm-9 1.5h4v4h-4v-4ZM4.5 5c0-.3.2-.5.5-.5h3.5v4h-4V5Zm15 14c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-4v-4H19c.3 0 .5.2.5.5v3.5Zm-8.3 10h1.5v-3h3V14h-3v-3h-1.5v3h-3v1.5h3v3Z"})});var ux=o(L(),1),vB=o(v(),1),bB=(0,vB.jsx)(ux.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,vB.jsx)(ux.Path,{d:"M21 5c0-1.1-.9-2-2-2H5c-1 0-1.9.8-2 1.8V19.2c.1.9.9 1.7 1.8 1.8H19c1.1 0 2-.9 2-2V5ZM4.5 14V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v9h-15Zm4 5.5H5c-.3 0-.5-.2-.5-.5v-3.5h4v4Zm5.5 0h-4v-4h4v4Zm5.5-.5c0 .3-.2.5-.5.5h-3.5v-4h4V19ZM11.2 10h-3V8.5h3v-3h1.5v3h3V10h-3v3h-1.5v-3Z"})});var mx=o(L(),1),yB=o(v(),1),_B=(0,yB.jsx)(mx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,yB.jsx)(mx.Path,{d:"M19 3H4.8c-.9.1-1.7.9-1.8 1.8V19.2c.1 1 1 1.8 2 1.8h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5v-9h15v9Zm0-10.5h-15V5c0-.3.2-.5.5-.5h14c.3 0 .5.2.5.5v3.5Zm-9.6 9.4 2.1-2.1 2.1 2.1 1.1-1.1-2.1-2.1 2.1-2.1-1.1-1.1-2.1 2.1-2.1-2.1-1.1 1.1 2.1 2.1-2.1 2.1 1.1 1.1Z"})});var px=o(L(),1),xB=o(v(),1),kB=(0,xB.jsx)(px.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xB.jsx)(px.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm.5 2v6.2h-6.8V4.4h6.2c.3 0 .5.2.5.5ZM5 4.5h6.2v6.8H4.4V5.1c0-.3.2-.5.5-.5ZM4.5 19v-6.2h6.8v6.8H5.1c-.3 0-.5-.2-.5-.5Zm14.5.5h-6.2v-6.8h6.8v6.2c0 .3-.2.5-.5.5Z"})});var dx=o(L(),1),wB=o(v(),1),CB=(0,wB.jsx)(dx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,wB.jsx)(dx.Path,{d:"M14 11.25a.25.25 0 0 0-.25-.25h-3.5a.25.25 0 0 0-.25.25v2.5H8.5v-2.5c0-.966.784-1.75 1.75-1.75h3.5c.966 0 1.75.784 1.75 1.75v2.5H14v-2.5Z"})});var fx=o(L(),1),SB=o(v(),1),TB=(0,SB.jsx)(fx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,SB.jsx)(fx.Path,{d:"M18.2 9.5h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5v-2.5c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5v-2.5c0-1-.8-1.8-1.8-1.8Zm-9 0H5.7c-1 0-1.8.8-1.8 1.8v2.5h7v-2.5c0-1-.8-1.8-1.8-1.8Z"})});var hx=o(L(),1),PB=o(v(),1),BB=(0,PB.jsx)(hx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,PB.jsx)(hx.Path,{d:"M4 16.5h13V15H4v1.5Zm0-3h16V12H4v1.5ZM18.2 6h-3.5c-1 0-1.8.8-1.8 1.8v2.5h1.5V7.8c0-.1.1-.2.2-.2h3.5c.1 0 .2.1.2.2v2.5h1.5V7.8c0-1-.8-1.8-1.8-1.8ZM11 7.8c0-1-.8-1.8-1.8-1.8H5.7c-1 0-1.8.8-1.8 1.8v2.5h7V7.8Z"})});var gx=o(L(),1),IB=o(v(),1),f1=(0,IB.jsx)(gx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,IB.jsx)(gx.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 h1=o(L(),1),g1=o(v(),1),NB=(0,g1.jsxs)(h1.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,g1.jsx)(h1.Path,{d:"M 12.841306,16.677917 12.001264,12.71529 Q 11.835801,11.930402 11.695793,11.417042 11.560029,10.89944 11.398809,10.568514 11.237588,10.237588 11,10 10.635133,9.6351329 10.219354,9.6351329 9.8078183,9.6308902 9.4387086,10 8.9932313,10.445477 8.8574668,11.022476 8.7259449,11.595233 8.7259449,12.155262 L 7.4955791,11.196425 Q 7.5719467,10.509117 7.8307477,9.9109045 8.0937915,9.3084495 8.6410921,8.7611489 9.1799075,8.2223335 9.7569066,8.086569 q 0.5812414,-0.1400071 1.1242994,0.046669 0.543058,0.1866762 0.975808,0.6194255 0.335168,0.3351686 0.581242,0.767918 0.24183,0.4285067 0.436992,1.0564174 0.195161,0.619426 0.381837,1.527351 l 0.364867,1.756453 1.883733,-1.883732 1.018234,1.018233 z"}),(0,g1.jsx)(h1.Path,{d:"M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z"})]});var vx=o(L(),1),EB=o(v(),1),DB=(0,EB.jsx)(vx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,EB.jsx)(vx.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})});var v1=o(L(),1),b1=o(v(),1),LB=(0,b1.jsxs)(v1.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,b1.jsx)(v1.Path,{d:"m14.95 13.889-1.061 1.061-5.552-5.553 1.06-1.06 5.552 5.552Z"}),(0,b1.jsx)(v1.Path,{d:"M12.574 4a.75.75 0 0 1 .53.22l6.723 6.724a2.315 2.315 0 0 1 0 3.264l-.532-.528.531.53-5.61 5.611a2.31 2.31 0 0 1-3.276.001l-6.72-6.716a.75.75 0 0 1-.22-.53V4.75A.75.75 0 0 1 4.75 4h7.824ZM5.5 5.5v6.764l6.501 6.497a.817.817 0 0 0 .889.178.816.816 0 0 0 .264-.178l5.61-5.61a.816.816 0 0 0-.001-1.149l-6.5-6.502H5.5Z"})]});var bx=o(L(),1),MB=o(v(),1),y1=(0,MB.jsx)(bx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,MB.jsx)(bx.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 16.5c-4.1 0-7.5-3.4-7.5-7.5S7.9 4.5 12 4.5s7.5 3.4 7.5 7.5-3.4 7.5-7.5 7.5zM12 7l-1 5c0 .3.2.6.4.8l4.2 2.8-2.7-4.1L12 7z"})});var yx=o(L(),1),AB=o(v(),1),El=(0,AB.jsx)(yx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,AB.jsx)(yx.Path,{d:"m4 5.5h2v6.5h1.5v-6.5h2v-1.5h-5.5zm16 10.5h-16v-1.5h16zm-7 4h-9v-1.5h9z"})});var _x=o(L(),1),RB=o(v(),1),Hc=(0,RB.jsx)(_x.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,RB.jsx)(_x.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 xx=o(L(),1),zB=o(v(),1),_1=(0,zB.jsx)(xx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,zB.jsx)(xx.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 kx=o(L(),1),VB=o(v(),1),Ef=(0,VB.jsx)(kx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,VB.jsx)(kx.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 wx=o(L(),1),FB=o(v(),1),HB=(0,FB.jsx)(wx.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,FB.jsx)(wx.Path,{d:"M19 5c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V7c0-1.1.9-2 2-2zM5 6.5c-.3 0-.5.2-.5.5v10c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5V7c0-.3-.2-.5-.5-.5zM14.734 9q.714 0 1.15.253.437.247.639.84.2.591.2 1.61v1.15q0 .402.036.667.04.258.172.39.138.127.437.127h.104l-.162.828h-.08q-.5 0-.776-.097a.9.9 0 0 1-.414-.283 2 2 0 0 1-.259-.448q-.316.367-.748.598-.43.23-.977.23-.524 0-.914-.213a1.56 1.56 0 0 1-.61-.58 1.65 1.65 0 0 1-.213-.84q0-.477.207-.817.213-.345.564-.568.357-.23.794-.363.437-.139.902-.196.471-.062.902-.068 0-.805-.315-1.053-.316-.247-.915-.247-.316 0-.678.098-.356.097-.805.408l-.15-.84a2.8 2.8 0 0 1 .846-.419A3.4 3.4 0 0 1 14.734 9m-5.877 1.669H9.86l.59-1.531h.689l-.585 1.53h.898l-.249.727h-.922l-.337.866h1.019l-.354.773h-.962l-.681 1.804h-.701l.69-1.804h-.999l-.693 1.804h-.69l.685-1.804H6.3l.34-.773h.915l.333-.866h-.994l.244-.726H8.16l.594-1.531h.693zm6.832 1.264q-.823.029-1.335.16-.506.133-.74.397-.236.265-.236.685 0 .454.241.66.248.202.632.202.414 0 .8-.207.39-.207.637-.552zm-7.441.328h1l.34-.866h-1z"})});var ya=o(T(),1),li=o(P(),1),To=o(M(),1),Df=o(V(),1),Tx=o(W(),1);var Cx=o(V(),1),Ip=o(U(),1),$u=o(Rr(),1),OB=o(T(),1),nV=o(Q(),1),iV=o(me(),1);function Sx(e,t,r){return(0,Cx.useSelect)(a=>a(nV.store).canUser("update",{kind:e,name:t,id:r}),[e,t,r])}function Es(e={}){let t=(0,Ip.useRef)(e),r=(0,Ip.useRef)(!1),{getSettings:a}=(0,Cx.useSelect)(OB.store);(0,Ip.useLayoutEffect)(()=>{t.current=e}),(0,Ip.useEffect)(()=>{if(r.current||!t.current.url||!(0,$u.isBlobURL)(t.current.url))return;let n=(0,$u.getBlobByURL)(t.current.url);if(!n)return;let{url:i,allowedTypes:l,onChange:s,onError:c}=t.current,{mediaUpload:u}=a();u&&(r.current=!0,u({filesList:[n],allowedTypes:l,onFileChange:([m])=>{(0,$u.isBlobURL)(m?.url)||((0,$u.revokeBlobURL)(i),s(m),r.current=!1)},onError:m=>{(0,$u.revokeBlobURL)(i),c(m),r.current=!1}}))},[a])}function x1(){return(0,Cx.useSelect)(t=>{let{getSettings:r}=t(OB.store),{__experimentalDiscussionSettings:a}=r();return a?.avatarURL??""},[])}function q(){return(0,iV.useViewportMatch)("medium","<")?{}:{popoverProps:{placement:"left-start",offset:259}}}var _r=o(v(),1),jB="core/accordion-item",wfe="core/accordion-heading",Cfe={name:jB};function lV({attributes:{autoclose:e,iconPosition:t,showIcon:r,headingLevel:a,levelOptions:n},clientId:i,setAttributes:l,isSelected:s}){let c=(0,Df.useRegistry)(),{getBlockOrder:u}=(0,Df.useSelect)(ya.store),m=(0,ya.useBlockProps)({role:"group"}),p=q(),{updateBlockAttributes:d,insertBlock:f}=(0,Df.useDispatch)(ya.store),g=(0,ya.useBlockEditingMode)()==="contentOnly",b=(0,ya.useInnerBlocksProps)(m,{template:[[jB]],defaultBlock:Cfe,directInsert:!0,templateInsertUpdatesSelection:!0});return(0,_r.jsxs)(_r.Fragment,{children:[s&&!g&&(0,_r.jsxs)(_r.Fragment,{children:[(0,_r.jsx)(ya.BlockControls,{children:(0,_r.jsx)(To.ToolbarGroup,{children:(0,_r.jsx)(ya.HeadingLevelDropdown,{value:a,options:n,onChange:_=>{let x=u(i),S=[];x.forEach(C=>{let N=u(C);S.push(...N)}),c.batch(()=>{l({headingLevel:_}),d(S,{level:_})})}})})}),(0,_r.jsx)(ya.BlockControls,{group:"other",children:(0,_r.jsx)(To.ToolbarButton,{onClick:()=>{let _=(0,Tx.createBlock)(jB,{},[(0,Tx.createBlock)(wfe,{level:a}),(0,Tx.createBlock)("core/accordion-panel",{})]);f(_,void 0,i)},children:(0,li.__)("Add item")})})]}),(0,_r.jsx)(ya.InspectorControls,{children:(0,_r.jsxs)(To.__experimentalToolsPanel,{label:(0,li.__)("Settings"),resetAll:()=>{l({autoclose:!1,showIcon:!0,iconPosition:"right"})},dropdownMenuProps:p,children:[(0,_r.jsx)(To.__experimentalToolsPanelItem,{label:(0,li.__)("Auto-close"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>l({autoclose:!1}),children:(0,_r.jsx)(To.ToggleControl,{isBlock:!0,label:(0,li.__)("Auto-close"),onChange:_=>{l({autoclose:_})},checked:e,help:(0,li.__)("Automatically close accordions when a new one is opened.")})}),(0,_r.jsx)(To.__experimentalToolsPanelItem,{label:(0,li.__)("Show icon"),isShownByDefault:!0,hasValue:()=>!r,onDeselect:()=>l({showIcon:!0}),children:(0,_r.jsx)(To.ToggleControl,{isBlock:!0,label:(0,li.__)("Show icon"),onChange:_=>{l({showIcon:_,iconPosition:_?t:"right"})},checked:r,help:(0,li.__)("Display a plus icon next to the accordion header.")})}),r&&(0,_r.jsx)(To.__experimentalToolsPanelItem,{label:(0,li.__)("Icon Position"),isShownByDefault:!0,hasValue:()=>t!=="right",onDeselect:()=>l({iconPosition:"right"}),children:(0,_r.jsxs)(To.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,isBlock:!0,label:(0,li.__)("Icon Position"),value:t,onChange:_=>{l({iconPosition:_})},children:[(0,_r.jsx)(To.__experimentalToggleGroupControlOption,{label:(0,li.__)("Left"),value:"left"}),(0,_r.jsx)(To.__experimentalToggleGroupControlOption,{label:(0,li.__)("Right"),value:"right"})]})})]})},"setting"),(0,_r.jsx)("div",{...b})]})}var Px=o(T(),1),sV=o(v(),1);function cV(){let e=Px.useBlockProps.save({role:"group"});return(0,sV.jsx)("div",{...Px.useInnerBlocksProps.save(e)})}var Bx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion",title:"Accordion",category:"design",description:"Displays a foldable layout that groups content in collapsible sections.",example:{},supports:{anchor:!0,html:!1,align:["wide","full"],background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{background:!0,gradients:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},spacing:{padding:!0,margin:["top","bottom"],blockGap:!0},shadow:!0,layout:!0,ariaLabel:!0,interactivity:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},contentRole:!0,listView:!0},attributes:{iconPosition:{type:"string",default:"right"},showIcon:{type:"boolean",default:!0},autoclose:{type:"boolean",default:!1},headingLevel:{type:"number",default:3},levelOptions:{type:"array"}},providesContext:{"core/accordion-icon-position":"iconPosition","core/accordion-show-icon":"showIcon","core/accordion-heading-level":"headingLevel"},allowedBlocks:["core/accordion-item"],textdomain:"default",viewScriptModule:"@wordpress/block-library/accordion/view"};var uV=o(W(),1);function E(e){if(!e)return;let{metadata:t,settings:r,name:a}=e;return(0,uV.registerBlockType)({name:a,...t},r)}var{name:mV}=Bx,pV={icon:CS,example:{innerBlocks:[{name:"core/accordion-item",innerBlocks:[{name:"core/accordion-heading",attributes:{title:(0,UB.__)("Lorem ipsum dolor sit amet, consectetur.")}}]},{name:"core/accordion-item",innerBlocks:[{name:"core/accordion-heading",attributes:{title:(0,UB.__)("Suspendisse commodo lacus, interdum et.")}}]}]},edit:lV,save:cV},Tfe=()=>E({name:mV,metadata:Bx,settings:pV});var WB={};Z(WB,{init:()=>Ife,metadata:()=>Nx,name:()=>vV,settings:()=>bV});var k1=o(P(),1),qu=o(T(),1),dV=o(V(),1),Lf=o(M(),1);var Ds=o(v(),1),Pfe=[["core/accordion-heading"],["core/accordion-panel"]];function fV({attributes:e,clientId:t,setAttributes:r,isSelected:a}){let{openByDefault:n}=e,i=q(),{isSelected:l}=(0,dV.useSelect)(u=>a||n?{isSelected:!0}:{isSelected:u(qu.store).hasSelectedInnerBlock(t,!0)},[t,a,n]),s=(0,qu.useBlockProps)({className:w({"is-open":n||l})}),c=(0,qu.useInnerBlocksProps)(s,{template:Pfe,templateLock:"all",directInsert:!0,templateInsertUpdatesSelection:!0});return(0,Ds.jsxs)(Ds.Fragment,{children:[(0,Ds.jsx)(qu.InspectorControls,{children:(0,Ds.jsx)(Lf.__experimentalToolsPanel,{label:(0,k1.__)("Settings"),resetAll:()=>{r({openByDefault:!1})},dropdownMenuProps:i,children:(0,Ds.jsx)(Lf.__experimentalToolsPanelItem,{label:(0,k1.__)("Open by default"),isShownByDefault:!0,hasValue:()=>!!n,onDeselect:()=>{r({openByDefault:!1})},children:(0,Ds.jsx)(Lf.ToggleControl,{label:(0,k1.__)("Open by default"),onChange:u=>{r({openByDefault:u})},checked:n,help:(0,k1.__)("Accordion content will be displayed by default.")})})})},"setting"),(0,Ds.jsx)("div",{...c})]})}var Ix=o(T(),1);var hV=o(v(),1);function gV({attributes:e}){let{openByDefault:t}=e,r=Ix.useBlockProps.save({className:w({"is-open":t})}),a=Ix.useInnerBlocksProps.save(r);return(0,hV.jsx)("div",{...a})}var Nx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion-item",title:"Accordion Item",category:"design",description:"Wraps the heading and panel in one unit.",parent:["core/accordion"],allowedBlocks:["core/accordion-heading","core/accordion-panel"],supports:{html:!1,color:{background:!0,gradients:!0},interactivity:!0,spacing:{margin:["top","bottom"],blockGap:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},shadow:!0,layout:{allowEditing:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},contentRole:!0},attributes:{openByDefault:{type:"boolean",default:!1}},providesContext:{"core/accordion-open-by-default":"openByDefault"},textdomain:"default",style:"wp-block-accordion-item"};var{name:vV}=Nx,bV={icon:wS,edit:fV,save:gV},Ife=()=>E({name:vV,metadata:Nx,settings:bV});var $B={};Z($B,{init:()=>Lfe,metadata:()=>Ex,name:()=>SV,settings:()=>TV});var yV=o(P(),1),_V=o(U(),1),Qi=o(T(),1),xV=o(V(),1),Np=o(v(),1);function kV({attributes:e,setAttributes:t,context:r}){let{title:a}=e,{"core/accordion-icon-position":n,"core/accordion-show-icon":i,"core/accordion-heading-level":l}=r,s="h"+l,{__unstableMarkNextChangeAsNotPersistent:c}=(0,xV.useDispatch)(Qi.store);(0,_V.useEffect)(()=>{n!==void 0&&i!==void 0&&(c(),t({iconPosition:n,showIcon:i}))},[n,i,t,c]);let[u,m]=(0,Qi.useSettings)("typography.fluid","layout"),p=(0,Qi.getTypographyClassesAndStyles)(e,{typography:{fluid:u},layout:{wideSize:m?.wideSize}}),d=(0,Qi.useBlockProps)(),f=(0,Qi.__experimentalGetSpacingClassesAndStyles)(e);return(0,Np.jsx)(s,{...d,children:(0,Np.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:f.style,tabIndex:"-1",children:[i&&n==="left"&&(0,Np.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Np.jsx)(Qi.RichText,{withoutInteractiveFormatting:!0,disableLineBreaks:!0,tagName:"span",value:a,onChange:h=>t({title:h}),placeholder:(0,yV.__)("Accordion title"),className:"wp-block-accordion-heading__toggle-title",style:{letterSpacing:p.style.letterSpacing,textDecoration:p.style.textDecoration}}),i&&n==="right"&&(0,Np.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}var Zu=o(T(),1),Ep=o(v(),1);function wV({attributes:e}){let{level:t,title:r,iconPosition:a,showIcon:n}=e,i="h"+(t||3),l=(0,Zu.getTypographyClassesAndStyles)(e),s=Zu.useBlockProps.save(),c=(0,Zu.__experimentalGetSpacingClassesAndStyles)(e);return(0,Ep.jsx)(i,{...s,children:(0,Ep.jsxs)("button",{type:"button",className:"wp-block-accordion-heading__toggle",style:c.style,children:[n&&a==="left"&&(0,Ep.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Ep.jsx)(Zu.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),n&&a==="right"&&(0,Ep.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}var Ex={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion-heading",title:"Accordion Heading",category:"design",description:"Displays a heading that toggles the accordion panel.",parent:["core/accordion-item"],usesContext:["core/accordion-icon-position","core/accordion-show-icon","core/accordion-heading-level"],supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:["textDecoration","letterSpacing"],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},selectors:{typography:{letterSpacing:".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title",textDecoration:".wp-block-accordion-heading .wp-block-accordion-heading__toggle-title"}},attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},textdomain:"default"};var Dl=o(T(),1),Yi=o(v(),1),Efe={attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1},save({attributes:e}){let{level:t,title:r,iconPosition:a,showIcon:n}=e,i="h"+(t||3),l=Dl.useBlockProps.save(),s=(0,Dl.__experimentalGetSpacingClassesAndStyles)(e);return(0,Yi.jsx)(i,{...l,children:(0,Yi.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:s.style,children:[n&&a==="left"&&(0,Yi.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Yi.jsx)(Dl.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r}),n&&a==="right"&&(0,Yi.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},Dfe={attributes:{openByDefault:{type:"boolean",default:!1},title:{type:"rich-text",source:"rich-text",selector:".wp-block-accordion-heading__toggle-title",role:"content"},level:{type:"number"},iconPosition:{type:"string",enum:["left","right"],default:"right"},showIcon:{type:"boolean",default:!0}},supports:{anchor:!0,color:{background:!0,gradients:!0},align:!1,interactivity:!0,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0},__experimentalSkipSerialization:!0,__experimentalSelector:".wp-block-accordion-heading__toggle"},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{__experimentalSkipSerialization:["textDecoration","letterSpacing"],fontSize:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,fontFamily:!0}},shadow:!0,visibility:!1,lock:!1},save({attributes:e}){let{level:t,title:r,iconPosition:a,showIcon:n}=e,i="h"+(t||3),l=(0,Dl.getTypographyClassesAndStyles)(e),s=Dl.useBlockProps.save(),c=(0,Dl.__experimentalGetSpacingClassesAndStyles)(e);return(0,Yi.jsx)(i,{...s,children:(0,Yi.jsxs)("button",{className:"wp-block-accordion-heading__toggle",style:c.style,children:[n&&a==="left"&&(0,Yi.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"}),(0,Yi.jsx)(Dl.RichText.Content,{className:"wp-block-accordion-heading__toggle-title",tagName:"span",value:r,style:{letterSpacing:l.style.letterSpacing,textDecoration:l.style.textDecoration}}),n&&a==="right"&&(0,Yi.jsx)("span",{className:"wp-block-accordion-heading__toggle-icon","aria-hidden":"true",children:"+"})]})})}},CV=[Efe,Dfe];var{name:SV}=Ex,TV={icon:kS,edit:kV,save:wV,deprecated:CV},Lfe=()=>E({name:SV,metadata:Ex,settings:TV});var qB={};Z(qB,{init:()=>Afe,metadata:()=>Lx,name:()=>DV,settings:()=>LV});var Mf=o(T(),1),PV=o(V(),1),BV=o(v(),1);function IV({attributes:e,context:t,clientId:r,isSelected:a}){let{allowedBlocks:n,templateLock:i}=e,l=t["core/accordion-open-by-default"],{hasSelection:s}=(0,PV.useSelect)(m=>{if(a||l)return{hasSelection:!0};let{getBlockRootClientId:p,isBlockSelected:d,hasSelectedInnerBlock:f}=m(Mf.store),h=p(r);return{hasSelection:d(h)||f(h,!0)}},[r,a,l]),c=(0,Mf.useBlockProps)({"aria-hidden":!s,role:"region"}),u=(0,Mf.useInnerBlocksProps)(c,{allowedBlocks:n,template:[["core/paragraph",{}]],templateLock:i});return(0,BV.jsx)("div",{...u})}var Dx=o(T(),1),NV=o(v(),1);function EV(){let e=Dx.useBlockProps.save({role:"region"}),t=Dx.useInnerBlocksProps.save(e);return(0,NV.jsx)("div",{...t})}var Lx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/accordion-panel",title:"Accordion Panel",category:"design",description:"Contains the hidden or revealed content beneath the heading.",parent:["core/accordion-item"],usesContext:["core/accordion-open-by-default"],supports:{html:!1,color:{background:!0,gradients:!0},interactivity:!0,spacing:{padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},shadow:!0,layout:{allowEditing:!1},visibility:!1,contentRole:!0,allowedBlocks:!0,lock:!1},attributes:{templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1],default:!1}},textdomain:"default",style:"wp-block-accordion-panel"};var{name:DV}=Lx,LV={icon:E0,edit:IV,save:EV},Afe=()=>E({name:DV,metadata:Lx,settings:LV});var ZB={};Z(ZB,{init:()=>zfe,metadata:()=>Mx,name:()=>zV,settings:()=>VV});var Mx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/archives",title:"Archives",category:"widgets",description:"Display a date archive of your posts.",textdomain:"default",attributes:{displayAsDropdown:{type:"boolean",default:!1},showLabel:{type:"boolean",default:!0},showPostCounts:{type:"boolean",default:!1},type:{type:"string",default:"monthly"}},supports:{anchor:!0,align:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},interactivity:{clientNavigation:!0}}};var $a=o(M(),1),Go=o(P(),1),Ax=o(T(),1),MV=o(Fu(),1),AV=o(me(),1);var Zr=o(v(),1);function RV({attributes:e,setAttributes:t,name:r}){let{showLabel:a,showPostCounts:n,displayAsDropdown:i,type:l}=e,s=q(),{content:c,status:u,error:m}=(0,MV.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r}),p=(0,AV.useDisabled)(),d=(0,Ax.useBlockProps)({ref:p});return(0,Zr.jsxs)(Zr.Fragment,{children:[(0,Zr.jsx)(Ax.InspectorControls,{children:(0,Zr.jsxs)($a.__experimentalToolsPanel,{label:(0,Go.__)("Settings"),resetAll:()=>{t({displayAsDropdown:!1,showLabel:!0,showPostCounts:!1,type:"monthly"})},dropdownMenuProps:s,children:[(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)("Display as dropdown"),isShownByDefault:!0,hasValue:()=>i,onDeselect:()=>t({displayAsDropdown:!1}),children:(0,Zr.jsx)($a.ToggleControl,{label:(0,Go.__)("Display as dropdown"),checked:i,onChange:()=>t({displayAsDropdown:!i})})}),i&&(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)("Show label"),isShownByDefault:!0,hasValue:()=>!a,onDeselect:()=>t({showLabel:!0}),children:(0,Zr.jsx)($a.ToggleControl,{label:(0,Go.__)("Show label"),checked:a,onChange:()=>t({showLabel:!a})})}),(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)("Show post counts"),isShownByDefault:!0,hasValue:()=>n,onDeselect:()=>t({showPostCounts:!1}),children:(0,Zr.jsx)($a.ToggleControl,{label:(0,Go.__)("Show post counts"),checked:n,onChange:()=>t({showPostCounts:!n})})}),(0,Zr.jsx)($a.__experimentalToolsPanelItem,{label:(0,Go.__)("Group by"),isShownByDefault:!0,hasValue:()=>l!=="monthly",onDeselect:()=>t({type:"monthly"}),children:(0,Zr.jsx)($a.SelectControl,{__next40pxDefaultSize:!0,label:(0,Go.__)("Group by"),options:[{label:(0,Go.__)("Year"),value:"yearly"},{label:(0,Go.__)("Month"),value:"monthly"},{label:(0,Go.__)("Week"),value:"weekly"},{label:(0,Go.__)("Day"),value:"daily"}],value:l,onChange:f=>t({type:f})})})]})}),u==="loading"&&(0,Zr.jsx)("div",{...d,children:(0,Zr.jsx)($a.Spinner,{})}),u==="error"&&(0,Zr.jsx)("div",{...d,children:(0,Zr.jsx)("p",{children:(0,Go.sprintf)((0,Go.__)("Error: %s"),m)})}),u==="success"&&(0,Zr.jsx)(uo,{wrapperProps:d,html:c})]})}var{name:zV}=Mx,VV={icon:AS,example:{},edit:RV},zfe=()=>E({name:zV,metadata:Mx,settings:VV});var QB={};Z(QB,{init:()=>Ufe,metadata:()=>Rx,name:()=>tF,settings:()=>rF});var Rx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/avatar",title:"Avatar",category:"theme",description:"Add a user\u2019s avatar.",textdomain:"default",attributes:{userId:{type:"number"},size:{type:"number",default:96},isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},usesContext:["postType","postId","commentId"],supports:{anchor:!0,html:!1,align:!0,alignWide:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{__experimentalSkipSerialization:!0,radius:!0,width:!0,color:!0,style:!0,__experimentalDefaultControls:{radius:!0}},color:{text:!1,background:!1},filter:{duotone:!0},interactivity:{clientNavigation:!0}},selectors:{border:".wp-block-avatar img",filter:{duotone:".wp-block-avatar img"}},editorStyle:"wp-block-avatar-editor",style:"wp-block-avatar"};var Dp=o(T(),1),Sn=o(M(),1),Xi=o(P(),1),Vx=o(mr(),1);var w1=o(Q(),1),Ku=o(P(),1),HV=o(V(),1);function OV(e){let t=e?e[0]:24,r=e?e[e.length-1]:96,a=Math.floor(r*2.5);return{minSize:t,maxSize:a}}function jV({commentId:e}){let[t]=(0,w1.useEntityProp)("root","comment","author_avatar_urls",e),[r]=(0,w1.useEntityProp)("root","comment","author_name",e),a=t?Object.values(t):null,n=t?Object.keys(t):null,{minSize:i,maxSize:l}=OV(n),s=x1();return{src:a?a[a.length-1]:s,minSize:i,maxSize:l,alt:r?(0,Ku.sprintf)((0,Ku.__)("%s Avatar"),r):(0,Ku.__)("Default Avatar")}}function UV({userId:e,postId:t,postType:r}){let{authorDetails:a}=(0,HV.useSelect)(u=>{let{getEditedEntityRecord:m,getUser:p}=u(w1.store);if(e)return{authorDetails:p(e)};let d=m("postType",r,t)?.author;return{authorDetails:d?p(d):null}},[r,t,e]),n=a?.avatar_urls?Object.values(a.avatar_urls):null,i=a?.avatar_urls?Object.keys(a.avatar_urls):null,{minSize:l,maxSize:s}=OV(i),c=x1();return{src:n?n[n.length-1]:c,minSize:l,maxSize:s,alt:a?(0,Ku.sprintf)((0,Ku.__)("%s Avatar"),a?.name):(0,Ku.__)("Default Avatar")}}var KB=o(P(),1),WV=o(M(),1),$V=o(V(),1),qV=o(Q(),1),zx=o(U(),1),ZV=o(me(),1),KV=o(Wo(),1),QV=o(v(),1),Ffe={who:"authors",per_page:100,_fields:"id,name",context:"view"};function YV({value:e,onChange:t}){let[r,a]=(0,zx.useState)(""),{authors:n,isLoading:i}=(0,$V.useSelect)(s=>{let{getUsers:c,isResolving:u}=s(qV.store),m={...Ffe};return r&&(m.search=r,m.search_columns=["name"]),{authors:c(m),isLoading:u("getUsers",[m])}},[r]),l=(0,zx.useMemo)(()=>(n??[]).map(s=>({value:s.id,label:(0,KV.decodeEntities)(s.name)})),[n]);return(0,QV.jsx)(WV.ComboboxControl,{__next40pxDefaultSize:!0,label:(0,KB.__)("User"),help:(0,KB.__)("Select the avatar user to display, if it is blank it will use the post/page author."),value:e,onChange:t,options:l,onFilterValueChange:(0,ZV.debounce)(a,300),isLoading:i})}var Mt=o(v(),1),XV=({setAttributes:e,avatar:t,attributes:r,selectUser:a})=>{let n=q();return(0,Mt.jsx)(Dp.InspectorControls,{children:(0,Mt.jsxs)(Sn.__experimentalToolsPanel,{label:(0,Xi.__)("Settings"),resetAll:()=>{e({size:96,isLink:!1,linkTarget:"_self",userId:void 0})},dropdownMenuProps:n,children:[(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)("Image size"),isShownByDefault:!0,hasValue:()=>r?.size!==96,onDeselect:()=>e({size:96}),children:(0,Mt.jsx)(Sn.RangeControl,{__next40pxDefaultSize:!0,label:(0,Xi.__)("Image size"),onChange:i=>e({size:i}),min:t.minSize,max:t.maxSize,initialPosition:r?.size,value:r?.size})}),(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)("Link to user profile"),isShownByDefault:!0,hasValue:()=>r?.isLink,onDeselect:()=>e({isLink:!1}),children:(0,Mt.jsx)(Sn.ToggleControl,{label:(0,Xi.__)("Link to user profile"),onChange:()=>e({isLink:!r.isLink}),checked:r.isLink})}),r.isLink&&(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>r?.linkTarget!=="_self",onDeselect:()=>e({linkTarget:"_self"}),children:(0,Mt.jsx)(Sn.ToggleControl,{label:(0,Xi.__)("Open in new tab"),onChange:i=>e({linkTarget:i?"_blank":"_self"}),checked:r.linkTarget==="_blank"})}),a&&(0,Mt.jsx)(Sn.__experimentalToolsPanelItem,{label:(0,Xi.__)("User"),isShownByDefault:!0,hasValue:()=>!!r?.userId,onDeselect:()=>e({userId:void 0}),children:(0,Mt.jsx)(YV,{value:r?.userId,onChange:i=>{e({userId:i})}})})]})})},Hfe=({children:e,isLink:t})=>t?(0,Mt.jsx)("a",{href:"#avatar-pseudo-link",className:"wp-block-avatar__link",onClick:r=>r.preventDefault(),children:e}):e,JV=({setAttributes:e,attributes:t,avatar:r,blockProps:a,isSelected:n})=>{let i=(0,Dp.__experimentalUseBorderProps)(t),l=(0,Vx.addQueryArgs)((0,Vx.removeQueryArgs)(r?.src,["s"]),{s:t?.size*2});return(0,Mt.jsx)("div",{...a,children:(0,Mt.jsx)(Hfe,{isLink:t.isLink,children:(0,Mt.jsx)(Sn.ResizableBox,{size:{width:t.size,height:t.size},showHandle:n,onResizeStop:(s,c,u,m)=>{e({size:parseInt(t.size+(m.height||m.width),10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,Xi.isRTL)(),bottom:!0,left:(0,Xi.isRTL)()},minWidth:r.minSize,maxWidth:r.maxSize,children:(0,Mt.jsx)("img",{src:l,alt:r.alt,className:w("avatar","avatar-"+t.size,"photo","wp-block-avatar__image",i.className),style:i.style})})})})},Ofe=({attributes:e,context:t,setAttributes:r,isSelected:a})=>{let{commentId:n}=t,i=(0,Dp.useBlockProps)(),l=jV({commentId:n});return(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(XV,{avatar:l,setAttributes:r,attributes:e,selectUser:!1}),(0,Mt.jsx)(JV,{attributes:e,avatar:l,blockProps:i,isSelected:a,setAttributes:r})]})},jfe=({attributes:e,context:t,setAttributes:r,isSelected:a})=>{let{postId:n,postType:i}=t,l=UV({userId:e?.userId,postId:n,postType:i}),s=(0,Dp.useBlockProps)();return(0,Mt.jsxs)(Mt.Fragment,{children:[(0,Mt.jsx)(XV,{selectUser:!0,attributes:e,avatar:l,setAttributes:r}),(0,Mt.jsx)(JV,{attributes:e,avatar:l,blockProps:s,isSelected:a,setAttributes:r})]})};function eF(e){return e?.context?.commentId||e?.context?.commentId===null?(0,Mt.jsx)(Ofe,{...e}):(0,Mt.jsx)(jfe,{...e})}var{name:tF}=Rx,rF={icon:I0,edit:eF,example:{}},Ufe=()=>E({name:tF,metadata:Rx,settings:rF});var aI={};Z(aI,{init:()=>the,metadata:()=>Ox,name:()=>PF,settings:()=>jx});var oI=o(P(),1);var TF=o(W(),1);var YB=o(T(),1),C1=o(v(),1),oF=[{attributes:{src:{type:"string",source:"attribute",selector:"audio",attribute:"src"},caption:{type:"string",source:"html",selector:"figcaption"},id:{type:"number"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{align:!0},save({attributes:e}){let{autoplay:t,caption:r,loop:a,preload:n,src:i}=e;return(0,C1.jsxs)("figure",{children:[(0,C1.jsx)("audio",{controls:"controls",src:i,autoPlay:t,loop:a,preload:n}),!YB.RichText.isEmpty(r)&&(0,C1.jsx)(YB.RichText.Content,{tagName:"figcaption",value:r})]})}}];var vF=o(Rr(),1),Za=o(M(),1),Tn=o(T(),1),qa=o(P(),1),bF=o(V(),1);var yF=o(xr(),1),_F=o(U(),1);function Af(e,t){var r=0,a,n;t=t||{};function i(){var l=a,s=arguments.length,c,u;e:for(;l;){if(l.args.length!==arguments.length){l=l.next;continue}for(u=0;u<s;u++)if(l.args[u]!==arguments[u]){l=l.next;continue e}return l!==a&&(l===n&&(n=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=a,l.prev=null,a.prev=l,a=l),l.val}for(c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];return l={args:c,val:e.apply(null,c)},a?(a.prev=l,l.next=a):n=l,r===t.maxSize?(n=n.prev,n.next=null):r++,a=l,l.val}return i.clear=function(){a=null,n=null,r=0},i}var cF=o(M(),1),JB=o(U(),1),Ms=o(W(),1);var Ls={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/embed",title:"Embed",category:"embed",description:"Add a block that displays content pulled from other sites, like Twitter or YouTube.",textdomain:"default",attributes:{url:{type:"string",role:"content"},caption:{type:"rich-text",source:"rich-text",selector:"figcaption",role:"content"},type:{type:"string",role:"content"},providerNameSlug:{type:"string",role:"content"},allowResponsive:{type:"boolean",default:!0},responsive:{type:"boolean",default:!1,role:"content"},previewable:{type:"boolean",default:!0,role:"content"}},supports:{anchor:!0,align:!0,spacing:{margin:!0},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-embed-editor",style:"wp-block-embed"};var S1=[{ratio:"2.33",className:"wp-embed-aspect-21-9"},{ratio:"2.00",className:"wp-embed-aspect-18-9"},{ratio:"1.78",className:"wp-embed-aspect-16-9"},{ratio:"1.33",className:"wp-embed-aspect-4-3"},{ratio:"1.00",className:"wp-embed-aspect-1-1"},{ratio:"0.56",className:"wp-embed-aspect-9-16"},{ratio:"0.50",className:"wp-embed-aspect-1-2"}],XB="wp-embed";var lF=o(iF(),1),{lock:sF,unlock:K}=(0,lF.__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-library");var Fx=o(v(),1),{name:Rf}=Ls,{kebabCase:Wfe}=K(cF.privateApis),uF=e=>(0,Ms.getBlockVariations)(Rf)?.find(({name:t})=>t===e),eI=(e,t=[])=>t.some(r=>e.match(r)),$fe=e=>(0,Ms.getBlockVariations)(Rf)?.find(({patterns:t})=>eI(e,t)),mF=e=>e&&e.includes('class="wp-embedded-content"'),pF=e=>{let t=e.url||e.thumbnail_url,r=(0,Fx.jsx)("p",{children:(0,Fx.jsx)("img",{src:t,alt:e.title,width:"100%"})});return(0,JB.renderToString)(r)},Yu=(e,t={})=>{let{preview:r,attributes:a={}}=e,{url:n,providerNameSlug:i,type:l,...s}=a;if(!n||!(0,Ms.getBlockType)(Rf))return;let c=$fe(n),u=i==="wordpress"||l===XB;if(!u&&c&&(c.attributes.providerNameSlug!==i||!i))return(0,Ms.createBlock)(Rf,{url:n,...s,...c.attributes});let p=(0,Ms.getBlockVariations)(Rf)?.find(({name:d})=>d==="wordpress");if(!(!p||!r||!mF(r.html)||u))return(0,Ms.createBlock)(Rf,{url:n,...p.attributes,...t})},qfe=e=>e?S1.some(({className:t})=>e.includes(t)):!1,Qu=e=>{if(!e)return e;let t=S1.reduce((a,{className:n})=>(a.push(n),a),["wp-has-aspect-ratio"]),r=e;for(let a of t)r=r.replace(a,"");return r.trim()};function Zfe(e){return/padding-(top|bottom)\s*:\s*[\d.]+%/i.test(e)}function tI(e,t,r=!0){if(!r||Zfe(e))return Qu(t);let a=document.implementation.createHTMLDocument("");a.body.innerHTML=e;let n=a.body.querySelector("iframe");if(n&&n.height&&n.width){let i=(n.width/n.height).toFixed(2);for(let l=0;l<S1.length;l++){let s=S1[l];if(i>=s.ratio)return i-s.ratio>.1?Qu(t):w(Qu(t),s.className,"wp-has-aspect-ratio")}}return t}function dF(e,t){t((0,Ms.createBlock)("core/paragraph",{content:(0,JB.renderToString)((0,Fx.jsx)("a",{href:e,children:e}))}))}var Kfe=Af((e,t,r,a,n=!0)=>{if(!e)return{};let i={},{type:l="rich"}=e,{html:s,provider_name:c}=e,u=Wfe((c||t).toLowerCase());return mF(s)&&(l=XB),(s||l==="photo")&&(i.type=l,i.providerNameSlug=u),qfe(r)||(i.className=tI(s,r,a&&n)),i}),fF=(e,t,r,a)=>{let{allowResponsive:n,className:i}=e;return{...e,...Kfe(t,r,i,a,n)}};var Lp=o(U(),1),hF=o(me(),1),T1=o(P(),1),Oc=o(T(),1),gF=o(M(),1);var Hx=o(W(),1),Xu=o(v(),1);function _a({attributeKey:e="caption",attributes:t,setAttributes:r,isSelected:a,insertBlocksAfter:n,placeholder:i=(0,T1.__)("Add caption"),label:l=(0,T1.__)("Caption text"),showToolbarButton:s=!0,excludeElementClassName:c,className:u,readOnly:m,tagName:p="figcaption",addLabel:d=(0,T1.__)("Add caption"),removeLabel:f=(0,T1.__)("Remove caption"),icon:h=ZS,...g}){let b=t[e],y=(0,hF.usePrevious)(b),k=Oc.RichText.isEmpty(b),_=Oc.RichText.isEmpty(y),[x,S]=(0,Lp.useState)(!k);(0,Lp.useEffect)(()=>{!k&&_&&S(!0)},[k,_]),(0,Lp.useEffect)(()=>{!a&&k&&S(!1)},[a,k]);let C=(0,Lp.useCallback)(N=>{N&&k&&N.focus()},[k]);return(0,Xu.jsxs)(Xu.Fragment,{children:[s&&(0,Xu.jsx)(Oc.BlockControls,{group:"block",children:(0,Xu.jsx)(gF.ToolbarButton,{onClick:()=>{S(!x),x&&b&&r({[e]:void 0})},icon:h,isPressed:x,label:x?f:d})}),x&&(!Oc.RichText.isEmpty(b)||a)&&(0,Xu.jsx)(Oc.RichText,{identifier:e,tagName:p,className:w(u,c?"":(0,Oc.__experimentalGetElementClassName)("caption")),ref:C,"aria-label":l,placeholder:i,value:b,onChange:N=>r({[e]:N}),inlineToolbar:!0,__unstableOnSplitAtEnd:()=>n((0,Hx.createBlock)((0,Hx.getDefaultBlockName)())),readOnly:m,...g})]})}var kr=o(v(),1),rI=["audio"];function Qfe({attributes:e,className:t,setAttributes:r,onReplace:a,isSelected:n,insertBlocksAfter:i}){let{id:l,autoplay:s,loop:c,preload:u,src:m}=e,[p,d]=(0,_F.useState)(e.blob),h=(0,Tn.useBlockEditingMode)()==="default";Es({url:p,allowedTypes:rI,onChange:x,onError:k});function g(B){return D=>{r({[B]:D})}}function b(B){if(B!==m){let D=Yu({attributes:{url:B}});if(D!==void 0&&a){a(D);return}r({src:B,id:void 0,blob:void 0}),d()}}let{createErrorNotice:y}=(0,bF.useDispatch)(yF.store);function k(B){y(B,{type:"snackbar"})}function _(B){return B?(0,qa.__)("Autoplay may cause usability issues for some users."):null}function x(B){if(!B||!B.url){r({src:void 0,id:void 0,caption:void 0,blob:void 0}),d();return}if((0,vF.isBlobURL)(B.url)){d(B.url);return}r({blob:void 0,src:B.url,id:B.id,caption:B.caption}),d()}let S=w(t,{"is-transient":!!p}),C=(0,Tn.useBlockProps)({className:S}),N=q();return!m&&!p?(0,kr.jsx)("div",{...C,children:(0,kr.jsx)(Tn.MediaPlaceholder,{icon:(0,kr.jsx)(Tn.BlockIcon,{icon:ni}),onSelect:x,onSelectURL:b,accept:"audio/*",allowedTypes:rI,value:e,onError:k})}):(0,kr.jsxs)(kr.Fragment,{children:[n&&(0,kr.jsx)(Tn.BlockControls,{group:"other",children:(0,kr.jsx)(Tn.MediaReplaceFlow,{mediaId:l,mediaURL:m,allowedTypes:rI,accept:"audio/*",onSelect:x,onSelectURL:b,onError:k,onReset:()=>x(void 0),variant:"toolbar"})}),(0,kr.jsx)(Tn.InspectorControls,{children:(0,kr.jsxs)(Za.__experimentalToolsPanel,{label:(0,qa.__)("Settings"),resetAll:()=>{r({autoplay:!1,loop:!1,preload:void 0})},dropdownMenuProps:N,children:[(0,kr.jsx)(Za.__experimentalToolsPanelItem,{label:(0,qa.__)("Autoplay"),isShownByDefault:!0,hasValue:()=>!!s,onDeselect:()=>r({autoplay:!1}),children:(0,kr.jsx)(Za.ToggleControl,{label:(0,qa.__)("Autoplay"),onChange:g("autoplay"),checked:!!s,help:_})}),(0,kr.jsx)(Za.__experimentalToolsPanelItem,{label:(0,qa.__)("Loop"),isShownByDefault:!0,hasValue:()=>!!c,onDeselect:()=>r({loop:!1}),children:(0,kr.jsx)(Za.ToggleControl,{label:(0,qa.__)("Loop"),onChange:g("loop"),checked:!!c})}),(0,kr.jsx)(Za.__experimentalToolsPanelItem,{label:(0,qa.__)("Preload"),isShownByDefault:!0,hasValue:()=>!!u,onDeselect:()=>r({preload:void 0}),children:(0,kr.jsx)(Za.SelectControl,{__next40pxDefaultSize:!0,label:(0,qa._x)("Preload","noun; Audio block parameter"),value:u||"",onChange:B=>r({preload:B||void 0}),options:[{value:"",label:(0,qa.__)("Browser default")},{value:"auto",label:(0,qa.__)("Auto")},{value:"metadata",label:(0,qa.__)("Metadata")},{value:"none",label:(0,qa._x)("None","Preload value")}]})})]})}),(0,kr.jsxs)("figure",{...C,children:[(0,kr.jsx)(Za.Disabled,{isDisabled:!n,children:(0,kr.jsx)("audio",{controls:"controls",src:m??p})}),!!p&&(0,kr.jsx)(Za.Spinner,{}),(0,kr.jsx)(_a,{attributes:e,setAttributes:r,isSelected:n,insertBlocksAfter:i,label:(0,qa.__)("Audio caption text"),showToolbarButton:n&&h})]})]})}var xF=Qfe;var Ox={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/audio",title:"Audio",category:"media",description:"Embed a simple audio player.",keywords:["music","sound","podcast","recording"],textdomain:"default",attributes:{blob:{type:"string",role:"local"},src:{type:"string",source:"attribute",selector:"audio",attribute:"src",role:"content"},caption:{type:"rich-text",source:"rich-text",selector:"figcaption",role:"content"},id:{type:"number",role:"content"},autoplay:{type:"boolean",source:"attribute",selector:"audio",attribute:"autoplay"},loop:{type:"boolean",source:"attribute",selector:"audio",attribute:"loop"},preload:{type:"string",source:"attribute",selector:"audio",attribute:"preload"}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-audio-editor",style:"wp-block-audio"};var Mp=o(T(),1),P1=o(v(),1);function kF({attributes:e}){let{autoplay:t,caption:r,loop:a,preload:n,src:i}=e;return i&&(0,P1.jsxs)("figure",{...Mp.useBlockProps.save(),children:[(0,P1.jsx)("audio",{controls:"controls",src:i,autoPlay:t,loop:a,preload:n}),!Mp.RichText.isEmpty(r)&&(0,P1.jsx)(Mp.RichText.Content,{tagName:"figcaption",value:r,className:(0,Mp.__experimentalGetElementClassName)("caption")})]})}var wF=o(Rr(),1),CF=o(W(),1),Xfe={from:[{type:"files",isMatch(e){return e.length===1&&e[0].type.indexOf("audio/")===0},transform(e){let t=e[0];return(0,CF.createBlock)("core/audio",{blob:(0,wF.createBlobURL)(t)})}},{type:"shortcode",tag:"audio",attributes:{src:{type:"string",shortcode:({named:{src:e,mp3:t,m4a:r,ogg:a,wav:n,wma:i}})=>e||t||r||a||n||i},loop:{type:"string",shortcode:({named:{loop:e}})=>e},autoplay:{type:"string",shortcode:({named:{autoplay:e}})=>e},preload:{type:"string",shortcode:({named:{preload:e}})=>e}}}]},SF=Xfe;var{fieldsKey:Jfe,formKey:ehe}=K(TF.privateApis),{name:PF}=Ox,jx={icon:ni,example:{attributes:{src:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg"},viewportWidth:350},transforms:SF,deprecated:oF,edit:xF,save:kF};window.__experimentalContentOnlyInspectorFields&&(jx[Jfe]=[{id:"audio",label:(0,oI.__)("Audio"),type:"media",Edit:{control:"media",allowedTypes:["audio"],multiple:!1},getValue:({item:e})=>({id:e.id,url:e.src}),setValue:({value:e})=>({id:e.id,src:e.url})},{id:"caption",label:(0,oI.__)("Caption"),type:"text",Edit:"rich-text"}],jx[ehe]={fields:["audio","caption"]});var the=()=>E({name:PF,metadata:Ox,settings:jx});var nI={};Z(nI,{init:()=>ohe,metadata:()=>Ux,name:()=>DF,settings:()=>LF});var Ux={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/breadcrumbs",title:"Breadcrumbs",category:"theme",description:"Display a breadcrumb trail showing the path to the current page.",textdomain:"default",attributes:{prefersTaxonomy:{type:"boolean",default:!1},separator:{type:"string",default:"/"},showHomeItem:{type:"boolean",default:!0},showCurrentItem:{type:"boolean",default:!0},showOnHomePage:{type:"boolean",default:!1}},usesContext:["postId","postType","templateSlug"],supports:{anchor:!0,html:!1,align:["wide","full"],spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!1,color:!0,width:!0,style:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-breadcrumbs"};var zr=o(P(),1),B1=o(T(),1),$o=o(M(),1),BF=o(V(),1),Wx=o(Q(),1),jc=o(U(),1),IF=o(Fu(),1),NF=o(me(),1);var wt=o(v(),1),Gx="/";function EF({attributes:e,setAttributes:t,name:r,context:{postId:a,postType:n,templateSlug:i}}){let{separator:l,showHomeItem:s,showCurrentItem:c,prefersTaxonomy:u,showOnHomePage:m}=e,{post:p,isPostTypeHierarchical:d,postTypeHasTaxonomies:f,hasTermsAssigned:h,isLoading:g}=(0,BF.useSelect)(I=>{if(!n)return{};let R=I(Wx.store).getEntityRecord("postType",n,a),$=I(Wx.store).getPostType(n),j=$&&$.taxonomies.length,G;return j&&(G=I(Wx.store).getTaxonomies({type:n,per_page:-1})),{post:R,isPostTypeHierarchical:$?.hierarchical,postTypeHasTaxonomies:j,hasTermsAssigned:R&&(G||[]).filter(({visibility:O})=>O?.publicly_queryable).some(O=>!!R[O.rest_base]?.length),isLoading:a&&!R||!$||j&&!G}},[n,a]),[b,y]=(0,jc.useState)(0);(0,jc.useEffect)(()=>{y(I=>I+1)},[p]);let k=q(),{content:_,status:x,error:S}=(0,IF.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r,urlQueryArgs:{post_id:a,invalidationKey:b}}),C=(0,jc.useRef)("");(0,jc.useEffect)(()=>{x==="success"&&(C.current=_)},[_,x]);let[N,B]=(0,jc.useState)(!1);(0,jc.useEffect)(()=>{if(x!=="loading")return;let I=setTimeout(()=>{B(!0)},400);return()=>{clearTimeout(I),B(!1)}},[x]);let D=(0,NF.useDisabled)(),A=(0,B1.useBlockProps)({ref:D});if(g)return(0,wt.jsx)("div",{...A,children:(0,wt.jsx)($o.Spinner,{})});let H;!d&&!p?.parent?H=!0:f?H=u:H=!1;let F=null,z=!a||!n||i&&!n||!H&&!d||H&&!h;if(z){let I=[];s&&I.push((0,zr.__)("Home")),i&&!a?I.push((0,zr.__)("Page")):H?I.push((0,zr.__)("Category")):I.push((0,zr.__)("Ancestor"),(0,zr.__)("Parent")),F=(0,wt.jsx)("nav",{...A,style:{"--separator":`"${l.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`,...A.style},children:(0,wt.jsxs)("ol",{children:[I.map((R,$)=>(0,wt.jsx)("li",{children:(0,wt.jsx)("a",{href:`#breadcrumbs-pseudo-link-${$}`,children:R})},$)),c&&(0,wt.jsx)("li",{children:(0,wt.jsx)("span",{"aria-current":"page",children:(0,zr.__)("Current")})})]})})}return(0,wt.jsxs)(wt.Fragment,{children:[(0,wt.jsx)(B1.InspectorControls,{children:(0,wt.jsxs)($o.__experimentalToolsPanel,{label:(0,zr.__)("Settings"),resetAll:()=>{t({separator:Gx,showHomeItem:!0,showCurrentItem:!0})},dropdownMenuProps:k,children:[(0,wt.jsx)($o.__experimentalToolsPanelItem,{label:(0,zr.__)("Show home breadcrumb"),isShownByDefault:!0,hasValue:()=>!s,onDeselect:()=>t({showHomeItem:!0}),children:(0,wt.jsx)($o.ToggleControl,{label:(0,zr.__)("Show home breadcrumb"),onChange:I=>t({showHomeItem:I}),checked:s})}),(0,wt.jsx)($o.__experimentalToolsPanelItem,{label:(0,zr.__)("Show current breadcrumb"),isShownByDefault:!0,hasValue:()=>!c,onDeselect:()=>t({showCurrentItem:!0}),children:(0,wt.jsx)($o.ToggleControl,{label:(0,zr.__)("Show current breadcrumb"),onChange:I=>t({showCurrentItem:I}),checked:c})}),(0,wt.jsx)($o.__experimentalToolsPanelItem,{label:(0,zr.__)("Separator"),isShownByDefault:!0,hasValue:()=>l!==Gx,onDeselect:()=>t({separator:Gx}),children:(0,wt.jsx)($o.TextControl,{__next40pxDefaultSize:!0,autoComplete:"off",label:(0,zr.__)("Separator"),value:l,onChange:I=>t({separator:I}),onBlur:()=>{l||t({separator:Gx})}})})]})}),(0,wt.jsxs)(B1.InspectorControls,{group:"advanced",children:[(0,wt.jsx)($o.CheckboxControl,{label:(0,zr.__)("Show on homepage"),checked:m,onChange:I=>t({showOnHomePage:I}),help:(0,zr.__)("If this breadcrumbs block appears in a template or template part that\u2019s shown on the homepage, enable this option to display the breadcrumb trail. Otherwise, this setting has no effect.")}),(0,wt.jsx)($o.CheckboxControl,{label:(0,zr.__)("Prefer taxonomy terms"),checked:u,onChange:I=>t({prefersTaxonomy:I}),help:(0,zr.__)("The exact type of breadcrumbs shown will vary automatically depending on the page in which this block is displayed. In the specific case of a hierarchical post type with taxonomies, the breadcrumbs can either reflect its post hierarchy (default) or the hierarchy of its assigned taxonomy terms.")})]}),x==="loading"&&!z&&(C.current?(0,wt.jsx)(uo,{wrapperProps:{...A,style:{...A.style,opacity:N?.3:1}},html:C.current}):(0,wt.jsx)("div",{...A,children:(0,wt.jsx)($o.Spinner,{})})),x==="error"&&(0,wt.jsx)("div",{...A,children:(0,wt.jsx)("p",{children:(0,zr.sprintf)((0,zr.__)("Error: %s"),S)})}),z&&F,!z&&x==="success"&&(0,wt.jsx)(uo,{wrapperProps:A,html:_})]})}var{name:DF}=Ux,LF={icon:OS,example:{},edit:EF},ohe=()=>E({name:DF,metadata:Ux,settings:LF});var cI={};Z(cI,{init:()=>yhe,metadata:()=>Kx,name:()=>qF,settings:()=>Yx});var Qx=o(P(),1);var $F=o(W(),1);var ve=o(T(),1),I1=o(me(),1);var MF=o(T(),1);var{cleanEmptyObject:ahe}=K(MF.privateApis);function Ot(e){if(!e?.style?.typography?.fontFamily)return e;let{fontFamily:t,...r}=e.style.typography;return{...e,style:ahe({...e.style,typography:r}),fontFamily:t.split("|").pop()}}function We(e){let{textAlign:t,...r}=e;return t?{...r,style:{...e.style,typography:{...e.style?.typography,textAlign:t}}}:e}var Kt=o(v(),1),zf=e=>{let{borderRadius:t,...r}=e,a=[t,r.style?.border?.radius].find(n=>typeof n=="number"&&n!==0);return a?{...r,style:{...r.style,border:{...r.style?.border,radius:`${a}px`}}}:r};function nhe(e){if(!e.align)return e;let{align:t,...r}=e;return{...r,className:w(r.className,`align${e.align}`)}}var lI=e=>{if(!e.customTextColor&&!e.customBackgroundColor&&!e.customGradient)return e;let t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor),e.customGradient&&(t.color.gradient=e.customGradient);let{customTextColor:r,customBackgroundColor:a,customGradient:n,...i}=e;return{...i,style:t}},iI=e=>{let{color:t,textColor:r,...a}={...e,customTextColor:e.textColor&&e.textColor[0]==="#"?e.textColor:void 0,customBackgroundColor:e.color&&e.color[0]==="#"?e.color:void 0};return lI(a)},Uc={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"}},ihe={attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},textAlign:{type:"string"},url:{type:"string",source:"attribute",selector:"a",attribute:"href",role:"content"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{__experimentalSkipSerialization:["fontSize","lineHeight","fontFamily","fontWeight","fontStyle","textTransform","textDecoration","letterSpacing"],fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},selectors:{root:".wp-block-button .wp-block-button__link",typography:{writingMode:".wp-block-button"}},save({attributes:e,className:t}){let{tagName:r,type:a,textAlign:n,fontSize:i,linkTarget:l,rel:s,style:c,text:u,title:m,url:p,width:d}=e,f=r||"a",h=f==="button",g=a||"button",b=(0,ve.__experimentalGetBorderClassesAndStyles)(e),y=(0,ve.__experimentalGetColorClassesAndStyles)(e),k=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),_=(0,ve.__experimentalGetShadowClassesAndStyles)(e),x=(0,ve.getTypographyClassesAndStyles)(e),S=w("wp-block-button__link",y.className,b.className,x.className,{[`has-text-align-${n}`]:n,"no-border-radius":c?.border?.radius===0,"has-custom-font-size":i||c?.typography?.fontSize},(0,ve.__experimentalGetElementClassName)("button")),C={...b.style,...y.style,...k.style,..._.style,...x.style,writingMode:void 0},N=w(t,{[`has-custom-width wp-block-button__width-${d}`]:d});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:N}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:f,type:h?g:null,className:S,href:h?null:p,title:m,style:C,value:u,target:h?null:l,rel:h?null:s})})},isEligible(e){return!!e.textAlign},migrate:We},lhe={attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},textAlign:{type:"string"},url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},__experimentalSelector:".wp-block-button__link",interactivity:{clientNavigation:!0}},save({attributes:e,className:t}){let{tagName:r,type:a,textAlign:n,fontSize:i,linkTarget:l,rel:s,style:c,text:u,title:m,url:p,width:d}=e,f=r||"a",h=f==="button",g=a||"button",b=(0,ve.__experimentalGetBorderClassesAndStyles)(e),y=(0,ve.__experimentalGetColorClassesAndStyles)(e),k=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),_=(0,ve.__experimentalGetShadowClassesAndStyles)(e),x=w("wp-block-button__link",y.className,b.className,{[`has-text-align-${n}`]:n,"no-border-radius":c?.border?.radius===0},(0,ve.__experimentalGetElementClassName)("button")),S={...b.style,...y.style,...k.style,..._.style},C=w(t,{[`has-custom-width wp-block-button__width-${d}`]:d,"has-custom-font-size":i||c?.typography?.fontSize});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:C}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:f,type:h?g:null,className:x,href:h?null:p,title:m,style:S,value:u,target:h?null:l,rel:h?null:s})})}},she={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,__experimentalFontFamily:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}},__experimentalSelector:".wp-block-button__link"},save({attributes:e,className:t}){let{fontSize:r,linkTarget:a,rel:n,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let m=(0,ve.__experimentalGetBorderClassesAndStyles)(e),p=(0,ve.__experimentalGetColorClassesAndStyles)(e),d=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),f=w("wp-block-button__link",p.className,m.className,{"no-border-radius":i?.border?.radius===0}),h={...m.style,...p.style,...d.style},g=w(t,{[`has-custom-width wp-block-button__width-${u}`]:u,"has-custom-font-size":r||i?.typography?.fontSize});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:g}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:f,href:c,title:s,style:h,value:l,target:a,rel:n})})}},che={attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},title:{type:"string",source:"attribute",selector:"a",attribute:"title"},text:{type:"string",source:"html",selector:"a"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0},__experimentalSelector:".wp-block-button__link"},save({attributes:e,className:t}){let{fontSize:r,linkTarget:a,rel:n,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let m=(0,ve.__experimentalGetBorderClassesAndStyles)(e),p=(0,ve.__experimentalGetColorClassesAndStyles)(e),d=(0,ve.__experimentalGetSpacingClassesAndStyles)(e),f=w("wp-block-button__link",p.className,m.className,{"no-border-radius":i?.border?.radius===0}),h={...m.style,...p.style,...d.style},g=w(t,{[`has-custom-width wp-block-button__width-${u}`]:u,"has-custom-font-size":r||i?.typography?.fontSize});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:g}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:f,href:c,title:s,style:h,value:l,target:a,rel:n})})},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},uhe=[ihe,lhe,she,che,{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0},typography:{fontSize:!0,__experimentalFontFamily:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...Uc,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},isEligible({style:e}){return typeof e?.border?.radius=="number"},save({attributes:e,className:t}){let{fontSize:r,linkTarget:a,rel:n,style:i,text:l,title:s,url:c,width:u}=e;if(!l)return null;let m=i?.border?.radius,p=(0,ve.__experimentalGetColorClassesAndStyles)(e),d=w("wp-block-button__link",p.className,{"no-border-radius":i?.border?.radius===0}),f={borderRadius:m||void 0,...p.style},h=w(t,{[`has-custom-width wp-block-button__width-${u}`]:u,"has-custom-font-size":r||i?.typography?.fontSize});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:h}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:d,href:c,title:s,style:f,value:l,target:a,rel:n})})},migrate:(0,I1.compose)(Ot,zf)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...Uc,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save({attributes:e,className:t}){let{borderRadius:r,linkTarget:a,rel:n,text:i,title:l,url:s,width:c}=e,u=(0,ve.__experimentalGetColorClassesAndStyles)(e),m=w("wp-block-button__link",u.className,{"no-border-radius":r===0}),p={borderRadius:r?r+"px":void 0,...u.style},d=w(t,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:d}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:m,href:s,title:l,style:p,value:i,target:a,rel:n})})},migrate:(0,I1.compose)(Ot,zf)},{supports:{anchor:!0,align:!0,alignWide:!1,color:{__experimentalSkipSerialization:!0},reusable:!1,__experimentalSelector:".wp-block-button__link"},attributes:{...Uc,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},width:{type:"number"}},save({attributes:e,className:t}){let{borderRadius:r,linkTarget:a,rel:n,text:i,title:l,url:s,width:c}=e,u=(0,ve.__experimentalGetColorClassesAndStyles)(e),m=w("wp-block-button__link",u.className,{"no-border-radius":r===0}),p={borderRadius:r?r+"px":void 0,...u.style},d=w(t,{[`has-custom-width wp-block-button__width-${c}`]:c});return(0,Kt.jsx)("div",{...ve.useBlockProps.save({className:d}),children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:m,href:s,title:l,style:p,value:i,target:a,rel:n})})},migrate:(0,I1.compose)(Ot,zf)},{supports:{align:!0,alignWide:!1,color:{gradients:!0}},attributes:{...Uc,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"}},save({attributes:e}){let{borderRadius:t,linkTarget:r,rel:a,text:n,title:i,url:l}=e,s=w("wp-block-button__link",{"no-border-radius":t===0}),c={borderRadius:t?t+"px":void 0};return(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:s,href:l,title:i,style:c,value:n,target:r,rel:a})},migrate:zf},{supports:{align:!0,alignWide:!1},attributes:{...Uc,linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"},borderRadius:{type:"number"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},customGradient:{type:"string"},gradient:{type:"string"}},isEligible:e=>!!e.customTextColor||!!e.customBackgroundColor||!!e.customGradient||!!e.align,migrate:(0,I1.compose)(zf,lI,nhe),save({attributes:e}){let{backgroundColor:t,borderRadius:r,customBackgroundColor:a,customTextColor:n,customGradient:i,linkTarget:l,gradient:s,rel:c,text:u,textColor:m,title:p,url:d}=e,f=(0,ve.getColorClassName)("color",m),h=!i&&(0,ve.getColorClassName)("background-color",t),g=(0,ve.__experimentalGetGradientClass)(s),b=w("wp-block-button__link",{"has-text-color":m||n,[f]:f,"has-background":t||a||i||s,[h]:h,"no-border-radius":r===0,[g]:g}),y={background:i||void 0,backgroundColor:h||i||s?void 0:a,color:f?void 0:n,borderRadius:r?r+"px":void 0};return(0,Kt.jsx)("div",{children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:b,href:d,title:p,style:y,value:u,target:l,rel:c})})}},{attributes:{...Uc,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel"},placeholder:{type:"string"}},isEligible(e){return e.className&&e.className.includes("is-style-squared")},migrate(e){let t=e.className;return t&&(t=t.replace(/is-style-squared[\s]?/,"").trim()),zf(lI({...e,className:t||void 0,borderRadius:0}))},save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,customTextColor:a,linkTarget:n,rel:i,text:l,textColor:s,title:c,url:u}=e,m=(0,ve.getColorClassName)("color",s),p=(0,ve.getColorClassName)("background-color",t),d=w("wp-block-button__link",{"has-text-color":s||a,[m]:m,"has-background":t||r,[p]:p}),f={backgroundColor:p?void 0:r,color:m?void 0:a};return(0,Kt.jsx)("div",{children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:d,href:u,title:c,style:f,value:l,target:n,rel:i})})}},{attributes:{...Uc,align:{type:"string",default:"none"},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"}},migrate:iI,save({attributes:e}){let{url:t,text:r,title:a,backgroundColor:n,textColor:i,customBackgroundColor:l,customTextColor:s}=e,c=(0,ve.getColorClassName)("color",i),u=(0,ve.getColorClassName)("background-color",n),m=w("wp-block-button__link",{"has-text-color":i||s,[c]:c,"has-background":n||l,[u]:u}),p={backgroundColor:u?void 0:l,color:c?void 0:s};return(0,Kt.jsx)("div",{children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:m,href:t,title:a,style:p,value:r})})}},{attributes:{...Uc,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){let{url:t,text:r,title:a,align:n,color:i,textColor:l}=e,s={backgroundColor:i,color:l};return(0,Kt.jsx)("div",{className:`align${n}`,children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",className:"wp-block-button__link",href:t,title:a,style:s,value:r})})},migrate:iI},{attributes:{...Uc,color:{type:"string"},textColor:{type:"string"},align:{type:"string",default:"none"}},save({attributes:e}){let{url:t,text:r,title:a,align:n,color:i,textColor:l}=e;return(0,Kt.jsx)("div",{className:`align${n}`,style:{backgroundColor:i},children:(0,Kt.jsx)(ve.RichText.Content,{tagName:"a",href:t,title:a,style:{color:l},value:r})})},migrate:iI}],AF=uhe;var qo=o(P(),1),Pn=o(U(),1),xa=o(M(),1),it=o(T(),1),Ju=o(As(),1);var Gc=o(W(),1),E1=o(me(),1),D1=o(V(),1);var $x="noreferrer noopener",qx="_blank",Vf="nofollow";var zF=o(mr(),1);function VF({rel:e="",url:t="",opensInNewTab:r,nofollow:a}){let n,i=e;if(r)n=qx,i=i?.includes($x)?i:i+` ${$x}`;else{let l=new RegExp(`\\b${$x}\\s*`,"g");i=i?.replace(l,"").trim()}if(a)i=i?.includes(Vf)?i:(i+` ${Vf}`).trim();else{let l=new RegExp(`\\b${Vf}\\s*`,"g");i=i?.replace(l,"").trim()}return{url:(0,zF.prependHTTPS)(t),linkTarget:n,rel:i||void 0}}function N1(e){return e.toString().replace(/<\/?a[^>]*>/g,"")}var HF=o(me(),1),Zx=o(U(),1),OF=o(Ff(),1),jF=o(V(),1),UF=o(T(),1);function Kr(e){let{name:t,attributes:r,setAttributes:a}=e,{textAlign:n}=r,{__unstableMarkNextChangeAsNotPersistent:i}=(0,jF.useDispatch)(UF.store),l=(0,HF.useEvent)(()=>{(0,OF.default)(`textAlign attribute in ${t}`,{alternative:"style.typography.textAlign",since:"7.0"}),i(),a(c=>({style:{...c.style,typography:{...c.style?.typography,textAlign:n}}}))}),s=(0,Zx.useRef)();(0,Zx.useEffect)(()=>{n!==s.current&&(s.current=n,l())},[n,l])}var Pr=o(v(),1),{HTMLElementControl:mhe}=K(it.privateApis),phe=[...it.LinkControl.DEFAULT_LINK_SETTINGS,{id:"nofollow",title:(0,qo.__)("Mark as nofollow")}];function dhe(e){let{replaceBlocks:t,selectionChange:r}=(0,D1.useDispatch)(it.store),{getBlock:a,getBlockRootClientId:n,getBlockIndex:i}=(0,D1.useSelect)(it.store),l=(0,Pn.useRef)(e);return l.current=e,(0,E1.useRefEffect)(s=>{function c(u){if(u.defaultPrevented||u.keyCode!==Ju.ENTER)return;let{content:m,clientId:p}=l.current;if(m.length)return;u.preventDefault();let d=a(n(p)),f=i(p),h=(0,Gc.cloneBlock)({...d,innerBlocks:d.innerBlocks.slice(0,f)}),g=(0,Gc.createBlock)((0,Gc.getDefaultBlockName)()),b=d.innerBlocks.slice(f+1),y=b.length?[(0,Gc.cloneBlock)({...d,innerBlocks:b})]:[];t(d.clientId,[h,g,...y],1),r(g.clientId)}return s.addEventListener("keydown",c),()=>{s.removeEventListener("keydown",c)}},[])}function fhe({selectedWidth:e,setAttributes:t}){let r=q();return(0,Pr.jsx)(xa.__experimentalToolsPanel,{label:(0,qo.__)("Settings"),resetAll:()=>t({width:void 0}),dropdownMenuProps:r,children:(0,Pr.jsx)(xa.__experimentalToolsPanelItem,{label:(0,qo.__)("Width"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>t({width:void 0}),children:(0,Pr.jsx)(xa.__experimentalToggleGroupControl,{label:(0,qo.__)("Width"),value:e,onChange:a=>t({width:a}),isBlock:!0,__next40pxDefaultSize:!0,children:[25,50,75,100].map(a=>(0,Pr.jsx)(xa.__experimentalToggleGroupControlOption,{value:a,label:(0,qo.sprintf)((0,qo.__)("%d%%"),a)},a))})})})}function hhe(e){let{attributes:t,setAttributes:r,className:a,isSelected:n,onReplace:i,mergeBlocks:l,clientId:s,context:c}=e,{tagName:u,linkTarget:m,placeholder:p,rel:d,style:f,text:h,url:g,width:b,metadata:y}=t;Kr(e);let k=u||"a";function _(ke){Ju.isKeyboardEvent.primary(ke,"k")?ne(ke):Ju.isKeyboardEvent.primaryShift(ke,"k")&&(le(),H.current?.focus())}let[x,S]=(0,Pn.useState)(null),C=(0,it.__experimentalUseBorderProps)(t),N=(0,it.__experimentalUseColorProps)(t),B=(0,it.__experimentalGetSpacingClassesAndStyles)(t),D=(0,it.__experimentalGetShadowClassesAndStyles)(t),A=(0,Pn.useRef)(),H=(0,Pn.useRef)(),F=(0,it.useBlockProps)({ref:(0,E1.useMergeRefs)([S,A]),onKeyDown:_}),z=(0,it.useBlockEditingMode)(),[I,R]=(0,Pn.useState)(!1),$=!!g,j=m===qx,G=!!d?.includes(Vf),O=k==="a",{createPageEntity:J,userCanCreatePages:ee,lockUrlControls:oe=!1}=(0,D1.useSelect)(ke=>{if(!n)return{};let je=ke(it.store).getSettings(),de=(0,Gc.getBlockBindingsSource)(y?.bindings?.url?.source);return{createPageEntity:je.__experimentalCreatePageEntity,userCanCreatePages:je.__experimentalUserCanCreatePages,lockUrlControls:!!y?.bindings?.url&&!de?.canUserEditValue?.({select:ke,context:c,args:y?.bindings?.url?.args})}},[c,n,y?.bindings?.url]);async function X(ke){let je=await J({title:ke,status:"draft"});return{id:je.id,type:je.type,title:je.title.rendered,url:je.link,kind:"post-type"}}function te(ke){return(0,Pn.createInterpolateElement)((0,qo.sprintf)((0,qo.__)("Create page: <mark>%s</mark>"),ke),{mark:(0,Pr.jsx)("mark",{})})}function ne(ke){ke.preventDefault(),R(!0)}function le(){r({url:void 0,linkTarget:void 0,rel:void 0}),R(!1)}(0,Pn.useEffect)(()=>{n||R(!1)},[n]);let pe=(0,Pn.useMemo)(()=>({url:g,opensInNewTab:j,nofollow:G}),[g,j,G]),Ie=dhe({content:h,clientId:s}),Ne=(0,E1.useMergeRefs)([Ie,H]),[ae,Re]=(0,it.useSettings)("typography.fluid","layout"),Ee=(0,it.getTypographyClassesAndStyles)(t,{typography:{fluid:ae},layout:{wideSize:Re?.wideSize}}),fe=z==="default"||O&&!oe;return(0,Pr.jsxs)(Pr.Fragment,{children:[(0,Pr.jsx)("div",{...F,className:w(F.className,{[`has-custom-width wp-block-button__width-${b}`]:b}),children:(0,Pr.jsx)(it.RichText,{ref:Ne,"aria-label":(0,qo.__)("Button text"),placeholder:p||(0,qo.__)("Add text\u2026"),value:h,onChange:ke=>r({text:N1(ke)}),withoutInteractiveFormatting:!0,className:w(a,"wp-block-button__link",N.className,C.className,Ee.className,{"no-border-radius":f?.border?.radius===0,"has-custom-font-size":F.style.fontSize},(0,it.__experimentalGetElementClassName)("button")),style:{...C.style,...N.style,...B.style,...D.style,...Ee.style,writingMode:void 0},onReplace:i,onMerge:l,identifier:"text"})}),fe&&(0,Pr.jsx)(it.BlockControls,{group:"block",children:O&&!oe&&(0,Pr.jsx)(xa.ToolbarButton,{name:"link",icon:$?U0:ii,title:$?(0,qo.__)("Unlink"):(0,qo.__)("Link"),shortcut:$?Ju.displayShortcut.primaryShift("k"):Ju.displayShortcut.primary("k"),onClick:$?le:ne,isActive:$})}),O&&n&&(I||$)&&!oe&&(0,Pr.jsx)(xa.Popover,{placement:"bottom",onClose:()=>{R(!1),H.current?.focus()},anchor:x,focusOnMount:I?"firstElement":!1,__unstableSlotName:"__unstable-block-tools-after",shift:!0,children:(0,Pr.jsx)(it.LinkControl,{value:pe,onChange:({url:ke,opensInNewTab:je,nofollow:de})=>r(VF({rel:d,url:ke,opensInNewTab:je,nofollow:de})),onRemove:()=>{le(),H.current?.focus()},forceIsEditingLink:I,settings:phe,createSuggestion:J&&X,withCreateSuggestion:ee,createSuggestionButtonText:te})}),(0,Pr.jsx)(it.InspectorControls,{children:(0,Pr.jsx)(fhe,{selectedWidth:b,setAttributes:r})}),(0,Pr.jsxs)(it.InspectorControls,{group:"advanced",children:[(0,Pr.jsx)(mhe,{tagName:u,onChange:ke=>r({tagName:ke}),options:[{label:(0,qo.__)("Default (<a>)"),value:"a"},{label:"<button>",value:"button"}]}),O&&(0,Pr.jsx)(xa.TextControl,{__next40pxDefaultSize:!0,label:(0,qo.__)("Link relation"),help:(0,Pn.createInterpolateElement)((0,qo.__)("The <a>Link Relation</a> attribute defines the relationship between a linked resource and the current document."),{a:(0,Pr.jsx)(xa.ExternalLink,{href:"https://developer.mozilla.org/docs/Web/HTML/Attributes/rel"})}),value:d||"",onChange:ke=>r({rel:ke})})]})]})}var GF=hhe;var Kx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/button",title:"Button",category:"design",parent:["core/buttons"],description:"Prompt visitors to take action with a button-style link.",keywords:["link"],textdomain:"default",attributes:{tagName:{type:"string",enum:["a","button"],default:"a"},type:{type:"string",default:"button"},url:{type:"string",source:"attribute",selector:"a",attribute:"href",role:"content"},title:{type:"string",source:"attribute",selector:"a,button",attribute:"title",role:"content"},text:{type:"rich-text",source:"rich-text",selector:"a,button",role:"content"},linkTarget:{type:"string",source:"attribute",selector:"a",attribute:"target",role:"content"},rel:{type:"string",source:"attribute",selector:"a",attribute:"rel",role:"content"},placeholder:{type:"string"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},width:{type:"number"}},supports:{anchor:!0,splitting:!0,align:!1,alignWide:!1,color:{__experimentalSkipSerialization:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{__experimentalSkipSerialization:["fontSize","lineHeight","textAlign","fontFamily","fontWeight","fontStyle","textTransform","textDecoration","letterSpacing"],fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalWritingMode:!0,__experimentalDefaultControls:{fontSize:!0}},reusable:!1,shadow:{__experimentalSkipSerialization:!0},spacing:{__experimentalSkipSerialization:!0,padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},interactivity:{clientNavigation:!0}},styles:[{name:"fill",label:"Fill",isDefault:!0},{name:"outline",label:"Outline"}],editorStyle:"wp-block-button-editor",style:"wp-block-button",selectors:{root:".wp-block-button .wp-block-button__link",typography:{writingMode:".wp-block-button"}}};var ka=o(T(),1),sI=o(v(),1);function WF({attributes:e,className:t}){let{tagName:r,type:a,fontSize:n,linkTarget:i,rel:l,style:s,text:c,title:u,url:m,width:p}=e,d=r||"a",f=d==="button",h=a||"button",g=(0,ka.__experimentalGetBorderClassesAndStyles)(e),b=(0,ka.__experimentalGetColorClassesAndStyles)(e),y=(0,ka.__experimentalGetSpacingClassesAndStyles)(e),k=(0,ka.__experimentalGetShadowClassesAndStyles)(e),_=(0,ka.getTypographyClassesAndStyles)(e),x=w("wp-block-button__link",b.className,g.className,_.className,{"no-border-radius":s?.border?.radius===0,"has-custom-font-size":n||s?.typography?.fontSize},(0,ka.__experimentalGetElementClassName)("button")),S={...g.style,...b.style,...y.style,...k.style,..._.style,writingMode:void 0},C=w(t,{[`has-custom-width wp-block-button__width-${p}`]:p});return(0,sI.jsx)("div",{...ka.useBlockProps.save({className:C}),children:(0,sI.jsx)(ka.RichText.Content,{tagName:d,type:f?h:null,className:x,href:f?null:m,title:u,style:S,value:c,target:f?null:i,rel:f?null:l})})}var{fieldsKey:vhe,formKey:bhe}=K($F.privateApis),{name:qF}=Kx,Yx={icon:US,example:{attributes:{className:"is-style-fill",text:(0,Qx.__)("Call to action")}},edit:GF,save:WF,deprecated:AF,merge:(e,{text:t=""})=>({...e,text:(e.text||"")+t}),__experimentalLabel(e,{context:t}){let{text:r}=e,a=e?.metadata?.name,n=r?.trim().length>0;if(t==="list-view"&&(a||n))return a||r;if(t==="breadcrumb"&&a)return a}};window.__experimentalContentOnlyInspectorFields&&(Yx[vhe]=[{id:"text",label:(0,Qx.__)("Content"),type:"text",Edit:"rich-text"},{id:"link",label:(0,Qx.__)("Link"),type:"url",Edit:"link",getValue:({item:e})=>({url:e.url,rel:e.rel,linkTarget:e.linkTarget}),setValue:({value:e})=>({url:e.url,rel:e.rel,linkTarget:e.linkTarget})}],Yx[bhe]={fields:["text","link"]});var yhe=()=>E({name:qF,metadata:Kx,settings:Yx});var pI={};Z(pI,{init:()=>She,metadata:()=>Jx,name:()=>aH,settings:()=>nH});var mI=o(P(),1);var M1=o(T(),1),L1=o(v(),1),ZF=e=>{if(e.layout)return e;let{contentJustification:t,orientation:r,...a}=e;return(t||r)&&Object.assign(a,{layout:{type:"flex",...t&&{justifyContent:t},...r&&{orientation:r}}}),a},_he=[{attributes:{contentJustification:{type:"string"},orientation:{type:"string",default:"horizontal"}},supports:{anchor:!0,align:["wide","full"],__experimentalExposeControlsToChildren:!0,spacing:{blockGap:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}}},isEligible:({contentJustification:e,orientation:t})=>!!e||!!t,migrate:ZF,save({attributes:{contentJustification:e,orientation:t}}){return(0,L1.jsx)("div",{...M1.useBlockProps.save({className:w({[`is-content-justification-${e}`]:e,"is-vertical":t==="vertical"})}),children:(0,L1.jsx)(M1.InnerBlocks.Content,{})})}},{supports:{align:["center","left","right"],anchor:!0},save(){return(0,L1.jsx)("div",{children:(0,L1.jsx)(M1.InnerBlocks.Content,{})})},isEligible({align:e}){return e&&["center","left","right"].includes(e)},migrate(e){return ZF({...e,align:void 0,contentJustification:e.align})}}],KF=_he;var R1=o(W(),1),uI=o(em(),1);var A1=o(W(),1);function Wc(e,t,r=null){if(!e)return;let a=(0,A1.getBlockType)(t);if(!a)return;let n={};if((0,A1.hasBlockSupport)(a,"anchor")&&e.anchor&&(n.anchor=e.anchor),(0,A1.hasBlockSupport)(a,"ariaLabel")&&e.ariaLabel&&(n.ariaLabel=e.ariaLabel),e.metadata){let i=[];if(r&&i.push("id","bindings"),i.length>0){let l=Object.entries(e.metadata).reduce((s,[c,u])=>(i.includes(c)&&(s[c]=c==="bindings"?r(u):u),s),{});Object.keys(l).length>0&&(n.metadata=l)}}if(Object.keys(n).length!==0)return n}var xhe={from:[{type:"block",isMultiBlock:!0,blocks:["core/button"],transform:e=>(0,R1.createBlock)("core/buttons",{},e.map(t=>(0,R1.createBlock)("core/button",t)))},{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>(0,R1.createBlock)("core/buttons",{},e.map(t=>{let{content:r}=t,a=(0,uI.__unstableCreateElement)(document,r),n=a.innerText||"",l=a.querySelector("a")?.getAttribute("href");return(0,R1.createBlock)("core/button",{...t,...Wc(t,"core/button",({content:s})=>({text:s})),text:n,url:l})})),isMatch:e=>e.every(t=>{let r=(0,uI.__unstableCreateElement)(document,t.content),a=r.innerText||"",n=r.querySelectorAll("a");return a.length<=30&&n.length<=1})}]},YF=xhe;var Xx=o(T(),1),XF=o(V(),1),JF=o(W(),1),eH=o(v(),1),khe={name:"core/button",attributesToCopy:["backgroundColor","border","className","fontFamily","fontSize","gradient","style","textColor","width"]};function whe({attributes:e,className:t}){let{fontSize:r,layout:a,style:n}=e,i=(0,Xx.useBlockProps)({className:w(t,{"has-custom-font-size":r||n?.typography?.fontSize})}),{hasButtonVariations:l}=(0,XF.useSelect)(c=>({hasButtonVariations:c(JF.store).getBlockVariations("core/button","inserter").length>0}),[]),s=(0,Xx.useInnerBlocksProps)(i,{defaultBlock:khe,directInsert:!l,template:[["core/button"]],templateInsertUpdatesSelection:!0,orientation:a?.orientation??"horizontal"});return(0,eH.jsx)("div",{...s})}var tH=whe;var Jx={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/buttons",title:"Buttons",category:"design",allowedBlocks:["core/button"],description:"Prompt visitors to take action with a group of button-style links.",keywords:["link"],textdomain:"default",supports:{anchor:!0,align:["wide","full"],html:!1,__experimentalExposeControlsToChildren:!0,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{blockGap:["horizontal","vertical"],padding:!0,margin:["top","bottom"],__experimentalDefaultControls:{blockGap:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},interactivity:{clientNavigation:!0},listView:!0,contentRole:!0},editorStyle:"wp-block-buttons-editor",style:"wp-block-buttons"};var ek=o(T(),1),rH=o(v(),1);function oH({attributes:e,className:t}){let{fontSize:r,style:a}=e,n=ek.useBlockProps.save({className:w(t,{"has-custom-font-size":r||a?.typography?.fontSize})}),i=ek.useInnerBlocksProps.save(n);return(0,rH.jsx)("div",{...i})}var{name:aH}=Jx,nH={icon:WS,example:{attributes:{layout:{type:"flex",justifyContent:"center"}},innerBlocks:[{name:"core/button",attributes:{text:(0,mI.__)("Find out more")}},{name:"core/button",attributes:{text:(0,mI.__)("Contact us")}}]},deprecated:KF,transforms:YF,edit:tH,save:oH},She=()=>E({name:aH,metadata:Jx,settings:nH});var fI={};Z(fI,{init:()=>Ihe,metadata:()=>tk,name:()=>dH,settings:()=>fH});var tk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/calendar",title:"Calendar",category:"widgets",description:"A calendar of your site\u2019s posts.",keywords:["posts","archive"],textdomain:"default",attributes:{month:{type:"integer"},year:{type:"integer"}},supports:{anchor:!0,align:!0,html:!1,color:{link:!0,__experimentalSkipSerialization:["text","background"],__experimentalDefaultControls:{background:!0,text:!0},__experimentalSelector:"table, th"},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-calendar"};var z1=o(M(),1),iH=o(V(),1),lH=o(Fu(),1),sH=o(T(),1),cH=o(Q(),1),Hf=o(P(),1),uH=o(me(),1);var si=o(v(),1),Phe=Af(e=>{if(!e)return{};let t=new Date(e);return{year:t.getFullYear(),month:t.getMonth()+1}});function mH({attributes:e,name:t}){let{date:r,hasPosts:a,hasPostsResolved:n}=(0,iH.useSelect)(m=>{let{getEntityRecords:p,hasFinishedResolution:d}=m(cH.store),f={status:"publish",per_page:1},h=p("postType","post",f),g=d("getEntityRecords",["postType","post",f]),b,y=m("core/editor");return y&&y.getEditedPostAttribute("type")==="post"&&(b=y.getEditedPostAttribute("date")),{date:b,hasPostsResolved:g,hasPosts:g&&h?.length===1}},[]),{content:i,status:l,error:s}=(0,lH.useServerSideRender)({attributes:{...e,...Phe(r)},block:t}),c=(0,uH.useDisabled)(),u=(0,sH.useBlockProps)({ref:c});return a?(0,si.jsxs)(si.Fragment,{children:[l==="loading"&&(0,si.jsx)("div",{...u,children:(0,si.jsx)(z1.Spinner,{})}),l==="error"&&(0,si.jsx)("div",{...u,children:(0,si.jsx)("p",{children:(0,Hf.sprintf)((0,Hf.__)("Error: %s"),s)})}),l==="success"&&(0,si.jsx)(uo,{wrapperProps:u,html:i})]}):(0,si.jsx)("div",{...u,children:(0,si.jsx)(z1.Placeholder,{icon:S0,label:(0,Hf.__)("Calendar"),children:n?(0,Hf.__)("No published posts found."):(0,si.jsx)(z1.Spinner,{})})})}var dI=o(W(),1),Bhe={from:[{type:"block",blocks:["core/archives"],transform:()=>(0,dI.createBlock)("core/calendar")}],to:[{type:"block",blocks:["core/archives"],transform:()=>(0,dI.createBlock)("core/archives")}]},pH=Bhe;var{name:dH}=tk,fH={icon:S0,example:{},edit:mH,transforms:pH},Ihe=()=>E({name:dH,metadata:tk,settings:fH});var vI={};Z(vI,{init:()=>Dhe,metadata:()=>rk,name:()=>_H,settings:()=>xH});var rk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/categories",title:"Terms List",category:"widgets",description:"Display a list of all terms of a given taxonomy.",keywords:["categories"],textdomain:"default",attributes:{taxonomy:{type:"string",default:"category"},displayAsDropdown:{type:"boolean",default:!1},showHierarchy:{type:"boolean",default:!1},showPostCounts:{type:"boolean",default:!1},showOnlyTopLevel:{type:"boolean",default:!1},showEmpty:{type:"boolean",default:!1},label:{type:"string",role:"content"},showLabel:{type:"boolean",default:!0}},usesContext:["enhancedPagination"],supports:{anchor:!0,align:!0,html:!1,spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:"wp-block-categories-editor",style:"wp-block-categories"};var ar=o(M(),1),hH=o(me(),1),Of=o(T(),1),gH=o(Wo(),1),wr=o(P(),1);var hI=o(Q(),1),vH=o(V(),1),bH=o(xr(),1);var pt=o(v(),1);function gI({attributes:{displayAsDropdown:e,showHierarchy:t,showPostCounts:r,showOnlyTopLevel:a,showEmpty:n,label:i,showLabel:l,taxonomy:s},setAttributes:c,className:u,clientId:m}){let p=(0,hH.useInstanceId)(gI,"blocks-category-select"),{records:d,isResolvingTaxonomies:f}=(0,hI.useEntityRecords)("root","taxonomy",{per_page:-1}),h=d?.filter(j=>j.visibility.public),g=h?.find(j=>j.slug===s),b=!f&&g?.hierarchical,y={per_page:-1,hide_empty:!n,context:"view"};b&&a&&(y.parent=0);let{records:k,isResolving:_}=(0,hI.useEntityRecords)("taxonomy",s,y),{createWarningNotice:x}=(0,vH.useDispatch)(bH.store),S=j=>{j.preventDefault(),x((0,wr.__)("Links are disabled in the editor."),{id:`block-library/core/categories/redirection-prevented/${m}`,type:"snackbar"})},C=j=>k?.length?j===null?k:k.filter(({parent:G})=>G===j):[],N=j=>G=>c({[j]:G}),B=j=>j?(0,gH.decodeEntities)(j).trim():(0,wr.__)("(Untitled)"),D=()=>C(b&&t?0:null).map(O=>A(O)),A=j=>{let G=C(j.id),{id:O,link:J,count:ee,name:oe}=j;return(0,pt.jsxs)("li",{className:`cat-item cat-item-${O}`,children:[(0,pt.jsx)("a",{href:J,onClick:S,children:B(oe)}),r&&` (${ee})`,b&&t&&!!G.length&&(0,pt.jsx)("ul",{className:"children",children:G.map(X=>A(X))})]},O)},H=()=>{let G=C(b&&t?0:null);return(0,pt.jsxs)(pt.Fragment,{children:[l?(0,pt.jsx)(Of.RichText,{className:"wp-block-categories__label","aria-label":(0,wr.__)("Label text"),placeholder:g?.name,withoutInteractiveFormatting:!0,value:i,onChange:O=>c({label:O})}):(0,pt.jsx)(ar.VisuallyHidden,{as:"label",htmlFor:p,children:i||g?.name}),(0,pt.jsxs)("select",{id:p,children:[(0,pt.jsx)("option",{children:(0,wr.sprintf)((0,wr.__)("Select %s"),g?.labels?.singular_name)}),G.map(O=>F(O,0))]})]})},F=(j,G)=>{let{id:O,count:J,name:ee}=j,oe=C(O);return[(0,pt.jsxs)("option",{className:`level-${G}`,children:[Array.from({length:G*3}).map(()=>"\xA0"),B(ee),r&&` (${J})`]},O),b&&t&&!!oe.length&&oe.map(X=>F(X,G+1))]},z=k?.length&&!e&&!_?"ul":"div",I=w(u,`wp-block-categories-taxonomy-${s}`,{"wp-block-categories-list":!!k?.length&&!e&&!_,"wp-block-categories-dropdown":!!k?.length&&e&&!_}),R=(0,Of.useBlockProps)({className:I}),$=q();return(0,pt.jsxs)(z,{...R,children:[(0,pt.jsx)(Of.InspectorControls,{children:(0,pt.jsxs)(ar.__experimentalToolsPanel,{label:(0,wr.__)("Settings"),resetAll:()=>{c({taxonomy:"category",displayAsDropdown:!1,showHierarchy:!1,showPostCounts:!1,showOnlyTopLevel:!1,showEmpty:!1,showLabel:!0})},dropdownMenuProps:$,children:[Array.isArray(h)&&(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>s!=="category",label:(0,wr.__)("Taxonomy"),onDeselect:()=>{c({taxonomy:"category"})},isShownByDefault:!0,children:(0,pt.jsx)(ar.SelectControl,{__next40pxDefaultSize:!0,label:(0,wr.__)("Taxonomy"),options:h.map(j=>({label:j.name,value:j.slug})),value:s,onChange:j=>c({taxonomy:j})})}),(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>!!e,label:(0,wr.__)("Display as dropdown"),onDeselect:()=>c({displayAsDropdown:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)("Display as dropdown"),checked:e,onChange:N("displayAsDropdown")})}),e&&(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>!l,label:(0,wr.__)("Show label"),onDeselect:()=>c({showLabel:!0}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{className:"wp-block-categories__indentation",label:(0,wr.__)("Show label"),checked:l,onChange:N("showLabel")})}),(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>!!r,label:(0,wr.__)("Show post counts"),onDeselect:()=>c({showPostCounts:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)("Show post counts"),checked:r,onChange:N("showPostCounts")})}),b&&(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>!!a,label:(0,wr.__)("Show only top level terms"),onDeselect:()=>c({showOnlyTopLevel:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)("Show only top level terms"),checked:a,onChange:N("showOnlyTopLevel")})}),(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>!!n,label:(0,wr.__)("Show empty terms"),onDeselect:()=>c({showEmpty:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)("Show empty terms"),checked:n,onChange:N("showEmpty")})}),b&&!a&&(0,pt.jsx)(ar.__experimentalToolsPanelItem,{hasValue:()=>!!t,label:(0,wr.__)("Show hierarchy"),onDeselect:()=>c({showHierarchy:!1}),isShownByDefault:!0,children:(0,pt.jsx)(ar.ToggleControl,{label:(0,wr.__)("Show hierarchy"),checked:t,onChange:N("showHierarchy")})})]})}),_&&(0,pt.jsx)(ar.Placeholder,{icon:Q0,label:(0,wr.__)("Terms"),children:(0,pt.jsx)(ar.Spinner,{})}),!_&&k?.length===0&&(0,pt.jsx)("p",{children:g.labels.no_terms}),!_&&k?.length>0&&(e?H():D())]})}var ok=o(P(),1);var Ehe=[{name:"terms",title:(0,ok.__)("Terms List"),icon:Gu,attributes:{taxonomy:"post_tag"},isActive:e=>e.taxonomy!=="category"},{name:"categories",title:(0,ok.__)("Categories List"),description:(0,ok.__)("Display a list of all categories."),icon:Gu,attributes:{taxonomy:"category"},isActive:["taxonomy"],isDefault:!0}],yH=Ehe;var{name:_H}=rk,xH={icon:Gu,example:{},edit:gI,variations:yH},Dhe=()=>E({name:_H,metadata:rk,settings:xH});var yI={};Z(yI,{init:()=>zhe,metadata:()=>lk,name:()=>F1,settings:()=>AH});var $c=o(T(),1),NH=o(V(),1),qc=o(M(),1),Uf=o(U(),1),V1=o(P(),1);var kH=o(P(),1),wH=o(M(),1),ak=o(V(),1),nk=o(W(),1),bI=o(T(),1),CH=o(v(),1),Lhe=({clientId:e})=>{let{replaceBlocks:t}=(0,ak.useDispatch)(bI.store),r=(0,ak.useSelect)(a=>a(bI.store).getBlock(e),[e]);return(0,CH.jsx)(wH.ToolbarButton,{onClick:()=>t(r.clientId,(0,nk.rawHandler)({HTML:(0,nk.serialize)(r)})),children:(0,kH.__)("Convert to blocks")})},SH=Lhe;var TH=o(T(),1),Ll=o(M(),1),ik=o(U(),1),jf=o(P(),1),PH=o(V(),1);var BH=o(me(),1),Ji=o(v(),1);function Mhe({onClick:e,isModalFullScreen:t}){return(0,BH.useViewportMatch)("small","<")?null:(0,Ji.jsx)(Ll.Button,{size:"compact",onClick:e,icon:kp,isPressed:t,label:t?(0,jf.__)("Exit fullscreen"):(0,jf.__)("Enter fullscreen")})}function Ahe(e){let t=(0,PH.useSelect)(r=>r(TH.store).getSettings().styles);return(0,ik.useEffect)(()=>{let{baseURL:r,suffix:a,settings:n}=window.wpEditorL10n.tinymce;return window.tinymce.EditorManager.overrideDefaults({base_url:r,suffix:a}),window.wp.oldEditor.initialize(e.id,{tinymce:{...n,setup(i){i.on("init",()=>{let l=i.getDoc();t.forEach(({css:s})=>{let c=l.createElement("style");c.innerHTML=s,l.head.appendChild(c)})})}}}),()=>{window.wp.oldEditor.remove(e.id)}},[]),(0,Ji.jsx)("textarea",{...e})}function IH({clientId:e,content:t,onClose:r,onChange:a}){let[n,i]=(0,ik.useState)(!1),l=`editor-${e}`;return(0,Ji.jsxs)(Ll.Modal,{title:(0,jf.__)("Classic Editor"),onRequestClose:r,shouldCloseOnClickOutside:!1,overlayClassName:"block-editor-freeform-modal",isFullScreen:n,className:"block-editor-freeform-modal__content",headerActions:(0,Ji.jsx)(Mhe,{onClick:()=>i(!n),isModalFullScreen:n}),children:[(0,Ji.jsx)(Ahe,{id:l,defaultValue:t}),(0,Ji.jsxs)(Ll.Flex,{className:"block-editor-freeform-modal__actions",justify:"flex-end",expanded:!1,children:[(0,Ji.jsx)(Ll.FlexItem,{children:(0,Ji.jsx)(Ll.Button,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:r,children:(0,jf.__)("Cancel")})}),(0,Ji.jsx)(Ll.FlexItem,{children:(0,Ji.jsx)(Ll.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>{a(window.wp.oldEditor.getContent(l)),r()},children:(0,jf.__)("Save")})})]})]})}var Zo=o(v(),1);function EH({attributes:e,setAttributes:t,clientId:r}){let{content:a}=e,[n,i]=(0,Uf.useState)(!1),l=(0,Uf.useRef)(null),s=(0,NH.useSelect)(c=>c($c.store).canRemoveBlock(r),[r]);return(0,Zo.jsxs)(Zo.Fragment,{children:[s&&(0,Zo.jsx)($c.BlockControls,{children:(0,Zo.jsx)(qc.ToolbarGroup,{children:(0,Zo.jsx)(SH,{clientId:r})})}),(0,Zo.jsx)($c.BlockControls,{children:(0,Zo.jsx)(qc.ToolbarGroup,{children:(0,Zo.jsx)(qc.ToolbarButton,{ref:l,onClick:()=>i(!0),children:(0,V1.__)("Edit")})})}),(0,Zo.jsxs)("div",{...(0,$c.useBlockProps)(),children:[a?(0,Zo.jsx)(Uf.RawHTML,{children:a}):(0,Zo.jsx)(qc.Placeholder,{icon:(0,Zo.jsx)($c.BlockIcon,{icon:P0}),label:(0,V1.__)("Classic"),instructions:(0,V1.__)("Use the classic editor to add content."),children:(0,Zo.jsx)(qc.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>i(!0),children:(0,V1.__)("Edit contents")})}),n&&(0,Zo.jsx)(IH,{clientId:r,content:a,onClose:()=>{i(!1),l.current&&l.current.focus()},onChange:c=>t({content:c})})]})]})}var lk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/freeform",title:"Classic",category:"text",description:"Use the classic WordPress editor.",textdomain:"default",attributes:{content:{type:"string",source:"raw"}},supports:{className:!1,customClassName:!1,lock:!1,reusable:!1,renaming:!1,visibility:!1,customCSS:!1},editorStyle:"wp-block-freeform-editor"};var DH=o(U(),1),LH=o(v(),1);function MH({attributes:e}){let{content:t}=e;return(0,LH.jsx)(DH.RawHTML,{children:t})}var{name:F1}=lk,AH={icon:P0,edit:EH,save:MH},zhe=()=>E({name:F1,metadata:lk,settings:AH});var CI={};Z(CI,{init:()=>Ghe,metadata:()=>uk,name:()=>jH,settings:()=>dk});var wI=o(P(),1);var OH=o(W(),1);var _I=o(P(),1),sk=o(T(),1),ck=o(W(),1),xI=o(v(),1);function RH({attributes:e,setAttributes:t,onRemove:r,insertBlocksAfter:a,mergeBlocks:n}){let i=(0,sk.useBlockProps)();return(0,xI.jsx)("pre",{...i,children:(0,xI.jsx)(sk.RichText,{tagName:"code",identifier:"content",value:e.content,onChange:l=>t({content:l}),onRemove:r,onMerge:n,placeholder:(0,_I.__)("Write code\u2026"),"aria-label":(0,_I.__)("Code"),preserveWhiteSpace:!0,__unstablePastePlainText:!0,__unstableOnSplitAtDoubleLineEnd:()=>a((0,ck.createBlock)((0,ck.getDefaultBlockName)()))})})}var uk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/code",title:"Code",category:"text",description:"Display code snippets that respect your spacing and tabs.",textdomain:"default",attributes:{content:{type:"rich-text",source:"rich-text",selector:"code",__unstablePreserveWhiteSpace:!0,role:"content"}},supports:{align:["wide"],anchor:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},spacing:{margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{width:!0,color:!0}},color:{text:!0,background:!0,gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-code"};var mk=o(T(),1);var zH=o(me(),1);function VH(e){return(0,zH.pipe)(Fhe,Hhe)(e||"")}function Fhe(e){return e.replace(/\[/g,"&#91;")}function Hhe(e){return e.replace(/^(\s*https?:)\/\/([^\s<>"]+\s*)$/m,"$1&#47;&#47;$2")}var kI=o(v(),1);function FH({attributes:e}){return(0,kI.jsx)("pre",{...mk.useBlockProps.save(),children:(0,kI.jsx)(mk.RichText.Content,{tagName:"code",value:VH(typeof e.content=="string"?e.content:e.content.toHTMLString({preserveWhiteSpace:!0}))})})}var H1=o(W(),1),pk=o(em(),1);var Ohe={from:[{type:"input",regExp:/^```$/,transform:()=>(0,H1.createBlock)("core/code")},{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,H1.createBlock)("core/code",{...e,...Wc(e,"core/code"),content:t})}},{type:"block",blocks:["core/html"],transform:e=>{let{content:t}=e;return(0,H1.createBlock)("core/code",{...e,...Wc(e,"core/code"),content:(0,pk.toHTMLString)({value:(0,pk.create)({text:t})})})}},{type:"raw",isMatch:e=>e.nodeName==="PRE"&&e.children.length===1&&e.firstChild.nodeName==="CODE",schema:{pre:{children:{code:{children:{"#text":{}}}}}}}],to:[{type:"block",blocks:["core/paragraph"],transform:e=>{let{content:t}=e;return(0,H1.createBlock)("core/paragraph",{...Wc(e,"core/paragraph"),content:t})}}]},HH=Ohe;var{fieldsKey:jhe,formKey:Uhe}=K(OH.privateApis),{name:jH}=uk,dk={icon:B0,example:{attributes:{content:(0,wI.__)(`// A \u201Cblock\u201D is the abstract term used
// to describe units of markup that
// when composed together, form the
// content or layout of a page.
registerBlockType( name, settings );`)}},merge(e,t){return{content:e.content+`

`+t.content}},transforms:HH,edit:RH,save:FH};window.__experimentalContentOnlyInspectorFields&&(dk[jhe]=[{id:"content",label:(0,wI.__)("Code"),type:"text",Edit:"rich-text"}],dk[Uhe]={fields:["content"]});var Ghe=()=>E({name:jH,metadata:uk,settings:dk});var TI={};Z(TI,{init:()=>Khe,metadata:()=>hk,name:()=>ZH,settings:()=>KH});var UH=o(T(),1),SI=o(v(),1),Whe=[{attributes:{verticalAlignment:{type:"string"},width:{type:"number",min:0,max:100}},isEligible({width:e}){return isFinite(e)},migrate(e){return{...e,width:`${e.width}%`}},save({attributes:e}){let{verticalAlignment:t,width:r}=e,a=w({[`is-vertically-aligned-${t}`]:t}),n={flexBasis:r+"%"};return(0,SI.jsx)("div",{className:a,style:n,children:(0,SI.jsx)(UH.InnerBlocks.Content,{})})}}],GH=Whe;var Ko=o(T(),1),tm=o(M(),1),fk=o(V(),1),Ap=o(P(),1);var ci=o(v(),1);function $he({width:e,setAttributes:t}){let[r]=(0,Ko.useSettings)("spacing.units"),a=(0,tm.__experimentalUseCustomUnits)({availableUnits:r||["%","px","em","rem","vw"]}),n=q();return(0,ci.jsx)(tm.__experimentalToolsPanel,{label:(0,Ap.__)("Settings"),resetAll:()=>{t({width:void 0})},dropdownMenuProps:n,children:(0,ci.jsx)(tm.__experimentalToolsPanelItem,{hasValue:()=>e!==void 0,label:(0,Ap.__)("Width"),onDeselect:()=>t({width:void 0}),isShownByDefault:!0,children:(0,ci.jsx)(tm.__experimentalUnitControl,{label:(0,Ap.__)("Width"),__unstableInputWidth:"calc(50% - 8px)",__next40pxDefaultSize:!0,value:e||"",onChange:i=>{i=0>parseFloat(i)?"0":i,t({width:i})},units:a})})})}function qhe({attributes:{verticalAlignment:e,width:t,templateLock:r,allowedBlocks:a},setAttributes:n,clientId:i}){let l=w("block-core-columns",{[`is-vertically-aligned-${e}`]:e}),{columnsIds:s,hasChildBlocks:c,rootClientId:u}=(0,fk.useSelect)(k=>{let{getBlockOrder:_,getBlockRootClientId:x}=k(Ko.store),S=x(i);return{hasChildBlocks:_(i).length>0,rootClientId:S,columnsIds:_(S)}},[i]),{updateBlockAttributes:m}=(0,fk.useDispatch)(Ko.store),p=k=>{n({verticalAlignment:k}),m(u,{verticalAlignment:null})},d=Number.isFinite(t)?t+"%":t,f=(0,Ko.useBlockProps)({className:l,style:d?{flexBasis:d}:void 0}),h=s.length,g=s.indexOf(i)+1,b=(0,Ap.sprintf)((0,Ap.__)("%1$s (%2$d of %3$d)"),f["aria-label"],g,h),y=(0,Ko.useInnerBlocksProps)({...f,"aria-label":b},{templateLock:r,allowedBlocks:a,renderAppender:c?void 0:Ko.InnerBlocks.ButtonBlockAppender});return(0,ci.jsxs)(ci.Fragment,{children:[(0,ci.jsx)(Ko.BlockControls,{children:(0,ci.jsx)(Ko.BlockVerticalAlignmentToolbar,{onChange:p,value:e,controls:["top","center","bottom","stretch"]})}),(0,ci.jsx)(Ko.InspectorControls,{children:(0,ci.jsx)($he,{width:t,setAttributes:n})}),(0,ci.jsx)("div",{...y})]})}var WH=qhe;var hk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/column",title:"Column",category:"design",parent:["core/columns"],description:"A single column within a columns block.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},width:{type:"string"},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{__experimentalOnEnter:!0,anchor:!0,reusable:!1,html:!1,color:{gradients:!0,heading:!0,button:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,spacing:{blockGap:!0,padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:!0,interactivity:{clientNavigation:!0},allowedBlocks:!0}};var gk=o(T(),1),$H=o(v(),1);function qH({attributes:e}){let{verticalAlignment:t,width:r}=e,a=w({[`is-vertically-aligned-${t}`]:t}),n;if(r&&/\d/.test(r)){let s=Number.isFinite(r)?r+"%":r;!Number.isFinite(r)&&r?.endsWith("%")&&(s=Math.round(Number.parseFloat(r)*1e12)/1e12+"%"),n={flexBasis:s}}let i=gk.useBlockProps.save({className:a,style:n}),l=gk.useInnerBlocksProps.save(i);return(0,$H.jsx)("div",{...l})}var{name:ZH}=hk,KH={icon:s9,edit:WH,save:qH,deprecated:GH},Khe=()=>E({name:ZH,metadata:hk,settings:KH});var II={};Z(II,{init:()=>sge,metadata:()=>yk,name:()=>nO,settings:()=>iO});var O1=o(P(),1);var QH=o(W(),1),zp=o(T(),1),Rp=o(v(),1);function vk(e){let{doc:t}=vk;t||(t=document.implementation.createHTMLDocument(""),vk.doc=t);let r;t.body.innerHTML=e;for(let a of t.body.firstChild.classList)if(r=a.match(/^layout-column-(\d+)$/))return Number(r[1])-1}var Qhe=e=>{if(!e.customTextColor&&!e.customBackgroundColor)return e;let t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor);let{customTextColor:r,customBackgroundColor:a,...n}=e;return{...n,style:t,isStackedOnMobile:!0}},YH=[{attributes:{verticalAlignment:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textColor:{type:"string"}},migrate:Qhe,save({attributes:e}){let{verticalAlignment:t,backgroundColor:r,customBackgroundColor:a,textColor:n,customTextColor:i}=e,l=(0,zp.getColorClassName)("background-color",r),s=(0,zp.getColorClassName)("color",n),c=w({"has-background":r||a,"has-text-color":n||i,[l]:l,[s]:s,[`are-vertically-aligned-${t}`]:t});return(0,Rp.jsx)("div",{className:c||void 0,style:{backgroundColor:l?void 0:a,color:s?void 0:i},children:(0,Rp.jsx)(zp.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},isEligible(e,t){return t.some(a=>/layout-column-\d+/.test(a.originalContent))?t.some(a=>vk(a.originalContent)!==void 0):!1},migrate(e,t){let a=t.reduce((l,s)=>{let{originalContent:c}=s,u=vk(c);return u===void 0&&(u=0),l[u]||(l[u]=[]),l[u].push(s),l},[]).map(l=>(0,QH.createBlock)("core/column",{},l)),{columns:n,...i}=e;return[{...i,isStackedOnMobile:!0},a]},save({attributes:e}){let{columns:t}=e;return(0,Rp.jsx)("div",{className:`has-${t}-columns`,children:(0,Rp.jsx)(zp.InnerBlocks.Content,{})})}},{attributes:{columns:{type:"number",default:2}},migrate(e,t){let{columns:r,...a}=e;return e={...a,isStackedOnMobile:!0},[e,t]},save({attributes:e}){let{verticalAlignment:t,columns:r}=e,a=w(`has-${r}-columns`,{[`are-vertically-aligned-${t}`]:t});return(0,Rp.jsx)("div",{className:a,children:(0,Rp.jsx)(zp.InnerBlocks.Content,{})})}}];var Vp=o(P(),1),tl=o(M(),1),Vr=o(T(),1),el=o(V(),1),Fp=o(W(),1);var bk=e=>{let t=parseFloat(e);return Number.isFinite(t)?parseFloat(t.toFixed(2)):void 0};function XH(e,t){let{width:r=100/t}=e.attributes;return bk(r)}function Yhe(e,t=e.length){return e.reduce((r,a)=>r+XH(a,t),0)}function Xhe(e,t=e.length){return e.reduce((r,a)=>{let n=XH(a,t);return Object.assign(r,{[a.clientId]:n})},{})}function PI(e,t,r=e.length){let a=Yhe(e,r);return Object.fromEntries(Object.entries(Xhe(e,r)).map(([n,i])=>{let l=t*i/a;return[n,bk(l)]}))}function JH(e){return e.every(t=>{let r=t.attributes.width;return Number.isFinite(r?.endsWith?.("%")?parseFloat(r):r)})}function BI(e,t){return e.map(r=>({...r,attributes:{...r.attributes,width:`${t[r.clientId]}%`}}))}var mo=o(v(),1),Jhe={name:"core/column"};function ege({clientId:e,setAttributes:t,isStackedOnMobile:r}){let{count:a,canInsertColumnBlock:n,minCount:i}=(0,el.useSelect)(m=>{let{canInsertBlockType:p,canRemoveBlock:d,getBlockOrder:f}=m(Vr.store),h=f(e),g=h.reduce((b,y,k)=>(d(y)||b.push(k),b),[]);return{count:h.length,canInsertColumnBlock:p("core/column",e),minCount:Math.max(...g)+1}},[e]),{getBlocks:l}=(0,el.useSelect)(Vr.store),{replaceInnerBlocks:s}=(0,el.useDispatch)(Vr.store);function c(m,p){let d=l(e),f=JH(d),h=p>m;if(h&&f){let g=bk(100/p),b=p-m,y=PI(d,100-g*b);d=[...BI(d,y),...Array.from({length:b}).map(()=>(0,Fp.createBlock)("core/column",{width:`${g}%`}))]}else if(h)d=[...d,...Array.from({length:p-m}).map(()=>(0,Fp.createBlock)("core/column"))];else if(p<m&&(d=d.slice(0,-(m-p)),f)){let g=PI(d,100);d=BI(d,g)}s(e,d)}let u=q();return(0,mo.jsxs)(tl.__experimentalToolsPanel,{label:(0,Vp.__)("Settings"),resetAll:()=>{t({isStackedOnMobile:!0})},dropdownMenuProps:u,children:[n&&(0,mo.jsxs)(tl.__experimentalVStack,{spacing:4,style:{gridColumn:"1 / -1"},children:[(0,mo.jsx)(tl.RangeControl,{__next40pxDefaultSize:!0,label:(0,Vp.__)("Columns"),value:a,onChange:m=>c(a,Math.max(i,m)),min:Math.max(1,i),max:Math.max(6,a)}),a>6&&(0,mo.jsx)(tl.Notice,{status:"warning",isDismissible:!1,children:(0,Vp.__)("This column count exceeds the recommended amount and may cause visual breakage.")})]}),(0,mo.jsx)(tl.__experimentalToolsPanelItem,{label:(0,Vp.__)("Stack on mobile"),isShownByDefault:!0,hasValue:()=>r!==!0,onDeselect:()=>t({isStackedOnMobile:!0}),children:(0,mo.jsx)(tl.ToggleControl,{label:(0,Vp.__)("Stack on mobile"),checked:r,onChange:()=>t({isStackedOnMobile:!r})})})]})}function tge({attributes:e,setAttributes:t,clientId:r}){let{isStackedOnMobile:a,verticalAlignment:n,templateLock:i}=e,l=(0,el.useRegistry)(),{getBlockOrder:s}=(0,el.useSelect)(Vr.store),{updateBlockAttributes:c}=(0,el.useDispatch)(Vr.store),u=w({[`are-vertically-aligned-${n}`]:n,"is-not-stacked-on-mobile":!a}),m=(0,Vr.useBlockProps)({className:u}),p=(0,Vr.useInnerBlocksProps)(m,{defaultBlock:Jhe,directInsert:!0,orientation:"horizontal",renderAppender:!1,templateLock:i});function d(f){let h=s(r);l.batch(()=>{t({verticalAlignment:f}),c(h,{verticalAlignment:f})})}return(0,mo.jsxs)(mo.Fragment,{children:[(0,mo.jsx)(Vr.BlockControls,{children:(0,mo.jsx)(Vr.BlockVerticalAlignmentToolbar,{onChange:d,value:n})}),(0,mo.jsx)(Vr.InspectorControls,{children:(0,mo.jsx)(ege,{clientId:r,setAttributes:t,isStackedOnMobile:a})}),(0,mo.jsx)("div",{...p})]})}function rge({clientId:e,name:t,setAttributes:r}){let{blockType:a,defaultVariation:n,variations:i}=(0,el.useSelect)(c=>{let{getBlockVariations:u,getBlockType:m,getDefaultBlockVariation:p}=c(Fp.store);return{blockType:m(t),defaultVariation:p(t,"block"),variations:u(t,"block")}},[t]),{replaceInnerBlocks:l}=(0,el.useDispatch)(Vr.store),s=(0,Vr.useBlockProps)();return(0,mo.jsx)("div",{...s,children:(0,mo.jsx)(Vr.__experimentalBlockVariationPicker,{icon:a?.icon?.src,label:a?.title,variations:i,instructions:(0,Vp.__)("Divide into columns. Select a layout:"),onSelect:(c=n)=>{c.attributes&&r(c.attributes),c.innerBlocks&&l(e,(0,Fp.createBlocksFromInnerBlocksTemplate)(c.innerBlocks),!0)},allowSkip:!0})})}var oge=e=>{let{clientId:t}=e,a=(0,el.useSelect)(n=>n(Vr.store).getBlocks(t).length>0,[t])?tge:rge;return(0,mo.jsx)(a,{...e})},eO=oge;var yk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/columns",title:"Columns",category:"design",allowedBlocks:["core/column"],description:"Display content in multiple columns, with blocks added to each column.",textdomain:"default",attributes:{verticalAlignment:{type:"string"},isStackedOnMobile:{type:"boolean",default:!0},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,link:!0,heading:!0,button:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{blockGap:{__experimentalDefault:"2em",sides:["horizontal","vertical"]},margin:["top","bottom"],padding:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:"flex",flexWrap:"nowrap"}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},shadow:!0},editorStyle:"wp-block-columns-editor",style:"wp-block-columns"};var _k=o(T(),1),tO=o(v(),1);function rO({attributes:e}){let{isStackedOnMobile:t,verticalAlignment:r}=e,a=w({[`are-vertically-aligned-${r}`]:r,"is-not-stacked-on-mobile":!t}),n=_k.useBlockProps.save({className:a}),i=_k.useInnerBlocksProps.save(n);return(0,tO.jsx)("div",{...i})}var Bn=o(M(),1),ui=o(P(),1),mi=o(v(),1),nge=[{name:"one-column-full",title:(0,ui.__)("100"),description:(0,ui.__)("One column"),icon:(0,mi.jsx)(Bn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,mi.jsx)(Bn.Path,{d:"M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column"]],scope:["block"]},{name:"two-columns-equal",title:(0,ui.__)("50 / 50"),description:(0,ui.__)("Two columns; equal split"),icon:(0,mi.jsx)(Bn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,mi.jsx)(Bn.Path,{d:"M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10Z"})}),isDefault:!0,innerBlocks:[["core/column"],["core/column"]],scope:["block"]},{name:"two-columns-one-third-two-thirds",title:(0,ui.__)("33 / 66"),description:(0,ui.__)("Two columns; one-third, two-thirds split"),icon:(0,mi.jsx)(Bn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,mi.jsx)(Bn.Path,{d:"M0 10a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm17 0a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H19a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column",{width:"33.33%"}],["core/column",{width:"66.66%"}]],scope:["block"]},{name:"two-columns-two-thirds-one-third",title:(0,ui.__)("66 / 33"),description:(0,ui.__)("Two columns; two-thirds, one-third split"),icon:(0,mi.jsx)(Bn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,mi.jsx)(Bn.Path,{d:"M0 10a2 2 0 0 1 2-2h27a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm33 0a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35a2 2 0 0 1-2-2V10Z"})}),innerBlocks:[["core/column",{width:"66.66%"}],["core/column",{width:"33.33%"}]],scope:["block"]},{name:"three-columns-equal",title:(0,ui.__)("33 / 33 / 33"),description:(0,ui.__)("Three columns; equal split"),icon:(0,mi.jsx)(Bn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,mi.jsx)(Bn.Path,{d:"M0 10a2 2 0 0 1 2-2h10.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm16.5 0c0-1.105.864-2 1.969-2H29.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H18.47c-1.105 0-1.969-.895-1.969-2V10Zm17 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H35.469c-1.105 0-1.969-.895-1.969-2V10Z"})}),innerBlocks:[["core/column"],["core/column"],["core/column"]],scope:["block"]},{name:"three-columns-wider-center",title:(0,ui.__)("25 / 50 / 25"),description:(0,ui.__)("Three columns; wide center column"),icon:(0,mi.jsx)(Bn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,mi.jsx)(Bn.Path,{d:"M0 10a2 2 0 0 1 2-2h7.531c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H2a2 2 0 0 1-2-2V10Zm13.5 0c0-1.105.864-2 1.969-2H32.53c1.105 0 1.969.895 1.969 2v28c0 1.105-.864 2-1.969 2H15.47c-1.105 0-1.969-.895-1.969-2V10Zm23 0c0-1.105.864-2 1.969-2H46a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2h-7.531c-1.105 0-1.969-.895-1.969-2V10Z"})}),innerBlocks:[["core/column",{width:"25%"}],["core/column",{width:"50%"}],["core/column",{width:"25%"}]],scope:["block"]}],oO=nge;var Gf=o(W(),1),ige=6,lge={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert:e=>{let t=+(100/e.length).toFixed(2),r=e.map(({name:a,attributes:n,innerBlocks:i})=>["core/column",{width:`${t}%`},[[a,{...n},i]]]);return(0,Gf.createBlock)("core/columns",{},(0,Gf.createBlocksFromInnerBlocksTemplate)(r))},isMatch:({length:e},t)=>t.length===1&&t[0].name==="core/columns"?!1:e&&e<=ige},{type:"block",blocks:["core/media-text"],priority:1,transform:(e,t)=>{let{align:r,backgroundColor:a,textColor:n,style:i,mediaAlt:l,mediaId:s,mediaPosition:c,mediaSizeSlug:u,mediaType:m,mediaUrl:p,mediaWidth:d,verticalAlignment:f}=e,h;if(m==="image"||!m){let b={id:s,alt:l,url:p,sizeSlug:u},y={href:e.href,linkClass:e.linkClass,linkDestination:e.linkDestination,linkTarget:e.linkTarget,rel:e.rel};h=["core/image",{...b,...y}]}else h=["core/video",{id:s,src:p}];let g=[["core/column",{width:`${d}%`},[h]],["core/column",{width:`${100-d}%`},t]];return c==="right"&&g.reverse(),(0,Gf.createBlock)("core/columns",{align:r,backgroundColor:a,textColor:n,style:i,verticalAlignment:f},(0,Gf.createBlocksFromInnerBlocksTemplate)(g))}}],ungroup:(e,t)=>t.flatMap(r=>r.innerBlocks)},aO=lge;var{name:nO}=yk,iO={icon:u9,variations:oO,example:{viewportWidth:782,innerBlocks:[{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,O1.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.")}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg"}},{name:"core/paragraph",attributes:{content:(0,O1.__)("Suspendisse commodo neque lacus, a dictum orci interdum et.")}}]},{name:"core/column",innerBlocks:[{name:"core/paragraph",attributes:{content:(0,O1.__)("Etiam et egestas lorem. Vivamus sagittis sit amet dolor quis lobortis. Integer sed fermentum arcu, id vulputate lacus. Etiam fermentum sem eu quam hendrerit.")}},{name:"core/paragraph",attributes:{content:(0,O1.__)("Nam risus massa, ullamcorper consectetur eros fermentum, porta aliquet ligula. Sed vel mauris nec enim.")}}]}]},deprecated:YH,edit:eO,save:rO,transforms:aO},sge=()=>E({name:nO,metadata:yk,settings:iO});var LI={};Z(LI,{init:()=>fge,metadata:()=>xk,name:()=>CO,settings:()=>SO});var xk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments",title:"Comments",category:"theme",description:"An advanced block that allows displaying post comments using different visual configurations.",textdomain:"default",attributes:{tagName:{type:"string",default:"div"},legacy:{type:"boolean",default:!1}},supports:{anchor:!0,align:["wide","full"],html:!1,color:{gradients:!0,heading:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},editorStyle:"wp-block-comments-editor",usesContext:["postId","postType"]};var kk=o(T(),1),NI=o(v(),1),uge={attributes:{tagName:{type:"string",default:"div"}},apiVersion:3,supports:{align:["wide","full"],html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}}},save({attributes:{tagName:e}}){let t=kk.useBlockProps.save(),{className:r}=t,n=(r?.split(" ")||[])?.filter(l=>l!=="wp-block-comments"),i={...t,className:n.join(" ")};return(0,NI.jsx)(e,{...i,children:(0,NI.jsx)(kk.InnerBlocks.Content,{})})}},lO=[uge];var Tk=o(T(),1);var sO=o(P(),1),j1=o(T(),1);var wk=o(v(),1),{HTMLElementControl:mge}=K(j1.privateApis);function cO({attributes:{tagName:e},setAttributes:t}){return(0,wk.jsx)(j1.InspectorControls,{children:(0,wk.jsx)(j1.InspectorControls,{group:"advanced",children:(0,wk.jsx)(mge,{tagName:e,onChange:r=>t({tagName:r}),options:[{label:(0,sO.__)("Default (<div>)"),value:"div"},{label:"<section>",value:"section"},{label:"<aside>",value:"aside"}]})})})}var om=o(T(),1),DI=o(P(),1),bO=o(M(),1);var dO=o(T(),1),Qr=o(P(),1),fO=o(V(),1),hO=o(Q(),1),gO=o(U(),1);var rl=o(P(),1),rm=o(T(),1),uO=o(M(),1),mO=o(me(),1),Ck=o(Q(),1),EI=o(V(),1),Ka=o(v(),1),pO=()=>{let e=(0,mO.useInstanceId)(pO);return(0,Ka.jsxs)("div",{className:"comment-respond",children:[(0,Ka.jsx)("h3",{className:"comment-reply-title",children:(0,rl.__)("Leave a Reply")}),(0,Ka.jsxs)("form",{noValidate:!0,className:"comment-form",onSubmit:t=>t.preventDefault(),children:[(0,Ka.jsxs)("p",{children:[(0,Ka.jsx)("label",{htmlFor:`comment-${e}`,children:(0,rl.__)("Comment")}),(0,Ka.jsx)("textarea",{id:`comment-${e}`,name:"comment",cols:"45",rows:"8",readOnly:!0})]}),(0,Ka.jsx)("p",{className:"form-submit wp-block-button",children:(0,Ka.jsx)("input",{name:"submit",type:"submit",className:w("wp-block-button__link",(0,rm.__experimentalGetElementClassName)("button")),label:(0,rl.__)("Post Comment"),value:(0,rl.__)("Post Comment"),"aria-disabled":"true"})})]})]})},pge=({postId:e,postType:t})=>{let[r,a]=(0,Ck.useEntityProp)("postType",t,"comment_status",e),n=t===void 0||e===void 0,i=(0,EI.useSelect)(s=>s(rm.store).getSettings().__experimentalDiscussionSettings?.defaultCommentStatus,[]),l=(0,EI.useSelect)(s=>t?!!s(Ck.store).getPostType(t)?.supports.comments:!1);if(!n&&r!=="open")if(r==="closed"){let s=[(0,Ka.jsx)(uO.Button,{__next40pxDefaultSize:!0,onClick:()=>a("open"),variant:"primary",children:(0,rl._x)("Enable comments","action that affects the current post")},"enableComments")];return(0,Ka.jsx)(rm.Warning,{actions:s,children:(0,rl.__)("Post Comments Form block: Comments are not enabled for this item.")})}else if(l){if(i!=="open")return(0,Ka.jsx)(rm.Warning,{children:(0,rl.__)("Post Comments Form block: Comments are not enabled.")})}else return(0,Ka.jsx)(rm.Warning,{children:(0,rl.sprintf)((0,rl.__)("Post Comments Form block: Comments are not enabled for this post type (%s)."),t)});return(0,Ka.jsx)(pO,{})},Sk=pge;var et=o(v(),1);function vO({postType:e,postId:t}){let[r]=(0,hO.useEntityProp)("postType",e,"title",t);r=r||(0,Qr.__)("Post Title");let a=(0,fO.useSelect)(n=>n(dO.store).getSettings().__experimentalDiscussionSettings?.avatarURL,[]);return(0,et.jsxs)("div",{className:"wp-block-comments__legacy-placeholder",inert:"true",children:[(0,et.jsx)("h3",{children:(0,Qr.sprintf)((0,Qr.__)("One response to %s"),r)}),(0,et.jsxs)("div",{className:"navigation",children:[(0,et.jsx)("div",{className:"alignleft",children:(0,et.jsxs)("a",{href:"#top",children:["\xAB ",(0,Qr.__)("Older Comments")]})}),(0,et.jsx)("div",{className:"alignright",children:(0,et.jsxs)("a",{href:"#top",children:[(0,Qr.__)("Newer Comments")," \xBB"]})})]}),(0,et.jsx)("ol",{className:"commentlist",children:(0,et.jsx)("li",{className:"comment even thread-even depth-1",children:(0,et.jsxs)("article",{className:"comment-body",children:[(0,et.jsxs)("footer",{className:"comment-meta",children:[(0,et.jsxs)("div",{className:"comment-author vcard",children:[(0,et.jsx)("img",{alt:(0,Qr.__)("Commenter Avatar"),src:a,className:"avatar avatar-32 photo",height:"32",width:"32",loading:"lazy"}),(0,et.jsx)("b",{className:"fn",children:(0,et.jsx)("a",{href:"#top",className:"url",children:(0,Qr.__)("A WordPress Commenter")})})," ",(0,et.jsxs)("span",{className:"says",children:[(0,Qr.__)("says"),":"]})]}),(0,et.jsxs)("div",{className:"comment-metadata",children:[(0,et.jsx)("a",{href:"#top",children:(0,et.jsx)("time",{dateTime:"2000-01-01T00:00:00+00:00",children:(0,Qr.__)("January 1, 2000 at 00:00 am")})})," ",(0,et.jsx)("span",{className:"edit-link",children:(0,et.jsx)("a",{className:"comment-edit-link",href:"#top",children:(0,Qr.__)("Edit")})})]})]}),(0,et.jsx)("div",{className:"comment-content",children:(0,et.jsxs)("p",{children:[(0,Qr.__)("Hi, this is a comment."),(0,et.jsx)("br",{}),(0,Qr.__)("To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard."),(0,et.jsx)("br",{}),(0,gO.createInterpolateElement)((0,Qr.__)("Commenter avatars come from <a>Gravatar</a>."),{a:(0,et.jsx)("a",{href:"https://gravatar.com/"})})]})}),(0,et.jsx)("div",{className:"reply",children:(0,et.jsx)("a",{className:"comment-reply-link",href:"#top","aria-label":(0,Qr.__)("Reply to A WordPress Commenter"),children:(0,Qr._x)("Reply","verb")})})]})})}),(0,et.jsxs)("div",{className:"navigation",children:[(0,et.jsx)("div",{className:"alignleft",children:(0,et.jsxs)("a",{href:"#top",children:["\xAB ",(0,Qr.__)("Older Comments")]})}),(0,et.jsx)("div",{className:"alignright",children:(0,et.jsxs)("a",{href:"#top",children:[(0,Qr.__)("Newer Comments")," \xBB"]})})]}),(0,et.jsx)(Sk,{postId:t,postType:e})]})}var Ml=o(v(),1);function yO({attributes:e,setAttributes:t,context:{postType:r,postId:a}}){let{textAlign:n}=e,i=[(0,Ml.jsx)(bO.Button,{__next40pxDefaultSize:!0,onClick:()=>{t({legacy:!1})},variant:"primary",children:(0,DI.__)("Switch to editable mode")},"convert")],l=(0,om.useBlockProps)({className:w({[`has-text-align-${n}`]:n})});return(0,Ml.jsxs)(Ml.Fragment,{children:[(0,Ml.jsx)(om.BlockControls,{group:"block",children:(0,Ml.jsx)(om.AlignmentControl,{value:n,onChange:s=>{t({textAlign:s})}})}),(0,Ml.jsxs)("div",{...l,children:[(0,Ml.jsx)(om.Warning,{actions:i,children:(0,DI.__)("Comments block: You\u2019re currently using the legacy version of the block. The following is just a placeholder - the final styling will likely look different. For a better representation and more customization options, switch the block to its editable mode.")}),(0,Ml.jsx)(vO,{postId:a,postType:r})]})]})}var dge=[["core/comments-title"],["core/comment-template",{},[["core/columns",{},[["core/column",{width:"40px"},[["core/avatar",{size:40,style:{border:{radius:"20px"}}}]]],["core/column",{},[["core/comment-author-name",{fontSize:"small"}],["core/group",{layout:{type:"flex"},style:{spacing:{margin:{top:"0px",bottom:"0px"}}}},[["core/comment-date",{fontSize:"small"}],["core/comment-edit-link",{fontSize:"small"}]]],["core/comment-content"],["core/comment-reply-link",{fontSize:"small"}]]]]]]],["core/comments-pagination"],["core/post-comments-form"]],_O=dge;var am=o(v(),1);function xO(e){let{attributes:t,setAttributes:r,clientId:a}=e,{tagName:n,legacy:i}=t,l=(0,Tk.useBlockProps)(),s=(0,Tk.useInnerBlocksProps)(l,{template:_O});return i?(0,am.jsx)(yO,{...e}):(0,am.jsxs)(am.Fragment,{children:[(0,am.jsx)(cO,{attributes:t,setAttributes:r,clientId:a}),(0,am.jsx)(n,{...s})]})}var Pk=o(T(),1),kO=o(v(),1);function wO({attributes:{tagName:e,legacy:t}}){let r=Pk.useBlockProps.save(),a=Pk.useInnerBlocksProps.save(r);return t?null:(0,kO.jsx)(e,{...a})}var{name:CO}=xk,SO={icon:pP,example:{},edit:xO,save:wO,deprecated:lO},fge=()=>E({name:CO,metadata:xk,settings:SO});var AI={};Z(AI,{init:()=>gge,metadata:()=>Bk,name:()=>BO,settings:()=>IO});var Bk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:"fse",name:"core/comment-author-avatar",title:"Comment Author Avatar (deprecated)",category:"theme",ancestor:["core/comment-template"],description:"This block is deprecated. Please use the Avatar block instead.",textdomain:"default",attributes:{width:{type:"number",default:96},height:{type:"number",default:96}},usesContext:["commentId"],supports:{html:!1,inserter:!1,__experimentalBorder:{radius:!0,width:!0,color:!0,style:!0},color:{background:!0,text:!1,__experimentalDefaultControls:{background:!0}},spacing:{__experimentalSkipSerialization:!0,margin:!0,padding:!0},interactivity:{clientNavigation:!0}}};var nm=o(T(),1),Wf=o(M(),1),MI=o(Q(),1),TO=o(V(),1),Hp=o(P(),1),Al=o(v(),1);function PO({attributes:e,context:{commentId:t},setAttributes:r,isSelected:a}){let{height:n,width:i}=e,[l]=(0,MI.useEntityProp)("root","comment","author_avatar_urls",t),[s]=(0,MI.useEntityProp)("root","comment","author_name",t),c=l?Object.values(l):null,u=l?Object.keys(l):null,m=u?u[0]:24,p=u?u[u.length-1]:96,d=(0,nm.useBlockProps)(),f=(0,nm.__experimentalGetSpacingClassesAndStyles)(e),h=Math.floor(p*2.5),g=(0,TO.useSelect)(k=>{let{__experimentalDiscussionSettings:_}=k(nm.store).getSettings();return _?.avatarURL},[]),b=(0,Al.jsx)(nm.InspectorControls,{children:(0,Al.jsx)(Wf.PanelBody,{title:(0,Hp.__)("Settings"),children:(0,Al.jsx)(Wf.RangeControl,{__next40pxDefaultSize:!0,label:(0,Hp.__)("Image size"),onChange:k=>r({width:k,height:k}),min:m,max:h,initialPosition:i,value:i})})}),y=(0,Al.jsx)(Wf.ResizableBox,{size:{width:i,height:n},showHandle:a,onResizeStop:(k,_,x,S)=>{r({height:parseInt(n+S.height,10),width:parseInt(i+S.width,10)})},lockAspectRatio:!0,enable:{top:!1,right:!(0,Hp.isRTL)(),bottom:!0,left:(0,Hp.isRTL)()},minWidth:m,maxWidth:h,children:(0,Al.jsx)("img",{src:c?c[c.length-1]:g,alt:`${s} ${(0,Hp.__)("Avatar")}`,...d})});return(0,Al.jsxs)(Al.Fragment,{children:[b,(0,Al.jsx)("div",{...f,children:y})]})}var{name:BO}=Bk,IO={icon:I0,edit:PO},gge=()=>E({name:BO,metadata:Bk,settings:IO});var RI={};Z(RI,{init:()=>_ge,metadata:()=>Ik,name:()=>MO,settings:()=>AO});var Ik={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-author-name",title:"Comment Author Name",category:"theme",ancestor:["core/comment-template"],description:"Displays the name of the author of the comment.",textdomain:"default",attributes:{isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"}},usesContext:["commentId"],supports:{anchor:!0,html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:"wp-block-comment-author-name"};var Zc=o(P(),1),NO=o(V(),1),Nk=o(T(),1),EO=o(Q(),1),im=o(M(),1);var pi=o(v(),1);function DO(e){let{attributes:{isLink:t,linkTarget:r},context:{commentId:a},setAttributes:n}=e;Kr(e);let i=q(),l=(0,Nk.useBlockProps)(),s=(0,NO.useSelect)(m=>{let{getEntityRecord:p}=m(EO.store),d=p("root","comment",a),f=d?.author_name;return d&&!f?p("root","user",d.author)?.name??(0,Zc.__)("Anonymous"):f??""},[a]),c=(0,pi.jsx)(Nk.InspectorControls,{children:(0,pi.jsxs)(im.__experimentalToolsPanel,{label:(0,Zc.__)("Settings"),resetAll:()=>{n({isLink:!0,linkTarget:"_self"})},dropdownMenuProps:i,children:[(0,pi.jsx)(im.__experimentalToolsPanelItem,{label:(0,Zc.__)("Link to authors URL"),isShownByDefault:!0,hasValue:()=>!t,onDeselect:()=>n({isLink:!0}),children:(0,pi.jsx)(im.ToggleControl,{label:(0,Zc.__)("Link to authors URL"),onChange:()=>n({isLink:!t}),checked:t})}),t&&(0,pi.jsx)(im.__experimentalToolsPanelItem,{label:(0,Zc.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>r!=="_self",onDeselect:()=>n({linkTarget:"_self"}),children:(0,pi.jsx)(im.ToggleControl,{label:(0,Zc.__)("Open in new tab"),onChange:m=>n({linkTarget:m?"_blank":"_self"}),checked:r==="_blank"})})]})});return(!a||!s)&&(s=(0,Zc._x)("Comment Author","block title")),(0,pi.jsxs)(pi.Fragment,{children:[c,(0,pi.jsx)("div",{...l,children:t?(0,pi.jsx)("a",{href:"#comment-author-pseudo-link",onClick:m=>m.preventDefault(),children:s}):s})]})}var bge={attributes:{isLink:{type:"boolean",default:!0},linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},usesContext:["commentId"],supports:{html:!1,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},yge={attributes:{isLink:{type:"boolean",default:!1},linkTarget:{type:"string",default:"_self"}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},LO=[bge,yge];var{name:MO}=Ik,AO={icon:p9,edit:DO,deprecated:LO,example:{}},_ge=()=>E({name:MO,metadata:Ik,settings:AO});var zI={};Z(zI,{init:()=>wge,metadata:()=>Ek,name:()=>UO,settings:()=>GO});var Ek={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-content",title:"Comment Content",category:"theme",ancestor:["core/comment-template"],description:"Displays the contents of a comment.",textdomain:"default",usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},spacing:{padding:["horizontal","vertical"],__experimentalDefaultControls:{padding:!0}},html:!1},style:"wp-block-comment-content"};var RO=o(P(),1),zO=o(U(),1),VO=o(M(),1),FO=o(Q(),1),HO=o(T(),1);var Rl=o(v(),1);function OO(e){let{context:{commentId:t}}=e;Kr(e);let r=(0,HO.useBlockProps)(),[a]=(0,FO.useEntityProp)("root","comment","content",t);return!t||!a?(0,Rl.jsx)(Rl.Fragment,{children:(0,Rl.jsx)("div",{...r,children:(0,Rl.jsx)("p",{children:(0,RO._x)("Comment Content","block title")})})}):(0,Rl.jsx)(Rl.Fragment,{children:(0,Rl.jsx)("div",{...r,children:(0,Rl.jsx)(VO.Disabled,{children:(0,Rl.jsx)(zO.RawHTML,{children:a.rendered},"html")})})})}var kge={attributes:{textAlign:{type:"string"}},usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},spacing:{padding:["horizontal","vertical"]},html:!1},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},jO=[kge];var{name:UO}=Ek,GO={icon:f9,edit:OO,deprecated:jO,example:{}},wge=()=>E({name:UO,metadata:Ek,settings:GO});var FI={};Z(FI,{init:()=>Tge,metadata:()=>Dk,name:()=>ZO,settings:()=>KO});var Dk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-date",title:"Comment Date",category:"theme",ancestor:["core/comment-template"],description:"Displays the date on which the comment was posted.",textdomain:"default",attributes:{format:{type:"string"},isLink:{type:"boolean",default:!0}},usesContext:["commentId"],supports:{anchor:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:"wp-block-comment-date"};var VI=o(Q(),1),jp=o(Lk(),1),$f=o(T(),1),Up=o(M(),1),Op=o(P(),1);var Qa=o(v(),1);function $O({attributes:{format:e,isLink:t},context:{commentId:r},setAttributes:a}){let n=(0,$f.useBlockProps)(),i=q(),[l]=(0,VI.useEntityProp)("root","comment","date",r),[s=(0,jp.getSettings)().formats.date]=(0,VI.useEntityProp)("root","site","date_format"),c=(0,Qa.jsx)($f.InspectorControls,{children:(0,Qa.jsxs)(Up.__experimentalToolsPanel,{label:(0,Op.__)("Settings"),resetAll:()=>{a({format:void 0,isLink:!0})},dropdownMenuProps:i,children:[(0,Qa.jsx)(Up.__experimentalToolsPanelItem,{label:(0,Op.__)("Date format"),hasValue:()=>e!==void 0,onDeselect:()=>a({format:void 0}),isShownByDefault:!0,children:(0,Qa.jsx)($f.__experimentalDateFormatPicker,{format:e,defaultFormat:s,onChange:m=>a({format:m})})}),(0,Qa.jsx)(Up.__experimentalToolsPanelItem,{label:(0,Op.__)("Link to comment"),hasValue:()=>!t,onDeselect:()=>a({isLink:!0}),isShownByDefault:!0,children:(0,Qa.jsx)(Up.ToggleControl,{label:(0,Op.__)("Link to comment"),onChange:()=>a({isLink:!t}),checked:t})})]})});(!r||!l)&&(l=(0,Op._x)("Comment Date","block title"));let u=l instanceof Date?(0,Qa.jsx)("time",{dateTime:(0,jp.dateI18n)("c",l),children:e==="human-diff"?(0,jp.humanTimeDiff)(l):(0,jp.dateI18n)(e||s,l)}):(0,Qa.jsx)("time",{children:l});return t&&(u=(0,Qa.jsx)("a",{href:"#comment-date-pseudo-link",onClick:m=>m.preventDefault(),children:u})),(0,Qa.jsxs)(Qa.Fragment,{children:[c,(0,Qa.jsx)("div",{...n,children:u})]})}var Sge={attributes:{format:{type:"string"},isLink:{type:"boolean",default:!1}},supports:{html:!1,color:{gradients:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalLetterSpacing:!0}},save(){return null},migrate:Ot,isEligible({style:e}){return e?.typography?.fontFamily}},qO=[Sge];var{name:ZO}=Dk,KO={icon:e1,edit:$O,deprecated:qO,example:{}},Tge=()=>E({name:ZO,metadata:Dk,settings:KO});var HI={};Z(HI,{init:()=>Ige,metadata:()=>Mk,name:()=>XO,settings:()=>JO});var Mk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-edit-link",title:"Comment Edit Link",category:"theme",ancestor:["core/comment-template"],description:"Displays a link to edit the comment in the WordPress Dashboard. This link is only visible to users with the edit comment capability.",textdomain:"default",usesContext:["commentId"],attributes:{linkTarget:{type:"string",default:"_self"}},supports:{anchor:!0,html:!1,color:{link:!0,gradients:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},style:"wp-block-comment-edit-link"};var Ak=o(T(),1),qf=o(M(),1),U1=o(P(),1);var zl=o(v(),1);function QO(e){let{attributes:t,setAttributes:r}=e,{linkTarget:a}=t;Kr(e);let n=(0,Ak.useBlockProps)(),i=q(),l=(0,zl.jsx)(Ak.InspectorControls,{children:(0,zl.jsx)(qf.__experimentalToolsPanel,{label:(0,U1.__)("Settings"),resetAll:()=>{r({linkTarget:"_self"})},dropdownMenuProps:i,children:(0,zl.jsx)(qf.__experimentalToolsPanelItem,{label:(0,U1.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>a==="_blank",onDeselect:()=>r({linkTarget:"_self"}),children:(0,zl.jsx)(qf.ToggleControl,{label:(0,U1.__)("Open in new tab"),onChange:s=>r({linkTarget:s?"_blank":"_self"}),checked:a==="_blank"})})})});return(0,zl.jsxs)(zl.Fragment,{children:[l,(0,zl.jsx)("div",{...n,children:(0,zl.jsx)("a",{href:"#edit-comment-pseudo-link",onClick:s=>s.preventDefault(),children:(0,U1.__)("Edit")})})]})}var Bge={attributes:{linkTarget:{type:"string",default:"_self"},textAlign:{type:"string"}},usesContext:["commentId"],supports:{anchor:!0,html:!1,color:{link:!0,gradients:!0,text:!1},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0}},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},YO=[Bge];var{name:XO}=Mk,JO={icon:g9,edit:QO,deprecated:YO,example:{}},Ige=()=>E({name:XO,metadata:Mk,settings:JO});var OI={};Z(OI,{init:()=>Lge,metadata:()=>Rk,name:()=>aj,settings:()=>nj});var Rk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-reply-link",title:"Comment Reply Link",category:"theme",ancestor:["core/comment-template"],description:"Displays a link to reply to a comment.",textdomain:"default",usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1},style:"wp-block-comment-reply-link"};var ej=o(P(),1),tj=o(T(),1);var Zf=o(v(),1);function Ege(e){Kr(e);let t=(0,tj.useBlockProps)();return(0,Zf.jsx)(Zf.Fragment,{children:(0,Zf.jsx)("div",{...t,children:(0,Zf.jsx)("a",{href:"#comment-reply-pseudo-link",onClick:r=>r.preventDefault(),children:(0,ej._x)("Reply","verb")})})})}var rj=Ege;var Dge={attributes:{textAlign:{type:"string"}},usesContext:["commentId"],supports:{anchor:!0,color:{gradients:!0,link:!0,text:!1},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},html:!1},save(){return null},migrate:We,isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},oj=[Dge];var{name:aj}=Rk,nj={edit:rj,icon:b9,deprecated:oj,example:{}},Lge=()=>E({name:aj,metadata:Rk,settings:nj});var UI={};Z(UI,{init:()=>Oge,metadata:()=>zk,name:()=>kj,settings:()=>wj});var zk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comment-template",title:"Comment Template",category:"design",parent:["core/comments"],description:"Contains the block elements used to display a comment, like the title, date, author, avatar and more.",textdomain:"default",usesContext:["postId"],supports:{anchor:!0,align:!0,html:!1,reusable:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}}},style:"wp-block-comment-template"};var Vk=o(U(),1),jI=o(V(),1),fj=o(P(),1),Vl=o(T(),1),hj=o(M(),1),gj=o(Q(),1);var Gp=o(U(),1),sj=o(V(),1),cj=o(T(),1),uj=o(mr(),1),mj=o(G1(),1),lj=100,pj=({postId:e})=>{let t={status:"approve",order:"asc",context:"embed",parent:0,_embed:"children"},{pageComments:r,commentsPerPage:a,defaultCommentsPage:n}=(0,sj.useSelect)(s=>{let{getSettings:c}=s(cj.store),{__experimentalDiscussionSettings:u}=c();return u??{}},[]),i=r?Math.min(a,lj):lj,l=Age({defaultPage:n,postId:e,perPage:i,queryArgs:t});return(0,Gp.useMemo)(()=>l?{...t,post:e,per_page:i,page:l}:null,[e,i,l])},Age=({defaultPage:e,postId:t,perPage:r,queryArgs:a})=>{let[n,i]=(0,Gp.useState)({}),l=`${t}_${r}`,s=n[l]||0;return(0,Gp.useEffect)(()=>{s||e!=="newest"||(0,mj.default)({path:(0,uj.addQueryArgs)("/wp/v2/comments",{...a,post:t,per_page:r,_fields:"id"}),method:"HEAD",parse:!1}).then(c=>{let u=parseInt(c.headers.get("X-WP-TotalPages"));i({...n,[l]:u<=1?1:u})}).catch(()=>{i({...n,[l]:1})})},[e,t,r,i]),e==="newest"?s:1},dj=e=>(0,Gp.useMemo)(()=>e?.map(({id:r,_embedded:a})=>{let[n]=a?.children||[[]];return{commentId:r,children:n.map(i=>({commentId:i.id}))}}),[e]);var di=o(v(),1),Rge=[["core/avatar"],["core/comment-author-name"],["core/comment-date"],["core/comment-content"],["core/comment-reply-link"],["core/comment-edit-link"]],zge=({perPage:e,pageComments:t,threadComments:r,threadCommentsDepth:a})=>{let n=r?Math.min(a,3):1,i=s=>{if(s<n){let c=s+1;return[{commentId:-(s+3),children:i(c)}]}return[]},l=[{commentId:-1,children:i(1)}];return(!t||e>=2)&&n<3&&l.push({commentId:-2,children:[]}),(!t||e>=3)&&n<2&&l.push({commentId:-3,children:[]}),l};function Vge({comment:e,activeCommentId:t,setActiveCommentId:r,firstCommentId:a,blocks:n}){let{children:i,...l}=(0,Vl.useInnerBlocksProps)({},{template:Rge});return(0,di.jsxs)("li",{...l,children:[e.commentId===(t||a)?i:null,(0,di.jsx)(Hge,{blocks:n,commentId:e.commentId,setActiveCommentId:r,isHidden:e.commentId===(t||a)}),e?.children?.length>0?(0,di.jsx)(vj,{comments:e.children,activeCommentId:t,setActiveCommentId:r,blocks:n,firstCommentId:a}):null]})}var Fge=({blocks:e,commentId:t,setActiveCommentId:r,isHidden:a})=>{let n=(0,Vl.__experimentalUseBlockPreview)({blocks:e}),i=()=>{r(t)};return(0,di.jsx)("div",{...n,tabIndex:0,role:"button",style:{display:a?"none":void 0},onClick:i,onKeyPress:i})},Hge=(0,Vk.memo)(Fge),vj=({comments:e,blockProps:t,activeCommentId:r,setActiveCommentId:a,blocks:n,firstCommentId:i})=>(0,di.jsx)("ol",{...t,children:e&&e.map(({commentId:l,...s},c)=>(0,di.jsx)(Vl.BlockContextProvider,{value:{commentId:l<0?null:l},children:(0,di.jsx)(Vge,{comment:{commentId:l,...s},activeCommentId:r,setActiveCommentId:a,blocks:n,firstCommentId:i})},s.commentId||c))});function bj({clientId:e,context:{postId:t}}){let r=(0,Vl.useBlockProps)(),[a,n]=(0,Vk.useState)(),{commentOrder:i,threadCommentsDepth:l,threadComments:s,commentsPerPage:c,pageComments:u}=(0,jI.useSelect)(h=>{let{getSettings:g}=h(Vl.store);return g().__experimentalDiscussionSettings??{}},[]),m=pj({postId:t}),{topLevelComments:p,blocks:d}=(0,jI.useSelect)(h=>{let{getEntityRecords:g}=h(gj.store),{getBlocks:b}=h(Vl.store);return{topLevelComments:m?g("root","comment",m):null,blocks:b(e)}},[e,m]),f=dj(i==="desc"&&p?[...p].reverse():p);return p?(t||(f=zge({perPage:c,pageComments:u,threadComments:s,threadCommentsDepth:l})),f.length?(0,di.jsx)(vj,{comments:f,blockProps:r,blocks:d,activeCommentId:a,setActiveCommentId:n,firstCommentId:f[0]?.commentId}):(0,di.jsx)("p",{...r,children:(0,fj.__)("No results found.")})):(0,di.jsx)("p",{...r,children:(0,di.jsx)(hj.Spinner,{})})}var yj=o(T(),1),_j=o(v(),1);function xj(){return(0,_j.jsx)(yj.InnerBlocks.Content,{})}var{name:kj}=zk,wj={icon:Cp,edit:bj,save:xj},Oge=()=>E({name:kj,metadata:zk,settings:wj});var WI={};Z(WI,{init:()=>Gge,metadata:()=>Fk,name:()=>Tj,settings:()=>Pj});var Sj=o(P(),1);var Fk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination-previous",title:"Comments Previous Page",category:"theme",parent:["core/comments-pagination"],description:"Displays the previous comment's page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["postId","comments/paginationArrow"],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var GI=o(P(),1),Hk=o(T(),1),W1=o(v(),1),Uge={none:"",arrow:"\u2190",chevron:"\xAB"};function Cj({attributes:{label:e},setAttributes:t,context:{"comments/paginationArrow":r}}){let a=Uge[r];return(0,W1.jsxs)("a",{href:"#comments-pagination-previous-pseudo-link",onClick:n=>n.preventDefault(),...(0,Hk.useBlockProps)(),children:[a&&(0,W1.jsx)("span",{className:`wp-block-comments-pagination-previous-arrow is-arrow-${r}`,children:a}),(0,W1.jsx)(Hk.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,GI.__)("Older comments page link"),placeholder:(0,GI.__)("Older Comments"),value:e,onChange:n=>t({label:n})})]})}var{name:Tj}=Fk,Pj={icon:a1,edit:Cj,example:{attributes:{label:(0,Sj.__)("Older Comments")}}},Gge=()=>E({name:Tj,metadata:Fk,settings:Pj});var qI={};Z(qI,{init:()=>qge,metadata:()=>Ok,name:()=>Lj,settings:()=>Mj});var Ok={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination",title:"Comments Pagination",category:"theme",parent:["core/comments"],allowedBlocks:["core/comments-pagination-previous","core/comments-pagination-numbers","core/comments-pagination-next"],description:"Displays a paginated navigation to next/previous set of comments, when applicable.",textdomain:"default",attributes:{paginationArrow:{type:"string",default:"none"}},example:{attributes:{paginationArrow:"none"}},providesContext:{"comments/paginationArrow":"paginationArrow"},supports:{anchor:!0,align:!0,reusable:!1,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},layout:{allowSwitching:!1,allowInheriting:!1,default:{type:"flex"}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-comments-pagination-editor",style:"wp-block-comments-pagination"};var jk=o(P(),1),Hl=o(T(),1),$I=o(V(),1),Uk=o(M(),1);var Wp=o(P(),1),Kf=o(M(),1),Qf=o(v(),1);function Bj({value:e,onChange:t}){return(0,Qf.jsxs)(Kf.__experimentalToggleGroupControl,{__next40pxDefaultSize:!0,label:(0,Wp.__)("Arrow"),value:e,onChange:t,help:(0,Wp.__)("A decorative arrow appended to the next and previous comments link."),isBlock:!0,children:[(0,Qf.jsx)(Kf.__experimentalToggleGroupControlOption,{value:"none",label:(0,Wp._x)("None","Arrow option for Comments Pagination Next/Previous blocks")}),(0,Qf.jsx)(Kf.__experimentalToggleGroupControlOption,{value:"arrow",label:(0,Wp._x)("Arrow","Arrow option for Comments Pagination Next/Previous blocks")}),(0,Qf.jsx)(Kf.__experimentalToggleGroupControlOption,{value:"chevron",label:(0,Wp._x)("Chevron","Arrow option for Comments Pagination Next/Previous blocks")})]})}var Fl=o(v(),1),$ge=[["core/comments-pagination-previous"],["core/comments-pagination-numbers"],["core/comments-pagination-next"]];function Ij({attributes:{paginationArrow:e},setAttributes:t,clientId:r}){let a=(0,$I.useSelect)(c=>{let{getBlocks:u}=c(Hl.store);return u(r)?.find(p=>["core/comments-pagination-previous","core/comments-pagination-next"].includes(p.name))},[]),n=(0,Hl.useBlockProps)(),i=q(),l=(0,Hl.useInnerBlocksProps)(n,{template:$ge});return(0,$I.useSelect)(c=>{let{getSettings:u}=c(Hl.store),{__experimentalDiscussionSettings:m}=u();return m?.pageComments},[])?(0,Fl.jsxs)(Fl.Fragment,{children:[a&&(0,Fl.jsx)(Hl.InspectorControls,{children:(0,Fl.jsx)(Uk.__experimentalToolsPanel,{label:(0,jk.__)("Settings"),dropdownMenuProps:i,resetAll:()=>t({paginationArrow:"none"}),children:(0,Fl.jsx)(Uk.__experimentalToolsPanelItem,{label:(0,jk.__)("Arrow"),hasValue:()=>e!=="none",onDeselect:()=>t({paginationArrow:"none"}),isShownByDefault:!0,children:(0,Fl.jsx)(Bj,{value:e,onChange:c=>{t({paginationArrow:c})}})})})}),(0,Fl.jsx)("div",{...l})]}):(0,Fl.jsx)(Hl.Warning,{children:(0,jk.__)("Comments Pagination block: paging comments is disabled in the Discussion Settings")})}var Nj=o(T(),1),Ej=o(v(),1);function Dj(){return(0,Ej.jsx)(Nj.InnerBlocks.Content,{})}var{name:Lj}=Ok,Mj={icon:n1,edit:Ij,save:Dj},qge=()=>E({name:Lj,metadata:Ok,settings:Mj});var KI={};Z(KI,{init:()=>Qge,metadata:()=>Gk,name:()=>zj,settings:()=>Vj});var Rj=o(P(),1);var Gk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination-next",title:"Comments Next Page",category:"theme",parent:["core/comments-pagination"],description:"Displays the next comment's page link.",textdomain:"default",attributes:{label:{type:"string"}},usesContext:["postId","comments/paginationArrow"],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}}};var ZI=o(P(),1),Wk=o(T(),1),$1=o(v(),1),Kge={none:"",arrow:"\u2192",chevron:"\xBB"};function Aj({attributes:{label:e},setAttributes:t,context:{"comments/paginationArrow":r}}){let a=Kge[r];return(0,$1.jsxs)("a",{href:"#comments-pagination-next-pseudo-link",onClick:n=>n.preventDefault(),...(0,Wk.useBlockProps)(),children:[(0,$1.jsx)(Wk.PlainText,{__experimentalVersion:2,tagName:"span","aria-label":(0,ZI.__)("Newer comments page link"),placeholder:(0,ZI.__)("Newer Comments"),value:e,onChange:n=>t({label:n})}),a&&(0,$1.jsx)("span",{className:`wp-block-comments-pagination-next-arrow is-arrow-${r}`,children:a})]})}var{name:zj}=Gk,Vj={icon:r1,edit:Aj,example:{attributes:{label:(0,Rj.__)("Newer Comments")}}},Qge=()=>E({name:zj,metadata:Gk,settings:Vj});var QI={};Z(QI,{init:()=>Xge,metadata:()=>$k,name:()=>Oj,settings:()=>jj});var $k={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-pagination-numbers",title:"Comments Page Numbers",category:"theme",parent:["core/comments-pagination"],description:"Displays a list of page numbers for comments pagination.",textdomain:"default",usesContext:["postId"],supports:{anchor:!0,reusable:!1,html:!1,color:{gradients:!0,text:!1,__experimentalDefaultControls:{background:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{padding:!0}}}};var Fj=o(T(),1),ol=o(v(),1),$p=({content:e,tag:t="a",extraClass:r=""})=>t==="a"?(0,ol.jsx)(t,{className:`page-numbers ${r}`,href:"#comments-pagination-numbers-pseudo-link",onClick:a=>a.preventDefault(),children:e}):(0,ol.jsx)(t,{className:`page-numbers ${r}`,children:e});function Hj(){return(0,ol.jsxs)("div",{...(0,Fj.useBlockProps)(),children:[(0,ol.jsx)($p,{content:"1"}),(0,ol.jsx)($p,{content:"2"}),(0,ol.jsx)($p,{content:"3",tag:"span",extraClass:"current"}),(0,ol.jsx)($p,{content:"4"}),(0,ol.jsx)($p,{content:"5"}),(0,ol.jsx)($p,{content:"...",tag:"span",extraClass:"dots"}),(0,ol.jsx)($p,{content:"8"})]})}var{name:Oj}=$k,jj={icon:o1,edit:Hj,example:{}},Xge=()=>E({name:Oj,metadata:$k,settings:jj});var YI={};Z(YI,{init:()=>r0e,metadata:()=>qk,name:()=>Kj,settings:()=>Qj});var qk={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/comments-title",title:"Comments Title",category:"theme",ancestor:["core/comments"],description:"Displays a title with the number of comments.",textdomain:"default",usesContext:["postId","postType"],attributes:{showPostTitle:{type:"boolean",default:!0},showCommentsCount:{type:"boolean",default:!0},level:{type:"number",default:2},levelOptions:{type:"array"}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}}};var Rs=o(T(),1),Br=o(P(),1),Uj=o(Q(),1),lm=o(M(),1),Zk=o(U(),1),Gj=o(V(),1),Wj=o(G1(),1),$j=o(mr(),1);var In=o(v(),1);function qj(e){Kr(e);let{attributes:t,setAttributes:r,context:a}=e,{showPostTitle:n,showCommentsCount:i,level:l=2,levelOptions:s}=t,{postId:c,postType:u}=a,m="h"+l,[p,d]=(0,Zk.useState)(),[f]=(0,Uj.useEntityProp)("postType",u,"title",c),h=typeof c>"u",g=(0,Rs.useBlockProps)(),{threadCommentsDepth:b,threadComments:y,commentsPerPage:k,pageComments:_}=(0,Gj.useSelect)(D=>{let{getSettings:A}=D(Rs.store);return A().__experimentalDiscussionSettings??{}},[]),x=q();(0,Zk.useEffect)(()=>{if(h){let A=y?Math.min(b,3)-1:0,H=_?k:3,F=parseInt(A)+parseInt(H);d(Math.min(F,3));return}let D=c;(0,Wj.default)({path:(0,$j.addQueryArgs)("/wp/v2/comments",{post:c,_fields:"id"}),method:"HEAD",parse:!1}).then(A=>{D===c&&d(parseInt(A.headers.get("X-WP-Total")))}).catch(()=>{d(0)})},[c]);let S=(0,In.jsx)(Rs.BlockControls,{group:"block",children:(0,In.jsx)(Rs.HeadingLevelDropdown,{value:l,options:s,onChange:D=>r({level:D})})}),C=(0,In.jsx)(Rs.InspectorControls,{children:(0,In.jsxs)(lm.__experimentalToolsPanel,{label:(0,Br.__)("Settings"),resetAll:()=>{r({showPostTitle:!0,showCommentsCount:!0})},dropdownMenuProps:x,children:[(0,In.jsx)(lm.__experimentalToolsPanelItem,{label:(0,Br.__)("Show post title"),isShownByDefault:!0,hasValue:()=>!n,onDeselect:()=>r({showPostTitle:!0}),children:(0,In.jsx)(lm.ToggleControl,{label:(0,Br.__)("Show post title"),checked:n,onChange:D=>r({showPostTitle:D})})}),(0,In.jsx)(lm.__experimentalToolsPanelItem,{label:(0,Br.__)("Show comments count"),isShownByDefault:!0,hasValue:()=>!i,onDeselect:()=>r({showCommentsCount:!0}),children:(0,In.jsx)(lm.ToggleControl,{label:(0,Br.__)("Show comments count"),checked:i,onChange:D=>r({showCommentsCount:D})})})]})}),N=h?(0,Br.__)("Post Title"):f,B;return i&&p!==void 0?n?p===1?B=(0,Br.sprintf)((0,Br.__)('One response to "%s"'),N):B=(0,Br.sprintf)((0,Br._n)('%1$s response to "%2$s"','%1$s responses to "%2$s"',p),p,N):p===1?B=(0,Br.__)("One response"):B=(0,Br.sprintf)((0,Br._n)("%s response","%s responses",p),p):n?p===1?B=(0,Br.sprintf)((0,Br.__)('Response to "%s"'),N):B=(0,Br.sprintf)((0,Br.__)('Responses to "%s"'),N):p===1?B=(0,Br.__)("Response"):B=(0,Br.__)("Responses"),(0,In.jsxs)(In.Fragment,{children:[S,C,(0,In.jsx)(m,{...g,children:B})]})}var e0e={attributes:{textAlign:{type:"string"},showPostTitle:{type:"boolean",default:!0},showCommentsCount:{type:"boolean",default:!0},level:{type:"number",default:2},levelOptions:{type:"array"}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}},migrate:e=>{let{singleCommentLabel:t,multipleCommentsLabel:r,...a}=e;return We(a)},isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)},save:()=>null},t0e={attributes:{textAlign:{type:"string"},showPostTitle:{type:"boolean",default:!0},showCommentsCount:{type:"boolean",default:!0},level:{type:"number",default:2},levelOptions:{type:"array"},singleCommentLabel:{type:"string"},multipleCommentsLabel:{type:"string"}},supports:{anchor:!0,align:!0,html:!1,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0},color:{gradients:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0}},interactivity:{clientNavigation:!0}},migrate:e=>{let{singleCommentLabel:t,multipleCommentsLabel:r,...a}=e;return We(a)},isEligible:({multipleCommentsLabel:e,singleCommentLabel:t})=>e||t,save:()=>null},Zj=[e0e,t0e];var{name:Kj}=qk,Qj={icon:El,edit:qj,deprecated:Zj,example:{}},r0e=()=>E({name:Kj,metadata:qk,settings:Qj});var hN={};Z(hN,{init:()=>h1e,metadata:()=>u5,name:()=>KU,settings:()=>p5});var fN=o(P(),1);var ZU=o(W(),1);var Yk=o(W(),1),_e=o(T(),1),Xk=o(P(),1),q1=o(me(),1);var Kk=o(Rr(),1),o0e={"top left":"is-position-top-left","top center":"is-position-top-center","top right":"is-position-top-right","center left":"is-position-center-left","center center":"is-position-center-center",center:"is-position-center-center","center right":"is-position-center-right","bottom left":"is-position-bottom-left","bottom center":"is-position-bottom-center","bottom right":"is-position-bottom-right"},Qt="image",Cr="video",Kc="embed-video",Yj=50;var a0e={x:.5,y:.5},Qk=["image","video"];function Qo({x:e,y:t}=a0e){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}function al(e){return e===50||e===void 0?null:"has-background-dim-"+10*Math.round(e/10)}function Xj(e){if(!e||!e.url&&!e.src)return{url:void 0,id:void 0};(0,Kk.isBlobURL)(e.url)&&(e.type=(0,Kk.getBlobTypeByURL)(e.url));let t;if(e.media_type)e.media_type===Qt?t=Qt:t=Cr;else if(e.type&&(e.type===Qt||e.type===Cr))t=e.type;else return;return{url:e.url||e.src,id:e.id,alt:e?.alt,backgroundType:t,...t===Cr?{hasParallax:void 0}:{}}}function Ya(e){return!e||e==="center center"||e==="center"}function Nn(e){return Ya(e)?"":o0e[e]}var se=o(v(),1);function zs(e){return e?{backgroundImage:`url(${e})`}:{}}function qp(e){return e===0||e===50||!e?null:"has-background-dim-"+10*Math.round(e/10)}function Jk(e){return{...e,dimRatio:e.url?e.dimRatio:100}}function sm(e){return e.tagName||(e={...e,tagName:"div"}),{...e}}var Zp={url:{type:"string"},id:{type:"number"},hasParallax:{type:"boolean",default:!1},dimRatio:{type:"number",default:50},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"}},Z1={url:{type:"string"},id:{type:"number"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},allowedBlocks:{type:"array"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},XI={...Z1,useFeaturedImage:{type:"boolean",default:!1},tagName:{type:"string",default:"div"}},n0e={...XI,isUserOverlayColor:{type:"boolean"},sizeSlug:{type:"string"},alt:{type:"string",default:""}},Yf={anchor:!0,align:!0,html:!1,spacing:{padding:!0,__experimentalDefaultControls:{padding:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",text:!1,background:!1}},JI={...Yf,spacing:{padding:!0,margin:["top","bottom"],blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{__experimentalDuotone:"> .wp-block-cover__image-background, > .wp-block-cover__video-background",heading:!0,text:!0,background:!1,__experimentalSkipSerialization:["gradients"],enableContrastChecker:!1},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowJustification:!1}},i0e={...JI,shadow:!0,dimensions:{aspectRatio:!0},interactivity:{clientNavigation:!0}},l0e={attributes:n0e,supports:i0e,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k,sizeSlug:_}=e,x=(0,_e.getColorClassName)("background-color",d),S=(0,_e.__experimentalGetGradientClass)(r),C=b&&y?`${b}${y}`:b,N=Qt===t,B=Cr===t,D=!(u||p),A={minHeight:C||void 0},H={backgroundColor:x?void 0:i,background:n||void 0},F=s&&D?Qo(s):void 0,z=f?`url(${f})`:void 0,I=Qo(s),R=w({"is-light":!m,"has-parallax":u,"is-repeated":p,"has-custom-content-position":!Ya(a)},Nn(a)),$=w("wp-block-cover__image-background",g?`wp-image-${g}`:null,{[`size-${_}`]:_,"has-parallax":u,"is-repeated":p}),j=r||n;return(0,se.jsxs)(k,{..._e.useBlockProps.save({className:R,style:A}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",x,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&j&&l!==0,"has-background-gradient":j,[S]:S}),style:H}),!c&&N&&f&&(D?(0,se.jsx)("img",{className:$,alt:h,src:f,style:{objectPosition:F},"data-object-fit":"cover","data-object-position":F}):(0,se.jsx)("div",{role:h?"img":void 0,"aria-label":h||void 0,className:$,style:{backgroundPosition:I,backgroundImage:z}})),B&&f&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:F},"data-object-fit":"cover","data-object-position":F}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},s0e={attributes:XI,supports:JI,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k}=e,_=(0,_e.getColorClassName)("background-color",d),x=(0,_e.__experimentalGetGradientClass)(r),S=b&&y?`${b}${y}`:b,C=Qt===t,N=Cr===t,B=!(u||p),D={minHeight:S||void 0},A={backgroundColor:_?void 0:i,background:n||void 0},H=s&&B?Qo(s):void 0,F=f?`url(${f})`:void 0,z=Qo(s),I=w({"is-light":!m,"has-parallax":u,"is-repeated":p,"has-custom-content-position":!Ya(a)},Nn(a)),R=w("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":p}),$=r||n;return(0,se.jsxs)(k,{..._e.useBlockProps.save({className:I,style:D}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",_,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&$&&l!==0,"has-background-gradient":$,[x]:x}),style:A}),!c&&C&&f&&(B?(0,se.jsx)("img",{className:R,alt:h,src:f,style:{objectPosition:H},"data-object-fit":"cover","data-object-position":H}):(0,se.jsx)("div",{role:"img",className:R,style:{backgroundPosition:z,backgroundImage:F}})),N&&f&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:H},"data-object-fit":"cover","data-object-position":H}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},c0e={attributes:XI,supports:JI,isEligible(e){return(e.customOverlayColor!==void 0||e.overlayColor!==void 0)&&e.isUserOverlayColor===void 0},migrate(e){return{...e,isUserOverlayColor:!0}},save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k}=e,_=(0,_e.getColorClassName)("background-color",d),x=(0,_e.__experimentalGetGradientClass)(r),S=b&&y?`${b}${y}`:b,C=Qt===t,N=Cr===t,B=!(u||p),D={minHeight:S||void 0},A={backgroundColor:_?void 0:i,background:n||void 0},H=s&&B?Qo(s):void 0,F=f?`url(${f})`:void 0,z=Qo(s),I=w({"is-light":!m,"has-parallax":u,"is-repeated":p,"has-custom-content-position":!Ya(a)},Nn(a)),R=w("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":p}),$=r||n;return(0,se.jsxs)(k,{..._e.useBlockProps.save({className:I,style:D}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",_,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&$&&l!==0,"has-background-gradient":$,[x]:x}),style:A}),!c&&C&&f&&(B?(0,se.jsx)("img",{className:R,alt:h,src:f,style:{objectPosition:H},"data-object-fit":"cover","data-object-position":H}):(0,se.jsx)("div",{role:"img",className:R,style:{backgroundPosition:z,backgroundImage:F}})),N&&f&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:H},"data-object-fit":"cover","data-object-position":H}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}},u0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y}=e,k=(0,_e.getColorClassName)("background-color",d),_=(0,_e.__experimentalGetGradientClass)(r),x=b&&y?`${b}${y}`:b,S=Qt===t,C=Cr===t,N=!(u||p),B={minHeight:x||void 0},D={backgroundColor:k?void 0:i,background:n||void 0},A=s&&N?Qo(s):void 0,H=f?`url(${f})`:void 0,F=Qo(s),z=w({"is-light":!m,"has-parallax":u,"is-repeated":p,"has-custom-content-position":!Ya(a)},Nn(a)),I=w("wp-block-cover__image-background",g?`wp-image-${g}`:null,{"has-parallax":u,"is-repeated":p}),R=r||n;return(0,se.jsxs)("div",{..._e.useBlockProps.save({className:z,style:B}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",k,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&R&&l!==0,"has-background-gradient":R,[_]:_}),style:D}),!c&&S&&f&&(N?(0,se.jsx)("img",{className:I,alt:h,src:f,style:{objectPosition:A},"data-object-fit":"cover","data-object-position":A}):(0,se.jsx)("div",{role:"img",className:I,style:{backgroundPosition:F,backgroundImage:H}})),C&&f&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:A},"data-object-fit":"cover","data-object-position":A}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:sm},m0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y}=e,k=(0,_e.getColorClassName)("background-color",d),_=(0,_e.__experimentalGetGradientClass)(r),x=b&&y?`${b}${y}`:b,S=Qt===t,C=Cr===t,N=!(u||p),B={...S&&!N&&!c?zs(f):{},minHeight:x||void 0},D={backgroundColor:k?void 0:i,background:n||void 0},A=s&&N?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,H=w({"is-light":!m,"has-parallax":u,"is-repeated":p,"has-custom-content-position":!Ya(a)},Nn(a)),F=r||n;return(0,se.jsxs)("div",{..._e.useBlockProps.save({className:H,style:B}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",k,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&F&&l!==0,"has-background-gradient":F,[_]:_}),style:D}),!c&&S&&N&&f&&(0,se.jsx)("img",{className:w("wp-block-cover__image-background",g?`wp-image-${g}`:null),alt:h,src:f,style:{objectPosition:A},"data-object-fit":"cover","data-object-position":A}),C&&f&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,style:{objectPosition:A},"data-object-fit":"cover","data-object-position":A}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:sm},p0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isDark:u,isRepeated:m,overlayColor:p,url:d,alt:f,id:h,minHeight:g,minHeightUnit:b}=e,y=(0,_e.getColorClassName)("background-color",p),k=(0,_e.__experimentalGetGradientClass)(r),_=b?`${g}${b}`:g,x=Qt===t,S=Cr===t,C=!(c||m),N={...x&&!C?zs(d):{},minHeight:_||void 0},B={backgroundColor:y?void 0:i,background:n||void 0},D=s&&C?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,A=w({"is-light":!u,"has-parallax":c,"is-repeated":m,"has-custom-content-position":!Ya(a)},Nn(a)),H=r||n;return(0,se.jsxs)("div",{..._e.useBlockProps.save({className:A,style:N}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",y,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":d&&H&&l!==0,"has-background-gradient":H,[k]:k}),style:B}),x&&C&&d&&(0,se.jsx)("img",{className:w("wp-block-cover__image-background",h?`wp-image-${h}`:null),alt:f,src:d,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),S&&d&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:sm},d0e={attributes:Z1,supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isDark:u,isRepeated:m,overlayColor:p,url:d,alt:f,id:h,minHeight:g,minHeightUnit:b}=e,y=(0,_e.getColorClassName)("background-color",p),k=(0,_e.__experimentalGetGradientClass)(r),_=b?`${g}${b}`:g,x=Qt===t,S=Cr===t,C=!(c||m),N={...x&&!C?zs(d):{},minHeight:_||void 0},B={backgroundColor:y?void 0:i,background:n||void 0},D=s&&C?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,A=w({"is-light":!u,"has-parallax":c,"is-repeated":m,"has-custom-content-position":!Ya(a)},Nn(a));return(0,se.jsxs)("div",{..._e.useBlockProps.save({className:A,style:N}),children:[(0,se.jsx)("span",{"aria-hidden":"true",className:w(y,al(l),"wp-block-cover__gradient-background",k,{"has-background-dim":l!==void 0,"has-background-gradient":r||n,[k]:!d&&k}),style:B}),x&&C&&d&&(0,se.jsx)("img",{className:w("wp-block-cover__image-background",h?`wp-image-${h}`:null),alt:f,src:d,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),S&&d&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:d,style:{objectPosition:D},"data-object-fit":"cover","data-object-position":D}),(0,se.jsx)("div",{..._e.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})},migrate:sm},f0e={attributes:{...Zp,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""}},supports:Yf,save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:m,url:p,alt:d,id:f,minHeight:h,minHeightUnit:g}=e,b=(0,_e.getColorClassName)("background-color",m),y=(0,_e.__experimentalGetGradientClass)(r),k=g?`${h}${g}`:h,_=Qt===t,x=Cr===t,S=!(c||u),C={..._&&!S?zs(p):{},backgroundColor:b?void 0:i,background:n&&!p?n:void 0,minHeight:k||void 0},N=s&&S?`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`:void 0,B=w(qp(l),b,{"has-background-dim":l!==0,"has-parallax":c,"is-repeated":u,"has-background-gradient":r||n,[y]:!p&&y,"has-custom-content-position":!Ya(a)},Nn(a));return(0,se.jsxs)("div",{..._e.useBlockProps.save({className:B,style:C}),children:[p&&(r||n)&&l!==0&&(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__gradient-background",y),style:n?{background:n}:void 0}),_&&S&&p&&(0,se.jsx)("img",{className:w("wp-block-cover__image-background",f?`wp-image-${f}`:null),alt:d,src:p,style:{objectPosition:N},"data-object-fit":"cover","data-object-position":N}),x&&p&&(0,se.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:p,style:{objectPosition:N},"data-object-fit":"cover","data-object-position":N}),(0,se.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},h0e={attributes:{...Zp,isRepeated:{type:"boolean",default:!1},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,hasParallax:c,isRepeated:u,overlayColor:m,url:p,minHeight:d,minHeightUnit:f}=e,h=(0,_e.getColorClassName)("background-color",m),g=(0,_e.__experimentalGetGradientClass)(r),b=f?`${d}${f}`:d,y=Qt===t,k=Cr===t,_=y?zs(p):{},x={};h||(_.backgroundColor=i),n&&!p&&(_.background=n),_.minHeight=b||void 0;let S;s&&(S=`${Math.round(s.x*100)}% ${Math.round(s.y*100)}%`,y&&!c&&(_.backgroundPosition=S),k&&(x.objectPosition=S));let C=w(qp(l),h,{"has-background-dim":l!==0,"has-parallax":c,"is-repeated":u,"has-background-gradient":r||n,[g]:!p&&g,"has-custom-content-position":!Ya(a)},Nn(a));return(0,se.jsxs)("div",{..._e.useBlockProps.save({className:C,style:_}),children:[p&&(r||n)&&l!==0&&(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__gradient-background",g),style:n?{background:n}:void 0}),k&&p&&(0,se.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:p,style:x}),(0,se.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},g0e={attributes:{...Zp,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,customGradient:a,customOverlayColor:n,dimRatio:i,focalPoint:l,hasParallax:s,overlayColor:c,url:u,minHeight:m}=e,p=(0,_e.getColorClassName)("background-color",c),d=(0,_e.__experimentalGetGradientClass)(r),f=t===Qt?zs(u):{};p||(f.backgroundColor=n),l&&!s&&(f.backgroundPosition=`${Math.round(l.x*100)}% ${Math.round(l.y*100)}%`),a&&!u&&(f.background=a),f.minHeight=m||void 0;let h=w(qp(i),p,{"has-background-dim":i!==0,"has-parallax":s,"has-background-gradient":a,[d]:!u&&d});return(0,se.jsxs)("div",{className:h,style:f,children:[u&&(r||a)&&i!==0&&(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__gradient-background",d),style:a?{background:a}:void 0}),Cr===t&&u&&(0,se.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,se.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},v0e={attributes:{...Zp,minHeight:{type:"number"},gradient:{type:"string"},customGradient:{type:"string"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,gradient:r,customGradient:a,customOverlayColor:n,dimRatio:i,focalPoint:l,hasParallax:s,overlayColor:c,url:u,minHeight:m}=e,p=(0,_e.getColorClassName)("background-color",c),d=(0,_e.__experimentalGetGradientClass)(r),f=t===Qt?zs(u):{};p||(f.backgroundColor=n),l&&!s&&(f.backgroundPosition=`${l.x*100}% ${l.y*100}%`),a&&!u&&(f.background=a),f.minHeight=m||void 0;let h=w(qp(i),p,{"has-background-dim":i!==0,"has-parallax":s,"has-background-gradient":a,[d]:!u&&d});return(0,se.jsxs)("div",{className:h,style:f,children:[u&&(r||a)&&i!==0&&(0,se.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__gradient-background",d),style:a?{background:a}:void 0}),Cr===t&&u&&(0,se.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),(0,se.jsx)("div",{className:"wp-block-cover__inner-container",children:(0,se.jsx)(_e.InnerBlocks.Content,{})})]})},migrate:(0,q1.compose)(Jk,sm)},b0e={attributes:{...Zp,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"}},supports:{align:!0},save({attributes:e}){let{backgroundType:t,contentAlign:r,customOverlayColor:a,dimRatio:n,focalPoint:i,hasParallax:l,overlayColor:s,title:c,url:u}=e,m=(0,_e.getColorClassName)("background-color",s),p=t===Qt?zs(u):{};m||(p.backgroundColor=a),i&&!l&&(p.backgroundPosition=`${i.x*100}% ${i.y*100}%`);let d=w(qp(n),m,{"has-background-dim":n!==0,"has-parallax":l,[`has-${r}-content`]:r!=="center"});return(0,se.jsxs)("div",{className:d,style:p,children:[Cr===t&&u&&(0,se.jsx)("video",{className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:u}),!_e.RichText.isEmpty(c)&&(0,se.jsx)(_e.RichText.Content,{tagName:"p",className:"wp-block-cover-text",value:c})]})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:"div"},{title:r,contentAlign:a,...n}=t;return[n,[(0,Yk.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,Xk.__)("Write title\u2026")})]]}},y0e={attributes:{...Zp,title:{type:"string",source:"html",selector:"p"},contentAlign:{type:"string",default:"center"},align:{type:"string"}},supports:{className:!1},save({attributes:e}){let{url:t,title:r,hasParallax:a,dimRatio:n,align:i,contentAlign:l,overlayColor:s,customOverlayColor:c}=e,u=(0,_e.getColorClassName)("background-color",s),m=zs(t);u||(m.backgroundColor=c);let p=w("wp-block-cover-image",qp(n),u,{"has-background-dim":n!==0,"has-parallax":a,[`has-${l}-content`]:l!=="center"},i?`align${i}`:null);return(0,se.jsx)("div",{className:p,style:m,children:!_e.RichText.isEmpty(r)&&(0,se.jsx)(_e.RichText.Content,{tagName:"p",className:"wp-block-cover-image-text",value:r})})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:"div"},{title:r,contentAlign:a,align:n,...i}=t;return[i,[(0,Yk.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,Xk.__)("Write title\u2026")})]]}},_0e={attributes:{...Zp,title:{type:"string",source:"html",selector:"h2"},align:{type:"string"},contentAlign:{type:"string",default:"center"}},supports:{className:!1},save({attributes:e}){let{url:t,title:r,hasParallax:a,dimRatio:n,align:i}=e,l=zs(t),s=w("wp-block-cover-image",qp(n),{"has-background-dim":n!==0,"has-parallax":a},i?`align${i}`:null);return(0,se.jsx)("section",{className:s,style:l,children:(0,se.jsx)(_e.RichText.Content,{tagName:"h2",value:r})})},migrate(e){let t={...e,dimRatio:e.url?e.dimRatio:100,tagName:e.tagName?e.tagName:"div"},{title:r,contentAlign:a,align:n,...i}=t;return[i,[(0,Yk.createBlock)("core/paragraph",{content:e.title,style:{typography:{textAlign:e.contentAlign}},fontSize:"large",placeholder:(0,Xk.__)("Write title\u2026")})]]}},Jj=[l0e,s0e,c0e,u0e,m0e,p0e,d0e,f0e,h0e,g0e,v0e,b0e,y0e,_0e];var J1=o(Q(),1),jl=o(U(),1),Yp=o(M(),1),c5=o(me(),1),Bo=o(T(),1),pN=o(P(),1),um=o(V(),1),OU=o(Rr(),1),jU=o(xr(),1);var nU=o(U(),1),jt=o(M(),1),iU=o(me(),1),Yo=o(T(),1),po=o(P(),1),eN=o(V(),1),lU=o(Q(),1);var Xf="full";var Jf=o(T(),1),tU=o(xr(),1),Xa=o(M(),1),rU=o(Rr(),1),fi=o(P(),1),e5=o(U(),1),oU=o(me(),1),t5=o(V(),1),wa=o(v(),1),eU=["image"];function aU({poster:e,onChange:t}){let r=(0,e5.useRef)(),[a,n]=(0,e5.useState)(!1),i=(0,oU.useInstanceId)(aU,"block-library-poster-image-description"),{getSettings:l}=(0,t5.useSelect)(Jf.store),{createErrorNotice:s}=(0,t5.useDispatch)(tU.store),c=m=>{l().mediaUpload({allowedTypes:eU,filesList:m,onFileChange:([p])=>{if((0,rU.isBlobURL)(p?.url)){n(!0);return}p&&t(p),n(!1)},onError:p=>{s(p,{id:"poster-image-upload-notice",type:"snackbar"}),n(!1)},multiple:!1})},u=()=>!e&&a?(0,wa.jsx)(Xa.Spinner,{}):e?(0,fi.__)("Replace"):(0,fi.__)("Set poster image");return(0,wa.jsx)(Jf.MediaUploadCheck,{children:(0,wa.jsxs)(Xa.__experimentalToolsPanelItem,{label:(0,fi.__)("Poster image"),isShownByDefault:!0,hasValue:()=>!!e,onDeselect:()=>t(void 0),children:[(0,wa.jsx)(Xa.BaseControl.VisualLabel,{children:(0,fi.__)("Poster image")}),(0,wa.jsx)(Jf.MediaUpload,{title:(0,fi.__)("Select poster image"),onSelect:t,allowedTypes:eU,render:({open:m})=>(0,wa.jsxs)("div",{className:"block-library-poster-image__container",children:[e&&(0,wa.jsxs)(Xa.Button,{__next40pxDefaultSize:!0,onClick:m,"aria-haspopup":"dialog","aria-label":(0,fi.__)("Edit or replace the poster image."),className:"block-library-poster-image__preview",disabled:a,accessibleWhenDisabled:!0,children:[(0,wa.jsx)("img",{src:e,alt:(0,fi.__)("Poster image preview"),className:"block-library-poster-image__preview-image"}),a&&(0,wa.jsx)(Xa.Spinner,{})]}),(0,wa.jsxs)(Xa.__experimentalHStack,{className:w("block-library-poster-image__actions",{"block-library-poster-image__actions-select":!e}),children:[(0,wa.jsx)(Xa.Button,{__next40pxDefaultSize:!0,onClick:m,ref:r,className:"block-library-poster-image__action","aria-describedby":i,"aria-haspopup":"dialog",variant:e?void 0:"secondary",disabled:a,accessibleWhenDisabled:!0,children:u()}),(0,wa.jsx)("p",{id:i,hidden:!0,children:e?(0,fi.sprintf)((0,fi.__)("The current poster image url is %s."),e):(0,fi.__)("There is no poster image currently selected.")}),!!e&&(0,wa.jsx)(Xa.Button,{__next40pxDefaultSize:!0,onClick:()=>{t(void 0),r.current.focus()},className:"block-library-poster-image__action",disabled:a,accessibleWhenDisabled:!0,children:(0,fi.__)("Remove")})]}),(0,wa.jsx)(Xa.DropZone,{onFilesDrop:c})]})})]})})}var r5=aU;var dt=o(v(),1),{cleanEmptyObject:x0e,ResolutionTool:k0e,HTMLElementControl:w0e}=K(Yo.privateApis);function C0e({onChange:e,onUnitChange:t,unit:r="px",value:a=""}){let i=`block-cover-height-input-${(0,iU.useInstanceId)(jt.__experimentalUnitControl)}`,l=r==="px",[s]=(0,Yo.useSettings)("spacing.units"),c=(0,jt.__experimentalUseCustomUnits)({availableUnits:s||["px","em","rem","vw","vh"],defaultValues:{px:430,"%":20,em:20,rem:20,vw:20,vh:50}}),u=d=>{let f=d!==""?parseFloat(d):void 0;isNaN(f)&&f!==void 0||e(f)},m=(0,nU.useMemo)(()=>{let[d]=(0,jt.__experimentalParseQuantityAndUnitFromRawValue)(a);return[d,r].join("")},[r,a]),p=l?Yj:0;return(0,dt.jsx)(jt.__experimentalUnitControl,{__next40pxDefaultSize:!0,label:(0,po.__)("Minimum height"),id:i,isResetValueOnUnitChange:!0,min:p,onChange:u,onUnitChange:t,units:c,value:m})}function sU({attributes:e,setAttributes:t,clientId:r,setOverlayColor:a,coverRef:n,currentSettings:i,updateDimRatio:l,featuredImage:s}){let{useFeaturedImage:c,id:u,dimRatio:m,focalPoint:p,hasParallax:d,isRepeated:f,minHeight:h,minHeightUnit:g,alt:b,tagName:y,poster:k}=e,{isVideoBackground:_,isImageBackground:x,mediaElement:S,url:C,overlayColor:N}=i,B=e.sizeSlug||Xf,{gradientValue:D,setGradient:A}=(0,Yo.__experimentalUseGradient)(),{getSettings:H}=(0,eN.useSelect)(Yo.store),F=H()?.imageSizes,z=(0,eN.useSelect)(X=>u&&x?X(lU.store).getEntityRecord("postType","attachment",u,{context:"view"}):null,[u,x]),I=c?s:z;function R(X){let te=I?.media_details?.sizes?.[X]?.source_url;if(!te)return null;t({url:te,sizeSlug:X})}let $=F?.filter(({slug:X})=>I?.media_details?.sizes?.[X]?.source_url)?.map(({name:X,slug:te})=>({value:te,label:X})),j=()=>{t({hasParallax:!d,...d?{}:{focalPoint:void 0}})},G=()=>{t({isRepeated:!f})},O=_||x,J=X=>{let[te,ne]=S.current?[S.current.style,"objectPosition"]:[n.current.style,"backgroundPosition"];te[ne]=Qo(X)},ee=(0,Yo.__experimentalUseMultipleOriginColorsAndGradients)(),oe=q();return(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(Yo.InspectorControls,{children:(!!C||c)&&(0,dt.jsxs)(jt.__experimentalToolsPanel,{label:(0,po.__)("Settings"),resetAll:()=>{t({hasParallax:!1,focalPoint:void 0,isRepeated:!1,alt:"",poster:void 0}),R(Xf)},dropdownMenuProps:oe,children:[x&&(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)("Fixed background"),isShownByDefault:!0,hasValue:()=>!!d,onDeselect:()=>t({hasParallax:!1,focalPoint:void 0}),children:(0,dt.jsx)(jt.ToggleControl,{label:(0,po.__)("Fixed background"),checked:!!d,onChange:j})}),(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)("Repeated background"),isShownByDefault:!0,hasValue:()=>f,onDeselect:()=>t({isRepeated:!1}),children:(0,dt.jsx)(jt.ToggleControl,{label:(0,po.__)("Repeated background"),checked:f,onChange:G})})]}),O&&(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)("Focal point"),isShownByDefault:!0,hasValue:()=>!!p,onDeselect:()=>t({focalPoint:void 0}),children:(0,dt.jsx)(jt.FocalPointPicker,{label:(0,po.__)("Focal point"),url:C,value:p,onDragStart:J,onDrag:J,onChange:X=>t({focalPoint:X})})}),_&&(0,dt.jsx)(r5,{poster:k,onChange:X=>t({poster:X?.url})}),!c&&C&&!_&&(0,dt.jsx)(jt.__experimentalToolsPanelItem,{label:(0,po.__)("Alternative text"),isShownByDefault:!0,hasValue:()=>!!b,onDeselect:()=>t({alt:""}),children:(0,dt.jsx)(jt.TextareaControl,{label:(0,po.__)("Alternative text"),value:b,onChange:X=>t({alt:X}),help:(0,dt.jsxs)(dt.Fragment,{children:[(0,dt.jsx)(jt.ExternalLink,{href:(0,po.__)("https://www.w3.org/WAI/tutorials/images/decision-tree/"),children:(0,po.__)("Describe the purpose of the image.")}),(0,dt.jsx)("br",{}),(0,po.__)("Leave empty if decorative.")]})})}),!!$?.length&&(0,dt.jsx)(k0e,{value:B,onChange:R,options:$,defaultValue:Xf})]})}),ee.hasColorsOrGradients&&(0,dt.jsxs)(Yo.InspectorControls,{group:"color",children:[(0,dt.jsx)(Yo.__experimentalColorGradientSettingsDropdown,{__experimentalIsRenderedInSidebar:!0,settings:[{colorValue:N.color,gradientValue:D,label:(0,po.__)("Overlay"),onColorChange:a,onGradientChange:A,isShownByDefault:!0,resetAllFilter:()=>({overlayColor:void 0,customOverlayColor:void 0,gradient:void 0,customGradient:void 0}),clearable:!0}],panelId:r,...ee}),(0,dt.jsx)(jt.__experimentalToolsPanelItem,{hasValue:()=>m===void 0?!1:m!==(C?50:100),label:(0,po.__)("Overlay opacity"),onDeselect:()=>l(C?50:100),resetAllFilter:()=>({dimRatio:C?50:100}),isShownByDefault:!0,panelId:r,children:(0,dt.jsx)(jt.RangeControl,{label:(0,po.__)("Overlay opacity"),value:m,onChange:X=>l(X),min:0,max:100,step:10,required:!0,__next40pxDefaultSize:!0})})]}),(0,dt.jsx)(Yo.InspectorControls,{group:"dimensions",children:(0,dt.jsx)(jt.__experimentalToolsPanelItem,{className:"single-column",hasValue:()=>!!h,label:(0,po.__)("Minimum height"),onDeselect:()=>t({minHeight:void 0,minHeightUnit:void 0}),resetAllFilter:()=>({minHeight:void 0,minHeightUnit:void 0}),isShownByDefault:!0,panelId:r,children:(0,dt.jsx)(C0e,{value:e?.style?.dimensions?.aspectRatio?"":h,unit:g,onChange:X=>t({minHeight:X,style:x0e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})}),onUnitChange:X=>t({minHeightUnit:X})})})}),(0,dt.jsx)(Yo.InspectorControls,{group:"advanced",children:(0,dt.jsx)(w0e,{tagName:y,onChange:X=>t({tagName:X}),clientId:r,options:[{label:(0,po.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}]})})]})}var o5=o(U(),1),Ol=o(T(),1),K1=o(P(),1),dU=o(M(),1);var tN=o(U(),1),cm=o(M(),1),Kp=o(P(),1);var cU=o(W(),1);var S0e="core/embed",T0e=["youtube","vimeo","videopress","animoto","tiktok","wordpress-tv"];function uU(e){return e?P0e(e)!==null:!1}function P0e(e){let t=(0,cU.getBlockVariations)(S0e);if(!t)return null;let r=t.find(({patterns:a})=>eI(e,a));return!r||!T0e.includes(r.name)?null:r}function mU(e){let t=e?.match(/src=["']([^"']+)["']/);if(!t)return null;let r=t[1],a=I0e(r);return e.replace(r,a)}function B0e(e){if(!e)return null;let t=e.toLowerCase();return t.includes("youtube.com")||t.includes("youtu.be")?"youtube":t.includes("vimeo.com")?"vimeo":t.includes("videopress.com")?"videopress":t.includes("animoto.com")?"animoto":t.includes("tiktok.com")?"tiktok":t.includes("wordpress.tv")?"wordpress-tv":null}function I0e(e){if(!e)return e;try{let t=new URL(e);switch(B0e(e)){case"youtube":t.searchParams.set("autoplay","1"),t.searchParams.set("mute","1"),t.searchParams.set("loop","1"),t.searchParams.set("controls","0"),t.searchParams.set("showinfo","0"),t.searchParams.set("modestbranding","1"),t.searchParams.set("playsinline","1"),t.searchParams.set("rel","0");let a=t.pathname.split("/").pop();a&&t.searchParams.set("playlist",a);break;case"vimeo":t.searchParams.set("autoplay","1"),t.searchParams.set("muted","1"),t.searchParams.set("loop","1"),t.searchParams.set("background","1"),t.searchParams.set("controls","0");break;case"videopress":case"wordpress-tv":t.searchParams.set("autoplay","1"),t.searchParams.set("loop","1"),t.searchParams.set("muted","1");break;default:t.searchParams.set("autoplay","1"),t.searchParams.set("muted","1"),t.searchParams.set("loop","1");break}return t.toString()}catch{return e}}var eh=o(v(),1);function pU({onSubmit:e,onClose:t,initialUrl:r=""}){let[a,n]=(0,tN.useState)(r),[i,l]=(0,tN.useState)("");return(0,eh.jsx)(cm.__experimentalConfirmDialog,{isOpen:!0,onConfirm:()=>{if(!a){l((0,Kp.__)("Please enter a URL."));return}if(!uU(a)){l((0,Kp.__)("This URL is not supported. Please enter a valid video link from a supported provider."));return}e(a),t()},onCancel:t,confirmButtonText:(0,Kp.__)("Add video"),size:"medium",children:(0,eh.jsxs)(cm.__experimentalVStack,{spacing:4,children:[i&&(0,eh.jsx)(cm.Notice,{status:"error",isDismissible:!1,children:i}),(0,eh.jsx)(cm.TextControl,{type:"url",__next40pxDefaultSize:!0,label:(0,Kp.__)("Video URL"),value:a,onChange:c=>{n(c),l("")},placeholder:(0,Kp.__)("Enter YouTube, Vimeo, or other video URL"),help:(0,Kp.__)("Add a background video to the cover block that will autoplay in a loop.")})]})})}var nl=o(v(),1),{cleanEmptyObject:N0e}=K(Ol.privateApis);function fU({attributes:e,setAttributes:t,onSelectMedia:r,currentSettings:a,toggleUseFeaturedImage:n,onClearMedia:i,onSelectEmbedUrl:l,blockEditingMode:s}){let{contentPosition:c,id:u,useFeaturedImage:m,minHeight:p,minHeightUnit:d,backgroundType:f}=e,{hasInnerBlocks:h,url:g}=a,[b,y]=(0,o5.useState)(p),[k,_]=(0,o5.useState)(d),[x,S]=(0,o5.useState)(!1),C=d==="vh"&&p===100&&!e?.style?.dimensions?.aspectRatio,N=s==="contentOnly",B=()=>C?t(k==="vh"&&b===100?{minHeight:void 0,minHeightUnit:void 0}:{minHeight:b,minHeightUnit:k}):(y(p),_(d),t({minHeight:100,minHeightUnit:"vh",style:N0e({...e?.style,dimensions:{...e?.style?.dimensions,aspectRatio:void 0}})}));return(0,nl.jsxs)(nl.Fragment,{children:[!N&&(0,nl.jsxs)(Ol.BlockControls,{group:"block",children:[(0,nl.jsx)(Ol.__experimentalBlockAlignmentMatrixControl,{label:(0,K1.__)("Change content position"),value:c,onChange:D=>t({contentPosition:D}),isDisabled:!h}),(0,nl.jsx)(Ol.__experimentalBlockFullHeightAligmentControl,{isActive:C,onToggle:B,isDisabled:!h})]}),(0,nl.jsx)(Ol.BlockControls,{group:"other",children:(0,nl.jsx)(Ol.MediaReplaceFlow,{mediaId:u,mediaURL:g,allowedTypes:Qk,onSelect:r,onToggleFeaturedImage:n,useFeaturedImage:m,name:g?(0,K1.__)("Replace"):(0,K1.__)("Add media"),onReset:i,variant:"toolbar",children:({onClose:D})=>(0,nl.jsx)(dU.MenuItem,{icon:ii,onClick:()=>{S(!0),D()},children:(0,K1.__)("Embed video from URL")})})}),x&&(0,nl.jsx)(pU,{onSubmit:D=>{l(D)},onClose:()=>S(!1),initialUrl:f===Kc?g:""})]})}var a5=o(T(),1),hU=o(P(),1);var rN=o(v(),1);function oN({disableMediaButtons:e=!1,children:t,onSelectMedia:r,onError:a,style:n,toggleUseFeaturedImage:i}){return(0,rN.jsx)(a5.MediaPlaceholder,{icon:(0,rN.jsx)(a5.BlockIcon,{icon:xp}),labels:{title:(0,hU.__)("Cover")},onSelect:r,allowedTypes:Qk,disableMediaButtons:e,onToggleFeaturedImage:i,onError:a,style:n,children:t})}var gU=o(U(),1),vU=o(T(),1);var bU=o(v(),1),E0e={top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},{ResizableBoxPopover:D0e}=K(vU.privateApis);function aN({className:e,height:t,minHeight:r,onResize:a,onResizeStart:n,onResizeStop:i,showHandle:l,size:s,width:c,...u}){let[m,p]=(0,gU.useState)(!1),d={className:w(e,{"is-resizing":m}),enable:E0e,onResizeStart:(f,h,g)=>{n(g.clientHeight),a(g.clientHeight)},onResize:(f,h,g)=>{a(g.clientHeight),m||p(!0)},onResizeStop:(f,h,g)=>{i(g.clientHeight),p(!1)},showHandle:l,size:s,__experimentalShowTooltip:!0,__experimentalTooltipProps:{axis:"y",position:"bottom",isVisible:m}};return(0,bU.jsx)(D0e,{className:"block-library-cover__resizable-box-popover",resizableBoxProps:d,...u})}var L0e={grad:.9,turn:360,rad:360/(2*Math.PI)},Qc=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Po=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},il=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},TU=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},yU=function(e){return{r:il(e.r,0,255),g:il(e.g,0,255),b:il(e.b,0,255),a:il(e.a)}},nN=function(e){return{r:Po(e.r),g:Po(e.g),b:Po(e.b),a:Po(e.a,3)}},M0e=/^#([0-9a-f]{3,8})$/i,n5=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},PU=function(e){var t=e.r,r=e.g,a=e.b,n=e.a,i=Math.max(t,r,a),l=i-Math.min(t,r,a),s=l?i===t?(r-a)/l:i===r?2+(a-t)/l:4+(t-r)/l:0;return{h:60*(s<0?s+6:s),s:i?l/i*100:0,v:i/255*100,a:n}},BU=function(e){var t=e.h,r=e.s,a=e.v,n=e.a;t=t/360*6,r/=100,a/=100;var i=Math.floor(t),l=a*(1-r),s=a*(1-(t-i)*r),c=a*(1-(1-t+i)*r),u=i%6;return{r:255*[a,s,l,l,c,a][u],g:255*[c,a,a,s,l,l][u],b:255*[l,l,c,a,a,s][u],a:n}},_U=function(e){return{h:TU(e.h),s:il(e.s,0,100),l:il(e.l,0,100),a:il(e.a)}},xU=function(e){return{h:Po(e.h),s:Po(e.s),l:Po(e.l),a:Po(e.a,3)}},kU=function(e){return BU((r=(t=e).s,{h:t.h,s:(r*=((a=t.l)<50?a:100-a)/100)>0?2*r/(a+r)*100:0,v:a+r,a:t.a}));var t,r,a},Q1=function(e){return{h:(t=PU(e)).h,s:(n=(200-(r=t.s))*(a=t.v)/100)>0&&n<200?r*a/100/(n<=100?n:200-n)*100:0,l:n/2,a:t.a};var t,r,a,n},A0e=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,R0e=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,z0e=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,V0e=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,sN={string:[[function(e){var t=M0e.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?Po(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?Po(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=z0e.exec(e)||V0e.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:yU({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=A0e.exec(e)||R0e.exec(e);if(!t)return null;var r,a,n=_U({h:(r=t[1],a=t[2],a===void 0&&(a="deg"),Number(r)*(L0e[a]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return kU(n)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,a=e.b,n=e.a,i=n===void 0?1:n;return Qc(t)&&Qc(r)&&Qc(a)?yU({r:Number(t),g:Number(r),b:Number(a),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,a=e.l,n=e.a,i=n===void 0?1:n;if(!Qc(t)||!Qc(r)||!Qc(a))return null;var l=_U({h:Number(t),s:Number(r),l:Number(a),a:Number(i)});return kU(l)},"hsl"],[function(e){var t=e.h,r=e.s,a=e.v,n=e.a,i=n===void 0?1:n;if(!Qc(t)||!Qc(r)||!Qc(a))return null;var l=(function(s){return{h:TU(s.h),s:il(s.s,0,100),v:il(s.v,0,100),a:il(s.a)}})({h:Number(t),s:Number(r),v:Number(a),a:Number(i)});return BU(l)},"hsv"]]},wU=function(e,t){for(var r=0;r<t.length;r++){var a=t[r][0](e);if(a)return[a,t[r][1]]}return[null,void 0]},F0e=function(e){return typeof e=="string"?wU(e.trim(),sN.string):typeof e=="object"&&e!==null?wU(e,sN.object):[null,void 0]};var iN=function(e,t){var r=Q1(e);return{h:r.h,s:il(r.s+100*t,0,100),l:r.l,a:r.a}},lN=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},CU=function(e,t){var r=Q1(e);return{h:r.h,s:r.s,l:il(r.l+100*t,0,100),a:r.a}},cN=(function(){function e(t){this.parsed=F0e(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return Po(lN(this.rgba),2)},e.prototype.isDark=function(){return lN(this.rgba)<.5},e.prototype.isLight=function(){return lN(this.rgba)>=.5},e.prototype.toHex=function(){return t=nN(this.rgba),r=t.r,a=t.g,n=t.b,l=(i=t.a)<1?n5(Po(255*i)):"","#"+n5(r)+n5(a)+n5(n)+l;var t,r,a,n,i,l},e.prototype.toRgb=function(){return nN(this.rgba)},e.prototype.toRgbString=function(){return t=nN(this.rgba),r=t.r,a=t.g,n=t.b,(i=t.a)<1?"rgba("+r+", "+a+", "+n+", "+i+")":"rgb("+r+", "+a+", "+n+")";var t,r,a,n,i},e.prototype.toHsl=function(){return xU(Q1(this.rgba))},e.prototype.toHslString=function(){return t=xU(Q1(this.rgba)),r=t.h,a=t.s,n=t.l,(i=t.a)<1?"hsla("+r+", "+a+"%, "+n+"%, "+i+")":"hsl("+r+", "+a+"%, "+n+"%)";var t,r,a,n,i},e.prototype.toHsv=function(){return t=PU(this.rgba),{h:Po(t.h),s:Po(t.s),v:Po(t.v),a:Po(t.a,3)};var t},e.prototype.invert=function(){return Ja({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),Ja(iN(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Ja(iN(this.rgba,-t))},e.prototype.grayscale=function(){return Ja(iN(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Ja(CU(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Ja(CU(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"?Ja({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):Po(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Q1(this.rgba);return typeof t=="number"?Ja({h:t,s:r.s,l:r.l,a:r.a}):Po(r.h)},e.prototype.isEqual=function(t){return this.toHex()===Ja(t).toHex()},e})(),Ja=function(e){return e instanceof cN?e:new cN(e)},SU=[],IU=function(e){e.forEach(function(t){SU.indexOf(t)<0&&(t(cN,sN),SU.push(t))})};function NU(e,t){var r={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"},a={};for(var n in r)a[r[n]]=n;var i={};e.prototype.toName=function(l){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var s,c,u=a[this.toHex()];if(u)return u;if(l?.closest){var m=this.toRgb(),p=1/0,d="black";if(!i.length)for(var f in r)i[f]=new e(r[f]).toRgb();for(var h in r){var g=(s=m,c=i[h],Math.pow(s.r-c.r,2)+Math.pow(s.g-c.g,2)+Math.pow(s.b-c.b,2));g<p&&(p=g,d=h)}return d}},t.string.push([function(l){var s=l.toLowerCase(),c=s==="transparent"?"#0000":r[s];return c?new e(c).toRgb():null},"name"])}function H0e(e){var t=e.toString(16);return t.length===1?"0"+t:t}function EU(e){return"#"+e.map(H0e).join("")}function O0e(e){var t=(e[0]*299+e[1]*587+e[2]*114)/1e3;return t<128}function j0e(e){return e?U0e(e)?e:[e]:[]}function U0e(e){return Array.isArray(e[0])}function mN(e,t,r){for(var a=0;a<r.length;a++)if(G0e(e,t,r[a]))return!0;return!1}function G0e(e,t,r){switch(r.length){case 3:if(W0e(e,t,r))return!0;break;case 4:if($0e(e,t,r))return!0;break;case 5:if(q0e(e,t,r))return!0;break;default:return!1}}function W0e(e,t,r){return e[t+3]!==255||e[t]===r[0]&&e[t+1]===r[1]&&e[t+2]===r[2]}function $0e(e,t,r){return e[t+3]&&r[3]?e[t]===r[0]&&e[t+1]===r[1]&&e[t+2]===r[2]&&e[t+3]===r[3]:e[t+3]===r[3]}function i5(e,t,r){return e>=t-r&&e<=t+r}function q0e(e,t,r){var a=r[0],n=r[1],i=r[2],l=r[3],s=r[4],c=e[t+3],u=i5(c,l,s);return l?!!(!c&&u||i5(e[t],a,s)&&i5(e[t+1],n,s)&&i5(e[t+2],i,s)&&u):u}function Z0e(e,t,r){for(var a={},n=24,i=r.ignoredColor,l=r.step,s=[0,0,0,0,0],c=0;c<t;c+=l){var u=e[c],m=e[c+1],p=e[c+2],d=e[c+3];if(!(i&&mN(e,c,i))){var f=Math.round(u/n)+","+Math.round(m/n)+","+Math.round(p/n);a[f]?a[f]=[a[f][0]+u*d,a[f][1]+m*d,a[f][2]+p*d,a[f][3]+d,a[f][4]+1]:a[f]=[u*d,m*d,p*d,d,1],s[4]<a[f][4]&&(s=a[f])}}var h=s[0],g=s[1],b=s[2],y=s[3],k=s[4];return y?[Math.round(h/y),Math.round(g/y),Math.round(b/y),Math.round(y/k)]:r.defaultColor}function K0e(e,t,r){for(var a=0,n=0,i=0,l=0,s=0,c=r.ignoredColor,u=r.step,m=0;m<t;m+=u){var p=e[m+3],d=e[m]*p,f=e[m+1]*p,h=e[m+2]*p;c&&mN(e,m,c)||(a+=d,n+=f,i+=h,l+=p,s++)}return l?[Math.round(a/l),Math.round(n/l),Math.round(i/l),Math.round(l/s)]:r.defaultColor}function Q0e(e,t,r){for(var a=0,n=0,i=0,l=0,s=0,c=r.ignoredColor,u=r.step,m=0;m<t;m+=u){var p=e[m],d=e[m+1],f=e[m+2],h=e[m+3];c&&mN(e,m,c)||(a+=p*p*h,n+=d*d*h,i+=f*f*h,l+=h,s++)}return l?[Math.round(Math.sqrt(a/l)),Math.round(Math.sqrt(n/l)),Math.round(Math.sqrt(i/l)),Math.round(l/s)]:r.defaultColor}function DU(e){return X1(e,"defaultColor",[0,0,0,0])}function X1(e,t,r){return e[t]===void 0?r:e[t]}var LU=10,uN=100;function Y0e(e){return e.search(/\.svg(\?|$)/i)!==-1}function X0e(e){if(AU(e)){var t=e.naturalWidth,r=e.naturalHeight;return!e.naturalWidth&&Y0e(e.src)&&(t=r=uN),{width:t,height:r}}return e1e(e)?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}function MU(e){return t1e(e)?"canvas":J0e(e)?"offscreencanvas":r1e(e)?"imagebitmap":e.src}function AU(e){return typeof HTMLImageElement<"u"&&e instanceof HTMLImageElement}function J0e(e){return typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas}function e1e(e){return typeof HTMLVideoElement<"u"&&e instanceof HTMLVideoElement}function t1e(e){return typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement}function r1e(e){return typeof ImageBitmap<"u"&&e instanceof ImageBitmap}function o1e(e,t){var r=X1(t,"left",0),a=X1(t,"top",0),n=X1(t,"width",e.width),i=X1(t,"height",e.height),l=n,s=i;if(t.mode==="precision")return{srcLeft:r,srcTop:a,srcWidth:n,srcHeight:i,destWidth:l,destHeight:s};var c;return n>i?(c=n/i,l=uN,s=Math.round(l/c)):(c=i/n,s=uN,l=Math.round(s/c)),(l>n||s>i||l<LU||s<LU)&&(l=n,s=i),{srcLeft:r,srcTop:a,srcWidth:n,srcHeight:i,destWidth:l,destHeight:s}}var a1e=typeof window>"u";function n1e(){return a1e?new OffscreenCanvas(1,1):document.createElement("canvas")}var RU="FastAverageColor: ";function l5(e,t,r){t||(console.error(RU+e),r&&console.error(r))}function Y1(e){return Error(RU+e)}var zU=(function(){function e(){this.canvas=null,this.ctx=null}return e.prototype.getColorAsync=function(t,r){if(!t)return Promise.reject(Y1("call .getColorAsync() without resource."));if(typeof t=="string"){if(typeof Image>"u")return Promise.reject(Y1("resource as string is not supported in this environment"));var a=new Image;return a.crossOrigin=r&&r.crossOrigin||"",a.src=t,this.bindImageEvents(a,r)}else{if(AU(t)&&!t.complete)return this.bindImageEvents(t,r);var n=this.getColor(t,r);return n.error?Promise.reject(n.error):Promise.resolve(n)}},e.prototype.getColor=function(t,r){r=r||{};var a=DU(r);if(!t)return l5("call .getColor(null) without resource",r.silent),this.prepareResult(a);var n=X0e(t),i=o1e(n,r);if(!i.srcWidth||!i.srcHeight||!i.destWidth||!i.destHeight)return l5('incorrect sizes for resource "'.concat(MU(t),'"'),r.silent),this.prepareResult(a);if(this.canvas||(this.canvas=n1e()),!this.ctx&&(this.ctx=this.canvas.getContext&&this.canvas.getContext("2d"),!this.ctx))return l5("Canvas Context 2D is not supported in this browser",r.silent),this.prepareResult(a);this.canvas.width=i.destWidth,this.canvas.height=i.destHeight;var l=a;try{this.ctx.clearRect(0,0,i.destWidth,i.destHeight),this.ctx.drawImage(t,i.srcLeft,i.srcTop,i.srcWidth,i.srcHeight,0,0,i.destWidth,i.destHeight);var s=this.ctx.getImageData(0,0,i.destWidth,i.destHeight).data;l=this.getColorFromArray4(s,r)}catch(c){l5("security error (CORS) for resource ".concat(MU(t),`.
Details: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image`),r.silent,c)}return this.prepareResult(l)},e.prototype.getColorFromArray4=function(t,r){r=r||{};var a=4,n=t.length,i=DU(r);if(n<a)return i;var l=n-n%a,s=(r.step||1)*a,c;switch(r.algorithm||"sqrt"){case"simple":c=K0e;break;case"sqrt":c=Q0e;break;case"dominant":c=Z0e;break;default:throw Y1("".concat(r.algorithm," is unknown algorithm"))}return c(t,l,{defaultColor:i,ignoredColor:j0e(r.ignoredColor),step:s})},e.prototype.prepareResult=function(t){var r=t.slice(0,3),a=[t[0],t[1],t[2],t[3]/255],n=O0e(t);return{value:[t[0],t[1],t[2],t[3]],rgb:"rgb("+r.join(",")+")",rgba:"rgba("+a.join(",")+")",hex:EU(r),hexa:EU(t),isDark:n,isLight:!n}},e.prototype.destroy=function(){this.canvas&&(this.canvas.width=1,this.canvas.height=1,this.canvas=null),this.ctx=null},e.prototype.bindImageEvents=function(t,r){var a=this;return new Promise(function(n,i){var l=function(){u();var m=a.getColor(t,r);m.error?i(m.error):n(m)},s=function(){u(),i(Y1('Error loading image "'.concat(t.src,'".')))},c=function(){u(),i(Y1('Image "'.concat(t.src,'" loading aborted')))},u=function(){t.removeEventListener("load",l),t.removeEventListener("error",s),t.removeEventListener("abort",c)};t.addEventListener("load",l),t.addEventListener("error",s),t.addEventListener("abort",c)})},e})();var FU=o(Yc(),1);IU([NU]);var th="#FFF",HU="#000";function i1e(e,t){return{r:e.r*e.a+t.r*t.a*(1-e.a),g:e.g*e.a+t.g*t.a*(1-e.a),b:e.b*e.a+t.b*t.a*(1-e.a),a:e.a+t.a*(1-e.a)}}function s5(){return s5.fastAverageColor||(s5.fastAverageColor=new zU),s5.fastAverageColor}var rh=Af(async e=>{if(!e)return th;let{r:t,g:r,b:a,a:n}=Ja(th).toRgb();try{let i=(0,FU.applyFilters)("media.crossOrigin",void 0,e);return(await s5().getColorAsync(e,{defaultColor:[t,r,a,n*255],silent:!0,crossOrigin:i})).hex}catch{return th}});function Qp(e,t,r){if(t===r||e===100)return Ja(t).isDark();let a=Ja(t).alpha(e/100).toRgb(),n=Ja(r).toRgb(),i=i1e(a,n);return Ja(i).isDark()}var Ut=o(v(),1);function l1e(e){return[["core/paragraph",{style:{typography:{textAlign:"center"}},placeholder:(0,pN.__)("Write title\u2026"),...e}]]}var s1e=(e,t)=>!e&&(0,OU.isBlobURL)(t);function c1e({attributes:e,clientId:t,isSelected:r,overlayColor:a,setAttributes:n,setOverlayColor:i,toggleSelection:l,context:{postId:s,postType:c}}){let{contentPosition:u,id:m,url:p,backgroundType:d,useFeaturedImage:f,dimRatio:h,focalPoint:g,hasParallax:b,isDark:y,isRepeated:k,minHeight:_,minHeightUnit:x,alt:S,allowedBlocks:C,templateLock:N,tagName:B="div",isUserOverlayColor:D,sizeSlug:A,poster:H}=e,[F]=(0,J1.useEntityProp)("postType",c,"featured_media",s),{getSettings:z}=(0,um.useSelect)(Bo.store),{__unstableMarkNextChangeAsNotPersistent:I}=(0,um.useDispatch)(Bo.store),R=(0,jl.useRef)({attributes:e,overlayColor:a});(0,jl.useLayoutEffect)(()=>{R.current={attributes:e,overlayColor:a}});let{media:$}=(0,um.useSelect)(Pe=>({media:F&&f?Pe(J1.store).getEntityRecord("postType","attachment",F,{context:"view"}):void 0}),[F,f]),j=$?.media_details?.sizes?.[A]?.source_url??$?.source_url;(0,jl.useEffect)(()=>{(async()=>{if(!f)return;let Pe=await rh(j),{attributes:Ht,overlayColor:qr}=R.current,Co=qr.color;Ht.isUserOverlayColor||(Co=Pe,I(),i(Co));let So=Qp(Ht.dimRatio,Co,Pe);I(),n({isDark:So,isUserOverlayColor:Ht.isUserOverlayColor||!1})})()},[j,I,n,i,f]);let G=f?j:p?.replaceAll("&amp;","&"),O=f?Qt:d,{createErrorNotice:J}=(0,um.useDispatch)(jU.store),{gradientClass:ee,gradientValue:oe}=(0,Bo.__experimentalUseGradient)(),X=async Pe=>{let Ht=Xj(Pe),qr=[Pe?.type,Pe?.media_type].includes(Qt),Co=await rh(qr?Pe?.url:void 0),{attributes:So,overlayColor:Sl}=R.current,qi=Sl.color;So.isUserOverlayColor||(qi=Co,i(qi),I());let Zi=So.url===void 0&&So.dimRatio===100?50:So.dimRatio,vf=Qp(Zi,qi,Co);if(O===Qt&&Ht?.id){let{imageDefaultSize:zc}=z();A&&(Pe?.sizes?.[A]||Pe?.media_details?.sizes?.[A])?(Ht.sizeSlug=A,Ht.url=Pe?.sizes?.[A]?.url||Pe?.media_details?.sizes?.[A]?.source_url):Pe?.sizes?.[zc]||Pe?.media_details?.sizes?.[zc]?(Ht.sizeSlug=zc,Ht.url=Pe?.sizes?.[zc]?.url||Pe?.media_details?.sizes?.[zc]?.source_url):Ht.sizeSlug=Xf}n({...Ht,focalPoint:void 0,useFeaturedImage:void 0,dimRatio:Zi,isDark:vf,isUserOverlayColor:So.isUserOverlayColor||!1})},te=()=>{let Pe=a.color;D||(Pe=HU,i(void 0),I());let Ht=Qp(h,Pe,th);n({url:void 0,id:void 0,backgroundType:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0,isDark:Ht})},ne=async Pe=>{let Ht=await rh(G),{attributes:qr}=R.current,Co=Qp(qr.dimRatio,Pe,Ht);i(Pe),I(),n({isUserOverlayColor:!0,isDark:Co})},le=async Pe=>{let Ht=await rh(G),{overlayColor:qr}=R.current,Co=Qp(Pe,qr.color,Ht);n({dimRatio:Pe,isDark:Co})},pe=Pe=>{J(Pe,{type:"snackbar"})},Ie=Pe=>{n({url:Pe,backgroundType:Kc,dimRatio:p===void 0&&h===100?50:h,id:void 0,focalPoint:void 0,hasParallax:void 0,isRepeated:void 0,useFeaturedImage:void 0})},{embedPreview:Ne,isFetchingEmbed:ae}=(0,um.useSelect)(Pe=>{if(O!==Kc||!G)return{embedPreview:void 0,isFetchingEmbed:!1};let{getEmbedPreview:Ht,isRequestingEmbedPreview:qr}=Pe(J1.store);return{embedPreview:Ht(G),isFetchingEmbed:qr(G)}},[G,O]),Re=(0,jl.useMemo)(()=>O!==Kc||!Ne?.html?null:mU(Ne.html),[Ne,O]),Ee=s1e(m,G),ie=Qt===O,fe=Cr===O,ke=Kc===O,je=(0,Bo.useBlockEditingMode)(),de=je==="default",[ct,{height:at,width:kt}]=(0,c5.useResizeObserver)(),Wr=(0,jl.useMemo)(()=>({height:x==="px"&&_?_:"auto",width:"auto"}),[_,x]),ut=_&&x?`${_}${x}`:_,br=!(b||k),mt={minHeight:ut||void 0},wo=G?`url(${G})`:void 0,Y=Qo(g),ze={backgroundColor:a.color},Me={objectPosition:g&&br?Qo(g):void 0},Xe=!!(G||a.color||oe),Te=(0,um.useSelect)(Pe=>Pe(Bo.store).getBlock(t).innerBlocks.length>0,[t]),Bt=(0,jl.useRef)(),yr=(0,Bo.useBlockProps)({ref:Bt}),[xn]=(0,Bo.useSettings)("typography.fontSizes"),Je=xn?.length>0,$r=l1e({fontSize:Je?"large":void 0}),ip=(0,Bo.useInnerBlocksProps)({className:"wp-block-cover__inner-container"},{template:Te?void 0:$r,templateInsertUpdatesSelection:!0,allowedBlocks:C,templateLock:N,dropZoneElement:Bt.current}),Cs=(0,jl.useRef)(),Ru={isVideoBackground:fe,isImageBackground:ie,mediaElement:Cs,hasInnerBlocks:Te,url:G,isImgElement:br,overlayColor:a},kn=async()=>{let Pe=!f,Ht=Pe?await rh(j):th,{attributes:qr,overlayColor:Co}=R.current,So=qr.isUserOverlayColor?Co.color:Ht;qr.isUserOverlayColor||(i(Pe?So:void 0),I());let Sl=qr.dimRatio===100?50:qr.dimRatio,qi=Qp(Sl,So,Ht);n({id:void 0,url:void 0,useFeaturedImage:Pe,dimRatio:Sl,backgroundType:f?Qt:void 0,isDark:qi})},ja=(0,Ut.jsx)(fU,{attributes:e,setAttributes:n,onSelectMedia:X,onSelectEmbedUrl:Ie,currentSettings:Ru,toggleUseFeaturedImage:kn,onClearMedia:te,blockEditingMode:je}),gf=(0,Ut.jsx)(sU,{attributes:e,setAttributes:n,clientId:t,setOverlayColor:ne,coverRef:Bt,currentSettings:Ru,toggleUseFeaturedImage:kn,updateDimRatio:le,onClearMedia:te,featuredImage:$}),zu={className:"block-library-cover__resize-container",clientId:t,height:at,minHeight:ut,onResizeStart:()=>{n({minHeightUnit:"px"}),l(!1)},onResize:Pe=>{n({minHeight:Pe})},onResizeStop:Pe=>{l(!0),n({minHeight:Pe})},showHandle:!e.style?.dimensions?.aspectRatio,size:Wr,width:kt};if(!f&&!Te&&!Xe)return(0,Ut.jsxs)(Ut.Fragment,{children:[ja,gf,de&&r&&(0,Ut.jsx)(aN,{...zu}),(0,Ut.jsxs)(B,{...yr,className:w("is-placeholder",yr.className),style:{...yr.style,minHeight:ut||void 0},children:[ct,(0,Ut.jsx)(oN,{onSelectMedia:X,onError:pe,toggleUseFeaturedImage:kn,children:(0,Ut.jsx)("div",{className:"wp-block-cover__placeholder-background-options",children:(0,Ut.jsx)(Bo.ColorPalette,{disableCustomColors:!0,value:a.color,onChange:ne,clearable:!1,asButtons:!0,"aria-label":(0,pN.__)("Overlay color")})})})]})]});let Ss=w({"is-dark-theme":y,"is-light":!y,"is-transient":Ee,"has-parallax":b,"is-repeated":k,"has-custom-content-position":!Ya(u)},Nn(u)),Ts=G||!f||f&&!G;return(0,Ut.jsxs)(Ut.Fragment,{children:[ja,gf,(0,Ut.jsxs)(B,{...yr,className:w(Ss,yr.className),style:{...mt,...yr.style},"data-url":G,children:[ct,!G&&f&&(0,Ut.jsx)(Yp.Placeholder,{className:"wp-block-cover__image--placeholder-image",withIllustration:!0}),G&&ie&&(br?(0,Ut.jsx)("img",{ref:Cs,className:"wp-block-cover__image-background",alt:S,src:G,style:Me}):(0,Ut.jsx)("div",{ref:Cs,role:S?"img":void 0,"aria-label":S||void 0,className:w(Ss,"wp-block-cover__image-background"),style:{backgroundImage:wo,backgroundPosition:Y}})),G&&fe&&(0,Ut.jsx)("video",{ref:Cs,className:"wp-block-cover__video-background",autoPlay:!0,muted:!0,loop:!0,src:G,poster:H,style:Me}),ke&&Re&&(0,Ut.jsx)("div",{ref:Cs,className:"wp-block-cover__video-background wp-block-cover__embed-background",style:Me,children:(0,Ut.jsx)(Yp.SandBox,{allowSameOrigin:!0,html:Re,title:"Background video",styles:["iframe{position:fixed;top:0;left:0;width:100%;height:100%;}"]})}),ke&&!Re&&ae&&(0,Ut.jsx)(Yp.Spinner,{}),Ts&&(0,Ut.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",al(h),{[a.class]:a.class,"has-background-dim":h!==void 0,"wp-block-cover__gradient-background":G&&oe&&h!==0,"has-background-gradient":oe,[ee]:ee}),style:{backgroundImage:oe,...ze}}),Ee&&(0,Ut.jsx)(Yp.Spinner,{}),(0,Ut.jsx)(oN,{disableMediaButtons:!0,onSelectMedia:X,onError:pe,toggleUseFeaturedImage:kn}),(0,Ut.jsx)("div",{...ip})]}),de&&r&&(0,Ut.jsx)(aN,{...zu})]})}var UU=(0,c5.compose)([(0,Bo.withColors)({overlayColor:"background-color"})])(c1e);var u5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/cover",title:"Cover",category:"media",description:"Add an image or video with a text overlay.",textdomain:"default",attributes:{url:{type:"string",role:"content"},useFeaturedImage:{type:"boolean",default:!1},id:{type:"number"},alt:{type:"string",default:""},hasParallax:{type:"boolean",default:!1},isRepeated:{type:"boolean",default:!1},dimRatio:{type:"number",default:100},overlayColor:{type:"string"},customOverlayColor:{type:"string"},isUserOverlayColor:{type:"boolean"},backgroundType:{type:"string",default:"image"},focalPoint:{type:"object"},minHeight:{type:"number"},minHeightUnit:{type:"string"},gradient:{type:"string"},customGradient:{type:"string"},contentPosition:{type:"string"},isDark:{type:"boolean",default:!0},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]},tagName:{type:"string",default:"div"},sizeSlug:{type:"string"},poster:{type:"string",source:"attribute",selector:"video",attribute:"poster"}},usesContext:["postId","postType"],supports:{anchor:!0,align:!0,html:!1,shadow:!0,spacing:{padding:!0,margin:["top","bottom"],blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},color:{heading:!0,text:!0,background:!1,__experimentalSkipSerialization:["gradients"],enableContrastChecker:!1},dimensions:{aspectRatio:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowJustification:!1},interactivity:{clientNavigation:!0},filter:{duotone:!0},allowedBlocks:!0},selectors:{filter:{duotone:".wp-block-cover > .wp-block-cover__image-background, .wp-block-cover > .wp-block-cover__video-background"}},editorStyle:"wp-block-cover-editor",style:"wp-block-cover"};var mm=o(T(),1);var Vs=o(v(),1);function GU({attributes:e}){let{backgroundType:t,gradient:r,contentPosition:a,customGradient:n,customOverlayColor:i,dimRatio:l,focalPoint:s,useFeaturedImage:c,hasParallax:u,isDark:m,isRepeated:p,overlayColor:d,url:f,alt:h,id:g,minHeight:b,minHeightUnit:y,tagName:k,sizeSlug:_,poster:x}=e,S=(0,mm.getColorClassName)("background-color",d),C=(0,mm.__experimentalGetGradientClass)(r),N=b&&y?`${b}${y}`:b,B=Qt===t,D=Cr===t,A=Kc===t,H=!(u||p),F={minHeight:N||void 0},z={backgroundColor:S?void 0:i,background:n||void 0},I=s&&H?Qo(s):void 0,R=f?`url(${f})`:void 0,$=Qo(s),j=w({"is-light":!m,"has-parallax":u,"is-repeated":p,"has-custom-content-position":!Ya(a)},Nn(a)),G=w("wp-block-cover__image-background",g?`wp-image-${g}`:null,{[`size-${_}`]:_,"has-parallax":u,"is-repeated":p}),O=r||n;return(0,Vs.jsxs)(k,{...mm.useBlockProps.save({className:j,style:F}),children:[!c&&B&&f&&(H?(0,Vs.jsx)("img",{className:G,alt:h,src:f,style:{objectPosition:I},"data-object-fit":"cover","data-object-position":I}):(0,Vs.jsx)("div",{role:h?"img":void 0,"aria-label":h||void 0,className:G,style:{backgroundPosition:$,backgroundImage:R}})),D&&f&&(0,Vs.jsx)("video",{className:w("wp-block-cover__video-background","intrinsic-ignore"),autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:f,poster:x,style:{objectPosition:I},"data-object-fit":"cover","data-object-position":I}),A&&f&&(0,Vs.jsx)("figure",{className:w("wp-block-cover__video-background","wp-block-cover__embed-background","wp-block-embed"),children:(0,Vs.jsx)("div",{className:"wp-block-embed__wrapper",children:f})}),(0,Vs.jsx)("span",{"aria-hidden":"true",className:w("wp-block-cover__background",S,al(l),{"has-background-dim":l!==void 0,"wp-block-cover__gradient-background":f&&O&&l!==0,"has-background-gradient":O,[C]:C}),style:z}),(0,Vs.jsx)("div",{...mm.useInnerBlocksProps.save({className:"wp-block-cover__inner-container"})})]})}var hi=o(W(),1),WU=o(T(),1);var{cleanEmptyObject:m5}=K(WU.privateApis),m1e={from:[{type:"block",blocks:["core/image"],transform:({caption:e,url:t,alt:r,align:a,id:n,anchor:i,style:l})=>(0,hi.createBlock)("core/cover",{dimRatio:50,url:t,alt:r,align:a,id:n,anchor:i,style:{color:{duotone:l?.color?.duotone}}},[(0,hi.createBlock)("core/paragraph",{content:e,fontSize:"large",style:{typography:{textAlign:"center"}}})])},{type:"block",blocks:["core/video"],transform:({caption:e,src:t,align:r,id:a,anchor:n})=>(0,hi.createBlock)("core/cover",{dimRatio:50,url:t,align:r,id:a,backgroundType:Cr,anchor:n},[(0,hi.createBlock)("core/paragraph",{content:e,fontSize:"large",style:{typography:{textAlign:"center"}}})])},{type:"block",blocks:["core/group"],transform:(e,t)=>{let{align:r,anchor:a,backgroundColor:n,gradient:i,style:l}=e;if(t?.length===1&&t[0]?.name==="core/cover")return(0,hi.createBlock)("core/cover",t[0].attributes,t[0].innerBlocks);let s=n||i||l?.color?.background||l?.color?.gradient?void 0:50,c={align:r,anchor:a,dimRatio:s,overlayColor:n,customOverlayColor:l?.color?.background,gradient:i,customGradient:l?.color?.gradient},u={...e,backgroundColor:void 0,gradient:void 0,style:m5({...e?.style,color:l?.color?{...l?.color,background:void 0,gradient:void 0}:void 0})};return(0,hi.createBlock)("core/cover",c,[(0,hi.createBlock)("core/group",u,t)])}}],to:[{type:"block",blocks:["core/image"],isMatch:({backgroundType:e,url:t,overlayColor:r,customOverlayColor:a,gradient:n,customGradient:i})=>t?e===Qt:!r&&!a&&!n&&!i,transform:({title:e,url:t,alt:r,align:a,id:n,anchor:i,style:l})=>(0,hi.createBlock)("core/image",{caption:e,url:t,alt:r,align:a,id:n,anchor:i,style:{color:{duotone:l?.color?.duotone}}})},{type:"block",blocks:["core/video"],isMatch:({backgroundType:e,url:t,overlayColor:r,customOverlayColor:a,gradient:n,customGradient:i})=>t?e===Cr:!r&&!a&&!n&&!i,transform:({title:e,url:t,align:r,id:a,anchor:n})=>(0,hi.createBlock)("core/video",{caption:e,src:t,id:a,align:r,anchor:n})},{type:"block",blocks:["core/group"],isMatch:({url:e,useFeaturedImage:t})=>!(e||t),transform:(e,t)=>{let r={backgroundColor:e?.overlayColor,gradient:e?.gradient,style:m5({...e?.style,color:e?.customOverlayColor||e?.customGradient||e?.style?.color?{background:e?.customOverlayColor,gradient:e?.customGradient,...e?.style?.color}:void 0})};if(t?.length===1&&t[0]?.name==="core/group"){let a=m5(t[0].attributes||{});return a?.backgroundColor||a?.gradient||a?.style?.color?.background||a?.style?.color?.gradient?(0,hi.createBlock)("core/group",a,t[0]?.innerBlocks):(0,hi.createBlock)("core/group",{...r,...a,style:m5({...a?.style,color:r?.style?.color||a?.style?.color?{...r?.style?.color,...a?.style?.color}:void 0})},t[0]?.innerBlocks)}return(0,hi.createBlock)("core/group",{...e,...r},t)}}]},$U=m1e;var dN=o(P(),1);var p1e=[{name:"cover",title:(0,dN.__)("Cover"),description:(0,dN.__)("Add an image or video with a text overlay."),attributes:{layout:{type:"constrained"}},isDefault:!0,icon:xp}],qU=p1e;var{fieldsKey:d1e,formKey:f1e}=K(ZU.privateApis),{name:KU}=u5,p5={icon:xp,example:{attributes:{customOverlayColor:"#065174",dimRatio:40,url:"https://s.w.org/images/core/5.3/Windbuchencom.jpg",style:{typography:{fontSize:48},color:{text:"white"}}},innerBlocks:[{name:"core/paragraph",attributes:{content:`<strong>${(0,fN.__)("Snow Patrol")}</strong>`,style:{typography:{textAlign:"center"}}}}]},transforms:$U,save:GU,edit:UU,deprecated:Jj,variations:qU};window.__experimentalContentOnlyInspectorFields&&(p5[d1e]=[{id:"background",label:(0,fN.__)("Background"),type:"media",Edit:{control:"media",allowedTypes:["image","video"],multiple:!1,useFeaturedImage:!0},getValue:({item:e})=>({id:e.id,url:e.url,alt:e.alt,mediaType:e.backgroundType,featuredImage:e.useFeaturedImage}),setValue:({value:e})=>({id:e.id,url:e.url,alt:e.alt,mediaType:e.backgroundType,useFeaturedImage:e.featuredImage})}],p5[f1e]={fields:["background"]});var h1e=()=>E({name:KU,metadata:u5,settings:p5});var gN={};Z(gN,{init:()=>k1e,metadata:()=>d5,name:()=>rG,settings:()=>h5});var pm=o(P(),1),tG=o(W(),1);var d5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/details",title:"Details",category:"text",description:"Hide and show additional content.",keywords:["summary","toggle","disclosure"],textdomain:"default",attributes:{showContent:{type:"boolean",default:!1},summary:{type:"rich-text",source:"rich-text",selector:"summary",role:"content"},name:{type:"string",source:"attribute",attribute:"name",selector:".wp-block-details"},placeholder:{type:"string"}},supports:{__experimentalOnEnter:!0,align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},__experimentalBorder:{color:!0,width:!0,style:!0},html:!1,spacing:{margin:!0,padding:!0,blockGap:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowEditing:!1},interactivity:{clientNavigation:!0},allowedBlocks:!0},editorStyle:"wp-block-details-editor",style:"wp-block-details"};var Ul=o(T(),1),Fs=o(M(),1),Xc=o(P(),1),QU=o(U(),1),YU=o(V(),1);var En=o(v(),1),{withIgnoreIMEEvents:v1e}=K(Fs.privateApis),b1e=[["core/paragraph",{placeholder:(0,Xc.__)("Type / to add a hidden block")}]];function y1e({attributes:e,setAttributes:t,clientId:r}){let{name:a,showContent:n,summary:i,allowedBlocks:l,placeholder:s}=e,c=(0,Ul.useBlockProps)(),u=(0,Ul.useInnerBlocksProps)(c,{template:b1e,__experimentalCaptureToolbars:!0,allowedBlocks:l}),[m,p]=(0,QU.useState)(n),d=q(),f=(0,YU.useSelect)(b=>b(Ul.store).hasSelectedInnerBlock(r,!0),[r]),h=b=>{b.key==="Enter"&&!b.shiftKey&&(p(y=>!y),b.preventDefault())},g=b=>{b.key===" "&&b.preventDefault()};return(0,En.jsxs)(En.Fragment,{children:[(0,En.jsx)(Ul.InspectorControls,{children:(0,En.jsx)(Fs.__experimentalToolsPanel,{label:(0,Xc.__)("Settings"),resetAll:()=>{t({showContent:!1})},dropdownMenuProps:d,children:(0,En.jsx)(Fs.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,Xc.__)("Open by default"),hasValue:()=>n,onDeselect:()=>{t({showContent:!1})},children:(0,En.jsx)(Fs.ToggleControl,{label:(0,Xc.__)("Open by default"),checked:n,onChange:()=>t({showContent:!n})})})})}),(0,En.jsx)(Ul.InspectorControls,{group:"advanced",children:(0,En.jsx)(Fs.TextControl,{__next40pxDefaultSize:!0,label:(0,Xc.__)("Name attribute"),value:a||"",onChange:b=>t({name:b}),help:(0,Xc.__)("Enables multiple Details blocks with the same name attribute to be connected, with only one open at a time.")})}),(0,En.jsxs)("details",{...u,open:m||f,onToggle:b=>p(b.target.open),name:a||"",children:[(0,En.jsx)("summary",{onKeyDown:v1e(h),onKeyUp:g,children:(0,En.jsx)(Ul.RichText,{identifier:"summary","aria-label":(0,Xc.__)("Write summary. Press Enter to expand or collapse the details."),placeholder:s||(0,Xc.__)("Write summary\u2026"),withoutInteractiveFormatting:!0,value:i,onChange:b=>t({summary:b})})}),u.children]})]})}var XU=y1e;var ah=o(T(),1),oh=o(v(),1);function JU({attributes:e}){let{name:t,showContent:r}=e,a=e.summary?e.summary:"Details",n=ah.useBlockProps.save();return(0,oh.jsxs)("details",{...n,name:t||void 0,open:r,children:[(0,oh.jsx)("summary",{children:(0,oh.jsx)(ah.RichText.Content,{value:a})}),(0,oh.jsx)(ah.InnerBlocks.Content,{})]})}var f5=o(W(),1),eG={from:[{type:"block",isMultiBlock:!0,blocks:["*"],isMatch({},e){return!(e.length===1&&e[0].name==="core/details")},__experimentalConvert(e){return(0,f5.createBlock)("core/details",{},e.map(t=>(0,f5.cloneBlock)(t)))}}]};var{fieldsKey:_1e,formKey:x1e}=K(tG.privateApis),{name:rG}=d5,h5={icon:T9,example:{attributes:{summary:(0,pm.__)("La Mancha"),showContent:!0},innerBlocks:[{name:"core/paragraph",attributes:{content:(0,pm.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.")}}]},__experimentalLabel(e,{context:t}){let{summary:r}=e,a=e?.metadata?.name,n=r?.trim().length>0;if(t==="list-view"&&(a||n))return a||r;if(t==="breadcrumb"&&a)return a;if(t==="accessibility")return n?(0,pm.sprintf)((0,pm.__)("Details. %s"),r):(0,pm.__)("Details. Empty.")},save:JU,edit:XU,transforms:eG};window.__experimentalContentOnlyInspectorFields&&(h5[_1e]=[{id:"summary",label:(0,pm.__)("Summary"),type:"text",Edit:"rich-text"}],h5[x1e]={fields:["summary"]});var k1e=()=>E({name:rG,metadata:d5,settings:h5});var wN={};Z(wN,{init:()=>M1e,metadata:()=>Ls,name:()=>FG,settings:()=>HG});var Xp=o(P(),1),Hs=o(M(),1),g5=o(T(),1);var ll=o(v(),1);function w1e(e){return e?(0,Xp.__)("This embed will preserve its aspect ratio when the browser is resized."):(0,Xp.__)("This embed may not preserve its aspect ratio when the browser is resized.")}var C1e=({blockSupportsResponsive:e,showEditButton:t,themeSupportsResponsive:r,allowResponsive:a,toggleResponsive:n,switchBackToURLInput:i})=>{let l=q();return(0,ll.jsxs)(ll.Fragment,{children:[(0,ll.jsx)(g5.BlockControls,{children:(0,ll.jsx)(Hs.ToolbarGroup,{children:t&&(0,ll.jsx)(Hs.ToolbarButton,{className:"components-toolbar__control",label:(0,Xp.__)("Edit URL"),icon:Pp,onClick:i})})}),r&&e&&(0,ll.jsx)(g5.InspectorControls,{children:(0,ll.jsx)(Hs.__experimentalToolsPanel,{label:(0,Xp.__)("Media settings"),resetAll:()=>{n(!0)},dropdownMenuProps:l,children:(0,ll.jsx)(Hs.__experimentalToolsPanelItem,{label:(0,Xp.__)("Media settings"),isShownByDefault:!0,hasValue:()=>!a,onDeselect:()=>{n(!a)},children:(0,ll.jsx)(Hs.ToggleControl,{label:(0,Xp.__)("Resize for smaller devices"),checked:a,help:w1e,onChange:n})})})})]})},oG=C1e;var ye=o(M(),1),xe=o(v(),1),Gl=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,xe.jsx)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zm-6-9.5L16 12l-2.5 2.8 1.1 1L18 12l-3.5-3.5-1 1zm-3 0l-1-1L6 12l3.5 3.8 1.1-1L8 12l2.5-2.5z"})}),v5=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,xe.jsx)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM13.2 7.7c-.4.4-.7 1.1-.7 1.9v3.7c-.4-.3-.8-.4-1.3-.4-1.2 0-2.2 1-2.2 2.2 0 1.2 1 2.2 2.2 2.2.5 0 1-.2 1.4-.5.9-.6 1.4-1.6 1.4-2.6V9.6c0-.4.1-.6.2-.8.3-.3 1-.3 1.6-.3h.2V7h-.2c-.7 0-1.8 0-2.6.7z"})}),vN=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,xe.jsx)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9.2 4.5H19c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V9.8l4.6-5.3zm9.8 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})}),nh=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,xe.jsx)(ye.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm.5 16c0 .3-.2.5-.5.5H5c-.3 0-.5-.2-.5-.5V9.8l4.7-5.3H19c.3 0 .5.2.5.5v14zM10 15l5-3-5-3v6z"})}),aG={foreground:"#000000",src:(0,xe.jsx)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z"})})},nG={foreground:"#ff0000",src:(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"})})},iG={foreground:"#3b5998",src:(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M20 3H4c-.6 0-1 .4-1 1v16c0 .5.4 1 1 1h8.6v-7h-2.3v-2.7h2.3v-2c0-2.3 1.4-3.6 3.5-3.6 1 0 1.8.1 2.1.1v2.4h-1.4c-1.1 0-1.3.5-1.3 1.3v1.7h2.7l-.4 2.8h-2.3v7H20c.5 0 1-.4 1-1V4c0-.6-.4-1-1-1z"})})},lG=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.G,{children:(0,xe.jsx)(ye.Path,{d:"M12 4.622c2.403 0 2.688.01 3.637.052.877.04 1.354.187 1.67.31.42.163.72.358 1.036.673.315.315.51.615.673 1.035.123.317.27.794.31 1.67.043.95.052 1.235.052 3.638s-.01 2.688-.052 3.637c-.04.877-.187 1.354-.31 1.67-.163.42-.358.72-.673 1.036-.315.315-.615.51-1.035.673-.317.123-.794.27-1.67.31-.95.043-1.234.052-3.638.052s-2.688-.01-3.637-.052c-.877-.04-1.354-.187-1.67-.31-.42-.163-.72-.358-1.036-.673-.315-.315-.51-.615-.673-1.035-.123-.317-.27-.794-.31-1.67-.043-.95-.052-1.235-.052-3.638s.01-2.688.052-3.637c.04-.877.187-1.354.31-1.67.163-.42.358-.72.673-1.036.315-.315.615-.51 1.035-.673.317-.123.794-.27 1.67-.31.95-.043 1.235-.052 3.638-.052M12 3c-2.444 0-2.75.01-3.71.054s-1.613.196-2.185.418c-.592.23-1.094.538-1.594 1.04-.5.5-.807 1-1.037 1.593-.223.572-.375 1.226-.42 2.184C3.01 9.25 3 9.555 3 12s.01 2.75.054 3.71.196 1.613.418 2.186c.23.592.538 1.094 1.038 1.594s1.002.808 1.594 1.038c.572.222 1.227.375 2.185.418.96.044 1.266.054 3.71.054s2.75-.01 3.71-.054 1.613-.196 2.186-.418c.592-.23 1.094-.538 1.594-1.038s.808-1.002 1.038-1.594c.222-.572.375-1.227.418-2.185.044-.96.054-1.266.054-3.71s-.01-2.75-.054-3.71-.196-1.613-.418-2.186c-.23-.592-.538-1.094-1.038-1.594s-1.002-.808-1.594-1.038c-.572-.222-1.227-.375-2.185-.418C14.75 3.01 14.445 3 12 3zm0 4.378c-2.552 0-4.622 2.07-4.622 4.622s2.07 4.622 4.622 4.622 4.622-2.07 4.622-4.622S14.552 7.378 12 7.378zM12 15c-1.657 0-3-1.343-3-3s1.343-3 3-3 3 1.343 3 3-1.343 3-3 3zm4.804-8.884c-.596 0-1.08.484-1.08 1.08s.484 1.08 1.08 1.08c.596 0 1.08-.484 1.08-1.08s-.483-1.08-1.08-1.08z"})})}),sG={foreground:"#0073AA",src:(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.G,{children:(0,xe.jsx)(ye.Path,{d:"M12.158 12.786l-2.698 7.84c.806.236 1.657.365 2.54.365 1.047 0 2.05-.18 2.986-.51-.024-.037-.046-.078-.065-.123l-2.762-7.57zM3.008 12c0 3.56 2.07 6.634 5.068 8.092L3.788 8.342c-.5 1.117-.78 2.354-.78 3.658zm15.06-.454c0-1.112-.398-1.88-.74-2.48-.456-.74-.883-1.368-.883-2.11 0-.825.627-1.595 1.51-1.595.04 0 .078.006.116.008-1.598-1.464-3.73-2.36-6.07-2.36-3.14 0-5.904 1.613-7.512 4.053.21.008.41.012.58.012.94 0 2.395-.114 2.395-.114.484-.028.54.684.057.74 0 0-.487.058-1.03.086l3.275 9.74 1.968-5.902-1.4-3.838c-.485-.028-.944-.085-.944-.085-.486-.03-.43-.77.056-.742 0 0 1.484.114 2.368.114.94 0 2.397-.114 2.397-.114.486-.028.543.684.058.74 0 0-.488.058-1.03.086l3.25 9.665.897-2.997c.456-1.17.684-2.137.684-2.907zm1.82-3.86c.04.286.06.593.06.924 0 .912-.17 1.938-.683 3.22l-2.746 7.94c2.672-1.558 4.47-4.454 4.47-7.77 0-1.564-.4-3.033-1.1-4.314zM12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z"})})})},cG={foreground:"#1db954",src:(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m4.586 14.424c-.18.295-.563.387-.857.207-2.35-1.434-5.305-1.76-8.786-.963-.335.077-.67-.133-.746-.47-.077-.334.132-.67.47-.745 3.808-.87 7.076-.496 9.712 1.115.293.18.386.563.206.857M17.81 13.7c-.226.367-.706.482-1.072.257-2.687-1.652-6.785-2.13-9.965-1.166-.413.127-.848-.106-.973-.517-.125-.413.108-.848.52-.973 3.632-1.102 8.147-.568 11.234 1.328.366.226.48.707.256 1.072m.105-2.835C14.692 8.95 9.375 8.775 6.297 9.71c-.493.15-1.016-.13-1.166-.624-.148-.495.13-1.017.625-1.167 3.532-1.073 9.404-.866 13.115 1.337.445.264.59.838.327 1.282-.264.443-.838.59-1.282.325"})})},uG=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"m6.5 7c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5zm11 0c-2.75 0-5 2.25-5 5s2.25 5 5 5 5-2.25 5-5-2.25-5-5-5z"})}),mG={foreground:"#1ab7ea",src:(0,xe.jsx)(ye.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.G,{children:(0,xe.jsx)(ye.Path,{d:"M22.396 7.164c-.093 2.026-1.507 4.8-4.245 8.32C15.323 19.16 12.93 21 10.97 21c-1.214 0-2.24-1.12-3.08-3.36-.56-2.052-1.118-4.105-1.68-6.158-.622-2.24-1.29-3.36-2.004-3.36-.156 0-.7.328-1.634.98l-.978-1.26c1.027-.903 2.04-1.806 3.037-2.71C6 3.95 7.03 3.328 7.716 3.265c1.62-.156 2.616.95 2.99 3.32.404 2.558.685 4.148.84 4.77.468 2.12.982 3.18 1.543 3.18.435 0 1.09-.687 1.963-2.064.872-1.376 1.34-2.422 1.402-3.142.125-1.187-.343-1.782-1.4-1.782-.5 0-1.013.115-1.542.34 1.023-3.35 2.977-4.976 5.862-4.883 2.14.063 3.148 1.45 3.024 4.16z"})})})},pG=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M22 12.068a2.184 2.184 0 0 0-2.186-2.186c-.592 0-1.13.233-1.524.609-1.505-1.075-3.566-1.774-5.86-1.864l1.004-4.695 3.261.699A1.56 1.56 0 1 0 18.255 3c-.61-.001-1.147.357-1.398.877l-3.638-.77a.382.382 0 0 0-.287.053.348.348 0 0 0-.161.251l-1.112 5.233c-2.33.072-4.426.77-5.95 1.864a2.201 2.201 0 0 0-1.523-.61 2.184 2.184 0 0 0-.896 4.176c-.036.215-.053.43-.053.663 0 3.37 3.924 6.111 8.763 6.111s8.763-2.724 8.763-6.11c0-.216-.017-.449-.053-.664A2.207 2.207 0 0 0 22 12.068Zm-15.018 1.56a1.56 1.56 0 0 1 3.118 0c0 .86-.699 1.558-1.559 1.558-.86.018-1.559-.699-1.559-1.559Zm8.728 4.139c-1.076 1.075-3.119 1.147-3.71 1.147-.61 0-2.652-.09-3.71-1.147a.4.4 0 0 1 0-.573.4.4 0 0 1 .574 0c.68.68 2.114.914 3.136.914 1.022 0 2.473-.233 3.136-.914a.4.4 0 0 1 .574 0 .436.436 0 0 1 0 .573Zm-.287-2.563a1.56 1.56 0 0 1 0-3.118c.86 0 1.56.699 1.56 1.56 0 .841-.7 1.558-1.56 1.558Z"})}),dG={foreground:"#35465c",src:(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M19 3H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h14a2 2 0 002-2V5a2 2 0 00-2-2zm-5.69 14.66c-2.72 0-3.1-1.9-3.1-3.16v-3.56H8.49V8.99c1.7-.62 2.54-1.99 2.64-2.87 0-.06.06-.41.06-.58h1.9v3.1h2.17v2.3h-2.18v3.1c0 .47.13 1.3 1.2 1.26h1.1v2.36c-1.01.02-2.07 0-2.07 0z"})})},fG=(0,xe.jsxs)(ye.SVG,{viewBox:"0 0 24 24",children:[(0,xe.jsx)(ye.Path,{d:"M18.42 14.58c-.51-.66-1.05-1.23-1.05-2.5V7.87c0-1.8.15-3.45-1.2-4.68-1.05-1.02-2.79-1.35-4.14-1.35-2.6 0-5.52.96-6.12 4.14-.06.36.18.54.4.57l2.66.3c.24-.03.42-.27.48-.5.24-1.12 1.17-1.63 2.2-1.63.56 0 1.22.21 1.55.7.4.56.33 1.31.33 1.97v.36c-1.59.18-3.66.27-5.16.93a4.63 4.63 0 0 0-2.93 4.44c0 2.82 1.8 4.23 4.1 4.23 1.95 0 3.03-.45 4.53-1.98.51.72.66 1.08 1.59 1.83.18.09.45.09.63-.1v.04l2.1-1.8c.24-.21.2-.48.03-.75zm-5.4-1.2c-.45.75-1.14 1.23-1.92 1.23-1.05 0-1.65-.81-1.65-1.98 0-2.31 2.1-2.73 4.08-2.73v.6c0 1.05.03 1.92-.5 2.88z"}),(0,xe.jsx)(ye.Path,{d:"M21.69 19.2a17.62 17.62 0 0 1-21.6-1.57c-.23-.2 0-.5.28-.33a23.88 23.88 0 0 0 20.93 1.3c.45-.19.84.3.39.6z"}),(0,xe.jsx)(ye.Path,{d:"M22.8 17.96c-.36-.45-2.22-.2-3.1-.12-.23.03-.3-.18-.05-.36 1.5-1.05 3.96-.75 4.26-.39.3.36-.1 2.82-1.5 4.02-.21.18-.42.1-.3-.15.3-.8 1.02-2.58.69-3z"})]}),hG=(0,xe.jsxs)(ye.SVG,{viewBox:"0 0 24 24",children:[(0,xe.jsx)(ye.Path,{d:"m.0206909 21 19.8160091-13.07806 3.5831 6.20826z",fill:"#4bc7ee"}),(0,xe.jsx)(ye.Path,{d:"m23.7254 19.0205-10.1074-17.18468c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418h22.5655c1.279 0 1.8019-.8905 1.1599-1.9795z",fill:"#d4cdcb"}),(0,xe.jsx)(ye.Path,{d:"m.0206909 21 15.2439091-16.38571 4.3029 7.32271z",fill:"#c3d82e"}),(0,xe.jsx)(ye.Path,{d:"m13.618 1.83582c-.6421-1.114428-1.7087-1.114428-2.3249 0l-11.2931 19.16418 15.2646-16.38573z",fill:"#e4ecb0"}),(0,xe.jsx)(ye.Path,{d:"m.0206909 21 19.5468091-9.063 1.6621 2.8344z",fill:"#209dbd"}),(0,xe.jsx)(ye.Path,{d:"m.0206909 21 17.9209091-11.82623 1.6259 2.76323z",fill:"#7cb3c9"})]}),gG=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{d:"M11.903 16.568c-1.82 0-3.124-1.281-3.124-2.967a2.987 2.987 0 0 1 2.989-2.989c1.663 0 2.944 1.304 2.944 3.034 0 1.663-1.281 2.922-2.81 2.922ZM17.997 3l-3.308.73v5.107c-.809-1.034-2.045-1.37-3.505-1.37-1.529 0-2.9.561-4.023 1.662-1.259 1.214-1.933 2.764-1.933 4.495 0 1.888.72 3.506 2.113 4.742 1.056.944 2.314 1.415 3.775 1.415 1.438 0 2.517-.382 3.573-1.415v1.415h3.308V3Z",fill:"#333436"})}),vG=(0,xe.jsx)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",children:(0,xe.jsx)(ye.Path,{d:"M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2"})}),bG=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 44 44",children:(0,xe.jsx)(ye.Path,{d:"M32.59521,22.001l4.31885-4.84473-6.34131-1.38379.646-6.459-5.94336,2.61035L22,6.31934l-3.27344,5.60351L12.78418,9.3125l.645,6.458L7.08643,17.15234,11.40479,21.999,7.08594,26.84375l6.34131,1.38379-.64551,6.458,5.94287-2.60938L22,37.68066l3.27344-5.60351,5.94287,2.61035-.64551-6.458,6.34277-1.38183Zm.44385,2.75244L30.772,23.97827l-1.59558-2.07391,1.97888.735Zm-8.82147,6.1579L22.75,33.424V30.88977l1.52228-2.22168ZM18.56226,13.48816,19.819,15.09534l-2.49219-.88642L15.94037,12.337Zm6.87719.00116,2.62043-1.15027-1.38654,1.86981L24.183,15.0946Zm3.59357,2.6029-1.22546,1.7381.07525-2.73486,1.44507-1.94867ZM22,29.33008l-2.16406-3.15686L22,23.23688l2.16406,2.93634Zm-4.25458-9.582-.10528-3.836,3.60986,1.284v3.73242Zm5.00458-2.552,3.60986-1.284-.10528,3.836L22.75,20.92853Zm-7.78174-1.10559-.29352-2.94263,1.44245,1.94739.07519,2.73321Zm2.30982,5.08319,3.50817,1.18164-2.16247,2.9342-3.678-1.08447Zm2.4486,7.49285L21.25,30.88977v2.53485L19.78052,30.91Zm3.48707-6.31121,3.50817-1.18164,2.33228,3.03137-3.678,1.08447Zm10.87219-4.28113-2.714,3.04529L28.16418,19.928l1.92176-2.72565ZM24.06036,12.81769l-2.06012,2.6322-2.059-2.63318L22,9.292ZM9.91455,18.07227l4.00079-.87195,1.921,2.72735-3.20794,1.19019Zm2.93024,4.565,1.9801-.73462L13.228,23.97827l-2.26838.77429Zm-1.55591,3.58819L13.701,25.4021l2.64935.78058-2.14447.67853Zm3.64868,1.977L18.19,27.17334l.08313,3.46332L14.52979,32.2793Zm10.7876,2.43549.08447-3.464,3.25165,1.03052.407,4.07684Zm4.06824-3.77478-2.14545-.68,2.65063-.781,2.41266.825Z"})}),yG={foreground:"#f43e37",src:(0,xe.jsxs)(ye.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,xe.jsx)(ye.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M24,12A12,12,0,1,1,12,0,12,12,0,0,1,24,12Z"}),(0,xe.jsx)(ye.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2.67,12a9.33,9.33,0,0,1,18.66,0H19a7,7,0,1,0-7,7v2.33A9.33,9.33,0,0,1,2.67,12ZM12,17.6A5.6,5.6,0,1,1,17.6,12h-2A3.56,3.56,0,1,0,12,15.56Z",fill:"#fff"})]})},_G=(0,xe.jsx)(ye.SVG,{viewBox:"0 0 24 24",children:(0,xe.jsx)(ye.Path,{fill:"#0a7aff",d:"M6.3,4.2c2.3,1.7,4.8,5.3,5.7,7.2.9-1.9,3.4-5.4,5.7-7.2,1.7-1.3,4.3-2.2,4.3.9s-.4,5.2-.6,5.9c-.7,2.6-3.3,3.2-5.6,2.8,4,.7,5.1,3,2.9,5.3-5,5.2-6.7-2.8-6.7-2.8,0,0-1.7,8-6.7,2.8-2.2-2.3-1.2-4.6,2.9-5.3-2.3.4-4.9-.3-5.6-2.8-.2-.7-.6-5.3-.6-5.9,0-3.1,2.7-2.1,4.3-.9h0Z"})});var xG=o(M(),1),bN=o(v(),1),S1e=()=>(0,bN.jsx)("div",{className:"wp-block-embed is-loading",children:(0,bN.jsx)(xG.Spinner,{})}),kG=S1e;var Os=o(P(),1),Ln=o(M(),1),wG=o(T(),1),Dn=o(v(),1),T1e=({icon:e,label:t,value:r,onSubmit:a,onChange:n,cannotEmbed:i,fallback:l,tryAgain:s})=>(0,Dn.jsxs)(Ln.Placeholder,{icon:(0,Dn.jsx)(wG.BlockIcon,{icon:e,showColors:!0}),label:t,className:"wp-block-embed",instructions:(0,Os.__)("Paste a link to the content you want to display on your site."),children:[(0,Dn.jsxs)("form",{onSubmit:a,children:[(0,Dn.jsx)(Ln.__experimentalInputControl,{__next40pxDefaultSize:!0,type:"url",value:r||"",className:"wp-block-embed__placeholder-input",label:t,hideLabelFromVision:!0,placeholder:(0,Os.__)("Enter URL to embed here\u2026"),onChange:n}),(0,Dn.jsx)(Ln.Button,{__next40pxDefaultSize:!0,variant:"primary",type:"submit",children:(0,Os._x)("Embed","button label")})]}),(0,Dn.jsx)("div",{className:"wp-block-embed__learn-more",children:(0,Dn.jsx)(Ln.ExternalLink,{href:(0,Os.__)("https://wordpress.org/documentation/article/embeds/"),children:(0,Os.__)("Learn more about embeds")})}),i&&(0,Dn.jsxs)(Ln.__experimentalVStack,{spacing:3,className:"components-placeholder__error",children:[(0,Dn.jsx)("div",{className:"components-placeholder__instructions",children:(0,Os.__)("Sorry, this content could not be embedded.")}),(0,Dn.jsxs)(Ln.__experimentalHStack,{expanded:!1,spacing:3,justify:"flex-start",children:[(0,Dn.jsx)(Ln.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:s,children:(0,Os._x)("Try again","button label")})," ",(0,Dn.jsx)(Ln.Button,{__next40pxDefaultSize:!0,variant:"secondary",onClick:l,children:(0,Os._x)("Convert to link","button label")})]})]})]}),CG=T1e;var lh=o(P(),1),y5=o(M(),1),TG=o(T(),1),PG=o(U(),1),BG=o(mr(),1);var b5=o(me(),1),ih=o(U(),1),yN=o(v(),1),P1e={class:"className",frameborder:"frameBorder",marginheight:"marginHeight",marginwidth:"marginWidth"};function SG({html:e}){let t=(0,ih.useRef)(),r=(0,ih.useMemo)(()=>{let n=new window.DOMParser().parseFromString(e,"text/html").querySelector("iframe"),i={};return n&&Array.from(n.attributes).forEach(({name:l,value:s})=>{l!=="style"&&(i[P1e[l]||l]=s)}),i},[e]);return(0,ih.useEffect)(()=>{let{ownerDocument:a}=t.current,{defaultView:n}=a;function i({data:{secret:l,message:s,value:c}={}}){s!=="height"||l!==r["data-secret"]||(t.current.height=c)}return n.addEventListener("message",i),()=>{n.removeEventListener("message",i)}},[]),(0,yN.jsx)("div",{className:"wp-block-embed__wrapper",children:(0,yN.jsx)("iframe",{ref:(0,b5.useMergeRefs)([t,(0,b5.useFocusableIframe)()]),title:r.title,...r})})}var Mn=o(v(),1);function IG({preview:e,previewable:t,url:r,type:a,isSelected:n,className:i,icon:l,label:s}){let[c,u]=(0,PG.useState)(!1);!n&&c&&u(!1);let m=()=>{u(!0)},{scripts:p}=e,d=a==="photo"?pF(e):e.html,f=(0,BG.getAuthority)(r),h=(0,lh.sprintf)((0,lh.__)("Embedded content from %s"),f),g=w(a,i,"wp-block-embed__wrapper");return(0,Mn.jsx)(Mn.Fragment,{children:t?a==="wp-embed"?(0,Mn.jsx)(SG,{html:d}):(0,Mn.jsxs)("div",{className:"wp-block-embed__wrapper",children:[(0,Mn.jsx)(y5.SandBox,{allowSameOrigin:!0,html:d,scripts:p,title:h,type:g,onFocus:m}),!c&&(0,Mn.jsx)("div",{className:"block-library-embed__interactive-overlay",onMouseUp:m})]}):(0,Mn.jsxs)(y5.Placeholder,{icon:(0,Mn.jsx)(TG.BlockIcon,{icon:l,showColors:!0}),label:s,children:[(0,Mn.jsx)("p",{className:"components-placeholder__error",children:(0,Mn.jsx)("a",{href:r,children:r})}),(0,Mn.jsx)("p",{className:"components-placeholder__error",children:(0,lh.sprintf)((0,lh.__)("Embedded content from %s can't be previewed in the editor."),f)})]})})}var ed=o(P(),1),Jp=o(U(),1),_5=o(V(),1),NG=o(T(),1),_N=o(Q(),1),xN=o(L(),1),EG=o(mr(),1);var gi=o(v(),1),B1e=e=>{let{attributes:{providerNameSlug:t,previewable:r,responsive:a,url:n},attributes:i,isSelected:l,onReplace:s,setAttributes:c,insertBlocksAfter:u,onFocus:m}=e,p={title:(0,ed._x)("Embed","block title"),icon:Gl},{icon:d,title:f}=uF(t)||p,[h,g]=(0,Jp.useState)(n),[b,y]=(0,Jp.useState)(!1),{invalidateResolution:k}=(0,_5.useDispatch)(_N.store),{preview:_,fetching:x,themeSupportsResponsive:S,cannotEmbed:C,hasResolved:N}=(0,_5.useSelect)(G=>{let{getEmbedPreview:O,isPreviewEmbedFallback:J,isRequestingEmbedPreview:ee,getThemeSupports:oe,hasFinishedResolution:X}=G(_N.store);if(!n)return{fetching:!1,cannotEmbed:!1};let te=O(n),ne=J(n),le=te?.html===!1&&te?.type===void 0,pe=te?.data?.status===404,Ie=!!te&&!le&&!pe;return{preview:Ie?te:void 0,fetching:ee(n),themeSupportsResponsive:oe()["responsive-embeds"],cannotEmbed:!Ie||ne,hasResolved:X("getEmbedPreview",[n])}},[n]),B=()=>fF(i,_,f,a);function D(G){let{className:O}=i,{html:J}=_;c({allowResponsive:G,className:tI(J,O,a&&G)})}(0,Jp.useEffect)(()=>{if(_?.html||!C||!N)return;let G=n.replace(/\/$/,"");g(G),y(!1),c({url:G})},[_?.html,n,C,N,c]),(0,Jp.useEffect)(()=>{if(!(!C||x||!h)&&(0,EG.getAuthority)(h)==="x.com"){let G=new URL(h);G.host="twitter.com",c({url:G.toString()})}},[h,C,x,c]),(0,Jp.useEffect)(()=>{if(_&&!b){let G=B();if(Object.keys(G).some(J=>G[J]!==i[J])&&c(G),s){let J=Yu(e,G);J&&s(J)}}},[_,b]);let A=(0,NG.useBlockProps)();if(x)return(0,gi.jsx)(xN.View,{...A,children:(0,gi.jsx)(kG,{})});let H=(0,ed.sprintf)((0,ed.__)("%s URL"),f);if(!_||C||b)return(0,gi.jsx)(xN.View,{...A,children:(0,gi.jsx)(CG,{icon:d,label:H,onFocus:m,onSubmit:G=>{G&&G.preventDefault();let O=Qu(i.className);y(!1),c({url:h,className:O})},value:h,cannotEmbed:C,onChange:G=>g(G),fallback:()=>dF(h,s),tryAgain:()=>{k("getEmbedPreview",[h])}})});let{caption:z,type:I,allowResponsive:R,className:$}=B(),j=w($,e.className);return(0,gi.jsxs)(gi.Fragment,{children:[(0,gi.jsx)(oG,{showEditButton:_&&!C,themeSupportsResponsive:S,blockSupportsResponsive:a,allowResponsive:R,toggleResponsive:D,switchBackToURLInput:()=>y(!0)}),(0,gi.jsxs)("figure",{...A,className:w(A.className,j,{[`is-type-${I}`]:I,[`is-provider-${t}`]:t,[`wp-block-embed-${t}`]:t}),children:[(0,gi.jsx)(IG,{preview:_,previewable:r,className:j,url:h,type:I,caption:z,onCaptionChange:G=>c({caption:G}),isSelected:l,icon:d,label:H,insertBlocksAfter:u,attributes:i,setAttributes:c}),(0,gi.jsx)(_a,{attributes:i,setAttributes:c,isSelected:l,insertBlocksAfter:u,label:(0,ed.__)("Embed caption text"),showToolbarButton:l})]})]})},DG=B1e;var td=o(T(),1),ev=o(v(),1);function LG({attributes:e}){let{url:t,caption:r,type:a,providerNameSlug:n}=e;if(!t)return null;let i=w("wp-block-embed",{[`is-type-${a}`]:a,[`is-provider-${n}`]:n,[`wp-block-embed-${n}`]:n});return(0,ev.jsxs)("figure",{...td.useBlockProps.save({className:i}),children:[(0,ev.jsx)("div",{className:"wp-block-embed__wrapper",children:`
${t}
`}),!td.RichText.isEmpty(r)&&(0,ev.jsx)(td.RichText.Content,{className:(0,td.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:r})]})}var kN=o(W(),1);var{name:I1e}=Ls,N1e={from:[{type:"raw",isMatch:e=>e.nodeName==="P"&&/^\s*(https?:\/\/\S+)\s*$/i.test(e.textContent)&&e.textContent?.match(/https/gi)?.length===1,transform:e=>(0,kN.createBlock)(I1e,{url:e.textContent.trim()})}],to:[{type:"block",blocks:["core/paragraph"],isMatch:({url:e})=>!!e,transform:({url:e,caption:t,className:r})=>{let a=`<a href="${e}">${e}</a>`;return t?.trim()&&(a+=`<br />${t}`),(0,kN.createBlock)("core/paragraph",{content:a,className:Qu(r)})}}]},MG=N1e;var ue=o(P(),1);function ft(e){return(0,ue.sprintf)((0,ue.__)("%s Embed"),e)}var AG=[{name:"twitter",title:ft("X"),icon:aG,keywords:["x","twitter","tweet",(0,ue.__)("social")],description:(0,ue.__)("Embed an X post."),patterns:[/^https?:\/\/(www\.)?twitter\.com\/.+/i],attributes:{providerNameSlug:"twitter",responsive:!0}},{name:"youtube",title:ft("YouTube"),icon:nG,keywords:[(0,ue.__)("music"),(0,ue.__)("video")],description:(0,ue.__)("Embed a YouTube video."),patterns:[/^https?:\/\/((m|www)\.)?youtube\.com\/.+/i,/^https?:\/\/youtu\.be\/.+/i],attributes:{providerNameSlug:"youtube",responsive:!0}},{name:"facebook",title:ft("Facebook"),icon:iG,keywords:[(0,ue.__)("social")],description:(0,ue.__)("Embed a Facebook post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"facebook",previewable:!1,responsive:!0}},{name:"instagram",title:ft("Instagram"),icon:lG,keywords:[(0,ue.__)("image"),(0,ue.__)("social")],description:(0,ue.__)("Embed an Instagram post."),scope:["block"],patterns:[],attributes:{providerNameSlug:"instagram",responsive:!0}},{name:"wordpress",title:ft("WordPress"),icon:sG,keywords:[(0,ue.__)("post"),(0,ue.__)("blog")],description:(0,ue.__)("Embed a WordPress post."),attributes:{providerNameSlug:"wordpress"}},{name:"soundcloud",title:ft("SoundCloud"),icon:v5,keywords:[(0,ue.__)("music"),(0,ue.__)("audio")],description:(0,ue.__)("Embed SoundCloud content."),patterns:[/^https?:\/\/(www\.)?soundcloud\.com\/.+/i],attributes:{providerNameSlug:"soundcloud",responsive:!0}},{name:"spotify",title:ft("Spotify"),icon:cG,keywords:[(0,ue.__)("music"),(0,ue.__)("audio")],description:(0,ue.__)("Embed Spotify content."),patterns:[/^https?:\/\/(open|play)\.spotify\.com\/.+/i],attributes:{providerNameSlug:"spotify",responsive:!0}},{name:"flickr",title:ft("Flickr"),icon:uG,keywords:[(0,ue.__)("image")],description:(0,ue.__)("Embed Flickr content."),patterns:[/^https?:\/\/(www\.)?flickr\.com\/.+/i,/^https?:\/\/flic\.kr\/.+/i],attributes:{providerNameSlug:"flickr",responsive:!0}},{name:"vimeo",title:ft("Vimeo"),icon:mG,keywords:[(0,ue.__)("video")],description:(0,ue.__)("Embed a Vimeo video."),patterns:[/^https?:\/\/(www\.)?vimeo\.com\/.+/i],attributes:{providerNameSlug:"vimeo",responsive:!0}},{name:"animoto",title:ft("Animoto"),icon:hG,description:(0,ue.__)("Embed an Animoto video."),patterns:[/^https?:\/\/(www\.)?(animoto|video214)\.com\/.+/i],attributes:{providerNameSlug:"animoto",responsive:!0}},{name:"cloudup",title:ft("Cloudup"),icon:Gl,description:(0,ue.__)("Embed Cloudup content."),patterns:[/^https?:\/\/cloudup\.com\/.+/i],attributes:{providerNameSlug:"cloudup",responsive:!0}},{name:"collegehumor",title:ft("CollegeHumor"),icon:nh,description:(0,ue.__)("Embed CollegeHumor content."),scope:["block"],patterns:[],attributes:{providerNameSlug:"collegehumor",responsive:!0}},{name:"crowdsignal",title:ft("Crowdsignal"),icon:Gl,keywords:["polldaddy",(0,ue.__)("survey")],description:(0,ue.__)("Embed Crowdsignal (formerly Polldaddy) content."),patterns:[/^https?:\/\/((.+\.)?polldaddy\.com|poll\.fm|.+\.crowdsignal\.net|.+\.survey\.fm)\/.+/i],attributes:{providerNameSlug:"crowdsignal",responsive:!0}},{name:"dailymotion",title:ft("Dailymotion"),icon:gG,keywords:[(0,ue.__)("video")],description:(0,ue.__)("Embed a Dailymotion video."),patterns:[/^https?:\/\/(www\.)?dailymotion\.com\/.+/i],attributes:{providerNameSlug:"dailymotion",responsive:!0}},{name:"imgur",title:ft("Imgur"),icon:vN,description:(0,ue.__)("Embed Imgur content."),patterns:[/^https?:\/\/(.+\.)?imgur\.com\/.+/i],attributes:{providerNameSlug:"imgur",responsive:!0}},{name:"issuu",title:ft("Issuu"),icon:Gl,description:(0,ue.__)("Embed Issuu content."),patterns:[/^https?:\/\/(www\.)?issuu\.com\/.+/i],attributes:{providerNameSlug:"issuu",responsive:!0}},{name:"kickstarter",title:ft("Kickstarter"),icon:Gl,description:(0,ue.__)("Embed Kickstarter content."),patterns:[/^https?:\/\/(www\.)?kickstarter\.com\/.+/i,/^https?:\/\/kck\.st\/.+/i],attributes:{providerNameSlug:"kickstarter",responsive:!0}},{name:"mixcloud",title:ft("Mixcloud"),icon:v5,keywords:[(0,ue.__)("music"),(0,ue.__)("audio")],description:(0,ue.__)("Embed Mixcloud content."),patterns:[/^https?:\/\/(www\.)?mixcloud\.com\/.+/i],attributes:{providerNameSlug:"mixcloud",responsive:!0}},{name:"pocket-casts",title:ft("Pocket Casts"),icon:yG,keywords:[(0,ue.__)("podcast"),(0,ue.__)("audio")],description:(0,ue.__)("Embed a podcast player from Pocket Casts."),patterns:[/^https:\/\/pca.st\/\w+/i],attributes:{providerNameSlug:"pocket-casts",responsive:!0}},{name:"reddit",title:ft("Reddit"),icon:pG,description:(0,ue.__)("Embed a Reddit thread."),patterns:[/^https?:\/\/(www\.)?reddit\.com\/.+/i],attributes:{providerNameSlug:"reddit",responsive:!0}},{name:"reverbnation",title:ft("ReverbNation"),icon:v5,description:(0,ue.__)("Embed ReverbNation content."),patterns:[/^https?:\/\/(www\.)?reverbnation\.com\/.+/i],attributes:{providerNameSlug:"reverbnation",responsive:!0}},{name:"scribd",title:ft("Scribd"),icon:Gl,description:(0,ue.__)("Embed Scribd content."),patterns:[/^https?:\/\/(www\.)?scribd\.com\/.+/i],attributes:{providerNameSlug:"scribd",responsive:!0}},{name:"smugmug",title:ft("SmugMug"),icon:vN,description:(0,ue.__)("Embed SmugMug content."),patterns:[/^https?:\/\/(.+\.)?smugmug\.com\/.*/i],attributes:{providerNameSlug:"smugmug",previewable:!1,responsive:!0}},{name:"speaker-deck",title:ft("Speaker Deck"),icon:Gl,description:(0,ue.__)("Embed Speaker Deck content."),patterns:[/^https?:\/\/(www\.)?speakerdeck\.com\/.+/i],attributes:{providerNameSlug:"speaker-deck",responsive:!0}},{name:"tiktok",title:ft("TikTok"),icon:nh,keywords:[(0,ue.__)("video")],description:(0,ue.__)("Embed a TikTok video."),patterns:[/^https?:\/\/(www\.)?tiktok\.com\/.+/i],attributes:{providerNameSlug:"tiktok",responsive:!0}},{name:"ted",title:ft("TED"),icon:nh,description:(0,ue.__)("Embed a TED video."),patterns:[/^https?:\/\/(www\.|embed\.)?ted\.com\/.+/i],attributes:{providerNameSlug:"ted",responsive:!0}},{name:"tumblr",title:ft("Tumblr"),icon:dG,keywords:[(0,ue.__)("social")],description:(0,ue.__)("Embed a Tumblr post."),patterns:[/^https?:\/\/(.+)\.tumblr\.com\/.+/i],attributes:{providerNameSlug:"tumblr",responsive:!0}},{name:"videopress",title:ft("VideoPress"),icon:nh,keywords:[(0,ue.__)("video")],description:(0,ue.__)("Embed a VideoPress video."),patterns:[/^https?:\/\/videopress\.com\/.+/i],attributes:{providerNameSlug:"videopress",responsive:!0}},{name:"wordpress-tv",title:ft("WordPress.tv"),icon:nh,description:(0,ue.__)("Embed a WordPress.tv video."),patterns:[/^https?:\/\/wordpress\.tv\/.+/i],attributes:{providerNameSlug:"wordpress-tv",responsive:!0}},{name:"amazon-kindle",title:ft("Amazon Kindle"),icon:fG,keywords:[(0,ue.__)("ebook")],description:(0,ue.__)("Embed Amazon Kindle content."),patterns:[/^https?:\/\/([a-z0-9-]+\.)?(amazon|amzn)(\.[a-z]{2,4})+\/.+/i,/^https?:\/\/(www\.)?(a\.co|z\.cn)\/.+/i],attributes:{providerNameSlug:"amazon-kindle"}},{name:"pinterest",title:ft("Pinterest"),icon:vG,keywords:[(0,ue.__)("social"),(0,ue.__)("bookmark")],description:(0,ue.__)("Embed Pinterest pins, boards, and profiles."),patterns:[/^https?:\/\/([a-z]{2}|www)\.pinterest\.com(\.(au|mx))?\/.*/i],attributes:{providerNameSlug:"pinterest"}},{name:"wolfram-cloud",title:ft("Wolfram"),icon:bG,description:(0,ue.__)("Embed Wolfram notebook content."),patterns:[/^https?:\/\/(www\.)?wolframcloud\.com\/obj\/.+/i],attributes:{providerNameSlug:"wolfram-cloud",responsive:!0}},{name:"bluesky",title:ft("Bluesky"),icon:_G,description:(0,ue.__)("Embed a Bluesky post."),patterns:[/^https?:\/\/bsky\.app\/profile\/.+\/post\/.+/i],attributes:{providerNameSlug:"bluesky"}}];AG.forEach(e=>{e.isActive||(e.isActive=(t,r)=>t.providerNameSlug===r.providerNameSlug)});var RG=AG;var rd=o(T(),1),od=o(v(),1),{attributes:zG}=Ls,E1e={attributes:zG,save({attributes:e}){let{url:t,caption:r,type:a,providerNameSlug:n}=e;if(!t)return null;let i=w("wp-block-embed",{[`is-type-${a}`]:a,[`is-provider-${n}`]:n,[`wp-block-embed-${n}`]:n});return(0,od.jsxs)("figure",{...rd.useBlockProps.save({className:i}),children:[(0,od.jsx)("div",{className:"wp-block-embed__wrapper",children:`
${t}
`}),!rd.RichText.isEmpty(r)&&(0,od.jsx)(rd.RichText.Content,{tagName:"figcaption",value:r})]})}},D1e={attributes:zG,save({attributes:{url:e,caption:t,type:r,providerNameSlug:a}}){if(!e)return null;let n=w("wp-block-embed",{[`is-type-${r}`]:r,[`is-provider-${a}`]:a});return(0,od.jsxs)("figure",{className:n,children:[`
${e}
`,!rd.RichText.isEmpty(t)&&(0,od.jsx)(rd.RichText.Content,{tagName:"figcaption",value:t})]})}},L1e=[E1e,D1e],VG=L1e;var{name:FG}=Ls,HG={icon:Gl,edit:DG,save:LG,transforms:MG,variations:RG,deprecated:VG},M1e=()=>E({name:FG,metadata:Ls,settings:HG});var PN={};Z(PN,{init:()=>W1e,metadata:()=>w5,name:()=>eW,settings:()=>T5});var uh=o(P(),1);var JG=o(W(),1);var fo=o(T(),1),Wl=o(P(),1),Gt=o(v(),1),A1e={attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileId:r,fileName:a,textLinkHref:n,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,m=fo.RichText.isEmpty(a)?(0,Wl.__)("PDF embed"):(0,Wl.sprintf)((0,Wl.__)("Embed of %s."),a),p=!fo.RichText.isEmpty(a),d=p?r:void 0;return t&&(0,Gt.jsxs)("div",{...fo.useBlockProps.save(),children:[c&&(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":m})}),p&&(0,Gt.jsx)("a",{id:d,href:n,target:i,rel:i?"noreferrer noopener":void 0,children:(0,Gt.jsx)(fo.RichText.Content,{value:a})}),l&&(0,Gt.jsx)("a",{href:t,className:w("wp-block-file__button",(0,fo.__experimentalGetElementClassName)("button")),download:!0,"aria-describedby":d,children:(0,Gt.jsx)(fo.RichText.Content,{value:s})})]})}},R1e={attributes:{id:{type:"number"},href:{type:"string"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileId:r,fileName:a,textLinkHref:n,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,m=fo.RichText.isEmpty(a)?(0,Wl.__)("PDF embed"):(0,Wl.sprintf)((0,Wl.__)("Embed of %s."),a),p=!fo.RichText.isEmpty(a),d=p?r:void 0;return t&&(0,Gt.jsxs)("div",{...fo.useBlockProps.save(),children:[c&&(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":m})}),p&&(0,Gt.jsx)("a",{id:d,href:n,target:i,rel:i?"noreferrer noopener":void 0,children:(0,Gt.jsx)(fo.RichText.Content,{value:a})}),l&&(0,Gt.jsx)("a",{href:t,className:"wp-block-file__button",download:!0,"aria-describedby":d,children:(0,Gt.jsx)(fo.RichText.Content,{value:s})})]})}},z1e={attributes:{id:{type:"number"},href:{type:"string"},fileName:{type:"string",source:"html",selector:"a:not([download])"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"string",source:"html",selector:"a[download]"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0},save({attributes:e}){let{href:t,fileName:r,textLinkHref:a,textLinkTarget:n,showDownloadButton:i,downloadButtonText:l,displayPreview:s,previewHeight:c}=e,u=fo.RichText.isEmpty(r)?(0,Wl.__)("PDF embed"):(0,Wl.sprintf)((0,Wl.__)("Embed of %s."),r);return t&&(0,Gt.jsxs)("div",{...fo.useBlockProps.save(),children:[s&&(0,Gt.jsx)(Gt.Fragment,{children:(0,Gt.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${c}px`},"aria-label":u})}),!fo.RichText.isEmpty(r)&&(0,Gt.jsx)("a",{href:a,target:n,rel:n?"noreferrer noopener":void 0,children:(0,Gt.jsx)(fo.RichText.Content,{value:r})}),i&&(0,Gt.jsx)("a",{href:t,className:"wp-block-file__button",download:!0,children:(0,Gt.jsx)(fo.RichText.Content,{value:l})})]})}},V1e=[A1e,R1e,z1e],OG=V1e;var SN=o(Rr(),1),ch=o(M(),1),sh=o(V(),1),No=o(T(),1),k5=o(U(),1),$G=o(me(),1),$l=o(P(),1);var qG=o(Q(),1),TN=o(xr(),1),ZG=o(mr(),1);var Xo=o(P(),1),Jo=o(M(),1),jG=o(T(),1);var Io=o(v(),1);function UG({hrefs:e,openInNewWindow:t,showDownloadButton:r,changeLinkDestinationOption:a,changeOpenInNewWindow:n,changeShowDownloadButton:i,displayPreview:l,changeDisplayPreview:s,previewHeight:c,changePreviewHeight:u}){let{href:m,textLinkHref:p,attachmentPage:d}=e,f=q(),h=[{value:m,label:(0,Xo.__)("URL")}];return d&&(h=[{value:m,label:(0,Xo.__)("Media file")},{value:d,label:(0,Xo.__)("Attachment page")}]),(0,Io.jsx)(Io.Fragment,{children:(0,Io.jsxs)(jG.InspectorControls,{children:[m.endsWith(".pdf")&&(0,Io.jsxs)(Jo.__experimentalToolsPanel,{label:(0,Xo.__)("PDF settings"),resetAll:()=>{s(!0),u(600)},dropdownMenuProps:f,children:[(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)("Show inline embed"),isShownByDefault:!0,hasValue:()=>!l,onDeselect:()=>s(!0),children:(0,Io.jsx)(Jo.ToggleControl,{label:(0,Xo.__)("Show inline embed"),help:l?(0,Xo.__)("Note: Most phone and tablet browsers won't display embedded PDFs."):null,checked:!!l,onChange:s})}),l&&(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)("Height in pixels"),isShownByDefault:!0,hasValue:()=>c!==600,onDeselect:()=>u(600),children:(0,Io.jsx)(Jo.RangeControl,{__next40pxDefaultSize:!0,label:(0,Xo.__)("Height in pixels"),min:x5,max:Math.max(CN,c),value:c,onChange:u})})]}),(0,Io.jsxs)(Jo.__experimentalToolsPanel,{label:(0,Xo.__)("Settings"),resetAll:()=>{a(m),n(!1),i(!0)},dropdownMenuProps:f,children:[(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)("Link to"),isShownByDefault:!0,hasValue:()=>p!==m,onDeselect:()=>a(m),children:(0,Io.jsx)(Jo.SelectControl,{__next40pxDefaultSize:!0,label:(0,Xo.__)("Link to"),value:p,options:h,onChange:a})}),(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)("Open in new tab"),isShownByDefault:!0,hasValue:()=>!!t,onDeselect:()=>n(!1),children:(0,Io.jsx)(Jo.ToggleControl,{label:(0,Xo.__)("Open in new tab"),checked:t,onChange:n})}),(0,Io.jsx)(Jo.__experimentalToolsPanelItem,{label:(0,Xo.__)("Show download button"),isShownByDefault:!0,hasValue:()=>!r,onDeselect:()=>i(!0),children:(0,Io.jsx)(Jo.ToggleControl,{label:(0,Xo.__)("Show download button"),checked:r,onChange:i})})]})]})})}var WG=()=>window.navigator.pdfViewerEnabled?!0:!(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!(GG("AcroPDF.PDF")||GG("PDF.PdfCtrl"))),GG=e=>{let t;try{t=new window.ActiveXObject(e)}catch{t=void 0}return t};var Fr=o(v(),1),x5=200,CN=2e3;function F1e({text:e,disabled:t}){let{createNotice:r}=(0,sh.useDispatch)(TN.store),a=(0,$G.useCopyToClipboard)(e,()=>{r("info",(0,$l.__)("Copied URL to clipboard."),{isDismissible:!0,type:"snackbar"})});return(0,Fr.jsx)(ch.ToolbarButton,{className:"components-clipboard-toolbar-button",ref:a,disabled:t,children:(0,$l.__)("Copy URL")})}function H1e({attributes:e,isSelected:t,setAttributes:r,clientId:a}){let{id:n,fileName:i,href:l,textLinkHref:s,textLinkTarget:c,showDownloadButton:u,downloadButtonText:m,displayPreview:p,previewHeight:d}=e,[f,h]=(0,k5.useState)(e.blob),{media:g}=(0,sh.useSelect)(I=>({media:n===void 0?void 0:I(qG.store).getEntityRecord("postType","attachment",n)}),[n]),{createErrorNotice:b}=(0,sh.useDispatch)(TN.store),{toggleSelection:y,__unstableMarkNextChangeAsNotPersistent:k}=(0,sh.useDispatch)(No.store);Es({url:f,onChange:_,onError:x}),(0,k5.useEffect)(()=>{No.RichText.isEmpty(m)&&(k(),r({downloadButtonText:(0,$l._x)("Download","button label")}))},[]);function _(I){if(!I||!I.url){r({href:void 0,fileName:void 0,textLinkHref:void 0,id:void 0,fileId:void 0,displayPreview:void 0,previewHeight:void 0}),h();return}if((0,SN.isBlobURL)(I.url)){h(I.url);return}let R=(I.mime||I.mime_type)==="application/pdf"||(0,ZG.getFilename)(I.url).toLowerCase().endsWith(".pdf"),$={displayPreview:R?e.displayPreview??!0:void 0,previewHeight:R?e.previewHeight??600:void 0};r({href:I.url,fileName:I.title,textLinkHref:I.url,id:I.id,fileId:`wp-block-file--media-${a}`,blob:void 0,...$}),h()}function x(I){r({href:void 0}),b(I,{type:"snackbar"})}function S(I){r({textLinkHref:I})}function C(I){r({textLinkTarget:I?"_blank":!1})}function N(I){r({showDownloadButton:I})}function B(I){r({displayPreview:I})}function D(I,R,$,j){y(!0);let G=parseInt(d+j.height,10);r({previewHeight:G})}function A(I){let R=Math.max(parseInt(I,10),x5);r({previewHeight:R})}let H=g&&g.link,F=(0,No.useBlockProps)({className:w(!!f&&(0,ch.__unstableGetAnimateClassName)({type:"loading"}),{"is-transient":!!f})}),z=WG()&&p;return!l&&!f?(0,Fr.jsx)("div",{...F,children:(0,Fr.jsx)(No.MediaPlaceholder,{icon:(0,Fr.jsx)(No.BlockIcon,{icon:R0}),labels:{title:(0,$l.__)("File"),instructions:(0,$l.__)("Drag and drop a file, upload, or choose from your library.")},onSelect:_,onError:x,accept:"*"})}):(0,Fr.jsxs)(Fr.Fragment,{children:[(0,Fr.jsx)(UG,{hrefs:{href:l||f,textLinkHref:s,attachmentPage:H},openInNewWindow:!!c,showDownloadButton:u,changeLinkDestinationOption:S,changeOpenInNewWindow:C,changeShowDownloadButton:N,displayPreview:p,changeDisplayPreview:B,previewHeight:d,changePreviewHeight:A}),(0,Fr.jsxs)(No.BlockControls,{group:"other",children:[(0,Fr.jsx)(No.MediaReplaceFlow,{mediaId:n,mediaURL:l,accept:"*",onSelect:_,onError:x,onReset:()=>_(void 0)}),(0,Fr.jsx)(F1e,{text:l,disabled:(0,SN.isBlobURL)(l)})]}),(0,Fr.jsxs)("div",{...F,children:[z&&(0,Fr.jsxs)(ch.ResizableBox,{size:{height:d,width:"100%"},minHeight:x5,maxHeight:CN,grid:[1,10],enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStart:()=>y(!1),onResizeStop:D,showHandle:t,children:[(0,Fr.jsx)("object",{className:"wp-block-file__preview",data:l,type:"application/pdf","aria-label":(0,$l.__)("Embed of the selected PDF file.")}),!t&&(0,Fr.jsx)("div",{className:"wp-block-file__preview-overlay"})]}),(0,Fr.jsxs)("div",{className:"wp-block-file__content-wrapper",children:[(0,Fr.jsx)(No.RichText,{identifier:"fileName",tagName:"a",value:i,placeholder:(0,$l.__)("Write file name\u2026"),withoutInteractiveFormatting:!0,onChange:I=>r({fileName:N1(I)}),href:s}),u&&(0,Fr.jsx)("div",{className:"wp-block-file__button-richtext-wrapper",children:(0,Fr.jsx)(No.RichText,{identifier:"downloadButtonText",tagName:"div","aria-label":(0,$l.__)("Download button text"),className:w("wp-block-file__button",(0,No.__experimentalGetElementClassName)("button")),value:m,withoutInteractiveFormatting:!0,placeholder:(0,$l.__)("Add text\u2026"),onChange:I=>r({downloadButtonText:N1(I)})})})]})]})]})}var KG=H1e;var w5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/file",title:"File",category:"media",description:"Add a link to a downloadable file.",keywords:["document","pdf","download"],textdomain:"default",attributes:{id:{type:"number"},blob:{type:"string",role:"local"},href:{type:"string",role:"content"},fileId:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"id"},fileName:{type:"rich-text",source:"rich-text",selector:"a:not([download])",role:"content"},textLinkHref:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"href",role:"content"},textLinkTarget:{type:"string",source:"attribute",selector:"a:not([download])",attribute:"target"},showDownloadButton:{type:"boolean",default:!0},downloadButtonText:{type:"rich-text",source:"rich-text",selector:"a[download]",role:"content"},displayPreview:{type:"boolean"},previewHeight:{type:"number",default:600}},supports:{anchor:!0,align:!0,spacing:{margin:!0,padding:!0},color:{gradients:!0,link:!0,text:!1,__experimentalDefaultControls:{background:!0,link:!0}},__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{radius:!0,color:!0,width:!0,style:!0}},interactivity:!0},editorStyle:"wp-block-file-editor",style:"wp-block-file"};var Jc=o(T(),1),ql=o(v(),1);function QG({attributes:e}){let{href:t,fileId:r,fileName:a,textLinkHref:n,textLinkTarget:i,showDownloadButton:l,downloadButtonText:s,displayPreview:c,previewHeight:u}=e,m=Jc.RichText.isEmpty(a)?"PDF embed":a.toString(),p=!Jc.RichText.isEmpty(a),d=p?r:void 0;return t&&(0,ql.jsxs)("div",{...Jc.useBlockProps.save(),children:[c&&(0,ql.jsx)(ql.Fragment,{children:(0,ql.jsx)("object",{className:"wp-block-file__embed",data:t,type:"application/pdf",style:{width:"100%",height:`${u}px`},"aria-label":m})}),p&&(0,ql.jsx)("a",{id:d,href:n,target:i,rel:i?"noreferrer noopener":void 0,children:(0,ql.jsx)(Jc.RichText.Content,{value:a})}),l&&(0,ql.jsx)("a",{href:t,className:w("wp-block-file__button",(0,Jc.__experimentalGetElementClassName)("button")),download:!0,"aria-describedby":d,children:(0,ql.jsx)(Jc.RichText.Content,{value:s})})]})}var tv=o(Rr(),1),Zl=o(W(),1),C5=o(V(),1),S5=o(Q(),1),YG=o(mr(),1),j1e={from:[{type:"files",isMatch(e){return e.length>0},priority:15,transform:e=>{let t=[];return e.forEach(r=>{let a=(0,tv.createBlobURL)(r);r.type.startsWith("video/")?t.push((0,Zl.createBlock)("core/video",{blob:(0,tv.createBlobURL)(r)})):r.type.startsWith("image/")?t.push((0,Zl.createBlock)("core/image",{blob:(0,tv.createBlobURL)(r)})):r.type.startsWith("audio/")?t.push((0,Zl.createBlock)("core/audio",{blob:(0,tv.createBlobURL)(r)})):t.push((0,Zl.createBlock)("core/file",{blob:a,fileName:r.name}))}),t}},{type:"block",blocks:["core/audio"],transform:e=>(0,Zl.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],transform:e=>(0,Zl.createBlock)("core/file",{href:e.src,fileName:e.caption,textLinkHref:e.src,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],transform:e=>(0,Zl.createBlock)("core/file",{href:e.url,fileName:e.caption||(0,YG.getFilename)(e.url),textLinkHref:e.url,id:e.id,anchor:e.anchor})}],to:[{type:"block",blocks:["core/audio"],isMatch:({id:e})=>{if(!e)return!1;let{getEntityRecord:t}=(0,C5.select)(S5.store),r=t("postType","attachment",e);return!!r&&r.mime_type.includes("audio")},transform:e=>(0,Zl.createBlock)("core/audio",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/video"],isMatch:({id:e})=>{if(!e)return!1;let{getEntityRecord:t}=(0,C5.select)(S5.store),r=t("postType","attachment",e);return!!r&&r.mime_type.includes("video")},transform:e=>(0,Zl.createBlock)("core/video",{src:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})},{type:"block",blocks:["core/image"],isMatch:({id:e})=>{if(!e)return!1;let{getEntityRecord:t}=(0,C5.select)(S5.store),r=t("postType","attachment",e);return!!r&&r.mime_type.includes("image")},transform:e=>(0,Zl.createBlock)("core/image",{url:e.href,caption:e.fileName,id:e.id,anchor:e.anchor})}]},XG=j1e;var{fieldsKey:U1e,formKey:G1e}=K(JG.privateApis),{name:eW}=w5,T5={icon:R0,example:{attributes:{href:"https://upload.wikimedia.org/wikipedia/commons/d/dd/Armstrong_Small_Step.ogg",fileName:(0,uh._x)("Armstrong_Small_Step","Name of the file")}},transforms:XG,deprecated:OG,edit:KG,save:QG};window.__experimentalContentOnlyInspectorFields&&(T5[U1e]=[{id:"file",label:(0,uh.__)("File"),type:"media",Edit:{control:"media",allowedTypes:[],multiple:!1},getValue:({item:e})=>({id:e.id,url:e.href}),setValue:({value:e})=>({id:e.id,href:e.url})},{id:"fileName",label:(0,uh.__)("Filename"),type:"text",Edit:"rich-text"},{id:"downloadButtonText",label:(0,uh.__)("Button Text"),type:"text",Edit:"rich-text"}],T5[G1e]={fields:["file","fileName","downloadButtonText"]});var W1e=()=>E({name:eW,metadata:w5,settings:T5});var DN={};Z(DN,{init:()=>Y1e,metadata:()=>I5,name:()=>sW,settings:()=>cW});var lW=o(Yc(),1);var Eo=o(P(),1),Kl=o(T(),1),Ql=o(M(),1),tW=o(V(),1);var BN=o(P(),1),P5=["core/form-submission-notification",{type:"success"},[["core/paragraph",{content:'<mark style="background-color:rgba(0, 0, 0, 0);color:#345C00" class="has-inline-color">'+(0,BN.__)("Your form has been submitted successfully")+"</mark>"}]]],B5=["core/form-submission-notification",{type:"error"},[["core/paragraph",{content:'<mark style="background-color:rgba(0, 0, 0, 0);color:#CF2E2E" class="has-inline-color">'+(0,BN.__)("There was an error submitting your form.")+"</mark>"}]]];var en=o(v(),1),$1e=[P5,B5,["core/form-input",{type:"text",label:(0,Eo.__)("Name"),required:!0}],["core/form-input",{type:"email",label:(0,Eo.__)("Email"),required:!0}],["core/form-input",{type:"textarea",label:(0,Eo.__)("Comment"),required:!0}],["core/form-submit-button",{}]],q1e=({attributes:e,setAttributes:t,clientId:r})=>{let a=q(),n=()=>{t({submissionMethod:"email",email:void 0,action:void 0,method:"post"})},{action:i,method:l,email:s,submissionMethod:c}=e,u=(0,Kl.useBlockProps)(),{hasInnerBlocks:m}=(0,tW.useSelect)(d=>{let{getBlock:f}=d(Kl.store),h=f(r);return{hasInnerBlocks:!!(h&&h.innerBlocks.length)}},[r]),p=(0,Kl.useInnerBlocksProps)(u,{template:$1e,renderAppender:m?void 0:Kl.InnerBlocks.ButtonBlockAppender});return(0,en.jsxs)(en.Fragment,{children:[(0,en.jsx)(Kl.InspectorControls,{children:(0,en.jsxs)(Ql.__experimentalToolsPanel,{dropdownMenuProps:a,label:(0,Eo.__)("Settings"),resetAll:n,children:[(0,en.jsx)(Ql.__experimentalToolsPanelItem,{hasValue:()=>c!=="email",label:(0,Eo.__)("Submissions method"),onDeselect:()=>t({submissionMethod:"email"}),isShownByDefault:!0,children:(0,en.jsx)(Ql.SelectControl,{__next40pxDefaultSize:!0,label:(0,Eo.__)("Submissions method"),options:[{label:(0,Eo.__)("Send email"),value:"email"},{label:(0,Eo.__)("- Custom -"),value:"custom"}],value:c,onChange:d=>t({submissionMethod:d}),help:c==="custom"?(0,Eo.__)('Select the method to use for form submissions. Additional options for the "custom" mode can be found in the "Advanced" section.'):(0,Eo.__)("Select the method to use for form submissions.")})}),c==="email"&&(0,en.jsx)(Ql.__experimentalToolsPanelItem,{hasValue:()=>!!s,label:(0,Eo.__)("Email for form submissions"),onDeselect:()=>t({email:void 0,action:void 0,method:"post"}),isShownByDefault:!0,children:(0,en.jsx)(Ql.TextControl,{__next40pxDefaultSize:!0,autoComplete:"off",label:(0,Eo.__)("Email for form submissions"),value:s||"",required:!0,onChange:d=>{t({email:d}),t({action:`mailto:${d}`}),t({method:"post"})},help:(0,Eo.__)("The email address where form submissions will be sent. Separate multiple email addresses with a comma."),type:"email"})})]})}),c!=="email"&&(0,en.jsxs)(Kl.InspectorControls,{group:"advanced",children:[(0,en.jsx)(Ql.SelectControl,{__next40pxDefaultSize:!0,label:(0,Eo.__)("Method"),options:[{label:"Get",value:"get"},{label:"Post",value:"post"}],value:l,onChange:d=>t({method:d}),help:(0,Eo.__)("Select the method to use for form submissions.")}),(0,en.jsx)(Ql.TextControl,{__next40pxDefaultSize:!0,autoComplete:"off",label:(0,Eo.__)("Form action"),value:i,onChange:d=>{t({action:d})},help:(0,Eo.__)("The URL where the form should be submitted."),type:"url"})]}),(0,en.jsx)("form",{...p,encType:c==="email"?"text/plain":null})]})},rW=q1e;var I5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form",title:"Form",category:"common",allowedBlocks:["core/paragraph","core/heading","core/form-input","core/form-submit-button","core/form-submission-notification","core/group","core/columns"],description:"A form.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{submissionMethod:{type:"string",default:"email"},method:{type:"string",default:"post"},action:{type:"string"},email:{type:"string"}},supports:{anchor:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalTextDecoration:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}}}};var N5=o(T(),1),IN=o(v(),1);function oW({attributes:e}){let t=N5.useBlockProps.save(),{submissionMethod:r}=e;return(0,IN.jsx)("form",{...t,encType:r==="email"?"text/plain":null,children:(0,IN.jsx)(N5.InnerBlocks.Content,{})})}var sl=o(P(),1);var K1e=[{name:"comment-form",title:(0,sl.__)("Experimental Comment form"),description:(0,sl.__)("A comment form for posts and pages."),attributes:{submissionMethod:"custom",action:"{SITE_URL}/wp-comments-post.php",method:"post",anchor:"comment-form"},isDefault:!1,innerBlocks:[["core/form-input",{type:"text",name:"author",label:(0,sl.__)("Name"),required:!0,visibilityPermissions:"logged-out"}],["core/form-input",{type:"email",name:"email",label:(0,sl.__)("Email"),required:!0,visibilityPermissions:"logged-out"}],["core/form-input",{type:"textarea",name:"comment",label:(0,sl.__)("Comment"),required:!0,visibilityPermissions:"all"}],["core/form-submit-button",{}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"},{name:"wp-privacy-form",title:(0,sl.__)("Experimental Privacy Request Form"),keywords:["GDPR"],description:(0,sl.__)("A form to request data exports and/or deletion."),attributes:{submissionMethod:"custom",action:"",method:"post",anchor:"gdpr-form"},isDefault:!1,innerBlocks:[P5,B5,["core/paragraph",{content:(0,sl.__)("To request an export or deletion of your personal data on this site, please fill-in the form below. You can define the type of request you wish to perform, and your email address. Once the form is submitted, you will receive a confirmation email with instructions on the next steps.")}],["core/form-input",{type:"email",name:"email",label:(0,sl.__)("Enter your email address."),required:!0,visibilityPermissions:"all"}],["core/form-input",{type:"checkbox",name:"export_personal_data",label:(0,sl.__)("Request data export"),required:!1,visibilityPermissions:"all"}],["core/form-input",{type:"checkbox",name:"remove_personal_data",label:(0,sl.__)("Request data deletion"),required:!1,visibilityPermissions:"all"}],["core/form-submit-button",{}],["core/form-input",{type:"hidden",name:"wp-action",value:"wp_privacy_send_request"}],["core/form-input",{type:"hidden",name:"wp-privacy-request",value:"1"}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"}],aW=K1e;var js=o(T(),1),NN=o(v(),1),Q1e={supports:{},attributes:{submissionMethod:{type:"string",default:"email"},method:{type:"string",default:"post"},action:{type:"string"},email:{type:"string"},anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"},backgroundColor:{type:"string"},textColor:{type:"string"},gradient:{type:"string"},style:{type:"object"},fontFamily:{type:"string"},fontSize:{type:"string"}},save({attributes:e}){let{submissionMethod:t}=e,r=(0,js.__experimentalGetColorClassesAndStyles)(e),a=(0,js.getTypographyClassesAndStyles)(e),n=(0,js.__experimentalGetSpacingClassesAndStyles)(e),i=js.useBlockProps.save({style:{...r.style,...a.style,...n.style},id:e.anchor});return(0,NN.jsx)("form",{...i,className:"wp-block-form",encType:t==="email"?"text/plain":null,children:(0,NN.jsx)(js.InnerBlocks.Content,{})})}},nW=[Q1e];var E5=o(L(),1),EN=o(v(),1),iW=(0,EN.jsx)(E5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,EN.jsx)(E5.Path,{d:"M18 16H6c-1.1 0-2 .9-2 2s.9 2 2 2h12c1.1 0 2-.9 2-2s-.9-2-2-2Zm0 2.5H6c-.3 0-.5-.2-.5-.5s.2-.5.5-.5h12c.3 0 .5.2.5.5s-.2.5-.5.5ZM13 13H4v1.5h9V13Zm-7-2h12c1.1 0 2-.9 2-2s-.9-2-2-2H6c-1.1 0-2 .9-2 2s.9 2 2 2Zm0-2.5h12c.3 0 .5.2.5.5s-.2.5-.5.5H6c-.3 0-.5-.2-.5-.5s.2-.5.5-.5ZM13 4H4v1.5h9V4Z"})});var{name:sW}=I5,cW={icon:iW,edit:rW,save:oW,deprecated:nW,variations:aW,example:{}},Y1e=()=>{let e=["core/form"];return(0,lW.addFilter)("blockEditor.__unstableCanInsertBlockType","core/block-library/preventInsertingFormIntoAnotherForm",(t,r,a,{getBlock:n,getBlockParentsByBlockName:i})=>{if(r.name!=="core/form")return t;for(let l of e)if(n(a)?.name===l||i(a,l).length)return!1;return!0}),E({name:sW,metadata:I5,settings:cW})};var MN={};Z(MN,{init:()=>cve,metadata:()=>L5,name:()=>CW,settings:()=>SW});var dW=o(rv(),1),Yl=o(T(),1),fW=o(ai(),1),vi=o(v(),1),hW=e=>(0,dW.default)((0,fW.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,""),rve={attributes:{type:{type:"string",default:"text"},name:{type:"string"},label:{type:"string",default:"Label",selector:".wp-block-form-input__label-content",source:"html",role:"content"},inlineLabel:{type:"boolean",default:!1},required:{type:"boolean",default:!1,selector:".wp-block-form-input__input",source:"attribute",attribute:"required"},placeholder:{type:"string",selector:".wp-block-form-input__input",source:"attribute",attribute:"placeholder",role:"content"},value:{type:"string",default:"",selector:"input",source:"attribute",attribute:"value"},visibilityPermissions:{type:"string",default:"all"}},supports:{anchor:!0,reusable:!1,spacing:{margin:["top","bottom"]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},save({attributes:e}){let{type:t,name:r,label:a,inlineLabel:n,required:i,placeholder:l,value:s}=e,c=(0,Yl.__experimentalGetBorderClassesAndStyles)(e),u=(0,Yl.__experimentalGetColorClassesAndStyles)(e),m={...c.style,...u.style},p=w("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input",f=Yl.useBlockProps.save();return t==="hidden"?(0,vi.jsx)("input",{type:t,name:r,value:s}):(0,vi.jsx)("div",{...f,children:(0,vi.jsxs)("label",{className:w("wp-block-form-input__label",{"is-label-inline":n}),children:[(0,vi.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,vi.jsx)(Yl.RichText.Content,{value:a})}),(0,vi.jsx)(d,{className:p,type:t==="textarea"?void 0:t,name:r||hW(a),required:i,"aria-required":i,placeholder:l||void 0,style:m})]})})}},ove={attributes:{type:{type:"string",default:"text"},name:{type:"string"},label:{type:"string",default:"Label",selector:".wp-block-form-input__label-content",source:"html",role:"content"},inlineLabel:{type:"boolean",default:!1},required:{type:"boolean",default:!1,selector:".wp-block-form-input__input",source:"attribute",attribute:"required"},placeholder:{type:"string",selector:".wp-block-form-input__input",source:"attribute",attribute:"placeholder",role:"content"},value:{type:"string",default:"",selector:"input",source:"attribute",attribute:"value"},visibilityPermissions:{type:"string",default:"all"}},supports:{className:!1,anchor:!0,reusable:!1,spacing:{margin:["top","bottom"]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},save({attributes:e}){let{type:t,name:r,label:a,inlineLabel:n,required:i,placeholder:l,value:s}=e,c=(0,Yl.__experimentalGetBorderClassesAndStyles)(e),u=(0,Yl.__experimentalGetColorClassesAndStyles)(e),m={...c.style,...u.style},p=w("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input";return t==="hidden"?(0,vi.jsx)("input",{type:t,name:r,value:s}):(0,vi.jsxs)("label",{className:w("wp-block-form-input__label",{"is-label-inline":n}),children:[(0,vi.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,vi.jsx)(Yl.RichText.Content,{value:a})}),(0,vi.jsx)(d,{className:p,type:t==="textarea"?void 0:t,name:r||hW(a),required:i,"aria-required":i,placeholder:l||void 0,style:m})]})}},ave=[rve,ove],gW=ave;var An=o(P(),1),Xl=o(T(),1),Us=o(M(),1),vW=o(U(),1);var Yr=o(v(),1);function nve({attributes:e,setAttributes:t,className:r}){let{type:a,name:n,label:i,inlineLabel:l,required:s,placeholder:c,value:u}=e,m=(0,Xl.useBlockProps)(),p=q(),d=(0,vW.useRef)(),f=a==="textarea"?"textarea":"input",h=(0,Xl.__experimentalUseBorderProps)(e),g=(0,Xl.__experimentalUseColorProps)(e);d.current&&d.current.focus();let b=a==="checkbox"||a==="radio",y=(0,Yr.jsxs)(Yr.Fragment,{children:[a!=="hidden"&&(0,Yr.jsx)(Xl.InspectorControls,{children:(0,Yr.jsxs)(Us.__experimentalToolsPanel,{label:(0,An.__)("Settings"),resetAll:()=>{t({inlineLabel:!1,required:!1})},dropdownMenuProps:p,children:[a!=="checkbox"&&(0,Yr.jsx)(Us.__experimentalToolsPanelItem,{label:(0,An.__)("Inline label"),hasValue:()=>!!l,onDeselect:()=>t({inlineLabel:!1}),isShownByDefault:!0,children:(0,Yr.jsx)(Us.CheckboxControl,{label:(0,An.__)("Inline label"),checked:l,onChange:_=>{t({inlineLabel:_})}})}),(0,Yr.jsx)(Us.__experimentalToolsPanelItem,{label:(0,An.__)("Required"),hasValue:()=>!!s,onDeselect:()=>t({required:!1}),isShownByDefault:!0,children:(0,Yr.jsx)(Us.CheckboxControl,{label:(0,An.__)("Required"),checked:s,onChange:_=>{t({required:_})}})})]})}),(0,Yr.jsx)(Xl.InspectorControls,{group:"advanced",children:(0,Yr.jsx)(Us.TextControl,{__next40pxDefaultSize:!0,autoComplete:"off",label:(0,An.__)("Name"),value:n,onChange:_=>{t({name:_})},help:(0,An.__)('Affects the "name" attribute of the input element, and is used as a name for the form submission results.')})})]}),k=(0,Yr.jsx)(Xl.RichText,{tagName:"span",className:"wp-block-form-input__label-content",value:i,onChange:_=>t({label:_}),"aria-label":i?(0,An.__)("Label"):(0,An.__)("Empty label"),"data-empty":!i,placeholder:(0,An.__)("Type the label for this input")});return a==="hidden"?(0,Yr.jsxs)(Yr.Fragment,{children:[y,(0,Yr.jsx)("input",{type:"hidden",className:w(r,"wp-block-form-input__input",g.className,h.className),"aria-label":(0,An.__)("Value"),value:u,onChange:_=>t({value:_.target.value})})]}):(0,Yr.jsxs)("div",{...m,children:[y,(0,Yr.jsxs)("span",{className:w("wp-block-form-input__label",{"is-label-inline":l||a==="checkbox"}),children:[!b&&k,(0,Yr.jsx)(f,{type:a==="textarea"?void 0:a,className:w(r,"wp-block-form-input__input",g.className,h.className),"aria-label":(0,An.__)("Optional placeholder text"),placeholder:c?void 0:(0,An.__)("Optional placeholder\u2026"),value:c,onChange:_=>t({placeholder:_.target.value}),"aria-required":s,style:{...h.style,...g.style}}),b&&k]})]})}var bW=nve;var L5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form-input",title:"Input Field",category:"common",ancestor:["core/form"],description:"The basic building block for forms.",keywords:["input","form"],textdomain:"default",attributes:{type:{type:"string",default:"text"},name:{type:"string"},label:{type:"rich-text",default:"Label",selector:".wp-block-form-input__label-content",source:"rich-text",role:"content"},inlineLabel:{type:"boolean",default:!1},required:{type:"boolean",default:!1,selector:".wp-block-form-input__input",source:"attribute",attribute:"required"},placeholder:{type:"string",selector:".wp-block-form-input__input",source:"attribute",attribute:"placeholder",role:"content"},value:{type:"string",default:"",selector:"input",source:"attribute",attribute:"value"},visibilityPermissions:{type:"string",default:"all"}},supports:{anchor:!0,reusable:!1,spacing:{margin:["top","bottom"]},__experimentalBorder:{radius:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{radius:!0}}},style:["wp-block-form-input"]};var yW=o(rv(),1),eu=o(T(),1),_W=o(ai(),1),Gs=o(v(),1),lve=e=>(0,yW.default)((0,_W.__unstableStripHTML)(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,"");function xW({attributes:e}){let{type:t,name:r,label:a,inlineLabel:n,required:i,placeholder:l,value:s}=e,c=(0,eu.__experimentalGetBorderClassesAndStyles)(e),u=(0,eu.__experimentalGetColorClassesAndStyles)(e),m={...c.style,...u.style},p=w("wp-block-form-input__input",u.className,c.className),d=t==="textarea"?"textarea":"input",f=eu.useBlockProps.save(),h=t==="checkbox"||t==="radio";return t==="hidden"?(0,Gs.jsx)("input",{type:t,name:r,value:s}):(0,Gs.jsx)("div",{...f,children:(0,Gs.jsxs)("label",{className:w("wp-block-form-input__label",{"is-label-inline":n}),children:[!h&&(0,Gs.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,Gs.jsx)(eu.RichText.Content,{value:a})}),(0,Gs.jsx)(d,{className:p,type:t==="textarea"?void 0:t,name:r||lve(a),required:i,"aria-required":i,placeholder:l||void 0,style:m}),h&&(0,Gs.jsx)("span",{className:"wp-block-form-input__label-content",children:(0,Gs.jsx)(eu.RichText.Content,{value:a})})]})})}var tn=o(P(),1),sve=[{name:"text",title:(0,tn.__)("Text Input"),description:(0,tn.__)("A generic text input."),attributes:{type:"text"},isDefault:!0,scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="text"},{name:"textarea",title:(0,tn.__)("Textarea Input"),description:(0,tn.__)("A textarea input to allow entering multiple lines of text."),attributes:{type:"textarea"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="textarea"},{name:"checkbox",title:(0,tn.__)("Checkbox Input"),description:(0,tn.__)("A simple checkbox input."),attributes:{type:"checkbox",inlineLabel:!0},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="checkbox"},{name:"email",title:(0,tn.__)("Email Input"),description:(0,tn.__)("Used for email addresses."),attributes:{type:"email"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="email"},{name:"url",title:(0,tn.__)("URL Input"),description:(0,tn.__)("Used for URLs."),attributes:{type:"url"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="url"},{name:"tel",title:(0,tn.__)("Telephone Input"),description:(0,tn.__)("Used for phone numbers."),attributes:{type:"tel"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="tel"},{name:"number",title:(0,tn.__)("Number Input"),description:(0,tn.__)("A numeric input."),attributes:{type:"number"},isDefault:!0,scope:["inserter","transform"],isActive:e=>e?.type==="number"}],kW=sve;var M5=o(L(),1),LN=o(v(),1),wW=(0,LN.jsx)(M5.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,LN.jsx)(M5.Path,{d:"M5.547 18.892A.99.99 0 0 0 6 19h.72v1H6a1.99 1.99 0 0 1-.908-.22l.455-.888ZM9.12 20H7.68v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.587-.22c-.272.14-.58.22-.907.22h-.72v-1H18a.99.99 0 0 0 .453-.108l.454.888ZM5.108 17.547a.99.99 0 0 0 0 .906l-.89.454a1.99 1.99 0 0 1 0-1.815l.89.455Zm14.672-.455a1.99 1.99 0 0 1 0 1.815l-.888-.454a.99.99 0 0 0 0-.906l.888-.455ZM6.72 17H6a.99.99 0 0 0-.453.108l-.455-.89A1.99 1.99 0 0 1 6 16h.72v1ZM18 16c.327 0 .635.08.907.219l-.454.89A.99.99 0 0 0 18 17h-.72v-1H18Zm-8.88 1H7.68v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1Zm2.4 0h-1.44v-1h1.44v1ZM5.5 14.28H4.25v-1H5.5v1Zm2.5 0H6.5v-1H8v1Zm2.5 0H9v-1h1.5v1Zm2.25 0H11.5v-1h1.25v1ZM18 7a2 2 0 1 1 0 4H6a2 2 0 1 1 0-4h12ZM6 8.5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H6Zm7-3H4V4h9v1.5Z"})});var{name:CW}=L5,SW={icon:wW,deprecated:gW,edit:bW,save:xW,variations:kW,example:{}},cve=()=>E({name:CW,metadata:L5,settings:SW});var RN={};Z(RN,{init:()=>dve,metadata:()=>R5,name:()=>NW,settings:()=>EW});var TW=o(P(),1),A5=o(T(),1),PW=o(v(),1),uve=[["core/buttons",{},[["core/button",{text:(0,TW.__)("Submit"),tagName:"button",type:"submit"}]]]],mve=()=>{let e=(0,A5.useBlockProps)(),t=(0,A5.useInnerBlocksProps)(e,{template:uve,templateLock:"all"});return(0,PW.jsx)("div",{className:"wp-block-form-submit-wrapper",...t})},BW=mve;var R5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form-submit-button",title:"Form Submit Button",category:"common",icon:"button",ancestor:["core/form"],allowedBlocks:["core/buttons","core/button"],description:"A submission button for forms.",keywords:["submit","button","form"],textdomain:"default",style:["wp-block-form-submit-button"]};var z5=o(T(),1),AN=o(v(),1);function IW(){let e=z5.useBlockProps.save();return(0,AN.jsx)("div",{className:"wp-block-form-submit-wrapper",...e,children:(0,AN.jsx)(z5.InnerBlocks.Content,{})})}var{name:NW}=R5,EW={edit:BW,save:IW,example:{}},dve=()=>E({name:NW,metadata:R5,settings:EW});var zN={};Z(zN,{init:()=>bve,metadata:()=>F5,name:()=>VW,settings:()=>FW});var V5=o(P(),1),dm=o(T(),1),DW=o(V(),1);var LW=o(v(),1),fve=[["core/paragraph",{content:(0,V5.__)("Enter the message you wish displayed for form submission error/success, and select the type of the message (success/error) from the block's options.")}]],hve=({attributes:e,clientId:t})=>{let{type:r}=e,a=(0,dm.useBlockProps)({className:w("wp-block-form-submission-notification",{[`form-notification-type-${r}`]:r})}),{hasInnerBlocks:n}=(0,DW.useSelect)(l=>{let{getBlock:s}=l(dm.store),c=s(t);return{hasInnerBlocks:!!(c&&c.innerBlocks.length)}},[t]),i=(0,dm.useInnerBlocksProps)(a,{template:fve,renderAppender:n?void 0:dm.InnerBlocks.ButtonBlockAppender});return(0,LW.jsx)("div",{...i,"data-message-success":(0,V5.__)("Submission success notification"),"data-message-error":(0,V5.__)("Submission error notification")})},MW=hve;var F5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,__experimental:!0,name:"core/form-submission-notification",title:"Form Submission Notification",category:"common",ancestor:["core/form"],description:"Provide a notification message after the form has been submitted.",keywords:["form","feedback","notification","message"],textdomain:"default",icon:"feedback",attributes:{type:{type:"string",default:"success"}}};var H5=o(T(),1);var AW=o(v(),1);function RW({attributes:e}){let{type:t}=e;return(0,AW.jsx)("div",{...H5.useInnerBlocksProps.save(H5.useBlockProps.save({className:w("wp-block-form-submission-notification",{[`form-notification-type-${t}`]:t})}))})}var ad=o(P(),1),vve=[{name:"form-submission-success",title:(0,ad.__)("Form Submission Success"),description:(0,ad.__)("Success message for form submissions."),attributes:{type:"success"},isDefault:!0,innerBlocks:[["core/paragraph",{content:(0,ad.__)("Your form has been submitted successfully."),backgroundColor:"#00D084",textColor:"#000000",style:{elements:{link:{color:{text:"#000000"}}}}}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="success"},{name:"form-submission-error",title:(0,ad.__)("Form Submission Error"),description:(0,ad.__)("Error/failure message for form submissions."),attributes:{type:"error"},isDefault:!1,innerBlocks:[["core/paragraph",{content:(0,ad.__)("There was an error submitting your form."),backgroundColor:"#CF2E2E",textColor:"#FFFFFF",style:{elements:{link:{color:{text:"#FFFFFF"}}}}}]],scope:["inserter","transform"],isActive:e=>!e?.type||e?.type==="error"}],zW=vve;var{name:VW}=F5,FW={icon:wp,edit:MW,save:RW,variations:zW,example:{}},bve=()=>E({name:VW,metadata:F5,settings:FW});var ZN={};Z(ZN,{init:()=>Fve,metadata:()=>j5,name:()=>b$,settings:()=>y$});var Ir=o(T(),1),jW=o(W(),1);var Ws="none",$s="media",ov="lightbox",qs="attachment",HW="file",OW="post",av="large";var Fe=o(v(),1),UW="file",GW="post";function mh(e){return Math.min(3,e?.images?.length)}function yve(e,t){switch(t){case UW:return{href:e?.source_url||e?.url,linkDestination:$s};case GW:return{href:e?.link,linkDestination:qs};case $s:return{href:e?.source_url||e?.url,linkDestination:$s};case qs:return{href:e?.link,linkDestination:qs};case Ws:return{href:void 0,linkDestination:Ws}}return{}}function ph(e){let t=e.linkTo?e.linkTo:"none";t==="post"?t="attachment":t==="file"&&(t="media");let r=e.images.map(l=>_ve(l,e.sizeSlug,t)),{images:a,ids:n,...i}=e;return[{...i,linkTo:t,allowResize:!1},r]}function _ve(e,t,r){return(0,jW.createBlock)("core/image",{...e.id&&{id:parseInt(e.id)},url:e.url,alt:e.alt,caption:e.caption,sizeSlug:t,...yve(e,r)})}var xve={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},shortCodeTransforms:{type:"array",default:[],items:{type:"object"}},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1}},save({attributes:e}){let{caption:t,columns:r,imageCrop:a}=e,n=w("has-nested-images",{[`columns-${r}`]:r!==void 0,"columns-default":r===void 0,"is-cropped":a}),i=Ir.useBlockProps.save({className:n}),l=Ir.useInnerBlocksProps.save(i);return(0,Fe.jsxs)("figure",{...l,children:[l.children,!Ir.RichText.isEmpty(t)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:t})]})}},kve={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},fixedHeight:{type:"boolean",default:!0},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"}},supports:{anchor:!0,align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,caption:n,linkTo:i}=e,l=`columns-${r} ${a?"is-cropped":""}`;return(0,Fe.jsxs)("figure",{...Ir.useBlockProps.save({className:l}),children:[(0,Fe.jsx)("ul",{className:"blocks-gallery-grid",children:t.map(s=>{let c;switch(i){case UW:c=s.fullUrl||s.url;break;case GW:c=s.link;break}let u=(0,Fe.jsx)("img",{src:s.url,alt:s.alt,"data-id":s.id,"data-full-url":s.fullUrl,"data-link":s.link,className:s.id?`wp-image-${s.id}`:null});return(0,Fe.jsx)("li",{className:"blocks-gallery-item",children:(0,Fe.jsxs)("figure",{children:[c?(0,Fe.jsx)("a",{href:c,children:u}):u,!Ir.RichText.isEmpty(s.caption)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:s.caption})]})},s.id||s.url)})}),!Ir.RichText.isEmpty(n)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:n})]})},migrate(e){return ph(e)}},wve={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},sizeSlug:{type:"string",default:"large"}},supports:{align:!0},isEligible({linkTo:e}){return!e||e==="attachment"||e==="media"},migrate(e){return ph(e)},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,caption:n,linkTo:i}=e;return(0,Fe.jsxs)("figure",{className:`columns-${r} ${a?"is-cropped":""}`,children:[(0,Fe.jsx)("ul",{className:"blocks-gallery-grid",children:t.map(l=>{let s;switch(i){case"media":s=l.fullUrl||l.url;break;case"attachment":s=l.link;break}let c=(0,Fe.jsx)("img",{src:l.url,alt:l.alt,"data-id":l.id,"data-full-url":l.fullUrl,"data-link":l.link,className:l.id?`wp-image-${l.id}`:null});return(0,Fe.jsx)("li",{className:"blocks-gallery-item",children:(0,Fe.jsxs)("figure",{children:[s?(0,Fe.jsx)("a",{href:s,children:c}):c,!Ir.RichText.isEmpty(l.caption)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:l.caption})]})},l.id||l.url)})}),!Ir.RichText.isEmpty(n)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:n})]})}},Cve={attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",default:[]},columns:{type:"number"},caption:{type:"string",source:"html",selector:".blocks-gallery-caption"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},isEligible({ids:e}){return e&&e.some(t=>typeof t=="string")},migrate(e){return ph(e)},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,caption:n,linkTo:i}=e;return(0,Fe.jsxs)("figure",{className:`columns-${r} ${a?"is-cropped":""}`,children:[(0,Fe.jsx)("ul",{className:"blocks-gallery-grid",children:t.map(l=>{let s;switch(i){case"media":s=l.fullUrl||l.url;break;case"attachment":s=l.link;break}let c=(0,Fe.jsx)("img",{src:l.url,alt:l.alt,"data-id":l.id,"data-full-url":l.fullUrl,"data-link":l.link,className:l.id?`wp-image-${l.id}`:null});return(0,Fe.jsx)("li",{className:"blocks-gallery-item",children:(0,Fe.jsxs)("figure",{children:[s?(0,Fe.jsx)("a",{href:s,children:c}):c,!Ir.RichText.isEmpty(l.caption)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:l.caption})]})},l.id||l.url)})}),!Ir.RichText.isEmpty(n)&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:n})]})}},Sve={attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},fullUrl:{source:"attribute",selector:"img",attribute:"data-full-url"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,linkTo:n}=e;return(0,Fe.jsx)("ul",{className:`columns-${r} ${a?"is-cropped":""}`,children:t.map(i=>{let l;switch(n){case"media":l=i.fullUrl||i.url;break;case"attachment":l=i.link;break}let s=(0,Fe.jsx)("img",{src:i.url,alt:i.alt,"data-id":i.id,"data-full-url":i.fullUrl,"data-link":i.link,className:i.id?`wp-image-${i.id}`:null});return(0,Fe.jsx)("li",{className:"blocks-gallery-item",children:(0,Fe.jsxs)("figure",{children:[l?(0,Fe.jsx)("a",{href:l,children:s}):s,i.caption&&i.caption.length>0&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",value:i.caption})]})},i.id||i.url)})})},migrate(e){return ph(e)}},Tve={attributes:{images:{type:"array",default:[],source:"query",selector:"ul.wp-block-gallery .blocks-gallery-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},link:{source:"attribute",selector:"img",attribute:"data-link"},caption:{type:"string",source:"html",selector:"figcaption"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"}},isEligible({images:e,ids:t}){return e&&e.length>0&&(!t&&e||t&&e&&t.length!==e.length||e.some((r,a)=>!r&&t[a]!==null?!0:parseInt(r,10)!==t[a]))},migrate(e){return ph(e)},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),imageCrop:a,linkTo:n}=e;return(0,Fe.jsx)("ul",{className:`columns-${r} ${a?"is-cropped":""}`,children:t.map(i=>{let l;switch(n){case"media":l=i.url;break;case"attachment":l=i.link;break}let s=(0,Fe.jsx)("img",{src:i.url,alt:i.alt,"data-id":i.id,"data-link":i.link,className:i.id?`wp-image-${i.id}`:null});return(0,Fe.jsx)("li",{className:"blocks-gallery-item",children:(0,Fe.jsxs)("figure",{children:[l?(0,Fe.jsx)("a",{href:l,children:s}):s,i.caption&&i.caption.length>0&&(0,Fe.jsx)(Ir.RichText.Content,{tagName:"figcaption",value:i.caption})]})},i.id||i.url)})})}},Pve={attributes:{images:{type:"array",default:[],source:"query",selector:"div.wp-block-gallery figure.blocks-gallery-image img",query:{url:{source:"attribute",attribute:"src"},alt:{source:"attribute",attribute:"alt",default:""},id:{source:"attribute",attribute:"data-id"}}},columns:{type:"number"},imageCrop:{type:"boolean",default:!0},linkTo:{type:"string",default:"none"},align:{type:"string",default:"none"}},supports:{align:!0},save({attributes:e}){let{images:t,columns:r=mh(e),align:a,imageCrop:n,linkTo:i}=e,l=w(`columns-${r}`,{alignnone:a==="none","is-cropped":n});return(0,Fe.jsx)("div",{className:l,children:t.map(s=>{let c;switch(i){case"media":c=s.url;break;case"attachment":c=s.link;break}let u=(0,Fe.jsx)("img",{src:s.url,alt:s.alt,"data-id":s.id});return(0,Fe.jsx)("figure",{className:"blocks-gallery-image",children:c?(0,Fe.jsx)("a",{href:c,children:u}):u},s.id||s.url)})})},migrate(e){return ph(e)}},WW=[xve,kve,wve,Cve,Sve,Tve,Pve];var Ke=o(M(),1),Do=o(T(),1),ea=o(U(),1),he=o(P(),1),sv=o(V(),1),m$=o(L(),1),p$=o(W(),1),$N=o(Rr(),1),d$=o(xr(),1);var $W=o(T(),1);var qW=o(v(),1),ZW=(0,qW.jsx)($W.BlockIcon,{icon:j0});function VN(e){return e?Math.min(3,e):3}var KW=(e,t="large")=>{let r=Object.fromEntries(Object.entries(e??{}).filter(([n])=>["alt","id","link"].includes(n)));r.url=e?.sizes?.[t]?.url||e?.media_details?.sizes?.[t]?.source_url||e?.url||e?.source_url;let a=e?.sizes?.full?.url||e?.media_details?.sizes?.full?.source_url;return a&&(r.fullUrl=a),r};var Zs=20,nd="none",dh="media",fh="attachment",FN="custom",QW=["noreferrer","noopener"],tu=["image"];var HN=["flex","grid"],nv="full";function ON(e,t,r,a,n){switch(r||t){case HW:case $s:return{href:e?.source_url||e?.url,linkDestination:dh,lightbox:n?.enabled?{...a?.lightbox,enabled:!1}:void 0};case OW:case qs:return{href:e?.link,linkDestination:fh,lightbox:n?.enabled?{...a?.lightbox,enabled:!1}:void 0};case ov:return{href:void 0,lightbox:n?.enabled?void 0:{...a?.lightbox,enabled:!0},linkDestination:nd};case Ws:return{href:void 0,linkDestination:nd,lightbox:void 0}}return{}}function YW(e){let[t,r=1]=e.split("/").map(Number),a=t/r;return a===1/0||a===0?NaN:a}function Bve(e){let t=e;return e!==void 0&&t&&(QW.forEach(r=>{let a=new RegExp("\\b"+r+"\\b","gi");t=t.replace(a,"")}),t!==e&&(t=t.trim()),t||(t=void 0)),t}function jN(e,{rel:t}){let r=e?"_blank":void 0,a;return!r&&!t?a=void 0:a=Bve(t),{linkTarget:r,rel:a}}function XW(e,t){let r=e?.media_details?.sizes?.[t]?.source_url;return r?{url:r,width:void 0,height:void 0,sizeSlug:t}:{}}function UN(e){return tu.some(t=>e.type.indexOf(t)===0)}function iv({x:e,y:t}={x:.5,y:.5}){return`${Math.round(e*100)}% ${Math.round(t*100)}%`}var GN=o(P(),1),JW=o(L(),1);var lv=o(v(),1);function e$(e){let{attributes:t,isSelected:r,setAttributes:a,mediaPlaceholder:n,insertBlocksAfter:i,blockProps:l,__unstableLayoutClassNames:s,isContentLocked:c,multiGallerySelection:u}=e,{align:m,columns:p,imageCrop:d}=t;return(0,lv.jsxs)("figure",{...l,className:w(l.className,s,"blocks-gallery-grid",{[`align${m}`]:m,[`columns-${p}`]:p!==void 0,"columns-default":p===void 0,"is-cropped":d}),children:[l.children,r&&!l.children&&(0,lv.jsx)(JW.View,{className:"blocks-gallery-media-placeholder-wrapper",children:n}),(0,lv.jsx)(_a,{attributes:t,setAttributes:a,isSelected:r,insertBlocksAfter:i,showToolbarButton:!u&&!c,className:"blocks-gallery-caption",label:(0,GN.__)("Gallery caption text"),placeholder:(0,GN.__)("Add gallery caption")})]})}var t$=o(U(),1);function r$(e,t,r){return(0,t$.useMemo)(()=>a(),[e,t]);function a(){if(!e||e.length===0)return;let{imageSizes:n}=r(),i={};t&&(i=e.reduce((s,c)=>{if(!c.id)return s;let u=n.reduce((m,p)=>{let d=c.sizes?.[p.slug]?.url,f=c.media_details?.sizes?.[p.slug]?.source_url;return{...m,[p.slug]:d||f}},{});return{...s,[parseInt(c.id,10)]:u}},{}));let l=Object.values(i);return n.filter(({slug:s})=>l.some(c=>c[s])).map(({name:s,slug:c})=>({value:c,label:s}))}}var O5=o(U(),1);function o$(e,t){let[r,a]=(0,O5.useState)([]);return(0,O5.useMemo)(()=>n(),[e,t]);function n(){let i=!1,l=r.filter(c=>e.find(u=>c.clientId===u.clientId));l.length<r.length&&(i=!0),e.forEach(c=>{c.fromSavedContent&&!l.find(u=>u.id===c.id)&&(i=!0,l.push(c))});let s=e.filter(c=>!l.find(u=>c.clientId&&u.clientId===c.clientId)&&t?.find(u=>u.id===c.id)&&!c.fromSavedContent);return(i||s?.length>0)&&a([...l,...s]),s.length>0?s:null}}var n$=o(V(),1),i$=o(Q(),1),a$=[];function l$(e){return(0,n$.useSelect)(t=>{let r=e.map(a=>a.attributes.id).filter(a=>a!==void 0);return r.length===0?a$:t(i$.store).getEntityRecords("postType","attachment",{include:r.join(","),per_page:-1,orderby:"include"})??a$},[e])}var id=o(T(),1);function s$({blockGap:e,clientId:t}){let r="var( --wp--style--gallery-gap-default, var( --gallery-block--gutter-size, var( --wp--style--block-gap, 0.5em ) ) )",a=r,n=r,i;e&&(i=typeof e=="string"?(0,id.__experimentalGetGapCSSValue)(e):(0,id.__experimentalGetGapCSSValue)(e?.top)||r,n=typeof e=="string"?(0,id.__experimentalGetGapCSSValue)(e):(0,id.__experimentalGetGapCSSValue)(e?.left)||r,a=i===n?i:`${i} ${n}`);let l=`#block-${t} {
		--wp--style--unstable-gallery-gap: ${n==="0"?"0px":n};
		gap: ${a}
	}`;return(0,id.useStyleOverride)({css:l}),null}var He=o(v(),1),c$=8,u$=[{icon:L0,label:(0,he.__)("Link images to attachment pages"),value:qs,noticeText:(0,he.__)("Attachment Pages")},{icon:Wu,label:(0,he.__)("Link images to media files"),value:$s,noticeText:(0,he.__)("Media Files")},{icon:kp,label:(0,he.__)("Enlarge on click"),value:ov,noticeText:(0,he.__)("Lightbox effect"),infoText:(0,he.__)("Scale images with a lightbox effect")},{icon:U0,label:(0,he._x)("None","Media item link option"),value:Ws,noticeText:(0,he.__)("None")}],Ive=[{label:(0,he.__)("Icon"),value:"icon"},{label:(0,he.__)("Text"),value:"text"},{label:(0,he.__)("Both"),value:"both"}],WN=["image"],Nve=ea.Platform.isNative?(0,he.__)("Add media"):(0,he.__)("Drag and drop images, upload, or choose from your library."),Eve=ea.Platform.isNative?{type:"stepper"}:{},Dve={name:"core/image"},Lve=[];function f$(e){let{setAttributes:t,attributes:r,className:a,clientId:n,isSelected:i,insertBlocksAfter:l,isContentLocked:s,onFocus:c}=e,[u,m,p,d]=(0,Do.useSettings)("blocks.core/image.lightbox","dimensions.aspectRatios.default","dimensions.aspectRatios.theme","dimensions.defaultAspectRatios"),f=u?.allowEditing?u$:u$.filter(Y=>Y.value!==ov),{navigationButtonType:h,columns:g,imageCrop:b,randomOrder:y,linkTarget:k,linkTo:_,sizeSlug:x,aspectRatio:S}=r,{__unstableMarkNextChangeAsNotPersistent:C,replaceInnerBlocks:N,updateBlockAttributes:B,selectBlock:D}=(0,sv.useDispatch)(Do.store),{createSuccessNotice:A,createErrorNotice:H}=(0,sv.useDispatch)(d$.store),{getBlock:F,getSettings:z,innerBlockImages:I,blockWasJustInserted:R,multiGallerySelection:$}=(0,sv.useSelect)(Y=>{let{getBlockName:ze,getMultiSelectedBlockClientIds:Me,getSettings:Xe,getBlock:Te,wasBlockJustInserted:Bt}=Y(Do.store),yr=Me();return{getBlock:Te,getSettings:Xe,innerBlockImages:Te(n)?.innerBlocks??Lve,blockWasJustInserted:Bt(n,"inserter_menu"),multiGallerySelection:yr.length&&yr.every(xn=>ze(xn)==="core/gallery")}},[n]),j=(0,ea.useMemo)(()=>I?.map(Y=>({clientId:Y.clientId,id:Y.attributes.id,url:Y.attributes.url,attributes:Y.attributes,fromSavedContent:!!Y.originalContent})),[I]),G=l$(I),O=o$(j,G),J=u?.enabled?j.filter(Y=>Y.attributes?.lightbox?.enabled===void 0||Y.attributes?.lightbox?.enabled===!0).length>0:j.filter(Y=>Y.attributes.lightbox?.enabled).length>0,ee=p?.map(({name:Y,ratio:ze})=>({label:Y,value:ze})),oe=m?.map(({name:Y,ratio:ze})=>({label:Y,value:ze})),X=[{label:(0,he._x)("Original","Aspect ratio option for dimensions control"),value:"auto"},...d?oe||[]:[],...ee||[]];(0,ea.useEffect)(()=>{O?.forEach(Y=>{C(),B(Y.clientId,{...ne(Y.attributes),id:Y.id,align:void 0})})},[O]);let te=r$(G,i,z);function ne(Y){let ze=Y.id?G.find(({id:Te})=>Te===Y.id):null,Me;Y.className&&Y.className!==""&&(Me=Y.className);let Xe;return Y.linkTarget||Y.rel?Xe={linkTarget:Y.linkTarget,rel:Y.rel}:Xe=jN(k,r),{...KW(ze,x),...ON(ze,_,Y?.linkDestination),...Xe,className:Me,sizeSlug:x,caption:Y.caption.length>0?Y.caption:ze.caption?.raw,alt:Y.alt||ze.alt_text,aspectRatio:S==="auto"?void 0:S}}function le(Y){let ze=ea.Platform.isNative&&Y.id?G.find(({id:Xe})=>Xe===Y.id):null,Me=ze?ze?.media_type:Y.type;return WN.some(Xe=>Me?.indexOf(Xe)===0)||Y.blob}function pe(Y){let ze=Object.prototype.toString.call(Y)==="[object FileList]",Me=ze?Array.from(Y).map(Je=>Je.url?Je:{blob:(0,$N.createBlobURL)(Je)}):Y;Me.every(le)||H((0,he.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file",type:"snackbar"});let Xe=Me.filter(Je=>Je.url||le(Je)).map(Je=>Je.url?Je:{blob:Je.blob||(0,$N.createBlobURL)(Je)}),Te=Xe.reduce((Je,$r,ip)=>(Je[$r.id]=ip,Je),{}),Bt=ze?I:I.filter(Je=>Xe.find($r=>$r.id===Je.attributes.id)),xn=Xe.filter(Je=>!Bt.find($r=>Je.id===$r.attributes.id)).map(Je=>(0,p$.createBlock)("core/image",{id:Je.id,blob:Je.blob,url:Je.url,caption:Je.caption,alt:Je.alt}));N(n,Bt.concat(xn).sort((Je,$r)=>Te[Je.attributes.id]-Te[$r.attributes.id])),xn?.length>0&&D(xn[0].clientId)}function Ie(Y){H(Y,{type:"snackbar"})}function Ne(Y){t({linkTo:Y});let ze={},Me=[];F(n).innerBlocks.forEach(Te=>{Me.push(Te.clientId);let Bt=Te.attributes.id?G.find(({id:yr})=>yr===Te.attributes.id):null;ze[Te.clientId]=ON(Bt,Y,!1,Te.attributes,u)}),B(Me,ze,{uniqueByBlock:!0});let Xe=[...f].find(Te=>Te.value===Y);A((0,he.sprintf)((0,he.__)("All gallery image links updated to: %s"),Xe.noticeText),{id:"gallery-attributes-linkTo",type:"snackbar"})}function ae(Y){t({columns:Y})}function Re(){t({imageCrop:!b})}function Ee(){t({randomOrder:!y})}function ie(Y){let ze=Y?"_blank":void 0;t({linkTarget:ze});let Me={},Xe=[];F(n).innerBlocks.forEach(Bt=>{Xe.push(Bt.clientId),Me[Bt.clientId]=jN(ze,Bt.attributes)}),B(Xe,Me,{uniqueByBlock:!0});let Te=Y?(0,he.__)("All gallery images updated to open in new tab"):(0,he.__)("All gallery images updated to not open in new tab");A(Te,{id:"gallery-attributes-openInNewTab",type:"snackbar"})}function fe(Y){t({sizeSlug:Y});let ze={},Me=[];F(n).innerBlocks.forEach(Te=>{Me.push(Te.clientId);let Bt=Te.attributes.id?G.find(({id:yr})=>yr===Te.attributes.id):null;ze[Te.clientId]=XW(Bt,Y)}),B(Me,ze,{uniqueByBlock:!0});let Xe=te.find(Te=>Te.value===Y);A((0,he.sprintf)((0,he.__)("All gallery image sizes updated to: %s"),Xe?.label??Y),{id:"gallery-attributes-sizeSlug",type:"snackbar"})}function ke(Y){t({aspectRatio:Y});let ze={},Me=[];F(n).innerBlocks.forEach(Te=>{Me.push(Te.clientId),ze[Te.clientId]={aspectRatio:Y==="auto"?void 0:Y}}),B(Me,ze,!0);let Xe=X.find(Te=>Te.value===Y);A((0,he.sprintf)((0,he.__)("All gallery images updated to aspect ratio: %s"),Xe?.label||Y),{id:"gallery-attributes-aspectRatio",type:"snackbar"})}(0,ea.useEffect)(()=>{_||(C(),t({linkTo:window?.wp?.media?.view?.settings?.defaultProps?.link||Ws}))},[_]);let je=!!j.length,de=je&&j.some(Y=>!!Y.id),ct=j.some(Y=>ea.Platform.isNative?Y.url?.indexOf("file:")===0:!Y.id&&Y.url?.indexOf("blob:")===0),at=ea.Platform.select({web:{addToGallery:!1,disableMediaButtons:ct,value:{}},native:{addToGallery:de,isAppender:je,disableMediaButtons:je&&!i||ct,value:de?j:{},autoOpenMediaUpload:!je&&i&&R,onFocus:c}}),kt=(0,He.jsx)(Do.MediaPlaceholder,{handleUpload:!1,icon:ZW,labels:{title:(0,he.__)("Gallery"),instructions:Nve},onSelect:pe,allowedTypes:WN,multiple:!0,onError:Ie,...at}),Wr=(0,Do.useBlockProps)({className:w(a,"has-nested-images")}),ut=ea.Platform.isNative&&{marginHorizontal:0,marginVertical:0},br=(0,Do.useInnerBlocksProps)(Wr,{defaultBlock:Dve,directInsert:!0,orientation:"horizontal",renderAppender:!1,...ut}),mt=q();if(!je)return(0,He.jsxs)(m$.View,{...br,children:[br.children,kt]});let wo=_&&_!=="none";return(0,He.jsxs)(He.Fragment,{children:[(0,He.jsxs)(Do.InspectorControls,{children:[ea.Platform.isWeb&&(0,He.jsxs)(Ke.__experimentalToolsPanel,{label:(0,he.__)("Settings"),resetAll:()=>{t({navigationButtonType:"icon",columns:void 0,imageCrop:!0,randomOrder:!1}),ke("auto"),x!==av&&fe(av),k&&ie(!1)},dropdownMenuProps:mt,children:[j.length>1&&(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)("Columns"),hasValue:()=>!!g&&g!==j.length,onDeselect:()=>ae(void 0),children:(0,He.jsx)(Ke.RangeControl,{label:(0,he.__)("Columns"),value:g||VN(j.length),onChange:ae,min:1,max:Math.min(c$,j.length),required:!0,__next40pxDefaultSize:!0})}),te?.length>0&&(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)("Resolution"),hasValue:()=>x!==av,onDeselect:()=>fe(av),children:(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)("Resolution"),help:(0,he.__)("Select the size of the source images."),value:x,options:te,onChange:fe,hideCancelButton:!0,size:"__unstable-large"})}),(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)("Crop images to fit"),hasValue:()=>!b,onDeselect:()=>t({imageCrop:!0}),children:(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)("Crop images to fit"),checked:!!b,onChange:Re})}),(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)("Randomize order"),hasValue:()=>!!y,onDeselect:()=>t({randomOrder:!1}),children:(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)("Randomize order"),checked:!!y,onChange:Ee})}),wo&&(0,He.jsx)(Ke.__experimentalToolsPanelItem,{isShownByDefault:!0,label:(0,he.__)("Open images in new tab"),hasValue:()=>!!k,onDeselect:()=>ie(!1),children:(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)("Open images in new tab"),checked:k==="_blank",onChange:ie})}),X.length>1&&(0,He.jsx)(Ke.__experimentalToolsPanelItem,{hasValue:()=>!!S&&S!=="auto",label:(0,he.__)("Aspect ratio"),onDeselect:()=>ke("auto"),isShownByDefault:!0,children:(0,He.jsx)(Ke.SelectControl,{__next40pxDefaultSize:!0,label:(0,he.__)("Aspect ratio"),help:(0,he.__)("Set a consistent aspect ratio for all images in the gallery."),value:S,options:X,onChange:ke})}),(0,He.jsx)(Ke.__experimentalToolsPanelItem,{label:(0,he.__)("Navigation button type"),isShownByDefault:!0,hasValue:()=>h!=="icon",onDeselect:()=>t({navigationButtonType:"icon"}),children:J&&(0,He.jsx)(Ke.__experimentalToggleGroupControl,{label:(0,he.__)("Navigation button type"),value:h,onChange:Y=>t({navigationButtonType:Y}),isBlock:!0,__next40pxDefaultSize:!0,help:(0,he.__)("Adjust the appearance of buttons in the lightbox."),children:Ive.map(Y=>(0,He.jsx)(Ke.__experimentalToggleGroupControlOption,{value:Y.value,label:Y.label},Y.value))})})]}),ea.Platform.isNative&&(0,He.jsxs)(Ke.PanelBody,{title:(0,he.__)("Settings"),children:[j.length>1&&(0,He.jsx)(Ke.RangeControl,{label:(0,he.__)("Columns"),value:g||VN(j.length),onChange:ae,min:1,max:Math.min(c$,j.length),...Eve,required:!0,__next40pxDefaultSize:!0}),te?.length>0&&(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)("Resolution"),help:(0,he.__)("Select the size of the source images."),value:x,options:te,onChange:fe,hideCancelButton:!0,size:"__unstable-large"}),(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)("Link"),value:_,onChange:Ne,options:f,hideCancelButton:!0,size:"__unstable-large"}),(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)("Crop images to fit"),checked:!!b,onChange:Re}),(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)("Randomize order"),checked:!!y,onChange:Ee}),wo&&(0,He.jsx)(Ke.ToggleControl,{label:(0,he.__)("Open images in new tab"),checked:k==="_blank",onChange:ie}),X.length>1&&(0,He.jsx)(Ke.SelectControl,{label:(0,he.__)("Aspect Ratio"),help:(0,he.__)("Set a consistent aspect ratio for all images in the gallery."),value:S,options:X,onChange:ke,hideCancelButton:!0,size:"__unstable-large"})]})]}),ea.Platform.isWeb?(0,He.jsx)(Do.BlockControls,{group:"block",children:(0,He.jsx)(Ke.ToolbarDropdownMenu,{icon:ii,label:(0,he.__)("Link"),children:({onClose:Y})=>(0,He.jsx)(Ke.MenuGroup,{children:f.map(ze=>{let Me=_===ze.value;return(0,He.jsx)(Ke.MenuItem,{isSelected:Me,className:w("components-dropdown-menu__menu-item",{"is-active":Me}),iconPosition:"left",icon:ze.icon,onClick:()=>{Ne(ze.value),Y()},role:"menuitemradio",info:ze.infoText,children:ze.label},ze.value)})})})}):null,ea.Platform.isWeb&&(0,He.jsxs)(He.Fragment,{children:[!$&&(0,He.jsx)(Do.BlockControls,{group:"other",children:(0,He.jsx)(Do.MediaReplaceFlow,{allowedTypes:WN,handleUpload:!1,onSelect:pe,name:(0,he.__)("Add"),multiple:!0,mediaIds:j.filter(Y=>Y.id).map(Y=>Y.id),addToGallery:de,variant:"toolbar"})}),(0,He.jsx)(s$,{blockGap:r.style?.spacing?.blockGap,clientId:n})]}),(0,He.jsx)(e$,{...e,isContentLocked:s,images:j,mediaPlaceholder:!je||ea.Platform.isNative?kt:void 0,blockProps:br,insertBlocksAfter:l,multiGallerySelection:$})]})}var j5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/gallery",title:"Gallery",category:"media",usesContext:["galleryId"],allowedBlocks:["core/image"],description:"Display multiple images in a rich gallery.",keywords:["images","photos"],textdomain:"default",attributes:{images:{type:"array",default:[],source:"query",selector:".blocks-gallery-item",query:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},fullUrl:{type:"string",source:"attribute",selector:"img",attribute:"data-full-url"},link:{type:"string",source:"attribute",selector:"img",attribute:"data-link"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},id:{type:"string",source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"rich-text",source:"rich-text",selector:".blocks-gallery-item__caption"}}},ids:{type:"array",items:{type:"number"},default:[]},navigationButtonType:{type:"string",default:"icon",enum:["icon","text","both"]},shortCodeTransforms:{type:"array",items:{type:"object"},default:[]},columns:{type:"number",minimum:1,maximum:8},caption:{type:"rich-text",source:"rich-text",selector:".blocks-gallery-caption",role:"content"},imageCrop:{type:"boolean",default:!0},randomOrder:{type:"boolean",default:!1},fixedHeight:{type:"boolean",default:!0},linkTarget:{type:"string"},linkTo:{type:"string"},sizeSlug:{type:"string",default:"large"},allowResize:{type:"boolean",default:!1},aspectRatio:{type:"string",default:"auto"}},providesContext:{allowResize:"allowResize",imageCrop:"imageCrop",fixedHeight:"fixedHeight",navigationButtonType:"navigationButtonType"},supports:{anchor:!0,align:!0,__experimentalBorder:{radius:!0,color:!0,width:!0,style:!0,__experimentalDefaultControls:{color:!0,radius:!0}},html:!1,units:["px","em","rem","vh","vw"],spacing:{margin:!0,padding:!0,blockGap:["horizontal","vertical"],__experimentalSkipSerialization:["blockGap"],__experimentalDefaultControls:{blockGap:!0,margin:!1,padding:!1}},color:{text:!1,background:!0,gradients:!0},layout:{allowSwitching:!1,allowInheriting:!1,allowEditing:!1,default:{type:"flex"}},interactivity:{clientNavigation:!0},listView:!0},editorStyle:"wp-block-gallery-editor",style:"wp-block-gallery"};var ru=o(T(),1),U5=o(v(),1);function h$({attributes:e}){let{caption:t,columns:r,imageCrop:a}=e,n=w("has-nested-images",{[`columns-${r}`]:r!==void 0,"columns-default":r===void 0,"is-cropped":a}),i=ru.useBlockProps.save({className:n}),l=ru.useInnerBlocksProps.save(i);return(0,U5.jsxs)("figure",{...l,children:[l.children,!ru.RichText.isEmpty(t)&&(0,U5.jsx)(ru.RichText.Content,{tagName:"figcaption",className:w("blocks-gallery-caption",(0,ru.__experimentalGetElementClassName)("caption")),value:t})]})}var Ks=o(W(),1),g$=o(Rr(),1),qN=o(Yc(),1);var Ave=e=>e?e.split(",").map(t=>parseInt(t,10)):[];function Rve(e){if(e.name==="core/gallery"&&e.attributes?.images.length>0){let t=e.attributes.images.map(({url:r,id:a,alt:n})=>(0,Ks.createBlock)("core/image",{url:r,id:a?parseInt(a,10):null,alt:n,sizeSlug:e.attributes.sizeSlug,linkDestination:e.attributes.linkDestination}));delete e.attributes.ids,delete e.attributes.images,e.innerBlocks=t}return e}(0,qN.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-to",Rve);function zve(e,t){let a=(Array.isArray(t)?t:[t]).find(n=>n.name==="core/gallery"&&n.innerBlocks.length>0&&!n.attributes.images?.length>0&&!e.name.includes("core/"));if(a){let n=a.innerBlocks.map(({attributes:{url:l,id:s,alt:c}})=>({url:l,id:s?parseInt(s,10):null,alt:c})),i=n.map(({id:l})=>l);a.attributes.images=n,a.attributes.ids=i}return e}(0,qN.addFilter)("blocks.switchToBlockType.transformedBlock","core/gallery/update-third-party-transform-from",zve);var Vve={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:e=>{let{align:t,sizeSlug:r}=e[0];t=e.every(i=>i.align===t)?t:void 0,r=e.every(i=>i.sizeSlug===r)?r:void 0;let n=e.filter(({url:i})=>i).map(i=>(i.width=void 0,i.height=void 0,(0,Ks.createBlock)("core/image",i)));return(0,Ks.createBlock)("core/gallery",{align:t,sizeSlug:r},n)}},{type:"shortcode",tag:"gallery",transform({named:{ids:e,columns:t=3,link:r,orderby:a,size:n}}){let i=Ave(e).map(c=>parseInt(c,10)),l=Ws;return r==="post"?l=qs:r==="file"&&(l=$s),(0,Ks.createBlock)("core/gallery",{columns:parseInt(t,10),linkTo:l,randomOrder:a==="rand",...n&&{sizeSlug:n}},i.map(c=>(0,Ks.createBlock)("core/image",{id:c,...n&&{sizeSlug:n}})))},isMatch({named:e}){return e.ids!==void 0}},{type:"files",priority:1,isMatch(e){return e.length!==1&&e.every(t=>t.type.indexOf("image/")===0)},transform(e){let t=e.map(r=>(0,Ks.createBlock)("core/image",{blob:(0,g$.createBlobURL)(r)}));return(0,Ks.createBlock)("core/gallery",{},t)}}],to:[{type:"block",blocks:["core/image"],transform:({align:e},t)=>t.length>0?t.map(({attributes:{url:r,alt:a,caption:n,title:i,href:l,rel:s,linkClass:c,id:u,sizeSlug:m,linkDestination:p,linkTarget:d,anchor:f,className:h}})=>(0,Ks.createBlock)("core/image",{align:e,url:r,alt:a,caption:n,title:i,href:l,rel:s,linkClass:c,id:u,sizeSlug:m,linkDestination:p,linkTarget:d,anchor:f,className:h})):(0,Ks.createBlock)("core/image",{align:e})}]},v$=Vve;var{name:b$}=j5,y$={icon:j0,example:{attributes:{columns:2},innerBlocks:[{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Glacial_lakes%2C_Bhutan.jpg"}},{name:"core/image",attributes:{url:"https://s.w.org/images/core/5.3/Sediment_off_the_Yucatan_Peninsula.jpg"}}]},transforms:v$,edit:f$,save:h$,deprecated:WW},Fve=()=>E({name:b$,metadata:j5,settings:y$});var JN={};Z(JN,{init:()=>Kve,metadata:()=>W5,name:()=>Z5,settings:()=>M$});var q5=o(P(),1);var Ca=o(T(),1),bi=o(v(),1),KN=e=>{if(e.tagName||(e={...e,tagName:"div"}),!e.customTextColor&&!e.customBackgroundColor)return e;let t={color:{}};e.customTextColor&&(t.color.text=e.customTextColor),e.customBackgroundColor&&(t.color.background=e.customBackgroundColor);let{customTextColor:r,customBackgroundColor:a,...n}=e;return{...n,style:t}},Hve=[{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{__experimentalOnEnter:!0,__experimentalSettings:!0,align:["wide","full"],anchor:!0,ariaLabel:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:["top","bottom"],padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0}},layout:!0},save({attributes:{tagName:e}}){return(0,bi.jsx)(e,{...Ca.useInnerBlocksProps.save(Ca.useBlockProps.save())})},isEligible:({layout:e})=>e?.inherit||e?.contentSize&&e?.type!=="constrained",migrate:e=>{let{layout:t=null}=e;if(t?.inherit||t?.contentSize)return{...e,layout:{...t,type:"constrained"}}}},{attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert",!1]}},supports:{align:["wide","full"],anchor:!0,color:{gradients:!0,link:!0},spacing:{padding:!0},__experimentalBorder:{radius:!0}},save({attributes:e}){let{tagName:t}=e;return(0,bi.jsx)(t,{...Ca.useBlockProps.save(),children:(0,bi.jsx)("div",{className:"wp-block-group__inner-container",children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})})}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:KN,save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,textColor:a,customTextColor:n}=e,i=(0,Ca.getColorClassName)("background-color",t),l=(0,Ca.getColorClassName)("color",a),s=w(i,l,{"has-text-color":a||n,"has-background":t||r});return(0,bi.jsx)("div",{className:s,style:{backgroundColor:i?void 0:r,color:l?void 0:n},children:(0,bi.jsx)("div",{className:"wp-block-group__inner-container",children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})})}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},textColor:{type:"string"},customTextColor:{type:"string"}},migrate:KN,supports:{align:["wide","full"],anchor:!0,html:!1},save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r,textColor:a,customTextColor:n}=e,i=(0,Ca.getColorClassName)("background-color",t),l=(0,Ca.getColorClassName)("color",a),s=w(i,{"has-text-color":a||n,"has-background":t||r});return(0,bi.jsx)("div",{className:s,style:{backgroundColor:i?void 0:r,color:l?void 0:n},children:(0,bi.jsx)("div",{className:"wp-block-group__inner-container",children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})})}},{attributes:{backgroundColor:{type:"string"},customBackgroundColor:{type:"string"}},supports:{align:["wide","full"],anchor:!0,html:!1},migrate:KN,save({attributes:e}){let{backgroundColor:t,customBackgroundColor:r}=e,a=(0,Ca.getColorClassName)("background-color",t),n=w(a,{"has-background":t||r});return(0,bi.jsx)("div",{className:n,style:{backgroundColor:a?void 0:r},children:(0,bi.jsx)(Ca.InnerBlocks.Content,{})})}}],_$=Hve;var G5=o(V(),1),_i=o(T(),1),T$=o(U(),1),P$=o(P(),1),B$=o(L(),1);var x$=o(V(),1),k$=o(T(),1),QN=o(P(),1),w$=o(W(),1),zn=o(M(),1),cv=o(U(),1),Rn=o(v(),1),Ove=(e="group")=>({group:(0,Rn.jsx)(zn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Rn.jsx)(zn.Path,{d:"M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Z"})}),"group-row":(0,Rn.jsx)(zn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Rn.jsx)(zn.Path,{d:"M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v28a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10Z"})}),"group-stack":(0,Rn.jsx)(zn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Rn.jsx)(zn.Path,{d:"M0 10a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm0 17a2 2 0 0 1 2-2h44a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V27Z"})}),"group-grid":(0,Rn.jsx)(zn.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",children:(0,Rn.jsx)(zn.Path,{d:"M0 10a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V10Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V10ZM0 27a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V27Zm25 0a2 2 0 0 1 2-2h19a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H27a2 2 0 0 1-2-2V27Z"})})})?.[e];function C$({attributes:e={style:void 0,backgroundColor:void 0,textColor:void 0,fontSize:void 0},usedLayoutType:t="",hasInnerBlocks:r=!1}){let{style:a,backgroundColor:n,textColor:i,fontSize:l}=e,[s,c]=(0,cv.useState)(!r&&!n&&!l&&!i&&!a&&t!=="flex"&&t!=="grid");return(0,cv.useEffect)(()=>{(r||n||l||i||a||t==="flex")&&c(!1)},[n,l,i,a,t,r]),[s,c]}function jve({name:e,onSelect:t}){let r=(0,x$.useSelect)(n=>n(w$.store).getBlockVariations(e,"block"),[e]),a=(0,k$.useBlockProps)({className:"wp-block-group__placeholder"});return(0,cv.useEffect)(()=>{r&&r.length===1&&t(r[0])},[t,r]),(0,Rn.jsx)("div",{...a,children:(0,Rn.jsx)(zn.Placeholder,{instructions:(0,QN.__)("Group blocks together. Select a layout:"),children:(0,Rn.jsx)("ul",{role:"list",className:"wp-block-group-placeholder__variations","aria-label":(0,QN.__)("Block variations"),children:r.map(n=>(0,Rn.jsx)("li",{children:(0,Rn.jsx)(zn.Button,{__next40pxDefaultSize:!0,variant:"tertiary",icon:Ove(n.name),iconSize:48,onClick:()=>t(n),className:"wp-block-group-placeholder__variation-button",label:`${n.title}: ${n.description}`})},n.name))})})})}var S$=jve;var yi=o(v(),1),{HTMLElementControl:Uve}=K(_i.privateApis);function Gve({tagName:e,onSelectTagName:t,clientId:r}){return(0,yi.jsx)(_i.InspectorControls,{group:"advanced",children:(0,yi.jsx)(Uve,{tagName:e,onChange:t,clientId:r,options:[{label:(0,P$.__)("Default (<div>)"),value:"div"},{label:"<header>",value:"header"},{label:"<main>",value:"main"},{label:"<section>",value:"section"},{label:"<article>",value:"article"},{label:"<aside>",value:"aside"},{label:"<footer>",value:"footer"}]})})}function Wve({attributes:e,name:t,setAttributes:r,clientId:a}){let{hasInnerBlocks:n,themeSupportsLayout:i}=(0,G5.useSelect)(x=>{let{getBlock:S,getSettings:C}=x(_i.store),N=S(a);return{hasInnerBlocks:!!(N&&N.innerBlocks.length),themeSupportsLayout:C()?.supportsLayout}},[a]),{tagName:l="div",templateLock:s,allowedBlocks:c,layout:u={}}=e,{type:m="default"}=u,p=i||m==="flex"||m==="grid",d=(0,T$.useRef)(),f=(0,_i.useBlockProps)({ref:d}),[h,g]=C$({attributes:e,usedLayoutType:m,hasInnerBlocks:n}),b;h?b=!1:n||(b=_i.InnerBlocks.ButtonBlockAppender);let y=(0,_i.useInnerBlocksProps)(p?f:{className:"wp-block-group__inner-container"},{dropZoneElement:d.current,templateLock:s,allowedBlocks:c,renderAppender:b}),{selectBlock:k}=(0,G5.useDispatch)(_i.store),_=x=>{r(x.attributes),k(a,-1),g(!1)};return(0,yi.jsxs)(yi.Fragment,{children:[(0,yi.jsx)(Gve,{tagName:l,onSelectTagName:x=>r({tagName:x}),clientId:a}),h&&(0,yi.jsxs)(B$.View,{children:[y.children,(0,yi.jsx)(S$,{name:t,onSelect:_})]}),p&&!h&&(0,yi.jsx)(l,{...y}),!p&&!h&&(0,yi.jsx)(l,{...f,children:(0,yi.jsx)("div",{...y})})]})}var I$=Wve;var W5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/group",title:"Group",category:"design",description:"Gather blocks in a layout container.",keywords:["container","wrapper","row","section"],textdomain:"default",attributes:{tagName:{type:"string",default:"div"},templateLock:{type:["string","boolean"],enum:["all","insert","contentOnly",!1]}},supports:{__experimentalOnEnter:!0,__experimentalOnMerge:!0,__experimentalSettings:!0,align:["wide","full"],anchor:!0,ariaLabel:!0,html:!1,background:{backgroundImage:!0,backgroundSize:!0,__experimentalDefaultControls:{backgroundImage:!0}},color:{gradients:!0,heading:!0,button:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},shadow:!0,spacing:{margin:["top","bottom"],padding:!0,blockGap:!0,__experimentalDefaultControls:{padding:!0,blockGap:!0}},dimensions:{minHeight:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}},position:{sticky:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},layout:{allowSizingOnChildren:!0},interactivity:{clientNavigation:!0},allowedBlocks:!0},editorStyle:"wp-block-group-editor",style:"wp-block-group"};var $5=o(T(),1),N$=o(v(),1);function E$({attributes:{tagName:e}}){return(0,N$.jsx)(e,{...$5.useInnerBlocksProps.save($5.useBlockProps.save())})}var YN=o(W(),1),qve={from:[{type:"block",isMultiBlock:!0,blocks:["*"],__experimentalConvert(e){let t=["wide","full"],r=e.reduce((n,i)=>{let{align:l}=i.attributes;return t.indexOf(l)>t.indexOf(n)?l:n},void 0),a=e.map(n=>(0,YN.createBlock)(n.name,n.attributes,n.innerBlocks));return(0,YN.createBlock)("core/group",{align:r,layout:{type:"constrained"}},a)}}]},D$=qve;var Sa=o(P(),1);var XN={innerBlocks:[{name:"core/paragraph",attributes:{content:(0,Sa.__)("One.")}},{name:"core/paragraph",attributes:{content:(0,Sa.__)("Two.")}},{name:"core/paragraph",attributes:{content:(0,Sa.__)("Three.")}},{name:"core/paragraph",attributes:{content:(0,Sa.__)("Four.")}},{name:"core/paragraph",attributes:{content:(0,Sa.__)("Five.")}},{name:"core/paragraph",attributes:{content:(0,Sa.__)("Six.")}}]},Zve=[{name:"group",title:(0,Sa.__)("Group"),description:(0,Sa.__)("Gather blocks in a container."),attributes:{layout:{type:"constrained"}},isDefault:!0,scope:["block","inserter","transform"],icon:wp},{name:"group-row",title:(0,Sa._x)("Row","single horizontal line"),description:(0,Sa.__)("Arrange blocks horizontally."),attributes:{layout:{type:"flex",flexWrap:"nowrap"}},scope:["block","inserter","transform"],isActive:["layout.type"],icon:UP,example:XN},{name:"group-stack",title:(0,Sa.__)("Stack"),description:(0,Sa.__)("Arrange blocks vertically."),attributes:{layout:{type:"flex",orientation:"vertical"}},scope:["block","inserter","transform"],isActive:["layout.type","layout.orientation"],icon:oB,example:XN},{name:"group-grid",title:(0,Sa.__)("Grid"),description:(0,Sa.__)("Arrange blocks in a grid."),attributes:{layout:{type:"grid"}},scope:["block","inserter","transform"],isActive:["layout.type"],icon:Il,example:XN}],L$=Zve;var{name:Z5}=W5,M$={icon:wp,example:{attributes:{layout:{type:"constrained",justifyContent:"center"},style:{spacing:{padding:{top:"4em",right:"3em",bottom:"4em",left:"3em"}}}},innerBlocks:[{name:"core/heading",attributes:{content:(0,q5.__)("La Mancha"),style:{typography:{textAlign:"center"}}}},{name:"core/paragraph",attributes:{style:{typography:{textAlign:"center"}},content:(0,q5.__)("In a village of La Mancha, the name of which I have no desire to call to mind, there lived not long since one of those gentlemen that keep a lance in the lance-rack, an old buckler, a lean hack, and a greyhound for coursing.")}},{name:"core/spacer",attributes:{height:"10px"}},{name:"core/button",attributes:{text:(0,q5.__)("Read more")}}],viewportWidth:600},transforms:D$,edit:I$,save:E$,deprecated:_$,variations:L$},Kve=()=>E({name:Z5,metadata:W5,settings:M$});var aE={};Z(aE,{init:()=>p2e,metadata:()=>J5,name:()=>t4,settings:()=>r4});var hm=o(P(),1),vh=o(W(),1);var rn=o(T(),1);var Qs=o(v(),1),eE={className:!1,anchor:!0},K5={align:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},level:{type:"number",default:2},placeholder:{type:"string"}},hh=e=>{if(!e.customTextColor)return e;let t={color:{text:e.customTextColor}},{customTextColor:r,...a}=e;return{...a,style:t}},A$=["left","right","center"],gh=e=>{let{align:t,...r}=e;return A$.includes(t)?{...r,textAlign:t}:e},Qve={supports:eE,attributes:{...K5,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>We(hh(gh(e))),save({attributes:e}){let{align:t,level:r,content:a,textColor:n,customTextColor:i}=e,l="h"+r,s=(0,rn.getColorClassName)("color",n),c=w({[s]:s});return(0,Qs.jsx)(rn.RichText.Content,{className:c||void 0,tagName:l,style:{textAlign:t,color:s?void 0:i},value:a})}},Yve={attributes:{...K5,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>We(hh(gh(e))),save({attributes:e}){let{align:t,content:r,customTextColor:a,level:n,textColor:i}=e,l="h"+n,s=(0,rn.getColorClassName)("color",i),c=w({[s]:s,[`has-text-align-${t}`]:t});return(0,Qs.jsx)(rn.RichText.Content,{className:c||void 0,tagName:l,style:{color:s?void 0:a},value:r})},supports:eE},Xve={supports:eE,attributes:{...K5,customTextColor:{type:"string"},textColor:{type:"string"}},migrate:e=>We(hh(gh(e))),save({attributes:e}){let{align:t,content:r,customTextColor:a,level:n,textColor:i}=e,l="h"+n,s=(0,rn.getColorClassName)("color",i),c=w({[s]:s,"has-text-color":i||a,[`has-text-align-${t}`]:t});return(0,Qs.jsx)(rn.RichText.Content,{className:c||void 0,tagName:l,style:{color:s?void 0:a},value:r})}},Jve={supports:{align:["wide","full"],anchor:!0,className:!1,color:{link:!0},fontSize:!0,lineHeight:!0,__experimentalSelector:{"core/heading/h1":"h1","core/heading/h2":"h2","core/heading/h3":"h3","core/heading/h4":"h4","core/heading/h5":"h5","core/heading/h6":"h6"},__unstablePasteTextInline:!0},attributes:K5,isEligible:({align:e})=>A$.includes(e),migrate:e=>We(hh(gh(e))),save({attributes:e}){let{align:t,content:r,level:a}=e,n="h"+a,i=w({[`has-text-align-${t}`]:t});return(0,Qs.jsx)(n,{...rn.useBlockProps.save({className:i}),children:(0,Qs.jsx)(rn.RichText.Content,{value:r})})}},e2e={supports:{align:["wide","full"],anchor:!0,className:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0,textTransform:!0}},__experimentalSelector:"h1,h2,h3,h4,h5,h6",__unstablePasteTextInline:!0,__experimentalSlashInserter:!0},attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",role:"content"},level:{type:"number",default:2},placeholder:{type:"string"}},save({attributes:e}){let{textAlign:t,content:r,level:a}=e,n="h"+a,i=w({[`has-text-align-${t}`]:t});return(0,Qs.jsx)(n,{...rn.useBlockProps.save({className:i}),children:(0,Qs.jsx)(rn.RichText.Content,{value:r})})},migrate:e=>We(hh(gh(e)))},t2e={supports:{align:["wide","full"],anchor:!0,className:!0,splitting:!0,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalWritingMode:!0,fitText:!0,__experimentalDefaultControls:{fontSize:!0}},__unstablePasteTextInline:!0,__experimentalSlashInserter:!0,interactivity:{clientNavigation:!0}},attributes:{textAlign:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:"",role:"content"},level:{type:"number",default:2},levelOptions:{type:"array"},placeholder:{type:"string"}},save({attributes:e}){let{textAlign:t,content:r,level:a}=e,n="h"+a,i=w({[`has-text-align-${t}`]:t});return(0,Qs.jsx)(n,{...rn.useBlockProps.save({className:i}),children:(0,Qs.jsx)(rn.RichText.Content,{value:r})})},migrate:e=>We(hh(gh(e))),isEligible(e){return!!e.textAlign||!!e.className?.match(/\bhas-text-align-(left|center|right)\b/)}},r2e=[t2e,e2e,Jve,Xve,Yve,Qve],R$=r2e;var V$=o(P(),1),Y5=o(U(),1),X5=o(V(),1),ld=o(T(),1);var z$=o(rv(),1),tE={},o2e=e=>{let t=document.createElement("div");return t.innerHTML=e,t.innerText},a2e=e=>(0,z$.default)(o2e(e)).replace(/[^\p{L}\p{N}]+/gu,"-").toLowerCase().replace(/(^-+)|(-+$)/g,""),Q5=(e,t)=>{let r=a2e(t);if(r==="")return null;delete tE[e];let a=r,n=0;for(;Object.values(tE).includes(a);)n+=1,a=r+"-"+n;return a},rE=(e,t)=>{tE[e]=t};var uv=o(v(),1);function n2e(e){let{attributes:t,setAttributes:r,mergeBlocks:a,onReplace:n,style:i,clientId:l}=e;Kr(e);let{content:s,level:c,placeholder:u,anchor:m}=t,p="h"+c,d=(0,ld.useBlockProps)({style:i}),{canGenerateAnchors:f}=(0,X5.useSelect)(b=>{let{getGlobalBlockCount:y,getSettings:k}=b(ld.store);return{canGenerateAnchors:!!k().generateAnchors||y("core/table-of-contents")>0}},[]),{__unstableMarkNextChangeAsNotPersistent:h}=(0,X5.useDispatch)(ld.store);return(0,Y5.useEffect)(()=>{if(f)return!m&&s&&(h(),r({anchor:Q5(l,s)})),rE(l,m),()=>rE(l,null)},[m,s,l,f]),(0,uv.jsx)(uv.Fragment,{children:(0,uv.jsx)(ld.RichText,{identifier:"content",tagName:p,value:s,onChange:b=>{let y={content:b};f&&(!m||!b||Q5(l,s)===m)&&(y.anchor=Q5(l,b)),r(y)},onMerge:a,onReplace:n,onRemove:()=>n([]),placeholder:u||(0,V$.__)("Heading"),...Y5.Platform.isNative&&{deleteEnter:!0},...d})})}var F$=n2e;var J5={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/heading",title:"Heading",category:"text",description:"Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.",keywords:["title","subtitle"],textdomain:"default",attributes:{content:{type:"rich-text",source:"rich-text",selector:"h1,h2,h3,h4,h5,h6",role:"content"},level:{type:"number",default:2},levelOptions:{type:"array"},placeholder:{type:"string"}},supports:{align:["wide","full"],anchor:!0,className:!0,splitting:!0,__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0},color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0}},spacing:{margin:!0,padding:!0,__experimentalDefaultControls:{margin:!1,padding:!1}},typography:{fontSize:!0,lineHeight:!0,textAlign:!0,__experimentalFontFamily:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalWritingMode:!0,fitText:!0,__experimentalDefaultControls:{fontSize:!0}},__unstablePasteTextInline:!0,__experimentalSlashInserter:!0,interactivity:{clientNavigation:!0}},editorStyle:"wp-block-heading-editor",style:"wp-block-heading"};var e4=o(T(),1),oE=o(v(),1);function H$({attributes:e}){let{content:t,level:r}=e,a="h"+r;return(0,oE.jsx)(a,{...e4.useBlockProps.save(),children:(0,oE.jsx)(e4.RichText.Content,{value:t})})}var fm=o(W(),1);function O$(e){return Number(e.substr(1))}var l2e={from:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(t=>{let{content:r,anchor:a,style:n}=t,i=n?.typography?.textAlign;return(0,fm.createBlock)("core/heading",{...Wc(t,"core/heading",({content:l})=>({content:l})),content:r,anchor:a,...i&&{style:{typography:{textAlign:i}}}})})},{type:"raw",selector:"h1,h2,h3,h4,h5,h6",schema:({phrasingContentSchema:e,isPaste:t})=>{let r={children:e,attributes:t?[]:["style","id"]};return{h1:r,h2:r,h3:r,h4:r,h5:r,h6:r}},transform(e){let t=(0,fm.getBlockAttributes)("core/heading",e.outerHTML),{textAlign:r}=e.style||{};return t.level=O$(e.nodeName),(r==="left"||r==="center"||r==="right")&&(t.style={...t.style,typography:{...t.style?.typography,textAlign:r}}),(0,fm.createBlock)("core/heading",t)}},...[1,2,3,4,5,6].map(e=>({type:"prefix",prefix:Array(e+1).join("#"),transform(t){return(0,fm.createBlock)("core/heading",{level:e,content:t})}})),...[1,2,3,4,5,6].map(e=>({type:"enter",regExp:new RegExp(`^/(h|H)${e}$`),transform:()=>(0,fm.createBlock)("core/heading",{level:e})}))],to:[{type:"block",isMultiBlock:!0,blocks:["core/paragraph"],transform:e=>e.map(t=>{let{content:r,style:a}=t,n=a?.typography?.textAlign;return(0,fm.createBlock)("core/paragraph",{...Wc(t,"core/paragraph",({content:i})=>({content:i})),content:r,...n&&{style:{typography:{textAlign:n}}}})})}]},j$=l2e;var mv=o(P(),1);var s2e=[Y9,J9,tT,oT,nT,lT],c2e=[...[1,2,3,4,5,6].map(e=>({name:`h${e}`,title:(0,mv.sprintf)((0,mv.__)("Heading %d"),e),description:(0,mv.__)("Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content."),icon:s2e[e-1],attributes:{level:e},scope:["block","transform"],keywords:[`h${e}`],isActive:t=>t.level===e}))],U$=c2e;var{fieldsKey:u2e,formKey:m2e}=K(vh.privateApis),{name:t4}=J5,r4={icon:cT,example:{attributes:{content:(0,hm.__)("Code is Poetry"),level:2,style:{typography:{textAlign:"center"}}}},__experimentalLabel(e,{context:t}){let{content:r,level:a}=e,n=e?.metadata?.name,i=r?.trim().length>0;if(t==="list-view"&&(n||i))return n||r;if(t==="breadcrumb"&&n)return n;if(t==="accessibility")return i?(0,hm.sprintf)((0,hm.__)("Level %1$s. %2$s"),a,r):(0,hm.sprintf)((0,hm.__)("Level %s. Empty."),a)},transforms:j$,deprecated:R$,merge(e,t){return{content:(e.content||"")+(t.content||"")}},edit:F$,save:H$,variations:U$};window.__experimentalContentOnlyInspectorFields&&(r4[u2e]=[{id:"content",label:(0,hm.__)("Content"),type:"text",Edit:"rich-text"}],r4[m2e]={fields:["content"]});var p2e=()=>{let e=E({name:t4,metadata:J5,settings:r4}),t=(0,vh.getBlockType)(t4)?.attributes?.levelOptions?.default;return t&&[1,2,3,4,5,6].forEach(r=>{t.includes(r)||(0,vh.unregisterBlockVariation)(t4,`h${r}`)}),e};var nE={};Z(nE,{init:()=>h2e,metadata:()=>o4,name:()=>Y$,settings:()=>X$});var Q$=o(P(),1);var o4={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/home-link",category:"design",parent:["core/navigation"],title:"Home Link",description:"Create a link that always points to the homepage of the site. Usually not necessary if there is already a site title link present in the header.",textdomain:"default",attributes:{label:{type:"string",role:"content"}},usesContext:["textColor","customTextColor","backgroundColor","customBackgroundColor","fontSize","customFontSize","style"],supports:{anchor:!0,reusable:!1,html:!1,typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},editorStyle:"wp-block-home-link-editor",style:"wp-block-home-link"};var i4=o(T(),1),a4=o(P(),1),G$=o(V(),1),W$=o(Q(),1),n4=o(v(),1),f2e=e=>e.preventDefault();function $$({attributes:e,setAttributes:t,context:r}){let a=(0,G$.useSelect)(c=>c(W$.store).getEntityRecord("root","__unstableBase")?.home,[]),{textColor:n,backgroundColor:i,style:l}=r,s=(0,i4.useBlockProps)({className:w("wp-block-navigation-item",{"has-text-color":!!n||!!l?.color?.text,[`has-${n}-color`]:!!n,"has-background":!!i||!!l?.color?.background,[`has-${i}-background-color`]:!!i}),style:{color:l?.color?.text,backgroundColor:l?.color?.background}});return(0,n4.jsx)("div",{...s,children:(0,n4.jsx)("a",{className:"wp-block-home-link__content wp-block-navigation-item__content",href:a,onClick:f2e,children:(0,n4.jsx)(i4.RichText,{identifier:"label",className:"wp-block-home-link__label",value:e.label??(0,a4.__)("Home"),onChange:c=>{t({label:c})},"aria-label":(0,a4.__)("Home link text"),placeholder:(0,a4.__)("Add home link"),withoutInteractiveFormatting:!0})})})}var q$=o(T(),1),Z$=o(v(),1);function K$(){return(0,Z$.jsx)(q$.InnerBlocks.Content,{})}var{name:Y$}=o4,X$={icon:mT,edit:$$,save:K$,example:{attributes:{label:(0,Q$._x)("Home Link","block example")}}},h2e=()=>E({name:Y$,metadata:o4,settings:X$});var sE={};Z(sE,{init:()=>y2e,metadata:()=>c4,name:()=>hq,settings:()=>gq});var fq=o(P(),1);var yh=o(P(),1),iq=o(U(),1),vm=o(T(),1),Jl=o(M(),1);var J$=o(U(),1),l4=o(T(),1),eq=o(M(),1),tq=o(V(),1),rq=o(P(),1),sd=o(v(),1),g2e=`
	html,body,:root {
		margin: 0 !important;
		padding: 0 !important;
		overflow: visible !important;
		min-height: auto !important;
	}
`;function s4({content:e,isSelected:t}){let r=(0,tq.useSelect)(n=>n(l4.store).getSettings().styles,[]),a=(0,J$.useMemo)(()=>[g2e,...(0,l4.transformStyles)((r??[]).filter(n=>n.css))],[r]);return(0,sd.jsxs)(sd.Fragment,{children:[(0,sd.jsx)(eq.SandBox,{html:e,styles:a,title:(0,rq.__)("Custom HTML Preview"),tabIndex:-1}),!t&&(0,sd.jsx)("div",{className:"block-library-html__preview-overlay"})]})}var xi=o(P(),1),pv=o(U(),1),aq=o(V(),1),ta=o(M(),1),bh=o(T(),1);var nq=o(me(),1);function oq(e=""){if(!e||!e.trim())return{html:"",css:"",js:""};let t=document.implementation.createHTMLDocument("");t.body.innerHTML=e;let r=t.body.querySelector('style[data-wp-block-html="css"]'),a=r?r.textContent.trim():"";r&&r.remove();let n=t.body.querySelector('script[data-wp-block-html="js"]'),i=n?n.textContent.trim():"";return n&&n.remove(),{html:t.body.innerHTML.trim(),css:a,js:i}}function iE({html:e="",css:t="",js:r=""}){let a=[];return t.trim()&&a.push(`<style data-wp-block-html="css">
${t}
</style>`),r.trim()&&a.push(`<script data-wp-block-html="js">
${r}
<\/script>`),e.trim()&&a.push(e),a.join(`

`)}var Ct=o(v(),1),{Tabs:gm}=K(ta.privateApis);function lE({isOpen:e,onRequestClose:t,content:r,setAttributes:a}){let{html:n,css:i,js:l}=oq(r),[s,c]=(0,pv.useState)(n),[u,m]=(0,pv.useState)(i),[p,d]=(0,pv.useState)(l),[f,h]=(0,pv.useState)(!1),g=(0,nq.useViewportMatch)("small","<"),{canUserUseUnfilteredHTML:b}=(0,aq.useSelect)(S=>({canUserUseUnfilteredHTML:S(bh.store).getSettings().__experimentalCanUserUseUnfilteredHTML}),[]),y=!b&&(i.trim()||l.trim());if(!e)return null;let k=()=>{a({content:iE({html:s,css:b?u:"",js:b?p:""})})},_=()=>{k(),t()},x=()=>{h(S=>!S)};return(0,Ct.jsx)(Ct.Fragment,{children:(0,Ct.jsx)(ta.Modal,{title:(0,xi.__)("Edit HTML"),onRequestClose:t,className:"block-library-html__modal",size:"large",isDismissible:!1,shouldCloseOnClickOutside:!1,isFullScreen:f,__experimentalHideHeader:!0,children:(0,Ct.jsx)(gm,{orientation:"horizontal",defaultTabId:"html",children:(0,Ct.jsxs)(ta.__experimentalVStack,{expanded:!0,children:[(0,Ct.jsxs)(ta.__experimentalHStack,{justify:"space-between",className:"block-library-html__modal-header",children:[(0,Ct.jsx)("div",{children:(0,Ct.jsxs)(gm.TabList,{children:[(0,Ct.jsx)(gm.Tab,{tabId:"html",children:"HTML"}),b&&(0,Ct.jsx)(gm.Tab,{tabId:"css",children:"CSS"}),b&&(0,Ct.jsx)(gm.Tab,{tabId:"js",children:(0,xi.__)("JavaScript")})]})}),!g&&(0,Ct.jsx)("div",{children:(0,Ct.jsx)(ta.Button,{__next40pxDefaultSize:!0,icon:f?tB:kp,label:(0,xi.__)("Enable/disable fullscreen"),onClick:x,variant:"tertiary"})})]}),y&&(0,Ct.jsx)(ta.Notice,{status:"warning",isDismissible:!1,className:"block-library-html__modal-notice",children:(0,xi.__)("This block contains CSS or JavaScript that will be removed when you save because you do not have permission to use unfiltered HTML.")}),(0,Ct.jsxs)(ta.Flex,{direction:g?"column":"row",className:"block-library-html__modal-tabs",align:"stretch",gap:8,children:[(0,Ct.jsxs)("div",{className:"block-library-html__modal-content",children:[(0,Ct.jsx)(gm.TabPanel,{tabId:"html",focusable:!1,className:"block-library-html__modal-tab",children:(0,Ct.jsx)(bh.PlainText,{value:s,onChange:c,placeholder:(0,xi.__)("Write HTML\u2026"),"aria-label":(0,xi.__)("HTML"),className:"block-library-html__modal-editor"})}),b&&(0,Ct.jsx)(gm.TabPanel,{tabId:"css",focusable:!1,className:"block-library-html__modal-tab",children:(0,Ct.jsx)(bh.PlainText,{value:u,onChange:m,placeholder:(0,xi.__)("Write CSS\u2026"),"aria-label":(0,xi.__)("CSS"),className:"block-library-html__modal-editor"})}),b&&(0,Ct.jsx)(gm.TabPanel,{tabId:"js",focusable:!1,className:"block-library-html__modal-tab",children:(0,Ct.jsx)(bh.PlainText,{value:p,onChange:d,placeholder:(0,xi.__)("Write JavaScript\u2026"),"aria-label":(0,xi.__)("JavaScript"),className:"block-library-html__modal-editor"})})]}),(0,Ct.jsx)("div",{className:"block-library-html__preview",children:(0,Ct.jsx)(s4,{content:iE({html:s,css:u,js:p})})})]}),(0,Ct.jsxs)(ta.__experimentalHStack,{alignment:"center",justify:"flex-end",spacing:4,className:"block-library-html__modal-footer",children:[(0,Ct.jsx)(ta.Button,{__next40pxDefaultSize:!0,variant:"tertiary",onClick:t,children:(0,xi.__)("Cancel")}),(0,Ct.jsx)(ta.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:_,children:(0,xi.__)("Update")})]})]})})})})}var Ta=o(v(),1);function lq({attributes:e,setAttributes:t,isSelected:r}){let[a,n]=(0,iq.useState)(!1),i=(0,vm.useBlockProps)({className:"block-library-html__edit"});return e.content?.trim()?(0,Ta.jsxs)("div",{...i,children:[(0,Ta.jsx)(vm.BlockControls,{children:(0,Ta.jsx)(Jl.ToolbarGroup,{children:(0,Ta.jsx)(Jl.ToolbarButton,{onClick:()=>n(!0),children:(0,yh.__)("Edit code")})})}),(0,Ta.jsx)(vm.InspectorControls,{children:(0,Ta.jsx)(Jl.__experimentalVStack,{className:"block-editor-block-inspector-edit-contents",expanded:!0,children:(0,Ta.jsx)(Jl.Button,{className:"block-editor-block-inspector-edit-contents__button",__next40pxDefaultSize:!0,variant:"secondary",onClick:()=>n(!0),children:(0,yh.__)("Edit code")})})}),(0,Ta.jsx)(s4,{content:e.content,isSelected:r}),(0,Ta.jsx)(lE,{isOpen:a,onRequestClose:()=>n(!1),content:e.content,setAttributes:t})]}):(0,Ta.jsxs)("div",{...i,children:[(0,Ta.jsx)(Jl.Placeholder,{icon:(0,Ta.jsx)(vm.BlockIcon,{icon:B0}),label:(0,yh.__)("Custom HTML"),instructions:(0,yh.__)("Add custom HTML code and preview how it looks."),children:(0,Ta.jsx)(Jl.Button,{__next40pxDefaultSize:!0,variant:"primary",onClick:()=>n(!0),children:(0,yh.__)("Edit HTML")})}),(0,Ta.jsx)(lE,{isOpen:a,onRequestClose:()=>n(!1),content:e.content,setAttributes:t})]})}var c4={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/html",title:"Custom HTML",category:"widgets",description:"Add custom HTML code and preview it as you edit.",keywords:["embed"],textdomain:"default",attributes:{content:{type:"string",source:"raw",role:"content"}},supports:{customClassName:!1,className:!1,html:!1,interactivity:{clientNavigation:!0},customCSS:!1,visibility:!1},editorStyle:"wp-block-html-editor"};var sq=o(U(),1),cq=o(v(),1);function uq({attributes:e}){return(0,cq.jsx)(sq.RawHTML,{children:e.content})}var mq=o(W(),1),pq=o(em(),1),b2e={from:[{type:"block",blocks:["core/code"],transform:({content:e})=>(0,mq.createBlock)("core/html",{content:(0,pq.create)({html:e}).text})}]},dq=b2e;var{name:hq}=c4,gq={icon:dT,example:{attributes:{content:"<marquee>"+(0,fq.__)("Welcome to the wonderful world of blocks\u2026")+"</marquee>"}},edit:lq,save:uq,transforms:dq},y2e=()=>E({name:hq,metadata:c4,settings:gq});var pE={};Z(pE,{init:()=>S2e,metadata:()=>m4,name:()=>Pq,settings:()=>Bq});var Xs=o(P(),1),ki=o(M(),1),ra=o(T(),1),kq=o(U(),1),kh=o(L(),1),wq=o(V(),1),Cq=o(Q(),1);var _q=o(P(),1),u4=o(M(),1),xh=o(U(),1),xq=o(me(),1);var cE=o(P(),1),vq=o(M(),1);var Ys=o(v(),1);function bq({icons:e,onChange:t,attributes:r}){return(0,Ys.jsx)("div",{className:"wp-block-icon__inserter-grid",children:e?.length?(0,Ys.jsx)("div",{className:"wp-block-icon__inserter-grid-icons-list","aria-label":(0,cE.__)("Icon library"),children:e.map(a=>(0,Ys.jsxs)(vq.Button,{className:"wp-block-icon__inserter-grid-icons-list-item",onClick:()=>t(a.name),variant:a.name===r?.icon?"primary":void 0,__next40pxDefaultSize:!0,children:[(0,Ys.jsx)("span",{className:"wp-block-icon__inserter-grid-icons-list-item-icon",children:(0,Ys.jsx)(uo,{html:a.content,wrapperProps:{style:{width:"24px"}}})}),(0,Ys.jsx)("span",{className:"wp-block-icon__inserter-grid-icons-list-item-title",children:a.label})]},a.name))}):(0,Ys.jsx)("div",{className:"wp-block-icon__inserter-grid-no-results",children:(0,Ys.jsx)("p",{children:(0,cE.__)("No results found.")})})})}var yq=o(rv(),1);function _h(e=""){return e=(0,yq.default)(e),e=e.trim().toLowerCase(),e}function _2e(e,t){let r=_h(t),a=_h(e.title),n=0;return r===a?n+=30:a.startsWith(r)?n+=20:r.split(" ").every(s=>a.includes(s))&&(n+=10),n}function dv(e=[],t=""){if(!t)return e;let r=e.map(a=>[a,_2e(a,t)]).filter(([,a])=>a>0);return r.sort(([,a],[,n])=>n-a),r.map(([a])=>a)}var cd=o(v(),1);function uE({icons:e=[],setInserterOpen:t,attributes:r,setAttributes:a}){let[n,i]=(0,xh.useState)(""),l=(0,xq.useDebounce)(i,300),s=(0,xh.useCallback)(u=>{a({icon:u}),t(!1)},[a,t]),c=(0,xh.useMemo)(()=>{if(n){let u=_h(n);return e.filter(m=>{let p=_h(m.name),d=_h(m.label);return p.includes(u)||d.includes(u)})}return e},[n,e]);return(0,cd.jsx)(u4.Modal,{className:"wp-block-icon__inserter-modal",title:(0,_q.__)("Icon library"),onRequestClose:()=>t(!1),isFullScreen:!0,children:(0,cd.jsxs)("div",{className:"wp-block-icon__inserter",children:[(0,cd.jsx)("div",{className:"wp-block-icon__inserter-header",children:(0,cd.jsx)(u4.SearchControl,{value:n,onChange:l})}),(0,cd.jsx)(bq,{icons:c,onChange:s,attributes:r})]})})}var Yt=o(v(),1),x2e=({className:e,style:t})=>(0,Yt.jsxs)(kh.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60",preserveAspectRatio:"none",fill:"none","aria-hidden":"true",className:w("wp-block-icon__placeholder",e),style:t,children:[(0,Yt.jsx)(kh.Rect,{width:"60",height:"60",fill:"currentColor",fillOpacity:.1}),(0,Yt.jsx)(kh.Path,{vectorEffect:"non-scaling-stroke",stroke:"currentColor",strokeOpacity:.25,d:"M60 60 0 0"})]});function k2e({attributes:e,setAttributes:t}){let{icon:r,ariaLabel:a}=e,[n,i]=(0,kq.useState)(!1),l=(0,ra.useBlockEditingMode)()==="contentOnly",s=(0,ra.__experimentalUseColorProps)(e),c=(0,ra.__experimentalGetSpacingClassesAndStyles)(e),u=(0,ra.__experimentalUseBorderProps)(e),m=(0,ra.getDimensionsClassesAndStyles)(e),{selectedIcon:p,allIcons:d=[]}=(0,wq.useSelect)(y=>{let{getEntityRecord:k,getEntityRecords:_}=y(Cq.store);return{selectedIcon:r?k("root","icon",r):null,allIcons:n?_("root","icon",{per_page:-1}):void 0}},[n,r]),f=p?.content||"",h=(0,Yt.jsxs)(Yt.Fragment,{children:[(0,Yt.jsx)(ra.BlockControls,{group:l?"inline":"other",children:(0,Yt.jsx)(ki.ToolbarButton,{onClick:()=>{i(!0)},children:r?(0,Xs.__)("Replace"):(0,Xs.__)("Choose icon")})}),l&&r&&(0,Yt.jsx)(ra.BlockControls,{group:"other",children:(0,Yt.jsx)(ki.ToolbarGroup,{className:"components-toolbar-group",children:(0,Yt.jsx)(ki.DropdownMenu,{icon:"",popoverProps:{className:"is-alternate"},text:(0,Xs.__)("Label"),children:()=>(0,Yt.jsx)(ki.TextControl,{className:"wp-block-icon__toolbar-content",label:(0,Xs.__)("Label"),value:a||"",onChange:y=>t({ariaLabel:y}),help:(0,Xs.__)("Briefly describe the icon to help screen reader users. Leave blank for decorative icons."),__next40pxDefaultSize:!0})})})})]}),g=q(),b=r&&(0,Yt.jsx)(Yt.Fragment,{children:(0,Yt.jsx)(ra.InspectorControls,{group:"settings",children:(0,Yt.jsx)(ki.__experimentalToolsPanel,{label:(0,Xs.__)("Settings"),resetAll:()=>t({ariaLabel:void 0}),dropdownMenuProps:g,children:(0,Yt.jsx)(ki.__experimentalToolsPanelItem,{label:(0,Xs.__)("Label"),isShownByDefault:!0,hasValue:()=>!!a,onDeselect:()=>t({ariaLabel:void 0}),children:(0,Yt.jsx)(ki.TextControl,{label:(0,Xs.__)("Label"),help:(0,Xs.__)("Briefly describe the icon to help screen reader users. Leave blank for decorative icons."),value:a||"",onChange:y=>t({ariaLabel:y}),__next40pxDefaultSize:!0})})})})});return(0,Yt.jsxs)(Yt.Fragment,{children:[h,b,(0,Yt.jsx)("div",{...(0,ra.useBlockProps)(),children:r?(0,Yt.jsx)(uo,{html:f,wrapperProps:{className:w(s.className,u.className,c.className,m.className),style:{...s.style,...u.style,...c.style,...m.style}}}):(0,Yt.jsx)(x2e,{className:w(u.className,c.className,m.className),style:{...u.style,...c.style,...m.style,height:"auto"}})}),n&&(0,Yt.jsx)(uE,{icons:d,setInserterOpen:i,attributes:e,setAttributes:t})]})}var Sq=k2e;var m4={apiVersion:3,$schema:"https://schemas.wp.org/trunk/block.json",name:"core/icon",title:"Icon",category:"media",description:"Insert an SVG icon.",keywords:["icon","svg"],textdomain:"default",attributes:{icon:{type:"string",role:"content"}},supports:{anchor:!0,ariaLabel:{__experimentalSkipSerialization:!0},align:["left","center","right"],html:!1,color:{background:!0,text:!0,__experimentalSkipSerialization:!0},interactivity:{clientNavigation:!0},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!1,radius:!1,style:!1,width:!1}},spacing:{padding:!0,margin:!0,__experimentalSkipSerialization:["padding"],__experimentalDefaultControls:{margin:!1,padding:!1}},dimensions:{width:!0,__experimentalSkipSerialization:["width"],__experimentalDefaultControls:{width:!0}}},selectors:{root:".wp-block-icon svg",css:".wp-block-icon",spacing:{margin:".wp-block-icon"}},style:"wp-block-icon",editorStyle:"wp-block-icon-editor"};var p4=o(M(),1),mE=o(v(),1),C2e=(0,mE.jsx)(p4.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",children:(0,mE.jsx)(p4.Path,{d:"M6 9.5h3.5V6H6v3.5Zm5 .5a1 1 0 0 1-.898.995L10 11H5.5l-.103-.005a1 1 0 0 1-.892-.893L4.5 10V5.5a1 1 0 0 1 1-1H10a1 1 0 0 1 1 1V10ZM18.25 7.75a2 2 0 1 0-4 0 2 2 0 0 0 4 0Zm1.5 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0ZM6.88 13.535a1 1 0 0 1 1.74 0l2.534 4.472a1 1 0 0 1-.87 1.493H5.216a1 1 0 0 1-.87-1.493l2.534-4.472ZM6.074 18h3.352L7.75 15.041l-1.676 2.96ZM14.952 13h2.596a1 1 0 0 1 .866.5l1.298 2.25a1 1 0 0 1 0 1L18.414 19l-.074.11a1 1 0 0 1-.792.39h-2.596a1 1 0 0 1-.792-.39l-.074-.11-1.298-2.25a1.001 1.001 0 0 1 0-1l1.298-2.25a1 1 0 0 1 .866-.5Zm-.72 3.25 1.01 1.75h2.017l1.009-1.75-1.01-1.75h-2.017l-1.01 1.75Z"})}),Tq=C2e;var{name:Pq}=m4,Bq={icon:Tq,example:{attributes:{icon:"core/audio",style:{dimensions:{width:"48px"}}}},edit:Sq},S2e=()=>E({name:Pq,metadata:m4,settings:Bq});var gE={};Z(gE,{init:()=>$2e,metadata:()=>b4,name:()=>Jq,settings:()=>_4});var md=o(P(),1);var Xq=o(W(),1);var vt=o(T(),1),De=o(v(),1),T2e={attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,width:l,height:s}=e,u=(0,De.jsx)("img",{src:t,alt:r,...l||s?{width:l,height:s}:{}}),m={};return l?m={width:l}:(n==="left"||n==="right")&&(m={maxWidth:"50%"}),(0,De.jsxs)("figure",{className:n?`align${n}`:null,style:m,children:[i?(0,De.jsx)("a",{href:i,children:u}):u,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{tagName:"figcaption",value:a})]})}},P2e={attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,width:l,height:s,id:c}=e,u=(0,De.jsx)("img",{src:t,alt:r,className:c?`wp-image-${c}`:null,width:l,height:s});return(0,De.jsxs)("figure",{className:n?`align${n}`:null,children:[i?(0,De.jsx)("a",{href:i,children:u}):u,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{tagName:"figcaption",value:a})]})}},B2e={attributes:{url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"array",source:"children",selector:"figcaption"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},id:{type:"number"},align:{type:"string"},width:{type:"number"},height:{type:"number"},linkDestination:{type:"string",default:"none"}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,width:l,height:s,id:c}=e,u=w({[`align${n}`]:n,"is-resized":l||s}),m=(0,De.jsx)("img",{src:t,alt:r,className:c?`wp-image-${c}`:null,width:l,height:s});return(0,De.jsxs)("figure",{className:u,children:[i?(0,De.jsx)("a",{href:i,children:m}):m,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{tagName:"figcaption",value:a})]})}},I2e={attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,id:m,linkTarget:p,sizeSlug:d,title:f}=e,h=l||void 0,g=w({[`align${n}`]:n,[`size-${d}`]:d,"is-resized":c||u}),b=(0,De.jsx)("img",{src:t,alt:r,className:m?`wp-image-${m}`:null,width:c,height:u,title:f}),y=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)("a",{className:s,href:i,target:p,rel:h,children:b}):b,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{tagName:"figcaption",value:a})]});return n==="left"||n==="right"||n==="center"?(0,De.jsx)("div",{...vt.useBlockProps.save(),children:(0,De.jsx)("figure",{className:g,children:y})}):(0,De.jsx)("figure",{...vt.useBlockProps.save({className:g}),children:y})}},N2e={attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption"},title:{type:"string",source:"attribute",selector:"img",attribute:"title"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number"},width:{type:"number"},height:{type:"number"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,color:{__experimentalDuotone:"img",text:!1,background:!1},__experimentalBorder:{radius:!0,__experimentalDefaultControls:{radius:!0}},__experimentalStyle:{spacing:{margin:"0 0 1em 0"}}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,id:m,linkTarget:p,sizeSlug:d,title:f}=e,h=l||void 0,g=w({[`align${n}`]:n,[`size-${d}`]:d,"is-resized":c||u}),b=(0,De.jsx)("img",{src:t,alt:r,className:m?`wp-image-${m}`:null,width:c,height:u,title:f}),y=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)("a",{className:s,href:i,target:p,rel:h,children:b}):b,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{tagName:"figcaption",value:a})]});return(0,De.jsx)("figure",{...vt.useBlockProps.save({className:g}),children:y})}},E2e={attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src",role:"content"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:"",role:"content"},caption:{type:"string",source:"html",selector:"figcaption",role:"content"},title:{type:"string",source:"attribute",selector:"img",attribute:"title",role:"content"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href",role:"content"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number",role:"content"},width:{type:"number"},height:{type:"number"},aspectRatio:{type:"string"},scale:{type:"string"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}}},migrate(e){let{height:t,width:r}=e;return{...e,width:typeof r=="number"?`${r}px`:r,height:typeof t=="number"?`${t}px`:t}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,id:d,linkTarget:f,sizeSlug:h,title:g}=e,b=l||void 0,y=(0,vt.__experimentalGetBorderClassesAndStyles)(e),k=w({[`align${n}`]:n,[`size-${h}`]:h,"is-resized":c||u,"has-custom-border":!!y.className||y.style&&Object.keys(y.style).length>0}),_=w(y.className,{[`wp-image-${d}`]:!!d}),x=(0,De.jsx)("img",{src:t,alt:r,className:_||void 0,style:{...y.style,aspectRatio:m,objectFit:p},width:c,height:u,title:g}),S=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)("a",{className:s,href:i,target:f,rel:b,children:x}):x,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{className:(0,vt.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:a})]});return(0,De.jsx)("figure",{...vt.useBlockProps.save({className:k}),children:S})}},D2e={attributes:{align:{type:"string"},url:{type:"string",source:"attribute",selector:"img",attribute:"src",role:"content"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:"",role:"content"},caption:{type:"string",source:"html",selector:"figcaption",role:"content"},title:{type:"string",source:"attribute",selector:"img",attribute:"title",role:"content"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href",role:"content"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number",role:"content"},width:{type:"number"},height:{type:"number"},aspectRatio:{type:"string"},scale:{type:"string"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}}},migrate({width:e,height:t,...r}){return{...r,width:`${e}px`,height:`${t}px`}},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,id:d,linkTarget:f,sizeSlug:h,title:g}=e,b=l||void 0,y=(0,vt.__experimentalGetBorderClassesAndStyles)(e),k=w({[`align${n}`]:n,[`size-${h}`]:h,"is-resized":c||u,"has-custom-border":!!y.className||y.style&&Object.keys(y.style).length>0}),_=w(y.className,{[`wp-image-${d}`]:!!d}),x=(0,De.jsx)("img",{src:t,alt:r,className:_||void 0,style:{...y.style,aspectRatio:m,objectFit:p,width:c,height:u},width:c,height:u,title:g}),S=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)("a",{className:s,href:i,target:f,rel:b,children:x}):x,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{className:(0,vt.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:a})]});return(0,De.jsx)("figure",{...vt.useBlockProps.save({className:k}),children:S})}},L2e={attributes:{align:{type:"string"},behaviors:{type:"object"},url:{type:"string",source:"attribute",selector:"img",attribute:"src",role:"content"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:"",role:"content"},caption:{type:"string",source:"html",selector:"figcaption",role:"content"},title:{type:"string",source:"attribute",selector:"img",attribute:"title",role:"content"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href",role:"content"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number",role:"content"},width:{type:"string"},height:{type:"string"},aspectRatio:{type:"string"},scale:{type:"string"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}}},migrate({width:e,height:t,...r}){if(!r.behaviors?.lightbox)return r;let{behaviors:{lightbox:{enabled:a}}}=r,n={...r,lightbox:{enabled:a}};return delete n.behaviors,n},isEligible(e){return!!e.behaviors},save({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,id:d,linkTarget:f,sizeSlug:h,title:g}=e,b=l||void 0,y=(0,vt.__experimentalGetBorderClassesAndStyles)(e),k=w({[`align${n}`]:n,[`size-${h}`]:h,"is-resized":c||u,"has-custom-border":!!y.className||y.style&&Object.keys(y.style).length>0}),_=w(y.className,{[`wp-image-${d}`]:!!d}),x=(0,De.jsx)("img",{src:t,alt:r,className:_||void 0,style:{...y.style,aspectRatio:m,objectFit:p,width:c,height:u},title:g}),S=(0,De.jsxs)(De.Fragment,{children:[i?(0,De.jsx)("a",{className:s,href:i,target:f,rel:b,children:x}):x,!vt.RichText.isEmpty(a)&&(0,De.jsx)(vt.RichText.Content,{className:(0,vt.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:a})]});return(0,De.jsx)("figure",{...vt.useBlockProps.save({className:k}),children:S})}},Iq=[L2e,D2e,E2e,N2e,I2e,B2e,P2e,T2e];var hv=o(Rr(),1),fv=o(W(),1),Gq=o(M(),1),ud=o(V(),1),on=o(T(),1),bm=o(U(),1),Js=o(P(),1);var Wq=o(xr(),1),$q=o(me(),1),v4=o(mr(),1),qq=o(Eq(),1);var Rq=o(Rr(),1),Le=o(M(),1),Ch=o(me(),1),ou=o(V(),1),yt=o(T(),1),Nr=o(U(),1),Se=o(P(),1),fE=o(mr(),1),wh=o(W(),1);var zq=o(xr(),1),h4=o(Q(),1);var Vn=o(M(),1),d4=o(T(),1),Dq=o(P(),1),Lq=o(V(),1),wi=o(v(),1);function dE({url:e,alt:t,filename:r,itemGroupProps:a,className:n}){return(0,wi.jsx)(Vn.__experimentalItemGroup,{...a,as:"span",children:(0,wi.jsxs)(Vn.__experimentalHStack,{justify:"flex-start",as:"span",children:[(0,wi.jsx)("img",{src:e,alt:t}),(0,wi.jsx)(Vn.FlexItem,{as:"span",children:(0,wi.jsx)(Vn.__experimentalTruncate,{numberOfLines:1,className:n,children:r})})]})})}function f4({mediaId:e,mediaUrl:t,alt:r="",filename:a,allowedTypes:n,onSelect:i,onSelectURL:l,onError:s,onReset:c,isUploading:u=!1,emptyLabel:m=(0,Dq.__)("Add media")}){let{getSettings:p}=(0,Lq.useSelect)(d4.store);return(0,wi.jsxs)("div",{className:"block-library-utils__media-control",children:[(0,wi.jsx)(d4.MediaReplaceFlow,{mediaId:e,mediaURL:t,allowedTypes:n,onSelect:i,onSelectURL:l,onError:s,name:t?(0,wi.jsx)(dE,{url:t,alt:r,filename:a}):m,renderToggle:f=>(0,wi.jsx)(Vn.Button,{...f,__next40pxDefaultSize:!0,children:u?(0,wi.jsx)(Vn.Spinner,{}):f.children}),onReset:c}),(0,wi.jsx)(Vn.DropZone,{onFilesDrop:f=>{let{mediaUpload:h}=p();h&&h({allowedTypes:n,filesList:f,onFileChange([g]){i(g)},onError:s,multiple:!1})}})]})}var re=o(v(),1),{DimensionsTool:Mq,ResolutionTool:M2e}=K(yt.privateApis),A2e=[{value:"cover",label:(0,Se._x)("Cover","Scale option for dimensions control"),help:(0,Se.__)("Image covers the space evenly.")},{value:"contain",label:(0,Se._x)("Contain","Scale option for dimensions control"),help:(0,Se.__)("Image is contained without distortion.")}],R2e={placement:"bottom-start"},Aq=({href:e,children:t})=>e?(0,re.jsx)("a",{href:e,onClick:r=>r.preventDefault(),"aria-disabled":!0,style:{pointerEvents:"none",cursor:"default",display:"inline"},children:t}):t;function z2e({attributes:e,setAttributes:t,lockAltControls:r,lockAltControlsMessage:a,lockTitleControls:n,lockTitleControlsMessage:i}){let[l,s]=(0,Nr.useState)(null),[c,u]=(0,Nr.useState)(!1),[m,p]=(0,Nr.useState)(!1);return(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.ToolbarItem,{ref:s,children:d=>(0,re.jsx)(Le.DropdownMenu,{icon:bp,label:(0,Se.__)("More"),toggleProps:{...d,description:(0,Se.__)("Displays more controls.")},popoverProps:R2e,children:({onClose:f})=>(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.MenuItem,{onClick:()=>{u(!0),f()},"aria-haspopup":"dialog",children:(0,Se._x)("Alternative text","Alternative text for an image. Block toolbar label, a low character count is preferred.")}),(0,re.jsx)(Le.MenuItem,{onClick:()=>{p(!0),f()},"aria-haspopup":"dialog",children:(0,Se.__)("Title text")})]})})}),c&&(0,re.jsx)(Le.Popover,{placement:"bottom-start",anchor:l,onClose:()=>u(!1),offset:13,variant:"toolbar",children:(0,re.jsx)("div",{className:"wp-block-image__toolbar_content_textarea__container",children:(0,re.jsx)(Le.TextareaControl,{className:"wp-block-image__toolbar_content_textarea",label:(0,Se.__)("Alternative text"),value:e.alt||"",onChange:d=>t({alt:d}),disabled:r,help:r?(0,re.jsx)(re.Fragment,{children:a}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.ExternalLink,{href:(0,Se.__)("https://www.w3.org/WAI/tutorials/images/decision-tree/"),children:(0,Se.__)("Describe the purpose of the image.")}),(0,re.jsx)("br",{}),(0,Se.__)("Leave empty if decorative.")]})})})}),m&&(0,re.jsx)(Le.Popover,{placement:"bottom-start",anchor:l,onClose:()=>p(!1),offset:13,variant:"toolbar",children:(0,re.jsx)("div",{className:"wp-block-image__toolbar_content_textarea__container",children:(0,re.jsx)(Le.TextControl,{__next40pxDefaultSize:!0,className:"wp-block-image__toolbar_content_textarea",label:(0,Se.__)("Title attribute"),value:e.title||"",onChange:d=>t({title:d}),disabled:n,help:n?(0,re.jsx)(re.Fragment,{children:i}):(0,Nr.createInterpolateElement)((0,Se.__)("Describe the role of this image on the page. <a>(Note: many devices and browsers do not display this text.)</a>"),{a:(0,re.jsx)(Le.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"})})})})})]})}function Vq({temporaryURL:e,isSideloading:t,attributes:r,setAttributes:a,isSingleSelected:n,insertBlocksAfter:i,onReplace:l,onSelectImage:s,onSelectURL:c,onUploadError:u,context:m,clientId:p,blockEditingMode:d,parentLayoutType:f,maxContentWidth:h}){let{url:g="",alt:b,align:y,id:k,href:_,rel:x,linkClass:S,linkDestination:C,title:N,width:B,height:D,aspectRatio:A,scale:H,focalPoint:F,linkTarget:z,sizeSlug:I,lightbox:R,metadata:$}=r,[j,G]=(0,Nr.useState)(),[O,J]=(0,Nr.useState)(null),[ee,oe]=(0,Nr.useState)({}),[X,te]=(0,Nr.useState)(0),ne=(0,Ch.useResizeObserver)(([ge])=>{if(!O){let[Lt]=ge.borderBoxSize;oe({width:Lt.inlineSize,height:Lt.blockSize})}te(ge.target.offsetTop)}),le=(0,Nr.useCallback)(()=>{te(j?.offsetTop??0)},[j]),pe=(0,Ch.useMergeRefs)([G,ne]),{allowResize:Ie=!0}=m,{image:Ne,canUserEdit:ae}=(0,ou.useSelect)(ge=>{let Lt=k&&n?ge(h4.store).getEntityRecord("postType","attachment",k,{context:"view"}):null,ti=!1;if(k&&n&&window?.__experimentalMediaEditor){let{getEntityRecordPermissions:ba}=K(ge(h4.store));ti=ba("postType","attachment",k)?.update||!1}return{image:Lt,canUserEdit:ti}},[k,n]),{canInsertCover:Re,imageEditing:Ee,imageSizes:ie,maxWidth:fe}=(0,ou.useSelect)(ge=>{let{getBlockRootClientId:Lt,canInsertBlockType:ti,getSettings:ba}=ge(yt.store),wf=Lt(p),mp=ba();return{imageEditing:mp.imageEditing,imageSizes:mp.imageSizes,maxWidth:mp.maxWidth,canInsertCover:ti("core/cover",wf)}},[p]),{getBlock:ke,getSettings:je}=(0,ou.useSelect)(yt.store),de=je().onNavigateToEntityRecord,{replaceBlocks:ct,toggleSelection:at}=(0,ou.useDispatch)(yt.store),{createErrorNotice:kt,createSuccessNotice:Wr}=(0,ou.useDispatch)(zq.store),{editEntityRecord:ut}=(0,ou.useDispatch)(h4.store),br=(0,Ch.useViewportMatch)("medium"),mt=["wide","full"].includes(y),[{loadedNaturalWidth:wo,loadedNaturalHeight:Y},ze]=(0,Nr.useState)({}),[Me,Xe]=(0,Nr.useState)(!1),[Te,Bt]=(0,Nr.useState)(),[yr,xn]=(0,Nr.useState)(!1),Je=d==="default",$r=d==="contentOnly",ip=Ie&&Je,Cs=Ie&&Je&&!mt&&br,Ru=ie.filter(({slug:ge})=>Ne?.media_details?.sizes?.[ge]?.source_url).map(({name:ge,slug:Lt})=>({value:Lt,label:ge}));(0,Nr.useEffect)(()=>{if(!g4(k,g)||!n||!je().mediaUpload){Bt();return}Te||window.fetch(g.includes("?")?g:g+"?").then(ge=>ge.blob()).then(ge=>Bt(ge)).catch(()=>{})},[k,g,n,Te,je]);let{naturalWidth:kn,naturalHeight:ja}=(0,Nr.useMemo)(()=>({naturalWidth:j?.naturalWidth||wo||void 0,naturalHeight:j?.naturalHeight||Y||void 0}),[wo,Y,j?.complete]);function gf(){xn(!0);let ge=Yu({attributes:{url:g}});ge!==void 0&&l(ge)}function zu(ge){xn(!1),ze({loadedNaturalWidth:ge.target?.naturalWidth,loadedNaturalHeight:ge.target?.naturalHeight})}function Ss(ge){a(ge)}function Ts(ge){ge&&!Ps?.enabled?a({lightbox:{enabled:!0}}):!ge&&Ps?.enabled?a({lightbox:{enabled:!1}}):a({lightbox:void 0})}function Pe(){Ps?.enabled&&Ps?.allowEditing?a({lightbox:{enabled:!1}}):a({lightbox:void 0})}function Ht(ge){a({title:ge})}function qr(ge){a({alt:ge})}let Co=ge=>{j&&j.style.setProperty("object-position",iv(ge))};function So(ge){let Lt=Ne?.media_details?.sizes?.[ge]?.source_url;if(!Lt)return null;a({url:Lt,sizeSlug:ge})}function Sl(){let{mediaUpload:ge}=je();ge&&ge({filesList:[Te],onFileChange([Lt]){s(Lt),!(0,Rq.isBlobURL)(Lt.url)&&(Bt(),Wr((0,Se.__)("Image uploaded."),{type:"snackbar"}))},allowedTypes:tu,onError(Lt){kt(Lt,{type:"snackbar"})}})}(0,Nr.useEffect)(()=>{n||Xe(!1)},[n]);let qi=k&&kn&&ja&&Ee,Zi=n&&qi&&!Me&&!$r;function vf(){ct(p,(0,wh.switchToBlockType)(ke(p),"core/cover"))}let zc=(0,Le.__experimentalUseCustomUnits)({availableUnits:["px"]}),[Ps]=(0,yt.useSettings)("lightbox"),bf=!!R&&R?.enabled!==Ps?.enabled||Ps?.allowEditing,lp=!!R?.enabled||!R&&!!Ps?.enabled,sp=q(),yf=ip&&(HN.includes(f)?(0,re.jsx)(Mq,{panelId:p,value:{aspectRatio:A},onChange:({aspectRatio:ge})=>{a({aspectRatio:ge,scale:"cover"})},defaultAspectRatio:"auto",tools:["aspectRatio"]}):(0,re.jsx)(Mq,{panelId:p,value:{width:B,height:D,scale:H,aspectRatio:A},onChange:({width:ge,height:Lt,scale:ti,aspectRatio:ba})=>{a({width:!ge&&Lt?"auto":ge,height:Lt,scale:ti,aspectRatio:ba})},defaultScale:"cover",defaultAspectRatio:"auto",scaleOptions:A2e,unitsOptions:zc,tools:mt?["aspectRatio","scale"]:["aspectRatio","widthHeight","scale"]})),j7=()=>{a({lightbox:void 0}),So(nv)},_b=$?.bindings?.__default?.source==="core/pattern-overrides",{lockUrlControls:Vc=!1,lockHrefControls:xb=!1,lockAltControls:p0=!1,lockAltControlsMessage:kb,lockTitleControls:_f=!1,lockTitleControlsMessage:cp,hideCaptionControls:xf=!1}=(0,ou.useSelect)(ge=>{if(!n)return{};let{url:Lt,alt:ti,title:ba,caption:wf}=$?.bindings||{},mp=!!m["pattern/overrides"],$7=(0,wh.getBlockBindingsSource)(Lt?.source),Cf=(0,wh.getBlockBindingsSource)(ti?.source),Vu=(0,wh.getBlockBindingsSource)(ba?.source);return{lockUrlControls:!!Lt&&!$7?.canUserEditValue?.({select:ge,context:m,args:Lt?.args}),lockHrefControls:mp||_b,hideCaptionControls:!!wf,lockAltControls:!!ti&&!Cf?.canUserEditValue?.({select:ge,context:m,args:ti?.args}),lockAltControlsMessage:Cf?.label?(0,Se.sprintf)((0,Se.__)("Connected to %s"),Cf.label):(0,Se.__)("Connected to dynamic data"),lockTitleControls:!!ba&&!Vu?.canUserEditValue?.({select:ge,context:m,args:ba?.args}),lockTitleControlsMessage:Vu?.label?(0,Se.sprintf)((0,Se.__)("Connected to %s"),Vu.label):(0,Se.__)("Connected to dynamic data")}},[_b,m,n,$?.bindings]),up=n&&!Me&&!xb&&!Vc,wb=n&&Re&&!$r,tr=up||Zi||wb,Tl=n&&!Me&&!Vc&&(0,re.jsx)(yt.BlockControls,{group:$r?"inline":"other",children:(0,re.jsx)(yt.MediaReplaceFlow,{mediaId:k,mediaURL:g,allowedTypes:tu,onSelect:s,onSelectURL:c,onError:u,name:g?(0,Se.__)("Replace"):(0,Se.__)("Add image"),onReset:()=>s(void 0),variant:"toolbar"})}),Bs=window?.__experimentalContentOnlyInspectorFields,U7=window?.__experimentalMediaEditor&&k&&n&&ae&&!g4(k,g)&&!Me&&de&&(0,re.jsx)(yt.BlockControls,{group:"other",children:(0,re.jsx)(Le.ToolbarButton,{onClick:()=>{de({postId:k,postType:"attachment"})},children:(0,Se.__)("Edit media")})}),G7=(0,re.jsxs)(re.Fragment,{children:[tr&&(0,re.jsxs)(yt.BlockControls,{group:"block",children:[up&&(0,re.jsx)(yt.__experimentalImageURLInputUI,{url:_||"",onChangeUrl:Ss,linkDestination:C,mediaUrl:Ne&&Ne.source_url||g,mediaLink:Ne&&Ne.link,linkTarget:z,linkClass:S,rel:x,showLightboxSetting:bf,lightboxEnabled:lp,onSetLightbox:Ts,resetLightbox:Pe}),Zi&&(0,re.jsx)(Le.ToolbarButton,{onClick:()=>Xe(!0),icon:D0,label:(0,Se.__)("Crop")}),wb&&(0,re.jsx)(Le.ToolbarButton,{icon:UT,label:(0,Se.__)("Add text over image"),onClick:vf})]}),n&&Te&&(0,re.jsx)(yt.BlockControls,{children:(0,re.jsx)(Le.ToolbarGroup,{children:(0,re.jsx)(Le.ToolbarButton,{onClick:Sl,icon:Hc,label:(0,Se.__)("Upload to Media Library")})})}),$r&&(0,re.jsx)(yt.BlockControls,{group:"block",children:(0,re.jsx)(z2e,{attributes:r,setAttributes:a,lockAltControls:p0,lockAltControlsMessage:kb,lockTitleControls:_f,lockTitleControlsMessage:cp})}),!Bs&&n&&(0,re.jsx)(yt.InspectorControls,{group:"content",children:(0,re.jsxs)(Le.__experimentalToolsPanel,{label:(0,Se.__)("Media"),resetAll:()=>s(void 0),dropdownMenuProps:sp,children:[!Vc&&(0,re.jsx)(Le.__experimentalToolsPanelItem,{label:(0,Se.__)("Image"),hasValue:()=>!!g,onDeselect:()=>s(void 0),isShownByDefault:!0,children:(0,re.jsx)(f4,{mediaId:k,mediaUrl:g,alt:b,filename:Ne?.media_details?.sizes?.full?.file||Ne?.slug||(0,fE.getFilename)(g),allowedTypes:tu,onSelect:s,onSelectURL:c,onError:u,onReset:()=>s(void 0),isUploading:!!e||t,emptyLabel:(0,Se.__)("Add image")})}),(0,re.jsx)(Le.__experimentalToolsPanelItem,{label:(0,Se.__)("Alternative text"),isShownByDefault:!0,hasValue:()=>!!b,onDeselect:()=>a({alt:void 0}),children:(0,re.jsx)(Le.TextareaControl,{label:(0,Se.__)("Alternative text"),value:b||"",onChange:qr,readOnly:p0,help:p0?(0,re.jsx)(re.Fragment,{children:kb}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)(Le.ExternalLink,{href:(0,Se.__)("https://www.w3.org/WAI/tutorials/images/decision-tree/"),children:(0,Se.__)("Describe the purpose of the image.")}),(0,re.jsx)("br",{}),(0,Se.__)("Leave empty if decorative.")]})})})]})}),(0,re.jsxs)(yt.InspectorControls,{group:"dimensions",resetAllFilter:ge=>({...ge,aspectRatio:void 0,width:void 0,height:void 0,scale:void 0,focalPoint:void 0}),children:[yf,g&&H&&(0,re.jsx)(Le.__experimentalToolsPanelItem,{label:(0,Se.__)("Focal point"),isShownByDefault:!0,hasValue:()=>!!F,onDeselect:()=>a({focalPoint:void 0}),panelId:p,children:(0,re.jsx)(Le.FocalPointPicker,{label:(0,Se.__)("Focal point"),url:g,value:F,onDragStart:Co,onDrag:Co,onChange:ge=>a({focalPoint:ge})})})]}),!!Ru.length&&(0,re.jsx)(yt.InspectorControls,{children:(0,re.jsx)(Le.__experimentalToolsPanel,{label:(0,Se.__)("Settings"),resetAll:j7,dropdownMenuProps:sp,children:(0,re.jsx)(M2e,{value:I,defaultValue:nv,onChange:So,options:Ru})})}),(0,re.jsx)(yt.InspectorControls,{group:"advanced",children:(0,re.jsx)(Le.TextControl,{__next40pxDefaultSize:!0,label:(0,Se.__)("Title attribute"),value:N||"",onChange:Ht,readOnly:_f,help:_f?(0,re.jsx)(re.Fragment,{children:cp}):(0,Nr.createInterpolateElement)((0,Se.__)("Describe the role of this image on the page. <a>(Note: many devices and browsers do not display this text.)</a>"),{a:(0,re.jsx)(Le.ExternalLink,{href:"https://www.w3.org/TR/html52/dom.html#the-title-attribute"})})})})]}),kf=(0,fE.getFilename)(g),Cb;b?Cb=b:kf?Cb=(0,Se.sprintf)((0,Se.__)("This image has an empty alt attribute; its file name is %s"),kf):Cb=(0,Se.__)("This image has an empty alt attribute");let W7=(0,yt.__experimentalUseBorderProps)(r),Fpe=(0,yt.__experimentalGetShadowClassesAndStyles)(r),Hpe=r.className?.includes("is-style-rounded"),{postType:Ope,postId:BR,queryId:jpe}=m,Upe=Number.isFinite(jpe),Sb=e&&yr?(0,re.jsx)(Le.Placeholder,{className:"wp-block-image__placeholder",withIllustration:!0,children:(0,re.jsx)(Le.Spinner,{})}):(0,re.jsxs)(re.Fragment,{children:[(0,re.jsx)("img",{src:e||g,alt:Cb,onError:gf,onLoad:zu,ref:pe,className:W7.className,width:kn,height:ja,style:{aspectRatio:A,...O?{width:ee.width+O.width,height:ee.height+O.height}:{width:B,height:D},objectFit:H,objectPosition:F&&H?iv(F):void 0,...W7.style,...Fpe.style}}),(e||t)&&(0,re.jsx)(Le.Spinner,{})]});qi&&Me?Sb=(0,re.jsx)(Aq,{href:_,children:(0,re.jsx)(yt.__experimentalImageEditor,{id:k,url:g,...ee,naturalHeight:ja,naturalWidth:kn,onSaveImage:ge=>a(ge),onFinishEditing:()=>{Xe(!1)},borderProps:Hpe?void 0:W7})}):Sb=(0,re.jsx)(Aq,{href:_,children:Sb});let IR;if(Cs&&n&&!Me&&!HN.includes(f)){let ge=A&&YW(A),Lt=ee.width/ee.height,ti=kn/ja,ba=ge||Lt||ti||1,wf=kn<ja?Zs:Zs*ba,mp=ja<kn?Zs:Zs/ba,$7=fe*2.5,Cf=h||$7,Vu=!1,Tb=!1;y==="center"?(Vu=!0,Tb=!0):(0,Se.isRTL)()?y==="left"?Vu=!0:Tb=!0:y==="right"?Tb=!0:Vu=!0,IR=(0,re.jsx)(Le.ResizableBox,{ref:le,style:{position:"absolute",inset:`${X}px 0 0 0`},size:ee,minWidth:wf,maxWidth:Cf,minHeight:mp,maxHeight:Cf/ba,lockAspectRatio:ba,enable:{top:!1,right:Vu,bottom:!0,left:Tb},onResizeStart:()=>{at(!1)},onResize:(Wpe,$pe,q7,Pb)=>{J(Pb)},onResizeStop:(Wpe,$pe,q7,Pb)=>{if(at(!0),J(null),oe(NR=>({width:NR.width+Pb.width,height:NR.height+Pb.height})),h&&kn>=h&&Math.abs(q7.offsetWidth-h)<10){a({width:void 0,height:void 0});return}a({width:`${q7.offsetWidth}px`,height:"auto",aspectRatio:ba===ti?void 0:String(ba)})},resizeRatio:y==="center"?2:1})}if(!g&&!e)return(0,re.jsxs)(re.Fragment,{children:[Tl,G7]});let Gpe=()=>{ut("postType",Ope,BR,{featured_media:k}),Wr((0,Se.__)("Post featured image updated."),{type:"snackbar"})};return(0,re.jsxs)(re.Fragment,{children:[U7,Tl,G7,!Upe&&BR&&k?(0,re.jsx)(yt.BlockSettingsMenuControls,{children:({canEdit:ge,selectedClientIds:Lt})=>ge&&Lt.length===1&&p===Lt[0]&&(0,re.jsx)(Le.MenuItem,{onClick:Gpe,children:(0,Se.__)("Set as featured image")})}):null,Sb,IR,(0,re.jsx)(_a,{attributes:r,setAttributes:a,isSelected:n,insertBlocksAfter:i,label:(0,Se.__)("Image caption text"),showToolbarButton:n&&(Je||$r)&&!xf})]})}var Fq=o(U(),1),Hq=o(me(),1),Oq=o(v(),1);function jq(){let[e,{width:t}]=(0,Hq.useResizeObserver)(),r=(0,Fq.useRef)();return[(0,Oq.jsx)("div",{className:"wp-block","aria-hidden":"true",style:{position:"absolute",inset:0,width:"100%",height:0,margin:0},ref:r,children:e}),t]}var es=o(v(),1),V2e=(e,t)=>{let r=Object.fromEntries(Object.entries(e??{}).filter(([a])=>["alt","id","link","caption"].includes(a)));return r.url=e?.sizes?.[t]?.url||e?.media_details?.sizes?.[t]?.source_url||e.url,r},g4=(e,t)=>t&&!e&&!(0,hv.isBlobURL)(t);function Uq(e,t){return"url"in(e?.sizes?.[t]??{})||"source_url"in(e?.media_details?.sizes?.[t]??{})}function F2e({attributes:e,setAttributes:t,isSelected:r,className:a,insertBlocksAfter:n,onReplace:i,context:l,clientId:s,__unstableParentLayout:c}){let{url:u="",caption:m,id:p,width:d,height:f,sizeSlug:h,aspectRatio:g,scale:b,align:y,metadata:k}=e,[_,x]=(0,bm.useState)(e.blob),S=(0,bm.useRef)(),C=c?.type||c?.default?.type,N=!C||C!=="flex"&&C!=="grid",[B,D]=jq(),[A,{width:H}]=(0,$q.useResizeObserver)(),F=H&&H<160,z=(0,bm.useRef)();(0,bm.useEffect)(()=>{z.current=m},[m]);let{__unstableMarkNextChangeAsNotPersistent:I,replaceBlock:R}=(0,ud.useDispatch)(on.store);(0,bm.useEffect)(()=>{["wide","full"].includes(y)&&(I(),t({width:void 0,height:void 0,aspectRatio:void 0,scale:void 0}))},[I,y,t]);let{getSettings:$,getBlockRootClientId:j,getBlockName:G,canInsertBlockType:O}=(0,ud.useSelect)(on.store),J=(0,on.useBlockEditingMode)(),{createErrorNotice:ee}=(0,ud.useDispatch)(Wq.store);function oe(de){ee(de,{type:"snackbar"}),t({src:void 0,id:void 0,url:void 0,blob:void 0})}function X(de){let ct=S.current?.ownerDocument.defaultView;if(de.every(at=>at instanceof ct.File)){let at=de,kt=j(s);at.some(ut=>!UN(ut))&&ee((0,Js.__)("If uploading to a gallery all files need to be image formats"),{id:"gallery-upload-invalid-file",type:"snackbar"});let Wr=at.filter(ut=>UN(ut)).map(ut=>(0,fv.createBlock)("core/image",{blob:(0,hv.createBlobURL)(ut)}));if(G(kt)==="core/gallery")R(s,Wr);else if(O("core/gallery",kt)){let ut=(0,fv.createBlock)("core/gallery",{},Wr);R(s,ut)}}}function te(de){if(Array.isArray(de)){X(de);return}if(!de||!de.url){t({url:void 0,alt:void 0,id:void 0,title:void 0,caption:void 0,blob:void 0}),x();return}if((0,hv.isBlobURL)(de.url)){x(de.url);return}let{imageDefaultSize:ct}=$(),at=nv;h&&Uq(de,h)?at=h:Uq(de,ct)&&(at=ct);let kt=V2e(de,at);if(typeof kt.caption=="string"&&kt.caption.includes(`
`)&&(kt.caption=kt.caption.replace(/\n/g,"<br>")),z.current&&!kt.caption){let{caption:mt,...wo}=kt;kt=wo}let Wr;(!de.id||de.id!==p)&&(Wr={sizeSlug:at});let ut=e.linkDestination;if(!ut)switch(window?.wp?.media?.view?.settings?.defaultProps?.link||nd){case"file":case dh:ut=dh;break;case"post":case fh:ut=fh;break;case FN:ut=FN;break;case nd:ut=nd;break}let br;switch(ut){case dh:br=de.url;break;case fh:br=de.link;break}kt.href=br,t({blob:void 0,...kt,...Wr,linkDestination:ut}),x()}function ne(de){let ct=(0,v4.getProtocol)(de)?de:(0,v4.prependHTTPS)(de);ct!==u&&(t({blob:void 0,url:ct,id:void 0,sizeSlug:$().imageDefaultSize}),x())}Es({url:_,allowedTypes:tu,onChange:te,onError:oe});let pe=g4(p,u)?u:void 0,Ie=(0,ud.useSelect)(de=>!window.__clientSideMediaProcessing||!p?!1:de(qq.store).isUploadingById(p),[p]),Ne=!!u&&(0,es.jsx)("img",{alt:(0,Js.__)("Edit image"),title:(0,Js.__)("Edit image"),className:"edit-image-preview",src:u}),ae=(0,on.__experimentalUseBorderProps)(e),Re=(0,on.__experimentalGetShadowClassesAndStyles)(e),Ee=w(a,{"is-transient":!!_||Ie,"is-resized":!!d||!!f,[`size-${h}`]:h,"has-custom-border":!!ae.className||ae.style&&Object.keys(ae.style).length>0}),ie=(0,on.useBlockProps)({ref:S,className:Ee}),{lockUrlControls:fe=!1,lockUrlControlsMessage:ke}=(0,ud.useSelect)(de=>{if(!r)return{};let ct=(0,fv.getBlockBindingsSource)(k?.bindings?.url?.source);return{lockUrlControls:!!k?.bindings?.url&&!ct?.canUserEditValue?.({select:de,context:l,args:k?.bindings?.url?.args}),lockUrlControlsMessage:ct?.label?(0,Js.sprintf)((0,Js.__)("Connected to %s"),ct.label):(0,Js.__)("Connected to dynamic data")}},[l,r,k?.bindings?.url]);return(0,es.jsxs)(es.Fragment,{children:[(0,es.jsxs)("figure",{...ie,children:[(0,es.jsx)(Vq,{temporaryURL:_,isSideloading:Ie,attributes:e,setAttributes:t,isSingleSelected:r,insertBlocksAfter:n,onReplace:i,onSelectImage:te,onSelectURL:ne,onUploadError:oe,context:l,clientId:s,blockEditingMode:J,parentLayoutType:C,maxContentWidth:D}),(0,es.jsx)(on.MediaPlaceholder,{icon:(0,es.jsx)(on.BlockIcon,{icon:Wu}),onSelect:te,onSelectURL:ne,onError:oe,placeholder:de=>(0,es.jsxs)(Gq.Placeholder,{className:w("block-editor-media-placeholder",{[ae.className]:!!ae.className&&!r}),icon:!F&&(fe?XT:Wu),withIllustration:!r||F,label:!F&&(0,Js.__)("Image"),instructions:!fe&&!F&&(0,Js.__)("Drag and drop an image, upload, or choose from your library."),style:{aspectRatio:!(d&&f)&&g?g:void 0,width:f&&g?"100%":d,height:d&&g?"100%":f,objectFit:b,...ae.style,...Re.style},children:[fe&&!F&&ke,!fe&&!F&&de,A]}),allowedTypes:tu,handleUpload:de=>de.length===1,value:{id:p,src:pe},mediaPreview:Ne,disableMediaButtons:_||u})]}),r&&N&&B]})}var Zq=F2e;var b4={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/image",title:"Image",category:"media",usesContext:["allowResize","imageCrop","fixedHeight","navigationButtonType","postId","postType","queryId","galleryId"],description:"Insert an image to make a visual statement.",keywords:["img","photo","picture"],textdomain:"default",attributes:{blob:{type:"string",role:"local"},url:{type:"string",source:"attribute",selector:"img",attribute:"src",role:"content"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:"",role:"content"},caption:{type:"rich-text",source:"rich-text",selector:"figcaption",role:"content"},lightbox:{type:"object",enabled:{type:"boolean"}},title:{type:"string",source:"attribute",selector:"img",attribute:"title",role:"content"},href:{type:"string",source:"attribute",selector:"figure > a",attribute:"href",role:"content"},rel:{type:"string",source:"attribute",selector:"figure > a",attribute:"rel"},linkClass:{type:"string",source:"attribute",selector:"figure > a",attribute:"class"},id:{type:"number",role:"content"},width:{type:"string"},height:{type:"string"},aspectRatio:{type:"string"},scale:{type:"string"},focalPoint:{type:"object"},sizeSlug:{type:"string"},linkDestination:{type:"string"},linkTarget:{type:"string",source:"attribute",selector:"figure > a",attribute:"target"}},supports:{interactivity:!0,align:["left","center","right","wide","full"],anchor:!0,color:{text:!1,background:!1},filter:{duotone:!0},spacing:{margin:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},shadow:{__experimentalSkipSerialization:!0}},selectors:{border:".wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder",shadow:".wp-block-image img, .wp-block-image .wp-block-image__crop-area, .wp-block-image .components-placeholder",filter:{duotone:".wp-block-image img, .wp-block-image .components-placeholder"}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"rounded",label:"Rounded"}],editorStyle:"wp-block-image-editor",style:"wp-block-image"};var ts=o(T(),1);var au=o(v(),1);function Kq({attributes:e}){let{url:t,alt:r,caption:a,align:n,href:i,rel:l,linkClass:s,width:c,height:u,aspectRatio:m,scale:p,focalPoint:d,id:f,linkTarget:h,sizeSlug:g,title:b,metadata:{bindings:y={}}={}}=e,k=l||void 0,_=(0,ts.__experimentalGetBorderClassesAndStyles)(e),x=(0,ts.__experimentalGetShadowClassesAndStyles)(e),S=w({alignnone:n==="none",[`size-${g}`]:g,"is-resized":c||u,"has-custom-border":!!_.className||_.style&&Object.keys(_.style).length>0}),C=w(_.className,{[`wp-image-${f}`]:!!f}),N=(0,au.jsx)("img",{src:t,alt:r,className:C||void 0,style:{..._.style,...x.style,aspectRatio:m,objectFit:p,objectPosition:d&&p?iv(d):void 0,width:c,height:u},title:b}),B=!ts.RichText.isEmpty(a)||y.caption||y?.__default?.source==="core/pattern-overrides",D=(0,au.jsxs)(au.Fragment,{children:[i?(0,au.jsx)("a",{className:s,href:i,target:h,rel:k,children:N}):N,B&&(0,au.jsx)(ts.RichText.Content,{className:(0,ts.__experimentalGetElementClassName)("caption"),tagName:"figcaption",value:a})]});return(0,au.jsx)("figure",{...ts.useBlockProps.save({className:S}),children:D})}var y4=o(Rr(),1),gv=o(W(),1);function O2e(e,{shortcode:t}){let{body:r}=document.implementation.createHTMLDocument("");r.innerHTML=t.content;let a=r.querySelector("img");for(;a&&a.parentNode&&a.parentNode!==r;)a=a.parentNode;return a&&a.parentNode.removeChild(a),r.innerHTML.trim()}function hE(e,t){let{body:r}=document.implementation.createHTMLDocument("");r.innerHTML=e;let{firstElementChild:a}=r;if(a&&a.nodeName==="A")return a.getAttribute(t)||void 0}var Qq={img:{attributes:["src","alt","title"],classes:["alignleft","aligncenter","alignright","alignnone",/^wp-image-\d+$/]}},j2e=({phrasingContentSchema:e})=>({figure:{require:["img"],children:{...Qq,a:{attributes:["href","rel","target"],classes:["*"],children:Qq},figcaption:{children:e}}}}),U2e={from:[{type:"raw",isMatch:e=>e.nodeName==="FIGURE"&&!!e.querySelector("img"),schema:j2e,transform:e=>{let t=e.className+" "+e.querySelector("img").className,r=/(?:^|\s)align(left|center|right)(?:$|\s)/.exec(t),a=e.id===""?void 0:e.id,n=r?r[1]:void 0,i=/(?:^|\s)wp-image-(\d+)(?:$|\s)/.exec(t),l=i?Number(i[1]):void 0,s=e.querySelector("a"),c=s&&s.href?"custom":void 0,u=s&&s.href?s.href:void 0,m=s&&s.rel?s.rel:void 0,p=s&&s.className?s.className:void 0,d=(0,gv.getBlockAttributes)("core/image",e.outerHTML,{align:n,id:l,linkDestination:c,href:u,rel:m,linkClass:p,anchor:a});return(0,y4.isBlobURL)(d.url)&&(d.blob=d.url,delete d.url),(0,gv.createBlock)("core/image",d)}},{type:"files",isMatch(e){return e.every(t=>t.type.indexOf("image/")===0)},transform(e){return e.map(r=>(0,gv.createBlock)("core/image",{blob:(0,y4.createBlobURL)(r)}))}},{type:"shortcode",tag:"caption",attributes:{url:{type:"string",source:"attribute",attribute:"src",selector:"img"},alt:{type:"string",source:"attribute",attribute:"alt",selector:"img"},caption:{shortcode:O2e},href:{shortcode:(e,{shortcode:t})=>hE(t.content,"href")},rel:{shortcode:(e,{shortcode:t})=>hE(t.content,"rel")},linkClass:{shortcode:(e,{shortcode:t})=>hE(t.content,"class")},id:{type:"number",shortcode:({named:{id:e}})=>{if(e)return parseInt(e.replace("attachment_",""),10)}},align:{type:"string",shortcode:({named:{align:e="alignnone"}})=>e.replace("align","")}}}]},Yq=U2e;var{fieldsKey:G2e,formKey:W2e}=K(Xq.privateApis),{name:Jq}=b4,_4={icon:Wu,example:{attributes:{sizeSlug:"large",url:"https://s.w.org/images/core/5.3/MtBlanc1.jpg",caption:(0,md.__)("Mont Blanc appears\u2014still, snowy, and serene.")}},__experimentalLabel(e,{context:t}){let r=e?.metadata?.name;if((t==="list-view"||t==="breadcrumb")&&r)return r;if(t==="accessibility"){let{caption:a,alt:n,url:i}=e;return i?n?n+(a?". "+a:""):a||"":(0,md.__)("Empty")}},getEditWrapperProps(e){return{"data-align":e.align}},transforms:Yq,edit:Zq,save:Kq,deprecated:Iq};window.__experimentalContentOnlyInspectorFields&&(_4[G2e]=[{id:"image",label:(0,md.__)("Image"),type:"media",Edit:{control:"media",allowedTypes:["image"],multiple:!1},getValue:({item:e})=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption}),setValue:({value:e})=>({id:e.id,url:e.url,alt:e.alt,caption:e.caption})},{id:"link",label:(0,md.__)("Link"),type:"url",Edit:"link",getValue:({item:e})=>({url:e.href,rel:e.rel,linkTarget:e.linkTarget}),setValue:({value:e})=>({href:e.url,rel:e.rel,linkTarget:e.linkTarget})},{id:"caption",label:(0,md.__)("Caption"),type:"text",Edit:"rich-text"},{id:"alt",label:(0,md.__)("Alt text"),type:"text"}],_4[W2e]={fields:["image","link","caption","alt"]});var $2e=()=>E({name:Jq,metadata:b4,settings:_4});var vE={};Z(vE,{init:()=>Y2e,metadata:()=>x4,name:()=>aZ,settings:()=>nZ});var x4={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/latest-comments",title:"Latest Comments",category:"widgets",description:"Display a list of your most recent comments.",keywords:["recent comments"],textdomain:"default",attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayContent:{type:"string",default:"excerpt",enum:["none","excerpt","full"]}},supports:{anchor:!0,align:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},style:"wp-block-latest-comments"};var k4=o(T(),1),Ba=o(M(),1),Pa=o(P(),1),eZ=o(Fu(),1),tZ=o(me(),1);var Xr=o(v(),1),Z2e=1,K2e=100;function rZ({attributes:e,setAttributes:t,name:r}){let{commentsToShow:a,displayAvatar:n,displayDate:i,displayContent:l}=e,s=q(),{content:c,status:u,error:m}=(0,eZ.useServerSideRender)({attributes:e,skipBlockSupportAttributes:!0,block:r,urlQueryArgs:{_locale:"site"}}),p=(0,tZ.useDisabled)(),d=(0,k4.useBlockProps)({ref:p});return(0,Xr.jsxs)(Xr.Fragment,{children:[(0,Xr.jsx)(k4.InspectorControls,{children:(0,Xr.jsxs)(Ba.__experimentalToolsPanel,{label:(0,Pa.__)("Settings"),resetAll:()=>{t({commentsToShow:5,displayAvatar:!0,displayDate:!0,displayContent:"excerpt"})},dropdownMenuProps:s,children:[(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=>!n,label:(0,Pa.__)("Display avatar"),onDeselect:()=>t({displayAvatar:!0}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.ToggleControl,{label:(0,Pa.__)("Display avatar"),checked:n,onChange:()=>t({displayAvatar:!n})})}),(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=>!i,label:(0,Pa.__)("Display date"),onDeselect:()=>t({displayDate:!0}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.ToggleControl,{label:(0,Pa.__)("Display date"),checked:i,onChange:()=>t({displayDate:!i})})}),(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=>l!=="excerpt",label:(0,Pa.__)("Display content"),onDeselect:()=>t({displayContent:"excerpt"}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.SelectControl,{__next40pxDefaultSize:!0,label:(0,Pa.__)("Display content"),value:l,options:[{label:(0,Pa.__)("No content"),value:"none"},{label:(0,Pa.__)("Excerpt"),value:"excerpt"},{label:(0,Pa.__)("Full content"),value:"full"}],onChange:f=>t({displayContent:f})})}),(0,Xr.jsx)(Ba.__experimentalToolsPanelItem,{hasValue:()=>a!==5,label:(0,Pa.__)("Number of comments"),onDeselect:()=>t({commentsToShow:5}),isShownByDefault:!0,children:(0,Xr.jsx)(Ba.RangeControl,{__next40pxDefaultSize:!0,label:(0,Pa.__)("Number of comments"),value:a,onChange:f=>t({commentsToShow:f}),min:Z2e,max:K2e,required:!0})})]})}),u==="loading"&&(0,Xr.jsx)("div",{...d,children:(0,Xr.jsx)(Ba.Spinner,{})}),u==="error"&&(0,Xr.jsx)("div",{...d,children:(0,Xr.jsx)("p",{children:(0,Pa.sprintf)((0,Pa.__)("Error: %s"),m)})}),u==="success"&&(0,Xr.jsx)(uo,{wrapperProps:d,html:c})]})}var Q2e={attributes:{commentsToShow:{type:"number",default:5,minimum:1,maximum:100},displayAvatar:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0}},supports:{align:!0,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},html:!1,spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fontSize:!0}},interactivity:{clientNavigation:!0}},isEligible(e){return e?.displayExcerpt===!1},migrate(e){return{...e,displayContent:e.displayExcerpt?"excerpt":"none"}}},oZ=[Q2e];var{name:aZ}=x4,nZ={icon:N0,example:{},edit:rZ,deprecated:oZ},Y2e=()=>E({name:aZ,metadata:x4,settings:nZ});var xE={};Z(xE,{init:()=>ibe,metadata:()=>Sh,name:()=>pZ,settings:()=>dZ});var Sh={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:3,name:"core/latest-posts",title:"Latest Posts",category:"widgets",description:"Display a list of your most recent posts.",keywords:["recent posts"],textdomain:"default",attributes:{categories:{type:"array",items:{type:"object"}},selectedAuthor:{type:"number"},postsToShow:{type:"number",default:5},displayPostContent:{type:"boolean",default:!1},displayPostContentRadio:{type:"string",default:"excerpt"},excerptLength:{type:"number",default:55},displayAuthor:{type:"boolean",default:!1},displayPostDate:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},displayFeaturedImage:{type:"boolean",default:!1},featuredImageAlign:{type:"string",enum:["left","center","right"]},featuredImageSizeSlug:{type:"string",default:"thumbnail"},featuredImageSizeWidth:{type:"number",default:null},featuredImageSizeHeight:{type:"number",default:null},addLinkToFeaturedImage:{type:"boolean",default:!1}},supports:{anchor:!0,align:!0,html:!1,color:{gradients:!0,link:!0,__experimentalDefaultControls:{background:!0,text:!0,link:!0}},spacing:{margin:!0,padding:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontFamily:!0,__experimentalFontWeight:!0,__experimentalFontStyle:!0,__experimentalTextTransform:!0,__experimentalTextDecoration:!0,__experimentalLetterSpacing:!0,__experimentalDefaultControls:{fon
Showing 512.00 KB of 1.09 MB. Use Edit/Download for full content.

Directory Contents

Dirs: 3 × Files: 132

Name Size Perms Modified Actions
- drwxr-xr-x 2023-11-12 05:03:56
Edit Download
- drwxr-xr-x 2026-05-21 08:23:01
Edit Download
vendor DIR
- drwxr-xr-x 2026-05-21 08:23:01
Edit Download
5.45 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.41 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
15.13 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
5.58 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
17.46 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
6.29 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
9.73 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
5.47 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
48 B lrw-r--r-- 2026-05-21 08:23:01
Edit Download
40 B lrw-r--r-- 2026-05-21 08:23:01
Edit Download
2.30 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.13 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
55.67 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
21.92 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.70 MB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.01 MB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.57 MB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.09 MB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
6.54 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.36 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
50.48 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
10.34 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
381.06 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
180.58 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
151.71 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
63.10 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
3.83 MB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
786.24 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
80.84 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
28.21 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
28.68 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
11.83 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
612.03 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
210.43 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
91.57 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
36.58 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
4.13 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.74 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
82.78 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
25.88 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
176.34 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
141.18 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
3.04 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.25 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.47 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
783 B lrw-r--r-- 2026-05-21 08:23:01
Edit Download
34.61 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
12.62 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
117.40 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
49.07 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.69 MB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
684.42 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
160.25 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
61.83 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.50 MB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1,021.22 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
27.93 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
12.13 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.29 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.03 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
73.34 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
28.85 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
11.96 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
4.90 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.65 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
844 B lrw-r--r-- 2026-05-21 08:23:00
Edit Download
15.30 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
5.56 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
2.69 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.06 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
9.68 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
3.41 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
8.30 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
2.87 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
13.06 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
5.21 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
637.15 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
237.61 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
10.11 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
4.35 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
10.32 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
3.92 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
58.25 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
21.60 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
11.67 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
4.72 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
17.22 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
5.46 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
21.07 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
7.68 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
5.08 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.94 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
10.02 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
3.32 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
4.09 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
2.63 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
3.91 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
1.49 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
24.68 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
9.62 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
20.51 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
7.19 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
97.04 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
39.86 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
36.12 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
14.10 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
10.97 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
3.91 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
7.96 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
3.25 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
17.62 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
6.38 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
359.40 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
118.11 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
127.65 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
56.08 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
6.12 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.58 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
5.29 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.66 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
55.67 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
23.02 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
23.39 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
10.09 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
6.61 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
2.21 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
1.52 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
720 B lrw-r--r-- 2026-05-21 08:23:00
Edit Download
50.08 KB lrw-r--r-- 2026-05-21 08:23:00
Edit Download
20.79 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
6.93 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download
2.41 KB lrw-r--r-- 2026-05-21 08:23:01
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).