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