(function(Ye){typeof define=="function"&&define.amd?define(Ye):Ye()})(function(){"use strict";var Qh=Object.defineProperty;var eg=(Ye,xe,Q)=>xe in Ye?Qh(Ye,xe,{enumerable:!0,configurable:!0,writable:!0,value:Q}):Ye[xe]=Q;var po=(Ye,xe,Q)=>eg(Ye,typeof xe!="symbol"?xe+"":xe,Q);var Ye={VITE_APP_TITLE:"eSignatur-web-custom-element"};/** * @vue/shared v3.5.1 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function xe(e,t){const o=new Set(e.split(","));return r=>o.has(r)}const Q=Ye.NODE_ENV!=="production"?Object.freeze({}):{},Zt=Ye.NODE_ENV!=="production"?Object.freeze([]):[],ye=()=>{},xl=()=>!1,ho=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ko=e=>e.startsWith("onUpdate:"),de=Object.assign,qr=(e,t)=>{const o=e.indexOf(t);o>-1&&e.splice(o,1)},Nl=Object.prototype.hasOwnProperty,te=(e,t)=>Nl.call(e,t),V=Array.isArray,kt=e=>Go(e)==="[object Map]",mi=e=>Go(e)==="[object Set]",B=e=>typeof e=="function",pe=e=>typeof e=="string",Et=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",Kr=e=>(ne(e)||B(e))&&B(e.then)&&B(e.catch),bi=Object.prototype.toString,Go=e=>bi.call(e),Gr=e=>Go(e).slice(8,-1),Xo=e=>Go(e)==="[object Object]",Xr=e=>pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,go=xe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ol=xe("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Jo=e=>{const t=Object.create(null);return o=>t[o]||(t[o]=e(o))},Sl=/-(\w)/g,Ie=Jo(e=>e.replace(Sl,(t,o)=>o?o.toUpperCase():"")),Tl=/\B([A-Z])/g,Le=Jo(e=>e.replace(Tl,"-$1").toLowerCase()),Qt=Jo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rt=Jo(e=>e?`on${Qt(e)}`:""),vt=(e,t)=>!Object.is(e,t),mo=(e,...t)=>{for(let o=0;o{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:o})},Dl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jr=e=>{const t=pe(e)?Number(e):NaN;return isNaN(t)?e:t};let wi;const Yr=()=>wi||(wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zr(e){if(V(e)){const t={};for(let o=0;o{if(o){const r=o.split(Al);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function De(e){let t="";if(pe(e))t=e;else if(V(e))for(let o=0;o!!(e&&e.__v_isRef===!0),X=e=>pe(e)?e:e==null?"":V(e)||ne(e)&&(e.toString===bi||!B(e.toString))?_i(e)?X(e.value):JSON.stringify(e,Ei,2):String(e),Ei=(e,t)=>_i(t)?Ei(e,t.value):kt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((o,[r,n],i)=>(o[Qr(r,i)+" =>"]=n,o),{})}:mi(t)?{[`Set(${t.size})`]:[...t.values()].map(o=>Qr(o))}:Et(t)?Qr(t):ne(t)&&!V(t)&&!Xo(t)?String(t):t,Qr=(e,t="")=>{var o;return Et(e)?`Symbol(${(o=e.description)!=null?o:t})`:e};var ae={VITE_APP_TITLE:"eSignatur-web-custom-element"};function rt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Me;class Ul{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,o;if(this.scopes)for(t=0,o=this.scopes.length;t0)return;let e;for(;bo;){let t=bo;for(bo=void 0;t;){const o=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=o}}if(e)throw e}function Ni(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oi(e){let t,o=e.depsTail;for(let r=o;r;r=r.prevDep)r.version===-1?(r===o&&(o=r.prevDep),nn(r),jl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0;e.deps=t,e.depsTail=o}function rn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Si(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function Si(e){if(e.flags&2)return!1;if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===wo))return;e.globalVersion=wo;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!rn(e)){e.flags&=-3;return}const o=ie,r=Ze;ie=e,Ze=!0;try{Ni(e);const n=e.fn();(t.version===0||vt(n,e._value))&&(e._value=n,t.version++)}catch(n){throw t.version++,n}finally{ie=o,Ze=r,Oi(e),e.flags&=-3}}function nn(e){const{dep:t,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),t.subs===e&&(t.subs=o),!t.subs&&t.computed){t.computed.flags&=-5;for(let n=t.computed.deps;n;n=n.nextDep)nn(n)}}function jl(e){const{prevDep:t,nextDep:o}=e;t&&(t.nextDep=o,e.prevDep=void 0),o&&(o.prevDep=t,e.nextDep=void 0)}let Ze=!0;const Ti=[];function ft(){Ti.push(Ze),Ze=!1}function pt(){const e=Ti.pop();Ze=e===void 0?!0:e}function Di(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const o=ie;ie=void 0;try{t()}finally{ie=o}}}let wo=0;class sn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,ae.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!ie||!Ze)return;let o=this.activeLink;if(o===void 0||o.sub!==ie)o=this.activeLink={dep:this,sub:ie,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},ie.deps?(o.prevDep=ie.depsTail,ie.depsTail.nextDep=o,ie.depsTail=o):ie.deps=ie.depsTail=o,ie.flags&4&&Ci(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const r=o.nextDep;r.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=r),o.prevDep=ie.depsTail,o.nextDep=void 0,ie.depsTail.nextDep=o,ie.depsTail=o,ie.deps===o&&(ie.deps=r)}return ae.NODE_ENV!=="production"&&ie.onTrack&&ie.onTrack(de({effect:ie},t)),o}trigger(t){this.version++,wo++,this.notify(t)}notify(t){tn();try{if(ae.NODE_ENV!=="production")for(let o=this.subsHead;o;o=o.nextSub)ae.NODE_ENV!=="production"&&o.sub.onTrigger&&!(o.sub.flags&8)&&o.sub.onTrigger(de({effect:o.sub},t));for(let o=this.subs;o;o=o.prevSub)o.sub.notify()}finally{on()}}}function Ci(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ci(r)}const o=e.dep.subs;o!==e&&(e.prevSub=o,o&&(o.nextSub=e)),ae.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}const an=new WeakMap,It=Symbol(ae.NODE_ENV!=="production"?"Object iterate":""),ln=Symbol(ae.NODE_ENV!=="production"?"Map keys iterate":""),yo=Symbol(ae.NODE_ENV!=="production"?"Array iterate":"");function _e(e,t,o){if(Ze&&ie){let r=an.get(e);r||an.set(e,r=new Map);let n=r.get(o);n||r.set(o,n=new sn),ae.NODE_ENV!=="production"?n.track({target:e,type:t,key:o}):n.track()}}function nt(e,t,o,r,n,i){const s=an.get(e);if(!s){wo++;return}let a=[];if(t==="clear")a=[...s.values()];else{const l=V(e),d=l&&Xr(o);if(l&&o==="length"){const c=Number(r);s.forEach((u,h)=>{(h==="length"||h===yo||!Et(h)&&h>=c)&&a.push(u)})}else{const c=u=>u&&a.push(u);switch(o!==void 0&&c(s.get(o)),d&&c(s.get(yo)),t){case"add":l?d&&c(s.get("length")):(c(s.get(It)),kt(e)&&c(s.get(ln)));break;case"delete":l||(c(s.get(It)),kt(e)&&c(s.get(ln)));break;case"set":kt(e)&&c(s.get(It));break}}}tn();for(const l of a)ae.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:o,newValue:r,oldValue:n,oldTarget:i}):l.trigger();on()}function eo(e){const t=G(e);return t===e?t:(_e(t,"iterate",yo),Pe(e)?t:t.map(Se))}function Zo(e){return _e(e=G(e),"iterate",yo),e}const Hl={__proto__:null,[Symbol.iterator](){return cn(this,Symbol.iterator,Se)},concat(...e){return eo(this).concat(...e.map(t=>V(t)?eo(t):t))},entries(){return cn(this,"entries",e=>(e[1]=Se(e[1]),e))},every(e,t){return ht(this,"every",e,t,void 0,arguments)},filter(e,t){return ht(this,"filter",e,t,o=>o.map(Se),arguments)},find(e,t){return ht(this,"find",e,t,Se,arguments)},findIndex(e,t){return ht(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ht(this,"findLast",e,t,Se,arguments)},findLastIndex(e,t){return ht(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ht(this,"forEach",e,t,void 0,arguments)},includes(...e){return un(this,"includes",e)},indexOf(...e){return un(this,"indexOf",e)},join(e){return eo(this).join(e)},lastIndexOf(...e){return un(this,"lastIndexOf",e)},map(e,t){return ht(this,"map",e,t,void 0,arguments)},pop(){return _o(this,"pop")},push(...e){return _o(this,"push",e)},reduce(e,...t){return Ai(this,"reduce",e,t)},reduceRight(e,...t){return Ai(this,"reduceRight",e,t)},shift(){return _o(this,"shift")},some(e,t){return ht(this,"some",e,t,void 0,arguments)},splice(...e){return _o(this,"splice",e)},toReversed(){return eo(this).toReversed()},toSorted(e){return eo(this).toSorted(e)},toSpliced(...e){return eo(this).toSpliced(...e)},unshift(...e){return _o(this,"unshift",e)},values(){return cn(this,"values",Se)}};function cn(e,t,o){const r=Zo(e),n=r[t]();return r!==e&&!Pe(e)&&(n._next=n.next,n.next=()=>{const i=n._next();return i.value&&(i.value=o(i.value)),i}),n}const zl=Array.prototype;function ht(e,t,o,r,n,i){const s=Zo(e),a=s!==e&&!Pe(e),l=s[t];if(l!==zl[t]){const u=l.apply(e,i);return a?Se(u):u}let d=o;s!==e&&(a?d=function(u,h){return o.call(this,Se(u),h,e)}:o.length>2&&(d=function(u,h){return o.call(this,u,h,e)}));const c=l.call(s,d,r);return a&&n?n(c):c}function Ai(e,t,o,r){const n=Zo(e);let i=o;return n!==e&&(Pe(e)?o.length>3&&(i=function(s,a,l){return o.call(this,s,a,l,e)}):i=function(s,a,l){return o.call(this,s,Se(a),l,e)}),n[t](i,...r)}function un(e,t,o){const r=G(e);_e(r,"iterate",yo);const n=r[t](...o);return(n===-1||n===!1)&&ar(o[0])?(o[0]=G(o[0]),r[t](...o)):n}function _o(e,t,o=[]){ft(),tn();const r=G(e)[t].apply(e,o);return on(),pt(),r}const Wl=xe("__proto__,__v_isRef,__isVue"),ki=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Et));function ql(e){Et(e)||(e=String(e));const t=G(this);return _e(t,"has",e),t.hasOwnProperty(e)}class Ri{constructor(t=!1,o=!1){this._isReadonly=t,this._isShallow=o}get(t,o,r){const n=this._isReadonly,i=this._isShallow;if(o==="__v_isReactive")return!n;if(o==="__v_isReadonly")return n;if(o==="__v_isShallow")return i;if(o==="__v_raw")return r===(n?i?Hi:ji:i?Bi:Ui).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=V(t);if(!n){let l;if(s&&(l=Hl[o]))return l;if(o==="hasOwnProperty")return ql}const a=Reflect.get(t,o,Ee(t)?t:r);return(Et(o)?ki.has(o):Wl(o))||(n||_e(t,"get",o),i)?a:Ee(a)?s&&Xr(o)?a:a.value:ne(a)?n?zi(a):fn(a):a}}class Ii extends Ri{constructor(t=!1){super(!1,t)}set(t,o,r,n){let i=t[o];if(!this._isShallow){const l=gt(i);if(!Pe(r)&&!gt(r)&&(i=G(i),r=G(r)),!V(t)&&Ee(i)&&!Ee(r))return l?!1:(i.value=r,!0)}const s=V(t)&&Xr(o)?Number(o)e,Qo=e=>Reflect.getPrototypeOf(e);function er(e,t,o=!1,r=!1){e=e.__v_raw;const n=G(e),i=G(t);o||(vt(t,i)&&_e(n,"get",t),_e(n,"get",i));const{has:s}=Qo(n),a=r?dn:o?pn:Se;if(s.call(n,t))return a(e.get(t));if(s.call(n,i))return a(e.get(i));e!==n&&e.get(t)}function tr(e,t=!1){const o=this.__v_raw,r=G(o),n=G(e);return t||(vt(e,n)&&_e(r,"has",e),_e(r,"has",n)),e===n?o.has(e):o.has(e)||o.has(n)}function or(e,t=!1){return e=e.__v_raw,!t&&_e(G(e),"iterate",It),Reflect.get(e,"size",e)}function Pi(e,t=!1){!t&&!Pe(e)&&!gt(e)&&(e=G(e));const o=G(this);return Qo(o).has.call(o,e)||(o.add(e),nt(o,"add",e,e)),this}function Vi(e,t,o=!1){!o&&!Pe(t)&&!gt(t)&&(t=G(t));const r=G(this),{has:n,get:i}=Qo(r);let s=n.call(r,e);s?ae.NODE_ENV!=="production"&&Fi(r,n,e):(e=G(e),s=n.call(r,e));const a=i.call(r,e);return r.set(e,t),s?vt(t,a)&&nt(r,"set",e,t,a):nt(r,"add",e,t),this}function Mi(e){const t=G(this),{has:o,get:r}=Qo(t);let n=o.call(t,e);n?ae.NODE_ENV!=="production"&&Fi(t,o,e):(e=G(e),n=o.call(t,e));const i=r?r.call(t,e):void 0,s=t.delete(e);return n&&nt(t,"delete",e,void 0,i),s}function $i(){const e=G(this),t=e.size!==0,o=ae.NODE_ENV!=="production"?kt(e)?new Map(e):new Set(e):void 0,r=e.clear();return t&&nt(e,"clear",void 0,void 0,o),r}function rr(e,t){return function(r,n){const i=this,s=i.__v_raw,a=G(s),l=t?dn:e?pn:Se;return!e&&_e(a,"iterate",It),s.forEach((d,c)=>r.call(n,l(d),l(c),i))}}function nr(e,t,o){return function(...r){const n=this.__v_raw,i=G(n),s=kt(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,d=n[e](...r),c=o?dn:t?pn:Se;return!t&&_e(i,"iterate",l?ln:It),{next(){const{value:u,done:h}=d.next();return h?{value:u,done:h}:{value:a?[c(u[0]),c(u[1])]:c(u),done:h}},[Symbol.iterator](){return this}}}}function xt(e){return function(...t){if(ae.NODE_ENV!=="production"){const o=t[0]?`on key "${t[0]}" `:"";rt(`${Qt(e)} operation ${o}failed: target is readonly.`,G(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Yl(){const e={get(i){return er(this,i)},get size(){return or(this)},has:tr,add:Pi,set:Vi,delete:Mi,clear:$i,forEach:rr(!1,!1)},t={get(i){return er(this,i,!1,!0)},get size(){return or(this)},has:tr,add(i){return Pi.call(this,i,!0)},set(i,s){return Vi.call(this,i,s,!0)},delete:Mi,clear:$i,forEach:rr(!1,!0)},o={get(i){return er(this,i,!0)},get size(){return or(this,!0)},has(i){return tr.call(this,i,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:rr(!0,!1)},r={get(i){return er(this,i,!0,!0)},get size(){return or(this,!0)},has(i){return tr.call(this,i,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:rr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=nr(i,!1,!1),o[i]=nr(i,!0,!1),t[i]=nr(i,!1,!0),r[i]=nr(i,!0,!0)}),[e,o,t,r]}const[Zl,Ql,ec,tc]=Yl();function ir(e,t){const o=t?e?tc:ec:e?Ql:Zl;return(r,n,i)=>n==="__v_isReactive"?!e:n==="__v_isReadonly"?e:n==="__v_raw"?r:Reflect.get(te(o,n)&&n in r?o:r,n,i)}const oc={get:ir(!1,!1)},rc={get:ir(!1,!0)},nc={get:ir(!0,!1)},ic={get:ir(!0,!0)};function Fi(e,t,o){const r=G(o);if(r!==o&&t.call(e,r)){const n=Gr(e);rt(`Reactive ${n} contains both the raw and reactive versions of the same object${n==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Ui=new WeakMap,Bi=new WeakMap,ji=new WeakMap,Hi=new WeakMap;function sc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ac(e){return e.__v_skip||!Object.isExtensible(e)?0:sc(Gr(e))}function fn(e){return gt(e)?e:sr(e,!1,Kl,oc,Ui)}function lc(e){return sr(e,!1,Xl,rc,Bi)}function zi(e){return sr(e,!0,Gl,nc,ji)}function it(e){return sr(e,!0,Jl,ic,Hi)}function sr(e,t,o,r,n){if(!ne(e))return ae.NODE_ENV!=="production"&&rt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=n.get(e);if(i)return i;const s=ac(e);if(s===0)return e;const a=new Proxy(e,s===2?r:o);return n.set(e,a),a}function Lt(e){return gt(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function gt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function ar(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function cc(e){return Object.isExtensible(e)&&Yo(e,"__v_skip",!0),e}const Se=e=>ne(e)?fn(e):e,pn=e=>ne(e)?zi(e):e;function Ee(e){return e?e.__v_isRef===!0:!1}function $e(e){return uc(e,!1)}function uc(e,t){return Ee(e)?e:new dc(e,t)}class dc{constructor(t,o){this.dep=new sn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=o?t:G(t),this._value=o?t:Se(t),this.__v_isShallow=o}get value(){return ae.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const o=this._rawValue,r=this.__v_isShallow||Pe(t)||gt(t);t=r?t:G(t),vt(t,o)&&(this._rawValue=t,this._value=r?t:Se(t),ae.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:o}):this.dep.trigger())}}function z(e){return Ee(e)?e.value:e}const fc={get:(e,t,o)=>z(Reflect.get(e,t,o)),set:(e,t,o,r)=>{const n=e[t];return Ee(n)&&!Ee(o)?(n.value=o,!0):Reflect.set(e,t,o,r)}};function Wi(e){return Lt(e)?e:new Proxy(e,fc)}class pc{constructor(t,o,r){this.fn=t,this.setter=o,this._value=void 0,this.dep=new sn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=wo-1,this.effect=this,this.__v_isReadonly=!o,this.isSSR=r}notify(){ie!==this&&(this.flags|=16,this.dep.notify())}get value(){const t=ae.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):ae.NODE_ENV!=="production"&&rt("Write operation failed: computed value is readonly")}}function hc(e,t,o=!1){let r,n;B(e)?r=e:(r=e.get,n=e.set);const i=new pc(r,n,o);return ae.NODE_ENV!=="production"&&t&&!o&&(i.onTrack=t.onTrack,i.onTrigger=t.onTrigger),i}const lr={},cr=new WeakMap;let Pt;function gc(e,t=!1,o=Pt){if(o){let r=cr.get(o);r||cr.set(o,r=[]),r.push(e)}else ae.NODE_ENV!=="production"&&!t&&rt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function mc(e,t,o=Q){const{immediate:r,deep:n,once:i,scheduler:s,augmentJob:a,call:l}=o,d=T=>{(o.onWarn||rt)("Invalid watch source: ",T,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=T=>n?T:Pe(T)||n===!1||n===0?mt(T,1):mt(T);let u,h,y,w,v=!1,S=!1;if(Ee(e)?(h=()=>e.value,v=Pe(e)):Lt(e)?(h=()=>c(e),v=!0):V(e)?(S=!0,v=e.some(T=>Lt(T)||Pe(T)),h=()=>e.map(T=>{if(Ee(T))return T.value;if(Lt(T))return c(T);if(B(T))return l?l(T,2):T();ae.NODE_ENV!=="production"&&d(T)})):B(e)?t?h=l?()=>l(e,2):e:h=()=>{if(y){ft();try{y()}finally{pt()}}const T=Pt;Pt=u;try{return l?l(e,3,[w]):e(w)}finally{Pt=T}}:(h=ye,ae.NODE_ENV!=="production"&&d(e)),t&&n){const T=h,J=n===!0?1/0:n;h=()=>mt(T(),J)}const $=Bl(),U=()=>{u.stop(),$&&qr($.effects,u)};if(i)if(t){const T=t;t=(...J)=>{T(...J),U()}}else{const T=h;h=()=>{T(),U()}}let I=S?new Array(e.length).fill(lr):lr;const Z=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const J=u.run();if(n||v||(S?J.some((ce,F)=>vt(ce,I[F])):vt(J,I))){y&&y();const ce=Pt;Pt=u;try{const F=[J,I===lr?void 0:S&&I[0]===lr?[]:I,w];l?l(t,3,F):t(...F),I=J}finally{Pt=ce}}}else u.run()};return a&&a(Z),u=new vi(h),u.scheduler=s?()=>s(Z,!1):Z,w=T=>gc(T,!1,u),y=u.onStop=()=>{const T=cr.get(u);if(T){if(l)l(T,4);else for(const J of T)J();cr.delete(u)}},ae.NODE_ENV!=="production"&&(u.onTrack=o.onTrack,u.onTrigger=o.onTrigger),t?r?Z(!0):I=u.run():s?s(Z.bind(null,!0),!0):u.run(),U.pause=u.pause.bind(u),U.resume=u.resume.bind(u),U.stop=U,U}function mt(e,t=1/0,o){if(t<=0||!ne(e)||e.__v_skip||(o=o||new Set,o.has(e)))return e;if(o.add(e),t--,Ee(e))mt(e.value,t,o);else if(V(e))for(let r=0;r{mt(r,t,o)});else if(Xo(e)){for(const r in e)mt(e[r],t,o);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&mt(e[r],t,o)}return e}var g={VITE_APP_TITLE:"eSignatur-web-custom-element"};const Vt=[];function ur(e){Vt.push(e)}function dr(){Vt.pop()}let hn=!1;function O(e,...t){if(hn)return;hn=!0,ft();const o=Vt.length?Vt[Vt.length-1].component:null,r=o&&o.appContext.config.warnHandler,n=bc();if(r)to(r,o,11,[e+t.map(i=>{var s,a;return(a=(s=i.toString)==null?void 0:s.call(i))!=null?a:JSON.stringify(i)}).join(""),o&&o.proxy,n.map(({vnode:i})=>`at <${kr(o,i.type)}>`).join(` `),n]);else{const i=[`[Vue warn]: ${e}`,...t];n.length&&i.push(` `,...wc(n)),console.warn(...i)}pt(),hn=!1}function bc(){let e=Vt[Vt.length-1];if(!e)return[];const t=[];for(;e;){const o=t[0];o&&o.vnode===e?o.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function wc(e){const t=[];return e.forEach((o,r)=>{t.push(...r===0?[]:[` `],...yc(o))}),t}function yc({vnode:e,recurseCount:t}){const o=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,n=` at <${kr(e.component,e.type,r)}`,i=">"+o;return e.props?[n,..._c(e.props),i]:[n+i]}function _c(e){const t=[],o=Object.keys(e);return o.slice(0,3).forEach(r=>{t.push(...qi(r,e[r]))}),o.length>3&&t.push(" ..."),t}function qi(e,t,o){return pe(t)?(t=JSON.stringify(t),o?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?o?t:[`${e}=${t}`]:Ee(t)?(t=qi(e,G(t.value),!0),o?t:[`${e}=Ref<`,t,">"]):B(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=G(t),o?t:[`${e}=`,t])}function Ec(e,t){g.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?O(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&O(`${t} is NaN - the duration expression might be incorrect.`))}const gn={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function to(e,t,o,r){try{return r?e(...r):e()}catch(n){Eo(n,t,o)}}function Qe(e,t,o,r){if(B(e)){const n=to(e,t,o,r);return n&&Kr(n)&&n.catch(i=>{Eo(i,t,o)}),n}if(V(e)){const n=[];for(let i=0;i>>1,n=Fe[r],i=xo(n);i=xo(o)?Fe.push(e):Fe.splice(Nc(t),0,e),e.flags&4||(e.flags|=1),Xi()}}function Xi(){!vo&&!mn&&(mn=!0,bn=Ki.then(Qi))}function Ji(e){V(e)?oo.push(...e):Nt&&e.id===-1?Nt.splice(ro+1,0,e):e.flags&1||(oo.push(e),e.flags&4||(e.flags|=1)),Xi()}function Yi(e,t,o=vo?Mt+1:0){for(g.NODE_ENV!=="production"&&(t=t||new Map);oxo(o)-xo(r));if(oo.length=0,Nt){Nt.push(...t);return}for(Nt=t,g.NODE_ENV!=="production"&&(e=e||new Map),ro=0;roe.id==null?e.flags&2?-1:1/0:e.id;function Qi(e){mn=!1,vo=!0,g.NODE_ENV!=="production"&&(e=e||new Map);const t=g.NODE_ENV!=="production"?o=>wn(e,o):ye;try{for(Mt=0;Mtxc){const r=t.i,n=r&&ia(r.type);return Eo(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else e.set(t,o+1)}}let $t=!1;const pr=new Map;g.NODE_ENV!=="production"&&(Yr().__VUE_HMR_RUNTIME__={createRecord:yn(es),rerender:yn(Tc),reload:yn(Dc)});const Ft=new Map;function Oc(e){const t=e.type.__hmrId;let o=Ft.get(t);o||(es(t,e.type),o=Ft.get(t)),o.instances.add(e)}function Sc(e){Ft.get(e.type.__hmrId).instances.delete(e)}function es(e,t){return Ft.has(e)?!1:(Ft.set(e,{initialDef:hr(t),instances:new Set}),!0)}function hr(e){return sa(e)?e.__vccOpts:e}function Tc(e,t){const o=Ft.get(e);o&&(o.initialDef.render=t,[...o.instances].forEach(r=>{t&&(r.render=t,hr(r.type).render=t),r.renderCache=[],$t=!0,r.update(),$t=!1}))}function Dc(e,t){const o=Ft.get(e);if(!o)return;t=hr(t),ts(o.initialDef,t);const r=[...o.instances];for(let n=0;n{i.parent.update(),a.delete(i)}):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(s)}Ji(()=>{pr.clear()})}function ts(e,t){de(e,t);for(const o in e)o!=="__file"&&!(o in t)&&delete e[o]}function yn(e){return(t,o)=>{try{return e(t,o)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let st,No=[],_n=!1;function Oo(e,...t){st?st.emit(e,...t):_n||No.push({event:e,args:t})}function os(e,t){var o,r;st=e,st?(st.enabled=!0,No.forEach(({event:n,args:i})=>st.emit(n,...i)),No=[]):typeof window<"u"&&window.HTMLElement&&!((r=(o=window.navigator)==null?void 0:o.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{os(i,t)}),setTimeout(()=>{st||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_n=!0,No=[])},3e3)):(_n=!0,No=[])}function Cc(e,t){Oo("app:init",e,t,{Fragment:me,Text:ko,Comment:be,Static:Or})}function Ac(e){Oo("app:unmount",e)}const kc=En("component:added"),rs=En("component:updated"),Rc=En("component:removed"),Ic=e=>{st&&typeof st.cleanupBuffer=="function"&&!st.cleanupBuffer(e)&&Rc(e)};/*! #__NO_SIDE_EFFECTS__ */function En(e){return t=>{Oo(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Lc=ns("perf:start"),Pc=ns("perf:end");function ns(e){return(t,o,r)=>{Oo(e,t.appContext.app,t.uid,t,o,r)}}function Vc(e,t,o){Oo("component:emit",e.appContext.app,e,t,o)}let we=null,is=null;function gr(e){const t=we;return we=e,is=e&&e.type.__scopeId||null,t}function vn(e,t=we,o){if(!t||e._n)return e;const r=(...n)=>{r._d&&Gs(-1);const i=gr(t);let s;try{s=e(...n)}finally{gr(i),r._d&&Gs(1)}return g.NODE_ENV!=="production"&&rs(t),s};return r._n=!0,r._c=!0,r._d=!0,r}function ss(e){Ol(e)&&O("Do not use built-in directive ids as custom directive id: "+e)}function So(e,t){if(we===null)return g.NODE_ENV!=="production"&&O("withDirectives can only be used inside render functions."),e;const o=Ar(we),r=e.dirs||(e.dirs=[]);for(let n=0;ne.__isTeleport,Ot=Symbol("_leaveCb"),mr=Symbol("_enterCb");function $c(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Do(()=>{e.isMounted=!0}),ms(()=>{e.isUnmounting=!0}),e}const Ke=[Function,Array],ls={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ke,onEnter:Ke,onAfterEnter:Ke,onEnterCancelled:Ke,onBeforeLeave:Ke,onLeave:Ke,onAfterLeave:Ke,onLeaveCancelled:Ke,onBeforeAppear:Ke,onAppear:Ke,onAfterAppear:Ke,onAppearCancelled:Ke},cs=e=>{const t=e.subTree;return t.component?cs(t.component):t},Fc={name:"BaseTransition",props:ls,setup(e,{slots:t}){const o=Qs(),r=$c();return()=>{const n=t.default&&ps(t.default(),!0);if(!n||!n.length)return;const i=us(n),s=G(e),{mode:a}=s;if(g.NODE_ENV!=="production"&&a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&O(`invalid mode: ${a}`),r.isLeaving)return Nn(i);const l=fs(i);if(!l)return Nn(i);let d=xn(l,s,r,o,h=>d=h);l.type!==be&&br(l,d);const c=o.subTree,u=c&&fs(c);if(u&&u.type!==be&&!zt(l,u)&&cs(o).type!==be){const h=xn(u,s,r,o);if(br(u,h),a==="out-in"&&l.type!==be)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,o.job.flags&8||o.update()},Nn(i);a==="in-out"&&l.type!==be&&(h.delayLeave=(y,w,v)=>{const S=ds(r,u);S[String(u.key)]=u,y[Ot]=()=>{w(),y[Ot]=void 0,delete d.delayedLeave},d.delayedLeave=v})}return i}}};function us(e){let t=e[0];if(e.length>1){let o=!1;for(const r of e)if(r.type!==be){if(g.NODE_ENV!=="production"&&o){O(" can only be used on a single element or component. Use for lists.");break}if(t=r,o=!0,g.NODE_ENV==="production")break}}return t}const Uc=Fc;function ds(e,t){const{leavingVNodes:o}=e;let r=o.get(t.type);return r||(r=Object.create(null),o.set(t.type,r)),r}function xn(e,t,o,r,n){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:y,onAfterLeave:w,onLeaveCancelled:v,onBeforeAppear:S,onAppear:$,onAfterAppear:U,onAppearCancelled:I}=t,Z=String(e.key),T=ds(o,e),J=(P,W)=>{P&&Qe(P,r,9,W)},ce=(P,W)=>{const fe=W[1];J(P,W),V(P)?P.every(L=>L.length<=1)&&fe():P.length<=1&&fe()},F={mode:s,persisted:a,beforeEnter(P){let W=l;if(!o.isMounted)if(i)W=S||l;else return;P[Ot]&&P[Ot](!0);const fe=T[Z];fe&&zt(e,fe)&&fe.el[Ot]&&fe.el[Ot](),J(W,[P])},enter(P){let W=d,fe=c,L=u;if(!o.isMounted)if(i)W=$||d,fe=U||c,L=I||u;else return;let ge=!1;const Ae=P[mr]=ze=>{ge||(ge=!0,ze?J(L,[P]):J(fe,[P]),F.delayedLeave&&F.delayedLeave(),P[mr]=void 0)};W?ce(W,[P,Ae]):Ae()},leave(P,W){const fe=String(e.key);if(P[mr]&&P[mr](!0),o.isUnmounting)return W();J(h,[P]);let L=!1;const ge=P[Ot]=Ae=>{L||(L=!0,W(),Ae?J(v,[P]):J(w,[P]),P[Ot]=void 0,T[fe]===e&&delete T[fe])};T[fe]=e,y?ce(y,[P,ge]):ge()},clone(P){const W=xn(P,t,o,r,n);return n&&n(W),W}};return F}function Nn(e){if(To(e))return e=at(e),e.children=null,e}function fs(e){if(!To(e))return as(e.type)&&e.children?us(e.children):e;if(g.NODE_ENV!=="production"&&e.component)return e.component.subTree;const{shapeFlag:t,children:o}=e;if(o){if(t&16)return o[0];if(t&32&&B(o.default))return o.default()}}function br(e,t){e.shapeFlag&6&&e.component?br(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ps(e,t=!1,o){let r=[],n=0;for(let i=0;i1)for(let i=0;iOn(y,t&&(V(t)?t[w]:t),o,r,n));return}if(no(r)&&!n)return;const i=r.shapeFlag&4?Ar(r.component):r.el,s=n?null:i,{i:a,r:l}=e;if(g.NODE_ENV!=="production"&&!a){O("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const d=t&&t.r,c=a.refs===Q?a.refs={}:a.refs,u=a.setupState,h=u===Q?()=>!1:y=>te(u,y)&&!(Object.getOwnPropertyDescriptor(c,y)||Q).get;if(d!=null&&d!==l&&(pe(d)?(c[d]=null,h(d)&&(u[d]=null)):Ee(d)&&(d.value=null)),B(l))to(l,a,12,[s,c]);else{const y=pe(l),w=Ee(l);if(y||w){const v=()=>{if(e.f){const S=y?h(l)?u[l]:c[l]:l.value;n?V(S)&&qr(S,i):V(S)?S.includes(i)||S.push(i):y?(c[l]=[i],h(l)&&(u[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else y?(c[l]=s,h(l)&&(u[l]=s)):w?(l.value=s,e.k&&(c[e.k]=s)):g.NODE_ENV!=="production"&&O("Invalid template ref type:",l,`(${typeof l})`)};s?(v.id=-1,Ue(v,o)):v()}else g.NODE_ENV!=="production"&&O("Invalid template ref type:",l,`(${typeof l})`)}}const no=e=>!!e.type.__asyncLoader,To=e=>e.type.__isKeepAlive;function Bc(e,t){gs(e,"a",t)}function jc(e,t){gs(e,"da",t)}function gs(e,t,o=ve){const r=e.__wdc||(e.__wdc=()=>{let n=o;for(;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(wr(t,r,o),o){let n=o.parent;for(;n&&n.parent;)To(n.parent.vnode)&&Hc(r,t,o,n),n=n.parent}}function Hc(e,t,o,r){const n=wr(t,e,r,!0);Sn(()=>{qr(r[t],n)},o)}function wr(e,t,o=ve,r=!1){if(o){const n=o[e]||(o[e]=[]),i=t.__weh||(t.__weh=(...s)=>{ft();const a=Po(o),l=Qe(t,o,e,s);return a(),pt(),l});return r?n.unshift(i):n.push(i),i}else if(g.NODE_ENV!=="production"){const n=Rt(gn[e].replace(/ hook$/,""));O(`${n} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const bt=e=>(t,o=ve)=>{(!Cr||e==="sp")&&wr(e,(...r)=>t(...r),o)},zc=bt("bm"),Do=bt("m"),Wc=bt("bu"),qc=bt("u"),ms=bt("bum"),Sn=bt("um"),Kc=bt("sp"),Gc=bt("rtg"),Xc=bt("rtc");function Jc(e,t=ve){wr("ec",e,t)}const Yc="directives",Zc=Symbol.for("v-ndc");function bs(e){return Qc(Yc,e)}function Qc(e,t,o=!0,r=!1){const n=we||ve;if(n){const i=n.type,s=ws(n[e]||i[e],t)||ws(n.appContext[e],t);return!s&&r?i:(g.NODE_ENV!=="production"&&o&&!s&&O(`Failed to resolve ${e.slice(0,-1)}: ${t}`),s)}else g.NODE_ENV!=="production"&&O(`resolve${Qt(e.slice(0,-1))} can only be used in render() or setup().`)}function ws(e,t){return e&&(e[t]||e[Ie(t)]||e[Qt(Ie(t))])}function io(e,t,o,r){let n;const i=o,s=V(e);if(s||pe(e)){const a=s&&Lt(e);a&&(e=Zo(e)),n=new Array(e.length);for(let l=0,d=e.length;lt(a,l,void 0,i));else{const a=Object.keys(e);n=new Array(a.length);for(let l=0,d=a.length;l1&&(O("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),q();const s=i&&ys(i(o)),a=Lo(me,{key:(o.key||s&&s.key||`_${t}`)+(!s&&r?"_fb":"")},s||[],s&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function ys(e){return e.some(t=>ao(t)?!(t.type===be||t.type===me&&!ys(t.children)):!0)?e:null}const Tn=e=>e?ta(e)?Ar(e):Tn(e.parent):null,Bt=de(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>g.NODE_ENV!=="production"?it(e.props):e.props,$attrs:e=>g.NODE_ENV!=="production"?it(e.attrs):e.attrs,$slots:e=>g.NODE_ENV!=="production"?it(e.slots):e.slots,$refs:e=>g.NODE_ENV!=="production"?it(e.refs):e.refs,$parent:e=>Tn(e.parent),$root:e=>Tn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>kn(e),$forceUpdate:e=>e.f||(e.f=()=>{fr(e.update)}),$nextTick:e=>e.n||(e.n=Gi.bind(e.proxy)),$watch:e=>Ru.bind(e)}),Dn=e=>e==="_"||e==="$",Cn=(e,t)=>e!==Q&&!e.__isScriptSetup&&te(e,t),_s={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:o,setupState:r,data:n,props:i,accessCache:s,type:a,appContext:l}=e;if(g.NODE_ENV!=="production"&&t==="__isVue")return!0;let d;if(t[0]!=="$"){const y=s[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return n[t];case 4:return o[t];case 3:return i[t]}else{if(Cn(r,t))return s[t]=1,r[t];if(n!==Q&&te(n,t))return s[t]=2,n[t];if((d=e.propsOptions[0])&&te(d,t))return s[t]=3,i[t];if(o!==Q&&te(o,t))return s[t]=4,o[t];An&&(s[t]=0)}}const c=Bt[t];let u,h;if(c)return t==="$attrs"?(_e(e.attrs,"get",""),g.NODE_ENV!=="production"&&Nr()):g.NODE_ENV!=="production"&&t==="$slots"&&_e(e,"get",t),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(o!==Q&&te(o,t))return s[t]=4,o[t];if(h=l.config.globalProperties,te(h,t))return h[t];g.NODE_ENV!=="production"&&we&&(!pe(t)||t.indexOf("__v")!==0)&&(n!==Q&&Dn(t[0])&&te(n,t)?O(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===we&&O(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,o){const{data:r,setupState:n,ctx:i}=e;return Cn(n,t)?(n[t]=o,!0):g.NODE_ENV!=="production"&&n.__isScriptSetup&&te(n,t)?(O(`Cannot mutate