Esc
."],"You are probably offline.":["Gjasat jan\xeb t\xeb jeni offline."],"Justify items right":["P\xebrligji objektet djathtas"],"Justify items center":["P\xebrligji objektet n\xeb qend\xebr"],"Justify items left":["P\xebrligji objektet majtas"],"Change items justification":["Ndrysho p\xebrligje objektesh"],"// A \"block\" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );":["// Nj\xeb \u201cbllok\u201d \xebsht\xeb termi abstrakt\n// i p\xebrdorur p\xebr t\xeb p\xebrshkruar nj\xebsi\n// formatimi teksti q\xeb kur p\xebrdoren\n// tok, formojn\xeb l\xebnd\xebn ose skem\xebn\n// grafike t\xeb nj\xeb faqeje.\nregisterBlockType( em\xebr, rregullime );"],"Add link":["Shtoni lidhje"],"WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.":["Udh\xebs me zor gjarp\xebronin t\xeb lodhur\nPa pritur gj\xeb nga nata dhe i ftohti\nShpresat pas shum\xeb her\xebt kishin l\xebn\xeb\nDhe nuk besonin m\xeb as dhe te Zoti\nT\xeb mundur, t\xeb harruar dhe drejt fundit\nHije t\xeb vetmuara t\xeb asgj\xebkundit."],"Menu Item":["Z\xeb Menuje"],"Generic label for block inserter button\x04Add block":["Shtoni bllok"],"Site Title":["Titull Sajti"],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["Ngarkimi i medias d\xebshtoi. N\xebse kjo \xebsht\xeb nj\xeb foto ose nj\xeb figur\xeb e madhe, ju lutemi, rip\xebrmasojeni me zvog\xeblim dhe riprovoni."],Gradient:["Gradient"],Midnight:["Mesnat\xeb"],"Electric grass":["Bar elektrik"],"Pale ocean":["Oqean i zbeht\xeb"],"Luminous dusk":["Muzg i ndritsh\xebm"],"Blush bordeaux":["Bordo e zbeht\xeb"],"Blush light purple":["E purpur e \xe7el\xebt e zbeht\xeb"],"Cool to warm spectrum":["Spektri nga t\xeb ftohta te t\xeb ngrohta"],"Very light gray to cyan bluish gray":["Gri shum\xeb e \xe7el\xebt n\xeb gri blu n\xeb t\xeb gjelb\xebr me nuanca bluje"],"Luminous vivid orange to vivid red":["Portokalli e ndritshme e ndezur n\xeb t\xeb kuqe t\xeb ndezur"],"Luminous vivid amber to luminous vivid orange":["Ngjyr\xeb mjalti e ndezur e ndritshme n\xeb portokalli t\xeb ndezur t\xeb ndritshme"],"Light green cyan to vivid green cyan":["Blu e gjelb\xebr n\xeb t\xeb gjelb\xebr e \xe7el\xebt n\xeb blu t\xeb gjelb\xebr n\xeb t\xeb gjelb\xebr t\xeb ndezur"],"Vivid cyan blue to vivid purple":["Blu e gjelb\xebr n\xeb blu e ndezur n\xeb t\xeb purpur t\xeb ndezur"],"December 6, 2018":["6 dhjetor, 2018"],"February 21, 2019":["21 shkurt, 2019"],"May 7, 2019":["7 maj 2009"],"Release Date":["Dat\xeb Hedhjeje N\xeb Qarkullim"],"Jazz Musician":["Muzikant Jazz-i"],Version:["Version"],"Six.":["Gjasht\xeb."],"Five.":["Pes\xeb."],"Four.":["Kat\xebr."],"Three.":["Tre."],"Two.":["Dy."],"One.":["Nj\xeb."],"One of the hardest things to do in technology is disrupt yourself.":["Nj\xeb nga gj\xebrat m\xeb t\xeb zorshme n\xeb teknologji \xebsht\xeb t\xeb nd\xebrpres\xebsh vetveten."],"\u2014 Kobayashi Issa (\u4e00\u8336)":["\u2014 Kobayashi Issa (\u4e00\u8336)"],"The wrenEsc
."],"You are probably offline.":["Gjasat jan\xeb t\xeb jeni offline."],"Justify items right":["P\xebrligji objektet djathtas"],"Justify items center":["P\xebrligji objektet n\xeb qend\xebr"],"Justify items left":["P\xebrligji objektet majtas"],"Change items justification":["Ndrysho p\xebrligje objektesh"],"// A \"block\" is the abstract term used\n// to describe units of markup that\n// when composed together, form the\n// content or layout of a page.\nregisterBlockType( name, settings );":["// Nj\xeb \u201cbllok\u201d \xebsht\xeb termi abstrakt\n// i p\xebrdorur p\xebr t\xeb p\xebrshkruar nj\xebsi\n// formatimi teksti q\xeb kur p\xebrdoren\n// tok, formojn\xeb l\xebnd\xebn ose skem\xebn\n// grafike t\xeb nj\xeb faqeje.\nregisterBlockType( em\xebr, rregullime );"],"Add link":["Shtoni lidhje"],"WHAT was he doing, the great god Pan,\n\tDown in the reeds by the river?\nSpreading ruin and scattering ban,\nSplashing and paddling with hoofs of a goat,\nAnd breaking the golden lilies afloat\n With the dragon-fly on the river.":["Udh\xebs me zor gjarp\xebronin t\xeb lodhur\nPa pritur gj\xeb nga nata dhe i ftohti\nShpresat pas shum\xeb her\xebt kishin l\xebn\xeb\nDhe nuk besonin m\xeb as dhe te Zoti\nT\xeb mundur, t\xeb harruar dhe drejt fundit\nHije t\xeb vetmuara t\xeb asgj\xebkundit."],"Menu Item":["Z\xeb Menuje"],"Generic label for block inserter button\x04Add block":["Shtoni bllok"],"Site Title":["Titull Sajti"],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["Ngarkimi i medias d\xebshtoi. N\xebse kjo \xebsht\xeb nj\xeb foto ose nj\xeb figur\xeb e madhe, ju lutemi, rip\xebrmasojeni me zvog\xeblim dhe riprovoni."],Gradient:["Gradient"],Midnight:["Mesnat\xeb"],"Electric grass":["Bar elektrik"],"Pale ocean":["Oqean i zbeht\xeb"],"Luminous dusk":["Muzg i ndritsh\xebm"],"Blush bordeaux":["Bordo e zbeht\xeb"],"Blush light purple":["E purpur e \xe7el\xebt e zbeht\xeb"],"Cool to warm spectrum":["Spektri nga t\xeb ftohta te t\xeb ngrohta"],"Very light gray to cyan bluish gray":["Gri shum\xeb e \xe7el\xebt n\xeb gri blu n\xeb t\xeb gjelb\xebr me nuanca bluje"],"Luminous vivid orange to vivid red":["Portokalli e ndritshme e ndezur n\xeb t\xeb kuqe t\xeb ndezur"],"Luminous vivid amber to luminous vivid orange":["Ngjyr\xeb mjalti e ndezur e ndritshme n\xeb portokalli t\xeb ndezur t\xeb ndritshme"],"Light green cyan to vivid green cyan":["Blu e gjelb\xebr n\xeb t\xeb gjelb\xebr e \xe7el\xebt n\xeb blu t\xeb gjelb\xebr n\xeb t\xeb gjelb\xebr t\xeb ndezur"],"Vivid cyan blue to vivid purple":["Blu e gjelb\xebr n\xeb blu e ndezur n\xeb t\xeb purpur t\xeb ndezur"],"December 6, 2018":["6 dhjetor, 2018"],"February 21, 2019":["21 shkurt, 2019"],"May 7, 2019":["7 maj 2009"],"Release Date":["Dat\xeb Hedhjeje N\xeb Qarkullim"],"Jazz Musician":["Muzikant Jazz-i"],Version:["Version"],"Six.":["Gjasht\xeb."],"Five.":["Pes\xeb."],"Four.":["Kat\xebr."],"Three.":["Tre."],"Two.":["Dy."],"One.":["Nj\xeb."],"One of the hardest things to do in technology is disrupt yourself.":["Nj\xeb nga gj\xebrat m\xeb t\xeb zorshme n\xeb teknologji \xebsht\xeb t\xeb nd\xebrpres\xebsh vetveten."],"\u2014 Kobayashi Issa (\u4e00\u8336)":["\u2014 Kobayashi Issa (\u4e00\u8336)"],"The wren')?e:'
'+e+'
'}},{key:"onContentSizeChange",value:function(e){this.setState(e),this.lastAztecEventType='content size change'}},{key:"onKeyDown",value:function(e){var t;e.defaultPrevented||(null==(t=this.customEditableOnKeyDown)||t.call(this,(0,n.default)({preventDefault:function(){}},e)),this.handleDelete(e),this.handleEnter(e),this.handleTriggerKeyCodes(e))}},{key:"handleEnter",value:function(e){if(e.keyCode===k.ENTER){var t=this.props.onEnter;t&&(t({value:this.createRecord(),onChange:this.onFormatChange,shiftKey:e.shiftKey}),this.lastAztecEventType='input')}}},{key:"handleDelete",value:function(e){if(!this.shouldDropEventFromAztec(e,'handleDelete')){var t=e.keyCode;if(t===k.DELETE||t===k.BACKSPACE){var n=t===k.BACKSPACE,o=this.props,s=o.onDelete,l=o.__unstableMultilineTag;this.lastEventCount=e.nativeEvent.eventCount,this.comesFromAztec=!0,this.firedAfterTextChanged=e.nativeEvent.firedAfterTextChanged;var u,h=this.createRecord(),c=h.start,p=h.end,v=h.text;return 0===c&&0!==p&&p>=v.length?(u=(0,H.remove)(h),this.onFormatChange(u),void e.preventDefault()):l&&(u=n&&0===h.start&&0===h.end&&(0,N.isEmptyLine)(h)?(0,W.removeLineSeparator)(h,!n):(0,W.removeLineSeparator)(h,n))?(this.onFormatChange(u),void e.preventDefault()):void(!s||!(0,M.isCollapsed)(h)||n&&0!==c||!n&&p!==v.length||(s({isReverse:n,value:h}),e.preventDefault(),this.lastAztecEventType='input'))}}}},{key:"handleTriggerKeyCodes",value:function(e){var t=e.keyCode,n=this.suggestionOptions().find(function(e){return e.triggerChar.charCodeAt(0)===t});if(n){var o=this.getRecord(),s=(0,B.getTextContent)(o);(0===s.length||0===o.start||'\n'===s.charAt(o.start-1)||' '===s.charAt(o.start-1))&&n.onClick?n.onClick():this.insertString(o,n.triggerChar)}}},{key:"suggestionOptions",value:function(){var e=this.props,t=e.areMentionsSupported,n=e.areXPostsSupported;return[{supported:t,title:(0,A.__)('Insert mention'),onClick:this.handleUserSuggestion,triggerChar:'@',value:'mention',label:(0,A.__)('Mention'),icon:x.atSymbol},{supported:n,title:(0,A.__)('Insert crosspost'),onClick:this.handleXpostSuggestion,triggerChar:'+',value:'crosspost',label:(0,A.__)('Crosspost'),icon:x.plus}].filter(function(e){return e.supported})}},{key:"handleSuggestionFunc",value:function(e,t){var n=this;return function(){var o=n.getRecord();e().then(function(e){n.insertString(o,""+t+e+" ")}).catch(function(){})}}},{key:"onPaste",value:function(e){var t=this.props,n=t.onPaste,o=t.onChange,s=this.state.activeFormats,l=void 0===s?[]:s,u=e.nativeEvent,h=u.pastedText,c=u.pastedHtml,p=u.files,v=this.createRecord();if(e.preventDefault(),!(0,M.isCollapsed)(v)){var f=(c||h).replace(/<[^>]+>/g,'').trim();if((0,z.isURL)(f)){var S=(0,D.applyFormat)(v,{type:'a',attributes:{href:(0,b.decodeEntities)(f)}});return this.value=this.valueToFormat(S),o(this.value),void window.console.log('Created link:\n\n',f)}}n&&n({value:v,onChange:this.onFormatChange,html:c,plainText:h,files:p,activeFormats:l})}},{key:"onFocus",value:function(){this.isTouched=!0;var e=this.props,t=e.unstableOnFocus,n=e.onSelectionChange;t&&t(),n(this.selectionStart,this.selectionEnd),this.lastAztecEventType='focus'}},{key:"onBlur",value:function(e){this.isTouched=!1,e.nativeEvent.text&&e.nativeEvent.text!==this.props.value&&this.onTextUpdate(e),this.props.onBlur&&this.props.onBlur(e),this.lastAztecEventType='blur'}},{key:"onSelectionChange",value:function(e,t){var n=this.selectionStart!==e||this.selectionEnd!==t;this.selectionStart=e,this.selectionEnd=t;var o='input'!==this.lastAztecEventType&&this.props.value===this.value;if(n&&o){var s=this.createRecord(),l=(0,w.getActiveFormats)(s);this.setState({activeFormats:l})}this.props.onSelectionChange(e,t)}},{key:"shouldDropEventFromAztec",value:function(e,t){var n=!this.isIOS&&e.nativeEvent.eventCount<=this.lastEventCount;return n&&window.console.log("Dropping "+t+" from Aztec as its event counter is older than latest sent to the native side. Got "+e.nativeEvent.eventCount+" but lastEventCount is "+this.lastEventCount+"."),n}},{key:"onSelectionChangeFromAztec",value:function(e,t,n,o){if(!this.shouldDropEventFromAztec(o,'onSelectionChange')){var s=Math.min(e,t),l=Math.max(e,t);this.removeRootTagsProduceByAztec(X(o.nativeEvent.text))===this.value&&s===this.selectionStart&&l===this.selectionEnd||(this.comesFromAztec=!0,this.firedAfterTextChanged=!0,this.onTextUpdate(o),this.props.__unstableIsSelected&&this.onSelectionChange(s,l),this.lastEventCount=o.nativeEvent.eventCount,this.lastAztecEventType='selection change')}}},{key:"isEmpty",value:function(){return(0,N.isEmpty)(this.formatToValue(this.props.value))}},{key:"formatToValue",value:function(e){var t=this.props.preserveWhiteSpace;return Array.isArray(e)?(0,O.create)({html:F.childrenBlock.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:t}):'string'===this.props.format?(0,O.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:t}):null===e?(0,O.create)():e}},{key:"manipulateEventCounterToForceNativeToRefresh",value:function(){this.isIOS?this.lastEventCount=void 0:void 0!==this.lastEventCount&&(this.lastEventCount+=100)}},{key:"shouldComponentUpdate",value:function(e,t){if(e.tagName!==this.props.tagName||e.reversed!==this.props.reversed||e.start!==this.props.start)return this.manipulateEventCounterToForceNativeToRefresh(),this.value=void 0,!0;var n,o,s,l,u,h,c;(void 0===e.value||void 0===this.props.value||this.comesFromAztec&&this.firedAfterTextChanged||e.value===this.props.value||(void 0!==e.selectionStart&&void 0!==e.selectionEnd&&(this.needsSelectionUpdate=!0),this.manipulateEventCounterToForceNativeToRefresh()),this.comesFromAztec)||(void 0!==e.selectionStart&&void 0!==e.selectionEnd&&e.selectionStart!==this.props.selectionStart&&e.selectionStart!==this.selectionStart&&e.__unstableIsSelected&&(this.needsSelectionUpdate=!0,this.manipulateEventCounterToForceNativeToRefresh()),(null==e?void 0:e.fontSize)!==(null==(n=this.props)?void 0:n.fontSize)&&this.manipulateEventCounterToForceNativeToRefresh(),((null==e?void 0:null==(o=e.style)?void 0:o.fontSize)!==(null==(s=this.props)?void 0:null==(l=s.style)?void 0:l.fontSize)&&t.currentFontSize!==this.state.currentFontSize||t.currentFontSize!==this.state.currentFontSize||(null==e?void 0:null==(u=e.style)?void 0:u.lineHeight)!==(null==(h=this.props)?void 0:null==(c=h.style)?void 0:c.lineHeight))&&(this.needsSelectionUpdate=!0,this.manipulateEventCounterToForceNativeToRefresh()));return!0}},{key:"componentDidMount",value:function(){this.props.blockIsSelected&&!this.props.__unstableMobileNoFocusOnMount&&(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0))}},{key:"componentWillUnmount",value:function(){this._editor.isFocused()&&this._editor.blur()}},{key:"componentDidUpdate",value:function(e){var t,n=this.props,o=n.style,s=n.tagName,l=this.state.currentFontSize;this.props.value!==this.value&&(this.value=this.props.value);var u=this.props.__unstableIsSelected,h=e.__unstableIsSelected;u&&!h?(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0)):!u&&h&&this._editor.blur();var c=parseFloat(null==o?void 0:o.fontSize),p=parseFloat(null==e?void 0:null==(t=e.style)?void 0:t.fontSize),v=e.tagName!==s;(l&&(c||p)&&c!==l||v)&&this.setState({currentFontSize:this.getFontSize(this.props)})}},{key:"getHtmlToRender",value:function(e,t){var n=this.valueToFormat(e);if(void 0===n&&(this.manipulateEventCounterToForceNativeToRefresh(),n=''),!this.isIOS&&(''===n||""===n))return'';if(t){var o="";"ol"===t&&(this.props.reversed&&(o+=" reversed"),this.props.start&&(o+=" start="+this.props.start)),n="<"+t+o+">"+n+""+t+">"}return n}},{key:"getEditableProps",value:function(){return{style:{},className:'rich-text',onKeyDown:function(){return null}}}},{key:"getFontSize",value:function(e){var t,n,o,s,l,u,h=e.baseGlobalStyles,c=e.tagName,v=e.fontSize,f=e.style,S=null==h?void 0:null==(t=h.elements)?void 0:null==(n=t[c])?void 0:null==(o=n.typography)?void 0:o.fontSize,C=16;null!=h&&null!=(s=h.typography)&&s.fontSize&&(C=null==h?void 0:null==(u=h.typography)?void 0:u.fontSize);S&&(C=S),null!=f&&f.fontSize&&(C=f.fontSize),v&&!S&&(C=v);var T=p.Dimensions.get('window'),E={height:T.height,width:T.width,fontSize:16},F=null!=(l=(0,y.getPxFromCssUnit)(C,E))?l:16;return parseFloat(F)}},{key:"getLineHeight",value:function(){var e,t,n,o=this.props,s=o.baseGlobalStyles,l=o.tagName;null==s||null==(e=s.elements)||null==(t=e[l])||null==(n=t.typography)||n.lineHeight}},{key:"getBlockUseDefaultFont",value:function(){if(this.isIOS){var e=this.props,t=e.baseGlobalStyles,n=e.tagName;return t&&0!==Object.entries(t).length&&/pre|h([1-6])$/gm.test(n)}}},{key:"render",value:function(){var e,o,s=this,l=this.props,u=l.tagName,h=l.style,c=l.__unstableIsSelected,v=l.children,f=l.getStylesFromColorScheme,C=l.minWidth,T=l.maxWidth,E=l.formatTypes,F=l.parentBlockStyles,b=l.accessibilityLabel,k=l.disableEditingMenu,z=void 0!==k&&k,x=l.baseGlobalStyles,A=this.state.currentFontSize,R=this.getRecord(),D=this.getHtmlToRender(R,u),P=this.getEditableProps(),w=this.getBlockUseDefaultFont(),U=f(K.default.richTextPlaceholder,K.default.richTextPlaceholderDark).color,B=A,N=this.getLineHeight(),O=f(K.default.richText,K.default.richTextDark),I=O.color,W=O.textDecorationColor,M=O.fontFamily,H=null;if(this.needsSelectionUpdate&&(this.needsSelectionUpdate=!1,H={start:this.props.selectionStart,end:this.props.selectionEnd},!this.isIOS)){var L=D.match(/(')?e:'
'+e+'
'}},{key:"onContentSizeChange",value:function(e){this.setState(e),this.lastAztecEventType='content size change'}},{key:"onKeyDown",value:function(e){var t;e.defaultPrevented||(null==(t=this.customEditableOnKeyDown)||t.call(this,(0,n.default)({preventDefault:function(){}},e)),this.handleDelete(e),this.handleEnter(e),this.handleTriggerKeyCodes(e))}},{key:"handleEnter",value:function(e){if(e.keyCode===z.ENTER){var t=this.props.onEnter;t&&(t({value:this.createRecord(),onChange:this.onFormatChange,shiftKey:e.shiftKey}),this.lastAztecEventType='input')}}},{key:"handleDelete",value:function(e){if(!this.shouldDropEventFromAztec(e,'handleDelete')){var t=e.keyCode;if(t===z.DELETE||t===z.BACKSPACE){var n=t===z.BACKSPACE,o=this.props,s=o.onDelete,l=o.__unstableMultilineTag;this.lastEventCount=e.nativeEvent.eventCount,this.comesFromAztec=!0,this.firedAfterTextChanged=e.nativeEvent.firedAfterTextChanged;var u,h=this.createRecord(),c=h.start,p=h.end,v=h.text;return 0===c&&0!==p&&p>=v.length?(u=(0,H.remove)(h),this.onFormatChange(u),void e.preventDefault()):l&&(u=n&&0===h.start&&0===h.end&&(0,N.isEmptyLine)(h)?(0,W.removeLineSeparator)(h,!n):(0,W.removeLineSeparator)(h,n))?(this.onFormatChange(u),void e.preventDefault()):void(!s||!(0,M.isCollapsed)(h)||n&&0!==c||!n&&p!==v.length||(s({isReverse:n,value:h}),e.preventDefault(),this.lastAztecEventType='input'))}}}},{key:"handleTriggerKeyCodes",value:function(e){var t=e.keyCode,n=this.suggestionOptions().find(function(e){return e.triggerChar.charCodeAt(0)===t});if(n){var o=this.getRecord(),s=(0,B.getTextContent)(o);(0===s.length||0===o.start||'\n'===s.charAt(o.start-1)||' '===s.charAt(o.start-1))&&n.onClick?n.onClick():this.insertString(o,n.triggerChar)}}},{key:"suggestionOptions",value:function(){var e=this.props,t=e.areMentionsSupported,n=e.areXPostsSupported;return[{supported:t,title:(0,A.__)('Insert mention'),onClick:this.handleUserSuggestion,triggerChar:'@',value:'mention',label:(0,A.__)('Mention'),icon:x.atSymbol},{supported:n,title:(0,A.__)('Insert crosspost'),onClick:this.handleXpostSuggestion,triggerChar:'+',value:'crosspost',label:(0,A.__)('Crosspost'),icon:x.plus}].filter(function(e){return e.supported})}},{key:"handleSuggestionFunc",value:function(e,t){var n=this;return function(){var o=n.getRecord();e().then(function(e){n.insertString(o,""+t+e+" ")}).catch(function(){})}}},{key:"onPaste",value:function(e){var t=this.props,n=t.onPaste,o=t.onChange,s=this.state.activeFormats,l=void 0===s?[]:s,u=e.nativeEvent,h=u.pastedText,c=u.pastedHtml,p=u.files,v=this.createRecord();if(e.preventDefault(),!(0,M.isCollapsed)(v)){var f=(c||h).replace(/<[^>]+>/g,'').trim();if((0,k.isURL)(f)){var S=(0,P.applyFormat)(v,{type:'a',attributes:{href:(0,b.decodeEntities)(f)}});return this.value=this.valueToFormat(S),o(this.value),void window.console.log('Created link:\n\n',f)}}n&&n({value:v,onChange:this.onFormatChange,html:c,plainText:h,files:p,activeFormats:l})}},{key:"onFocus",value:function(){this.isTouched=!0;var e=this.props,t=e.unstableOnFocus,n=e.onSelectionChange;t&&t(),n(this.selectionStart,this.selectionEnd),this.lastAztecEventType='focus'}},{key:"onBlur",value:function(e){this.isTouched=!1,e.nativeEvent.text&&e.nativeEvent.text!==this.props.value&&this.onTextUpdate(e),this.props.onBlur&&this.props.onBlur(e),this.lastAztecEventType='blur'}},{key:"onSelectionChange",value:function(e,t){var n=this.selectionStart!==e||this.selectionEnd!==t;this.selectionStart=e,this.selectionEnd=t;var o='input'!==this.lastAztecEventType&&this.props.value===this.value;if(n&&o){var s=this.createRecord(),l=(0,w.getActiveFormats)(s);this.setState({activeFormats:l})}this.props.onSelectionChange(e,t)}},{key:"shouldDropEventFromAztec",value:function(e,t){var n=!this.isIOS&&e.nativeEvent.eventCount<=this.lastEventCount;return n&&window.console.log("Dropping "+t+" from Aztec as its event counter is older than latest sent to the native side. Got "+e.nativeEvent.eventCount+" but lastEventCount is "+this.lastEventCount+"."),n}},{key:"onSelectionChangeFromAztec",value:function(e,t,n,o){if(!this.shouldDropEventFromAztec(o,'onSelectionChange')){var s=Math.min(e,t),l=Math.max(e,t);this.removeRootTagsProduceByAztec(X(o.nativeEvent.text))===this.value&&s===this.selectionStart&&l===this.selectionEnd||(this.comesFromAztec=!0,this.firedAfterTextChanged=!0,this.onTextUpdate(o),this.props.__unstableIsSelected&&this.onSelectionChange(s,l),this.lastEventCount=o.nativeEvent.eventCount,this.lastAztecEventType='selection change')}}},{key:"isEmpty",value:function(){return(0,N.isEmpty)(this.formatToValue(this.props.value))}},{key:"formatToValue",value:function(e){var t=this.props.preserveWhiteSpace;return Array.isArray(e)?(0,O.create)({html:E.childrenBlock.toHTML(e),multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:t}):'string'===this.props.format?(0,O.create)({html:e,multilineTag:this.multilineTag,multilineWrapperTags:this.multilineWrapperTags,preserveWhiteSpace:t}):null===e?(0,O.create)():e}},{key:"manipulateEventCounterToForceNativeToRefresh",value:function(){this.isIOS?this.lastEventCount=void 0:void 0!==this.lastEventCount&&(this.lastEventCount+=100)}},{key:"shouldComponentUpdate",value:function(e,t){if(e.tagName!==this.props.tagName||e.reversed!==this.props.reversed||e.start!==this.props.start)return this.manipulateEventCounterToForceNativeToRefresh(),this.value=void 0,!0;var n,o,s,l,u,h,c;(void 0===e.value||void 0===this.props.value||this.comesFromAztec&&this.firedAfterTextChanged||e.value===this.props.value||(void 0!==e.selectionStart&&void 0!==e.selectionEnd&&(this.needsSelectionUpdate=!0),this.manipulateEventCounterToForceNativeToRefresh()),this.comesFromAztec)||(void 0!==e.selectionStart&&void 0!==e.selectionEnd&&e.selectionStart!==this.props.selectionStart&&e.selectionStart!==this.selectionStart&&e.__unstableIsSelected&&(this.needsSelectionUpdate=!0,this.manipulateEventCounterToForceNativeToRefresh()),(null==e?void 0:e.fontSize)!==(null==(n=this.props)?void 0:n.fontSize)&&this.manipulateEventCounterToForceNativeToRefresh(),((null==e?void 0:null==(o=e.style)?void 0:o.fontSize)!==(null==(s=this.props)?void 0:null==(l=s.style)?void 0:l.fontSize)&&t.currentFontSize!==this.state.currentFontSize||t.currentFontSize!==this.state.currentFontSize||(null==e?void 0:null==(u=e.style)?void 0:u.lineHeight)!==(null==(h=this.props)?void 0:null==(c=h.style)?void 0:c.lineHeight))&&(this.needsSelectionUpdate=!0,this.manipulateEventCounterToForceNativeToRefresh()));return!0}},{key:"componentDidMount",value:function(){this.props.blockIsSelected&&!this.props.__unstableMobileNoFocusOnMount&&(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0))}},{key:"componentWillUnmount",value:function(){this._editor.isFocused()&&this._editor.blur()}},{key:"componentDidUpdate",value:function(e){var t,n=this.props,o=n.style,s=n.tagName,l=this.state.currentFontSize;this.props.value!==this.value&&(this.value=this.props.value);var u=this.props.__unstableIsSelected,h=e.__unstableIsSelected;u&&!h?(this._editor.focus(),this.onSelectionChange(this.props.selectionStart||0,this.props.selectionEnd||0)):!u&&h&&this._editor.blur();var c=this.getParsedFontSize(null==o?void 0:o.fontSize),p=this.getParsedFontSize(null==e?void 0:null==(t=e.style)?void 0:t.fontSize),v=e.tagName!==s;(l&&(c||p)&&c!==l||v)&&this.setState({currentFontSize:this.getFontSize(this.props)})}},{key:"getHtmlToRender",value:function(e,t){var n=this.valueToFormat(e);if(void 0===n&&(this.manipulateEventCounterToForceNativeToRefresh(),n=''),!this.isIOS&&(''===n||""===n))return'';if(t){var o="";"ol"===t&&(this.props.reversed&&(o+=" reversed"),this.props.start&&(o+=" start="+this.props.start)),n="<"+t+o+">"+n+""+t+">"}return n}},{key:"getEditableProps",value:function(){return{style:{},className:'rich-text',onKeyDown:function(){return null}}}},{key:"getParsedFontSize",value:function(e){var t,n=p.Dimensions.get('window'),o={height:n.height,width:n.width,fontSize:16};if(!e)return e;var s=null!=(t=(0,C.getPxFromCssUnit)(e,o))?t:16;return parseFloat(s)}},{key:"getFontSize",value:function(e){var t,n,o,s,l,u=e.baseGlobalStyles,h=e.tagName,c=e.fontSize,p=e.style,v=null==u?void 0:null==(t=u.elements)?void 0:null==(n=t[h])?void 0:null==(o=n.typography)?void 0:o.fontSize,f=16;null!=u&&null!=(s=u.typography)&&s.fontSize&&(f=null==u?void 0:null==(l=u.typography)?void 0:l.fontSize);return v&&(f=v),null!=p&&p.fontSize&&(f=p.fontSize),!c||v||null!=p&&p.fontSize||(f=c),this.getParsedFontSize(f)}},{key:"getLineHeight",value:function(){var e,t,n,o=this.props,s=o.baseGlobalStyles,l=o.tagName;null==s||null==(e=s.elements)||null==(t=e[l])||null==(n=t.typography)||n.lineHeight}},{key:"getBlockUseDefaultFont",value:function(){if(this.isIOS){var e=this.props,t=e.baseGlobalStyles,n=e.tagName;return t&&0!==Object.entries(t).length&&/pre|h([1-6])$/gm.test(n)}}},{key:"render",value:function(){var e,o,s=this,l=this.props,u=l.tagName,h=l.style,c=l.__unstableIsSelected,v=l.children,f=l.getStylesFromColorScheme,y=l.minWidth,T=l.maxWidth,F=l.formatTypes,E=l.parentBlockStyles,b=l.accessibilityLabel,z=l.disableEditingMenu,k=void 0!==z&&z,x=l.baseGlobalStyles,A=this.state.currentFontSize,R=this.getRecord(),P=this.getHtmlToRender(R,u),D=this.getEditableProps(),w=this.getBlockUseDefaultFont(),U=f(K.default.richTextPlaceholder,K.default.richTextPlaceholderDark).color,B=A,N=this.getLineHeight(),O=f(K.default.richText,K.default.richTextDark),I=O.color,W=O.textDecorationColor,M=O.fontFamily,H=null;if(this.needsSelectionUpdate&&(this.needsSelectionUpdate=!1,H={start:this.props.selectionStart,end:this.props.selectionEnd},!this.isIOS)){var L=P.match(/('+(0,u.__)('In quoting others, we cite ourselves.')+'
',citation:'Julio Cort\xe1zar',className:'is-style-large'}},transforms:v.default,edit:s.default,save:f.default,merge:function(t,u){var l=u.value,o=u.citation;return o||(o=t.citation),l&&''!==l?(0,n.default)({},t,{value:t.value+l,citation:o}):(0,n.default)({},t,{citation:o})},deprecated:o.default};e.settings=_},2668,[3,21,1036,1511,2669,2670,2671,2672,2673]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=r(d[3]),s=r(d[4]),c={value:{type:'string',source:'html',selector:'blockquote',multiline:'p',default:''},citation:{type:'string',source:'html',selector:'cite',default:''},align:{type:'string'}},o=[{attributes:c,save:function(t){var n=t.attributes,u=n.align,c=n.value,o=n.citation;return(0,l.createElement)("blockquote",{style:{textAlign:u||null}},(0,l.createElement)(s.RichText.Content,{multiline:!0,value:c}),!s.RichText.isEmpty(o)&&(0,l.createElement)(s.RichText.Content,{tagName:"cite",value:o}))}},{attributes:(0,n.default)({},c,{style:{type:'number',default:1}}),migrate:function(t){return 2===t.style?(0,n.default)({},(0,u.omit)(t,['style']),{className:t.className?t.className+' is-style-large':'is-style-large'}):t},save:function(t){var n=t.attributes,u=n.align,c=n.value,o=n.citation,y=n.style;return(0,l.createElement)("blockquote",{className:2===y?'is-large':'',style:{textAlign:u||null}},(0,l.createElement)(s.RichText.Content,{multiline:!0,value:c}),!s.RichText.isEmpty(o)&&(0,l.createElement)(s.RichText.Content,{tagName:"cite",value:o}))}},{attributes:(0,n.default)({},c,{citation:{type:'string',source:'html',selector:'footer',default:''},style:{type:'number',default:1}}),migrate:function(t){return isNaN(parseInt(t.style))?t:(0,n.default)({},(0,u.omit)(t,['style']))},save:function(t){var n=t.attributes,u=n.align,c=n.value,o=n.citation,y=n.style;return(0,l.createElement)("blockquote",{className:"blocks-quote-style-"+y,style:{textAlign:u||null}},(0,l.createElement)(s.RichText.Content,{multiline:!0,value:c}),!s.RichText.isEmpty(o)&&(0,l.createElement)(s.RichText.Content,{tagName:"footer",value:o}))}}];e.default=o},2669,[3,437,21,1107,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.attributes,b=t.setAttributes,h=t.isSelected,k=t.mergeBlocks,x=t.onReplace,A=t.className,B=t.insertBlocksAfter,E=t.style,y=v.align,R=v.value,C=v.citation,M=(0,s.useBlockProps)({className:(0,c.default)(A,(0,o.default)({},"has-text-align-"+y,y)),style:E});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.BlockControls,{group:"block"},(0,n.createElement)(s.AlignmentControl,{value:y,onChange:function(t){b({align:t})}})),(0,n.createElement)(_.BlockQuotation,M,(0,n.createElement)(s.RichText,{identifier:"value",multiline:!0,value:R,onChange:function(t){return b({value:t})},onMerge:k,onRemove:function(t){var n=!C||0===C.length;!t&&n&&x([])},"aria-label":(0,u.__)('Quote text'),placeholder:(0,u.__)('Add quote'),onReplace:x,onSplit:function(t){return(0,f.createBlock)('core/quote',(0,l.default)({},v,{value:t}))},__unstableOnSplitMiddle:function(){return(0,f.createBlock)('core/paragraph')},textAlign:y}),(!s.RichText.isEmpty(C)||h)&&(0,n.createElement)(s.RichText,{identifier:"citation",tagName:p?'cite':void 0,style:{display:'block'},value:C,onChange:function(t){return b({citation:t})},__unstableMobileNoFocusOnMount:!0,"aria-label":(0,u.__)('Quote citation text'),placeholder:(0,u.__)('Add citation'),className:"wp-block-quote__citation",textAlign:y,__unstableOnSplitAtEnd:function(){return B((0,f.createBlock)('core/paragraph'))}})))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=r(d[5]),s=r(d[6]),_=r(d[7]),f=r(d[8]),p='web'===n.Platform.OS},2670,[3,437,21,258,1770,1036,1098,1311,1101]); -__d(function(e,t,l,o,a,n,i){a.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/quote",title:"Quote",category:"text",description:"Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" \u2014 Julio Cort\xe1zar",keywords:["blockquote","cite"],textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"plain",label:"Plain"},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"}},2671,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.attributes,s=o.align,v=o.value,f=o.citation,h=(0,u.default)((0,n.default)({},"has-text-align-"+s,s));return(0,l.createElement)("blockquote",c.useBlockProps.save({className:h}),(0,l.createElement)(c.RichText.Content,{multiline:!0,value:v}),!c.RichText.isEmpty(f)&&(0,l.createElement)(c.RichText.Content,{tagName:"cite",value:f}))};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},2672,[3,437,258,1770,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.richText});e.default=o},2673,[3,21,2674,2645]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),c=t(r(d[2])),n=t(r(d[3])),l=r(d[4]),u=r(d[5]),p=["value","citation"],h={from:[{type:'block',isMultiBlock:!0,blocks:['core/paragraph'],transform:function(t){return(0,l.createBlock)('core/quote',{value:(0,u.toHTMLString)({value:(0,u.join)(t.map(function(t){var o=t.content;return(0,u.create)({html:o})}),"\u2028"),multilineTag:'p'}),anchor:t.anchor})}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.content,c=t.anchor;return(0,l.createBlock)('core/quote',{value:""+o+"
",anchor:c})}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,c=t.citation,n=t.anchor;return(0,l.createBlock)('core/quote',{value:o,citation:c,anchor:n})}},{type:'prefix',prefix:'>',transform:function(t){return(0,l.createBlock)('core/quote',{value:""+t+"
"})}},{type:'raw',isMatch:function(t){var o,c=(o=!1,function(t){return'P'===t.nodeName||(o||'CITE'!==t.nodeName?void 0:(o=!0,!0))});return'BLOCKQUOTE'===t.nodeName&&Array.from(t.childNodes).every(c)},schema:function(t){var o=t.phrasingContentSchema;return{blockquote:{children:{p:{children:o},cite:{children:o}}}}}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,c=t.citation,p=[];return o&&''!==o&&p.push.apply(p,(0,n.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),c&&''!==c&&p.push((0,l.createBlock)('core/paragraph',{content:c})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var n=t.value,h=t.citation,f=(0,c.default)(t,p);if(''===n)return(0,l.createBlock)('core/heading',{content:h});var v=(0,u.split)((0,u.create)({html:n,multilineTag:'p'}),"\u2028"),k=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:v[0]})});if(!h&&1===v.length)return k;var s=v.slice(1);return[k,(0,l.createBlock)('core/quote',(0,o.default)({},f,{citation:h,value:(0,u.toHTMLString)({value:s.length?(0,u.join)(v.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,c=t.citation,n=t.anchor;return(0,l.createBlock)('core/pullquote',{value:o,citation:c,anchor:n})}}]};e.default=h},2674,[3,21,4,57,1101,2007]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),u=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),f=l.default.name;e.name=f;var _={icon:n.gallery,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:c.default,edit:u.default,save:o.default,deprecated:s.default};e.settings=_},2675,[3,1511,2676,2679,2700,2701,2703]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.defaultColumnsNumberV1=k,e.getHrefAndDestination=E,e.getImageBlock=v;var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4]),s=r(d[5]),o=r(d[6]),p=r(d[7]),f=r(d[8]),b='file',y='post';function k(t){var l;return Math.min(3,null==t?void 0:null==(l=t.images)?void 0:l.length)}function E(t,l){switch(l){case b:return{href:(null==t?void 0:t.source_url)||(null==t?void 0:t.url),linkDestination:p.LINK_DESTINATION_MEDIA};case y:return{href:null==t?void 0:t.link,linkDestination:p.LINK_DESTINATION_ATTACHMENT};case p.LINK_DESTINATION_MEDIA:return{href:(null==t?void 0:t.source_url)||(null==t?void 0:t.url),linkDestination:p.LINK_DESTINATION_MEDIA};case p.LINK_DESTINATION_ATTACHMENT:return{href:null==t?void 0:t.link,linkDestination:p.LINK_DESTINATION_ATTACHMENT};case p.LINK_DESTINATION_NONE:return{href:void 0,linkDestination:p.LINK_DESTINATION_NONE}}return{}}function N(t){var l=t.linkTo?t.linkTo:'none';'post'===l?l='attachment':'file'===l&&(l='media');var u=t.images.map(function(n){return v(n,t.sizeSlug,l)});return[(0,n.default)({},(0,c.omit)(t,['images','ids']),{linkTo:l,allowResize:!1}),u]}function v(t,l,u){return(0,o.createBlock)('core/image',(0,n.default)({},t.id&&{id:parseInt(t.id)},{url:t.url,alt:t.alt,caption:t.caption,sizeSlug:l},E(t,u)))}var T=[{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:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.caption,E=n.linkTo,N="columns-"+o+" "+(p?'is-cropped':'');return(0,l.createElement)("figure",s.useBlockProps.save({className:N}),(0,l.createElement)("ul",{className:"blocks-gallery-grid"},u.map(function(t){var n;switch(E){case b:n=t.fullUrl||t.url;break;case y:n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,!s.RichText.isEmpty(t.caption)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:t.caption})))})),!s.RichText.isEmpty(f)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:f}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):t}},{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:function(t){var l=t.linkTo;return!l||'attachment'===l||'media'===l},migrate:function(t){if((0,f.isGalleryV2Enabled)())return N(t);var l=t.linkTo;return t.linkTo?'attachment'===t.linkTo?l='post':'media'===t.linkTo&&(l='file'):l='none',(0,n.default)({},t,{linkTo:l})},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.caption,b=n.linkTo;return(0,l.createElement)("figure",{className:"columns-"+o+" "+(p?'is-cropped':'')},(0,l.createElement)("ul",{className:"blocks-gallery-grid"},u.map(function(t){var n;switch(b){case'media':n=t.fullUrl||t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,!s.RichText.isEmpty(t.caption)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:t.caption})))})),!s.RichText.isEmpty(f)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:f}))}},{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:function(t){var l=t.ids;return l&&l.some(function(t){return'string'==typeof t})},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):(0,n.default)({},t,{ids:(0,c.map)(t.ids,function(t){var l=parseInt(t,10);return Number.isInteger(l)?l:null})})},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.caption,b=n.linkTo;return(0,l.createElement)("figure",{className:"columns-"+o+" "+(p?'is-cropped':'')},(0,l.createElement)("ul",{className:"blocks-gallery-grid"},u.map(function(t){var n;switch(b){case'media':n=t.fullUrl||t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,!s.RichText.isEmpty(t.caption)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:t.caption})))})),!s.RichText.isEmpty(f)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:f}))}},{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:'array',source:'children',selector:'figcaption'}}},ids:{type:'array',default:[]},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'}},supports:{align:!0},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.linkTo;return(0,l.createElement)("ul",{className:"columns-"+o+" "+(p?'is-cropped':'')},u.map(function(t){var n;switch(f){case'media':n=t.fullUrl||t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,t.caption&&t.caption.length>0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):t}},{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:'array',source:'children',selector:'figcaption'}}},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'}},isEligible:function(t){var l=t.images,n=t.ids;return l&&l.length>0&&(!n&&l||n&&l&&n.length!==l.length||(0,c.some)(l,function(t,l){return!t&&null!==n[l]||parseInt(t,10)!==n[l]}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):(0,n.default)({},t,{ids:(0,c.map)(t.images,function(t){var l=t.id;return l?parseInt(l,10):null})})},supports:{align:!0},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.linkTo;return(0,l.createElement)("ul",{className:"columns-"+o+" "+(p?'is-cropped':'')},u.map(function(t){var n;switch(f){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,t.caption&&t.caption.length>0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))}},{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:function(t){var n=t.attributes,c=n.images,s=n.columns,o=void 0===s?k(n):s,p=n.align,f=n.imageCrop,b=n.linkTo,y=(0,u.default)("columns-"+o,{alignnone:'none'===p,'is-cropped':f});return(0,l.createElement)("div",{className:y},c.map(function(t){var n;switch(b){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id});return(0,l.createElement)("figure",{key:t.id||t.url,className:"blocks-gallery-image"},n?(0,l.createElement)("a",{href:n},u):u)}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):t}}];e.default=T},2676,[3,437,21,1770,1107,1098,1101,2677,2678]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LINK_DESTINATION_NONE=e.LINK_DESTINATION_MEDIA=e.LINK_DESTINATION_ATTACHMENT=void 0;e.LINK_DESTINATION_NONE='none';e.LINK_DESTINATION_MEDIA='media';e.LINK_DESTINATION_ATTACHMENT='attachment'},2677,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultColumnsNumber=function(l){return l?Math.min(3,l):3},e.isGalleryV2Enabled=function(){if(2===process.env.GUTENBERG_PHASE){if(!window.wp||'boolean'!=typeof window.wp.galleryBlockV2Enabled)throw'window.wp.galleryBlockV2Enabled is not defined';return window.wp.galleryBlockV2Enabled}return!0},e.pickRelevantMediaFiles=void 0;var l=r(d[0]);e.pickRelevantMediaFiles=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'large',o=(0,l.pick)(n,['alt','id','link','caption']);o.url=(0,l.get)(n,['sizes',t,'url'])||(0,l.get)(n,['media_details','sizes',t,'source_url'])||n.url;var u=(0,l.get)(n,['sizes','full','url'])||(0,l.get)(n,['media_details','sizes','full','source_url']);return u&&(o.fullUrl=u),o}},2678,[1107]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),u=r(d[3]),o=t(r(d[4])),c=t(r(d[5])),f=r(d[6]);var v=(0,n.compose)([u.withNotices])(function(t){return(0,f.isGalleryV2Enabled)()?(0,l.createElement)(o.default,t):(0,l.createElement)(c.default,t)});e.default=v},2679,[3,437,1144,1311,2680,2690,2678]); -__d(function(g,r,i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),a=t(r(d[3])),o=r(d[4]),u=r(d[5]),s=r(d[6]),c=r(d[7]),f=r(d[8]),p=r(d[9]),v=r(d[10]),_=r(d[11]),b=r(d[12]),h=r(d[13]),k=r(d[14]),N=r(d[15]),E=r(d[16]),I=r(d[17]),y=r(d[18]),S=t(r(d[19])),T=r(d[20]),A=t(r(d[21])),C=t(r(d[22])),B=t(r(d[23])),w=t(r(d[24])),M=8,O=[{value:T.LINK_DESTINATION_ATTACHMENT,label:(0,f.__)('Attachment Page')},{value:T.LINK_DESTINATION_MEDIA,label:(0,f.__)('Media File')},{value:T.LINK_DESTINATION_NONE,label:(0,f._x)('None','Media item link option')}],D=['image'],P=n.Platform.isNative?(0,f.__)('ADD MEDIA'):(0,f.__)('Drag images, upload new ones or select files from your library.'),L=n.Platform.isNative?{type:'stepper'}:{};var z=(0,u.compose)([s.withNotices,(0,v.withViewportMatch)({isNarrow:'< small'})])(function(t){var u=t.setAttributes,v=t.attributes,z=t.className,x=t.clientId,U=t.noticeOperations,F=t.isSelected,R=t.noticeUI,V=t.insertBlocksAfter,K=v.columns,j=v.imageCrop,G=v.linkTarget,H=v.linkTo,q=v.shortCodeTransforms,J=v.sizeSlug,W=(0,p.useDispatch)(c.store),Q=W.__unstableMarkNextChangeAsNotPersistent,X=W.replaceInnerBlocks,Y=W.updateBlockAttributes,Z=(0,p.useDispatch)(k.store).createSuccessNotice,$=(0,p.useSelect)(function(t){var n,l=t(c.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:t(c.store).getBlock,getSettings:t(c.store).getSettings,preferredStyle:null==l?void 0:null==(n=l.value)?void 0:n['core/image']}},[]),ee=$.getBlock,te=$.getSettings,ne=$.preferredStyle,le=(0,p.useSelect)(function(t){var n;return null==(n=t(c.store).getBlock(x))?void 0:n.innerBlocks},[x]),ie=(0,p.useSelect)(function(t){return t(c.store).wasBlockJustInserted(x,'inserter_menu')},[x]),ae=(0,n.useMemo)(function(){return null==le?void 0:le.map(function(t){return{clientId:t.clientId,id:t.attributes.id,url:t.attributes.url,attributes:t.attributes,fromSavedContent:Boolean(t.originalContent)}})},[le]),re=(0,w.default)(le),oe=(0,B.default)(ae,re);(0,n.useEffect)(function(){null==oe||oe.forEach(function(t){var n,a,u;Y(t.clientId,(0,l.default)({},(n=t.attributes,u=n.id?(0,o.find)(re,{id:n.id}):null,a=n.className&&''!==n.className?n.className:ne?"is-style-"+ne:void 0,(0,l.default)({},(0,E.pickRelevantMediaFiles)(n,J),(0,I.getHrefAndDestination)(u,H),(0,y.getUpdatedLinkTargetSettings)(G,v),{className:a,sizeSlug:J})),{id:t.id,align:void 0}))})},[oe]);var ue=(0,C.default)(q);(0,n.useEffect)(function(){q&&ue&&(de(ue),u({shortCodeTransforms:void 0}))},[q,ue]);var se=(0,A.default)(re,F,te);function ce(t){var n;return D.some(function(n){var l;return 0===(null==(l=t.type)?void 0:l.indexOf(n))})||0===(null==(n=t.url)?void 0:n.indexOf('blob:'))}function de(t){var n='[object FileList]'===Object.prototype.toString.call(t),l=n?Array.from(t).map(function(t){return t.url?t:(0,E.pickRelevantMediaFiles)({url:(0,h.createBlobURL)(t)})}):t;l.every(ce)||(U.removeAllNotices(),U.createErrorNotice((0,f.__)('If uploading to a gallery all files need to be image formats'),{id:'gallery-upload-invalid-file'}));var a=l.filter(function(t){return t.url||ce(t)}).map(function(t){return t.url?t:(0,E.pickRelevantMediaFiles)({url:(0,h.createBlobURL)(t)})}),u=a.reduce(function(t,n,l){return t[n.id]=l,t},{}),s=n?le:le.filter(function(t){return a.find(function(n){return n.id===t.attributes.id})}),c=a.filter(function(t){return!s.find(function(n){return t.id===n.attributes.id})}).map(function(t){return(0,b.createBlock)('core/image',{id:t.id,url:t.url,caption:t.caption,alt:t.alt})});X(x,(0,o.concat)(s,c).sort(function(t,n){return u[t.attributes.id]-u[n.attributes.id]}))}(0,n.useEffect)(function(){var t,n,l,a,o,s;H||(Q(),u({linkTo:(null==(t=window)?void 0:null==(n=t.wp)?void 0:null==(l=n.media)?void 0:null==(a=l.view)?void 0:null==(o=a.settings)?void 0:null==(s=o.defaultProps)?void 0:s.link)||T.LINK_DESTINATION_NONE}))},[H]);var fe=!!ae.length,ge=fe&&ae.some(function(t){return!!t.id}),me=ae.some(function(t){var n;return!t.id&&0===(null==(n=t.url)?void 0:n.indexOf('blob:'))}),pe=(0,n.createElement)(c.MediaPlaceholder,{addToGallery:ge,handleUpload:!1,isAppender:fe,disableMediaButtons:fe&&!F||me,icon:!fe&&N.sharedIcon,labels:{title:!fe&&(0,f.__)('Gallery'),instructions:!fe&&P},onSelect:de,accept:"image/*",allowedTypes:D,multiple:!0,value:ge?ae:{},onError:function(t){U.removeAllNotices(),U.createErrorNotice(t)},notices:fe?void 0:R,autoOpenMediaUpload:!fe&&F&&ie}),ve=(0,c.useBlockProps)({className:(0,a.default)(z,'has-nested-images')});if(!fe)return(0,n.createElement)(_.View,ve,pe);var _e=H&&'none'!==H;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(s.PanelBody,{title:(0,f.__)('Gallery settings')},ae.length>1&&(0,n.createElement)(s.RangeControl,(0,l.default)({label:(0,f.__)('Columns'),value:K||(0,E.defaultColumnsNumber)(ae.length),onChange:function(t){u({columns:t})},min:1,max:Math.min(M,ae.length)},L,{required:!0})),(0,n.createElement)(s.ToggleControl,{label:(0,f.__)('Crop images'),checked:!!j,onChange:function(){u({imageCrop:!j})},help:function(t){return t?(0,f.__)('Thumbnails are cropped to align.'):(0,f.__)('Thumbnails are not cropped.')}}),(0,n.createElement)(s.SelectControl,{label:(0,f.__)('Link to'),value:H,onChange:function(t){u({linkTo:t});var n={},l=[];ee(x).innerBlocks.forEach(function(a){l.push(a.clientId);var u=a.attributes.id?(0,o.find)(re,{id:a.attributes.id}):null;n[a.clientId]=(0,I.getHrefAndDestination)(u,t)}),Y(l,n,!0);var a=[].concat(O).find(function(n){return n.value===t});Z((0,f.sprintf)((0,f.__)('All gallery image links updated to: %s'),a.label),{id:'gallery-attributes-linkTo',type:'snackbar'})},options:O,hideCancelButton:!0}),_e&&(0,n.createElement)(s.ToggleControl,{label:(0,f.__)('Open in new tab'),checked:'_blank'===G,onChange:function(t){var n=t?'_blank':void 0;u({linkTarget:n});var l={},a=[];ee(x).innerBlocks.forEach(function(t){a.push(t.clientId),l[t.clientId]=(0,y.getUpdatedLinkTargetSettings)(n,t.attributes)}),Y(a,l,!0);var o=t?(0,f.__)('All gallery images updated to open in new tab'):(0,f.__)('All gallery images updated to not open in new tab');Z(o,{id:'gallery-attributes-openInNewTab',type:'snackbar'})}}),(null==se?void 0:se.length)>0&&(0,n.createElement)(s.SelectControl,{label:(0,f.__)('Image size'),value:J,options:se,onChange:function(t){u({sizeSlug:t});var n={},l=[];ee(x).innerBlocks.forEach(function(a){l.push(a.clientId);var u=a.attributes.id?(0,o.find)(re,{id:a.attributes.id}):null;n[a.clientId]=(0,y.getImageSizeAttributes)(u,t)}),Y(l,n,!0);var a=se.find(function(n){return n.value===t});Z((0,f.sprintf)((0,f.__)('All gallery image sizes updated to: %s'),a.label),{id:'gallery-attributes-sizeSlug',type:'snackbar'})},hideCancelButton:!0}),n.Platform.isWeb&&!se&&ge&&(0,n.createElement)(s.BaseControl,{className:'gallery-image-sizes'},(0,n.createElement)(s.BaseControl.VisualLabel,null,(0,f.__)('Image size')),(0,n.createElement)(_.View,{className:'gallery-image-sizes__loading'},(0,n.createElement)(s.Spinner,null),(0,f.__)('Loading options\u2026'))))),R,(0,n.createElement)(S.default,(0,l.default)({},t,{images:ae,mediaPlaceholder:pe,blockProps:ve,insertBlocksAfter:V})))});e.default=z},2680,[3,437,21,1770,1107,1144,1311,1098,1036,1103,2574,1312,1101,2656,2366,2681,2678,2683,2650,2684,2677,2686,2687,2688,2689]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.sharedIcon=void 0;var n=r(d[1]),t=o(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),f=o(r(d[6])),h=(0,c.withPreferredColorScheme)(function(o){var c=(0,o.getStylesFromColorScheme)(f.default.icon,f.default.iconDark);return(0,n.createElement)(l.Icon,(0,t.default)({icon:u.gallery},c))}),v=(0,n.createElement)(h,null);e.sharedIcon=v},2681,[3,437,21,1311,1144,1511,2682]); -__d(function(g,r,i,a,m,e,d){m.exports={icon:{fill:"#2e4453"},iconDark:{fill:"#fff"}}},2682,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getHrefAndDestination=function(I,t){switch(t){case n.LINK_DESTINATION_MEDIA:return{href:(null==I?void 0:I.source_url)||(null==I?void 0:I.url),linkDestination:N.LINK_DESTINATION_MEDIA};case n.LINK_DESTINATION_ATTACHMENT:return{href:null==I?void 0:I.link,linkDestination:N.LINK_DESTINATION_ATTACHMENT};case n.LINK_DESTINATION_NONE:return{href:void 0,linkDestination:N.LINK_DESTINATION_NONE}}return{}};var n=r(d[0]),N=r(d[1])},2683,[2677,2651]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Gallery=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),s=r(d[5]),c=t(r(d[6])),f=r(d[7]),p=r(d[8]),y=r(d[9]),v=r(d[10]),E=r(d[11]),h=function(t){var h=(0,l.useState)(!1),_=(0,n.default)(h,2),b=_[0],B=_[1],w=(0,E.useResizeObserver)(),k=(0,n.default)(w,2),A=k[0],C=k[1],G=(0,l.useState)(0),I=(0,n.default)(G,2),S=I[0],z=I[1];(0,l.useEffect)(y.mediaUploadSync,[]);var M=t.mediaPlaceholder,N=t.attributes,P=t.images,V=t.isNarrow,W=t.onBlur,L=t.insertBlocksAfter,O=t.clientId;(0,l.useEffect)(function(){var t=(C||{}).width;t&&z(t)},[C]);var R=N.align,j=N.columns,x=void 0===j?(0,s.defaultColumnsNumber)(P.length):j,D=Math.min(x,V?2:4),F=(0,p.useInnerBlocksProps)({},{contentResizeMode:'stretch',allowedBlocks:['core/image'],orientation:'horizontal',renderAppender:!1,numColumns:D,marginHorizontal:8,marginVertical:8,__experimentalLayout:{type:'default',alignments:[]},gridProperties:{numColumns:D},parentWidth:S+16}),H=R===v.WIDE_ALIGNMENTS.alignments.full;return(0,l.createElement)(o.View,{style:H&&c.default.fullWidth},A,(0,l.createElement)(o.View,F),(0,l.createElement)(o.View,{style:[H&&c.default.fullWidth,c.default.galleryAppender]},M),(0,l.createElement)(p.BlockCaption,{clientId:O,isSelected:b,accessible:!0,accessibilityLabelCreator:function(t){return(0,u.isEmpty)(t)?'Gallery caption. Empty':(0,f.sprintf)((0,f.__)('Gallery caption. %s'),t)},onFocus:function(){b||B(!0)},onBlur:W,insertBlocksAfter:L}))};e.Gallery=h;var _=h;e.default=_},2684,[3,437,49,22,1107,2678,2685,1036,1098,1032,1311,1144]); -__d(function(g,r,i,a,m,e,d){m.exports={galleryTilesContainerSelected:{marginBottom:16},fullWidth:{marginLeft:16,marginRight:16},galleryAppender:{paddingTop:16}}},2685,[]); -__d(function(g,r,i,a,m,e,d){var u=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u,s,o){return(0,f.useMemo)(function(){return c()},[u,s]);function c(){if(u&&0!==u.length){var f=o(),c=f.imageSizes,v={};return s&&(v=u.reduce(function(u,f){if(!f.id)return u;var s=c.reduce(function(u,s){var o=(0,l.get)(f,['sizes',s.slug,'url']),c=(0,l.get)(f,['media_details','sizes',s.slug,'source_url']);return(0,t.default)({},u,(0,n.default)({},s.slug,o||c))},{});return(0,t.default)({},u,(0,n.default)({},parseInt(f.id,10),s))},{})),c.filter(function(u){var n=u.slug;return(0,l.some)(v,function(u){return u[n]})}).map(function(u){var n=u.name,t=u.slug;return{value:t,label:n}})}}};var n=u(r(d[1])),t=u(r(d[2])),l=r(d[3]),f=r(d[4])},2686,[3,258,21,1107,437]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var f=(0,n.useSelect)(function(t){if(l&&0!==l.length){var n=t(u.store).getMedia;return l.map(function(t){var u=n(t.id);if(u)return{id:u.id,type:'image',url:u.source_url,mime:u.mime_type,alt:u.alt_text,link:u.link}})}},[l]);if(!f)return;if((0,t.every)(f,function(t){return t&&t.url}))return f};var t=r(d[0]),n=r(d[1]),u=r(d[2])},2687,[1107,1103,2374]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,l){var o=(0,f.useState)([]),c=(0,u.default)(o,2),v=c[0],h=c[1];return(0,f.useMemo)(function(){return I()},[n,l]);function I(){var u=!1,f=v.filter(function(t){return n.find(function(n){return t.clientId===n.clientId})});f.length'+(0,n.__)('One of the hardest things to do in technology is disrupt yourself.')+'
',citation:(0,n.__)('Matt Mullenweg')}},transforms:c.default,edit:o.default,save:f.default,deprecated:l.default};e.settings=_},2864,[3,1036,1511,2865,2867,2872,2873,2874]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),n=r(d[6]),C=r(d[7]),f=r(d[8]),v=r(d[9]),b=["className","mainColor","customMainColor","customTextColor"],x=["className","figureStyle","mainColor","customMainColor","customTextColor"],N=["className","mainColor","customMainColor","customTextColor"],y={value:{type:'string',source:'html',selector:'blockquote',multiline:'p'},citation:{type:'string',source:'html',selector:'cite',default:''},mainColor:{type:'string'},customMainColor:{type:'string'},textColor:{type:'string'},customTextColor:{type:'string'}};function T(t){if(t){var o=t.match(/border-color:([^;]+)[;]?/);return o&&o[1]?o[1]:void 0}}var h=[{attributes:(0,u.default)({},y),save:function(t){var l,u,f=t.attributes,b=f.mainColor,x=f.customMainColor,N=f.customTextColor,y=f.textColor,T=f.value,h=f.citation,E=f.className;if((0,n.includes)(E,v.SOLID_COLOR_CLASS)){var S=(0,C.getColorClassName)('background-color',b);l=(0,s.default)((0,c.default)({'has-background':S||x},S,S)),u={backgroundColor:S?void 0:x}}else x&&(u={borderColor:x});var k=(0,C.getColorClassName)('color',y),R=(0,s.default)((0,c.default)({'has-text-color':y||N},k,k)),O=k?void 0:{color:N};return(0,o.createElement)("figure",C.useBlockProps.save({className:l,style:u}),(0,o.createElement)("blockquote",{className:R,style:O},(0,o.createElement)(C.RichText.Content,{value:T,multiline:!0}),!C.RichText.isEmpty(h)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:h})))},migrate:function(t){var o,c=t.className,s=t.mainColor,C=t.customMainColor,f=t.customTextColor,x=(0,l.default)(t,b),N=(0,n.includes)(c,v.SOLID_COLOR_CLASS);return C&&(o=N?{color:{background:C}}:{border:{color:C}}),f&&o&&(o.color=(0,u.default)({},o.color,{text:f})),(0,u.default)({className:c,backgroundColor:N?s:void 0,borderColor:N?void 0:s,textAlign:N?'left':void 0,style:o},x)}},{attributes:(0,u.default)({},y,{figureStyle:{source:'attribute',selector:'figure',attribute:'style'}}),save:function(t){var l,u,f=t.attributes,b=f.mainColor,x=f.customMainColor,N=f.textColor,y=f.customTextColor,h=f.value,E=f.citation,S=f.className,k=f.figureStyle;if((0,n.includes)(S,v.SOLID_COLOR_CLASS)){var R=(0,C.getColorClassName)('background-color',b);l=(0,s.default)((0,c.default)({'has-background':R||x},R,R)),u={backgroundColor:R?void 0:x}}else if(x)u={borderColor:x};else if(b){u={borderColor:T(k)}}var O=(0,C.getColorClassName)('color',N),L=(N||y)&&(0,s.default)('has-text-color',(0,c.default)({},O,O)),p=O?void 0:{color:y};return(0,o.createElement)("figure",{className:l,style:u},(0,o.createElement)("blockquote",{className:L,style:p},(0,o.createElement)(C.RichText.Content,{value:h,multiline:!0}),!C.RichText.isEmpty(E)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:E})))},migrate:function(t){var o,c=t.className,s=t.figureStyle,C=t.mainColor,f=t.customMainColor,b=t.customTextColor,N=(0,l.default)(t,x),y=(0,n.includes)(c,v.SOLID_COLOR_CLASS);if(f&&(o=y?{color:{background:f}}:{border:{color:f}}),b&&o&&(o.color=(0,u.default)({},o.color,{text:b})),!y&&C&&s){var h=T(s);if(h)return(0,u.default)({},N,{className:c,style:{border:{color:h}}})}return(0,u.default)({className:c,backgroundColor:y?C:void 0,borderColor:y?void 0:C,textAlign:y?'left':void 0,style:o},N)}},{attributes:y,save:function(t){var l,u,b=t.attributes,x=b.mainColor,N=b.customMainColor,y=b.textColor,T=b.customTextColor,h=b.value,E=b.citation,S=b.className;if((0,n.includes)(S,v.SOLID_COLOR_CLASS))(l=(0,C.getColorClassName)('background-color',x))||(u={backgroundColor:N});else if(N)u={borderColor:N};else if(x){var k=(0,n.get)((0,f.select)(C.store).getSettings(),['colors'],[]);u={borderColor:(0,C.getColorObjectByAttributeValues)(k,x).color}}var R=(0,C.getColorClassName)('color',y),O=y||T?(0,s.default)('has-text-color',(0,c.default)({},R,R)):void 0,L=R?void 0:{color:T};return(0,o.createElement)("figure",{className:l,style:u},(0,o.createElement)("blockquote",{className:O,style:L},(0,o.createElement)(C.RichText.Content,{value:h,multiline:!0}),!C.RichText.isEmpty(E)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:E})))},migrate:function(t){var o=t.className,c=t.mainColor,s=t.customMainColor,C=t.customTextColor,f=(0,l.default)(t,N),b=(0,n.includes)(o,v.SOLID_COLOR_CLASS),x={};return s&&(x=b?{color:{background:s}}:{border:{color:s}}),C&&x&&(x.color=(0,u.default)({},x.color,{text:C})),(0,u.default)({className:o,backgroundColor:b?c:void 0,borderColor:b?void 0:c,textAlign:b?'left':void 0,style:x},f)}},{attributes:(0,u.default)({},y),save:function(t){var l=t.attributes,c=l.value,u=l.citation;return(0,o.createElement)("blockquote",null,(0,o.createElement)(C.RichText.Content,{value:c,multiline:!0}),!C.RichText.isEmpty(u)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:u}))}},{attributes:(0,u.default)({},y,{citation:{type:'string',source:'html',selector:'footer'},align:{type:'string',default:'none'}}),save:function(t){var l=t.attributes,c=l.value,u=l.citation,s=l.align;return(0,o.createElement)("blockquote",{className:"align"+s},(0,o.createElement)(C.RichText.Content,{value:c,multiline:!0}),!C.RichText.isEmpty(u)&&(0,o.createElement)(C.RichText.Content,{tagName:"footer",value:u}))}}];e.default=h},2865,[3,437,4,258,21,1770,1107,1098,1103,2866]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SOLID_COLOR_CLASS=void 0;e.SOLID_COLOR_CLASS="is-style-solid-color"},2866,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),o=r(d[2]),n=r(d[3]),u=r(d[4]),c=r(d[5]),s=function(t){var l,n,u=t.attributes,c=t.colors,s=t.style,v=u.backgroundColor,b=(0,o.__experimentalGetColorClassesAndStyles)(u),C=(0,o.getColorObjectByAttributeValues)(c,v);return(null==C?void 0:C.color)||(null==(l=b.style)?void 0:l.backgroundColor)||(null==(n=b.style)?void 0:n.background)||(null==s?void 0:s.backgroundColor)},v=function(t){var l,n,u,c=t.attributes,s=t.colors,v=t.style,b=(0,o.__experimentalGetColorClassesAndStyles)(c),C=(0,o.getColorObjectByAttributeValues)(s,c.textColor);return(null==C?void 0:C.color)||(null==(l=b.style)?void 0:l.color)||(null==v?void 0:v.color)||(null==v?void 0:null==(n=v.baseColors)?void 0:null==(u=n.color)?void 0:u.text)},b=function(t){var l,o=t.wrapperProps,n=v(t);return(null==o?void 0:null==(l=o.style)?void 0:l.borderColor)||n};var C=function(C){var _=C.attributes,f=C.setAttributes,p=C.isSelected,x=C.insertBlocksAfter,A=_.textAlign,y=_.citation,k=_.value,h=(0,o.useBlockProps)({backgroundColor:s(C),borderColor:b(C)}),E=!o.RichText.isEmpty(y)||p;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(o.BlockControls,{group:"block"},(0,t.createElement)(o.AlignmentControl,{value:A,onChange:function(t){f({textAlign:t})}})),(0,t.createElement)(u.Figure,h,(0,t.createElement)(c.BlockQuote,{textColor:v(C)},(0,t.createElement)(o.RichText,{identifier:"value",multiline:!0,value:k,onChange:function(t){return f({value:t})},"aria-label":(0,l.__)('Pullquote text'),placeholder:(0,l.__)('Add quote'),textAlign:null!=A?A:'center'}),E&&(0,t.createElement)(o.RichText,{identifier:"citation",value:y,"aria-label":(0,l.__)('Pullquote citation text'),placeholder:(0,l.__)('Add citation'),onChange:function(t){return f({citation:t})},__unstableMobileNoFocusOnMount:!0,textAlign:null!=A?A:'center',__unstableOnSplitAtEnd:function(){return x((0,n.createBlock)('core/paragraph'))}}))))};e.default=C},2867,[437,1036,1098,1101,2868,2870]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Figure=void 0;var l=r(d[1]),t=r(d[2]),u=r(d[3]),n=o(r(d[4]));e.Figure=function(o){var c=o.children,b=o.backgroundColor,f=o.borderColor,C=(0,u.usePreferredColorSchemeStyle)(n.default.light,n.default.dark),v={};return f&&(v.borderTopColor=f,v.borderBottomColor=f),b&&(v.backgroundColor=b),(0,l.createElement)(t.View,{style:[C,v]},c)}},2868,[3,437,22,1144,2869]); -__d(function(g,r,i,a,m,e,d){m.exports={dark:{borderTopWidth:3,borderRightWidth:0,borderBottomWidth:3,borderLeftWidth:0,paddingTop:21,paddingRight:16,paddingBottom:21,paddingLeft:16,borderTopColor:"#646970",borderBottomColor:"#646970"},light:{borderTopWidth:3,borderRightWidth:0,borderBottomWidth:3,borderLeftWidth:0,paddingTop:21,paddingRight:16,paddingBottom:21,paddingLeft:16,borderTopColor:"#c8d7e1",borderBottomColor:"#c8d7e1"}}},2869,[]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BlockQuote=void 0;var t=r(d[1]),l=o(r(d[2])),n=r(d[3]),c=o(r(d[4]));e.BlockQuote=function(o){var u=(0,l.default)({},c.default.citation),f=(0,l.default)({},c.default.quote);o.textColor&&(f.color=o.textColor,f.placeholderColor=o.textColor,u.color=o.textColor,u.placeholderColor=o.textColor);var p=t.Children.map(o.children,function(o){return o&&'value'===o.props.identifier?(0,t.cloneElement)(o,{style:f}):o&&'citation'===o.props.identifier?(0,t.cloneElement)(o,{style:u}):o});return(0,t.createElement)(n.View,null,p)}},2870,[3,437,21,22,2871]); -__d(function(g,r,i,a,m,e,d){m.exports={quote:{fontSize:18},citation:{fontSize:14,marginTop:14}}},2871,[]); -__d(function(e,t,l,o,i,r,n){i.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/pullquote",title:"Pullquote",category:"text",description:"Give special visual emphasis to a quote from your text.",textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"],color:{gradients:!0,background:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}}},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"}},2872,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.attributes,s=o.textAlign,v=o.citation,f=o.value,x=!c.RichText.isEmpty(v);return(0,l.createElement)("figure",c.useBlockProps.save({className:(0,u.default)((0,n.default)({},"has-text-align-"+s,s))}),(0,l.createElement)("blockquote",null,(0,l.createElement)(c.RichText.Content,{value:f,multiline:!0}),x&&(0,l.createElement)(c.RichText.Content,{tagName:"cite",value:v})))};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},2873,[3,437,258,1770,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.richText});e.default=o},2874,[3,21,2875,2645]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),c=t(r(d[2])),n=t(r(d[3])),l=r(d[4]),u=r(d[5]),p=["value","citation"],h={from:[{type:'block',isMultiBlock:!0,blocks:['core/paragraph'],transform:function(t){return(0,l.createBlock)('core/pullquote',{value:(0,u.toHTMLString)({value:(0,u.join)(t.map(function(t){var o=t.content;return(0,u.create)({html:o})}),"\u2028"),multilineTag:'p'}),anchor:t.anchor})}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.content,c=t.anchor;return(0,l.createBlock)('core/pullquote',{value:""+o+"
",anchor:c})}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,c=t.citation,p=[];return o&&''!==o&&p.push.apply(p,(0,n.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),c&&''!==c&&p.push((0,l.createBlock)('core/paragraph',{content:c})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var n=t.value,h=t.citation,f=(0,c.default)(t,p);if(''===n)return(0,l.createBlock)('core/heading',{content:h});var v=(0,u.split)((0,u.create)({html:n,multilineTag:'p'}),"\u2028"),k=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:v[0]})});if(!h&&1===v.length)return k;var s=v.slice(1);return[k,(0,l.createBlock)('core/pullquote',(0,o.default)({},f,{citation:h,value:(0,u.toHTMLString)({value:s.length?(0,u.join)(v.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}}]};e.default=h},2875,[3,21,4,57,1101,2007]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),f=u.default.name;e.name=f;var l={edit:o.default,icon:n.symbol};e.settings=l},2876,[3,1511,2877,2878]); -__d(function(e,t,s,o,r,a,c){r.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/block",title:"Reusable block",category:"reusable",description:"Create and save content to reuse across your site. Update the block, and the changes apply everywhere it\u2019s used.",textdomain:"default",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"}},2877,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var S=t.attributes.ref,v=t.clientId,T=t.isSelected,C=(0,p.__experimentalUseNoRecursiveRenders)(S),P=(0,o.default)(C,2),D=P[0],B=P[1],I=(0,l.useState)(!1),R=(0,o.default)(I,2),w=R[0],x=R[1],W=(0,b.usePreferredColorSchemeStyle)(E.default.infoText,E.default.infoTextDark),V=(0,b.usePreferredColorSchemeStyle)(E.default.infoTitle,E.default.infoTitleDark),A=(0,b.usePreferredColorSchemeStyle)(E.default.infoSheetIcon,E.default.infoSheetIconDark),F=(0,b.usePreferredColorSchemeStyle)(E.default.infoDescription,E.default.infoDescriptionDark),H=(0,b.usePreferredColorSchemeStyle)(E.default.actionButton,E.default.actionButtonDark),M=(0,b.usePreferredColorSchemeStyle)(E.default.spinner,E.default.spinnerDark),O=(0,u.useSelect)(function(t){var l=t(s.store).getEntityRecord('postType','wp_block',S),o=t(s.store).hasFinishedResolution('getEntityRecord',['postType','wp_block',S]);return{hasResolved:o,isEditing:t(y.store).__experimentalIsEditingReusableBlock(v),isMissing:o&&!l}},[S,v]),z=O.hasResolved,N=O.isEditing,j=O.isMissing,L=(0,u.useDispatch)(h.store).createSuccessNotice,U=(0,u.useDispatch)(y.store).__experimentalConvertBlockToStatic,q=(0,u.useDispatch)(p.store).clearSelectedBlock,G=(0,s.useEntityBlockEditor)('postType','wp_block',{id:S}),J=(0,o.default)(G,3),K=J[0],Q=J[1],X=J[2],Y=(0,s.useEntityProp)('postType','wp_block','title',S),Z=(0,o.default)(Y,1)[0];function $(){x(!1)}var ee=(0,l.useCallback)(function(){L((0,f.sprintf)((0,f.__)('%s converted to regular blocks'),Z)),q(),setImmediate(function(){return U(v)})},[Z,v]);if(D)return(0,l.createElement)(p.Warning,{message:(0,f.__)('Block cannot be rendered inside itself.')});if(j)return(0,l.createElement)(p.Warning,{message:(0,f.__)('Block has been deleted or is unavailable.')});if(!z)return(0,l.createElement)(n.View,{style:M},(0,l.createElement)(n.ActivityIndicator,{animating:!0}));var te=(0,l.createElement)(p.InnerBlocks,{value:K,onChange:X,onInput:Q});N||(te=(0,l.createElement)(c.Disabled,null,te));return(0,l.createElement)(B,null,(0,l.createElement)(n.TouchableWithoutFeedback,{disabled:!T,accessibilityLabel:(0,f.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,f.__)('Tap here to show help'),onPress:function(){x(!0)}},(0,l.createElement)(n.View,null,T&&(0,l.createElement)(k.default,{title:Z}),te,(re='android'===n.Platform.OS?(0,f.__)('Editing reusable blocks is not yet supported on WordPress for Android'):(0,f.__)('Editing reusable blocks is not yet supported on WordPress for iOS'),(0,l.createElement)(c.BottomSheet,{isVisible:w,hideHeader:!0,onClose:$},(0,l.createElement)(n.View,{style:E.default.infoContainer},(0,l.createElement)(c.Icon,{icon:_.help,color:A.color,size:E.default.infoSheetIcon.size}),(0,l.createElement)(n.Text,{style:[W,V]},re),(0,l.createElement)(n.Text,{style:[W,F]},(0,f.__)('Alternatively, you can detach and edit these blocks separately by tapping "Convert to regular blocks".')),(0,l.createElement)(c.TextControl,{label:(0,f.__)('Convert to regular blocks'),separatorType:"topFullWidth",onPress:ee,labelStyle:H})))))));var re};var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),s=r(d[4]),c=r(d[5]),u=r(d[6]),f=r(d[7]),p=r(d[8]),b=r(d[9]),_=r(d[10]),y=r(d[11]),h=r(d[12]),E=t(r(d[13])),k=t(r(d[14]))},2878,[3,437,49,22,2374,1311,1103,1036,1098,1144,1511,2373,2366,2879,2880]); -__d(function(g,r,i,a,m,e,d){m.exports={titleContainer:{flexDirection:"row",alignItems:"center",paddingBottom:28},title:{fontWeight:"bold",color:"#0009",flexGrow:1,flexShrink:1},titleDark:{color:"#fff9"},separator:{backgroundColor:"#e8eaeb",height:1,position:"absolute",left:-11,right:-11,bottom:16},separatorDark:{backgroundColor:"#3c434a"},lockIconContainer:{justifyContent:"flex-start",alignItems:"flex-end",paddingRight:8},lockIcon:{color:"#0009"},lockIconDark:{color:"#fff9"},helpIconContainer:{justifyContent:"flex-start",alignItems:"flex-end"},infoIcon:{color:"#0009"},infoIconDark:{color:"#fff9"},infoContainer:{flexDirection:"column",alignItems:"center",justifyContent:"flex-end"},infoSheetIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#87a6bc"},infoSheetIconDark:{color:"#a7aaad"},infoText:{textAlign:"center",color:"#2e4453"},infoTextDark:{color:"#fff"},infoTitle:{paddingTop:8,paddingBottom:12,fontSize:20,fontWeight:"bold",color:"#2e4453"},infoTitleDark:{color:"#fff"},infoDescription:{paddingBottom:24,fontSize:16,color:"#4f748e"},infoDescriptionDark:{color:"#a7aaad"},actionButton:{color:"#2271b1"},actionButtonDark:{color:"#5198d9"},spinner:{height:48,borderWidth:1,borderRadius:2,borderColor:"#e8eaeb",justifyContent:"center"},spinnerDark:{borderColor:"#3c434a"}}},2879,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),f=r(d[5]),u=r(d[6]),s=t(r(d[7]));var k=(0,f.withPreferredColorScheme)(function(t){var f=t.getStylesFromColorScheme,k=t.title,y=f(s.default.lockIcon,s.default.lockIconDark),I=f(s.default.title,s.default.titleDark),_=f(s.default.infoIcon,s.default.infoIconDark),E=f(s.default.separator,s.default.separatorDark);return(0,l.createElement)(n.View,{style:s.default.titleContainer},(0,l.createElement)(n.View,{style:s.default.lockIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Lock icon'),icon:u.lock,size:16,style:y})),(0,l.createElement)(n.Text,{numberOfLines:1,style:I},k),(0,l.createElement)(n.View,{style:s.default.helpIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Help icon'),icon:u.help,size:20,style:_})),(0,l.createElement)(n.View,{style:E}))});e.default=k},2880,[3,437,22,1311,1036,1144,1511,2879]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),u=t(r(d[3])),o=s.default.name;e.name=o;var f={icon:n.rss,example:{attributes:{feedURL:'https://wordpress.org'}},edit:u.default};e.settings=f},2881,[3,1511,2882,2883]); -__d(function(e,t,o,s,a,l,r){a.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/rss",title:"RSS",category:"widgets",description:"Display entries from any RSS or Atom feed.",keywords:["atom","feed"],textdomain:"default",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"}},2882,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var E=t.attributes,h=t.setAttributes,C=(0,n.useState)(!E.feedURL),v=(0,o.default)(C,2),y=v[0],k=v[1],L=E.blockLayout,R=E.columns,x=E.displayAuthor,S=E.displayDate,w=E.displayExcerpt,D=E.excerptLength,T=E.feedURL,U=E.itemsToShow;function A(t){return function(){var n=E[t];h((0,l.default)({},t,!n))}}var B=(0,c.useBlockProps)();if(y)return(0,n.createElement)("div",B,(0,n.createElement)(u.Placeholder,{icon:s.rss,label:"RSS"},(0,n.createElement)("form",{onSubmit:function(t){t.preventDefault(),T&&k(!1)},className:"wp-block-rss__placeholder-form"},(0,n.createElement)(u.TextControl,{placeholder:(0,_.__)('Enter URL here\u2026'),value:T,onChange:function(t){return h({feedURL:t})},className:"wp-block-rss__placeholder-input"}),(0,n.createElement)(u.Button,{variant:"primary",type:"submit"},(0,_.__)('Use URL')))));var P=[{icon:s.edit,title:(0,_.__)('Edit RSS URL'),onClick:function(){return k(!0)}},{icon:s.list,title:(0,_.__)('List view'),onClick:function(){return h({blockLayout:'list'})},isActive:'list'===L},{icon:s.grid,title:(0,_.__)('Grid view'),onClick:function(){return h({blockLayout:'grid'})},isActive:'grid'===L}];return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,{controls:P})),(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(u.PanelBody,{title:(0,_.__)('RSS settings')},(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Number of items'),value:U,onChange:function(t){return h({itemsToShow:t})},min:f,max:b,required:!0}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display author'),checked:x,onChange:A('displayAuthor')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display date'),checked:S,onChange:A('displayDate')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display excerpt'),checked:w,onChange:A('displayExcerpt')}),w&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Max number of words in excerpt'),value:D,onChange:function(t){return h({excerptLength:t})},min:10,max:100,required:!0}),'grid'===L&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Columns'),value:R,onChange:function(t){return h({columns:t})},min:2,max:6,required:!0}))),(0,n.createElement)("div",B,(0,n.createElement)(u.Disabled,null,(0,n.createElement)(p.default,{block:"core/rss",attributes:E}))))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),u=r(d[5]),s=r(d[6]),_=r(d[7]),p=t(r(d[8])),f=1,b=10},2883,[3,437,258,49,1098,1311,1511,1036,2708]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),o=u.default.name;e.name=o;var s={icon:n.search,example:{},variations:l.default,edit:f.default};e.settings=s},2884,[3,1511,2885,2886,2888]); -__d(function(e,t,o,i,n,r,l){n.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/search",title:"Search",category:"widgets",description:"Help visitors find your content.",keywords:["find"],textdomain:"default",attributes:{label:{type:"string",__experimentalRole:"content"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:"",__experimentalRole:"content"},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string",__experimentalRole:"content"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],color:{gradients:!0,__experimentalSkipSerialization:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"}},2885,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o,n,w,E,S,T,B,I,L,N,P,F=t.onFocus,M=t.isSelected,O=t.attributes,R=t.setAttributes,A=t.className,D=t.blockWidth,V=t.style,W=(0,l.useState)(!1),H=(0,c.default)(W,2),U=H[0],j=H[1],z=(0,l.useState)(!1),q=(0,c.default)(z,2),G=q[0],J=q[1],K=(0,l.useState)(!1),Q=(0,c.default)(K,2),X=Q[0],Y=Q[1],Z=(0,l.useState)(!1),$=(0,c.default)(Z,2),ee=$[0],te=$[1],oe=(0,l.useState)(x),ne=(0,c.default)(oe,2),le=ne[0],ie=ne[1],ue=(0,l.useState)(!1),ae=(0,c.default)(ue,2),re=ae[0],ce=ae[1],se=(0,l.useRef)(null),de=O.label,be=O.showLabel,fe=O.buttonPosition,he=O.buttonUseIcon,_e=O.placeholder,ve=O.buttonText;(0,l.useEffect)(function(){var t=s.AccessibilityInfo.addEventListener('screenReaderChanged',pe);return s.AccessibilityInfo.isScreenReaderEnabled().then(function(t){ce(t)}),function(){t.remove()}},[]);var pe=function(t){ce(t)};(0,l.useEffect)(function(){Ce()&&X&&!M&&se.current.blur()},[M]),(0,l.useEffect)(function(){var t=Math.floor(D/2-y),o=le>t;ee!==o&&te(o)},[D,le]);var Ce=function(){return se&&se.current},me=function(t){var o=t.nativeEvent,n=null==o?void 0:o.layout,l=n.width;l&&ie(l)},xe=(0,f.useBlockProps)({className:(0,b.default)(A,'button-inside'===fe?'wp-block-search__button-inside':void 0,'button-outside'===fe?'wp-block-search__button-outside':void 0,'no-button'===fe?'wp-block-search__no-button':void 0,'button-only'===fe?'wp-block-search__button-only':void 0,he||'no-button'===fe?void 0:'wp-block-search__text-button',he&&'no-button'!==fe?'wp-block-search__icon-button':void 0)}),ye=(0,l.createElement)(f.InspectorControls,null,(0,l.createElement)(h.PanelBody,{title:(0,_.__)('Search settings')},(0,l.createElement)(h.ToggleControl,{label:(0,_.__)('Hide search heading'),checked:!be,onChange:function(){R({showLabel:!be})}}),(0,l.createElement)(h.SelectControl,{label:(0,_.__)('Button position'),value:(function(t){switch(t){case'button-inside':return(0,_.__)('Inside');case'button-outside':return(0,_.__)('Outside');case'no-button':return(0,_.__)('No button')}})(fe),onChange:function(t){R({buttonPosition:t})},options:k,hideCancelButton:!0}),'no-button'!==fe&&(0,l.createElement)(h.ToggleControl,{label:(0,_.__)('Use icon button'),checked:he,onChange:function(){R({buttonUseIcon:!he})}}))),ge='button-inside'===fe,ke=(0,p.usePreferredColorSchemeStyle)(C.default.border,C.default.borderDark),we=[!ge&&ke,(0,p.usePreferredColorSchemeStyle)(C.default.plainTextInput,C.default.plainTextInputDark),(null==V?void 0:null==(o=V.baseColors)?void 0:o.color)&&{color:null==V?void 0:null==(n=V.baseColors)?void 0:null==(w=n.color)?void 0:w.text}],Ee=(0,u.default)({},(0,p.usePreferredColorSchemeStyle)(C.default.plainTextPlaceholder,C.default.plainTextPlaceholderDark),(null==V?void 0:null==(E=V.baseColors)?void 0:E.color)&&{color:null==V?void 0:null==(S=V.baseColors)?void 0:null==(T=S.color)?void 0:T.text}),Se=[C.default.searchBarContainer,ge&&ke,ee&&{flexDirection:'column'}],Te=function(){return re?(0,_.__)('Search button. Current button text is')+" "+ve:'search-block-button'},Be=function(){if(!re)return'search-block-input';var t=(0,_.__)('Search input field.'),o=_e?(0,_.__)('Current placeholder text is')+" "+_e:(0,_.__)('No custom placeholder set');return t+" "+o},Ie=function(){return(0,l.createElement)(s.View,{style:C.default.searchInputContainer,accessible:!0,accessibilityRole:"none",accessibilityHint:re?(0,_.__)('Double tap to edit placeholder text'):void 0,accessibilityLabel:Be()},(0,l.createElement)(f.PlainText,{ref:se,isSelected:X,className:"wp-block-search__input",style:we,numberOfLines:1,ellipsizeMode:"tail",label:null,value:_e,placeholder:_e?void 0:(0,_.__)('Optional placeholder\u2026'),onChange:function(t){return R({placeholder:t})},onFocus:function(){Y(!0),F()},onBlur:function(){return Y(!1)},placeholderTextColor:null==Ee?void 0:Ee.color}))},Le=U||!U&&ve&&''!==ve?'':(0,_.__)('Add button text'),Ne=(0,u.default)({},null==V?void 0:null==(B=V.baseColors)?void 0:null==(I=B.blocks)?void 0:null==(L=I['core/button'])?void 0:L.color,null==O?void 0:null==(N=O.style)?void 0:N.color,(null==V?void 0:V.color)&&{text:V.color}),Pe=[C.default.buttonContainer,ee&&C.default.buttonContainerWide,(null==Ne?void 0:Ne.background)&&{backgroundColor:Ne.background,borderWidth:0},(null==V?void 0:V.backgroundColor)&&{backgroundColor:V.backgroundColor,borderWidth:0}],Fe=(0,u.default)({},C.default.richTextButton,(null==Ne?void 0:Ne.text)&&{color:Ne.text,placeholderColor:Ne.text}),Me=(0,u.default)({},C.default.icon,(null==Ne?void 0:Ne.text)&&{fill:Ne.text}),Oe=function(){var t;return(0,l.createElement)(s.View,{style:Pe},he&&(0,l.createElement)(h.Icon,(0,u.default)({icon:v.search},Me,{onLayout:me})),!he&&(0,l.createElement)(s.View,{accessible:!0,accessibilityRole:"none",accessibilityHint:re?(0,_.__)('Double tap to edit button text'):void 0,accessibilityLabel:Te(),onLayout:me},(0,l.createElement)(f.RichText,{className:"wp-block-search__button",identifier:"text",tagName:"p",style:Fe,placeholder:Le,value:ve,withoutInteractiveFormatting:!0,onChange:function(t){return R({buttonText:t})},minWidth:x,maxWidth:D-y,textAlign:"center",isSelected:U,__unstableMobileNoFocusOnMount:!M,unstableOnFocus:function(){j(!0)},onBlur:function(){j(!1)},selectionColor:null==(t=C.default.richTextButtonCursor)?void 0:t.color})))};return(0,l.createElement)(s.View,(0,u.default)({},xe,{style:C.default.searchBlockContainer,importantForAccessibility:M?'yes':'no-hide-descendants',accessibilityElementsHidden:!M}),M&&ye,be&&(0,l.createElement)(s.View,{accessible:!0,accessibilityRole:"none",accessibilityHint:re?(0,_.__)('Double tap to edit label text'):void 0,accessibilityLabel:(function(){if(!re)return'search-block-label';return(0,_.__)('Search block label. Current text is')+" "+de})()},(0,l.createElement)(f.RichText,{className:"wp-block-search__label",identifier:"text",tagName:"p",style:C.default.richTextLabel,placeholder:(0,_.__)('Add label\u2026'),withoutInteractiveFormatting:!0,value:de,onChange:function(t){return R({label:t})},isSelected:G,__unstableMobileNoFocusOnMount:!M,unstableOnFocus:function(){J(!0)},onBlur:function(){J(!1)},selectionColor:null==(P=C.default.richTextButtonCursor)?void 0:P.color})),('button-inside'===fe||'button-outside'===fe)&&(0,l.createElement)(s.View,{style:Se},Ie(),Oe()),'button-only'===fe&&Oe(),'no-button'===fe&&Ie())};var o,n,l=r(d[1]),u=t(r(d[2])),c=t(r(d[3])),s=r(d[4]),b=t(r(d[5])),f=r(d[6]),h=r(d[7]),_=r(d[8]),v=r(d[9]),p=r(d[10]),C=t(r(d[11])),x=75,y=(null==(o=C.default.widthMargin)?void 0:o.marginLeft)+(null==(n=C.default.widthMargin)?void 0:n.paddingLeft),k=[{value:'button-inside',label:(0,_.__)('Button inside')},{value:'button-outside',label:(0,_.__)('Button outside')},{value:'no-button',label:(0,_.__)('No button')}]},2886,[3,437,21,49,22,1770,1098,1311,1036,1511,1144,2887]); -__d(function(g,r,i,a,m,e,d){m.exports={searchBlockContainer:{flexGrow:1,flexShrink:1,flexBasis:0,flexDirection:"column"},searchBarContainer:{flexGrow:1,flexShrink:1,flexBasis:0,flexDirection:"row",justifyContent:"flex-start",width:"100%"},searchInputContainer:{flexGrow:1,flexShrink:1,flexBasis:0},border:{borderWidth:1,borderColor:"#dcdcde",borderStyle:"solid",borderRadius:4,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4},borderDark:{borderWidth:1,borderColor:"#2c3338",borderStyle:"solid"},buttonContainer:{backgroundColor:"#595959",paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,borderWidth:1,borderColor:"#595959",borderStyle:"solid",marginLeft:4,borderRadius:4,alignContent:"center",alignItems:"center"},buttonContainerWide:{marginLeft:0,marginTop:4},icon:{fill:"#fff",backgroundColor:"transparent"},richTextLabel:{backgroundColor:"transparent",marginTop:8,marginBottom:8,fontSize:16,fontWeight:"400",fontFamily:"Noto Serif",width:"100%"},richTextButton:{color:"#fff",fontSize:16,fontWeight:"400",backgroundColor:"transparent",fontFamily:"Noto Serif",paddingLeft:8,paddingRight:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,textAlign:"center",minHeight:24},richTextButtonCursor:{color:"#ddd"},plainTextInput:{minHeight:42,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:8,fontFamily:"Noto Serif",color:"#1d2327"},plainTextInputDark:{color:"#c3c4c7"},plainTextPlaceholder:{color:"#87a6bc"},plainTextPlaceholderDark:{color:"#646970"},widthMargin:{marginTop:16,marginRight:16,marginBottom:16,marginLeft:16,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4}}},2887,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),u=[{name:'default',isDefault:!0,attributes:{buttonText:(0,t.__)('Search'),label:(0,t.__)('Search')}}];e.default=u},2888,[1036]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),u=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),f=u.default.name;e.name=f;var c={icon:n.separator,example:{attributes:{customColor:'#065174',className:'is-style-wide'}},transforms:o.default,edit:s.default,save:l.default};e.settings=c},2889,[3,1511,2890,2892,2893,2894]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4]),u=r(d[5]),n=o(r(d[6]));var f=(0,u.withColors)('color',{textColor:'color'})(function(o){var f=o.color,v=o.setColor,C=o.className;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(s.HorizontalRule,(0,u.useBlockProps)({className:(0,c.default)(C,(0,t.default)({'has-background':f.color},f.class,f.class)),style:{backgroundColor:f.color,color:f.color}})),(0,l.createElement)(n.default,{color:f,setColor:v}))});e.default=f},2890,[3,437,258,1770,1311,1098,2891]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(){return null};e.default=u},2891,[]); -__d(function(e,t,a,o,r,s,i){r.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/separator",title:"Separator",category:"design",description:"Create a break between ideas or sections with a horizontal separator.",keywords:["horizontal-line","hr","divider"],textdomain:"default",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"wide",label:"Wide Line"},{name:"dots",label:"Dots"}],editorStyle:"wp-block-separator-editor",style:"wp-block-separator"}},2892,[]); -__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u,n=o.attributes,f=n.color,v=n.customColor,C=(0,s.getColorClassName)('background-color',f),b=(0,s.getColorClassName)('color',f),k=(0,c.default)((u={'has-text-color has-background':f||v},(0,t.default)(u,C,C),(0,t.default)(u,b,b),u)),_={backgroundColor:C?void 0:v,color:b?void 0:v};return(0,l.createElement)("hr",s.useBlockProps.save({className:k,style:_}))};var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4])},2893,[3,437,258,1770,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.other});e.default=o},2894,[3,21,2895,2645]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'enter',regExp:/^-{3,}$/,transform:function(){return(0,t.createBlock)('core/separator')}},{type:'raw',selector:'hr',schema:{hr:{}}}]};e.default=o},2895,[1101]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),l=s.default.name;e.name=l;var c={icon:n.shortcode,transforms:o.default,edit:u.default,save:f.default};e.settings=c},2896,[3,1511,2897,2899,2900,2902]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ShortcodeEdit=h,e.default=void 0;var o=r(d[1]),l=r(d[2]),c=r(d[3]),u=r(d[4]),n=r(d[5]),f=t(r(d[6]));function h(t){var n=t.attributes,h=t.setAttributes,s=t.onFocus,S=t.onBlur,_=t.getStylesFromColorScheme,b=_(f.default.blockTitle,f.default.blockTitleDark),k=_(f.default.blockShortcode,f.default.blockShortcodeDark),p=_(f.default.placeholder,f.default.placeholderDark);return(0,o.createElement)(l.View,null,(0,o.createElement)(l.Text,{style:b},(0,c.__)('Shortcode')),(0,o.createElement)(u.PlainText,{value:n.text,style:k,multiline:!0,underlineColorAndroid:"transparent",onChange:function(t){return h({text:t})},placeholder:(0,c.__)('Add a shortcode\u2026'),"aria-label":(0,c.__)('Shortcode'),isSelected:t.isSelected,onFocus:s,onBlur:S,autoCorrect:!1,autoComplete:"off",placeholderTextColor:p.color}))}var s=(0,n.withPreferredColorScheme)(h);e.default=s},2897,[3,437,22,1036,1098,1144,2898]); -__d(function(g,r,i,a,m,e,d){m.exports={blockTitle:{fontWeight:"500",fontSize:10,color:"#87a6bc",textTransform:"uppercase",letterSpacing:.4,paddingBottom:4},blockTitleDark:{color:"#646970"},blockShortcode:{fontFamily:"menlo",fontWeight:"400",fontSize:14,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,borderRadius:4,backgroundColor:"#f3f6f8"},blockShortcodeDark:{color:"#fff",backgroundColor:"#101517"},placeholder:{fontFamily:"menlo",fontWeight:"400",fontSize:14,color:"#87a6bc"},placeholderDark:{color:"#646970"}}},2898,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.text)};var t=r(d[0])},2899,[437]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.richText});e.default=o},2900,[3,21,2901,2645]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'shortcode',tag:'[a-z][a-z0-9_-]*',attributes:{text:{type:'string',shortcode:function(o,n){var u=n.content;return(0,t.removep)((0,t.autop)(u))}}},priority:20}]};e.default=o},2901,[1264]); -__d(function(t,e,o,s,r,c,a){r.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/shortcode",title:"Shortcode",category:"widgets",description:"Insert additional custom elements with a WordPress shortcode.",textdomain:"default",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"}},2902,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),s=l.default.name;e.name=s;var c={icon:n.resizeCornerNE,edit:f.default,save:o.default,deprecated:u.default};e.settings=c},2903,[3,1511,2904,2905,2909,2910]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var h=r(d[1]),u=t(r(d[2])),n=r(d[3]),v=[{attributes:{height:{type:'number',default:100},width:{type:'number'}},migrate:function(t){var h=t.height,n=t.width;return(0,u.default)({},t,{width:void 0!==n?n+"px":void 0,height:void 0!==h?h+"px":void 0})},save:function(t){var u=t.attributes;return(0,h.createElement)("div",n.useBlockProps.save({style:{height:u.height,width:u.width},'aria-hidden':!0}))}}];e.default=v},2904,[3,437,21,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=r(d[2]),n=r(d[3]),c=r(d[4]),u=r(d[5]),s=t(r(d[6])),f=t(r(d[7])),h=(0,c.withPreferredColorScheme)(function(t){var c=t.attributes,h=t.context,v=t.setAttributes,b=t.isSelected,p=t.getStylesFromColorScheme,S=c.height,w=c.width,C=h.orientation,x=p(f.default.staticSpacer,f.default.staticDarkSpacer);(0,o.useEffect)(function(){'horizontal'!==C||w||v({height:'0px',width:'72px'})},[]);var E=(0,n.useConvertUnitToMobile)(S),_=(0,n.useConvertUnitToMobile)(w);return(0,o.createElement)(l.View,{style:[x,b&&f.default.selectedSpacer,{height:E,width:_}]},b&&(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(s.default,{attributes:c,context:h,setAttributes:v})))});e.default=h},2905,[3,437,22,1311,1144,1098,2906,2908]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=r(d[2]),u=r(d[3]),o=r(d[4]),s=t(r(d[5])),v={px:'100',em:'10',rem:'10',vw:'10',vh:'25'};var h=function(t){var h=t.attributes,c=t.context,_=t.setAttributes,f=c.orientation,C='horizontal'!==f?(0,o.__)('Height'):(0,o.__)('Width'),b=h.height,U=h.width,p=(0,l.getValueAndUnit)('horizontal'!==f?b:U)||{},w=p.valueToConvert,x=p.valueUnit,y=Number(w),z=function(t,n){var l=""+t+n;_('horizontal'===f?{width:l}:{height:l})},E=(0,n.useCallback)(function(t){z(t,x)},[b,U]),k=(0,n.useCallback)(function(t){z(y,t)},[b,U]),A=(0,l.__experimentalUseCustomUnits)({availableUnits:(0,u.useSetting)('spacing.units')||['px','em','rem','vw','vh'],defaultValues:v});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.PanelBody,{title:(0,o.__)('Dimensions')},(0,n.createElement)(l.UnitControl,{label:C,min:1,value:y,onChange:E,onUnitChange:k,units:A,unit:x,style:s.default.rangeCellContainer})))};e.default=h},2906,[3,437,1311,1098,1036,2907]); -__d(function(g,r,i,a,m,e,d){m.exports={"wp-block-spacer":{clear:"both"}}},2907,[]); -__d(function(g,r,i,a,m,e,d){m.exports={staticSpacer:{height:20,backgroundColor:"transparent",borderWidth:1,borderColor:"#e2e4e7",borderStyle:"dashed",borderRadius:1},staticDarkSpacer:{borderWidth:1,borderColor:"rgba(226, 228, 231, 0.3)",borderStyle:"dashed"},selectedSpacer:{borderWidth:2,borderColor:"#5198d9",borderStyle:"solid"},rangeCellContainer:{paddingBottom:16}}},2908,[]); -__d(function(t,e,s,i,o,r,a){o.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"string",default:"100px"},width:{type:"string"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"}},2909,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var h=u.attributes,l=h.height,o=h.width;return(0,t.createElement)("div",n.useBlockProps.save({style:{height:l,width:o},'aria-hidden':!0}))};var t=r(d[0]),n=r(d[1])},2910,[437,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),c=r(d[2]),o=t(r(d[3])),l=t(r(d[4])),s=t(r(d[5])),u=t(r(d[6])),_=t(r(d[7])),f=s.default.name;e.name=f;var b={icon:c.blockTable,example:{attributes:{head:[{cells:[{content:(0,n.__)('Version'),tag:'th'},{content:(0,n.__)('Jazz Musician'),tag:'th'},{content:(0,n.__)('Release Date'),tag:'th'}]}],body:[{cells:[{content:'5.2',tag:'td'},{content:'Jaco Pastorius',tag:'td'},{content:(0,n.__)('May 7, 2019'),tag:'td'}]},{cells:[{content:'5.1',tag:'td'},{content:'Betty Carter',tag:'td'},{content:(0,n.__)('February 21, 2019'),tag:'td'}]},{cells:[{content:'5.0',tag:'td'},{content:'Bebo Vald\xe9s',tag:'td'},{content:(0,n.__)('December 6, 2018'),tag:'td'}]}]}},transforms:_.default,edit:l.default,save:u.default,deprecated:o.default};e.settings=b},2911,[3,1036,1511,2912,2913,2915,2916,2917]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),l=t(r(d[3])),n=t(r(d[4])),s=r(d[5]),c={'subtle-light-gray':'#f3f4f5','subtle-pale-green':'#e9fbe5','subtle-pale-blue':'#e7f5fe','subtle-pale-pink':'#fcf0ef'},y=[{attributes:{hasFixedLayout:{type:'boolean',default:!1},backgroundColor:{type:'string'},caption:{type:'string',source:'html',selector:'figcaption',default:''},head:{type:'array',default:[],source:'query',selector:'thead tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'},align:{type:'string',source:'attribute',attribute:'data-align'}}}}},body:{type:'array',default:[],source:'query',selector:'tbody tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'},align:{type:'string',source:'attribute',attribute:'data-align'}}}}},foot:{type:'array',default:[],source:'query',selector:'tfoot tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'},align:{type:'string',source:'attribute',attribute:'data-align'}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:'.wp-block-table > table'},save:function(t){var u=t.attributes,c=u.hasFixedLayout,y=u.head,p=u.body,f=u.foot,b=u.backgroundColor,h=u.caption;if(!y.length&&!p.length&&!f.length)return null;var v=(0,s.getColorClassName)('background-color',b),q=(0,n.default)(v,{'has-fixed-layout':c,'has-background':!!v}),k=!s.RichText.isEmpty(h),E=function(t){var u=t.type,c=t.rows;if(!c.length)return null;var y="t"+u;return(0,o.createElement)(y,null,c.map(function(t,u){var c=t.cells;return(0,o.createElement)("tr",{key:u},c.map(function(t,u){var c=t.content,y=t.tag,p=t.scope,f=t.align,b=(0,n.default)((0,l.default)({},"has-text-align-"+f,f));return(0,o.createElement)(s.RichText.Content,{className:b||void 0,"data-align":f,tagName:y,value:c,key:u,scope:'th'===y?p:void 0})}))}))};return(0,o.createElement)("figure",s.useBlockProps.save(),(0,o.createElement)("table",{className:''===q?void 0:q},(0,o.createElement)(E,{type:"head",rows:y}),(0,o.createElement)(E,{type:"body",rows:p}),(0,o.createElement)(E,{type:"foot",rows:f})),k&&(0,o.createElement)(s.RichText.Content,{tagName:"figcaption",value:h}))},isEligible:function(t){return t.backgroundColor&&!t.style},migrate:function(t){return(0,u.default)({},t,{backgroundColor:void 0,style:{color:{background:c[t.backgroundColor]}}})}},{attributes:{hasFixedLayout:{type:'boolean',default:!1},backgroundColor:{type:'string'},head:{type:'array',default:[],source:'query',selector:'thead tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},body:{type:'array',default:[],source:'query',selector:'tbody tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},foot:{type:'array',default:[],source:'query',selector:'tfoot tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}}},supports:{align:!0},save:function(t){var u=t.attributes,l=u.hasFixedLayout,c=u.head,y=u.body,p=u.foot,f=u.backgroundColor;if(!c.length&&!y.length&&!p.length)return null;var b=(0,s.getColorClassName)('background-color',f),h=(0,n.default)(b,{'has-fixed-layout':l,'has-background':!!b}),v=function(t){var u=t.type,l=t.rows;if(!l.length)return null;var n="t"+u;return(0,o.createElement)(n,null,l.map(function(t,u){var l=t.cells;return(0,o.createElement)("tr",{key:u},l.map(function(t,u){var l=t.content,n=t.tag,c=t.scope;return(0,o.createElement)(s.RichText.Content,{tagName:n,value:l,key:u,scope:'th'===n?c:void 0})}))}))};return(0,o.createElement)("table",{className:h},(0,o.createElement)(v,{type:"head",rows:c}),(0,o.createElement)(v,{type:"body",rows:y}),(0,o.createElement)(v,{type:"foot",rows:p}))}}];e.default=y},2912,[3,437,21,258,1770,1098]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=r(d[7]),_=r(d[8]),b=r(d[9]),p=r(d[10]),h=r(d[11]),C=r(d[12]),x=["name"],E=[{icon:p.alignLeft,title:(0,_.__)('Align column left'),align:'left'},{icon:p.alignCenter,title:(0,_.__)('Align column center'),align:'center'},{icon:p.alignRight,title:(0,_.__)('Align column right'),align:'right'}],k={head:(0,_.__)('Header cell text'),body:(0,_.__)('Body cell text'),foot:(0,_.__)('Footer cell text')},I={head:(0,_.__)('Header label'),foot:(0,_.__)('Footer label')};function v(t){var l=t.name,o=(0,u.default)(t,x),c="t"+l;return(0,n.createElement)(c,o)}var y=function(t){var u=t.attributes,x=t.setAttributes,y=t.insertBlocksAfter,w=t.isSelected,N=u.hasFixedLayout,T=u.caption,A=u.head,B=u.foot,D=(0,n.useState)(2),S=(0,c.default)(D,2),F=S[0],R=S[1],P=(0,n.useState)(2),O=(0,c.default)(P,2),H=O[0],L=O[1],M=(0,n.useState)(),U=(0,c.default)(M,2),j=U[0],q=U[1],z=(0,f.__experimentalUseColorProps)(u),G=(0,f.__experimentalUseBorderProps)(u);function J(t){j&&x((0,C.updateSelectedCell)(u,j,function(n){return(0,o.default)({},n,{content:t})}))}function K(t){if(j){var n={type:'column',columnIndex:j.columnIndex},l=(0,C.updateSelectedCell)(u,n,function(n){return(0,o.default)({},n,{align:t})});x(l)}}function Q(t){if(j){var n=j.sectionName,l=j.rowIndex+t;x((0,C.insertRow)(u,{sectionName:n,rowIndex:l})),q({sectionName:n,rowIndex:l,columnIndex:0,type:'cell'})}}function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(j){var n=j.columnIndex+t;x((0,C.insertColumn)(u,{columnIndex:n})),q({rowIndex:0,columnIndex:n,type:'cell'})}}(0,n.useEffect)(function(){w||q()},[w]);var W=['head','body','foot'].filter(function(t){return!(0,C.isEmptyTableSection)(u[t])}),X=[{icon:p.tableRowBefore,title:(0,_.__)('Insert row before'),isDisabled:!j,onClick:function(){Q(0)}},{icon:p.tableRowAfter,title:(0,_.__)('Insert row after'),isDisabled:!j,onClick:function(){Q(1)}},{icon:p.tableRowDelete,title:(0,_.__)('Delete row'),isDisabled:!j,onClick:function(){if(j){var t=j.sectionName,n=j.rowIndex;q(),x((0,C.deleteRow)(u,{sectionName:t,rowIndex:n}))}}},{icon:p.tableColumnBefore,title:(0,_.__)('Insert column before'),isDisabled:!j,onClick:function(){V(0)}},{icon:p.tableColumnAfter,title:(0,_.__)('Insert column after'),isDisabled:!j,onClick:function(){V(1)}},{icon:p.tableColumnDelete,title:(0,_.__)('Delete column'),isDisabled:!j,onClick:function(){if(j){var t=j.sectionName,n=j.columnIndex;q(),x((0,C.deleteColumn)(u,{sectionName:t,columnIndex:n}))}}}],Y=['head','body','foot'].map(function(t){return(0,n.createElement)(v,{name:t,key:t},u[t].map(function(o,c){var u=o.cells;return(0,n.createElement)("tr",{key:c},u.map(function(o,u){var _=o.content,b=o.tag,p=o.scope,h=o.align;return(0,n.createElement)(f.RichText,{tagName:b,key:u,className:(0,s.default)((0,l.default)({},"has-text-align-"+h,h),'wp-block-table__cell-content'),scope:'th'===b?p:void 0,value:_,onChange:J,unstableOnFocus:function(){q({sectionName:t,rowIndex:c,columnIndex:u,type:'cell'})},"aria-label":k[t],placeholder:I[t]})}))}))}),Z=!W.length;return(0,n.createElement)("figure",(0,f.useBlockProps)(),!Z&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(f.BlockControls,{group:"block"},(0,n.createElement)(f.AlignmentControl,{label:(0,_.__)('Change column alignment'),alignmentControls:E,value:(function(){if(j)return(0,C.getCellAttribute)(u,j,'align')})(),onChange:function(t){return K(t)}})),(0,n.createElement)(f.BlockControls,{group:"other"},(0,n.createElement)(b.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:p.table,label:(0,_.__)('Edit table'),controls:X}))),!Z&&(0,n.createElement)(f.InspectorControls,null,(0,n.createElement)(b.PanelBody,{title:(0,_.__)('Table settings'),className:"blocks-table-settings"},(0,n.createElement)(b.ToggleControl,{label:(0,_.__)('Fixed width table cells'),checked:!!N,onChange:function(){x({hasFixedLayout:!N})}}),(0,n.createElement)(b.ToggleControl,{label:(0,_.__)('Header section'),checked:!(!A||!A.length),onChange:function(){x((0,C.toggleSection)(u,'head'))}}),(0,n.createElement)(b.ToggleControl,{label:(0,_.__)('Footer section'),checked:!(!B||!B.length),onChange:function(){x((0,C.toggleSection)(u,'foot'))}}))),!Z&&(0,n.createElement)("table",{className:(0,s.default)(z.className,G.className,{'has-fixed-layout':N}),style:(0,o.default)({},z.style,G.style)},Y),!Z&&(0,n.createElement)(f.RichText,{tagName:"figcaption","aria-label":(0,_.__)('Table caption text'),placeholder:(0,_.__)('Add caption'),value:T,onChange:function(t){return x({caption:t})},unstableOnFocus:function(){return q()},__unstableOnSplitAtEnd:function(){return y((0,h.createBlock)('core/paragraph'))}}),Z&&(0,n.createElement)(b.Placeholder,{label:(0,_.__)('Table'),icon:(0,n.createElement)(f.BlockIcon,{icon:p.blockTable,showColors:!0}),instructions:(0,_.__)('Insert a table for sharing data.')},(0,n.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(t){t.preventDefault(),x((0,C.createTable)({rowCount:parseInt(F,10)||2,columnCount:parseInt(H,10)||2}))}},(0,n.createElement)(b.TextControl,{type:"number",label:(0,_.__)('Column count'),value:H,onChange:function(t){L(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(b.TextControl,{type:"number",label:(0,_.__)('Row count'),value:F,onChange:function(t){R(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(b.Button,{className:"blocks-table__placeholder-button",variant:"primary",type:"submit"},(0,_.__)('Create Table')))))};e.default=y},2913,[3,437,258,21,49,4,1770,1098,1036,1311,1511,1101,2914]); -__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=function(n){var t=n.rowCount,l=n.columnCount;return{body:(0,c.times)(t,function(){return{cells:(0,c.times)(l,function(){return{content:'',tag:'td'}})}})}},e.deleteColumn=function(n,t){var l=t.columnIndex,o=(0,c.pick)(n,['head','body','foot']);return(0,c.mapValues)(o,function(n){return h(n)?n:n.map(function(n){return{cells:n.cells.length>=l?n.cells.filter(function(n,t){return t!==l}):n.cells}}).filter(function(n){return n.cells.length})})},e.deleteRow=function(n,l){var o=l.sectionName,c=l.rowIndex;return(0,t.default)({},o,n[o].filter(function(n,t){return t!==c}))},e.getCellAttribute=function(n,t,l){var o=t.sectionName,u=t.rowIndex,s=t.columnIndex;return(0,c.get)(n,[o,u,'cells',s,l])},e.getFirstRow=s,e.insertColumn=function(n,t){var l=t.columnIndex,u=(0,c.pick)(n,['head','body','foot']);return(0,c.mapValues)(u,function(n,t){return h(n)?n:n.map(function(n){return v(n)||n.cells.length'+(0,u.__)('In quoting others, we cite ourselves.')+'
',citation:'Julio Cort\xe1zar',className:'is-style-large'}},transforms:v.default,edit:s.default,save:f.default,merge:function(t,u){var l=u.value,o=u.citation;return o||(o=t.citation),l&&''!==l?(0,n.default)({},t,{value:t.value+l,citation:o}):(0,n.default)({},t,{citation:o})},deprecated:o.default};e.settings=_},2670,[3,21,1036,1511,2671,2672,2673,2674,2675]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=t(r(d[2])),u=r(d[3]),s=r(d[4]),c={value:{type:'string',source:'html',selector:'blockquote',multiline:'p',default:''},citation:{type:'string',source:'html',selector:'cite',default:''},align:{type:'string'}},o=[{attributes:c,save:function(t){var n=t.attributes,u=n.align,c=n.value,o=n.citation;return(0,l.createElement)("blockquote",{style:{textAlign:u||null}},(0,l.createElement)(s.RichText.Content,{multiline:!0,value:c}),!s.RichText.isEmpty(o)&&(0,l.createElement)(s.RichText.Content,{tagName:"cite",value:o}))}},{attributes:(0,n.default)({},c,{style:{type:'number',default:1}}),migrate:function(t){return 2===t.style?(0,n.default)({},(0,u.omit)(t,['style']),{className:t.className?t.className+' is-style-large':'is-style-large'}):t},save:function(t){var n=t.attributes,u=n.align,c=n.value,o=n.citation,y=n.style;return(0,l.createElement)("blockquote",{className:2===y?'is-large':'',style:{textAlign:u||null}},(0,l.createElement)(s.RichText.Content,{multiline:!0,value:c}),!s.RichText.isEmpty(o)&&(0,l.createElement)(s.RichText.Content,{tagName:"cite",value:o}))}},{attributes:(0,n.default)({},c,{citation:{type:'string',source:'html',selector:'footer',default:''},style:{type:'number',default:1}}),migrate:function(t){return isNaN(parseInt(t.style))?t:(0,n.default)({},(0,u.omit)(t,['style']))},save:function(t){var n=t.attributes,u=n.align,c=n.value,o=n.citation,y=n.style;return(0,l.createElement)("blockquote",{className:"blocks-quote-style-"+y,style:{textAlign:u||null}},(0,l.createElement)(s.RichText.Content,{multiline:!0,value:c}),!s.RichText.isEmpty(o)&&(0,l.createElement)(s.RichText.Content,{tagName:"footer",value:o}))}}];e.default=o},2671,[3,437,21,1107,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var v=t.attributes,b=t.setAttributes,h=t.isSelected,k=t.mergeBlocks,x=t.onReplace,A=t.className,B=t.insertBlocksAfter,E=t.style,y=v.align,R=v.value,C=v.citation,M=(0,s.useBlockProps)({className:(0,c.default)(A,(0,o.default)({},"has-text-align-"+y,y)),style:E});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(s.BlockControls,{group:"block"},(0,n.createElement)(s.AlignmentControl,{value:y,onChange:function(t){b({align:t})}})),(0,n.createElement)(_.BlockQuotation,M,(0,n.createElement)(s.RichText,{identifier:"value",multiline:!0,value:R,onChange:function(t){return b({value:t})},onMerge:k,onRemove:function(t){var n=!C||0===C.length;!t&&n&&x([])},"aria-label":(0,u.__)('Quote text'),placeholder:(0,u.__)('Add quote'),onReplace:x,onSplit:function(t){return(0,f.createBlock)('core/quote',(0,l.default)({},v,{value:t}))},__unstableOnSplitMiddle:function(){return(0,f.createBlock)('core/paragraph')},textAlign:y}),(!s.RichText.isEmpty(C)||h)&&(0,n.createElement)(s.RichText,{identifier:"citation",tagName:p?'cite':void 0,style:{display:'block'},value:C,onChange:function(t){return b({citation:t})},__unstableMobileNoFocusOnMount:!0,"aria-label":(0,u.__)('Quote citation text'),placeholder:(0,u.__)('Add citation'),className:"wp-block-quote__citation",textAlign:y,__unstableOnSplitAtEnd:function(){return B((0,f.createBlock)('core/paragraph'))}})))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=r(d[5]),s=r(d[6]),_=r(d[7]),f=r(d[8]),p='web'===n.Platform.OS},2672,[3,437,21,258,1770,1036,1098,1311,1101]); +__d(function(e,t,l,o,a,n,i){a.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/quote",title:"Quote",category:"text",description:"Give quoted text visual emphasis. \"In quoting others, we cite ourselves.\" \u2014 Julio Cort\xe1zar",keywords:["blockquote","cite"],textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",default:"",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},align:{type:"string"}},supports:{anchor:!0,__experimentalSlashInserter:!0,typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}}},styles:[{name:"default",label:"Default",isDefault:!0},{name:"plain",label:"Plain"},{name:"large",label:"Large"}],editorStyle:"wp-block-quote-editor",style:"wp-block-quote"}},2673,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.attributes,s=o.align,v=o.value,f=o.citation,h=(0,u.default)((0,n.default)({},"has-text-align-"+s,s));return(0,l.createElement)("blockquote",c.useBlockProps.save({className:h}),(0,l.createElement)(c.RichText.Content,{multiline:!0,value:v}),!c.RichText.isEmpty(f)&&(0,l.createElement)(c.RichText.Content,{tagName:"cite",value:f}))};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},2674,[3,437,258,1770,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.richText});e.default=o},2675,[3,21,2676,2647]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),c=t(r(d[2])),n=t(r(d[3])),l=r(d[4]),u=r(d[5]),p=["value","citation"],h={from:[{type:'block',isMultiBlock:!0,blocks:['core/paragraph'],transform:function(t){return(0,l.createBlock)('core/quote',{value:(0,u.toHTMLString)({value:(0,u.join)(t.map(function(t){var o=t.content;return(0,u.create)({html:o})}),"\u2028"),multilineTag:'p'}),anchor:t.anchor})}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.content,c=t.anchor;return(0,l.createBlock)('core/quote',{value:""+o+"
",anchor:c})}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,c=t.citation,n=t.anchor;return(0,l.createBlock)('core/quote',{value:o,citation:c,anchor:n})}},{type:'prefix',prefix:'>',transform:function(t){return(0,l.createBlock)('core/quote',{value:""+t+"
"})}},{type:'raw',isMatch:function(t){var o,c=(o=!1,function(t){return'P'===t.nodeName||(o||'CITE'!==t.nodeName?void 0:(o=!0,!0))});return'BLOCKQUOTE'===t.nodeName&&Array.from(t.childNodes).every(c)},schema:function(t){var o=t.phrasingContentSchema;return{blockquote:{children:{p:{children:o},cite:{children:o}}}}}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,c=t.citation,p=[];return o&&''!==o&&p.push.apply(p,(0,n.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),c&&''!==c&&p.push((0,l.createBlock)('core/paragraph',{content:c})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var n=t.value,h=t.citation,f=(0,c.default)(t,p);if(''===n)return(0,l.createBlock)('core/heading',{content:h});var v=(0,u.split)((0,u.create)({html:n,multilineTag:'p'}),"\u2028"),k=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:v[0]})});if(!h&&1===v.length)return k;var s=v.slice(1);return[k,(0,l.createBlock)('core/quote',(0,o.default)({},f,{citation:h,value:(0,u.toHTMLString)({value:s.length?(0,u.join)(v.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}},{type:'block',blocks:['core/pullquote'],transform:function(t){var o=t.value,c=t.citation,n=t.anchor;return(0,l.createBlock)('core/pullquote',{value:o,citation:c,anchor:n})}}]};e.default=h},2676,[3,21,4,57,1101,2007]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),u=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),f=l.default.name;e.name=f;var _={icon:n.gallery,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:c.default,edit:u.default,save:o.default,deprecated:s.default};e.settings=_},2677,[3,1511,2678,2681,2702,2703,2705]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.defaultColumnsNumberV1=k,e.getHrefAndDestination=E,e.getImageBlock=v;var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4]),s=r(d[5]),o=r(d[6]),p=r(d[7]),f=r(d[8]),b='file',y='post';function k(t){var l;return Math.min(3,null==t?void 0:null==(l=t.images)?void 0:l.length)}function E(t,l){switch(l){case b:return{href:(null==t?void 0:t.source_url)||(null==t?void 0:t.url),linkDestination:p.LINK_DESTINATION_MEDIA};case y:return{href:null==t?void 0:t.link,linkDestination:p.LINK_DESTINATION_ATTACHMENT};case p.LINK_DESTINATION_MEDIA:return{href:(null==t?void 0:t.source_url)||(null==t?void 0:t.url),linkDestination:p.LINK_DESTINATION_MEDIA};case p.LINK_DESTINATION_ATTACHMENT:return{href:null==t?void 0:t.link,linkDestination:p.LINK_DESTINATION_ATTACHMENT};case p.LINK_DESTINATION_NONE:return{href:void 0,linkDestination:p.LINK_DESTINATION_NONE}}return{}}function N(t){var l=t.linkTo?t.linkTo:'none';'post'===l?l='attachment':'file'===l&&(l='media');var u=t.images.map(function(n){return v(n,t.sizeSlug,l)});return[(0,n.default)({},(0,c.omit)(t,['images','ids']),{linkTo:l,allowResize:!1}),u]}function v(t,l,u){return(0,o.createBlock)('core/image',(0,n.default)({},t.id&&{id:parseInt(t.id)},{url:t.url,alt:t.alt,caption:t.caption,sizeSlug:l},E(t,u)))}var T=[{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:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.caption,E=n.linkTo,N="columns-"+o+" "+(p?'is-cropped':'');return(0,l.createElement)("figure",s.useBlockProps.save({className:N}),(0,l.createElement)("ul",{className:"blocks-gallery-grid"},u.map(function(t){var n;switch(E){case b:n=t.fullUrl||t.url;break;case y:n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,!s.RichText.isEmpty(t.caption)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:t.caption})))})),!s.RichText.isEmpty(f)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:f}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):t}},{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:function(t){var l=t.linkTo;return!l||'attachment'===l||'media'===l},migrate:function(t){if((0,f.isGalleryV2Enabled)())return N(t);var l=t.linkTo;return t.linkTo?'attachment'===t.linkTo?l='post':'media'===t.linkTo&&(l='file'):l='none',(0,n.default)({},t,{linkTo:l})},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.caption,b=n.linkTo;return(0,l.createElement)("figure",{className:"columns-"+o+" "+(p?'is-cropped':'')},(0,l.createElement)("ul",{className:"blocks-gallery-grid"},u.map(function(t){var n;switch(b){case'media':n=t.fullUrl||t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,!s.RichText.isEmpty(t.caption)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:t.caption})))})),!s.RichText.isEmpty(f)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:f}))}},{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:function(t){var l=t.ids;return l&&l.some(function(t){return'string'==typeof t})},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):(0,n.default)({},t,{ids:(0,c.map)(t.ids,function(t){var l=parseInt(t,10);return Number.isInteger(l)?l:null})})},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.caption,b=n.linkTo;return(0,l.createElement)("figure",{className:"columns-"+o+" "+(p?'is-cropped':'')},(0,l.createElement)("ul",{className:"blocks-gallery-grid"},u.map(function(t){var n;switch(b){case'media':n=t.fullUrl||t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,!s.RichText.isEmpty(t.caption)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-item__caption",value:t.caption})))})),!s.RichText.isEmpty(f)&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",className:"blocks-gallery-caption",value:f}))}},{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:'array',source:'children',selector:'figcaption'}}},ids:{type:'array',default:[]},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'}},supports:{align:!0},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.linkTo;return(0,l.createElement)("ul",{className:"columns-"+o+" "+(p?'is-cropped':'')},u.map(function(t){var n;switch(f){case'media':n=t.fullUrl||t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-full-url":t.fullUrl,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,t.caption&&t.caption.length>0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):t}},{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:'array',source:'children',selector:'figcaption'}}},columns:{type:'number'},imageCrop:{type:'boolean',default:!0},linkTo:{type:'string',default:'none'}},isEligible:function(t){var l=t.images,n=t.ids;return l&&l.length>0&&(!n&&l||n&&l&&n.length!==l.length||(0,c.some)(l,function(t,l){return!t&&null!==n[l]||parseInt(t,10)!==n[l]}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):(0,n.default)({},t,{ids:(0,c.map)(t.images,function(t){var l=t.id;return l?parseInt(l,10):null})})},supports:{align:!0},save:function(t){var n=t.attributes,u=n.images,c=n.columns,o=void 0===c?k(n):c,p=n.imageCrop,f=n.linkTo;return(0,l.createElement)("ul",{className:"columns-"+o+" "+(p?'is-cropped':'')},u.map(function(t){var n;switch(f){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id,"data-link":t.link,className:t.id?"wp-image-"+t.id:null});return(0,l.createElement)("li",{key:t.id||t.url,className:"blocks-gallery-item"},(0,l.createElement)("figure",null,n?(0,l.createElement)("a",{href:n},u):u,t.caption&&t.caption.length>0&&(0,l.createElement)(s.RichText.Content,{tagName:"figcaption",value:t.caption})))}))}},{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:function(t){var n=t.attributes,c=n.images,s=n.columns,o=void 0===s?k(n):s,p=n.align,f=n.imageCrop,b=n.linkTo,y=(0,u.default)("columns-"+o,{alignnone:'none'===p,'is-cropped':f});return(0,l.createElement)("div",{className:y},c.map(function(t){var n;switch(b){case'media':n=t.url;break;case'attachment':n=t.link}var u=(0,l.createElement)("img",{src:t.url,alt:t.alt,"data-id":t.id});return(0,l.createElement)("figure",{key:t.id||t.url,className:"blocks-gallery-image"},n?(0,l.createElement)("a",{href:n},u):u)}))},migrate:function(t){return(0,f.isGalleryV2Enabled)()?N(t):t}}];e.default=T},2678,[3,437,21,1770,1107,1098,1101,2679,2680]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LINK_DESTINATION_NONE=e.LINK_DESTINATION_MEDIA=e.LINK_DESTINATION_ATTACHMENT=void 0;e.LINK_DESTINATION_NONE='none';e.LINK_DESTINATION_MEDIA='media';e.LINK_DESTINATION_ATTACHMENT='attachment'},2679,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultColumnsNumber=function(l){return l?Math.min(3,l):3},e.isGalleryV2Enabled=function(){if(2===process.env.GUTENBERG_PHASE){if(!window.wp||'boolean'!=typeof window.wp.galleryBlockV2Enabled)throw'window.wp.galleryBlockV2Enabled is not defined';return window.wp.galleryBlockV2Enabled}return!0},e.pickRelevantMediaFiles=void 0;var l=r(d[0]);e.pickRelevantMediaFiles=function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'large',o=(0,l.pick)(n,['alt','id','link','caption']);o.url=(0,l.get)(n,['sizes',t,'url'])||(0,l.get)(n,['media_details','sizes',t,'source_url'])||n.url;var u=(0,l.get)(n,['sizes','full','url'])||(0,l.get)(n,['media_details','sizes','full','source_url']);return u&&(o.fullUrl=u),o}},2680,[1107]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),u=r(d[3]),o=t(r(d[4])),c=t(r(d[5])),f=r(d[6]);var v=(0,n.compose)([u.withNotices])(function(t){return(0,f.isGalleryV2Enabled)()?(0,l.createElement)(o.default,t):(0,l.createElement)(c.default,t)});e.default=v},2681,[3,437,1144,1311,2682,2692,2680]); +__d(function(g,r,i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),a=t(r(d[3])),o=r(d[4]),u=r(d[5]),s=r(d[6]),c=r(d[7]),f=r(d[8]),p=r(d[9]),v=r(d[10]),_=r(d[11]),b=r(d[12]),h=r(d[13]),k=r(d[14]),N=r(d[15]),E=r(d[16]),I=r(d[17]),y=r(d[18]),S=t(r(d[19])),T=r(d[20]),A=t(r(d[21])),C=t(r(d[22])),B=t(r(d[23])),w=t(r(d[24])),M=8,O=[{value:T.LINK_DESTINATION_ATTACHMENT,label:(0,f.__)('Attachment Page')},{value:T.LINK_DESTINATION_MEDIA,label:(0,f.__)('Media File')},{value:T.LINK_DESTINATION_NONE,label:(0,f._x)('None','Media item link option')}],D=['image'],P=n.Platform.isNative?(0,f.__)('ADD MEDIA'):(0,f.__)('Drag images, upload new ones or select files from your library.'),L=n.Platform.isNative?{type:'stepper'}:{};var z=(0,u.compose)([s.withNotices,(0,v.withViewportMatch)({isNarrow:'< small'})])(function(t){var u=t.setAttributes,v=t.attributes,z=t.className,x=t.clientId,U=t.noticeOperations,F=t.isSelected,R=t.noticeUI,V=t.insertBlocksAfter,K=v.columns,j=v.imageCrop,G=v.linkTarget,H=v.linkTo,q=v.shortCodeTransforms,J=v.sizeSlug,W=(0,p.useDispatch)(c.store),Q=W.__unstableMarkNextChangeAsNotPersistent,X=W.replaceInnerBlocks,Y=W.updateBlockAttributes,Z=(0,p.useDispatch)(k.store).createSuccessNotice,$=(0,p.useSelect)(function(t){var n,l=t(c.store).getSettings().__experimentalPreferredStyleVariations;return{getBlock:t(c.store).getBlock,getSettings:t(c.store).getSettings,preferredStyle:null==l?void 0:null==(n=l.value)?void 0:n['core/image']}},[]),ee=$.getBlock,te=$.getSettings,ne=$.preferredStyle,le=(0,p.useSelect)(function(t){var n;return null==(n=t(c.store).getBlock(x))?void 0:n.innerBlocks},[x]),ie=(0,p.useSelect)(function(t){return t(c.store).wasBlockJustInserted(x,'inserter_menu')},[x]),ae=(0,n.useMemo)(function(){return null==le?void 0:le.map(function(t){return{clientId:t.clientId,id:t.attributes.id,url:t.attributes.url,attributes:t.attributes,fromSavedContent:Boolean(t.originalContent)}})},[le]),re=(0,w.default)(le),oe=(0,B.default)(ae,re);(0,n.useEffect)(function(){null==oe||oe.forEach(function(t){var n,a,u;Y(t.clientId,(0,l.default)({},(n=t.attributes,u=n.id?(0,o.find)(re,{id:n.id}):null,a=n.className&&''!==n.className?n.className:ne?"is-style-"+ne:void 0,(0,l.default)({},(0,E.pickRelevantMediaFiles)(n,J),(0,I.getHrefAndDestination)(u,H),(0,y.getUpdatedLinkTargetSettings)(G,v),{className:a,sizeSlug:J})),{id:t.id,align:void 0}))})},[oe]);var ue=(0,C.default)(q);(0,n.useEffect)(function(){q&&ue&&(de(ue),u({shortCodeTransforms:void 0}))},[q,ue]);var se=(0,A.default)(re,F,te);function ce(t){var n;return D.some(function(n){var l;return 0===(null==(l=t.type)?void 0:l.indexOf(n))})||0===(null==(n=t.url)?void 0:n.indexOf('blob:'))}function de(t){var n='[object FileList]'===Object.prototype.toString.call(t),l=n?Array.from(t).map(function(t){return t.url?t:(0,E.pickRelevantMediaFiles)({url:(0,h.createBlobURL)(t)})}):t;l.every(ce)||(U.removeAllNotices(),U.createErrorNotice((0,f.__)('If uploading to a gallery all files need to be image formats'),{id:'gallery-upload-invalid-file'}));var a=l.filter(function(t){return t.url||ce(t)}).map(function(t){return t.url?t:(0,E.pickRelevantMediaFiles)({url:(0,h.createBlobURL)(t)})}),u=a.reduce(function(t,n,l){return t[n.id]=l,t},{}),s=n?le:le.filter(function(t){return a.find(function(n){return n.id===t.attributes.id})}),c=a.filter(function(t){return!s.find(function(n){return t.id===n.attributes.id})}).map(function(t){return(0,b.createBlock)('core/image',{id:t.id,url:t.url,caption:t.caption,alt:t.alt})});X(x,(0,o.concat)(s,c).sort(function(t,n){return u[t.attributes.id]-u[n.attributes.id]}))}(0,n.useEffect)(function(){var t,n,l,a,o,s;H||(Q(),u({linkTo:(null==(t=window)?void 0:null==(n=t.wp)?void 0:null==(l=n.media)?void 0:null==(a=l.view)?void 0:null==(o=a.settings)?void 0:null==(s=o.defaultProps)?void 0:s.link)||T.LINK_DESTINATION_NONE}))},[H]);var fe=!!ae.length,ge=fe&&ae.some(function(t){return!!t.id}),me=ae.some(function(t){var n;return!t.id&&0===(null==(n=t.url)?void 0:n.indexOf('blob:'))}),pe=(0,n.createElement)(c.MediaPlaceholder,{addToGallery:ge,handleUpload:!1,isAppender:fe,disableMediaButtons:fe&&!F||me,icon:!fe&&N.sharedIcon,labels:{title:!fe&&(0,f.__)('Gallery'),instructions:!fe&&P},onSelect:de,accept:"image/*",allowedTypes:D,multiple:!0,value:ge?ae:{},onError:function(t){U.removeAllNotices(),U.createErrorNotice(t)},notices:fe?void 0:R,autoOpenMediaUpload:!fe&&F&&ie}),ve=(0,c.useBlockProps)({className:(0,a.default)(z,'has-nested-images')});if(!fe)return(0,n.createElement)(_.View,ve,pe);var _e=H&&'none'!==H;return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(s.PanelBody,{title:(0,f.__)('Gallery settings')},ae.length>1&&(0,n.createElement)(s.RangeControl,(0,l.default)({label:(0,f.__)('Columns'),value:K||(0,E.defaultColumnsNumber)(ae.length),onChange:function(t){u({columns:t})},min:1,max:Math.min(M,ae.length)},L,{required:!0})),(0,n.createElement)(s.ToggleControl,{label:(0,f.__)('Crop images'),checked:!!j,onChange:function(){u({imageCrop:!j})},help:function(t){return t?(0,f.__)('Thumbnails are cropped to align.'):(0,f.__)('Thumbnails are not cropped.')}}),(0,n.createElement)(s.SelectControl,{label:(0,f.__)('Link to'),value:H,onChange:function(t){u({linkTo:t});var n={},l=[];ee(x).innerBlocks.forEach(function(a){l.push(a.clientId);var u=a.attributes.id?(0,o.find)(re,{id:a.attributes.id}):null;n[a.clientId]=(0,I.getHrefAndDestination)(u,t)}),Y(l,n,!0);var a=[].concat(O).find(function(n){return n.value===t});Z((0,f.sprintf)((0,f.__)('All gallery image links updated to: %s'),a.label),{id:'gallery-attributes-linkTo',type:'snackbar'})},options:O,hideCancelButton:!0}),_e&&(0,n.createElement)(s.ToggleControl,{label:(0,f.__)('Open in new tab'),checked:'_blank'===G,onChange:function(t){var n=t?'_blank':void 0;u({linkTarget:n});var l={},a=[];ee(x).innerBlocks.forEach(function(t){a.push(t.clientId),l[t.clientId]=(0,y.getUpdatedLinkTargetSettings)(n,t.attributes)}),Y(a,l,!0);var o=t?(0,f.__)('All gallery images updated to open in new tab'):(0,f.__)('All gallery images updated to not open in new tab');Z(o,{id:'gallery-attributes-openInNewTab',type:'snackbar'})}}),(null==se?void 0:se.length)>0&&(0,n.createElement)(s.SelectControl,{label:(0,f.__)('Image size'),value:J,options:se,onChange:function(t){u({sizeSlug:t});var n={},l=[];ee(x).innerBlocks.forEach(function(a){l.push(a.clientId);var u=a.attributes.id?(0,o.find)(re,{id:a.attributes.id}):null;n[a.clientId]=(0,y.getImageSizeAttributes)(u,t)}),Y(l,n,!0);var a=se.find(function(n){return n.value===t});Z((0,f.sprintf)((0,f.__)('All gallery image sizes updated to: %s'),a.label),{id:'gallery-attributes-sizeSlug',type:'snackbar'})},hideCancelButton:!0}),n.Platform.isWeb&&!se&&ge&&(0,n.createElement)(s.BaseControl,{className:'gallery-image-sizes'},(0,n.createElement)(s.BaseControl.VisualLabel,null,(0,f.__)('Image size')),(0,n.createElement)(_.View,{className:'gallery-image-sizes__loading'},(0,n.createElement)(s.Spinner,null),(0,f.__)('Loading options\u2026'))))),R,(0,n.createElement)(S.default,(0,l.default)({},t,{images:ae,mediaPlaceholder:pe,blockProps:ve,insertBlocksAfter:V})))});e.default=z},2682,[3,437,21,1770,1107,1144,1311,1098,1036,1103,2576,1312,1101,2658,2366,2683,2680,2685,2652,2686,2679,2688,2689,2690,2691]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.sharedIcon=void 0;var n=r(d[1]),t=o(r(d[2])),l=r(d[3]),c=r(d[4]),u=r(d[5]),f=o(r(d[6])),h=(0,c.withPreferredColorScheme)(function(o){var c=(0,o.getStylesFromColorScheme)(f.default.icon,f.default.iconDark);return(0,n.createElement)(l.Icon,(0,t.default)({icon:u.gallery},c))}),v=(0,n.createElement)(h,null);e.sharedIcon=v},2683,[3,437,21,1311,1144,1511,2684]); +__d(function(g,r,i,a,m,e,d){m.exports={icon:{fill:"#2e4453"},iconDark:{fill:"#fff"}}},2684,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getHrefAndDestination=function(I,t){switch(t){case n.LINK_DESTINATION_MEDIA:return{href:(null==I?void 0:I.source_url)||(null==I?void 0:I.url),linkDestination:N.LINK_DESTINATION_MEDIA};case n.LINK_DESTINATION_ATTACHMENT:return{href:null==I?void 0:I.link,linkDestination:N.LINK_DESTINATION_ATTACHMENT};case n.LINK_DESTINATION_NONE:return{href:void 0,linkDestination:N.LINK_DESTINATION_NONE}}return{}};var n=r(d[0]),N=r(d[1])},2685,[2679,2653]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Gallery=void 0;var l=r(d[1]),n=t(r(d[2])),o=r(d[3]),u=r(d[4]),s=r(d[5]),c=t(r(d[6])),f=r(d[7]),p=r(d[8]),y=r(d[9]),v=r(d[10]),E=r(d[11]),h=function(t){var h=(0,l.useState)(!1),_=(0,n.default)(h,2),b=_[0],B=_[1],w=(0,E.useResizeObserver)(),k=(0,n.default)(w,2),A=k[0],C=k[1],G=(0,l.useState)(0),I=(0,n.default)(G,2),S=I[0],z=I[1];(0,l.useEffect)(y.mediaUploadSync,[]);var M=t.mediaPlaceholder,N=t.attributes,P=t.images,V=t.isNarrow,W=t.onBlur,L=t.insertBlocksAfter,O=t.clientId;(0,l.useEffect)(function(){var t=(C||{}).width;t&&z(t)},[C]);var R=N.align,j=N.columns,x=void 0===j?(0,s.defaultColumnsNumber)(P.length):j,D=Math.min(x,V?2:4),F=(0,p.useInnerBlocksProps)({},{contentResizeMode:'stretch',allowedBlocks:['core/image'],orientation:'horizontal',renderAppender:!1,numColumns:D,marginHorizontal:8,marginVertical:8,__experimentalLayout:{type:'default',alignments:[]},gridProperties:{numColumns:D},parentWidth:S+16}),H=R===v.WIDE_ALIGNMENTS.alignments.full;return(0,l.createElement)(o.View,{style:H&&c.default.fullWidth},A,(0,l.createElement)(o.View,F),(0,l.createElement)(o.View,{style:[H&&c.default.fullWidth,c.default.galleryAppender]},M),(0,l.createElement)(p.BlockCaption,{clientId:O,isSelected:b,accessible:!0,accessibilityLabelCreator:function(t){return(0,u.isEmpty)(t)?'Gallery caption. Empty':(0,f.sprintf)((0,f.__)('Gallery caption. %s'),t)},onFocus:function(){b||B(!0)},onBlur:W,insertBlocksAfter:L}))};e.Gallery=h;var _=h;e.default=_},2686,[3,437,49,22,1107,2680,2687,1036,1098,1032,1311,1144]); +__d(function(g,r,i,a,m,e,d){m.exports={galleryTilesContainerSelected:{marginBottom:16},fullWidth:{marginLeft:16,marginRight:16},galleryAppender:{paddingTop:16}}},2687,[]); +__d(function(g,r,i,a,m,e,d){var u=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u,s,o){return(0,f.useMemo)(function(){return c()},[u,s]);function c(){if(u&&0!==u.length){var f=o(),c=f.imageSizes,v={};return s&&(v=u.reduce(function(u,f){if(!f.id)return u;var s=c.reduce(function(u,s){var o=(0,l.get)(f,['sizes',s.slug,'url']),c=(0,l.get)(f,['media_details','sizes',s.slug,'source_url']);return(0,t.default)({},u,(0,n.default)({},s.slug,o||c))},{});return(0,t.default)({},u,(0,n.default)({},parseInt(f.id,10),s))},{})),c.filter(function(u){var n=u.slug;return(0,l.some)(v,function(u){return u[n]})}).map(function(u){var n=u.name,t=u.slug;return{value:t,label:n}})}}};var n=u(r(d[1])),t=u(r(d[2])),l=r(d[3]),f=r(d[4])},2688,[3,258,21,1107,437]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){var f=(0,n.useSelect)(function(t){if(l&&0!==l.length){var n=t(u.store).getMedia;return l.map(function(t){var u=n(t.id);if(u)return{id:u.id,type:'image',url:u.source_url,mime:u.mime_type,alt:u.alt_text,link:u.link}})}},[l]);if(!f)return;if((0,t.every)(f,function(t){return t&&t.url}))return f};var t=r(d[0]),n=r(d[1]),u=r(d[2])},2689,[1107,1103,2374]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,l){var o=(0,f.useState)([]),c=(0,u.default)(o,2),v=c[0],h=c[1];return(0,f.useMemo)(function(){return I()},[n,l]);function I(){var u=!1,f=v.filter(function(t){return n.find(function(n){return t.clientId===n.clientId})});f.length'+(0,n.__)('One of the hardest things to do in technology is disrupt yourself.')+'
',citation:(0,n.__)('Matt Mullenweg')}},transforms:c.default,edit:o.default,save:f.default,deprecated:l.default};e.settings=_},2866,[3,1036,1511,2867,2869,2874,2875,2876]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=t(r(d[2])),c=t(r(d[3])),u=t(r(d[4])),s=t(r(d[5])),n=r(d[6]),C=r(d[7]),f=r(d[8]),v=r(d[9]),b=["className","mainColor","customMainColor","customTextColor"],x=["className","figureStyle","mainColor","customMainColor","customTextColor"],N=["className","mainColor","customMainColor","customTextColor"],y={value:{type:'string',source:'html',selector:'blockquote',multiline:'p'},citation:{type:'string',source:'html',selector:'cite',default:''},mainColor:{type:'string'},customMainColor:{type:'string'},textColor:{type:'string'},customTextColor:{type:'string'}};function T(t){if(t){var o=t.match(/border-color:([^;]+)[;]?/);return o&&o[1]?o[1]:void 0}}var h=[{attributes:(0,u.default)({},y),save:function(t){var l,u,f=t.attributes,b=f.mainColor,x=f.customMainColor,N=f.customTextColor,y=f.textColor,T=f.value,h=f.citation,E=f.className;if((0,n.includes)(E,v.SOLID_COLOR_CLASS)){var S=(0,C.getColorClassName)('background-color',b);l=(0,s.default)((0,c.default)({'has-background':S||x},S,S)),u={backgroundColor:S?void 0:x}}else x&&(u={borderColor:x});var k=(0,C.getColorClassName)('color',y),R=(0,s.default)((0,c.default)({'has-text-color':y||N},k,k)),O=k?void 0:{color:N};return(0,o.createElement)("figure",C.useBlockProps.save({className:l,style:u}),(0,o.createElement)("blockquote",{className:R,style:O},(0,o.createElement)(C.RichText.Content,{value:T,multiline:!0}),!C.RichText.isEmpty(h)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:h})))},migrate:function(t){var o,c=t.className,s=t.mainColor,C=t.customMainColor,f=t.customTextColor,x=(0,l.default)(t,b),N=(0,n.includes)(c,v.SOLID_COLOR_CLASS);return C&&(o=N?{color:{background:C}}:{border:{color:C}}),f&&o&&(o.color=(0,u.default)({},o.color,{text:f})),(0,u.default)({className:c,backgroundColor:N?s:void 0,borderColor:N?void 0:s,textAlign:N?'left':void 0,style:o},x)}},{attributes:(0,u.default)({},y,{figureStyle:{source:'attribute',selector:'figure',attribute:'style'}}),save:function(t){var l,u,f=t.attributes,b=f.mainColor,x=f.customMainColor,N=f.textColor,y=f.customTextColor,h=f.value,E=f.citation,S=f.className,k=f.figureStyle;if((0,n.includes)(S,v.SOLID_COLOR_CLASS)){var R=(0,C.getColorClassName)('background-color',b);l=(0,s.default)((0,c.default)({'has-background':R||x},R,R)),u={backgroundColor:R?void 0:x}}else if(x)u={borderColor:x};else if(b){u={borderColor:T(k)}}var O=(0,C.getColorClassName)('color',N),L=(N||y)&&(0,s.default)('has-text-color',(0,c.default)({},O,O)),p=O?void 0:{color:y};return(0,o.createElement)("figure",{className:l,style:u},(0,o.createElement)("blockquote",{className:L,style:p},(0,o.createElement)(C.RichText.Content,{value:h,multiline:!0}),!C.RichText.isEmpty(E)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:E})))},migrate:function(t){var o,c=t.className,s=t.figureStyle,C=t.mainColor,f=t.customMainColor,b=t.customTextColor,N=(0,l.default)(t,x),y=(0,n.includes)(c,v.SOLID_COLOR_CLASS);if(f&&(o=y?{color:{background:f}}:{border:{color:f}}),b&&o&&(o.color=(0,u.default)({},o.color,{text:b})),!y&&C&&s){var h=T(s);if(h)return(0,u.default)({},N,{className:c,style:{border:{color:h}}})}return(0,u.default)({className:c,backgroundColor:y?C:void 0,borderColor:y?void 0:C,textAlign:y?'left':void 0,style:o},N)}},{attributes:y,save:function(t){var l,u,b=t.attributes,x=b.mainColor,N=b.customMainColor,y=b.textColor,T=b.customTextColor,h=b.value,E=b.citation,S=b.className;if((0,n.includes)(S,v.SOLID_COLOR_CLASS))(l=(0,C.getColorClassName)('background-color',x))||(u={backgroundColor:N});else if(N)u={borderColor:N};else if(x){var k=(0,n.get)((0,f.select)(C.store).getSettings(),['colors'],[]);u={borderColor:(0,C.getColorObjectByAttributeValues)(k,x).color}}var R=(0,C.getColorClassName)('color',y),O=y||T?(0,s.default)('has-text-color',(0,c.default)({},R,R)):void 0,L=R?void 0:{color:T};return(0,o.createElement)("figure",{className:l,style:u},(0,o.createElement)("blockquote",{className:O,style:L},(0,o.createElement)(C.RichText.Content,{value:h,multiline:!0}),!C.RichText.isEmpty(E)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:E})))},migrate:function(t){var o=t.className,c=t.mainColor,s=t.customMainColor,C=t.customTextColor,f=(0,l.default)(t,N),b=(0,n.includes)(o,v.SOLID_COLOR_CLASS),x={};return s&&(x=b?{color:{background:s}}:{border:{color:s}}),C&&x&&(x.color=(0,u.default)({},x.color,{text:C})),(0,u.default)({className:o,backgroundColor:b?c:void 0,borderColor:b?void 0:c,textAlign:b?'left':void 0,style:x},f)}},{attributes:(0,u.default)({},y),save:function(t){var l=t.attributes,c=l.value,u=l.citation;return(0,o.createElement)("blockquote",null,(0,o.createElement)(C.RichText.Content,{value:c,multiline:!0}),!C.RichText.isEmpty(u)&&(0,o.createElement)(C.RichText.Content,{tagName:"cite",value:u}))}},{attributes:(0,u.default)({},y,{citation:{type:'string',source:'html',selector:'footer'},align:{type:'string',default:'none'}}),save:function(t){var l=t.attributes,c=l.value,u=l.citation,s=l.align;return(0,o.createElement)("blockquote",{className:"align"+s},(0,o.createElement)(C.RichText.Content,{value:c,multiline:!0}),!C.RichText.isEmpty(u)&&(0,o.createElement)(C.RichText.Content,{tagName:"footer",value:u}))}}];e.default=h},2867,[3,437,4,258,21,1770,1107,1098,1103,2868]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SOLID_COLOR_CLASS=void 0;e.SOLID_COLOR_CLASS="is-style-solid-color"},2868,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),l=r(d[1]),o=r(d[2]),n=r(d[3]),u=r(d[4]),c=r(d[5]),s=function(t){var l,n,u=t.attributes,c=t.colors,s=t.style,v=u.backgroundColor,b=(0,o.__experimentalGetColorClassesAndStyles)(u),C=(0,o.getColorObjectByAttributeValues)(c,v);return(null==C?void 0:C.color)||(null==(l=b.style)?void 0:l.backgroundColor)||(null==(n=b.style)?void 0:n.background)||(null==s?void 0:s.backgroundColor)},v=function(t){var l,n,u,c=t.attributes,s=t.colors,v=t.style,b=(0,o.__experimentalGetColorClassesAndStyles)(c),C=(0,o.getColorObjectByAttributeValues)(s,c.textColor);return(null==C?void 0:C.color)||(null==(l=b.style)?void 0:l.color)||(null==v?void 0:v.color)||(null==v?void 0:null==(n=v.baseColors)?void 0:null==(u=n.color)?void 0:u.text)},b=function(t){var l,o=t.wrapperProps,n=v(t);return(null==o?void 0:null==(l=o.style)?void 0:l.borderColor)||n};var C=function(C){var _=C.attributes,f=C.setAttributes,p=C.isSelected,x=C.insertBlocksAfter,A=_.textAlign,y=_.citation,k=_.value,h=(0,o.useBlockProps)({backgroundColor:s(C),borderColor:b(C)}),E=!o.RichText.isEmpty(y)||p;return(0,t.createElement)(t.Fragment,null,(0,t.createElement)(o.BlockControls,{group:"block"},(0,t.createElement)(o.AlignmentControl,{value:A,onChange:function(t){f({textAlign:t})}})),(0,t.createElement)(u.Figure,h,(0,t.createElement)(c.BlockQuote,{textColor:v(C)},(0,t.createElement)(o.RichText,{identifier:"value",multiline:!0,value:k,onChange:function(t){return f({value:t})},"aria-label":(0,l.__)('Pullquote text'),placeholder:(0,l.__)('Add quote'),textAlign:null!=A?A:'center'}),E&&(0,t.createElement)(o.RichText,{identifier:"citation",value:y,"aria-label":(0,l.__)('Pullquote citation text'),placeholder:(0,l.__)('Add citation'),onChange:function(t){return f({citation:t})},__unstableMobileNoFocusOnMount:!0,textAlign:null!=A?A:'center',__unstableOnSplitAtEnd:function(){return x((0,n.createBlock)('core/paragraph'))}}))))};e.default=C},2869,[437,1036,1098,1101,2870,2872]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.Figure=void 0;var l=r(d[1]),t=r(d[2]),u=r(d[3]),n=o(r(d[4]));e.Figure=function(o){var c=o.children,b=o.backgroundColor,f=o.borderColor,C=(0,u.usePreferredColorSchemeStyle)(n.default.light,n.default.dark),v={};return f&&(v.borderTopColor=f,v.borderBottomColor=f),b&&(v.backgroundColor=b),(0,l.createElement)(t.View,{style:[C,v]},c)}},2870,[3,437,22,1144,2871]); +__d(function(g,r,i,a,m,e,d){m.exports={dark:{borderTopWidth:3,borderRightWidth:0,borderBottomWidth:3,borderLeftWidth:0,paddingTop:21,paddingRight:16,paddingBottom:21,paddingLeft:16,borderTopColor:"#646970",borderBottomColor:"#646970"},light:{borderTopWidth:3,borderRightWidth:0,borderBottomWidth:3,borderLeftWidth:0,paddingTop:21,paddingRight:16,paddingBottom:21,paddingLeft:16,borderTopColor:"#c8d7e1",borderBottomColor:"#c8d7e1"}}},2871,[]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BlockQuote=void 0;var t=r(d[1]),l=o(r(d[2])),n=r(d[3]),c=o(r(d[4]));e.BlockQuote=function(o){var u=(0,l.default)({},c.default.citation),f=(0,l.default)({},c.default.quote);o.textColor&&(f.color=o.textColor,f.placeholderColor=o.textColor,u.color=o.textColor,u.placeholderColor=o.textColor);var p=t.Children.map(o.children,function(o){return o&&'value'===o.props.identifier?(0,t.cloneElement)(o,{style:f}):o&&'citation'===o.props.identifier?(0,t.cloneElement)(o,{style:u}):o});return(0,t.createElement)(n.View,null,p)}},2872,[3,437,21,22,2873]); +__d(function(g,r,i,a,m,e,d){m.exports={quote:{fontSize:18},citation:{fontSize:14,marginTop:14}}},2873,[]); +__d(function(e,t,l,o,i,r,n){i.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/pullquote",title:"Pullquote",category:"text",description:"Give special visual emphasis to a quote from your text.",textdomain:"default",attributes:{value:{type:"string",source:"html",selector:"blockquote",multiline:"p",__experimentalRole:"content"},citation:{type:"string",source:"html",selector:"cite",default:"",__experimentalRole:"content"},textAlign:{type:"string"}},supports:{anchor:!0,align:["left","right","wide","full"],color:{gradients:!0,background:!0,link:!0},typography:{fontSize:!0,lineHeight:!0,__experimentalFontStyle:!0,__experimentalFontWeight:!0,__experimentalLetterSpacing:!0,__experimentalTextTransform:!0,__experimentalDefaultControls:{fontSize:!0,fontAppearance:!0}},__experimentalBorder:{color:!0,radius:!0,style:!0,width:!0,__experimentalDefaultControls:{color:!0,radius:!0,style:!0,width:!0}}},editorStyle:"wp-block-pullquote-editor",style:"wp-block-pullquote"}},2874,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o=t.attributes,s=o.textAlign,v=o.citation,f=o.value,x=!c.RichText.isEmpty(v);return(0,l.createElement)("figure",c.useBlockProps.save({className:(0,u.default)((0,n.default)({},"has-text-align-"+s,s))}),(0,l.createElement)("blockquote",null,(0,l.createElement)(c.RichText.Content,{value:f,multiline:!0}),x&&(0,l.createElement)(c.RichText.Content,{tagName:"cite",value:v})))};var l=r(d[1]),n=t(r(d[2])),u=t(r(d[3])),c=r(d[4])},2875,[3,437,258,1770,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.richText});e.default=o},2876,[3,21,2877,2647]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),c=t(r(d[2])),n=t(r(d[3])),l=r(d[4]),u=r(d[5]),p=["value","citation"],h={from:[{type:'block',isMultiBlock:!0,blocks:['core/paragraph'],transform:function(t){return(0,l.createBlock)('core/pullquote',{value:(0,u.toHTMLString)({value:(0,u.join)(t.map(function(t){var o=t.content;return(0,u.create)({html:o})}),"\u2028"),multilineTag:'p'}),anchor:t.anchor})}},{type:'block',blocks:['core/heading'],transform:function(t){var o=t.content,c=t.anchor;return(0,l.createBlock)('core/pullquote',{value:""+o+"
",anchor:c})}}],to:[{type:'block',blocks:['core/paragraph'],transform:function(t){var o=t.value,c=t.citation,p=[];return o&&''!==o&&p.push.apply(p,(0,n.default)((0,u.split)((0,u.create)({html:o,multilineTag:'p'}),"\u2028").map(function(t){return(0,l.createBlock)('core/paragraph',{content:(0,u.toHTMLString)({value:t})})}))),c&&''!==c&&p.push((0,l.createBlock)('core/paragraph',{content:c})),0===p.length?(0,l.createBlock)('core/paragraph',{content:''}):p}},{type:'block',blocks:['core/heading'],transform:function(t){var n=t.value,h=t.citation,f=(0,c.default)(t,p);if(''===n)return(0,l.createBlock)('core/heading',{content:h});var v=(0,u.split)((0,u.create)({html:n,multilineTag:'p'}),"\u2028"),k=(0,l.createBlock)('core/heading',{content:(0,u.toHTMLString)({value:v[0]})});if(!h&&1===v.length)return k;var s=v.slice(1);return[k,(0,l.createBlock)('core/pullquote',(0,o.default)({},f,{citation:h,value:(0,u.toHTMLString)({value:s.length?(0,u.join)(v.slice(1),"\u2028"):(0,u.create)(),multilineTag:'p'})}))]}}]};e.default=h},2877,[3,21,4,57,1101,2007]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),o=t(r(d[3])),f=u.default.name;e.name=f;var l={edit:o.default,icon:n.symbol};e.settings=l},2878,[3,1511,2879,2880]); +__d(function(e,t,s,o,r,a,c){r.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/block",title:"Reusable block",category:"reusable",description:"Create and save content to reuse across your site. Update the block, and the changes apply everywhere it\u2019s used.",textdomain:"default",attributes:{ref:{type:"number"}},supports:{customClassName:!1,html:!1,inserter:!1},editorStyle:"wp-block-editor"}},2879,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var S=t.attributes.ref,v=t.clientId,T=t.isSelected,C=(0,p.__experimentalUseNoRecursiveRenders)(S),P=(0,o.default)(C,2),D=P[0],B=P[1],I=(0,l.useState)(!1),R=(0,o.default)(I,2),w=R[0],x=R[1],W=(0,b.usePreferredColorSchemeStyle)(E.default.infoText,E.default.infoTextDark),V=(0,b.usePreferredColorSchemeStyle)(E.default.infoTitle,E.default.infoTitleDark),A=(0,b.usePreferredColorSchemeStyle)(E.default.infoSheetIcon,E.default.infoSheetIconDark),F=(0,b.usePreferredColorSchemeStyle)(E.default.infoDescription,E.default.infoDescriptionDark),H=(0,b.usePreferredColorSchemeStyle)(E.default.actionButton,E.default.actionButtonDark),M=(0,b.usePreferredColorSchemeStyle)(E.default.spinner,E.default.spinnerDark),O=(0,u.useSelect)(function(t){var l=t(s.store).getEntityRecord('postType','wp_block',S),o=t(s.store).hasFinishedResolution('getEntityRecord',['postType','wp_block',S]);return{hasResolved:o,isEditing:t(y.store).__experimentalIsEditingReusableBlock(v),isMissing:o&&!l}},[S,v]),z=O.hasResolved,N=O.isEditing,j=O.isMissing,L=(0,u.useDispatch)(h.store).createSuccessNotice,U=(0,u.useDispatch)(y.store).__experimentalConvertBlockToStatic,q=(0,u.useDispatch)(p.store).clearSelectedBlock,G=(0,s.useEntityBlockEditor)('postType','wp_block',{id:S}),J=(0,o.default)(G,3),K=J[0],Q=J[1],X=J[2],Y=(0,s.useEntityProp)('postType','wp_block','title',S),Z=(0,o.default)(Y,1)[0];function $(){x(!1)}var ee=(0,l.useCallback)(function(){L((0,f.sprintf)((0,f.__)('%s converted to regular blocks'),Z)),q(),setImmediate(function(){return U(v)})},[Z,v]);if(D)return(0,l.createElement)(p.Warning,{message:(0,f.__)('Block cannot be rendered inside itself.')});if(j)return(0,l.createElement)(p.Warning,{message:(0,f.__)('Block has been deleted or is unavailable.')});if(!z)return(0,l.createElement)(n.View,{style:M},(0,l.createElement)(n.ActivityIndicator,{animating:!0}));var te=(0,l.createElement)(p.InnerBlocks,{value:K,onChange:X,onInput:Q});N||(te=(0,l.createElement)(c.Disabled,null,te));return(0,l.createElement)(B,null,(0,l.createElement)(n.TouchableWithoutFeedback,{disabled:!T,accessibilityLabel:(0,f.__)('Help button'),accessibilityRole:'button',accessibilityHint:(0,f.__)('Tap here to show help'),onPress:function(){x(!0)}},(0,l.createElement)(n.View,null,T&&(0,l.createElement)(k.default,{title:Z}),te,(re='android'===n.Platform.OS?(0,f.__)('Editing reusable blocks is not yet supported on WordPress for Android'):(0,f.__)('Editing reusable blocks is not yet supported on WordPress for iOS'),(0,l.createElement)(c.BottomSheet,{isVisible:w,hideHeader:!0,onClose:$},(0,l.createElement)(n.View,{style:E.default.infoContainer},(0,l.createElement)(c.Icon,{icon:_.help,color:A.color,size:E.default.infoSheetIcon.size}),(0,l.createElement)(n.Text,{style:[W,V]},re),(0,l.createElement)(n.Text,{style:[W,F]},(0,f.__)('Alternatively, you can detach and edit these blocks separately by tapping "Convert to regular blocks".')),(0,l.createElement)(c.TextControl,{label:(0,f.__)('Convert to regular blocks'),separatorType:"topFullWidth",onPress:ee,labelStyle:H})))))));var re};var l=r(d[1]),o=t(r(d[2])),n=r(d[3]),s=r(d[4]),c=r(d[5]),u=r(d[6]),f=r(d[7]),p=r(d[8]),b=r(d[9]),_=r(d[10]),y=r(d[11]),h=r(d[12]),E=t(r(d[13])),k=t(r(d[14]))},2880,[3,437,49,22,2374,1311,1103,1036,1098,1144,1511,2373,2366,2881,2882]); +__d(function(g,r,i,a,m,e,d){m.exports={titleContainer:{flexDirection:"row",alignItems:"center",paddingBottom:28},title:{fontWeight:"bold",color:"#0009",flexGrow:1,flexShrink:1},titleDark:{color:"#fff9"},separator:{backgroundColor:"#e8eaeb",height:1,position:"absolute",left:-11,right:-11,bottom:16},separatorDark:{backgroundColor:"#3c434a"},lockIconContainer:{justifyContent:"flex-start",alignItems:"flex-end",paddingRight:8},lockIcon:{color:"#0009"},lockIconDark:{color:"#fff9"},helpIconContainer:{justifyContent:"flex-start",alignItems:"flex-end"},infoIcon:{color:"#0009"},infoIconDark:{color:"#fff9"},infoContainer:{flexDirection:"column",alignItems:"center",justifyContent:"flex-end"},infoSheetIcon:{size:36,height:36,paddingTop:8,paddingBottom:8,color:"#87a6bc"},infoSheetIconDark:{color:"#a7aaad"},infoText:{textAlign:"center",color:"#2e4453"},infoTextDark:{color:"#fff"},infoTitle:{paddingTop:8,paddingBottom:12,fontSize:20,fontWeight:"bold",color:"#2e4453"},infoTitleDark:{color:"#fff"},infoDescription:{paddingBottom:24,fontSize:16,color:"#4f748e"},infoDescriptionDark:{color:"#a7aaad"},actionButton:{color:"#2271b1"},actionButtonDark:{color:"#5198d9"},spinner:{height:48,borderWidth:1,borderRadius:2,borderColor:"#e8eaeb",justifyContent:"center"},spinnerDark:{borderColor:"#3c434a"}}},2881,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),f=r(d[5]),u=r(d[6]),s=t(r(d[7]));var k=(0,f.withPreferredColorScheme)(function(t){var f=t.getStylesFromColorScheme,k=t.title,y=f(s.default.lockIcon,s.default.lockIconDark),I=f(s.default.title,s.default.titleDark),_=f(s.default.infoIcon,s.default.infoIconDark),E=f(s.default.separator,s.default.separatorDark);return(0,l.createElement)(n.View,{style:s.default.titleContainer},(0,l.createElement)(n.View,{style:s.default.lockIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Lock icon'),icon:u.lock,size:16,style:y})),(0,l.createElement)(n.Text,{numberOfLines:1,style:I},k),(0,l.createElement)(n.View,{style:s.default.helpIconContainer},(0,l.createElement)(o.Icon,{label:(0,c.__)('Help icon'),icon:u.help,size:20,style:_})),(0,l.createElement)(n.View,{style:E}))});e.default=k},2882,[3,437,22,1311,1036,1144,1511,2881]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),u=t(r(d[3])),o=s.default.name;e.name=o;var f={icon:n.rss,example:{attributes:{feedURL:'https://wordpress.org'}},edit:u.default};e.settings=f},2883,[3,1511,2884,2885]); +__d(function(e,t,o,s,a,l,r){a.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/rss",title:"RSS",category:"widgets",description:"Display entries from any RSS or Atom feed.",keywords:["atom","feed"],textdomain:"default",attributes:{columns:{type:"number",default:2},blockLayout:{type:"string",default:"list"},feedURL:{type:"string",default:""},itemsToShow:{type:"number",default:5},displayExcerpt:{type:"boolean",default:!1},displayAuthor:{type:"boolean",default:!1},displayDate:{type:"boolean",default:!1},excerptLength:{type:"number",default:55}},supports:{align:!0,html:!1},editorStyle:"wp-block-rss-editor",style:"wp-block-rss"}},2884,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var E=t.attributes,h=t.setAttributes,C=(0,n.useState)(!E.feedURL),v=(0,o.default)(C,2),y=v[0],k=v[1],L=E.blockLayout,R=E.columns,x=E.displayAuthor,S=E.displayDate,w=E.displayExcerpt,D=E.excerptLength,T=E.feedURL,U=E.itemsToShow;function A(t){return function(){var n=E[t];h((0,l.default)({},t,!n))}}var B=(0,c.useBlockProps)();if(y)return(0,n.createElement)("div",B,(0,n.createElement)(u.Placeholder,{icon:s.rss,label:"RSS"},(0,n.createElement)("form",{onSubmit:function(t){t.preventDefault(),T&&k(!1)},className:"wp-block-rss__placeholder-form"},(0,n.createElement)(u.TextControl,{placeholder:(0,_.__)('Enter URL here\u2026'),value:T,onChange:function(t){return h({feedURL:t})},className:"wp-block-rss__placeholder-input"}),(0,n.createElement)(u.Button,{variant:"primary",type:"submit"},(0,_.__)('Use URL')))));var P=[{icon:s.edit,title:(0,_.__)('Edit RSS URL'),onClick:function(){return k(!0)}},{icon:s.list,title:(0,_.__)('List view'),onClick:function(){return h({blockLayout:'list'})},isActive:'list'===L},{icon:s.grid,title:(0,_.__)('Grid view'),onClick:function(){return h({blockLayout:'grid'})},isActive:'grid'===L}];return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(c.BlockControls,null,(0,n.createElement)(u.ToolbarGroup,{controls:P})),(0,n.createElement)(c.InspectorControls,null,(0,n.createElement)(u.PanelBody,{title:(0,_.__)('RSS settings')},(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Number of items'),value:U,onChange:function(t){return h({itemsToShow:t})},min:f,max:b,required:!0}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display author'),checked:x,onChange:A('displayAuthor')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display date'),checked:S,onChange:A('displayDate')}),(0,n.createElement)(u.ToggleControl,{label:(0,_.__)('Display excerpt'),checked:w,onChange:A('displayExcerpt')}),w&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Max number of words in excerpt'),value:D,onChange:function(t){return h({excerptLength:t})},min:10,max:100,required:!0}),'grid'===L&&(0,n.createElement)(u.RangeControl,{label:(0,_.__)('Columns'),value:R,onChange:function(t){return h({columns:t})},min:2,max:6,required:!0}))),(0,n.createElement)("div",B,(0,n.createElement)(u.Disabled,null,(0,n.createElement)(p.default,{block:"core/rss",attributes:E}))))};var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=r(d[4]),u=r(d[5]),s=r(d[6]),_=r(d[7]),p=t(r(d[8])),f=1,b=10},2885,[3,437,258,49,1098,1311,1511,1036,2710]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),o=u.default.name;e.name=o;var s={icon:n.search,example:{},variations:l.default,edit:f.default};e.settings=s},2886,[3,1511,2887,2888,2890]); +__d(function(e,t,o,i,n,r,l){n.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/search",title:"Search",category:"widgets",description:"Help visitors find your content.",keywords:["find"],textdomain:"default",attributes:{label:{type:"string",__experimentalRole:"content"},showLabel:{type:"boolean",default:!0},placeholder:{type:"string",default:"",__experimentalRole:"content"},width:{type:"number"},widthUnit:{type:"string"},buttonText:{type:"string",__experimentalRole:"content"},buttonPosition:{type:"string",default:"button-outside"},buttonUseIcon:{type:"boolean",default:!1}},supports:{align:["left","center","right"],color:{gradients:!0,__experimentalSkipSerialization:!0},__experimentalBorder:{color:!0,radius:!0,width:!0,__experimentalSkipSerialization:!0,__experimentalDefaultControls:{color:!0,radius:!0,width:!0}},html:!1},editorStyle:"wp-block-search-editor",style:"wp-block-search"}},2887,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var o,n,w,E,S,T,B,I,L,N,P,F=t.onFocus,M=t.isSelected,O=t.attributes,R=t.setAttributes,A=t.className,D=t.blockWidth,V=t.style,W=(0,l.useState)(!1),H=(0,c.default)(W,2),U=H[0],j=H[1],z=(0,l.useState)(!1),q=(0,c.default)(z,2),G=q[0],J=q[1],K=(0,l.useState)(!1),Q=(0,c.default)(K,2),X=Q[0],Y=Q[1],Z=(0,l.useState)(!1),$=(0,c.default)(Z,2),ee=$[0],te=$[1],oe=(0,l.useState)(x),ne=(0,c.default)(oe,2),le=ne[0],ie=ne[1],ue=(0,l.useState)(!1),ae=(0,c.default)(ue,2),re=ae[0],ce=ae[1],se=(0,l.useRef)(null),de=O.label,be=O.showLabel,fe=O.buttonPosition,he=O.buttonUseIcon,_e=O.placeholder,ve=O.buttonText;(0,l.useEffect)(function(){var t=s.AccessibilityInfo.addEventListener('screenReaderChanged',pe);return s.AccessibilityInfo.isScreenReaderEnabled().then(function(t){ce(t)}),function(){t.remove()}},[]);var pe=function(t){ce(t)};(0,l.useEffect)(function(){Ce()&&X&&!M&&se.current.blur()},[M]),(0,l.useEffect)(function(){var t=Math.floor(D/2-y),o=le>t;ee!==o&&te(o)},[D,le]);var Ce=function(){return se&&se.current},me=function(t){var o=t.nativeEvent,n=null==o?void 0:o.layout,l=n.width;l&&ie(l)},xe=(0,f.useBlockProps)({className:(0,b.default)(A,'button-inside'===fe?'wp-block-search__button-inside':void 0,'button-outside'===fe?'wp-block-search__button-outside':void 0,'no-button'===fe?'wp-block-search__no-button':void 0,'button-only'===fe?'wp-block-search__button-only':void 0,he||'no-button'===fe?void 0:'wp-block-search__text-button',he&&'no-button'!==fe?'wp-block-search__icon-button':void 0)}),ye=(0,l.createElement)(f.InspectorControls,null,(0,l.createElement)(h.PanelBody,{title:(0,_.__)('Search settings')},(0,l.createElement)(h.ToggleControl,{label:(0,_.__)('Hide search heading'),checked:!be,onChange:function(){R({showLabel:!be})}}),(0,l.createElement)(h.SelectControl,{label:(0,_.__)('Button position'),value:(function(t){switch(t){case'button-inside':return(0,_.__)('Inside');case'button-outside':return(0,_.__)('Outside');case'no-button':return(0,_.__)('No button')}})(fe),onChange:function(t){R({buttonPosition:t})},options:k,hideCancelButton:!0}),'no-button'!==fe&&(0,l.createElement)(h.ToggleControl,{label:(0,_.__)('Use icon button'),checked:he,onChange:function(){R({buttonUseIcon:!he})}}))),ge='button-inside'===fe,ke=(0,p.usePreferredColorSchemeStyle)(C.default.border,C.default.borderDark),we=[!ge&&ke,(0,p.usePreferredColorSchemeStyle)(C.default.plainTextInput,C.default.plainTextInputDark),(null==V?void 0:null==(o=V.baseColors)?void 0:o.color)&&{color:null==V?void 0:null==(n=V.baseColors)?void 0:null==(w=n.color)?void 0:w.text}],Ee=(0,u.default)({},(0,p.usePreferredColorSchemeStyle)(C.default.plainTextPlaceholder,C.default.plainTextPlaceholderDark),(null==V?void 0:null==(E=V.baseColors)?void 0:E.color)&&{color:null==V?void 0:null==(S=V.baseColors)?void 0:null==(T=S.color)?void 0:T.text}),Se=[C.default.searchBarContainer,ge&&ke,ee&&{flexDirection:'column'}],Te=function(){return re?(0,_.__)('Search button. Current button text is')+" "+ve:'search-block-button'},Be=function(){if(!re)return'search-block-input';var t=(0,_.__)('Search input field.'),o=_e?(0,_.__)('Current placeholder text is')+" "+_e:(0,_.__)('No custom placeholder set');return t+" "+o},Ie=function(){return(0,l.createElement)(s.View,{style:C.default.searchInputContainer,accessible:!0,accessibilityRole:"none",accessibilityHint:re?(0,_.__)('Double tap to edit placeholder text'):void 0,accessibilityLabel:Be()},(0,l.createElement)(f.PlainText,{ref:se,isSelected:X,className:"wp-block-search__input",style:we,numberOfLines:1,ellipsizeMode:"tail",label:null,value:_e,placeholder:_e?void 0:(0,_.__)('Optional placeholder\u2026'),onChange:function(t){return R({placeholder:t})},onFocus:function(){Y(!0),F()},onBlur:function(){return Y(!1)},placeholderTextColor:null==Ee?void 0:Ee.color}))},Le=U||!U&&ve&&''!==ve?'':(0,_.__)('Add button text'),Ne=(0,u.default)({},null==V?void 0:null==(B=V.baseColors)?void 0:null==(I=B.blocks)?void 0:null==(L=I['core/button'])?void 0:L.color,null==O?void 0:null==(N=O.style)?void 0:N.color,(null==V?void 0:V.color)&&{text:V.color}),Pe=[C.default.buttonContainer,ee&&C.default.buttonContainerWide,(null==Ne?void 0:Ne.background)&&{backgroundColor:Ne.background,borderWidth:0},(null==V?void 0:V.backgroundColor)&&{backgroundColor:V.backgroundColor,borderWidth:0}],Fe=(0,u.default)({},C.default.richTextButton,(null==Ne?void 0:Ne.text)&&{color:Ne.text,placeholderColor:Ne.text}),Me=(0,u.default)({},C.default.icon,(null==Ne?void 0:Ne.text)&&{fill:Ne.text}),Oe=function(){var t;return(0,l.createElement)(s.View,{style:Pe},he&&(0,l.createElement)(h.Icon,(0,u.default)({icon:v.search},Me,{onLayout:me})),!he&&(0,l.createElement)(s.View,{accessible:!0,accessibilityRole:"none",accessibilityHint:re?(0,_.__)('Double tap to edit button text'):void 0,accessibilityLabel:Te(),onLayout:me},(0,l.createElement)(f.RichText,{className:"wp-block-search__button",identifier:"text",tagName:"p",style:Fe,placeholder:Le,value:ve,withoutInteractiveFormatting:!0,onChange:function(t){return R({buttonText:t})},minWidth:x,maxWidth:D-y,textAlign:"center",isSelected:U,__unstableMobileNoFocusOnMount:!M,unstableOnFocus:function(){j(!0)},onBlur:function(){j(!1)},selectionColor:null==(t=C.default.richTextButtonCursor)?void 0:t.color})))};return(0,l.createElement)(s.View,(0,u.default)({},xe,{style:C.default.searchBlockContainer,importantForAccessibility:M?'yes':'no-hide-descendants',accessibilityElementsHidden:!M}),M&&ye,be&&(0,l.createElement)(s.View,{accessible:!0,accessibilityRole:"none",accessibilityHint:re?(0,_.__)('Double tap to edit label text'):void 0,accessibilityLabel:(function(){if(!re)return'search-block-label';return(0,_.__)('Search block label. Current text is')+" "+de})()},(0,l.createElement)(f.RichText,{className:"wp-block-search__label",identifier:"text",tagName:"p",style:C.default.richTextLabel,placeholder:(0,_.__)('Add label\u2026'),withoutInteractiveFormatting:!0,value:de,onChange:function(t){return R({label:t})},isSelected:G,__unstableMobileNoFocusOnMount:!M,unstableOnFocus:function(){J(!0)},onBlur:function(){J(!1)},selectionColor:null==(P=C.default.richTextButtonCursor)?void 0:P.color})),('button-inside'===fe||'button-outside'===fe)&&(0,l.createElement)(s.View,{style:Se},Ie(),Oe()),'button-only'===fe&&Oe(),'no-button'===fe&&Ie())};var o,n,l=r(d[1]),u=t(r(d[2])),c=t(r(d[3])),s=r(d[4]),b=t(r(d[5])),f=r(d[6]),h=r(d[7]),_=r(d[8]),v=r(d[9]),p=r(d[10]),C=t(r(d[11])),x=75,y=(null==(o=C.default.widthMargin)?void 0:o.marginLeft)+(null==(n=C.default.widthMargin)?void 0:n.paddingLeft),k=[{value:'button-inside',label:(0,_.__)('Button inside')},{value:'button-outside',label:(0,_.__)('Button outside')},{value:'no-button',label:(0,_.__)('No button')}]},2888,[3,437,21,49,22,1770,1098,1311,1036,1511,1144,2889]); +__d(function(g,r,i,a,m,e,d){m.exports={searchBlockContainer:{flexGrow:1,flexShrink:1,flexBasis:0,flexDirection:"column"},searchBarContainer:{flexGrow:1,flexShrink:1,flexBasis:0,flexDirection:"row",justifyContent:"flex-start",width:"100%"},searchInputContainer:{flexGrow:1,flexShrink:1,flexBasis:0},border:{borderWidth:1,borderColor:"#dcdcde",borderStyle:"solid",borderRadius:4,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4},borderDark:{borderWidth:1,borderColor:"#2c3338",borderStyle:"solid"},buttonContainer:{backgroundColor:"#595959",paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,borderWidth:1,borderColor:"#595959",borderStyle:"solid",marginLeft:4,borderRadius:4,alignContent:"center",alignItems:"center"},buttonContainerWide:{marginLeft:0,marginTop:4},icon:{fill:"#fff",backgroundColor:"transparent"},richTextLabel:{backgroundColor:"transparent",marginTop:8,marginBottom:8,fontSize:16,fontWeight:"400",fontFamily:"Noto Serif",width:"100%"},richTextButton:{color:"#fff",fontSize:16,fontWeight:"400",backgroundColor:"transparent",fontFamily:"Noto Serif",paddingLeft:8,paddingRight:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,textAlign:"center",minHeight:24},richTextButtonCursor:{color:"#ddd"},plainTextInput:{minHeight:42,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:8,fontFamily:"Noto Serif",color:"#1d2327"},plainTextInputDark:{color:"#c3c4c7"},plainTextPlaceholder:{color:"#87a6bc"},plainTextPlaceholderDark:{color:"#646970"},widthMargin:{marginTop:16,marginRight:16,marginBottom:16,marginLeft:16,paddingTop:4,paddingRight:4,paddingBottom:4,paddingLeft:4}}},2889,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),u=[{name:'default',isDefault:!0,attributes:{buttonText:(0,t.__)('Search'),label:(0,t.__)('Search')}}];e.default=u},2890,[1036]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return u.default}}),e.settings=e.name=void 0;var n=r(d[1]),s=t(r(d[2])),u=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),f=u.default.name;e.name=f;var c={icon:n.separator,example:{attributes:{customColor:'#065174',className:'is-style-wide'}},transforms:o.default,edit:s.default,save:l.default};e.settings=c},2891,[3,1511,2892,2894,2895,2896]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4]),u=r(d[5]),n=o(r(d[6]));var f=(0,u.withColors)('color',{textColor:'color'})(function(o){var f=o.color,v=o.setColor,C=o.className;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(s.HorizontalRule,(0,u.useBlockProps)({className:(0,c.default)(C,(0,t.default)({'has-background':f.color},f.class,f.class)),style:{backgroundColor:f.color,color:f.color}})),(0,l.createElement)(n.default,{color:f,setColor:v}))});e.default=f},2892,[3,437,258,1770,1311,1098,2893]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(){return null};e.default=u},2893,[]); +__d(function(e,t,a,o,r,s,i){r.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/separator",title:"Separator",category:"design",description:"Create a break between ideas or sections with a horizontal separator.",keywords:["horizontal-line","hr","divider"],textdomain:"default",attributes:{color:{type:"string"},customColor:{type:"string"}},supports:{anchor:!0,align:["center","wide","full"]},styles:[{name:"default",label:"Default",isDefault:!0},{name:"wide",label:"Wide Line"},{name:"dots",label:"Dots"}],editorStyle:"wp-block-separator-editor",style:"wp-block-separator"}},2894,[]); +__d(function(g,r,i,a,m,e,d){var o=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){var u,n=o.attributes,f=n.color,v=n.customColor,C=(0,s.getColorClassName)('background-color',f),b=(0,s.getColorClassName)('color',f),k=(0,c.default)((u={'has-text-color has-background':f||v},(0,t.default)(u,C,C),(0,t.default)(u,b,b),u)),_={backgroundColor:C?void 0:v,color:b?void 0:v};return(0,l.createElement)("hr",s.useBlockProps.save({className:k,style:_}))};var l=r(d[1]),t=o(r(d[2])),c=o(r(d[3])),s=r(d[4])},2895,[3,437,258,1770,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.other});e.default=o},2896,[3,21,2897,2647]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'enter',regExp:/^-{3,}$/,transform:function(){return(0,t.createBlock)('core/separator')}},{type:'raw',selector:'hr',schema:{hr:{}}}]};e.default=o},2897,[1101]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),s=t(r(d[5])),l=s.default.name;e.name=l;var c={icon:n.shortcode,transforms:o.default,edit:u.default,save:f.default};e.settings=c},2898,[3,1511,2899,2901,2902,2904]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ShortcodeEdit=h,e.default=void 0;var o=r(d[1]),l=r(d[2]),c=r(d[3]),u=r(d[4]),n=r(d[5]),f=t(r(d[6]));function h(t){var n=t.attributes,h=t.setAttributes,s=t.onFocus,S=t.onBlur,_=t.getStylesFromColorScheme,b=_(f.default.blockTitle,f.default.blockTitleDark),k=_(f.default.blockShortcode,f.default.blockShortcodeDark),p=_(f.default.placeholder,f.default.placeholderDark);return(0,o.createElement)(l.View,null,(0,o.createElement)(l.Text,{style:b},(0,c.__)('Shortcode')),(0,o.createElement)(u.PlainText,{value:n.text,style:k,multiline:!0,underlineColorAndroid:"transparent",onChange:function(t){return h({text:t})},placeholder:(0,c.__)('Add a shortcode\u2026'),"aria-label":(0,c.__)('Shortcode'),isSelected:t.isSelected,onFocus:s,onBlur:S,autoCorrect:!1,autoComplete:"off",placeholderTextColor:p.color}))}var s=(0,n.withPreferredColorScheme)(h);e.default=s},2899,[3,437,22,1036,1098,1144,2900]); +__d(function(g,r,i,a,m,e,d){m.exports={blockTitle:{fontWeight:"500",fontSize:10,color:"#87a6bc",textTransform:"uppercase",letterSpacing:.4,paddingBottom:4},blockTitleDark:{color:"#646970"},blockShortcode:{fontFamily:"menlo",fontWeight:"400",fontSize:14,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,borderRadius:4,backgroundColor:"#f3f6f8"},blockShortcodeDark:{color:"#fff",backgroundColor:"#101517"},placeholder:{fontFamily:"menlo",fontWeight:"400",fontSize:14,color:"#87a6bc"},placeholderDark:{color:"#646970"}}},2900,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var u=n.attributes;return(0,t.createElement)(t.RawHTML,null,u.text)};var t=r(d[0])},2901,[437]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),f=t(r(d[2])),l=t(r(d[3])),o=(0,u.default)({},f.default,{supportedMobileTransforms:l.default.richText});e.default=o},2902,[3,21,2903,2647]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),o={from:[{type:'shortcode',tag:'[a-z][a-z0-9_-]*',attributes:{text:{type:'string',shortcode:function(o,n){var u=n.content;return(0,t.removep)((0,t.autop)(u))}}},priority:20}]};e.default=o},2903,[1264]); +__d(function(t,e,o,s,r,c,a){r.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/shortcode",title:"Shortcode",category:"widgets",description:"Insert additional custom elements with a WordPress shortcode.",textdomain:"default",attributes:{text:{type:"string",source:"html"}},supports:{className:!1,customClassName:!1,html:!1},editorStyle:"wp-block-shortcode-editor"}},2904,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return l.default}}),e.settings=e.name=void 0;var n=r(d[1]),u=t(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),s=l.default.name;e.name=s;var c={icon:n.resizeCornerNE,edit:f.default,save:o.default,deprecated:u.default};e.settings=c},2905,[3,1511,2906,2907,2911,2912]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var h=r(d[1]),u=t(r(d[2])),n=r(d[3]),v=[{attributes:{height:{type:'number',default:100},width:{type:'number'}},migrate:function(t){var h=t.height,n=t.width;return(0,u.default)({},t,{width:void 0!==n?n+"px":void 0,height:void 0!==h?h+"px":void 0})},save:function(t){var u=t.attributes;return(0,h.createElement)("div",n.useBlockProps.save({style:{height:u.height,width:u.width},'aria-hidden':!0}))}}];e.default=v},2906,[3,437,21,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),l=r(d[2]),n=r(d[3]),c=r(d[4]),u=r(d[5]),s=t(r(d[6])),f=t(r(d[7])),h=(0,c.withPreferredColorScheme)(function(t){var c=t.attributes,h=t.context,v=t.setAttributes,b=t.isSelected,p=t.getStylesFromColorScheme,S=c.height,w=c.width,C=h.orientation,x=p(f.default.staticSpacer,f.default.staticDarkSpacer);(0,o.useEffect)(function(){'horizontal'!==C||w||v({height:'0px',width:'72px'})},[]);var E=(0,n.useConvertUnitToMobile)(S),_=(0,n.useConvertUnitToMobile)(w);return(0,o.createElement)(l.View,{style:[x,b&&f.default.selectedSpacer,{height:E,width:_}]},b&&(0,o.createElement)(u.InspectorControls,null,(0,o.createElement)(s.default,{attributes:c,context:h,setAttributes:v})))});e.default=h},2907,[3,437,22,1311,1144,1098,2908,2910]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=r(d[2]),u=r(d[3]),o=r(d[4]),s=t(r(d[5])),v={px:'100',em:'10',rem:'10',vw:'10',vh:'25'};var h=function(t){var h=t.attributes,c=t.context,_=t.setAttributes,f=c.orientation,C='horizontal'!==f?(0,o.__)('Height'):(0,o.__)('Width'),b=h.height,U=h.width,p=(0,l.getValueAndUnit)('horizontal'!==f?b:U)||{},w=p.valueToConvert,x=p.valueUnit,y=Number(w),z=function(t,n){var l=""+t+n;_('horizontal'===f?{width:l}:{height:l})},E=(0,n.useCallback)(function(t){z(t,x)},[b,U]),k=(0,n.useCallback)(function(t){z(y,t)},[b,U]),A=(0,l.__experimentalUseCustomUnits)({availableUnits:(0,u.useSetting)('spacing.units')||['px','em','rem','vw','vh'],defaultValues:v});return(0,n.createElement)(n.Fragment,null,(0,n.createElement)(l.PanelBody,{title:(0,o.__)('Dimensions')},(0,n.createElement)(l.UnitControl,{label:C,min:1,value:y,onChange:E,onUnitChange:k,units:A,unit:x,style:s.default.rangeCellContainer})))};e.default=h},2908,[3,437,1311,1098,1036,2909]); +__d(function(g,r,i,a,m,e,d){m.exports={"wp-block-spacer":{clear:"both"}}},2909,[]); +__d(function(g,r,i,a,m,e,d){m.exports={staticSpacer:{height:20,backgroundColor:"transparent",borderWidth:1,borderColor:"#e2e4e7",borderStyle:"dashed",borderRadius:1},staticDarkSpacer:{borderWidth:1,borderColor:"rgba(226, 228, 231, 0.3)",borderStyle:"dashed"},selectedSpacer:{borderWidth:2,borderColor:"#5198d9",borderStyle:"solid"},rangeCellContainer:{paddingBottom:16}}},2910,[]); +__d(function(t,e,s,i,o,r,a){o.exports={$schema:"https://schemas.wp.org/trunk/block.json",apiVersion:2,name:"core/spacer",title:"Spacer",category:"design",description:"Add white space between blocks and customize its height.",textdomain:"default",attributes:{height:{type:"string",default:"100px"},width:{type:"string"}},usesContext:["orientation"],supports:{anchor:!0},editorStyle:"wp-block-spacer-editor",style:"wp-block-spacer"}},2911,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(u){var h=u.attributes,l=h.height,o=h.width;return(0,t.createElement)("div",n.useBlockProps.save({style:{height:l,width:o},'aria-hidden':!0}))};var t=r(d[0]),n=r(d[1])},2912,[437,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"metadata",{enumerable:!0,get:function(){return s.default}}),e.settings=e.name=void 0;var n=r(d[1]),c=r(d[2]),o=t(r(d[3])),l=t(r(d[4])),s=t(r(d[5])),u=t(r(d[6])),_=t(r(d[7])),f=s.default.name;e.name=f;var b={icon:c.blockTable,example:{attributes:{head:[{cells:[{content:(0,n.__)('Version'),tag:'th'},{content:(0,n.__)('Jazz Musician'),tag:'th'},{content:(0,n.__)('Release Date'),tag:'th'}]}],body:[{cells:[{content:'5.2',tag:'td'},{content:'Jaco Pastorius',tag:'td'},{content:(0,n.__)('May 7, 2019'),tag:'td'}]},{cells:[{content:'5.1',tag:'td'},{content:'Betty Carter',tag:'td'},{content:(0,n.__)('February 21, 2019'),tag:'td'}]},{cells:[{content:'5.0',tag:'td'},{content:'Bebo Vald\xe9s',tag:'td'},{content:(0,n.__)('December 6, 2018'),tag:'td'}]}]}},transforms:_.default,edit:l.default,save:u.default,deprecated:o.default};e.settings=b},2913,[3,1036,1511,2914,2915,2917,2918,2919]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[1]),u=t(r(d[2])),l=t(r(d[3])),n=t(r(d[4])),s=r(d[5]),c={'subtle-light-gray':'#f3f4f5','subtle-pale-green':'#e9fbe5','subtle-pale-blue':'#e7f5fe','subtle-pale-pink':'#fcf0ef'},y=[{attributes:{hasFixedLayout:{type:'boolean',default:!1},backgroundColor:{type:'string'},caption:{type:'string',source:'html',selector:'figcaption',default:''},head:{type:'array',default:[],source:'query',selector:'thead tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'},align:{type:'string',source:'attribute',attribute:'data-align'}}}}},body:{type:'array',default:[],source:'query',selector:'tbody tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'},align:{type:'string',source:'attribute',attribute:'data-align'}}}}},foot:{type:'array',default:[],source:'query',selector:'tfoot tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'},align:{type:'string',source:'attribute',attribute:'data-align'}}}}}},supports:{anchor:!0,align:!0,__experimentalSelector:'.wp-block-table > table'},save:function(t){var u=t.attributes,c=u.hasFixedLayout,y=u.head,p=u.body,f=u.foot,b=u.backgroundColor,h=u.caption;if(!y.length&&!p.length&&!f.length)return null;var v=(0,s.getColorClassName)('background-color',b),q=(0,n.default)(v,{'has-fixed-layout':c,'has-background':!!v}),k=!s.RichText.isEmpty(h),E=function(t){var u=t.type,c=t.rows;if(!c.length)return null;var y="t"+u;return(0,o.createElement)(y,null,c.map(function(t,u){var c=t.cells;return(0,o.createElement)("tr",{key:u},c.map(function(t,u){var c=t.content,y=t.tag,p=t.scope,f=t.align,b=(0,n.default)((0,l.default)({},"has-text-align-"+f,f));return(0,o.createElement)(s.RichText.Content,{className:b||void 0,"data-align":f,tagName:y,value:c,key:u,scope:'th'===y?p:void 0})}))}))};return(0,o.createElement)("figure",s.useBlockProps.save(),(0,o.createElement)("table",{className:''===q?void 0:q},(0,o.createElement)(E,{type:"head",rows:y}),(0,o.createElement)(E,{type:"body",rows:p}),(0,o.createElement)(E,{type:"foot",rows:f})),k&&(0,o.createElement)(s.RichText.Content,{tagName:"figcaption",value:h}))},isEligible:function(t){return t.backgroundColor&&!t.style},migrate:function(t){return(0,u.default)({},t,{backgroundColor:void 0,style:{color:{background:c[t.backgroundColor]}}})}},{attributes:{hasFixedLayout:{type:'boolean',default:!1},backgroundColor:{type:'string'},head:{type:'array',default:[],source:'query',selector:'thead tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},body:{type:'array',default:[],source:'query',selector:'tbody tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}},foot:{type:'array',default:[],source:'query',selector:'tfoot tr',query:{cells:{type:'array',default:[],source:'query',selector:'td,th',query:{content:{type:'string',source:'html'},tag:{type:'string',default:'td',source:'tag'},scope:{type:'string',source:'attribute',attribute:'scope'}}}}}},supports:{align:!0},save:function(t){var u=t.attributes,l=u.hasFixedLayout,c=u.head,y=u.body,p=u.foot,f=u.backgroundColor;if(!c.length&&!y.length&&!p.length)return null;var b=(0,s.getColorClassName)('background-color',f),h=(0,n.default)(b,{'has-fixed-layout':l,'has-background':!!b}),v=function(t){var u=t.type,l=t.rows;if(!l.length)return null;var n="t"+u;return(0,o.createElement)(n,null,l.map(function(t,u){var l=t.cells;return(0,o.createElement)("tr",{key:u},l.map(function(t,u){var l=t.content,n=t.tag,c=t.scope;return(0,o.createElement)(s.RichText.Content,{tagName:n,value:l,key:u,scope:'th'===n?c:void 0})}))}))};return(0,o.createElement)("table",{className:h},(0,o.createElement)(v,{type:"head",rows:c}),(0,o.createElement)(v,{type:"body",rows:y}),(0,o.createElement)(v,{type:"foot",rows:p}))}}];e.default=y},2914,[3,437,21,258,1770,1098]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(d[1]),l=t(r(d[2])),o=t(r(d[3])),c=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),f=r(d[7]),_=r(d[8]),b=r(d[9]),p=r(d[10]),h=r(d[11]),C=r(d[12]),x=["name"],E=[{icon:p.alignLeft,title:(0,_.__)('Align column left'),align:'left'},{icon:p.alignCenter,title:(0,_.__)('Align column center'),align:'center'},{icon:p.alignRight,title:(0,_.__)('Align column right'),align:'right'}],k={head:(0,_.__)('Header cell text'),body:(0,_.__)('Body cell text'),foot:(0,_.__)('Footer cell text')},I={head:(0,_.__)('Header label'),foot:(0,_.__)('Footer label')};function v(t){var l=t.name,o=(0,u.default)(t,x),c="t"+l;return(0,n.createElement)(c,o)}var y=function(t){var u=t.attributes,x=t.setAttributes,y=t.insertBlocksAfter,w=t.isSelected,N=u.hasFixedLayout,T=u.caption,A=u.head,B=u.foot,D=(0,n.useState)(2),S=(0,c.default)(D,2),F=S[0],R=S[1],P=(0,n.useState)(2),O=(0,c.default)(P,2),H=O[0],L=O[1],M=(0,n.useState)(),U=(0,c.default)(M,2),j=U[0],q=U[1],z=(0,f.__experimentalUseColorProps)(u),G=(0,f.__experimentalUseBorderProps)(u);function J(t){j&&x((0,C.updateSelectedCell)(u,j,function(n){return(0,o.default)({},n,{content:t})}))}function K(t){if(j){var n={type:'column',columnIndex:j.columnIndex},l=(0,C.updateSelectedCell)(u,n,function(n){return(0,o.default)({},n,{align:t})});x(l)}}function Q(t){if(j){var n=j.sectionName,l=j.rowIndex+t;x((0,C.insertRow)(u,{sectionName:n,rowIndex:l})),q({sectionName:n,rowIndex:l,columnIndex:0,type:'cell'})}}function V(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(j){var n=j.columnIndex+t;x((0,C.insertColumn)(u,{columnIndex:n})),q({rowIndex:0,columnIndex:n,type:'cell'})}}(0,n.useEffect)(function(){w||q()},[w]);var W=['head','body','foot'].filter(function(t){return!(0,C.isEmptyTableSection)(u[t])}),X=[{icon:p.tableRowBefore,title:(0,_.__)('Insert row before'),isDisabled:!j,onClick:function(){Q(0)}},{icon:p.tableRowAfter,title:(0,_.__)('Insert row after'),isDisabled:!j,onClick:function(){Q(1)}},{icon:p.tableRowDelete,title:(0,_.__)('Delete row'),isDisabled:!j,onClick:function(){if(j){var t=j.sectionName,n=j.rowIndex;q(),x((0,C.deleteRow)(u,{sectionName:t,rowIndex:n}))}}},{icon:p.tableColumnBefore,title:(0,_.__)('Insert column before'),isDisabled:!j,onClick:function(){V(0)}},{icon:p.tableColumnAfter,title:(0,_.__)('Insert column after'),isDisabled:!j,onClick:function(){V(1)}},{icon:p.tableColumnDelete,title:(0,_.__)('Delete column'),isDisabled:!j,onClick:function(){if(j){var t=j.sectionName,n=j.columnIndex;q(),x((0,C.deleteColumn)(u,{sectionName:t,columnIndex:n}))}}}],Y=['head','body','foot'].map(function(t){return(0,n.createElement)(v,{name:t,key:t},u[t].map(function(o,c){var u=o.cells;return(0,n.createElement)("tr",{key:c},u.map(function(o,u){var _=o.content,b=o.tag,p=o.scope,h=o.align;return(0,n.createElement)(f.RichText,{tagName:b,key:u,className:(0,s.default)((0,l.default)({},"has-text-align-"+h,h),'wp-block-table__cell-content'),scope:'th'===b?p:void 0,value:_,onChange:J,unstableOnFocus:function(){q({sectionName:t,rowIndex:c,columnIndex:u,type:'cell'})},"aria-label":k[t],placeholder:I[t]})}))}))}),Z=!W.length;return(0,n.createElement)("figure",(0,f.useBlockProps)(),!Z&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)(f.BlockControls,{group:"block"},(0,n.createElement)(f.AlignmentControl,{label:(0,_.__)('Change column alignment'),alignmentControls:E,value:(function(){if(j)return(0,C.getCellAttribute)(u,j,'align')})(),onChange:function(t){return K(t)}})),(0,n.createElement)(f.BlockControls,{group:"other"},(0,n.createElement)(b.ToolbarDropdownMenu,{hasArrowIndicator:!0,icon:p.table,label:(0,_.__)('Edit table'),controls:X}))),!Z&&(0,n.createElement)(f.InspectorControls,null,(0,n.createElement)(b.PanelBody,{title:(0,_.__)('Table settings'),className:"blocks-table-settings"},(0,n.createElement)(b.ToggleControl,{label:(0,_.__)('Fixed width table cells'),checked:!!N,onChange:function(){x({hasFixedLayout:!N})}}),(0,n.createElement)(b.ToggleControl,{label:(0,_.__)('Header section'),checked:!(!A||!A.length),onChange:function(){x((0,C.toggleSection)(u,'head'))}}),(0,n.createElement)(b.ToggleControl,{label:(0,_.__)('Footer section'),checked:!(!B||!B.length),onChange:function(){x((0,C.toggleSection)(u,'foot'))}}))),!Z&&(0,n.createElement)("table",{className:(0,s.default)(z.className,G.className,{'has-fixed-layout':N}),style:(0,o.default)({},z.style,G.style)},Y),!Z&&(0,n.createElement)(f.RichText,{tagName:"figcaption","aria-label":(0,_.__)('Table caption text'),placeholder:(0,_.__)('Add caption'),value:T,onChange:function(t){return x({caption:t})},unstableOnFocus:function(){return q()},__unstableOnSplitAtEnd:function(){return y((0,h.createBlock)('core/paragraph'))}}),Z&&(0,n.createElement)(b.Placeholder,{label:(0,_.__)('Table'),icon:(0,n.createElement)(f.BlockIcon,{icon:p.blockTable,showColors:!0}),instructions:(0,_.__)('Insert a table for sharing data.')},(0,n.createElement)("form",{className:"blocks-table__placeholder-form",onSubmit:function(t){t.preventDefault(),x((0,C.createTable)({rowCount:parseInt(F,10)||2,columnCount:parseInt(H,10)||2}))}},(0,n.createElement)(b.TextControl,{type:"number",label:(0,_.__)('Column count'),value:H,onChange:function(t){L(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(b.TextControl,{type:"number",label:(0,_.__)('Row count'),value:F,onChange:function(t){R(t)},min:"1",className:"blocks-table__placeholder-input"}),(0,n.createElement)(b.Button,{className:"blocks-table__placeholder-button",variant:"primary",type:"submit"},(0,_.__)('Create Table')))))};e.default=y},2915,[3,437,258,21,49,4,1770,1098,1036,1311,1511,1101,2916]); +__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createTable=function(n){var t=n.rowCount,l=n.columnCount;return{body:(0,c.times)(t,function(){return{cells:(0,c.times)(l,function(){return{content:'',tag:'td'}})}})}},e.deleteColumn=function(n,t){var l=t.columnIndex,o=(0,c.pick)(n,['head','body','foot']);return(0,c.mapValues)(o,function(n){return h(n)?n:n.map(function(n){return{cells:n.cells.length>=l?n.cells.filter(function(n,t){return t!==l}):n.cells}}).filter(function(n){return n.cells.length})})},e.deleteRow=function(n,l){var o=l.sectionName,c=l.rowIndex;return(0,t.default)({},o,n[o].filter(function(n,t){return t!==c}))},e.getCellAttribute=function(n,t,l){var o=t.sectionName,u=t.rowIndex,s=t.columnIndex;return(0,c.get)(n,[o,u,'cells',s,l])},e.getFirstRow=s,e.insertColumn=function(n,t){var l=t.columnIndex,u=(0,c.pick)(n,['head','body','foot']);return(0,c.mapValues)(u,function(n,t){return h(n)?n:n.map(function(n){return v(n)||n.cells.length=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},3176,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default="\n\x3c!-- wp:jetpack/contact-info --\x3e\n
=this.__values__.length;return{done:n,value:n?t:this.__values__[this.__index__++]}},xe.prototype.plant=function(n){for(var r,e=this;e instanceof we;){var u=Go(e);u.__index__=0,u.__values__=t,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,r},xe.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof je){var r=n;return this.__actions__.length&&(r=new je(this)),(r=r.reverse()).__actions__.push({func:jf,args:[lf],thisArg:t}),new me(r,this.__chain__)}return this.thru(lf)},xe.prototype.toJSON=xe.prototype.valueOf=xe.prototype.value=function(){return ei(this.__wrapped__,this.__actions__)},xe.prototype.first=xe.prototype.head,$r&&(xe.prototype[$r]=function(){return this}),xe})();'function'==typeof define&&'object'==typeof define.amd&&define.amd?(xt._=Lr,define(function(){return Lr})):wt?((wt.exports=Lr)._=Lr,bt._=Lr):xt._=Lr}).call(this)},3178,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default="\n\x3c!-- wp:jetpack/contact-info --\x3e\n
(\n Component: React.ComponentType
,\n containerStyles?: StyleProp {\n function Wrapper(props: P) {\n return (\n