text: !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):(t="undefined"!=typeof globalThis?globalThis:t||self).ServeVue=e(t.Vue)}(this,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t),i=function(){return(i=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o={element:"div",id:"svelte-wrapper"};return function(t,e){return e=function(t){return t?Object.assign({},o,t):o}(e),n.default.component(e.id,{render:function(t){return t(null==e?void 0:e.element,{ref:"container",props:this.$attrs,class:null==e?void 0:e.className,attrs:{id:null==e?void 0:e.id},style:i({},null==e?void 0:e.styles)})},data:function(){return{comp:null}},mounted:function(){this.comp=new t({target:this.$refs.container,props:this.$attrs});var e=[];for(var n in this.$listeners){this.comp.$on(n,this.$listeners[n]);var i=n.match(/watch:([^]+)/);i&&"function"==typeof this.$listeners[n]&&e.push([""+i[1][0].toLowerCase()+i[1].slice(1),this.$listeners[n]])}if(e.length){var o=this.comp,r=this.comp.$$.update;this.comp.$$.update=function(){e.forEach((function(t){var e=t[0],n=t[1],i=o.$$.props[e],r=o.$$.ctx[i];r&&n(r)})),r.apply(null,arguments)}}},updated:function(){this.comp.$set(this.$attrs)},destroyed:function(){this.comp.$destroy()}})}}));
  