import{registerPlugin,data}from"../collection.js";import propsPropagation from"./built-in/props-propagation.js";function use(o,t={}){if("function"!=typeof o)throw new TypeError("Plugin must be a function");o.options=t,registerPlugin(o)}function load(o){data.plugins.forEach((t=>{t(o.constructor,o,t.options)}))}use(propsPropagation);export{use};export{load};export default{use:use,load:load};