(()=>{"use strict";const e=window.wp.blocks,r=window.wp.blockLibrary;wp.blockLibrary={...wp.blockLibrary,registerCoreBlocks:function(){const{allowedBlocks:o}=drupalSettings.editor.formats.gutenberg.editorSettings,i=["core/block","core/heading","core/list","core/list-item","core/paragraph","core/pattern","core/missing"];(0,r.__experimentalGetCoreBlocks)().filter(e=>o&&o.includes(e.name)||i.includes(e.name)).forEach(e=>{e.init()}),(0,e.setUnregisteredTypeHandlerName)("core/missing"),(0,e.setDefaultBlockName)("core/paragraph"),(0,e.setGroupingBlockName)("core/group");const t=(0,e.getBlockType)("core/embed");t&&t.variations.forEach(r=>{o.includes(`core-embed/${r.name}`)||(0,e.unregisterBlockVariation)("core/embed",r.name)})},__experimentalRegisterExperimentalCoreBlocks:function(){return null}},(window.DrupalGutenberg=window.DrupalGutenberg||{}).overrides={}})();