(function(Fe){typeof define=="function"&&define.amd?define(Fe):Fe()})(function(){"use strict";function Fe(t,e){const n=Object.create(null),s=t.split(",");for(let i=0;i<s.length;i++)n[s[i]]=!0;return e?i=>!!n[i.toLowerCase()]:i=>!!n[i]}const ct={},Be=[],Zt=()=>{},nl=()=>!1,sl=/^on[^a-z]/,Pn=t=>sl.test(t),Ds=t=>t.startsWith("onUpdate:"),vt=Object.assign,Ls=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},il=Object.prototype.hasOwnProperty,tt=(t,e)=>il.call(t,e),j=Array.isArray,Ue=t=>Dn(t)==="[object Map]",ir=t=>Dn(t)==="[object Set]",z=t=>typeof t=="function",gt=t=>typeof t=="string",Nn=t=>typeof t=="symbol",ft=t=>t!==null&&typeof t=="object",rr=t=>(ft(t)||z(t))&&z(t.then)&&z(t.catch),or=Object.prototype.toString,Dn=t=>or.call(t),rl=t=>Dn(t).slice(8,-1),ar=t=>Dn(t)==="[object Object]",Hs=t=>gt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ln=Fe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ol=/-(\w)/g,Jt=Hn(t=>t.replace(ol,(e,n)=>n?n.toUpperCase():"")),al=/\B([A-Z])/g,je=Hn(t=>t.replace(al,"-$1").toLowerCase()),Fn=Hn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Fs=Hn(t=>t?`on${Fn(t)}`:""),Ee=(t,e)=>!Object.is(t,e),Bs=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Bn=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},ll=t=>{const e=parseFloat(t);return isNaN(e)?t:e},ul=t=>{const e=gt(t)?Number(t):NaN;return isNaN(e)?t:e};let lr;const Us=()=>lr||(lr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ke(t){if(j(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],i=gt(s)?pl(s):ke(s);if(i)for(const r in i)e[r]=i[r]}return e}else if(gt(t)||ft(t))return t}const cl=/;(?![^(]*\))/g,fl=/:([^]+)/,dl=/\/\*[^]*?\*\//g;function pl(t){const e={};return t.replace(dl,"").split(cl).forEach(n=>{if(n){const s=n.split(fl);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Tt(t){let e="";if(gt(t))e=t;else if(j(t))for(let n=0;n<t.length;n++){const s=Tt(t[n]);s&&(e+=s+" ")}else if(ft(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const hl=Fe("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ur(t){return!!t||t===""}const mt=t=>gt(t)?t:t==null?"":j(t)||ft(t)&&(t.toString===or||!z(t.toString))?JSON.stringify(t,cr,2):String(t),cr=(t,e)=>e&&e.__v_isRef?cr(t,e.value):Ue(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i])=>(n[`${s} =>`]=i,n),{})}:ir(e)?{[`Set(${e.size})`]:[...e.values()]}:ft(e)&&!j(e)&&!ar(e)?String(e):e;let Pt;class ml{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pt,!e&&Pt&&(this.index=(Pt.scopes||(Pt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Pt;try{return Pt=this,e()}finally{Pt=n}}}on(){Pt=this}off(){Pt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function gl(t,e=Pt){e&&e.active&&e.effects.push(t)}function fr(){return Pt}function _l(t){Pt&&Pt.cleanups.push(t)}const js=t=>{const e=new Set(t);return e.w=0,e.n=0,e},dr=t=>(t.w&he)>0,pr=t=>(t.n&he)>0,vl=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=he},yl=t=>{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s<e.length;s++){const i=e[s];dr(i)&&!pr(i)?i.delete(t):e[n++]=i,i.w&=~he,i.n&=~he}e.length=n}},Un=new WeakMap;let rn=0,he=1;const Vs=30;let Wt;const Me=Symbol(""),Zs=Symbol("");class Ws{constructor(e,n=null,s){this.fn=e,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,gl(this,s)}run(){if(!this.active)return this.fn();let e=Wt,n=me;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Wt,Wt=this,me=!0,he=1<<++rn,rn<=Vs?vl(this):hr(this),this.fn()}finally{rn<=Vs&&yl(this),he=1<<--rn,Wt=this.parent,me=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Wt===this?this.deferStop=!0:this.active&&(hr(this),this.onStop&&this.onStop(),this.active=!1)}}function hr(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let me=!0;const mr=[];function Ve(){mr.push(me),me=!1}function Ze(){const t=mr.pop();me=t===void 0?!0:t}function It(t,e,n){if(me&&Wt){let s=Un.get(t);s||Un.set(t,s=new Map);let i=s.get(n);i||s.set(n,i=js()),gr(i)}}function gr(t,e){let n=!1;rn<=Vs?pr(t)||(t.n|=he,n=!dr(t)):n=!t.has(Wt),n&&(t.add(Wt),Wt.deps.push(t))}function re(t,e,n,s,i,r){const o=Un.get(t);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(n==="length"&&j(t)){const l=Number(s);o.forEach((c,u)=>{(u==="length"||!Nn(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":j(t)?Hs(n)&&a.push(o.get("length")):(a.push(o.get(Me)),Ue(t)&&a.push(o.get(Zs)));break;case"delete":j(t)||(a.push(o.get(Me)),Ue(t)&&a.push(o.get(Zs)));break;case"set":Ue(t)&&a.push(o.get(Me));break}if(a.length===1)a[0]&&zs(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);zs(js(l))}}function zs(t,e){const n=j(t)?t:[...t];for(const s of n)s.computed&&_r(s);for(const s of n)s.computed||_r(s)}function _r(t,e){(t!==Wt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function bl(t,e){var n;return(n=Un.get(t))==null?void 0:n.get(e)}const wl=Fe("__proto__,__v_isRef,__isVue"),vr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Nn)),yr=xl();function xl(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=X(this);for(let r=0,o=this.length;r<o;r++)It(s,"get",r+"");const i=s[e](...n);return i===-1||i===!1?s[e](...n.map(X)):i}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Ve();const s=X(this)[e].apply(this,n);return Ze(),s}}),t}function Cl(t){const e=X(this);return It(e,"has",t),e.hasOwnProperty(t)}class br{constructor(e=!1,n=!1){this._isReadonly=e,this._shallow=n}get(e,n,s){const i=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&s===(i?r?Dl:Mr:r?kr:Er).get(e))return e;const o=j(e);if(!i){if(o&&tt(yr,n))return Reflect.get(yr,n,s);if(n==="hasOwnProperty")return Cl}const a=Reflect.get(e,n,s);return(Nn(n)?vr.has(n):wl(n))||(i||It(e,"get",n),r)?a:St(a)?o&&Hs(n)?a:a.value:ft(a)?i?Ar(a):on(a):a}}class wr extends br{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(ze(r)&&St(r)&&!St(s))return!1;if(!this._shallow&&(!Kn(s)&&!ze(s)&&(r=X(r),s=X(s)),!j(e)&&St(r)&&!St(s)))return r.value=s,!0;const o=j(e)&&Hs(n)?Number(n)<e.length:tt(e,n),a=Reflect.set(e,n,s,i);return e===X(i)&&(o?Ee(s,r)&&re(e,"set",n,s):re(e,"add",n,s)),a}deleteProperty(e,n){const s=tt(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&s&&re(e,"delete",n,void 0),i}has(e,n){const s=Reflect.has(e,n);return(!Nn(n)||!vr.has(n))&&It(e,"has",n),s}ownKeys(e){return It(e,"iterate",j(e)?"length":Me),Reflect.ownKeys(e)}}class Sl extends br{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Tl=new wr,El=new Sl,kl=new wr(!0),qs=t=>t,jn=t=>Reflect.getPrototypeOf(t);function Vn(t,e,n=!1,s=!1){t=t.__v_raw;const i=X(t),r=X(e);n||(Ee(e,r)&&It(i,"get",e),It(i,"get",r));const{has:o}=jn(i),a=s?qs:n?Js:an;if(o.call(i,e))return a(t.get(e));if(o.call(i,r))return a(t.get(r));t!==i&&t.get(e)}function Zn(t,e=!1){const n=this.__v_raw,s=X(n),i=X(t);return e||(Ee(t,i)&&It(s,"has",t),It(s,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function Wn(t,e=!1){return t=t.__v_raw,!e&&It(X(t),"iterate",Me),Reflect.get(t,"size",t)}function xr(t){t=X(t);const e=X(this);return jn(e).has.call(e,t)||(e.add(t),re(e,"add",t,t)),this}function Cr(t,e){e=X(e);const n=X(this),{has:s,get:i}=jn(n);let r=s.call(n,t);r||(t=X(t),r=s.call(n,t));const o=i.call(n,t);return n.set(t,e),r?Ee(e,o)&&re(n,"set",t,e):re(n,"add",t,e),this}function Sr(t){const e=X(this),{has:n,get:s}=jn(e);let i=n.call(e,t);i||(t=X(t),i=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return i&&re(e,"delete",t,void 0),r}function Tr(){const t=X(this),e=t.size!==0,n=t.clear();return e&&re(t,"clear",void 0,void 0),n}function zn(t,e){return function(s,i){const r=this,o=r.__v_raw,a=X(o),l=e?qs:t?Js:an;return!t&&It(a,"iterate",Me),o.forEach((c,u)=>s.call(i,l(c),l(u),r))}}function qn(t,e,n){return function(...s){const i=this.__v_raw,r=X(i),o=Ue(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?qs:e?Js:an;return!e&&It(r,"iterate",l?Zs:Me),{next(){const{value:h,done:d}=c.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function ge(t){return function(...e){return t==="delete"?!1:this}}function Ml(){const t={get(r){return Vn(this,r)},get size(){return Wn(this)},has:Zn,add:xr,set:Cr,delete:Sr,clear:Tr,forEach:zn(!1,!1)},e={get(r){return Vn(this,r,!1,!0)},get size(){return Wn(this)},has:Zn,add:xr,set:Cr,delete:Sr,clear:Tr,forEach:zn(!1,!0)},n={get(r){return Vn(this,r,!0)},get size(){return Wn(this,!0)},has(r){return Zn.call(this,r,!0)},add:ge("add"),set:ge("set"),delete:ge("delete"),clear:ge("clear"),forEach:zn(!0,!1)},s={get(r){return Vn(this,r,!0,!0)},get size(){return Wn(this,!0)},has(r){return Zn.call(this,r,!0)},add:ge("add"),set:ge("set"),delete:ge("delete"),clear:ge("clear"),forEach:zn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=qn(r,!1,!1),n[r]=qn(r,!0,!1),e[r]=qn(r,!1,!0),s[r]=qn(r,!0,!0)}),[t,n,e,s]}const[Al,$l,Il,Ol]=Ml();function Ks(t,e){const n=e?t?Ol:Il:t?$l:Al;return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(tt(n,i)&&i in s?n:s,i,r)}const Rl={get:Ks(!1,!1)},Pl={get:Ks(!1,!0)},Nl={get:Ks(!0,!1)},Er=new WeakMap,kr=new WeakMap,Mr=new WeakMap,Dl=new WeakMap;function Ll(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hl(t){return t.__v_skip||!Object.isExtensible(t)?0:Ll(rl(t))}function on(t){return ze(t)?t:Ys(t,!1,Tl,Rl,Er)}function Fl(t){return Ys(t,!1,kl,Pl,kr)}function Ar(t){return Ys(t,!0,El,Nl,Mr)}function Ys(t,e,n,s,i){if(!ft(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=i.get(t);if(r)return r;const o=Hl(t);if(o===0)return t;const a=new Proxy(t,o===2?s:n);return i.set(t,a),a}function We(t){return ze(t)?We(t.__v_raw):!!(t&&t.__v_isReactive)}function ze(t){return!!(t&&t.__v_isReadonly)}function Kn(t){return!!(t&&t.__v_isShallow)}function $r(t){return We(t)||ze(t)}function X(t){const e=t&&t.__v_raw;return e?X(e):t}function Ir(t){return Bn(t,"__v_skip",!0),t}const an=t=>ft(t)?on(t):t,Js=t=>ft(t)?Ar(t):t;function Or(t){me&&Wt&&(t=X(t),gr(t.dep||(t.dep=js())))}function Rr(t,e){t=X(t);const n=t.dep;n&&zs(n)}function St(t){return!!(t&&t.__v_isRef===!0)}function Y(t){return Bl(t,!1)}function Bl(t,e){return St(t)?t:new Ul(t,e)}class Ul{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:X(e),this._value=n?e:an(e)}get value(){return Or(this),this._value}set value(e){const n=this.__v_isShallow||Kn(e)||ze(e);e=n?e:X(e),Ee(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:an(e),Rr(this))}}function pt(t){return St(t)?t.value:t}const jl={get:(t,e,n)=>pt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return St(i)&&!St(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function Pr(t){return We(t)?t:new Proxy(t,jl)}function Nr(t){const e=j(t)?new Array(t.length):{};for(const n in t)e[n]=Zl(t,n);return e}class Vl{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return bl(X(this._object),this._key)}}function Zl(t,e,n){const s=t[e];return St(s)?s:new Vl(t,e,n)}class Wl{constructor(e,n,s,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ws(e,()=>{this._dirty||(this._dirty=!0,Rr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=X(this);return Or(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function zl(t,e,n=!1){let s,i;const r=z(t);return r?(s=t,i=Zt):(s=t.get,i=t.set),new Wl(s,i,r||!i,n)}function U0(t,...e){}function _e(t,e,n,s){let i;try{i=s?t(...s):t()}catch(r){Yn(r,e,n)}return i}function Ht(t,e,n,s){if(z(t)){const r=_e(t,e,n,s);return r&&rr(r)&&r.catch(o=>{Yn(o,e,n)}),r}const i=[];for(let r=0;r<t.length;r++)i.push(Ht(t[r],e,n,s));return i}function Yn(t,e,n,s=!0){const i=e?e.vnode:null;if(e){let r=e.parent;const o=e.proxy,a=n;for(;r;){const c=r.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](t,o,a)===!1)return}r=r.parent}const l=e.appContext.config.errorHandler;if(l){_e(l,null,10,[t,o,a]);return}}ql(t,n,i,s)}function ql(t,e,n,s=!0){console.error(t)}let ln=!1,Qs=!1;const Et=[];let Qt=0;const qe=[];let oe=null,Ae=0;const Dr=Promise.resolve();let Xs=null;function Kl(t){const e=Xs||Dr;return t?e.then(this?t.bind(this):t):e}function Yl(t){let e=Qt+1,n=Et.length;for(;e<n;){const s=e+n>>>1,i=Et[s],r=un(i);r<t||r===t&&i.pre?e=s+1:n=s}return e}function Gs(t){(!Et.length||!Et.includes(t,ln&&t.allowRecurse?Qt+1:Qt))&&(t.id==null?Et.push(t):Et.splice(Yl(t.id),0,t),Lr())}function Lr(){!ln&&!Qs&&(Qs=!0,Xs=Dr.then(Br))}function Jl(t){const e=Et.indexOf(t);e>Qt&&Et.splice(e,1)}function Ql(t){j(t)?qe.push(...t):(!oe||!oe.includes(t,t.allowRecurse?Ae+1:Ae))&&qe.push(t),Lr()}function Hr(t,e=ln?Qt+1:0){for(;e<Et.length;e++){const n=Et[e];n&&n.pre&&(Et.splice(e,1),e--,n())}}function Fr(t){if(qe.length){const e=[...new Set(qe)];if(qe.length=0,oe){oe.push(...e);return}for(oe=e,oe.sort((n,s)=>un(n)-un(s)),Ae=0;Ae<oe.length;Ae++)oe[Ae]();oe=null,Ae=0}}const un=t=>t.id==null?1/0:t.id,Xl=(t,e)=>{const n=un(t)-un(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Br(t){Qs=!1,ln=!0,Et.sort(Xl);const e=Zt;try{for(Qt=0;Qt<Et.length;Qt++){const n=Et[Qt];n&&n.active!==!1&&_e(n,null,14)}}finally{Qt=0,Et.length=0,Fr(),ln=!1,Xs=null,(Et.length||qe.length)&&Br()}}function Gl(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||ct;let i=n;const r=e.startsWith("update:"),o=r&&e.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:d}=s[u]||ct;d&&(i=n.map(v=>gt(v)?v.trim():v)),h&&(i=n.map(ll))}let a,l=s[a=Fs(e)]||s[a=Fs(Jt(e))];!l&&r&&(l=s[a=Fs(je(e))]),l&&Ht(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Ht(c,t,6,i)}}function Ur(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const r=t.emits;let o={},a=!1;if(!z(t)){const l=c=>{const u=Ur(c,e,!0);u&&(a=!0,vt(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(ft(t)&&s.set(t,null),null):(j(r)?r.forEach(l=>o[l]=null):vt(o,r),ft(t)&&s.set(t,o),o)}function Jn(t,e){return!t||!Pn(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,je(e))||tt(t,e))}let Nt=null,Qn=null;function Xn(t){const e=Nt;return Nt=t,Qn=t&&t.type.__scopeId||null,e}function ti(t){Qn=t}function ei(){Qn=null}function Ke(t,e=Nt,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&bo(-1);const r=Xn(e);let o;try{o=t(...i)}finally{Xn(r),s._d&&bo(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function j0(){}function ni(t){const{type:e,vnode:n,proxy:s,withProxy:i,props:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:d,setupState:v,ctx:m,inheritAttrs:g}=t;let A,D;const H=Xn(t);try{if(n.shapeFlag&4){const O=i||s;A=Xt(u.call(O,O,h,r,v,d,m)),D=l}else{const O=e;A=Xt(O.length>1?O(r,{attrs:l,slots:a,emit:c}):O(r,null)),D=e.props?l:tu(l)}}catch(O){gn.length=0,Yn(O,t,1),A=at(zt)}let Z=A;if(D&&g!==!1){const O=Object.keys(D),{shapeFlag:L}=Z;O.length&&L&7&&(o&&O.some(Ds)&&(D=eu(D,o)),Z=ye(Z,D))}return n.dirs&&(Z=ye(Z),Z.dirs=Z.dirs?Z.dirs.concat(n.dirs):n.dirs),n.transition&&(Z.transition=n.transition),A=Z,Xn(H),A}const tu=t=>{let e;for(const n in t)(n==="class"||n==="style"||Pn(n))&&((e||(e={}))[n]=t[n]);return e},eu=(t,e)=>{const n={};for(const s in t)(!Ds(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function nu(t,e,n){const{props:s,children:i,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?jr(s,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(o[d]!==s[d]&&!Jn(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?jr(s,o,c):!0:!!o;return!1}function jr(t,e,n){const s=Object.keys(e);if(s.length!==Object.keys(t).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(e[r]!==t[r]&&!Jn(n,r))return!0}return!1}function su({vnode:t,parent:e},n){for(;e&&e.subTree===t;)(t=e.vnode).el=n,e=e.parent}const iu=t=>t.__isSuspense;function ru(t,e){e&&e.pendingBranch?j(t)?e.effects.push(...t):e.effects.push(t):Ql(t)}const Gn={};function Ot(t,e,n){return Vr(t,e,n)}function Vr(t,e,{immediate:n,deep:s,flush:i,onTrack:r,onTrigger:o}=ct){var a;const l=fr()===((a=xt)==null?void 0:a.scope)?xt:null;let c,u=!1,h=!1;if(St(t)?(c=()=>t.value,u=Kn(t)):We(t)?(c=()=>t,s=!0):j(t)?(h=!0,u=t.some(O=>We(O)||Kn(O)),c=()=>t.map(O=>{if(St(O))return O.value;if(We(O))return $e(O);if(z(O))return _e(O,l,2)})):z(t)?e?c=()=>_e(t,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),Ht(t,l,3,[v])}:c=Zt,e&&s){const O=c;c=()=>$e(O())}let d,v=O=>{d=H.onStop=()=>{_e(O,l,4)}},m;if(yn)if(v=Zt,e?n&&Ht(e,l,3,[c(),h?[]:void 0,v]):c(),i==="sync"){const O=Xu();m=O.__watcherHandles||(O.__watcherHandles=[])}else return Zt;let g=h?new Array(t.length).fill(Gn):Gn;const A=()=>{if(H.active)if(e){const O=H.run();(s||u||(h?O.some((L,F)=>Ee(L,g[F])):Ee(O,g)))&&(d&&d(),Ht(e,l,3,[O,g===Gn?void 0:h&&g[0]===Gn?[]:g,v]),g=O)}else H.run()};A.allowRecurse=!!e;let D;i==="sync"?D=A:i==="post"?D=()=>Rt(A,l&&l.suspense):(A.pre=!0,l&&(A.id=l.uid),D=()=>Gs(A));const H=new Ws(c,D);e?n?A():g=H.run():i==="post"?Rt(H.run.bind(H),l&&l.suspense):H.run();const Z=()=>{H.stop(),l&&l.scope&&Ls(l.scope.effects,H)};return m&&m.push(Z),Z}function ou(t,e,n){const s=this.proxy,i=gt(t)?t.includes(".")?Zr(s,t):()=>s[t]:t.bind(s,s);let r;z(e)?r=e:(r=e.handler,n=e);const o=xt;Je(this);const a=Vr(i,r.bind(s),n);return o?Je(o):Pe(),a}function Zr(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}function $e(t,e){if(!ft(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),St(t))$e(t.value,e);else if(j(t))for(let n=0;n<t.length;n++)$e(t[n],e);else if(ir(t)||Ue(t))t.forEach(n=>{$e(n,e)});else if(ar(t))for(const n in t)$e(t[n],e);return t}function ae(t,e){const n=Nt;if(n===null)return t;const s=ds(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[o,a,l,c=ct]=e[r];o&&(z(o)&&(o={mounted:o,updated:o}),o.deep&&$e(a),i.push({dir:o,instance:s,value:a,oldValue:void 0,arg:l,modifiers:c}))}return t}function Ie(t,e,n,s){const i=t.dirs,r=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];r&&(a.oldValue=r[o].value);let l=a.dir[s];l&&(Ve(),Ht(l,n,8,[t.el,a,t,e]),Ze())}}const ve=Symbol("_leaveCb"),ts=Symbol("_enterCb");function Wr(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return dn(()=>{t.isMounted=!0}),Qr(()=>{t.isUnmounting=!0}),t}const Ft=[Function,Array],zr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ft,onEnter:Ft,onAfterEnter:Ft,onEnterCancelled:Ft,onBeforeLeave:Ft,onLeave:Ft,onAfterLeave:Ft,onLeaveCancelled:Ft,onBeforeAppear:Ft,onAppear:Ft,onAfterAppear:Ft,onAppearCancelled:Ft},au={name:"BaseTransition",props:zr,setup(t,{slots:e}){const n=_i(),s=Wr();let i;return()=>{const r=e.default&&ii(e.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const g of r)if(g.type!==zt){o=g;break}}const a=X(t),{mode:l}=a;if(s.isLeaving)return si(o);const c=Kr(o);if(!c)return si(o);const u=cn(c,a,s,n);fn(c,u);const h=n.subTree,d=h&&Kr(h);let v=!1;const{getTransitionKey:m}=c.type;if(m){const g=m();i===void 0?i=g:g!==i&&(i=g,v=!0)}if(d&&d.type!==zt&&(!Re(c,d)||v)){const g=cn(d,a,s,n);if(fn(d,g),l==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},si(o);l==="in-out"&&c.type!==zt&&(g.delayLeave=(A,D,H)=>{const Z=qr(s,d);Z[String(d.key)]=d,A[ve]=()=>{D(),A[ve]=void 0,delete u.delayedLeave},u.delayedLeave=H})}return o}}};function qr(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function cn(t,e,n,s){const{appear:i,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:A,onAfterAppear:D,onAppearCancelled:H}=e,Z=String(t.key),O=qr(n,t),L=(P,V)=>{P&&Ht(P,s,9,V)},F=(P,V)=>{const J=V[1];L(P,V),j(P)?P.every(it=>it.length<=1)&&J():P.length<=1&&J()},q={mode:r,persisted:o,beforeEnter(P){let V=a;if(!n.isMounted)if(i)V=g||a;else return;P[ve]&&P[ve](!0);const J=O[Z];J&&Re(t,J)&&J.el[ve]&&J.el[ve](),L(V,[P])},enter(P){let V=l,J=c,it=u;if(!n.isMounted)if(i)V=A||l,J=D||c,it=H||u;else return;let I=!1;const et=P[ts]=ht=>{I||(I=!0,ht?L(it,[P]):L(J,[P]),q.delayedLeave&&q.delayedLeave(),P[ts]=void 0)};V?F(V,[P,et]):et()},leave(P,V){const J=String(t.key);if(P[ts]&&P[ts](!0),n.isUnmounting)return V();L(h,[P]);let it=!1;const I=P[ve]=et=>{it||(it=!0,V(),et?L(m,[P]):L(v,[P]),P[ve]=void 0,O[J]===t&&delete O[J])};O[J]=t,d?F(d,[P,I]):I()},clone(P){return cn(P,e,n,s)}};return q}function si(t){if(ns(t))return t=ye(t),t.children=null,t}function Kr(t){return ns(t)?t.children?t.children[0]:void 0:t}function fn(t,e){t.shapeFlag&6&&t.component?fn(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function ii(t,e=!1,n){let s=[],i=0;for(let r=0;r<t.length;r++){let o=t[r];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===kt?(o.patchFlag&128&&i++,s=s.concat(ii(o.children,e,a))):(e||o.type!==zt)&&s.push(a!=null?ye(o,{key:a}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Bt(t,e){return z(t)?(()=>vt({name:t.name},e,{setup:t}))():t}const es=t=>!!t.type.__asyncLoader,ns=t=>t.type.__isKeepAlive;function lu(t,e){Yr(t,"a",e)}function uu(t,e){Yr(t,"da",e)}function Yr(t,e,n=xt){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(ss(e,s,n),n){let i=n.parent;for(;i&&i.parent;)ns(i.parent.vnode)&&cu(s,e,n,i),i=i.parent}}function cu(t,e,n,s){const i=ss(e,t,s,!0);pn(()=>{Ls(s[e],i)},n)}function ss(t,e,n=xt,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;Ve(),Je(n);const a=Ht(e,n,t,o);return Pe(),Ze(),a});return s?i.unshift(r):i.push(r),r}}const le=t=>(e,n=xt)=>(!yn||t==="sp")&&ss(t,(...s)=>e(...s),n),fu=le("bm"),dn=le("m"),du=le("bu"),Jr=le("u"),Qr=le("bum"),pn=le("um"),pu=le("sp"),hu=le("rtg"),mu=le("rtc");function gu(t,e=xt){ss("ec",t,e)}const Xr="components",_u="directives",Gr=Symbol.for("v-ndc");function to(t){return gt(t)?eo(Xr,t,!1)||t:t||Gr}function is(t){return eo(_u,t)}function eo(t,e,n=!0,s=!1){const i=Nt||xt;if(i){const r=i.type;if(t===Xr){const a=Ku(r,!1);if(a&&(a===e||a===Jt(e)||a===Fn(Jt(e))))return r}const o=no(i[t]||r[t],e)||no(i.appContext[t],e);return!o&&s?r:o}}function no(t,e){return t&&(t[e]||t[Jt(e)]||t[Fn(Jt(e))])}function ri(t,e,n,s){let i;const r=n&&n[s];if(j(t)||gt(t)){i=new Array(t.length);for(let o=0,a=t.length;o<a;o++)i[o]=e(t[o],o,void 0,r&&r[o])}else if(typeof t=="number"){i=new Array(t);for(let o=0;o<t;o++)i[o]=e(o+1,o,void 0,r&&r[o])}else if(ft(t))if(t[Symbol.iterator])i=Array.from(t,(o,a)=>e(o,a,void 0,r&&r[a]));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];i[a]=e(t[c],c,a,r&&r[a])}}else i=[];return n&&(n[s]=i),i}const oi=t=>t?So(t)?ds(t)||t.proxy:oi(t.parent):null,hn=vt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>oi(t.parent),$root:t=>oi(t.root),$emit:t=>t.emit,$options:t=>ui(t),$forceUpdate:t=>t.f||(t.f=()=>Gs(t.update)),$nextTick:t=>t.n||(t.n=Kl.bind(t.proxy)),$watch:t=>ou.bind(t)}),ai=(t,e)=>t!==ct&&!t.__isScriptSetup&&tt(t,e),vu={get({_:t},e){const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const v=o[e];if(v!==void 0)switch(v){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return r[e]}else{if(ai(s,e))return o[e]=1,s[e];if(i!==ct&&tt(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&tt(c,e))return o[e]=3,r[e];if(n!==ct&&tt(n,e))return o[e]=4,n[e];li&&(o[e]=0)}}const u=hn[e];let h,d;if(u)return e==="$attrs"&&It(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==ct&&tt(n,e))return o[e]=4,n[e];if(d=l.config.globalProperties,tt(d,e))return d[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return ai(i,e)?(i[e]=n,!0):s!==ct&&tt(s,e)?(s[e]=n,!0):tt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!n[o]||t!==ct&&tt(t,o)||ai(e,o)||(a=r[0])&&tt(a,o)||tt(s,o)||tt(hn,o)||tt(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:tt(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function so(t){return j(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let li=!0;function yu(t){const e=ui(t),n=t.proxy,s=t.ctx;li=!1,e.beforeCreate&&io(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:d,beforeUpdate:v,updated:m,activated:g,deactivated:A,beforeDestroy:D,beforeUnmount:H,destroyed:Z,unmounted:O,render:L,renderTracked:F,renderTriggered:q,errorCaptured:P,serverPrefetch:V,expose:J,inheritAttrs:it,components:I,directives:et,filters:ht}=e;if(c&&bu(c,s,null),o)for(const nt in o){const k=o[nt];z(k)&&(s[nt]=k.bind(n))}if(i){const nt=i.call(n,n);ft(nt)&&(t.data=on(nt))}if(li=!0,r)for(const nt in r){const k=r[nt],K=z(k)?k.bind(n,n):z(k.get)?k.get.bind(n,n):Zt,lt=!z(k)&&z(k.set)?k.set.bind(n):Zt,st=ce({get:K,set:lt});Object.defineProperty(s,nt,{enumerable:!0,configurable:!0,get:()=>st.value,set:bt=>st.value=bt})}if(a)for(const nt in a)ro(a[nt],s,n,nt);if(l){const nt=z(l)?l.call(n):l;Reflect.ownKeys(nt).forEach(k=>{Eu(k,nt[k])})}u&&io(u,t,"c");function rt(nt,k){j(k)?k.forEach(K=>nt(K.bind(n))):k&&nt(k.bind(n))}if(rt(fu,h),rt(dn,d),rt(du,v),rt(Jr,m),rt(lu,g),rt(uu,A),rt(gu,P),rt(mu,F),rt(hu,q),rt(Qr,H),rt(pn,O),rt(pu,V),j(J))if(J.length){const nt=t.exposed||(t.exposed={});J.forEach(k=>{Object.defineProperty(nt,k,{get:()=>n[k],set:K=>n[k]=K})})}else t.exposed||(t.exposed={});L&&t.render===Zt&&(t.render=L),it!=null&&(t.inheritAttrs=it),I&&(t.components=I),et&&(t.directives=et)}function bu(t,e,n=Zt){j(t)&&(t=ci(t));for(const s in t){const i=t[s];let r;ft(i)?"default"in i?r=as(i.from||s,i.default,!0):r=as(i.from||s):r=as(i),St(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function io(t,e,n){Ht(j(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function ro(t,e,n,s){const i=s.includes(".")?Zr(n,s):()=>n[s];if(gt(t)){const r=e[t];z(r)&&Ot(i,r)}else if(z(t))Ot(i,t.bind(n));else if(ft(t))if(j(t))t.forEach(r=>ro(r,e,n,s));else{const r=z(t.handler)?t.handler.bind(n):e[t.handler];z(r)&&Ot(i,r,t)}}function ui(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>rs(l,c,o,!0)),rs(l,e,o)),ft(e)&&r.set(e,l),l}function rs(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&rs(t,r,n,!0),i&&i.forEach(o=>rs(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=wu[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const wu={data:oo,props:ao,emits:ao,methods:mn,computed:mn,beforeCreate:At,created:At,beforeMount:At,mounted:At,beforeUpdate:At,updated:At,beforeDestroy:At,beforeUnmount:At,destroyed:At,unmounted:At,activated:At,deactivated:At,errorCaptured:At,serverPrefetch:At,components:mn,directives:mn,watch:Cu,provide:oo,inject:xu};function oo(t,e){return e?t?function(){return vt(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:e:t}function xu(t,e){return mn(ci(t),ci(e))}function ci(t){if(j(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function At(t,e){return t?[...new Set([].concat(t,e))]:e}function mn(t,e){return t?vt(Object.create(null),t,e):e}function ao(t,e){return t?j(t)&&j(e)?[...new Set([...t,...e])]:vt(Object.create(null),so(t),so(e??{})):e}function Cu(t,e){if(!t)return e;if(!e)return t;const n=vt(Object.create(null),t);for(const s in e)n[s]=At(t[s],e[s]);return n}function lo(){return{app:null,config:{isNativeTag:nl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Su=0;function Tu(t,e){return function(s,i=null){z(s)||(s=vt({},s)),i!=null&&!ft(i)&&(i=null);const r=lo(),o=new WeakSet;let a=!1;const l=r.app={_uid:Su++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:Gu,get config(){return r.config},set config(c){},use(c,...u){return o.has(c)||(c&&z(c.install)?(o.add(c),c.install(l,...u)):z(c)&&(o.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,h){if(!a){const d=at(s,i);return d.appContext=r,u&&e?e(d,c):t(d,c,h),a=!0,l._container=c,c.__vue_app__=l,ds(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l},runWithContext(c){os=l;try{return c()}finally{os=null}}};return l}}let os=null;function Eu(t,e){if(xt){let n=xt.provides;const s=xt.parent&&xt.parent.provides;s===n&&(n=xt.provides=Object.create(s)),n[t]=e}}function as(t,e,n=!1){const s=xt||Nt;if(s||os){const i=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:os._context.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&z(e)?e.call(s&&s.proxy):e}}function ku(t,e,n,s=!1){const i={},r={};Bn(r,cs,1),t.propsDefaults=Object.create(null),uo(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:Fl(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function Mu(t,e,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,a=X(i),[l]=t.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let h=0;h<u.length;h++){let d=u[h];if(Jn(t.emitsOptions,d))continue;const v=e[d];if(l)if(tt(r,d))v!==r[d]&&(r[d]=v,c=!0);else{const m=Jt(d);i[m]=fi(l,a,m,v,t,!1)}else v!==r[d]&&(r[d]=v,c=!0)}}}else{uo(t,e,i,r)&&(c=!0);let u;for(const h in a)(!e||!tt(e,h)&&((u=je(h))===h||!tt(e,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(i[h]=fi(l,a,h,void 0,t,!0)):delete i[h]);if(r!==a)for(const h in r)(!e||!tt(e,h))&&(delete r[h],c=!0)}c&&re(t,"set","$attrs")}function uo(t,e,n,s){const[i,r]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(Ln(l))continue;const c=e[l];let u;i&&tt(i,u=Jt(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Jn(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(r){const l=X(n),c=a||ct;for(let u=0;u<r.length;u++){const h=r[u];n[h]=fi(i,l,h,c[h],t,!tt(c,h))}}return o}function fi(t,e,n,s,i,r){const o=t[n];if(o!=null){const a=tt(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&z(l)){const{propsDefaults:c}=i;n in c?s=c[n]:(Je(i),s=c[n]=l.call(null,e),Pe())}else s=l}o[0]&&(r&&!a?s=!1:o[1]&&(s===""||s===je(n))&&(s=!0))}return s}function co(t,e,n=!1){const s=e.propsCache,i=s.get(t);if(i)return i;const r=t.props,o={},a=[];let l=!1;if(!z(t)){const u=h=>{l=!0;const[d,v]=co(h,e,!0);vt(o,d),v&&a.push(...v)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return ft(t)&&s.set(t,Be),Be;if(j(r))for(let u=0;u<r.length;u++){const h=Jt(r[u]);fo(h)&&(o[h]=ct)}else if(r)for(const u in r){const h=Jt(u);if(fo(h)){const d=r[u],v=o[h]=j(d)||z(d)?{type:d}:vt({},d);if(v){const m=mo(Boolean,v.type),g=mo(String,v.type);v[0]=m>-1,v[1]=g<0||m<g,(m>-1||tt(v,"default"))&&a.push(h)}}}const c=[o,a];return ft(t)&&s.set(t,c),c}function fo(t){return t[0]!=="$"}function po(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function ho(t,e){return po(t)===po(e)}function mo(t,e){return j(e)?e.findIndex(n=>ho(n,t)):z(e)&&ho(e,t)?0:-1}const go=t=>t[0]==="_"||t==="$stable",di=t=>j(t)?t.map(Xt):[Xt(t)],Au=(t,e,n)=>{if(e._n)return e;const s=Ke((...i)=>di(e(...i)),n);return s._c=!1,s},_o=(t,e,n)=>{const s=t._ctx;for(const i in t){if(go(i))continue;const r=t[i];if(z(r))e[i]=Au(i,r,s);else if(r!=null){const o=di(r);e[i]=()=>o}}},vo=(t,e)=>{const n=di(e);t.slots.default=()=>n},$u=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=X(e),Bn(e,"_",n)):_o(e,t.slots={})}else t.slots={},e&&vo(t,e);Bn(t.slots,cs,1)},Iu=(t,e,n)=>{const{vnode:s,slots:i}=t;let r=!0,o=ct;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(vt(i,e),!n&&a===1&&delete i._):(r=!e.$stable,_o(e,i)),o=e}else e&&(vo(t,e),o={default:1});if(r)for(const a in i)!go(a)&&o[a]==null&&delete i[a]};function pi(t,e,n,s,i=!1){if(j(t)){t.forEach((d,v)=>pi(d,e&&(j(e)?e[v]:e),n,s,i));return}if(es(s)&&!i)return;const r=s.shapeFlag&4?ds(s.component)||s.component.proxy:s.el,o=i?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===ct?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(gt(c)?(u[c]=null,tt(h,c)&&(h[c]=null)):St(c)&&(c.value=null)),z(l))_e(l,a,12,[o,u]);else{const d=gt(l),v=St(l);if(d||v){const m=()=>{if(t.f){const g=d?tt(h,l)?h[l]:u[l]:l.value;i?j(g)&&Ls(g,r):j(g)?g.includes(r)||g.push(r):d?(u[l]=[r],tt(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else d?(u[l]=o,tt(h,l)&&(h[l]=o)):v&&(l.value=o,t.k&&(u[t.k]=o))};o?(m.id=-1,Rt(m,n)):m()}}}const Rt=ru;function Ou(t){return Ru(t)}function Ru(t,e){const n=Us();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:d,setScopeId:v=Zt,insertStaticContent:m}=t,g=(f,p,_,w=null,x=null,T=null,$=!1,S=null,E=!!p.dynamicChildren)=>{if(f===p)return;f&&!Re(f,p)&&(w=Ns(f),bt(f,x,T,!0),f=null),p.patchFlag===-2&&(E=!1,p.dynamicChildren=null);const{type:C,ref:B,shapeFlag:N}=p;switch(C){case ls:A(f,p,_,w);break;case zt:D(f,p,_,w);break;case us:f==null&&H(p,_,w,$);break;case kt:I(f,p,_,w,x,T,$,S,E);break;default:N&1?L(f,p,_,w,x,T,$,S,E):N&6?et(f,p,_,w,x,T,$,S,E):(N&64||N&128)&&C.process(f,p,_,w,x,T,$,S,E,nn)}B!=null&&x&&pi(B,f&&f.ref,T,p||f,!p)},A=(f,p,_,w)=>{if(f==null)s(p.el=a(p.children),_,w);else{const x=p.el=f.el;p.children!==f.children&&c(x,p.children)}},D=(f,p,_,w)=>{f==null?s(p.el=l(p.children||""),_,w):p.el=f.el},H=(f,p,_,w)=>{[f.el,f.anchor]=m(f.children,p,_,w,f.el,f.anchor)},Z=({el:f,anchor:p},_,w)=>{let x;for(;f&&f!==p;)x=d(f),s(f,_,w),f=x;s(p,_,w)},O=({el:f,anchor:p})=>{let _;for(;f&&f!==p;)_=d(f),i(f),f=_;i(p)},L=(f,p,_,w,x,T,$,S,E)=>{$=$||p.type==="svg",f==null?F(p,_,w,x,T,$,S,E):V(f,p,x,T,$,S,E)},F=(f,p,_,w,x,T,$,S)=>{let E,C;const{type:B,props:N,shapeFlag:U,transition:W,dirs:Q}=f;if(E=f.el=o(f.type,T,N&&N.is,N),U&8?u(E,f.children):U&16&&P(f.children,E,null,w,x,T&&B!=="foreignObject",$,S),Q&&Ie(f,null,w,"created"),q(E,f,f.scopeId,$,w),N){for(const ot in N)ot!=="value"&&!Ln(ot)&&r(E,ot,null,N[ot],T,f.children,w,x,Mt);"value"in N&&r(E,"value",null,N.value),(C=N.onVnodeBeforeMount)&&Gt(C,w,f)}Q&&Ie(f,null,w,"beforeMount");const ut=Pu(x,W);ut&&W.beforeEnter(E),s(E,p,_),((C=N&&N.onVnodeMounted)||ut||Q)&&Rt(()=>{C&&Gt(C,w,f),ut&&W.enter(E),Q&&Ie(f,null,w,"mounted")},x)},q=(f,p,_,w,x)=>{if(_&&v(f,_),w)for(let T=0;T<w.length;T++)v(f,w[T]);if(x){let T=x.subTree;if(p===T){const $=x.vnode;q(f,$,$.scopeId,$.slotScopeIds,x.parent)}}},P=(f,p,_,w,x,T,$,S,E=0)=>{for(let C=E;C<f.length;C++){const B=f[C]=S?be(f[C]):Xt(f[C]);g(null,B,p,_,w,x,T,$,S)}},V=(f,p,_,w,x,T,$)=>{const S=p.el=f.el;let{patchFlag:E,dynamicChildren:C,dirs:B}=p;E|=f.patchFlag&16;const N=f.props||ct,U=p.props||ct;let W;_&&Oe(_,!1),(W=U.onVnodeBeforeUpdate)&&Gt(W,_,p,f),B&&Ie(p,f,_,"beforeUpdate"),_&&Oe(_,!0);const Q=x&&p.type!=="foreignObject";if(C?J(f.dynamicChildren,C,S,_,w,Q,T):$||k(f,p,S,null,_,w,Q,T,!1),E>0){if(E&16)it(S,p,N,U,_,w,x);else if(E&2&&N.class!==U.class&&r(S,"class",null,U.class,x),E&4&&r(S,"style",N.style,U.style,x),E&8){const ut=p.dynamicProps;for(let ot=0;ot<ut.length;ot++){const wt=ut[ot],Yt=N[wt],sn=U[wt];(sn!==Yt||wt==="value")&&r(S,wt,Yt,sn,x,f.children,_,w,Mt)}}E&1&&f.children!==p.children&&u(S,p.children)}else!$&&C==null&&it(S,p,N,U,_,w,x);((W=U.onVnodeUpdated)||B)&&Rt(()=>{W&&Gt(W,_,p,f),B&&Ie(p,f,_,"updated")},w)},J=(f,p,_,w,x,T,$)=>{for(let S=0;S<p.length;S++){const E=f[S],C=p[S],B=E.el&&(E.type===kt||!Re(E,C)||E.shapeFlag&70)?h(E.el):_;g(E,C,B,null,w,x,T,$,!0)}},it=(f,p,_,w,x,T,$)=>{if(_!==w){if(_!==ct)for(const S in _)!Ln(S)&&!(S in w)&&r(f,S,_[S],null,$,p.children,x,T,Mt);for(const S in w){if(Ln(S))continue;const E=w[S],C=_[S];E!==C&&S!=="value"&&r(f,S,C,E,$,p.children,x,T,Mt)}"value"in w&&r(f,"value",_.value,w.value)}},I=(f,p,_,w,x,T,$,S,E)=>{const C=p.el=f?f.el:a(""),B=p.anchor=f?f.anchor:a("");let{patchFlag:N,dynamicChildren:U,slotScopeIds:W}=p;W&&(S=S?S.concat(W):W),f==null?(s(C,_,w),s(B,_,w),P(p.children,_,B,x,T,$,S,E)):N>0&&N&64&&U&&f.dynamicChildren?(J(f.dynamicChildren,U,_,x,T,$,S),(p.key!=null||x&&p===x.subTree)&&yo(f,p,!0)):k(f,p,_,B,x,T,$,S,E)},et=(f,p,_,w,x,T,$,S,E)=>{p.slotScopeIds=S,f==null?p.shapeFlag&512?x.ctx.activate(p,_,w,$,E):ht(p,_,w,x,T,$,E):Ct(f,p,E)},ht=(f,p,_,w,x,T,$)=>{const S=f.component=Vu(f,w,x);if(ns(f)&&(S.ctx.renderer=nn),Zu(S),S.asyncDep){if(x&&x.registerDep(S,rt),!f.el){const E=S.subTree=at(zt);D(null,E,p,_)}return}rt(S,f,p,_,x,T,$)},Ct=(f,p,_)=>{const w=p.component=f.component;if(nu(f,p,_))if(w.asyncDep&&!w.asyncResolved){nt(w,p,_);return}else w.next=p,Jl(w.update),w.update();else p.el=f.el,w.vnode=p},rt=(f,p,_,w,x,T,$)=>{const S=()=>{if(f.isMounted){let{next:B,bu:N,u:U,parent:W,vnode:Q}=f,ut=B,ot;Oe(f,!1),B?(B.el=Q.el,nt(f,B,$)):B=Q,N&&Bs(N),(ot=B.props&&B.props.onVnodeBeforeUpdate)&&Gt(ot,W,B,Q),Oe(f,!0);const wt=ni(f),Yt=f.subTree;f.subTree=wt,g(Yt,wt,h(Yt.el),Ns(Yt),f,x,T),B.el=wt.el,ut===null&&su(f,wt.el),U&&Rt(U,x),(ot=B.props&&B.props.onVnodeUpdated)&&Rt(()=>Gt(ot,W,B,Q),x)}else{let B;const{el:N,props:U}=p,{bm:W,m:Q,parent:ut}=f,ot=es(p);if(Oe(f,!1),W&&Bs(W),!ot&&(B=U&&U.onVnodeBeforeMount)&&Gt(B,ut,p),Oe(f,!0),N&&sr){const wt=()=>{f.subTree=ni(f),sr(N,f.subTree,f,x,null)};ot?p.type.__asyncLoader().then(()=>!f.isUnmounted&&wt()):wt()}else{const wt=f.subTree=ni(f);g(null,wt,_,w,f,x,T),p.el=wt.el}if(Q&&Rt(Q,x),!ot&&(B=U&&U.onVnodeMounted)){const wt=p;Rt(()=>Gt(B,ut,wt),x)}(p.shapeFlag&256||ut&&es(ut.vnode)&&ut.vnode.shapeFlag&256)&&f.a&&Rt(f.a,x),f.isMounted=!0,p=_=w=null}},E=f.effect=new Ws(S,()=>Gs(C),f.scope),C=f.update=()=>E.run();C.id=f.uid,Oe(f,!0),C()},nt=(f,p,_)=>{p.component=f;const w=f.vnode.props;f.vnode=p,f.next=null,Mu(f,p.props,w,_),Iu(f,p.children,_),Ve(),Hr(),Ze()},k=(f,p,_,w,x,T,$,S,E=!1)=>{const C=f&&f.children,B=f?f.shapeFlag:0,N=p.children,{patchFlag:U,shapeFlag:W}=p;if(U>0){if(U&128){lt(C,N,_,w,x,T,$,S,E);return}else if(U&256){K(C,N,_,w,x,T,$,S,E);return}}W&8?(B&16&&Mt(C,x,T),N!==C&&u(_,N)):B&16?W&16?lt(C,N,_,w,x,T,$,S,E):Mt(C,x,T,!0):(B&8&&u(_,""),W&16&&P(N,_,w,x,T,$,S,E))},K=(f,p,_,w,x,T,$,S,E)=>{f=f||Be,p=p||Be;const C=f.length,B=p.length,N=Math.min(C,B);let U;for(U=0;U<N;U++){const W=p[U]=E?be(p[U]):Xt(p[U]);g(f[U],W,_,null,x,T,$,S,E)}C>B?Mt(f,x,T,!0,!1,N):P(p,_,w,x,T,$,S,E,N)},lt=(f,p,_,w,x,T,$,S,E)=>{let C=0;const B=p.length;let N=f.length-1,U=B-1;for(;C<=N&&C<=U;){const W=f[C],Q=p[C]=E?be(p[C]):Xt(p[C]);if(Re(W,Q))g(W,Q,_,null,x,T,$,S,E);else break;C++}for(;C<=N&&C<=U;){const W=f[N],Q=p[U]=E?be(p[U]):Xt(p[U]);if(Re(W,Q))g(W,Q,_,null,x,T,$,S,E);else break;N--,U--}if(C>N){if(C<=U){const W=U+1,Q=W<B?p[W].el:w;for(;C<=U;)g(null,p[C]=E?be(p[C]):Xt(p[C]),_,Q,x,T,$,S,E),C++}}else if(C>U)for(;C<=N;)bt(f[C],x,T,!0),C++;else{const W=C,Q=C,ut=new Map;for(C=Q;C<=U;C++){const Lt=p[C]=E?be(p[C]):Xt(p[C]);Lt.key!=null&&ut.set(Lt.key,C)}let ot,wt=0;const Yt=U-Q+1;let sn=!1,Ga=0;const Rn=new Array(Yt);for(C=0;C<Yt;C++)Rn[C]=0;for(C=W;C<=N;C++){const Lt=f[C];if(wt>=Yt){bt(Lt,x,T,!0);continue}let ie;if(Lt.key!=null)ie=ut.get(Lt.key);else for(ot=Q;ot<=U;ot++)if(Rn[ot-Q]===0&&Re(Lt,p[ot])){ie=ot;break}ie===void 0?bt(Lt,x,T,!0):(Rn[ie-Q]=C+1,ie>=Ga?Ga=ie:sn=!0,g(Lt,p[ie],_,null,x,T,$,S,E),wt++)}const tl=sn?Nu(Rn):Be;for(ot=tl.length-1,C=Yt-1;C>=0;C--){const Lt=Q+C,ie=p[Lt],el=Lt+1<B?p[Lt+1].el:w;Rn[C]===0?g(null,ie,_,el,x,T,$,S,E):sn&&(ot<0||C!==tl[ot]?st(ie,_,el,2):ot--)}}},st=(f,p,_,w,x=null)=>{const{el:T,type:$,transition:S,children:E,shapeFlag:C}=f;if(C&6){st(f.component.subTree,p,_,w);return}if(C&128){f.suspense.move(p,_,w);return}if(C&64){$.move(f,p,_,nn);return}if($===kt){s(T,p,_);for(let N=0;N<E.length;N++)st(E[N],p,_,w);s(f.anchor,p,_);return}if($===us){Z(f,p,_);return}if(w!==2&&C&1&&S)if(w===0)S.beforeEnter(T),s(T,p,_),Rt(()=>S.enter(T),x);else{const{leave:N,delayLeave:U,afterLeave:W}=S,Q=()=>s(T,p,_),ut=()=>{N(T,()=>{Q(),W&&W()})};U?U(T,Q,ut):ut()}else s(T,p,_)},bt=(f,p,_,w=!1,x=!1)=>{const{type:T,props:$,ref:S,children:E,dynamicChildren:C,shapeFlag:B,patchFlag:N,dirs:U}=f;if(S!=null&&pi(S,null,_,f,!0),B&256){p.ctx.deactivate(f);return}const W=B&1&&U,Q=!es(f);let ut;if(Q&&(ut=$&&$.onVnodeBeforeUnmount)&&Gt(ut,p,f),B&6)se(f.component,_,w);else{if(B&128){f.suspense.unmount(_,w);return}W&&Ie(f,null,p,"beforeUnmount"),B&64?f.type.remove(f,p,_,x,nn,w):C&&(T!==kt||N>0&&N&64)?Mt(C,p,_,!1,!0):(T===kt&&N&384||!x&&B&16)&&Mt(E,p,_),w&&Kt(f)}(Q&&(ut=$&&$.onVnodeUnmounted)||W)&&Rt(()=>{ut&&Gt(ut,p,f),W&&Ie(f,null,p,"unmounted")},_)},Kt=f=>{const{type:p,el:_,anchor:w,transition:x}=f;if(p===kt){Dt(_,w);return}if(p===us){O(f);return}const T=()=>{i(_),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(f.shapeFlag&1&&x&&!x.persisted){const{leave:$,delayLeave:S}=x,E=()=>$(_,T);S?S(f.el,T,E):E()}else T()},Dt=(f,p)=>{let _;for(;f!==p;)_=d(f),i(f),f=_;i(p)},se=(f,p,_)=>{const{bum:w,scope:x,update:T,subTree:$,um:S}=f;w&&Bs(w),x.stop(),T&&(T.active=!1,bt($,f,p,_)),S&&Rt(S,p),Rt(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},Mt=(f,p,_,w=!1,x=!1,T=0)=>{for(let $=T;$<f.length;$++)bt(f[$],p,_,w,x)},Ns=f=>f.shapeFlag&6?Ns(f.component.subTree):f.shapeFlag&128?f.suspense.next():d(f.anchor||f.el),Xa=(f,p,_)=>{f==null?p._vnode&&bt(p._vnode,null,null,!0):g(p._vnode||null,f,p,null,null,null,_),Hr(),Fr(),p._vnode=f},nn={p:g,um:bt,m:st,r:Kt,mt:ht,mc:P,pc:k,pbc:J,n:Ns,o:t};let nr,sr;return e&&([nr,sr]=e(nn)),{render:Xa,hydrate:nr,createApp:Tu(Xa,nr)}}function Oe({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Pu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function yo(t,e,n=!1){const s=t.children,i=e.children;if(j(s)&&j(i))for(let r=0;r<s.length;r++){const o=s[r];let a=i[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[r]=be(i[r]),a.el=o.el),n||yo(o,a)),a.type===ls&&(a.el=o.el)}}function Nu(t){const e=t.slice(),n=[0];let s,i,r,o,a;const l=t.length;for(s=0;s<l;s++){const c=t[s];if(c!==0){if(i=n[n.length-1],t[i]<c){e[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)a=r+o>>1,t[n[a]]<c?r=a+1:o=a;c<t[n[r]]&&(r>0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}const Du=t=>t.__isTeleport,kt=Symbol.for("v-fgt"),ls=Symbol.for("v-txt"),zt=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),gn=[];let qt=null;function M(t=!1){gn.push(qt=t?null:[])}function Lu(){gn.pop(),qt=gn[gn.length-1]||null}let _n=1;function bo(t){_n+=t}function wo(t){return t.dynamicChildren=_n>0?qt||Be:null,Lu(),_n>0&&qt&&qt.push(t),t}function R(t,e,n,s,i,r){return wo(b(t,e,n,s,i,r,!0))}function ue(t,e,n,s,i){return wo(at(t,e,n,s,i,!0))}function hi(t){return t?t.__v_isVNode===!0:!1}function Re(t,e){return t.type===e.type&&t.key===e.key}const cs="__vInternal",xo=({key:t})=>t??null,fs=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?gt(t)||St(t)||z(t)?{i:Nt,r:t,k:e,f:!!n}:t:null);function b(t,e=null,n=null,s=0,i=null,r=t===kt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&xo(e),ref:e&&fs(e),scopeId:Qn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Nt};return a?(gi(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=gt(n)?8:16),_n>0&&!o&&qt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&qt.push(l),l}const at=Hu;function Hu(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===Gr)&&(t=zt),hi(t)){const a=ye(t,e,!0);return n&&gi(a,n),_n>0&&!r&&qt&&(a.shapeFlag&6?qt[qt.indexOf(t)]=a:qt.push(a)),a.patchFlag|=-2,a}if(Yu(t)&&(t=t.__vccOpts),e){e=Fu(e);let{class:a,style:l}=e;a&&!gt(a)&&(e.class=Tt(a)),ft(l)&&($r(l)&&!j(l)&&(l=vt({},l)),e.style=ke(l))}const o=gt(t)?1:iu(t)?128:Du(t)?64:ft(t)?4:z(t)?2:0;return b(t,e,n,s,i,o,r,!0)}function Fu(t){return t?$r(t)||cs in t?vt({},t):t:null}function ye(t,e,n=!1){const{props:s,ref:i,patchFlag:r,children:o}=t,a=e?Bu(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&xo(a),ref:e&&e.ref?n&&i?j(i)?i.concat(fs(e)):[i,fs(e)]:fs(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==kt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ye(t.ssContent),ssFallback:t.ssFallback&&ye(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function vn(t=" ",e=0){return at(ls,null,t,e)}function mi(t,e){const n=at(us,null,t);return n.staticCount=e,n}function _t(t="",e=!1){return e?(M(),ue(zt,null,t)):at(zt,null,t)}function Xt(t){return t==null||typeof t=="boolean"?at(zt):j(t)?at(kt,null,t.slice()):typeof t=="object"?be(t):at(ls,null,String(t))}function be(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ye(t)}function gi(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(j(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),gi(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!(cs in e)?e._ctx=Nt:i===3&&Nt&&(Nt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else z(e)?(e={default:e,_ctx:Nt},n=32):(e=String(e),s&64?(n=16,e=[vn(e)]):n=8);t.children=e,t.shapeFlag|=n}function Bu(...t){const e={};for(let n=0;n<t.length;n++){const s=t[n];for(const i in s)if(i==="class")e.class!==s.class&&(e.class=Tt([e.class,s.class]));else if(i==="style")e.style=ke([e.style,s.style]);else if(Pn(i)){const r=e[i],o=s[i];o&&r!==o&&!(j(r)&&r.includes(o))&&(e[i]=r?[].concat(r,o):o)}else i!==""&&(e[i]=s[i])}return e}function Gt(t,e,n,s=null){Ht(t,e,7,[n,s])}const Uu=lo();let ju=0;function Vu(t,e,n){const s=t.type,i=(e?e.appContext:t.appContext)||Uu,r={uid:ju++,vnode:t,type:s,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new ml(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:co(s,i),emitsOptions:Ur(s,i),emit:null,emitted:null,propsDefaults:ct,inheritAttrs:s.inheritAttrs,ctx:ct,data:ct,props:ct,attrs:ct,slots:ct,refs:ct,setupState:ct,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=Gl.bind(null,r),t.ce&&t.ce(r),r}let xt=null;const _i=()=>xt||Nt;let vi,Ye,Co="__VUE_INSTANCE_SETTERS__";(Ye=Us()[Co])||(Ye=Us()[Co]=[]),Ye.push(t=>xt=t),vi=t=>{Ye.length>1?Ye.forEach(e=>e(t)):Ye[0](t)};const Je=t=>{vi(t),t.scope.on()},Pe=()=>{xt&&xt.scope.off(),vi(null)};function So(t){return t.vnode.shapeFlag&4}let yn=!1;function Zu(t,e=!1){yn=e;const{props:n,children:s}=t.vnode,i=So(t);ku(t,n,i,e),$u(t,s);const r=i?Wu(t,e):void 0;return yn=!1,r}function Wu(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Ir(new Proxy(t.ctx,vu));const{setup:s}=n;if(s){const i=t.setupContext=s.length>1?qu(t):null;Je(t),Ve();const r=_e(s,t,0,[t.props,i]);if(Ze(),Pe(),rr(r)){if(r.then(Pe,Pe),e)return r.then(o=>{To(t,o,e)}).catch(o=>{Yn(o,t,0)});t.asyncDep=r}else To(t,r,e)}else ko(t,e)}function To(t,e,n){z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ft(e)&&(t.setupState=Pr(e)),ko(t,n)}let Eo;function ko(t,e,n){const s=t.type;if(!t.render){if(!e&&Eo&&!s.render){const i=s.template||ui(t).template;if(i){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=vt(vt({isCustomElement:r,delimiters:a},o),l);s.render=Eo(i,c)}}t.render=s.render||Zt}{Je(t),Ve();try{yu(t)}finally{Ze(),Pe()}}}function zu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return It(t,"get","$attrs"),e[n]}}))}function qu(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return zu(t)},slots:t.slots,emit:t.emit,expose:e}}function ds(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Pr(Ir(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in hn)return hn[n](t)},has(e,n){return n in e||n in hn}}))}function Ku(t,e=!0){return z(t)?t.displayName||t.name:t.name||e&&t.__name}function Yu(t){return z(t)&&"__vccOpts"in t}const ce=(t,e)=>zl(t,e,yn);function Ju(t,e,n){const s=arguments.length;return s===2?ft(e)&&!j(e)?hi(e)?at(t,null,[e]):at(t,e):at(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&hi(n)&&(n=[n]),at(t,e,n))}const Qu=Symbol.for("v-scx"),Xu=()=>as(Qu),Gu="3.3.7",tc="http://www.w3.org/2000/svg",Ne=typeof document<"u"?document:null,Mo=Ne&&Ne.createElement("template"),ec={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e?Ne.createElementNS(tc,t):Ne.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>Ne.createTextNode(t),createComment:t=>Ne.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ne.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,r){const o=n?n.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Mo.innerHTML=s?`<svg>${t}</svg>`:t;const a=Mo.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},we="transition",bn="animation",Qe=Symbol("_vtc"),Xe=(t,{slots:e})=>Ju(au,Io(t),e);Xe.displayName="Transition";const Ao={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},nc=Xe.props=vt({},zr,Ao),De=(t,e=[])=>{j(t)?t.forEach(n=>n(...e)):t&&t(...e)},$o=t=>t?j(t)?t.some(e=>e.length>1):t.length>1:!1;function Io(t){const e={};for(const I in t)I in Ao||(e[I]=t[I]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=t,m=sc(i),g=m&&m[0],A=m&&m[1],{onBeforeEnter:D,onEnter:H,onEnterCancelled:Z,onLeave:O,onLeaveCancelled:L,onBeforeAppear:F=D,onAppear:q=H,onAppearCancelled:P=Z}=e,V=(I,et,ht)=>{xe(I,et?u:a),xe(I,et?c:o),ht&&ht()},J=(I,et)=>{I._isLeaving=!1,xe(I,h),xe(I,v),xe(I,d),et&&et()},it=I=>(et,ht)=>{const Ct=I?q:H,rt=()=>V(et,I,ht);De(Ct,[et,rt]),Oo(()=>{xe(et,I?l:r),fe(et,I?u:a),$o(Ct)||Ro(et,s,g,rt)})};return vt(e,{onBeforeEnter(I){De(D,[I]),fe(I,r),fe(I,o)},onBeforeAppear(I){De(F,[I]),fe(I,l),fe(I,c)},onEnter:it(!1),onAppear:it(!0),onLeave(I,et){I._isLeaving=!0;const ht=()=>J(I,et);fe(I,h),Lo(),fe(I,d),Oo(()=>{I._isLeaving&&(xe(I,h),fe(I,v),$o(O)||Ro(I,s,A,ht))}),De(O,[I,ht])},onEnterCancelled(I){V(I,!1),De(Z,[I])},onAppearCancelled(I){V(I,!0),De(P,[I])},onLeaveCancelled(I){J(I),De(L,[I])}})}function sc(t){if(t==null)return null;if(ft(t))return[yi(t.enter),yi(t.leave)];{const e=yi(t);return[e,e]}}function yi(t){return ul(t)}function fe(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Qe]||(t[Qe]=new Set)).add(e)}function xe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[Qe];n&&(n.delete(e),n.size||(t[Qe]=void 0))}function Oo(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ic=0;function Ro(t,e,n,s){const i=t._endId=++ic,r=()=>{i===t._endId&&s()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=Po(t,e);if(!o)return s();const c=o+"end";let u=0;const h=()=>{t.removeEventListener(c,d),r()},d=v=>{v.target===t&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),t.addEventListener(c,d)}function Po(t,e){const n=window.getComputedStyle(t),s=m=>(n[m]||"").split(", "),i=s(`${we}Delay`),r=s(`${we}Duration`),o=No(i,r),a=s(`${bn}Delay`),l=s(`${bn}Duration`),c=No(a,l);let u=null,h=0,d=0;e===we?o>0&&(u=we,h=o,d=r.length):e===bn?c>0&&(u=bn,h=c,d=l.length):(h=Math.max(o,c),u=h>0?o>c?we:bn:null,d=u?u===we?r.length:l.length:0);const v=u===we&&/\b(transform|all)(,|$)/.test(s(`${we}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:v}}function No(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>Do(n)+Do(t[s])))}function Do(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Lo(){return document.body.offsetHeight}function rc(t,e,n){const s=t[Qe];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const bi=Symbol("_vod"),oc={beforeMount(t,{value:e},{transition:n}){t[bi]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):wn(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),wn(t,!0),s.enter(t)):s.leave(t,()=>{wn(t,!1)}):wn(t,e))},beforeUnmount(t,{value:e}){wn(t,e)}};function wn(t,e){t.style.display=e?t[bi]:"none"}function ac(t,e,n){const s=t.style,i=gt(n);if(n&&!i){if(e&&!gt(e))for(const r in e)n[r]==null&&wi(s,r,"");for(const r in n)wi(s,r,n[r])}else{const r=s.display;i?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),bi in t&&(s.display=r)}}const Ho=/\s*!important$/;function wi(t,e,n){if(j(n))n.forEach(s=>wi(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=lc(t,e);Ho.test(n)?t.setProperty(je(s),n.replace(Ho,""),"important"):t[s]=n}}const Fo=["Webkit","Moz","ms"],xi={};function lc(t,e){const n=xi[e];if(n)return n;let s=Jt(e);if(s!=="filter"&&s in t)return xi[e]=s;s=Fn(s);for(let i=0;i<Fo.length;i++){const r=Fo[i]+s;if(r in t)return xi[e]=r}return e}const Bo="http://www.w3.org/1999/xlink";function uc(t,e,n,s,i){if(s&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Bo,e.slice(6,e.length)):t.setAttributeNS(Bo,e,n);else{const r=hl(e);n==null||r&&!ur(n)?t.removeAttribute(e):t.setAttribute(e,r?"":n)}}function cc(t,e,n,s,i,r,o){if(e==="innerHTML"||e==="textContent"){s&&o(s,i,r),t[e]=n??"";return}const a=t.tagName;if(e==="value"&&a!=="PROGRESS"&&!a.includes("-")){t._value=n;const c=a==="OPTION"?t.getAttribute("value"):t.value,u=n??"";c!==u&&(t.value=u),n==null&&t.removeAttribute(e);return}let l=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=ur(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{t[e]=n}catch{}l&&t.removeAttribute(e)}function fc(t,e,n,s){t.addEventListener(e,n,s)}function dc(t,e,n,s){t.removeEventListener(e,n,s)}const Uo=Symbol("_vei");function pc(t,e,n,s,i=null){const r=t[Uo]||(t[Uo]={}),o=r[e];if(s&&o)o.value=s;else{const[a,l]=hc(e);if(s){const c=r[e]=_c(s,i);fc(t,a,c,l)}else o&&(dc(t,a,o,l),r[e]=void 0)}}const jo=/(?:Once|Passive|Capture)$/;function hc(t){let e;if(jo.test(t)){e={};let s;for(;s=t.match(jo);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):je(t.slice(2)),e]}let Ci=0;const mc=Promise.resolve(),gc=()=>Ci||(mc.then(()=>Ci=0),Ci=Date.now());function _c(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ht(vc(s,n.value),e,5,[s])};return n.value=t,n.attached=gc(),n}function vc(t,e){if(j(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Vo=/^on[a-z]/,yc=(t,e,n,s,i=!1,r,o,a,l)=>{e==="class"?rc(t,s,i):e==="style"?ac(t,n,s):Pn(e)?Ds(e)||pc(t,e,n,s,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):bc(t,e,s,i))?cc(t,e,s,r,o,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),uc(t,e,s,i))};function bc(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&Vo.test(e)&&z(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||Vo.test(e)&&gt(n)?!1:e in t}const Zo=new WeakMap,Wo=new WeakMap,ps=Symbol("_moveCb"),zo=Symbol("_enterCb"),qo={name:"TransitionGroup",props:vt({},nc,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=_i(),s=Wr();let i,r;return Jr(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!Ec(i[0].el,n.vnode.el,o))return;i.forEach(Cc),i.forEach(Sc);const a=i.filter(Tc);Lo(),a.forEach(l=>{const c=l.el,u=c.style;fe(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const h=c[ps]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",h),c[ps]=null,xe(c,o))};c.addEventListener("transitionend",h)})}),()=>{const o=X(t),a=Io(o);let l=o.tag||kt;i=r,r=e.default?ii(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&fn(u,cn(u,a,s,n))}if(i)for(let c=0;c<i.length;c++){const u=i[c];fn(u,cn(u,a,s,n)),Zo.set(u,u.el.getBoundingClientRect())}return at(l,null,r)}}},wc=t=>delete t.mode;qo.props;const xc=qo;function Cc(t){const e=t.el;e[ps]&&e[ps](),e[zo]&&e[zo]()}function Sc(t){Wo.set(t,t.el.getBoundingClientRect())}function Tc(t){const e=Zo.get(t),n=Wo.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",t}}function Ec(t,e,n){const s=t.cloneNode(),i=t[Qe];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(s);const{hasTransform:o}=Po(s);return r.removeChild(s),o}const kc=vt({patchProp:yc},ec);let Ko;function Mc(){return Ko||(Ko=Ou(kc))}const Si=(...t)=>{const e=Mc().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=Ac(s);if(!i)return;const r=e._component;!z(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Ac(t){return gt(t)?document.querySelector(t):t}const Z0="";function Yo(t,e){return function(){return t.apply(e,arguments)}}const{toString:$c}=Object.prototype,{getPrototypeOf:Ti}=Object,hs=(t=>e=>{const n=$c.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),te=t=>(t=t.toLowerCase(),e=>hs(e)===t),ms=t=>e=>typeof e===t,{isArray:Ge}=Array,xn=ms("undefined");function Ic(t){return t!==null&&!xn(t)&&t.constructor!==null&&!xn(t.constructor)&&Ut(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Jo=te("ArrayBuffer");function Oc(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Jo(t.buffer),e}const Rc=ms("string"),Ut=ms("function"),Qo=ms("number"),gs=t=>t!==null&&typeof t=="object",Pc=t=>t===!0||t===!1,_s=t=>{if(hs(t)!=="object")return!1;const e=Ti(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Nc=te("Date"),Dc=te("File"),Lc=te("Blob"),Hc=te("FileList"),Fc=t=>gs(t)&&Ut(t.pipe),Bc=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Ut(t.append)&&((e=hs(t))==="formdata"||e==="object"&&Ut(t.toString)&&t.toString()==="[object FormData]"))},Uc=te("URLSearchParams"),jc=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cn(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,i;if(typeof t!="object"&&(t=[t]),Ge(t))for(s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(s=0;s<o;s++)a=r[s],e.call(null,t[a],a,t)}}function Xo(t,e){e=e.toLowerCase();const n=Object.keys(t);let s=n.length,i;for(;s-- >0;)if(i=n[s],e===i.toLowerCase())return i;return null}const Go=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ta=t=>!xn(t)&&t!==Go;function Ei(){const{caseless:t}=ta(this)&&this||{},e={},n=(s,i)=>{const r=t&&Xo(e,i)||i;_s(e[r])&&_s(s)?e[r]=Ei(e[r],s):_s(s)?e[r]=Ei({},s):Ge(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s<i;s++)arguments[s]&&Cn(arguments[s],n);return e}const Vc=(t,e,n,{allOwnKeys:s}={})=>(Cn(e,(i,r)=>{n&&Ut(i)?t[r]=Yo(i,n):t[r]=i},{allOwnKeys:s}),t),Zc=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Wc=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},zc=(t,e,n,s)=>{let i,r,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),r=i.length;r-- >0;)o=i[r],(!s||s(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Ti(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},qc=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Kc=t=>{if(!t)return null;if(Ge(t))return t;let e=t.length;if(!Qo(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Yc=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ti(Uint8Array)),Jc=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(t,r[0],r[1])}},Qc=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Xc=te("HTMLFormElement"),Gc=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,i){return s.toUpperCase()+i}),ea=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),tf=te("RegExp"),na=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Cn(n,(i,r)=>{let o;(o=e(i,r,t))!==!1&&(s[r]=o||i)}),Object.defineProperties(t,s)},ef=t=>{na(t,(e,n)=>{if(Ut(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Ut(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nf=(t,e)=>{const n={},s=i=>{i.forEach(r=>{n[r]=!0})};return Ge(t)?s(t):s(String(t).split(e)),n},sf=()=>{},rf=(t,e)=>(t=+t,Number.isFinite(t)?t:e),ki="abcdefghijklmnopqrstuvwxyz",sa="0123456789",ia={DIGIT:sa,ALPHA:ki,ALPHA_DIGIT:ki+ki.toUpperCase()+sa},of=(t=16,e=ia.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function af(t){return!!(t&&Ut(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const lf=t=>{const e=new Array(10),n=(s,i)=>{if(gs(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[i]=s;const r=Ge(s)?[]:{};return Cn(s,(o,a)=>{const l=n(o,i+1);!xn(l)&&(r[a]=l)}),e[i]=void 0,r}}return s};return n(t,0)},uf=te("AsyncFunction"),y={isArray:Ge,isArrayBuffer:Jo,isBuffer:Ic,isFormData:Bc,isArrayBufferView:Oc,isString:Rc,isNumber:Qo,isBoolean:Pc,isObject:gs,isPlainObject:_s,isUndefined:xn,isDate:Nc,isFile:Dc,isBlob:Lc,isRegExp:tf,isFunction:Ut,isStream:Fc,isURLSearchParams:Uc,isTypedArray:Yc,isFileList:Hc,forEach:Cn,merge:Ei,extend:Vc,trim:jc,stripBOM:Zc,inherits:Wc,toFlatObject:zc,kindOf:hs,kindOfTest:te,endsWith:qc,toArray:Kc,forEachEntry:Jc,matchAll:Qc,isHTMLForm:Xc,hasOwnProperty:ea,hasOwnProp:ea,reduceDescriptors:na,freezeMethods:ef,toObjectSet:nf,toCamelCase:Gc,noop:sf,toFiniteNumber:rf,findKey:Xo,global:Go,isContextDefined:ta,ALPHABET:ia,generateString:of,isSpecCompliantForm:af,toJSONObject:lf,isAsyncFn:uf,isThenable:t=>t&&(gs(t)||Ut(t))&&Ut(t.then)&&Ut(t.catch)};function G(t,e,n,s,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i)}y.inherits(G,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:y.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ra=G.prototype,oa={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{oa[t]={value:t}}),Object.defineProperties(G,oa),Object.defineProperty(ra,"isAxiosError",{value:!0}),G.from=(t,e,n,s,i,r)=>{const o=Object.create(ra);return y.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),G.call(o,t.message,e,n,s,i),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const cf=null;function Mi(t){return y.isPlainObject(t)||y.isArray(t)}function aa(t){return y.endsWith(t,"[]")?t.slice(0,-2):t}function la(t,e,n){return t?t.concat(e).map(function(i,r){return i=aa(i),!n&&r?"["+i+"]":i}).join(n?".":""):e}function ff(t){return y.isArray(t)&&!t.some(Mi)}const df=y.toFlatObject(y,{},null,function(e){return/^is[A-Z]/.test(e)});function vs(t,e,n){if(!y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,A){return!y.isUndefined(A[g])});const s=n.metaTokens,i=n.visitor||u,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(e);if(!y.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(y.isDate(m))return m.toISOString();if(!l&&y.isBlob(m))throw new G("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(m)||y.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,g,A){let D=m;if(m&&!A&&typeof m=="object"){if(y.endsWith(g,"{}"))g=s?g:g.slice(0,-2),m=JSON.stringify(m);else if(y.isArray(m)&&ff(m)||(y.isFileList(m)||y.endsWith(g,"[]"))&&(D=y.toArray(m)))return g=aa(g),D.forEach(function(Z,O){!(y.isUndefined(Z)||Z===null)&&e.append(o===!0?la([g],O,r):o===null?g:g+"[]",c(Z))}),!1}return Mi(m)?!0:(e.append(la(A,g,r),c(m)),!1)}const h=[],d=Object.assign(df,{defaultVisitor:u,convertValue:c,isVisitable:Mi});function v(m,g){if(!y.isUndefined(m)){if(h.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));h.push(m),y.forEach(m,function(D,H){(!(y.isUndefined(D)||D===null)&&i.call(e,D,y.isString(H)?H.trim():H,g,d))===!0&&v(D,g?g.concat(H):[H])}),h.pop()}}if(!y.isObject(t))throw new TypeError("data must be an object");return v(t),e}function ua(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Ai(t,e){this._pairs=[],t&&vs(t,this,e)}const ca=Ai.prototype;ca.append=function(e,n){this._pairs.push([e,n])},ca.toString=function(e){const n=e?function(s){return e.call(this,s,ua)}:ua;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function pf(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fa(t,e,n){if(!e)return t;const s=n&&n.encode||pf,i=n&&n.serialize;let r;if(i?r=i(e,n):r=y.isURLSearchParams(e)?e.toString():new Ai(e,n).toString(s),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class hf{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){y.forEach(this.handlers,function(s){s!==null&&e(s)})}}const da=hf,pa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},mf=typeof URLSearchParams<"u"?URLSearchParams:Ai,gf=typeof FormData<"u"?FormData:null,_f=typeof Blob<"u"?Blob:null,vf=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),yf=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ee={isBrowser:!0,classes:{URLSearchParams:mf,FormData:gf,Blob:_f},isStandardBrowserEnv:vf,isStandardBrowserWebWorkerEnv:yf,protocols:["http","https","file","blob","url","data"]};function bf(t,e){return vs(t,new ee.classes.URLSearchParams,Object.assign({visitor:function(n,s,i,r){return ee.isNode&&y.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function wf(t){return y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function xf(t){const e={},n=Object.keys(t);let s;const i=n.length;let r;for(s=0;s<i;s++)r=n[s],e[r]=t[r];return e}function ha(t){function e(n,s,i,r){let o=n[r++];const a=Number.isFinite(+o),l=r>=n.length;return o=!o&&y.isArray(i)?i.length:o,l?(y.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!y.isObject(i[o]))&&(i[o]=[]),e(n,s,i[o],r)&&y.isArray(i[o])&&(i[o]=xf(i[o])),!a)}if(y.isFormData(t)&&y.isFunction(t.entries)){const n={};return y.forEachEntry(t,(s,i)=>{e(wf(s),i,n,0)}),n}return null}function Cf(t,e,n){if(y.isString(t))try{return(e||JSON.parse)(t),y.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const $i={transitional:pa,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",i=s.indexOf("application/json")>-1,r=y.isObject(e);if(r&&y.isHTMLForm(e)&&(e=new FormData(e)),y.isFormData(e))return i&&i?JSON.stringify(ha(e)):e;if(y.isArrayBuffer(e)||y.isBuffer(e)||y.isStream(e)||y.isFile(e)||y.isBlob(e))return e;if(y.isArrayBufferView(e))return e.buffer;if(y.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return bf(e,this.formSerializer).toString();if((a=y.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return vs(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),Cf(e)):e}],transformResponse:[function(e){const n=this.transitional||$i.transitional,s=n&&n.forcedJSONParsing,i=this.responseType==="json";if(e&&y.isString(e)&&(s&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?G.from(a,G.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ee.classes.FormData,Blob:ee.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],t=>{$i.headers[t]={}});const Ii=$i,Sf=y.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Tf=t=>{const e={};let n,s,i;return t&&t.split(`
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),s=o.substring(i+1).trim(),!(!n||e[n]&&Sf[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},ma=Symbol("internals");function Sn(t){return t&&String(t).trim().toLowerCase()}function ys(t){return t===!1||t==null?t:y.isArray(t)?t.map(ys):String(t)}function Ef(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const kf=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Oi(t,e,n,s,i){if(y.isFunction(s))return s.call(this,e,n);if(i&&(e=n),!!y.isString(e)){if(y.isString(s))return e.indexOf(s)!==-1;if(y.isRegExp(s))return s.test(e)}}function Mf(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Af(t,e){const n=y.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(i,r,o){return this[s].call(this,e,i,r,o)},configurable:!0})})}class bs{constructor(e){e&&this.set(e)}set(e,n,s){const i=this;function r(a,l,c){const u=Sn(l);if(!u)throw new Error("header name must be a non-empty string");const h=y.findKey(i,u);(!h||i[h]===void 0||c===!0||c===void 0&&i[h]!==!1)&&(i[h||l]=ys(a))}const o=(a,l)=>y.forEach(a,(c,u)=>r(c,u,l));return y.isPlainObject(e)||e instanceof this.constructor?o(e,n):y.isString(e)&&(e=e.trim())&&!kf(e)?o(Tf(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Sn(e),e){const s=y.findKey(this,e);if(s){const i=this[s];if(!n)return i;if(n===!0)return Ef(i);if(y.isFunction(n))return n.call(this,i,s);if(y.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Sn(e),e){const s=y.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Oi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let i=!1;function r(o){if(o=Sn(o),o){const a=y.findKey(s,o);a&&(!n||Oi(s,s[a],a,n))&&(delete s[a],i=!0)}}return y.isArray(e)?e.forEach(r):r(e),i}clear(e){const n=Object.keys(this);let s=n.length,i=!1;for(;s--;){const r=n[s];(!e||Oi(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const n=this,s={};return y.forEach(this,(i,r)=>{const o=y.findKey(s,r);if(o){n[o]=ys(i),delete n[r];return}const a=e?Mf(r):String(r).trim();a!==r&&delete n[r],n[a]=ys(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return y.forEach(this,(s,i)=>{s!=null&&s!==!1&&(n[i]=e&&y.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(i=>s.set(i)),s}static accessor(e){const s=(this[ma]=this[ma]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=Sn(o);s[a]||(Af(i,o),s[a]=!0)}return y.isArray(e)?e.forEach(r):r(e),this}}bs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(bs.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}}),y.freezeMethods(bs);const de=bs;function Ri(t,e){const n=this||Ii,s=e||n,i=de.from(s.headers);let r=s.data;return y.forEach(t,function(a){r=a.call(n,r,i.normalize(),e?e.status:void 0)}),i.normalize(),r}function ga(t){return!!(t&&t.__CANCEL__)}function Tn(t,e,n){G.call(this,t??"canceled",G.ERR_CANCELED,e,n),this.name="CanceledError"}y.inherits(Tn,G,{__CANCEL__:!0});function $f(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new G("Request failed with status code "+n.status,[G.ERR_BAD_REQUEST,G.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const If=ee.isStandardBrowserEnv?function(){return{write:function(n,s,i,r,o,a){const l=[];l.push(n+"="+encodeURIComponent(s)),y.isNumber(i)&&l.push("expires="+new Date(i).toGMTString()),y.isString(r)&&l.push("path="+r),y.isString(o)&&l.push("domain="+o),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Of(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Rf(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function _a(t,e){return t&&!Of(e)?Rf(t,e):e}const Pf=ee.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function i(r){let o=r;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return s=i(window.location.href),function(o){const a=y.isString(o)?i(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Nf(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Df(t,e){t=t||10;const n=new Array(t),s=new Array(t);let i=0,r=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];o||(o=c),n[i]=l,s[i]=c;let h=r,d=0;for(;h!==i;)d+=n[h++],h=h%t;if(i=(i+1)%t,i===r&&(r=(r+1)%t),c-o<e)return;const v=u&&c-u;return v?Math.round(d*1e3/v):void 0}}function va(t,e){let n=0;const s=Df(50,250);return i=>{const r=i.loaded,o=i.lengthComputable?i.total:void 0,a=r-n,l=s(a),c=r<=o;n=r;const u={loaded:r,total:o,progress:o?r/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&c?(o-r)/l:void 0,event:i};u[e?"download":"upload"]=!0,t(u)}}const Pi={http:cf,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,s){let i=t.data;const r=de.from(t.headers).normalize(),o=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}let c;y.isFormData(i)&&(ee.isStandardBrowserEnv||ee.isStandardBrowserWebWorkerEnv?r.setContentType(!1):r.getContentType(/^\s*multipart\/form-data/)?y.isString(c=r.getContentType())&&r.setContentType(c.replace(/^\s*(multipart\/form-data);+/,"$1")):r.setContentType("multipart/form-data"));let u=new XMLHttpRequest;if(t.auth){const m=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(m+":"+g))}const h=_a(t.baseURL,t.url);u.open(t.method.toUpperCase(),fa(h,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function d(){if(!u)return;const m=de.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),A={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:m,config:t,request:u};$f(function(H){n(H),l()},function(H){s(H),l()},A),u=null}if("onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(d)},u.onabort=function(){u&&(s(new G("Request aborted",G.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new G("Network Error",G.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const A=t.transitional||pa;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new G(g,A.clarifyTimeoutError?G.ETIMEDOUT:G.ECONNABORTED,t,u)),u=null},ee.isStandardBrowserEnv){const m=Pf(h)&&t.xsrfCookieName&&If.read(t.xsrfCookieName);m&&r.set(t.xsrfHeaderName,m)}i===void 0&&r.setContentType(null),"setRequestHeader"in u&&y.forEach(r.toJSON(),function(g,A){u.setRequestHeader(A,g)}),y.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),o&&o!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",va(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",va(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=m=>{u&&(s(!m||m.type?new Tn(null,t,u):m),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const v=Nf(h);if(v&&ee.protocols.indexOf(v)===-1){s(new G("Unsupported protocol "+v+":",G.ERR_BAD_REQUEST,t));return}u.send(i||null)})}};y.forEach(Pi,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const ya=t=>`- ${t}`,Lf=t=>y.isFunction(t)||t===null||t===!1,ba={getAdapter:t=>{t=y.isArray(t)?t:[t];const{length:e}=t;let n,s;const i={};for(let r=0;r<e;r++){n=t[r];let o;if(s=n,!Lf(n)&&(s=Pi[(o=String(n)).toLowerCase()],s===void 0))throw new G(`Unknown adapter '${o}'`);if(s)break;i[o||"#"+r]=s}if(!s){const r=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since :
`+r.map(ya).join(`
`):" "+ya(r[0]):"as no adapter specified";throw new G("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Pi};function Ni(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Tn(null,t)}function wa(t){return Ni(t),t.headers=de.from(t.headers),t.data=Ri.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ba.getAdapter(t.adapter||Ii.adapter)(t).then(function(s){return Ni(t),s.data=Ri.call(t,t.transformResponse,s),s.headers=de.from(s.headers),s},function(s){return ga(s)||(Ni(t),s&&s.response&&(s.response.data=Ri.call(t,t.transformResponse,s.response),s.response.headers=de.from(s.response.headers))),Promise.reject(s)})}const xa=t=>t instanceof de?t.toJSON():t;function tn(t,e){e=e||{};const n={};function s(c,u,h){return y.isPlainObject(c)&&y.isPlainObject(u)?y.merge.call({caseless:h},c,u):y.isPlainObject(u)?y.merge({},u):y.isArray(u)?u.slice():u}function i(c,u,h){if(y.isUndefined(u)){if(!y.isUndefined(c))return s(void 0,c,h)}else return s(c,u,h)}function r(c,u){if(!y.isUndefined(u))return s(void 0,u)}function o(c,u){if(y.isUndefined(u)){if(!y.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,h){if(h in e)return s(c,u);if(h in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u)=>i(xa(c),xa(u),!0)};return y.forEach(Object.keys(Object.assign({},t,e)),function(u){const h=l[u]||i,d=h(t[u],e[u],u);y.isUndefined(d)&&h!==a||(n[u]=d)}),n}const Ca="1.6.0",Di={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Di[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Sa={};Di.transitional=function(e,n,s){function i(r,o){return"[Axios v"+Ca+"] Transitional option '"+r+"'"+o+(s?". "+s:"")}return(r,o,a)=>{if(e===!1)throw new G(i(o," has been removed"+(n?" in "+n:"")),G.ERR_DEPRECATED);return n&&!Sa[o]&&(Sa[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,o,a):!0}};function Hf(t,e,n){if(typeof t!="object")throw new G("options must be an object",G.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let i=s.length;for(;i-- >0;){const r=s[i],o=e[r];if(o){const a=t[r],l=a===void 0||o(a,r,t);if(l!==!0)throw new G("option "+r+" must be "+l,G.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new G("Unknown option "+r,G.ERR_BAD_OPTION)}}const Li={assertOptions:Hf,validators:Di},Ce=Li.validators;class ws{constructor(e){this.defaults=e,this.interceptors={request:new da,response:new da}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=tn(this.defaults,n);const{transitional:s,paramsSerializer:i,headers:r}=n;s!==void 0&&Li.assertOptions(s,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean)},!1),i!=null&&(y.isFunction(i)?n.paramsSerializer={serialize:i}:Li.assertOptions(i,{encode:Ce.function,serialize:Ce.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=r&&y.merge(r.common,r[n.method]);r&&y.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=de.concat(o,r);const a=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,h=0,d;if(!l){const m=[wa.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,c),d=m.length,u=Promise.resolve(n);h<d;)u=u.then(m[h++],m[h++]);return u}d=a.length;let v=n;for(h=0;h<d;){const m=a[h++],g=a[h++];try{v=m(v)}catch(A){g.call(this,A);break}}try{u=wa.call(this,v)}catch(m){return Promise.reject(m)}for(h=0,d=c.length;h<d;)u=u.then(c[h++],c[h++]);return u}getUri(e){e=tn(this.defaults,e);const n=_a(e.baseURL,e.url);return fa(n,e.params,e.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(e){ws.prototype[e]=function(n,s){return this.request(tn(s||{},{method:e,url:n,data:(s||{}).data}))}}),y.forEach(["post","put","patch"],function(e){function n(s){return function(r,o,a){return this.request(tn(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}ws.prototype[e]=n(),ws.prototype[e+"Form"]=n(!0)});const xs=ws;class Hi{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const s=this;this.promise.then(i=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](i);s._listeners=null}),this.promise.then=i=>{let r;const o=new Promise(a=>{s.subscribe(a),r=a}).then(i);return o.cancel=function(){s.unsubscribe(r)},o},e(function(r,o,a){s.reason||(s.reason=new Tn(r,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Hi(function(i){e=i}),cancel:e}}}const Ff=Hi;function Bf(t){return function(n){return t.apply(null,n)}}function Uf(t){return y.isObject(t)&&t.isAxiosError===!0}const Fi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fi).forEach(([t,e])=>{Fi[e]=t});const jf=Fi;function Ta(t){const e=new xs(t),n=Yo(xs.prototype.request,e);return y.extend(n,xs.prototype,e,{allOwnKeys:!0}),y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return Ta(tn(t,i))},n}const yt=Ta(Ii);yt.Axios=xs,yt.CanceledError=Tn,yt.CancelToken=Ff,yt.isCancel=ga,yt.VERSION=Ca,yt.toFormData=vs,yt.AxiosError=G,yt.Cancel=yt.CanceledError,yt.all=function(e){return Promise.all(e)},yt.spread=Bf,yt.isAxiosError=Uf,yt.mergeConfig=tn,yt.AxiosHeaders=de,yt.formToJSON=t=>ha(y.isHTMLForm(t)?new FormData(t):t),yt.getAdapter=ba.getAdapter,yt.HttpStatusCode=jf,yt.default=yt;const Vf=yt,Cs="https://api.tiun.live/live_api",$t="3SJvsHtdbQAWegqna1Ega8hUj8sNCTZcZZ60wED6",Bi="https://my.tiun.app",pe="false",Ss="de",Ts="false",Zf="v3_20240430_1",jt=Vf.create({baseURL:Cs,withCredentials:!0,headers:{}});jt.interceptors.response.use(function(t){var n;const e=(n=t.data)==null?void 0:n.newState;return e&&localStorage.setItem("tiun_state",e),t}),jt.interceptors.request.use(function(t){const e=localStorage.getItem("tiun_state");return e&&(t.headers["X-TIUN-STATE"]=e),Ts.toLowerCase()==="true"&&(t.headers["X-SNIPPET-PREVIEW"]="true"),t},function(t){return Promise.reject(t)});const Ea={active:"4eb1d4ce-ec68-49f7-b3d7-ce9f172a84cb",inactive:"de6c0a23-b259-4c4f-aad9-c0eab912c301"},Wf=async(t,e,n)=>{const s=await jt.post(`/v3/snippets/${$t}/modules`,{language:Ss,appearance:"Light",version:Zf,currentUrl:window.location.href,contentId:t,contentType:e},{params:{oldSessionIdToMigrate:n}});return s==null?void 0:s.data},zf=async(t,e)=>{const n=await jt.get(`/v2/snippets/${$t}/sessions`,{params:{referrer:t,oldSessionIdToMigrate:e}});return n==null?void 0:n.data},qf=async(t,e,n)=>{const s=await jt.patch(`/v2/snippets/${$t}/sessions`,{currentUrl:window.location.href,contentId:t,contentType:e==="active"?Ea.active:e==="inactive"?Ea.inactive:void 0},{params:{oldSessionIdToMigrate:n}});return s==null?void 0:s.data},Kf=async()=>{const t=await jt.delete(`/v2/snippets/${$t}/sessions`);return t==null?void 0:t.data},Ui=async t=>{const e=await jt.post(`/v2/snippets/${$t}/sessions`,{currentUrl:window.location.href},{params:{oldSessionIdToMigrate:t}});return e==null?void 0:e.data},Yf=async()=>{const t=await jt.get(`/v2/snippets/${$t}/wallet_pricing`);return t==null?void 0:t.data};function ka(t){return fr()?(_l(t),!0):!1}function ji(t){return typeof t=="function"?t():pt(t)}const Ma=typeof window<"u"&&typeof document<"u",Jf=Object.prototype.toString,Qf=t=>Jf.call(t)==="[object Object]",Aa=()=>+Date.now(),Vi=()=>{};function Xf(t,e){function n(...s){return new Promise((i,r)=>{Promise.resolve(t(()=>e.apply(this,s),{fn:e,thisArg:this,args:s})).then(i).catch(r)})}return n}function Gf(t,e=!0,n=!0,s=!1){let i=0,r,o=!0,a=Vi,l;const c=()=>{r&&(clearTimeout(r),r=void 0,a(),a=Vi)};return h=>{const d=ji(t),v=Date.now()-i,m=()=>l=h();return c(),d<=0?(i=Date.now(),m()):(v>d&&(n||!o)?(i=Date.now(),m()):e&&(l=new Promise((g,A)=>{a=s?A:g,r=setTimeout(()=>{i=Date.now(),o=!0,g(m()),c()},Math.max(0,d-v))})),!n&&!r&&(r=setTimeout(()=>o=!0,d)),o=!1,l)}}function en(t){var e;const n=ji(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Es=Ma?window:void 0,td=Ma?window.document:void 0;function Zi(...t){let e,n,s,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,i]=t,e=Es):[e,n,s,i]=t,!e)return Vi;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,h,d,v)=>(u.addEventListener(h,d,v),()=>u.removeEventListener(h,d,v)),l=Ot(()=>[en(e),ji(i)],([u,h])=>{if(o(),!u)return;const d=Qf(h)?{...h}:h;r.push(...n.flatMap(v=>s.map(m=>a(u,v,m,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return ka(c),c}function ed(){const t=Y(!1);return _i()&&dn(()=>{t.value=!0}),t}function nd(t){const e=ed();return ce(()=>(e.value,!!t()))}function sd(t={}){const{document:e=td}=t;if(!e)return Y("visible");const n=Y(e.visibilityState);return Zi(e,"visibilitychange",()=>{n.value=e.visibilityState}),n}function id(t,e,n={}){const{window:s=Es,...i}=n;let r;const o=nd(()=>s&&"ResizeObserver"in s),a=()=>{r&&(r.disconnect(),r=void 0)},l=ce(()=>Array.isArray(t)?t.map(h=>en(h)):[en(t)]),c=Ot(l,h=>{if(a(),o.value&&s){r=new ResizeObserver(e);for(const d of h)d&&r.observe(d,i)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{a(),c()};return ka(u),{isSupported:o,stop:u}}function $a(t,e={width:0,height:0},n={}){const{window:s=Es,box:i="content-box"}=n,r=ce(()=>{var l,c;return(c=(l=en(t))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),o=Y(e.width),a=Y(e.height);return id(t,([l])=>{const c=i==="border-box"?l.borderBoxSize:i==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(s&&r.value){const u=en(t);if(u){const h=s.getComputedStyle(u);o.value=Number.parseFloat(h.width),a.value=Number.parseFloat(h.height)}}else if(c){const u=Array.isArray(c)?c:[c];o.value=u.reduce((h,{inlineSize:d})=>h+d,0),a.value=u.reduce((h,{blockSize:d})=>h+d,0)}else o.value=l.contentRect.width,a.value=l.contentRect.height},n),Ot(()=>en(t),l=>{o.value=l?e.width:0,a.value=l?e.height:0}),{width:o,height:a}}const rd=["mousemove","mousedown","resize","keydown","touchstart","wheel"],od=6e4;function ad(t=od,e={}){const{initialState:n=!1,listenForVisibilityChange:s=!0,events:i=rd,window:r=Es,eventFilter:o=Gf(50)}=e,a=Y(n),l=Y(Aa());let c;const u=()=>{a.value=!1,clearTimeout(c),c=setTimeout(()=>a.value=!0,t)},h=Xf(o,()=>{l.value=Aa(),u()});if(r){const d=r.document;for(const v of i)Zi(r,v,h,{passive:!0});s&&Zi(d,"visibilitychange",()=>{d.hidden||h()}),u()}return{idle:a,lastActive:l,reset:u}}const ks=on({snackbars:[]});let ld=0;function ud(t){const e=ld++;ks.snackbars.push({...t,id:e}),t.duration!==0&&setTimeout(()=>Ia(e),t.duration||3e3)}function Ia(t){const e=ks.snackbars.findIndex(n=>n.id===t);e!==-1&&ks.snackbars.splice(e,1)}function Oa(){return{...Nr(ks),createSnackbar:ud,closeSnackbar:Ia}}const cd={class:"tiun-flex tiun-gap-4 tiun-items-center"},fd={key:0,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"tiun-h-5 tiun-w-5 tiun-text-white tiun-flex-shrink-0"},dd=[b("path",{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z","clip-rule":"evenodd"},null,-1)],pd={key:1,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"tiun-h-5 tiun-w-5 tiun-text-white tiun-flex-shrink-0"},hd=[b("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)],md=["innerHTML"],gd=[b("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",class:"tiun-h-5 tiun-w-5 tiun-text-white tiun-flex-shrink-0"},[b("path",{"fill-rule":"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z","clip-rule":"evenodd"})],-1)],_d=Bt({__name:"Snackbar",props:{snackbar:{type:Object,required:!0}},emits:["destroySnackbar"],setup(t){function e(n){switch(n){case"success":return"tiun-bg-teal-500 tiun-text-white";case"error":return"tiun-bg-pink-600 tiun-text-white";case"warning":return"tiun-bg-yellow-500 tiun-text-white";default:return"tiun-bg-teal-500 tiun-text-white"}}return(n,s)=>(M(),R("article",{class:Tt([e(t.snackbar.state),"tiun-z-[999999] tiun-text-[14px] tiun-fixed tiun-top-4 tiun-right-4 tiun-text-white tiun-p-4 tiun-rounded-xl tiun-shadow-2xl tiun-max-w-sm tiun-mx-auto tiun-flex tiun-items-center tiun-gap-4 tiun-justify-between"])},[b("div",cd,[t.snackbar.state==="success"?(M(),R("svg",fd,dd)):_t("",!0),t.snackbar.state==="error"||t.snackbar.state==="warning"?(M(),R("svg",pd,hd)):_t("",!0),b("p",{innerHTML:t.snackbar.text,class:"!tiun-text-[14px] !tiun-text-white"},null,8,md),t.snackbar.action?(M(),R("button",{key:2,type:"button",class:"tiun-underline",onClick:s[0]||(s[0]=()=>{var i;(i=t.snackbar.action)==null||i.action(),n.$emit("destroySnackbar")})},mt(t.snackbar.action.label),1)):_t("",!0)]),b("button",{type:"button",class:"tiun-outline-none focus:tiun-outline-none",onClick:s[1]||(s[1]=i=>n.$emit("destroySnackbar"))},gd)],2))}}),vd={class:"mx-4"},yd=Bt({__name:"Snackbars",setup(t){const{snackbars:e,closeSnackbar:n}=Oa();return(s,i)=>(M(),R("div",vd,[at(xc,{name:"tiun-snackbar",class:"tiun-transition-all",tag:"div"},{default:Ke(()=>[(M(!0),R(kt,null,ri(pt(e),r=>(M(),ue(_d,{key:r.id,class:"tiun-transition-opacity tiun-duration-200",snackbar:r,onDestroySnackbar:o=>pt(n)(r.id)},null,8,["snackbar","onDestroySnackbar"]))),128))]),_:1})]))}}),Q0="",Se=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},bd=Se(yd,[["__scopeId","data-v-82cbe6ec"]]);var Ms=(t=>(t.AppMain="app_main",t.AppTransactions="app_transactions",t.PartnersPage="partners_page",t))(Ms||{});function wd(){const t="tiun_referrer";function e(a){return Object.values(Ms).includes(a)}const n=()=>new URLSearchParams(window.location.search),s=()=>{const a=window.location.hash,l=a.indexOf("?");if(l===-1)return new URLSearchParams;const c=a.slice(l+1);return new URLSearchParams(c)},i=a=>{const l=new URL(window.location.toString());l.searchParams.delete(a),window.history.replaceState({},"",l.toString())};function r(){let a=null,l=n();return l.has(t)?a=l.get(t):(l=s(),l.has(t)&&(a=l.get(t))),a&&i(t),a?o(a):null}function o(a){return e(a)&&Object.keys(Ms).find(c=>Ms[c]===a)||null}return{getReferrerQueryParam:r,getReferrerTypeFromQueryParam:o}}function xd(t){return t===0?"0.00":!t||isNaN(t)?"":t.toLocaleString("de-CH",{useGrouping:!0,minimumFractionDigits:2})}function As(t,e){if(!t)return"";const n=t.unit||"CHF",s=t.divisor||1,i=t.value||0,r=xd(Math.round(i/s*100)/100);switch(n){case"CHF":return e?`${r}`:`CHF ${r}`;case"Credit":return r.toString();case"%":return`${r}%`;default:return e?r:`${n} ${r}`}}function dt(t){const e=Object.prototype.toString.call(t);return t instanceof Date||typeof t=="object"&&e==="[object Date]"?new t.constructor(+t):typeof t=="number"||e==="[object Number]"||typeof t=="string"||e==="[object String]"?new Date(t):new Date(NaN)}function $s(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}function Cd(t,e){const n=dt(t);return isNaN(e)?$s(t,NaN):(e&&n.setDate(n.getDate()+e),n)}function Sd(t,e){const n=dt(t);if(isNaN(e))return $s(t,NaN);if(!e)return n;const s=n.getDate(),i=$s(t,n.getTime());i.setMonth(n.getMonth()+e+1,0);const r=i.getDate();return s>=r?i:(n.setFullYear(i.getFullYear(),i.getMonth(),s),n)}function En(t,e){const{years:n=0,months:s=0,weeks:i=0,days:r=0,hours:o=0,minutes:a=0,seconds:l=0}=e,c=dt(t),u=s||n?Sd(c,s+n*12):c,h=r||i?Cd(u,r+i*7):u,d=a+o*60,m=(l+d*60)*1e3;return $s(t,h.getTime()+m)}const Td=864e5,Wi=6e4,zi=36e5;function Ra(t){const e=dt(t);return e.setHours(0,0,0,0),e}function Pa(t){const e=dt(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function Ed(t,e){const n=Ra(t),s=Ra(e),i=+n-Pa(n),r=+s-Pa(s);return Math.round((i-r)/Td)}function kn(t,e){const n=dt(t),s=dt(e),i=n.getTime()-s.getTime();return i<0?-1:i>0?1:i}function kd(t,e){const n=dt(t),s=dt(e),i=n.getFullYear()-s.getFullYear(),r=n.getMonth()-s.getMonth();return i*12+r}function Md(t,e){const n=dt(t),s=dt(e);return n.getFullYear()-s.getFullYear()}function Ad(t,e){const n=dt(t),s=dt(e),i=Na(n,s),r=Math.abs(Ed(n,s));n.setDate(n.getDate()-i*r);const o=+(Na(n,s)===-i),a=i*(r-o);return a===0?0:a}function Na(t,e){const n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}function qi(t){return e=>{const s=(t?Math[t]:Math.trunc)(e);return s===0?0:s}}function Ki(t,e){return+dt(t)-+dt(e)}function $d(t,e,n){const s=Ki(t,e)/zi;return qi(n==null?void 0:n.roundingMethod)(s)}function Id(t,e,n){const s=Ki(t,e)/Wi;return qi(n==null?void 0:n.roundingMethod)(s)}function Od(t){const e=dt(t);return e.setHours(23,59,59,999),e}function Rd(t){const e=dt(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e}function Pd(t){const e=dt(t);return+Od(e)==+Rd(e)}function Nd(t,e){const n=dt(t),s=dt(e),i=kn(n,s),r=Math.abs(kd(n,s));let o;if(r<1)o=0;else{n.getMonth()===1&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*r);let a=kn(n,s)===-i;Pd(dt(t))&&r===1&&kn(t,s)===1&&(a=!1),o=i*(r-Number(a))}return o===0?0:o}function Dd(t,e,n){const s=Ki(t,e)/1e3;return qi(n==null?void 0:n.roundingMethod)(s)}function Ld(t,e){const n=dt(t),s=dt(e),i=kn(n,s),r=Math.abs(Md(n,s));n.setFullYear(1584),s.setFullYear(1584);const o=kn(n,s)===-i,a=i*(r-+o);return a===0?0:a}function Hd(t){const e=dt(t.start),n=dt(t.end),s={},i=Ld(n,e);i&&(s.years=i);const r=En(e,{years:s.years}),o=Nd(n,r);o&&(s.months=o);const a=En(r,{months:s.months}),l=Ad(n,a);l&&(s.days=l);const c=En(a,{days:s.days}),u=$d(n,c);u&&(s.hours=u);const h=En(c,{hours:s.hours}),d=Id(n,h);d&&(s.minutes=d);const v=En(h,{minutes:s.minutes}),m=Dd(n,v);return m&&(s.seconds=m),s}function Fd(t,e){const n=(e==null?void 0:e.additionalDigits)??2,s=Vd(t);let i;if(s.date){const l=Zd(s.date,n);i=Wd(l.restDateString,l.year)}if(!i||isNaN(i.getTime()))return new Date(NaN);const r=i.getTime();let o=0,a;if(s.time&&(o=zd(s.time),isNaN(o)))return new Date(NaN);if(s.timezone){if(a=qd(s.timezone),isNaN(a))return new Date(NaN)}else{const l=new Date(r+o),c=new Date(0);return c.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),c.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),c}return new Date(r+o+a)}const Is={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Bd=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Ud=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,jd=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Vd(t){const e={},n=t.split(Is.dateTimeDelimiter);let s;if(n.length>2)return e;if(/:/.test(n[0])?s=n[0]:(e.date=n[0],s=n[1],Is.timeZoneDelimiter.test(e.date)&&(e.date=t.split(Is.timeZoneDelimiter)[0],s=t.substr(e.date.length,t.length))),s){const i=Is.timezone.exec(s);i?(e.time=s.replace(i[1],""),e.timezone=i[1]):e.time=s}return e}function Zd(t,e){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),s=t.match(n);if(!s)return{year:NaN,restDateString:""};const i=s[1]?parseInt(s[1]):null,r=s[2]?parseInt(s[2]):null;return{year:r===null?i:r*100,restDateString:t.slice((s[1]||s[2]).length)}}function Wd(t,e){if(e===null)return new Date(NaN);const n=t.match(Bd);if(!n)return new Date(NaN);const s=!!n[4],i=Mn(n[1]),r=Mn(n[2])-1,o=Mn(n[3]),a=Mn(n[4]),l=Mn(n[5])-1;if(s)return Xd(e,a,l)?Kd(e,a,l):new Date(NaN);{const c=new Date(0);return!Jd(e,r,o)||!Qd(e,i)?new Date(NaN):(c.setUTCFullYear(e,r,Math.max(i,o)),c)}}function Mn(t){return t?parseInt(t):1}function zd(t){const e=t.match(Ud);if(!e)return NaN;const n=Yi(e[1]),s=Yi(e[2]),i=Yi(e[3]);return Gd(n,s,i)?n*zi+s*Wi+i*1e3:NaN}function Yi(t){return t&&parseFloat(t.replace(",","."))||0}function qd(t){if(t==="Z")return 0;const e=t.match(jd);if(!e)return 0;const n=e[1]==="+"?-1:1,s=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;return t1(s,i)?n*(s*zi+i*Wi):NaN}function Kd(t,e,n){const s=new Date(0);s.setUTCFullYear(t,0,4);const i=s.getUTCDay()||7,r=(e-1)*7+n+1-i;return s.setUTCDate(s.getUTCDate()+r),s}const Yd=[31,null,31,30,31,30,31,31,30,31,30,31];function Da(t){return t%400===0||t%4===0&&t%100!==0}function Jd(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(Yd[e]||(Da(t)?29:28))}function Qd(t,e){return e>=1&&e<=(Da(t)?366:365)}function Xd(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}function Gd(t,e,n){return t===24?e===0&&n===0:n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}function t1(t,e){return e>=0&&e<=59}const Le=t=>(ti("data-v-554d7ec4"),t=t(),ei(),t),e1={class:"tiun-flex"},n1=mi('<div class="tiun-h-6 tiun-w-6 tiun-flex tiun-items-center tiun-justify-center" data-v-554d7ec4><svg class="tiun-flex-shrink-0" width="20" height="20" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-554d7ec4><rect width="40" height="40" rx="20" fill="#3730A3" data-v-554d7ec4></rect><path d="M37.4839 19.0041C37.4842 19.0526 37.4844 19.1011 37.4844 19.1496C37.4844 28.9361 29.5941 37.3334 19.861 37.3334C10.1278 37.3334 2.46942 29.4495 2.23753 19.6134C2.23753 19.3301 2.22445 19.2946 2.23753 19.0146L3.16508 18.5506C5.12324 17.5284 8.98417 15.2564 12.9005 16.2787C15.0367 16.8363 17.1728 18.3063 19.309 19.7764C21.0892 21.0014 22.8693 22.2265 24.6495 22.9235C28.5658 24.4569 32.4821 22.9709 36.3984 19.904C36.7602 19.6207 37.122 19.3199 37.4839 19.0041Z" fill="#3B82F6" data-v-554d7ec4></path><path d="M2.23813 19.004C2.23774 19.0525 2.23755 19.101 2.23755 19.1496C2.23755 29.4495 10.1278 37.3333 19.861 37.3333C29.5942 37.3333 37.4845 29.3998 37.4845 19.6134C37.4845 19.3301 37.4778 19.0483 37.4648 18.7682L36.6123 18.3232C34.6541 17.3009 30.7378 15.2563 26.8215 16.2786C24.6853 16.8362 22.5491 18.3063 20.413 19.7763C18.6328 21.0014 16.8527 22.2264 15.0725 22.9235C11.1562 24.4569 7.23988 22.9708 3.32356 19.904C2.96175 19.6206 2.59994 19.3199 2.23813 19.004Z" fill="#F9A8D4" data-v-554d7ec4></path></svg></div>',1),s1={class:"tiun-h-6 tiun-w-6 tiun-flex tiun-items-center tiun-justify-center"},i1=[Le(()=>b("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m18.75 19.5l-7.5-7.5l7.5-7.5m-6 15L5.25 12l7.5-7.5"},null,-1))],r1={class:"tiun-p-4 tiun-bg-gray-900 dark:tiun-bg-white tiun-rounded-bl-xl tiun-flex-col tiun-justify-start tiun-items-start tiun-gap-4 tiun-inline-flex"},o1={class:"tiun-self-stretch tiun-justify-between tiun-items-center tiun-inline-flex"},a1=Le(()=>b("div",{class:"tiun-text-white dark:tiun-text-black tiun-text-base tiun-font-extrabold"}," tiun. ",-1)),l1={class:"tiun-text-center tiun-text-white tiun-text-xs tiun-font-medium tiun-leading-none"},u1={class:"tiun-grid tiun-w-full"},c1=Le(()=>b("div",{class:"tiun-text-gray-400 dark:tiun-text-gray-600 tiun-text-xs tiun-font-medium tiun-leading-none"}," Ausgegebene Credits ",-1)),f1={class:"tiun-self-stretch tiun-justify-between tiun-items-center tiun-gap-4 tiun-inline-flex"},d1={class:"tiun-flex-col tiun-justify-start tiun-items-start tiun-gap-1 tiun-inline-flex"},p1={class:"tiun-justify-start tiun-items-center tiun-gap-1 tiun-inline-flex"},h1={class:"tiun-text-white dark:tiun-text-black tiun-text-2xl tiun-font-semibold tiun-leading-normal"},m1={class:"tiun-text-center tiun-text-gray-400 dark:tiun-text-gray-600 tiun-text-sm tiun-font-medium tiun-leading-tight"},g1={class:"tiun-text-white dark:tiun-text-black tiun-text-sm tiun-font-semibold tiun-leading-none tiun-w-[4.5rem] tiun-flex tiun-justify-end"},_1=[Le(()=>b("div",{class:"tiunBadgeButtonText"}," Session ansehen ",-1))],v1=Le(()=>b("div",{class:"tiunBadgeButtonText"},"Beenden",-1)),y1=[Le(()=>b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)),Le(()=>b("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 9.563C9 9.252 9.252 9 9.563 9h4.874c.311 0 .563.252.563.563v4.874c0 .311-.252.563-.563.563H9.564A.562.562 0 019 14.437V9.564z"},null,-1))],b1=Bt({__name:"Badge",props:{openDetails:{type:Boolean,default:!1},snippetSession:{type:Object,default:null}},emits:["handleOpenDetails","endSession","goToActiveSession","updateWidth"],setup(t,{emit:e}){const n=e,s=t,{snippetSession:i}=Nr(s),r=Y(),o=Y(),a=Y(),l=ce(()=>{var d;return((d=i.value)==null?void 0:d.sessionStatus)==="Active"||Ts==="true"?"tiun-bg-teal-600":"tiun-bg-orange-500"}),c=ce(()=>{var d,v;return o.value?o.value:(v=(d=i.value)==null?void 0:d.preview)==null?void 0:v.activeDuration}),{width:u}=$a(a);Ot(u,d=>{n("updateWidth",d)});function h(){var H,Z,O,L;if(!((Z=(H=i.value)==null?void 0:H.preview)!=null&&Z.startTimeUtc))return;const d=new Date,v=Fd((L=(O=i.value)==null?void 0:O.preview)==null?void 0:L.startTimeUtc),m=Hd({start:d>v?v:d,end:d>v?d:v}),g=m.hours??0,A=m.minutes??0,D=m.seconds??0;return`${g.toString().padStart(2,"0")}:${A.toString().padStart(2,"0")}:${D.toString().padStart(2,"0")}`}return Ot(()=>{var d;return((d=i.value)==null?void 0:d.sessionStatus)==="Paused"},()=>{var d,v,m;((d=i.value)==null?void 0:d.sessionStatus)!=="Paused"?r.value=setInterval(()=>{o.value=h()},1e3):(clearInterval(r.value),o.value=(m=(v=i.value)==null?void 0:v.preview)==null?void 0:m.activeDuration)},{immediate:!0}),(d,v)=>{var g,A,D,H,Z,O,L,F,q,P;const m=is("ripple");return M(),R("div",e1,[b("button",{type:"button",class:"tiun-flex tiun-group tiun-outline-none focus:tiun-outline-none",onClick:v[0]||(v[0]=V=>d.$emit("handleOpenDetails"))},[b("div",{class:Tt(["tiun-rounded-l-xl tiun-px-1.5 tiun-py-4 tiun-grid tiun-gap-4",l.value])},[n1,b("div",s1,[(M(),R("svg",{style:ke(t.openDetails?"transform: rotate(180deg);":""),viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",class:"tiun-h-5 tiun-w-5 tiun-text-white tiun-transition-all tiun-duration-300"},i1,4))])],2)]),b("div",{ref_key:"statusDetails",ref:a},[b("div",r1,[b("div",o1,[a1,b("div",{class:Tt(["tiun-px-2.5 tiun-py-0.5 tiun-rounded-[10px] tiun-justify-center tiun-items-center tiun-flex",l.value])},[b("div",l1,mt(((g=pt(i))==null?void 0:g.sessionStatus)==="Active"?"Session aktiv":"Session pausiert"),1)],2)]),b("div",u1,[c1,b("div",f1,[b("div",d1,[b("div",p1,[b("div",h1,mt(pt(As)((H=(D=(A=pt(i))==null?void 0:A.preview)==null?void 0:D.alreadySpent)==null?void 0:H.credits)),1),b("div",m1," ("+mt(pt(As)((L=(O=(Z=pt(i))==null?void 0:Z.preview)==null?void 0:O.alreadySpent)==null?void 0:L.currencyEstimate))+") ",1)])]),b("div",g1,mt(c.value),1)])]),b("div",{class:Tt(["tiun-self-stretch tiun-items-start tiun-gap-2 tiun-inline-flex",(F=pt(i).preview)!=null&&F.showViewSessionButton?"tiun-justify-start":"tiun-justify-center"])},[(q=pt(i).preview)!=null&&q.showViewSessionButton?ae((M(),R("button",{key:0,type:"button",onClick:v[1]||(v[1]=V=>d.$emit("goToActiveSession",V)),class:"tiunBadgeButton"},_1)),[[m]]):_t("",!0),ae((M(),R("button",{type:"button",class:Tt(["tiunBadgeButton",{"!tiun-min-w-[8rem]":!((P=pt(i).preview)!=null&&P.showViewSessionButton)}]),onClick:v[2]||(v[2]=V=>d.$emit("endSession"))},[v1,(M(),R("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",width:"1.2em",height:"1.2em",stroke:"currentColor",class:Tt([pt(pe)==="true"?"tiun-text-gray-600":"tiun-text-white","tiun-w-5 tiun-h-5"])},y1,2))],2)),[[m]])],2)])],512)])}}}),nh="",La=Se(b1,[["__scopeId","data-v-554d7ec4"]]),He=t=>(ti("data-v-c97166b8"),t=t(),ei(),t),w1={class:"tiun-flex"},x1={class:"tiun-rounded-l-xl tiun-px-1.5 tiun-py-4 tiun-grid tiun-gap-4 tiun-bg-indigo-900"},C1=mi('<div class="tiun-h-6 tiun-w-6 tiun-flex tiun-items-center tiun-justify-center" data-v-c97166b8><svg class="tiun-flex-shrink-0" width="20" height="20" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c97166b8><rect width="40" height="40" rx="20" fill="#3730A3" data-v-c97166b8></rect><path d="M37.4839 19.0041C37.4842 19.0526 37.4844 19.1011 37.4844 19.1496C37.4844 28.9361 29.5941 37.3334 19.861 37.3334C10.1278 37.3334 2.46942 29.4495 2.23753 19.6134C2.23753 19.3301 2.22445 19.2946 2.23753 19.0146L3.16508 18.5506C5.12324 17.5284 8.98417 15.2564 12.9005 16.2787C15.0367 16.8363 17.1728 18.3063 19.309 19.7764C21.0892 21.0014 22.8693 22.2265 24.6495 22.9235C28.5658 24.4569 32.4821 22.9709 36.3984 19.904C36.7602 19.6207 37.122 19.3199 37.4839 19.0041Z" fill="#3B82F6" data-v-c97166b8></path><path d="M2.23813 19.004C2.23774 19.0525 2.23755 19.101 2.23755 19.1496C2.23755 29.4495 10.1278 37.3333 19.861 37.3333C29.5942 37.3333 37.4845 29.3998 37.4845 19.6134C37.4845 19.3301 37.4778 19.0483 37.4648 18.7682L36.6123 18.3232C34.6541 17.3009 30.7378 15.2563 26.8215 16.2786C24.6853 16.8362 22.5491 18.3063 20.413 19.7763C18.6328 21.0014 16.8527 22.2264 15.0725 22.9235C11.1562 24.4569 7.23988 22.9708 3.32356 19.904C2.96175 19.6206 2.59994 19.3199 2.23813 19.004Z" fill="#F9A8D4" data-v-c97166b8></path></svg></div>',1),S1={class:"tiun-h-6 tiun-w-6 tiun-flex tiun-items-center tiun-justify-center"},T1=[He(()=>b("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"m18.75 19.5l-7.5-7.5l7.5-7.5m-6 15L5.25 12l7.5-7.5"},null,-1))],E1={class:"tiun-p-4 tiun-bg-gray-900 dark:tiun-bg-white tiun-rounded-bl-xl tiun-flex-col tiun-justify-start tiun-items-start tiun-gap-4 tiun-inline-flex"},k1=He(()=>b("div",{class:"tiun-self-stretch tiun-justify-between tiun-items-center tiun-inline-flex"},[b("div",{class:"tiun-text-white dark:tiun-text-black tiun-text-base tiun-font-extrabold"}," tiun. "),b("div",{class:"tiun-px-2.5 tiun-py-0.5 tiun-rounded-[10px] tiun-justify-center tiun-items-center tiun-flex tiun-bg-indigo-600"},[b("div",{class:"tiun-text-center tiun-text-white tiun-text-xs tiun-font-medium tiun-leading-none"}," Session starten ")])],-1)),M1={class:"tiun-grid tiun-w-full tiun-gap-[4px]"},A1=He(()=>b("div",{class:"dark:tiun-text-gray-600 tiun-text-gray-400 tiun-text-xs tiun-font-medium tiun-leading-none"}," Konditionen ",-1)),$1={class:"tiun-text-gray-600 tiun-text-sm"},I1={key:0,class:"tiun-text-teal-600 tiun-font-medium"},O1={key:1,class:"tiun-flex tiun-flex-wrap tiun-gap-x-1"},R1={class:"tiun-flex tiun-items-center tiun-gap-1"},P1=[He(()=>b("path",{d:"M4.66668 6.41667V4.08333C4.66668 2.79467 5.71135 1.75 7.00001 1.75C8.28867 1.75 9.33334 2.79467 9.33334 4.08333M7.00001 8.75V9.91667M3.50001 12.25H10.5C11.1443 12.25 11.6667 11.7277 11.6667 11.0833V7.58333C11.6667 6.939 11.1443 6.41667 10.5 6.41667H3.50001C2.85568 6.41667 2.33334 6.939 2.33334 7.58333V11.0833C2.33334 11.7277 2.85568 12.25 3.50001 12.25Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"},null,-1))],N1={key:0,class:"tiun-text-teal-600"},D1={key:1,class:"dark:tiun-text-black tiun-text-white"},L1={class:"tiun-flex tiun-items-center tiun-gap-1 dark:tiun-text-black tiun-text-white"},H1=He(()=>b("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"tiun-h-4 tiun-w-4 tiun-flex-shrink-0"},[b("path",{d:"M7 4.66667V7L8.75 8.75M12.25 7C12.25 9.89949 9.89949 12.25 7 12.25C4.1005 12.25 1.75 9.89949 1.75 7C1.75 4.1005 4.1005 1.75 7 1.75C9.89949 1.75 12.25 4.1005 12.25 7Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),F1={class:"tiun-self-stretch tiun-items-start tiun-gap-2 tiun-grid tiun-grid-cols-2"},B1=["href"],U1=[He(()=>b("div",{class:"tiunBadgeButtonText"},"Zurück zu tiun",-1))],j1=["disabled"],V1={key:0,"aria-label":"Loading...",role:"status"},Z1=[He(()=>b("svg",{class:"tiun-animate-spin tiun-h-4 tiun-w-4 tiun-fill-white",viewBox:"3 3 18 18"},[b("path",{class:"tiun-opacity-20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),b("path",{d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})],-1))],W1={key:1,class:"tiun-flex tiun-items-center tiun-gap-1"},z1=[mi('<div class="tiunBadgeButtonText" data-v-c97166b8> Starten </div><svg width="1.2em" height="1.2em" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" class="tiun-w-4 tiun-h-4 tiun-text-white dark:tiun-text-gray-600" data-v-c97166b8><path d="M12.2933 9.30662L9.62892 7.53039C9.07512 7.16119 8.33333 7.55818 8.33333 8.22376V11.7762C8.33333 12.4418 9.07512 12.8388 9.62892 12.4696L12.2933 10.6934C12.788 10.3635 12.788 9.63648 12.2933 9.30662Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" data-v-c97166b8></path><path d="M17.5 10C17.5 14.1421 14.1421 17.5 10 17.5C5.85786 17.5 2.5 14.1421 2.5 10C2.5 5.85786 5.85786 2.5 10 2.5C14.1421 2.5 17.5 5.85786 17.5 10Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" data-v-c97166b8></path><path d="M12.2933 9.4176L9.6289 7.64136C9.0751 7.27216 8.33331 7.66916 8.33331 8.33473V11.8872C8.33331 12.5528 9.0751 12.9498 9.6289 12.5806L12.2933 10.8043C12.788 10.4745 12.788 9.74745 12.2933 9.4176Z" fill="currentColor" data-v-c97166b8></path></svg>',2)],q1=Bt({__name:"StartSessionBadge",props:{openDetails:{type:Boolean,default:!1}},emits:["handleOpenDetails","updateWidth"],setup(t,{emit:e}){const n=e,s=Y(),{width:i}=$a(s),r=Y(!1),o=Y(),a=Y(!1);async function l(){r.value=!0;try{o.value=await Yf(),r.value=!1}catch{console.log("Error while trying to load pricing information")}finally{r.value=!1}}dn(()=>{l()});async function c(){if(!localStorage.getItem("tiun_state"))return;a.value=!0;let v=localStorage.getItem("tiunSessionId");const m=await Ui(v);if(v&&localStorage.removeItem("tiunSessionId"),!m.sessionId){a.value=!1;return}const g="TiunWallet",A=`${Cs}/v1/snippets/${$t}/sessions/${m.sessionId}/connect/url?checkoutType=${g}&language=${Ss}`;window.location.href=A}function u(d){var v,m;return((v=d==null?void 0:d.unlockFee)==null?void 0:v.value)===0&&((m=d.intervalFee)==null?void 0:m.value)===0}function h(d){var v;return((v=d==null?void 0:d.unlockFee)==null?void 0:v.value)===0}return Ot(i,d=>{n("updateWidth",d)}),(d,v)=>{var g,A,D,H,Z,O,L,F,q,P,V;const m=is("ripple");return M(),R("div",w1,[b("button",{type:"button",class:"tiun-flex tiun-group tiun-outline-none focus:tiun-outline-none",onClick:v[0]||(v[0]=J=>d.$emit("handleOpenDetails"))},[b("div",x1,[C1,b("div",S1,[(M(),R("svg",{style:ke(t.openDetails?"transform: rotate(180deg);":""),viewBox:"0 0 24 24",width:"1.2em",height:"1.2em",class:"tiun-h-5 tiun-w-5 tiun-text-white tiun-transition-all tiun-duration-300"},T1,4))])])]),b("div",{ref_key:"statusDetails",ref:s},[b("div",E1,[k1,b("div",M1,[A1,b("div",$1,[u((g=o.value)==null?void 0:g.pricing)?(M(),R("span",I1,"KOSTENLOS")):(M(),R("div",O1,[b("div",R1,[(M(),R("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:Tt(["tiun-h-4 tiun-w-4 tiun-flex-shrink-0",h((A=o.value)==null?void 0:A.pricing)?"tiun-text-teal-600":"dark:tiun-text-black tiun-text-white"])},P1,2)),h((D=o.value)==null?void 0:D.pricing)?(M(),R("span",N1,"KOSTENLOS,")):(M(),R("span",D1,mt(pt(As)((Z=(H=o.value)==null?void 0:H.pricing)==null?void 0:Z.unlockFee))+" Credits, ",1))]),b("div",L1,[H1,vn(" "+mt(`${pt(As)((L=(O=o.value)==null?void 0:O.pricing)==null?void 0:L.intervalFee,!0)}/${(q=(F=o.value)==null?void 0:F.pricing)==null?void 0:q.intervalUnit}`),1)])]))])]),b("div",F1,[(P=o.value)!=null&&P.goBackUrl?ae((M(),R("a",{key:0,href:(V=o.value)==null?void 0:V.goBackUrl,class:"tiunBadgeButton"},U1,8,B1)),[[m]]):_t("",!0),ae((M(),R("button",{type:"button",class:"tiunBadgeButton tiun-h-fit",onClick:c,disabled:a.value},[a.value?(M(),R("div",V1,Z1)):(M(),R("div",W1,z1))],8,j1)),[[m]])])])],512)])}}}),lh="",K1=Se(q1,[["__scopeId","data-v-c97166b8"]]),Y1=async t=>{const e=await jt.post(`/v2/snippets/${$t}/interactions/info`,void 0,{params:{type:t}});return e==null?void 0:e.data},Te=async t=>{const e=await jt.post(`/v2/snippets/${$t}/interactions/module`,void 0,{params:{type:t}});return e==null?void 0:e.data},Os=async t=>{const e=await jt.post(`/v2/snippets/${$t}/interactions/hint`,void 0,{params:{type:t}});return e==null?void 0:e.data},Ji=async t=>{const e=await jt.post(`/v2/snippets/${$t}/interactions/badge`,void 0,{params:{type:t}});return e==null?void 0:e.data},An=on({paywallState:"idle"}),J1=Bt({__name:"App",setup(t){const e=Y(!1),n=Y(""),s=k=>{n.value=`-${k}px`},i=Y(),r=sd(),{idle:o}=ad(18e4),a=Oa(),l=Y(),c=Y({contentId:void 0,lastSessionStatus:void 0}),{getReferrerQueryParam:u}=wd(),h=/Mobi/.test(window.navigator.userAgent),d=Y(),v=Y(!1),m=Y("AllGood"),g=Y(!1),A=Y(!1),D=Y("text"),H=Y(!1);async function Z(k){var K;await V(),k.preventDefault(),await Ji("ViewSessionV1"),window.location.href=`${Bi}?activeSession=${(K=i.value)==null?void 0:K.sessionId}`}function O(){a.createSnackbar({state:"success",text:"Session erfolgreich beendet"})}async function L(){if(!localStorage.getItem("tiun_state")){I(),O();return}try{Ji("EndV1"),e.value=!1;const K=await Kf();return I(),O(),g.value=!0,K}catch{a.createSnackbar({state:"error",text:F()})}}function F(){var k;return`Ein unerwarteter Fehler trat auf. Bitte Session auf <a href="${Bi}?activeSession=${(k=i.value)==null?void 0:k.sessionId}" class="tiun-underline">tiun</a> beenden.`}async function q(){const k=u(),K=localStorage.getItem("tiun_state");K||I();const lt=localStorage.getItem("tiunSessionId");if(!k&&!K&&!lt)return;const st=await zf(k,lt);return H.value=st.animateBadge,lt&&localStorage.removeItem("tiunSessionId"),st.status==="Invalid"?I():J(),g.value=st.showBadge,st}async function P(){A.value=!0,await q(),ht("TIUN_SNIPPET_INITIALIZED")}dn(()=>{P()});async function V(k,K){var bt,Kt;const lt=localStorage.getItem("tiunSessionId"),st=await qf(k||c.value.contentId,K||c.value.lastSessionStatus,lt);return lt&&localStorage.removeItem("tiunSessionId"),i.value=st,A.value=!1,st.sessionStatus==="Invalid"?(((bt=i.value)==null?void 0:bt.creditsStatus)==="NoCredits"&&m.value!=="NoCredits"&&(m.value=(Kt=i.value)==null?void 0:Kt.creditsStatus,a.createSnackbar({state:"error",text:"Guthaben leer",duration:5e3})),I()):st.sessionStatus==="Locked"&&l.value!=="showPaywall"?(ht("TIUN_SHOW_PAYWALL"),An.paywallState="show",l.value="showPaywall"):(st.sessionStatus==="Active"||st.sessionStatus==="Paused")&&l.value!=="hidePaywall"&&(ht("TIUN_HIDE_PAYWALL",i.value.sessionId),An.paywallState="hide",l.value="hidePaywall"),st}function J(){v.value||(V(),d.value=setInterval(()=>{V()},3e3),v.value=!0)}function it(){clearInterval(d.value),v.value=!1}function I(){ht("TIUN_SHOW_PAYWALL"),An.paywallState="show",l.value="showPaywall",i.value=void 0,A.value=!1,v.value&&it()}function et(){var k;(k=i.value)!=null&&k.sessionStatus&&(i.value.sessionStatus="Paused")}function ht(k,K){window.postMessage({type:"TIUN_EVENT",content:k,sessionId:K},window.location.origin)}function Ct(){e.value=!0,Ji("OpenBadgeV1")}function rt(){e.value=!1}Ot(()=>{var k;return(k=i.value)==null?void 0:k.creditsStatus},()=>{var k,K,lt,st;((k=i.value)==null?void 0:k.creditsStatus)==="BalanceLow"&&m.value!=="BalanceLow"?(m.value=(K=i.value)==null?void 0:K.creditsStatus,a.createSnackbar({state:"warning",text:"Guthaben knapp",duration:5e3,action:{label:"Jetzt aufladen",action:()=>{window.location.href=`${Bi}?topup=true`}}})):((lt=i.value)==null?void 0:lt.creditsStatus)==="MonthlyLimitHit"&&m.value!=="MonthlyLimitHit"&&(m.value=(st=i.value)==null?void 0:st.creditsStatus,a.createSnackbar({state:"warning",text:"Monatliches Limit erreicht. <br/> Der Rest des Monats ist kostenlos.",duration:5e3}))},{immediate:!0}),Ot(()=>r.value,()=>{var k;r.value==="hidden"&&D.value==="text"?(it(),((k=i.value)==null?void 0:k.sessionStatus)==="Active"&&et()):q()}),Ot(()=>o.value,()=>{var k;o.value&&D.value==="text"?(it(),((k=i.value)==null?void 0:k.sessionStatus)==="Active"&&et()):o.value||q()});function nt(k){var K,lt,st;if(k.origin===window.location.origin&&((K=k.data)==null?void 0:K.type)==="TIUN_EVENT"&&(((lt=k.data)==null?void 0:lt.content)==="TIUN_CHECK_STATUS"&&q(),((st=k.data)==null?void 0:st.content)==="TIUN_UPDATE_CONTENT")){if(c.value.contentId=k.data.contentId,k.data.mediaType==="audio"&&(D.value=k.data.mediaType),k.data.contentType===c.value.lastSessionStatus||(c.value.lastSessionStatus=k.data.contentType,!localStorage.getItem("tiun_state")||!v.value))return;V(k.data.contentId,k.data.contentType)}}return window.addEventListener("message",nt),pn(()=>{window.removeEventListener("message",nt)}),(k,K)=>{var lt,st,bt,Kt;return M(),R(kt,null,[at(bd),((lt=i.value)==null?void 0:lt.sessionStatus)==="Active"||((st=i.value)==null?void 0:st.sessionStatus)==="Paused"||g.value?(M(),R("div",{key:0,class:"tiun-fixed tiun-top-16 tiun-z-[99999] tiun-transition-transform tiun-duration-300",onMouseenter:K[2]||(K[2]=Dt=>pt(h)?void 0:g.value?e.value=!0:Ct()),onMouseleave:K[3]||(K[3]=Dt=>pt(h)?void 0:rt()),style:ke([`right: ${n.value}`,e.value?`transform: translateX(${n.value})`:""])},[at(Xe,{mode:"out-in",appear:H.value,"enter-active-class":"tiun-transition tiun-ease-out tiun-duration-300","enter-from-class":"tiun-transform tiun-translate-x-full tiun-opacity-0","enter-to-class":"tiun-transform tiun-translate-x-0 tiun-opacity-100","leave-active-class":"tiun-transition tiun-ease-in tiun-duration-200","leave-from-class":"tiun-transform tiun-translate-x-0 tiun-opacity-100","leave-to-class":"tiun-transform tiun-translate-x-full tiun-opacity-0"},{default:Ke(()=>{var Dt,se;return[((Dt=i.value)==null?void 0:Dt.sessionStatus)!=="Active"&&((se=i.value)==null?void 0:se.sessionStatus)!=="Paused"&&!A.value&&g.value?(M(),ue(K1,{key:0,openDetails:e.value,onHandleOpenDetails:K[0]||(K[0]=Mt=>e.value?rt():Ct()),onUpdateWidth:s,kay:"start-session-badge"},null,8,["openDetails"])):_t("",!0)]}),_:1},8,["appear"]),((bt=i.value)==null?void 0:bt.sessionStatus)==="Active"||((Kt=i.value)==null?void 0:Kt.sessionStatus)==="Paused"?(M(),ue(La,{openDetails:e.value,snippetSession:i.value,onHandleOpenDetails:K[1]||(K[1]=Dt=>e.value?rt():Ct()),onGoToActiveSession:Z,onEndSession:L,onUpdateWidth:s,key:"badge"},null,8,["openDetails","snippetSession"])):_t("",!0)],36)):_t("",!0)],64)}}}),uh="",Q1=80,Ha=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34});function Fa(t,e){t.style.transform=e,t.style.webkitTransform=e}function Qi(t,e){t.style.opacity=e.toString()}function Xi(t){return t.constructor.name==="TouchEvent"}function Ba(t){return t.constructor.name==="KeyboardEvent"}const X1=(t,e,n={})=>{let s=0,i=0;if(!Ba(t)){const h=e.getBoundingClientRect(),d=Xi(t)?t.touches[t.touches.length-1]:t;s=d.clientX-h.left,i=d.clientY-h.top}let r=0,o=.3;e._ripple&&e._ripple.circle?(o=.15,r=e.clientWidth/2,r=n.center?r:r+Math.sqrt((s-r)**2+(i-r)**2)/4):r=Math.sqrt(e.clientWidth**2+e.clientHeight**2)/2;const a=`${(e.clientWidth-r*2)/2}px`,l=`${(e.clientHeight-r*2)/2}px`,c=n.center?a:`${s-r}px`,u=n.center?l:`${i-r}px`;return{radius:r,scale:o,x:c,y:u,centerX:a,centerY:l}},Rs={show(t,e,n={}){if(!e._ripple||!e._ripple.enabled)return;const s=document.createElement("span"),i=document.createElement("span");s.appendChild(i),s.className="v-ripple__container",n.class&&(s.className+=` ${n.class}`);const{radius:r,scale:o,x:a,y:l,centerX:c,centerY:u}=X1(t,e,n),h=`${r*2}px`;i.className="v-ripple__animation",i.style.width=h,i.style.height=h,e.appendChild(s);const d=window.getComputedStyle(e);d&&d.position==="static"&&(e.style.position="relative",e.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),Fa(i,`translate(${a}, ${l}) scale3d(${o},${o},${o})`),Qi(i,0),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),Fa(i,`translate(${c}, ${u}) scale3d(1,1,1)`),Qi(i,.1)},0)},hide(t){if(!t||!t._ripple||!t._ripple.enabled)return;const e=t.getElementsByClassName("v-ripple__animation");if(e.length===0)return;const n=e[e.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const s=performance.now()-Number(n.dataset.activated),i=Math.max(250-s,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),Qi(n,0),setTimeout(()=>{t.getElementsByClassName("v-ripple__animation").length===1&&t.dataset.previousPosition&&(t.style.position=t.dataset.previousPosition,delete t.dataset.previousPosition),n.parentNode&&t.removeChild(n.parentNode)},300)},i)}};function Ua(t){return typeof t>"u"||!!t}function $n(t){const e={},n=t.currentTarget;if(!(!n||!n._ripple||n._ripple.touched)){if(Xi(t))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(e.center=n._ripple.centered||Ba(t),n._ripple.class&&(e.class=n._ripple.class),Xi(t)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{Rs.show(t,n,e)},n._ripple.showTimer=window.setTimeout(()=>{n&&n._ripple&&n._ripple.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},Q1)}else Rs.show(t,n,e)}}function Vt(t){const e=t.currentTarget;if(!(!e||!e._ripple)){if(window.clearTimeout(e._ripple.showTimer),t.type==="touchend"&&e._ripple.showTimerCommit){e._ripple.showTimerCommit(),e._ripple.showTimerCommit=null,e._ripple.showTimer=setTimeout(()=>{Vt(t)});return}window.setTimeout(()=>{e._ripple&&(e._ripple.touched=!1)}),Rs.hide(e)}}function ja(t){const e=t.currentTarget;!e||!e._ripple||(e._ripple.showTimerCommit&&(e._ripple.showTimerCommit=null),window.clearTimeout(e._ripple.showTimer))}let Gi=!1;function Va(t){!Gi&&(t.keyCode===Ha.enter||t.keyCode===Ha.space)&&(Gi=!0,$n(t))}function Za(t){Gi=!1,Vt(t)}function Wa(t,e,n){const s=Ua(e.value);s||Rs.hide(t),t._ripple=t._ripple||{},t._ripple.enabled=s;const i=e.value||{};i.center&&(t._ripple.centered=!0),i.class&&(t._ripple.class=e.value.class),i.circle&&(t._ripple.circle=i.circle),s&&!n?(t.addEventListener("touchstart",$n,{passive:!0}),t.addEventListener("touchend",Vt,{passive:!0}),t.addEventListener("touchmove",ja,{passive:!0}),t.addEventListener("touchcancel",Vt),t.addEventListener("mousedown",$n),t.addEventListener("mouseup",Vt),t.addEventListener("mouseleave",Vt),t.addEventListener("keydown",Va),t.addEventListener("keyup",Za),t.addEventListener("dragstart",Vt,{passive:!0})):!s&&n&&za(t)}function za(t){t.removeEventListener("mousedown",$n),t.removeEventListener("touchstart",$n),t.removeEventListener("touchend",Vt),t.removeEventListener("touchmove",ja),t.removeEventListener("touchcancel",Vt),t.removeEventListener("mouseup",Vt),t.removeEventListener("mouseleave",Vt),t.removeEventListener("keydown",Va),t.removeEventListener("keyup",Za),t.removeEventListener("dragstart",Vt)}function G1(t,e,n){Wa(t,e,!1)}function tp(t){delete t._ripple,za(t)}function ep(t,e){if(e.value===e.oldValue)return;const n=Ua(e.oldValue);Wa(t,e,n)}const tr={unmounted:tp,mounted:G1,updated:ep},np={class:"tiun-grid"},sp={class:"tiun-font-bold tiun-text-black dark:tiun-text-white tiun-leading-[24px]"},ip={key:0},rp={key:1,class:"tiun-text-teal-600"},op={key:2},ap={class:"tiun-text-xs tiun-leading-[16px] tiun-font-medium tiun-text-gray-600 dark:tiun-text-gray-400"},lp={class:"tiun-h-6 tiun-flex tiun-items-center tiun-gap-2 tiun-no-scrollbar tiun-always-stop tiun-snap-x tiun-snap-mandatory tiun-overflow-x-auto tiun-overflow-y-hidden"},up=["src"],cp=Bt({__name:"PayPerMinuteModule",props:{data:{type:Object,required:!0},selected:{type:Boolean,default:!1},notSelectable:{type:Boolean,default:!1}},setup(t){return(e,n)=>(M(),R("button",{type:"button",onClick:n[0]||(n[0]=s=>e.$emit("select")),class:Tt([t.notSelectable?"tiun-border-gray-300 dark:tiun-border-gray-700 !tiun-p-[16px] tiun-border hover:!tiun-border-gray-300":t.selected?"tiun-border-indigo-600  dark:tiun-border-indigo-400 !tiun-p-[15px] tiun-border-2 hover:!tiun-border-indigo-600":"tiun-border-gray-300 dark:tiun-border-gray-700 !tiun-p-[16px] tiun-border hover:!tiun-border-gray-300","tiun-group !tiun-outline-none tiun-shadow-sm tiun-transition-colors tiun-h-[114px] tiun-text-left !tiun-bg-white dark:!tiun-bg-gray-700 tiun-border-solid tiun-rounded-xl tiun-grid tiun-gap-4"])},[b("div",np,[b("div",sp,[t.data.titleTextBefore?(M(),R("span",ip,mt(t.data.titleTextBefore),1)):_t("",!0),t.data.titleTextHighlight?(M(),R("span",rp,mt(t.data.titleTextHighlight),1)):_t("",!0),t.data.titleTextAfter?(M(),R("span",op,mt(t.data.titleTextAfter),1)):_t("",!0)]),b("div",ap,mt(t.data.explanationLine),1)]),b("div",lp,[(M(!0),R(kt,null,ri(t.data.paymentMethodImageUrls,(s,i)=>(M(),R("img",{key:i,src:s,height:"24",width:"48",class:"!tiun-h-full"},null,8,up))),128))])],2))}}),fp={class:"tiun-grid"},dp={class:"tiun-text-base tiun-text-indigo-600 dark:tiun-text-indigo-600 tiun-font-bold"},pp={class:"tiun-text-xs tiun-font-medium tiun-text-black dark:tiun-text-black"},hp={class:"tiun-w-5 tiun-h-5 tiun-flex-shrink-0 group-hover:tiun-translate-x-1 tiun-transition-transform tiun-duration-300 tiun-ease-in-out",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mp=["fill"],gp={key:1,class:"tiunFlexPayCard"},_p={class:"tiun-text-base tiun-text-indigo-600 dark:tiun-text-indigo-600 tiun-font-bold"},vp={class:"tiun-text-xs tiun-font-medium tiun-text-black dark:tiun-text-black"},yp=Bt({__name:"FlexPayModule",props:{data:{type:Object,required:!0}},setup(t){const e=t;function n(){Y1("WhatIsV1"),window.open(`${e.data.ctaUrl}`,"_blank")}return(s,i)=>t.data.ctaUrl?(M(),R("button",{key:0,type:"button",onClick:n,class:"tiunFlexPayCard tiun-group tiun-shadow-sm tiun-cursor-pointer active:!tiun-bg-indigo-200 tiun-transition-colors"},[b("div",fp,[b("div",dp,mt(t.data.title),1),b("div",pp,mt(t.data.explanation),1)]),(M(),R("svg",hp,[b("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.29289 14.7071C6.90237 14.3166 6.90237 13.6834 7.29289 13.2929L10.5858 10L7.29289 6.70711C6.90237 6.31658 6.90237 5.68342 7.29289 5.29289C7.68342 4.90237 8.31658 4.90237 8.70711 5.29289L12.7071 9.29289C13.0976 9.68342 13.0976 10.3166 12.7071 10.7071L8.70711 14.7071C8.31658 15.0976 7.68342 15.0976 7.29289 14.7071Z",fill:pt(pe)==="true"?"#4f46e5":"#4F46E5"},null,8,mp)]))])):(M(),R("div",gp,[b("div",null,[b("div",_p,mt(t.data.title),1),b("div",vp,mt(t.data.explanation),1)])]))}}),ch="",bp=Se(yp,[["__scopeId","data-v-78f65861"]]),wp={type:"button",class:"tiun-h-[52px] !tiun-outline-none tiun-shadow-sm tiun-group !tiun-p-4 !tiun-bg-white dark:!tiun-bg-gray-700 tiun-border tiun-border-solid tiun-border-gray-300 hover:!tiun-border-gray-300 dark:tiun-border-gray-700 dark:hover:!tiun-border-gray-700 tiun-rounded-xl tiun-flex tiun-items-center tiun-gap-2 tiun-justify-between"},xp={class:"tiun-flex tiun-items-center tiun-gap-2"},Cp=["src"],Sp={class:"tiun-text-sm tiun-font-medium tiun-text-black dark:tiun-text-white"},Tp={class:"tiun-w-5 tiun-h-5 tiun-flex-shrink-0 group-hover:tiun-translate-x-1 tiun-transition-transform tiun-duration-300 tiun-ease-in-out",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ep=["fill"],kp=Bt({__name:"Hint",props:{data:{type:Object,required:!0}},setup(t){return(e,n)=>(M(),R("button",wp,[b("div",xp,[t.data.imageUrl?(M(),R("img",{key:0,src:t.data.imageUrl,width:"18",height:"20"},null,8,Cp)):_t("",!0),b("p",Sp,mt(t.data.textLine),1)]),(M(),R("svg",Tp,[b("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.29289 14.7071C6.90237 14.3166 6.90237 13.6834 7.29289 13.2929L10.5858 10L7.29289 6.70711C6.90237 6.31658 6.90237 5.68342 7.29289 5.29289C7.68342 4.90237 8.31658 4.90237 8.70711 5.29289L12.7071 9.29289C13.0976 9.68342 13.0976 10.3166 12.7071 10.7071L8.70711 14.7071C8.31658 15.0976 7.68342 15.0976 7.29289 14.7071Z",fill:pt(pe)==="true"?"#818CF8":"#4F46E5"},null,8,Ep)]))]))}}),Mp={},Ap={class:"tiun-h-[52px] tiun-animate-pulse tiun-p-4 tiun-bg-white dark:tiun-bg-gray-800 tiun-border tiun-border-solid tiun-border-gray-200 dark:tiun-border-gray-600 tiun-rounded-xl tiun-grid tiun-gap-4"},$p=[b("div",{class:"tiun-h-4 tiun-w-full tiun-bg-gray-200 dark:tiun-bg-gray-600 tiun-rounded"},null,-1)];function Ip(t,e){return M(),R("div",Ap,$p)}const Op=Se(Mp,[["render",Ip]]),Rp={},Pp={class:"tiun-h-[114px] tiun-animate-pulse tiun-p-4 tiun-bg-white dark:tiun-bg-gray-800 tiun-border tiun-border-solid tiun-border-gray-200 dark:tiun-border-gray-600 tiun-rounded-xl tiun-grid tiun-gap-4"},Np=[b("div",{class:"tiun-grid tiun-gap-2"},[b("div",{class:"tiun-h-4 tiun-w-1/2 tiun-bg-gray-200 dark:tiun-bg-gray-600 tiun-rounded"}),b("div",{class:"tiun-h-4 tiun-bg-gray-200 dark:tiun-bg-gray-600 tiun-rounded"})],-1),b("div",{class:"tiun-h-4 tiun-w-5/6 tiun-bg-gray-200 dark:tiun-bg-gray-600 tiun-rounded"},null,-1)];function Dp(t,e){return M(),R("div",Pp,Np)}const qa=Se(Rp,[["render",Dp]]),Lp={class:"tiun-flex tiun-items-center tiun-gap-2"},Hp={width:"71",height:"30",viewBox:"0 0 71 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fp=b("rect",{y:"0.888184",width:"28.2236",height:"28.2236",rx:"14.1118",fill:"#3730A3"},null,-1),Bp=b("path",{d:"M26.6362 14.3925C26.6365 14.4269 26.6366 14.4614 26.6366 14.4959C26.6366 21.4502 21.0297 27.4173 14.1133 27.4173C7.19689 27.4173 1.7548 21.815 1.59002 14.8255C1.59002 14.6241 1.58073 14.5989 1.59002 14.3999L2.24914 14.0703C3.64062 13.3438 6.3842 11.7293 9.16716 12.4558C10.6851 12.852 12.2031 13.8966 13.7211 14.9413C14.9861 15.8118 16.251 16.6823 17.516 17.1776C20.299 18.2673 23.0819 17.2113 25.8649 15.032C26.122 14.8306 26.3791 14.6169 26.6362 14.3925Z",fill:"#3B82F6"},null,-1),Up=b("path",{d:"M1.59044 14.3925C1.59017 14.4269 1.59003 14.4614 1.59003 14.4959C1.59003 21.8151 7.19689 27.4174 14.1133 27.4174C21.0297 27.4174 26.6366 21.7798 26.6366 14.8255C26.6366 14.6242 26.6319 14.4239 26.6226 14.2249L26.0168 13.9087C24.6254 13.1822 21.8424 11.7294 19.0595 12.4558C17.5415 12.852 16.0235 13.8967 14.5055 14.9413C13.2406 15.8118 11.9756 16.6823 10.7106 17.1776C7.92765 18.2673 5.1447 17.2113 2.36175 15.032C2.10465 14.8307 1.84754 14.6169 1.59044 14.3925Z",fill:"#F9A8D4"},null,-1),jp=["fill"],Ka=Bt({__name:"Logo",props:{title:{type:String,default:""}},setup(t){return(e,n)=>(M(),R("div",Lp,[(M(),R("svg",Hp,[Fp,Bp,Up,b("path",{d:"M39.0225 11.8683V14.0153H33.2436V11.8683H39.0225ZM34.4543 9.67369H37.3705V18.1481C37.3705 18.3271 37.3984 18.4722 37.454 18.5835C37.5137 18.6908 37.5991 18.7684 37.7105 18.8161C37.8218 18.8598 37.955 18.8817 38.11 18.8817C38.2214 18.8817 38.3386 18.8717 38.4619 18.8519C38.5891 18.828 38.6845 18.8081 38.7482 18.7922L39.1895 20.8974C39.0503 20.9372 38.8535 20.9869 38.5991 21.0465C38.3486 21.1062 38.0484 21.1439 37.6985 21.1598C37.0147 21.1916 36.4283 21.1121 35.9392 20.9213C35.4542 20.7265 35.0824 20.4243 34.824 20.0148C34.5696 19.6053 34.4463 19.0904 34.4543 18.4702V9.67369ZM40.5104 21.0286V11.8683H43.4267V21.0286H40.5104ZM41.9715 10.8008C41.562 10.8008 41.2102 10.6657 40.916 10.3953C40.6218 10.121 40.4746 9.79097 40.4746 9.40532C40.4746 9.02364 40.6218 8.69762 40.916 8.42727C41.2102 8.15294 41.562 8.01577 41.9715 8.01577C42.385 8.01577 42.7369 8.15294 43.0271 8.42727C43.3213 8.69762 43.4684 9.02364 43.4684 9.40532C43.4684 9.79097 43.3213 10.121 43.0271 10.3953C42.7369 10.6657 42.385 10.8008 41.9715 10.8008ZM51.193 17.0747V11.8683H54.1033V21.0286H51.3242V19.323H51.2287C51.026 19.8836 50.6801 20.3289 50.1911 20.6589C49.706 20.9849 49.1196 21.1479 48.4318 21.1479C47.8076 21.1479 47.2589 21.0048 46.7858 20.7185C46.3126 20.4323 45.9449 20.0327 45.6825 19.5198C45.4201 19.0029 45.2869 18.3986 45.2829 17.7068V11.8683H48.1992V17.1343C48.2031 17.6313 48.3343 18.0229 48.5928 18.3092C48.8512 18.5954 49.2031 18.7386 49.6484 18.7386C49.9386 18.7386 50.199 18.6749 50.4296 18.5477C50.6642 18.4165 50.8491 18.2277 50.9842 17.9812C51.1234 17.7307 51.193 17.4285 51.193 17.0747ZM58.8757 15.8044V21.0286H55.9595V11.8683H58.7326V13.5501H58.834C59.0368 12.9895 59.3827 12.5502 59.8717 12.2321C60.3607 11.9101 60.9432 11.7491 61.619 11.7491C62.2631 11.7491 62.8217 11.8942 63.2949 12.1844C63.772 12.4707 64.1417 12.8722 64.4041 13.3891C64.6705 13.902 64.8017 14.5023 64.7977 15.1901V21.0286H61.8815V15.7627C61.8854 15.2537 61.7562 14.8562 61.4938 14.5699C61.2354 14.2836 60.8756 14.1405 60.4144 14.1405C60.1082 14.1405 59.8379 14.2081 59.6033 14.3433C59.3727 14.4745 59.1938 14.6633 59.0666 14.9098C58.9433 15.1563 58.8797 15.4545 58.8757 15.8044ZM68.2433 21.2016C67.8139 21.2016 67.4461 21.0505 67.14 20.7483C66.8378 20.4462 66.6887 20.0804 66.6927 19.651C66.6887 19.2296 66.8378 18.8698 67.14 18.5716C67.4461 18.2694 67.8139 18.1183 68.2433 18.1183C68.6488 18.1183 69.0066 18.2694 69.3167 18.5716C69.6308 18.8698 69.7899 19.2296 69.7938 19.651C69.7899 19.9373 69.7143 20.1977 69.5672 20.4323C69.4241 20.6668 69.2352 20.8537 69.0007 20.9928C68.7701 21.132 68.5176 21.2016 68.2433 21.2016Z",fill:pt(pe)==="true"?"white":"black"},null,8,jp)])),at(Xe,{"enter-active-class":"tiun-duration-300 tiun-ease-out","enter-from-class":"tiun-transform tiun-opacity-0","enter-to-class":"tiun-opacity-100","leave-active-class":"tiun-duration-200 tiun-ease-in","leave-from-class":"tiun-opacity-100","leave-to-class":"tiun-transform tiun-opacity-0"},{default:Ke(()=>[t.title?(M(),R("p",{key:0,class:Tt(["tiun-font-semibold",pt(pe)==="true"?"tiun-text-white":"tiun-text-black"])},mt(t.title),3)):_t("",!0)]),_:1})]))}}),Vp={class:"tiun-flex tiun-flex-col tiun-gap-4"},Zp={class:"tiun-flex tiun-flex-col tiun-gap-4"},Wp={class:"tiun-h-8"},zp=["src"],qp={class:"tiun-flex"},Kp=Bt({__name:"Carousel",props:{title:{type:String,default:""},hint:{type:Object,default:void 0},trigger:{type:Boolean,required:!0}},emits:["closeHint"],setup(t,{emit:e}){var v,m;const n=e,s=t,i=Y(0),r=Y(((m=(v=s.hint)==null?void 0:v.hintImages)==null?void 0:m.map(()=>0))||[]);let o;const a=()=>{var g,A,D,H;(A=(g=s.hint)==null?void 0:g.hintImages)!=null&&A.length&&(i.value<((H=(D=s.hint)==null?void 0:D.hintImages)==null?void 0:H.length)-1?(r.value[i.value]=100,i.value++):(d(),o=setInterval(u,50)))},l=()=>{if(i.value>0){const g=r.value[i.value];r.value[i.value]=0,g<=25&&(r.value[i.value-1]=0),i.value--}else r.value[i.value]=0},c=g=>{const{offsetX:A,currentTarget:D}=g;if(D){const H=D.clientWidth;A<H/3?(l(),Os("HintSkipBackwardV2")):(a(),Os("HintSkipForwardV2"))}},u=()=>{var A,D;if(!((D=(A=s.hint)==null?void 0:A.hintImages)!=null&&D.length))return;const g=[...r.value];g[i.value]+=1,g[i.value]>=100&&(g[i.value]=100,i.value<s.hint.hintImages.length-1?(i.value++,g[i.value]=g[i.value]||0):(i.value=0,g.fill(0),g[i.value]=0)),r.value=g};function h(){d(),n("closeHint")}function d(){var g,A;o&&(clearInterval(o),r.value=((A=(g=s.hint)==null?void 0:g.hintImages)==null?void 0:A.map(()=>0))||[],i.value=0)}return pn(()=>{o&&clearInterval(o)}),Ot(()=>s.trigger,()=>{s.trigger?o=setInterval(u,50):d()}),(g,A)=>{var H,Z,O;const D=is("ripple");return M(),R(kt,null,[b("div",Vp,[b("div",Zp,[b("div",Wp,[at(Ka,{title:t.title},null,8,["title"])])]),b("div",{class:"tiun-relative tiun-h-fit tiun-grid tiun-gap-2 tiun-cursor-pointer",onClick:c},[b("img",{src:(Z=(H=t.hint)==null?void 0:H.hintImages)==null?void 0:Z[i.value],class:"tiun-object-cover tiun-w-full tiun-h-full tiun-rounded-xl tiun-border dark:tiun-border-gray-600 tiun-border-gray-200"},null,8,zp),b("div",qp,[(M(!0),R(kt,null,ri(r.value,(L,F)=>(M(),R("div",{key:F,class:"tiun-h-1 tiun-w-full tiun-rounded-xl tiun-bg-gray-200 dark:tiun-bg-gray-600 tiun-flex-1 tiun-mx-0.5"},[b("span",{class:Tt(["tiun-h-full tiun-flex tiun-rounded-xl",F<=i.value?"tiun-bg-black dark:tiun-bg-indigo-400":"tiun-bg-gray-300 "]),style:ke({width:`${L}%`})},null,6)]))),128))])])]),ae((M(),R("button",{type:"button",class:"tiunButton tiunBlackButton tiun-w-full",onClick:h},[vn(mt((O=t.hint)==null?void 0:O.closeHintCta),1)])),[[D]])],64)}}}),hh="",Yp=Se(Kp,[["__scopeId","data-v-210ec824"]]),er=t=>(ti("data-v-742aeaa3"),t=t(),ei(),t),Jp={class:"tiun-w-[343px] tiun-mx-auto"},Qp={class:"tiun-z-10 tiun-relative tiun-pt-6 tiun-backface-hidden tiun-w-full tiun-h-full dark:tiun-bg-gray-900 tiun-bg-gray-50 tiun-border tiun-border-solid dark:tiun-border-gray-700 tiun-border-gray-200 tiun-rounded-xl"},Xp={class:"tiun-grid tiun-gap-4 tiun-px-4"},Gp={class:"tiun-h-8 tiun-flex tiun-items-center tiun-gap-2"},t0={key:0,class:"tiun-grid tiun-gap-2"},e0={key:0,class:"tiun-grid tiun-gap-2"},n0={class:"tiun-mt-6 tiun-mb-[-1px] tiun-bg-gray-200 dark:tiun-bg-gray-700 tiun-rounded-xl tiun-p-6 tiun-flex tiun-flex-col tiun-gap-4"},s0={class:"tiun-flex -tiun-mb-3 tiun-justify-center tiun-items-center tiun-text-center tiun-absolute tiun-bottom-20 tiun-left-0 tiun-right-0 dark:tiun-bg-gray-700 tiun-bg-gray-200 tiun-rounded-t-xl tiun-z-10 tiun-h-[338px]"},i0={class:"tiun-pt-4"},r0={class:"tiun-text-base tiun-font-bold tiun-text-black dark:tiun-text-white"},o0={key:0},a0={key:1,class:"tiun-text-teal-600"},l0={key:2},u0={class:"tiun-text-xs tiun-font-medium tiun-text-gray-600 dark:tiun-text-gray-400"},c0={class:"tiun-w-[160px] tiun-h-[160px] tiun-m-auto"},f0=["src"],d0={key:1,class:"tiun-m-auto tiun-w-[160px] tiun-h-[160px] tiun-animate-pulse tiun-bg-gray-400 dark:tiun-bg-gray-600"},p0={class:"tiun-w-fit tiun-flex tiun-items-center tiun-mx-auto"},h0={class:"tiun-bg-gray-300 dark:tiun-bg-white tiun-pl-2 tiun-text-[8px] tiun-leading-[16px] tiun-text-gray-600 dark:tiun-text-gray-700 tiun-font-medium tiun-flex tiun-items-center tiun-gap-0.5 tiun-rounded-[4px]"},m0={width:"16",height:"24",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g0=["stroke"],_0=["stroke"],v0=er(()=>b("span",{class:"tiun-pb-1"},"Mit Kamera scannen",-1)),y0=["src"],b0={key:1,class:"tiun-flex tiun-items-center tiun-gap-4 tiun-animate-pulse"},w0=[er(()=>b("div",{class:"tiun-h-[38.5px] tiun-w-full tiun-bg-gray-300 dark:tiun-bg-gray-600 tiun-rounded-xl"},null,-1))],x0={key:2,class:"tiun-flex tiun-items-center tiun-gap-4"},C0={class:"mr-0.5 tiun-shrink-0",width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S0=["fill"],T0=["disabled"],E0={key:0,"aria-label":"Loading...",role:"status"},k0=[er(()=>b("svg",{class:"tiun-animate-spin tiun-w-6 tiun-h-6 tiun-fill-white",viewBox:"3 3 18 18"},[b("path",{class:"tiun-opacity-20",d:"M12 5C8.13401 5 5 8.13401 5 12C5 15.866 8.13401 19 12 19C15.866 19 19 15.866 19 12C19 8.13401 15.866 5 12 5ZM3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12Z"}),b("path",{d:"M16.9497 7.05015C14.2161 4.31648 9.78392 4.31648 7.05025 7.05015C6.65973 7.44067 6.02656 7.44067 5.63604 7.05015C5.24551 6.65962 5.24551 6.02646 5.63604 5.63593C9.15076 2.12121 14.8492 2.12121 18.364 5.63593C18.7545 6.02646 18.7545 6.65962 18.364 7.05015C17.9734 7.44067 17.3403 7.44067 16.9497 7.05015Z"})],-1))],M0={key:1},A0={class:"tiun-z-20 tiun-top-0 tiun-py-6 dark:tiun-text-white dark:tiun-bg-gray-900 tiun-bg-gray-50 tiun-border tiun-border-solid dark:tiun-border-gray-700 tiun-border-gray-200 tiun-rounded-xl tiun-w-full tiun-my-rotate-y-180 tiun-h-full tiun-overflow-hidden tiun-px-4 tiun-flex tiun-flex-col tiun-gap-4 tiun-justify-between tiun-absolute tiun-backface-hidden"},$0=Bt({__name:"Paywall",setup(t){const e=Y(!0),n=Y(),s=Y(!1),i=Y(),r=Y(!1),o=Y(!1),a=ce(()=>Ts==="true"),l=[{type:"SnippetModulePayWithQrOptionResponseV2",name:cp},{type:"SnippetModuleExplanationResponseV1",name:bp}],c=Y(),u=ce(()=>{var L,F,q,P,V,J,it,I,et,ht;return c.value===1?(F=(L=n.value)==null?void 0:L.firstModule)==null?void 0:F.data:c.value===2?(P=(q=n.value)==null?void 0:q.secondModule)==null?void 0:P.data:((J=(V=n.value)==null?void 0:V.firstModule)==null?void 0:J.type)==="SnippetModulePayWithQrOptionResponseV2"?(I=(it=n.value)==null?void 0:it.firstModule)==null?void 0:I.data:(ht=(et=n.value)==null?void 0:et.secondModule)==null?void 0:ht.data});Ot(()=>An.paywallState,L=>{L==="show"&&h()},{immediate:!0,deep:!0});async function h(){var L,F;e.value=!0;try{let q=localStorage.getItem("tiunSessionId");n.value=await Wf(),q&&localStorage.removeItem("tiunSessionId"),c.value=((L=n.value)==null?void 0:L.preselectedSlot)==="First"?1:((F=n.value)==null?void 0:F.preselectedSlot)==="Second"?2:void 0,e.value=!1}catch{console.log("Error while trying to load modules")}finally{e.value=!1}}async function d(){var L,F;if(s.value=!s.value,s.value)if(a.value)await v();else{((L=u.value)==null?void 0:L.checkoutType)==="GuestCheckout"?Te("ShowQrCodeGuestCheckout"):Te("ShowQrCodeWallet");let q=localStorage.getItem("tiunSessionId");const P=await Ui(q);if(q&&localStorage.removeItem("tiunSessionId"),!P.sessionId)return;await v(P.sessionId),Z("TIUN_CHECK_STATUS")}else((F=u.value)==null?void 0:F.checkoutType)==="GuestCheckout"?await Te("HideQrCodeGuestCheckout"):await Te("HideQrCodeWallet")}async function v(L){var q,P;r.value=!0;const F=`${Cs}/v2/snippets/${$t}/sessions/connect/qr_code?isDarkMode=${pe}&checkoutType=${(P=(q=u.value)==null?void 0:q.checkoutType)==null?void 0:P.toString()}&language=${Ss}${L?`&sessionId=${L}`:""}`;try{if(!i.value){const V=new Image;await new Promise((J,it)=>{V.onload=J,V.onerror=it,V.src=F})}i.value=F}catch(V){console.error("Error fetching or displaying QR code:",V)}finally{r.value=!1}}const m=Y(!1);async function g(){var P,V;if(a.value)return;let L=localStorage.getItem("tiunSessionId");const F=await Ui(L);if(L&&localStorage.removeItem("tiunSessionId"),!F.sessionId)return;m.value=!0,((P=u.value)==null?void 0:P.checkoutType)==="GuestCheckout"?await Te("StartGuestCheckout"):await Te("StartWallet");const q=`${Cs}/v1/snippets/${$t}/sessions/${F.sessionId}/connect/url?checkoutType=${(V=u.value)==null?void 0:V.checkoutType}&language=${Ss}`;window.location.href=q}function A(L){var F;c.value=L,((F=u.value)==null?void 0:F.checkoutType)==="GuestCheckout"?Te("SelectGuestCheckout"):Te("SelectWallet")}function D(){o.value=!0,Os("ShowHintV2")}function H(){o.value=!1,Os("CloseHintV2")}function Z(L){window.postMessage({type:"TIUN_EVENT",content:L},window.location.origin)}function O(L){var F,q;L.origin===window.location.origin&&((F=L.data)==null?void 0:F.type)==="TIUN_EVENT"&&((q=L.data)==null?void 0:q.content)==="TIUN_HIDE_PAYWALL"&&(s.value=!1)}return window.addEventListener("message",O),pn(()=>{window.removeEventListener("message",O)}),(L,F)=>{var P,V,J,it,I,et,ht;const q=is("ripple");return M(),R("div",Jp,[b("div",{class:Tt([{"tiun-my-rotate-y-180":o.value},"tiun-relative tiun-preserve-3d tiun-w-full tiun-h-full tiun-duration-500 tiun-rounded-xl tiun-shadow-md"])},[b("div",Qp,[b("div",Xp,[b("div",Gp,[at(Ka,{title:(P=n.value)==null?void 0:P.snippetTitle},null,8,["title"])]),e.value?(M(),R("div",t0,[at(qa),at(qa),at(Op)])):_t("",!0),at(Xe,{"enter-active-class":"tiun-duration-300 tiun-ease-out","enter-from-class":"tiun-transform tiun-opacity-0","enter-to-class":"tiun-opacity-100","leave-active-class":"tiun-duration-200 tiun-ease-in","leave-from-class":"tiun-opacity-100","leave-to-class":"tiun-transform tiun-opacity-0"},{default:Ke(()=>{var Ct,rt,nt,k,K,lt,st,bt,Kt;return[e.value?_t("",!0):(M(),R("div",e0,[(M(),ue(to((Ct=l.find(Dt=>{var se,Mt;return Dt.type===((Mt=(se=n.value)==null?void 0:se.firstModule)==null?void 0:Mt.type)}))==null?void 0:Ct.name),{selected:c.value===1,onSelect:F[0]||(F[0]=Dt=>A(1)),notSelectable:((rt=n.value)==null?void 0:rt.preselectedSlot)==="None",data:(k=(nt=n.value)==null?void 0:nt.firstModule)==null?void 0:k.data},null,40,["selected","notSelectable","data"])),(M(),ue(to((K=l.find(Dt=>{var se,Mt;return Dt.type===((Mt=(se=n.value)==null?void 0:se.secondModule)==null?void 0:Mt.type)}))==null?void 0:K.name),{selected:c.value===2,onSelect:F[1]||(F[1]=Dt=>A(2)),notSelectable:((lt=n.value)==null?void 0:lt.preselectedSlot)==="None",data:(bt=(st=n.value)==null?void 0:st.secondModule)==null?void 0:bt.data},null,40,["selected","notSelectable","data"])),(Kt=n.value)!=null&&Kt.hint?(M(),ue(kp,{key:0,data:n.value.hint,onClick:D,class:Tt(n.value.hint.position==="Bottom"?"tiun-order-last":"tiun-order-first")},null,8,["data","class"])):_t("",!0)]))]}),_:1})]),b("div",n0,[at(Xe,{name:"tiun-slide-up"},{default:Ke(()=>{var Ct,rt,nt,k,K,lt;return[ae(b("div",s0,[b("div",{class:Tt(["tiun-flex tiun-flex-col tiun-gap-4 tiun-transition-opacity",s.value?"tiun-delay-700 tiun-opacity-100 ":"tiun-opacity-0 "])},[b("div",i0,[b("div",r0,[(Ct=u.value)!=null&&Ct.titleTextBefore?(M(),R("span",o0,mt(u.value.titleTextBefore),1)):_t("",!0),(rt=u.value)!=null&&rt.titleTextHighlight?(M(),R("span",a0,mt(u.value.titleTextHighlight),1)):_t("",!0),(nt=u.value)!=null&&nt.titleTextAfter?(M(),R("span",l0,mt(u.value.titleTextAfter),1)):_t("",!0)]),b("div",u0,mt((k=u.value)==null?void 0:k.explanationLine),1)]),b("div",c0,[i.value&&!r.value?(M(),R("img",{key:0,id:"tiunQrCodeImg",src:i.value,class:"tiun-m-auto tiun-w-[160px] tiun-h-[160px]",height:"160",width:"160"},null,8,f0)):(M(),R("div",d0))]),b("div",p0,[b("div",h0,[(M(),R("svg",m0,[b("path",{d:"M1.75 5.25016C1.75 4.60583 2.27233 4.0835 2.91667 4.0835H3.45895C3.84903 4.0835 4.2133 3.88854 4.42968 3.56398L4.90366 2.85301C5.12003 2.52845 5.4843 2.3335 5.87438 2.3335H8.12562C8.5157 2.3335 8.87997 2.52845 9.09634 2.85301L9.57032 3.56398C9.7867 3.88854 10.151 4.0835 10.541 4.0835H11.0833C11.7277 4.0835 12.25 4.60583 12.25 5.25016V10.5002C12.25 11.1445 11.7277 11.6668 11.0833 11.6668H2.91667C2.27233 11.6668 1.75 11.1445 1.75 10.5002V5.25016Z",stroke:pt(pe)==="true"?"#374151":"#4B5563","stroke-linecap":"round","stroke-linejoin":"round"},null,8,g0),b("path",{d:"M8.75 7.5835C8.75 8.54999 7.9665 9.3335 7 9.3335C6.0335 9.3335 5.25 8.54999 5.25 7.5835C5.25 6.617 6.0335 5.8335 7 5.8335C7.9665 5.8335 8.75 6.617 8.75 7.5835Z",stroke:pt(pe)==="true"?"#374151":"#4B5563","stroke-linecap":"round","stroke-linejoin":"round"},null,8,_0)])),v0,(K=u.value)!=null&&K.qrPaymentMethodImageUrl?(M(),R("img",{key:0,src:(lt=u.value)==null?void 0:lt.qrPaymentMethodImageUrl,class:"tiun-py-[1px] tiun-pr-[1px] tiun-ml-2",height:"24",width:"48"},null,8,y0)):_t("",!0)])])],2)],512),[[oc,s.value]])]}),_:1}),s.value?ae((M(),R("button",{key:0,type:"button",class:"tiunButton tiunWhiteButton tiun-w-full",onClick:F[2]||(F[2]=Ct=>d())},[vn(" QR Code schliessen ")])),[[q]]):e.value?(M(),R("div",b0,w0)):(M(),R("div",x0,[ae((M(),R("button",{type:"button",class:"tiunButton tiunWhiteButton tiun-gap-1 tiun-w-fit tiun-flex-shrink-0",onClick:F[3]||(F[3]=Ct=>d())},[(M(),R("svg",C0,[b("path",{d:"M8.24998 2.3335C8.24998 1.91928 7.91419 1.5835 7.49998 1.5835C7.08577 1.5835 6.74998 1.91928 6.74998 2.3335H8.24998ZM6.74998 2.91683C6.74998 3.33104 7.08577 3.66683 7.49998 3.66683C7.91419 3.66683 8.24998 3.33104 8.24998 2.91683H6.74998ZM11 8.5835C10.5858 8.5835 10.25 8.91928 10.25 9.3335C10.25 9.74771 10.5858 10.0835 11 10.0835V8.5835ZM12.1666 10.0835C12.5809 10.0835 12.9166 9.74771 12.9166 9.3335C12.9166 8.91928 12.5809 8.5835 12.1666 8.5835V10.0835ZM7.49998 9.3335V8.5835C7.08577 8.5835 6.74998 8.91928 6.74998 9.3335H7.49998ZM8.66665 10.0835C9.08086 10.0835 9.41665 9.74771 9.41665 9.3335C9.41665 8.91928 9.08086 8.5835 8.66665 8.5835V10.0835ZM6.74998 11.6668C6.74998 12.081 7.08577 12.4168 7.49998 12.4168C7.91419 12.4168 8.24998 12.081 8.24998 11.6668H6.74998ZM8.24998 5.25016C8.24998 4.83595 7.91419 4.50016 7.49998 4.50016C7.08577 4.50016 6.74998 4.83595 6.74998 5.25016H8.24998ZM7.49998 7.00016H6.74998C6.74998 7.41438 7.08577 7.75016 7.49998 7.75016V7.00016ZM9.83331 10.9168C9.4191 10.9168 9.08331 11.2526 9.08331 11.6668C9.08331 12.081 9.4191 12.4168 9.83331 12.4168V10.9168ZM12.1666 12.4168C12.5809 12.4168 12.9166 12.081 12.9166 11.6668C12.9166 11.2526 12.5809 10.9168 12.1666 10.9168V12.4168ZM2.83331 6.25016C2.4191 6.25016 2.08331 6.58595 2.08331 7.00016C2.08331 7.41438 2.4191 7.75016 2.83331 7.75016V6.25016ZM5.16665 7.75016C5.58086 7.75016 5.91665 7.41438 5.91665 7.00016C5.91665 6.58595 5.58086 6.25016 5.16665 6.25016V7.75016ZM7.50581 7.75016C7.92003 7.75016 8.25581 7.41438 8.25581 7.00016C8.25581 6.58595 7.92003 6.25016 7.50581 6.25016V7.75016ZM9.83915 7.75016C10.2534 7.75016 10.5891 7.41438 10.5891 7.00016C10.5891 6.58595 10.2534 6.25016 9.83915 6.25016V7.75016ZM12.1666 6.25016C11.7524 6.25016 11.4166 6.58595 11.4166 7.00016C11.4166 7.41438 11.7524 7.75016 12.1666 7.75016V6.25016ZM12.1725 7.75016C12.5867 7.75016 12.9225 7.41438 12.9225 7.00016C12.9225 6.58595 12.5867 6.25016 12.1725 6.25016V7.75016ZM3.41665 3.0835H4.58331V1.5835H3.41665V3.0835ZM4.41665 2.91683V4.0835H5.91665V2.91683H4.41665ZM4.58331 3.91683H3.41665V5.41683H4.58331V3.91683ZM3.58331 4.0835V2.91683H2.08331V4.0835H3.58331ZM3.41665 3.91683C3.50869 3.91683 3.58331 3.99145 3.58331 4.0835H2.08331C2.08331 4.81988 2.68027 5.41683 3.41665 5.41683V3.91683ZM4.41665 4.0835C4.41665 3.99145 4.49127 3.91683 4.58331 3.91683V5.41683C5.31969 5.41683 5.91665 4.81988 5.91665 4.0835H4.41665ZM4.58331 3.0835C4.49127 3.0835 4.41665 3.00888 4.41665 2.91683H5.91665C5.91665 2.18045 5.31969 1.5835 4.58331 1.5835V3.0835ZM3.41665 1.5835C2.68027 1.5835 2.08331 2.18045 2.08331 2.91683H3.58331C3.58331 3.00888 3.50869 3.0835 3.41665 3.0835V1.5835ZM10.4166 3.0835H11.5833V1.5835H10.4166V3.0835ZM11.4166 2.91683V4.0835H12.9166V2.91683H11.4166ZM11.5833 3.91683H10.4166V5.41683H11.5833V3.91683ZM10.5833 4.0835V2.91683H9.08331V4.0835H10.5833ZM10.4166 3.91683C10.5087 3.91683 10.5833 3.99145 10.5833 4.0835H9.08331C9.08331 4.81988 9.68027 5.41683 10.4166 5.41683V3.91683ZM11.4166 4.0835C11.4166 3.99145 11.4913 3.91683 11.5833 3.91683V5.41683C12.3197 5.41683 12.9166 4.81988 12.9166 4.0835H11.4166ZM11.5833 3.0835C11.4913 3.0835 11.4166 3.00888 11.4166 2.91683H12.9166C12.9166 2.18045 12.3197 1.5835 11.5833 1.5835V3.0835ZM10.4166 1.5835C9.68027 1.5835 9.08331 2.18045 9.08331 2.91683H10.5833C10.5833 3.00888 10.5087 3.0835 10.4166 3.0835V1.5835ZM3.41665 10.0835H4.58331V8.5835H3.41665V10.0835ZM4.41665 9.91683V11.0835H5.91665V9.91683H4.41665ZM4.58331 10.9168H3.41665V12.4168H4.58331V10.9168ZM3.58331 11.0835V9.91683H2.08331V11.0835H3.58331ZM3.41665 10.9168C3.50869 10.9168 3.58331 10.9914 3.58331 11.0835H2.08331C2.08331 11.8199 2.68027 12.4168 3.41665 12.4168V10.9168ZM4.41665 11.0835C4.41665 10.9914 4.49127 10.9168 4.58331 10.9168V12.4168C5.31969 12.4168 5.91665 11.8199 5.91665 11.0835H4.41665ZM4.58331 10.0835C4.49127 10.0835 4.41665 10.0089 4.41665 9.91683H5.91665C5.91665 9.18045 5.31969 8.5835 4.58331 8.5835V10.0835ZM3.41665 8.5835C2.68027 8.5835 2.08331 9.18045 2.08331 9.91683H3.58331C3.58331 10.0089 3.50869 10.0835 3.41665 10.0835V8.5835ZM6.74998 2.3335V2.91683H8.24998V2.3335H6.74998ZM11 10.0835H12.1666V8.5835H11V10.0835ZM7.49998 10.0835H8.66665V8.5835H7.49998V10.0835ZM6.74998 9.3335V11.6668H8.24998V9.3335H6.74998ZM6.74998 5.25016V7.00016H8.24998V5.25016H6.74998ZM9.83331 12.4168H12.1666V10.9168H9.83331V12.4168ZM2.83331 7.75016H5.16665V6.25016H2.83331V7.75016ZM7.49998 7.75016H7.50581V6.25016H7.49998V7.75016ZM12.1666 7.75016H12.1725V6.25016H12.1666V7.75016ZM7.49998 7.75016H9.83915V6.25016H7.49998V7.75016Z",fill:pt(pe)==="true"?"white":"black"},null,8,S0)])),vn(" QR Code ")])),[[q]]),ae((M(),R("button",{type:"button",class:"tiunButton tiunBlackButton tiun-w-full",disabled:m.value,onClick:F[4]||(F[4]=Ct=>g())},[m.value?(M(),R("div",E0,k0)):(M(),R("span",M0,mt((V=u.value)==null?void 0:V.ctaText),1))],8,T0)),[[q]])]))])]),b("div",A0,[(it=(J=n.value)==null?void 0:J.hint)!=null&&it.hintImages&&((et=(I=n.value)==null?void 0:I.hint)==null?void 0:et.hintImages.length)>0?(M(),ue(Yp,{key:0,title:(ht=n.value)==null?void 0:ht.snippetTitle,hint:n.value.hint,trigger:o.value,onCloseHint:H},null,8,["title","hint","trigger"])):_t("",!0)])],2)])}}}),_h="",I0=Se($0,[["__scopeId","data-v-742aeaa3"]]),O0=Bt({__name:"MockBadgeApp",setup(t){const e={preview:{startTimeUtc:void 0,isPaused:!0,activeDuration:"00:00:00",alreadySpent:{credits:{value:300,divisor:100,unit:"Credit",unitExplanation:"1/100 Tiun Credit"},currencyEstimate:{value:300,divisor:100,unit:"CHF",unitExplanation:"1/100 Swiss Franc (Swiss Franc Rappen)"}}}};return(n,s)=>(M(),ue(La,{snippetSession:e}))}}),Ya="tiunPaymentSnippet",R0="tiunBadgeSnippet";let ne=null,In=null,On=null,Ps;const P0=ce(()=>Ts==="true");document.readyState==="loading"?document.addEventListener("DOMContentLoaded",Ja):Ja();function Ja(){P0.value?(L0(),Qa(),An.paywallState="show"):N0()}function N0(){let t=document.getElementById($t);t||(t=document.createElement("div"),t.id=$t,t.classList.add("tiun-html"),document.body.appendChild(t)),Ps=new MutationObserver(n=>{for(const s of n)s.type==="childList"&&D0()});const e={childList:!0,subtree:!0};Ps.observe(document.body,e),In=Si(J1),In.directive("ripple",tr),In.mount(t)}function D0(){const t=document.getElementById(Ya);t&&!ne?Qa():!t&&ne&&H0()}function Qa(){const t=document.getElementById(Ya);t&&(t.classList.add("tiun-html"),ne=Si(I0),ne.directive("ripple",tr),ne.mount(t))}function L0(){const t=document.getElementById(R0);t&&(t.classList.add("tiun-html"),On=Si(O0),On.directive("ripple",tr),On.mount(t))}function H0(){ne&&(ne.unmount(),ne=null)}function F0(){Ps&&Ps.disconnect(),ne&&ne.unmount(),On&&On.unmount(),In&&In.unmount()}window.unloadMyApp=F0});