typeof sircl=="undefined"&&console.warn("The 'sircl-vue' component should be registered after the 'sircl' component. Please review order of script files.");typeof Vue=="undefined"&&console.warn("The 'sircl-vue' component should be registered after the 'vue' component. Please review order of script files.");sircl.vue=sircl.vue||{};sircl.vue.createHandlers=sircl.vue.createHandlers||[];sircl.vue.mountHandlers=sircl.vue.mountHandlers||[];sircl.vue.unmountHandlers=sircl.vue.unmountHandlers||[];$$("before",function(){$(this).find("[vue-dataurl]").each(async function(){this.__vue_app&&(sircl.vue.unmountHandlers.forEach(n=>n(this,this.__vue_app)),this.__vue_app.unmount(),this.__vue_app=null)})});$$(function(){$(this).find("[vue-dataurl]").each(async function(){let n={},i=this.hasAttribute("vue-dataurl")?fetch(this.getAttribute("vue-dataurl")):null,r=this.hasAttribute("vue-templateurl")?fetch(this.getAttribute("vue-templateurl")):null;if(i){const t=await i,r=await t.json();n.data=function(){return r}}if(this.hasAttribute("vue-template"))n.template=sircl.ext.$select($(this),this.getAttribute("vue-template")).html();else if(r){const t=await r,i=await t.text();n.template=i}n.beforeMount=()=>{sircl._beforeUnload(this)};n.mounted=function(){sircl._afterLoad(this.$el.parentElement)};sircl.vue.createHandlers.forEach(t=>t(this,n));const{createApp:u}=Vue,t=u(n);this.__vue_app=t;sircl.vue.mountHandlers.forEach(n=>n(this,t));t.mount(this)})});