"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(t,e)=>{for(var o in e)__defProp(t,o,{get:e[o],enumerable:!0})},__copyProps=(t,e,o,r)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let _ of __getOwnPropNames(e))__hasOwnProp.call(t,_)||_===o||__defProp(t,_,{get:()=>e[_],enumerable:!(r=__getOwnPropDesc(e,_))||r.enumerable});return t},__toESM=(t,e,o)=>(o=null!=t?__create(__getProtoOf(t)):{},__copyProps(!e&&t&&t.__esModule?o:__defProp(o,"default",{value:t,enumerable:!0}),t)),__toCommonJS=t=>__copyProps(__defProp({},"__esModule",{value:!0}),t),description_exports={};__export(description_exports,{init:()=>init,metadata:()=>metadata,name:()=>name,settings:()=>settings}),module.exports=__toCommonJS(description_exports);var import_icons=require("@wordpress/icons"),import_hooks=require("@wordpress/hooks"),import_block=__toESM(require("./block.json")),import_edit=require("./edit"),import_utils=require("../../../utils"),import_with_full_editor_toolbar_button=__toESM(require("./components/with-full-editor-toolbar-button"));const{name,...metadata}=import_block.default,settings={example:{},edit:import_edit.DescriptionBlockEdit,icon:import_icons.postContent},init=()=>(0,import_utils.registerProductEditorBlockType)({name,metadata,settings});(0,import_hooks.addFilter)("editor.BlockEdit","woocommerce/summary-block-with-full-editor-button",import_with_full_editor_toolbar_button.default);