"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var o in t)__defProp(e,o,{get:t[o],enumerable:!0})},__copyProps=(e,t,o,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let p of __getOwnPropNames(t))__hasOwnProp.call(e,p)||p===o||__defProp(e,p,{get:()=>t[p],enumerable:!(r=__getOwnPropDesc(t,p))||r.enumerable});return e},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),edit_exports={};__export(edit_exports,{Edit:()=>Edit}),module.exports=__toCommonJS(edit_exports);var import_block_templates=require("@woocommerce/block-templates"),import_components=require("@woocommerce/components"),import_element=require("@wordpress/element"),import_block_editor=require("@wordpress/block-editor");function Edit({attributes:e}){const t=(0,import_block_templates.useWooBlockProps)(e),{toggleText:o,initialCollapsed:r,persistRender:p=!0}=e;return(0,import_element.createElement)("div",{...t},(0,import_element.createElement)(import_components.CollapsibleContent,{toggleText:o,initialCollapsed:r,persistRender:p},(0,import_element.createElement)(import_block_editor.InnerBlocks,{templateLock:"all"})))}