var wc;(()=>{"use strict";var e={};(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e);const t=window.wc.__experimentalInteractivity,{state:n}=(0,t.store)("woocommerce/accordion",{state:{get isOpen(){const{isOpen:e,id:n}=(0,t.getContext)();return e.includes(n)}},actions:{toggle:()=>{const e=(0,t.getContext)(),{id:o,autoclose:i}=e;i?e.isOpen=n.isOpen?[]:[o]:n.isOpen?e.isOpen=e.isOpen.filter((e=>e!==o)):e.isOpen.push(o)}},callbacks:{initIsOpen:()=>{const e=(0,t.getContext)(),{id:n,openByDefault:o}=e;o&&e.isOpen.push(n)}}});(wc=void 0===wc?{}:wc)["accordion-group"]=e})();