let e=require("vue");function t(t){let n=Symbol(`contextKey`);return{useProvide:(t,r)=>{let i=(0,e.reactive)({});return(0,e.provide)(n,i),(0,e.watchEffect)(()=>{Object.assign(i,t,r||{})}),i},useInject:()=>(0,e.inject)(n,t)||{}}}exports.default=t;