(function(){functiono(e){"use strict";vart={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enablesupportfordocumentmetadata(defined
functionqt(e){return"[object Object]"===Object.prototype.toString.call(e)}varGt=r(8529);constKt=window.wp.hooks,Wt={common:"text",formatting:"text",layout:"design"};functionYt(e=[],t=[]){constr=[...e];returnt.forEach((e=>{constt=r.findIndex((t=>t.name===e.name));-1!==t?r[t]={...r[t],...e}:r.push(e)})),r}constZt=(e,t)=>({select:r})=>{constn=r.getBootstrappedBlockType(e),o={apiVersion:1,name:e,icon:Q,keywords:[],attributes:{},providesContext:{},usesContext:[],selectors:{},supports:{},styles:[],blockHooks:{},save:()=>null,...n,...t,variations:Yt(Array.isArray(n?.variations)?n.variations:[],Array.isArray(t?.variations)?t.variations:[])},a=(0,Kt.applyFilters)("blocks.registerBlockType",o,e,null);if(a.apiVersion<=2&&Z()("Block with API version 2 or lower",{since:"6.9",hint:`The block "${e}" is registered with API version ${a.apiVersion}. This means that the post editor may work as a non-iframe editor. Since all editors are planned to work as iframes in the future, set the \`apiVersion\` field to 3 and test the block inside the iframe editor.`,link:"https://developer.wordpress.org/block-editor/reference-guides/block-api/block-api-versions/block-migration-for-iframe-editor-compatibility/"}),a.description&&"string"!=typeofa.description&&Z()("Declaring non-string block descriptions",{since:"6.2"}),a.deprecated&&(a.deprecated=a.deprecated.map((e=>Object.fromEntries(Object.entries((0,Kt.applyFilters)("blocks.registerBlockType",{...et(o,X),...e},o.name,e)).filter((([e])=>X.includes(e))))))),function(e){vart,r;return!1!==qt(e)&&(void0===(t=e.constructor)||!1!==qt(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}(a))if("function"==typeofa.save)if(!("edit"ina)||(0,Gt.isValidElementType)(a.edit))if(Wt.hasOwnProperty(a.category)&&(a.category=Wt[a.category]),"category"ina&&!r.getCategories().some((({slug:e})=>e===a.category))&&(ne()('The block "'+e+'" is registered with an invalid category "'+a.category+'".'),deletea.category),"title"ina&&""!==a.title)if("string"==typeofa.title)if(a.icon=qe(a.icon),Fe(a.icon.src))if(("string"==typeofa?.parent||a?.parentinstanceofString)&&(a.parent=[a.parent],ne()("Parent must be undefined or an array of strings (block types), but it is a string.")),Array.isArray(a?.parent)||void0===a?.parent){if(1!==a?.parent?.length||e!==a.parent[0])returna;ne()('Block "'+e+'" cannot be a parent of itself. Please remove the block name from the parent list.')}elsene()("Parent must be undefined or an array of block types, but it is ",a.parent);elsene()("The icon passed is invalid. The icon should be a string, an element, a function, or an object following the specifications documented in https://developer.wordpress.org/block-editor/developers/block-api/block-registration/#icon-optional");elsene()("Block titles must be strings.");elsene()('The block "'+e+'" must have a title.');elsene()('The "edit" property must be a valid component.');elsene()('The "save" property must be a valid function.');elsene()("Block settings must be a valid object.")};functionQt(e){return{type:"ADD_BLOCK_TYPES",blockTypes:Array.isArray(e)?e:[e]}}functionXt(){return({dispatch:e,select:t})=>{constr=[];for(const[n,o]ofObject.entries(t.getUnprocessedBlockTypes())){constt=e(Zt(n,o));t&&r.push(t)}r.length&&e.addBlockTypes(r)}}functionJt(){returnZ()('wp.data.dispatch( "core/blocks" ).__experimentalReapplyBlockFilters',{since:"6.4",alternative:"reapplyBlockFilters"}),Xt()}functioner(e){return{type:"REMOVE_BLOCK_TYPES",names:Array.isArray(e)?e:[e]}}functiontr(e,t){return{type:"ADD_BLOCK_STYLES",styles:Array.isArray(t)?t:[t],blockNames:Array.isArray(e)?e:[e]}}functionrr(e,t){return{type:"REMOVE_BLOCK_STYLES",styleNames:Array.isArray(t)?t:[t],blockName:e}}functionnr(e,t){return{type:"ADD_BLOCK_VARIATIONS",variations:Array.isArray(t)?t:[t],blockName:e}}functionor(e,t){return{type:"REMOVE_BLOCK_VARIATIONS",variationNames:Array.isArray(t)?t:[t],blockName:e}}functionar(e){return{type:"SET_DEFAULT_BLOCK_NAME",name:e}}functionir(e){return{type:"SET_FREEFORM_FALLBACK_BLOCK_NAME",name:e}}functionsr(e){return{type:"S