import{inject as e,provide as t,reactive as n,watchEffect as r}from"vue";function i(i){let a=Symbol(`contextKey`);return{useProvide:(e,i)=>{let o=n({});return t(a,o),r(()=>{Object.assign(o,e,i||{})}),o},useInject:()=>e(a,i)||{}}}export{i as default};