"use strict";function t(t){return t.replace(/^(\w)/,((t,e)=>`data${e.toUpperCase()}`))}function e(e){Object.keys(e).forEach((r=>{this[t(r)]=e[r]}))}exports.getFunctionalMixin=function(r){return{data(){return{...(e=this,a=r,Object.keys(a).reduce(((r,a)=>(r[t(a)]=e[a],r)),{}))};var e,a},watch:{...(a=r,Object.keys(a).reduce(((e,r)=>(e[r]={handler(e){this[t(r)]=e}},e)),{}))},methods:{setData(t){e.call(this,t)}}};var a};
