var VueDemi=function(n,r,f){if(n.install)return n;if(!r)return console.error("[vue-demi] no Vue instance found, please be sure to import `vue` before `vue-demi`."),n;if(r.version.slice(0,4)==="2.7."){let i=function(t,e){var o,a={},l={config:r.config,use:r.use.bind(r),mixin:r.mixin.bind(r),component:r.component.bind(r),provide:function(c,d){return a[c]=d,this},directive:function(c,d){return d?(r.directive(c,d),l):r.directive(c)},mount:function(c,d){return o||(o=new r(Object.assign({propsData:e},t,{provide:Object.assign(a,t.provide)})),o.$mount(c,d),o)},unmount:function(){o&&(o.$destroy(),o=void 0)}};return l};var u=i;for(var s in r)n[s]=r[s];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.warn=r.util.warn,n.hasInjectionContext=function(){return!!n.getCurrentInstance()},n.createApp=i}else if(r.version.slice(0,2)==="2.")if(f){for(var s in f)n[s]=f[s];n.isVue2=!0,n.isVue3=!1,n.install=function(){},n.Vue=r,n.Vue2=r,n.version=r.version,n.hasInjectionContext=function(){return!!n.getCurrentInstance()}}else console.error("[vue-demi] no VueCompositionAPI instance found, please be sure to import `@vue/composition-api` before `vue-demi`.");else if(r.version.slice(0,2)==="3."){for(var s in r)n[s]=r[s];n.isVue2=!1,n.isVue3=!0,n.install=function(){},n.Vue=r,n.Vue2=void 0,n.version=r.version,n.set=function(i,t,e){return Array.isArray(i)?(i.length=Math.max(i.length,t),i.splice(t,1,e),e):(i[t]=e,e)},n.del=function(i,t){if(Array.isArray(i)){i.splice(t,1);return}delete i[t]}}else console.error("[vue-demi] Vue version "+r.version+" is unsupported.");return n}(this.VueDemi=this.VueDemi||(typeof VueDemi<"u"?VueDemi:{}),this.Vue||(typeof Vue<"u"?Vue:void 0),this.VueCompositionAPI||(typeof VueCompositionAPI<"u"?VueCompositionAPI:void 0));(function(n,r,f,s){"use strict";function u(i,t){const e=r.toRef(i),o=f.ref("");return f.watch(e,async a=>{e.value&&r.isClient&&(o.value=await s.toDataURL(a,t))},{immediate:!0}),o}n.useQRCode=u})(this.VueUse=this.VueUse||{},VueUse,VueDemi,QRCode);