@tvsgroup/support-client 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
var SupportClientWidget=function(on){"use strict";/**
|
|
2
|
+
* @vue/shared v3.5.29
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function Hn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},vt=[],Pe=()=>{},$r=()=>!1,ln=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vn=e=>e.startsWith("onUpdate:"),ie=Object.assign,Wn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jo=Object.prototype.hasOwnProperty,G=(e,t)=>Jo.call(e,t),P=Array.isArray,xt=e=>It(e)==="[object Map]",Lr=e=>It(e)==="[object Set]",Dr=e=>It(e)==="[object Date]",L=e=>typeof e=="function",le=e=>typeof e=="string",Ne=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Ur=e=>(X(e)||L(e))&&L(e.then)&&L(e.catch),Br=Object.prototype.toString,It=e=>Br.call(e),Xo=e=>It(e).slice(8,-1),an=e=>It(e)==="[object Object]",zn=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rt=Hn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zo=/-\w/g,Ie=cn(e=>e.replace(Zo,t=>t.slice(1).toUpperCase())),Qo=/\B([A-Z])/g,ke=cn(e=>e.replace(Qo,"-$1").toLowerCase()),Hr=cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kn=cn(e=>e?`on${Hr(e)}`:""),st=(e,t)=>!Object.is(e,t),un=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Vr=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Yn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gn=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Wr;const fn=()=>Wr||(Wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function dn(e){if(P(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=le(r)?ri(r):dn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(le(e)||X(e))return e}const ei=/;(?![^(]*\))/g,ti=/:([^]+)/,ni=/\/\*[^]*?\*\//g;function ri(e){const t={};return e.replace(ni,"").split(ei).forEach(n=>{if(n){const r=n.split(ti);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ue(e){let t="";if(le(e))t=e;else if(P(e))for(let n=0;n<e.length;n++){const r=ue(e[n]);r&&(t+=r+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const si=Hn("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function zr(e){return!!e||e===""}function oi(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=qn(e[r],t[r]);return n}function qn(e,t){if(e===t)return!0;let n=Dr(e),r=Dr(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ne(e),r=Ne(t),n||r)return e===t;if(n=P(e),r=P(t),n||r)return n&&r?oi(e,t):!1;if(n=X(e),r=X(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!qn(e[i],t[i]))return!1}}return String(e)===String(t)}const Kr=e=>!!(e&&e.__v_isRef===!0),ft=e=>le(e)?e:e==null?"":P(e)||X(e)&&(e.toString===Br||!L(e.toString))?Kr(e)?ft(e.value):JSON.stringify(e,Yr,2):String(e),Yr=(e,t)=>Kr(t)?Yr(e,t.value):xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Jn(r,o)+" =>"]=s,n),{})}:Lr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Jn(n))}:Ne(t)?Jn(t):X(t)&&!P(t)&&!an(t)?String(t):t,Jn=(e,t="")=>{var n;return Ne(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.29
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let ye;class ii{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){++this._on===1&&(this.prevScope=ye,ye=this)}off(){this._on>0&&--this._on===0&&(ye=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function li(){return ye}let re;const Xn=new WeakSet;class Gr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ye&&ye.active&&ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xn.has(this)&&(Xn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Jr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ts(this),Xr(this);const t=re,n=Re;re=this,Re=!0;try{return this.fn()}finally{Zr(this),re=t,Re=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)tr(t);this.deps=this.depsTail=void 0,ts(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){er(this)&&this.run()}get dirty(){return er(this)}}let qr=0,jt,Ft;function Jr(e,t=!1){if(e.flags|=8,t){e.next=Ft,Ft=e;return}e.next=jt,jt=e}function Zn(){qr++}function Qn(){if(--qr>0)return;if(Ft){let t=Ft;for(Ft=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Xr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zr(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),tr(r),ai(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function er(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Qr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Qr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pt)||(e.globalVersion=Pt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!er(e))))return;e.flags|=2;const t=e.dep,n=re,r=Re;re=e,Re=!0;try{Xr(e);const s=e.fn(e._value);(t.version===0||st(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{re=n,Re=r,Zr(e),e.flags&=-3}}function tr(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)tr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ai(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Re=!0;const es=[];function $e(){es.push(Re),Re=!1}function Le(){const e=es.pop();Re=e===void 0?!0:e}function ts(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let Pt=0;class ci{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class nr{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!re||!Re||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new ci(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,ns(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=r)}return n}trigger(t){this.version++,Pt++,this.notify(t)}notify(t){Zn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qn()}}}function ns(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)ns(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const rr=new WeakMap,dt=Symbol(""),sr=Symbol(""),Nt=Symbol("");function de(e,t,n){if(Re&&re){let r=rr.get(e);r||rr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new nr),s.map=r,s.key=n),s.track()}}function Ye(e,t,n,r,s,o){const i=rr.get(e);if(!i){Pt++;return}const l=a=>{a&&a.trigger()};if(Zn(),t==="clear")i.forEach(l);else{const a=P(e),f=a&&zn(n);if(a&&n==="length"){const u=Number(r);i.forEach((h,x)=>{(x==="length"||x===Nt||!Ne(x)&&x>=u)&&l(h)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(Nt)),t){case"add":a?f&&l(i.get("length")):(l(i.get(dt)),xt(e)&&l(i.get(sr)));break;case"delete":a||(l(i.get(dt)),xt(e)&&l(i.get(sr)));break;case"set":xt(e)&&l(i.get(dt));break}}Qn()}function _t(e){const t=Y(e);return t===e?t:(de(t,"iterate",Nt),Ae(e)?t:t.map(je))}function hn(e){return de(e=Y(e),"iterate",Nt),e}function ot(e,t){return qe(e)?Ct(ht(e)?je(t):t):je(t)}const ui={__proto__:null,[Symbol.iterator](){return or(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return _t(this).concat(...e.map(t=>P(t)?_t(t):t))},entries(){return or(this,"entries",e=>(e[1]=ot(this,e[1]),e))},every(e,t){return Ge(this,"every",e,t,void 0,arguments)},filter(e,t){return Ge(this,"filter",e,t,n=>n.map(r=>ot(this,r)),arguments)},find(e,t){return Ge(this,"find",e,t,n=>ot(this,n),arguments)},findIndex(e,t){return Ge(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ge(this,"findLast",e,t,n=>ot(this,n),arguments)},findLastIndex(e,t){return Ge(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ge(this,"forEach",e,t,void 0,arguments)},includes(...e){return ir(this,"includes",e)},indexOf(...e){return ir(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return ir(this,"lastIndexOf",e)},map(e,t){return Ge(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return rs(this,"reduce",e,t)},reduceRight(e,...t){return rs(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return Ge(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return or(this,"values",e=>ot(this,e))}};function or(e,t,n){const r=hn(e),s=r[t]();return r!==e&&!Ae(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const fi=Array.prototype;function Ge(e,t,n,r,s,o){const i=hn(e),l=i!==e&&!Ae(e),a=i[t];if(a!==fi[t]){const h=a.apply(e,o);return l?je(h):h}let f=n;i!==e&&(l?f=function(h,x){return n.call(this,ot(e,h),x,e)}:n.length>2&&(f=function(h,x){return n.call(this,h,x,e)}));const u=a.call(i,f,r);return l&&s?s(u):u}function rs(e,t,n,r){const s=hn(e);let o=n;return s!==e&&(Ae(e)?n.length>3&&(o=function(i,l,a){return n.call(this,i,l,a,e)}):o=function(i,l,a){return n.call(this,i,ot(e,l),a,e)}),s[t](o,...r)}function ir(e,t,n){const r=Y(e);de(r,"iterate",Nt);const s=r[t](...n);return(s===-1||s===!1)&&cr(n[0])?(n[0]=Y(n[0]),r[t](...n)):s}function $t(e,t,n=[]){$e(),Zn();const r=Y(e)[t].apply(e,n);return Qn(),Le(),r}const di=Hn("__proto__,__v_isRef,__isVue"),ss=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ne));function hi(e){Ne(e)||(e=String(e));const t=Y(this);return de(t,"has",e),t.hasOwnProperty(e)}class os{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?fs:us:o?cs:as).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=P(t);if(!s){let a;if(i&&(a=ui[n]))return a;if(n==="hasOwnProperty")return hi}const l=Reflect.get(t,n,fe(t)?t:r);if((Ne(n)?ss.has(n):di(n))||(s||de(t,"get",n),o))return l;if(fe(l)){const a=i&&zn(n)?l:l.value;return s&&X(a)?Lt(a):a}return X(l)?s?Lt(l):ar(l):l}}class is extends os{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const i=P(t)&&zn(n);if(!this._isShallow){const f=qe(o);if(!Ae(r)&&!qe(r)&&(o=Y(o),r=Y(r)),!i&&fe(o)&&!fe(r))return f||(o.value=r),!0}const l=i?Number(n)<t.length:G(t,n),a=Reflect.set(t,n,r,fe(t)?t:s);return t===Y(s)&&(l?st(r,o)&&Ye(t,"set",n,r):Ye(t,"add",n,r)),a}deleteProperty(t,n){const r=G(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Ye(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ne(n)||!ss.has(n))&&de(t,"has",n),r}ownKeys(t){return de(t,"iterate",P(t)?"length":dt),Reflect.ownKeys(t)}}class ls extends os{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const pi=new is,gi=new ls,mi=new is(!0),bi=new ls(!0),lr=e=>e,pn=e=>Reflect.getPrototypeOf(e);function wi(e,t,n){return function(...r){const s=this.__v_raw,o=Y(s),i=xt(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=s[e](...r),u=n?lr:t?Ct:je;return!t&&de(o,"iterate",a?sr:dt),ie(Object.create(f),{next(){const{value:h,done:x}=f.next();return x?{value:h,done:x}:{value:l?[u(h[0]),u(h[1])]:u(h),done:x}}})}}function gn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yi(e,t){const n={get(s){const o=this.__v_raw,i=Y(o),l=Y(s);e||(st(s,l)&&de(i,"get",s),de(i,"get",l));const{has:a}=pn(i),f=t?lr:e?Ct:je;if(a.call(i,s))return f(o.get(s));if(a.call(i,l))return f(o.get(l));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&de(Y(s),"iterate",dt),s.size},has(s){const o=this.__v_raw,i=Y(o),l=Y(s);return e||(st(s,l)&&de(i,"has",s),de(i,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const i=this,l=i.__v_raw,a=Y(l),f=t?lr:e?Ct:je;return!e&&de(a,"iterate",dt),l.forEach((u,h)=>s.call(o,f(u),f(h),i))}};return ie(n,e?{add:gn("add"),set:gn("set"),delete:gn("delete"),clear:gn("clear")}:{add(s){!t&&!Ae(s)&&!qe(s)&&(s=Y(s));const o=Y(this);return pn(o).has.call(o,s)||(o.add(s),Ye(o,"add",s,s)),this},set(s,o){!t&&!Ae(o)&&!qe(o)&&(o=Y(o));const i=Y(this),{has:l,get:a}=pn(i);let f=l.call(i,s);f||(s=Y(s),f=l.call(i,s));const u=a.call(i,s);return i.set(s,o),f?st(o,u)&&Ye(i,"set",s,o):Ye(i,"add",s,o),this},delete(s){const o=Y(this),{has:i,get:l}=pn(o);let a=i.call(o,s);a||(s=Y(s),a=i.call(o,s)),l&&l.call(o,s);const f=o.delete(s);return a&&Ye(o,"delete",s,void 0),f},clear(){const s=Y(this),o=s.size!==0,i=s.clear();return o&&Ye(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=wi(s,e,t)}),n}function mn(e,t){const n=yi(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(G(n,s)&&s in r?n:r,s,o)}const vi={get:mn(!1,!1)},xi={get:mn(!1,!0)},_i={get:mn(!0,!1)},Ci={get:mn(!0,!0)},as=new WeakMap,cs=new WeakMap,us=new WeakMap,fs=new WeakMap;function Si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ti(e){return e.__v_skip||!Object.isExtensible(e)?0:Si(Xo(e))}function ar(e){return qe(e)?e:bn(e,!1,pi,vi,as)}function Ei(e){return bn(e,!1,mi,xi,cs)}function Lt(e){return bn(e,!0,gi,_i,us)}function Tc(e){return bn(e,!0,bi,Ci,fs)}function bn(e,t,n,r,s){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Ti(e);if(o===0)return e;const i=s.get(e);if(i)return i;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function ht(e){return qe(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function Ae(e){return!!(e&&e.__v_isShallow)}function cr(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function ki(e){return!G(e,"__v_skip")&&Object.isExtensible(e)&&Vr(e,"__v_skip",!0),e}const je=e=>X(e)?ar(e):e,Ct=e=>X(e)?Lt(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function Ce(e){return Ai(e,!1)}function Ai(e,t){return fe(e)?e:new Oi(e,t)}class Oi{constructor(t,n){this.dep=new nr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:je(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ae(t)||qe(t);t=r?t:Y(t),st(t,n)&&(this._rawValue=t,this._value=r?t:je(t),this.dep.trigger())}}function Je(e){return fe(e)?e.value:e}const Mi={get:(e,t,n)=>t==="__v_raw"?e:Je(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return fe(s)&&!fe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ds(e){return ht(e)?e:new Proxy(e,Mi)}class Ii{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new nr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return Jr(this,!0),!0}get value(){const t=this.dep.track();return Qr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ri(e,t,n=!1){let r,s;return L(e)?r=e:(r=e.get,s=e.set),new Ii(r,s,n)}const wn={},yn=new WeakMap;let pt;function ji(e,t=!1,n=pt){if(n){let r=yn.get(n);r||yn.set(n,r=[]),r.push(e)}}function Fi(e,t,n=te){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:l,call:a}=n,f=y=>s?y:Ae(y)||s===!1||s===0?Xe(y,1):Xe(y);let u,h,x,_,$=!1,R=!1;if(fe(e)?(h=()=>e.value,$=Ae(e)):ht(e)?(h=()=>f(e),$=!0):P(e)?(R=!0,$=e.some(y=>ht(y)||Ae(y)),h=()=>e.map(y=>{if(fe(y))return y.value;if(ht(y))return f(y);if(L(y))return a?a(y,2):y()})):L(e)?t?h=a?()=>a(e,2):e:h=()=>{if(x){$e();try{x()}finally{Le()}}const y=pt;pt=u;try{return a?a(e,3,[_]):e(_)}finally{pt=y}}:h=Pe,t&&s){const y=h,O=s===!0?1/0:s;h=()=>Xe(y(),O)}const q=li(),V=()=>{u.stop(),q&&q.active&&Wn(q.effects,u)};if(o&&t){const y=t;t=(...O)=>{y(...O),V()}}let D=R?new Array(e.length).fill(wn):wn;const j=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const O=u.run();if(s||$||(R?O.some((W,ce)=>st(W,D[ce])):st(O,D))){x&&x();const W=pt;pt=u;try{const ce=[O,D===wn?void 0:R&&D[0]===wn?[]:D,_];D=O,a?a(t,3,ce):t(...ce)}finally{pt=W}}}else u.run()};return l&&l(j),u=new Gr(h),u.scheduler=i?()=>i(j,!1):j,_=y=>ji(y,!1,u),x=u.onStop=()=>{const y=yn.get(u);if(y){if(a)a(y,4);else for(const O of y)O();yn.delete(u)}},t?r?j(!0):D=u.run():i?i(j.bind(null,!0),!0):u.run(),V.pause=u.pause.bind(u),V.resume=u.resume.bind(u),V.stop=V,V}function Xe(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,fe(e))Xe(e.value,t,n);else if(P(e))for(let r=0;r<e.length;r++)Xe(e[r],t,n);else if(Lr(e)||xt(e))e.forEach(r=>{Xe(r,t,n)});else if(an(e)){for(const r in e)Xe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Xe(e[r],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.29
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/const Dt=[];let ur=!1;function Ec(e,...t){if(ur)return;ur=!0,$e();const n=Dt.length?Dt[Dt.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=Pi();if(r)St(r,n,11,[e+t.map(o=>{var i,l;return(l=(i=o.toString)==null?void 0:i.call(o))!=null?l:JSON.stringify(o)}).join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${mo(n,o.type)}>`).join(`
|
|
14
|
+
`),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
|
|
15
|
+
`,...Ni(s)),console.warn(...o)}Le(),ur=!1}function Pi(){let e=Dt[Dt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Ni(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
16
|
+
`],...$i(n))}),t}function $i({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${mo(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...Li(e.props),o]:[s+o]}function Li(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...hs(r,e[r]))}),n.length>3&&t.push(" ..."),t}function hs(e,t,n){return le(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:fe(t)?(t=hs(e,Y(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):L(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Y(t),n?t:[`${e}=`,t])}function St(e,t,n,r){try{return r?e(...r):e()}catch(s){vn(s,t,n)}}function Fe(e,t,n,r){if(L(e)){const s=St(e,t,n,r);return s&&Ur(s)&&s.catch(o=>{vn(o,t,n)}),s}if(P(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Fe(e[o],t,n,r));return s}}function vn(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||te;if(t){let l=t.parent;const a=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,a,f)===!1)return}l=l.parent}if(o){$e(),St(o,null,10,[e,a,f]),Le();return}}Di(e,n,s,r,i)}function Di(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const pe=[];let De=-1;const Tt=[];let it=null,Et=0;const ps=Promise.resolve();let xn=null;function kt(e){const t=xn||ps;return e?t.then(this?e.bind(this):e):t}function Ui(e){let t=De+1,n=pe.length;for(;t<n;){const r=t+n>>>1,s=pe[r],o=Ut(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function fr(e){if(!(e.flags&1)){const t=Ut(e),n=pe[pe.length-1];!n||!(e.flags&2)&&t>=Ut(n)?pe.push(e):pe.splice(Ui(t),0,e),e.flags|=1,gs()}}function gs(){xn||(xn=ps.then(ws))}function Bi(e){P(e)?Tt.push(...e):it&&e.id===-1?it.splice(Et+1,0,e):e.flags&1||(Tt.push(e),e.flags|=1),gs()}function ms(e,t,n=De+1){for(;n<pe.length;n++){const r=pe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;pe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function bs(e){if(Tt.length){const t=[...new Set(Tt)].sort((n,r)=>Ut(n)-Ut(r));if(Tt.length=0,it){it.push(...t);return}for(it=t,Et=0;Et<it.length;Et++){const n=it[Et];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}it=null,Et=0}}const Ut=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ws(e){try{for(De=0;De<pe.length;De++){const t=pe[De];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),St(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;De<pe.length;De++){const t=pe[De];t&&(t.flags&=-2)}De=-1,pe.length=0,bs(),xn=null,(pe.length||Tt.length)&&ws()}}let Oe=null,ys=null;function _n(e){const t=Oe;return Oe=e,ys=e&&e.type.__scopeId||null,t}function vs(e,t=Oe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Rn(-1);const o=_n(t);let i;try{i=e(...s)}finally{_n(o),r._d&&Rn(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function dr(e,t){if(Oe===null)return e;const n=Nn(Oe),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,l,a=te]=t[s];o&&(L(o)&&(o={mounted:o,updated:o}),o.deep&&Xe(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function gt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&($e(),Fe(a,n,8,[e.el,l,e,t]),Le())}}function Hi(e,t){if(we){let n=we.provides;const r=we.parent&&we.parent.provides;r===n&&(n=we.provides=Object.create(r)),n[e]=t}}function Cn(e,t,n=!1){const r=uo();if(r||Ot){let s=Ot?Ot._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&L(t)?t.call(r&&r.proxy):t}}const Vi=Symbol.for("v-scx"),Wi=()=>Cn(Vi);function lt(e,t,n){return xs(e,t,n)}function xs(e,t,n=te){const{immediate:r,deep:s,flush:o,once:i}=n,l=ie({},n),a=t&&r||!t&&o!=="post";let f;if(Xt){if(o==="sync"){const _=Wi();f=_.__watcherHandles||(_.__watcherHandles=[])}else if(!a){const _=()=>{};return _.stop=Pe,_.resume=Pe,_.pause=Pe,_}}const u=we;l.call=(_,$,R)=>Fe(_,u,$,R);let h=!1;o==="post"?l.scheduler=_=>{ve(_,u&&u.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(_,$)=>{$?_():fr(_)}),l.augmentJob=_=>{t&&(_.flags|=4),h&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const x=Fi(e,t,l);return Xt&&(f?f.push(x):a&&x()),x}function zi(e,t,n){const r=this.proxy,s=le(e)?e.includes(".")?_s(r,e):()=>r[e]:e.bind(r,r);let o;L(t)?o=t:(o=t.handler,n=t);const i=Jt(this),l=xs(s,o.bind(r),n);return i(),l}function _s(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Ki=Symbol("_vte"),Cs=e=>e.__isTeleport,Ue=Symbol("_leaveCb"),Bt=Symbol("_enterCb");function Yi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{e.isMounted=!0}),Fs(()=>{e.isUnmounting=!0}),e}const Me=[Function,Array],Ss={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},Ts=e=>{const t=e.subTree;return t.component?Ts(t.component):t},Gi={name:"BaseTransition",props:Ss,setup(e,{slots:t}){const n=uo(),r=Yi();return()=>{const s=t.default&&Os(t.default(),!0);if(!s||!s.length)return;const o=Es(s),i=Y(e),{mode:l}=i;if(r.isLeaving)return pr(o);const a=As(o);if(!a)return pr(o);let f=hr(a,i,r,n,h=>f=h);a.type!==be&&Ht(a,f);let u=n.subTree&&As(n.subTree);if(u&&u.type!==be&&!bt(u,a)&&Ts(n).type!==be){let h=hr(u,i,r,n);if(Ht(u,h),l==="out-in"&&a.type!==be)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},pr(o);l==="in-out"&&a.type!==be?h.delayLeave=(x,_,$)=>{const R=ks(r,u);R[String(u.key)]=u,x[Ue]=()=>{_(),x[Ue]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{$(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Es(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==be){t=n;break}}return t}const qi=Gi;function ks(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:x,onLeave:_,onAfterLeave:$,onLeaveCancelled:R,onBeforeAppear:q,onAppear:V,onAfterAppear:D,onAppearCancelled:j}=t,y=String(e.key),O=ks(n,e),W=(H,J)=>{H&&Fe(H,r,9,J)},ce=(H,J)=>{const M=J[1];W(H,J),P(H)?H.every(g=>g.length<=1)&&M():H.length<=1&&M()},he={mode:i,persisted:l,beforeEnter(H){let J=a;if(!n.isMounted)if(o)J=q||a;else return;H[Ue]&&H[Ue](!0);const M=O[y];M&&bt(e,M)&&M.el[Ue]&&M.el[Ue](),W(J,[H])},enter(H){if(O[y]===e)return;let J=f,M=u,g=h;if(!n.isMounted)if(o)J=V||f,M=D||u,g=j||h;else return;let C=!1;H[Bt]=B=>{C||(C=!0,B?W(g,[H]):W(M,[H]),he.delayedLeave&&he.delayedLeave(),H[Bt]=void 0)};const I=H[Bt].bind(null,!1);J?ce(J,[H,I]):I()},leave(H,J){const M=String(e.key);if(H[Bt]&&H[Bt](!0),n.isUnmounting)return J();W(x,[H]);let g=!1;H[Ue]=I=>{g||(g=!0,J(),I?W(R,[H]):W($,[H]),H[Ue]=void 0,O[M]===e&&delete O[M])};const C=H[Ue].bind(null,!1);O[M]=e,_?ce(_,[H,C]):C()},clone(H){const J=hr(H,t,n,r,s);return s&&s(J),J}};return he}function pr(e){if(Tn(e))return e=at(e),e.children=null,e}function As(e){if(!Tn(e))return Cs(e.type)&&e.children?Es(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&L(n.default))return n.default()}}function Ht(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ht(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Os(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===me?(i.patchFlag&128&&s++,r=r.concat(Os(i.children,t,l))):(t||i.type!==be)&&r.push(l!=null?at(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function At(e,t){return L(e)?ie({name:e.name},t,{setup:e}):e}function Ms(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Is(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Sn=new WeakMap;function Vt(e,t,n,r,s=!1){if(P(e)){e.forEach((R,q)=>Vt(R,t&&(P(t)?t[q]:t),n,r,s));return}if(Wt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vt(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Nn(r.component):r.el,i=s?null:o,{i:l,r:a}=e,f=t&&t.r,u=l.refs===te?l.refs={}:l.refs,h=l.setupState,x=Y(h),_=h===te?$r:R=>Is(u,R)?!1:G(x,R),$=(R,q)=>!(q&&Is(u,q));if(f!=null&&f!==a){if(Rs(t),le(f))u[f]=null,_(f)&&(h[f]=null);else if(fe(f)){const R=t;$(f,R.k)&&(f.value=null),R.k&&(u[R.k]=null)}}if(L(a))St(a,l,12,[i,u]);else{const R=le(a),q=fe(a);if(R||q){const V=()=>{if(e.f){const D=R?_(a)?h[a]:u[a]:$()||!e.k?a.value:u[e.k];if(s)P(D)&&Wn(D,o);else if(P(D))D.includes(o)||D.push(o);else if(R)u[a]=[o],_(a)&&(h[a]=u[a]);else{const j=[o];$(a,e.k)&&(a.value=j),e.k&&(u[e.k]=j)}}else R?(u[a]=i,_(a)&&(h[a]=i)):q&&($(a,e.k)&&(a.value=i),e.k&&(u[e.k]=i))};if(i){const D=()=>{V(),Sn.delete(e)};D.id=-1,Sn.set(e,D),ve(D,n)}else Rs(e),V()}}}function Rs(e){const t=Sn.get(e);t&&(t.flags|=8,Sn.delete(e))}fn().requestIdleCallback,fn().cancelIdleCallback;const Wt=e=>!!e.type.__asyncLoader,Tn=e=>e.type.__isKeepAlive;function Ji(e,t){js(e,"a",t)}function Xi(e,t){js(e,"da",t)}function js(e,t,n=we){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(En(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Tn(s.parent.vnode)&&Zi(r,t,n,s),s=s.parent}}function Zi(e,t,n,r){const s=En(t,e,r,!0);kn(()=>{Wn(r[t],s)},n)}function En(e,t,n=we,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{$e();const l=Jt(n),a=Fe(t,n,e,i);return l(),Le(),a});return r?s.unshift(o):s.push(o),o}}const Ze=e=>(t,n=we)=>{(!Xt||e==="sp")&&En(e,(...r)=>t(...r),n)},Qi=Ze("bm"),gr=Ze("m"),el=Ze("bu"),tl=Ze("u"),Fs=Ze("bum"),kn=Ze("um"),nl=Ze("sp"),rl=Ze("rtg"),sl=Ze("rtc");function ol(e,t=we){En("ec",e,t)}const il=Symbol.for("v-ndc");function Ps(e,t,n,r){let s;const o=n,i=P(e);if(i||le(e)){const l=i&&ht(e);let a=!1,f=!1;l&&(a=!Ae(e),f=qe(e),e=hn(e)),s=new Array(e.length);for(let u=0,h=e.length;u<h;u++)s[u]=t(a?f?Ct(je(e[u])):je(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,o)}else if(X(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,f=l.length;a<f;a++){const u=l[a];s[a]=t(e[u],u,a,o)}}else s=[];return s}const mr=e=>e?ho(e)?Nn(e):mr(e.parent):null,zt=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ds(e),$forceUpdate:e=>e.f||(e.f=()=>{fr(e.update)}),$nextTick:e=>e.n||(e.n=kt.bind(e.proxy)),$watch:e=>zi.bind(e)}),br=(e,t)=>e!==te&&!e.__isScriptSetup&&G(e,t),ll={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const x=i[t];if(x!==void 0)switch(x){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(br(r,t))return i[t]=1,r[t];if(s!==te&&G(s,t))return i[t]=2,s[t];if(G(o,t))return i[t]=3,o[t];if(n!==te&&G(n,t))return i[t]=4,n[t];wr&&(i[t]=0)}}const f=zt[t];let u,h;if(f)return t==="$attrs"&&de(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==te&&G(n,t))return i[t]=4,n[t];if(h=a.config.globalProperties,G(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return br(s,t)?(s[t]=n,!0):r!==te&&G(r,t)?(r[t]=n,!0):G(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:i}},l){let a;return!!(n[l]||e!==te&&l[0]!=="$"&&G(e,l)||br(t,l)||G(o,l)||G(r,l)||G(zt,l)||G(s.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:G(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ns(e){return P(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let wr=!0;function al(e){const t=Ds(e),n=e.proxy,r=e.ctx;wr=!1,t.beforeCreate&&$s(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:f,created:u,beforeMount:h,mounted:x,beforeUpdate:_,updated:$,activated:R,deactivated:q,beforeDestroy:V,beforeUnmount:D,destroyed:j,unmounted:y,render:O,renderTracked:W,renderTriggered:ce,errorCaptured:he,serverPrefetch:H,expose:J,inheritAttrs:M,components:g,directives:C,filters:I}=t;if(f&&cl(f,r,null),i)for(const z in i){const Q=i[z];L(Q)&&(r[z]=Q.bind(n))}if(s){const z=s.call(n,n);X(z)&&(e.data=ar(z))}if(wr=!0,o)for(const z in o){const Q=o[z],ut=L(Q)?Q.bind(n,n):L(Q.get)?Q.get.bind(n,n):Pe,nt=!L(Q)&&L(Q.set)?Q.set.bind(n):Pe,rt=Te({get:ut,set:nt});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>rt.value,set:Ve=>rt.value=Ve})}if(l)for(const z in l)Ls(l[z],r,n,z);if(a){const z=L(a)?a.call(n):a;Reflect.ownKeys(z).forEach(Q=>{Hi(Q,z[Q])})}u&&$s(u,e,"c");function Z(z,Q){P(Q)?Q.forEach(ut=>z(ut.bind(n))):Q&&z(Q.bind(n))}if(Z(Qi,h),Z(gr,x),Z(el,_),Z(tl,$),Z(Ji,R),Z(Xi,q),Z(ol,he),Z(sl,W),Z(rl,ce),Z(Fs,D),Z(kn,y),Z(nl,H),P(J))if(J.length){const z=e.exposed||(e.exposed={});J.forEach(Q=>{Object.defineProperty(z,Q,{get:()=>n[Q],set:ut=>n[Q]=ut,enumerable:!0})})}else e.exposed||(e.exposed={});O&&e.render===Pe&&(e.render=O),M!=null&&(e.inheritAttrs=M),g&&(e.components=g),C&&(e.directives=C),H&&Ms(e)}function cl(e,t,n=Pe){P(e)&&(e=yr(e));for(const r in e){const s=e[r];let o;X(s)?"default"in s?o=Cn(s.from||r,s.default,!0):o=Cn(s.from||r):o=Cn(s),fe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function $s(e,t,n){Fe(P(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ls(e,t,n,r){let s=r.includes(".")?_s(n,r):()=>n[r];if(le(e)){const o=t[e];L(o)&<(s,o)}else if(L(e))lt(s,e.bind(n));else if(X(e))if(P(e))e.forEach(o=>Ls(o,t,n,r));else{const o=L(e.handler)?e.handler.bind(n):t[e.handler];L(o)&<(s,o,e)}}function Ds(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(f=>An(a,f,i,!0)),An(a,t,i)),X(t)&&o.set(t,a),a}function An(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&An(e,o,n,!0),s&&s.forEach(i=>An(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=ul[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ul={data:Us,props:Bs,emits:Bs,methods:Kt,computed:Kt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Kt,directives:Kt,watch:dl,provide:Us,inject:fl};function Us(e,t){return t?e?function(){return ie(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function fl(e,t){return Kt(yr(e),yr(t))}function yr(e){if(P(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Kt(e,t){return e?ie(Object.create(null),e,t):t}function Bs(e,t){return e?P(e)&&P(t)?[...new Set([...e,...t])]:ie(Object.create(null),Ns(e),Ns(t??{})):t}function dl(e,t){if(!e)return t;if(!t)return e;const n=ie(Object.create(null),e);for(const r in t)n[r]=ge(e[r],t[r]);return n}function Hs(){return{app:null,config:{isNativeTag:$r,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 hl=0;function pl(e,t){return function(r,s=null){L(r)||(r=ie({},r)),s!=null&&!X(s)&&(s=null);const o=Hs(),i=new WeakSet,l=[];let a=!1;const f=o.app={_uid:hl++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Xl,get config(){return o.config},set config(u){},use(u,...h){return i.has(u)||(u&&L(u.install)?(i.add(u),u.install(f,...h)):L(u)&&(i.add(u),u(f,...h))),f},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),f},component(u,h){return h?(o.components[u]=h,f):o.components[u]},directive(u,h){return h?(o.directives[u]=h,f):o.directives[u]},mount(u,h,x){if(!a){const _=f._ceVNode||ae(r,s);return _.appContext=o,x===!0?x="svg":x===!1&&(x=void 0),e(_,u,x),a=!0,f._container=u,u.__vue_app__=f,Nn(_.component)}},onUnmount(u){l.push(u)},unmount(){a&&(Fe(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,h){return o.provides[u]=h,f},runWithContext(u){const h=Ot;Ot=f;try{return u()}finally{Ot=h}}};return f}}let Ot=null;const gl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${ke(t)}Modifiers`];function ml(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||te;let s=n;const o=t.startsWith("update:"),i=o&&gl(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>le(u)?u.trim():u)),i.number&&(s=n.map(Yn)));let l,a=r[l=Kn(t)]||r[l=Kn(Ie(t))];!a&&o&&(a=r[l=Kn(ke(t))]),a&&Fe(a,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(f,e,6,s)}}const bl=new WeakMap;function Vs(e,t,n=!1){const r=n?bl:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!L(e)){const a=f=>{const u=Vs(f,t,!0);u&&(l=!0,ie(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(X(e)&&r.set(e,null),null):(P(o)?o.forEach(a=>i[a]=null):ie(i,o),X(e)&&r.set(e,i),i)}function On(e,t){return!e||!ln(t)?!1:(t=t.slice(2).replace(/Once$/,""),G(e,t[0].toLowerCase()+t.slice(1))||G(e,ke(t))||G(e,t))}function kc(){}function Ws(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:a,render:f,renderCache:u,props:h,data:x,setupState:_,ctx:$,inheritAttrs:R}=e,q=_n(e);let V,D;try{if(n.shapeFlag&4){const y=s||r,O=y;V=Be(f.call(O,y,u,h,_,x,$)),D=l}else{const y=t;V=Be(y.length>1?y(h,{attrs:l,slots:i,emit:a}):y(h,null)),D=t.props?l:wl(l)}}catch(y){Yt.length=0,vn(y,e,1),V=ae(be)}let j=V;if(D&&R!==!1){const y=Object.keys(D),{shapeFlag:O}=j;y.length&&O&7&&(o&&y.some(Vn)&&(D=yl(D,o)),j=at(j,D,!1,!0))}return n.dirs&&(j=at(j,null,!1,!0),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&Ht(j,n.transition),V=j,_n(q),V}const wl=e=>{let t;for(const n in e)(n==="class"||n==="style"||ln(n))&&((t||(t={}))[n]=e[n]);return t},yl=(e,t)=>{const n={};for(const r in e)(!Vn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vl(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?zs(r,i,f):!!i;if(a&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const x=u[h];if(Ks(i,r,x)&&!On(f,x))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?zs(r,i,f):!0:!!i;return!1}function zs(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(Ks(t,e,o)&&!On(n,o))return!0}return!1}function Ks(e,t,n){const r=e[n],s=t[n];return n==="style"&&X(r)&&X(s)?!qn(r,s):r!==s}function xl({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ys={},Gs=()=>Object.create(Ys),qs=e=>Object.getPrototypeOf(e)===Ys;function _l(e,t,n,r=!1){const s={},o=Gs();e.propsDefaults=Object.create(null),Js(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Ei(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Cl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=Y(s),[a]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let x=u[h];if(On(e.emitsOptions,x))continue;const _=t[x];if(a)if(G(o,x))_!==o[x]&&(o[x]=_,f=!0);else{const $=Ie(x);s[$]=vr(a,l,$,_,e,!1)}else _!==o[x]&&(o[x]=_,f=!0)}}}else{Js(e,t,s,o)&&(f=!0);let u;for(const h in l)(!t||!G(t,h)&&((u=ke(h))===h||!G(t,u)))&&(a?n&&(n[h]!==void 0||n[u]!==void 0)&&(s[h]=vr(a,l,h,void 0,e,!0)):delete s[h]);if(o!==l)for(const h in o)(!t||!G(t,h))&&(delete o[h],f=!0)}f&&Ye(e.attrs,"set","")}function Js(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Rt(a))continue;const f=t[a];let u;s&&G(s,u=Ie(a))?!o||!o.includes(u)?n[u]=f:(l||(l={}))[u]=f:On(e.emitsOptions,a)||(!(a in r)||f!==r[a])&&(r[a]=f,i=!0)}if(o){const a=Y(n),f=l||te;for(let u=0;u<o.length;u++){const h=o[u];n[h]=vr(s,a,h,f[h],e,!G(f,h))}}return i}function vr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=G(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&L(a)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const u=Jt(s);r=f[n]=a.call(null,t),u()}}else r=a;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===ke(n))&&(r=!0))}return r}const Sl=new WeakMap;function Xs(e,t,n=!1){const r=n?Sl:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!L(e)){const u=h=>{a=!0;const[x,_]=Xs(h,t,!0);ie(i,x),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return X(e)&&r.set(e,vt),vt;if(P(o))for(let u=0;u<o.length;u++){const h=Ie(o[u]);Zs(h)&&(i[h]=te)}else if(o)for(const u in o){const h=Ie(u);if(Zs(h)){const x=o[u],_=i[h]=P(x)||L(x)?{type:x}:ie({},x),$=_.type;let R=!1,q=!0;if(P($))for(let V=0;V<$.length;++V){const D=$[V],j=L(D)&&D.name;if(j==="Boolean"){R=!0;break}else j==="String"&&(q=!1)}else R=L($)&&$.name==="Boolean";_[0]=R,_[1]=q,(R||G(_,"default"))&&l.push(h)}}const f=[i,l];return X(e)&&r.set(e,f),f}function Zs(e){return e[0]!=="$"&&!Rt(e)}const xr=e=>e==="_"||e==="_ctx"||e==="$stable",_r=e=>P(e)?e.map(Be):[Be(e)],Tl=(e,t,n)=>{if(t._n)return t;const r=vs((...s)=>_r(t(...s)),n);return r._c=!1,r},Qs=(e,t,n)=>{const r=e._ctx;for(const s in e){if(xr(s))continue;const o=e[s];if(L(o))t[s]=Tl(s,o,r);else if(o!=null){const i=_r(o);t[s]=()=>i}}},eo=(e,t)=>{const n=_r(t);e.slots.default=()=>n},to=(e,t,n)=>{for(const r in t)(n||!xr(r))&&(e[r]=t[r])},El=(e,t,n)=>{const r=e.slots=Gs();if(e.vnode.shapeFlag&32){const s=t._;s?(to(r,t,n),n&&Vr(r,"_",s,!0)):Qs(t,r)}else t&&eo(e,t)},kl=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:to(s,t,n):(o=!t.$stable,Qs(t,s)),i=t}else t&&(eo(e,t),i={default:1});if(o)for(const l in s)!xr(l)&&i[l]==null&&delete s[l]},ve=Rl;function Al(e){return Ol(e)}function Ol(e,t){const n=fn();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:f,setElementText:u,parentNode:h,nextSibling:x,setScopeId:_=Pe,insertStaticContent:$}=e,R=(c,d,p,v=null,m=null,b=null,E=void 0,T=null,S=!!d.dynamicChildren)=>{if(c===d)return;c&&!bt(c,d)&&(v=Bn(c),Ve(c,m,b,!0),c=null),d.patchFlag===-2&&(S=!1,d.dynamicChildren=null);const{type:w,ref:N,shapeFlag:k}=d;switch(w){case Mn:q(c,d,p,v);break;case be:V(c,d,p,v);break;case In:c==null&&D(d,p,v,E);break;case me:g(c,d,p,v,m,b,E,T,S);break;default:k&1?O(c,d,p,v,m,b,E,T,S):k&6?C(c,d,p,v,m,b,E,T,S):(k&64||k&128)&&w.process(c,d,p,v,m,b,E,T,S,rn)}N!=null&&m?Vt(N,c&&c.ref,b,d||c,!d):N==null&&c&&c.ref!=null&&Vt(c.ref,null,b,c,!0)},q=(c,d,p,v)=>{if(c==null)r(d.el=l(d.children),p,v);else{const m=d.el=c.el;d.children!==c.children&&f(m,d.children)}},V=(c,d,p,v)=>{c==null?r(d.el=a(d.children||""),p,v):d.el=c.el},D=(c,d,p,v)=>{[c.el,c.anchor]=$(c.children,d,p,v,c.el,c.anchor)},j=({el:c,anchor:d},p,v)=>{let m;for(;c&&c!==d;)m=x(c),r(c,p,v),c=m;r(d,p,v)},y=({el:c,anchor:d})=>{let p;for(;c&&c!==d;)p=x(c),s(c),c=p;s(d)},O=(c,d,p,v,m,b,E,T,S)=>{if(d.type==="svg"?E="svg":d.type==="math"&&(E="mathml"),c==null)W(d,p,v,m,b,E,T,S);else{const w=c.el&&c.el._isVueCE?c.el:null;try{w&&w._beginPatch(),H(c,d,m,b,E,T,S)}finally{w&&w._endPatch()}}},W=(c,d,p,v,m,b,E,T)=>{let S,w;const{props:N,shapeFlag:k,transition:F,dirs:U}=c;if(S=c.el=i(c.type,b,N&&N.is,N),k&8?u(S,c.children):k&16&&he(c.children,S,null,v,m,Cr(c,b),E,T),U&>(c,null,v,"created"),ce(S,c,c.scopeId,E,v),N){for(const oe in N)oe!=="value"&&!Rt(oe)&&o(S,oe,null,N[oe],b,v);"value"in N&&o(S,"value",null,N.value,b),(w=N.onVnodeBeforeMount)&&He(w,v,c)}U&>(c,null,v,"beforeMount");const K=Ml(m,F);K&&F.beforeEnter(S),r(S,d,p),((w=N&&N.onVnodeMounted)||K||U)&&ve(()=>{w&&He(w,v,c),K&&F.enter(S),U&>(c,null,v,"mounted")},m)},ce=(c,d,p,v,m)=>{if(p&&_(c,p),v)for(let b=0;b<v.length;b++)_(c,v[b]);if(m){let b=m.subTree;if(d===b||io(b.type)&&(b.ssContent===d||b.ssFallback===d)){const E=m.vnode;ce(c,E,E.scopeId,E.slotScopeIds,m.parent)}}},he=(c,d,p,v,m,b,E,T,S=0)=>{for(let w=S;w<c.length;w++){const N=c[w]=T?Qe(c[w]):Be(c[w]);R(null,N,d,p,v,m,b,E,T)}},H=(c,d,p,v,m,b,E)=>{const T=d.el=c.el;let{patchFlag:S,dynamicChildren:w,dirs:N}=d;S|=c.patchFlag&16;const k=c.props||te,F=d.props||te;let U;if(p&&mt(p,!1),(U=F.onVnodeBeforeUpdate)&&He(U,p,d,c),N&>(d,c,p,"beforeUpdate"),p&&mt(p,!0),(k.innerHTML&&F.innerHTML==null||k.textContent&&F.textContent==null)&&u(T,""),w?J(c.dynamicChildren,w,T,p,v,Cr(d,m),b):E||Q(c,d,T,null,p,v,Cr(d,m),b,!1),S>0){if(S&16)M(T,k,F,p,m);else if(S&2&&k.class!==F.class&&o(T,"class",null,F.class,m),S&4&&o(T,"style",k.style,F.style,m),S&8){const K=d.dynamicProps;for(let oe=0;oe<K.length;oe++){const ee=K[oe],xe=k[ee],_e=F[ee];(_e!==xe||ee==="value")&&o(T,ee,xe,_e,m,p)}}S&1&&c.children!==d.children&&u(T,d.children)}else!E&&w==null&&M(T,k,F,p,m);((U=F.onVnodeUpdated)||N)&&ve(()=>{U&&He(U,p,d,c),N&>(d,c,p,"updated")},v)},J=(c,d,p,v,m,b,E)=>{for(let T=0;T<d.length;T++){const S=c[T],w=d[T],N=S.el&&(S.type===me||!bt(S,w)||S.shapeFlag&198)?h(S.el):p;R(S,w,N,null,v,m,b,E,!0)}},M=(c,d,p,v,m)=>{if(d!==p){if(d!==te)for(const b in d)!Rt(b)&&!(b in p)&&o(c,b,d[b],null,m,v);for(const b in p){if(Rt(b))continue;const E=p[b],T=d[b];E!==T&&b!=="value"&&o(c,b,T,E,m,v)}"value"in p&&o(c,"value",d.value,p.value,m)}},g=(c,d,p,v,m,b,E,T,S)=>{const w=d.el=c?c.el:l(""),N=d.anchor=c?c.anchor:l("");let{patchFlag:k,dynamicChildren:F,slotScopeIds:U}=d;U&&(T=T?T.concat(U):U),c==null?(r(w,p,v),r(N,p,v),he(d.children||[],p,N,m,b,E,T,S)):k>0&&k&64&&F&&c.dynamicChildren&&c.dynamicChildren.length===F.length?(J(c.dynamicChildren,F,p,m,b,E,T),(d.key!=null||m&&d===m.subTree)&&no(c,d,!0)):Q(c,d,p,N,m,b,E,T,S)},C=(c,d,p,v,m,b,E,T,S)=>{d.slotScopeIds=T,c==null?d.shapeFlag&512?m.ctx.activate(d,p,v,E,S):I(d,p,v,m,b,E,S):B(c,d,S)},I=(c,d,p,v,m,b,E)=>{const T=c.component=Bl(c,v,m);if(Tn(c)&&(T.ctx.renderer=rn),Hl(T,!1,E),T.asyncDep){if(m&&m.registerDep(T,Z,E),!c.el){const S=T.subTree=ae(be);V(null,S,d,p),c.placeholder=S.el}}else Z(T,c,d,p,m,b,E)},B=(c,d,p)=>{const v=d.component=c.component;if(vl(c,d,p))if(v.asyncDep&&!v.asyncResolved){z(v,d,p);return}else v.next=d,v.update();else d.el=c.el,v.vnode=d},Z=(c,d,p,v,m,b,E)=>{const T=()=>{if(c.isMounted){let{next:k,bu:F,u:U,parent:K,vnode:oe}=c;{const ze=ro(c);if(ze){k&&(k.el=oe.el,z(c,k,E)),ze.asyncDep.then(()=>{ve(()=>{c.isUnmounted||w()},m)});return}}let ee=k,xe;mt(c,!1),k?(k.el=oe.el,z(c,k,E)):k=oe,F&&un(F),(xe=k.props&&k.props.onVnodeBeforeUpdate)&&He(xe,K,k,oe),mt(c,!0);const _e=Ws(c),We=c.subTree;c.subTree=_e,R(We,_e,h(We.el),Bn(We),c,m,b),k.el=_e.el,ee===null&&xl(c,_e.el),U&&ve(U,m),(xe=k.props&&k.props.onVnodeUpdated)&&ve(()=>He(xe,K,k,oe),m)}else{let k;const{el:F,props:U}=d,{bm:K,m:oe,parent:ee,root:xe,type:_e}=c,We=Wt(d);mt(c,!1),K&&un(K),!We&&(k=U&&U.onVnodeBeforeMount)&&He(k,ee,d),mt(c,!0);{xe.ce&&xe.ce._hasShadowRoot()&&xe.ce._injectChildStyle(_e);const ze=c.subTree=Ws(c);R(null,ze,p,v,c,m,b),d.el=ze.el}if(oe&&ve(oe,m),!We&&(k=U&&U.onVnodeMounted)){const ze=d;ve(()=>He(k,ee,ze),m)}(d.shapeFlag&256||ee&&Wt(ee.vnode)&&ee.vnode.shapeFlag&256)&&c.a&&ve(c.a,m),c.isMounted=!0,d=p=v=null}};c.scope.on();const S=c.effect=new Gr(T);c.scope.off();const w=c.update=S.run.bind(S),N=c.job=S.runIfDirty.bind(S);N.i=c,N.id=c.uid,S.scheduler=()=>fr(N),mt(c,!0),w()},z=(c,d,p)=>{d.component=c;const v=c.vnode.props;c.vnode=d,c.next=null,Cl(c,d.props,v,p),kl(c,d.children,p),$e(),ms(c),Le()},Q=(c,d,p,v,m,b,E,T,S=!1)=>{const w=c&&c.children,N=c?c.shapeFlag:0,k=d.children,{patchFlag:F,shapeFlag:U}=d;if(F>0){if(F&128){nt(w,k,p,v,m,b,E,T,S);return}else if(F&256){ut(w,k,p,v,m,b,E,T,S);return}}U&8?(N&16&&nn(w,m,b),k!==w&&u(p,k)):N&16?U&16?nt(w,k,p,v,m,b,E,T,S):nn(w,m,b,!0):(N&8&&u(p,""),U&16&&he(k,p,v,m,b,E,T,S))},ut=(c,d,p,v,m,b,E,T,S)=>{c=c||vt,d=d||vt;const w=c.length,N=d.length,k=Math.min(w,N);let F;for(F=0;F<k;F++){const U=d[F]=S?Qe(d[F]):Be(d[F]);R(c[F],U,p,null,m,b,E,T,S)}w>N?nn(c,m,b,!0,!1,k):he(d,p,v,m,b,E,T,S,k)},nt=(c,d,p,v,m,b,E,T,S)=>{let w=0;const N=d.length;let k=c.length-1,F=N-1;for(;w<=k&&w<=F;){const U=c[w],K=d[w]=S?Qe(d[w]):Be(d[w]);if(bt(U,K))R(U,K,p,null,m,b,E,T,S);else break;w++}for(;w<=k&&w<=F;){const U=c[k],K=d[F]=S?Qe(d[F]):Be(d[F]);if(bt(U,K))R(U,K,p,null,m,b,E,T,S);else break;k--,F--}if(w>k){if(w<=F){const U=F+1,K=U<N?d[U].el:v;for(;w<=F;)R(null,d[w]=S?Qe(d[w]):Be(d[w]),p,K,m,b,E,T,S),w++}}else if(w>F)for(;w<=k;)Ve(c[w],m,b,!0),w++;else{const U=w,K=w,oe=new Map;for(w=K;w<=F;w++){const Ee=d[w]=S?Qe(d[w]):Be(d[w]);Ee.key!=null&&oe.set(Ee.key,w)}let ee,xe=0;const _e=F-K+1;let We=!1,ze=0;const sn=new Array(_e);for(w=0;w<_e;w++)sn[w]=0;for(w=U;w<=k;w++){const Ee=c[w];if(xe>=_e){Ve(Ee,m,b,!0);continue}let Ke;if(Ee.key!=null)Ke=oe.get(Ee.key);else for(ee=K;ee<=F;ee++)if(sn[ee-K]===0&&bt(Ee,d[ee])){Ke=ee;break}Ke===void 0?Ve(Ee,m,b,!0):(sn[Ke-K]=w+1,Ke>=ze?ze=Ke:We=!0,R(Ee,d[Ke],p,null,m,b,E,T,S),xe++)}const Yo=We?Il(sn):vt;for(ee=Yo.length-1,w=_e-1;w>=0;w--){const Ee=K+w,Ke=d[Ee],Go=d[Ee+1],qo=Ee+1<N?Go.el||oo(Go):v;sn[w]===0?R(null,Ke,p,qo,m,b,E,T,S):We&&(ee<0||w!==Yo[ee]?rt(Ke,p,qo,2):ee--)}}},rt=(c,d,p,v,m=null)=>{const{el:b,type:E,transition:T,children:S,shapeFlag:w}=c;if(w&6){rt(c.component.subTree,d,p,v);return}if(w&128){c.suspense.move(d,p,v);return}if(w&64){E.move(c,d,p,rn);return}if(E===me){r(b,d,p);for(let k=0;k<S.length;k++)rt(S[k],d,p,v);r(c.anchor,d,p);return}if(E===In){j(c,d,p);return}if(v!==2&&w&1&&T)if(v===0)T.beforeEnter(b),r(b,d,p),ve(()=>T.enter(b),m);else{const{leave:k,delayLeave:F,afterLeave:U}=T,K=()=>{c.ctx.isUnmounted?s(b):r(b,d,p)},oe=()=>{b._isLeaving&&b[Ue](!0),k(b,()=>{K(),U&&U()})};F?F(b,K,oe):oe()}else r(b,d,p)},Ve=(c,d,p,v=!1,m=!1)=>{const{type:b,props:E,ref:T,children:S,dynamicChildren:w,shapeFlag:N,patchFlag:k,dirs:F,cacheIndex:U}=c;if(k===-2&&(m=!1),T!=null&&($e(),Vt(T,null,p,c,!0),Le()),U!=null&&(d.renderCache[U]=void 0),N&256){d.ctx.deactivate(c);return}const K=N&1&&F,oe=!Wt(c);let ee;if(oe&&(ee=E&&E.onVnodeBeforeUnmount)&&He(ee,d,c),N&6)Cc(c.component,p,v);else{if(N&128){c.suspense.unmount(p,v);return}K&>(c,null,d,"beforeUnmount"),N&64?c.type.remove(c,d,p,rn,v):w&&!w.hasOnce&&(b!==me||k>0&&k&64)?nn(w,d,p,!1,!0):(b===me&&k&384||!m&&N&16)&&nn(S,d,p),v&&zo(c)}(oe&&(ee=E&&E.onVnodeUnmounted)||K)&&ve(()=>{ee&&He(ee,d,c),K&>(c,null,d,"unmounted")},p)},zo=c=>{const{type:d,el:p,anchor:v,transition:m}=c;if(d===me){_c(p,v);return}if(d===In){y(c);return}const b=()=>{s(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:E,delayLeave:T}=m,S=()=>E(p,b);T?T(c.el,b,S):S()}else b()},_c=(c,d)=>{let p;for(;c!==d;)p=x(c),s(c),c=p;s(d)},Cc=(c,d,p)=>{const{bum:v,scope:m,job:b,subTree:E,um:T,m:S,a:w}=c;so(S),so(w),v&&un(v),m.stop(),b&&(b.flags|=8,Ve(E,c,d,p)),T&&ve(T,d),ve(()=>{c.isUnmounted=!0},d)},nn=(c,d,p,v=!1,m=!1,b=0)=>{for(let E=b;E<c.length;E++)Ve(c[E],d,p,v,m)},Bn=c=>{if(c.shapeFlag&6)return Bn(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=x(c.anchor||c.el),p=d&&d[Ki];return p?x(p):d};let Nr=!1;const Ko=(c,d,p)=>{let v;c==null?d._vnode&&(Ve(d._vnode,null,null,!0),v=d._vnode.component):R(d._vnode||null,c,d,null,null,null,p),d._vnode=c,Nr||(Nr=!0,ms(v),bs(),Nr=!1)},rn={p:R,um:Ve,m:rt,r:zo,mt:I,mc:he,pc:Q,pbc:J,n:Bn,o:e};return{render:Ko,hydrate:void 0,createApp:pl(Ko)}}function Cr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function mt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ml(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function no(e,t,n=!1){const r=e.children,s=t.children;if(P(r)&&P(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Qe(s[o]),l.el=i.el),!n&&l.patchFlag!==-2&&no(i,l)),l.type===Mn&&(l.patchFlag===-1&&(l=s[o]=Qe(l)),l.el=i.el),l.type===be&&!l.el&&(l.el=i.el)}}function Il(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function ro(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ro(t)}function so(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function oo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?oo(t.subTree):null}const io=e=>e.__isSuspense;function Rl(e,t){t&&t.pendingBranch?P(e)?t.effects.push(...e):t.effects.push(e):Bi(e)}const me=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),be=Symbol.for("v-cmt"),In=Symbol.for("v-stc"),Yt=[];let Se=null;function ne(e=!1){Yt.push(Se=e?null:[])}function jl(){Yt.pop(),Se=Yt[Yt.length-1]||null}let Gt=1;function Rn(e,t=!1){Gt+=e,e<0&&Se&&t&&(Se.hasOnce=!0)}function lo(e){return e.dynamicChildren=Gt>0?Se||vt:null,jl(),Gt>0&&Se&&Se.push(e),e}function se(e,t,n,r,s,o){return lo(A(e,t,n,r,s,o,!0))}function Fl(e,t,n,r,s){return lo(ae(e,t,n,r,s,!0))}function jn(e){return e?e.__v_isVNode===!0:!1}function bt(e,t){return e.type===t.type&&e.key===t.key}const ao=({key:e})=>e??null,Fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||fe(e)||L(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function A(e,t=null,n=null,r=0,s=null,o=e===me?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ao(t),ref:t&&Fn(t),scopeId:ys,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Oe};return l?(Sr(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=le(n)?8:16),Gt>0&&!i&&Se&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Se.push(a),a}const ae=Pl;function Pl(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===il)&&(e=be),jn(e)){const l=at(e,t,!0);return n&&Sr(l,n),Gt>0&&!o&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag=-2,l}if(ql(e)&&(e=e.__vccOpts),t){t=Nl(t);let{class:l,style:a}=t;l&&!le(l)&&(t.class=ue(l)),X(a)&&(cr(a)&&!P(a)&&(a=ie({},a)),t.style=dn(a))}const i=le(e)?1:io(e)?128:Cs(e)?64:X(e)?4:L(e)?2:0;return A(e,t,n,r,s,i,o,!0)}function Nl(e){return e?cr(e)||qs(e)?ie({},e):e:null}function at(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:a}=e,f=t?Ll(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&ao(f),ref:t&&t.ref?n&&o?P(o)?o.concat(Fn(t)):[o,Fn(t)]:Fn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&at(e.ssContent),ssFallback:e.ssFallback&&at(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Ht(u,a.clone(u)),u}function $l(e=" ",t=0){return ae(Mn,null,e,t)}function co(e,t){const n=ae(In,null,e);return n.staticCount=t,n}function qt(e="",t=!1){return t?(ne(),Fl(be,null,e)):ae(be,null,e)}function Be(e){return e==null||typeof e=="boolean"?ae(be):P(e)?ae(me,null,e.slice()):jn(e)?Qe(e):ae(Mn,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:at(e)}function Sr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(P(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Sr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!qs(t)?t._ctx=Oe:s===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),r&64?(n=16,t=[$l(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ll(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ue([t.class,r.class]));else if(s==="style")t.style=dn([t.style,r.style]);else if(ln(s)){const o=t[s],i=r[s];i&&o!==i&&!(P(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function He(e,t,n,r=null){Fe(e,t,7,[n,r])}const Dl=Hs();let Ul=0;function Bl(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Dl,o={uid:Ul++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ii(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xs(r,s),emitsOptions:Vs(r,s),emit:null,emitted:null,propsDefaults:te,inheritAttrs:r.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext: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 o.ctx={_:o},o.root=t?t.root:o,o.emit=ml.bind(null,o),e.ce&&e.ce(o),o}let we=null;const uo=()=>we||Oe;let Pn,Tr;{const e=fn(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Pn=t("__VUE_INSTANCE_SETTERS__",n=>we=n),Tr=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Jt=e=>{const t=we;return Pn(e),e.scope.on(),()=>{e.scope.off(),Pn(t)}},fo=()=>{we&&we.scope.off(),Pn(null)};function ho(e){return e.vnode.shapeFlag&4}let Xt=!1;function Hl(e,t=!1,n=!1){t&&Tr(t);const{props:r,children:s}=e.vnode,o=ho(e);_l(e,r,o,t),El(e,s,n||t);const i=o?Vl(e,t):void 0;return t&&Tr(!1),i}function Vl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ll);const{setup:r}=n;if(r){$e();const s=e.setupContext=r.length>1?zl(e):null,o=Jt(e),i=St(r,e,0,[e.props,s]),l=Ur(i);if(Le(),o(),(l||e.sp)&&!Wt(e)&&Ms(e),l){if(i.then(fo,fo),t)return i.then(a=>{po(e,a)}).catch(a=>{vn(a,e,0)});e.asyncDep=i}else po(e,i)}else go(e)}function po(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=ds(t)),go(e)}function go(e,t,n){const r=e.type;e.render||(e.render=r.render||Pe);{const s=Jt(e);$e();try{al(e)}finally{Le(),s()}}}const Wl={get(e,t){return de(e,"get",""),e[t]}};function zl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Wl),slots:e.slots,emit:e.emit,expose:t}}function Nn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ds(ki(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zt)return zt[n](e)},has(t,n){return n in t||n in zt}})):e.proxy}const Kl=/(?:^|[-_])\w/g,Yl=e=>e.replace(Kl,t=>t.toUpperCase()).replace(/[-_]/g,"");function Gl(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function mo(e,t,n=!1){let r=Gl(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components)||e.parent&&s(e.parent.type.components)||s(e.appContext.components)}return r?Yl(r):n?"App":"Anonymous"}function ql(e){return L(e)&&"__vccOpts"in e}const Te=(e,t)=>Ri(e,t,Xt);function Jl(e,t,n){try{Rn(-1);const r=arguments.length;return r===2?X(t)&&!P(t)?jn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&jn(n)&&(n=[n]),ae(e,t,n))}finally{Rn(1)}}const Xl="3.5.29";/**
|
|
17
|
+
* @vue/runtime-dom v3.5.29
|
|
18
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
|
+
* @license MIT
|
|
20
|
+
**/let Er;const bo=typeof window<"u"&&window.trustedTypes;if(bo)try{Er=bo.createPolicy("vue",{createHTML:e=>e})}catch{}const wo=Er?e=>Er.createHTML(e):e=>e,Zl="http://www.w3.org/2000/svg",Ql="http://www.w3.org/1998/Math/MathML",et=typeof document<"u"?document:null,yo=et&&et.createElement("template"),ea={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?et.createElementNS(Zl,e):t==="mathml"?et.createElementNS(Ql,e):n?et.createElement(e,{is:n}):et.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{yo.innerHTML=wo(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=yo.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ct="transition",Zt="animation",Qt=Symbol("_vtc"),vo={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},ta=ie({},Ss,vo),na=(e=>(e.displayName="Transition",e.props=ta,e))((e,{slots:t})=>Jl(qi,ra(e),t)),wt=(e,t=[])=>{P(e)?e.forEach(n=>n(...t)):e&&e(...t)},xo=e=>e?P(e)?e.some(t=>t.length>1):e.length>1:!1;function ra(e){const t={};for(const g in e)g in vo||(t[g]=e[g]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:x=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,$=sa(s),R=$&&$[0],q=$&&$[1],{onBeforeEnter:V,onEnter:D,onEnterCancelled:j,onLeave:y,onLeaveCancelled:O,onBeforeAppear:W=V,onAppear:ce=D,onAppearCancelled:he=j}=t,H=(g,C,I,B)=>{g._enterCancelled=B,yt(g,C?u:l),yt(g,C?f:i),I&&I()},J=(g,C)=>{g._isLeaving=!1,yt(g,h),yt(g,_),yt(g,x),C&&C()},M=g=>(C,I)=>{const B=g?ce:D,Z=()=>H(C,g,I);wt(B,[C,Z]),_o(()=>{yt(C,g?a:o),tt(C,g?u:l),xo(B)||Co(C,r,R,Z)})};return ie(t,{onBeforeEnter(g){wt(V,[g]),tt(g,o),tt(g,i)},onBeforeAppear(g){wt(W,[g]),tt(g,a),tt(g,f)},onEnter:M(!1),onAppear:M(!0),onLeave(g,C){g._isLeaving=!0;const I=()=>J(g,C);tt(g,h),g._enterCancelled?(tt(g,x),Eo(g)):(Eo(g),tt(g,x)),_o(()=>{g._isLeaving&&(yt(g,h),tt(g,_),xo(y)||Co(g,r,q,I))}),wt(y,[g,I])},onEnterCancelled(g){H(g,!1,void 0,!0),wt(j,[g])},onAppearCancelled(g){H(g,!0,void 0,!0),wt(he,[g])},onLeaveCancelled(g){J(g),wt(O,[g])}})}function sa(e){if(e==null)return null;if(X(e))return[kr(e.enter),kr(e.leave)];{const t=kr(e);return[t,t]}}function kr(e){return Gn(e)}function tt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qt]||(e[Qt]=new Set)).add(t)}function yt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Qt];n&&(n.delete(t),n.size||(e[Qt]=void 0))}function _o(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let oa=0;function Co(e,t,n,r){const s=e._endId=++oa,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=ia(e,t);if(!i)return r();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,x),o()},x=_=>{_.target===e&&++u>=a&&h()};setTimeout(()=>{u<a&&h()},l+1),e.addEventListener(f,x)}function ia(e,t){const n=window.getComputedStyle(e),r=$=>(n[$]||"").split(", "),s=r(`${ct}Delay`),o=r(`${ct}Duration`),i=So(s,o),l=r(`${Zt}Delay`),a=r(`${Zt}Duration`),f=So(l,a);let u=null,h=0,x=0;t===ct?i>0&&(u=ct,h=i,x=o.length):t===Zt?f>0&&(u=Zt,h=f,x=a.length):(h=Math.max(i,f),u=h>0?i>f?ct:Zt:null,x=u?u===ct?o.length:a.length:0);const _=u===ct&&/\b(?:transform|all)(?:,|$)/.test(r(`${ct}Property`).toString());return{type:u,timeout:h,propCount:x,hasTransform:_}}function So(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>To(n)+To(e[r])))}function To(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Eo(e){return(e?e.ownerDocument:document).body.offsetHeight}function la(e,t,n){const r=e[Qt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $n=Symbol("_vod"),ko=Symbol("_vsh"),Ao={name:"show",beforeMount(e,{value:t},{transition:n}){e[$n]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):en(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),en(e,!0),r.enter(e)):r.leave(e,()=>{en(e,!1)}):en(e,t))},beforeUnmount(e,{value:t}){en(e,t)}};function en(e,t){e.style.display=t?e[$n]:"none",e[ko]=!t}const aa=Symbol(""),ca=/(?:^|;)\s*display\s*:/;function ua(e,t,n){const r=e.style,s=le(n);let o=!1;if(n&&!s){if(t)if(le(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Ln(r,l,"")}else for(const i in t)n[i]==null&&Ln(r,i,"");for(const i in n)i==="display"&&(o=!0),Ln(r,i,n[i])}else if(s){if(t!==n){const i=r[aa];i&&(n+=";"+i),r.cssText=n,o=ca.test(n)}}else t&&e.removeAttribute("style");$n in e&&(e[$n]=o?r.display:"",e[ko]&&(r.display="none"))}const Oo=/\s*!important$/;function Ln(e,t,n){if(P(n))n.forEach(r=>Ln(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=fa(e,t);Oo.test(n)?e.setProperty(ke(r),n.replace(Oo,""),"important"):e[r]=n}}const Mo=["Webkit","Moz","ms"],Ar={};function fa(e,t){const n=Ar[t];if(n)return n;let r=Ie(t);if(r!=="filter"&&r in e)return Ar[t]=r;r=Hr(r);for(let s=0;s<Mo.length;s++){const o=Mo[s]+r;if(o in e)return Ar[t]=o}return t}const Io="http://www.w3.org/1999/xlink";function Ro(e,t,n,r,s,o=si(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Io,t.slice(6,t.length)):e.setAttributeNS(Io,t,n):n==null||o&&!zr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Ne(n)?String(n):n)}function jo(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?wo(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=zr(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Mt(e,t,n,r){e.addEventListener(t,n,r)}function da(e,t,n,r){e.removeEventListener(t,n,r)}const Fo=Symbol("_vei");function ha(e,t,n,r,s=null){const o=e[Fo]||(e[Fo]={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=pa(t);if(r){const f=o[t]=ba(r,s);Mt(e,l,f,a)}else i&&(da(e,l,i,a),o[t]=void 0)}}const Po=/(?:Once|Passive|Capture)$/;function pa(e){let t;if(Po.test(e)){t={};let r;for(;r=e.match(Po);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ke(e.slice(2)),t]}let Or=0;const ga=Promise.resolve(),ma=()=>Or||(ga.then(()=>Or=0),Or=Date.now());function ba(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Fe(wa(r,n.value),t,5,[r])};return n.value=e,n.attached=ma(),n}function wa(e,t){if(P(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const No=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ya=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?la(e,r,i):t==="style"?ua(e,n,r):ln(t)?Vn(t)||ha(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):va(e,t,r,i))?(jo(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ro(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!le(r))?jo(e,Ie(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ro(e,t,r,i))};function va(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&No(t)&&L(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return No(t)&&le(n)?!1:t in e}const $o={};function xa(e,t,n){let r=At(e,t);an(r)&&(r=ie({},r,t));class s extends Mr{constructor(i){super(r,i,n)}}return s.def=r,s}const _a=typeof HTMLElement<"u"?HTMLElement:class{};class Mr extends _a{constructor(t,n={},r=Vo){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==Vo?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(ie({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Mr){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,kt(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(r,s=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:i}=r;let l;if(o&&!P(o))for(const a in o){const f=o[a];(f===Number||f&&f.type===Number)&&(a in this._props&&(this._props[a]=Gn(this._props[a])),(l||(l=Object.create(null)))[Ie(a)]=!0)}this._numberProps=l,this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)G(this,r)||Object.defineProperty(this,r,{get:()=>Je(n[r])})}_resolveProps(t){const{props:n}=t,r=P(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&r.includes(s)&&this._setProp(s,this[s]);for(const s of r.map(Ie))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):$o;const s=Ie(t);n&&this._numberProps&&this._numberProps[s]&&(r=Gn(r)),this._setProp(s,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!1){if(n!==this._props[t]&&(this._dirty=!0,n===$o?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),s&&this._instance&&this._update(),r)){const o=this._ob;o&&(this._processMutations(o.takeRecords()),o.disconnect()),n===!0?this.setAttribute(ke(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ke(t),n+""):n||this.removeAttribute(ke(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Ea(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ae(this._def,ie(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const s=(o,i)=>{this.dispatchEvent(new CustomEvent(o,an(i[0])?ie({detail:i},i[0]):{detail:i}))};r.emit=(o,...i)=>{s(o,i),ke(o)!==o&&s(ke(o),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let s=t.length-1;s>=0;s--){const o=document.createElement("style");r&&o.setAttribute("nonce",r),o.textContent=t[s],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const s=t[r],o=s.getAttribute("name")||"default",i=this._slots[o],l=s.parentNode;if(i)for(const a of i){if(n&&a.nodeType===1){const f=n+"-s",u=document.createTreeWalker(a,1);a.setAttribute(f,"");let h;for(;h=u.nextNode();)h.setAttribute(f,"")}l.insertBefore(a,s)}else for(;s.firstChild;)l.insertBefore(s.firstChild,s);l.removeChild(s)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const r of t){const s=r.querySelectorAll("slot");for(let o=0;o<s.length;o++)n.add(s[o])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}const Lo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return P(t)?n=>un(t,n):t};function Ca(e){e.target.composing=!0}function Do(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ir=Symbol("_assign");function Uo(e,t,n){return t&&(e=e.trim()),n&&(e=Yn(e)),e}const Sa={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ir]=Lo(s);const o=r||s.props&&s.props.type==="number";Mt(e,t?"change":"input",i=>{i.target.composing||e[Ir](Uo(e.value,n,o))}),(n||o)&&Mt(e,"change",()=>{e.value=Uo(e.value,n,o)}),t||(Mt(e,"compositionstart",Ca),Mt(e,"compositionend",Do),Mt(e,"change",Do))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Ir]=Lo(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Yn(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a))}},Ta=ie({patchProp:ya},ea);let Bo;function Ho(){return Bo||(Bo=Al(Ta))}const Ea=(...e)=>{Ho().render(...e)},Vo=(...e)=>{const t=Ho().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Aa(r);if(!s)return;const o=t._component;!L(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,ka(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function ka(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Aa(e){return le(e)?document.querySelector(e):e}const Oa={class:"typing-indicator flex items-center gap-1 py-2"},Ma={class:"flex gap-0.5"},Ia=((e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n})(At({__name:"TypingIndicator",setup(e){return(t,n)=>(ne(),se("div",Oa,[n[0]||(n[0]=A("span",{class:"text-xs text-gray-500"},"Admin is typing",-1)),A("span",Ma,[(ne(),se(me,null,Ps(3,r=>A("span",{key:r,class:"w-1.5 h-1.5 bg-gray-400 rounded-full animate-bounce",style:dn({animationDelay:`${(r-1)*150}ms`})},null,4)),64))])]))}}),[["styles",["@keyframes bounce-d427c516{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}.animate-bounce[data-v-d427c516]{animation:bounce-d427c516 1s infinite}"]],["__scopeId","data-v-d427c516"]]);async function Ra(e,t={}){const{filename:n}=t;try{const r=await fetch(e);if(!r.ok)throw new Error(`HTTP error: ${r.status}`);const s=await r.blob(),o=URL.createObjectURL(s),i=document.createElement("a");i.href=o,i.download=n||ja(e)||"download",i.rel="noopener noreferrer",document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(o)}catch(r){console.warn("[Download] Fetch failed, falling back to open in new tab:",r instanceof Error?r.message:"Unknown error"),Fa(e)}}function ja(e){try{const r=new URL(e).pathname.split("/"),s=r[r.length-1];return s&&s.split("?")[0]||null}catch{return null}}function Fa(e){const t=document.createElement("a");t.href=e,t.target="_blank",t.rel="noopener noreferrer",document.body.appendChild(t),t.click(),document.body.removeChild(t)}const Pa={class:"message-list flex-1 overflow-y-auto p-4 space-y-3"},Na={key:0,class:"text-center text-gray-400 py-8"},$a={key:0,class:"text-[11px] font-bold text-gray-400 uppercase tracking-widest text-center px-6"},La={key:0,class:"whitespace-pre-wrap"},Da={key:1,class:"mt-2"},Ua=["href"],Ba=["src"],Ha={class:"flex gap-2 mt-1"},Va=["href"],Wa=["onClick"],za={class:"flex-1 min-w-0"},Ka={class:"flex gap-1"},Ya=["onClick"],Ga=["href"],qa={key:2,class:"flex justify-start"},Ja={class:"bg-gray-100 rounded-2xl rounded-bl-md px-4 py-2"},Xa=At({__name:"MessageList",props:{messages:{type:Array},showTyping:{type:Boolean}},setup(e,{expose:t}){const n=e,r=Ce(null);function s(f){if(!f)return!1;const u=[".jpg",".jpeg",".png",".gif",".webp",".bmp"],h=f.toLowerCase();return u.some(x=>h.includes(x))||f.includes("image/")}function o(f){if(!f)return"File";try{const x=new URL(f).pathname.split("/"),_=x[x.length-1];return _&&_.split("?")[0]||"File"}catch{return"File"}}async function i(f){f&&await Ra(f)}function l(f){const u=f.target;u.style.display="none"}function a(){kt(()=>{var f;(f=r.value)==null||f.scrollIntoView({behavior:"smooth"})})}return lt(()=>n.messages.length,()=>{a()}),lt(()=>n.showTyping,()=>{a()}),t({scrollToBottom:a}),(f,u)=>(ne(),se("div",Pa,[e.messages.length===0?(ne(),se("div",Na,[...u[0]||(u[0]=[A("p",{class:"text-sm"},"No messages yet.",-1),A("p",{class:"text-xs mt-1"},"Start a conversation!",-1)])])):(ne(!0),se(me,{key:1},Ps(e.messages,h=>(ne(),se("div",{key:h.id,class:ue(["message-row flex w-full",[h.sender==="user"?"justify-end":"justify-start",h.sender==="system"?"justify-center py-2":""]])},[h.sender==="system"?(ne(),se("div",$a,ft(h.content),1)):(ne(),se("div",{key:1,class:ue(["message-bubble max-w-[80%] px-4 py-2 rounded-2xl text-sm break-words",h.sender==="user"?"bg-blue-500 text-white rounded-br-md":"bg-gray-100 text-gray-800 rounded-bl-md"])},[h.content?(ne(),se("p",La,ft(h.content),1)):qt("",!0),h.attachmentUrl?(ne(),se("div",Da,[s(h.attachmentUrl)?(ne(),se(me,{key:0},[A("a",{href:h.attachmentUrl,target:"_blank",rel:"noopener noreferrer",class:"block"},[A("img",{src:h.attachmentUrl,alt:"Attachment",class:"max-w-full rounded-lg border-0 cursor-pointer hover:opacity-90 transition-opacity max-h-48 object-cover",onError:l},null,40,Ba)],8,Ua),A("div",Ha,[A("a",{href:h.attachmentUrl,target:"_blank",rel:"noopener noreferrer",class:ue(["text-xs underline hover:no-underline",h.sender==="user"?"text-blue-100":"text-blue-600"])}," Open in new tab ",10,Va),A("button",{class:ue(["text-xs underline hover:no-underline",h.sender==="user"?"text-blue-100":"text-blue-600"]),onClick:x=>i(h.attachmentUrl)}," Download ",10,Wa)])],64)):(ne(),se("div",{key:1,class:ue(["flex items-center gap-3 p-2 rounded-lg border",h.sender==="user"?"border-blue-400/30 bg-blue-600/20":"border-gray-200 bg-gray-50"])},[A("div",{class:ue(["w-10 h-10 rounded-lg flex items-center justify-center",h.sender==="user"?"bg-blue-400/30":"bg-gray-200"])},[(ne(),se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:ue(h.sender==="user"?"text-blue-100":"text-gray-500")},[...u[1]||(u[1]=[A("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"},null,-1),A("polyline",{points:"14 2 14 8 20 8"},null,-1)])],2))],2),A("div",za,[A("p",{class:ue(["text-xs font-medium truncate",h.sender==="user"?"text-blue-50":"text-gray-700"])},ft(o(h.attachmentUrl)),3)]),A("div",Ka,[A("button",{class:ue(["p-1.5 rounded hover:bg-black/10 transition-colors",h.sender==="user"?"text-blue-100":"text-gray-500"]),title:"Download",onClick:x=>i(h.attachmentUrl)},[...u[2]||(u[2]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[A("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),A("polyline",{points:"7 10 12 15 17 10"}),A("line",{x1:"12",y1:"15",x2:"12",y2:"3"})],-1)])],10,Ya),A("a",{href:h.attachmentUrl,target:"_blank",rel:"noopener noreferrer",class:ue(["p-1.5 rounded hover:bg-black/10 transition-colors",h.sender==="user"?"text-blue-100":"text-gray-500"]),title:"Open in new tab"},[...u[3]||(u[3]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[A("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),A("polyline",{points:"15 3 21 3 21 9"}),A("line",{x1:"10",y1:"14",x2:"21",y2:"3"})],-1)])],10,Ga)])],2))])):qt("",!0)],2))],2))),128)),e.showTyping?(ne(),se("div",qa,[A("div",Ja,[ae(Ia)])])):qt("",!0),A("div",{ref_key:"scrollAnchor",ref:r,class:"scroll-anchor h-0"},null,512)]))}}),Za={class:"message-input border-t border-gray-200 p-3"},Qa={key:0,class:"mb-2 flex items-center gap-2 p-2 bg-gray-50 rounded-lg"},ec={class:"text-sm text-gray-600 truncate flex-1"},tc={class:"flex items-end gap-2"},nc=["disabled"],rc=["disabled","placeholder"],sc=["disabled","aria-label"],oc={class:"flex items-center justify-between mt-1.5 px-1"},ic={class:"text-xs text-gray-400"},lc={key:0},ac={key:1},Rr=2500,cc=At({__name:"MessageInput",props:{isEnabled:{type:Boolean}},emits:["send","typing","upload"],setup(e,{expose:t,emit:n}){const r=e,s=n,o=Ce(""),i=Ce(null),l=Ce(null),a=Ce(null),f=Te(()=>o.value.length),u=Te(()=>f.value>Rr),h=Te(()=>{const y=o.value.trim();return r.isEnabled&&(y.length>0||a.value!==null)&&y.length<=Rr}),x=Te(()=>r.isEnabled?"Type a message...":"Waiting for connection...");function _(){var y;(y=l.value)==null||y.click()}function $(y){var ce;const O=y.target,W=(ce=O.files)==null?void 0:ce[0];if(W){if(W.size>10*1024*1024){alert("File size must be less than 10MB");return}a.value=W}O.value=""}function R(){a.value=null}function q(){const y=i.value;if(!y)return;y.style.height="auto";const O=Math.min(y.scrollHeight,120);y.style.height=`${O}px`,r.isEnabled&&s("typing")}function V(y){y.key==="Enter"&&!y.shiftKey&&!y.isComposing&&(y.preventDefault(),h.value&&D())}function D(){const y=o.value.trim(),O=a.value;r.isEnabled&&(O&&(s("upload",O),a.value=null),y&&s("send",y),o.value="",kt(()=>{const W=i.value;W&&(W.style.height="auto")}))}function j(){var y;(y=i.value)==null||y.focus()}return t({focus:j}),(y,O)=>(ne(),se("div",Za,[A("input",{ref_key:"fileInputRef",ref:l,type:"file",class:"hidden",accept:"image/jpeg,image/png,image/gif,image/webp,application/pdf,text/plain,application/msword,.doc,.docx",onChange:$},null,544),a.value?(ne(),se("div",Qa,[O[2]||(O[2]=A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2",class:"text-gray-500"},[A("path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"}),A("polyline",{points:"14 2 14 8 20 8"})],-1)),A("span",ec,ft(a.value.name),1),A("button",{type:"button",class:"text-gray-400 hover:text-gray-600 p-1",onClick:R},[...O[1]||(O[1]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[A("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),A("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])])):qt("",!0),A("div",tc,[A("button",{disabled:!e.isEnabled,class:ue(["flex items-center justify-center w-10 h-10 text-gray-500 hover:text-gray-700 rounded-full transition-colors disabled:text-gray-300 disabled:cursor-not-allowed",{"hover:bg-gray-100":e.isEnabled}]),"aria-label":"Attach file",onClick:_},[...O[3]||(O[3]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[A("path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"})],-1)])],10,nc),dr(A("textarea",{ref_key:"textareaRef",ref:i,"onUpdate:modelValue":O[0]||(O[0]=W=>o.value=W),disabled:!e.isEnabled,placeholder:x.value,class:ue(["flex-1 min-h-[44px] max-h-[120px] px-3 py-2.5 text-sm border border-gray-300 rounded-xl resize-none outline-none transition-colors focus:border-blue-500 focus:ring-1 focus:ring-blue-500 disabled:bg-gray-100 disabled:text-gray-400",{"border-red-400 focus:border-red-500 focus:ring-red-500":u.value}]),rows:"1",onKeydown:V,onInput:q},null,42,rc),[[Sa,o.value]]),A("button",{disabled:!h.value,class:"send-button flex items-center justify-center w-10 h-10 bg-blue-500 text-white rounded-full transition-all hover:bg-blue-600 disabled:bg-gray-300 disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2","aria-label":e.isEnabled?"Send message":"Cannot send message",onClick:D},[...O[4]||(O[4]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[A("line",{x1:"22",y1:"2",x2:"11",y2:"13"}),A("polygon",{points:"22 2 15 22 11 13 2 9"})],-1)])],8,sc)]),A("div",oc,[A("p",ic,[e.isEnabled?(ne(),se("span",lc,"Press Enter to send, Shift+Enter for new line")):(ne(),se("span",ac,"Connecting..."))]),e.isEnabled&&f.value>0?(ne(),se("div",{key:0,class:ue(["text-[10px] font-bold uppercase tracking-widest px-2 py-0.5 rounded-md transition-colors",u.value?"bg-red-50 text-red-500":"bg-gray-100 text-gray-400"])},ft(f.value)+" / "+ft(Rr),3)):qt("",!0)])]))}}),uc={class:"chat-window flex flex-col h-full bg-white rounded-xl shadow-lg overflow-hidden"},fc={class:"flex items-center justify-between px-4 py-3 bg-gradient-to-br from-blue-500 to-blue-600 text-white shrink-0"},dc={key:0,class:"flex-1 flex flex-col items-center justify-center p-8"},hc={key:1,class:"flex-1 flex flex-col items-center justify-center p-8"},pc=At({__name:"ChatWindow",props:{status:{type:String},messages:{type:Array},adminTyping:{type:Boolean},isVisible:{type:Boolean}},emits:["close","retry","send","typing","upload"],setup(e,{emit:t}){const n=e,r=t,s=Ce(null),o=Te(()=>n.status==="connecting"),i=Te(()=>n.status==="connected"),l=Te(()=>n.status==="error");return lt(()=>n.status,a=>{a==="connected"&&kt(()=>{var f;(f=s.value)==null||f.scrollToBottom()})}),lt(()=>n.isVisible,a=>{a&&kt(()=>{var f;(f=s.value)==null||f.scrollToBottom()})}),(a,f)=>(ne(),se("div",uc,[A("div",fc,[f[6]||(f[6]=A("div",{class:"flex items-center gap-2"},[A("div",{class:"w-2 h-2 rounded-full bg-green-400"}),A("h2",{class:"text-base font-semibold"},"Support Chat")],-1)),A("button",{class:"flex items-center justify-center w-8 h-8 bg-white/20 border-0 text-white rounded-full cursor-pointer transition-colors hover:bg-white/30 focus:outline-none focus:ring-2 focus:ring-white/50","aria-label":"Close chat",onClick:f[0]||(f[0]=u=>r("close"))},[...f[5]||(f[5]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[A("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),A("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])]),o.value?(ne(),se("div",dc,[...f[7]||(f[7]=[A("div",{class:"w-10 h-10 border-4 border-blue-200 border-t-blue-500 rounded-full animate-spin mb-4"},null,-1),A("p",{class:"text-gray-600 text-sm"},"Connecting to support...",-1)])])):l.value?(ne(),se("div",hc,[f[8]||(f[8]=co('<div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mb-4"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#dc2626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg></div><p class="text-gray-800 font-medium mb-1">Connection failed</p><p class="text-gray-500 text-sm text-center mb-4"> Unable to connect to support. Please check your connection and try again. </p>',3)),A("button",{class:"px-4 py-2 bg-blue-500 text-white text-sm font-medium rounded-lg transition-colors hover:bg-blue-600 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",onClick:f[1]||(f[1]=u=>r("retry"))}," Try Again ")])):(ne(),se(me,{key:2},[ae(Xa,{ref_key:"messageListRef",ref:s,messages:e.messages,"show-typing":e.adminTyping},null,8,["messages","show-typing"]),ae(cc,{"is-enabled":i.value,onSend:f[2]||(f[2]=u=>r("send",u)),onTyping:f[3]||(f[3]=u=>r("typing")),onUpload:f[4]||(f[4]=u=>r("upload",u))},null,8,["is-enabled"])],64))]))}}),Dn={initialDelay:1e3,maxDelay:3e4,multiplier:2,maxFailures:5};function gc(e={}){const t=Ce("disconnected"),n=Ce(null);let r=null,s=null,o=0,i=null,l=!1;function a(j){if(e.wsUrl){const W=new URL(e.wsUrl);return W.searchParams.set("jwt",j),W.toString()}const y=window.location.protocol==="https:"?"wss:":"ws:",O=window.location.host;return`${y}//${O}/ws?jwt=${encodeURIComponent(j)}`}function f(){const j=Dn.initialDelay*Math.pow(Dn.multiplier,o);return Math.min(j,Dn.maxDelay)}function u(){if(l)return;if(o>=Dn.maxFailures){t.value="error",n.value="Max reconnection attempts reached";return}const j=f();o++,i=setTimeout(()=>{!l&&s&&q(s)},j)}function h(){i&&(clearTimeout(i),i=null)}function x(){var j;t.value="connected",n.value=null,o=0,(j=e.onOpen)==null||j.call(e)}function _(j){var y;try{const O=JSON.parse(j.data);typeof O.event=="string"&&O.timestamp!==void 0&&typeof O.timestamp=="number"?(y=e.onMessage)==null||y.call(e,O):console.warn("[WebSocket] Received invalid envelope shape:",O)}catch{console.warn("[WebSocket] Received non-JSON message:",j.data)}}function $(j){var y;r=null,t.value="disconnected",(y=e.onClose)==null||y.call(e,j),l||u()}function R(j){var y;t.value="error",n.value="WebSocket error occurred",(y=e.onError)==null||y.call(e,j)}function q(j){if(!((r==null?void 0:r.readyState)===WebSocket.OPEN||(r==null?void 0:r.readyState)===WebSocket.CONNECTING)){h(),s=j,l=!1,t.value="connecting",n.value=null;try{const y=a(j);r=new WebSocket(y),r.addEventListener("open",x),r.addEventListener("message",_),r.addEventListener("close",$),r.addEventListener("error",R)}catch(y){t.value="error",n.value=y instanceof Error?y.message:"Failed to create WebSocket",u()}}}function V(j,y){if(!r||r.readyState!==WebSocket.OPEN)return!1;const O={event:j,data:y,timestamp:Math.floor(Date.now()/1e3)};try{return r.send(JSON.stringify(O)),!0}catch(W){return console.error("[WebSocket] Failed to send message:",W),!1}}function D(){l=!0,h(),r&&(r.removeEventListener("open",x),r.removeEventListener("message",_),r.removeEventListener("close",$),r.removeEventListener("error",R),(r.readyState===WebSocket.OPEN||r.readyState===WebSocket.CONNECTING)&&r.close(),r=null),t.value="disconnected",s=null,o=0}return{status:Lt(t),lastError:Lt(n),connect:q,send:V,disconnect:D}}function Un(e){try{const t=e.split(".");if(t.length!==3)return null;const n=t[1];if(!n)return null;const r=n+"=".repeat((4-n.length%4)%4),s=atob(r.replace(/-/g,"+").replace(/_/g,"/")),o=JSON.parse(s);return!o.platform_id||!o.external_user_id?null:{platform_id:o.platform_id,external_user_id:o.external_user_id}}catch{return null}}const mc="tvs_support_chat_id";function jr(e,t){return`${mc}:${e}:${t}`}function bc(e,t){try{const n=jr(e,t);return localStorage.getItem(n)}catch{return null}}function Fr(e,t,n){try{const r=jr(e,t);return localStorage.setItem(r,n),!0}catch{return!1}}function tn(e,t){try{const n=jr(e,t);return localStorage.removeItem(n),!0}catch{return!1}}function wc(e){const t=e.apiBaseUrl??"",n=Ce(null),r=Ce([]),s=Ce(!1),o=Ce(null),i=gc({onMessage:$,onOpen:()=>{o.value=null},onError:()=>{o.value="Connection error. Retrying..."},onClose:M=>{M.wasClean||(o.value="Connection lost. Reconnecting...")},wsUrl:e.wsUrl}),l=Te(()=>{switch(i.status.value){case"connecting":return"connecting";case"connected":return"connected";case"error":return"error";case"disconnected":return r.value.length>0?"error":"connecting";default:return"connecting"}}),a=Te(()=>l.value==="connected"),f=Te(()=>l.value==="connecting"),u=Te(()=>l.value==="error");let h=null;const x=300;function _(){return`${Date.now()}-${Math.random().toString(36).substring(2,9)}`}function $(M){switch(M.event){case"server:message":{const g=M.data;if(!n.value){const C=Un(e.jwt),I=(C==null?void 0:C.platform_id)??"",B=(C==null?void 0:C.external_user_id)??"";n.value=g.chat_id,I&&B&&Fr(I,B,g.chat_id)}if(g.chat_id!==n.value)return;if(g.sender_type==="admin"&&(r.value.push({id:_(),sender:"admin",content:g.content??"",attachmentUrl:g.attachment_url,createdAt:new Date(g.created_at*1e3)}),s.value=!1),g.sender_type==="user"){let C=-1;for(let I=r.value.length-1;I>=0;I--){const B=r.value[I];if(B&&B.sender==="user"){const Z=!!g.attachment_url&&B.content===""&&B.attachmentUrl===null,z=!g.attachment_url&&B.content===g.content;if(Z||z){C=I;break}}}if(C!==-1){const I=r.value[C];I&&(I.attachmentUrl=g.attachment_url,I.createdAt=new Date(g.created_at*1e3))}else r.value.push({id:_(),sender:"user",content:g.content??"",attachmentUrl:g.attachment_url,createdAt:new Date(g.created_at*1e3)})}break}case"server:error":{const g=M.data;console.error("[Chat] Server error:",g),o.value=g.message||"An error occurred";break}case"server:chat_assigned":{M.data.chat_id===n.value&&r.value.push({id:_(),sender:"system",content:"TVS Agent joined the chat",createdAt:new Date});break}case"server:chat_closed":{if(M.data.chat_id===n.value){r.value.push({id:_(),sender:"system",content:"Chat ended",createdAt:new Date});const C=Un(e.jwt),I=(C==null?void 0:C.platform_id)??"",B=(C==null?void 0:C.external_user_id)??"";setTimeout(()=>{I&&B&&tn(I,B),n.value=null,r.value=[],s.value=!1},3e3)}break}}}async function R(){var M,g;try{const C=await fetch(`${t}/api/chats`,{method:"POST",headers:{Authorization:`Bearer ${e.jwt}`,"Content-Type":"application/json"}});if(!C.ok){const B=await C.json().catch(()=>({}));throw new Error(((M=B.error)==null?void 0:M.message)||"Failed to create chat")}return((g=(await C.json()).data)==null?void 0:g.id)??null}catch(C){return console.error("[Chat] Failed to create chat:",C),o.value=C instanceof Error?C.message:"Failed to create chat",null}}async function q(M){try{const g=await fetch(`${t}/api/chats/${M}`,{method:"GET",headers:{Authorization:`Bearer ${e.jwt}`,"Content-Type":"application/json"}});if(g.status===403||g.status===404)return{notFound:!0};if(!g.ok)return null;const C=await g.json();return!C.ok||!C.data?{notFound:!0}:C.data}catch{return null}}async function V(){try{const M=await fetch(`${t}/api/chats?limit=20&offset=0`,{method:"GET",headers:{Authorization:`Bearer ${e.jwt}`,"Content-Type":"application/json"}});if(!M.ok)return null;const g=await M.json();if(!g.ok||!g.data)return null;const I=g.data.find(B=>B.status==="open"||B.status==="escalated");return I?{id:I.id,status:I.status}:null}catch{return null}}async function D(M){var g;try{const C=await fetch(`${t}/api/chats/${M}/messages?limit=50&offset=0`,{method:"GET",headers:{Authorization:`Bearer ${e.jwt}`,"Content-Type":"application/json"}});if(C.status===403||C.status===404)return{notFound:!0};if(!C.ok)return null;const I=await C.json();return!I.ok||!((g=I.data)!=null&&g.messages)?{notFound:!0}:I.data.messages.map(B=>({id:B.id,content:B.content??"",attachmentUrl:B.attachment_url,sender:B.sender_type,createdAt:new Date(B.created_at*1e3)}))}catch{return null}}async function j(){const M=Un(e.jwt),g=(M==null?void 0:M.platform_id)??"",C=(M==null?void 0:M.external_user_id)??"";if(!g||!C)return y("","");const I=bc(g,C);if(!I)return null;const B=await q(I);if(B===null){n.value=I;const z=await D(I);return z&&"notFound"in z?(tn(g,C),null):(r.value=z??[],I)}if("notFound"in B||B.status==="closed")return tn(g,C),null;n.value=I;const Z=await D(I);return Z&&"notFound"in Z?(tn(g,C),null):(r.value=Z??[],I)}async function y(M,g){const C=await R();return C?(n.value=C,M&&g&&Fr(M,g,C),C):null}async function O(){i.status.value==="connected"||i.status.value==="connecting"||(await j(),i.connect(e.jwt))}function W(){o.value=null,O()}function ce(){!n.value||!a.value||(h&&clearTimeout(h),h=setTimeout(()=>{i.send("client:typing",{chat_id:n.value})},x))}async function he(M){const g=M.trim();if(!g||!a.value)return;if(!n.value){const I=Un(e.jwt),B=(I==null?void 0:I.platform_id)??"",Z=(I==null?void 0:I.external_user_id)??"",z=await V();if(z)n.value=z.id,B&&Z&&Fr(B,Z,z.id);else if(!await y(B,Z)){o.value="Failed to start a new chat session";return}}r.value.push({id:_(),sender:"user",content:g,createdAt:new Date}),s.value=!1,i.send("client:message_send",{chat_id:n.value,content:g})||(r.value.pop(),o.value="Failed to send message")}async function H(M){var g;if(!a.value||!n.value){o.value="Not connected to chat";return}try{const C=await fetch(`${t}/api/chats/${n.value}/attachments/upload-url`,{method:"POST",headers:{Authorization:`Bearer ${e.jwt}`,"Content-Type":"application/json"},body:JSON.stringify({filename:M.name,contentType:M.type,size:M.size})});if(!C.ok){const nt=await C.json().catch(()=>({}));throw new Error(((g=nt.error)==null?void 0:g.message)||"Failed to get upload URL")}const I=await C.json(),{uploadUrl:B,fileKey:Z}=I.data;if(!(await fetch(B,{method:"PUT",headers:{"Content-Type":M.type},body:M})).ok)throw new Error("Failed to upload file");const Q=_();if(r.value.push({id:Q,sender:"user",content:"",createdAt:new Date,attachmentUrl:null}),s.value=!1,!i.send("client:message_send",{chat_id:n.value,content:"",attachment_key:Z})){const nt=r.value.findIndex(rt=>rt.id===Q);nt!==-1&&r.value.splice(nt,1),o.value="Failed to send attachment"}}catch(C){console.error("[Chat] Failed to upload file:",C),o.value=C instanceof Error?C.message:"Failed to upload file"}}function J(){h&&(clearTimeout(h),h=null),i.disconnect()}return kn(J),{status:l,messages:r,adminTyping:s,chatId:n,errorMessage:o,isConnected:a,isConnecting:f,isError:u,connect:O,retry:W,sendMessage:he,sendTyping:ce,uploadFile:H,cleanup:J}}const yc={class:"support-client-widget font-sans"},vc={key:0,class:"bg-red-50 border border-red-200 rounded-lg p-4 text-center max-w-[350px]"},Wo=At({__name:"SupportClientWidget.ce",props:{jwt:{type:String},apiBaseUrl:{type:String},wsUrl:{type:String}},setup(e){const t=e,n=Ce(!1),r=Te(()=>"right-5 bottom-5"),s=wc({jwt:t.jwt,apiBaseUrl:t.apiBaseUrl,wsUrl:t.wsUrl}),o=()=>{n.value=!n.value};return gr(()=>{t.jwt&&s.connect()}),kn(()=>{s.cleanup()}),lt(()=>t.jwt,i=>{i&&s.connect()}),(i,l)=>(ne(),se("div",yc,[e.jwt?(ne(),se(me,{key:1},[ae(na,{"enter-active-class":"transition-all duration-300 ease-out","enter-from-class":"opacity-0 translate-y-4 scale-95","enter-to-class":"opacity-100 translate-y-0 scale-100","leave-active-class":"transition-all duration-200 ease-in","leave-from-class":"opacity-100 translate-y-0 scale-100","leave-to-class":"opacity-0 translate-y-4 scale-95"},{default:vs(()=>[dr(A("div",{class:ue(["fixed chat-panel w-[min(360px,calc(100vw-32px))] h-[min(520px,calc(100vh-120px))] z-[9998]",r.value])},[ae(pc,{status:Je(s).status.value,messages:Je(s).messages.value,"admin-typing":Je(s).adminTyping.value,"is-visible":n.value,onClose:o,onRetry:Je(s).retry,onSend:Je(s).sendMessage,onTyping:Je(s).sendTyping,onUpload:Je(s).uploadFile},null,8,["status","messages","admin-typing","is-visible","onRetry","onSend","onTyping","onUpload"])],2),[[Ao,n.value]])]),_:1}),dr(A("button",{class:ue(["fixed bubble-button w-14 h-14 rounded-full bg-gradient-to-br from-blue-500 to-blue-600 text-white shadow-lg hover:shadow-xl transition-all duration-200 hover:scale-105 active:scale-95 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 z-[9999] flex items-center justify-center",r.value]),"aria-label":"Open chat",onClick:o},[...l[1]||(l[1]=[A("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[A("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})],-1)])],2),[[Ao,!n.value]])],64)):(ne(),se("div",vc,[...l[0]||(l[0]=[co('<div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-2"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#dc2626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg></div><p class="text-red-600 font-semibold mb-1">Authentication required</p><p class="text-red-800 text-xs"> Please provide a valid JWT token via the <code class="bg-red-100 px-1 py-0.5 rounded font-mono">jwt</code> attribute. </p>',3)])]))]))}}),xc=xa(Wo,{styles:['*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.bottom-5{bottom:1.25rem}.right-5{right:1.25rem}.z-\\[9998\\]{z-index:9998}.z-\\[9999\\]{z-index:9999}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-0{height:0px}.h-1\\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-8{height:2rem}.h-\\[min\\(520px\\,calc\\(100vh-120px\\)\\)\\]{height:min(520px,calc(100vh - 120px))}.h-full{height:100%}.max-h-48{max-height:12rem}.max-h-\\[120px\\]{max-height:120px}.min-h-\\[44px\\]{min-height:44px}.w-1\\.5{width:.375rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-2{width:.5rem}.w-8{width:2rem}.w-\\[min\\(360px\\,calc\\(100vw-32px\\)\\)\\]{width:min(360px,calc(100vw - 32px))}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\\[350px\\]{max-width:350px}.max-w-\\[80\\%\\]{max-width:80%}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-4{--tw-translate-y: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-4{border-width:4px}.border-t{border-top-width:1px}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-400\\/30{border-color:#60a5fa4d}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.border-t-blue-500{--tw-border-opacity: 1;border-top-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.bg-blue-400\\/30{background-color:#60a5fa4d}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-600\\/20{background-color:#2563eb33}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\\/20{background-color:#fff3}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-8{padding-top:2rem;padding-bottom:2rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.tracking-widest{letter-spacing:.1em}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity, 1))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-black\\/10:hover{background-color:#0000001a}.hover\\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-white\\/30:hover{background-color:#ffffff4d}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\\:no-underline:hover{text-decoration-line:none}.hover\\:opacity-90:hover{opacity:.9}.hover\\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.focus\\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1))}.focus\\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\\:ring-white\\/50:focus{--tw-ring-color: rgb(255 255 255 / .5)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.disabled\\:bg-gray-300:disabled{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.disabled\\:text-gray-300:disabled{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}',...Wo.styles||[]]});class Pr extends xc{connectedCallback(){super.connectedCallback(),queueMicrotask(()=>{this.dispatchEvent(new CustomEvent("ready",{bubbles:!0,composed:!0}))})}disconnectedCallback(){super.disconnectedCallback()}}return customElements.get("support-client-widget")||customElements.define("support-client-widget",Pr),on.SupportClientWidgetElement=Pr,on.default=Pr,Object.defineProperties(on,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),on}({});
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tvsgroup/support-client",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "vite",
|
|
10
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
11
|
+
"preview": "vite preview",
|
|
12
|
+
"build:widget": "bun --filter @tvsgroup/support-client build && bun --filter @tvsgroup/support-admin build"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"vue": "^3.4"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@tvsgroup/shared": "workspace:*",
|
|
19
|
+
"@vitejs/plugin-vue": "^5",
|
|
20
|
+
"autoprefixer": "^10.4.20",
|
|
21
|
+
"postcss": "^8.5.3",
|
|
22
|
+
"tailwindcss": "^3.4.17",
|
|
23
|
+
"typescript": "^5",
|
|
24
|
+
"vite": "^5",
|
|
25
|
+
"vue-tsc": "^2"
|
|
26
|
+
}
|
|
27
|
+
}
|