const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/pptxgen.es-C5rj3hyV.js","assets/jszip.min-DXNZmKaK.js"])))=>i.map(i=>d[i]); function zke(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/** * @vue/shared v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Tj(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ei={},Q1=[],bo=()=>{},$ke=()=>!1,T_=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),_j=e=>e.startsWith("onUpdate:"),es=Object.assign,Dj=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jke=Object.prototype.hasOwnProperty,no=(e,t)=>jke.call(e,t),Zt=Array.isArray,Z1=e=>A5(e)==="[object Map]",Tb=e=>A5(e)==="[object Set]",n0=e=>A5(e)==="[object Date]",Rn=e=>typeof e=="function",In=e=>typeof e=="string",Uc=e=>typeof e=="symbol",dr=e=>e!==null&&typeof e=="object",kv=e=>(dr(e)||Rn(e))&&Rn(e.then)&&Rn(e.catch),O0e=Object.prototype.toString,A5=e=>O0e.call(e),Hke=e=>A5(e).slice(8,-1),N3=e=>A5(e)==="[object Object]",Ij=e=>In(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$4=Tj(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),__=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wke=/-(\w)/g,dl=__(e=>e.replace(Wke,(t,n)=>n?n.toUpperCase():"")),Vke=/\B([A-Z])/g,vp=__(e=>e.replace(Vke,"-$1").toLowerCase()),C5=__(e=>e.charAt(0).toUpperCase()+e.slice(1)),j4=__(e=>e?`on${C5(e)}`:""),Mh=(e,t)=>!Object.is(e,t),fS=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},tE=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qke=e=>{const t=In(e)?Number(e):NaN;return isNaN(t)?e:t};let UQ;const D_=()=>UQ||(UQ=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rn(e){if(Zt(e)){const t={};for(let n=0;n{if(n){const r=n.split(Kke);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function oe(e){let t="";if(In(e))t=e;else if(Zt(e))for(let n=0;nTv(n,t))}const P0e=e=>!!(e&&e.__v_isRef===!0),je=e=>In(e)?e:e==null?"":Zt(e)||dr(e)&&(e.toString===O0e||!Rn(e.toString))?P0e(e)?je(e.value):JSON.stringify(e,N0e,2):String(e),N0e=(e,t)=>P0e(t)?N0e(e,t.value):Z1(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[G9(r,i)+" =>"]=o,n),{})}:Tb(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>G9(n))}:Uc(t)?G9(t):dr(t)&&!Zt(t)&&!N3(t)?String(t):t,G9=(e,t="")=>{var n;return Uc(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Rs;class R0e{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Rs,!t&&Rs&&(this.index=(Rs.scopes||(Rs.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;t0&&--this._on===0&&(Rs=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(W4){let t=W4;for(W4=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;H4;){let t=H4;for(H4=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 j0e(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function H0e(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Nj(r),eTe(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function qB(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(W0e(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function W0e(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===R3)||(e.globalVersion=R3,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qB(e))))return;e.flags|=2;const t=e.dep,n=Bi,r=Ic;Bi=e,Ic=!0;try{j0e(e);const o=e.fn(e._value);(t.version===0||Mh(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Bi=n,Ic=r,H0e(e),e.flags&=-3}}function Nj(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Nj(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eTe(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ic=!0;const V0e=[];function Yf(){V0e.push(Ic),Ic=!1}function Qf(){const e=V0e.pop();Ic=e===void 0?!0:e}function zQ(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Bi;Bi=void 0;try{t()}finally{Bi=n}}}let R3=0,tTe=class{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 I_{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(!Bi||!Ic||Bi===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Bi)n=this.activeLink=new tTe(Bi,this),Bi.deps?(n.prevDep=Bi.depsTail,Bi.depsTail.nextDep=n,Bi.depsTail=n):Bi.deps=Bi.depsTail=n,q0e(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=Bi.depsTail,n.nextDep=void 0,Bi.depsTail.nextDep=n,Bi.depsTail=n,Bi.deps===n&&(Bi.deps=r)}return n}trigger(t){this.version++,R3++,this.notify(t)}notify(t){Mj();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Pj()}}}function q0e(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)q0e(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const nE=new WeakMap,Yg=Symbol(""),GB=Symbol(""),B3=Symbol("");function Fs(e,t,n){if(Ic&&Bi){let r=nE.get(e);r||nE.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new I_),o.map=r,o.key=n),o.track()}}function Df(e,t,n,r,o,i){const a=nE.get(e);if(!a){R3++;return}const s=l=>{l&&l.trigger()};if(Mj(),t==="clear")a.forEach(s);else{const l=Zt(e),u=l&&Ij(n);if(l&&n==="length"){const d=Number(r);a.forEach((c,f)=>{(f==="length"||f===B3||!Uc(f)&&f>=d)&&s(c)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),u&&s(a.get(B3)),t){case"add":l?u&&s(a.get("length")):(s(a.get(Yg)),Z1(e)&&s(a.get(GB)));break;case"delete":l||(s(a.get(Yg)),Z1(e)&&s(a.get(GB)));break;case"set":Z1(e)&&s(a.get(Yg));break}}Pj()}function nTe(e,t){const n=nE.get(e);return n&&n.get(t)}function Nm(e){const t=No(e);return t===e?t:(Fs(t,"iterate",B3),Wu(e)?t:t.map(As))}function O_(e){return Fs(e=No(e),"iterate",B3),e}const rTe={__proto__:null,[Symbol.iterator](){return Y9(this,Symbol.iterator,As)},concat(...e){return Nm(this).concat(...e.map(t=>Zt(t)?Nm(t):t))},entries(){return Y9(this,"entries",e=>(e[1]=As(e[1]),e))},every(e,t){return df(this,"every",e,t,void 0,arguments)},filter(e,t){return df(this,"filter",e,t,n=>n.map(As),arguments)},find(e,t){return df(this,"find",e,t,As,arguments)},findIndex(e,t){return df(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return df(this,"findLast",e,t,As,arguments)},findLastIndex(e,t){return df(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return df(this,"forEach",e,t,void 0,arguments)},includes(...e){return Q9(this,"includes",e)},indexOf(...e){return Q9(this,"indexOf",e)},join(e){return Nm(this).join(e)},lastIndexOf(...e){return Q9(this,"lastIndexOf",e)},map(e,t){return df(this,"map",e,t,void 0,arguments)},pop(){return E2(this,"pop")},push(...e){return E2(this,"push",e)},reduce(e,...t){return $Q(this,"reduce",e,t)},reduceRight(e,...t){return $Q(this,"reduceRight",e,t)},shift(){return E2(this,"shift")},some(e,t){return df(this,"some",e,t,void 0,arguments)},splice(...e){return E2(this,"splice",e)},toReversed(){return Nm(this).toReversed()},toSorted(e){return Nm(this).toSorted(e)},toSpliced(...e){return Nm(this).toSpliced(...e)},unshift(...e){return E2(this,"unshift",e)},values(){return Y9(this,"values",As)}};function Y9(e,t,n){const r=O_(e),o=r[t]();return r!==e&&!Wu(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const oTe=Array.prototype;function df(e,t,n,r,o,i){const a=O_(e),s=a!==e&&!Wu(e),l=a[t];if(l!==oTe[t]){const c=l.apply(e,i);return s?As(c):c}let u=n;a!==e&&(s?u=function(c,f){return n.call(this,As(c),f,e)}:n.length>2&&(u=function(c,f){return n.call(this,c,f,e)}));const d=l.call(a,u,r);return s&&o?o(d):d}function $Q(e,t,n,r){const o=O_(e);let i=n;return o!==e&&(Wu(e)?n.length>3&&(i=function(a,s,l){return n.call(this,a,s,l,e)}):i=function(a,s,l){return n.call(this,a,As(s),l,e)}),o[t](i,...r)}function Q9(e,t,n){const r=No(e);Fs(r,"iterate",B3);const o=r[t](...n);return(o===-1||o===!1)&&Lj(n[0])?(n[0]=No(n[0]),r[t](...n)):o}function E2(e,t,n=[]){Yf(),Mj();const r=No(e)[t].apply(e,n);return Pj(),Qf(),r}const iTe=Tj("__proto__,__v_isRef,__isVue"),G0e=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Uc));function aTe(e){Uc(e)||(e=String(e));const t=No(this);return Fs(t,"has",e),t.hasOwnProperty(e)}class K0e{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?vTe:X0e:i?Z0e:Q0e).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Zt(t);if(!o){let l;if(a&&(l=rTe[n]))return l;if(n==="hasOwnProperty")return aTe}const s=Reflect.get(t,n,Uo(t)?t:r);return(Uc(n)?G0e.has(n):iTe(n))||(o||Fs(t,"get",n),i)?s:Uo(s)?a&&Ij(n)?s:s.value:dr(s)?o?_b(s):Wr(s):s}}class Y0e extends K0e{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=r0(i);if(!Wu(r)&&!r0(r)&&(i=No(i),r=No(r)),!Zt(t)&&Uo(i)&&!Uo(r))return l?!1:(i.value=r,!0)}const a=Zt(t)&&Ij(n)?Number(n)e,ux=e=>Reflect.getPrototypeOf(e);function dTe(e,t,n){return function(...r){const o=this.__v_raw,i=No(o),a=Z1(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=o[e](...r),d=n?KB:t?rE:As;return!t&&Fs(i,"iterate",l?GB:Yg),{next(){const{value:c,done:f}=u.next();return f?{value:c,done:f}:{value:s?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function cx(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fTe(e,t){const n={get(o){const i=this.__v_raw,a=No(i),s=No(o);e||(Mh(o,s)&&Fs(a,"get",o),Fs(a,"get",s));const{has:l}=ux(a),u=t?KB:e?rE:As;if(l.call(a,o))return u(i.get(o));if(l.call(a,s))return u(i.get(s));i!==a&&i.get(o)},get size(){const o=this.__v_raw;return!e&&Fs(No(o),"iterate",Yg),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,a=No(i),s=No(o);return e||(Mh(o,s)&&Fs(a,"has",o),Fs(a,"has",s)),o===s?i.has(o):i.has(o)||i.has(s)},forEach(o,i){const a=this,s=a.__v_raw,l=No(s),u=t?KB:e?rE:As;return!e&&Fs(l,"iterate",Yg),s.forEach((d,c)=>o.call(i,u(d),u(c),a))}};return es(n,e?{add:cx("add"),set:cx("set"),delete:cx("delete"),clear:cx("clear")}:{add(o){!t&&!Wu(o)&&!r0(o)&&(o=No(o));const i=No(this);return ux(i).has.call(i,o)||(i.add(o),Df(i,"add",o,o)),this},set(o,i){!t&&!Wu(i)&&!r0(i)&&(i=No(i));const a=No(this),{has:s,get:l}=ux(a);let u=s.call(a,o);u||(o=No(o),u=s.call(a,o));const d=l.call(a,o);return a.set(o,i),u?Mh(i,d)&&Df(a,"set",o,i):Df(a,"add",o,i),this},delete(o){const i=No(this),{has:a,get:s}=ux(i);let l=a.call(i,o);l||(o=No(o),l=a.call(i,o)),s&&s.call(i,o);const u=i.delete(o);return l&&Df(i,"delete",o,void 0),u},clear(){const o=No(this),i=o.size!==0,a=o.clear();return i&&Df(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=dTe(o,e,t)}),n}function Rj(e,t){const n=fTe(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(no(n,o)&&o in r?n:r,o,i)}const pTe={get:Rj(!1,!1)},hTe={get:Rj(!1,!0)},gTe={get:Rj(!0,!1)};const Q0e=new WeakMap,Z0e=new WeakMap,X0e=new WeakMap,vTe=new WeakMap;function mTe(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yTe(e){return e.__v_skip||!Object.isExtensible(e)?0:mTe(Hke(e))}function Wr(e){return r0(e)?e:Bj(e,!1,lTe,pTe,Q0e)}function M_(e){return Bj(e,!1,cTe,hTe,Z0e)}function _b(e){return Bj(e,!0,uTe,gTe,X0e)}function Bj(e,t,n,r,o){if(!dr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=yTe(e);if(i===0)return e;const a=o.get(e);if(a)return a;const s=new Proxy(e,i===2?r:n);return o.set(e,s),s}function X1(e){return r0(e)?X1(e.__v_raw):!!(e&&e.__v_isReactive)}function r0(e){return!!(e&&e.__v_isReadonly)}function Wu(e){return!!(e&&e.__v_isShallow)}function Lj(e){return e?!!e.__v_raw:!1}function No(e){const t=e&&e.__v_raw;return t?No(t):e}function Rd(e){return!no(e,"__v_skip")&&Object.isExtensible(e)&&VB(e,"__v_skip",!0),e}const As=e=>dr(e)?Wr(e):e,rE=e=>dr(e)?_b(e):e;function Uo(e){return e?e.__v_isRef===!0:!1}function K(e){return J0e(e,!1)}function jo(e){return J0e(e,!0)}function J0e(e,t){return Uo(e)?e:new bTe(e,t)}class bTe{constructor(t,n){this.dep=new I_,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:No(t),this._value=n?t:As(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Wu(t)||r0(t);t=r?t:No(t),Mh(t,n)&&(this._rawValue=t,this._value=r?t:As(t),this.dep.trigger())}}function pS(e){e.dep&&e.dep.trigger()}function C(e){return Uo(e)?e.value:e}const wTe={get:(e,t,n)=>t==="__v_raw"?e:C(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Uo(o)&&!Uo(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ege(e){return X1(e)?e:new Proxy(e,wTe)}class ATe{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new I_,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function CTe(e){return new ATe(e)}function Oa(e){const t=Zt(e)?new Array(e.length):{};for(const n in e)t[n]=tge(e,n);return t}class xTe{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return nTe(No(this._object),this._key)}}class STe{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function co(e,t,n){return Uo(e)?e:Rn(e)?new STe(e):dr(e)&&arguments.length>1?tge(e,t,n):K(e)}function tge(e,t,n){const r=e[t];return Uo(r)?r:new xTe(e,t,n)}class ETe{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new I_(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=R3-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Bi!==this)return $0e(this,!0),!0}get value(){const t=this.dep.track();return W0e(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kTe(e,t,n=!1){let r,o;return Rn(e)?r=e:(r=e.get,o=e.set),new ETe(r,o,n)}const dx={},oE=new WeakMap;let wg;function TTe(e,t=!1,n=wg){if(n){let r=oE.get(n);r||oE.set(n,r=[]),r.push(e)}}function _Te(e,t,n=Ei){const{immediate:r,deep:o,once:i,scheduler:a,augmentJob:s,call:l}=n,u=w=>o?w:Wu(w)||o===!1||o===0?If(w,1):If(w);let d,c,f,p,v=!1,h=!1;if(Uo(e)?(c=()=>e.value,v=Wu(e)):X1(e)?(c=()=>u(e),v=!0):Zt(e)?(h=!0,v=e.some(w=>X1(w)||Wu(w)),c=()=>e.map(w=>{if(Uo(w))return w.value;if(X1(w))return u(w);if(Rn(w))return l?l(w,2):w()})):Rn(e)?t?c=l?()=>l(e,2):e:c=()=>{if(f){Yf();try{f()}finally{Qf()}}const w=wg;wg=d;try{return l?l(e,3,[p]):e(p)}finally{wg=w}}:c=bo,t&&o){const w=c,A=o===!0?1/0:o;c=()=>If(w(),A)}const g=L0e(),y=()=>{d.stop(),g&&g.active&&Dj(g.effects,d)};if(i&&t){const w=t;t=(...A)=>{w(...A),y()}}let m=h?new Array(e.length).fill(dx):dx;const b=w=>{if(!(!(d.flags&1)||!d.dirty&&!w))if(t){const A=d.run();if(o||v||(h?A.some((S,E)=>Mh(S,m[E])):Mh(A,m))){f&&f();const S=wg;wg=d;try{const E=[A,m===dx?void 0:h&&m[0]===dx?[]:m,p];m=A,l?l(t,3,E):t(...E)}finally{wg=S}}}else d.run()};return s&&s(b),d=new U0e(c),d.scheduler=a?()=>a(b,!1):b,p=w=>TTe(w,!1,d),f=d.onStop=()=>{const w=oE.get(d);if(w){if(l)l(w,4);else for(const A of w)A();oE.delete(d)}},t?r?b(!0):m=d.run():a?a(b.bind(null,!0),!0):d.run(),y.pause=d.pause.bind(d),y.resume=d.resume.bind(d),y.stop=y,y}function If(e,t=1/0,n){if(t<=0||!dr(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Uo(e))If(e.value,t,n);else if(Zt(e))for(let r=0;r{If(r,t,n)});else if(N3(e)){for(const r in e)If(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&If(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function x5(e,t,n,r){try{return r?e(...r):e()}catch(o){P_(o,t,n)}}function zc(e,t,n,r){if(Rn(e)){const o=x5(e,t,n,r);return o&&kv(o)&&o.catch(i=>{P_(i,t,n)}),o}if(Zt(e)){const o=[];for(let i=0;i>>1,o=ol[r],i=L3(o);i=L3(n)?ol.push(e):ol.splice(ITe(t),0,e),e.flags|=1,rge()}}function rge(){iE||(iE=nge.then(ige))}function OTe(e){Zt(e)?J1.push(...e):lh&&e.id===-1?lh.splice(D1+1,0,e):e.flags&1||(J1.push(e),e.flags|=1),rge()}function jQ(e,t,n=fd+1){for(;nL3(n)-L3(r));if(J1.length=0,lh){lh.push(...t);return}for(lh=t,D1=0;D1e.id==null?e.flags&2?-1:1/0:e.id;function ige(e){try{for(fd=0;fd{r._d&&nZ(-1);const i=aE(t);let a;try{a=e(...o)}finally{aE(i),r._d&&nZ(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function cn(e,t){if(xs===null)return e;const n=U_(xs),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,V4=e=>e&&(e.disabled||e.disabled===""),HQ=e=>e&&(e.defer||e.defer===""),WQ=e=>typeof SVGElement<"u"&&e instanceof SVGElement,VQ=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,YB=(e,t)=>{const n=e&&e.to;return In(n)?t?t(n):null:n},uge={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,a,s,l,u){const{mc:d,pc:c,pbc:f,o:{insert:p,querySelector:v,createText:h,createComment:g}}=u,y=V4(t.props);let{shapeFlag:m,children:b,dynamicChildren:w}=t;if(e==null){const A=t.el=h(""),S=t.anchor=h("");p(A,n,r),p(S,n,r);const E=(_,M)=>{m&16&&(o&&o.isCE&&(o.ce._teleportTarget=_),d(b,_,M,o,i,a,s,l))},D=()=>{const _=t.target=YB(t.props,v),M=cge(_,t,h,p);_&&(a!=="svg"&&WQ(_)?a="svg":a!=="mathml"&&VQ(_)&&(a="mathml"),y||(E(_,M),hS(t,!1)))};y&&(E(n,S),hS(t,!0)),HQ(t.props)?(t.el.__isMounted=!1,rl(()=>{D(),delete t.el.__isMounted},i)):D()}else{if(HQ(t.props)&&e.el.__isMounted===!1){rl(()=>{uge.process(e,t,n,r,o,i,a,s,l,u)},i);return}t.el=e.el,t.targetStart=e.targetStart;const A=t.anchor=e.anchor,S=t.target=e.target,E=t.targetAnchor=e.targetAnchor,D=V4(e.props),_=D?n:S,M=D?A:E;if(a==="svg"||WQ(S)?a="svg":(a==="mathml"||VQ(S))&&(a="mathml"),w?(f(e.dynamicChildren,w,_,o,i,a,s),Vj(e,t,!0)):l||c(e,t,_,M,o,i,a,s,!1),y)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fx(t,n,A,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=YB(t.props,v);O&&fx(t,O,null,u,0)}else D&&fx(t,S,E,u,1);hS(t,y)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:d,target:c,props:f}=e;if(c&&(o(u),o(d)),i&&o(l),a&16){const p=i||!V4(f);for(let v=0;v{e.isMounted=!0}),Jr(()=>{e.isUnmounting=!0}),e}const _u=[Function,Array],fge={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_u,onEnter:_u,onAfterEnter:_u,onEnterCancelled:_u,onBeforeLeave:_u,onLeave:_u,onAfterLeave:_u,onLeaveCancelled:_u,onBeforeAppear:_u,onAppear:_u,onAfterAppear:_u,onAppearCancelled:_u},pge=e=>{const t=e.subTree;return t.component?pge(t.component):t},PTe={name:"BaseTransition",props:fge,setup(e,{slots:t}){const n=br(),r=dge();return()=>{const o=t.default&&Uj(t.default(),!0);if(!o||!o.length)return;const i=hge(o),a=No(e),{mode:s}=a;if(r.isLeaving)return Z9(i);const l=qQ(i);if(!l)return Z9(i);let u=F3(l,a,r,n,c=>u=c);l.type!==da&&_v(l,u);let d=n.subTree&&qQ(n.subTree);if(d&&d.type!==da&&!_g(l,d)&&pge(n).type!==da){let c=F3(d,a,r,n);if(_v(d,c),s==="out-in"&&l.type!==da)return r.isLeaving=!0,c.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete c.afterLeave,d=void 0},Z9(i);s==="in-out"&&l.type!==da?c.delayLeave=(f,p,v)=>{const h=gge(r,d);h[String(d.key)]=d,f[uh]=()=>{p(),f[uh]=void 0,delete u.delayedLeave,d=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return i}}};function hge(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==da){t=n;break}}return t}const NTe=PTe;function gge(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 F3(e,t,n,r,o){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:d,onEnterCancelled:c,onBeforeLeave:f,onLeave:p,onAfterLeave:v,onLeaveCancelled:h,onBeforeAppear:g,onAppear:y,onAfterAppear:m,onAppearCancelled:b}=t,w=String(e.key),A=gge(n,e),S=(_,M)=>{_&&zc(_,r,9,M)},E=(_,M)=>{const O=M[1];S(_,M),Zt(_)?_.every(k=>k.length<=1)&&O():_.length<=1&&O()},D={mode:a,persisted:s,beforeEnter(_){let M=l;if(!n.isMounted)if(i)M=g||l;else return;_[uh]&&_[uh](!0);const O=A[w];O&&_g(e,O)&&O.el[uh]&&O.el[uh](),S(M,[_])},enter(_){let M=u,O=d,k=c;if(!n.isMounted)if(i)M=y||u,O=m||d,k=b||c;else return;let R=!1;const N=_[px]=W=>{R||(R=!0,W?S(k,[_]):S(O,[_]),D.delayedLeave&&D.delayedLeave(),_[px]=void 0)};M?E(M,[_,N]):N()},leave(_,M){const O=String(e.key);if(_[px]&&_[px](!0),n.isUnmounting)return M();S(f,[_]);let k=!1;const R=_[uh]=N=>{k||(k=!0,M(),N?S(h,[_]):S(v,[_]),_[uh]=void 0,A[O]===e&&delete A[O])};A[O]=e,p?E(p,[_,R]):R()},clone(_){const M=F3(_,t,n,r,o);return o&&o(M),M}};return D}function Z9(e){if(N_(e))return e=Zf(e),e.children=null,e}function qQ(e){if(!N_(e))return lge(e.type)&&e.children?hge(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&&Rn(n.default))return n.default()}}function _v(e,t){e.shapeFlag&6&&e.component?(e.transition=t,_v(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 Uj(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;iq4(v,t&&(Zt(t)?t[h]:t),n,r,o));return}if(ey(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&q4(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?U_(r.component):r.el,a=o?null:i,{i:s,r:l}=e,u=t&&t.r,d=s.refs===Ei?s.refs={}:s.refs,c=s.setupState,f=No(c),p=c===Ei?()=>!1:v=>no(f,v);if(u!=null&&u!==l&&(In(u)?(d[u]=null,p(u)&&(c[u]=null)):Uo(u)&&(u.value=null)),Rn(l))x5(l,s,12,[a,d]);else{const v=In(l),h=Uo(l);if(v||h){const g=()=>{if(e.f){const y=v?p(l)?c[l]:d[l]:l.value;o?Zt(y)&&Dj(y,i):Zt(y)?y.includes(i)||y.push(i):v?(d[l]=[i],p(l)&&(c[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else v?(d[l]=a,p(l)&&(c[l]=a)):h&&(l.value=a,e.k&&(d[e.k]=a))};a?(g.id=-1,rl(g,n)):g()}}}D_().requestIdleCallback;D_().cancelIdleCallback;const ey=e=>!!e.type.__asyncLoader,N_=e=>e.type.__isKeepAlive;function Db(e,t){yge(e,"a",t)}function mge(e,t){yge(e,"da",t)}function yge(e,t,n=zs){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(R_(t,r,n),n){let o=n.parent;for(;o&&o.parent;)N_(o.parent.vnode)&&RTe(r,t,n,o),o=o.parent}}function RTe(e,t,n,r){const o=R_(t,e,r,!0);yl(()=>{Dj(r[t],o)},n)}function R_(e,t,n=zs,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Yf();const s=S5(n),l=zc(t,n,e,a);return s(),Qf(),l});return r?o.unshift(i):o.push(i),i}}const mp=e=>(t,n=zs)=>{(!z3||e==="sp")&&R_(e,(...r)=>t(...r),n)},B_=mp("bm"),qn=mp("m"),zj=mp("bu"),Qc=mp("u"),Jr=mp("bum"),yl=mp("um"),BTe=mp("sp"),LTe=mp("rtg"),FTe=mp("rtc");function UTe(e,t=zs){R_("ec",e,t)}const $j="components",zTe="directives";function hr(e,t){return jj($j,e,!0,t)||e}const bge=Symbol.for("v-ndc");function mr(e){return In(e)?jj($j,e,!1)||e:e||bge}function L_(e){return jj(zTe,e)}function jj(e,t,n=!0,r=!1){const o=xs||zs;if(o){const i=o.type;if(e===$j){const s=S_e(i,!1);if(s&&(s===t||s===dl(t)||s===C5(dl(t))))return i}const a=GQ(o[e]||i[e],t)||GQ(o.appContext[e],t);return!a&&r?i:a}}function GQ(e,t){return e&&(e[t]||e[dl(t)]||e[C5(dl(t))])}function un(e,t,n,r){let o;const i=n,a=Zt(e);if(a||In(e)){const s=a&&X1(e);let l=!1,u=!1;s&&(l=!Wu(e),u=r0(e),e=O_(e)),o=new Array(e.length);for(let d=0,c=e.length;dt(s,l,void 0,i));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,u=s.length;l{const i=r.fn(...o);return i&&(i.key=r.key),i}:r.fn)}return e}function ht(e,t,n={},r,o){if(xs.ce||xs.parent&&ey(xs.parent)&&xs.parent.ce)return t!=="default"&&(n.name=t),L(),yt(Rt,null,[He("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),L();const a=i&&wge(i(n)),s=n.key||a&&a.key,l=yt(Rt,{key:(s&&!Uc(s)?s:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function wge(e){return e.some(t=>Vo(t)?!(t.type===da||t.type===Rt&&!wge(t.children)):!0)?e:null}function $Te(e,t){const n={};for(const r in e)n[j4(r)]=e[r];return n}const ZB=e=>e?Uge(e)?U_(e):ZB(e.parent):null,G4=es(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=>ZB(e.parent),$root:e=>ZB(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xge(e),$forceUpdate:e=>e.f||(e.f=()=>{Fj(e.update)}),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>l_e.bind(e)}),X9=(e,t)=>e!==Ei&&!e.__isScriptSetup&&no(e,t),jTe={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(X9(r,t))return a[t]=1,r[t];if(o!==Ei&&no(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&no(u,t))return a[t]=3,i[t];if(n!==Ei&&no(n,t))return a[t]=4,n[t];XB&&(a[t]=0)}}const d=G4[t];let c,f;if(d)return t==="$attrs"&&Fs(e.attrs,"get",""),d(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==Ei&&no(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,no(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return X9(o,t)?(o[t]=n,!0):r!==Ei&&no(r,t)?(r[t]=n,!0):no(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==Ei&&no(e,a)||X9(t,a)||(s=i[0])&&no(s,a)||no(r,a)||no(G4,a)||no(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:no(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ga(){return Age().slots}function yp(){return Age().attrs}function Age(e){const t=br();return t.setupContext||(t.setupContext=$ge(t))}function KQ(e){return Zt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let XB=!0;function HTe(e){const t=xge(e),n=e.proxy,r=e.ctx;XB=!1,t.beforeCreate&&YQ(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:l,inject:u,created:d,beforeMount:c,mounted:f,beforeUpdate:p,updated:v,activated:h,deactivated:g,beforeDestroy:y,beforeUnmount:m,destroyed:b,unmounted:w,render:A,renderTracked:S,renderTriggered:E,errorCaptured:D,serverPrefetch:_,expose:M,inheritAttrs:O,components:k,directives:R,filters:N}=t;if(u&&WTe(u,r,null),a)for(const z in a){const j=a[z];Rn(j)&&(r[z]=j.bind(n))}if(o){const z=o.call(n,n);dr(z)&&(e.data=Wr(z))}if(XB=!0,i)for(const z in i){const j=i[z],q=Rn(j)?j.bind(n,n):Rn(j.get)?j.get.bind(n,n):bo,Y=!Rn(j)&&Rn(j.set)?j.set.bind(n):bo,U=ee({get:q,set:Y});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>U.value,set:F=>U.value=F})}if(s)for(const z in s)Cge(s[z],r,n,z);if(l){const z=Rn(l)?l.call(n):l;Reflect.ownKeys(z).forEach(j=>{_r(j,z[j])})}d&&YQ(d,e,"c");function B(z,j){Zt(j)?j.forEach(q=>z(q.bind(n))):j&&z(j.bind(n))}if(B(B_,c),B(qn,f),B(zj,p),B(Qc,v),B(Db,h),B(mge,g),B(UTe,D),B(FTe,S),B(LTe,E),B(Jr,m),B(yl,w),B(BTe,_),Zt(M))if(M.length){const z=e.exposed||(e.exposed={});M.forEach(j=>{Object.defineProperty(z,j,{get:()=>n[j],set:q=>n[j]=q,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===bo&&(e.render=A),O!=null&&(e.inheritAttrs=O),k&&(e.components=k),R&&(e.directives=R),_&&vge(e)}function WTe(e,t,n=bo){Zt(e)&&(e=JB(e));for(const r in e){const o=e[r];let i;dr(o)?"default"in o?i=dn(o.from||r,o.default,!0):i=dn(o.from||r):i=dn(o),Uo(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[r]=i}}function YQ(e,t,n){zc(Zt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Cge(e,t,n,r){let o=r.includes(".")?Nge(n,r):()=>n[r];if(In(e)){const i=t[e];Rn(i)&&St(o,i)}else if(Rn(e))St(o,e.bind(n));else if(dr(e))if(Zt(e))e.forEach(i=>Cge(i,t,n,r));else{const i=Rn(e.handler)?e.handler.bind(n):t[e.handler];Rn(i)&&St(o,i,e)}}function xge(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>sE(l,u,a,!0)),sE(l,t,a)),dr(t)&&i.set(t,l),l}function sE(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&sE(e,i,n,!0),o&&o.forEach(a=>sE(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=VTe[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const VTe={data:QQ,props:ZQ,emits:ZQ,methods:A4,computed:A4,beforeCreate:nl,created:nl,beforeMount:nl,mounted:nl,beforeUpdate:nl,updated:nl,beforeDestroy:nl,beforeUnmount:nl,destroyed:nl,unmounted:nl,activated:nl,deactivated:nl,errorCaptured:nl,serverPrefetch:nl,components:A4,directives:A4,watch:GTe,provide:QQ,inject:qTe};function QQ(e,t){return t?e?function(){return es(Rn(e)?e.call(this,this):e,Rn(t)?t.call(this,this):t)}:t:e}function qTe(e,t){return A4(JB(e),JB(t))}function JB(e){if(Zt(e)){const t={};for(let n=0;n1)return n&&Rn(t)?t.call(r&&r.proxy):t}}const Ege={},kge=()=>Object.create(Ege),Tge=e=>Object.getPrototypeOf(e)===Ege;function QTe(e,t,n,r=!1){const o={},i=kge();e.propsDefaults=Object.create(null),_ge(e,t,o,i);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:M_(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function ZTe(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,s=No(o),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let c=0;c{l=!0;const[f,p]=Dge(c,t,!0);es(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return dr(e)&&r.set(e,Q1),Q1;if(Zt(i))for(let d=0;de==="_"||e==="__"||e==="_ctx"||e==="$stable",Wj=e=>Zt(e)?e.map(vd):[vd(e)],JTe=(e,t,n)=>{if(t._n)return t;const r=rt((...o)=>Wj(t(...o)),n);return r._c=!1,r},Ige=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Hj(o))continue;const i=e[o];if(Rn(i))t[o]=JTe(o,i,r);else if(i!=null){const a=Wj(i);t[o]=()=>a}}},Oge=(e,t)=>{const n=Wj(t);e.slots.default=()=>n},Mge=(e,t,n)=>{for(const r in t)(n||!Hj(r))&&(e[r]=t[r])},e_e=(e,t,n)=>{const r=e.slots=kge();if(e.vnode.shapeFlag&32){const o=t.__;o&&VB(r,"__",o,!0);const i=t._;i?(Mge(r,t,n),n&&VB(r,"_",i,!0)):Ige(t,r)}else t&&Oge(e,t)},t_e=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=Ei;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:Mge(o,t,n):(i=!t.$stable,Ige(t,o)),a=t}else t&&(Oge(e,t),a={default:1});if(i)for(const s in o)!Hj(s)&&a[s]==null&&delete o[s]},rl=g_e;function n_e(e){return r_e(e)}function r_e(e,t){const n=D_();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:l,setText:u,setElementText:d,parentNode:c,nextSibling:f,setScopeId:p=bo,insertStaticContent:v}=e,h=(he,Ee,Q,me=null,De=null,pe=null,ie=void 0,ue=null,Be=!!Ee.dynamicChildren)=>{if(he===Ee)return;he&&!_g(he,Ee)&&(me=Z(he),F(he,De,pe,!0),he=null),Ee.patchFlag===-2&&(Be=!1,Ee.dynamicChildren=null);const{type:Me,ref:Fe,shapeFlag:ze}=Ee;switch(Me){case Ib:g(he,Ee,Q,me);break;case da:y(he,Ee,Q,me);break;case gS:he==null&&m(Ee,Q,me,ie);break;case Rt:k(he,Ee,Q,me,De,pe,ie,ue,Be);break;default:ze&1?A(he,Ee,Q,me,De,pe,ie,ue,Be):ze&6?R(he,Ee,Q,me,De,pe,ie,ue,Be):(ze&64||ze&128)&&Me.process(he,Ee,Q,me,De,pe,ie,ue,Be,Pe)}Fe!=null&&De?q4(Fe,he&&he.ref,pe,Ee||he,!Ee):Fe==null&&he&&he.ref!=null&&q4(he.ref,null,pe,he,!0)},g=(he,Ee,Q,me)=>{if(he==null)r(Ee.el=s(Ee.children),Q,me);else{const De=Ee.el=he.el;Ee.children!==he.children&&u(De,Ee.children)}},y=(he,Ee,Q,me)=>{he==null?r(Ee.el=l(Ee.children||""),Q,me):Ee.el=he.el},m=(he,Ee,Q,me)=>{[he.el,he.anchor]=v(he.children,Ee,Q,me,he.el,he.anchor)},b=({el:he,anchor:Ee},Q,me)=>{let De;for(;he&&he!==Ee;)De=f(he),r(he,Q,me),he=De;r(Ee,Q,me)},w=({el:he,anchor:Ee})=>{let Q;for(;he&&he!==Ee;)Q=f(he),o(he),he=Q;o(Ee)},A=(he,Ee,Q,me,De,pe,ie,ue,Be)=>{Ee.type==="svg"?ie="svg":Ee.type==="math"&&(ie="mathml"),he==null?S(Ee,Q,me,De,pe,ie,ue,Be):_(he,Ee,De,pe,ie,ue,Be)},S=(he,Ee,Q,me,De,pe,ie,ue)=>{let Be,Me;const{props:Fe,shapeFlag:ze,transition:Ne,dirs:Re}=he;if(Be=he.el=a(he.type,pe,Fe&&Fe.is,Fe),ze&8?d(Be,he.children):ze&16&&D(he.children,Be,null,me,De,J9(he,pe),ie,ue),Re&&G0(he,null,me,"created"),E(Be,he,he.scopeId,ie,me),Fe){for(const Bt in Fe)Bt!=="value"&&!$4(Bt)&&i(Be,Bt,null,Fe[Bt],pe,me);"value"in Fe&&i(Be,"value",null,Fe.value,pe),(Me=Fe.onVnodeBeforeMount)&&id(Me,me,he)}Re&&G0(he,null,me,"beforeMount");const gt=o_e(De,Ne);gt&&Ne.beforeEnter(Be),r(Be,Ee,Q),((Me=Fe&&Fe.onVnodeMounted)||gt||Re)&&rl(()=>{Me&&id(Me,me,he),gt&&Ne.enter(Be),Re&&G0(he,null,me,"mounted")},De)},E=(he,Ee,Q,me,De)=>{if(Q&&p(he,Q),me)for(let pe=0;pe{for(let Me=Be;Me{const ue=Ee.el=he.el;let{patchFlag:Be,dynamicChildren:Me,dirs:Fe}=Ee;Be|=he.patchFlag&16;const ze=he.props||Ei,Ne=Ee.props||Ei;let Re;if(Q&&K0(Q,!1),(Re=Ne.onVnodeBeforeUpdate)&&id(Re,Q,Ee,he),Fe&&G0(Ee,he,Q,"beforeUpdate"),Q&&K0(Q,!0),(ze.innerHTML&&Ne.innerHTML==null||ze.textContent&&Ne.textContent==null)&&d(ue,""),Me?M(he.dynamicChildren,Me,ue,Q,me,J9(Ee,De),pe):ie||j(he,Ee,ue,null,Q,me,J9(Ee,De),pe,!1),Be>0){if(Be&16)O(ue,ze,Ne,Q,De);else if(Be&2&&ze.class!==Ne.class&&i(ue,"class",null,Ne.class,De),Be&4&&i(ue,"style",ze.style,Ne.style,De),Be&8){const gt=Ee.dynamicProps;for(let Bt=0;Bt{Re&&id(Re,Q,Ee,he),Fe&&G0(Ee,he,Q,"updated")},me)},M=(he,Ee,Q,me,De,pe,ie)=>{for(let ue=0;ue{if(Ee!==Q){if(Ee!==Ei)for(const pe in Ee)!$4(pe)&&!(pe in Q)&&i(he,pe,Ee[pe],null,De,me);for(const pe in Q){if($4(pe))continue;const ie=Q[pe],ue=Ee[pe];ie!==ue&&pe!=="value"&&i(he,pe,ue,ie,De,me)}"value"in Q&&i(he,"value",Ee.value,Q.value,De)}},k=(he,Ee,Q,me,De,pe,ie,ue,Be)=>{const Me=Ee.el=he?he.el:s(""),Fe=Ee.anchor=he?he.anchor:s("");let{patchFlag:ze,dynamicChildren:Ne,slotScopeIds:Re}=Ee;Re&&(ue=ue?ue.concat(Re):Re),he==null?(r(Me,Q,me),r(Fe,Q,me),D(Ee.children||[],Q,Fe,De,pe,ie,ue,Be)):ze>0&&ze&64&&Ne&&he.dynamicChildren?(M(he.dynamicChildren,Ne,Q,De,pe,ie,ue),(Ee.key!=null||De&&Ee===De.subTree)&&Vj(he,Ee,!0)):j(he,Ee,Q,Fe,De,pe,ie,ue,Be)},R=(he,Ee,Q,me,De,pe,ie,ue,Be)=>{Ee.slotScopeIds=ue,he==null?Ee.shapeFlag&512?De.ctx.activate(Ee,Q,me,ie,Be):N(Ee,Q,me,De,pe,ie,Be):W(he,Ee,Be)},N=(he,Ee,Q,me,De,pe,ie)=>{const ue=he.component=w_e(he,me,De);if(N_(he)&&(ue.ctx.renderer=Pe),A_e(ue,!1,ie),ue.asyncDep){if(De&&De.registerDep(ue,B,ie),!he.el){const Be=ue.subTree=He(da);y(null,Be,Ee,Q),he.placeholder=Be.el}}else B(ue,he,Ee,Q,De,pe,ie)},W=(he,Ee,Q)=>{const me=Ee.component=he.component;if(p_e(he,Ee,Q))if(me.asyncDep&&!me.asyncResolved){z(me,Ee,Q);return}else me.next=Ee,me.update();else Ee.el=he.el,me.vnode=Ee},B=(he,Ee,Q,me,De,pe,ie)=>{const ue=()=>{if(he.isMounted){let{next:ze,bu:Ne,u:Re,parent:gt,vnode:Bt}=he;{const pt=Pge(he);if(pt){ze&&(ze.el=Bt.el,z(he,ze,ie)),pt.asyncDep.then(()=>{he.isUnmounted||ue()});return}}let Lt=ze,an;K0(he,!1),ze?(ze.el=Bt.el,z(he,ze,ie)):ze=Bt,Ne&&fS(Ne),(an=ze.props&&ze.props.onVnodeBeforeUpdate)&&id(an,gt,ze,Bt),K0(he,!0);const Kt=eZ(he),Ht=he.subTree;he.subTree=Kt,h(Ht,Kt,c(Ht.el),Z(Ht),he,De,pe),ze.el=Kt.el,Lt===null&&h_e(he,Kt.el),Re&&rl(Re,De),(an=ze.props&&ze.props.onVnodeUpdated)&&rl(()=>id(an,gt,ze,Bt),De)}else{let ze;const{el:Ne,props:Re}=Ee,{bm:gt,m:Bt,parent:Lt,root:an,type:Kt}=he,Ht=ey(Ee);K0(he,!1),gt&&fS(gt),!Ht&&(ze=Re&&Re.onVnodeBeforeMount)&&id(ze,Lt,Ee),K0(he,!0);{an.ce&&an.ce._def.shadowRoot!==!1&&an.ce._injectChildStyle(Kt);const pt=he.subTree=eZ(he);h(null,pt,Q,me,he,De,pe),Ee.el=pt.el}if(Bt&&rl(Bt,De),!Ht&&(ze=Re&&Re.onVnodeMounted)){const pt=Ee;rl(()=>id(ze,Lt,pt),De)}(Ee.shapeFlag&256||Lt&&ey(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&he.a&&rl(he.a,De),he.isMounted=!0,Ee=Q=me=null}};he.scope.on();const Be=he.effect=new U0e(ue);he.scope.off();const Me=he.update=Be.run.bind(Be),Fe=he.job=Be.runIfDirty.bind(Be);Fe.i=he,Fe.id=he.uid,Be.scheduler=()=>Fj(Fe),K0(he,!0),Me()},z=(he,Ee,Q)=>{Ee.component=he;const me=he.vnode.props;he.vnode=Ee,he.next=null,ZTe(he,Ee.props,me,Q),t_e(he,Ee.children,Q),Yf(),jQ(he),Qf()},j=(he,Ee,Q,me,De,pe,ie,ue,Be=!1)=>{const Me=he&&he.children,Fe=he?he.shapeFlag:0,ze=Ee.children,{patchFlag:Ne,shapeFlag:Re}=Ee;if(Ne>0){if(Ne&128){Y(Me,ze,Q,me,De,pe,ie,ue,Be);return}else if(Ne&256){q(Me,ze,Q,me,De,pe,ie,ue,Be);return}}Re&8?(Fe&16&&te(Me,De,pe),ze!==Me&&d(Q,ze)):Fe&16?Re&16?Y(Me,ze,Q,me,De,pe,ie,ue,Be):te(Me,De,pe,!0):(Fe&8&&d(Q,""),Re&16&&D(ze,Q,me,De,pe,ie,ue,Be))},q=(he,Ee,Q,me,De,pe,ie,ue,Be)=>{he=he||Q1,Ee=Ee||Q1;const Me=he.length,Fe=Ee.length,ze=Math.min(Me,Fe);let Ne;for(Ne=0;NeFe?te(he,De,pe,!0,!1,ze):D(Ee,Q,me,De,pe,ie,ue,Be,ze)},Y=(he,Ee,Q,me,De,pe,ie,ue,Be)=>{let Me=0;const Fe=Ee.length;let ze=he.length-1,Ne=Fe-1;for(;Me<=ze&&Me<=Ne;){const Re=he[Me],gt=Ee[Me]=Be?ch(Ee[Me]):vd(Ee[Me]);if(_g(Re,gt))h(Re,gt,Q,null,De,pe,ie,ue,Be);else break;Me++}for(;Me<=ze&&Me<=Ne;){const Re=he[ze],gt=Ee[Ne]=Be?ch(Ee[Ne]):vd(Ee[Ne]);if(_g(Re,gt))h(Re,gt,Q,null,De,pe,ie,ue,Be);else break;ze--,Ne--}if(Me>ze){if(Me<=Ne){const Re=Ne+1,gt=ReNe)for(;Me<=ze;)F(he[Me],De,pe,!0),Me++;else{const Re=Me,gt=Me,Bt=new Map;for(Me=gt;Me<=Ne;Me++){const it=Ee[Me]=Be?ch(Ee[Me]):vd(Ee[Me]);it.key!=null&&Bt.set(it.key,Me)}let Lt,an=0;const Kt=Ne-gt+1;let Ht=!1,pt=0;const Dt=new Array(Kt);for(Me=0;Me=Kt){F(it,De,pe,!0);continue}let de;if(it.key!=null)de=Bt.get(it.key);else for(Lt=gt;Lt<=Ne;Lt++)if(Dt[Lt-gt]===0&&_g(it,Ee[Lt])){de=Lt;break}de===void 0?F(it,De,pe,!0):(Dt[de-gt]=Me+1,de>=pt?pt=de:Ht=!0,h(it,Ee[de],Q,null,De,pe,ie,ue,Be),an++)}const dt=Ht?i_e(Dt):Q1;for(Lt=dt.length-1,Me=Kt-1;Me>=0;Me--){const it=gt+Me,de=Ee[it],tt=Ee[it+1],ft=it+1{const{el:pe,type:ie,transition:ue,children:Be,shapeFlag:Me}=he;if(Me&6){U(he.component.subTree,Ee,Q,me);return}if(Me&128){he.suspense.move(Ee,Q,me);return}if(Me&64){ie.move(he,Ee,Q,Pe);return}if(ie===Rt){r(pe,Ee,Q);for(let ze=0;zeue.enter(pe),De);else{const{leave:ze,delayLeave:Ne,afterLeave:Re}=ue,gt=()=>{he.ctx.isUnmounted?o(pe):r(pe,Ee,Q)},Bt=()=>{ze(pe,()=>{gt(),Re&&Re()})};Ne?Ne(pe,gt,Bt):Bt()}else r(pe,Ee,Q)},F=(he,Ee,Q,me=!1,De=!1)=>{const{type:pe,props:ie,ref:ue,children:Be,dynamicChildren:Me,shapeFlag:Fe,patchFlag:ze,dirs:Ne,cacheIndex:Re}=he;if(ze===-2&&(De=!1),ue!=null&&(Yf(),q4(ue,null,Q,he,!0),Qf()),Re!=null&&(Ee.renderCache[Re]=void 0),Fe&256){Ee.ctx.deactivate(he);return}const gt=Fe&1&&Ne,Bt=!ey(he);let Lt;if(Bt&&(Lt=ie&&ie.onVnodeBeforeUnmount)&&id(Lt,Ee,he),Fe&6)X(he.component,Q,me);else{if(Fe&128){he.suspense.unmount(Q,me);return}gt&&G0(he,null,Ee,"beforeUnmount"),Fe&64?he.type.remove(he,Ee,Q,Pe,me):Me&&!Me.hasOnce&&(pe!==Rt||ze>0&&ze&64)?te(Me,Ee,Q,!1,!0):(pe===Rt&&ze&384||!De&&Fe&16)&&te(Be,Ee,Q),me&&H(he)}(Bt&&(Lt=ie&&ie.onVnodeUnmounted)||gt)&&rl(()=>{Lt&&id(Lt,Ee,he),gt&&G0(he,null,Ee,"unmounted")},Q)},H=he=>{const{type:Ee,el:Q,anchor:me,transition:De}=he;if(Ee===Rt){re(Q,me);return}if(Ee===gS){w(he);return}const pe=()=>{o(Q),De&&!De.persisted&&De.afterLeave&&De.afterLeave()};if(he.shapeFlag&1&&De&&!De.persisted){const{leave:ie,delayLeave:ue}=De,Be=()=>ie(Q,pe);ue?ue(he.el,pe,Be):Be()}else pe()},re=(he,Ee)=>{let Q;for(;he!==Ee;)Q=f(he),o(he),he=Q;o(Ee)},X=(he,Ee,Q)=>{const{bum:me,scope:De,job:pe,subTree:ie,um:ue,m:Be,a:Me,parent:Fe,slots:{__:ze}}=he;JQ(Be),JQ(Me),me&&fS(me),Fe&&Zt(ze)&&ze.forEach(Ne=>{Fe.renderCache[Ne]=void 0}),De.stop(),pe&&(pe.flags|=8,F(ie,he,Ee,Q)),ue&&rl(ue,Ee),rl(()=>{he.isUnmounted=!0},Ee),Ee&&Ee.pendingBranch&&!Ee.isUnmounted&&he.asyncDep&&!he.asyncResolved&&he.suspenseId===Ee.pendingId&&(Ee.deps--,Ee.deps===0&&Ee.resolve())},te=(he,Ee,Q,me=!1,De=!1,pe=0)=>{for(let ie=pe;ie{if(he.shapeFlag&6)return Z(he.component.subTree);if(he.shapeFlag&128)return he.suspense.next();const Ee=f(he.anchor||he.el),Q=Ee&&Ee[sge];return Q?f(Q):Ee};let le=!1;const ve=(he,Ee,Q)=>{he==null?Ee._vnode&&F(Ee._vnode,null,null,!0):h(Ee._vnode||null,he,Ee,null,null,null,Q),Ee._vnode=he,le||(le=!0,jQ(),oge(),le=!1)},Pe={p:h,um:F,m:U,r:H,mt:N,mc:D,pc:j,pbc:M,n:Z,o:e};return{render:ve,hydrate:void 0,createApp:YTe(ve)}}function J9({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 K0({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function o_e(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vj(e,t,n=!1){const r=e.children,o=t.children;if(Zt(r)&&Zt(o))for(let i=0;i>1,e[n[s]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Pge(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pge(t)}function JQ(e){if(e)for(let t=0;tdn(a_e);function Es(e,t){return qj(e,null,t)}function St(e,t,n){return qj(e,t,n)}function qj(e,t,n=Ei){const{immediate:r,deep:o,flush:i,once:a}=n,s=es({},n),l=t&&r||!t&&i!=="post";let u;if(z3){if(i==="sync"){const p=s_e();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=bo,p.resume=bo,p.pause=bo,p}}const d=zs;s.call=(p,v,h)=>zc(p,d,v,h);let c=!1;i==="post"?s.scheduler=p=>{rl(p,d&&d.suspense)}:i!=="sync"&&(c=!0,s.scheduler=(p,v)=>{v?p():Fj(p)}),s.augmentJob=p=>{t&&(p.flags|=4),c&&(p.flags|=2,d&&(p.id=d.uid,p.i=d))};const f=_Te(e,t,s);return z3&&(u?u.push(f):l&&f()),f}function l_e(e,t,n){const r=this.proxy,o=In(e)?e.includes(".")?Nge(r,e):()=>r[e]:e.bind(r,r);let i;Rn(t)?i=t:(i=t.handler,n=t);const a=S5(this),s=qj(o,i.bind(r),n);return a(),s}function Nge(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;ot==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${dl(t)}Modifiers`]||e[`${vp(t)}Modifiers`];function c_e(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ei;let o=n;const i=t.startsWith("update:"),a=i&&u_e(r,t.slice(7));a&&(a.trim&&(o=n.map(d=>In(d)?d.trim():d)),a.number&&(o=n.map(tE)));let s,l=r[s=j4(t)]||r[s=j4(dl(t))];!l&&i&&(l=r[s=j4(vp(t))]),l&&zc(l,e,6,o);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,zc(u,e,6,o)}}function Rge(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!Rn(e)){const l=u=>{const d=Rge(u,t,!0);d&&(s=!0,es(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(dr(e)&&r.set(e,null),null):(Zt(i)?i.forEach(l=>a[l]=null):es(a,i),dr(e)&&r.set(e,a),a)}function F_(e,t){return!e||!T_(t)?!1:(t=t.slice(2).replace(/Once$/,""),no(e,t[0].toLowerCase()+t.slice(1))||no(e,vp(t))||no(e,t))}function eZ(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:a,attrs:s,emit:l,render:u,renderCache:d,props:c,data:f,setupState:p,ctx:v,inheritAttrs:h}=e,g=aE(e);let y,m;try{if(n.shapeFlag&4){const w=o||r,A=w;y=vd(u.call(A,w,d,c,p,f,v)),m=s}else{const w=t;y=vd(w.length>1?w(c,{attrs:s,slots:a,emit:l}):w(c,null)),m=t.props?s:d_e(s)}}catch(w){K4.length=0,P_(w,e,1),y=He(da)}let b=y;if(m&&h!==!1){const w=Object.keys(m),{shapeFlag:A}=b;w.length&&A&7&&(i&&w.some(_j)&&(m=f_e(m,i)),b=Zf(b,m,!1,!0))}return n.dirs&&(b=Zf(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&_v(b,n.transition),y=b,aE(g),y}const d_e=e=>{let t;for(const n in e)(n==="class"||n==="style"||T_(n))&&((t||(t={}))[n]=e[n]);return t},f_e=(e,t)=>{const n={};for(const r in e)(!_j(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function p_e(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?tZ(r,a,u):!!a;if(l&8){const d=t.dynamicProps;for(let c=0;ce.__isSuspense;function g_e(e,t){t&&t.pendingBranch?Zt(e)?t.effects.push(...e):t.effects.push(e):OTe(e)}const Rt=Symbol.for("v-fgt"),Ib=Symbol.for("v-txt"),da=Symbol.for("v-cmt"),gS=Symbol.for("v-stc"),K4=[];let lu=null;function L(e=!1){K4.push(lu=e?null:[])}function v_e(){K4.pop(),lu=K4[K4.length-1]||null}let U3=1;function nZ(e,t=!1){U3+=e,e<0&&lu&&t&&(lu.hasOnce=!0)}function Lge(e){return e.dynamicChildren=U3>0?lu||Q1:null,v_e(),U3>0&&lu&&lu.push(e),e}function G(e,t,n,r,o,i){return Lge(x(e,t,n,r,o,i,!0))}function yt(e,t,n,r,o){return Lge(He(e,t,n,r,o,!0))}function Vo(e){return e?e.__v_isVNode===!0:!1}function _g(e,t){return e.type===t.type&&e.key===t.key}const Fge=({key:e})=>e??null,vS=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?In(e)||Uo(e)||Rn(e)?{i:xs,r:e,k:t,f:!!n}:e:null);function x(e,t=null,n=null,r=0,o=null,i=e===Rt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fge(t),ref:t&&vS(t),scopeId:age,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:xs};return s?(Gj(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=In(n)?8:16),U3>0&&!a&&lu&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&lu.push(l),l}const He=m_e;function m_e(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===bge)&&(e=da),Vo(e)){const s=Zf(e,t,!0);return n&&Gj(s,n),U3>0&&!i&&lu&&(s.shapeFlag&6?lu[lu.indexOf(e)]=s:lu.push(s)),s.patchFlag=-2,s}if(E_e(e)&&(e=e.__vccOpts),t){t=$d(t);let{class:s,style:l}=t;s&&!In(s)&&(t.class=oe(s)),dr(l)&&(Lj(l)&&!Zt(l)&&(l=es({},l)),t.style=rn(l))}const a=In(e)?1:Bge(e)?128:lge(e)?64:dr(e)?4:Rn(e)?2:0;return x(e,t,n,r,o,a,i,!0)}function $d(e){return e?Lj(e)||Tge(e)?es({},e):e:null}function Zf(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:l}=e,u=t?vr(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Fge(u),ref:t&&t.ref?n&&i?Zt(i)?i.concat(vS(t)):[i,vS(t)]:vS(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zf(e.ssContent),ssFallback:e.ssFallback&&Zf(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&_v(d,l.clone(d)),d}function bn(e=" ",t=0){return He(Ib,null,e,t)}function ki(e,t){const n=He(gS,null,e);return n.staticCount=t,n}function xe(e="",t=!1){return t?(L(),yt(da,null,e)):He(da,null,e)}function vd(e){return e==null||typeof e=="boolean"?He(da):Zt(e)?He(Rt,null,e.slice()):Vo(e)?ch(e):He(Ib,null,String(e))}function ch(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zf(e)}function Gj(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Zt(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Gj(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Tge(t)?t._ctx=xs:o===3&&xs&&(xs.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Rn(t)?(t={default:t,_ctx:xs},n=32):(t=String(t),r&64?(n=16,t=[bn(t)]):n=8);e.children=t,e.shapeFlag|=n}function vr(...e){const t={};for(let n=0;nzs||xs;let lE,tL;{const e=D_(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(a=>a(i)):o[0](i)}};lE=t("__VUE_INSTANCE_SETTERS__",n=>zs=n),tL=t("__VUE_SSR_SETTERS__",n=>z3=n)}const S5=e=>{const t=zs;return lE(e),e.scope.on(),()=>{e.scope.off(),lE(t)}},rZ=()=>{zs&&zs.scope.off(),lE(null)};function Uge(e){return e.vnode.shapeFlag&4}let z3=!1;function A_e(e,t=!1,n=!1){t&&tL(t);const{props:r,children:o}=e.vnode,i=Uge(e);QTe(e,r,i,t),e_e(e,o,n||t);const a=i?C_e(e,t):void 0;return t&&tL(!1),a}function C_e(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jTe);const{setup:r}=n;if(r){Yf();const o=e.setupContext=r.length>1?$ge(e):null,i=S5(e),a=x5(r,e,0,[e.props,o]),s=kv(a);if(Qf(),i(),(s||e.sp)&&!ey(e)&&vge(e),s){if(a.then(rZ,rZ),t)return a.then(l=>{oZ(e,l)}).catch(l=>{P_(l,e,0)});e.asyncDep=a}else oZ(e,a)}else zge(e)}function oZ(e,t,n){Rn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:dr(t)&&(e.setupState=ege(t)),zge(e)}function zge(e,t,n){const r=e.type;e.render||(e.render=r.render||bo);{const o=S5(e);Yf();try{HTe(e)}finally{Qf(),o()}}}const x_e={get(e,t){return Fs(e,"get",""),e[t]}};function $ge(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,x_e),slots:e.slots,emit:e.emit,expose:t}}function U_(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ege(Rd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in G4)return G4[n](e)},has(t,n){return n in t||n in G4}})):e.proxy}function S_e(e,t=!0){return Rn(e)?e.displayName||e.name:e.name||t&&e.__name}function E_e(e){return Rn(e)&&"__vccOpts"in e}const ee=(e,t)=>kTe(e,t,z3);function jn(e,t,n){const r=arguments.length;return r===2?dr(t)&&!Zt(t)?Vo(t)?He(e,null,[t]):He(e,t):He(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Vo(n)&&(n=[n]),He(e,t,n))}const k_e="3.5.18",T_e=bo;/** * @vue/runtime-dom v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let nL;const iZ=typeof window<"u"&&window.trustedTypes;if(iZ)try{nL=iZ.createPolicy("vue",{createHTML:e=>e})}catch{}const jge=nL?e=>nL.createHTML(e):e=>e,__e="http://www.w3.org/2000/svg",D_e="http://www.w3.org/1998/Math/MathML",xf=typeof document<"u"?document:null,aZ=xf&&xf.createElement("template"),I_e={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 o=t==="svg"?xf.createElementNS(__e,e):t==="mathml"?xf.createElementNS(D_e,e):n?xf.createElement(e,{is:n}):xf.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>xf.createTextNode(e),createComment:e=>xf.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xf.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{aZ.innerHTML=jge(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const s=aZ.content;if(r==="svg"||r==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Mp="transition",k2="animation",Ty=Symbol("_vtc"),Hge={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},Wge=es({},fge,Hge),O_e=e=>(e.displayName="Transition",e.props=Wge,e),Ki=O_e((e,{slots:t})=>jn(NTe,Vge(e),t)),Y0=(e,t=[])=>{Zt(e)?e.forEach(n=>n(...t)):e&&e(...t)},sZ=e=>e?Zt(e)?e.some(t=>t.length>1):e.length>1:!1;function Vge(e){const t={};for(const k in e)k in Hge||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:d=s,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=M_e(o),h=v&&v[0],g=v&&v[1],{onBeforeEnter:y,onEnter:m,onEnterCancelled:b,onLeave:w,onLeaveCancelled:A,onBeforeAppear:S=y,onAppear:E=m,onAppearCancelled:D=b}=t,_=(k,R,N,W)=>{k._enterCancelled=W,ih(k,R?d:s),ih(k,R?u:a),N&&N()},M=(k,R)=>{k._isLeaving=!1,ih(k,c),ih(k,p),ih(k,f),R&&R()},O=k=>(R,N)=>{const W=k?E:m,B=()=>_(R,k,N);Y0(W,[R,B]),lZ(()=>{ih(R,k?l:i),ud(R,k?d:s),sZ(W)||uZ(R,r,h,B)})};return es(t,{onBeforeEnter(k){Y0(y,[k]),ud(k,i),ud(k,a)},onBeforeAppear(k){Y0(S,[k]),ud(k,l),ud(k,u)},onEnter:O(!1),onAppear:O(!0),onLeave(k,R){k._isLeaving=!0;const N=()=>M(k,R);ud(k,c),k._enterCancelled?(ud(k,f),rL()):(rL(),ud(k,f)),lZ(()=>{k._isLeaving&&(ih(k,c),ud(k,p),sZ(w)||uZ(k,r,g,N))}),Y0(w,[k,N])},onEnterCancelled(k){_(k,!1,void 0,!0),Y0(b,[k])},onAppearCancelled(k){_(k,!0,void 0,!0),Y0(D,[k])},onLeaveCancelled(k){M(k),Y0(A,[k])}})}function M_e(e){if(e==null)return null;if(dr(e))return[eI(e.enter),eI(e.leave)];{const t=eI(e);return[t,t]}}function eI(e){return qke(e)}function ud(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ty]||(e[Ty]=new Set)).add(t)}function ih(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ty];n&&(n.delete(t),n.size||(e[Ty]=void 0))}function lZ(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let P_e=0;function uZ(e,t,n,r){const o=e._endId=++P_e,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=qge(e,t);if(!a)return r();const u=a+"end";let d=0;const c=()=>{e.removeEventListener(u,f),i()},f=p=>{p.target===e&&++d>=l&&c()};setTimeout(()=>{d(n[v]||"").split(", "),o=r(`${Mp}Delay`),i=r(`${Mp}Duration`),a=cZ(o,i),s=r(`${k2}Delay`),l=r(`${k2}Duration`),u=cZ(s,l);let d=null,c=0,f=0;t===Mp?a>0&&(d=Mp,c=a,f=i.length):t===k2?u>0&&(d=k2,c=u,f=l.length):(c=Math.max(a,u),d=c>0?a>u?Mp:k2:null,f=d?d===Mp?i.length:l.length:0);const p=d===Mp&&/\b(transform|all)(,|$)/.test(r(`${Mp}Property`).toString());return{type:d,timeout:c,propCount:f,hasTransform:p}}function cZ(e,t){for(;e.lengthdZ(n)+dZ(e[r])))}function dZ(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function rL(){return document.body.offsetHeight}function N_e(e,t,n){const r=e[Ty];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const uE=Symbol("_vod"),Gge=Symbol("_vsh"),kr={beforeMount(e,{value:t},{transition:n}){e[uE]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):T2(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),T2(e,!0),r.enter(e)):r.leave(e,()=>{T2(e,!1)}):T2(e,t))},beforeUnmount(e,{value:t}){T2(e,t)}};function T2(e,t){e.style.display=t?e[uE]:"none",e[Gge]=!t}const R_e=Symbol(""),B_e=/(^|;)\s*display\s*:/;function L_e(e,t,n){const r=e.style,o=In(n);let i=!1;if(n&&!o){if(t)if(In(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&mS(r,s,"")}else for(const a in t)n[a]==null&&mS(r,a,"");for(const a in n)a==="display"&&(i=!0),mS(r,a,n[a])}else if(o){if(t!==n){const a=r[R_e];a&&(n+=";"+a),r.cssText=n,i=B_e.test(n)}}else t&&e.removeAttribute("style");uE in e&&(e[uE]=i?r.display:"",e[Gge]&&(r.display="none"))}const fZ=/\s*!important$/;function mS(e,t,n){if(Zt(n))n.forEach(r=>mS(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=F_e(e,t);fZ.test(n)?e.setProperty(vp(r),n.replace(fZ,""),"important"):e[r]=n}}const pZ=["Webkit","Moz","ms"],tI={};function F_e(e,t){const n=tI[t];if(n)return n;let r=dl(t);if(r!=="filter"&&r in e)return tI[t]=r;r=C5(r);for(let o=0;onI||(j_e.then(()=>nI=0),nI=Date.now());function W_e(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;zc(V_e(r,n.value),t,5,[r])};return n.value=e,n.attached=H_e(),n}function V_e(e,t){if(Zt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const bZ=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,q_e=(e,t,n,r,o,i)=>{const a=o==="svg";t==="class"?N_e(e,r,a):t==="style"?L_e(e,n,r):T_(t)?_j(t)||z_e(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):G_e(e,t,r,a))?(vZ(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gZ(e,t,r,a,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!In(r))?vZ(e,dl(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),gZ(e,t,r,a))};function G_e(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&bZ(t)&&Rn(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return bZ(t)&&In(n)?!1:t in e}const Kge=new WeakMap,Yge=new WeakMap,cE=Symbol("_moveCb"),wZ=Symbol("_enterCb"),K_e=e=>(delete e.props.mode,e),Y_e=K_e({name:"TransitionGroup",props:es({},Wge,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=br(),r=dge();let o,i;return Qc(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!J_e(o[0].el,n.vnode.el,a)){o=[];return}o.forEach(Q_e),o.forEach(Z_e);const s=o.filter(X_e);rL(),s.forEach(l=>{const u=l.el,d=u.style;ud(u,a),d.transform=d.webkitTransform=d.transitionDuration="";const c=u[cE]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",c),u[cE]=null,ih(u,a))};u.addEventListener("transitionend",c)}),o=[]}),()=>{const a=No(e),s=Vge(a);let l=a.tag||Rt;if(o=[],i)for(let u=0;u{s.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:a}=qge(r);return i.removeChild(r),a}const o0=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Zt(t)?n=>fS(t,n):t};function eDe(e){e.target.composing=!0}function AZ(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vu=Symbol("_assign"),qr={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Vu]=o0(o);const i=r||o.props&&o.props.type==="number";Of(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=tE(s)),e[Vu](s)}),n&&Of(e,"change",()=>{e.value=e.value.trim()}),t||(Of(e,"compositionstart",eDe),Of(e,"compositionend",AZ),Of(e,"change",AZ))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:i}},a){if(e[Vu]=o0(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?tE(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},dE={deep:!0,created(e,t,n){e[Vu]=o0(n),Of(e,"change",()=>{const r=e._modelValue,o=_y(e),i=e.checked,a=e[Vu];if(Zt(r)){const s=Oj(r,o),l=s!==-1;if(i&&!l)a(r.concat(o));else if(!i&&l){const u=[...r];u.splice(s,1),a(u)}}else if(Tb(r)){const s=new Set(r);i?s.add(o):s.delete(o),a(s)}else a(Xge(e,i))})},mounted:CZ,beforeUpdate(e,t,n){e[Vu]=o0(n),CZ(e,t,n)}};function CZ(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Zt(t))o=Oj(t,r.props.value)>-1;else if(Tb(t))o=t.has(r.props.value);else{if(t===n)return;o=Tv(t,Xge(e,!0))}e.checked!==o&&(e.checked=o)}const Zge={created(e,{value:t},n){e.checked=Tv(t,n.props.value),e[Vu]=o0(n),Of(e,"change",()=>{e[Vu](_y(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Vu]=o0(r),t!==n&&(e.checked=Tv(t,r.props.value))}},_2={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Tb(t);Of(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?tE(_y(a)):_y(a));e[Vu](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,Yt(()=>{e._assigning=!1})}),e[Vu]=o0(r)},mounted(e,{value:t}){xZ(e,t)},beforeUpdate(e,t,n){e[Vu]=o0(n)},updated(e,{value:t}){e._assigning||xZ(e,t)}};function xZ(e,t){const n=e.multiple,r=Zt(t);if(!(n&&!r&&!Tb(t))){for(let o=0,i=e.options.length;oString(u)===String(s)):a.selected=Oj(t,s)>-1}else a.selected=t.has(s);else if(Tv(_y(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function _y(e){return"_value"in e?e._value:e.value}function Xge(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const tDe=["ctrl","shift","alt","meta"],nDe={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>tDe.some(n=>e[`${n}Key`]&&!t.includes(n))},en=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=vp(o.key);if(t.some(a=>a===i||rDe[a]===i))return e(o)})},oDe=es({patchProp:q_e},I_e);let SZ;function Jge(){return SZ||(SZ=n_e(oDe))}const i0=(...e)=>{Jge().render(...e)},eve=(...e)=>{const t=Jge().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aDe(r);if(!o)return;const i=t._component;!Rn(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,iDe(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function iDe(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aDe(e){return In(e)?document.querySelector(e):e}/*! * pinia v3.0.3 * (c) 2025 Eduardo San Martin Morote * @license MIT */const sDe=Symbol();var EZ;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(EZ||(EZ={}));function lDe(){const e=B0e(!0),t=e.run(()=>K({}));let n=[],r=[];const o=Rd({install(i){o._a=i,i.provide(sDe,o),i.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(i){return this._a?n.push(i):r.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}/*! * vue-router v4.5.1 * (c) 2025 Eduardo San Martin Morote * @license MIT */const I1=typeof document<"u";function tve(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uDe(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&tve(e.default)}const si=Object.assign;function rI(e,t){const n={};for(const r in t){const o=t[r];n[r]=$c(o)?o.map(e):e(o)}return n}const Y4=()=>{},$c=Array.isArray,nve=/#/g,cDe=/&/g,dDe=/\//g,fDe=/=/g,pDe=/\?/g,rve=/\+/g,hDe=/%5B/g,gDe=/%5D/g,ove=/%5E/g,vDe=/%60/g,ive=/%7B/g,mDe=/%7C/g,ave=/%7D/g,yDe=/%20/g;function Kj(e){return encodeURI(""+e).replace(mDe,"|").replace(hDe,"[").replace(gDe,"]")}function bDe(e){return Kj(e).replace(ive,"{").replace(ave,"}").replace(ove,"^")}function oL(e){return Kj(e).replace(rve,"%2B").replace(yDe,"+").replace(nve,"%23").replace(cDe,"%26").replace(vDe,"`").replace(ive,"{").replace(ave,"}").replace(ove,"^")}function wDe(e){return oL(e).replace(fDe,"%3D")}function ADe(e){return Kj(e).replace(nve,"%23").replace(pDe,"%3F")}function CDe(e){return e==null?"":ADe(e).replace(dDe,"%2F")}function $3(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const xDe=/\/$/,SDe=e=>e.replace(xDe,"");function oI(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=_De(r??t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:$3(a)}}function EDe(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function kZ(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kDe(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Dy(t.matched[r],n.matched[o])&&sve(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Dy(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function sve(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TDe(e[n],t[n]))return!1;return!0}function TDe(e,t){return $c(e)?TZ(e,t):$c(t)?TZ(t,e):e===t}function TZ(e,t){return $c(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function _De(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(a).join("/")}const Pp={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var j3;(function(e){e.pop="pop",e.push="push"})(j3||(j3={}));var Q4;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Q4||(Q4={}));function DDe(e){if(!e)if(I1){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),SDe(e)}const IDe=/^[^#]+#/;function ODe(e,t){return e.replace(IDe,"#")+t}function MDe(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const z_=()=>({left:window.scrollX,top:window.scrollY});function PDe(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=MDe(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function _Z(e,t){return(history.state?history.state.position-t:-1)+e}const iL=new Map;function NDe(e,t){iL.set(e,t)}function RDe(e){const t=iL.get(e);return iL.delete(e),t}let BDe=()=>location.protocol+"//"+location.host;function lve(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),kZ(l,"")}return kZ(n,e)+r+o}function LDe(e,t,n,r){let o=[],i=[],a=null;const s=({state:f})=>{const p=lve(e,location),v=n.value,h=t.value;let g=0;if(f){if(n.value=p,t.value=f,a&&a===v){a=null;return}g=h?f.position-h.position:0}else r(p);o.forEach(y=>{y(n.value,v,{delta:g,type:j3.pop,direction:g?g>0?Q4.forward:Q4.back:Q4.unknown})})};function l(){a=n.value}function u(f){o.push(f);const p=()=>{const v=o.indexOf(f);v>-1&&o.splice(v,1)};return i.push(p),p}function d(){const{history:f}=window;f.state&&f.replaceState(si({},f.state,{scroll:z_()}),"")}function c(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:u,destroy:c}}function DZ(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?z_():null}}function FDe(e){const{history:t,location:n}=window,r={value:lve(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,d){const c=e.indexOf("#"),f=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+l:BDe()+e+l;try{t[d?"replaceState":"pushState"](u,"",f),o.value=u}catch(p){console.error(p),n[d?"replace":"assign"](f)}}function a(l,u){const d=si({},t.state,DZ(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,d,!0),r.value=l}function s(l,u){const d=si({},o.value,t.state,{forward:l,scroll:z_()});i(d.current,d,!0);const c=si({},DZ(r.value,l,null),{position:d.position+1},u);i(l,c,!1),r.value=l}return{location:r,state:o,push:s,replace:a}}function UDe(e){e=DDe(e);const t=FDe(e),n=LDe(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=si({location:"",base:e,go:r,createHref:ODe.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function zDe(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),UDe(e)}function $De(e){return typeof e=="string"||e&&typeof e=="object"}function uve(e){return typeof e=="string"||typeof e=="symbol"}const cve=Symbol("");var IZ;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(IZ||(IZ={}));function Iy(e,t){return si(new Error,{type:e,[cve]:!0},t)}function ff(e,t){return e instanceof Error&&cve in e&&(t==null||!!(e.type&t))}const OZ="[^/]+?",jDe={sensitive:!1,strict:!1,start:!0,end:!0},HDe=/[.+*?^${}()[\]/\\]/g;function WDe(e,t){const n=si({},jDe,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const d=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let c=0;ct.length?t.length===1&&t[0]===80?1:-1:0}function dve(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const qDe={type:0,value:""},GDe=/[a-zA-Z0-9_]/;function KDe(e){if(!e)return[[]];if(e==="/")return[[qDe]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,l,u="",d="";function c(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;s{a(b)}:Y4}function a(c){if(uve(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function s(){return n}function l(c){const f=JDe(c,n);n.splice(f,0,c),c.record.name&&!RZ(c)&&r.set(c.record.name,c)}function u(c,f){let p,v={},h,g;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw Iy(1,{location:c});g=p.record.name,v=si(PZ(f.params,p.keys.filter(b=>!b.optional).concat(p.parent?p.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),c.params&&PZ(c.params,p.keys.map(b=>b.name))),h=p.stringify(v)}else if(c.path!=null)h=c.path,p=n.find(b=>b.re.test(h)),p&&(v=p.parse(h),g=p.record.name);else{if(p=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!p)throw Iy(1,{location:c,currentLocation:f});g=p.record.name,v=si({},f.params,c.params),h=p.stringify(v)}const y=[];let m=p;for(;m;)y.unshift(m.record),m=m.parent;return{name:g,path:h,params:v,matched:y,meta:XDe(y)}}e.forEach(c=>i(c));function d(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:a,clearRoutes:d,getRoutes:s,getRecordMatcher:o}}function PZ(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function NZ(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ZDe(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ZDe(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function RZ(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function XDe(e){return e.reduce((t,n)=>si(t,n.meta),{})}function BZ(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function JDe(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;dve(e,t[i])<0?r=i:n=i+1}const o=e7e(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function e7e(e){let t=e;for(;t=t.parent;)if(fve(t)&&dve(e,t)===0)return t}function fve({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function t7e(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&oL(i)):[r&&oL(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function n7e(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=$c(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const r7e=Symbol(""),FZ=Symbol(""),$_=Symbol(""),Yj=Symbol(""),aL=Symbol("");function D2(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function dh(e,t,n,r,o,i=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,l)=>{const u=f=>{f===!1?l(Iy(4,{from:n,to:t})):f instanceof Error?l(f):$De(f)?l(Iy(2,{from:t,to:f})):(a&&r.enterCallbacks[o]===a&&typeof f=="function"&&a.push(f),s())},d=i(()=>e.call(r&&r.instances[o],t,n,u));let c=Promise.resolve(d);e.length<3&&(c=c.then(u)),c.catch(f=>l(f))})}function iI(e,t,n,r,o=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(tve(l)){const d=(l.__vccOpts||l)[t];d&&i.push(dh(d,n,r,a,s,o))}else{let u=l();i.push(()=>u.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const c=uDe(d)?d.default:d;a.mods[s]=d,a.components[s]=c;const p=(c.__vccOpts||c)[t];return p&&dh(p,n,r,a,s,o)()}))}}return i}function UZ(e){const t=dn($_),n=dn(Yj),r=ee(()=>{const l=C(e.to);return t.resolve(l)}),o=ee(()=>{const{matched:l}=r.value,{length:u}=l,d=l[u-1],c=n.matched;if(!d||!c.length)return-1;const f=c.findIndex(Dy.bind(null,d));if(f>-1)return f;const p=zZ(l[u-2]);return u>1&&zZ(d)===p&&c[c.length-1].path!==p?c.findIndex(Dy.bind(null,l[u-2])):f}),i=ee(()=>o.value>-1&&l7e(n.params,r.value.params)),a=ee(()=>o.value>-1&&o.value===n.matched.length-1&&sve(n.params,r.value.params));function s(l={}){if(s7e(l)){const u=t[C(e.replace)?"replace":"push"](C(e.to)).catch(Y4);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:ee(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}function o7e(e){return e.length===1?e[0]:e}const i7e=nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:UZ,setup(e,{slots:t}){const n=Wr(UZ(e)),{options:r}=dn($_),o=ee(()=>({[$Z(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[$Z(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&o7e(t.default(n));return e.custom?i:jn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),a7e=i7e;function s7e(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function l7e(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!$c(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function zZ(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const $Z=(e,t,n)=>e??t??n,u7e=nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dn(aL),o=ee(()=>e.route||r.value),i=dn(FZ,0),a=ee(()=>{let u=C(i);const{matched:d}=o.value;let c;for(;(c=d[u])&&!c.components;)u++;return u}),s=ee(()=>o.value.matched[a.value]);_r(FZ,ee(()=>a.value+1)),_r(r7e,s),_r(aL,o);const l=K();return St(()=>[l.value,s.value,e.name],([u,d,c],[f,p,v])=>{d&&(d.instances[c]=u,p&&p!==d&&u&&u===f&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),u&&d&&(!p||!Dy(d,p)||!f)&&(d.enterCallbacks[c]||[]).forEach(h=>h(u))},{flush:"post"}),()=>{const u=o.value,d=e.name,c=s.value,f=c&&c.components[d];if(!f)return jZ(n.default,{Component:f,route:u});const p=c.props[d],v=p?p===!0?u.params:typeof p=="function"?p(u):p:null,g=jn(f,si({},v,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(c.instances[d]=null)},ref:l}));return jZ(n.default,{Component:g,route:u})||g}}});function jZ(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pve=u7e;function c7e(e){const t=QDe(e.routes,e),n=e.parseQuery||t7e,r=e.stringifyQuery||LZ,o=e.history,i=D2(),a=D2(),s=D2(),l=jo(Pp);let u=Pp;I1&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rI.bind(null,Z=>""+Z),c=rI.bind(null,CDe),f=rI.bind(null,$3);function p(Z,le){let ve,Pe;return uve(Z)?(ve=t.getRecordMatcher(Z),Pe=le):Pe=Z,t.addRoute(Pe,ve)}function v(Z){const le=t.getRecordMatcher(Z);le&&t.removeRoute(le)}function h(){return t.getRoutes().map(Z=>Z.record)}function g(Z){return!!t.getRecordMatcher(Z)}function y(Z,le){if(le=si({},le||l.value),typeof Z=="string"){const Q=oI(n,Z,le.path),me=t.resolve({path:Q.path},le),De=o.createHref(Q.fullPath);return si(Q,me,{params:f(me.params),hash:$3(Q.hash),redirectedFrom:void 0,href:De})}let ve;if(Z.path!=null)ve=si({},Z,{path:oI(n,Z.path,le.path).path});else{const Q=si({},Z.params);for(const me in Q)Q[me]==null&&delete Q[me];ve=si({},Z,{params:c(Q)}),le.params=c(le.params)}const Pe=t.resolve(ve,le),Ae=Z.hash||"";Pe.params=d(f(Pe.params));const he=EDe(r,si({},Z,{hash:bDe(Ae),path:Pe.path})),Ee=o.createHref(he);return si({fullPath:he,hash:Ae,query:r===LZ?n7e(Z.query):Z.query||{}},Pe,{redirectedFrom:void 0,href:Ee})}function m(Z){return typeof Z=="string"?oI(n,Z,l.value.path):si({},Z)}function b(Z,le){if(u!==Z)return Iy(8,{from:le,to:Z})}function w(Z){return E(Z)}function A(Z){return w(si(m(Z),{replace:!0}))}function S(Z){const le=Z.matched[Z.matched.length-1];if(le&&le.redirect){const{redirect:ve}=le;let Pe=typeof ve=="function"?ve(Z):ve;return typeof Pe=="string"&&(Pe=Pe.includes("?")||Pe.includes("#")?Pe=m(Pe):{path:Pe},Pe.params={}),si({query:Z.query,hash:Z.hash,params:Pe.path!=null?{}:Z.params},Pe)}}function E(Z,le){const ve=u=y(Z),Pe=l.value,Ae=Z.state,he=Z.force,Ee=Z.replace===!0,Q=S(ve);if(Q)return E(si(m(Q),{state:typeof Q=="object"?si({},Ae,Q.state):Ae,force:he,replace:Ee}),le||ve);const me=ve;me.redirectedFrom=le;let De;return!he&&kDe(r,Pe,ve)&&(De=Iy(16,{to:me,from:Pe}),U(Pe,Pe,!0,!1)),(De?Promise.resolve(De):M(me,Pe)).catch(pe=>ff(pe)?ff(pe,2)?pe:Y(pe):j(pe,me,Pe)).then(pe=>{if(pe){if(ff(pe,2))return E(si({replace:Ee},m(pe.to),{state:typeof pe.to=="object"?si({},Ae,pe.to.state):Ae,force:he}),le||me)}else pe=k(me,Pe,!0,Ee,Ae);return O(me,Pe,pe),pe})}function D(Z,le){const ve=b(Z,le);return ve?Promise.reject(ve):Promise.resolve()}function _(Z){const le=re.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(Z):Z()}function M(Z,le){let ve;const[Pe,Ae,he]=d7e(Z,le);ve=iI(Pe.reverse(),"beforeRouteLeave",Z,le);for(const Q of Pe)Q.leaveGuards.forEach(me=>{ve.push(dh(me,Z,le))});const Ee=D.bind(null,Z,le);return ve.push(Ee),te(ve).then(()=>{ve=[];for(const Q of i.list())ve.push(dh(Q,Z,le));return ve.push(Ee),te(ve)}).then(()=>{ve=iI(Ae,"beforeRouteUpdate",Z,le);for(const Q of Ae)Q.updateGuards.forEach(me=>{ve.push(dh(me,Z,le))});return ve.push(Ee),te(ve)}).then(()=>{ve=[];for(const Q of he)if(Q.beforeEnter)if($c(Q.beforeEnter))for(const me of Q.beforeEnter)ve.push(dh(me,Z,le));else ve.push(dh(Q.beforeEnter,Z,le));return ve.push(Ee),te(ve)}).then(()=>(Z.matched.forEach(Q=>Q.enterCallbacks={}),ve=iI(he,"beforeRouteEnter",Z,le,_),ve.push(Ee),te(ve))).then(()=>{ve=[];for(const Q of a.list())ve.push(dh(Q,Z,le));return ve.push(Ee),te(ve)}).catch(Q=>ff(Q,8)?Q:Promise.reject(Q))}function O(Z,le,ve){s.list().forEach(Pe=>_(()=>Pe(Z,le,ve)))}function k(Z,le,ve,Pe,Ae){const he=b(Z,le);if(he)return he;const Ee=le===Pp,Q=I1?history.state:{};ve&&(Pe||Ee?o.replace(Z.fullPath,si({scroll:Ee&&Q&&Q.scroll},Ae)):o.push(Z.fullPath,Ae)),l.value=Z,U(Z,le,ve,Ee),Y()}let R;function N(){R||(R=o.listen((Z,le,ve)=>{if(!X.listening)return;const Pe=y(Z),Ae=S(Pe);if(Ae){E(si(Ae,{replace:!0,force:!0}),Pe).catch(Y4);return}u=Pe;const he=l.value;I1&&NDe(_Z(he.fullPath,ve.delta),z_()),M(Pe,he).catch(Ee=>ff(Ee,12)?Ee:ff(Ee,2)?(E(si(m(Ee.to),{force:!0}),Pe).then(Q=>{ff(Q,20)&&!ve.delta&&ve.type===j3.pop&&o.go(-1,!1)}).catch(Y4),Promise.reject()):(ve.delta&&o.go(-ve.delta,!1),j(Ee,Pe,he))).then(Ee=>{Ee=Ee||k(Pe,he,!1),Ee&&(ve.delta&&!ff(Ee,8)?o.go(-ve.delta,!1):ve.type===j3.pop&&ff(Ee,20)&&o.go(-1,!1)),O(Pe,he,Ee)}).catch(Y4)}))}let W=D2(),B=D2(),z;function j(Z,le,ve){Y(Z);const Pe=B.list();return Pe.length?Pe.forEach(Ae=>Ae(Z,le,ve)):console.error(Z),Promise.reject(Z)}function q(){return z&&l.value!==Pp?Promise.resolve():new Promise((Z,le)=>{W.add([Z,le])})}function Y(Z){return z||(z=!Z,N(),W.list().forEach(([le,ve])=>Z?ve(Z):le()),W.reset()),Z}function U(Z,le,ve,Pe){const{scrollBehavior:Ae}=e;if(!I1||!Ae)return Promise.resolve();const he=!ve&&RDe(_Z(Z.fullPath,0))||(Pe||!ve)&&history.state&&history.state.scroll||null;return Yt().then(()=>Ae(Z,le,he)).then(Ee=>Ee&&PDe(Ee)).catch(Ee=>j(Ee,Z,le))}const F=Z=>o.go(Z);let H;const re=new Set,X={currentRoute:l,listening:!0,addRoute:p,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:y,options:e,push:w,replace:A,go:F,back:()=>F(-1),forward:()=>F(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:B.add,isReady:q,install(Z){const le=this;Z.component("RouterLink",a7e),Z.component("RouterView",pve),Z.config.globalProperties.$router=le,Object.defineProperty(Z.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),I1&&!H&&l.value===Pp&&(H=!0,w(o.location).catch(Ae=>{}));const ve={};for(const Ae in Pp)Object.defineProperty(ve,Ae,{get:()=>l.value[Ae],enumerable:!0});Z.provide($_,le),Z.provide(Yj,M_(ve)),Z.provide(aL,l);const Pe=Z.unmount;re.add(Z),Z.unmount=function(){re.delete(Z),re.size<1&&(u=Pp,R&&R(),R=null,l.value=Pp,H=!1,z=!1),Pe()}}};function te(Z){return Z.reduce((le,ve)=>le.then(()=>_(ve)),Promise.resolve())}return X}function d7e(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aDy(u,s))?r.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>Dy(u,l))||o.push(l))}return[n,r,o]}function Yl(){return dn($_)}function j_(e){return dn(Yj)}const Z4=()=>{const e=navigator.userAgent.toLowerCase(),t=["mobile","android","iphone","ipad","ipod","blackberry","windows phone","opera mini"],n=window.innerWidth,r=window.innerHeight,o="ontouchstart"in window||navigator.maxTouchPoints>0,i=t.some(s=>e.includes(s)),a=n<=768||n<=1024&&r<=768;return i||a&&o},f7e={class:"app"},p7e={key:0,class:"loading-container"},h7e={__name:"App",setup(e){const t=K(!0);return qn(()=>{Z4()?setTimeout(()=>{t.value=!1},500):t.value=!1}),(n,r)=>(L(),G("div",f7e,[t.value?(L(),G("div",p7e,r[0]||(r[0]=[x("div",{class:"loading-spinner"},[x("div",{class:"spinner"}),x("div",{class:"loading-text"},"加载中...")],-1)]))):(L(),yt(C(pve),{key:1}))]))}},Qj="/assets/1-BusD92L7.png",hve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAW/SURBVHic7Z1NaBtHFMf/b1ZKpMhtLQoWykkWOBCDnZScTC4OzTHgGHoLpb40t5a2h96KMTm0vaSB9uRLEkJPLdgG01Mgvhj3UnAcsMGm8p4i7IsEkSrH3t3Xgz6sr9Xs2vuhlfd3EVqNdp/+zHvz5s0wIthkv8DD2ntjjoS4weAMMzJEGAYwbPdefsMMlQgqCEXWjBUdytr1NKl27kFWG+7mtTlSxBcApm3aGTTWWDeeX0tHnllpLBVwL8/TUHgegy9cC8xQYRgLMiFNBdwv8LB2YswD9I3j1gUKfjI2onxr9mlXAXfynIkovATgpmt2BYtNTafZbvGxQ8CdPGcUwa+IkPHCsqDADFU36E67iKK9YUThpVC8ToiQiSi8tF/glmyjRcC9Q/0XhG7bi5vVceGUhgvX0pSn3tsUQHS6M5amNaC5Bwoxb9Y+pI1qWgegJuBuXpsL454tpnfz2hxQE7A2wwixQV0zquV8+34bFEQiUUoKBfq034YEFe29MScoImb8NiSokBA3BDh4Zah+gcEZwRyOvmeFGRkRpi9nhwjDHXPhEFuEAp6XiN8GWGUrd4LDgtF4n00ryF7133z/LZBQqjC++rWIgybx6kxko/j5yw99sOqUvnfhlfVKV/EA4E3uBC//ee+xRa30vYBbuZOen/+b1zyypDuuuHCpwigfVXtNKqm48YgG5Qr3tMHt5zsu4OJqGcvrR433qaTAD59/gGza/XC7uFrGVu4EubzeuJaIER7cjeP+7bgrz3TUhZfXKy3iAcBBwcCjF+9QMukpTvH4jxKW149axAOA8hFjcfU/HBR0k2+eD0cFfJPrHo8OCgZyLseqje3jnp+b2XZeHBWwVOk+WvYDgeiBfpJK9v4ppSN3QogvifTG9jFyb7u7VCIuMDUetT16JmK9t/kcmuSS58VzAR+9eCeNV7+/JPz29Ue2RByKS3qgS+HFUxfOvdWk4gGnI6cdRiQufFgcBAHz1gO53aA/JHFht9Kovh1EyjaDvszdy0fsioieCpiIW94QKx0U2pG5MIDG9NJJPB1EpsYv4a8fP3bl3jIXBqoJvdNz4751YbuMWBDGbliwgqc9sLlKIyMRExiy4fJW2prVFc+DpwL+vX2Mx3+WLLVNJQWefp+0df9UUvQUqexCLjgwLgwAI5I1Mjd64EAJKMONgsJACWglF3SaAROw988JBZSQkBQUwhgoQdYDAefj4EAJaGX6Z7aKd1YGSkArPdDpyvSACSifzjldmR4oAQG5G4cxUILXi0uezoUnshF899mQpbZ2aoct3/N4cclTAVNJBalb7u5V8XpxaeBc2OvFJU974Mb2MRZXy5bappIKfjrD5kmvF5c8FbBcYVemU81YXVyyU6ztxYVzYcDZxSVHe2CvAG5lltBMfY1DNii0bzS3sriUiDnXbxztgQ/vXel6fSJb3esymY1aFvL+7RgAYKb22o1EjDA1Hm25lr0a6fmMB5/GHXNfAKC9Q8PRqLpV2/hdz/gns1HM3D41ulRhrKxXTPc+D8UFpsYv4e6ty6b3rLd7eO9K15jX/IyhuEAiRkglBSayUUxmox3tz4PjAl40Bm4Q8RoBoOi3EUFGMIcCnhVmqIIIqt+GBBUiqIJg78DBkCYIRcGG8dpvO4IKa8YKVc8J5ILfxgQRTadRMZqkIoA1v40JIGvX06QKAGDdeO63NUGjrlljUrh3aLzCBTsn9awwQ72WEqNA80xEpwXfLAoahtHQqiFg9Tw8fuKLQYGCnzSf7NtS16mNyK8QnmJpxubYiPik+UJLMWE0SUVNp1nmcHbSDjNUTafZ9usd1ZjraVJ1g+4A2PTEsmCw2e0EX0Byknn1UNrwIO5IVCzU8uUOpLXt3bw2ByHmL+AZW2vQaaF+2KwZ4Z8RdOLsnxG0s5PnjAJ9miJiBozh2t9hZOzepw8oMqNIBJVAKhvG68hl8czMVc34H65WJ///e8gfAAAAAElFTkSuQmCC",gve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABQCAYAAACK5CKQAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAATuSURBVHic7Z0xTBtXGMf/77BdAqQycTtYpdJlgIVGxExsxWtBiiJlYKnC0FSiE1mQuhSxdsFZWjVLE3VhiBRFamZDpyy1IYUFD7khqofG8qVBIb3D93U4gw32ge/u3b175n6jfffuz4/37t69sz8zeITq5TSOkotQ2BSIVDCmApQGWNprmwLRQKRBYTosPINpbLJsTnPTAHN7RHqztwjQXTA263ZfqSDaBNhj9snko14271kk/fPXLBhb7XuBnWggrF0k9EKRVC+nYSVXAbbMLZqUUIFlvrjv9O65IqlaVpFKPQVwk3suOdmGYdzudv50FNmUWASgBhhMRjQYRv6sTMVxc7snqsFmkhIVqdRTqpdPzU66iqTa7jri4XweN+3rRouOoU1v9hbB8Gt4mSTGsvLs0xubQLceybDa8VpMdxg7cXVKpD3Zjs+LPcPYbNPZ2R5JdwXEkRzb2ck5sjndeSUukMQoxmirRyZTs+KSSM5RcrElUsEtgVHkRmFTLZEWybj8FQ2I1JZIxlRhQWSHMbX9qq2KyiE/lHa+145xAUsnRBzWrJTw4cXvMPZLPW0/cuc+Ppr6MuBU/ghVJB2+w9tfVmBWehPYvt8xZqUE5VoWA5ks73i+CHVo64XvXEs8S6P2N/QHS2jUqpxS8SE0kYfFDRy93ufSllWrRk5maCLfFze4thc1maGIbNSqsAL4g6MkU/rpT1RkSi8SiIbMvhAJiJfZNyIBsTL7SiQgTmbfiQTEyOxLkUD4MvtWJBCuTClE0uGB533DkilkGc0tRqWEK/kFAMDgzDzMSsm1mMPiBkbuOH4qzzdSiDT3/0SjVj1ZOrv69Q+CE3UizdD+9+GK8NvA85CiRwLA0et96A+WMJRfwMDYBAaueVvYDWpBWBqRgH3hOHiy7quN0e9/Q2JsglOiFlIMbZ5YPmYA53HpRAZFLJITkTlHJsenkRyf9tWG8fIPbs+F3BIJkYmxCaSXf/bdzvDcPeiFJd9PKr0QiaHNrozwa2voKre23BCJHmlWSjh4so7E2Livdhq1KoydLU6p3BEJkYB9LywzkRja/UAskhOxSE5E5hw5ODPnex5pf1zwOadE7oiEyOT4NJc1xsGZeTRq1cs7j+wHItEjzUoJbx+uIPGZv3mkWSkJ6Y1AREQCgLGzJWwyzYN4aHMiFsmJSyfS67OeiwhF5EAmy3WFxytKJrhvQ4TWI48f8ItkcGY+sLZDEzk8dy+Qp3e9khibwPBX3wTWfqjnyI+//dH3baAXkuPTSC//FOgxWhUEarv1sCrtfXjxHP+93IJVq8J6/+7iHTyS+HwCQ/mFUP55bSL3XiH+hqxXtNbQJtLE5ZAcojaRjGnikkiOwvT2Ugw7AqPIjYVnrXNkvZyGlaqLzCMthnH9pEey0Zxul0ONcQXRJsvmtDPzSPZYTBqZsZ11qda3W7yEdXS9orHM5HWg250N0VrocWSFcOKqQ6RdD5EKoQaSEiq0V4LuWmO3eQUvIq5q6sQ2y0zm2l/oumjBRnM6DOM2AC2MVJKhNd2cwnH1h2VzGgwjD2A70Fhysd2t4jPQY2V8u3hxXNAdirnGRnN6t3d7/4kBu4jxKi7bChHRJojWjosSOxH/6IUTQf3oRcdxqmUVydQsFNyCRelm2UTVa3viIB1gOog0MKbBoh0kzEdOQ9iJ/wFAOtbkVcEcNAAAAABJRU5ErkJggg==",vve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAXxSURBVHic7Z1faFNXHMe/v5smrraDyIoaiCOZ6zJB0eRJKCsV50sFiwjqW4t9VHB7cAoTuoIPYz7YQfcYp2/zSVqwPmzOoBTcS1ux4GK196KFqGQ00H9bbnLPHpKGmzS3yU1ycu+p9/PW3n8/PpzfOb97zuWEYBKZyd6Mum2AJDoIhgAIAYB5AfKavZcNUMCggCilaZmxbNYV29fqU8zcgKo98UV6YUCSXP0AekwGKRYMMY1lb3/h8d+q5vSKAufURA8RhrDVxW1E0bTscCWRhgJlJnu1TOsQI/ZNw0MTCGI0ste9+1vD4+X++XwtEfB46C5j7BC/0MSBiGbSaXayXP+4QeDztUTA7cZDAIEmxCYSiqriSKlEqfQsj4fuwpFXjoDHQ3dlJhdVG0UCX6lvbzhpawxj7JCWaR3S/6+Qwvky5dfmhyUejOFIp9sXA3QtUJJcQ4ZXOBSRL+sA5AW+SC8MwOn3zNCTd5YTKJGr39JwBCT/VgbKly2y1QGJiMv17w7J5cr2WB2IqGTUbQOSJLX0WR2IqJBEByUwJuI0lD1gCEi5+TyHmiAEJDjlSx0w74Z3YQczkCOwXhyBddJidQCNZGJ+ElPv42j3bMeZ0NfwtXVwfya9zCQY96c0geizcURnxwp/+9o6cDFyFt3+MNfnbgmBpfL0DO7vw+CBE9yeLXwfuJk8AIjOjiH6bJzb84UW+GhhelN560Rnx3An/juXGIQW2O0PozfYVdW5jxamucQgpMDos/FCWl49fK4qicvpVS6xCFfGlPZ5gwdO4OrhcwCACXnS8Lpuf4RLPEIJvPbkZpGkdZGVJPYGu7iNxMKkcKm8dfSjbLl07g12FeTyQAiBRvLWic6O4V7+uF4ib3mAAIV0JXl6vj98Dsfz8u7NT+L4Z9WN0PVga4Fm5K2jl9gMbJvCtcizAlsKrFXe4P6+prY+wIYC65HHc9LACFsJFE0eYJNCeim9ip+nfhNOHmADgUvpVVz48yfMLb4xfa3V8gCLU1h0eYCFAreCPMAigVtFHmBBH9goeXOLr3En/kdV10V2hvCVP4yPPdtNP7MSTX2Va2TL67//A+ZS1d/nYuQszoSOmX5uJZqWwo1O214TEwWd3j3cljeb1gKvPB6taV3Cbn1eKU1rgRcjZ01/KWB3eUATBCZWkkisJOFr68Do0Utod1fXkYsgD2hCCl97chPT7+MYPXoJvrYOzC2+xvkH17GsGq+SlZO3lF6teWnS19aByK5QTddWgrvAU+OXi1pgJYlG0/D1zg+OHv0OkZ2Nl8g1hSfmJ5FYSQLIpfKFB9eRWEmic8en+KVMOm+2htFebw3HqZlwbYHlRl59S3y0MI0rj0cBVLcANPUuXlMcnTv2cCmiAY4CEytJnBq/XPaYXuI9eRLT7+LcV894wU3gxPwkrv110/C4XqLIcHsXjs4af1IW3hlCtz+8aUmzlF7ddKQ2Q7t7O7cU5iJwbvFNYfDQ0+0P43ToWMXRMLGSRP/94YYK/LH7ApdRmItA/bd47e7c98qnQ8eqbgXL6bWGyQOAZXUVb5eTAAeBXPrAU+OXsbvtExwPdtU8jTT1Lo7p9383JJ7wri+5tD6Ag8Dcq9s/3AK2G7b+tEMEbLUuLCISwFJWByEyEkCOwNpRJDAoVkchLAyKBHIE1gxRSmIae2p1HKKiaZkxkpnszWY/WrQ6GBFRVQSlIAVTAGJWByMcDLF9rT5FAgBNy962Oh7R0FjOWWH3tpeZxEN8ePuk1oryeYsvCOjeRBjDsHXxiIWmZQuuCgI73b4YMRqxJiRxIEYj+p19i/ZQlZns1bTWh84uluUhopm9rt1FH9kUTSYEKZhKp9lJwCmuy6Dk3RSxYTZmX6tPUVUcIaKZ5sRlf4hoptwOvkCFncxfqW9vOBtx04jUsjacr5c3Hq90g/zmtEP48PbYijGG4fXNZo0w92ME5OoHbflaMaZpDfwxglKeryUCLle2R5Ja+sCYN799XsDsfayHpQBK5X4OAwrT2NMW93+3jFLViP8B4NqjdRi5iMEAAAAASUVORK5CYII=",mve="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABQCAYAAACK5CKQAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAZcSURBVHic7Z09TBtJFMf/4y8gXiJDQUyDTI4KiYRrUJAoQKJIdb5IV12KUFFdcVyVLoruilQHxVVX3CUFaXNclYIECiSiqxyQUvnAovFHgX14N8Di9bvC3sU2609mdrzBPwkJ2d6Z57/fzLx5MzvL0CHZQwp5+rDk9eI+FREhhggDQij9uQoCEoyQAEOOCBsGsD00yhLtlMHarfQkSUuM4QmA+XavdRWEbQJe3R5lL1v5eMtC5pM0D4Zn+NIFrIGABAjPmwnaVMjsIYV8A3gG4EdexrmUtcEwW6n3ZkMhs0mK+BjeAJjmbpY7iRUIj+z6z7pCZpMU8TJsMSAi0jK3QUDCICzUiumpd4GP4U1PxKswIOJjeJM9pKroxFbIfIpW0WvOjZgujxsWV5p2Obz50zmbXAxhYXCUbQN2Hsmqle7RgAqtqoQ8SdJSr19si/mTJC0BNUIy4IkUc1xMeZZ32UeWY8ZDeSa5l8IphiyP9N6wqR9PPH1YsoRkDFGZxrgZrxf3L/tIcl/6q1ugIiKWkMR6o3WnEKsQshf2dA4DQnXn2j3aoickL3yyDWgHXSOoaQO6WgQABBQPAkEG5Y5XsmUuEPJo9xxHH3QcHxRwfFCo+7nwlB/hKT/GZvswfNf5r2XNbPIpIsdrb0B88wyxdQ1qptj2teEpP6YfBxGe8guwzJ6uE1JNG3j7NNeRgLWEp/yYWxl0pOl3lZCxdQ2x15+5lqmMeDD3023h3tk1QooQsZKZZQWT0QFh5XdF+PPP76pQEc06jnbPhZUvXchPG6f4tHHqSF07q3moaUNI2VKFVNMGYuuaY/XpGuHt05yQsqUKubOah6452zWrmSLim2fcy5UmZGr/Aqn9Cyl1i2gF0oQU2fE3Q80UkdrTuZYpTUgRzaut+t/x/SGlCHl8UHC8b6yFt0c6Ors/PihAV4tcpn/XRc0UoWuEQLDtvba2OOaRatrA+5//Q0DxCIvl2oWnHY4IaSYidI0wfNfXFR4JwMpr8sARId//cgI1U7SaEa/mdF149tPChYxvnlkJ2YBSqq5bhOSZXhMuZGXwazalblgaAPj+oEKFPNo9r+oPzf+VEem5EigjHvd45NGHq7GamjYQvheQLmb4XoBrecI9shbTK3l/kXaZWOznWp4wIXWNbEdFc2o49kCekIEg4770IEzI43/tMzuml47N9jm6ylfJzLLCvUzHOypdI8sr51YGna4e4Sk/92YNSEpaxNY16BpBuePF9Pe3HK1b1AKYMCEbhRZqpohPf5UWu5xeyBcVwwoVslHAG3v92cqQz60MOhYONdr2ch2EWt9sD87OrydQ0waUO15889uwI54pKqEsVMix2b6G76uZYml7StpAIMjw8EVI6CI+AGHrREKFnFjsbzqfNcU0v+DMsoLv/riedyojnoZdBe/sOODAlpV2tqJMRgcwGR2wBoTU/gVSezrim2dNc5jDd31WaGN2KWraQHzz7Mr1k9EB7rGkcCF1jfD3D8ctJ3OVEQ8mv72FsQeBqhFWTRvWWo+Z2Q4oHgyPezH8lb+p56f2L3C0e4745hnGZvu4x7CObKLaWc131MmbHmZmauyETe1fQNcIM8uK1DynI4tfna6N2G0iCARZ1RxeGfHg4YuQ9GSxI8Ebz5HSTsRuSBQL90hRAfBkdADTj4PSPdFEuJC8l15l7A9vBeFC2vVxE4v9Vhottacj/u4cqT297shu3rEwsdjfFc3YDsc80rx1ozZID98LVGXL1bRRmul00T00rSA8/FHTBtRMseuaIm8qhczChSftdQuXtxkDYvYE3wAISFzeZkxISLTF1TCqFNLTE7JjGHKWkIaBjzJtcTNE2Lg8rqZ0TmRWpkFupUAYtzxyaJzlAGzLM8elUOk83qqkBRFeybLHrRBKml2Z8edTtIXeYUotQUDidpiNA3ZpNMJzxy1yKxVaXRGyfB7impP2uJS1ypOgbZN55RF8C71TTesRGwyzrytfsM2QD42zXIHwiNAL0mshIFEgPKp9ve5Sw9AoSxiEBQAxoZa5i5jdic9AkzWboVGWKLtwr88E1gqn9iICbTxi4CRJS2B4dgPPUNsG4bl5KHE9OnvoBfAE7IuPNbeJBDz0opZskiJeYJ4xREEIlR/DEum0PInkCMgxQoJ5kDAMfCye42V5ytwy/wMbVofitEYl7gAAAABJRU5ErkJggg==",fE="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAP6SURBVHic7ZpPctpIFIe/bqSsmRvIJxjnBvgEQetgD6oxVHllcwLgBPGsqDKeEjGedWdOEHKCcAPrCCynSkI9C4SDDdggWojE+nb86X7v/fp1q/W6oaCgoKDg7SL2Zag/VBUBvwNVoIymjMABQBMgmAABMIol35of3fE+/MpUgJ6vHKtEVUgu0UmwmzPRcfyXFctrz3MnWfgHGQrQH6qOgLaBrjIVwrgAPV85ts3XFCP+GpNY02qeuQOTnUqTnfWHqmNbPGQQPEBZCvy/79Unk50aywCDKb8J4/NT972JjoxkwM2dqu8xeIDj23vlm+ho5wzo+cqxLb4DZQP+bIUQXP9Zc1u79LFzBtgWPjkED6A1V/2hquzSx04C3NypOrCTA7siBL7vq9QDkFoA31dlKTC6IqdC40QWV2mbpxKgP1SVqZ3PvF+FEPyRuu0mf/J9VQ5LVOXMUCWtsSyJNV6aTZL10o89XznvbC6nmro8kNFeRzI4g23brc2AmztVl5J2Rru6TAgjji48N9imzVIG+L4qxzZtrblCG/NtL5RKVNgyC5YWwamF0jr9qroFX8KIo1LEb4jtU3cVUm6/G30yBW7vlY+mbsKZV6wOzmuul5HtEUIPSqH4d5PX50cB+nfqSuzjub4i+DmGB2ACjDV0G6fuaL07zOb91OKBrFf6F4Kfk1EWjuKIVtNbLrNJgKnNJw4geIDzmuuZWhMWqEiL7/2h6iy5tZfR3zD4RbJaj5Ip0Zl/llNbf+DAgofMMgEB7cVMkCAqpo0sWFsZ/KpixqrvshSh5ysHQKI5Nm0gsbI++FWpramvFQG+mHbPtvkKMwEySf9SyFKl5tV5vUaEMFrua2c0zs0/6lg+ns4Y5r9n68rGi9oaEbJAai4tZhsG41lgW/g9X3mld5RlTBtNdePGmvrtUJXDiFbSPpsNmsaxmJ3HZbEOVGyLB+LU7au2RXWH9q+jcSSzDHibCBwZaz7n7UduaAI5nTLK24/cEExkUkEZ5exKPgjGEiCWGTxnfwK05rMEaH50x1lsOQ+ciRUlGQAQhnQRBDk6tFe0put57uRRgAvPDcKQkzciwqhx5l7Ds6LohecGcYjLr7w3EARhxONL2lJVuOm54zDiPb/ik0EQhCEni2cHK0+Gkj+cJIXSNgd+KrQJGrqN2o9K0JwXD0cbZ+51KeJIx3EX2Mu9PaMIAgSDMOJosQy2yItngwBJbb0DdJLbIB8QHKNx0DgIyhxChvy4bDnRcfwNKUeN2vpy+Jy93RR9zu1QPTl4Oz91c/HF6DW5n5FCgLwdyJtCgLwdyJtCgLwdyJv8BHj61pnby1d+AmhawCQRYuvD04KCgoKCgt35H0DpfMjXqkFEAAAAAElFTkSuQmCC",yve="/assets/15-5aSMwcYf.png",bve="/assets/16-CdNGEq1M.png";function wve(e,t){return function(){return e.apply(t,arguments)}}const{toString:g7e}=Object.prototype,{getPrototypeOf:Zj}=Object,{iterator:H_,toStringTag:Ave}=Symbol,W_=(e=>t=>{const n=g7e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Zc=e=>(e=e.toLowerCase(),t=>W_(t)===e),V_=e=>t=>typeof t===e,{isArray:Ob}=Array,H3=V_("undefined");function E5(e){return e!==null&&!H3(e)&&e.constructor!==null&&!H3(e.constructor)&&Nl(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Cve=Zc("ArrayBuffer");function v7e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Cve(e.buffer),t}const m7e=V_("string"),Nl=V_("function"),xve=V_("number"),k5=e=>e!==null&&typeof e=="object",y7e=e=>e===!0||e===!1,yS=e=>{if(W_(e)!=="object")return!1;const t=Zj(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ave in e)&&!(H_ in e)},b7e=e=>{if(!k5(e)||E5(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},w7e=Zc("Date"),A7e=Zc("File"),C7e=Zc("Blob"),x7e=Zc("FileList"),S7e=e=>k5(e)&&Nl(e.pipe),E7e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Nl(e.append)&&((t=W_(e))==="formdata"||t==="object"&&Nl(e.toString)&&e.toString()==="[object FormData]"))},k7e=Zc("URLSearchParams"),[T7e,_7e,D7e,I7e]=["ReadableStream","Request","Response","Headers"].map(Zc),O7e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function T5(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ob(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Fg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Eve=e=>!H3(e)&&e!==Fg;function sL(){const{caseless:e}=Eve(this)&&this||{},t={},n=(r,o)=>{const i=e&&Sve(t,o)||o;yS(t[i])&&yS(r)?t[i]=sL(t[i],r):yS(r)?t[i]=sL({},r):Ob(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(T5(t,(o,i)=>{n&&Nl(o)?e[i]=wve(o,n):e[i]=o},{allOwnKeys:r}),e),P7e=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),N7e=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},R7e=(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Zj(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},B7e=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},L7e=e=>{if(!e)return null;if(Ob(e))return e;let t=e.length;if(!xve(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},F7e=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Zj(Uint8Array)),U7e=(e,t)=>{const r=(e&&e[H_]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},z7e=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},$7e=Zc("HTMLFormElement"),j7e=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),HZ=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),H7e=Zc("RegExp"),kve=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};T5(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},W7e=e=>{kve(e,(t,n)=>{if(Nl(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Nl(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},V7e=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ob(e)?r(e):r(String(e).split(t)),n},q7e=()=>{},G7e=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function K7e(e){return!!(e&&Nl(e.append)&&e[Ave]==="FormData"&&e[H_])}const Y7e=e=>{const t=new Array(10),n=(r,o)=>{if(k5(r)){if(t.indexOf(r)>=0)return;if(E5(r))return r;if(!("toJSON"in r)){t[o]=r;const i=Ob(r)?[]:{};return T5(r,(a,s)=>{const l=n(a,o+1);!H3(l)&&(i[s]=l)}),t[o]=void 0,i}}return r};return n(e,0)},Q7e=Zc("AsyncFunction"),Z7e=e=>e&&(k5(e)||Nl(e))&&Nl(e.then)&&Nl(e.catch),Tve=((e,t)=>e?setImmediate:t?((n,r)=>(Fg.addEventListener("message",({source:o,data:i})=>{o===Fg&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Fg.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Nl(Fg.postMessage)),X7e=typeof queueMicrotask<"u"?queueMicrotask.bind(Fg):typeof process<"u"&&process.nextTick||Tve,J7e=e=>e!=null&&Nl(e[H_]),hn={isArray:Ob,isArrayBuffer:Cve,isBuffer:E5,isFormData:E7e,isArrayBufferView:v7e,isString:m7e,isNumber:xve,isBoolean:y7e,isObject:k5,isPlainObject:yS,isEmptyObject:b7e,isReadableStream:T7e,isRequest:_7e,isResponse:D7e,isHeaders:I7e,isUndefined:H3,isDate:w7e,isFile:A7e,isBlob:C7e,isRegExp:H7e,isFunction:Nl,isStream:S7e,isURLSearchParams:k7e,isTypedArray:F7e,isFileList:x7e,forEach:T5,merge:sL,extend:M7e,trim:O7e,stripBOM:P7e,inherits:N7e,toFlatObject:R7e,kindOf:W_,kindOfTest:Zc,endsWith:B7e,toArray:L7e,forEachEntry:U7e,matchAll:z7e,isHTMLForm:$7e,hasOwnProperty:HZ,hasOwnProp:HZ,reduceDescriptors:kve,freezeMethods:W7e,toObjectSet:V7e,toCamelCase:j7e,noop:q7e,toFiniteNumber:G7e,findKey:Sve,global:Fg,isContextDefined:Eve,isSpecCompliantForm:K7e,toJSONObject:Y7e,isAsyncFn:Q7e,isThenable:Z7e,setImmediate:Tve,asap:X7e,isIterable:J7e};function Co(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}hn.inherits(Co,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:hn.toJSONObject(this.config),code:this.code,status:this.status}}});const _ve=Co.prototype,Dve={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Dve[e]={value:e}});Object.defineProperties(Co,Dve);Object.defineProperty(_ve,"isAxiosError",{value:!0});Co.from=(e,t,n,r,o,i)=>{const a=Object.create(_ve);return hn.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Co.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const e9e=null;function lL(e){return hn.isPlainObject(e)||hn.isArray(e)}function Ive(e){return hn.endsWith(e,"[]")?e.slice(0,-2):e}function WZ(e,t,n){return e?e.concat(t).map(function(o,i){return o=Ive(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function t9e(e){return hn.isArray(e)&&!e.some(lL)}const n9e=hn.toFlatObject(hn,{},null,function(t){return/^is[A-Z]/.test(t)});function q_(e,t,n){if(!hn.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=hn.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!hn.isUndefined(g[h])});const r=n.metaTokens,o=n.visitor||d,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&hn.isSpecCompliantForm(t);if(!hn.isFunction(o))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(hn.isDate(v))return v.toISOString();if(hn.isBoolean(v))return v.toString();if(!l&&hn.isBlob(v))throw new Co("Blob is not supported. Use a Buffer instead.");return hn.isArrayBuffer(v)||hn.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,h,g){let y=v;if(v&&!g&&typeof v=="object"){if(hn.endsWith(h,"{}"))h=r?h:h.slice(0,-2),v=JSON.stringify(v);else if(hn.isArray(v)&&t9e(v)||(hn.isFileList(v)||hn.endsWith(h,"[]"))&&(y=hn.toArray(v)))return h=Ive(h),y.forEach(function(b,w){!(hn.isUndefined(b)||b===null)&&t.append(a===!0?WZ([h],w,i):a===null?h:h+"[]",u(b))}),!1}return lL(v)?!0:(t.append(WZ(g,h,i),u(v)),!1)}const c=[],f=Object.assign(n9e,{defaultVisitor:d,convertValue:u,isVisitable:lL});function p(v,h){if(!hn.isUndefined(v)){if(c.indexOf(v)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(v),hn.forEach(v,function(y,m){(!(hn.isUndefined(y)||y===null)&&o.call(t,y,hn.isString(m)?m.trim():m,h,f))===!0&&p(y,h?h.concat(m):[m])}),c.pop()}}if(!hn.isObject(e))throw new TypeError("data must be an object");return p(e),t}function VZ(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Xj(e,t){this._pairs=[],e&&q_(e,this,t)}const Ove=Xj.prototype;Ove.append=function(t,n){this._pairs.push([t,n])};Ove.toString=function(t){const n=t?function(r){return t.call(this,r,VZ)}:VZ;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function r9e(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Mve(e,t,n){if(!t)return e;const r=n&&n.encode||r9e;hn.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=hn.isURLSearchParams(t)?t.toString():new Xj(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class qZ{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){hn.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},o9e=typeof URLSearchParams<"u"?URLSearchParams:Xj,i9e=typeof FormData<"u"?FormData:null,a9e=typeof Blob<"u"?Blob:null,s9e={isBrowser:!0,classes:{URLSearchParams:o9e,FormData:i9e,Blob:a9e},protocols:["http","https","file","blob","url","data"]},Jj=typeof window<"u"&&typeof document<"u",uL=typeof navigator=="object"&&navigator||void 0,l9e=Jj&&(!uL||["ReactNative","NativeScript","NS"].indexOf(uL.product)<0),u9e=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",c9e=Jj&&window.location.href||"http://localhost",d9e=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Jj,hasStandardBrowserEnv:l9e,hasStandardBrowserWebWorkerEnv:u9e,navigator:uL,origin:c9e},Symbol.toStringTag,{value:"Module"})),$s={...d9e,...s9e};function f9e(e,t){return q_(e,new $s.classes.URLSearchParams,{visitor:function(n,r,o,i){return $s.isNode&&hn.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function p9e(e){return hn.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function h9e(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return a=!a&&hn.isArray(o)?o.length:a,l?(hn.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!s):((!o[a]||!hn.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&hn.isArray(o[a])&&(o[a]=h9e(o[a])),!s)}if(hn.isFormData(e)&&hn.isFunction(e.entries)){const n={};return hn.forEachEntry(e,(r,o)=>{t(p9e(r),o,n,0)}),n}return null}function g9e(e,t,n){if(hn.isString(e))try{return(t||JSON.parse)(e),hn.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const _5={transitional:Pve,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=hn.isObject(t);if(i&&hn.isHTMLForm(t)&&(t=new FormData(t)),hn.isFormData(t))return o?JSON.stringify(Nve(t)):t;if(hn.isArrayBuffer(t)||hn.isBuffer(t)||hn.isStream(t)||hn.isFile(t)||hn.isBlob(t)||hn.isReadableStream(t))return t;if(hn.isArrayBufferView(t))return t.buffer;if(hn.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return f9e(t,this.formSerializer).toString();if((s=hn.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return q_(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),g9e(t)):t}],transformResponse:[function(t){const n=this.transitional||_5.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(hn.isResponse(t)||hn.isReadableStream(t))return t;if(t&&hn.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Co.from(s,Co.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$s.classes.FormData,Blob:$s.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};hn.forEach(["delete","get","head","post","put","patch"],e=>{_5.headers[e]={}});const v9e=hn.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),m9e=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&v9e[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},GZ=Symbol("internals");function I2(e){return e&&String(e).trim().toLowerCase()}function bS(e){return e===!1||e==null?e:hn.isArray(e)?e.map(bS):String(e)}function y9e(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const b9e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function aI(e,t,n,r,o){if(hn.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!hn.isString(t)){if(hn.isString(r))return t.indexOf(r)!==-1;if(hn.isRegExp(r))return r.test(t)}}function w9e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function A9e(e,t){const n=hn.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}let Rl=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,u){const d=I2(l);if(!d)throw new Error("header name must be a non-empty string");const c=hn.findKey(o,d);(!c||o[c]===void 0||u===!0||u===void 0&&o[c]!==!1)&&(o[c||l]=bS(s))}const a=(s,l)=>hn.forEach(s,(u,d)=>i(u,d,l));if(hn.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(hn.isString(t)&&(t=t.trim())&&!b9e(t))a(m9e(t),n);else if(hn.isObject(t)&&hn.isIterable(t)){let s={},l,u;for(const d of t){if(!hn.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(l=s[u])?hn.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}a(s,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=I2(t),t){const r=hn.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return y9e(o);if(hn.isFunction(n))return n.call(this,o,r);if(hn.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=I2(t),t){const r=hn.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||aI(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=I2(a),a){const s=hn.findKey(r,a);s&&(!n||aI(r,r[s],s,n))&&(delete r[s],o=!0)}}return hn.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||aI(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return hn.forEach(this,(o,i)=>{const a=hn.findKey(r,i);if(a){n[a]=bS(o),delete n[i];return}const s=t?w9e(i):String(i).trim();s!==i&&delete n[i],n[s]=bS(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return hn.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&hn.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[GZ]=this[GZ]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=I2(a);r[s]||(A9e(o,a),r[s]=!0)}return hn.isArray(t)?t.forEach(i):i(t),this}};Rl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);hn.reduceDescriptors(Rl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});hn.freezeMethods(Rl);function sI(e,t){const n=this||_5,r=t||n,o=Rl.from(r.headers);let i=r.data;return hn.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Rve(e){return!!(e&&e.__CANCEL__)}function Mb(e,t,n){Co.call(this,e??"canceled",Co.ERR_CANCELED,t,n),this.name="CanceledError"}hn.inherits(Mb,Co,{__CANCEL__:!0});function Bve(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Co("Request failed with status code "+n.status,[Co.ERR_BAD_REQUEST,Co.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function C9e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function x9e(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),d=r[i];a||(a=u),n[o]=l,r[o]=u;let c=i,f=0;for(;c!==o;)f+=n[c++],c=c%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-a{n=d,o=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const d=Date.now(),c=d-n;c>=r?a(u,d):(o=u,i||(i=setTimeout(()=>{i=null,a(o)},r-c)))},()=>o&&a(o)]}const pE=(e,t,n=3)=>{let r=0;const o=x9e(50,250);return S9e(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-r,u=o(l),d=a<=s;r=a;const c={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-a)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(c)},n)},KZ=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},YZ=e=>(...t)=>hn.asap(()=>e(...t)),E9e=$s.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,$s.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL($s.origin),$s.navigator&&/(msie|trident)/i.test($s.navigator.userAgent)):()=>!0,k9e=$s.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];hn.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),hn.isString(r)&&a.push("path="+r),hn.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function T9e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function _9e(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Lve(e,t,n){let r=!T9e(t);return e&&(r||n==!1)?_9e(e,t):t}const QZ=e=>e instanceof Rl?{...e}:e;function Dv(e,t){t=t||{};const n={};function r(u,d,c,f){return hn.isPlainObject(u)&&hn.isPlainObject(d)?hn.merge.call({caseless:f},u,d):hn.isPlainObject(d)?hn.merge({},d):hn.isArray(d)?d.slice():d}function o(u,d,c,f){if(hn.isUndefined(d)){if(!hn.isUndefined(u))return r(void 0,u,c,f)}else return r(u,d,c,f)}function i(u,d){if(!hn.isUndefined(d))return r(void 0,d)}function a(u,d){if(hn.isUndefined(d)){if(!hn.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,c){if(c in t)return r(u,d);if(c in e)return r(void 0,u)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(u,d,c)=>o(QZ(u),QZ(d),c,!0)};return hn.forEach(Object.keys({...e,...t}),function(d){const c=l[d]||o,f=c(e[d],t[d],d);hn.isUndefined(f)&&c!==s||(n[d]=f)}),n}const Fve=e=>{const t=Dv({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=Rl.from(a),t.url=Mve(Lve(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(hn.isFormData(n)){if($s.hasStandardBrowserEnv||$s.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[u,...d]=l?l.split(";").map(c=>c.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...d].join("; "))}}if($s.hasStandardBrowserEnv&&(r&&hn.isFunction(r)&&(r=r(t)),r||r!==!1&&E9e(t.url))){const u=o&&i&&k9e.read(i);u&&a.set(o,u)}return t},D9e=typeof XMLHttpRequest<"u",I9e=D9e&&function(e){return new Promise(function(n,r){const o=Fve(e);let i=o.data;const a=Rl.from(o.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=o,d,c,f,p,v;function h(){p&&p(),v&&v(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let g=new XMLHttpRequest;g.open(o.method.toUpperCase(),o.url,!0),g.timeout=o.timeout;function y(){if(!g)return;const b=Rl.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),A={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:b,config:e,request:g};Bve(function(E){n(E),h()},function(E){r(E),h()},A),g=null}"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(r(new Co("Request aborted",Co.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new Co("Network Error",Co.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||Pve;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new Co(w,A.clarifyTimeoutError?Co.ETIMEDOUT:Co.ECONNABORTED,e,g)),g=null},i===void 0&&a.setContentType(null),"setRequestHeader"in g&&hn.forEach(a.toJSON(),function(w,A){g.setRequestHeader(A,w)}),hn.isUndefined(o.withCredentials)||(g.withCredentials=!!o.withCredentials),s&&s!=="json"&&(g.responseType=o.responseType),u&&([f,v]=pE(u,!0),g.addEventListener("progress",f)),l&&g.upload&&([c,p]=pE(l),g.upload.addEventListener("progress",c),g.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(d=b=>{g&&(r(!b||b.type?new Mb(null,e,g):b),g.abort(),g=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const m=C9e(o.url);if(m&&$s.protocols.indexOf(m)===-1){r(new Co("Unsupported protocol "+m+":",Co.ERR_BAD_REQUEST,e));return}g.send(i||null)})},O9e=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Co?d:new Mb(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,i(new Co(`timeout ${t} of ms exceeded`,Co.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=r;return l.unsubscribe=()=>hn.asap(s),l}},M9e=function*(e,t){let n=e.byteLength;if(n{const o=P9e(e,t);let i=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await o.next();if(u){s(),l.close();return}let c=d.byteLength;if(n){let f=i+=c;n(f)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),o.return()}},{highWaterMark:2})},G_=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Uve=G_&&typeof ReadableStream=="function",R9e=G_&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),zve=(e,...t)=>{try{return!!e(...t)}catch{return!1}},B9e=Uve&&zve(()=>{let e=!1;const t=new Request($s.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),XZ=64*1024,cL=Uve&&zve(()=>hn.isReadableStream(new Response("").body)),hE={stream:cL&&(e=>e.body)};G_&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!hE[t]&&(hE[t]=hn.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Co(`Response type '${t}' is not supported`,Co.ERR_NOT_SUPPORT,r)})})})(new Response);const L9e=async e=>{if(e==null)return 0;if(hn.isBlob(e))return e.size;if(hn.isSpecCompliantForm(e))return(await new Request($s.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(hn.isArrayBufferView(e)||hn.isArrayBuffer(e))return e.byteLength;if(hn.isURLSearchParams(e)&&(e=e+""),hn.isString(e))return(await R9e(e)).byteLength},F9e=async(e,t)=>{const n=hn.toFiniteNumber(e.getContentLength());return n??L9e(t)},U9e=G_&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:d,withCredentials:c="same-origin",fetchOptions:f}=Fve(e);u=u?(u+"").toLowerCase():"text";let p=O9e([o,i&&i.toAbortSignal()],a),v;const h=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&B9e&&n!=="get"&&n!=="head"&&(g=await F9e(d,r))!==0){let A=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(hn.isFormData(r)&&(S=A.headers.get("content-type"))&&d.setContentType(S),A.body){const[E,D]=KZ(g,pE(YZ(l)));r=ZZ(A.body,XZ,E,D)}}hn.isString(c)||(c=c?"include":"omit");const y="credentials"in Request.prototype;v=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:y?c:void 0});let m=await fetch(v,f);const b=cL&&(u==="stream"||u==="response");if(cL&&(s||b&&h)){const A={};["status","statusText","headers"].forEach(_=>{A[_]=m[_]});const S=hn.toFiniteNumber(m.headers.get("content-length")),[E,D]=s&&KZ(S,pE(YZ(s),!0))||[];m=new Response(ZZ(m.body,XZ,E,()=>{D&&D(),h&&h()}),A)}u=u||"text";let w=await hE[hn.findKey(hE,u)||"text"](m,e);return!b&&h&&h(),await new Promise((A,S)=>{Bve(A,S,{data:w,headers:Rl.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:v})})}catch(y){throw h&&h(),y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message)?Object.assign(new Co("Network Error",Co.ERR_NETWORK,e,v),{cause:y.cause||y}):Co.from(y,y&&y.code,e,v)}}),dL={http:e9e,xhr:I9e,fetch:U9e};hn.forEach(dL,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const JZ=e=>`- ${e}`,z9e=e=>hn.isFunction(e)||e===null||e===!1,$ve={getAdapter:e=>{e=hn.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : `+i.map(JZ).join(` `):" "+JZ(i[0]):"as no adapter specified";throw new Co("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:dL};function lI(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Mb(null,e)}function eX(e){return lI(e),e.headers=Rl.from(e.headers),e.data=sI.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),$ve.getAdapter(e.adapter||_5.adapter)(e).then(function(r){return lI(e),r.data=sI.call(e,e.transformResponse,r),r.headers=Rl.from(r.headers),r},function(r){return Rve(r)||(lI(e),r&&r.response&&(r.response.data=sI.call(e,e.transformResponse,r.response),r.response.headers=Rl.from(r.response.headers))),Promise.reject(r)})}const jve="1.11.0",K_={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{K_[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tX={};K_.transitional=function(t,n,r){function o(i,a){return"[Axios v"+jve+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,s)=>{if(t===!1)throw new Co(o(a," has been removed"+(n?" in "+n:"")),Co.ERR_DEPRECATED);return n&&!tX[a]&&(tX[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};K_.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function $9e(e,t,n){if(typeof e!="object")throw new Co("options must be an object",Co.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new Co("option "+i+" must be "+l,Co.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Co("Unknown option "+i,Co.ERR_BAD_OPTION)}}const wS={assertOptions:$9e,validators:K_},ad=wS.validators;let Qg=class{constructor(t){this.defaults=t||{},this.interceptors={request:new qZ,response:new qZ}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dv(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&wS.assertOptions(r,{silentJSONParsing:ad.transitional(ad.boolean),forcedJSONParsing:ad.transitional(ad.boolean),clarifyTimeoutError:ad.transitional(ad.boolean)},!1),o!=null&&(hn.isFunction(o)?n.paramsSerializer={serialize:o}:wS.assertOptions(o,{encode:ad.function,serialize:ad.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),wS.assertOptions(n,{baseUrl:ad.spelling("baseURL"),withXsrfToken:ad.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&hn.merge(i.common,i[n.method]);i&&hn.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),n.headers=Rl.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(l=l&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let d,c=0,f;if(!l){const v=[eX.bind(this),void 0];for(v.unshift(...s),v.push(...u),f=v.length,d=Promise.resolve(n);c{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(s=>{r.subscribe(s),i=s}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,s){r.reason||(r.reason=new Mb(i,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Hve(function(o){t=o}),cancel:t}}};function H9e(e){return function(n){return e.apply(null,n)}}function W9e(e){return hn.isObject(e)&&e.isAxiosError===!0}const fL={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(fL).forEach(([e,t])=>{fL[t]=e});function Wve(e){const t=new Qg(e),n=wve(Qg.prototype.request,t);return hn.extend(n,Qg.prototype,t,{allOwnKeys:!0}),hn.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Wve(Dv(e,o))},n}const ta=Wve(_5);ta.Axios=Qg;ta.CanceledError=Mb;ta.CancelToken=j9e;ta.isCancel=Rve;ta.VERSION=jve;ta.toFormData=q_;ta.AxiosError=Co;ta.Cancel=ta.CanceledError;ta.all=function(t){return Promise.all(t)};ta.spread=H9e;ta.isAxiosError=W9e;ta.mergeConfig=Dv;ta.AxiosHeaders=Rl;ta.formToJSON=e=>Nve(hn.isHTMLForm(e)?new FormData(e):e);ta.getAdapter=$ve.getAdapter;ta.HttpStatusCode=fL;ta.default=ta;const{Axios:tpn,AxiosError:npn,CanceledError:rpn,isCancel:opn,CancelToken:ipn,VERSION:apn,all:spn,Cancel:lpn,isAxiosError:upn,spread:cpn,toFormData:dpn,AxiosHeaders:fpn,HttpStatusCode:ppn,formToJSON:hpn,getAdapter:gpn,mergeConfig:vpn}=ta,Y_="shudao_refresh_token",eH="shudao_token_type";function Xf(){return localStorage.getItem(Y_)}function V9e(){return localStorage.getItem(Y_)}function Iv(){return localStorage.getItem(eH)||"Bearer"}function Vve(){return localStorage.getItem("shudao_username")||null}function q9e(e,t="Bearer"){localStorage.setItem(Y_,e),localStorage.setItem(eH,t)}function AS(){localStorage.removeItem(Y_),localStorage.removeItem(eH),localStorage.removeItem("shudao_username")}const nX="https://aqai.shudaodsj.com:22001/api/ticket/process";let gE=null,X4=null,z1=null;try{gE=window.location.href,X4=window.location.search,z1=window.location.hash,console.log("💾 已保存原始 URL:",gE),console.log("💾 已保存原始 Search:",X4),console.log("💾 已保存原始 Hash:",z1)}catch(e){console.warn("⚠️ 保存原始 URL 失败:",e)}let C4=!1;function G9e(){console.log("🔍 === 开始获取票据参数 ==="),console.log("📍 当前完整 URL:",window.location.href),console.log("📍 当前 location.search:",window.location.search),console.log("📍 当前 location.hash:",window.location.hash),console.log("📍 保存的原始 URL:",gE),console.log("📍 保存的原始 Search:",X4),console.log("📍 保存的原始 Hash:",z1);let e="";if(X4)e=X4,console.log("✅ 从保存的原始 Search 中提取到查询参数:",e.substring(0,100));else if(z1&&z1.includes("?")){const r=z1.split("?");r.length>1&&(e="?"+r.slice(1).join("?"),console.log("✅ 从保存的原始 Hash 中提取到查询参数:",e.substring(0,100)))}if(!e&&(window.location.search&&(e=window.location.search,console.log("✅ 从当前 Search 中提取到查询参数:",e.substring(0,100))),!e&&window.location.hash&&window.location.hash.includes("?"))){const r=window.location.hash.split("?");r.length>1&&(e="?"+r.slice(1).join("?"),console.log("✅ 从当前 Hash 中提取到查询参数(兼容模式):",e.substring(0,100)))}if(!e)return console.log("❌ 未找到查询参数"),console.log("🔍 === 票据获取结束 ==="),null;console.log("📍 原始查询字符串:",e),console.log("📍 查询字符串长度:",e.length),console.log("📍 查询字符串前10个字符:",e.substring(0,10)),e.startsWith("?&")&&(console.log("⚠️ 检测到 URL 格式异常: ?& 开头,正在修正..."),e="?"+e.substring(2),console.log("✅ 修正后的查询字符串:",e.substring(0,100)));let t=null;if(t=new URLSearchParams(e).get("iamcaspticket"),console.log("📋 方式1 (URLSearchParams) 结果:",t?t.substring(0,50)+"...":"null"),!t&&e){console.log("⚠️ URLSearchParams 解析失败,尝试手动解析...");let r=e;r.startsWith("?&")?r=r.substring(2):r.startsWith("?")&&(r=r.substring(1)),console.log("📋 清理后的字符串:",r.substring(0,50)+"...");const o=r.split("&");console.log("📋 分割后的参数数量:",o.length);for(const i of o){const a=i.indexOf("=");if(a===-1)continue;const s=i.substring(0,a),l=i.substring(a+1);if(console.log("📋 检查参数:",s),s==="iamcaspticket"&&l){t=decodeURIComponent(l),console.log("✅ 方式2 (手动解析) 找到票据:",t.substring(0,50)+"...");break}}}if(t){console.log("🎫 成功获取到票据!"),console.log("🎫 票据长度:",t.length),console.log("🎫 票据前50个字符:",t.substring(0,50)+"...");try{if(t.includes("%")){const r=decodeURIComponent(t);console.log("🔄 票据已解码"),t=r}}catch(r){console.log("⚠️ 票据解码失败,使用原始值:",r.message)}return console.log("🔍 === 票据获取成功 ==="),t}return console.log("❌ 未找到票据参数 iamcaspticket"),console.log("📍 当前 URL:",window.location.href),console.log("📍 查询字符串:",e),console.log("🔍 === 票据获取结束 ==="),null}function K9e(){try{console.log("=".repeat(60)),console.log("🧹 开始清理 URL 中的票据参数..."),console.log("📍 调用栈:",new Error().stack),console.log("📍 当前 URL:",window.location.href);const e=window.location.href,t=new URL(e),n=["iamcaspticket","iamtarget","ip"];let r=!1;for(const o of n)t.searchParams.has(o)&&(console.log(`✅ 从查询参数中删除: ${o}`),t.searchParams.delete(o),r=!0);if(r){window.history.replaceState(null,"",t.toString()),console.log("✅ URL 已更新(普通模式)"),console.log("📍 新 URL:",window.location.href);return}if(t.hash&&t.hash.includes("?")){const o=t.hash.split("?"),i=o[0];let a=o.slice(1).join("?");console.log("📍 Hash 路径:",i),console.log("📍 Hash 原始查询:",a),a.startsWith("&")&&(console.log("⚠️ 检测到 Hash 查询参数以 & 开头,正在修正..."),a=a.substring(1),console.log("✅ 修正后的 Hash 查询:",a));const s=new URLSearchParams(a);console.log("📋 Hash 查询参数列表:");for(const[u,d]of s.entries())console.log(` - ${u}: ${d.substring(0,50)}${d.length>50?"...":""}`);let l=!1;for(const u of n)s.has(u)&&(console.log(`✅ 从 Hash 中删除参数(兼容模式): ${u}`),s.delete(u),l=!0);if(l){const u=s.toString(),d=u?`${i}?${u}`:i;console.log("📍 新的 Hash:",d),console.log("📍 当前 Hash:",window.location.hash);try{console.log("🔄 开始更新地址栏..."),window.location.hash=d,console.log("✅ 地址栏已更新(兼容模式)"),console.log("📍 新的 Hash:",window.location.hash),console.log("📍 完整 URL:",window.location.href)}catch(c){console.error("❌ 更新地址栏失败:",c);const f=t.origin+t.pathname+d;window.history.replaceState(null,"",f),console.log("✅ 使用 replaceState 更新(降级方案)")}return}}console.log("ℹ️ URL 中没有票据参数,无需清理")}catch(e){console.error("❌ 清理票据参数失败:",e),console.error("❌ 错误详情:",e.message),console.error("❌ 错误堆栈:",e.stack)}}async function Y9e(e){try{console.log("🔍 正在处理票据..."),console.log("📡 请求接口:",nX),console.log("📦 票据数据长度:",e.length),console.log("📦 票据前100字符:",e.substring(0,100));const t={ticket_data:e};console.log("📤 发送请求..."),console.log("📤 请求体:",JSON.stringify(t).substring(0,150));const n=await fetch(nX,{method:"POST",headers:{"Content-Type":"application/json","X-Auth-Type":"ticket"},body:JSON.stringify(t),credentials:"include"});if(console.log("📥 收到响应,状态码:",n.status),!n.ok){const o=await n.text();throw console.error("❌ HTTP错误响应:",o),new Error(`HTTP错误: ${n.status} - ${o}`)}const r=await n.json();if(console.log("📋 响应数据:",r),r.refresh_token&&r.token_type)return console.log("✅ 票据处理成功"),console.log("🎫 Token类型:",r.token_type),console.log("🔑 Refresh Token:",r.refresh_token.substring(0,50)+"..."),r.username&&console.log("👤 用户名:",r.username),{refreshToken:r.refresh_token,tokenType:r.token_type,username:r.username||null};throw console.error("❌ 响应数据格式错误,缺少必要字段"),new Error("票据处理失败: 响应数据不完整")}catch(t){throw console.error("❌ 票据处理失败:",t),console.error("❌ 错误详情:",t.message),t}}function Q9e(e,t,n=null){try{return console.log("💾 开始保存令牌..."),console.log("🎫 Token类型:",t),console.log("🔑 Refresh Token:",e.substring(0,50)+"..."),localStorage.setItem("shudao_refresh_token",e),localStorage.setItem("shudao_token_type",t),n&&(localStorage.setItem("shudao_username",n),console.log("👤 用户名:",n)),console.log("=".repeat(60)),console.log("✅ 令牌保存完成!"),console.log(" - shudao_refresh_token:",localStorage.getItem("shudao_refresh_token")?.substring(0,50)+"..."),console.log(" - shudao_token_type:",localStorage.getItem("shudao_token_type")),n&&console.log(" - shudao_username:",localStorage.getItem("shudao_username")),console.log("=".repeat(60)),!0}catch(r){throw console.error("❌ 保存令牌失败:",r),r}}function Z9e(){try{const e=localStorage.getItem("shudao_refresh_token"),t=localStorage.getItem("shudao_token_type"),n=!!(e&&t);return n?(console.log("✅ 检测到本地已有令牌:"),console.log(" - Refresh Token:",e.substring(0,50)+"..."),console.log(" - Token Type:",t)):(console.log("⚠️ 本地没有完整的令牌"),console.log(" - Refresh Token:",e?"有":"无"),console.log(" - Token Type:",t?"有":"无")),n}catch(e){return console.error("❌ 检查本地令牌失败:",e),!1}}function X9e(){try{const e=localStorage.getItem("shudao_refresh_token"),t=localStorage.getItem("shudao_token_type");return!e||!t?null:{refreshToken:e,tokenType:t}}catch(e){return console.error("❌ 获取本地令牌失败:",e),null}}const pL=[];function bs(e,t){const n={level:e,time:new Date().toLocaleTimeString(),message:t};pL.push(n),console.log(`[${e.toUpperCase()}] ${t}`);try{sessionStorage.setItem("auth_debug_logs",JSON.stringify(pL))}catch(r){console.warn("无法保存调试日志:",r)}}async function J9e(){C4=!0,pL.length=0,bs("info","🚀 开始票据认证流程"),bs("info",`当前 URL: ${window.location.href}`),bs("info",`原始 URL: ${gE}`),bs("info",`User Agent: ${navigator.userAgent.substring(0,100)}...`),bs("info",`是否移动端: ${/Mobile|Android|iPhone|iPad/i.test(navigator.userAgent)}`);try{bs("info","步骤1: 获取票据");const e=G9e();if(!e){if(bs("warning","⚠️ 未找到票据"),Z9e())return C4=!1,bs("success","✅ 本地已有令牌,使用本地令牌"),{success:!0,token:X9e(),fromCache:!0};throw bs("error","❌ 未找到票据且本地无令牌"),new Error("TICKET_NOT_FOUND")}bs("success",`✅ 成功获取票据 (长度: ${e.length})`),bs("info","步骤2: 调用后端处理票据");const{refreshToken:t,tokenType:n,username:r}=await Y9e(e);return bs("success","✅ 票据处理成功,获得 token"),bs("info","步骤3: 保存令牌到本地"),Q9e(t,n,r),bs("success",`✅ 令牌已保存 (用户: ${r||"未知"})`),bs("success","🎉 票据认证流程完成!"),C4=!1,{success:!0,token:{refreshToken:t,tokenType:n,username:r},fromTicket:!0}}catch(e){throw bs("error",`❌ 认证失败: ${e.message}`),bs("error",`错误堆栈: ${e.stack?.substring(0,200)}...`),C4=!1,e}}const ao=ta.create({baseURL:window.location.origin+"/apiv1",timeout:6e5});async function eIe(e,t){try{if(e&&(e.includes("/tracking/")||e.includes("/auth/"))){console.log("ℹ️ 跳过埋点接口的埋点记录:",e);return}const n={api_path:e,method:t||"GET",extra_data:""};console.log("📊 记录埋点:",n);const r=Xf(),o={"Content-Type":"application/json"};r&&(o.Authorization=`Bearer ${r}`),fetch(window.location.origin+"/apiv1/tracking/record",{method:"POST",headers:o,body:JSON.stringify(n)}).then(i=>{i.ok?console.log("✅ 埋点记录成功"):console.warn("⚠️ 埋点记录返回非200状态码:",i.status)}).catch(i=>{console.error("❌ 埋点记录失败:",i)})}catch(n){console.error("❌ 埋点记录异常:",n)}}ao.interceptors.request.use(e=>{console.log(e,"config");const t=Xf(),n=Iv();t&&(e.headers.Authorization=`${n.charAt(0).toUpperCase()+n.slice(1)} ${t}`,console.log("🔑 已添加 Authorization 头:",`${n} ${t.substring(0,50)}...`)),e.method==="get"?e.headers["Content-Type"]="application/x-www-form-urlencoded":e.method==="post"&&(e.data instanceof FormData||(e.headers["Content-Type"]="application/json"));const r=e.baseURL||window.location.origin+"/apiv1",o=e.url,i=o.startsWith("http")?o:r.replace(/\/$/,"")+(o.startsWith("/")?o:"/"+o),a=(e.method||"GET").toUpperCase();return eIe(i,a),e},e=>Promise.reject(e));ao.interceptors.response.use(e=>e.data.statusCode===200||e.data.code===200?e.data:Promise.reject(e.data),e=>{if(e.response&&e.response.status===401)return C4?(console.log("⏳ 正在认证中,延迟处理 401 错误"),Promise.reject(e)):(console.error("❌ Token 过期或无效,需要重新登录"),AS(),window.location.href="/#/404?reason=token_expired",Promise.reject(e));let t="";switch(e.response?.status){case 401:t="TOKEN过期或无效";break;case 403:t="无权访问";break;case 404:t="请求路径错误";break;case 500:t="服务器出错";break;default:t="未知错误";break}return console.error("📡 请求错误:",t,e.response?.status),Promise.reject(e)});const zn={getRecommendQuestion:e=>ao.get("/recommend_question",{params:e}),submitFeedback:e=>ao.post("/submit_feedback",e),getPolicyFile:e=>ao.get("/get_policy_file",{params:e}),sendDeepseekMessage:e=>ao.post("/send_deepseek_message",e),buildExamPrompt:e=>ao.post("/exam/build_prompt",e),saveExam:e=>ao.post("/save_exam",e),getExamHistory:()=>ao.get("/get_exam_history"),getExamById:e=>ao.get(`/get_exam/${e}`),uploadOss:e=>ao.post("/oss/upload",e),getFunctionCard:e=>ao.get("/get_function_card",{params:e}),getHotQuestion:e=>ao.get("/get_hot_question",{params:e}),getHistoryRecord:e=>ao.get("/get_history_record",{params:e}),generatePPTOutline:e=>ao.post("/send_deepseek_message",e),uploadImage:e=>ao.post("/oss/shudao/upload_image",e),uploadJson:e=>ao.post("/oss/shudao/upload_json",e),saveQuestionModification:e=>ao.post("/save_question_modification",e),reModifyQuestion:e=>ao.post("/re_modify_question",e),reProduceSingleQuestion:e=>ao.post("/re_produce_single_question",e),hazardDetection:e=>ao.post("/hazard",e),likeAndDislike:e=>ao.post("/like_and_dislike",e),getHazardHistory:e=>ao.get("/get_history_recognition_record",{params:e}),getRecognitionRecordDetail:e=>ao.get("/get_recognition_record_detail",{params:e}),getFileLink:e=>ao.get("/get_file_link",{params:e}),getUserRecommendQuestion:e=>ao.get("/get_user_recommend_question",{params:e}),deleteConversation:e=>ao.post("/delete_conversation",e),deleteHistoryRecord:e=>ao.post("/delete_history_record",e),deleteRecognitionRecord:e=>ao.post("/delete_recognition_record",e),saveStep:e=>ao.post("/save_step",e),getPPTJson:e=>ao.post("/get_ppt_json",e),getThirdSceneExampleImage:e=>ao.get("/get_third_scene_example_image",{params:e}),savePPTOutline:e=>ao.post("/save_ppt_outline",e),submitEvaluation:e=>ao.post("/submit_evaluation",e),getLatestRecognitionRecord:e=>ao.get("/get_latest_recognition_record",{params:e}),saveEditDocument:e=>ao.post("/save_edit_document",e),onlineSearch:e=>ao.get("/online_search",{params:e}),saveOnlineSearchResult:e=>ao.post("/save_online_search_result",e),intentRecognition:e=>ao.post("/intent_recognition",e),streamChatWithDB:e=>ao.post("/stream/chat-with-db",e),updatePolicyFileCount:e=>ao.post("/policy_file_count",e),guessYouWant:e=>ao.post("/guess_you_want",e),getUserDataId:e=>ao.get("/get_user_data_id",{params:e}),recordTracking:e=>ao.post("/tracking/record",e),getTrackingRecords:e=>ao.get("/tracking/records",{params:e}),addApiMapping:e=>ao.post("/tracking/api_mapping",e),getApiMappings:()=>ao.get("/tracking/api_mappings")},tIe="2.11.1",rX=Symbol("INSTALLED_KEY"),qve=Symbol(),J4="el",nIe="is-",Q0=(e,t,n,r,o)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),o&&(i+=`--${o}`),i},Gve=Symbol("namespaceContextKey"),tH=e=>{const t=e||(br()?dn(Gve,K(J4)):K(J4));return ee(()=>C(t)||J4)},Vt=(e,t)=>{const n=tH(t);return{namespace:n,b:(h="")=>Q0(n.value,e,h,"",""),e:h=>h?Q0(n.value,e,"",h,""):"",m:h=>h?Q0(n.value,e,"","",h):"",be:(h,g)=>h&&g?Q0(n.value,e,h,g,""):"",em:(h,g)=>h&&g?Q0(n.value,e,"",h,g):"",bm:(h,g)=>h&&g?Q0(n.value,e,h,"",g):"",bem:(h,g,y)=>h&&g&&y?Q0(n.value,e,h,g,y):"",is:(h,...g)=>{const y=g.length>=1?g[0]:!0;return h&&y?`${nIe}${h}`:""},cssVar:h=>{const g={};for(const y in h)h[y]&&(g[`--${n.value}-${y}`]=h[y]);return g},cssVarName:h=>`--${n.value}-${h}`,cssVarBlock:h=>{const g={};for(const y in h)h[y]&&(g[`--${n.value}-${e}-${y}`]=h[y]);return g},cssVarBlockName:h=>`--${n.value}-${e}-${h}`}};var Kve=typeof global=="object"&&global&&global.Object===Object&&global,rIe=typeof self=="object"&&self&&self.Object===Object&&self,Xc=Kve||rIe||Function("return this")(),Xu=Xc.Symbol,Yve=Object.prototype,oIe=Yve.hasOwnProperty,iIe=Yve.toString,O2=Xu?Xu.toStringTag:void 0;function aIe(e){var t=oIe.call(e,O2),n=e[O2];try{e[O2]=void 0;var r=!0}catch{}var o=iIe.call(e);return r&&(t?e[O2]=n:delete e[O2]),o}var sIe=Object.prototype,lIe=sIe.toString;function uIe(e){return lIe.call(e)}var cIe="[object Null]",dIe="[object Undefined]",oX=Xu?Xu.toStringTag:void 0;function im(e){return e==null?e===void 0?dIe:cIe:oX&&oX in Object(e)?aIe(e):uIe(e)}function jd(e){return e!=null&&typeof e=="object"}var fIe="[object Symbol]";function Q_(e){return typeof e=="symbol"||jd(e)&&im(e)==fIe}function nH(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n0){if(++t>=zIe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function WIe(e){return function(){return e}}var vE=(function(){try{var e=sm(Object,"defineProperty");return e({},"",{}),e}catch{}})(),VIe=vE?function(e,t){return vE(e,"toString",{configurable:!0,enumerable:!1,value:WIe(t),writable:!0})}:rH,Xve=HIe(VIe);function qIe(e,t){for(var n=-1,r=e==null?0:e.length;++n-1}var ZIe=9007199254740991,XIe=/^(?:0|[1-9]\d*)$/;function Z_(e,t){var n=typeof e;return t=t??ZIe,!!t&&(n=="number"||n!="symbol"&&XIe.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=tOe}function Nb(e){return e!=null&&sH(e.length)&&!oH(e)}function nOe(e,t,n){if(!pl(n))return!1;var r=typeof t;return(r=="number"?Nb(n)&&Z_(t,n.length):r=="string"&&t in n)?D5(n[t],e):!1}function rOe(e){return tme(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&nOe(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r-1}function pMe(e,t){var n=this.__data__,r=X_(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function bp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(s)?t>1?M5(s,t-1,n,r,o):fH(o,s):r||(o[o.length]=s)}return o}function sme(e){var t=e==null?0:e.length;return t?M5(e,1):[]}function lme(e){return Xve(eme(e,void 0,sme),e+"")}var pH=ame(Object.getPrototypeOf,Object),_Me="[object Object]",DMe=Function.prototype,IMe=Object.prototype,ume=DMe.toString,OMe=IMe.hasOwnProperty,MMe=ume.call(Object);function cme(e){if(!jd(e)||im(e)!=_Me)return!1;var t=pH(e);if(t===null)return!0;var n=OMe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&ume.call(n)==MMe}function PMe(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++rs))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var c=-1,f=!0,p=n&hNe?new K3:void 0;for(i.set(e,t),i.set(t,e);++c=t||E<0||c&&D>=i}function y(){var S=fI();if(g(S))return m(S);s=setTimeout(y,h(S))}function m(S){return s=void 0,f&&r?p(S):(r=o=void 0,a)}function b(){s!==void 0&&clearTimeout(s),u=0,r=l=o=s=void 0}function w(){return s===void 0?a:m(fI())}function A(){var S=fI(),E=g(S);if(r=arguments,o=this,l=S,E){if(s===void 0)return v(l);if(c)return clearTimeout(s),s=setTimeout(y,t),p(l)}return s===void 0&&(s=setTimeout(y,t)),a}return A.cancel=b,A.flush=w,A}function yL(e,t,n){(n!==void 0&&!D5(e[t],n)||n===void 0&&!(t in e))&&iH(e,t,n)}function Dme(e){return jd(e)&&Nb(e)}function bL(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function rRe(e){return Pb(e,O5(e))}function oRe(e,t,n,r,o,i,a){var s=bL(e,n),l=bL(t,n),u=a.get(l);if(u){yL(e,n,u);return}var d=i?i(s,l,n+"",e,t,a):void 0,c=d===void 0;if(c){var f=fl(l),p=!f&&V3(l),v=!f&&!p&&cH(l);d=l,f||p||v?fl(s)?d=s:Dme(s)?d=Zve(s):p?(c=!1,d=fme(l,!0)):v?(c=!1,d=mme(l,!0)):d=[]:cme(l)||W3(l)?(d=s,W3(s)?d=rRe(s):(!pl(s)||oH(s))&&(d=yme(l))):c=!1}c&&(a.set(l,d),o(d,l,r,i,a),a.delete(l)),yL(e,n,d)}function Ime(e,t,n,r,o){e!==t&&_me(t,function(i,a){if(o||(o=new Oc),pl(i))oRe(e,t,a,n,Ime,r,o);else{var s=r?r(bL(e,a),i,a+"",e,t,o):void 0;s===void 0&&(s=i),yL(e,a,s)}},O5)}function iRe(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Ome(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=r-1;return Jve(e,Tme(t),o,!0)}function aRe(e,t){var n=-1,r=Nb(e)?Array(e.length):[];return JNe(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function sRe(e,t){var n=fl(e)?nH:aRe;return n(e,Tme(t))}function Mme(e,t){return M5(sRe(e,t),1)}var lRe=1/0;function uRe(e){var t=e==null?0:e.length;return t?M5(e,lRe):[]}function Y3(e){for(var t=-1,n=e==null?0:e.length,r={};++t1),i}),Pb(e,vme(e),n),r&&(n=ry(n,hRe|gRe|vRe,pRe));for(var o=t.length;o--;)fRe(n,t[o]);return n});function Rme(e,t,n,r){if(!pl(e))return e;t=Rb(t,e);for(var o=-1,i=t.length,a=i-1,s=e;s!=null&&++o=xRe){var u=CRe(e);if(u)return vH(u);a=!1,o=Cme,l=new K3}else l=s;e:for(;++re===void 0,Eo=e=>typeof e=="boolean",$n=e=>typeof e=="number",iu=e=>!e&&e!==0||Zt(e)&&e.length===0||dr(e)&&!Object.keys(e).length,cl=e=>typeof Element>"u"?!1:e instanceof Element,Bl=e=>ea(e),ERe=e=>In(e)?!Number.isNaN(Number(e)):!1,N5=e=>e===window;var kRe=Object.defineProperty,TRe=Object.defineProperties,_Re=Object.getOwnPropertyDescriptors,RX=Object.getOwnPropertySymbols,DRe=Object.prototype.hasOwnProperty,IRe=Object.prototype.propertyIsEnumerable,BX=(e,t,n)=>t in e?kRe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ORe=(e,t)=>{for(var n in t||(t={}))DRe.call(t,n)&&BX(e,n,t[n]);if(RX)for(var n of RX(t))IRe.call(t,n)&&BX(e,n,t[n]);return e},MRe=(e,t)=>TRe(e,_Re(t));function bE(e,t){var n;const r=jo();return Es(()=>{r.value=e()},MRe(ORe({},t),{flush:(n=void 0)!=null?n:"sync"})),_b(r)}var LX;const Xr=typeof window<"u",PRe=e=>typeof e<"u",wL=e=>typeof e=="function",NRe=e=>typeof e=="string",$f=()=>{},wE=Xr&&((LX=window?.navigator)==null?void 0:LX.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function a0(e){return typeof e=="function"?e():C(e)}function Bme(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}function RRe(e,t={}){let n,r,o=$f;const i=s=>{clearTimeout(s),o(),o=$f};return s=>{const l=a0(e),u=a0(t.maxWait);return n&&i(n),l<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(s())):new Promise((d,c)=>{o=t.rejectOnCancel?c:d,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,d(s())},u)),n=setTimeout(()=>{r&&i(r),r=null,d(s())},l)})}}function BRe(e,t=!0,n=!0,r=!1){let o=0,i,a=!0,s=$f,l;const u=()=>{i&&(clearTimeout(i),i=void 0,s(),s=$f)};return c=>{const f=a0(e),p=Date.now()-o,v=()=>l=c();return u(),f<=0?(o=Date.now(),v()):(p>f&&(n||!a)?(o=Date.now(),v()):t&&(l=new Promise((h,g)=>{s=r?g:h,i=setTimeout(()=>{o=Date.now(),a=!0,h(v()),u()},Math.max(0,f-p))})),!n&&!i&&(i=setTimeout(()=>a=!0,f)),a=!1,l)}}function LRe(e){return e}function FRe(e,t){let n,r,o;const i=K(!0),a=()=>{i.value=!0,o()};St(e,a,{flush:"sync"});const s=wL(t)?t:t.get,l=wL(t)?void 0:t.set,u=CTe((d,c)=>(r=d,o=c,{get(){return i.value&&(n=s(),i.value=!1),r(),n},set(f){l?.(f)}}));return Object.isExtensible(u)&&(u.trigger=a),u}function Lb(e){return L0e()?(F0e(e),!0):!1}function URe(e){if(!Uo(e))return Wr(e);const t=new Proxy({},{get(n,r,o){return C(Reflect.get(e.value,r,o))},set(n,r,o){return Uo(e.value[r])&&!Uo(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Wr(t)}function zRe(e){return URe(ee(e))}function $Re(e,t=200,n={}){return Bme(RRe(t,n),e)}function jRe(e,t=200,n={}){const r=K(e.value),o=$Re(()=>{r.value=e.value},t,n);return St(e,()=>o()),r}function Lme(e,t=200,n=!1,r=!0,o=!1){return Bme(BRe(t,n,r,o),e)}function mH(e,t=!0){br()?qn(e):t?e():Yt(e)}function Mv(e,t,n={}){const{immediate:r=!0}=n,o=K(!1);let i=null;function a(){i&&(clearTimeout(i),i=null)}function s(){o.value=!1,a()}function l(...u){a(),o.value=!0,i=setTimeout(()=>{o.value=!1,i=null,e(...u)},a0(t))}return r&&(o.value=!0,Xr&&l()),Lb(s),{isPending:_b(o),start:l,stop:s}}function Ta(e){var t;const n=a0(e);return(t=n?.$el)!=null?t:n}const Jd=Xr?window:void 0,HRe=Xr?window.document:void 0;function Ro(...e){let t,n,r,o;if(NRe(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=Jd):[t,n,r,o]=e,!t)return $f;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],a=()=>{i.forEach(d=>d()),i.length=0},s=(d,c,f,p)=>(d.addEventListener(c,f,p),()=>d.removeEventListener(c,f,p)),l=St(()=>[Ta(t),a0(o)],([d,c])=>{a(),d&&i.push(...n.flatMap(f=>r.map(p=>s(d,f,p,c))))},{immediate:!0,flush:"post"}),u=()=>{l(),a()};return Lb(u),u}let FX=!1;function yH(e,t,n={}){const{window:r=Jd,ignore:o=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return;wE&&!FX&&(FX=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",$f)));let s=!0;const l=f=>o.some(p=>{if(typeof p=="string")return Array.from(r.document.querySelectorAll(p)).some(v=>v===f.target||f.composedPath().includes(v));{const v=Ta(p);return v&&(f.target===v||f.composedPath().includes(v))}}),d=[Ro(r,"click",f=>{const p=Ta(e);if(!(!p||p===f.target||f.composedPath().includes(p))){if(f.detail===0&&(s=!l(f)),!s){s=!0;return}t(f)}},{passive:!0,capture:i}),Ro(r,"pointerdown",f=>{const p=Ta(e);p&&(s=!f.composedPath().includes(p)&&!l(f))},{passive:!0}),a&&Ro(r,"blur",f=>{var p;const v=Ta(e);((p=r.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!v?.contains(r.document.activeElement)&&t(f)})].filter(Boolean);return()=>d.forEach(f=>f())}function WRe(e={}){var t;const{window:n=Jd}=e,r=(t=e.document)!=null?t:n?.document,o=FRe(()=>null,()=>r?.activeElement);return n&&(Ro(n,"blur",i=>{i.relatedTarget===null&&o.trigger()},!0),Ro(n,"focus",o.trigger,!0)),o}function bH(e,t=!1){const n=K(),r=()=>n.value=!!e();return r(),mH(r,t),n}function VRe(e){return JSON.parse(JSON.stringify(e))}const UX=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zX="__vueuse_ssr_handlers__";UX[zX]=UX[zX]||{};function qRe(e,t,{window:n=Jd,initialValue:r=""}={}){const o=K(r),i=ee(()=>{var a;return Ta(t)||((a=n?.document)==null?void 0:a.documentElement)});return St([i,()=>a0(e)],([a,s])=>{var l;if(a&&n){const u=(l=n.getComputedStyle(a).getPropertyValue(s))==null?void 0:l.trim();o.value=u||r}},{immediate:!0}),St(o,a=>{var s;(s=i.value)!=null&&s.style&&i.value.style.setProperty(a0(e),a)}),o}function GRe({document:e=HRe}={}){if(!e)return K("visible");const t=K(e.visibilityState);return Ro(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var $X=Object.getOwnPropertySymbols,KRe=Object.prototype.hasOwnProperty,YRe=Object.prototype.propertyIsEnumerable,QRe=(e,t)=>{var n={};for(var r in e)KRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&$X)for(var r of $X(e))t.indexOf(r)<0&&YRe.call(e,r)&&(n[r]=e[r]);return n};function li(e,t,n={}){const r=n,{window:o=Jd}=r,i=QRe(r,["window"]);let a;const s=bH(()=>o&&"ResizeObserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},u=St(()=>Ta(e),c=>{l(),s.value&&o&&c&&(a=new ResizeObserver(t),a.observe(c,i))},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return Lb(d),{isSupported:s,stop:d}}function jX(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0}=t,a=K(0),s=K(0),l=K(0),u=K(0),d=K(0),c=K(0),f=K(0),p=K(0);function v(){const h=Ta(e);if(!h){n&&(a.value=0,s.value=0,l.value=0,u.value=0,d.value=0,c.value=0,f.value=0,p.value=0);return}const g=h.getBoundingClientRect();a.value=g.height,s.value=g.bottom,l.value=g.left,u.value=g.right,d.value=g.top,c.value=g.width,f.value=g.x,p.value=g.y}return li(e,v),St(()=>Ta(e),h=>!h&&v()),o&&Ro("scroll",v,{capture:!0,passive:!0}),r&&Ro("resize",v,{passive:!0}),mH(()=>{i&&v()}),{height:a,bottom:s,left:l,right:u,top:d,width:c,x:f,y:p,update:v}}function ZRe(e,t={width:0,height:0},n={}){const{window:r=Jd,box:o="content-box"}=n,i=ee(()=>{var l,u;return(u=(l=Ta(e))==null?void 0:l.namespaceURI)==null?void 0:u.includes("svg")}),a=K(t.width),s=K(t.height);return li(e,([l])=>{const u=o==="border-box"?l.borderBoxSize:o==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&i.value){const d=Ta(e);if(d){const c=r.getComputedStyle(d);a.value=parseFloat(c.width),s.value=parseFloat(c.height)}}else if(u){const d=Array.isArray(u)?u:[u];a.value=d.reduce((c,{inlineSize:f})=>c+f,0),s.value=d.reduce((c,{blockSize:f})=>c+f,0)}else a.value=l.contentRect.width,s.value=l.contentRect.height},n),St(()=>Ta(e),l=>{a.value=l?t.width:0,s.value=l?t.height:0}),{width:a,height:s}}function XRe(e,t,n={}){const{root:r,rootMargin:o="0px",threshold:i=.1,window:a=Jd}=n,s=bH(()=>a&&"IntersectionObserver"in a);let l=$f;const u=s.value?St(()=>({el:Ta(e),root:Ta(r)}),({el:c,root:f})=>{if(l(),!c)return;const p=new IntersectionObserver(t,{root:f,rootMargin:o,threshold:i});p.observe(c),l=()=>{p.disconnect(),l=$f}},{immediate:!0,flush:"post"}):$f,d=()=>{l(),u()};return Lb(d),{isSupported:s,stop:d}}var HX=Object.getOwnPropertySymbols,JRe=Object.prototype.hasOwnProperty,eBe=Object.prototype.propertyIsEnumerable,tBe=(e,t)=>{var n={};for(var r in e)JRe.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&HX)for(var r of HX(e))t.indexOf(r)<0&&eBe.call(e,r)&&(n[r]=e[r]);return n};function Fme(e,t,n={}){const r=n,{window:o=Jd}=r,i=tBe(r,["window"]);let a;const s=bH(()=>o&&"MutationObserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},u=St(()=>Ta(e),c=>{l(),s.value&&o&&c&&(a=new MutationObserver(t),a.observe(c,i))},{immediate:!0}),d=()=>{l(),u()};return Lb(d),{isSupported:s,stop:d}}var WX;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(WX||(WX={}));var nBe=Object.defineProperty,VX=Object.getOwnPropertySymbols,rBe=Object.prototype.hasOwnProperty,oBe=Object.prototype.propertyIsEnumerable,qX=(e,t,n)=>t in e?nBe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,iBe=(e,t)=>{for(var n in t||(t={}))rBe.call(t,n)&&qX(e,n,t[n]);if(VX)for(var n of VX(t))oBe.call(t,n)&&qX(e,n,t[n]);return e};const aBe={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};iBe({linear:LRe},aBe);function Ume(e,t,n,r={}){var o,i,a;const{clone:s=!1,passive:l=!1,eventName:u,deep:d=!1,defaultValue:c}=r,f=br(),p=n||f?.emit||((o=f?.$emit)==null?void 0:o.bind(f))||((a=(i=f?.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(f?.proxy));let v=u;t||(t="modelValue"),v=u||v||`update:${t.toString()}`;const h=y=>s?wL(s)?s(y):VRe(y):y,g=()=>PRe(e[t])?h(e[t]):c;if(l){const y=g(),m=K(y);return St(()=>e[t],b=>m.value=h(b)),St(m,b=>{(b!==e[t]||d)&&p(v,b)},{deep:d}),m}else return ee({get(){return g()},set(y){p(v,y)}})}function sBe({window:e=Jd}={}){if(!e)return K(!1);const t=K(e.document.hasFocus());return Ro(e,"blur",()=>{t.value=!1}),Ro(e,"focus",()=>{t.value=!0}),t}function lBe(e={}){const{window:t=Jd,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:o=!0,includeScrollbar:i=!0}=e,a=K(n),s=K(r),l=()=>{t&&(i?(a.value=t.innerWidth,s.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};return l(),mH(l),Ro("resize",l,{passive:!0}),o&&Ro("orientationchange",l,{passive:!0}),{width:a,height:s}}const GX={current:0},KX=K(0),zme=2e3,YX=Symbol("elZIndexContextKey"),$me=Symbol("zIndexContextKey"),Fb=e=>{const t=br()?dn(YX,GX):GX,n=e||(br()?dn($me,void 0):void 0),r=ee(()=>{const a=C(n);return $n(a)?a:zme}),o=ee(()=>r.value+KX.value),i=()=>(t.current++,KX.value=t.current,o.value);return!Xr&&dn(YX),{initialZIndex:r,currentZIndex:o,nextZIndex:i}};var uBe={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const cBe=e=>(t,n)=>dBe(t,n,C(e)),dBe=(e,t,n)=>Xi(n,e,e).replace(/\{(\w+)\}/g,(r,o)=>{var i;return`${(i=t?.[o])!=null?i:`{${o}}`}`}),fBe=e=>{const t=ee(()=>C(e).name),n=Uo(e)?e:K(e);return{lang:t,locale:n,t:cBe(e)}},jme=Symbol("localeContextKey"),Gr=e=>{const t=e||dn(jme,K());return fBe(ee(()=>t.value||uBe))},Hme="__epPropKey",ct=e=>e,pBe=e=>dr(e)&&!!e[Hme],Jc=(e,t)=>{if(!dr(e)||pBe(e))return e;const{values:n,required:r,default:o,type:i,validator:a}=e,l={type:i,required:!!r,validator:n||a?u=>{let d=!1,c=[];if(n&&(c=Array.from(n),no(e,"default")&&c.push(o),d||(d=c.includes(u))),a&&(d||(d=a(u))),!d&&c.length>0){const f=[...new Set(c)].map(p=>JSON.stringify(p)).join(", ");T_e(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${f}], got value ${JSON.stringify(u)}.`)}return d}:void 0,[Hme]:!0};return no(e,"default")&&(l.default=o),l},Jt=e=>Y3(Object.entries(e).map(([t,n])=>[t,Jc(n,t)])),ef=["","default","small","large"],Aa=Jc({type:String,values:ef,required:!1}),Wme=Symbol("size"),Vme=()=>{const e=dn(Wme,{});return ee(()=>C(e.size)||"")},qme=Symbol("emptyValuesContextKey"),hBe=["",void 0,null],gBe=void 0,lm=Jt({emptyValues:Array,valueOnClear:{type:ct([String,Number,Boolean,Function]),default:void 0,validator:e=>Rn(e)?!e():!e}}),R5=(e,t)=>{const n=br()?dn(qme,K({})):K({}),r=ee(()=>e.emptyValues||n.value.emptyValues||hBe),o=ee(()=>Rn(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:Rn(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:gBe),i=a=>r.value.includes(a);return r.value.includes(o.value),{emptyValues:r,valueOnClear:o,isEmptyValue:i}},My=e=>Object.keys(e),Gme=e=>Object.entries(e),t3=(e,t,n)=>({get value(){return Xi(e,t,n)},set value(r){bRe(e,t,r)}}),AE=K();function Ub(e,t=void 0){const n=br()?dn(qve,AE):AE;return e?ee(()=>{var r,o;return(o=(r=n.value)==null?void 0:r[e])!=null?o:t}):n}function rD(e,t){const n=Ub(),r=Vt(e,ee(()=>{var s;return((s=n.value)==null?void 0:s.namespace)||J4})),o=Gr(ee(()=>{var s;return(s=n.value)==null?void 0:s.locale})),i=Fb(ee(()=>{var s;return((s=n.value)==null?void 0:s.zIndex)||zme})),a=ee(()=>{var s;return C(t)||((s=n.value)==null?void 0:s.size)||""});return wH(ee(()=>C(n)||{})),{ns:r,locale:o,zIndex:i,size:a}}const wH=(e,t,n=!1)=>{var r;const o=!!br(),i=o?Ub():void 0,a=(r=t?.provide)!=null?r:o?_r:void 0;if(!a)return;const s=ee(()=>{const l=C(e);return i?.value?vBe(i.value,l):l});return a(qve,s),a(jme,ee(()=>s.value.locale)),a(Gve,ee(()=>s.value.namespace)),a($me,ee(()=>s.value.zIndex)),a(Wme,{size:ee(()=>s.value.size||"")}),a(qme,ee(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(n||!AE.value)&&(AE.value=s.value),s},vBe=(e,t)=>{const n=[...new Set([...My(e),...My(t)])],r={};for(const o of n)r[o]=t[o]!==void 0?t[o]:e[o];return r},mBe=(e=[])=>({version:tIe,install:(n,r)=>{n[rX]||(n[rX]=!0,e.forEach(o=>n.use(o)),r&&wH(r,n,!0))}}),Qn="update:modelValue",Pr="change",ba="input",yBe=Jt({zIndex:{type:ct([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),bBe={scroll:({scrollTop:e,fixed:t})=>$n(e)&&Eo(t),[Pr]:e=>Eo(e)};var on=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function wBe(e,t,n,r){const o=n-t;return e/=r/2,e<1?o/2*e*e*e+t:o/2*((e-=2)*e*e+2)+t}const s0=e=>Xr?window.requestAnimationFrame(e):setTimeout(e,16),Pv=e=>Xr?window.cancelAnimationFrame(e):clearTimeout(e),Kme=(e="")=>e.split(" ").filter(t=>!!t.trim()),Ol=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},zu=(e,t)=>{!e||!t.trim()||e.classList.add(...Kme(t))},Ws=(e,t)=>{!e||!t.trim()||e.classList.remove(...Kme(t))},Mf=(e,t)=>{var n;if(!Xr||!e||!t)return"";let r=dl(t);r==="float"&&(r="cssFloat");try{const o=e.style[r];if(o)return o;const i=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return i?i[r]:""}catch{return e.style[r]}},Yme=(e,t,n)=>{if(!(!e||!t))if(dr(t))Gme(t).forEach(([r,o])=>Yme(e,r,o));else{const r=dl(t);e.style[r]=n}};function _i(e,t="px"){if(!e)return"";if($n(e)||ERe(e))return`${e}${t}`;if(In(e))return e}const ABe=(e,t)=>{if(!Xr)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=Mf(e,n);return["scroll","auto","overlay"].some(o=>r.includes(o))},AH=(e,t)=>{if(!Xr)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(ABe(n,t))return n;n=n.parentNode}return n};let gx;const Qme=e=>{var t;if(!Xr)return 0;if(gx!==void 0)return gx;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",n.appendChild(o);const i=o.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),gx=r-i,gx};function CH(e,t){if(!Xr)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const o=t.offsetTop+n.reduce((l,u)=>l+u.offsetTop,0),i=o+t.offsetHeight,a=e.scrollTop,s=a+e.clientHeight;os&&(e.scrollTop=i-e.clientHeight)}function CBe(e,t,n,r,o){const i=Date.now();let a;const s=()=>{const u=Date.now()-i,d=wBe(u>r?r:u,t,n,r);N5(e)?e.scrollTo(window.pageXOffset,d):e.scrollTop=d,u{a&&Pv(a)}}const QX=(e,t)=>N5(t)?e.ownerDocument.documentElement:t,ZX=e=>N5(e)?window.scrollY:e.scrollTop;class xBe extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function na(e,t){throw new xBe(`[${e}] ${t}`)}const Zme="ElAffix",SBe=nt({name:Zme}),EBe=nt({...SBe,props:yBe,emits:bBe,setup(e,{expose:t,emit:n}){const r=e,o=Vt("affix"),i=jo(),a=jo(),s=jo(),{height:l}=lBe(),{height:u,width:d,top:c,bottom:f,update:p}=jX(a,{windowScroll:!1}),v=jX(i),h=K(!1),g=K(0),y=K(0),m=ee(()=>({height:h.value?`${u.value}px`:"",width:h.value?`${d.value}px`:""})),b=ee(()=>{if(!h.value)return{};const E=r.offset?_i(r.offset):0;return{height:`${u.value}px`,width:`${d.value}px`,top:r.position==="top"?E:"",bottom:r.position==="bottom"?E:"",transform:y.value?`translateY(${y.value}px)`:"",zIndex:r.zIndex}}),w=()=>{if(!s.value)return;g.value=s.value instanceof Window?document.documentElement.scrollTop:s.value.scrollTop||0;const{position:E,target:D,offset:_}=r,M=_+u.value;if(E==="top")if(D){const O=v.bottom.value-M;h.value=_>c.value&&v.bottom.value>0,y.value=O<0?O:0}else h.value=_>c.value;else if(D){const O=l.value-v.top.value-M;h.value=l.value-_v.top.value,y.value=O<0?-O:0}else h.value=l.value-_{if(!h.value){p();return}h.value=!1,await Yt(),p(),h.value=!0},S=async()=>{p(),await Yt(),n("scroll",{scrollTop:g.value,fixed:h.value})};return St(h,E=>n(Pr,E)),qn(()=>{var E;r.target?(i.value=(E=document.querySelector(r.target))!=null?E:void 0,i.value||na(Zme,`Target does not exist: ${r.target}`)):i.value=document.documentElement,s.value=AH(a.value,!0),p()}),Ro(s,"scroll",S),Es(w),t({update:w,updateRoot:A}),(E,D)=>(L(),G("div",{ref_key:"root",ref:a,class:oe(C(o).b()),style:rn(C(m))},[x("div",{class:oe({[C(o).m("fixed")]:h.value}),style:rn(C(b))},[ht(E.$slots,"default")],6)],6))}});var kBe=on(EBe,[["__file","affix.vue"]]);const or=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},Xme=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),TBe=(e,t)=>(e.install=n=>{n.directive(t,e)},e),vi=e=>(e.install=bo,e),_Be=or(kBe),DBe=Jt({size:{type:ct([Number,String])},color:{type:String}}),IBe=nt({name:"ElIcon",inheritAttrs:!1}),OBe=nt({...IBe,props:DBe,setup(e){const t=e,n=Vt("icon"),r=ee(()=>{const{size:o,color:i}=t;return!o&&!i?{}:{fontSize:Vr(o)?void 0:_i(o),"--color":i}});return(o,i)=>(L(),G("i",vr({class:C(n).b(),style:C(r)},o.$attrs),[ht(o.$slots,"default")],16))}});var MBe=on(OBe,[["__file","icon.vue"]]);const Dn=or(MBe);function XX(){let e;const t=(r,o)=>{n(),e=window.setTimeout(r,o)},n=()=>window.clearTimeout(e);return Lb(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Jme=Jt({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),e1e=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:i}=XX(),{registerTimeout:a,cancelTimeout:s}=XX();return{onOpen:d=>{i(()=>{r(d);const c=C(n);$n(c)&&c>0&&a(()=>{o(d)},c)},C(e))},onClose:d=>{s(),i(()=>{o(d)},C(t))}}};/*! Element Plus Icons Vue v2.3.2 */var PBe=nt({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),ed=PBe,NBe=nt({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),Jf=NBe,RBe=nt({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Da=RBe,BBe=nt({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),oD=BBe,LBe=nt({name:"Back",__name:"back",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),x("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),FBe=LBe,UBe=nt({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),zBe=UBe,$Be=nt({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),t1e=$Be,jBe=nt({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),HBe=jBe,WBe=nt({name:"Check",__name:"check",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),B5=WBe,VBe=nt({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),qBe=VBe,GBe=nt({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),x("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),xH=GBe,KBe=nt({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),SH=KBe,YBe=nt({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),x("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),tf=YBe,QBe=nt({name:"Clock",__name:"clock",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),x("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),x("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),n1e=QBe,ZBe=nt({name:"Close",__name:"close",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),vu=ZBe,XBe=nt({name:"CopyDocument",__name:"copy-document",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),x("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),JBe=XBe,eLe=nt({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),l0=eLe,tLe=nt({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),u0=tLe,nLe=nt({name:"Delete",__name:"delete",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),rLe=nLe,oLe=nt({name:"Document",__name:"document",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Py=oLe,iLe=nt({name:"Download",__name:"download",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),aLe=iLe,sLe=nt({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),lLe=sLe,uLe=nt({name:"Hide",__name:"hide",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),x("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),cLe=uLe,dLe=nt({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),Q3=dLe,fLe=nt({name:"Link",__name:"link",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),r1e=fLe,pLe=nt({name:"Loading",__name:"loading",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),jc=pLe,hLe=nt({name:"Minus",__name:"minus",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),gLe=hLe,vLe=nt({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),JX=vLe,mLe=nt({name:"More",__name:"more",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),yLe=mLe,bLe=nt({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),wLe=bLe,ALe=nt({name:"Plus",__name:"plus",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),o1e=ALe,CLe=nt({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),xLe=CLe,SLe=nt({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),ELe=SLe,kLe=nt({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),TLe=kLe,_Le=nt({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),DLe=_Le,ILe=nt({name:"Search",__name:"search",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),OLe=ILe,MLe=nt({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),PLe=MLe,NLe=nt({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),RLe=NLe,BLe=nt({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),vx=BLe,LLe=nt({name:"Star",__name:"star",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),FLe=LLe,ULe=nt({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),i1e=ULe,zLe=nt({name:"View",__name:"view",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),a1e=zLe,$Le=nt({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),zb=$Le,jLe=nt({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),s1e=jLe,HLe=nt({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(L(),G("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[x("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),WLe=HLe;const wo=ct([String,Object,Function]),l1e={Close:vu},EH={Close:vu,SuccessFilled:i1e,InfoFilled:Q3,WarningFilled:zb,CircleCloseFilled:SH},c0={primary:Q3,success:i1e,warning:zb,error:SH,info:Q3},iD={validating:jc,success:xH,error:tf},VLe=["light","dark"],qLe=Jt({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:My(c0),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:VLe,default:"light"},...Jme}),GLe={open:()=>!0,close:e=>Vr(e)||e instanceof Event},KLe=nt({name:"ElAlert"}),YLe=nt({...KLe,props:qLe,emits:GLe,setup(e,{emit:t}){const n=e,{Close:r}=EH,o=ga(),i=Vt("alert"),a=K(!1),s=ee(()=>c0[n.type]),l=ee(()=>!!(n.description||o.default)),u=()=>{a.value=!0,t("open")},d=p=>{a.value=!1,t("close",p)},{onOpen:c,onClose:f}=e1e({showAfter:co(n,"showAfter"),hideAfter:co(n,"hideAfter"),autoClose:co(n,"autoClose"),open:u,close:d});return Xr&&c(),(p,v)=>(L(),yt(Ki,{name:C(i).b("fade"),persisted:""},{default:rt(()=>[cn(x("div",{class:oe([C(i).b(),C(i).m(p.type),C(i).is("center",p.center),C(i).is(p.effect)]),role:"alert"},[p.showIcon&&(p.$slots.icon||C(s))?(L(),yt(C(Dn),{key:0,class:oe([C(i).e("icon"),{[C(i).is("big")]:C(l)}])},{default:rt(()=>[ht(p.$slots,"icon",{},()=>[(L(),yt(mr(C(s))))])]),_:3},8,["class"])):xe("v-if",!0),x("div",{class:oe(C(i).e("content"))},[p.title||p.$slots.title?(L(),G("span",{key:0,class:oe([C(i).e("title"),{"with-description":C(l)}])},[ht(p.$slots,"title",{},()=>[bn(je(p.title),1)])],2)):xe("v-if",!0),C(l)?(L(),G("p",{key:1,class:oe(C(i).e("description"))},[ht(p.$slots,"default",{},()=>[bn(je(p.description),1)])],2)):xe("v-if",!0),p.closable?(L(),G(Rt,{key:2},[p.closeText?(L(),G("div",{key:0,class:oe([C(i).e("close-btn"),C(i).is("customed")]),onClick:d},je(p.closeText),3)):(L(),yt(C(Dn),{key:1,class:oe(C(i).e("close-btn")),onClick:C(f)},{default:rt(()=>[He(C(r))]),_:1},8,["class","onClick"]))],64)):xe("v-if",!0)],2)],2),[[kr,a.value]])]),_:3},8,["name"]))}});var QLe=on(YLe,[["__file","alert.vue"]]);const ZLe=or(QLe),kH=()=>Xr&&/firefox/i.test(window.navigator.userAgent);let Sl;const XLe={height:"0",visibility:"hidden",overflow:kH()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},JLe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"];function eFe(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:JLe.map(a=>[a,t.getPropertyValue(a)]),paddingSize:r,borderSize:o,boxSizing:n}}function eJ(e,t=1,n){var r,o;Sl||(Sl=document.createElement("textarea"),((r=e.parentNode)!=null?r:document.body).appendChild(Sl));const{paddingSize:i,borderSize:a,boxSizing:s,contextStyle:l}=eFe(e);l.forEach(([f,p])=>Sl?.style.setProperty(f,p)),Object.entries(XLe).forEach(([f,p])=>Sl?.style.setProperty(f,p,"important")),Sl.value=e.value||e.placeholder||"";let u=Sl.scrollHeight;const d={};s==="border-box"?u=u+a:s==="content-box"&&(u=u-i),Sl.value="";const c=Sl.scrollHeight-i;if($n(t)){let f=c*t;s==="border-box"&&(f=f+i+a),u=Math.max(f,u),d.minHeight=`${f}px`}if($n(n)){let f=c*n;s==="border-box"&&(f=f+i+a),u=Math.min(f,u)}return d.height=`${u}px`,(o=Sl.parentNode)==null||o.removeChild(Sl),Sl=void 0,d}const fi=e=>e,tFe=Jt({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),_s=e=>uu(tFe,e),L5=Jt({id:{type:String,default:void 0},size:Aa,disabled:Boolean,modelValue:{type:ct([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:ct([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:wo,default:tf},showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:wo},prefixIcon:{type:wo},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:ct([Object,Array,String]),default:()=>fi({})},autofocus:Boolean,rows:{type:Number,default:2},..._s(["ariaLabel"]),inputmode:{type:ct(String),default:void 0},name:String}),nFe={[Qn]:e=>In(e),input:e=>In(e),change:e=>In(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rFe=["class","style"],oFe=/^on[A-Z]/,aD=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=ee(()=>(n?.value||[]).concat(rFe)),o=br();return ee(o?()=>{var i;return Y3(Object.entries((i=o.proxy)==null?void 0:i.$attrs).filter(([a])=>!r.value.includes(a)&&!(t&&oFe.test(a))))}:()=>({}))},tJ={prefix:Math.floor(Math.random()*1e4),current:0},iFe=Symbol("elIdInjection"),TH=()=>br()?dn(iFe,tJ):tJ,ps=e=>{const t=TH(),n=tH();return bE(()=>C(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},um=Symbol("formContextKey"),Hd=Symbol("formItemContextKey"),Ds=()=>{const e=dn(um,void 0),t=dn(Hd,void 0);return{form:e,formItem:t}},fc=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=K(!1)),r||(r=K(!1));const o=br(),i=()=>{let u=o?.parent;for(;u;){if(u.type.name==="ElFormItem")return!1;if(u.type.name==="ElLabelWrap")return!0;u=u.parent}return!1},a=K();let s;const l=ee(()=>{var u;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((u=t.inputIds)==null?void 0:u.length)<=1)});return qn(()=>{s=St([co(e,"id"),n],([u,d])=>{const c=u??(d?void 0:ps().value);c!==a.value&&(t?.removeInputId&&!i()&&(a.value&&t.removeInputId(a.value),!r?.value&&!d&&c&&t.addInputId(c)),a.value=c)},{immediate:!0})}),yl(()=>{s&&s(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:l,inputId:a}},u1e=e=>{const t=br();return ee(()=>{var n,r;return(r=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},ha=(e,t={})=>{const n=K(void 0),r=t.prop?n:u1e("size"),o=t.global?n:Vme(),i=t.form?{size:void 0}:dn(um,void 0),a=t.formItem?{size:void 0}:dn(Hd,void 0);return ee(()=>r.value||C(e)||a?.size||i?.size||o.value||"")},Va=e=>{const t=u1e("disabled"),n=dn(um,void 0);return ee(()=>t.value||C(e)||n?.disabled||!1)},aFe='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',sFe=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,nJ=e=>Array.from(e.querySelectorAll(aFe)).filter(t=>Z3(t)&&sFe(t)),Z3=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.tabIndex<0||e.hasAttribute("disabled")||e.getAttribute("aria-disabled")==="true")return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},CS=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const o=document.createEvent(r);return o.initEvent(t,...n),e.dispatchEvent(o),e},c1e=e=>!e.getAttribute("aria-owns"),d1e=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const o=r.querySelectorAll(n),i=Array.prototype.indexOf.call(o,e);return o[i+t]||null},xS=e=>{e&&(e.focus(),!c1e(e)&&e.click())};function Ap(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:o,afterBlur:i}={}){const a=br(),{emit:s}=a,l=jo(),u=K(!1),d=p=>{const v=Rn(n)?n(p):!1;C(t)||u.value||v||(u.value=!0,s("focus",p),r?.())},c=p=>{var v;const h=Rn(o)?o(p):!1;C(t)||p.relatedTarget&&((v=l.value)!=null&&v.contains(p.relatedTarget))||h||(u.value=!1,s("blur",p),i?.())},f=p=>{var v,h;C(t)||Z3(p.target)||(v=l.value)!=null&&v.contains(document.activeElement)&&l.value!==document.activeElement||(h=e.value)==null||h.focus()};return St([l,()=>C(t)],([p,v])=>{p&&(v?p.removeAttribute("tabindex"):p.setAttribute("tabindex","-1"))}),Ro(l,"focus",d,!0),Ro(l,"blur",c,!0),Ro(l,"click",f,!0),{isFocused:u,wrapperRef:l,handleFocus:d,handleBlur:c}}const lFe=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function F5({afterComposition:e,emit:t}){const n=K(!1),r=s=>{t?.("compositionstart",s),n.value=!0},o=s=>{var l;t?.("compositionupdate",s);const u=(l=s.target)==null?void 0:l.value,d=u[u.length-1]||"";n.value=!lFe(d)},i=s=>{t?.("compositionend",s),n.value&&(n.value=!1,Yt(()=>e(s)))};return{isComposing:n,handleComposition:s=>{s.type==="compositionend"?i(s):o(s)},handleCompositionStart:r,handleCompositionUpdate:o,handleCompositionEnd:i}}function uFe(e){let t;function n(){if(e.value==null)return;const{selectionStart:o,selectionEnd:i,value:a}=e.value;if(o==null||i==null)return;const s=a.slice(0,Math.max(0,o)),l=a.slice(Math.max(0,i));t={selectionStart:o,selectionEnd:i,value:a,beforeTxt:s,afterTxt:l}}function r(){if(e.value==null||t==null)return;const{value:o}=e.value,{beforeTxt:i,afterTxt:a,selectionStart:s}=t;if(i==null||a==null||s==null)return;let l=o.length;if(o.endsWith(a))l=o.length-a.length;else if(o.startsWith(i))l=i.length;else{const u=i[s-1],d=o.indexOf(u,s-1);d!==-1&&(l=d+1)}e.value.setSelectionRange(l,l)}return[n,r]}const cFe="ElInput",dFe=nt({name:cFe,inheritAttrs:!1}),fFe=nt({...dFe,props:L5,emits:nFe,setup(e,{expose:t,emit:n}){const r=e,o=yp(),i=aD(),a=ga(),s=ee(()=>[r.type==="textarea"?h.b():v.b(),v.m(f.value),v.is("disabled",p.value),v.is("exceed",F.value),{[v.b("group")]:a.prepend||a.append,[v.m("prefix")]:a.prefix||r.prefixIcon,[v.m("suffix")]:a.suffix||r.suffixIcon||r.clearable||r.showPassword,[v.bm("suffix","password-clear")]:j.value&&q.value,[v.b("hidden")]:r.type==="hidden"},o.class]),l=ee(()=>[v.e("wrapper"),v.is("focus",D.value)]),{form:u,formItem:d}=Ds(),{inputId:c}=fc(r,{formItemContext:d}),f=ha(),p=Va(),v=Vt("input"),h=Vt("textarea"),g=jo(),y=jo(),m=K(!1),b=K(!1),w=K(),A=jo(r.inputStyle),S=ee(()=>g.value||y.value),{wrapperRef:E,isFocused:D,handleFocus:_,handleBlur:M}=Ap(S,{disabled:p,afterBlur(){var Ne;r.validateEvent&&((Ne=d?.validate)==null||Ne.call(d,"blur").catch(Re=>void 0))}}),O=ee(()=>{var Ne;return(Ne=u?.statusIcon)!=null?Ne:!1}),k=ee(()=>d?.validateState||""),R=ee(()=>k.value&&iD[k.value]),N=ee(()=>b.value?a1e:cLe),W=ee(()=>[o.style]),B=ee(()=>[r.inputStyle,A.value,{resize:r.resize}]),z=ee(()=>ea(r.modelValue)?"":String(r.modelValue)),j=ee(()=>r.clearable&&!p.value&&!r.readonly&&!!z.value&&(D.value||m.value)),q=ee(()=>r.showPassword&&!p.value&&!!z.value),Y=ee(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),U=ee(()=>z.value.length),F=ee(()=>!!Y.value&&U.value>Number(r.maxlength)),H=ee(()=>!!a.suffix||!!r.suffixIcon||j.value||r.showPassword||Y.value||!!k.value&&O.value),[re,X]=uFe(g);li(y,Ne=>{if(le(),!Y.value||r.resize!=="both")return;const Re=Ne[0],{width:gt}=Re.contentRect;w.value={right:`calc(100% - ${gt+15+6}px)`}});const te=()=>{const{type:Ne,autosize:Re}=r;if(!(!Xr||Ne!=="textarea"||!y.value))if(Re){const gt=dr(Re)?Re.minRows:void 0,Bt=dr(Re)?Re.maxRows:void 0,Lt=eJ(y.value,gt,Bt);A.value={overflowY:"hidden",...Lt},Yt(()=>{y.value.offsetHeight,A.value=Lt})}else A.value={minHeight:eJ(y.value).minHeight}},le=(Ne=>{let Re=!1;return()=>{var gt;if(Re||!r.autosize)return;((gt=y.value)==null?void 0:gt.offsetParent)===null||(Ne(),Re=!0)}})(te),ve=()=>{const Ne=S.value,Re=r.formatter?r.formatter(z.value):z.value;!Ne||Ne.value===Re||(Ne.value=Re)},Pe=async Ne=>{re();let{value:Re}=Ne.target;if(r.formatter&&r.parser&&(Re=r.parser(Re)),!he.value){if(Re===z.value){ve();return}n(Qn,Re),n(ba,Re),await Yt(),ve(),X()}},Ae=Ne=>{let{value:Re}=Ne.target;r.formatter&&r.parser&&(Re=r.parser(Re)),n(Pr,Re)},{isComposing:he,handleCompositionStart:Ee,handleCompositionUpdate:Q,handleCompositionEnd:me}=F5({emit:n,afterComposition:Pe}),De=()=>{re(),b.value=!b.value,setTimeout(X)},pe=()=>{var Ne;return(Ne=S.value)==null?void 0:Ne.focus()},ie=()=>{var Ne;return(Ne=S.value)==null?void 0:Ne.blur()},ue=Ne=>{m.value=!1,n("mouseleave",Ne)},Be=Ne=>{m.value=!0,n("mouseenter",Ne)},Me=Ne=>{n("keydown",Ne)},Fe=()=>{var Ne;(Ne=S.value)==null||Ne.select()},ze=()=>{n(Qn,""),n(Pr,""),n("clear"),n(ba,"")};return St(()=>r.modelValue,()=>{var Ne;Yt(()=>te()),r.validateEvent&&((Ne=d?.validate)==null||Ne.call(d,"change").catch(Re=>void 0))}),St(z,()=>ve()),St(()=>r.type,async()=>{await Yt(),ve(),te()}),qn(()=>{!r.formatter&&r.parser,ve(),Yt(te)}),t({input:g,textarea:y,ref:S,textareaStyle:B,autosize:co(r,"autosize"),isComposing:he,focus:pe,blur:ie,select:Fe,clear:ze,resizeTextarea:te}),(Ne,Re)=>(L(),G("div",{class:oe([C(s),{[C(v).bm("group","append")]:Ne.$slots.append,[C(v).bm("group","prepend")]:Ne.$slots.prepend}]),style:rn(C(W)),onMouseenter:Be,onMouseleave:ue},[xe(" input "),Ne.type!=="textarea"?(L(),G(Rt,{key:0},[xe(" prepend slot "),Ne.$slots.prepend?(L(),G("div",{key:0,class:oe(C(v).be("group","prepend"))},[ht(Ne.$slots,"prepend")],2)):xe("v-if",!0),x("div",{ref_key:"wrapperRef",ref:E,class:oe(C(l))},[xe(" prefix slot "),Ne.$slots.prefix||Ne.prefixIcon?(L(),G("span",{key:0,class:oe(C(v).e("prefix"))},[x("span",{class:oe(C(v).e("prefix-inner"))},[ht(Ne.$slots,"prefix"),Ne.prefixIcon?(L(),yt(C(Dn),{key:0,class:oe(C(v).e("icon"))},{default:rt(()=>[(L(),yt(mr(Ne.prefixIcon)))]),_:1},8,["class"])):xe("v-if",!0)],2)],2)):xe("v-if",!0),x("input",vr({id:C(c),ref_key:"input",ref:g,class:C(v).e("inner")},C(i),{name:Ne.name,minlength:Ne.minlength,maxlength:Ne.maxlength,type:Ne.showPassword?b.value?"text":"password":Ne.type,disabled:C(p),readonly:Ne.readonly,autocomplete:Ne.autocomplete,tabindex:Ne.tabindex,"aria-label":Ne.ariaLabel,placeholder:Ne.placeholder,style:Ne.inputStyle,form:Ne.form,autofocus:Ne.autofocus,role:Ne.containerRole,inputmode:Ne.inputmode,onCompositionstart:C(Ee),onCompositionupdate:C(Q),onCompositionend:C(me),onInput:Pe,onChange:Ae,onKeydown:Me}),null,16,["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode","onCompositionstart","onCompositionupdate","onCompositionend"]),xe(" suffix slot "),C(H)?(L(),G("span",{key:1,class:oe(C(v).e("suffix"))},[x("span",{class:oe(C(v).e("suffix-inner"))},[!C(j)||!C(q)||!C(Y)?(L(),G(Rt,{key:0},[ht(Ne.$slots,"suffix"),Ne.suffixIcon?(L(),yt(C(Dn),{key:0,class:oe(C(v).e("icon"))},{default:rt(()=>[(L(),yt(mr(Ne.suffixIcon)))]),_:1},8,["class"])):xe("v-if",!0)],64)):xe("v-if",!0),C(j)?(L(),yt(C(Dn),{key:1,class:oe([C(v).e("icon"),C(v).e("clear")]),onMousedown:en(C(bo),["prevent"]),onClick:ze},{default:rt(()=>[(L(),yt(mr(Ne.clearIcon)))]),_:1},8,["class","onMousedown"])):xe("v-if",!0),C(q)?(L(),yt(C(Dn),{key:2,class:oe([C(v).e("icon"),C(v).e("password")]),onClick:De},{default:rt(()=>[(L(),yt(mr(C(N))))]),_:1},8,["class"])):xe("v-if",!0),C(Y)?(L(),G("span",{key:3,class:oe(C(v).e("count"))},[x("span",{class:oe(C(v).e("count-inner"))},je(C(U))+" / "+je(Ne.maxlength),3)],2)):xe("v-if",!0),C(k)&&C(R)&&C(O)?(L(),yt(C(Dn),{key:4,class:oe([C(v).e("icon"),C(v).e("validateIcon"),C(v).is("loading",C(k)==="validating")])},{default:rt(()=>[(L(),yt(mr(C(R))))]),_:1},8,["class"])):xe("v-if",!0)],2)],2)):xe("v-if",!0)],2),xe(" append slot "),Ne.$slots.append?(L(),G("div",{key:1,class:oe(C(v).be("group","append"))},[ht(Ne.$slots,"append")],2)):xe("v-if",!0)],64)):(L(),G(Rt,{key:1},[xe(" textarea "),x("textarea",vr({id:C(c),ref_key:"textarea",ref:y,class:[C(h).e("inner"),C(v).is("focus",C(D))]},C(i),{minlength:Ne.minlength,maxlength:Ne.maxlength,tabindex:Ne.tabindex,disabled:C(p),readonly:Ne.readonly,autocomplete:Ne.autocomplete,style:C(B),"aria-label":Ne.ariaLabel,placeholder:Ne.placeholder,form:Ne.form,autofocus:Ne.autofocus,rows:Ne.rows,role:Ne.containerRole,onCompositionstart:C(Ee),onCompositionupdate:C(Q),onCompositionend:C(me),onInput:Pe,onFocus:C(_),onBlur:C(M),onChange:Ae,onKeydown:Me}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),C(Y)?(L(),G("span",{key:0,style:rn(w.value),class:oe(C(v).e("count"))},je(C(U))+" / "+je(Ne.maxlength),7)):xe("v-if",!0)],64))],38))}});var pFe=on(fFe,[["__file","input.vue"]]);const js=or(pFe),Rm=4,f1e={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},hFe=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),_H=Symbol("scrollbarContextKey"),gFe=Jt({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),vFe="Thumb",mFe=nt({__name:"thumb",props:gFe,setup(e){const t=e,n=dn(_H),r=Vt("scrollbar");n||na(vFe,"can not inject scrollbar context");const o=K(),i=K(),a=K({}),s=K(!1);let l=!1,u=!1,d=0,c=0,f=Xr?document.onselectstart:null;const p=ee(()=>f1e[t.vertical?"vertical":"horizontal"]),v=ee(()=>hFe({size:t.size,move:t.move,bar:p.value})),h=ee(()=>o.value[p.value.offset]**2/n.wrapElement[p.value.scrollSize]/t.ratio/i.value[p.value.offset]),g=D=>{var _;if(D.stopPropagation(),D.ctrlKey||[1,2].includes(D.button))return;(_=window.getSelection())==null||_.removeAllRanges(),m(D);const M=D.currentTarget;M&&(a.value[p.value.axis]=M[p.value.offset]-(D[p.value.client]-M.getBoundingClientRect()[p.value.direction]))},y=D=>{if(!i.value||!o.value||!n.wrapElement)return;const _=Math.abs(D.target.getBoundingClientRect()[p.value.direction]-D[p.value.client]),M=i.value[p.value.offset]/2,O=(_-M)*100*h.value/o.value[p.value.offset];n.wrapElement[p.value.scroll]=O*n.wrapElement[p.value.scrollSize]/100},m=D=>{D.stopImmediatePropagation(),l=!0,d=n.wrapElement.scrollHeight,c=n.wrapElement.scrollWidth,document.addEventListener("mousemove",b),document.addEventListener("mouseup",w),f=document.onselectstart,document.onselectstart=()=>!1},b=D=>{if(!o.value||!i.value||l===!1)return;const _=a.value[p.value.axis];if(!_)return;const M=(o.value.getBoundingClientRect()[p.value.direction]-D[p.value.client])*-1,O=i.value[p.value.offset]-_,k=(M-O)*100*h.value/o.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=k*c/100:n.wrapElement[p.value.scroll]=k*d/100},w=()=>{l=!1,a.value[p.value.axis]=0,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",w),E(),u&&(s.value=!1)},A=()=>{u=!1,s.value=!!t.size},S=()=>{u=!0,s.value=l};Jr(()=>{E(),document.removeEventListener("mouseup",w)});const E=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return Ro(co(n,"scrollbarElement"),"mousemove",A),Ro(co(n,"scrollbarElement"),"mouseleave",S),(D,_)=>(L(),yt(Ki,{name:C(r).b("fade"),persisted:""},{default:rt(()=>[cn(x("div",{ref_key:"instance",ref:o,class:oe([C(r).e("bar"),C(r).is(C(p).key)]),onMousedown:y,onClick:en(()=>{},["stop"])},[x("div",{ref_key:"thumb",ref:i,class:oe(C(r).e("thumb")),style:rn(C(v)),onMousedown:g},null,38)],42,["onClick"]),[[kr,D.always||s.value]])]),_:1},8,["name"]))}});var rJ=on(mFe,[["__file","thumb.vue"]]);const yFe=Jt({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),bFe=nt({__name:"bar",props:yFe,setup(e,{expose:t}){const n=e,r=dn(_H),o=K(0),i=K(0),a=K(""),s=K(""),l=K(1),u=K(1);return t({handleScroll:f=>{if(f){const p=f.offsetHeight-Rm,v=f.offsetWidth-Rm;i.value=f.scrollTop*100/p*l.value,o.value=f.scrollLeft*100/v*u.value}},update:()=>{const f=r?.wrapElement;if(!f)return;const p=f.offsetHeight-Rm,v=f.offsetWidth-Rm,h=p**2/f.scrollHeight,g=v**2/f.scrollWidth,y=Math.max(h,n.minSize),m=Math.max(g,n.minSize);l.value=h/(p-h)/(y/(p-y)),u.value=g/(v-g)/(m/(v-m)),s.value=y+Rm(L(),G(Rt,null,[He(rJ,{move:o.value,ratio:u.value,size:a.value,always:f.always},null,8,["move","ratio","size","always"]),He(rJ,{move:i.value,ratio:l.value,size:s.value,vertical:"",always:f.always},null,8,["move","ratio","size","always"])],64))}});var wFe=on(bFe,[["__file","bar.vue"]]);const AFe=Jt({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:ct([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,..._s(["ariaLabel","ariaOrientation"])}),p1e={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every($n)},CFe="ElScrollbar",xFe=nt({name:CFe}),SFe=nt({...xFe,props:AFe,emits:p1e,setup(e,{expose:t,emit:n}){const r=e,o=Vt("scrollbar");let i,a,s,l=0,u=0,d="";const c={bottom:!1,top:!1,right:!1,left:!1},f=K(),p=K(),v=K(),h=K(),g=ee(()=>{const O={};return r.height&&(O.height=_i(r.height)),r.maxHeight&&(O.maxHeight=_i(r.maxHeight)),[r.wrapStyle,O]}),y=ee(()=>[r.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!r.native}]),m=ee(()=>[o.e("view"),r.viewClass]),b=O=>{var k;return(k=c[O])!=null?k:!1},w={top:"bottom",bottom:"top",left:"right",right:"left"},A=O=>{const k=w[d];if(!k)return;const R=O[d],N=O[k];R&&!c[d]&&(c[d]=!0),!N&&c[k]&&(c[k]=!1)},S=()=>{var O;if(p.value){(O=h.value)==null||O.handleScroll(p.value);const k=l,R=u;l=p.value.scrollTop,u=p.value.scrollLeft;const N={bottom:l+p.value.clientHeight>=p.value.scrollHeight-r.distance,top:l<=r.distance&&k!==0,right:u+p.value.clientWidth>=p.value.scrollWidth-r.distance&&R!==u,left:u<=r.distance&&R!==0};if(n("scroll",{scrollTop:l,scrollLeft:u}),k!==l&&(d=l>k?"bottom":"top"),R!==u&&(d=u>R?"right":"left"),r.distance>0){if(b(d))return;A(N)}N[d]&&n("end-reached",d)}};function E(O,k){dr(O)?p.value.scrollTo(O):$n(O)&&$n(k)&&p.value.scrollTo(O,k)}const D=O=>{$n(O)&&(p.value.scrollTop=O)},_=O=>{$n(O)&&(p.value.scrollLeft=O)},M=()=>{var O;(O=h.value)==null||O.update(),c[d]=!1};return St(()=>r.noresize,O=>{O?(i?.(),a?.(),s?.()):({stop:i}=li(v,M),{stop:a}=li(p,M),s=Ro("resize",M))},{immediate:!0}),St(()=>[r.maxHeight,r.height],()=>{r.native||Yt(()=>{var O;M(),p.value&&((O=h.value)==null||O.handleScroll(p.value))})}),_r(_H,Wr({scrollbarElement:f,wrapElement:p})),Db(()=>{p.value&&(p.value.scrollTop=l,p.value.scrollLeft=u)}),qn(()=>{r.native||Yt(()=>{M()})}),Qc(()=>M()),t({wrapRef:p,update:M,scrollTo:E,setScrollTop:D,setScrollLeft:_,handleScroll:S}),(O,k)=>(L(),G("div",{ref_key:"scrollbarRef",ref:f,class:oe(C(o).b())},[x("div",{ref_key:"wrapRef",ref:p,class:oe(C(y)),style:rn(C(g)),tabindex:O.tabindex,onScroll:S},[(L(),yt(mr(O.tag),{id:O.id,ref_key:"resizeRef",ref:v,class:oe(C(m)),style:rn(O.viewStyle),role:O.role,"aria-label":O.ariaLabel,"aria-orientation":O.ariaOrientation},{default:rt(()=>[ht(O.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),O.native?xe("v-if",!0):(L(),yt(wFe,{key:0,ref_key:"barRef",ref:h,always:O.always,"min-size":O.minSize},null,8,["always","min-size"]))],2))}});var EFe=on(SFe,[["__file","scrollbar.vue"]]);const Hc=or(EFe),DH=Symbol("popper"),h1e=Symbol("popperContent"),g1e=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],v1e=Jt({role:{type:String,values:g1e,default:"tooltip"}}),kFe=nt({name:"ElPopper",inheritAttrs:!1}),TFe=nt({...kFe,props:v1e,setup(e,{expose:t}){const n=e,r=K(),o=K(),i=K(),a=K(),s=ee(()=>n.role),l={triggerRef:r,popperInstanceRef:o,contentRef:i,referenceRef:a,role:s};return t(l),_r(DH,l),(u,d)=>ht(u.$slots,"default")}});var _Fe=on(TFe,[["__file","popper.vue"]]);const DFe=nt({name:"ElPopperArrow",inheritAttrs:!1}),IFe=nt({...DFe,setup(e,{expose:t}){const n=Vt("popper"),{arrowRef:r,arrowStyle:o}=dn(h1e,void 0);return Jr(()=>{r.value=void 0}),t({arrowRef:r}),(i,a)=>(L(),G("span",{ref_key:"arrowRef",ref:r,class:oe(C(n).e("arrow")),style:rn(C(o)),"data-popper-arrow":""},null,6))}});var OFe=on(IFe,[["__file","arrow.vue"]]);const m1e=Jt({virtualRef:{type:ct(Object)},virtualTriggering:Boolean,onMouseenter:{type:ct(Function)},onMouseleave:{type:ct(Function)},onClick:{type:ct(Function)},onKeydown:{type:ct(Function)},onFocus:{type:ct(Function)},onBlur:{type:ct(Function)},onContextmenu:{type:ct(Function)},id:String,open:Boolean}),y1e=Symbol("elForwardRef"),MFe=e=>{_r(y1e,{setForwardRef:n=>{e.value=n}})},PFe=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),NFe="ElOnlyChild",b1e=nt({name:NFe,setup(e,{slots:t,attrs:n}){var r;const o=dn(y1e),i=PFe((r=o?.setForwardRef)!=null?r:bo);return()=>{var a;const s=(a=t.default)==null?void 0:a.call(t,n);if(!s||s.length>1)return null;const l=w1e(s);return l?cn(Zf(l,n),[[i]]):null}}});function w1e(e){if(!e)return null;const t=e;for(const n of t){if(dr(n))switch(n.type){case da:continue;case Ib:case"svg":return oJ(n);case Rt:return w1e(n.children);default:return n}return oJ(n)}return null}function oJ(e){const t=Vt("only-child");return He("span",{class:t.e("content")},[e])}const RFe=nt({name:"ElPopperTrigger",inheritAttrs:!1}),BFe=nt({...RFe,props:m1e,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=dn(DH,void 0);MFe(o);const i=ee(()=>s.value?n.id:void 0),a=ee(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),s=ee(()=>{if(r&&r.value!=="tooltip")return r.value}),l=ee(()=>s.value?`${n.open}`:void 0);let u;const d=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return qn(()=>{St(()=>n.virtualRef,c=>{c&&(o.value=Ta(c))},{immediate:!0}),St(o,(c,f)=>{u?.(),u=void 0,cl(c)&&(d.forEach(p=>{var v;const h=n[p];h&&(c.addEventListener(p.slice(2).toLowerCase(),h),(v=f?.removeEventListener)==null||v.call(f,p.slice(2).toLowerCase(),h))}),Z3(c)&&(u=St([i,a,s,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,h)=>{ea(p[h])?c.removeAttribute(v):c.setAttribute(v,p[h])})},{immediate:!0}))),cl(f)&&Z3(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>f.removeAttribute(p))},{immediate:!0})}),Jr(()=>{if(u?.(),u=void 0,o.value&&cl(o.value)){const c=o.value;d.forEach(f=>{const p=n[f];p&&c.removeEventListener(f.slice(2).toLowerCase(),p)}),o.value=void 0}}),t({triggerRef:o}),(c,f)=>c.virtualTriggering?xe("v-if",!0):(L(),yt(C(b1e),vr({key:0},c.$attrs,{"aria-controls":C(i),"aria-describedby":C(a),"aria-expanded":C(l),"aria-haspopup":C(s)}),{default:rt(()=>[ht(c.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var LFe=on(BFe,[["__file","trigger.vue"]]);const hI="focus-trap.focus-after-trapped",gI="focus-trap.focus-after-released",FFe="focus-trap.focusout-prevented",iJ={cancelable:!0,bubbles:!1},UFe={cancelable:!0,bubbles:!1},aJ="focusAfterTrapped",sJ="focusAfterReleased",IH=Symbol("elFocusTrap"),OH=K(),sD=K(0),MH=K(0);let mx=0;const A1e=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},lJ=(e,t)=>{for(const n of e)if(!zFe(n,t))return n},zFe=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},$Fe=e=>{const t=A1e(e),n=lJ(t,e),r=lJ(t.reverse(),e);return[n,r]},jFe=e=>e instanceof HTMLInputElement&&"select"in e,Sf=(e,t)=>{if(e&&e.focus){const n=document.activeElement;let r=!1;cl(e)&&!Z3(e)&&!e.getAttribute("tabindex")&&(e.setAttribute("tabindex","-1"),r=!0),e.focus({preventScroll:!0}),MH.value=window.performance.now(),e!==n&&jFe(e)&&t&&e.select(),cl(e)&&r&&e.removeAttribute("tabindex")}};function uJ(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const HFe=()=>{let e=[];return{push:r=>{const o=e[0];o&&r!==o&&o.pause(),e=uJ(e,r),e.unshift(r)},remove:r=>{var o,i;e=uJ(e,r),(i=(o=e[0])==null?void 0:o.resume)==null||i.call(o)}}},WFe=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(Sf(r,t),document.activeElement!==n)return},cJ=HFe(),VFe=()=>sD.value>MH.value,yx=()=>{OH.value="pointer",sD.value=window.performance.now()},dJ=()=>{OH.value="keyboard",sD.value=window.performance.now()},qFe=()=>(qn(()=>{mx===0&&(document.addEventListener("mousedown",yx),document.addEventListener("touchstart",yx),document.addEventListener("keydown",dJ)),mx++}),Jr(()=>{mx--,mx<=0&&(document.removeEventListener("mousedown",yx),document.removeEventListener("touchstart",yx),document.removeEventListener("keydown",dJ))}),{focusReason:OH,lastUserFocusTimestamp:sD,lastAutomatedFocusTimestamp:MH}),bx=e=>new CustomEvent(FFe,{...UFe,detail:e}),gn={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"};let O1=[];const fJ=e=>{e.code===gn.esc&&O1.forEach(t=>t(e))},GFe=e=>{qn(()=>{O1.length===0&&document.addEventListener("keydown",fJ),Xr&&O1.push(e)}),Jr(()=>{O1=O1.filter(t=>t!==e),O1.length===0&&Xr&&document.removeEventListener("keydown",fJ)})},KFe=nt({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[aJ,sJ,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=K();let r,o;const{focusReason:i}=qFe();GFe(v=>{e.trapped&&!a.paused&&t("release-requested",v)});const a={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=v=>{if(!e.loop&&!e.trapped||a.paused)return;const{code:h,altKey:g,ctrlKey:y,metaKey:m,currentTarget:b,shiftKey:w}=v,{loop:A}=e,S=h===gn.tab&&!g&&!y&&!m,E=document.activeElement;if(S&&E){const D=b,[_,M]=$Fe(D);if(_&&M){if(!w&&E===M){const k=bx({focusReason:i.value});t("focusout-prevented",k),k.defaultPrevented||(v.preventDefault(),A&&Sf(_,!0))}else if(w&&[_,D].includes(E)){const k=bx({focusReason:i.value});t("focusout-prevented",k),k.defaultPrevented||(v.preventDefault(),A&&Sf(M,!0))}}else if(E===D){const k=bx({focusReason:i.value});t("focusout-prevented",k),k.defaultPrevented||v.preventDefault()}}};_r(IH,{focusTrapRef:n,onKeydown:s}),St(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),St([n],([v],[h])=>{v&&(v.addEventListener("keydown",s),v.addEventListener("focusin",d),v.addEventListener("focusout",c)),h&&(h.removeEventListener("keydown",s),h.removeEventListener("focusin",d),h.removeEventListener("focusout",c))});const l=v=>{t(aJ,v)},u=v=>t(sJ,v),d=v=>{const h=C(n);if(!h)return;const g=v.target,y=v.relatedTarget,m=g&&h.contains(g);e.trapped||y&&h.contains(y)||(r=y),m&&t("focusin",v),!a.paused&&e.trapped&&(m?o=g:Sf(o,!0))},c=v=>{const h=C(n);if(!(a.paused||!h))if(e.trapped){const g=v.relatedTarget;!ea(g)&&!h.contains(g)&&setTimeout(()=>{if(!a.paused&&e.trapped){const y=bx({focusReason:i.value});t("focusout-prevented",y),y.defaultPrevented||Sf(o,!0)}},0)}else{const g=v.target;g&&h.contains(g)||t("focusout",v)}};async function f(){await Yt();const v=C(n);if(v){cJ.push(a);const h=v.contains(document.activeElement)?r:document.activeElement;if(r=h,!v.contains(h)){const y=new Event(hI,iJ);v.addEventListener(hI,l),v.dispatchEvent(y),y.defaultPrevented||Yt(()=>{let m=e.focusStartEl;In(m)||(Sf(m),document.activeElement!==m&&(m="first")),m==="first"&&WFe(A1e(v),!0),(document.activeElement===h||m==="container")&&Sf(v)})}}}function p(){const v=C(n);if(v){v.removeEventListener(hI,l);const h=new CustomEvent(gI,{...iJ,detail:{focusReason:i.value}});v.addEventListener(gI,u),v.dispatchEvent(h),!h.defaultPrevented&&(i.value=="keyboard"||!VFe()||v.contains(document.activeElement))&&Sf(r??document.body),v.removeEventListener(gI,u),cJ.remove(a)}}return qn(()=>{e.trapped&&f(),St(()=>e.trapped,v=>{v?f():p()})}),Jr(()=>{e.trapped&&p(),n.value&&(n.value.removeEventListener("keydown",s),n.value.removeEventListener("focusin",d),n.value.removeEventListener("focusout",c),n.value=void 0)}),{onKeydown:s}}});function YFe(e,t,n,r,o,i){return ht(e.$slots,"default",{handleKeydown:e.onKeydown})}var $b=on(KFe,[["render",YFe],["__file","focus-trap.vue"]]),Ll="top",Ju="bottom",ec="right",Fl="left",PH="auto",U5=[Ll,Ju,ec,Fl],Ny="start",X3="end",QFe="clippingParents",C1e="viewport",M2="popper",ZFe="reference",pJ=U5.reduce(function(e,t){return e.concat([t+"-"+Ny,t+"-"+X3])},[]),Cp=[].concat(U5,[PH]).reduce(function(e,t){return e.concat([t,t+"-"+Ny,t+"-"+X3])},[]),XFe="beforeRead",JFe="read",eUe="afterRead",tUe="beforeMain",nUe="main",rUe="afterMain",oUe="beforeWrite",iUe="write",aUe="afterWrite",sUe=[XFe,JFe,eUe,tUe,nUe,rUe,oUe,iUe,aUe];function Wd(e){return e?(e.nodeName||"").toLowerCase():null}function td(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ry(e){var t=td(e).Element;return e instanceof t||e instanceof Element}function qu(e){var t=td(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function NH(e){if(typeof ShadowRoot>"u")return!1;var t=td(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function lUe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!qu(i)||!Wd(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function uUe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!qu(o)||!Wd(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}var x1e={name:"applyStyles",enabled:!0,phase:"write",fn:lUe,effect:uUe,requires:["computeStyles"]};function Bd(e){return e.split("-")[0]}var Xg=Math.max,CE=Math.min,By=Math.round;function Ly(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(qu(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=By(n.width)/a||1),i>0&&(o=By(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function RH(e){var t=Ly(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function S1e(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&NH(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ep(e){return td(e).getComputedStyle(e)}function cUe(e){return["table","td","th"].indexOf(Wd(e))>=0}function I0(e){return((Ry(e)?e.ownerDocument:e.document)||window.document).documentElement}function lD(e){return Wd(e)==="html"?e:e.assignedSlot||e.parentNode||(NH(e)?e.host:null)||I0(e)}function hJ(e){return!qu(e)||ep(e).position==="fixed"?null:e.offsetParent}function dUe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&qu(e)){var r=ep(e);if(r.position==="fixed")return null}var o=lD(e);for(NH(o)&&(o=o.host);qu(o)&&["html","body"].indexOf(Wd(o))<0;){var i=ep(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function z5(e){for(var t=td(e),n=hJ(e);n&&cUe(n)&&ep(n).position==="static";)n=hJ(n);return n&&(Wd(n)==="html"||Wd(n)==="body"&&ep(n).position==="static")?t:n||dUe(e)||t}function BH(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function n3(e,t,n){return Xg(e,CE(t,n))}function fUe(e,t,n){var r=n3(e,t,n);return r>n?n:r}function E1e(){return{top:0,right:0,bottom:0,left:0}}function k1e(e){return Object.assign({},E1e(),e)}function T1e(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var pUe=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,k1e(typeof e!="number"?e:T1e(e,U5))};function hUe(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Bd(n.placement),l=BH(s),u=[Fl,ec].indexOf(s)>=0,d=u?"height":"width";if(!(!i||!a)){var c=pUe(o.padding,n),f=RH(i),p=l==="y"?Ll:Fl,v=l==="y"?Ju:ec,h=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],g=a[l]-n.rects.reference[l],y=z5(i),m=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,b=h/2-g/2,w=c[p],A=m-f[d]-c[v],S=m/2-f[d]/2+b,E=n3(w,S,A),D=l;n.modifiersData[r]=(t={},t[D]=E,t.centerOffset=E-S,t)}}function gUe(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!S1e(t.elements.popper,o)||(t.elements.arrow=o))}var vUe={name:"arrow",enabled:!0,phase:"main",fn:hUe,effect:gUe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fy(e){return e.split("-")[1]}var mUe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yUe(e){var t=e.x,n=e.y,r=window,o=r.devicePixelRatio||1;return{x:By(t*o)/o||0,y:By(n*o)/o||0}}function gJ(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,c=e.isFixed,f=a.x,p=f===void 0?0:f,v=a.y,h=v===void 0?0:v,g=typeof d=="function"?d({x:p,y:h}):{x:p,y:h};p=g.x,h=g.y;var y=a.hasOwnProperty("x"),m=a.hasOwnProperty("y"),b=Fl,w=Ll,A=window;if(u){var S=z5(n),E="clientHeight",D="clientWidth";if(S===td(n)&&(S=I0(n),ep(S).position!=="static"&&s==="absolute"&&(E="scrollHeight",D="scrollWidth")),S=S,o===Ll||(o===Fl||o===ec)&&i===X3){w=Ju;var _=c&&S===A&&A.visualViewport?A.visualViewport.height:S[E];h-=_-r.height,h*=l?1:-1}if(o===Fl||(o===Ll||o===Ju)&&i===X3){b=ec;var M=c&&S===A&&A.visualViewport?A.visualViewport.width:S[D];p-=M-r.width,p*=l?1:-1}}var O=Object.assign({position:s},u&&mUe),k=d===!0?yUe({x:p,y:h}):{x:p,y:h};if(p=k.x,h=k.y,l){var R;return Object.assign({},O,(R={},R[w]=m?"0":"",R[b]=y?"0":"",R.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",R))}return Object.assign({},O,(t={},t[w]=m?h+"px":"",t[b]=y?p+"px":"",t.transform="",t))}function bUe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Bd(t.placement),variation:Fy(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,gJ(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,gJ(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var _1e={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bUe,data:{}},wx={passive:!0};function wUe(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=td(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(d){d.addEventListener("scroll",n.update,wx)}),s&&l.addEventListener("resize",n.update,wx),function(){i&&u.forEach(function(d){d.removeEventListener("scroll",n.update,wx)}),s&&l.removeEventListener("resize",n.update,wx)}}var D1e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:wUe,data:{}},AUe={left:"right",right:"left",bottom:"top",top:"bottom"};function SS(e){return e.replace(/left|right|bottom|top/g,function(t){return AUe[t]})}var CUe={start:"end",end:"start"};function vJ(e){return e.replace(/start|end/g,function(t){return CUe[t]})}function LH(e){var t=td(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function FH(e){return Ly(I0(e)).left+LH(e).scrollLeft}function xUe(e){var t=td(e),n=I0(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+FH(e),y:s}}function SUe(e){var t,n=I0(e),r=LH(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Xg(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Xg(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+FH(e),l=-r.scrollTop;return ep(o||n).direction==="rtl"&&(s+=Xg(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function UH(e){var t=ep(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function I1e(e){return["html","body","#document"].indexOf(Wd(e))>=0?e.ownerDocument.body:qu(e)&&UH(e)?e:I1e(lD(e))}function r3(e,t){var n;t===void 0&&(t=[]);var r=I1e(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=td(r),a=o?[i].concat(i.visualViewport||[],UH(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(r3(lD(a)))}function AL(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function EUe(e){var t=Ly(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function mJ(e,t){return t===C1e?AL(xUe(e)):Ry(t)?EUe(t):AL(SUe(I0(e)))}function kUe(e){var t=r3(lD(e)),n=["absolute","fixed"].indexOf(ep(e).position)>=0,r=n&&qu(e)?z5(e):e;return Ry(r)?t.filter(function(o){return Ry(o)&&S1e(o,r)&&Wd(o)!=="body"}):[]}function TUe(e,t,n){var r=t==="clippingParents"?kUe(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce(function(s,l){var u=mJ(e,l);return s.top=Xg(u.top,s.top),s.right=CE(u.right,s.right),s.bottom=CE(u.bottom,s.bottom),s.left=Xg(u.left,s.left),s},mJ(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function O1e(e){var t=e.reference,n=e.element,r=e.placement,o=r?Bd(r):null,i=r?Fy(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case Ll:l={x:a,y:t.y-n.height};break;case Ju:l={x:a,y:t.y+t.height};break;case ec:l={x:t.x+t.width,y:s};break;case Fl:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=o?BH(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(i){case Ny:l[u]=l[u]-(t[d]/2-n[d]/2);break;case X3:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function J3(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.boundary,a=i===void 0?QFe:i,s=n.rootBoundary,l=s===void 0?C1e:s,u=n.elementContext,d=u===void 0?M2:u,c=n.altBoundary,f=c===void 0?!1:c,p=n.padding,v=p===void 0?0:p,h=k1e(typeof v!="number"?v:T1e(v,U5)),g=d===M2?ZFe:M2,y=e.rects.popper,m=e.elements[f?g:d],b=TUe(Ry(m)?m:m.contextElement||I0(e.elements.popper),a,l),w=Ly(e.elements.reference),A=O1e({reference:w,element:y,placement:o}),S=AL(Object.assign({},y,A)),E=d===M2?S:w,D={top:b.top-E.top+h.top,bottom:E.bottom-b.bottom+h.bottom,left:b.left-E.left+h.left,right:E.right-b.right+h.right},_=e.modifiersData.offset;if(d===M2&&_){var M=_[o];Object.keys(D).forEach(function(O){var k=[ec,Ju].indexOf(O)>=0?1:-1,R=[Ll,Ju].indexOf(O)>=0?"y":"x";D[O]+=M[R]*k})}return D}function _Ue(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Cp:l,d=Fy(r),c=d?s?pJ:pJ.filter(function(v){return Fy(v)===d}):U5,f=c.filter(function(v){return u.indexOf(v)>=0});f.length===0&&(f=c);var p=f.reduce(function(v,h){return v[h]=J3(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[Bd(h)],v},{});return Object.keys(p).sort(function(v,h){return p[v]-p[h]})}function DUe(e){if(Bd(e)===PH)return[];var t=SS(e);return[vJ(e),t,vJ(t)]}function IUe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,c=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,h=n.allowedAutoPlacements,g=t.options.placement,y=Bd(g),m=y===g,b=l||(m||!v?[SS(g)]:DUe(g)),w=[g].concat(b).reduce(function(re,X){return re.concat(Bd(X)===PH?_Ue(t,{placement:X,boundary:d,rootBoundary:c,padding:u,flipVariations:v,allowedAutoPlacements:h}):X)},[]),A=t.rects.reference,S=t.rects.popper,E=new Map,D=!0,_=w[0],M=0;M=0,W=N?"width":"height",B=J3(t,{placement:O,boundary:d,rootBoundary:c,altBoundary:f,padding:u}),z=N?R?ec:Fl:R?Ju:Ll;A[W]>S[W]&&(z=SS(z));var j=SS(z),q=[];if(i&&q.push(B[k]<=0),s&&q.push(B[z]<=0,B[j]<=0),q.every(function(re){return re})){_=O,D=!1;break}E.set(O,q)}if(D)for(var Y=v?3:1,U=function(re){var X=w.find(function(te){var Z=E.get(te);if(Z)return Z.slice(0,re).every(function(le){return le})});if(X)return _=X,"break"},F=Y;F>0;F--){var H=U(F);if(H==="break")break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}}var OUe={name:"flip",enabled:!0,phase:"main",fn:IUe,requiresIfExists:["offset"],data:{_skip:!1}};function yJ(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function bJ(e){return[Ll,ec,Ju,Fl].some(function(t){return e[t]>=0})}function MUe(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=J3(t,{elementContext:"reference"}),s=J3(t,{altBoundary:!0}),l=yJ(a,r),u=yJ(s,o,i),d=bJ(l),c=bJ(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}var PUe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:MUe};function NUe(e,t,n){var r=Bd(e),o=[Fl,Ll].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Fl,ec].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function RUe(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=Cp.reduce(function(d,c){return d[c]=NUe(c,t.rects,i),d},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}var BUe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:RUe};function LUe(e){var t=e.state,n=e.name;t.modifiersData[n]=O1e({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var M1e={name:"popperOffsets",enabled:!0,phase:"read",fn:LUe,data:{}};function FUe(e){return e==="x"?"y":"x"}function UUe(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,c=n.padding,f=n.tether,p=f===void 0?!0:f,v=n.tetherOffset,h=v===void 0?0:v,g=J3(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),y=Bd(t.placement),m=Fy(t.placement),b=!m,w=BH(y),A=FUe(w),S=t.modifiersData.popperOffsets,E=t.rects.reference,D=t.rects.popper,_=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,M=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(S){if(i){var R,N=w==="y"?Ll:Fl,W=w==="y"?Ju:ec,B=w==="y"?"height":"width",z=S[w],j=z+g[N],q=z-g[W],Y=p?-D[B]/2:0,U=m===Ny?E[B]:D[B],F=m===Ny?-D[B]:-E[B],H=t.elements.arrow,re=p&&H?RH(H):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:E1e(),te=X[N],Z=X[W],le=n3(0,E[B],re[B]),ve=b?E[B]/2-Y-le-te-M.mainAxis:U-le-te-M.mainAxis,Pe=b?-E[B]/2+Y+le+Z+M.mainAxis:F+le+Z+M.mainAxis,Ae=t.elements.arrow&&z5(t.elements.arrow),he=Ae?w==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,Ee=(R=O?.[w])!=null?R:0,Q=z+ve-Ee-he,me=z+Pe-Ee,De=n3(p?CE(j,Q):j,z,p?Xg(q,me):q);S[w]=De,k[w]=De-z}if(s){var pe,ie=w==="x"?Ll:Fl,ue=w==="x"?Ju:ec,Be=S[A],Me=A==="y"?"height":"width",Fe=Be+g[ie],ze=Be-g[ue],Ne=[Ll,Fl].indexOf(y)!==-1,Re=(pe=O?.[A])!=null?pe:0,gt=Ne?Fe:Be-E[Me]-D[Me]-Re+M.altAxis,Bt=Ne?Be+E[Me]+D[Me]-Re-M.altAxis:ze,Lt=p&&Ne?fUe(gt,Be,Bt):n3(p?gt:Fe,Be,p?Bt:ze);S[A]=Lt,k[A]=Lt-Be}t.modifiersData[r]=k}}var zUe={name:"preventOverflow",enabled:!0,phase:"main",fn:UUe,requiresIfExists:["offset"]};function $Ue(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jUe(e){return e===td(e)||!qu(e)?LH(e):$Ue(e)}function HUe(e){var t=e.getBoundingClientRect(),n=By(t.width)/e.offsetWidth||1,r=By(t.height)/e.offsetHeight||1;return n!==1||r!==1}function WUe(e,t,n){n===void 0&&(n=!1);var r=qu(t),o=qu(t)&&HUe(t),i=I0(t),a=Ly(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Wd(t)!=="body"||UH(i))&&(s=jUe(t)),qu(t)?(l=Ly(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=FH(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function VUe(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function qUe(e){var t=VUe(e);return sUe.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function GUe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function KUe(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var wJ={placement:"bottom",modifiers:[],strategy:"absolute"};function AJ(){for(var e=arguments.length,t=new Array(e),n=0;n({})},strategy:{type:String,values:XUe,default:"absolute"}}),N1e=Jt({...JUe,...P1e,id:String,style:{type:ct([String,Array,Object])},className:{type:ct([String,Array,Object])},effect:{type:ct(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:ct([String,Array,Object])},popperStyle:{type:ct([String,Array,Object])},referenceEl:{type:ct(Object)},triggerTargetEl:{type:ct(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,..._s(["ariaLabel"])}),eze={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},tze=(e,t)=>{const n=K(!1),r=K();return{focusStartRef:r,trapped:n,onFocusAfterReleased:u=>{var d;((d=u.detail)==null?void 0:d.focusReason)!=="pointer"&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},nze=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,i={placement:n,strategy:r,...o,modifiers:[...oze(e),...t]};return ize(i,o?.modifiers),i},rze=e=>{if(Xr)return Ta(e)};function oze(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function ize(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const aze=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:l})=>{const u=sze(l);Object.assign(a.value,u)},requires:["computeStyles"]},o=ee(()=>{const{onFirstUpdate:l,placement:u,strategy:d,modifiers:c}=C(n);return{onFirstUpdate:l,placement:u||"bottom",strategy:d||"absolute",modifiers:[...c||[],r,{name:"applyStyles",enabled:!1}]}}),i=jo(),a=K({styles:{popper:{position:C(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return St(o,l=>{const u=C(i);u&&u.setOptions(l)},{deep:!0}),St([e,t],([l,u])=>{s(),!(!l||!u)&&(i.value=ZUe(l,u,C(o)))}),Jr(()=>{s()}),{state:ee(()=>{var l;return{...((l=C(i))==null?void 0:l.state)||{}}}),styles:ee(()=>C(a).styles),attributes:ee(()=>C(a).attributes),update:()=>{var l;return(l=C(i))==null?void 0:l.update()},forceUpdate:()=>{var l;return(l=C(i))==null?void 0:l.forceUpdate()},instanceRef:ee(()=>C(i))}};function sze(e){const t=Object.keys(e.elements),n=Y3(t.map(o=>[o,e.styles[o]||{}])),r=Y3(t.map(o=>[o,e.attributes[o]]));return{styles:n,attributes:r}}const lze=0,uze=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=dn(DH,void 0),i=K(),a=ee(()=>e.arrowOffset),s=ee(()=>({name:"eventListeners",enabled:!!e.visible})),l=ee(()=>{var y;const m=C(i),b=(y=C(a))!=null?y:lze;return{name:"arrow",enabled:!dRe(m),options:{element:m,padding:b}}}),u=ee(()=>({onFirstUpdate:()=>{v()},...nze(e,[C(l),C(s)])})),d=ee(()=>rze(e.referenceEl)||C(r)),{attributes:c,state:f,styles:p,update:v,forceUpdate:h,instanceRef:g}=aze(d,n,u);return St(g,y=>t.value=y,{flush:"sync"}),qn(()=>{St(()=>{var y;return(y=C(d))==null?void 0:y.getBoundingClientRect()},()=>{v()})}),{attributes:c,arrowRef:i,contentRef:n,instanceRef:g,state:f,styles:p,role:o,forceUpdate:h,update:v}},cze=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=Fb(),i=Vt("popper"),a=ee(()=>C(t).popper),s=K($n(e.zIndex)?e.zIndex:o()),l=ee(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),u=ee(()=>[{zIndex:C(s)},C(n).popper,e.popperStyle||{}]),d=ee(()=>r.value==="dialog"?"false":void 0),c=ee(()=>C(n).arrow||{});return{ariaModal:d,arrowStyle:c,contentAttrs:a,contentClass:l,contentStyle:u,contentZIndex:s,updateZIndex:()=>{s.value=$n(e.zIndex)?e.zIndex:o()}}},dze=nt({name:"ElPopperContent"}),fze=nt({...dze,props:N1e,emits:eze,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:o,trapped:i,onFocusAfterReleased:a,onFocusAfterTrapped:s,onFocusInTrap:l,onFocusoutPrevented:u,onReleaseRequested:d}=tze(r,n),{attributes:c,arrowRef:f,contentRef:p,styles:v,instanceRef:h,role:g,update:y}=uze(r),{ariaModal:m,arrowStyle:b,contentAttrs:w,contentClass:A,contentStyle:S,updateZIndex:E}=cze(r,{styles:v,attributes:c,role:g}),D=dn(Hd,void 0);_r(h1e,{arrowStyle:b,arrowRef:f}),D&&_r(Hd,{...D,addInputId:bo,removeInputId:bo});let _;const M=(k=!0)=>{y(),k&&E()},O=()=>{M(!1),r.visible&&r.focusOnShow?i.value=!0:r.visible===!1&&(i.value=!1)};return qn(()=>{St(()=>r.triggerTargetEl,(k,R)=>{_?.(),_=void 0;const N=C(k||p.value),W=C(R||p.value);cl(N)&&(_=St([g,()=>r.ariaLabel,m,()=>r.id],B=>{["role","aria-label","aria-modal","id"].forEach((z,j)=>{ea(B[j])?N.removeAttribute(z):N.setAttribute(z,B[j])})},{immediate:!0})),W!==N&&cl(W)&&["role","aria-label","aria-modal","id"].forEach(B=>{W.removeAttribute(B)})},{immediate:!0}),St(()=>r.visible,O,{immediate:!0})}),Jr(()=>{_?.(),_=void 0}),t({popperContentRef:p,popperInstanceRef:h,updatePopper:M,contentStyle:S}),(k,R)=>(L(),G("div",vr({ref_key:"contentRef",ref:p},C(w),{style:C(S),class:C(A),tabindex:"-1",onMouseenter:N=>k.$emit("mouseenter",N),onMouseleave:N=>k.$emit("mouseleave",N)}),[He(C($b),{trapped:C(i),"trap-on-focus-in":!0,"focus-trap-el":C(p),"focus-start-el":C(o),onFocusAfterTrapped:C(s),onFocusAfterReleased:C(a),onFocusin:C(l),onFocusoutPrevented:C(u),onReleaseRequested:C(d)},{default:rt(()=>[ht(k.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var pze=on(fze,[["__file","content.vue"]]);const R1e=or(_Fe),$H=Symbol("elTooltip"),uD=Jt({to:{type:ct([String,Object]),required:!0},disabled:Boolean}),oi=Jt({...Jme,...N1e,appendTo:{type:uD.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:ct(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,..._s(["ariaLabel"])}),oy=Jt({...m1e,disabled:Boolean,trigger:{type:ct([String,Array]),default:"hover"},triggerKeys:{type:ct(Array),default:()=>[gn.enter,gn.numpadEnter,gn.space]}}),hze=Jc({type:ct(Boolean),default:null}),gze=Jc({type:ct(Function)}),vze=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],o={[e]:hze,[n]:gze};return{useModelToggle:({indicator:a,toggleReason:s,shouldHideWhenRouteChanges:l,shouldProceed:u,onShow:d,onHide:c})=>{const f=br(),{emit:p}=f,v=f.props,h=ee(()=>Rn(v[n])),g=ee(()=>v[e]===null),y=E=>{a.value!==!0&&(a.value=!0,s&&(s.value=E),Rn(d)&&d(E))},m=E=>{a.value!==!1&&(a.value=!1,s&&(s.value=E),Rn(c)&&c(E))},b=E=>{if(v.disabled===!0||Rn(u)&&!u())return;const D=h.value&&Xr;D&&p(t,!0),(g.value||!D)&&y(E)},w=E=>{if(v.disabled===!0||!Xr)return;const D=h.value&&Xr;D&&p(t,!1),(g.value||!D)&&m(E)},A=E=>{Eo(E)&&(v.disabled&&E?h.value&&p(t,!1):a.value!==E&&(E?y():m()))},S=()=>{a.value?w():b()};return St(()=>v[e],A),l&&f.appContext.config.globalProperties.$route!==void 0&&St(()=>({...f.proxy.$route}),()=>{l.value&&a.value&&w()}),qn(()=>{A(v[e])}),{hide:w,show:b,toggle:S,hasUpdateHandler:h}},useModelToggleProps:o,useModelToggleEmits:r}},{useModelToggleProps:mze,useModelToggleEmits:yze,useModelToggle:bze}=vze("visible"),wze=Jt({...v1e,...mze,...oi,...oy,...P1e,showArrow:{type:Boolean,default:!0}}),Aze=[...yze,"before-show","before-hide","show","hide","open","close"],Cze=(e,t)=>Zt(e)?e.includes(t):e===t,Bm=(e,t,n)=>r=>{Cze(C(e),t)&&n(r)},Li=(e,t,{checkForDefaultPrevented:n=!0}={})=>o=>{const i=e?.(o);if(n===!1||!i)return t?.(o)},CJ=e=>t=>t.pointerType==="mouse"?e(t):void 0,xze=nt({name:"ElTooltipTrigger"}),Sze=nt({...xze,props:oy,setup(e,{expose:t}){const n=e,r=Vt("tooltip"),{controlled:o,id:i,open:a,onOpen:s,onClose:l,onToggle:u}=dn($H,void 0),d=K(null),c=()=>{if(C(o)||n.disabled)return!0},f=co(n,"trigger"),p=Li(c,Bm(f,"hover",s)),v=Li(c,Bm(f,"hover",l)),h=Li(c,Bm(f,"click",w=>{w.button===0&&u(w)})),g=Li(c,Bm(f,"focus",s)),y=Li(c,Bm(f,"focus",l)),m=Li(c,Bm(f,"contextmenu",w=>{w.preventDefault(),u(w)})),b=Li(c,w=>{const{code:A}=w;n.triggerKeys.includes(A)&&(w.preventDefault(),u(w))});return t({triggerRef:d}),(w,A)=>(L(),yt(C(LFe),{id:C(i),"virtual-ref":w.virtualRef,open:C(a),"virtual-triggering":w.virtualTriggering,class:oe(C(r).e("trigger")),onBlur:C(y),onClick:C(h),onContextmenu:C(m),onFocus:C(g),onMouseenter:C(p),onMouseleave:C(v),onKeydown:C(b)},{default:rt(()=>[ht(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var Eze=on(Sze,[["__file","trigger.vue"]]);const kze=nt({__name:"teleport",props:uD,setup(e){return(t,n)=>t.disabled?ht(t.$slots,"default",{key:0}):(L(),yt(QB,{key:1,to:t.to},[ht(t.$slots,"default")],8,["to"]))}});var Tze=on(kze,[["__file","teleport.vue"]]);const jb=or(Tze),B1e=()=>{const e=tH(),t=TH(),n=ee(()=>`${e.value}-popper-container-${t.prefix}`),r=ee(()=>`#${n.value}`);return{id:n,selector:r}},_ze=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Dze=()=>{const{id:e,selector:t}=B1e();return B_(()=>{Xr&&(document.body.querySelector(t.value)||_ze(e.value))}),{id:e,selector:t}},Ize=nt({name:"ElTooltipContent",inheritAttrs:!1}),Oze=nt({...Ize,props:oi,setup(e,{expose:t}){const n=e,{selector:r}=B1e(),o=Vt("tooltip"),i=K(),a=bE(()=>{var j;return(j=i.value)==null?void 0:j.popperContentRef});let s;const{controlled:l,id:u,open:d,trigger:c,onClose:f,onOpen:p,onShow:v,onHide:h,onBeforeShow:g,onBeforeHide:y}=dn($H,void 0),m=ee(()=>n.transition||`${o.namespace.value}-fade-in-linear`),b=ee(()=>n.persistent);Jr(()=>{s?.()});const w=ee(()=>C(b)?!0:C(d)),A=ee(()=>n.disabled?!1:C(d)),S=ee(()=>n.appendTo||r.value),E=ee(()=>{var j;return(j=n.style)!=null?j:{}}),D=K(!0),_=()=>{h(),z()&&Sf(document.body),D.value=!0},M=()=>{if(C(l))return!0},O=Li(M,()=>{n.enterable&&C(c)==="hover"&&p()}),k=Li(M,()=>{C(c)==="hover"&&f()}),R=()=>{var j,q;(q=(j=i.value)==null?void 0:j.updatePopper)==null||q.call(j),g?.()},N=()=>{y?.()},W=()=>{v()},B=()=>{n.virtualTriggering||f()},z=j=>{var q;const Y=(q=i.value)==null?void 0:q.popperContentRef,U=j?.relatedTarget||document.activeElement;return Y?.contains(U)};return St(()=>C(d),j=>{j?(D.value=!1,s=yH(a,()=>{if(C(l))return;C(c)!=="hover"&&f()})):s?.()},{flush:"post"}),St(()=>n.content,()=>{var j,q;(q=(j=i.value)==null?void 0:j.updatePopper)==null||q.call(j)}),t({contentRef:i,isFocusInsideContent:z}),(j,q)=>(L(),yt(C(jb),{disabled:!j.teleported,to:C(S)},{default:rt(()=>[C(w)||!D.value?(L(),yt(Ki,{key:0,name:C(m),appear:!C(b),onAfterLeave:_,onBeforeEnter:R,onAfterEnter:W,onBeforeLeave:N,persisted:""},{default:rt(()=>[cn(He(C(pze),vr({id:C(u),ref_key:"contentRef",ref:i},j.$attrs,{"aria-label":j.ariaLabel,"aria-hidden":D.value,"boundaries-padding":j.boundariesPadding,"fallback-placements":j.fallbackPlacements,"gpu-acceleration":j.gpuAcceleration,offset:j.offset,placement:j.placement,"popper-options":j.popperOptions,"arrow-offset":j.arrowOffset,strategy:j.strategy,effect:j.effect,enterable:j.enterable,pure:j.pure,"popper-class":j.popperClass,"popper-style":[j.popperStyle,C(E)],"reference-el":j.referenceEl,"trigger-target-el":j.triggerTargetEl,visible:C(A),"z-index":j.zIndex,onMouseenter:C(O),onMouseleave:C(k),onBlur:B,onClose:C(f)}),{default:rt(()=>[ht(j.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"]),[[kr,C(A)]])]),_:3},8,["name","appear"])):xe("v-if",!0)]),_:3},8,["disabled","to"]))}});var Mze=on(Oze,[["__file","content.vue"]]);const Pze=nt({name:"ElTooltip"}),Nze=nt({...Pze,props:wze,emits:Aze,setup(e,{expose:t,emit:n}){const r=e;Dze();const o=Vt("tooltip"),i=ps(),a=K(),s=K(),l=()=>{var b;const w=C(a);w&&((b=w.popperInstanceRef)==null||b.update())},u=K(!1),d=K(),{show:c,hide:f,hasUpdateHandler:p}=bze({indicator:u,toggleReason:d}),{onOpen:v,onClose:h}=e1e({showAfter:co(r,"showAfter"),hideAfter:co(r,"hideAfter"),autoClose:co(r,"autoClose"),open:c,close:f}),g=ee(()=>Eo(r.visible)&&!p.value),y=ee(()=>[o.b(),r.popperClass]);_r($H,{controlled:g,id:i,open:_b(u),trigger:co(r,"trigger"),onOpen:v,onClose:h,onToggle:b=>{C(u)?h(b):v(b)},onShow:()=>{n("show",d.value)},onHide:()=>{n("hide",d.value)},onBeforeShow:()=>{n("before-show",d.value)},onBeforeHide:()=>{n("before-hide",d.value)},updatePopper:l}),St(()=>r.disabled,b=>{b&&u.value&&(u.value=!1)});const m=b=>{var w;return(w=s.value)==null?void 0:w.isFocusInsideContent(b)};return mge(()=>u.value&&f()),t({popperRef:a,contentRef:s,isFocusInsideContent:m,updatePopper:l,onOpen:v,onClose:h,hide:f}),(b,w)=>(L(),yt(C(R1e),{ref_key:"popperRef",ref:a,role:b.role},{default:rt(()=>[He(Eze,{disabled:b.disabled,trigger:b.trigger,"trigger-keys":b.triggerKeys,"virtual-ref":b.virtualRef,"virtual-triggering":b.virtualTriggering},{default:rt(()=>[b.$slots.default?ht(b.$slots,"default",{key:0}):xe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),He(Mze,{ref_key:"contentRef",ref:s,"aria-label":b.ariaLabel,"boundaries-padding":b.boundariesPadding,content:b.content,disabled:b.disabled,effect:b.effect,enterable:b.enterable,"fallback-placements":b.fallbackPlacements,"hide-after":b.hideAfter,"gpu-acceleration":b.gpuAcceleration,offset:b.offset,persistent:b.persistent,"popper-class":C(y),"popper-style":b.popperStyle,placement:b.placement,"popper-options":b.popperOptions,"arrow-offset":b.arrowOffset,pure:b.pure,"raw-content":b.rawContent,"reference-el":b.referenceEl,"trigger-target-el":b.triggerTargetEl,"show-after":b.showAfter,strategy:b.strategy,teleported:b.teleported,transition:b.transition,"virtual-triggering":b.virtualTriggering,"z-index":b.zIndex,"append-to":b.appendTo},{default:rt(()=>[ht(b.$slots,"content",{},()=>[b.rawContent?(L(),G("span",{key:0,innerHTML:b.content},null,8,["innerHTML"])):(L(),G("span",{key:1},je(b.content),1))]),b.showArrow?(L(),yt(C(OFe),{key:0})):xe("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Rze=on(Nze,[["__file","tooltip.vue"]]);const hs=or(Rze),Bze=Jt({...L5,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:ct(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:ct([Function,Array]),default:bo},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:oi.teleported,appendTo:oi.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean}),Lze={[Qn]:e=>In(e),[ba]:e=>In(e),[Pr]:e=>In(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>dr(e)},L1e="ElAutocomplete",Fze=nt({name:L1e,inheritAttrs:!1}),Uze=nt({...Fze,props:Bze,emits:Lze,setup(e,{expose:t,emit:n}){const r=e,o=ee(()=>uu(r,Object.keys(L5))),i=yp(),a=Va(),s=Vt("autocomplete"),l=K(),u=K(),d=K(),c=K();let f=!1,p=!1;const v=K([]),h=K(-1),g=K(""),y=K(!1),m=K(!1),b=K(!1),w=ps(),A=ee(()=>i.style),S=ee(()=>(v.value.length>0||b.value)&&y.value),E=ee(()=>!r.hideLoading&&b.value),D=ee(()=>l.value?Array.from(l.value.$el.querySelectorAll("input")):[]),_=()=>{S.value&&(g.value=`${l.value.$el.offsetWidth}px`)},M=()=>{h.value=-1},O=async Z=>{if(m.value)return;const le=ve=>{b.value=!1,!m.value&&(Zt(ve)?(v.value=ve,h.value=r.highlightFirstItem?0:-1):na(L1e,"autocomplete suggestions must be an array"))};if(b.value=!0,Zt(r.fetchSuggestions))le(r.fetchSuggestions);else{const ve=await r.fetchSuggestions(Z,le);Zt(ve)&&le(ve)}},k=Wl(O,r.debounce),R=Z=>{const le=!!Z;if(n(ba,Z),n(Qn,Z),m.value=!1,y.value||(y.value=le),!r.triggerOnFocus&&!Z){m.value=!0,v.value=[];return}k(Z)},N=Z=>{var le;a.value||(((le=Z.target)==null?void 0:le.tagName)!=="INPUT"||D.value.includes(document.activeElement))&&(y.value=!0)},W=Z=>{n(Pr,Z)},B=Z=>{var le;if(p)p=!1;else{y.value=!0,n("focus",Z);const ve=(le=r.modelValue)!=null?le:"";r.triggerOnFocus&&!f&&k(String(ve))}},z=Z=>{setTimeout(()=>{var le;if((le=d.value)!=null&&le.isFocusInsideContent()){p=!0;return}y.value&&U(),n("blur",Z)})},j=()=>{y.value=!1,n(Qn,""),n("clear")},q=async()=>{S.value&&h.value>=0&&h.value{S.value&&(Z.preventDefault(),Z.stopPropagation(),U())},U=()=>{y.value=!1},F=()=>{var Z;(Z=l.value)==null||Z.focus()},H=()=>{var Z;(Z=l.value)==null||Z.blur()},re=async Z=>{n(ba,Z[r.valueKey]),n(Qn,Z[r.valueKey]),n("select",Z),v.value=[],h.value=-1},X=Z=>{if(!S.value||b.value)return;if(Z<0){h.value=-1;return}Z>=v.value.length&&(Z=v.value.length-1);const le=u.value.querySelector(`.${s.be("suggestion","wrap")}`),Pe=le.querySelectorAll(`.${s.be("suggestion","list")} li`)[Z],Ae=le.scrollTop,{offsetTop:he,scrollHeight:Ee}=Pe;he+Ee>Ae+le.clientHeight&&(le.scrollTop+=Ee),he{var Z;(Z=d.value)!=null&&Z.isFocusInsideContent()||S.value&&U()});return Jr(()=>{te?.()}),qn(()=>{l.value.ref.setAttribute("role","textbox"),l.value.ref.setAttribute("aria-autocomplete","list"),l.value.ref.setAttribute("aria-controls","id"),l.value.ref.setAttribute("aria-activedescendant",`${w.value}-item-${h.value}`),f=l.value.ref.hasAttribute("readonly")}),t({highlightedIndex:h,activated:y,loading:b,inputRef:l,popperRef:d,suggestions:v,handleSelect:re,handleKeyEnter:q,focus:F,blur:H,close:U,highlight:X,getData:O}),(Z,le)=>(L(),yt(C(hs),{ref_key:"popperRef",ref:d,visible:C(S),placement:Z.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[C(s).e("popper"),Z.popperClass],teleported:Z.teleported,"append-to":Z.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${C(s).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:_,onHide:M},{content:rt(()=>[x("div",{ref_key:"regionRef",ref:u,class:oe([C(s).b("suggestion"),C(s).is("loading",C(E))]),style:rn({[Z.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[Z.$slots.header?(L(),G("div",{key:0,class:oe(C(s).be("suggestion","header")),onClick:en(()=>{},["stop"])},[ht(Z.$slots,"header")],10,["onClick"])):xe("v-if",!0),He(C(Hc),{id:C(w),tag:"ul","wrap-class":C(s).be("suggestion","wrap"),"view-class":C(s).be("suggestion","list"),role:"listbox"},{default:rt(()=>[C(E)?(L(),G("li",{key:0},[ht(Z.$slots,"loading",{},()=>[He(C(Dn),{class:oe(C(s).is("loading"))},{default:rt(()=>[He(C(jc))]),_:1},8,["class"])])])):(L(!0),G(Rt,{key:1},un(v.value,(ve,Pe)=>(L(),G("li",{id:`${C(w)}-item-${Pe}`,key:Pe,class:oe({highlighted:h.value===Pe}),role:"option","aria-selected":h.value===Pe,onClick:Ae=>re(ve)},[ht(Z.$slots,"default",{item:ve},()=>[bn(je(ve[Z.valueKey]),1)])],10,["id","aria-selected","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class"]),Z.$slots.footer?(L(),G("div",{key:1,class:oe(C(s).be("suggestion","footer")),onClick:en(()=>{},["stop"])},[ht(Z.$slots,"footer")],10,["onClick"])):xe("v-if",!0)],6)]),default:rt(()=>[x("div",{ref_key:"listboxRef",ref:c,class:oe([C(s).b(),Z.$attrs.class]),style:rn(C(A)),role:"combobox","aria-haspopup":"listbox","aria-expanded":C(S),"aria-owns":C(w)},[He(C(js),vr({ref_key:"inputRef",ref:l},vr(C(o),Z.$attrs),{"model-value":Z.modelValue,disabled:C(a),onInput:R,onChange:W,onFocus:B,onBlur:z,onClear:j,onKeydown:[$r(en(ve=>X(h.value-1),["prevent"]),["up"]),$r(en(ve=>X(h.value+1),["prevent"]),["down"]),$r(q,["enter"]),$r(U,["tab"]),$r(Y,["esc"])],onMousedown:N}),Hl({_:2},[Z.$slots.prepend?{name:"prepend",fn:rt(()=>[ht(Z.$slots,"prepend")])}:void 0,Z.$slots.append?{name:"append",fn:rt(()=>[ht(Z.$slots,"append")])}:void 0,Z.$slots.prefix?{name:"prefix",fn:rt(()=>[ht(Z.$slots,"prefix")])}:void 0,Z.$slots.suffix?{name:"suffix",fn:rt(()=>[ht(Z.$slots,"suffix")])}:void 0]),1040,["model-value","disabled","onKeydown"])],14,["aria-expanded","aria-owns"])]),_:3},8,["visible","placement","popper-class","teleported","append-to","transition"]))}});var zze=on(Uze,[["__file","autocomplete.vue"]]);const $ze=or(zze),jze=Jt({size:{type:[Number,String],values:ef,default:"",validator:e=>$n(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:wo},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:ct(String),default:"cover"}}),Hze={error:e=>e instanceof Event},Wze=nt({name:"ElAvatar"}),Vze=nt({...Wze,props:jze,emits:Hze,setup(e,{emit:t}){const n=e,r=Vt("avatar"),o=K(!1),i=ee(()=>{const{size:u,icon:d,shape:c}=n,f=[r.b()];return In(u)&&f.push(r.m(u)),d&&f.push(r.m("icon")),c&&f.push(r.m(c)),f}),a=ee(()=>{const{size:u}=n;return $n(u)?r.cssVarBlock({size:_i(u)||""}):void 0}),s=ee(()=>({objectFit:n.fit}));St(()=>n.src,()=>o.value=!1);function l(u){o.value=!0,t("error",u)}return(u,d)=>(L(),G("span",{class:oe(C(i)),style:rn(C(a))},[(u.src||u.srcSet)&&!o.value?(L(),G("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:rn(C(s)),onError:l},null,44,["src","alt","srcset"])):u.icon?(L(),yt(C(Dn),{key:1},{default:rt(()=>[(L(),yt(mr(u.icon)))]),_:1})):ht(u.$slots,"default",{key:2})],6))}});var qze=on(Vze,[["__file","avatar.vue"]]);const Gze=or(qze),Kze={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},Yze={click:e=>e instanceof MouseEvent},Qze=(e,t,n)=>{const r=jo(),o=jo(),i=K(!1),a=()=>{r.value&&(i.value=r.value.scrollTop>=e.visibilityHeight)},s=u=>{var d;(d=r.value)==null||d.scrollTo({top:0,behavior:"smooth"}),t("click",u)},l=Lme(a,300,!0);return Ro(o,"scroll",l),qn(()=>{var u;o.value=document,r.value=document.documentElement,e.target&&(r.value=(u=document.querySelector(e.target))!=null?u:void 0,r.value||na(n,`target does not exist: ${e.target}`),o.value=r.value),a()}),{visible:i,handleClick:s}},F1e="ElBacktop",Zze=nt({name:F1e}),Xze=nt({...Zze,props:Kze,emits:Yze,setup(e,{emit:t}){const n=e,r=Vt("backtop"),{handleClick:o,visible:i}=Qze(n,t,F1e),a=ee(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(s,l)=>(L(),yt(Ki,{name:`${C(r).namespace.value}-fade-in`},{default:rt(()=>[C(i)?(L(),G("div",{key:0,style:rn(C(a)),class:oe(C(r).b()),onClick:en(C(o),["stop"])},[ht(s.$slots,"default",{},()=>[He(C(Dn),{class:oe(C(r).e("icon"))},{default:rt(()=>[He(C(HBe))]),_:1},8,["class"])])],14,["onClick"])):xe("v-if",!0)]),_:3},8,["name"]))}});var Jze=on(Xze,[["__file","backtop.vue"]]);const e$e=or(Jze),t$e=Jt({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:ct([String,Object,Array])},offset:{type:ct(Array),default:[0,0]},badgeClass:{type:String}}),n$e=nt({name:"ElBadge"}),r$e=nt({...n$e,props:t$e,setup(e,{expose:t}){const n=e,r=Vt("badge"),o=ee(()=>n.isDot?"":$n(n.value)&&$n(n.max)?n.max{var a,s,l,u,d;return[{backgroundColor:n.color,marginRight:_i(-((s=(a=n.offset)==null?void 0:a[0])!=null?s:0)),marginTop:_i((u=(l=n.offset)==null?void 0:l[1])!=null?u:0)},(d=n.badgeStyle)!=null?d:{}]});return t({content:o}),(a,s)=>(L(),G("div",{class:oe(C(r).b())},[ht(a.$slots,"default"),He(Ki,{name:`${C(r).namespace.value}-zoom-in-center`,persisted:""},{default:rt(()=>[cn(x("sup",{class:oe([C(r).e("content"),C(r).em("content",a.type),C(r).is("fixed",!!a.$slots.default),C(r).is("dot",a.isDot),C(r).is("hide-zero",!a.showZero&&n.value===0),a.badgeClass]),style:rn(C(i))},[ht(a.$slots,"content",{value:C(o)},()=>[bn(je(C(o)),1)])],6),[[kr,!a.hidden&&(C(o)||a.isDot||a.$slots.content)]])]),_:3},8,["name"])],2))}});var o$e=on(r$e,[["__file","badge.vue"]]);const U1e=or(o$e),z1e=Symbol("breadcrumbKey"),i$e=Jt({separator:{type:String,default:"/"},separatorIcon:{type:wo}}),a$e=nt({name:"ElBreadcrumb"}),s$e=nt({...a$e,props:i$e,setup(e){const t=e,{t:n}=Gr(),r=Vt("breadcrumb"),o=K();return _r(z1e,t),qn(()=>{const i=o.value.querySelectorAll(`.${r.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,a)=>(L(),G("div",{ref_key:"breadcrumb",ref:o,class:oe(C(r).b()),"aria-label":C(n)("el.breadcrumb.label"),role:"navigation"},[ht(i.$slots,"default")],10,["aria-label"]))}});var l$e=on(s$e,[["__file","breadcrumb.vue"]]);const u$e=Jt({to:{type:ct([String,Object]),default:""},replace:Boolean}),c$e=nt({name:"ElBreadcrumbItem"}),d$e=nt({...c$e,props:u$e,setup(e){const t=e,n=br(),r=dn(z1e,void 0),o=Vt("breadcrumb"),i=n.appContext.config.globalProperties.$router,a=K(),s=()=>{!t.to||!i||(t.replace?i.replace(t.to):i.push(t.to))};return(l,u)=>{var d,c;return L(),G("span",{class:oe(C(o).e("item"))},[x("span",{ref_key:"link",ref:a,class:oe([C(o).e("inner"),C(o).is("link",!!l.to)]),role:"link",onClick:s},[ht(l.$slots,"default")],2),(d=C(r))!=null&&d.separatorIcon?(L(),yt(C(Dn),{key:0,class:oe(C(o).e("separator"))},{default:rt(()=>[(L(),yt(mr(C(r).separatorIcon)))]),_:1},8,["class"])):(L(),G("span",{key:1,class:oe(C(o).e("separator")),role:"presentation"},je((c=C(r))==null?void 0:c.separator),3))],2)}}});var $1e=on(d$e,[["__file","breadcrumb-item.vue"]]);const f$e=or(l$e,{BreadcrumbItem:$1e}),p$e=vi($1e),j1e=Symbol("buttonGroupContextKey"),jf=({from:e,replacement:t,scope:n,version:r,ref:o,type:i="API"},a)=>{St(()=>C(a),s=>{},{immediate:!0})},h$e=(e,t)=>{jf({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},ee(()=>e.type==="text"));const n=dn(j1e,void 0),r=Ub("button"),{form:o}=Ds(),i=ha(ee(()=>n?.size)),a=Va(),s=K(),l=ga(),u=ee(()=>{var y;return e.type||n?.type||((y=r.value)==null?void 0:y.type)||""}),d=ee(()=>{var y,m,b;return(b=(m=e.autoInsertSpace)!=null?m:(y=r.value)==null?void 0:y.autoInsertSpace)!=null?b:!1}),c=ee(()=>{var y,m,b;return(b=(m=e.plain)!=null?m:(y=r.value)==null?void 0:y.plain)!=null?b:!1}),f=ee(()=>{var y,m,b;return(b=(m=e.round)!=null?m:(y=r.value)==null?void 0:y.round)!=null?b:!1}),p=ee(()=>{var y,m,b;return(b=(m=e.text)!=null?m:(y=r.value)==null?void 0:y.text)!=null?b:!1}),v=ee(()=>e.tag==="button"?{ariaDisabled:a.value||e.loading,disabled:a.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),h=ee(()=>{var y;const m=(y=l.default)==null?void 0:y.call(l);if(d.value&&m?.length===1){const b=m[0];if(b?.type===Ib){const w=b.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(w.trim())}}return!1});return{_disabled:a,_size:i,_type:u,_ref:s,_props:v,_plain:c,_round:f,_text:p,shouldAddSpace:h,handleClick:y=>{if(a.value||e.loading){y.stopPropagation();return}e.nativeType==="reset"&&o?.resetFields(),t("click",y)}}},CL=["default","primary","success","warning","info","danger","text",""],g$e=["button","submit","reset"],xL=Jt({size:Aa,disabled:Boolean,type:{type:String,values:CL,default:""},icon:{type:wo},nativeType:{type:String,values:g$e,default:"button"},loading:Boolean,loadingIcon:{type:wo,default:()=>jc},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:ct([String,Object]),default:"button"}}),v$e={click:e=>e instanceof MouseEvent};function ks(e,t){m$e(e)&&(e="100%");var n=y$e(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Ax(e){return Math.min(1,Math.max(0,e))}function m$e(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function y$e(e){return typeof e=="string"&&e.indexOf("%")!==-1}function H1e(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Cx(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ug(e){return e.length===1?"0"+e:String(e)}function b$e(e,t,n){return{r:ks(e,255)*255,g:ks(t,255)*255,b:ks(n,255)*255}}function xJ(e,t,n){e=ks(e,255),t=ks(t,255),n=ks(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function w$e(e,t,n){var r,o,i;if(e=ks(e,360),t=ks(t,100),n=ks(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=vI(s,a,e+1/3),o=vI(s,a,e),i=vI(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function SJ(e,t,n){e=ks(e,255),t=ks(t,255),n=ks(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var SL={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function E$e(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=_$e(e)),typeof e=="object"&&(pf(e.r)&&pf(e.g)&&pf(e.b)?(t=b$e(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):pf(e.h)&&pf(e.s)&&pf(e.v)?(r=Cx(e.s),o=Cx(e.v),t=A$e(e.h,r,o),a=!0,s="hsv"):pf(e.h)&&pf(e.s)&&pf(e.l)&&(r=Cx(e.s),i=Cx(e.l),t=w$e(e.h,r,i),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=H1e(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var k$e="[-\\+]?\\d+%?",T$e="[-\\+]?\\d*\\.\\d+%?",bh="(?:".concat(T$e,")|(?:").concat(k$e,")"),mI="[\\s|\\(]+(".concat(bh,")[,|\\s]+(").concat(bh,")[,|\\s]+(").concat(bh,")\\s*\\)?"),yI="[\\s|\\(]+(".concat(bh,")[,|\\s]+(").concat(bh,")[,|\\s]+(").concat(bh,")[,|\\s]+(").concat(bh,")\\s*\\)?"),mc={CSS_UNIT:new RegExp(bh),rgb:new RegExp("rgb"+mI),rgba:new RegExp("rgba"+yI),hsl:new RegExp("hsl"+mI),hsla:new RegExp("hsla"+yI),hsv:new RegExp("hsv"+mI),hsva:new RegExp("hsva"+yI),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function _$e(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(SL[e])e=SL[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=mc.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=mc.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=mc.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=mc.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=mc.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=mc.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=mc.hex8.exec(e),n?{r:tu(n[1]),g:tu(n[2]),b:tu(n[3]),a:kJ(n[4]),format:t?"name":"hex8"}:(n=mc.hex6.exec(e),n?{r:tu(n[1]),g:tu(n[2]),b:tu(n[3]),format:t?"name":"hex"}:(n=mc.hex4.exec(e),n?{r:tu(n[1]+n[1]),g:tu(n[2]+n[2]),b:tu(n[3]+n[3]),a:kJ(n[4]+n[4]),format:t?"name":"hex8"}:(n=mc.hex3.exec(e),n?{r:tu(n[1]+n[1]),g:tu(n[2]+n[2]),b:tu(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function pf(e){return!!mc.CSS_UNIT.exec(String(e))}var $1=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=S$e(t)),this.originalInput=t;var o=E$e(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,a=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=H1e(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=SJ(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=SJ(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=xJ(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=xJ(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),EJ(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),C$e(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(ks(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(ks(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+EJ(this.r,this.g,this.b,!1),n=0,r=Object.entries(SL);n=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=Ax(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=Ax(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=Ax(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=Ax(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{let r={},o=e.color;if(o){const i=o.match(/var\((.*?)\)/);i&&(o=window.getComputedStyle(window.document.documentElement).getPropertyValue(i[1]));const a=new $1(o),s=e.dark?a.tint(20).toString():Np(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Np(a,90):a.tint(90).toString(),"text-color":o,"border-color":e.dark?Np(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":s,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":s}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Np(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Np(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Np(a,80):a.tint(80).toString());else{const l=e.dark?Np(a,30):a.tint(30).toString(),u=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":u,"border-color":o,"hover-bg-color":l,"hover-text-color":u,"hover-border-color":l,"active-bg-color":s,"active-border-color":s}),t.value){const d=e.dark?Np(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=d,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=d}}}return r})}const I$e=nt({name:"ElButton"}),O$e=nt({...I$e,props:xL,emits:v$e,setup(e,{expose:t,emit:n}){const r=e,o=D$e(r),i=Vt("button"),{_ref:a,_size:s,_type:l,_disabled:u,_props:d,_plain:c,_round:f,_text:p,shouldAddSpace:v,handleClick:h}=h$e(r,n),g=ee(()=>[i.b(),i.m(l.value),i.m(s.value),i.is("disabled",u.value),i.is("loading",r.loading),i.is("plain",c.value),i.is("round",f.value),i.is("circle",r.circle),i.is("text",p.value),i.is("link",r.link),i.is("has-bg",r.bg)]);return t({ref:a,size:s,type:l,disabled:u,shouldAddSpace:v}),(y,m)=>(L(),yt(mr(y.tag),vr({ref_key:"_ref",ref:a},C(d),{class:C(g),style:C(o),onClick:C(h)}),{default:rt(()=>[y.loading?(L(),G(Rt,{key:0},[y.$slots.loading?ht(y.$slots,"loading",{key:0}):(L(),yt(C(Dn),{key:1,class:oe(C(i).is("loading"))},{default:rt(()=>[(L(),yt(mr(y.loadingIcon)))]),_:1},8,["class"]))],64)):y.icon||y.$slots.icon?(L(),yt(C(Dn),{key:1},{default:rt(()=>[y.icon?(L(),yt(mr(y.icon),{key:0})):ht(y.$slots,"icon",{key:1})]),_:3})):xe("v-if",!0),y.$slots.default?(L(),G("span",{key:2,class:oe({[C(i).em("text","expand")]:C(v)})},[ht(y.$slots,"default")],2)):xe("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var M$e=on(O$e,[["__file","button.vue"]]);const P$e={size:xL.size,type:xL.type},N$e=nt({name:"ElButtonGroup"}),R$e=nt({...N$e,props:P$e,setup(e){const t=e;_r(j1e,Wr({size:co(t,"size"),type:co(t,"type")}));const n=Vt("button");return(r,o)=>(L(),G("div",{class:oe(C(n).b("group"))},[ht(r.$slots,"default")],2))}});var W1e=on(R$e,[["__file","button-group.vue"]]);const Xa=or(M$e,{ButtonGroup:W1e}),V1e=vi(W1e);var Hs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function B$e(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var ES={exports:{}},L$e=ES.exports,TJ;function F$e(){return TJ||(TJ=1,(function(e,t){(function(n,r){e.exports=r()})(L$e,(function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",s="minute",l="hour",u="day",d="week",c="month",f="quarter",p="year",v="date",h="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var W=["th","st","nd","rd"],B=N%100;return"["+N+(W[(B-20)%10]||W[B]||W[0])+"]"}},b=function(N,W,B){var z=String(N);return!z||z.length>=W?N:""+Array(W+1-z.length).join(B)+N},w={s:b,z:function(N){var W=-N.utcOffset(),B=Math.abs(W),z=Math.floor(B/60),j=B%60;return(W<=0?"+":"-")+b(z,2,"0")+":"+b(j,2,"0")},m:function N(W,B){if(W.date()1)return N(Y[0])}else{var U=W.name;S[U]=W,j=U}return!z&&j&&(A=j),j||!z&&A},M=function(N,W){if(D(N))return N.clone();var B=typeof W=="object"?W:{};return B.date=N,B.args=arguments,new k(B)},O=w;O.l=_,O.i=D,O.w=function(N,W){return M(N,{locale:W.$L,utc:W.$u,x:W.$x,$offset:W.$offset})};var k=(function(){function N(B){this.$L=_(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[E]=!0}var W=N.prototype;return W.parse=function(B){this.$d=(function(z){var j=z.date,q=z.utc;if(j===null)return new Date(NaN);if(O.u(j))return new Date;if(j instanceof Date)return new Date(j);if(typeof j=="string"&&!/Z$/i.test(j)){var Y=j.match(g);if(Y){var U=Y[2]-1||0,F=(Y[7]||"0").substring(0,3);return q?new Date(Date.UTC(Y[1],U,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,F)):new Date(Y[1],U,Y[3]||1,Y[4]||0,Y[5]||0,Y[6]||0,F)}}return new Date(j)})(B),this.init()},W.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},W.$utils=function(){return O},W.isValid=function(){return this.$d.toString()!==h},W.isSame=function(B,z){var j=M(B);return this.startOf(z)<=j&&j<=this.endOf(z)},W.isAfter=function(B,z){return M(B)[e>0?e-1:void 0,e,eArray.from(Array.from({length:e}).keys()),q1e=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),G1e=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),_J=function(e,t){const n=n0(e),r=n0(t);return n&&r?e.getTime()===t.getTime():!n&&!r?e===t:!1},K1e=function(e,t){const n=Zt(e),r=Zt(t);return n&&r?e.length!==t.length?!1:e.every((o,i)=>_J(o,t[i])):!n&&!r?_J(e,t):!1},DJ=function(e,t,n){const r=iu(t)||t==="x"?lr(e).locale(n):lr(e,t).locale(n);return r.isValid()?r:void 0},IJ=function(e,t,n){return iu(t)?e:t==="x"?+e:lr(e).locale(n).format(t)},wI=(e,t)=>{var n;const r=[],o=t?.();for(let i=0;iZt(e)?e.map(t=>t.toDate()):e.toDate(),z$e=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Ph(t).map((r,o)=>n-(t-o-1))},$$e=e=>{const t=e.daysInMonth();return Ph(t).map((n,r)=>r+1)},j$e=e=>Ph(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),H$e=Jt({selectedDay:{type:ct(Object)},range:{type:ct(Array)},date:{type:ct(Object),required:!0},hideHeader:{type:Boolean}}),W$e={pick:e=>dr(e)};var TS={exports:{}},V$e=TS.exports,OJ;function q$e(){return OJ||(OJ=1,(function(e,t){(function(n,r){e.exports=r()})(V$e,(function(){return function(n,r,o){var i=r.prototype,a=function(c){return c&&(c.indexOf?c:c.s)},s=function(c,f,p,v,h){var g=c.name?c:c.$locale(),y=a(g[f]),m=a(g[p]),b=y||m.map((function(A){return A.slice(0,v)}));if(!h)return b;var w=g.weekStart;return b.map((function(A,S){return b[(S+(w||0))%7]}))},l=function(){return o.Ls[o.locale()]},u=function(c,f){return c.formats[f]||(function(p){return p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(v,h,g){return h||g.slice(1)}))})(c.formats[f.toUpperCase()])},d=function(){var c=this;return{months:function(f){return f?f.format("MMMM"):s(c,"months")},monthsShort:function(f){return f?f.format("MMM"):s(c,"monthsShort","months",3)},firstDayOfWeek:function(){return c.$locale().weekStart||0},weekdays:function(f){return f?f.format("dddd"):s(c,"weekdays")},weekdaysMin:function(f){return f?f.format("dd"):s(c,"weekdaysMin","weekdays",2)},weekdaysShort:function(f){return f?f.format("ddd"):s(c,"weekdaysShort","weekdays",3)},longDateFormat:function(f){return u(c.$locale(),f)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return d.bind(this)()},o.localeData=function(){var c=l();return{firstDayOfWeek:function(){return c.weekStart||0},weekdays:function(){return o.weekdays()},weekdaysShort:function(){return o.weekdaysShort()},weekdaysMin:function(){return o.weekdaysMin()},months:function(){return o.months()},monthsShort:function(){return o.monthsShort()},longDateFormat:function(f){return u(c,f)},meridiem:c.meridiem,ordinal:c.ordinal}},o.months=function(){return s(l(),"months")},o.monthsShort=function(){return s(l(),"monthsShort","months",3)},o.weekdays=function(c){return s(l(),"weekdays",null,null,c)},o.weekdaysShort=function(c){return s(l(),"weekdaysShort","weekdays",3,c)},o.weekdaysMin=function(c){return s(l(),"weekdaysMin","weekdays",2,c)}}}))})(TS)),TS.exports}var G$e=q$e();const Y1e=xu(G$e),K$e=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],AI=["sun","mon","tue","wed","thu","fri","sat"],Y$e=(e,t)=>{lr.extend(Y1e);const n=lr.localeData().firstDayOfWeek(),{t:r,lang:o}=Gr(),i=lr().locale(o.value),a=ee(()=>!!e.range&&!!e.range.length),s=ee(()=>{let f=[];if(a.value){const[p,v]=e.range,h=Ph(v.date()-p.date()+1).map(m=>({text:p.date()+m,type:"current"}));let g=h.length%7;g=g===0?0:7-g;const y=Ph(g).map((m,b)=>({text:b+1,type:"next"}));f=h.concat(y)}else{const p=e.date.startOf("month").day(),v=z$e(e.date,(p-n+7)%7).map(m=>({text:m,type:"prev"})),h=$$e(e.date).map(m=>({text:m,type:"current"}));f=[...v,...h];const g=7-(f.length%7||7),y=Ph(g).map((m,b)=>({text:b+1,type:"next"}));f=f.concat(y)}return j$e(f)}),l=ee(()=>{const f=n;return f===0?AI.map(p=>r(`el.datepicker.weeks.${p}`)):AI.slice(f).concat(AI.slice(0,f)).map(p=>r(`el.datepicker.weeks.${p}`))}),u=(f,p)=>{switch(p){case"prev":return e.date.startOf("month").subtract(1,"month").date(f);case"next":return e.date.startOf("month").add(1,"month").date(f);case"current":return e.date.date(f)}};return{now:i,isInRange:a,rows:s,weekDays:l,getFormattedDate:u,handlePickDay:({text:f,type:p})=>{const v=u(f,p);t("pick",v)},getSlotData:({text:f,type:p})=>{const v=u(f,p);return{isSelected:v.isSame(e.selectedDay),type:`${p}-month`,day:v.format("YYYY-MM-DD"),date:v.toDate()}}}},Q$e=nt({name:"DateTable"}),Z$e=nt({...Q$e,props:H$e,emits:W$e,setup(e,{expose:t,emit:n}){const r=e,{isInRange:o,now:i,rows:a,weekDays:s,getFormattedDate:l,handlePickDay:u,getSlotData:d}=Y$e(r,n),c=Vt("calendar-table"),f=Vt("calendar-day"),p=({text:v,type:h})=>{const g=[h];if(h==="current"){const y=l(v,h);y.isSame(r.selectedDay,"day")&&g.push(f.is("selected")),y.isSame(i,"day")&&g.push(f.is("today"))}return g};return t({getFormattedDate:l}),(v,h)=>(L(),G("table",{class:oe([C(c).b(),C(c).is("range",C(o))]),cellspacing:"0",cellpadding:"0"},[v.hideHeader?xe("v-if",!0):(L(),G("thead",{key:0},[x("tr",null,[(L(!0),G(Rt,null,un(C(s),g=>(L(),G("th",{key:g,scope:"col"},je(g),1))),128))])])),x("tbody",null,[(L(!0),G(Rt,null,un(C(a),(g,y)=>(L(),G("tr",{key:y,class:oe({[C(c).e("row")]:!0,[C(c).em("row","hide-border")]:y===0&&v.hideHeader})},[(L(!0),G(Rt,null,un(g,(m,b)=>(L(),G("td",{key:b,class:oe(p(m)),onClick:w=>C(u)(m)},[x("div",{class:oe(C(f).b())},[ht(v.$slots,"date-cell",{data:C(d)(m)},()=>[x("span",null,je(m.text),1)])],2)],10,["onClick"]))),128))],2))),128))])],2))}});var MJ=on(Z$e,[["__file","date-table.vue"]]);const X$e=(e,t)=>{const n=e.endOf("month"),r=t.startOf("month"),i=n.isSame(r,"week")?r.add(1,"week"):r;return[[e,n],[i.startOf("week"),t]]},J$e=(e,t)=>{const n=e.endOf("month"),r=e.add(1,"month").startOf("month"),o=n.isSame(r,"week")?r.add(1,"week"):r,i=o.endOf("month"),a=t.startOf("month"),s=i.isSame(a,"week")?a.add(1,"week"):a;return[[e,n],[o.startOf("week"),i],[s.startOf("week"),t]]},eje=(e,t,n)=>{const{lang:r}=Gr(),o=K(),i=lr().locale(r.value),a=ee({get(){return e.modelValue?l.value:o.value},set(g){if(!g)return;o.value=g;const y=g.toDate();t(ba,y),t(Qn,y)}}),s=ee(()=>{if(!e.range||!Zt(e.range)||e.range.length!==2||e.range.some(b=>!n0(b)))return[];const g=e.range.map(b=>lr(b).locale(r.value)),[y,m]=g;return y.isAfter(m)?[]:y.isSame(m,"month")?p(y,m):y.add(1,"month").month()!==m.month()?[]:p(y,m)}),l=ee(()=>e.modelValue?lr(e.modelValue).locale(r.value):a.value||(s.value.length?s.value[0][0]:i)),u=ee(()=>l.value.subtract(1,"month").date(1)),d=ee(()=>l.value.add(1,"month").date(1)),c=ee(()=>l.value.subtract(1,"year").date(1)),f=ee(()=>l.value.add(1,"year").date(1)),p=(g,y)=>{const m=g.startOf("week"),b=y.endOf("week"),w=m.get("month"),A=b.get("month");return w===A?[[m,b]]:(w+1)%12===A?X$e(m,b):w+2===A||(w+1)%11===A?J$e(m,b):[]},v=g=>{a.value=g};return{calculateValidatedDateRange:p,date:l,realSelectedDay:a,pickDay:v,selectDate:g=>{const m={"prev-month":u.value,"next-month":d.value,"prev-year":c.value,"next-year":f.value,today:i}[g];m.isSame(l.value,"day")||v(m)},validatedRange:s}},tje=e=>Zt(e)&&e.length===2&&e.every(t=>n0(t)),nje=Jt({modelValue:{type:Date},range:{type:ct(Array),validator:tje}}),rje={[Qn]:e=>n0(e),[ba]:e=>n0(e)},oje="ElCalendar",ije=nt({name:oje}),aje=nt({...ije,props:nje,emits:rje,setup(e,{expose:t,emit:n}){const r=e,o=Vt("calendar"),{calculateValidatedDateRange:i,date:a,pickDay:s,realSelectedDay:l,selectDate:u,validatedRange:d}=eje(r,n),{t:c}=Gr(),f=ee(()=>{const p=`el.datepicker.month${a.value.format("M")}`;return`${a.value.year()} ${c("el.datepicker.year")} ${c(p)}`});return t({selectedDay:l,pickDay:s,selectDate:u,calculateValidatedDateRange:i}),(p,v)=>(L(),G("div",{class:oe(C(o).b())},[x("div",{class:oe(C(o).e("header"))},[ht(p.$slots,"header",{date:C(f)},()=>[x("div",{class:oe(C(o).e("title"))},je(C(f)),3),C(d).length===0?(L(),G("div",{key:0,class:oe(C(o).e("button-group"))},[He(C(V1e),null,{default:rt(()=>[He(C(Xa),{size:"small",onClick:h=>C(u)("prev-month")},{default:rt(()=>[bn(je(C(c)("el.datepicker.prevMonth")),1)]),_:1},8,["onClick"]),He(C(Xa),{size:"small",onClick:h=>C(u)("today")},{default:rt(()=>[bn(je(C(c)("el.datepicker.today")),1)]),_:1},8,["onClick"]),He(C(Xa),{size:"small",onClick:h=>C(u)("next-month")},{default:rt(()=>[bn(je(C(c)("el.datepicker.nextMonth")),1)]),_:1},8,["onClick"])]),_:1})],2)):xe("v-if",!0)])],2),C(d).length===0?(L(),G("div",{key:0,class:oe(C(o).e("body"))},[He(MJ,{date:C(a),"selected-day":C(l),onPick:C(s)},Hl({_:2},[p.$slots["date-cell"]?{name:"date-cell",fn:rt(h=>[ht(p.$slots,"date-cell",Il($d(h)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(L(),G("div",{key:1,class:oe(C(o).e("body"))},[(L(!0),G(Rt,null,un(C(d),(h,g)=>(L(),yt(MJ,{key:g,date:h[0],"selected-day":C(l),range:h,"hide-header":g!==0,onPick:C(s)},Hl({_:2},[p.$slots["date-cell"]?{name:"date-cell",fn:rt(y=>[ht(p.$slots,"date-cell",Il($d(y)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var sje=on(aje,[["__file","calendar.vue"]]);const lje=or(sje),uje=Jt({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:ct([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),cje=nt({name:"ElCard"}),dje=nt({...cje,props:uje,setup(e){const t=Ub("card"),n=Vt("card");return(r,o)=>{var i;return L(),G("div",{class:oe([C(n).b(),C(n).is(`${r.shadow||((i=C(t))==null?void 0:i.shadow)||"always"}-shadow`)])},[r.$slots.header||r.header?(L(),G("div",{key:0,class:oe([C(n).e("header"),r.headerClass])},[ht(r.$slots,"header",{},()=>[bn(je(r.header),1)])],2)):xe("v-if",!0),x("div",{class:oe([C(n).e("body"),r.bodyClass]),style:rn(r.bodyStyle)},[ht(r.$slots,"default")],6),r.$slots.footer||r.footer?(L(),G("div",{key:1,class:oe([C(n).e("footer"),r.footerClass])},[ht(r.$slots,"footer",{},()=>[bn(je(r.footer),1)])],2)):xe("v-if",!0)],2)}}});var fje=on(dje,[["__file","card.vue"]]);const pje=or(fje),hje=Jt({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),gje={change:(e,t)=>[e,t].every($n)},Q1e=Symbol("carouselContextKey"),EL="ElCarouselItem";var Nu=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Nu||{});function kL(e){return Vo(e)&&e.type===Rt}function vje(e){return Vo(e)&&e.type===da}function mje(e){return Vo(e)&&!kL(e)&&!vje(e)}const yje=e=>{if(!Vo(e))return{};const t=e.props||{},n=(Vo(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(o=>{no(n[o],"default")&&(r[o]=n[o].default)}),Object.keys(t).forEach(o=>{r[dl(o)]=t[o]}),r},bje=e=>{if(!Zt(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},Sd=e=>{const t=Zt(e)?e:[e],n=[];return t.forEach(r=>{var o;Zt(r)?n.push(...Sd(r)):Vo(r)&&((o=r.component)!=null&&o.subTree)?n.push(r,...Sd(r.component.subTree)):Vo(r)&&Zt(r.children)?n.push(...Sd(r.children)):Vo(r)&&r.shapeFlag===2?n.push(...Sd(r.type())):n.push(r)}),n},wje=(e,t,n)=>Sd(e.subTree).filter(i=>{var a;return Vo(i)&&((a=i.type)==null?void 0:a.name)===t&&!!i.component}).map(i=>i.component.uid).map(i=>n[i]).filter(i=>!!i),cD=(e,t)=>{const n=jo({}),r=jo([]),o=new WeakMap,i=d=>{n.value[d.uid]=d,pS(n),qn(()=>{const c=d.getVnode().el,f=c.parentNode;if(!o.has(f)){o.set(f,[]);const p=f.insertBefore.bind(f);f.insertBefore=(v,h)=>(o.get(f).some(y=>v===y||h===y)&&pS(n),p(v,h))}o.get(f).push(c)})},a=d=>{delete n.value[d.uid],pS(n);const c=d.getVnode().el,f=c.parentNode,p=o.get(f),v=p.indexOf(c);p.splice(v,1)},s=()=>{r.value=wje(e,t,n.value)},l=d=>d.render();return{children:r,addChild:i,removeChild:a,ChildrenSorter:nt({setup(d,{slots:c}){return()=>(s(),c.default?jn(l,{render:c.default}):null)}})}},PJ=300,Aje=(e,t,n)=>{const{children:r,addChild:o,removeChild:i,ChildrenSorter:a}=cD(br(),EL),s=ga(),l=K(-1),u=K(null),d=K(!1),c=K(),f=K(0),p=K(!0),v=ee(()=>e.arrow!=="never"&&!C(y)),h=ee(()=>r.value.some(X=>X.props.label.toString().length>0)),g=ee(()=>e.type==="card"),y=ee(()=>e.direction==="vertical"),m=ee(()=>e.height!=="auto"?{height:e.height}:{height:`${f.value}px`,overflow:"hidden"}),b=Zg(X=>{_(X)},PJ,{trailing:!0}),w=Zg(X=>{z(X)},PJ),A=X=>p.value?l.value<=1?X<=1:X>1:!0;function S(){u.value&&(clearInterval(u.value),u.value=null)}function E(){e.interval<=0||!e.autoplay||u.value||(u.value=setInterval(()=>D(),e.interval))}const D=()=>{l.valueve.props.name===X);le.length>0&&(X=r.value.indexOf(le[0]))}if(X=Number(X),Number.isNaN(X)||X!==Math.floor(X))return;const te=r.value.length,Z=l.value;X<0?l.value=e.loop?te-1:0:X>=te?l.value=e.loop?0:te-1:l.value=X,Z===l.value&&M(Z),Y()}function M(X){r.value.forEach((te,Z)=>{te.translateItem(Z,l.value,X)})}function O(X,te){var Z,le,ve,Pe;const Ae=C(r),he=Ae.length;if(he===0||!X.states.inStage)return!1;const Ee=te+1,Q=te-1,me=he-1,De=Ae[me].states.active,pe=Ae[0].states.active,ie=(le=(Z=Ae[Ee])==null?void 0:Z.states)==null?void 0:le.active,ue=(Pe=(ve=Ae[Q])==null?void 0:ve.states)==null?void 0:Pe.active;return te===me&&pe||ie?"left":te===0&&De||ue?"right":!1}function k(){d.value=!0,e.pauseOnHover&&S()}function R(){d.value=!1,E()}function N(X){C(y)||r.value.forEach((te,Z)=>{X===O(te,Z)&&(te.states.hover=!0)})}function W(){C(y)||r.value.forEach(X=>{X.states.hover=!1})}function B(X){l.value=X}function z(X){e.trigger==="hover"&&X!==l.value&&(l.value=X)}function j(){_(l.value-1)}function q(){_(l.value+1)}function Y(){S(),e.pauseOnHover||E()}function U(X){e.height==="auto"&&(f.value=X)}function F(){var X;const te=(X=s.default)==null?void 0:X.call(s);if(!te)return null;const le=Sd(te).filter(ve=>Vo(ve)&&ve.type.name===EL);return le?.length===2&&e.loop&&!g.value?(p.value=!0,le):(p.value=!1,null)}St(()=>l.value,(X,te)=>{M(te),p.value&&(X=X%2,te=te%2),te>-1&&t(Pr,X,te)});const H=ee({get:()=>p.value?l.value%2:l.value,set:X=>l.value=X});St(()=>e.autoplay,X=>{X?E():S()}),St(()=>e.loop,()=>{_(l.value)}),St(()=>e.interval,()=>{Y()});const re=jo();return qn(()=>{St(()=>r.value,()=>{r.value.length>0&&_(e.initialIndex)},{immediate:!0}),re.value=li(c.value,()=>{M()}),E()}),Jr(()=>{S(),c.value&&re.value&&re.value.stop()}),_r(Q1e,{root:c,isCardType:g,isVertical:y,items:r,loop:e.loop,cardScale:e.cardScale,addItem:o,removeItem:i,setActiveItem:_,setContainerHeight:U}),{root:c,activeIndex:l,exposeActiveIndex:H,arrowDisplay:v,hasLabel:h,hover:d,isCardType:g,items:r,isVertical:y,containerStyle:m,isItemsTwoLength:p,handleButtonEnter:N,handleButtonLeave:W,handleIndicatorClick:B,handleMouseEnter:k,handleMouseLeave:R,setActiveItem:_,prev:j,next:q,PlaceholderItem:F,isTwoLengthShow:A,ItemsSorter:a,throttledArrowClick:b,throttledIndicatorHover:w}},Cje="ElCarousel",xje=nt({name:Cje}),Sje=nt({...xje,props:hje,emits:gje,setup(e,{expose:t,emit:n}){const r=e,{root:o,activeIndex:i,exposeActiveIndex:a,arrowDisplay:s,hasLabel:l,hover:u,isCardType:d,items:c,isVertical:f,containerStyle:p,handleButtonEnter:v,handleButtonLeave:h,handleIndicatorClick:g,handleMouseEnter:y,handleMouseLeave:m,setActiveItem:b,prev:w,next:A,PlaceholderItem:S,isTwoLengthShow:E,ItemsSorter:D,throttledArrowClick:_,throttledIndicatorHover:M}=Aje(r,n),O=Vt("carousel"),{t:k}=Gr(),R=ee(()=>{const z=[O.b(),O.m(r.direction)];return C(d)&&z.push(O.m("card")),z}),N=ee(()=>{const z=[O.e("indicators"),O.em("indicators",r.direction)];return C(l)&&z.push(O.em("indicators","labels")),r.indicatorPosition==="outside"&&z.push(O.em("indicators","outside")),C(f)&&z.push(O.em("indicators","right")),z});function W(z){if(!r.motionBlur)return;const j=C(f)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;z.currentTarget.classList.add(j)}function B(z){if(!r.motionBlur)return;const j=C(f)?`${O.namespace.value}-transitioning-vertical`:`${O.namespace.value}-transitioning`;z.currentTarget.classList.remove(j)}return t({activeIndex:a,setActiveItem:b,prev:w,next:A}),(z,j)=>(L(),G("div",{ref_key:"root",ref:o,class:oe(C(R)),onMouseenter:en(C(y),["stop"]),onMouseleave:en(C(m),["stop"])},[C(s)?(L(),yt(Ki,{key:0,name:"carousel-arrow-left",persisted:""},{default:rt(()=>[cn(x("button",{type:"button",class:oe([C(O).e("arrow"),C(O).em("arrow","left")]),"aria-label":C(k)("el.carousel.leftArrow"),onMouseenter:q=>C(v)("left"),onMouseleave:C(h),onClick:en(q=>C(_)(C(i)-1),["stop"])},[He(C(Dn),null,{default:rt(()=>[He(C(Jf))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[kr,(z.arrow==="always"||C(u))&&(r.loop||C(i)>0)]])]),_:1})):xe("v-if",!0),C(s)?(L(),yt(Ki,{key:1,name:"carousel-arrow-right",persisted:""},{default:rt(()=>[cn(x("button",{type:"button",class:oe([C(O).e("arrow"),C(O).em("arrow","right")]),"aria-label":C(k)("el.carousel.rightArrow"),onMouseenter:q=>C(v)("right"),onMouseleave:C(h),onClick:en(q=>C(_)(C(i)+1),["stop"])},[He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[kr,(z.arrow==="always"||C(u))&&(r.loop||C(i)[z.indicatorPosition!=="none"?(L(),G("ul",{key:0,class:oe(C(N))},[(L(!0),G(Rt,null,un(C(c),(q,Y)=>cn((L(),G("li",{key:Y,class:oe([C(O).e("indicator"),C(O).em("indicator",z.direction),C(O).is("active",Y===C(i))]),onMouseenter:U=>C(M)(Y),onClick:en(U=>C(g)(Y),["stop"])},[x("button",{class:oe(C(O).e("button")),"aria-label":C(k)("el.carousel.indicator",{index:Y+1})},[C(l)?(L(),G("span",{key:0},je(q.props.label),1)):xe("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[kr,C(E)(Y)]])),128))],2)):xe("v-if",!0)]),_:1}),r.motionBlur?(L(),G("svg",{key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},[x("defs",null,[x("filter",{id:"elCarouselHorizontal"},[x("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),x("filter",{id:"elCarouselVertical"},[x("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])])])):xe("v-if",!0)],42,["onMouseenter","onMouseleave"]))}});var Eje=on(Sje,[["__file","carousel.vue"]]);const kje=Jt({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Tje=e=>{const t=dn(Q1e),n=br(),r=K(),o=K(!1),i=K(0),a=K(1),s=K(!1),l=K(!1),u=K(!1),d=K(!1),{isCardType:c,isVertical:f,cardScale:p}=t;function v(w,A,S){const E=S-1,D=A-1,_=A+1,M=S/2;return A===0&&w===E?-1:A===E&&w===0?S:w=M?S+1:w>_&&w-A>=M?-2:w}function h(w,A){var S,E;const D=C(f)?((S=t.root.value)==null?void 0:S.offsetHeight)||0:((E=t.root.value)==null?void 0:E.offsetWidth)||0;return u.value?D*((2-p)*(w-A)+1)/4:w{var E;const D=C(c),_=(E=t.items.value.length)!=null?E:Number.NaN,M=w===A;!D&&!Vr(S)&&(d.value=M||w===S),!M&&_>2&&t.loop&&(w=v(w,A,_));const O=C(f);s.value=M,D?(u.value=Math.round(Math.abs(w-A))<=1,i.value=h(w,A),a.value=C(s)?1:p):i.value=g(w,A,O),l.value=!0,M&&r.value&&t.setContainerHeight(r.value.offsetHeight)};function m(){if(t&&C(c)){const w=t.items.value.findIndex(({uid:A})=>A===n.uid);t.setActiveItem(w)}}const b={props:e,states:Wr({hover:o,translate:i,scale:a,active:s,ready:l,inStage:u,animating:d}),uid:n.uid,getVnode:()=>n.vnode,translateItem:y};return t.addItem(b),Jr(()=>{t.removeItem(b)}),{carouselItemRef:r,active:s,animating:d,hover:o,inStage:u,isVertical:f,translate:i,isCardType:c,scale:a,ready:l,handleItemClick:m}},_je=nt({name:EL}),Dje=nt({..._je,props:kje,setup(e){const t=e,n=Vt("carousel"),{carouselItemRef:r,active:o,animating:i,hover:a,inStage:s,isVertical:l,translate:u,isCardType:d,scale:c,ready:f,handleItemClick:p}=Tje(t),v=ee(()=>[n.e("item"),n.is("active",o.value),n.is("in-stage",s.value),n.is("hover",a.value),n.is("animating",i.value),{[n.em("item","card")]:d.value,[n.em("item","card-vertical")]:d.value&&l.value}]),h=ee(()=>{const y=`${`translate${C(l)?"Y":"X"}`}(${C(u)}px)`,m=`scale(${C(c)})`;return{transform:[y,m].join(" ")}});return(g,y)=>cn((L(),G("div",{ref_key:"carouselItemRef",ref:r,class:oe(C(v)),style:rn(C(h)),onClick:C(p)},[C(d)?cn((L(),G("div",{key:0,class:oe(C(n).e("mask"))},null,2)),[[kr,!C(o)]]):xe("v-if",!0),ht(g.$slots,"default")],14,["onClick"])),[[kr,C(f)]])}});var Z1e=on(Dje,[["__file","carousel-item.vue"]]);const Ije=or(Eje,{CarouselItem:Z1e}),Oje=vi(Z1e),X1e={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:Aa,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},..._s(["ariaControls"])},J1e={[Qn]:e=>In(e)||$n(e)||Eo(e),change:e=>In(e)||$n(e)||Eo(e)},Hb=Symbol("checkboxGroupContextKey"),Mje=({model:e,isChecked:t})=>{const n=dn(Hb,void 0),r=ee(()=>{var i,a;const s=(i=n?.max)==null?void 0:i.value,l=(a=n?.min)==null?void 0:a.value;return!Vr(s)&&e.value.length>=s&&!t.value||!Vr(l)&&e.value.length<=l&&t.value});return{isDisabled:Va(ee(()=>n?.disabled.value||r.value)),isLimitDisabled:r}},Pje=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:i})=>{const a=dn(Hb,void 0),{formItem:s}=Ds(),{emit:l}=br();function u(v){var h,g,y,m;return[!0,e.trueValue,e.trueLabel].includes(v)?(g=(h=e.trueValue)!=null?h:e.trueLabel)!=null?g:!0:(m=(y=e.falseValue)!=null?y:e.falseLabel)!=null?m:!1}function d(v,h){l(Pr,u(v),h)}function c(v){if(n.value)return;const h=v.target;l(Pr,u(h.checked),v)}async function f(v){n.value||!r.value&&!o.value&&i.value&&(v.composedPath().some(y=>y.tagName==="LABEL")||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),await Yt(),d(t.value,v)))}const p=ee(()=>a?.validateEvent||e.validateEvent);return St(()=>e.modelValue,()=>{p.value&&s?.validate("change").catch(v=>void 0)}),{handleChange:c,onClickRoot:f}},Nje=e=>{const t=K(!1),{emit:n}=br(),r=dn(Hb,void 0),o=ee(()=>Vr(r)===!1),i=K(!1),a=ee({get(){var s,l;return o.value?(s=r?.modelValue)==null?void 0:s.value:(l=e.modelValue)!=null?l:t.value},set(s){var l,u;o.value&&Zt(s)?(i.value=((l=r?.max)==null?void 0:l.value)!==void 0&&s.length>r?.max.value&&s.length>a.value.length,i.value===!1&&((u=r?.changeEvent)==null||u.call(r,s))):(n(Qn,s),t.value=s)}});return{model:a,isGroup:o,isLimitExceeded:i}},Rje=(e,t,{model:n})=>{const r=dn(Hb,void 0),o=K(!1),i=ee(()=>Bl(e.value)?e.label:e.value),a=ee(()=>{const d=n.value;return Eo(d)?d:Zt(d)?dr(i.value)?d.map(No).some(c=>fa(c,i.value)):d.map(No).includes(i.value):d!=null?d===e.trueValue||d===e.trueLabel:!!d}),s=ha(ee(()=>{var d;return(d=r?.size)==null?void 0:d.value}),{prop:!0}),l=ha(ee(()=>{var d;return(d=r?.size)==null?void 0:d.value})),u=ee(()=>!!t.default||!Bl(i.value));return{checkboxButtonSize:s,isChecked:a,isFocused:o,checkboxSize:l,hasOwnLabel:u,actualValue:i}},eye=(e,t)=>{const{formItem:n}=Ds(),{model:r,isGroup:o,isLimitExceeded:i}=Nje(e),{isFocused:a,isChecked:s,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:d,actualValue:c}=Rje(e,t,{model:r}),{isDisabled:f}=Mje({model:r,isChecked:s}),{inputId:p,isLabeledByFormItem:v}=fc(e,{formItemContext:n,disableIdGeneration:d,disableIdManagement:o}),{handleChange:h,onClickRoot:g}=Pje(e,{model:r,isLimitExceeded:i,hasOwnLabel:d,isDisabled:f,isLabeledByFormItem:v});return(()=>{function m(){var b,w;Zt(r.value)&&!r.value.includes(c.value)?r.value.push(c.value):r.value=(w=(b=e.trueValue)!=null?b:e.trueLabel)!=null?w:!0}e.checked&&m()})(),jf({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},ee(()=>o.value&&Bl(e.value))),jf({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},ee(()=>!!e.trueLabel)),jf({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},ee(()=>!!e.falseLabel)),{inputId:p,isLabeledByFormItem:v,isChecked:s,isDisabled:f,isFocused:a,checkboxButtonSize:l,checkboxSize:u,hasOwnLabel:d,model:r,actualValue:c,handleChange:h,onClickRoot:g}},Bje=nt({name:"ElCheckbox"}),Lje=nt({...Bje,props:X1e,emits:J1e,setup(e){const t=e,n=ga(),{inputId:r,isLabeledByFormItem:o,isChecked:i,isDisabled:a,isFocused:s,checkboxSize:l,hasOwnLabel:u,model:d,actualValue:c,handleChange:f,onClickRoot:p}=eye(t,n),v=Vt("checkbox"),h=ee(()=>[v.b(),v.m(l.value),v.is("disabled",a.value),v.is("bordered",t.border),v.is("checked",i.value)]),g=ee(()=>[v.e("input"),v.is("disabled",a.value),v.is("checked",i.value),v.is("indeterminate",t.indeterminate),v.is("focus",s.value)]);return(y,m)=>(L(),yt(mr(!C(u)&&C(o)?"span":"label"),{class:oe(C(h)),"aria-controls":y.indeterminate?y.ariaControls:null,onClick:C(p)},{default:rt(()=>{var b,w,A,S;return[x("span",{class:oe(C(g))},[y.trueValue||y.falseValue||y.trueLabel||y.falseLabel?cn((L(),G("input",{key:0,id:C(r),"onUpdate:modelValue":E=>Uo(d)?d.value=E:null,class:oe(C(v).e("original")),type:"checkbox",indeterminate:y.indeterminate,name:y.name,tabindex:y.tabindex,disabled:C(a),"true-value":(w=(b=y.trueValue)!=null?b:y.trueLabel)!=null?w:!0,"false-value":(S=(A=y.falseValue)!=null?A:y.falseLabel)!=null?S:!1,onChange:C(f),onFocus:E=>s.value=!0,onBlur:E=>s.value=!1,onClick:en(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[dE,C(d)]]):cn((L(),G("input",{key:1,id:C(r),"onUpdate:modelValue":E=>Uo(d)?d.value=E:null,class:oe(C(v).e("original")),type:"checkbox",indeterminate:y.indeterminate,disabled:C(a),value:C(c),name:y.name,tabindex:y.tabindex,onChange:C(f),onFocus:E=>s.value=!0,onBlur:E=>s.value=!1,onClick:en(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[dE,C(d)]]),x("span",{class:oe(C(v).e("inner"))},null,2)],2),C(u)?(L(),G("span",{key:0,class:oe(C(v).e("label"))},[ht(y.$slots,"default"),y.$slots.default?xe("v-if",!0):(L(),G(Rt,{key:0},[bn(je(y.label),1)],64))],2)):xe("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Fje=on(Lje,[["__file","checkbox.vue"]]);const Uje=nt({name:"ElCheckboxButton"}),zje=nt({...Uje,props:X1e,emits:J1e,setup(e){const t=e,n=ga(),{isFocused:r,isChecked:o,isDisabled:i,checkboxButtonSize:a,model:s,actualValue:l,handleChange:u}=eye(t,n),d=dn(Hb,void 0),c=Vt("checkbox"),f=ee(()=>{var v,h,g,y;const m=(h=(v=d?.fill)==null?void 0:v.value)!=null?h:"";return{backgroundColor:m,borderColor:m,color:(y=(g=d?.textColor)==null?void 0:g.value)!=null?y:"",boxShadow:m?`-1px 0 0 0 ${m}`:void 0}}),p=ee(()=>[c.b("button"),c.bm("button",a.value),c.is("disabled",i.value),c.is("checked",o.value),c.is("focus",r.value)]);return(v,h)=>{var g,y,m,b;return L(),G("label",{class:oe(C(p))},[v.trueValue||v.falseValue||v.trueLabel||v.falseLabel?cn((L(),G("input",{key:0,"onUpdate:modelValue":w=>Uo(s)?s.value=w:null,class:oe(C(c).be("button","original")),type:"checkbox",name:v.name,tabindex:v.tabindex,disabled:C(i),"true-value":(y=(g=v.trueValue)!=null?g:v.trueLabel)!=null?y:!0,"false-value":(b=(m=v.falseValue)!=null?m:v.falseLabel)!=null?b:!1,onChange:C(u),onFocus:w=>r.value=!0,onBlur:w=>r.value=!1,onClick:en(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[dE,C(s)]]):cn((L(),G("input",{key:1,"onUpdate:modelValue":w=>Uo(s)?s.value=w:null,class:oe(C(c).be("button","original")),type:"checkbox",name:v.name,tabindex:v.tabindex,disabled:C(i),value:C(l),onChange:C(u),onFocus:w=>r.value=!0,onBlur:w=>r.value=!1,onClick:en(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[dE,C(s)]]),v.$slots.default||v.label?(L(),G("span",{key:2,class:oe(C(c).be("button","inner")),style:rn(C(o)?C(f):void 0)},[ht(v.$slots,"default",{},()=>[bn(je(v.label),1)])],6)):xe("v-if",!0)],2)}}});var tye=on(zje,[["__file","checkbox-button.vue"]]);const $je=Jt({modelValue:{type:ct(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:Aa,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},..._s(["ariaLabel"])}),jje={[Qn]:e=>Zt(e),change:e=>Zt(e)},Hje=nt({name:"ElCheckboxGroup"}),Wje=nt({...Hje,props:$je,emits:jje,setup(e,{emit:t}){const n=e,r=Vt("checkbox"),{formItem:o}=Ds(),{inputId:i,isLabeledByFormItem:a}=fc(n,{formItemContext:o}),s=async u=>{t(Qn,u),await Yt(),t(Pr,u)},l=ee({get(){return n.modelValue},set(u){s(u)}});return _r(Hb,{...uu(Oa(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:l,changeEvent:s}),St(()=>n.modelValue,(u,d)=>{n.validateEvent&&!fa(u,d)&&o?.validate("change").catch(c=>void 0)}),(u,d)=>{var c;return L(),yt(mr(u.tag),{id:C(i),class:oe(C(r).b("group")),role:"group","aria-label":C(a)?void 0:u.ariaLabel||"checkbox-group","aria-labelledby":C(a)?(c=C(o))==null?void 0:c.labelId:void 0},{default:rt(()=>[ht(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var nye=on(Wje,[["__file","checkbox-group.vue"]]);const tc=or(Fje,{CheckboxButton:tye,CheckboxGroup:nye}),Vje=vi(tye),rye=vi(nye),oye=Jt({modelValue:{type:[String,Number,Boolean],default:void 0},size:Aa,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),qje=Jt({...oye,border:Boolean}),iye={[Qn]:e=>In(e)||$n(e)||Eo(e),[Pr]:e=>In(e)||$n(e)||Eo(e)},aye=Symbol("radioGroupKey"),sye=(e,t)=>{const n=K(),r=dn(aye,void 0),o=ee(()=>!!r),i=ee(()=>Bl(e.value)?e.label:e.value),a=ee({get(){return o.value?r.modelValue:e.modelValue},set(c){o.value?r.changeEvent(c):t&&t(Qn,c),n.value.checked=e.modelValue===i.value}}),s=ha(ee(()=>r?.size)),l=Va(ee(()=>r?.disabled)),u=K(!1),d=ee(()=>l.value||o.value&&a.value!==i.value?-1:0);return jf({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},ee(()=>o.value&&Bl(e.value))),{radioRef:n,isGroup:o,radioGroup:r,focus:u,size:s,disabled:l,tabIndex:d,modelValue:a,actualValue:i}},Gje=nt({name:"ElRadio"}),Kje=nt({...Gje,props:qje,emits:iye,setup(e,{emit:t}){const n=e,r=Vt("radio"),{radioRef:o,radioGroup:i,focus:a,size:s,disabled:l,modelValue:u,actualValue:d}=sye(n,t);function c(){Yt(()=>t(Pr,u.value))}return(f,p)=>{var v;return L(),G("label",{class:oe([C(r).b(),C(r).is("disabled",C(l)),C(r).is("focus",C(a)),C(r).is("bordered",f.border),C(r).is("checked",C(u)===C(d)),C(r).m(C(s))])},[x("span",{class:oe([C(r).e("input"),C(r).is("disabled",C(l)),C(r).is("checked",C(u)===C(d))])},[cn(x("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":h=>Uo(u)?u.value=h:null,class:oe(C(r).e("original")),value:C(d),name:f.name||((v=C(i))==null?void 0:v.name),disabled:C(l),checked:C(u)===C(d),type:"radio",onFocus:h=>a.value=!0,onBlur:h=>a.value=!1,onChange:c,onClick:en(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","checked","onFocus","onBlur","onClick"]),[[Zge,C(u)]]),x("span",{class:oe(C(r).e("inner"))},null,2)],2),x("span",{class:oe(C(r).e("label")),onKeydown:en(()=>{},["stop"])},[ht(f.$slots,"default",{},()=>[bn(je(f.label),1)])],42,["onKeydown"])],2)}}});var Yje=on(Kje,[["__file","radio.vue"]]);const Qje=Jt({...oye}),Zje=nt({name:"ElRadioButton"}),Xje=nt({...Zje,props:Qje,setup(e){const t=e,n=Vt("radio"),{radioRef:r,focus:o,size:i,disabled:a,modelValue:s,radioGroup:l,actualValue:u}=sye(t),d=ee(()=>({backgroundColor:l?.fill||"",borderColor:l?.fill||"",boxShadow:l?.fill?`-1px 0 0 0 ${l.fill}`:"",color:l?.textColor||""}));return(c,f)=>{var p;return L(),G("label",{class:oe([C(n).b("button"),C(n).is("active",C(s)===C(u)),C(n).is("disabled",C(a)),C(n).is("focus",C(o)),C(n).bm("button",C(i))])},[cn(x("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":v=>Uo(s)?s.value=v:null,class:oe(C(n).be("button","original-radio")),value:C(u),type:"radio",name:c.name||((p=C(l))==null?void 0:p.name),disabled:C(a),onFocus:v=>o.value=!0,onBlur:v=>o.value=!1,onClick:en(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[Zge,C(s)]]),x("span",{class:oe(C(n).be("button","inner")),style:rn(C(s)===C(u)?C(d):{}),onKeydown:en(()=>{},["stop"])},[ht(c.$slots,"default",{},()=>[bn(je(c.label),1)])],46,["onKeydown"])],2)}}});var lye=on(Xje,[["__file","radio-button.vue"]]);const Jje=Jt({id:{type:String,default:void 0},size:Aa,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},..._s(["ariaLabel"])}),eHe=iye,tHe=nt({name:"ElRadioGroup"}),nHe=nt({...tHe,props:Jje,emits:eHe,setup(e,{emit:t}){const n=e,r=Vt("radio"),o=ps(),i=K(),{formItem:a}=Ds(),{inputId:s,isLabeledByFormItem:l}=fc(n,{formItemContext:a}),u=c=>{t(Qn,c),Yt(()=>t(Pr,c))};qn(()=>{const c=i.value.querySelectorAll("[type=radio]"),f=c[0];!Array.from(c).some(p=>p.checked)&&f&&(f.tabIndex=0)});const d=ee(()=>n.name||o.value);return _r(aye,Wr({...Oa(n),changeEvent:u,name:d})),St(()=>n.modelValue,(c,f)=>{n.validateEvent&&!fa(c,f)&&a?.validate("change").catch(p=>void 0)}),(c,f)=>(L(),G("div",{id:C(s),ref_key:"radioGroupRef",ref:i,class:oe(C(r).b("group")),role:"radiogroup","aria-label":C(l)?void 0:c.ariaLabel||"radio-group","aria-labelledby":C(l)?C(a).labelId:void 0},[ht(c.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var uye=on(nHe,[["__file","radio-group.vue"]]);const cye=or(Yje,{RadioButton:lye,RadioGroup:uye}),rHe=vi(uye),oHe=vi(lye),dD=Symbol();function iHe(e){return!!(Zt(e)?e.every(({type:t})=>t===da):e?.type===da)}var aHe=nt({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=Vt("cascader-node"),{renderLabelFn:n}=dn(dD),{node:r}=e,{data:o,label:i}=r,a=()=>{const s=n?.({node:r,data:o});return iHe(s)?i:s??i};return()=>He("span",{class:t.e("label")},[a()])}});const sHe=nt({name:"ElCascaderNode"}),lHe=nt({...sHe,props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,r=dn(dD),o=Vt("cascader-node"),i=ee(()=>r.isHoverMenu),a=ee(()=>r.config.multiple),s=ee(()=>r.config.checkStrictly),l=ee(()=>r.config.showPrefix),u=ee(()=>{var D;return(D=r.checkedNodes[0])==null?void 0:D.uid}),d=ee(()=>n.node.isDisabled),c=ee(()=>n.node.isLeaf),f=ee(()=>s.value&&!c.value||!d.value),p=ee(()=>h(r.expandingNode)),v=ee(()=>s.value&&r.checkedNodes.some(h)),h=D=>{var _;const{level:M,uid:O}=n.node;return((_=D?.pathNodes[M-1])==null?void 0:_.uid)===O},g=()=>{p.value||r.expandNode(n.node)},y=D=>{const{node:_}=n;D!==_.checked&&r.handleCheckChange(_,D)},m=()=>{r.lazyLoad(n.node,()=>{c.value||g()})},b=D=>{i.value&&(w(),!c.value&&t("expand",D))},w=()=>{const{node:D}=n;!f.value||D.loading||(D.loaded?g():m())},A=()=>{i.value||(c.value&&!d.value&&!s.value&&!a.value?E(!0):(r.config.checkOnClickNode||c.value&&r.config.checkOnClickLeaf)&&!d.value?S(!n.node.checked):w())},S=D=>{s.value?(y(D),n.node.loaded&&g()):E(D)},E=D=>{n.node.loaded?(y(D),!s.value&&g()):m()};return(D,_)=>(L(),G("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!C(c),"aria-owns":C(c)?void 0:e.menuId,"aria-expanded":C(p),tabindex:C(f)?-1:void 0,class:oe([C(o).b(),C(o).is("selectable",C(s)),C(o).is("active",e.node.checked),C(o).is("disabled",!C(f)),C(p)&&"in-active-path",C(v)&&"in-checked-path"]),onMouseenter:b,onFocus:b,onClick:A},[xe(" prefix "),C(a)&&C(l)?(L(),yt(C(tc),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:C(d),onClick:en(()=>{},["stop"]),"onUpdate:modelValue":S},null,8,["model-value","indeterminate","disabled","onClick"])):C(s)&&C(l)?(L(),yt(C(cye),{key:1,"model-value":C(u),label:e.node.uid,disabled:C(d),"onUpdate:modelValue":S,onClick:en(()=>{},["stop"])},{default:rt(()=>[xe(` Add an empty element to avoid render label, do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 `),x("span")]),_:1},8,["model-value","label","disabled","onClick"])):C(c)&&e.node.checked?(L(),yt(C(Dn),{key:2,class:oe(C(o).e("prefix"))},{default:rt(()=>[He(C(B5))]),_:1},8,["class"])):xe("v-if",!0),xe(" content "),He(C(aHe),{node:e.node},null,8,["node"]),xe(" postfix "),C(c)?xe("v-if",!0):(L(),G(Rt,{key:3},[e.node.loading?(L(),yt(C(Dn),{key:0,class:oe([C(o).is("loading"),C(o).e("postfix")])},{default:rt(()=>[He(C(jc))]),_:1},8,["class"])):(L(),yt(C(Dn),{key:1,class:oe(["arrow-right",C(o).e("postfix")])},{default:rt(()=>[He(C(Da))]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex"]))}});var uHe=on(lHe,[["__file","node.vue"]]);const cHe=nt({name:"ElCascaderMenu"}),dHe=nt({...cHe,props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=br(),r=Vt("cascader-menu"),{t:o}=Gr(),i=ps();let a,s;const l=dn(dD),u=K(),d=ee(()=>!t.nodes.length),c=ee(()=>!l.initialLoaded),f=ee(()=>`${i.value}-${t.index}`),p=y=>{a=y.target},v=y=>{if(!(!l.isHoverMenu||!a||!u.value))if(a.contains(y.target)){h();const m=n.vnode.el,{left:b}=m.getBoundingClientRect(),{offsetWidth:w,offsetHeight:A}=m,S=y.clientX-b,E=a.offsetTop,D=E+a.offsetHeight;u.value.innerHTML=` `}else s||(s=window.setTimeout(g,l.config.hoverThreshold))},h=()=>{s&&(clearTimeout(s),s=void 0)},g=()=>{u.value&&(u.value.innerHTML="",h())};return(y,m)=>(L(),yt(C(Hc),{key:C(f),tag:"ul",role:"menu",class:oe(C(r).b()),"wrap-class":C(r).e("wrap"),"view-class":[C(r).e("list"),C(r).is("empty",C(d))],onMousemove:v,onMouseleave:g},{default:rt(()=>{var b;return[(L(!0),G(Rt,null,un(e.nodes,w=>(L(),yt(uHe,{key:w.uid,node:w,"menu-id":C(f),onExpand:p},null,8,["node","menu-id"]))),128)),C(c)?(L(),G("div",{key:0,class:oe(C(r).e("empty-text"))},[He(C(Dn),{size:"14",class:oe(C(r).is("loading"))},{default:rt(()=>[He(C(jc))]),_:1},8,["class"]),bn(" "+je(C(o)("el.cascader.loading")),1)],2)):C(d)?(L(),G("div",{key:1,class:oe(C(r).e("empty-text"))},[ht(y.$slots,"empty",{},()=>[bn(je(C(o)("el.cascader.noData")),1)])],2)):(b=C(l))!=null&&b.isHoverMenu?(L(),G(Rt,{key:2},[xe(" eslint-disable-next-line vue/html-self-closing "),(L(),G("svg",{ref_key:"hoverZone",ref:u,class:oe(C(r).e("hover-zone"))},null,2))],2112)):xe("v-if",!0)]}),_:3},8,["class","wrap-class","view-class"]))}});var fHe=on(dHe,[["__file","menu.vue"]]);let pHe=0;const hHe=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let TL=class _L{constructor(t,n,r,o=!1){this.data=t,this.config=n,this.parent=r,this.root=o,this.uid=pHe++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:a,children:s}=n,l=t[s],u=hHe(this);this.level=o?0:r?r.level+1:1,this.value=t[i],this.label=t[a],this.pathNodes=u,this.pathValues=u.map(d=>d.value),this.pathLabels=u.map(d=>d.label),this.childrenData=l,this.children=(l||[]).map(d=>new _L(d,n,this)),this.loaded=!n.lazy||this.isLeaf||!iu(l),this.text=""}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:o,checkStrictly:i}=r;return(Rn(o)?o(t,this):!!t[o])||!i&&!!n?.isDisabled}get isLeaf(){const{data:t,config:n,childrenData:r,loaded:o}=this,{lazy:i,leaf:a}=n,s=Rn(a)?a(t,this):t[a];return Vr(s)?i&&!o?!1:!(Zt(r)&&r.length):!!s}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:r}=this,o=new _L(t,this.config,this);return Zt(n)?n.push(t):this.childrenData=[t],r.push(o),o}calcText(t,n){const r=t?this.pathLabels.join(n):this.label;return this.text=r,r}broadcast(t){this.children.forEach(n=>{var r;n&&(n.broadcast(t),(r=n.onParentCheck)==null||r.call(n,t))})}emit(){var t;const{parent:n}=this;n&&((t=n.onChildCheck)==null||t.call(n),n.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(o=>!o.isDisabled),r=n.length?n.every(o=>o.checked):!1;this.setCheckState(r)}setCheckState(t){const n=this.children.length,r=this.children.reduce((o,i)=>{const a=i.checked?1:i.indeterminate?.5:0;return o+a},0);this.checked=this.loaded&&this.children.filter(o=>!o.isDisabled).every(o=>o.loaded&&o.checked)&&t,this.indeterminate=this.loaded&&r!==n&&r>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:r}=this.config;n||!r?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const DL=(e,t)=>e.reduce((n,r)=>(r.isLeaf?n.push(r):(!t&&n.push(r),n=n.concat(DL(r.children,t))),n),[]);class NJ{constructor(t,n){this.config=n;const r=(t||[]).map(o=>new TL(o,this.config));this.nodes=r,this.allNodes=DL(r,!1),this.leafNodes=DL(r,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const r=n?n.appendChild(t):new TL(t,this.config);n||this.nodes.push(r),this.appendAllNodesAndLeafNodes(r)}appendNodes(t,n){t.length>0?t.forEach(r=>this.appendNode(r,n)):n&&n.isLeaf&&this.leafNodes.push(n)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(n=>{this.appendAllNodesAndLeafNodes(n)})}getNodeByValue(t,n=!1){return Bl(t)?null:this.getFlattedNodes(n).find(o=>fa(o.value,t)||fa(o.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:r,level:o})=>fa(t.value,r)&&t.level===o)||null}}const dye=Jt({modelValue:{type:ct([Number,String,Array])},options:{type:ct(Array),default:()=>[]},props:{type:ct(Object),default:()=>({})}}),gHe={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:bo,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},vHe=Jt({...dye,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),RJ=e=>!0,mHe={[Qn]:RJ,[Pr]:RJ,close:()=>!0,"expand-change":e=>e},yHe=e=>ee(()=>({...gHe,...e.props})),BJ=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},bHe=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():c1e(e)&&e.click()},wHe=(e,t)=>{const n=t.slice(0),r=n.map(i=>i.uid),o=e.reduce((i,a)=>{const s=r.indexOf(a.uid);return s>-1&&(i.push(a),n.splice(s,1),r.splice(s,1)),i},[]);return o.push(...n),o},LJ=e=>[...new Set(e)],sl=e=>!e&&e!==0?[]:Zt(e)?e:[e],AHe=nt({name:"ElCascaderPanel",inheritAttrs:!1}),CHe=nt({...AHe,props:vHe,emits:mHe,setup(e,{expose:t,emit:n}){const r=e;let o=!1;const i=Vt("cascader"),a=yHe(r),s=ga();let l;const u=K(!0),d=K([]),c=K(),f=K([]),p=K(),v=K([]),h=ee(()=>a.value.expandTrigger==="hover"),g=ee(()=>r.renderLabel||s.default),y=()=>{const{options:N}=r,W=a.value;o=!1,l=new NJ(N,W),f.value=[l.getNodes()],W.lazy&&iu(r.options)?(u.value=!1,m(void 0,B=>{B&&(l=new NJ(B,W),f.value=[l.getNodes()]),u.value=!0,M(!1,!0)})):M(!1,!0)},m=(N,W)=>{const B=a.value;N=N||new TL({},B,void 0,!0),N.loading=!0;const z=j=>{const q=N,Y=q.root?null:q;q.loading=!1,q.loaded=!0,q.childrenData=q.childrenData||[],j&&l?.appendNodes(j,Y),j&&W?.(j)};B.lazyLoad(N,z)},b=(N,W)=>{var B;const{level:z}=N,j=f.value.slice(0,z);let q;N.isLeaf?q=N.pathNodes[z-2]:(q=N,j.push(N.children)),((B=p.value)==null?void 0:B.uid)!==q?.uid&&(p.value=N,f.value=j,!W&&n("expand-change",N?.pathValues||[]))},w=(N,W,B=!0)=>{const{checkStrictly:z,multiple:j}=a.value,q=v.value[0];o=!0,!j&&q?.doCheck(!1),N.doCheck(W),_(),B&&!j&&!z&&n("close"),!B&&!j&&!z&&A(N)},A=N=>{N&&(N=N.parent,A(N),N&&b(N))},S=N=>l?.getFlattedNodes(N),E=N=>{var W;return(W=S(N))==null?void 0:W.filter(({checked:B})=>B!==!1)},D=()=>{v.value.forEach(N=>N.doCheck(!1)),_(),f.value=f.value.slice(0,1),p.value=void 0,n("expand-change",[])},_=()=>{var N;const{checkStrictly:W,multiple:B}=a.value,z=v.value,j=E(!W),q=wHe(z,j),Y=q.map(U=>U.valueByOption);v.value=q,c.value=B?Y:(N=Y[0])!=null?N:null},M=(N=!1,W=!1)=>{const{modelValue:B}=r,{lazy:z,multiple:j,checkStrictly:q}=a.value,Y=!q;if(!(!u.value||o||!W&&fa(B,c.value)))if(z&&!N){const F=LJ(uRe(sl(B))).map(H=>l?.getNodeByValue(H)).filter(H=>!!H&&!H.loaded&&!H.loading);F.length?F.forEach(H=>{m(H,()=>M(!1,W))}):M(!0,W)}else{const U=j?sl(B):[B],F=LJ(U.map(H=>l?.getNodeByValue(H,Y)));O(F,W),c.value=yE(B??void 0)}},O=(N,W=!0)=>{const{checkStrictly:B}=a.value,z=v.value,j=N.filter(U=>!!U&&(B||U.isLeaf)),q=l?.getSameNode(p.value),Y=W&&q||j[0];Y?Y.pathNodes.forEach(U=>b(U,!0)):p.value=void 0,z.forEach(U=>U.doCheck(!1)),Wr(j).forEach(U=>U.doCheck(!0)),v.value=j,Yt(k)},k=()=>{Xr&&d.value.forEach(N=>{const W=N?.$el;if(W){const B=W.querySelector(`.${i.namespace.value}-scrollbar__wrap`),z=W.querySelector(`.${i.b("node")}.${i.is("active")}:last-child`)||W.querySelector(`.${i.b("node")}.in-active-path`);CH(B,z)}})},R=N=>{const W=N.target,{code:B}=N;switch(B){case gn.up:case gn.down:{N.preventDefault();const z=B===gn.up?-1:1;xS(d1e(W,z,`.${i.b("node")}[tabindex="-1"]`));break}case gn.left:{N.preventDefault();const z=d.value[BJ(W)-1],j=z?.$el.querySelector(`.${i.b("node")}[aria-expanded="true"]`);xS(j);break}case gn.right:{N.preventDefault();const z=d.value[BJ(W)+1],j=z?.$el.querySelector(`.${i.b("node")}[tabindex="-1"]`);xS(j);break}case gn.enter:case gn.numpadEnter:bHe(W);break}};return _r(dD,Wr({config:a,expandingNode:p,checkedNodes:v,isHoverMenu:h,initialLoaded:u,renderLabelFn:g,lazyLoad:m,expandNode:b,handleCheckChange:w})),St(a,(N,W)=>{fa(N,W)||y()},{immediate:!0}),St(()=>r.options,y,{deep:!0}),St(()=>r.modelValue,()=>{o=!1,M()},{deep:!0}),St(()=>c.value,N=>{fa(N,r.modelValue)||(n(Qn,N),n(Pr,N))}),zj(()=>d.value=[]),qn(()=>!iu(r.modelValue)&&M()),t({menuList:d,menus:f,checkedNodes:v,handleKeyDown:R,handleCheckChange:w,getFlattedNodes:S,getCheckedNodes:E,clearCheckedNodes:D,calculateCheckedValue:_,scrollToExpandingNode:k}),(N,W)=>(L(),G("div",{class:oe([C(i).b("panel"),C(i).is("bordered",N.border)]),onKeydown:R},[(L(!0),G(Rt,null,un(f.value,(B,z)=>(L(),yt(fHe,{key:z,ref_for:!0,ref:j=>d.value[z]=j,index:z,nodes:[...B]},{empty:rt(()=>[ht(N.$slots,"empty")]),_:2},1032,["index","nodes"]))),128))],34))}});var xHe=on(CHe,[["__file","index.vue"]]);const fye=or(xHe),tp=Jt({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:ef},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),SHe={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},EHe=nt({name:"ElTag"}),kHe=nt({...EHe,props:tp,emits:SHe,setup(e,{emit:t}){const n=e,r=ha(),o=Vt("tag"),i=ee(()=>{const{type:u,hit:d,effect:c,closable:f,round:p}=n;return[o.b(),o.is("closable",f),o.m(u||"primary"),o.m(r.value),o.m(c),o.is("hit",d),o.is("round",p)]}),a=u=>{t("close",u)},s=u=>{t("click",u)},l=u=>{var d,c,f;(f=(c=(d=u?.component)==null?void 0:d.subTree)==null?void 0:c.component)!=null&&f.bum&&(u.component.subTree.component.bum=null)};return(u,d)=>u.disableTransitions?(L(),G("span",{key:0,class:oe(C(i)),style:rn({backgroundColor:u.color}),onClick:s},[x("span",{class:oe(C(o).e("content"))},[ht(u.$slots,"default")],2),u.closable?(L(),yt(C(Dn),{key:0,class:oe(C(o).e("close")),onClick:en(a,["stop"])},{default:rt(()=>[He(C(vu))]),_:1},8,["class","onClick"])):xe("v-if",!0)],6)):(L(),yt(Ki,{key:1,name:`${C(o).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:l},{default:rt(()=>[x("span",{class:oe(C(i)),style:rn({backgroundColor:u.color}),onClick:s},[x("span",{class:oe(C(o).e("content"))},[ht(u.$slots,"default")],2),u.closable?(L(),yt(C(Dn),{key:0,class:oe(C(o).e("close")),onClick:en(a,["stop"])},{default:rt(()=>[He(C(vu))]),_:1},8,["class","onClick"])):xe("v-if",!0)],6)]),_:3},8,["name"]))}});var THe=on(kHe,[["__file","tag.vue"]]);const Nh=or(THe),_He=Jt({...dye,size:Aa,placeholder:String,disabled:Boolean,clearable:Boolean,clearIcon:{type:wo,default:tf},filterable:Boolean,filterMethod:{type:ct(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:ct(Function),default:()=>!0},placement:{type:ct(String),values:Cp,default:"bottom-start"},fallbackPlacements:{type:ct(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:oi.popperClass,popperStyle:oi.popperStyle,teleported:oi.teleported,effect:{type:ct(String),default:"light"},tagType:{...tp.type,default:"info"},tagEffect:{...tp.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...lm}),FJ=e=>!0,DHe={[Qn]:FJ,[Pr]:FJ,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>Eo(e),expandChange:e=>!!e,removeTag:e=>!!e},ah=new Map;if(Xr){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of ah.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function UJ(e,t){let n=[];return Zt(t.arg)?n=t.arg:cl(t.arg)&&n.push(t.arg),function(r,o){const i=t.instance.popperRef,a=r.target,s=o?.target,l=!t||!t.instance,u=!a||!s,d=e.contains(a)||e.contains(s),c=e===a,f=n.length&&n.some(v=>v?.contains(a))||n.length&&n.includes(s),p=i&&(i.contains(a)||i.contains(s));l||u||d||c||f||p||t.value(r,o)}}const np={beforeMount(e,t){ah.has(e)||ah.set(e,[]),ah.get(e).push({documentHandler:UJ(e,t),bindingFn:t.value})},updated(e,t){ah.has(e)||ah.set(e,[]);const n=ah.get(e),r=n.findIndex(i=>i.bindingFn===t.oldValue),o={documentHandler:UJ(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted(e){ah.delete(e)}},IHe="ElCascader",OHe=nt({name:IHe}),MHe=nt({...OHe,props:_He,emits:DHe,setup(e,{expose:t,emit:n}){const r=e,o={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:de})=>{const{modifiersData:tt,placement:ft}=de;["right","left","bottom","top"].includes(ft)||tt.arrow&&(tt.arrow.x=35)},requires:["arrow"]}]},i=yp();let a=0,s=0;const l=Vt("cascader"),u=Vt("input"),{t:d}=Gr(),{formItem:c}=Ds(),f=Va(),{valueOnClear:p}=R5(r),{isComposing:v,handleComposition:h}=F5({afterComposition(de){var tt;const ft=(tt=de.target)==null?void 0:tt.value;dt(ft)}}),g=K(null),y=K(),m=K(),b=K(null),w=K(null),A=K(null),S=K(!1),E=K(!1),D=K(!1),_=K(""),M=K(""),O=K([]),k=K([]),R=K([]),N=ee(()=>i.style),W=ee(()=>{var de;return(de=r.placeholder)!=null?de:d("el.cascader.placeholder")}),B=ee(()=>M.value||O.value.length>0||v.value?"":W.value),z=ha(),j=ee(()=>z.value==="small"?"small":"default"),q=ee(()=>!!r.props.multiple),Y=ee(()=>!r.filterable||q.value),U=ee(()=>q.value?M.value:_.value),F=ee(()=>{var de;return((de=w.value)==null?void 0:de.checkedNodes)||[]}),{wrapperRef:H,isFocused:re,handleBlur:X}=Ap(m,{disabled:f,beforeBlur(de){var tt,ft,Mt;return((tt=g.value)==null?void 0:tt.isFocusInsideContent(de))||((Mt=(ft=y.value)==null?void 0:ft[0])==null?void 0:Mt.isFocusInsideContent(de))},afterBlur(){var de;S.value=!1,r.validateEvent&&((de=c?.validate)==null||de.call(c,"blur").catch(tt=>void 0))}}),te=ee(()=>!r.clearable||f.value||D.value||!E.value&&!re.value?!1:!!F.value.length),Z=ee(()=>{const{showAllLevels:de,separator:tt}=r,ft=F.value;return ft.length?q.value?"":ft[0].calcText(de,tt):""}),le=ee(()=>c?.validateState||""),ve=ee({get(){return yE(r.modelValue)},set(de){const tt=de??p.value;n(Qn,tt),n(Pr,tt),r.validateEvent&&c?.validate("change").catch(ft=>void 0)}}),Pe=ee(()=>[l.b(),l.m(z.value),l.is("disabled",f.value),i.class]),Ae=ee(()=>[u.e("icon"),"icon-arrow-down",l.is("reverse",S.value)]),he=ee(()=>l.is("focus",re.value)),Ee=ee(()=>{var de,tt;return(tt=(de=g.value)==null?void 0:de.popperRef)==null?void 0:tt.contentRef}),Q=de=>{if(re.value){const tt=new FocusEvent("blur",de);X(tt)}me(!1)},me=de=>{var tt,ft,Mt;f.value||(de=de??!S.value,de!==S.value&&(S.value=de,(ft=(tt=m.value)==null?void 0:tt.input)==null||ft.setAttribute("aria-expanded",`${de}`),de?(De(),Yt((Mt=w.value)==null?void 0:Mt.scrollToExpandingNode)):r.filterable&&an(),n("visibleChange",de)))},De=()=>{Yt(()=>{var de;(de=g.value)==null||de.updatePopper()})},pe=()=>{D.value=!1},ie=de=>{const{showAllLevels:tt,separator:ft}=r;return{node:de,key:de.uid,text:de.calcText(tt,ft),hitState:!1,closable:!f.value&&!de.isDisabled,isCollapseTag:!1}},ue=de=>{var tt;const ft=de.node;ft.doCheck(!1),(tt=w.value)==null||tt.calculateCheckedValue(),n("removeTag",ft.valueByOption)},Be=()=>{switch(r.showCheckedStrategy){case"child":return F.value;case"parent":{const de=Re(!1),tt=de.map(Mt=>Mt.value);return de.filter(Mt=>!Mt.parent||!tt.includes(Mt.parent.value))}default:return[]}},Me=()=>{if(!q.value)return;const de=Be(),tt=[],ft=[];if(de.forEach(Mt=>ft.push(ie(Mt))),k.value=ft,de.length){de.slice(0,r.maxCollapseTags).forEach(Nn=>tt.push(ie(Nn)));const Mt=de.slice(r.maxCollapseTags),Tn=Mt.length;Tn&&(r.collapseTags?tt.push({key:-1,text:`+ ${Tn}`,closable:!1,isCollapseTag:!0}):Mt.forEach(Nn=>tt.push(ie(Nn))))}O.value=tt},Fe=()=>{var de,tt;const{filterMethod:ft,showAllLevels:Mt,separator:Tn}=r,Nn=(tt=(de=w.value)==null?void 0:de.getFlattedNodes(!r.props.checkStrictly))==null?void 0:tt.filter(We=>We.isDisabled?!1:(We.calcText(Mt,Tn),ft(We,U.value)));q.value&&(O.value.forEach(We=>{We.hitState=!1}),k.value.forEach(We=>{We.hitState=!1})),D.value=!0,R.value=Nn,De()},ze=()=>{var de;let tt;D.value&&A.value?tt=A.value.$el.querySelector(`.${l.e("suggestion-item")}`):tt=(de=w.value)==null?void 0:de.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`),tt&&(tt.focus(),!D.value&&tt.click())},Ne=()=>{var de,tt;const ft=(de=m.value)==null?void 0:de.input,Mt=b.value,Tn=(tt=A.value)==null?void 0:tt.$el;if(!(!Xr||!ft)){if(Tn){const Nn=Tn.querySelector(`.${l.e("suggestion-list")}`);Nn.style.minWidth=`${ft.offsetWidth}px`}if(Mt){const{offsetHeight:Nn}=Mt,We=O.value.length>0?`${Math.max(Nn,a)-2}px`:`${a}px`;ft.style.height=We,De()}}},Re=de=>{var tt;return(tt=w.value)==null?void 0:tt.getCheckedNodes(de)},gt=de=>{De(),n("expandChange",de)},Bt=de=>{if(!v.value)switch(de.code){case gn.enter:case gn.numpadEnter:me();break;case gn.down:me(!0),Yt(ze),de.preventDefault();break;case gn.esc:S.value===!0&&(de.preventDefault(),de.stopPropagation(),me(!1));break;case gn.tab:me(!1);break}},Lt=()=>{var de;(de=w.value)==null||de.clearCheckedNodes(),!S.value&&r.filterable&&an(),me(!1),n("clear")},an=()=>{const{value:de}=Z;_.value=de,M.value=de},Kt=de=>{var tt,ft;const{checked:Mt}=de;q.value?(tt=w.value)==null||tt.handleCheckChange(de,!Mt,!1):(!Mt&&((ft=w.value)==null||ft.handleCheckChange(de,!0,!1)),me(!1))},Ht=de=>{const tt=de.target,{code:ft}=de;switch(ft){case gn.up:case gn.down:{de.preventDefault();const Mt=ft===gn.up?-1:1;xS(d1e(tt,Mt,`.${l.e("suggestion-item")}[tabindex="-1"]`));break}case gn.enter:case gn.numpadEnter:tt.click();break}},pt=()=>{const de=O.value,tt=de[de.length-1];s=M.value?0:s+1,!(!tt||!s||r.collapseTags&&de.length>1)&&(tt.hitState?ue(tt):tt.hitState=!0)},Dt=Wl(()=>{const{value:de}=U;if(!de)return;const tt=r.beforeFilter(de);kv(tt)?tt.then(Fe).catch(()=>{}):tt!==!1?Fe():pe()},r.debounce),dt=(de,tt)=>{!S.value&&me(!0),!tt?.isComposing&&(de?Dt():pe())},it=de=>Number.parseFloat(qRe(u.cssVarName("input-height"),de).value)-2;return St(D,De),St([F,f,()=>r.collapseTags],Me),St(O,()=>{Yt(()=>Ne())}),St(z,async()=>{await Yt();const de=m.value.input;a=it(de)||a,Ne()}),St(Z,an,{immediate:!0}),qn(()=>{const de=m.value.input,tt=it(de);a=de.offsetHeight||tt,li(de,Ne)}),t({getCheckedNodes:Re,cascaderPanelRef:w,togglePopperVisible:me,contentRef:Ee,presentText:Z}),(de,tt)=>(L(),yt(C(hs),{ref_key:"tooltipRef",ref:g,visible:S.value,teleported:de.teleported,"popper-class":[C(l).e("dropdown"),de.popperClass],"popper-style":de.popperStyle,"popper-options":o,"fallback-placements":de.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:de.placement,transition:`${C(l).namespace.value}-zoom-in-top`,effect:de.effect,pure:"",persistent:de.persistent,onHide:pe},{default:rt(()=>[cn((L(),G("div",{ref_key:"wrapperRef",ref:H,class:oe(C(Pe)),style:rn(C(N)),onClick:()=>me(C(Y)?void 0:!0),onKeydown:Bt,onMouseenter:ft=>E.value=!0,onMouseleave:ft=>E.value=!1},[He(C(js),{ref_key:"inputRef",ref:m,modelValue:_.value,"onUpdate:modelValue":ft=>_.value=ft,placeholder:C(B),readonly:C(Y),disabled:C(f),"validate-event":!1,size:C(z),class:oe(C(he)),tabindex:C(q)&&de.filterable&&!C(f)?-1:void 0,onCompositionstart:C(h),onCompositionupdate:C(h),onCompositionend:C(h),onInput:dt},Hl({suffix:rt(()=>[C(te)?(L(),yt(C(Dn),{key:"clear",class:oe([C(u).e("icon"),"icon-circle-close"]),onClick:en(Lt,["stop"])},{default:rt(()=>[(L(),yt(mr(de.clearIcon)))]),_:1},8,["class","onClick"])):(L(),yt(C(Dn),{key:"arrow-down",class:oe(C(Ae)),onClick:en(ft=>me(),["stop"])},{default:rt(()=>[He(C(ed))]),_:1},8,["class","onClick"]))]),_:2},[de.$slots.prefix?{name:"prefix",fn:rt(()=>[ht(de.$slots,"prefix")])}:void 0]),1032,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),C(q)?(L(),G("div",{key:0,ref_key:"tagWrapper",ref:b,class:oe([C(l).e("tags"),C(l).is("validate",!!C(le))])},[ht(de.$slots,"tag",{data:k.value,deleteTag:ue},()=>[(L(!0),G(Rt,null,un(O.value,ft=>(L(),yt(C(Nh),{key:ft.key,type:de.tagType,size:C(j),effect:de.tagEffect,hit:ft.hitState,closable:ft.closable,"disable-transitions":"",onClose:Mt=>ue(ft)},{default:rt(()=>[ft.isCollapseTag===!1?(L(),G("span",{key:0},je(ft.text),1)):(L(),yt(C(hs),{key:1,ref_for:!0,ref_key:"tagTooltipRef",ref:y,disabled:S.value||!de.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":de.popperClass,"popper-style":de.popperStyle,effect:de.effect},{default:rt(()=>[x("span",null,je(ft.text),1)]),content:rt(()=>[He(C(Hc),{"max-height":de.maxCollapseTagsTooltipHeight},{default:rt(()=>[x("div",{class:oe(C(l).e("collapse-tags"))},[(L(!0),G(Rt,null,un(k.value.slice(de.maxCollapseTags),(Mt,Tn)=>(L(),G("div",{key:Tn,class:oe(C(l).e("collapse-tag"))},[(L(),yt(C(Nh),{key:Mt.key,class:"in-tooltip",type:de.tagType,size:C(j),effect:de.tagEffect,hit:Mt.hitState,closable:Mt.closable,"disable-transitions":"",onClose:Nn=>ue(Mt)},{default:rt(()=>[x("span",null,je(Mt.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:2},1032,["disabled","popper-class","popper-style","effect"]))]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),de.filterable&&!C(f)?cn((L(),G("input",{key:0,"onUpdate:modelValue":ft=>M.value=ft,type:"text",class:oe(C(l).e("search-input")),placeholder:C(Z)?"":C(W),onInput:ft=>dt(M.value,ft),onClick:en(ft=>me(!0),["stop"]),onKeydown:$r(pt,["delete"]),onCompositionstart:C(h),onCompositionupdate:C(h),onCompositionend:C(h)},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[qr,M.value]]):xe("v-if",!0)],2)):xe("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[C(np),Q,C(Ee)]])]),content:rt(()=>[de.$slots.header?(L(),G("div",{key:0,class:oe(C(l).e("header")),onClick:en(()=>{},["stop"])},[ht(de.$slots,"header")],10,["onClick"])):xe("v-if",!0),cn(He(C(fye),{ref_key:"cascaderPanelRef",ref:w,modelValue:C(ve),"onUpdate:modelValue":ft=>Uo(ve)?ve.value=ft:null,options:de.options,props:r.props,border:!1,"render-label":de.$slots.default,onExpandChange:gt,onClose:ft=>de.$nextTick(()=>me(!1))},{empty:rt(()=>[ht(de.$slots,"empty")]),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[kr,!D.value]]),de.filterable?cn((L(),yt(C(Hc),{key:1,ref_key:"suggestionPanel",ref:A,tag:"ul",class:oe(C(l).e("suggestion-panel")),"view-class":C(l).e("suggestion-list"),onKeydown:Ht},{default:rt(()=>[R.value.length?(L(!0),G(Rt,{key:0},un(R.value,ft=>(L(),G("li",{key:ft.uid,class:oe([C(l).e("suggestion-item"),C(l).is("checked",ft.checked)]),tabindex:-1,onClick:Mt=>Kt(ft)},[ht(de.$slots,"suggestion-item",{item:ft},()=>[x("span",null,je(ft.text),1),ft.checked?(L(),yt(C(Dn),{key:0},{default:rt(()=>[He(C(B5))]),_:1})):xe("v-if",!0)])],10,["onClick"]))),128)):ht(de.$slots,"empty",{key:1},()=>[x("li",{class:oe(C(l).e("empty-text"))},je(C(d)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[kr,D.value]]):xe("v-if",!0),de.$slots.footer?(L(),G("div",{key:2,class:oe(C(l).e("footer")),onClick:en(()=>{},["stop"])},[ht(de.$slots,"footer")],10,["onClick"])):xe("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});var PHe=on(MHe,[["__file","cascader.vue"]]);const NHe=or(PHe),RHe=Jt({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),BHe={"update:checked":e=>Eo(e),[Pr]:e=>Eo(e)},LHe=nt({name:"ElCheckTag"}),FHe=nt({...LHe,props:RHe,emits:BHe,setup(e,{emit:t}){const n=e,r=Vt("check-tag"),o=ee(()=>n.disabled),i=ee(()=>[r.b(),r.is("checked",n.checked),r.is("disabled",o.value),r.m(n.type||"primary")]),a=()=>{if(o.value)return;const s=!n.checked;t(Pr,s),t("update:checked",s)};return(s,l)=>(L(),G("span",{class:oe(C(i)),onClick:a},[ht(s.$slots,"default")],2))}});var UHe=on(FHe,[["__file","check-tag.vue"]]);const zHe=or(UHe),$He=Jt({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:ct([Number,Object]),default:()=>fi({})},sm:{type:ct([Number,Object]),default:()=>fi({})},md:{type:ct([Number,Object]),default:()=>fi({})},lg:{type:ct([Number,Object]),default:()=>fi({})},xl:{type:ct([Number,Object]),default:()=>fi({})}}),pye=Symbol("rowContextKey"),jHe=nt({name:"ElCol"}),HHe=nt({...jHe,props:$He,setup(e){const t=e,{gutter:n}=dn(pye,{gutter:ee(()=>0)}),r=Vt("col"),o=ee(()=>{const a={};return n.value&&(a.paddingLeft=a.paddingRight=`${n.value/2}px`),a}),i=ee(()=>{const a=[];return["span","offset","pull","push"].forEach(u=>{const d=t[u];$n(d)&&(u==="span"?a.push(r.b(`${t[u]}`)):d>0&&a.push(r.b(`${u}-${t[u]}`)))}),["xs","sm","md","lg","xl"].forEach(u=>{$n(t[u])?a.push(r.b(`${u}-${t[u]}`)):dr(t[u])&&Object.entries(t[u]).forEach(([d,c])=>{a.push(d!=="span"?r.b(`${u}-${d}-${c}`):r.b(`${u}-${c}`))})}),n.value&&a.push(r.is("guttered")),[r.b(),a]});return(a,s)=>(L(),yt(mr(a.tag),{class:oe(C(i)),style:rn(C(o))},{default:rt(()=>[ht(a.$slots,"default")]),_:3},8,["class","style"]))}});var WHe=on(HHe,[["__file","col.vue"]]);const VHe=or(WHe),zJ=e=>$n(e)||In(e)||Zt(e),qHe=Jt({accordion:Boolean,modelValue:{type:ct([Array,String,Number]),default:()=>fi([])},expandIconPosition:{type:ct([String]),default:"right"},beforeCollapse:{type:ct(Function)}}),GHe={[Qn]:zJ,[Pr]:zJ},hye=Symbol("collapseContextKey"),KHe="ElCollapse",YHe=(e,t)=>{const n=K(Ya(e.modelValue)),r=a=>{n.value=a;const s=e.accordion?n.value[0]:n.value;t(Qn,s),t(Pr,s)},o=a=>{if(e.accordion)r([n.value[0]===a?"":a]);else{const s=[...n.value],l=s.indexOf(a);l>-1?s.splice(l,1):s.push(a),r(s)}},i=async a=>{const{beforeCollapse:s}=e;if(!s){o(a);return}const l=s(a);[kv(l),Eo(l)].includes(!0)||na(KHe,"beforeCollapse must return type `Promise` or `boolean`"),kv(l)?l.then(d=>{d!==!1&&o(a)}).catch(d=>{}):l&&o(a)};return St(()=>e.modelValue,()=>n.value=Ya(e.modelValue),{deep:!0}),_r(hye,{activeNames:n,handleItemClick:i}),{activeNames:n,setActiveNames:r}},QHe=e=>{const t=Vt("collapse");return{rootKls:ee(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}},ZHe=nt({name:"ElCollapse"}),XHe=nt({...ZHe,props:qHe,emits:GHe,setup(e,{expose:t,emit:n}){const r=e,{activeNames:o,setActiveNames:i}=YHe(r,n),{rootKls:a}=QHe(r);return t({activeNames:o,setActiveNames:i}),(s,l)=>(L(),G("div",{class:oe(C(a))},[ht(s.$slots,"default")],2))}});var JHe=on(XHe,[["__file","collapse.vue"]]);const eWe=nt({name:"ElCollapseTransition"}),tWe=nt({...eWe,setup(e){const t=Vt("collapse-transition"),n=o=>{o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom},r={beforeEnter(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.style.height&&(o.dataset.elExistsHeight=o.style.height),o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0},enter(o){requestAnimationFrame(()=>{o.dataset.oldOverflow=o.style.overflow,o.dataset.elExistsHeight?o.style.maxHeight=o.dataset.elExistsHeight:o.scrollHeight!==0?o.style.maxHeight=`${o.scrollHeight}px`:o.style.maxHeight=0,o.style.paddingTop=o.dataset.oldPaddingTop,o.style.paddingBottom=o.dataset.oldPaddingBottom,o.style.overflow="hidden"})},afterEnter(o){o.style.maxHeight="",o.style.overflow=o.dataset.oldOverflow},enterCancelled(o){n(o)},beforeLeave(o){o.dataset||(o.dataset={}),o.dataset.oldPaddingTop=o.style.paddingTop,o.dataset.oldPaddingBottom=o.style.paddingBottom,o.dataset.oldOverflow=o.style.overflow,o.style.maxHeight=`${o.scrollHeight}px`,o.style.overflow="hidden"},leave(o){o.scrollHeight!==0&&(o.style.maxHeight=0,o.style.paddingTop=0,o.style.paddingBottom=0)},afterLeave(o){n(o)},leaveCancelled(o){n(o)}};return(o,i)=>(L(),yt(Ki,vr({name:C(t).b()},$Te(r)),{default:rt(()=>[ht(o.$slots,"default")]),_:3},16,["name"]))}});var nWe=on(tWe,[["__file","collapse-transition.vue"]]);const fD=or(nWe),rWe=Jt({title:{type:String,default:""},name:{type:ct([String,Number]),default:void 0},icon:{type:wo,default:Da},disabled:Boolean}),oWe=e=>{const t=dn(hye),{namespace:n}=Vt("collapse"),r=K(!1),o=K(!1),i=TH(),a=ee(()=>i.current++),s=ee(()=>{var f;return(f=e.name)!=null?f:`${n.value}-id-${i.prefix}-${C(a)}`}),l=ee(()=>t?.activeNames.value.includes(C(s)));return{focusing:r,id:a,isActive:l,handleFocus:()=>{setTimeout(()=>{o.value?o.value=!1:r.value=!0},50)},handleHeaderClick:f=>{if(e.disabled)return;const p=f.target;p?.closest("input, textarea, select")||(t?.handleItemClick(C(s)),r.value=!1,o.value=!0)},handleEnterClick:f=>{const p=f.target;p?.closest("input, textarea, select")||(f.preventDefault(),t?.handleItemClick(C(s)))}}},iWe=(e,{focusing:t,isActive:n,id:r})=>{const o=Vt("collapse"),i=ee(()=>[o.b("item"),o.is("active",C(n)),o.is("disabled",e.disabled)]),a=ee(()=>[o.be("item","header"),o.is("active",C(n)),{focusing:C(t)&&!e.disabled}]),s=ee(()=>[o.be("item","arrow"),o.is("active",C(n))]),l=ee(()=>[o.be("item","title")]),u=ee(()=>o.be("item","wrap")),d=ee(()=>o.be("item","content")),c=ee(()=>o.b(`content-${C(r)}`)),f=ee(()=>o.b(`head-${C(r)}`));return{itemTitleKls:l,arrowKls:s,headKls:a,rootKls:i,itemWrapperKls:u,itemContentKls:d,scopedContentId:c,scopedHeadId:f}},aWe=nt({name:"ElCollapseItem"}),sWe=nt({...aWe,props:rWe,setup(e,{expose:t}){const n=e,{focusing:r,id:o,isActive:i,handleFocus:a,handleHeaderClick:s,handleEnterClick:l}=oWe(n),{arrowKls:u,headKls:d,rootKls:c,itemTitleKls:f,itemWrapperKls:p,itemContentKls:v,scopedContentId:h,scopedHeadId:g}=iWe(n,{focusing:r,isActive:i,id:o});return t({isActive:i}),(y,m)=>(L(),G("div",{class:oe(C(c))},[x("div",{id:C(g),class:oe(C(d)),"aria-expanded":C(i),"aria-controls":C(h),"aria-describedby":C(h),tabindex:y.disabled?-1:0,role:"button",onClick:C(s),onKeydown:$r(en(C(l),["stop"]),["space","enter"]),onFocus:C(a),onBlur:b=>r.value=!1},[x("span",{class:oe(C(f))},[ht(y.$slots,"title",{isActive:C(i)},()=>[bn(je(y.title),1)])],2),ht(y.$slots,"icon",{isActive:C(i)},()=>[He(C(Dn),{class:oe(C(u))},{default:rt(()=>[(L(),yt(mr(y.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),He(C(fD),null,{default:rt(()=>[cn(x("div",{id:C(h),role:"region",class:oe(C(p)),"aria-hidden":!C(i),"aria-labelledby":C(g)},[x("div",{class:oe(C(v))},[ht(y.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[kr,C(i)]])]),_:3})],2))}});var gye=on(sWe,[["__file","collapse-item.vue"]]);const lWe=or(JHe,{CollapseItem:gye}),uWe=vi(gye),cWe=Jt({color:{type:ct(Object),required:!0},vertical:Boolean,disabled:Boolean});let CI=!1;function eA(e,t){if(!Xr)return;const n=function(i){var a;(a=t.drag)==null||a.call(t,i)},r=function(i){var a;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,CI=!1,(a=t.end)==null||a.call(t,i)},o=function(i){var a;CI||(i.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),CI=!0,(a=t.start)==null||a.call(t,i))};e.addEventListener("mousedown",o),e.addEventListener("touchstart",o,{passive:!1})}const $J=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},IL=(e,t)=>Math.abs($J(e)-$J(t)),jH=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},dWe=e=>{const t=br(),{t:n}=Gr(),r=jo(),o=jo(),i=ee(()=>e.color.get("alpha")),a=ee(()=>n("el.colorpicker.alphaLabel"));function s(c){var f;if(e.disabled)return;c.target!==r.value&&l(c),(f=r.value)==null||f.focus()}function l(c){if(!o.value||!r.value||e.disabled)return;const p=t.vnode.el.getBoundingClientRect(),{clientX:v,clientY:h}=jH(c);if(e.vertical){let g=h-p.top;g=Math.max(r.value.offsetHeight/2,g),g=Math.min(g,p.height-r.value.offsetHeight/2),e.color.set("alpha",Math.round((g-r.value.offsetHeight/2)/(p.height-r.value.offsetHeight)*100))}else{let g=v-p.left;g=Math.max(r.value.offsetWidth/2,g),g=Math.min(g,p.width-r.value.offsetWidth/2),e.color.set("alpha",Math.round((g-r.value.offsetWidth/2)/(p.width-r.value.offsetWidth)*100))}}function u(c){if(e.disabled)return;const{code:f,shiftKey:p}=c,v=p?10:1;switch(f){case gn.left:case gn.down:c.preventDefault(),c.stopPropagation(),d(-v);break;case gn.right:case gn.up:c.preventDefault(),c.stopPropagation(),d(v);break}}function d(c){let f=i.value+c;f=f<0?0:f>100?100:f,e.color.set("alpha",f)}return{thumb:r,bar:o,alpha:i,alphaLabel:a,handleDrag:l,handleClick:s,handleKeydown:u}},fWe=(e,{bar:t,thumb:n,handleDrag:r})=>{const o=br(),i=Vt("color-alpha-slider"),a=K(0),s=K(0),l=K();function u(){if(!n.value||e.vertical)return 0;const m=o.vnode.el,b=e.color.get("alpha");return m?Math.round(b*(m.offsetWidth-n.value.offsetWidth/2)/100):0}function d(){if(!n.value)return 0;const m=o.vnode.el;if(!e.vertical)return 0;const b=e.color.get("alpha");return m?Math.round(b*(m.offsetHeight-n.value.offsetHeight/2)/100):0}function c(){if(e.color&&e.color.value){const{r:m,g:b,b:w}=e.color.toRgb();return`linear-gradient(to right, rgba(${m}, ${b}, ${w}, 0) 0%, rgba(${m}, ${b}, ${w}, 1) 100%)`}return""}function f(){a.value=u(),s.value=d(),l.value=c()}qn(()=>{if(!t.value||!n.value)return;const m={drag:b=>{r(b)},end:b=>{r(b)}};eA(t.value,m),eA(n.value,m),f()}),St(()=>e.color.get("alpha"),()=>f()),St(()=>e.color.value,()=>f());const p=ee(()=>[i.b(),i.is("vertical",e.vertical),i.is("disabled",e.disabled)]),v=ee(()=>i.e("bar")),h=ee(()=>i.e("thumb")),g=ee(()=>({background:l.value})),y=ee(()=>({left:_i(a.value),top:_i(s.value)}));return{rootKls:p,barKls:v,barStyle:g,thumbKls:h,thumbStyle:y,update:f}},pWe="ElColorAlphaSlider",hWe=nt({name:pWe}),gWe=nt({...hWe,props:cWe,setup(e,{expose:t}){const n=e,{alpha:r,alphaLabel:o,bar:i,thumb:a,handleDrag:s,handleClick:l,handleKeydown:u}=dWe(n),{rootKls:d,barKls:c,barStyle:f,thumbKls:p,thumbStyle:v,update:h}=fWe(n,{bar:i,thumb:a,handleDrag:s});return t({update:h,bar:i,thumb:a}),(g,y)=>(L(),G("div",{class:oe(C(d))},[x("div",{ref_key:"bar",ref:i,class:oe(C(c)),style:rn(C(f)),onClick:C(l)},null,14,["onClick"]),x("div",{ref_key:"thumb",ref:a,class:oe(C(p)),style:rn(C(v)),"aria-label":C(o),"aria-valuenow":C(r),"aria-orientation":g.vertical?"vertical":"horizontal","aria-valuemin":"0","aria-valuemax":"100",role:"slider",tabindex:"0",onKeydown:C(u)},null,46,["aria-label","aria-valuenow","aria-orientation","onKeydown"])],2))}});var vWe=on(gWe,[["__file","alpha-slider.vue"]]);const mWe=nt({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean,disabled:Boolean},setup(e){const t=Vt("color-hue-slider"),n=br(),r=K(),o=K(),i=K(0),a=K(0),s=ee(()=>e.color.get("hue"));St(()=>s.value,()=>{f()});function l(p){if(e.disabled)return;p.target!==r.value&&u(p)}function u(p){if(!o.value||!r.value||e.disabled)return;const h=n.vnode.el.getBoundingClientRect(),{clientX:g,clientY:y}=jH(p);let m;if(e.vertical){let b=y-h.top;b=Math.min(b,h.height-r.value.offsetHeight/2),b=Math.max(r.value.offsetHeight/2,b),m=Math.round((b-r.value.offsetHeight/2)/(h.height-r.value.offsetHeight)*360)}else{let b=g-h.left;b=Math.min(b,h.width-r.value.offsetWidth/2),b=Math.max(r.value.offsetWidth/2,b),m=Math.round((b-r.value.offsetWidth/2)/(h.width-r.value.offsetWidth)*360)}e.color.set("hue",m)}function d(){if(!r.value)return 0;const p=n.vnode.el;if(e.vertical)return 0;const v=e.color.get("hue");return p?Math.round(v*(p.offsetWidth-r.value.offsetWidth/2)/360):0}function c(){if(!r.value)return 0;const p=n.vnode.el;if(!e.vertical)return 0;const v=e.color.get("hue");return p?Math.round(v*(p.offsetHeight-r.value.offsetHeight/2)/360):0}function f(){i.value=d(),a.value=c()}return qn(()=>{if(!o.value||!r.value||e.disabled)return;const p={drag:v=>{u(v)},end:v=>{u(v)}};eA(o.value,p),eA(r.value,p),f()}),{bar:o,thumb:r,thumbLeft:i,thumbTop:a,hueValue:s,handleClick:l,update:f,ns:t}}});function yWe(e,t,n,r,o,i){return L(),G("div",{class:oe([e.ns.b(),e.ns.is("vertical",e.vertical)])},[x("div",{ref:"bar",class:oe(e.ns.e("bar")),onClick:e.handleClick},null,10,["onClick"]),x("div",{ref:"thumb",class:oe(e.ns.e("thumb")),style:rn({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var bWe=on(mWe,[["render",yWe],["__file","hue-slider.vue"]]);const vye=Jt({modelValue:{type:ct(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:ct(Array)}}),wWe={[Qn]:e=>In(e)||ea(e)},mye=Symbol("colorCommonPickerKey"),yye=Symbol("colorPickerPanelContextKey");class xE{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new $1,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const n in t)no(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const r in t)no(t,r)&&this.set(r,t[r]);return}this[`_${t}`]=n,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const n=new $1(t);if(this._isValid=n.isValid,n.isValid){const{h:r,s:o,v:i,a}=n.toHsv();this._hue=r,this._saturation=o*100,this._value=i*100,this._alpha=a*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}compare(t){const n=new $1({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(n)}doOnChange(){const{_hue:t,_saturation:n,_value:r,_alpha:o,format:i,enableAlpha:a}=this;let s=i||(a?"rgb":"hex");i==="hex"&&a&&(s="hex8"),this._tiny=new $1({h:t,s:n/100,v:r/100,a:o/100}),this.value=this._isValid?this._tiny.toString(s):""}}const AWe=nt({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean},setup(e){const t=Vt("color-predefine"),{currentColor:n}=dn(yye),r=K(i(e.colors,e.color));St(()=>n.value,a=>{const s=new xE({value:a});r.value.forEach(l=>{l.selected=s.compare(l)})}),Es(()=>{r.value=i(e.colors,e.color)});function o(a){e.disabled||e.color.fromString(e.colors[a])}function i(a,s){return a.map(l=>{const u=new xE({value:l});return u.selected=u.compare(s),u})}return{rgbaColors:r,handleSelect:o,ns:t}}});function CWe(e,t,n,r,o,i){return L(),G("div",{class:oe(e.ns.b())},[x("div",{class:oe(e.ns.e("colors"))},[(L(!0),G(Rt,null,un(e.rgbaColors,(a,s)=>(L(),G("div",{key:e.colors[s],class:oe([e.ns.e("color-selector"),e.ns.is("alpha",a.get("alpha")<100),{selected:a.selected}]),onClick:l=>e.handleSelect(s)},[x("div",{style:rn({backgroundColor:a.value})},null,4)],10,["onClick"]))),128))],2)],2)}var xWe=on(AWe,[["render",CWe],["__file","predefine.vue"]]);const SWe=nt({name:"ElSlPanel",props:{color:{type:Object,required:!0},disabled:Boolean},setup(e){const t=Vt("color-svpanel"),n=br(),r=K(0),o=K(0),i=K("hsl(0, 100%, 50%)"),a=ee(()=>{const u=e.color.get("hue"),d=e.color.get("value");return{hue:u,value:d}});function s(){const u=e.color.get("saturation"),d=e.color.get("value"),c=n.vnode.el,{clientWidth:f,clientHeight:p}=c;o.value=u*f/100,r.value=(100-d)*p/100,i.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function l(u){if(e.disabled)return;const c=n.vnode.el.getBoundingClientRect(),{clientX:f,clientY:p}=jH(u);let v=f-c.left,h=p-c.top;v=Math.max(0,v),v=Math.min(v,c.width),h=Math.max(0,h),h=Math.min(h,c.height),o.value=v,r.value=h,e.color.set({saturation:v/c.width*100,value:100-h/c.height*100})}return St(()=>a.value,()=>{s()}),qn(()=>{eA(n.vnode.el,{drag:u=>{l(u)},end:u=>{l(u)}}),s()}),{cursorTop:r,cursorLeft:o,background:i,colorValue:a,handleDrag:l,update:s,ns:t}}});function EWe(e,t,n,r,o,i){return L(),G("div",{class:oe(e.ns.b()),style:rn({backgroundColor:e.background})},[x("div",{class:oe(e.ns.e("white"))},null,2),x("div",{class:oe(e.ns.e("black"))},null,2),x("div",{class:oe(e.ns.e("cursor")),style:rn({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},[x("div")],6)],6)}var kWe=on(SWe,[["render",EWe],["__file","sv-panel.vue"]]);const bye=(e,t)=>{const n=Wr(new xE({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return St(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(Qn,n.value)}),{color:n}},TWe=nt({name:"ElColorPickerPanel"}),_We=nt({...TWe,props:vye,emits:wWe,setup(e,{expose:t,emit:n}){const r=e,o=Vt("color-picker-panel"),i=Va(),a=K(),s=K(),l=K(),u=K(),d=K(""),{color:c}=dn(mye,()=>bye(r,n),!0);function f(){c.fromString(d.value),c.value!==d.value&&(d.value=c.value)}return qn(()=>{r.modelValue&&(d.value=c.value),Yt(()=>{var p,v,h;(p=a.value)==null||p.update(),(v=s.value)==null||v.update(),(h=l.value)==null||h.update()})}),St(()=>r.modelValue,p=>{p&&p!==c.value&&c.fromString(p)}),St(()=>c.value,p=>{n(Qn,p),d.value=p}),_r(yye,{currentColor:ee(()=>c.value)}),t({color:c,inputRef:u}),(p,v)=>(L(),G("div",{class:oe([C(o).b(),C(o).is("disabled",C(i)),C(o).is("border",p.border)])},[x("div",{class:oe(C(o).e("wrapper"))},[He(bWe,{ref_key:"hue",ref:a,class:"hue-slider",color:C(c),vertical:"",disabled:C(i)},null,8,["color","disabled"]),He(kWe,{ref_key:"sv",ref:s,color:C(c),disabled:C(i)},null,8,["color","disabled"])],2),p.showAlpha?(L(),yt(vWe,{key:0,ref_key:"alpha",ref:l,color:C(c),disabled:C(i)},null,8,["color","disabled"])):xe("v-if",!0),p.predefine?(L(),yt(xWe,{key:1,ref:"predefine","enable-alpha":p.showAlpha,color:C(c),colors:p.predefine,disabled:C(i)},null,8,["enable-alpha","color","colors","disabled"])):xe("v-if",!0),x("div",{class:oe(C(o).e("footer"))},[He(C(js),{ref_key:"inputRef",ref:u,modelValue:d.value,"onUpdate:modelValue":h=>d.value=h,"validate-event":!1,size:"small",disabled:C(i),onChange:f},null,8,["modelValue","onUpdate:modelValue","disabled"]),ht(p.$slots,"footer")],2)],2))}});var DWe=on(_We,[["__file","color-picker-panel.vue"]]);const wye=or(DWe),IWe=Jt({persistent:{type:Boolean,default:!0},modelValue:{type:ct(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:Aa,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:oi.teleported,appendTo:oi.appendTo,predefine:{type:ct(Array)},validateEvent:{type:Boolean,default:!0},...lm,..._s(["ariaLabel"])}),OWe={[Qn]:e=>In(e)||ea(e),[Pr]:e=>In(e)||ea(e),activeChange:e=>In(e)||ea(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},MWe=nt({name:"ElColorPicker"}),PWe=nt({...MWe,props:IWe,emits:OWe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Gr(),i=Vt("color"),{formItem:a}=Ds(),s=ha(),l=Va(),{valueOnClear:u,isEmptyValue:d}=R5(r,null),c=bye(r,n),{inputId:f,isLabeledByFormItem:p}=fc(r,{formItemContext:a}),v=K(),h=K(),g=K(),y=K(!1),m=K(!1);let b=!0;const{isFocused:w,handleFocus:A,handleBlur:S}=Ap(h,{disabled:l,beforeBlur(le){var ve;return(ve=v.value)==null?void 0:ve.isFocusInsideContent(le)},afterBlur(){W(!1),q()}}),E=zRe(()=>{var le,ve;return(ve=(le=g.value)==null?void 0:le.color)!=null?ve:c.color}),D=ee(()=>uu(r,Object.keys(vye))),_=ee(()=>!r.modelValue&&!m.value?"transparent":N(E,r.showAlpha)),M=ee(()=>!r.modelValue&&!m.value?"":E.value),O=ee(()=>p.value?void 0:r.ariaLabel||o("el.colorpicker.defaultLabel")),k=ee(()=>p.value?a?.labelId:void 0),R=ee(()=>[i.b("picker"),i.is("disabled",l.value),i.bm("picker",s.value),i.is("focused",w.value)]);function N(le,ve){const{r:Pe,g:Ae,b:he,a:Ee}=le.toRgb();return ve?`rgba(${Pe}, ${Ae}, ${he}, ${Ee})`:`rgb(${Pe}, ${Ae}, ${he})`}function W(le){y.value=le}const B=Wl(W,100,{leading:!0});function z(){l.value||W(!0)}function j(){B(!1),q()}function q(){Yt(()=>{r.modelValue?E.fromString(r.modelValue):(E.value="",Yt(()=>{m.value=!1}))})}function Y(){l.value||(y.value&&q(),B(!y.value))}function U(){const le=d(E.value)?u.value:E.value;n(Qn,le),n(Pr,le),r.validateEvent&&a?.validate("change").catch(ve=>void 0),B(!1),Yt(()=>{const ve=new xE({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});E.compare(ve)||q()})}function F(){B(!1),n(Qn,u.value),n(Pr,u.value),r.modelValue!==u.value&&r.validateEvent&&a?.validate("change").catch(le=>void 0),q()}function H(){y.value&&(j(),w.value&&te())}function re(le){le.preventDefault(),le.stopPropagation(),W(!1),q()}function X(le){var ve,Pe;switch(le.code){case gn.enter:case gn.numpadEnter:case gn.space:le.preventDefault(),le.stopPropagation(),z(),(Pe=(ve=g?.value)==null?void 0:ve.inputRef)==null||Pe.focus();break;case gn.esc:re(le);break}}function te(){h.value.focus()}function Z(){h.value.blur()}return St(()=>M.value,le=>{b&&n("activeChange",le),b=!0}),St(()=>E.value,()=>{!r.modelValue&&!m.value&&(m.value=!0)}),St(()=>r.modelValue,le=>{le?le&&le!==E.value&&(b=!1,E.fromString(le)):m.value=!1}),_r(mye,c),t({color:E,show:z,hide:j,focus:te,blur:Z}),(le,ve)=>(L(),yt(C(hs),{ref_key:"popper",ref:v,visible:y.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[C(i).be("picker","panel"),le.popperClass],"stop-popper-mouse-event":!1,pure:"",effect:"light",trigger:"click",teleported:le.teleported,transition:`${C(i).namespace.value}-zoom-in-top`,persistent:le.persistent,"append-to":le.appendTo,onHide:Pe=>W(!1)},{content:rt(()=>[cn((L(),yt(C(wye),vr({ref_key:"pickerPanelRef",ref:g},C(D),{border:!1,onKeydown:$r(re,["esc"])}),{footer:rt(()=>[x("div",null,[He(C(Xa),{class:oe(C(i).be("footer","link-btn")),text:"",size:"small",onClick:F},{default:rt(()=>[bn(je(C(o)("el.colorpicker.clear")),1)]),_:1},8,["class"]),He(C(Xa),{plain:"",size:"small",class:oe(C(i).be("footer","btn")),onClick:U},{default:rt(()=>[bn(je(C(o)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16,["onKeydown"])),[[C(np),H,h.value]])]),default:rt(()=>[x("div",vr({id:C(f),ref_key:"triggerRef",ref:h},le.$attrs,{class:C(R),role:"button","aria-label":C(O),"aria-labelledby":C(k),"aria-description":C(o)("el.colorpicker.description",{color:le.modelValue||""}),"aria-disabled":C(l),tabindex:C(l)?void 0:le.tabindex,onKeydown:X,onFocus:C(A),onBlur:C(S)}),[x("div",{class:oe(C(i).be("picker","trigger")),onClick:Y},[x("span",{class:oe([C(i).be("picker","color"),C(i).is("alpha",le.showAlpha)])},[x("span",{class:oe(C(i).be("picker","color-inner")),style:rn({backgroundColor:C(_)})},[cn(He(C(Dn),{class:oe([C(i).be("picker","icon"),C(i).is("icon-arrow-down")])},{default:rt(()=>[He(C(ed))]),_:1},8,["class"]),[[kr,le.modelValue||m.value]]),cn(He(C(Dn),{class:oe([C(i).be("picker","empty"),C(i).is("icon-close")])},{default:rt(()=>[He(C(vu))]),_:1},8,["class"]),[[kr,!le.modelValue&&!m.value]])],6)],2)],2)],16,["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex","onFocus","onBlur"])]),_:1},8,["visible","popper-class","teleported","transition","persistent","append-to","onHide"]))}});var NWe=on(PWe,[["__file","color-picker.vue"]]);const RWe=or(NWe),BWe=Jt({a11y:{type:Boolean,default:!0},locale:{type:ct(Object)},size:Aa,button:{type:ct(Object)},card:{type:ct(Object)},dialog:{type:ct(Object)},link:{type:ct(Object)},experimentalFeatures:{type:ct(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:ct(Object)},zIndex:Number,namespace:{type:String,default:"el"},...lm}),Bs={placement:"top"},LWe=nt({name:"ElConfigProvider",props:BWe,setup(e,{slots:t}){const n=wH(e);return St(()=>e.message,r=>{var o,i;Object.assign(Bs,(i=(o=n?.value)==null?void 0:o.message)!=null?i:{},r??{})},{immediate:!0,deep:!0}),()=>ht(t,"default",{config:n?.value})}}),FWe=or(LWe),UWe=nt({name:"ElContainer"}),zWe=nt({...UWe,props:{direction:{type:String}},setup(e){const t=e,n=ga(),r=Vt("container"),o=ee(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(a=>{const s=a.type.name;return s==="ElHeader"||s==="ElFooter"}):!1);return(i,a)=>(L(),G("section",{class:oe([C(r).b(),C(r).is("vertical",C(o))])},[ht(i.$slots,"default")],2))}});var $We=on(zWe,[["__file","container.vue"]]);const jWe=nt({name:"ElAside"}),HWe=nt({...jWe,props:{width:{type:String,default:null}},setup(e){const t=e,n=Vt("aside"),r=ee(()=>t.width?n.cssVarBlock({width:t.width}):{});return(o,i)=>(L(),G("aside",{class:oe(C(n).b()),style:rn(C(r))},[ht(o.$slots,"default")],6))}});var Aye=on(HWe,[["__file","aside.vue"]]);const WWe=nt({name:"ElFooter"}),VWe=nt({...WWe,props:{height:{type:String,default:null}},setup(e){const t=e,n=Vt("footer"),r=ee(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,i)=>(L(),G("footer",{class:oe(C(n).b()),style:rn(C(r))},[ht(o.$slots,"default")],6))}});var Cye=on(VWe,[["__file","footer.vue"]]);const qWe=nt({name:"ElHeader"}),GWe=nt({...qWe,props:{height:{type:String,default:null}},setup(e){const t=e,n=Vt("header"),r=ee(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,i)=>(L(),G("header",{class:oe(C(n).b()),style:rn(C(r))},[ht(o.$slots,"default")],6))}});var xye=on(GWe,[["__file","header.vue"]]);const KWe=nt({name:"ElMain"}),YWe=nt({...KWe,setup(e){const t=Vt("main");return(n,r)=>(L(),G("main",{class:oe(C(t).b())},[ht(n.$slots,"default")],2))}});var Sye=on(YWe,[["__file","main.vue"]]);const QWe=or($We,{Aside:Aye,Footer:Cye,Header:xye,Main:Sye}),ZWe=vi(Aye),XWe=vi(Cye),JWe=vi(xye),eVe=vi(Sye);var _S={exports:{}},tVe=_S.exports,jJ;function nVe(){return jJ||(jJ=1,(function(e,t){(function(n,r){e.exports=r()})(tVe,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,i=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},u=function(g){return(g=+g)+(g>68?1900:2e3)},d=function(g){return function(y){this[g]=+y}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=(function(y){if(!y||y==="Z")return 0;var m=y.match(/([+-]|\d\d)/g),b=60*m[1]+(+m[2]||0);return b===0?0:m[0]==="+"?-b:b})(g)}],f=function(g){var y=l[g];return y&&(y.indexOf?y:y.s.concat(y.f))},p=function(g,y){var m,b=l.meridiem;if(b){for(var w=1;w<=24;w+=1)if(g.indexOf(b(w,0,y))>-1){m=w>12;break}}else m=g===(y?"pm":"PM");return m},v={A:[s,function(g){this.afternoon=p(g,!1)}],a:[s,function(g){this.afternoon=p(g,!0)}],Q:[o,function(g){this.month=3*(g-1)+1}],S:[o,function(g){this.milliseconds=100*+g}],SS:[i,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[a,d("seconds")],ss:[a,d("seconds")],m:[a,d("minutes")],mm:[a,d("minutes")],H:[a,d("hours")],h:[a,d("hours")],HH:[a,d("hours")],hh:[a,d("hours")],D:[a,d("day")],DD:[i,d("day")],Do:[s,function(g){var y=l.ordinal,m=g.match(/\d+/);if(this.day=m[0],y)for(var b=1;b<=31;b+=1)y(b).replace(/\[|\]/g,"")===g&&(this.day=b)}],w:[a,d("week")],ww:[i,d("week")],M:[a,d("month")],MM:[i,d("month")],MMM:[s,function(g){var y=f("months"),m=(f("monthsShort")||y.map((function(b){return b.slice(0,3)}))).indexOf(g)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[s,function(g){var y=f("months").indexOf(g)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,d("year")],YY:[i,function(g){this.year=u(g)}],YYYY:[/\d{4}/,d("year")],Z:c,ZZ:c};function h(g){var y,m;y=g,m=l&&l.formats;for(var b=(g=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(M,O,k){var R=k&&k.toUpperCase();return O||m[k]||n[k]||m[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,W,B){return W||B.slice(1)}))}))).match(r),w=b.length,A=0;A-1)return new Date((j==="X"?1e3:1)*z);var U=h(j)(z),F=U.year,H=U.month,re=U.day,X=U.hours,te=U.minutes,Z=U.seconds,le=U.milliseconds,ve=U.zone,Pe=U.week,Ae=new Date,he=re||(F||H?1:Ae.getDate()),Ee=F||Ae.getFullYear(),Q=0;F&&!H||(Q=H>0?H-1:Ae.getMonth());var me,De=X||0,pe=te||0,ie=Z||0,ue=le||0;return ve?new Date(Date.UTC(Ee,Q,he,De,pe,ie,ue+60*ve.offset*1e3)):q?new Date(Date.UTC(Ee,Q,he,De,pe,ie,ue)):(me=new Date(Ee,Q,he,De,pe,ie,ue),Pe&&(me=Y(me).week(Pe).toDate()),me)}catch{return new Date("")}})(S,_,E,m),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),k&&S!=this.format(_)&&(this.$d=new Date("")),l={}}else if(_ instanceof Array)for(var N=_.length,W=1;W<=N;W+=1){D[1]=_[W-1];var B=m.apply(this,D);if(B.isValid()){this.$d=B.$d,this.$L=B.$L,this.init();break}W===N&&(this.$d=new Date(""))}else w.call(this,A)}}}))})(_S)),_S.exports}var rVe=nVe();const HH=xu(rVe),HJ=["hours","minutes","seconds"],Wc="EP_PICKER_BASE",WH="ElPopperOptions",Eye=Symbol("commonPickerContextKey"),Uy="HH:mm:ss",ph="YYYY-MM-DD",oVe={date:ph,dates:ph,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${ph} ${Uy}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:ph,datetimerange:`${ph} ${Uy}`},kye=(e,t)=>{const{lang:n}=Gr(),r=K(!1),o=K(!1),i=K(null),a=ee(()=>{const{modelValue:v}=e;return!v||Zt(v)&&!v.filter(Boolean).length}),s=v=>{if(!K1e(e.modelValue,v)){let h;Zt(v)?h=v.map(y=>IJ(y,e.valueFormat,n.value)):v&&(h=IJ(v,e.valueFormat,n.value)),t(Qn,v&&h,n.value)}},l=ee(()=>{var v;let h;if(a.value?u.value.getDefaultValue&&(h=u.value.getDefaultValue()):Zt(e.modelValue)?h=e.modelValue.map(g=>DJ(g,e.valueFormat,n.value)):h=DJ((v=e.modelValue)!=null?v:"",e.valueFormat,n.value),u.value.getRangeAvailableTime){const g=u.value.getRangeAvailableTime(h);fa(g,h)||(h=g,a.value||s(kS(h)))}return Zt(h)&&h.some(g=>!g)&&(h=[]),h}),u=K({});return{parsedValue:l,pickerActualVisible:o,pickerOptions:u,pickerVisible:r,userInput:i,valueIsEmpty:a,emitInput:s,onCalendarChange:v=>{t("calendar-change",v)},onPanelChange:(v,h,g)=>{t("panel-change",v,h,g)},onPick:(v="",h=!1)=>{r.value=h;let g;Zt(v)?g=v.map(y=>y.toDate()):g=v&&v.toDate(),i.value=null,s(g)},onSetPickerOption:v=>{u.value[v[0]]=v[1],u.value.panelReady=!0}}},VH=Jt({disabledHours:{type:ct(Function)},disabledMinutes:{type:ct(Function)},disabledSeconds:{type:ct(Function)}}),Tye=Jt({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),qH=Jt({id:{type:ct([Array,String])},name:{type:ct([Array,String])},popperClass:oi.popperClass,popperStyle:oi.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:ct([String,Object]),default:tf},editable:{type:Boolean,default:!0},prefixIcon:{type:ct([String,Object]),default:""},size:Aa,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:ct(Object),default:()=>({})},modelValue:{type:ct([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:ct([Date,Array])},defaultTime:{type:ct([Date,Array])},isRange:Boolean,...VH,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:ct([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:ct(String),values:Cp,default:"bottom"},fallbackPlacements:{type:ct(Array),default:["bottom","top","right","left"]},...lm,..._s(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),iVe=Jt({id:{type:ct(Array)},name:{type:ct(Array)},modelValue:{type:ct([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),aVe=nt({name:"PickerRangeTrigger",inheritAttrs:!1}),sVe=nt({...aVe,props:iVe,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const r=e,o=aD(),i=Vt("date"),a=Vt("range"),s=K(),l=K(),{wrapperRef:u,isFocused:d}=Ap(s,{disabled:ee(()=>r.disabled)}),c=A=>{n("click",A)},f=A=>{n("mouseenter",A)},p=A=>{n("mouseleave",A)},v=A=>{n("touchstart",A)},h=A=>{n("startInput",A)},g=A=>{n("endInput",A)},y=A=>{n("startChange",A)},m=A=>{n("endChange",A)};return t({focus:()=>{var A;(A=s.value)==null||A.focus()},blur:()=>{var A,S;(A=s.value)==null||A.blur(),(S=l.value)==null||S.blur()}}),(A,S)=>(L(),G("div",{ref_key:"wrapperRef",ref:u,class:oe([C(i).is("active",C(d)),A.$attrs.class]),style:rn(A.$attrs.style),onClick:c,onMouseenter:f,onMouseleave:p,onTouchstartPassive:v},[ht(A.$slots,"prefix"),x("input",vr(C(o),{id:A.id&&A.id[0],ref_key:"inputRef",ref:s,name:A.name&&A.name[0],placeholder:A.startPlaceholder,value:A.modelValue&&A.modelValue[0],class:C(a).b("input"),disabled:A.disabled,onInput:h,onChange:y}),null,16,["id","name","placeholder","value","disabled"]),ht(A.$slots,"range-separator"),x("input",vr(C(o),{id:A.id&&A.id[1],ref_key:"endInputRef",ref:l,name:A.name&&A.name[1],placeholder:A.endPlaceholder,value:A.modelValue&&A.modelValue[1],class:C(a).b("input"),disabled:A.disabled,onInput:g,onChange:m}),null,16,["id","name","placeholder","value","disabled"]),ht(A.$slots,"suffix")],38))}});var lVe=on(sVe,[["__file","picker-range-trigger.vue"]]);const uVe=nt({name:"Picker"}),cVe=nt({...uVe,props:qH,emits:[Qn,Pr,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,o=yp(),i=Vt("date"),a=Vt("input"),s=Vt("range"),{formItem:l}=Ds(),u=dn(WH,{}),{valueOnClear:d}=R5(r,null),c=K(),f=K(),p=K(null);let v=!1;const h=Va(),g=kye(r,n),{parsedValue:y,pickerActualVisible:m,userInput:b,pickerVisible:w,pickerOptions:A,valueIsEmpty:S,emitInput:E,onPick:D,onSetPickerOption:_,onCalendarChange:M,onPanelChange:O}=g,{isFocused:k,handleFocus:R,handleBlur:N}=Ap(f,{disabled:h,beforeFocus(){return r.readonly},afterFocus(){w.value=!0},beforeBlur(de){var tt;return!v&&((tt=c.value)==null?void 0:tt.isFocusInsideContent(de))},afterBlur(){Ne(),w.value=!1,v=!1,r.validateEvent&&l?.validate("blur").catch(de=>void 0)}}),W=K(!1),B=ee(()=>[i.b("editor"),i.bm("editor",r.type),a.e("wrapper"),i.is("disabled",h.value),i.is("active",w.value),s.b("editor"),Me?s.bm("editor",Me.value):"",o.class]),z=ee(()=>[a.e("icon"),s.e("close-icon"),Q.value?"":s.e("close-icon--hidden")]);St(w,de=>{de?Yt(()=>{de&&(p.value=r.modelValue)}):(b.value=null,Yt(()=>{j(r.modelValue)}))});const j=(de,tt)=>{(tt||!K1e(de,p.value))&&(n(Pr,de),tt&&(p.value=de),r.validateEvent&&l?.validate("change").catch(ft=>void 0))},q=de=>{n("keydown",de)},Y=ee(()=>f.value?Array.from(f.value.$el.querySelectorAll("input")):[]),U=(de,tt,ft)=>{const Mt=Y.value;Mt.length&&(!ft||ft==="min"?(Mt[0].setSelectionRange(de,tt),Mt[0].focus()):ft==="max"&&(Mt[1].setSelectionRange(de,tt),Mt[1].focus()))},F=()=>{m.value=!0},H=()=>{n("visible-change",!0)},re=()=>{m.value=!1,w.value=!1,n("visible-change",!1)},X=()=>{w.value=!0},te=()=>{w.value=!1},Z=ee(()=>{if(!A.value.panelReady)return"";const de=gt(y.value);return Zt(b.value)?[b.value[0]||de&&de[0]||"",b.value[1]||de&&de[1]||""]:b.value!==null?b.value:!ve.value&&S.value||!w.value&&S.value?"":de?Pe.value||Ae.value||he.value?de.join(", "):de:""}),le=ee(()=>r.type.includes("time")),ve=ee(()=>r.type.startsWith("time")),Pe=ee(()=>r.type==="dates"),Ae=ee(()=>r.type==="months"),he=ee(()=>r.type==="years"),Ee=ee(()=>r.prefixIcon||(le.value?n1e:zBe)),Q=ee(()=>r.clearable&&!h.value&&!r.readonly&&!S.value&&(W.value||k.value)),me=de=>{r.readonly||h.value||(Q.value&&(de.stopPropagation(),A.value.handleClear?A.value.handleClear():E(d.value),j(d.value,!0),re()),n("clear"))},De=async de=>{var tt;r.readonly||h.value||(((tt=de.target)==null?void 0:tt.tagName)!=="INPUT"||k.value)&&(w.value=!0)},pe=()=>{r.readonly||h.value||!S.value&&r.clearable&&(W.value=!0)},ie=()=>{W.value=!1},ue=de=>{var tt;r.readonly||h.value||(((tt=de.touches[0].target)==null?void 0:tt.tagName)!=="INPUT"||k.value)&&(w.value=!0)},Be=ee(()=>r.type.includes("range")),Me=ha(),Fe=ee(()=>{var de,tt;return(tt=(de=C(c))==null?void 0:de.popperRef)==null?void 0:tt.contentRef}),ze=yH(f,de=>{const tt=C(Fe),ft=Ta(f);tt&&(de.target===tt||de.composedPath().includes(tt))||de.target===ft||ft&&de.composedPath().includes(ft)||(w.value=!1)});Jr(()=>{ze?.()});const Ne=()=>{if(b.value){const de=Re(Z.value);de&&Bt(de)&&(E(kS(de)),b.value=null)}b.value===""&&(E(d.value),j(d.value,!0),b.value=null)},Re=de=>de?A.value.parseUserInput(de):null,gt=de=>de?A.value.formatToString(de):null,Bt=de=>A.value.isValidValue(de),Lt=async de=>{if(r.readonly||h.value)return;const{code:tt}=de;if(q(de),tt===gn.esc){w.value===!0&&(w.value=!1,de.preventDefault(),de.stopPropagation());return}if(tt===gn.down&&(A.value.handleFocusPicker&&(de.preventDefault(),de.stopPropagation()),w.value===!1&&(w.value=!0,await Yt()),A.value.handleFocusPicker)){A.value.handleFocusPicker();return}if(tt===gn.tab){v=!0;return}if(tt===gn.enter||tt===gn.numpadEnter){(b.value===null||b.value===""||Bt(Re(Z.value)))&&(Ne(),w.value=!1),de.stopPropagation();return}if(b.value){de.stopPropagation();return}A.value.handleKeydownInput&&A.value.handleKeydownInput(de)},an=de=>{b.value=de,w.value||(w.value=!0)},Kt=de=>{const tt=de.target;b.value?b.value=[tt.value,b.value[1]]:b.value=[tt.value,null]},Ht=de=>{const tt=de.target;b.value?b.value=[b.value[0],tt.value]:b.value=[null,tt.value]},pt=()=>{var de;const tt=b.value,ft=Re(tt&&tt[0]),Mt=C(y);if(ft&&ft.isValid()){b.value=[gt(ft),((de=Z.value)==null?void 0:de[1])||null];const Tn=[ft,Mt&&(Mt[1]||null)];Bt(Tn)&&(E(kS(Tn)),b.value=null)}},Dt=()=>{var de;const tt=C(b),ft=Re(tt&&tt[1]),Mt=C(y);if(ft&&ft.isValid()){b.value=[((de=C(Z))==null?void 0:de[0])||null,gt(ft)];const Tn=[Mt&&Mt[0],ft];Bt(Tn)&&(E(kS(Tn)),b.value=null)}},dt=()=>{var de;(de=f.value)==null||de.focus()},it=()=>{var de;(de=f.value)==null||de.blur()};return _r(Wc,{props:r}),_r(Eye,g),t({focus:dt,blur:it,handleOpen:X,handleClose:te,onPick:D}),(de,tt)=>(L(),yt(C(hs),vr({ref_key:"refPopper",ref:c,visible:C(w),effect:"light",pure:"",trigger:"click"},de.$attrs,{role:"dialog",teleported:"",transition:`${C(i).namespace.value}-zoom-in-top`,"popper-class":[`${C(i).namespace.value}-picker__popper`,de.popperClass],"popper-style":de.popperStyle,"popper-options":C(u),"fallback-placements":de.fallbackPlacements,"gpu-acceleration":!1,placement:de.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:F,onShow:H,onHide:re}),{default:rt(()=>[C(Be)?(L(),yt(lVe,{key:1,id:de.id,ref_key:"inputRef",ref:f,"model-value":C(Z),name:de.name,disabled:C(h),readonly:!de.editable||de.readonly,"start-placeholder":de.startPlaceholder,"end-placeholder":de.endPlaceholder,class:oe(C(B)),style:rn(de.$attrs.style),"aria-label":de.ariaLabel,tabindex:de.tabindex,autocomplete:"off",role:"combobox",onClick:De,onFocus:C(R),onBlur:C(N),onStartInput:Kt,onStartChange:pt,onEndInput:Ht,onEndChange:Dt,onMousedown:De,onMouseenter:pe,onMouseleave:ie,onTouchstartPassive:ue,onKeydown:Lt},{prefix:rt(()=>[C(Ee)?(L(),yt(C(Dn),{key:0,class:oe([C(a).e("icon"),C(s).e("icon")])},{default:rt(()=>[(L(),yt(mr(C(Ee))))]),_:1},8,["class"])):xe("v-if",!0)]),"range-separator":rt(()=>[ht(de.$slots,"range-separator",{},()=>[x("span",{class:oe(C(s).b("separator"))},je(de.rangeSeparator),3)])]),suffix:rt(()=>[de.clearIcon?(L(),yt(C(Dn),{key:0,class:oe(C(z)),onMousedown:en(C(bo),["prevent"]),onClick:me},{default:rt(()=>[(L(),yt(mr(de.clearIcon)))]),_:1},8,["class","onMousedown"])):xe("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(L(),yt(C(js),{key:0,id:de.id,ref_key:"inputRef",ref:f,"container-role":"combobox","model-value":C(Z),name:de.name,size:C(Me),disabled:C(h),placeholder:de.placeholder,class:oe([C(i).b("editor"),C(i).bm("editor",de.type),C(i).is("focus",C(w)),de.$attrs.class]),style:rn(de.$attrs.style),readonly:!de.editable||de.readonly||C(Pe)||C(Ae)||C(he)||de.type==="week","aria-label":de.ariaLabel,tabindex:de.tabindex,"validate-event":!1,onInput:an,onFocus:C(R),onBlur:C(N),onKeydown:Lt,onChange:Ne,onMousedown:De,onMouseenter:pe,onMouseleave:ie,onTouchstartPassive:ue,onClick:en(()=>{},["stop"])},{prefix:rt(()=>[C(Ee)?(L(),yt(C(Dn),{key:0,class:oe(C(a).e("icon")),onMousedown:en(De,["prevent"]),onTouchstartPassive:ue},{default:rt(()=>[(L(),yt(mr(C(Ee))))]),_:1},8,["class","onMousedown"])):xe("v-if",!0)]),suffix:rt(()=>[C(Q)&&de.clearIcon?(L(),yt(C(Dn),{key:0,class:oe(`${C(a).e("icon")} clear-icon`),onMousedown:en(C(bo),["prevent"]),onClick:me},{default:rt(()=>[(L(),yt(mr(de.clearIcon)))]),_:1},8,["class","onMousedown"])):xe("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur","onClick"]))]),content:rt(()=>[ht(de.$slots,"default",{visible:C(w),actualVisible:C(m),parsedValue:C(y),format:de.format,dateFormat:de.dateFormat,timeFormat:de.timeFormat,unlinkPanels:de.unlinkPanels,type:de.type,defaultValue:de.defaultValue,showNow:de.showNow,showConfirm:de.showConfirm,showFooter:de.showFooter,showWeekNumber:de.showWeekNumber,onPick:C(D),onSelectRange:U,onSetPickerOption:C(_),onCalendarChange:C(M),onPanelChange:C(O),onMousedown:en(()=>{},["stop"])})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});var _ye=on(cVe,[["__file","picker.vue"]]);const dVe=Jt({...Tye,datetimeRole:String,parsedValue:{type:ct(Object)}}),Dye=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const r=(a,s,l,u)=>{const d={hour:e,minute:t,second:n};let c=a;return["hour","minute","second"].forEach(f=>{if(d[f]){let p;const v=d[f];switch(f){case"minute":{p=v(c.hour(),s,u);break}case"second":{p=v(c.hour(),c.minute(),s,u);break}default:{p=v(s,u);break}}if(p?.length&&!p.includes(c[f]())){const h=l?0:p.length-1;c=c[f](p[h])}}}),c},o={};return{timePickerOptions:o,getAvailableTime:r,onSetOption:([a,s])=>{o[a]=s}}},xI=e=>{const t=(r,o)=>r||o,n=r=>r!==!0;return e.map(t).filter(n)},Iye=(e,t,n)=>({getHoursList:(a,s)=>wI(24,e&&(()=>e?.(a,s))),getMinutesList:(a,s,l)=>wI(60,t&&(()=>t?.(a,s,l))),getSecondsList:(a,s,l,u)=>wI(60,n&&(()=>n?.(a,s,l,u)))}),Oye=(e,t,n)=>{const{getHoursList:r,getMinutesList:o,getSecondsList:i}=Iye(e,t,n);return{getAvailableHours:(u,d)=>xI(r(u,d)),getAvailableMinutes:(u,d,c)=>xI(o(u,d,c)),getAvailableSeconds:(u,d,c,f)=>xI(i(u,d,c,f))}},Mye=e=>{const t=K(e.parsedValue);return St(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},fVe=Jt({role:{type:String,required:!0},spinnerDate:{type:ct(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:ct(String),default:""},...VH}),pVe=100,hVe=600,SE={beforeMount(e,t){const n=t.value,{interval:r=pVe,delay:o=hVe}=Rn(n)?{}:n;let i,a;const s=()=>Rn(n)?n():n.handler(),l=()=>{a&&(clearTimeout(a),a=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",u=>{u.button===0&&(l(),s(),document.addEventListener("mouseup",()=>l(),{once:!0}),a=setTimeout(()=>{i=setInterval(()=>{s()},r)},o))})}},gVe=nt({__name:"basic-time-spinner",props:fVe,emits:[Pr,"select-range","set-option"],setup(e,{emit:t}){const n=e,r=dn(Wc),{isRange:o,format:i}=r.props,a=Vt("time"),{getHoursList:s,getMinutesList:l,getSecondsList:u}=Iye(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const c=K(),f=K(),p=K(),v=K(),h={hours:f,minutes:p,seconds:v},g=ee(()=>n.showSeconds?HJ:HJ.slice(0,2)),y=ee(()=>{const{spinnerDate:F}=n,H=F.hour(),re=F.minute(),X=F.second();return{hours:H,minutes:re,seconds:X}}),m=ee(()=>{const{hours:F,minutes:H}=C(y),{role:re,spinnerDate:X}=n,te=o?void 0:X;return{hours:s(re,te),minutes:l(F,re,te),seconds:u(F,H,re,te)}}),b=ee(()=>{const{hours:F,minutes:H,seconds:re}=C(y);return{hours:bI(F,23),minutes:bI(H,59),seconds:bI(re,59)}}),w=Wl(F=>{d=!1,E(F)},200),A=F=>{if(!!!n.amPmMode)return"";const re=n.amPmMode==="A";let X=F<12?" am":" pm";return re&&(X=X.toUpperCase()),X},S=F=>{let H=[0,0];const re=i||Uy,X=re.indexOf("HH"),te=re.indexOf("mm"),Z=re.indexOf("ss");switch(F){case"hours":X!==-1&&(H=[X,X+2]);break;case"minutes":te!==-1&&(H=[te,te+2]);break;case"seconds":Z!==-1&&(H=[Z,Z+2]);break}const[le,ve]=H;t("select-range",le,ve),c.value=F},E=F=>{M(F,C(y)[F])},D=()=>{E("hours"),E("minutes"),E("seconds")},_=F=>F.querySelector(`.${a.namespace.value}-scrollbar__wrap`),M=(F,H)=>{if(n.arrowControl)return;const re=C(h[F]);re&&re.$el&&(_(re.$el).scrollTop=Math.max(0,H*O(F)))},O=F=>{const H=C(h[F]),re=H?.$el.querySelector("li");return re&&Number.parseFloat(Mf(re,"height"))||0},k=()=>{N(1)},R=()=>{N(-1)},N=F=>{c.value||S("hours");const H=c.value,re=C(y)[H],X=c.value==="hours"?24:60,te=W(H,re,F,X);B(H,te),M(H,te),Yt(()=>S(H))},W=(F,H,re,X)=>{let te=(H+re+X)%X;const Z=C(m)[F];for(;Z[te]&&te!==H;)te=(te+re+X)%X;return te},B=(F,H)=>{if(C(m)[F][H])return;const{hours:te,minutes:Z,seconds:le}=C(y);let ve;switch(F){case"hours":ve=n.spinnerDate.hour(H).minute(Z).second(le);break;case"minutes":ve=n.spinnerDate.hour(te).minute(H).second(le);break;case"seconds":ve=n.spinnerDate.hour(te).minute(Z).second(H);break}t(Pr,ve)},z=(F,{value:H,disabled:re})=>{re||(B(F,H),S(F),M(F,H))},j=F=>{const H=C(h[F]);if(!H)return;d=!0,w(F);const re=Math.min(Math.round((_(H.$el).scrollTop-(q(F)*.5-10)/O(F)+3)/O(F)),F==="hours"?23:59);B(F,re)},q=F=>C(h[F]).$el.offsetHeight,Y=()=>{const F=H=>{const re=C(h[H]);re&&re.$el&&(_(re.$el).onscroll=()=>{j(H)})};F("hours"),F("minutes"),F("seconds")};qn(()=>{Yt(()=>{!n.arrowControl&&Y(),D(),n.role==="start"&&S("hours")})});const U=(F,H)=>{h[H].value=F??void 0};return t("set-option",[`${n.role}_scrollDown`,N]),t("set-option",[`${n.role}_emitSelectRange`,S]),St(()=>n.spinnerDate,()=>{d||D()}),(F,H)=>(L(),G("div",{class:oe([C(a).b("spinner"),{"has-seconds":F.showSeconds}])},[F.arrowControl?xe("v-if",!0):(L(!0),G(Rt,{key:0},un(C(g),re=>(L(),yt(C(Hc),{key:re,ref_for:!0,ref:X=>U(X,re),class:oe(C(a).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":C(a).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:X=>S(re),onMousemove:X=>E(re)},{default:rt(()=>[(L(!0),G(Rt,null,un(C(m)[re],(X,te)=>(L(),G("li",{key:te,class:oe([C(a).be("spinner","item"),C(a).is("active",te===C(y)[re]),C(a).is("disabled",X)]),onClick:Z=>z(re,{value:te,disabled:X})},[re==="hours"?(L(),G(Rt,{key:0},[bn(je(("0"+(F.amPmMode?te%12||12:te)).slice(-2))+je(A(te)),1)],64)):(L(),G(Rt,{key:1},[bn(je(("0"+te).slice(-2)),1)],64))],10,["onClick"]))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),F.arrowControl?(L(!0),G(Rt,{key:1},un(C(g),re=>(L(),G("div",{key:re,class:oe([C(a).be("spinner","wrapper"),C(a).is("arrow")]),onMouseenter:X=>S(re)},[cn((L(),yt(C(Dn),{class:oe(["arrow-up",C(a).be("spinner","arrow")])},{default:rt(()=>[He(C(oD))]),_:1},8,["class"])),[[C(SE),R]]),cn((L(),yt(C(Dn),{class:oe(["arrow-down",C(a).be("spinner","arrow")])},{default:rt(()=>[He(C(ed))]),_:1},8,["class"])),[[C(SE),k]]),x("ul",{class:oe(C(a).be("spinner","list"))},[(L(!0),G(Rt,null,un(C(b)[re],(X,te)=>(L(),G("li",{key:te,class:oe([C(a).be("spinner","item"),C(a).is("active",X===C(y)[re]),C(a).is("disabled",C(m)[re][X])])},[C($n)(X)?(L(),G(Rt,{key:0},[re==="hours"?(L(),G(Rt,{key:0},[bn(je(("0"+(F.amPmMode?X%12||12:X)).slice(-2))+je(A(X)),1)],64)):(L(),G(Rt,{key:1},[bn(je(("0"+X).slice(-2)),1)],64))],64)):xe("v-if",!0)],2))),128))],2)],42,["onMouseenter"]))),128)):xe("v-if",!0)],2))}});var OL=on(gVe,[["__file","basic-time-spinner.vue"]]);const vVe=nt({__name:"panel-time-pick",props:dVe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=dn(Wc),{arrowControl:o,disabledHours:i,disabledMinutes:a,disabledSeconds:s,defaultValue:l}=r.props,{getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:c}=Oye(i,a,s),f=Vt("time"),{t:p,lang:v}=Gr(),h=K([0,2]),g=Mye(n),y=ee(()=>Vr(n.actualVisible)?`${f.namespace.value}-zoom-in-top`:""),m=ee(()=>n.format.includes("ss")),b=ee(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),w=j=>{const q=lr(j).locale(v.value),Y=N(q);return q.isSame(Y)},A=()=>{t("pick",g.value,!1)},S=(j=!1,q=!1)=>{q||t("pick",n.parsedValue,j)},E=j=>{if(!n.visible)return;const q=N(j).millisecond(0);t("pick",q,!0)},D=(j,q)=>{t("select-range",j,q),h.value=[j,q]},_=j=>{const q=n.format,Y=q.indexOf("HH"),U=q.indexOf("mm"),F=q.indexOf("ss"),H=[],re=[];Y!==-1&&(H.push(Y),re.push("hours")),U!==-1&&(H.push(U),re.push("minutes")),F!==-1&&m.value&&(H.push(F),re.push("seconds"));const te=(H.indexOf(h.value[0])+j+H.length)%H.length;O.start_emitSelectRange(re[te])},M=j=>{const q=j.code,{left:Y,right:U,up:F,down:H}=gn;if([Y,U].includes(q)){_(q===Y?-1:1),j.preventDefault();return}if([F,H].includes(q)){const re=q===F?-1:1;O.start_scrollDown(re),j.preventDefault();return}},{timePickerOptions:O,onSetOption:k,getAvailableTime:R}=Dye({getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:c}),N=j=>R(j,n.datetimeRole||"",!0),W=j=>j?lr(j,n.format).locale(v.value):null,B=j=>j?j.format(n.format):null,z=()=>lr(l).locale(v.value);return t("set-picker-option",["isValidValue",w]),t("set-picker-option",["formatToString",B]),t("set-picker-option",["parseUserInput",W]),t("set-picker-option",["handleKeydownInput",M]),t("set-picker-option",["getRangeAvailableTime",N]),t("set-picker-option",["getDefaultValue",z]),(j,q)=>(L(),yt(Ki,{name:C(y)},{default:rt(()=>[j.actualVisible||j.visible?(L(),G("div",{key:0,class:oe(C(f).b("panel"))},[x("div",{class:oe([C(f).be("panel","content"),{"has-seconds":C(m)}])},[He(OL,{ref:"spinner",role:j.datetimeRole||"start","arrow-control":C(o),"show-seconds":C(m),"am-pm-mode":C(b),"spinner-date":j.parsedValue,"disabled-hours":C(i),"disabled-minutes":C(a),"disabled-seconds":C(s),onChange:E,onSetOption:C(k),onSelectRange:D},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),x("div",{class:oe(C(f).be("panel","footer"))},[x("button",{type:"button",class:oe([C(f).be("panel","btn"),"cancel"]),onClick:A},je(C(p)("el.datepicker.cancel")),3),x("button",{type:"button",class:oe([C(f).be("panel","btn"),"confirm"]),onClick:Y=>S()},je(C(p)("el.datepicker.confirm")),11,["onClick"])],2)],2)):xe("v-if",!0)]),_:1},8,["name"]))}});var EE=on(vVe,[["__file","panel-time-pick.vue"]]);const mVe=Jt({...Tye,parsedValue:{type:ct(Array)}}),yVe=nt({__name:"panel-time-range",props:mVe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(Ae,he)=>{const Ee=[];for(let Q=Ae;Q<=he;Q++)Ee.push(Q);return Ee},{t:o,lang:i}=Gr(),a=Vt("time"),s=Vt("picker"),l=dn(Wc),{arrowControl:u,disabledHours:d,disabledMinutes:c,disabledSeconds:f,defaultValue:p}=l.props,v=ee(()=>[a.be("range-picker","body"),a.be("panel","content"),a.is("arrow",u),w.value?"has-seconds":""]),h=ee(()=>[a.be("range-picker","body"),a.be("panel","content"),a.is("arrow",u),w.value?"has-seconds":""]),g=ee(()=>n.parsedValue[0]),y=ee(()=>n.parsedValue[1]),m=Mye(n),b=()=>{t("pick",m.value,!1)},w=ee(()=>n.format.includes("ss")),A=ee(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),S=(Ae=!1)=>{t("pick",[g.value,y.value],Ae)},E=Ae=>{M(Ae.millisecond(0),y.value)},D=Ae=>{M(g.value,Ae.millisecond(0))},_=Ae=>{const he=Ae.map(Q=>lr(Q).locale(i.value)),Ee=U(he);return he[0].isSame(Ee[0])&&he[1].isSame(Ee[1])},M=(Ae,he)=>{n.visible&&t("pick",[Ae,he],!0)},O=ee(()=>g.value>y.value),k=K([0,2]),R=(Ae,he)=>{t("select-range",Ae,he,"min"),k.value=[Ae,he]},N=ee(()=>w.value?11:8),W=(Ae,he)=>{t("select-range",Ae,he,"max");const Ee=C(N);k.value=[Ae+Ee,he+Ee]},B=Ae=>{const he=w.value?[0,3,6,11,14,17]:[0,3,8,11],Ee=["hours","minutes"].concat(w.value?["seconds"]:[]),me=(he.indexOf(k.value[0])+Ae+he.length)%he.length,De=he.length/2;me{const he=Ae.code,{left:Ee,right:Q,up:me,down:De}=gn;if([Ee,Q].includes(he)){B(he===Ee?-1:1),Ae.preventDefault();return}if([me,De].includes(he)){const pe=he===me?-1:1,ie=k.value[0]{const Ee=d?d(Ae):[],Q=Ae==="start",De=(he||(Q?y.value:g.value)).hour(),pe=Q?r(De+1,23):r(0,De-1);return pI(Ee,pe)},q=(Ae,he,Ee)=>{const Q=c?c(Ae,he):[],me=he==="start",De=Ee||(me?y.value:g.value),pe=De.hour();if(Ae!==pe)return Q;const ie=De.minute(),ue=me?r(ie+1,59):r(0,ie-1);return pI(Q,ue)},Y=(Ae,he,Ee,Q)=>{const me=f?f(Ae,he,Ee):[],De=Ee==="start",pe=Q||(De?y.value:g.value),ie=pe.hour(),ue=pe.minute();if(Ae!==ie||he!==ue)return me;const Be=pe.second(),Me=De?r(Be+1,59):r(0,Be-1);return pI(me,Me)},U=([Ae,he])=>[te(Ae,"start",!0,he),te(he,"end",!1,Ae)],{getAvailableHours:F,getAvailableMinutes:H,getAvailableSeconds:re}=Oye(j,q,Y),{timePickerOptions:X,getAvailableTime:te,onSetOption:Z}=Dye({getAvailableHours:F,getAvailableMinutes:H,getAvailableSeconds:re}),le=Ae=>Ae?Zt(Ae)?Ae.map(he=>lr(he,n.format).locale(i.value)):lr(Ae,n.format).locale(i.value):null,ve=Ae=>Ae?Zt(Ae)?Ae.map(he=>he.format(n.format)):Ae.format(n.format):null,Pe=()=>{if(Zt(p))return p.map(he=>lr(he).locale(i.value));const Ae=lr(p).locale(i.value);return[Ae,Ae.add(60,"m")]};return t("set-picker-option",["formatToString",ve]),t("set-picker-option",["parseUserInput",le]),t("set-picker-option",["isValidValue",_]),t("set-picker-option",["handleKeydownInput",z]),t("set-picker-option",["getDefaultValue",Pe]),t("set-picker-option",["getRangeAvailableTime",U]),(Ae,he)=>Ae.actualVisible?(L(),G("div",{key:0,class:oe([C(a).b("range-picker"),C(s).b("panel")])},[x("div",{class:oe(C(a).be("range-picker","content"))},[x("div",{class:oe(C(a).be("range-picker","cell"))},[x("div",{class:oe(C(a).be("range-picker","header"))},je(C(o)("el.datepicker.startTime")),3),x("div",{class:oe(C(v))},[He(OL,{ref:"minSpinner",role:"start","show-seconds":C(w),"am-pm-mode":C(A),"arrow-control":C(u),"spinner-date":C(g),"disabled-hours":j,"disabled-minutes":q,"disabled-seconds":Y,onChange:E,onSetOption:C(Z),onSelectRange:R},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),x("div",{class:oe(C(a).be("range-picker","cell"))},[x("div",{class:oe(C(a).be("range-picker","header"))},je(C(o)("el.datepicker.endTime")),3),x("div",{class:oe(C(h))},[He(OL,{ref:"maxSpinner",role:"end","show-seconds":C(w),"am-pm-mode":C(A),"arrow-control":C(u),"spinner-date":C(y),"disabled-hours":j,"disabled-minutes":q,"disabled-seconds":Y,onChange:D,onSetOption:C(Z),onSelectRange:W},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),x("div",{class:oe(C(a).be("panel","footer"))},[x("button",{type:"button",class:oe([C(a).be("panel","btn"),"cancel"]),onClick:Ee=>b()},je(C(o)("el.datepicker.cancel")),11,["onClick"]),x("button",{type:"button",class:oe([C(a).be("panel","btn"),"confirm"]),disabled:C(O),onClick:Ee=>S()},je(C(o)("el.datepicker.confirm")),11,["disabled","onClick"])],2)],2)):xe("v-if",!0)}});var bVe=on(yVe,[["__file","panel-time-range.vue"]]);lr.extend(HH);var wVe=nt({name:"ElTimePicker",install:null,props:{...qH,isRange:Boolean},emits:[Qn],setup(e,t){const n=K(),[r,o]=e.isRange?["timerange",bVe]:["time",EE],i=a=>t.emit(Qn,a);return _r(WH,e.popperOptions),t.expose({focus:()=>{var a;(a=n.value)==null||a.focus()},blur:()=>{var a;(a=n.value)==null||a.blur()},handleOpen:()=>{var a;(a=n.value)==null||a.handleOpen()},handleClose:()=>{var a;(a=n.value)==null||a.handleClose()}}),()=>{var a;const s=(a=e.format)!=null?a:Uy;return He(_ye,vr(e,{ref:n,type:r,format:s,"onUpdate:modelValue":i}),{default:l=>He(o,l,null)})}}});const AVe=or(wVe);var DS={exports:{}},CVe=DS.exports,WJ;function xVe(){return WJ||(WJ=1,(function(e,t){(function(n,r){e.exports=r()})(CVe,(function(){return function(n,r){var o=r.prototype,i=o.format;o.format=function(a){var s=this,l=this.$locale();if(!this.isValid())return i.bind(this)(a);var u=this.$utils(),d=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(c){switch(c){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),c==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),c==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),c==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return c}}));return i.bind(this)(d)}}}))})(DS)),DS.exports}var SVe=xVe();const EVe=xu(SVe);var IS={exports:{}},kVe=IS.exports,VJ;function TVe(){return VJ||(VJ=1,(function(e,t){(function(n,r){e.exports=r()})(kVe,(function(){var n="week",r="year";return function(o,i,a){var s=i.prototype;s.week=function(l){if(l===void 0&&(l=null),l!==null)return this.add(7*(l-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var d=a(this).startOf(r).add(1,r).date(u),c=a(this).endOf(n);if(d.isBefore(c))return 1}var f=a(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),p=this.diff(f,n,!0);return p<0?a(this).startOf("week").week():Math.ceil(p)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}}))})(IS)),IS.exports}var _Ve=TVe();const DVe=xu(_Ve);var OS={exports:{}},IVe=OS.exports,qJ;function OVe(){return qJ||(qJ=1,(function(e,t){(function(n,r){e.exports=r()})(IVe,(function(){return function(n,r){r.prototype.weekYear=function(){var o=this.month(),i=this.week(),a=this.year();return i===1&&o===11?a+1:o===0&&i>=52?a-1:a}}}))})(OS)),OS.exports}var MVe=OVe();const PVe=xu(MVe);var MS={exports:{}},NVe=MS.exports,GJ;function RVe(){return GJ||(GJ=1,(function(e,t){(function(n,r){e.exports=r()})(NVe,(function(){return function(n,r,o){r.prototype.dayOfYear=function(i){var a=Math.round((o(this).startOf("day")-o(this).startOf("year"))/864e5)+1;return i==null?a:this.add(i-a,"day")}}}))})(MS)),MS.exports}var BVe=RVe();const LVe=xu(BVe);var PS={exports:{}},FVe=PS.exports,KJ;function UVe(){return KJ||(KJ=1,(function(e,t){(function(n,r){e.exports=r()})(FVe,(function(){return function(n,r){r.prototype.isSameOrAfter=function(o,i){return this.isSame(o,i)||this.isAfter(o,i)}}}))})(PS)),PS.exports}var zVe=UVe();const $Ve=xu(zVe);var NS={exports:{}},jVe=NS.exports,YJ;function HVe(){return YJ||(YJ=1,(function(e,t){(function(n,r){e.exports=r()})(jVe,(function(){return function(n,r){r.prototype.isSameOrBefore=function(o,i){return this.isSame(o,i)||this.isBefore(o,i)}}}))})(NS)),NS.exports}var WVe=HVe();const VVe=xu(WVe),qVe=Jt({valueFormat:String,dateFormat:String,timeFormat:String,disabled:Boolean,modelValue:{type:ct([Date,Array,String,Number]),default:""},defaultValue:{type:ct([Date,Array])},defaultTime:{type:ct([Date,Array])},isRange:Boolean,...VH,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:ct(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0}}),GH=Symbol("rootPickerContextKey"),$5="ElIsDefaultFormat",GVe=["date","dates","year","years","month","months","week","range"],KH=Jt({cellClassName:{type:ct(Function)},disabledDate:{type:ct(Function)},date:{type:ct(Object),required:!0},minDate:{type:ct(Object)},maxDate:{type:ct(Object)},parsedValue:{type:ct([Object,Array])},rangeState:{type:ct(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),Pye=Jt({type:{type:ct(String),required:!0,values:K$e},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean}),YH=Jt({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:ct(Array)}}),QH=e=>({type:String,values:GVe,default:e}),KVe=Jt({...Pye,parsedValue:{type:ct([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),tA=e=>{if(!Zt(e))return!1;const[t,n]=e;return lr.isDayjs(t)&&lr.isDayjs(n)&&lr(t).isValid()&&lr(n).isValid()&&t.isSameOrBefore(n)},pD=(e,{lang:t,step:n=1,unit:r,unlinkPanels:o})=>{let i;if(Zt(e)){let[a,s]=e.map(l=>lr(l).locale(t));return o||(s=a.add(n,r)),[a,s]}else e?i=lr(e):i=lr();return i=i.locale(t),[i,i.add(n,r)]},YVe=(e,t,{columnIndexOffset:n,startDate:r,nextEndDate:o,now:i,unit:a,relativeDateGetter:s,setCellMetadata:l,setRowMetadata:u})=>{for(let d=0;d{const o=lr().locale(r).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),i=o.daysInMonth();return Ph(i).map(a=>o.add(a,"day").toDate())},zy=(e,t,n,r,o)=>{const i=lr().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),a=kE(e,t,n,r).find(s=>!o?.(s));return a?lr(a).locale(r):i.locale(r)},TE=(e,t,n)=>{const r=e.year();if(!n?.(e.toDate()))return e.locale(t);const o=e.month();if(!kE(e,r,o,t).every(n))return zy(e,r,o,t,n);for(let i=0;i<12;i++)if(!kE(e,r,i,t).every(n))return zy(e,r,i,t,n);return e},$y=(e,t,n,r)=>{if(Zt(e))return e.map(o=>$y(o,t,n,r));if(In(e)){const o=r?.value?lr(e):lr(e,t);if(!o.isValid())return o}return lr(e,t).locale(n)},QVe=Jt({...KH,showWeekNumber:Boolean,selectionMode:QH("date")}),ZVe=["changerange","pick","select"],ML=(e="")=>["normal","today"].includes(e),XVe=(e,t)=>{const{lang:n}=Gr(),r=K(),o=K(),i=K(),a=K(),s=K([[],[],[],[],[],[]]);let l=!1;const u=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(j=>j.toLowerCase()),c=ee(()=>u>3?7-u:-u),f=ee(()=>{const j=e.date.startOf("month");return j.subtract(j.day()||7,"day")}),p=ee(()=>d.concat(d).slice(u,u+7)),v=ee(()=>sme(C(w)).some(j=>j.isCurrent)),h=ee(()=>{const j=e.date.startOf("month"),q=j.day()||7,Y=j.daysInMonth(),U=j.subtract(1,"month").daysInMonth();return{startOfMonthDay:q,dateCountOfMonth:Y,dateCountOfLastMonth:U}}),g=ee(()=>e.selectionMode==="dates"?sl(e.parsedValue):[]),y=(j,{count:q,rowIndex:Y,columnIndex:U})=>{const{startOfMonthDay:F,dateCountOfMonth:H,dateCountOfLastMonth:re}=C(h),X=C(c);if(Y>=0&&Y<=1){const te=F+X<0?7+F+X:F+X;if(U+Y*7>=te)return j.text=q,!0;j.text=re-(te-U%7)+1+Y*7,j.type="prev-month"}else return q<=H?j.text=q:(j.text=q-H,j.type="next-month"),!0;return!1},m=(j,{columnIndex:q,rowIndex:Y},U)=>{const{disabledDate:F,cellClassName:H}=e,re=C(g),X=y(j,{count:U,rowIndex:Y,columnIndex:q}),te=j.dayjs.toDate();return j.selected=re.find(Z=>Z.isSame(j.dayjs,"day")),j.isSelected=!!j.selected,j.isCurrent=S(j),j.disabled=F?.(te),j.customClass=H?.(te),X},b=j=>{if(e.selectionMode==="week"){const[q,Y]=e.showWeekNumber?[1,7]:[0,6],U=z(j[q+1]);j[q].inRange=U,j[q].start=U,j[Y].inRange=U,j[Y].end=U}},w=ee(()=>{const{minDate:j,maxDate:q,rangeState:Y,showWeekNumber:U}=e,F=C(c),H=C(s),re="day";let X=1;if(YVe({row:6,column:7},H,{startDate:j,columnIndexOffset:U?1:0,nextEndDate:Y.endDate||q||Y.selecting&&j||null,now:lr().locale(C(n)).startOf(re),unit:re,relativeDateGetter:te=>C(f).add(te-F,re),setCellMetadata:(...te)=>{m(...te,X)&&(X+=1)},setRowMetadata:b}),U)for(let te=0;te<6;te++)H[te][1].dayjs&&(H[te][0]={type:"week",text:H[te][1].dayjs.week()});return H});St(()=>e.date,async()=>{var j;(j=C(r))!=null&&j.contains(document.activeElement)&&(await Yt(),await A())});const A=async()=>{var j;return(j=C(o))==null?void 0:j.focus()},S=j=>e.selectionMode==="date"&&ML(j.type)&&E(j,e.parsedValue),E=(j,q)=>q?lr(q).locale(C(n)).isSame(e.date.date(Number(j.text)),"day"):!1,D=(j,q)=>{const Y=j*7+(q-(e.showWeekNumber?1:0))-C(c);return C(f).add(Y,"day")},_=j=>{var q;if(!e.rangeState.selecting)return;let Y=j.target;if(Y.tagName==="SPAN"&&(Y=(q=Y.parentNode)==null?void 0:q.parentNode),Y.tagName==="DIV"&&(Y=Y.parentNode),Y.tagName!=="TD")return;const U=Y.parentNode.rowIndex-1,F=Y.cellIndex;C(w)[U][F].disabled||(U!==C(i)||F!==C(a))&&(i.value=U,a.value=F,t("changerange",{selecting:!0,endDate:D(U,F)}))},M=j=>{l||C(v)||e.selectionMode!=="date"||B(j,!0)},O=j=>{j.target.closest("td")&&(l=!0)},k=j=>{j.target.closest("td")&&(l=!1)},R=j=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:j,maxDate:null}),t("select",!0)):(j>=e.minDate?t("pick",{minDate:e.minDate,maxDate:j}):t("pick",{minDate:j,maxDate:e.minDate}),t("select",!1))},N=j=>{const q=j.week(),Y=`${j.year()}w${q}`;t("pick",{year:j.year(),week:q,value:Y,date:j.startOf("week")})},W=(j,q)=>{const Y=q?sl(e.parsedValue).filter(U=>U?.valueOf()!==j.valueOf()):sl(e.parsedValue).concat([j]);t("pick",Y)},B=(j,q=!1)=>{if(e.disabled)return;const Y=j.target.closest("td");if(!Y)return;const U=Y.parentNode.rowIndex-1,F=Y.cellIndex,H=C(w)[U][F];if(H.disabled||H.type==="week")return;const re=D(U,F);switch(e.selectionMode){case"range":{R(re);break}case"date":{t("pick",re,q);break}case"week":{N(re);break}case"dates":{W(re,!!H.selected);break}}},z=j=>{if(e.selectionMode!=="week")return!1;let q=e.date.startOf("day");if(j.type==="prev-month"&&(q=q.subtract(1,"month")),j.type==="next-month"&&(q=q.add(1,"month")),q=q.date(Number.parseInt(j.text,10)),e.parsedValue&&!Zt(e.parsedValue)){const Y=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(Y,"day").isSame(q,"day")}return!1};return{WEEKS:p,rows:w,tbodyRef:r,currentCellRef:o,focus:A,isCurrent:S,isWeekActive:z,handlePickDate:B,handleMouseUp:k,handleMouseDown:O,handleMouseMove:_,handleFocus:M}},JVe=(e,{isCurrent:t,isWeekActive:n})=>{const r=Vt("date-table"),{t:o}=Gr(),i=ee(()=>[r.b(),{"is-week-mode":e.selectionMode==="week"&&!e.disabled}]),a=ee(()=>o("el.datepicker.dateTablePrompt")),s=u=>{const d=[];return ML(u.type)&&!u.disabled?(d.push("available"),u.type==="today"&&d.push("today")):d.push(u.type),t(u)&&d.push("current"),u.inRange&&(ML(u.type)||e.selectionMode==="week")&&(d.push("in-range"),u.start&&d.push("start-date"),u.end&&d.push("end-date")),(u.disabled||e.disabled)&&d.push("disabled"),u.selected&&d.push("selected"),u.customClass&&d.push(u.customClass),d.join(" ")},l=u=>[r.e("row"),{current:n(u)}];return{tableKls:i,tableLabel:a,weekHeaderClass:r.e("week-header"),getCellClasses:s,getRowKls:l,t:o}},eqe=Jt({cell:{type:ct(Object)}});var ZH=nt({name:"ElDatePickerCell",props:eqe,setup(e){const t=Vt("date-table-cell"),{slots:n}=dn(GH);return()=>{const{cell:r}=e;return ht(n,"default",{...r},()=>{var o;return[He("div",{class:t.b()},[He("span",{class:t.e("text")},[(o=r?.renderText)!=null?o:r?.text])])]})}}});const tqe=nt({__name:"basic-date-table",props:QVe,emits:ZVe,setup(e,{expose:t,emit:n}){const r=e,{WEEKS:o,rows:i,tbodyRef:a,currentCellRef:s,focus:l,isCurrent:u,isWeekActive:d,handlePickDate:c,handleMouseUp:f,handleMouseDown:p,handleMouseMove:v,handleFocus:h}=XVe(r,n),{tableLabel:g,tableKls:y,getCellClasses:m,getRowKls:b,weekHeaderClass:w,t:A}=JVe(r,{isCurrent:u,isWeekActive:d});let S=!1;return Jr(()=>{S=!0}),t({focus:l}),(E,D)=>(L(),G("table",{"aria-label":C(g),class:oe(C(y)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:C(c),onMousemove:C(v),onMousedown:C(p),onMouseup:C(f)},[x("tbody",{ref_key:"tbodyRef",ref:a},[x("tr",null,[E.showWeekNumber?(L(),G("th",{key:0,scope:"col",class:oe(C(w))},null,2)):xe("v-if",!0),(L(!0),G(Rt,null,un(C(o),(_,M)=>(L(),G("th",{key:M,"aria-label":C(A)("el.datepicker.weeksFull."+_),scope:"col"},je(C(A)("el.datepicker.weeks."+_)),9,["aria-label"]))),128))]),(L(!0),G(Rt,null,un(C(i),(_,M)=>(L(),G("tr",{key:M,class:oe(C(b)(_[1]))},[(L(!0),G(Rt,null,un(_,(O,k)=>(L(),G("td",{key:`${M}.${k}`,ref_for:!0,ref:R=>!C(S)&&O.isSelected&&(s.value=R),class:oe(C(m)(O)),"aria-current":O.isCurrent?"date":void 0,"aria-selected":O.isCurrent,tabindex:O.isSelected?0:-1,onFocus:C(h)},[He(C(ZH),{cell:O},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"]))),128))],2))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var PL=on(tqe,[["__file","basic-date-table.vue"]]);const nqe=Jt({...KH,selectionMode:QH("month")}),rqe=nt({__name:"basic-month-table",props:nqe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,o=Vt("month-table"),{t:i,lang:a}=Gr(),s=K(),l=K(),u=K(r.date.locale("en").localeData().monthsShort().map(b=>b.toLowerCase())),d=K([[],[],[]]),c=K(),f=K(),p=ee(()=>{var b,w,A;const S=d.value,E=lr().locale(a.value).startOf("month");for(let D=0;D<3;D++){const _=S[D];for(let M=0;M<4;M++){const O=_[M]||(_[M]={row:D,column:M,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});O.type="normal";const k=D*4+M,R=r.date.startOf("year").month(k),N=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;O.inRange=!!(r.minDate&&R.isSameOrAfter(r.minDate,"month")&&N&&R.isSameOrBefore(N,"month"))||!!(r.minDate&&R.isSameOrBefore(r.minDate,"month")&&N&&R.isSameOrAfter(N,"month")),(b=r.minDate)!=null&&b.isSameOrAfter(N)?(O.start=!!(N&&R.isSame(N,"month")),O.end=r.minDate&&R.isSame(r.minDate,"month")):(O.start=!!(r.minDate&&R.isSame(r.minDate,"month")),O.end=!!(N&&R.isSame(N,"month"))),E.isSame(R)&&(O.type="today");const B=R.toDate();O.text=k,O.disabled=((w=r.disabledDate)==null?void 0:w.call(r,B))||!1,O.date=B,O.customClass=(A=r.cellClassName)==null?void 0:A.call(r,B),O.dayjs=R,O.timestamp=R.valueOf(),O.isSelected=g(O)}}return S}),v=()=>{var b;(b=l.value)==null||b.focus()},h=b=>{const w={},A=r.date.year(),S=new Date,E=b.text;return w.disabled=r.disabled||(r.disabledDate?kE(r.date,A,E,a.value).every(r.disabledDate):!1),w.current=sl(r.parsedValue).findIndex(D=>lr.isDayjs(D)&&D.year()===A&&D.month()===E)>=0,w.today=S.getFullYear()===A&&S.getMonth()===E,b.customClass&&(w[b.customClass]=!0),b.inRange&&(w["in-range"]=!0,b.start&&(w["start-date"]=!0),b.end&&(w["end-date"]=!0)),w},g=b=>{const w=r.date.year(),A=b.text;return sl(r.date).findIndex(S=>S.year()===w&&S.month()===A)>=0},y=b=>{var w;if(!r.rangeState.selecting)return;let A=b.target;if(A.tagName==="SPAN"&&(A=(w=A.parentNode)==null?void 0:w.parentNode),A.tagName==="DIV"&&(A=A.parentNode),A.tagName!=="TD")return;const S=A.parentNode.rowIndex,E=A.cellIndex;p.value[S][E].disabled||(S!==c.value||E!==f.value)&&(c.value=S,f.value=E,n("changerange",{selecting:!0,endDate:r.date.startOf("year").month(S*4+E)}))},m=b=>{var w;if(r.disabled)return;const A=(w=b.target)==null?void 0:w.closest("td");if(A?.tagName!=="TD"||Ol(A,"disabled"))return;const S=A.cellIndex,D=A.parentNode.rowIndex*4+S,_=r.date.startOf("year").month(D);if(r.selectionMode==="months"){if(b.type==="keydown"){n("pick",sl(r.parsedValue),!1);return}const M=zy(r.date,r.date.year(),D,a.value,r.disabledDate),O=Ol(A,"current")?sl(r.parsedValue).filter(k=>k?.year()!==M.year()||k?.month()!==M.month()):sl(r.parsedValue).concat([lr(M)]);n("pick",O)}else r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&_>=r.minDate?n("pick",{minDate:r.minDate,maxDate:_}):n("pick",{minDate:_,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:_,maxDate:null}),n("select",!0)):n("pick",D)};return St(()=>r.date,async()=>{var b,w;(b=s.value)!=null&&b.contains(document.activeElement)&&(await Yt(),(w=l.value)==null||w.focus())}),t({focus:v}),(b,w)=>(L(),G("table",{role:"grid","aria-label":C(i)("el.datepicker.monthTablePrompt"),class:oe(C(o).b()),onClick:m,onMousemove:y},[x("tbody",{ref_key:"tbodyRef",ref:s},[(L(!0),G(Rt,null,un(C(p),(A,S)=>(L(),G("tr",{key:S},[(L(!0),G(Rt,null,un(A,(E,D)=>(L(),G("td",{key:D,ref_for:!0,ref:_=>E.isSelected&&(l.value=_),class:oe(h(E)),"aria-selected":!!E.isSelected,"aria-label":C(i)(`el.datepicker.month${+E.text+1}`),tabindex:E.isSelected?0:-1,onKeydown:[$r(en(m,["prevent","stop"]),["space"]),$r(en(m,["prevent","stop"]),["enter"])]},[He(C(ZH),{cell:{...E,renderText:C(i)("el.datepicker.months."+u.value[E.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var nA=on(rqe,[["__file","basic-month-table.vue"]]);const oqe=Jt({...KH,selectionMode:QH("year")}),iqe=nt({__name:"basic-year-table",props:oqe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,o=(w,A)=>{const S=lr(String(w)).locale(A).startOf("year"),D=S.endOf("year").dayOfYear();return Ph(D).map(_=>S.add(_,"day").toDate())},i=Vt("year-table"),{t:a,lang:s}=Gr(),l=K(),u=K(),d=ee(()=>Math.floor(r.date.year()/10)*10),c=K([[],[],[]]),f=K(),p=K(),v=ee(()=>{var w,A,S;const E=c.value,D=lr().locale(s.value).startOf("year");for(let _=0;_<3;_++){const M=E[_];for(let O=0;O<4&&!(_*4+O>=10);O++){let k=M[O];k||(k={row:_,column:O,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),k.type="normal";const R=_*4+O+d.value,N=lr().year(R),W=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;k.inRange=!!(r.minDate&&N.isSameOrAfter(r.minDate,"year")&&W&&N.isSameOrBefore(W,"year"))||!!(r.minDate&&N.isSameOrBefore(r.minDate,"year")&&W&&N.isSameOrAfter(W,"year")),(w=r.minDate)!=null&&w.isSameOrAfter(W)?(k.start=!!(W&&N.isSame(W,"year")),k.end=!!(r.minDate&&N.isSame(r.minDate,"year"))):(k.start=!!(r.minDate&&N.isSame(r.minDate,"year")),k.end=!!(W&&N.isSame(W,"year"))),D.isSame(N)&&(k.type="today"),k.text=R;const z=N.toDate();k.disabled=((A=r.disabledDate)==null?void 0:A.call(r,z))||!1,k.date=z,k.customClass=(S=r.cellClassName)==null?void 0:S.call(r,z),k.dayjs=N,k.timestamp=N.valueOf(),k.isSelected=y(k),M[O]=k}}return E}),h=()=>{var w;(w=u.value)==null||w.focus()},g=w=>{const A={},S=lr().locale(s.value),E=w.text;return A.disabled=r.disabled||(r.disabledDate?o(E,s.value).every(r.disabledDate):!1),A.today=S.year()===E,A.current=sl(r.parsedValue).findIndex(D=>D.year()===E)>=0,w.customClass&&(A[w.customClass]=!0),w.inRange&&(A["in-range"]=!0,w.start&&(A["start-date"]=!0),w.end&&(A["end-date"]=!0)),A},y=w=>{const A=w.text;return sl(r.date).findIndex(S=>S.year()===A)>=0},m=w=>{var A;if(r.disabled)return;const S=(A=w.target)==null?void 0:A.closest("td");if(!S||!S.textContent||Ol(S,"disabled"))return;const E=S.cellIndex,_=S.parentNode.rowIndex*4+E+d.value,M=lr().year(_);if(r.selectionMode==="range")r.rangeState.selecting?(r.minDate&&M>=r.minDate?n("pick",{minDate:r.minDate,maxDate:M}):n("pick",{minDate:M,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:M,maxDate:null}),n("select",!0));else if(r.selectionMode==="years"){if(w.type==="keydown"){n("pick",sl(r.parsedValue),!1);return}const O=TE(M.startOf("year"),s.value,r.disabledDate),k=Ol(S,"current")?sl(r.parsedValue).filter(R=>R?.year()!==_):sl(r.parsedValue).concat([O]);n("pick",k)}else n("pick",_)},b=w=>{var A;if(!r.rangeState.selecting)return;const S=(A=w.target)==null?void 0:A.closest("td");if(!S)return;const E=S.parentNode.rowIndex,D=S.cellIndex;v.value[E][D].disabled||(E!==f.value||D!==p.value)&&(f.value=E,p.value=D,n("changerange",{selecting:!0,endDate:lr().year(d.value).add(E*4+D,"year")}))};return St(()=>r.date,async()=>{var w,A;(w=l.value)!=null&&w.contains(document.activeElement)&&(await Yt(),(A=u.value)==null||A.focus())}),t({focus:h}),(w,A)=>(L(),G("table",{role:"grid","aria-label":C(a)("el.datepicker.yearTablePrompt"),class:oe(C(i).b()),onClick:m,onMousemove:b},[x("tbody",{ref_key:"tbodyRef",ref:l},[(L(!0),G(Rt,null,un(C(v),(S,E)=>(L(),G("tr",{key:E},[(L(!0),G(Rt,null,un(S,(D,_)=>(L(),G("td",{key:`${E}_${_}`,ref_for:!0,ref:M=>D.isSelected&&(u.value=M),class:oe(["available",g(D)]),"aria-selected":D.isSelected,"aria-label":String(D.text),tabindex:D.isSelected?0:-1,onKeydown:[$r(en(m,["prevent","stop"]),["space"]),$r(en(m,["prevent","stop"]),["enter"])]},[He(C(ZH),{cell:D},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var rA=on(iqe,[["__file","basic-year-table.vue"]]);const aqe=nt({__name:"panel-date-pick",props:KVe,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(dt,it,de)=>!0,o=Vt("picker-panel"),i=Vt("date-picker"),a=yp(),s=ga(),{t:l,lang:u}=Gr(),d=dn(Wc),c=dn($5,void 0),{shortcuts:f,disabledDate:p,cellClassName:v,defaultTime:h}=d.props,g=co(d.props,"defaultValue"),y=K(),m=K(lr().locale(u.value)),b=K(!1);let w=!1;const A=ee(()=>lr(h).locale(u.value)),S=ee(()=>m.value.month()),E=ee(()=>m.value.year()),D=K([]),_=K(null),M=K(null),O=dt=>D.value.length>0?r(dt,D.value,n.format||"HH:mm:ss"):!0,k=dt=>h&&!De.value&&!b.value&&!w?A.value.year(dt.year()).month(dt.month()).date(dt.date()):Z.value?dt.millisecond(0):dt.startOf("day"),R=(dt,...it)=>{if(!dt)t("pick",dt,...it);else if(Zt(dt)){const de=dt.map(k);t("pick",de,...it)}else t("pick",k(dt),...it);_.value=null,M.value=null,b.value=!1,w=!1},N=async(dt,it)=>{if(Y.value==="date"){dt=dt;let de=n.parsedValue?n.parsedValue.year(dt.year()).month(dt.month()).date(dt.date()):dt;O(de),m.value=de,R(de,Z.value||it)}else Y.value==="week"?R(dt.date):Y.value==="dates"&&R(dt,!0)},W=dt=>{const it=dt?"add":"subtract";m.value=m.value[it](1,"month"),Dt("month")},B=dt=>{const it=m.value,de=dt?"add":"subtract";m.value=z.value==="year"?it[de](10,"year"):it[de](1,"year"),Dt("year")},z=K("date"),j=ee(()=>{const dt=l("el.datepicker.year");if(z.value==="year"){const it=Math.floor(E.value/10)*10;return dt?`${it} ${dt} - ${it+9} ${dt}`:`${it} - ${it+9}`}return`${E.value} ${dt}`}),q=dt=>{const it=Rn(dt.value)?dt.value():dt.value;if(it){w=!0,R(lr(it).locale(u.value));return}dt.onClick&&dt.onClick({attrs:a,slots:s,emit:t})},Y=ee(()=>{const{type:dt}=n;return["week","month","months","year","years","dates"].includes(dt)?dt:"date"}),U=ee(()=>Y.value==="dates"||Y.value==="months"||Y.value==="years"),F=ee(()=>Y.value==="date"?z.value:Y.value),H=ee(()=>!!f.length),re=async(dt,it)=>{Y.value==="month"?(m.value=zy(m.value,m.value.year(),dt,u.value,p),R(m.value,!1)):Y.value==="months"?R(dt,it??!0):(m.value=zy(m.value,m.value.year(),dt,u.value,p),z.value="date",["month","year","date","week"].includes(Y.value)&&(R(m.value,!0),await Yt(),an())),Dt("month")},X=async(dt,it)=>{if(Y.value==="year"){const de=m.value.startOf("year").year(dt);m.value=TE(de,u.value,p),R(m.value,!1)}else if(Y.value==="years")R(dt,it??!0);else{const de=m.value.year(dt);m.value=TE(de,u.value,p),z.value="month",["month","year","date","week"].includes(Y.value)&&(R(m.value,!0),await Yt(),an())}Dt("year")},te=async dt=>{n.disabled||(z.value=dt,await Yt(),an())},Z=ee(()=>n.type==="datetime"||n.type==="datetimerange"),le=ee(()=>{const dt=Z.value||Y.value==="dates",it=Y.value==="years",de=Y.value==="months",tt=z.value==="date",ft=z.value==="year",Mt=z.value==="month";return dt&&tt||it&&ft||de&&Mt}),ve=ee(()=>!U.value&&n.showNow||n.showConfirm),Pe=ee(()=>p?n.parsedValue?Zt(n.parsedValue)?p(n.parsedValue[0].toDate()):p(n.parsedValue.toDate()):!0:!1),Ae=()=>{if(U.value)R(n.parsedValue);else{let dt=n.parsedValue;if(!dt){const it=lr(h).locale(u.value),de=Lt();dt=it.year(de.year()).month(de.month()).date(de.date())}m.value=dt,R(dt)}},he=ee(()=>p?p(lr().locale(u.value).toDate()):!1),Ee=()=>{const it=lr().locale(u.value).toDate();b.value=!0,(!p||!p(it))&&O(it)&&(m.value=lr().locale(u.value),R(m.value))},Q=ee(()=>n.timeFormat||G1e(n.format)||Uy),me=ee(()=>n.dateFormat||q1e(n.format)||ph),De=ee(()=>{if(M.value)return M.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||m.value).format(Q.value)}),pe=ee(()=>{if(_.value)return _.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||m.value).format(me.value)}),ie=K(!1),ue=()=>{ie.value=!0},Be=()=>{ie.value=!1},Me=dt=>({hour:dt.hour(),minute:dt.minute(),second:dt.second(),year:dt.year(),month:dt.month(),date:dt.date()}),Fe=(dt,it,de)=>{const{hour:tt,minute:ft,second:Mt}=Me(dt),Tn=n.parsedValue?n.parsedValue.hour(tt).minute(ft).second(Mt):dt;m.value=Tn,R(m.value,!0),de||(ie.value=it)},ze=dt=>{const it=lr(dt,Q.value).locale(u.value);if(it.isValid()&&O(it)){const{year:de,month:tt,date:ft}=Me(m.value);m.value=it.year(de).month(tt).date(ft),M.value=null,ie.value=!1,R(m.value,!0)}},Ne=dt=>{const it=$y(dt,me.value,u.value,c);if(it.isValid()){if(p&&p(it.toDate()))return;const{hour:de,minute:tt,second:ft}=Me(m.value);m.value=it.hour(de).minute(tt).second(ft),_.value=null,R(m.value,!0)}},Re=dt=>lr.isDayjs(dt)&&dt.isValid()&&(p?!p(dt.toDate()):!0),gt=dt=>Zt(dt)?dt.map(it=>it.format(n.format)):dt.format(n.format),Bt=dt=>$y(dt,n.format,u.value,c),Lt=()=>{const dt=lr(g.value).locale(u.value);if(!g.value){const it=A.value;return lr().hour(it.hour()).minute(it.minute()).second(it.second()).locale(u.value)}return dt},an=()=>{var dt;["week","month","year","date"].includes(Y.value)&&((dt=y.value)==null||dt.focus())},Kt=()=>{an(),Y.value==="week"&&pt(gn.down)},Ht=dt=>{const{code:it}=dt;[gn.up,gn.down,gn.left,gn.right,gn.home,gn.end,gn.pageUp,gn.pageDown].includes(it)&&(pt(it),dt.stopPropagation(),dt.preventDefault()),[gn.enter,gn.space,gn.numpadEnter].includes(it)&&_.value===null&&M.value===null&&(dt.preventDefault(),R(m.value,!1))},pt=dt=>{var it;const{up:de,down:tt,left:ft,right:Mt,home:Tn,end:Nn,pageUp:We,pageDown:ke}=gn,be={year:{[de]:-4,[tt]:4,[ft]:-1,[Mt]:1,offset:(Se,qe)=>Se.setFullYear(Se.getFullYear()+qe)},month:{[de]:-4,[tt]:4,[ft]:-1,[Mt]:1,offset:(Se,qe)=>Se.setMonth(Se.getMonth()+qe)},week:{[de]:-1,[tt]:1,[ft]:-1,[Mt]:1,offset:(Se,qe)=>Se.setDate(Se.getDate()+qe*7)},date:{[de]:-7,[tt]:7,[ft]:-1,[Mt]:1,[Tn]:Se=>-Se.getDay(),[Nn]:Se=>-Se.getDay()+6,[We]:Se=>-new Date(Se.getFullYear(),Se.getMonth(),0).getDate(),[ke]:Se=>new Date(Se.getFullYear(),Se.getMonth()+1,0).getDate(),offset:(Se,qe)=>Se.setDate(Se.getDate()+qe)}},fe=m.value.toDate();for(;Math.abs(m.value.diff(fe,"year",!0))<1;){const Se=be[F.value];if(!Se)return;if(Se.offset(fe,Rn(Se[dt])?Se[dt](fe):(it=Se[dt])!=null?it:0),p&&p(fe))break;const qe=lr(fe).locale(u.value);m.value=qe,t("pick",qe,!0);break}},Dt=dt=>{t("panel-change",m.value.toDate(),dt,z.value)};return St(()=>Y.value,dt=>{if(["month","year"].includes(dt)){z.value=dt;return}else if(dt==="years"){z.value="year";return}else if(dt==="months"){z.value="month";return}z.value="date"},{immediate:!0}),St(()=>g.value,dt=>{dt&&(m.value=Lt())},{immediate:!0}),St(()=>n.parsedValue,dt=>{if(dt){if(U.value||Zt(dt))return;m.value=dt}else m.value=Lt()},{immediate:!0}),t("set-picker-option",["isValidValue",Re]),t("set-picker-option",["formatToString",gt]),t("set-picker-option",["parseUserInput",Bt]),t("set-picker-option",["handleFocusPicker",Kt]),(dt,it)=>(L(),G("div",{class:oe([C(o).b(),C(i).b(),C(o).is("border",dt.border),C(o).is("disabled",dt.disabled),{"has-sidebar":dt.$slots.sidebar||C(H),"has-time":C(Z)}])},[x("div",{class:oe(C(o).e("body-wrapper"))},[ht(dt.$slots,"sidebar",{class:oe(C(o).e("sidebar"))}),C(H)?(L(),G("div",{key:0,class:oe(C(o).e("sidebar"))},[(L(!0),G(Rt,null,un(C(f),(de,tt)=>(L(),G("button",{key:tt,type:"button",disabled:dt.disabled,class:oe(C(o).e("shortcut")),onClick:ft=>q(de)},je(de.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(o).e("body"))},[C(Z)?(L(),G("div",{key:0,class:oe(C(i).e("time-header"))},[x("span",{class:oe(C(i).e("editor-wrap"))},[He(C(js),{placeholder:C(l)("el.datepicker.selectDate"),"model-value":C(pe),size:"small","validate-event":!1,disabled:dt.disabled,onInput:de=>_.value=de,onChange:Ne},null,8,["placeholder","model-value","disabled","onInput"])],2),cn((L(),G("span",{class:oe(C(i).e("editor-wrap"))},[He(C(js),{placeholder:C(l)("el.datepicker.selectTime"),"model-value":C(De),size:"small","validate-event":!1,disabled:dt.disabled,onFocus:ue,onInput:de=>M.value=de,onChange:ze},null,8,["placeholder","model-value","disabled","onInput"]),He(C(EE),{visible:ie.value,format:C(Q),"parsed-value":m.value,onPick:Fe},null,8,["visible","format","parsed-value"])],2)),[[C(np),Be]])],2)):xe("v-if",!0),cn(x("div",{class:oe([C(i).e("header"),(z.value==="year"||z.value==="month")&&C(i).e("header--bordered")])},[x("span",{class:oe(C(i).e("prev-btn"))},[x("button",{type:"button","aria-label":C(l)("el.datepicker.prevYear"),class:oe(["d-arrow-left",C(o).e("icon-btn")]),disabled:dt.disabled,onClick:de=>B(!1)},[ht(dt.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["aria-label","disabled","onClick"]),cn(x("button",{type:"button","aria-label":C(l)("el.datepicker.prevMonth"),class:oe([C(o).e("icon-btn"),"arrow-left"]),disabled:dt.disabled,onClick:de=>W(!1)},[ht(dt.$slots,"prev-month",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(Jf))]),_:1})])],10,["aria-label","disabled","onClick"]),[[kr,z.value==="date"]])],2),x("span",{role:"button",class:oe(C(i).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:$r(de=>te("year"),["enter"]),onClick:de=>te("year")},je(C(j)),43,["onKeydown","onClick"]),cn(x("span",{role:"button","aria-live":"polite",tabindex:"0",class:oe([C(i).e("header-label"),{active:z.value==="month"}]),onKeydown:$r(de=>te("month"),["enter"]),onClick:de=>te("month")},je(C(l)(`el.datepicker.month${C(S)+1}`)),43,["onKeydown","onClick"]),[[kr,z.value==="date"]]),x("span",{class:oe(C(i).e("next-btn"))},[cn(x("button",{type:"button","aria-label":C(l)("el.datepicker.nextMonth"),class:oe([C(o).e("icon-btn"),"arrow-right"]),disabled:dt.disabled,onClick:de=>W(!0)},[ht(dt.$slots,"next-month",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})])],10,["aria-label","disabled","onClick"]),[[kr,z.value==="date"]]),x("button",{type:"button","aria-label":C(l)("el.datepicker.nextYear"),class:oe([C(o).e("icon-btn"),"d-arrow-right"]),disabled:dt.disabled,onClick:de=>B(!0)},[ht(dt.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["aria-label","disabled","onClick"])],2)],2),[[kr,z.value!=="time"]]),x("div",{class:oe(C(o).e("content")),onKeydown:Ht},[z.value==="date"?(L(),yt(PL,{key:0,ref_key:"currentViewRef",ref:y,"selection-mode":C(Y),date:m.value,"parsed-value":dt.parsedValue,"disabled-date":C(p),disabled:dt.disabled,"cell-class-name":C(v),"show-week-number":dt.showWeekNumber,onPick:N},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):xe("v-if",!0),z.value==="year"?(L(),yt(rA,{key:1,ref_key:"currentViewRef",ref:y,"selection-mode":C(Y),date:m.value,"disabled-date":C(p),disabled:dt.disabled,"parsed-value":dt.parsedValue,"cell-class-name":C(v),onPick:X},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):xe("v-if",!0),z.value==="month"?(L(),yt(nA,{key:2,ref_key:"currentViewRef",ref:y,"selection-mode":C(Y),date:m.value,"parsed-value":dt.parsedValue,"disabled-date":C(p),disabled:dt.disabled,"cell-class-name":C(v),onPick:re},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):xe("v-if",!0)],34)],2)],2),dt.showFooter&&C(le)&&C(ve)?(L(),G("div",{key:0,class:oe(C(o).e("footer"))},[cn(He(C(Xa),{text:"",size:"small",class:oe(C(o).e("link-btn")),disabled:C(he),onClick:Ee},{default:rt(()=>[bn(je(C(l)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[kr,!C(U)&&dt.showNow]]),dt.showConfirm?(L(),yt(C(Xa),{key:0,plain:"",size:"small",class:oe(C(o).e("link-btn")),disabled:C(Pe),onClick:Ae},{default:rt(()=>[bn(je(C(l)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):xe("v-if",!0)],2)):xe("v-if",!0)],2))}});var sqe=on(aqe,[["__file","panel-date-pick.vue"]]);const lqe=Jt({...Pye,...YH}),uqe=e=>{const{emit:t}=br(),n=yp(),r=ga();return i=>{const a=Rn(i.value)?i.value():i.value;if(a){t("pick",[lr(a[0]).locale(e.value),lr(a[1]).locale(e.value)]);return}i.onClick&&i.onClick({attrs:n,slots:r,emit:t})}},XH=(e,{defaultValue:t,defaultTime:n,leftDate:r,rightDate:o,step:i,unit:a,onParsedValueChanged:s})=>{const{emit:l}=br(),{pickerNs:u}=dn(GH),d=Vt("date-range-picker"),{t:c,lang:f}=Gr(),p=uqe(f),v=K(),h=K(),g=K({endDate:null,selecting:!1}),y=S=>{g.value=S},m=(S=!1)=>{const E=C(v),D=C(h);tA([E,D])&&l("pick",[E,D],S)},b=S=>{g.value.selecting=S,S||(g.value.endDate=null)},w=S=>{if(Zt(S)&&S.length===2){const[E,D]=S;v.value=E,r.value=E,h.value=D,s(C(v),C(h))}else A()},A=()=>{let[S,E]=pD(C(t),{lang:C(f),step:i,unit:a,unlinkPanels:e.unlinkPanels});const D=M=>M.diff(M.startOf("d"),"ms"),_=C(n);if(_){let M=0,O=0;if(Zt(_)){const[k,R]=_.map(lr);M=D(k),O=D(R)}else{const k=D(lr(_));M=k,O=k}S=S.startOf("d").add(M,"ms"),E=E.startOf("d").add(O,"ms")}v.value=void 0,h.value=void 0,r.value=S,o.value=E};return St(t,S=>{S&&A()},{immediate:!0}),St(()=>e.parsedValue,S=>{S?.length||w(S)},{immediate:!0}),St(()=>e.visible,()=>{e.visible&&w(e.parsedValue)},{immediate:!0}),{minDate:v,maxDate:h,rangeState:g,lang:f,ppNs:u,drpNs:d,handleChangeRange:y,handleRangeConfirm:m,handleShortcutClick:p,onSelect:b,onReset:w,t:c}},cqe=(e,t,n,r)=>{const o=K("date"),i=K(),a=K("date"),s=K(),l=dn(Wc),{disabledDate:u}=l.props,{t:d,lang:c}=Gr(),f=ee(()=>n.value.year()),p=ee(()=>n.value.month()),v=ee(()=>r.value.year()),h=ee(()=>r.value.month());function g(S,E){const D=d("el.datepicker.year");if(S.value==="year"){const _=Math.floor(E.value/10)*10;return D?`${_} ${D} - ${_+9} ${D}`:`${_} - ${_+9}`}return`${E.value} ${D}`}function y(S){S?.focus()}async function m(S,E){if(e.disabled)return;const D=S==="left"?o:a,_=S==="left"?i:s;D.value=E,await Yt(),y(_.value)}async function b(S,E,D){if(e.disabled)return;const _=E==="left",M=_?n:r,O=_?r:n,k=_?o:a,R=_?i:s;if(S==="year"){const N=M.value.year(D);M.value=TE(N,c.value,u)}S==="month"&&(M.value=zy(M.value,M.value.year(),D,c.value,u)),e.unlinkPanels||(O.value=E==="left"?M.value.add(1,"month"):M.value.subtract(1,"month")),k.value=S==="year"?"month":"date",await Yt(),y(R.value),w(S)}function w(S){t("panel-change",[n.value.toDate(),r.value.toDate()],S)}function A(S,E,D){const _=D?"add":"subtract";return S==="year"?E[_](10,"year"):E[_](1,"year")}return{leftCurrentView:o,rightCurrentView:a,leftCurrentViewRef:i,rightCurrentViewRef:s,leftYear:f,rightYear:v,leftMonth:p,rightMonth:h,leftYearLabel:ee(()=>g(o,f)),rightYearLabel:ee(()=>g(a,v)),showLeftPicker:S=>m("left",S),showRightPicker:S=>m("right",S),handleLeftYearPick:S=>b("year","left",S),handleRightYearPick:S=>b("year","right",S),handleLeftMonthPick:S=>b("month","left",S),handleRightMonthPick:S=>b("month","right",S),handlePanelChange:w,adjustDateByView:A}},xx="month",dqe=nt({__name:"panel-date-range",props:lqe,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,r=dn(Wc),o=dn($5,void 0),{disabledDate:i,cellClassName:a,defaultTime:s,clearable:l}=r.props,u=co(r.props,"format"),d=co(r.props,"shortcuts"),c=co(r.props,"defaultValue"),{lang:f}=Gr(),p=K(lr().locale(f.value)),v=K(lr().locale(f.value).add(1,xx));let h=!0;const{minDate:g,maxDate:y,rangeState:m,ppNs:b,drpNs:w,handleChangeRange:A,handleRangeConfirm:S,handleShortcutClick:E,onSelect:D,onReset:_,t:M}=XH(n,{defaultValue:c,defaultTime:s,leftDate:p,rightDate:v,unit:xx,onParsedValueChanged:Se});St(()=>n.visible,qe=>{!qe&&m.value.selecting&&(_(n.parsedValue),D(!1))});const O=K({min:null,max:null}),k=K({min:null,max:null}),{leftCurrentView:R,rightCurrentView:N,leftCurrentViewRef:W,rightCurrentViewRef:B,leftYear:z,rightYear:j,leftMonth:q,rightMonth:Y,leftYearLabel:U,rightYearLabel:F,showLeftPicker:H,showRightPicker:re,handleLeftYearPick:X,handleRightYearPick:te,handleLeftMonthPick:Z,handleRightMonthPick:le,handlePanelChange:ve,adjustDateByView:Pe}=cqe(n,t,p,v),Ae=ee(()=>!!d.value.length),he=ee(()=>O.value.min!==null?O.value.min:g.value?g.value.format(pe.value):""),Ee=ee(()=>O.value.max!==null?O.value.max:y.value||g.value?(y.value||g.value).format(pe.value):""),Q=ee(()=>k.value.min!==null?k.value.min:g.value?g.value.format(De.value):""),me=ee(()=>k.value.max!==null?k.value.max:y.value||g.value?(y.value||g.value).format(De.value):""),De=ee(()=>n.timeFormat||G1e(u.value||"")||Uy),pe=ee(()=>n.dateFormat||q1e(u.value||"")||ph),ie=qe=>tA(qe)&&(i?!i(qe[0].toDate())&&!i(qe[1].toDate()):!0),ue=()=>{p.value=Pe(R.value,p.value,!1),n.unlinkPanels||(v.value=p.value.add(1,"month")),ve("year")},Be=()=>{p.value=p.value.subtract(1,"month"),n.unlinkPanels||(v.value=p.value.add(1,"month")),ve("month")},Me=()=>{n.unlinkPanels?v.value=Pe(N.value,v.value,!0):(p.value=Pe(N.value,p.value,!0),v.value=p.value.add(1,"month")),ve("year")},Fe=()=>{n.unlinkPanels?v.value=v.value.add(1,"month"):(p.value=p.value.add(1,"month"),v.value=p.value.add(1,"month")),ve("month")},ze=()=>{p.value=Pe(R.value,p.value,!0),ve("year")},Ne=()=>{p.value=p.value.add(1,"month"),ve("month")},Re=()=>{v.value=Pe(N.value,v.value,!1),ve("year")},gt=()=>{v.value=v.value.subtract(1,"month"),ve("month")},Bt=ee(()=>{const qe=(q.value+1)%12,$e=q.value+1>=12?1:0;return n.unlinkPanels&&new Date(z.value+$e,qe)n.unlinkPanels&&j.value*12+Y.value-(z.value*12+q.value+1)>=12),an=ee(()=>!(g.value&&y.value&&!m.value.selecting&&tA([g.value,y.value]))),Kt=ee(()=>n.type==="datetime"||n.type==="datetimerange"),Ht=(qe,$e)=>{if(qe)return s?lr(s[$e]||s).locale(f.value).year(qe.year()).month(qe.month()).date(qe.date()):qe},pt=(qe,$e=!0)=>{const Le=qe.minDate,ot=qe.maxDate,vt=Ht(Le,0),Ut=Ht(ot,1);y.value===Ut&&g.value===vt||(t("calendar-change",[Le.toDate(),ot&&ot.toDate()]),y.value=Ut,g.value=vt,!Kt.value&&$e&&($e=!vt||!Ut),h=$e)};St([y,g],([qe,$e])=>{qe&&$e&&(S(h),h=!0)});const Dt=K(!1),dt=K(!1),it=()=>{Dt.value=!1},de=()=>{dt.value=!1},tt=(qe,$e)=>{O.value[$e]=qe;const Le=lr(qe,pe.value).locale(f.value);if(Le.isValid()){if(i&&i(Le.toDate()))return;$e==="min"?(p.value=Le,g.value=(g.value||p.value).year(Le.year()).month(Le.month()).date(Le.date()),!n.unlinkPanels&&(!y.value||y.value.isBefore(g.value))&&(v.value=Le.add(1,"month"),y.value=g.value.add(1,"month"))):(v.value=Le,y.value=(y.value||v.value).year(Le.year()).month(Le.month()).date(Le.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(y.value))&&(p.value=Le.subtract(1,"month"),g.value=y.value.subtract(1,"month")))}},ft=(qe,$e)=>{O.value[$e]=null},Mt=(qe,$e)=>{k.value[$e]=qe;const Le=lr(qe,De.value).locale(f.value);Le.isValid()&&($e==="min"?(Dt.value=!0,g.value=(g.value||p.value).hour(Le.hour()).minute(Le.minute()).second(Le.second())):(dt.value=!0,y.value=(y.value||v.value).hour(Le.hour()).minute(Le.minute()).second(Le.second()),v.value=y.value))},Tn=(qe,$e)=>{k.value[$e]=null,$e==="min"?(p.value=g.value,Dt.value=!1,(!y.value||y.value.isBefore(g.value))&&(y.value=g.value)):(v.value=y.value,dt.value=!1,y.value&&y.value.isBefore(g.value)&&(g.value=y.value))},Nn=(qe,$e,Le)=>{k.value.min||(qe&&(p.value=qe,g.value=(g.value||p.value).hour(qe.hour()).minute(qe.minute()).second(qe.second())),Le||(Dt.value=$e),(!y.value||y.value.isBefore(g.value))&&(y.value=g.value,v.value=qe,Yt(()=>{_(n.parsedValue)})))},We=(qe,$e,Le)=>{k.value.max||(qe&&(v.value=qe,y.value=(y.value||v.value).hour(qe.hour()).minute(qe.minute()).second(qe.second())),Le||(dt.value=$e),y.value&&y.value.isBefore(g.value)&&(g.value=y.value))},ke=()=>{p.value=pD(C(c),{lang:C(f),unit:"month",unlinkPanels:n.unlinkPanels})[0],v.value=p.value.add(1,"month"),y.value=void 0,g.value=void 0,t("pick",null)},be=qe=>Zt(qe)?qe.map($e=>$e.format(u.value)):qe.format(u.value),fe=qe=>$y(qe,u.value||"",f.value,o);function Se(qe,$e){if(n.unlinkPanels&&$e){const Le=qe?.year()||0,ot=qe?.month()||0,vt=$e.year(),Ut=$e.month();v.value=Le===vt&&ot===Ut?$e.add(1,xx):$e}else v.value=p.value.add(1,xx),$e&&(v.value=v.value.hour($e.hour()).minute($e.minute()).second($e.second()))}return t("set-picker-option",["isValidValue",ie]),t("set-picker-option",["parseUserInput",fe]),t("set-picker-option",["formatToString",be]),t("set-picker-option",["handleClear",ke]),(qe,$e)=>(L(),G("div",{class:oe([C(b).b(),C(w).b(),C(b).is("border",qe.border),C(b).is("disabled",qe.disabled),{"has-sidebar":qe.$slots.sidebar||C(Ae),"has-time":C(Kt)}])},[x("div",{class:oe(C(b).e("body-wrapper"))},[ht(qe.$slots,"sidebar",{class:oe(C(b).e("sidebar"))}),C(Ae)?(L(),G("div",{key:0,class:oe(C(b).e("sidebar"))},[(L(!0),G(Rt,null,un(C(d),(Le,ot)=>(L(),G("button",{key:ot,type:"button",disabled:qe.disabled,class:oe(C(b).e("shortcut")),onClick:vt=>C(E)(Le)},je(Le.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(b).e("body"))},[C(Kt)?(L(),G("div",{key:0,class:oe(C(w).e("time-header"))},[x("span",{class:oe(C(w).e("editors-wrap"))},[x("span",{class:oe(C(w).e("time-picker-wrap"))},[He(C(js),{size:"small",disabled:C(m).selecting||qe.disabled,placeholder:C(M)("el.datepicker.startDate"),class:oe(C(w).e("editor")),"model-value":C(he),"validate-event":!1,onInput:Le=>tt(Le,"min"),onChange:Le=>ft(Le,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),cn((L(),G("span",{class:oe(C(w).e("time-picker-wrap"))},[He(C(js),{size:"small",class:oe(C(w).e("editor")),disabled:C(m).selecting||qe.disabled,placeholder:C(M)("el.datepicker.startTime"),"model-value":C(Q),"validate-event":!1,onFocus:Le=>Dt.value=!0,onInput:Le=>Mt(Le,"min"),onChange:Le=>Tn(Le,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),He(C(EE),{visible:Dt.value,format:C(De),"datetime-role":"start","parsed-value":p.value,onPick:Nn},null,8,["visible","format","parsed-value"])],2)),[[C(np),it]])],2),x("span",null,[He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})]),x("span",{class:oe([C(w).e("editors-wrap"),"is-right"])},[x("span",{class:oe(C(w).e("time-picker-wrap"))},[He(C(js),{size:"small",class:oe(C(w).e("editor")),disabled:C(m).selecting||qe.disabled,placeholder:C(M)("el.datepicker.endDate"),"model-value":C(Ee),readonly:!C(g),"validate-event":!1,onInput:Le=>tt(Le,"max"),onChange:Le=>ft(Le,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),cn((L(),G("span",{class:oe(C(w).e("time-picker-wrap"))},[He(C(js),{size:"small",class:oe(C(w).e("editor")),disabled:C(m).selecting||qe.disabled,placeholder:C(M)("el.datepicker.endTime"),"model-value":C(me),readonly:!C(g),"validate-event":!1,onFocus:Le=>C(g)&&(dt.value=!0),onInput:Le=>Mt(Le,"max"),onChange:Le=>Tn(Le,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),He(C(EE),{"datetime-role":"end",visible:dt.value,format:C(De),"parsed-value":v.value,onPick:We},null,8,["visible","format","parsed-value"])],2)),[[C(np),de]])],2)],2)):xe("v-if",!0),x("div",{class:oe([[C(b).e("content"),C(w).e("content")],"is-left"])},[x("div",{class:oe(C(w).e("header"))},[x("button",{type:"button",class:oe([C(b).e("icon-btn"),"d-arrow-left"]),"aria-label":C(M)("el.datepicker.prevYear"),disabled:qe.disabled,onClick:ue},[ht(qe.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["aria-label","disabled"]),cn(x("button",{type:"button",class:oe([C(b).e("icon-btn"),"arrow-left"]),"aria-label":C(M)("el.datepicker.prevMonth"),disabled:qe.disabled,onClick:Be},[ht(qe.$slots,"prev-month",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(Jf))]),_:1})])],10,["aria-label","disabled"]),[[kr,C(R)==="date"]]),qe.unlinkPanels?(L(),G("button",{key:0,type:"button",disabled:!C(Lt)||qe.disabled,class:oe([[C(b).e("icon-btn"),C(b).is("disabled",!C(Lt)||qe.disabled)],"d-arrow-right"]),"aria-label":C(M)("el.datepicker.nextYear"),onClick:ze},[ht(qe.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),qe.unlinkPanels&&C(R)==="date"?(L(),G("button",{key:1,type:"button",disabled:!C(Bt)||qe.disabled,class:oe([[C(b).e("icon-btn"),C(b).is("disabled",!C(Bt)||qe.disabled)],"arrow-right"]),"aria-label":C(M)("el.datepicker.nextMonth"),onClick:Ne},[ht(qe.$slots,"next-month",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),x("div",null,[x("span",{role:"button",class:oe(C(w).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:$r(Le=>C(H)("year"),["enter"]),onClick:Le=>C(H)("year")},je(C(U)),43,["onKeydown","onClick"]),cn(x("span",{role:"button","aria-live":"polite",tabindex:"0",class:oe([C(w).e("header-label"),{active:C(R)==="month"}]),onKeydown:$r(Le=>C(H)("month"),["enter"]),onClick:Le=>C(H)("month")},je(C(M)(`el.datepicker.month${p.value.month()+1}`)),43,["onKeydown","onClick"]),[[kr,C(R)==="date"]])])],2),C(R)==="date"?(L(),yt(PL,{key:0,ref_key:"leftCurrentViewRef",ref:W,"selection-mode":"range",date:p.value,"min-date":C(g),"max-date":C(y),"range-state":C(m),"disabled-date":C(i),"cell-class-name":C(a),"show-week-number":qe.showWeekNumber,disabled:qe.disabled,onChangerange:C(A),onPick:pt,onSelect:C(D)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):xe("v-if",!0),C(R)==="year"?(L(),yt(rA,{key:1,ref_key:"leftCurrentViewRef",ref:W,"selection-mode":"year",date:p.value,"disabled-date":C(i),"parsed-value":qe.parsedValue,disabled:qe.disabled,onPick:C(X)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):xe("v-if",!0),C(R)==="month"?(L(),yt(nA,{key:2,ref_key:"leftCurrentViewRef",ref:W,"selection-mode":"month",date:p.value,"parsed-value":qe.parsedValue,"disabled-date":C(i),disabled:qe.disabled,onPick:C(Z)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):xe("v-if",!0)],2),x("div",{class:oe([[C(b).e("content"),C(w).e("content")],"is-right"])},[x("div",{class:oe([C(w).e("header"),C(b).is("disabled",!C(Lt)||qe.disabled)])},[qe.unlinkPanels?(L(),G("button",{key:0,type:"button",disabled:!C(Lt)||qe.disabled,class:oe([C(b).e("icon-btn"),"d-arrow-left"]),"aria-label":C(M)("el.datepicker.prevYear"),onClick:Re},[ht(qe.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),qe.unlinkPanels&&C(N)==="date"?(L(),G("button",{key:1,type:"button",disabled:!C(Bt)||qe.disabled,class:oe([C(b).e("icon-btn"),"arrow-left"]),"aria-label":C(M)("el.datepicker.prevMonth"),onClick:gt},[ht(qe.$slots,"prev-month",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(Jf))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),x("button",{type:"button","aria-label":C(M)("el.datepicker.nextYear"),class:oe([C(b).e("icon-btn"),"d-arrow-right"]),disabled:qe.disabled,onClick:Me},[ht(qe.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["aria-label","disabled"]),cn(x("button",{type:"button",class:oe([C(b).e("icon-btn"),"arrow-right"]),disabled:qe.disabled,"aria-label":C(M)("el.datepicker.nextMonth"),onClick:Fe},[ht(qe.$slots,"next-month",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})])],10,["disabled","aria-label"]),[[kr,C(N)==="date"]]),x("div",null,[x("span",{role:"button",class:oe(C(w).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:$r(Le=>C(re)("year"),["enter"]),onClick:Le=>C(re)("year")},je(C(F)),43,["onKeydown","onClick"]),cn(x("span",{role:"button","aria-live":"polite",tabindex:"0",class:oe([C(w).e("header-label"),{active:C(N)==="month"}]),onKeydown:$r(Le=>C(re)("month"),["enter"]),onClick:Le=>C(re)("month")},je(C(M)(`el.datepicker.month${v.value.month()+1}`)),43,["onKeydown","onClick"]),[[kr,C(N)==="date"]])])],2),C(N)==="date"?(L(),yt(PL,{key:0,ref_key:"rightCurrentViewRef",ref:B,"selection-mode":"range",date:v.value,"min-date":C(g),"max-date":C(y),"range-state":C(m),"disabled-date":C(i),"cell-class-name":C(a),"show-week-number":qe.showWeekNumber,disabled:qe.disabled,onChangerange:C(A),onPick:pt,onSelect:C(D)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):xe("v-if",!0),C(N)==="year"?(L(),yt(rA,{key:1,ref_key:"rightCurrentViewRef",ref:B,"selection-mode":"year",date:v.value,"disabled-date":C(i),"parsed-value":qe.parsedValue,disabled:qe.disabled,onPick:C(te)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):xe("v-if",!0),C(N)==="month"?(L(),yt(nA,{key:2,ref_key:"rightCurrentViewRef",ref:B,"selection-mode":"month",date:v.value,"parsed-value":qe.parsedValue,"disabled-date":C(i),disabled:qe.disabled,onPick:C(le)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):xe("v-if",!0)],2)],2)],2),qe.showFooter&&C(Kt)&&(qe.showConfirm||C(l))?(L(),G("div",{key:0,class:oe(C(b).e("footer"))},[C(l)?(L(),yt(C(Xa),{key:0,text:"",size:"small",class:oe(C(b).e("link-btn")),onClick:ke},{default:rt(()=>[bn(je(C(M)("el.datepicker.clear")),1)]),_:1},8,["class"])):xe("v-if",!0),qe.showConfirm?(L(),yt(C(Xa),{key:1,plain:"",size:"small",class:oe(C(b).e("link-btn")),disabled:C(an),onClick:Le=>C(S)(!1)},{default:rt(()=>[bn(je(C(M)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled","onClick"])):xe("v-if",!0)],2)):xe("v-if",!0)],2))}});var fqe=on(dqe,[["__file","panel-date-range.vue"]]);const pqe=Jt({...YH}),hqe=["pick","set-picker-option","calendar-change"],gqe=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=Gr(),o=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},i=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},a=()=>{t.value=t.value.add(1,"year")},s=()=>{n.value=n.value.subtract(1,"year")},l=ee(()=>`${t.value.year()} ${r("el.datepicker.year")}`),u=ee(()=>`${n.value.year()} ${r("el.datepicker.year")}`),d=ee(()=>t.value.year()),c=ee(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:o,rightNextYear:i,leftNextYear:a,rightPrevYear:s,leftLabel:l,rightLabel:u,leftYear:d,rightYear:c}},Sx="year",vqe=nt({name:"DatePickerMonthRange"}),mqe=nt({...vqe,props:pqe,emits:hqe,setup(e,{emit:t}){const n=e,{lang:r}=Gr(),o=dn(Wc),i=dn($5,void 0),{shortcuts:a,disabledDate:s,cellClassName:l}=o.props,u=co(o.props,"format"),d=co(o.props,"defaultValue"),c=K(lr().locale(r.value)),f=K(lr().locale(r.value).add(1,Sx)),{minDate:p,maxDate:v,rangeState:h,ppNs:g,drpNs:y,handleChangeRange:m,handleRangeConfirm:b,handleShortcutClick:w,onSelect:A,onReset:S}=XH(n,{defaultValue:d,leftDate:c,rightDate:f,unit:Sx,onParsedValueChanged:U}),E=ee(()=>!!a.length),{leftPrevYear:D,rightNextYear:_,leftNextYear:M,rightPrevYear:O,leftLabel:k,rightLabel:R,leftYear:N,rightYear:W}=gqe({unlinkPanels:co(n,"unlinkPanels"),leftDate:c,rightDate:f}),B=ee(()=>n.unlinkPanels&&W.value>N.value+1),z=(F,H=!0)=>{const re=F.minDate,X=F.maxDate;v.value===X&&p.value===re||(t("calendar-change",[re.toDate(),X&&X.toDate()]),v.value=X,p.value=re,H&&b())},j=()=>{c.value=pD(C(d),{lang:C(r),unit:"year",unlinkPanels:n.unlinkPanels})[0],f.value=c.value.add(1,"year"),t("pick",null)},q=F=>Zt(F)?F.map(H=>H.format(u.value)):F.format(u.value),Y=F=>$y(F,u.value,r.value,i);function U(F,H){if(n.unlinkPanels&&H){const re=F?.year()||0,X=H.year();f.value=re===X?H.add(1,Sx):H}else f.value=c.value.add(1,Sx)}return St(()=>n.visible,F=>{!F&&h.value.selecting&&(S(n.parsedValue),A(!1))}),t("set-picker-option",["isValidValue",tA]),t("set-picker-option",["formatToString",q]),t("set-picker-option",["parseUserInput",Y]),t("set-picker-option",["handleClear",j]),(F,H)=>(L(),G("div",{class:oe([C(g).b(),C(y).b(),C(g).is("border",F.border),C(g).is("disabled",F.disabled),{"has-sidebar":!!F.$slots.sidebar||C(E)}])},[x("div",{class:oe(C(g).e("body-wrapper"))},[ht(F.$slots,"sidebar",{class:oe(C(g).e("sidebar"))}),C(E)?(L(),G("div",{key:0,class:oe(C(g).e("sidebar"))},[(L(!0),G(Rt,null,un(C(a),(re,X)=>(L(),G("button",{key:X,type:"button",class:oe(C(g).e("shortcut")),disabled:F.disabled,onClick:te=>C(w)(re)},je(re.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(g).e("body"))},[x("div",{class:oe([[C(g).e("content"),C(y).e("content")],"is-left"])},[x("div",{class:oe(C(y).e("header"))},[x("button",{type:"button",class:oe([C(g).e("icon-btn"),"d-arrow-left"]),disabled:F.disabled,onClick:C(D)},[ht(F.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["disabled","onClick"]),F.unlinkPanels?(L(),G("button",{key:0,type:"button",disabled:!C(B)||F.disabled,class:oe([[C(g).e("icon-btn"),{[C(g).is("disabled")]:!C(B)}],"d-arrow-right"]),onClick:C(M)},[ht(F.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("div",null,je(C(k)),1)],2),He(nA,{"selection-mode":"range",date:c.value,"min-date":C(p),"max-date":C(v),"range-state":C(h),"disabled-date":C(s),disabled:F.disabled,"cell-class-name":C(l),onChangerange:C(m),onPick:z,onSelect:C(A)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),x("div",{class:oe([[C(g).e("content"),C(y).e("content")],"is-right"])},[x("div",{class:oe(C(y).e("header"))},[F.unlinkPanels?(L(),G("button",{key:0,type:"button",disabled:!C(B)||F.disabled,class:oe([[C(g).e("icon-btn"),{"is-disabled":!C(B)}],"d-arrow-left"]),onClick:C(O)},[ht(F.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("button",{type:"button",class:oe([C(g).e("icon-btn"),"d-arrow-right"]),disabled:F.disabled,onClick:C(_)},[ht(F.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["disabled","onClick"]),x("div",null,je(C(R)),1)],2),He(nA,{"selection-mode":"range",date:f.value,"min-date":C(p),"max-date":C(v),"range-state":C(h),"disabled-date":C(s),disabled:F.disabled,"cell-class-name":C(l),onChangerange:C(m),onPick:z,onSelect:C(A)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var yqe=on(mqe,[["__file","panel-month-range.vue"]]);const bqe=Jt({...YH}),wqe=["pick","set-picker-option","calendar-change"],Aqe=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const r=()=>{t.value=t.value.subtract(10,"year"),e.value||(n.value=n.value.subtract(10,"year"))},o=()=>{e.value||(t.value=t.value.add(10,"year")),n.value=n.value.add(10,"year")},i=()=>{t.value=t.value.add(10,"year")},a=()=>{n.value=n.value.subtract(10,"year")},s=ee(()=>{const c=Math.floor(t.value.year()/10)*10;return`${c}-${c+9}`}),l=ee(()=>{const c=Math.floor(n.value.year()/10)*10;return`${c}-${c+9}`}),u=ee(()=>Math.floor(t.value.year()/10)*10+9),d=ee(()=>Math.floor(n.value.year()/10)*10);return{leftPrevYear:r,rightNextYear:o,leftNextYear:i,rightPrevYear:a,leftLabel:s,rightLabel:l,leftYear:u,rightYear:d}},Lm=10,P2="year",Cqe=nt({name:"DatePickerYearRange"}),xqe=nt({...Cqe,props:bqe,emits:wqe,setup(e,{emit:t}){const n=e,{lang:r}=Gr(),o=K(lr().locale(r.value)),i=K(lr().locale(r.value).add(Lm,P2)),a=dn($5,void 0),s=dn(Wc),{shortcuts:l,disabledDate:u,cellClassName:d}=s.props,c=co(s.props,"format"),f=co(s.props,"defaultValue"),{minDate:p,maxDate:v,rangeState:h,ppNs:g,drpNs:y,handleChangeRange:m,handleRangeConfirm:b,handleShortcutClick:w,onSelect:A,onReset:S}=XH(n,{defaultValue:f,leftDate:o,rightDate:i,step:Lm,unit:P2,onParsedValueChanged:X}),{leftPrevYear:E,rightNextYear:D,leftNextYear:_,rightPrevYear:M,leftLabel:O,rightLabel:k,leftYear:R,rightYear:N}=Aqe({unlinkPanels:co(n,"unlinkPanels"),leftDate:o,rightDate:i}),W=ee(()=>!!l.length),B=ee(()=>[g.b(),y.b(),g.is("border",n.border),g.is("disabled",n.disabled),{"has-sidebar":!!ga().sidebar||W.value}]),z=ee(()=>({content:[g.e("content"),y.e("content"),"is-left"],arrowLeftBtn:[g.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),{[g.is("disabled")]:!q.value},"d-arrow-right"]})),j=ee(()=>({content:[g.e("content"),y.e("content"),"is-right"],arrowLeftBtn:[g.e("icon-btn"),{"is-disabled":!q.value},"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),"d-arrow-right"]})),q=ee(()=>n.unlinkPanels&&N.value>R.value+1),Y=(te,Z=!0)=>{const le=te.minDate,ve=te.maxDate;v.value===ve&&p.value===le||(t("calendar-change",[le.toDate(),ve&&ve.toDate()]),v.value=ve,p.value=le,Z&&b())},U=te=>$y(te,c.value,r.value,a),F=te=>Zt(te)?te.map(Z=>Z.format(c.value)):te.format(c.value),H=te=>tA(te)&&(u?!u(te[0].toDate())&&!u(te[1].toDate()):!0),re=()=>{const te=pD(C(f),{lang:C(r),step:Lm,unit:P2,unlinkPanels:n.unlinkPanels});o.value=te[0],i.value=te[1],t("pick",null)};function X(te,Z){if(n.unlinkPanels&&Z){const le=te?.year()||0,ve=Z.year();i.value=le+Lm>ve?Z.add(Lm,P2):Z}else i.value=o.value.add(Lm,P2)}return St(()=>n.visible,te=>{!te&&h.value.selecting&&(S(n.parsedValue),A(!1))}),t("set-picker-option",["isValidValue",H]),t("set-picker-option",["parseUserInput",U]),t("set-picker-option",["formatToString",F]),t("set-picker-option",["handleClear",re]),(te,Z)=>(L(),G("div",{class:oe(C(B))},[x("div",{class:oe(C(g).e("body-wrapper"))},[ht(te.$slots,"sidebar",{class:oe(C(g).e("sidebar"))}),C(W)?(L(),G("div",{key:0,class:oe(C(g).e("sidebar"))},[(L(!0),G(Rt,null,un(C(l),(le,ve)=>(L(),G("button",{key:ve,type:"button",class:oe(C(g).e("shortcut")),disabled:te.disabled,onClick:Pe=>C(w)(le)},je(le.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(g).e("body"))},[x("div",{class:oe(C(z).content)},[x("div",{class:oe(C(y).e("header"))},[x("button",{type:"button",class:oe(C(z).arrowLeftBtn),disabled:te.disabled,onClick:C(E)},[ht(te.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["disabled","onClick"]),te.unlinkPanels?(L(),G("button",{key:0,type:"button",disabled:!C(q)||te.disabled,class:oe(C(z).arrowRightBtn),onClick:C(_)},[ht(te.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("div",null,je(C(O)),1)],2),He(rA,{"selection-mode":"range",date:o.value,"min-date":C(p),"max-date":C(v),"range-state":C(h),"disabled-date":C(u),disabled:te.disabled,"cell-class-name":C(d),onChangerange:C(m),onPick:Y,onSelect:C(A)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),x("div",{class:oe(C(j).content)},[x("div",{class:oe(C(y).e("header"))},[te.unlinkPanels?(L(),G("button",{key:0,type:"button",disabled:!C(q)||te.disabled,class:oe(C(j).arrowLeftBtn),onClick:C(M)},[ht(te.$slots,"prev-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(l0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("button",{type:"button",class:oe(C(j).arrowRightBtn),disabled:te.disabled,onClick:C(D)},[ht(te.$slots,"next-year",{},()=>[He(C(Dn),null,{default:rt(()=>[He(C(u0))]),_:1})])],10,["disabled","onClick"]),x("div",null,je(C(k)),1)],2),He(rA,{"selection-mode":"range",date:i.value,"min-date":C(p),"max-date":C(v),"range-state":C(h),"disabled-date":C(u),disabled:te.disabled,"cell-class-name":C(d),onChangerange:C(m),onPick:Y,onSelect:C(A)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var Sqe=on(xqe,[["__file","panel-year-range.vue"]]);const Eqe=function(e){switch(e){case"daterange":case"datetimerange":return fqe;case"monthrange":return yqe;case"yearrange":return Sqe;default:return sqe}};function kqe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}lr.extend(Y1e);lr.extend(EVe);lr.extend(HH);lr.extend(DVe);lr.extend(PVe);lr.extend(LVe);lr.extend($Ve);lr.extend(VVe);var Tqe=nt({name:"ElDatePickerPanel",install:null,props:qVe,emits:[Qn,"calendar-change","panel-change","visible-change","pick"],setup(e,{slots:t,emit:n}){const r=Vt("picker-panel"),o=dn(Wc,void 0);if(Vr(o)){const d=Wr({...Oa(e)});_r(Wc,{props:d})}_r(GH,{slots:t,pickerNs:r});const{parsedValue:i,onCalendarChange:a,onPanelChange:s,onSetPickerOption:l,onPick:u}=dn(Eye,()=>kye(e,n),!0);return()=>{const d=Eqe(e.type);return He(d,vr(e,{parsedValue:i.value,"onSet-picker-option":l,"onCalendar-change":a,"onPanel-change":s,onPick:u}),kqe(t)?t:{default:()=>[t]})}}});const Nye=or(Tqe),_qe=Jt({...qH,type:{type:ct(String),default:"date"}});function Dqe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}var Iqe=nt({name:"ElDatePicker",install:null,props:_qe,emits:[Qn],setup(e,{expose:t,emit:n,slots:r}){const o=ee(()=>!e.format);_r($5,o),_r(WH,Wr(co(e,"popperOptions")));const i=K();t({focus:()=>{var l;(l=i.value)==null||l.focus()},blur:()=>{var l;(l=i.value)==null||l.blur()},handleOpen:()=>{var l;(l=i.value)==null||l.handleOpen()},handleClose:()=>{var l;(l=i.value)==null||l.handleClose()}});const s=l=>{n(Qn,l)};return()=>{var l;const u=(l=e.format)!=null?l:oVe[e.type]||ph;return He(_ye,vr(e,{format:u,type:e.type,ref:i,"onUpdate:modelValue":s}),{default:d=>He(Nye,vr({border:!1},d),Dqe(r)?r:{default:()=>[r]}),"range-separator":r["range-separator"]})}}});const Oqe=or(Iqe),JH=Symbol("elDescriptions");var N2=nt({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:dn(JH,{})}},render(){var e;const t=yje(this.cell),n=(((e=this.cell)==null?void 0:e.dirs)||[]).map(y=>{const{dir:m,arg:b,modifiers:w,value:A}=y;return[m,A,b,w]}),{border:r,direction:o}=this.descriptions,i=o==="vertical",a=()=>{var y,m,b;return((b=(m=(y=this.cell)==null?void 0:y.children)==null?void 0:m.label)==null?void 0:b.call(m))||t.label},s=()=>{var y,m,b;return(b=(m=(y=this.cell)==null?void 0:y.children)==null?void 0:m.default)==null?void 0:b.call(m)},l=t.span,u=t.rowspan,d=t.align?`is-${t.align}`:"",c=t.labelAlign?`is-${t.labelAlign}`:d,f=t.className,p=t.labelClassName,v=this.type==="label"&&(t.labelWidth||this.descriptions.labelWidth)||t.width,h={width:_i(v),minWidth:_i(t.minWidth)},g=Vt("descriptions");switch(this.type){case"label":return cn(jn(this.tag,{style:h,class:[g.e("cell"),g.e("label"),g.is("bordered-label",r),g.is("vertical-label",i),c,p],colSpan:i?l:1,rowspan:i?1:u},a()),n);case"content":return cn(jn(this.tag,{style:h,class:[g.e("cell"),g.e("content"),g.is("bordered-content",r),g.is("vertical-content",i),d,f],colSpan:i?l:l*2-1,rowspan:i?u*2-1:u},s()),n);default:{const y=a(),m={},b=_i(t.labelWidth||this.descriptions.labelWidth);return b&&(m.width=b,m.display="inline-block"),cn(jn("td",{style:h,class:[g.e("cell"),d],colSpan:l,rowspan:u},[ea(y)?void 0:jn("span",{style:m,class:[g.e("label"),p]},y),jn("span",{class:[g.e("content"),f]},s())]),n)}}}});const Mqe=Jt({row:{type:ct(Array),default:()=>[]}}),Pqe=nt({name:"ElDescriptionsRow"}),Nqe=nt({...Pqe,props:Mqe,setup(e){const t=dn(JH,{});return(n,r)=>C(t).direction==="vertical"?(L(),G(Rt,{key:0},[x("tr",null,[(L(!0),G(Rt,null,un(n.row,(o,i)=>(L(),yt(C(N2),{key:`tr1-${i}`,cell:o,tag:"th",type:"label"},null,8,["cell"]))),128))]),x("tr",null,[(L(!0),G(Rt,null,un(n.row,(o,i)=>(L(),yt(C(N2),{key:`tr2-${i}`,cell:o,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(L(),G("tr",{key:1},[(L(!0),G(Rt,null,un(n.row,(o,i)=>(L(),G(Rt,{key:`tr3-${i}`},[C(t).border?(L(),G(Rt,{key:0},[He(C(N2),{cell:o,tag:"td",type:"label"},null,8,["cell"]),He(C(N2),{cell:o,tag:"td",type:"content"},null,8,["cell"])],64)):(L(),yt(C(N2),{key:1,cell:o,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var Rqe=on(Nqe,[["__file","descriptions-row.vue"]]);const Bqe=Jt({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:Aa,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),Rye="ElDescriptionsItem",Lqe=nt({name:"ElDescriptions"}),Fqe=nt({...Lqe,props:Bqe,setup(e){const t=e,n=Vt("descriptions"),r=ha(),o=ga();_r(JH,t);const i=ee(()=>[n.b(),n.m(r.value)]),a=(l,u,d,c=!1)=>(l.props||(l.props={}),u>d&&(l.props.span=d),c&&(l.props.span=u),l),s=()=>{if(!o.default)return[];const l=Sd(o.default()).filter(v=>{var h;return((h=v?.type)==null?void 0:h.name)===Rye}),u=[];let d=[],c=t.column,f=0;const p=[];return l.forEach((v,h)=>{var g,y,m;const b=((g=v.props)==null?void 0:g.span)||1,w=((y=v.props)==null?void 0:y.rowspan)||1,A=u.length;if(p[A]||(p[A]=0),w>1)for(let S=1;S0&&(c-=p[A],p[A]=0),hc?c:b),h===l.length-1){const S=t.column-f%t.column;d.push(a(v,S,c,!0)),u.push(d);return}b(L(),G("div",{class:oe(C(i))},[l.title||l.extra||l.$slots.title||l.$slots.extra?(L(),G("div",{key:0,class:oe(C(n).e("header"))},[x("div",{class:oe(C(n).e("title"))},[ht(l.$slots,"title",{},()=>[bn(je(l.title),1)])],2),x("div",{class:oe(C(n).e("extra"))},[ht(l.$slots,"extra",{},()=>[bn(je(l.extra),1)])],2)],2)):xe("v-if",!0),x("div",{class:oe(C(n).e("body"))},[x("table",{class:oe([C(n).e("table"),C(n).is("bordered",l.border)])},[x("tbody",null,[(L(!0),G(Rt,null,un(s(),(d,c)=>(L(),yt(Rqe,{key:c,row:d},null,8,["row"]))),128))])],2)],2)],2))}});var Uqe=on(Fqe,[["__file","description.vue"]]);const QJ=["left","center","right"],zqe=Jt({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number],default:""},align:{type:String,values:QJ,default:"left"},labelAlign:{type:String,values:QJ},className:{type:String,default:""},labelClassName:{type:String,default:""}}),Bye=nt({name:Rye,props:zqe}),$qe=or(Uqe,{DescriptionsItem:Bye}),jqe=vi(Bye),eW=e=>{if(!e)return{onClick:bo,onMousedown:bo,onMouseup:bo};let t=!1,n=!1;return{onClick:a=>{t&&n&&e(a),t=n=!1},onMousedown:a=>{t=a.target===a.currentTarget},onMouseup:a=>{n=a.target===a.currentTarget}}},Hqe=Jt({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:ct([String,Array,Object])},zIndex:{type:ct([String,Number])}}),Wqe={click:e=>e instanceof MouseEvent},Vqe="overlay";var qqe=nt({name:"ElOverlay",props:Hqe,emits:Wqe,setup(e,{slots:t,emit:n}){const r=Vt(Vqe),o=l=>{n("click",l)},{onClick:i,onMousedown:a,onMouseup:s}=eW(e.customMaskEvent?void 0:o);return()=>e.mask?He("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:a,onMouseup:s},[ht(t,"default")],Nu.STYLE|Nu.CLASS|Nu.PROPS,["onClick","onMouseup","onMousedown"]):jn("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[ht(t,"default")])}});const tW=qqe,Lye=Symbol("dialogInjectionKey"),ZJ="dialog-fade",Fye=Jt({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:wo},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Gqe={close:()=>!0},Uye=(e,t,n,r)=>{const o={offsetX:0,offsetY:0},i=K(!1),a=(f,p)=>{if(e.value){const{offsetX:v,offsetY:h}=o,g=e.value.getBoundingClientRect(),y=g.left,m=g.top,b=g.width,w=g.height,A=document.documentElement.clientWidth,S=document.documentElement.clientHeight,E=-y+v,D=-m+h,_=A-y-b+v,M=S-m-(w{const p=f.clientX,v=f.clientY,{offsetX:h,offsetY:g}=o,y=b=>{i.value||(i.value=!0);const w=h+b.clientX-p,A=g+b.clientY-v;a(w,A)},m=()=>{i.value=!1,document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",m)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",m)},l=()=>{t.value&&e.value&&(t.value.addEventListener("mousedown",s),window.addEventListener("resize",c))},u=()=>{t.value&&e.value&&(t.value.removeEventListener("mousedown",s),window.removeEventListener("resize",c))},d=()=>{o.offsetX=0,o.offsetY=0,e.value&&(e.value.style.transform="")},c=()=>{const{offsetX:f,offsetY:p}=o;a(f,p)};return qn(()=>{Es(()=>{n.value?l():u()})}),Jr(()=>{u()}),{isDragging:i,resetPosition:d,updatePosition:c}},hD=(...e)=>t=>{e.forEach(n=>{Rn(n)?n(t):n.value=t})},Kqe=nt({name:"ElDialogContent"}),Yqe=nt({...Kqe,props:Fye,emits:Gqe,setup(e,{expose:t}){const n=e,{t:r}=Gr(),{Close:o}=l1e,{dialogRef:i,headerRef:a,bodyId:s,ns:l,style:u}=dn(Lye),{focusTrapRef:d}=dn(IH),c=hD(d,i),f=ee(()=>!!n.draggable),p=ee(()=>!!n.overflow),{resetPosition:v,updatePosition:h,isDragging:g}=Uye(i,a,f,p),y=ee(()=>[l.b(),l.is("fullscreen",n.fullscreen),l.is("draggable",f.value),l.is("dragging",g.value),l.is("align-center",!!n.alignCenter),{[l.m("center")]:n.center}]);return t({resetPosition:v,updatePosition:h}),(m,b)=>(L(),G("div",{ref:C(c),class:oe(C(y)),style:rn(C(u)),tabindex:"-1"},[x("header",{ref_key:"headerRef",ref:a,class:oe([C(l).e("header"),m.headerClass,{"show-close":m.showClose}])},[ht(m.$slots,"header",{},()=>[x("span",{role:"heading","aria-level":m.ariaLevel,class:oe(C(l).e("title"))},je(m.title),11,["aria-level"])]),m.showClose?(L(),G("button",{key:0,"aria-label":C(r)("el.dialog.close"),class:oe(C(l).e("headerbtn")),type:"button",onClick:w=>m.$emit("close")},[He(C(Dn),{class:oe(C(l).e("close"))},{default:rt(()=>[(L(),yt(mr(m.closeIcon||C(o))))]),_:1},8,["class"])],10,["aria-label","onClick"])):xe("v-if",!0)],2),x("div",{id:C(s),class:oe([C(l).e("body"),m.bodyClass])},[ht(m.$slots,"default")],10,["id"]),m.$slots.footer?(L(),G("footer",{key:0,class:oe([C(l).e("footer"),m.footerClass])},[ht(m.$slots,"footer")],2)):xe("v-if",!0)],6))}});var Qqe=on(Yqe,[["__file","dialog-content.vue"]]);const zye=Jt({...Fye,appendToBody:Boolean,appendTo:{type:uD.to.type,default:"body"},beforeClose:{type:ct(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:ct([String,Object]),default:void 0}}),$ye={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Qn]:e=>Eo(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},nW=(e,t={})=>{Uo(e)||na("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Vt("popup"),r=ee(()=>n.bm("parent","hidden"));if(!Xr||Ol(document.body,r.value))return;let o=0,i=!1,a="0";const s=()=>{setTimeout(()=>{typeof document>"u"||i&&document&&(document.body.style.width=a,Ws(document.body,r.value))},200)};St(e,l=>{if(!l){s();return}i=!Ol(document.body,r.value),i&&(a=document.body.style.width,zu(document.body,r.value)),o=Qme(n.namespace.value);const u=document.documentElement.clientHeight0&&(u||d==="scroll")&&i&&(document.body.style.width=`calc(100% - ${o}px)`)}),F0e(()=>s())},jye=(e,t)=>{var n;const o=br().emit,{nextZIndex:i}=Fb();let a="";const s=ps(),l=ps(),u=K(!1),d=K(!1),c=K(!1),f=K((n=e.zIndex)!=null?n:i());let p,v;const h=Ub(),g=ee(()=>{var U,F;return(F=(U=h.value)==null?void 0:U.namespace)!=null?F:J4}),y=ee(()=>{var U;return(U=h.value)==null?void 0:U.dialog}),m=ee(()=>{const U={},F=`--${g.value}-dialog`;return e.fullscreen||(e.top&&(U[`${F}-margin-top`]=e.top),e.width&&(U[`${F}-width`]=_i(e.width))),U}),b=ee(()=>{var U,F,H;return((H=(F=e.draggable)!=null?F:(U=y.value)==null?void 0:U.draggable)!=null?H:!1)&&!e.fullscreen}),w=ee(()=>{var U,F,H;return(H=(F=e.alignCenter)!=null?F:(U=y.value)==null?void 0:U.alignCenter)!=null?H:!1}),A=ee(()=>{var U,F,H;return(H=(F=e.overflow)!=null?F:(U=y.value)==null?void 0:U.overflow)!=null?H:!1}),S=ee(()=>w.value?{display:"flex"}:{}),E=ee(()=>{var U,F,H;const re=(H=(F=e.transition)!=null?F:(U=y.value)==null?void 0:U.transition)!=null?H:ZJ,X={name:re,onAfterEnter:D,onBeforeLeave:M,onAfterLeave:_};if(dr(re)){const te={...re},Z=(le,ve)=>Pe=>{Zt(le)?le.forEach(Ae=>{Rn(Ae)&&Ae(Pe)}):Rn(le)&&le(Pe),ve()};return te.onAfterEnter=Z(te.onAfterEnter,D),te.onBeforeLeave=Z(te.onBeforeLeave,M),te.onAfterLeave=Z(te.onAfterLeave,_),te.name||(te.name=ZJ),te}return X});function D(){o("opened")}function _(){o("closed"),o(Qn,!1),e.destroyOnClose&&(c.value=!1)}function M(){o("close")}function O(){v?.(),p?.(),e.openDelay&&e.openDelay>0?{stop:p}=Mv(()=>W(),e.openDelay):W()}function k(){p?.(),v?.(),e.closeDelay&&e.closeDelay>0?{stop:v}=Mv(()=>B(),e.closeDelay):B()}function R(){function U(F){F||(d.value=!0,u.value=!1)}e.beforeClose?e.beforeClose(U):k()}function N(){e.closeOnClickModal&&R()}function W(){Xr&&(u.value=!0)}function B(){u.value=!1}function z(){o("openAutoFocus")}function j(){o("closeAutoFocus")}function q(U){var F;((F=U.detail)==null?void 0:F.focusReason)==="pointer"&&U.preventDefault()}e.lockScroll&&nW(u);function Y(){e.closeOnPressEscape&&R()}return St(()=>e.zIndex,()=>{var U;f.value=(U=e.zIndex)!=null?U:i()}),St(()=>e.modelValue,U=>{var F;U?(d.value=!1,O(),c.value=!0,f.value=(F=e.zIndex)!=null?F:i(),Yt(()=>{o("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):u.value&&k()}),St(()=>e.fullscreen,U=>{t.value&&(U?(a=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=a)}),qn(()=>{e.modelValue&&(u.value=!0,c.value=!0,O())}),{afterEnter:D,afterLeave:_,beforeLeave:M,handleClose:R,onModalClick:N,close:k,doClose:B,onOpenAutoFocus:z,onCloseAutoFocus:j,onCloseRequested:Y,onFocusoutPrevented:q,titleId:s,bodyId:l,closed:d,style:m,overlayDialogStyle:S,rendered:c,visible:u,zIndex:f,transitionConfig:E,_draggable:b,_alignCenter:w,_overflow:A}},Zqe=nt({name:"ElDialog",inheritAttrs:!1}),Xqe=nt({...Zqe,props:zye,emits:$ye,setup(e,{expose:t}){const n=e,r=ga();jf({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},ee(()=>!!r.title));const o=Vt("dialog"),i=K(),a=K(),s=K(),{visible:l,titleId:u,bodyId:d,style:c,overlayDialogStyle:f,rendered:p,transitionConfig:v,zIndex:h,_draggable:g,_alignCenter:y,_overflow:m,handleClose:b,onModalClick:w,onOpenAutoFocus:A,onCloseAutoFocus:S,onCloseRequested:E,onFocusoutPrevented:D}=jye(n,i);_r(Lye,{dialogRef:i,headerRef:a,bodyId:d,ns:o,rendered:p,style:c});const _=eW(w),M=ee(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:l,dialogContentRef:s,resetPosition:()=>{var k;(k=s.value)==null||k.resetPosition()},handleClose:b}),(k,R)=>(L(),yt(C(jb),{to:k.appendTo,disabled:k.appendTo!=="body"?!1:!k.appendToBody},{default:rt(()=>[He(Ki,vr(C(v),{persisted:""}),{default:rt(()=>{var N;return[cn(He(C(tW),{"custom-mask-event":"",mask:k.modal,"overlay-class":[(N=k.modalClass)!=null?N:"",`${C(o).namespace.value}-modal-dialog`,C(o).is("penetrable",C(M))],"z-index":C(h)},{default:rt(()=>[x("div",{role:"dialog","aria-modal":"true","aria-label":k.title||void 0,"aria-labelledby":k.title?void 0:C(u),"aria-describedby":C(d),class:oe(`${C(o).namespace.value}-overlay-dialog`),style:rn(C(f)),onClick:C(_).onClick,onMousedown:C(_).onMousedown,onMouseup:C(_).onMouseup},[He(C($b),{loop:"",trapped:C(l),"focus-start-el":"container",onFocusAfterTrapped:C(A),onFocusAfterReleased:C(S),onFocusoutPrevented:C(D),onReleaseRequested:C(E)},{default:rt(()=>[C(p)?(L(),yt(Qqe,vr({key:0,ref_key:"dialogContentRef",ref:s},k.$attrs,{center:k.center,"align-center":C(y),"close-icon":k.closeIcon,draggable:C(g),overflow:C(m),fullscreen:k.fullscreen,"header-class":k.headerClass,"body-class":k.bodyClass,"footer-class":k.footerClass,"show-close":k.showClose,title:k.title,"aria-level":k.headerAriaLevel,onClose:C(b)}),Hl({header:rt(()=>[k.$slots.title?ht(k.$slots,"title",{key:1}):ht(k.$slots,"header",{key:0,close:C(b),titleId:C(u),titleClass:C(o).e("title")})]),default:rt(()=>[ht(k.$slots,"default")]),_:2},[k.$slots.footer?{name:"footer",fn:rt(()=>[ht(k.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):xe("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,["aria-label","aria-labelledby","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["mask","overlay-class","z-index"]),[[kr,C(l)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});var Jqe=on(Xqe,[["__file","dialog.vue"]]);const Hye=or(Jqe),eGe=Jt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:ct(String),default:"solid"}}),tGe=nt({name:"ElDivider"}),nGe=nt({...tGe,props:eGe,setup(e){const t=e,n=Vt("divider"),r=ee(()=>n.cssVar({"border-style":t.borderStyle}));return(o,i)=>(L(),G("div",{class:oe([C(n).b(),C(n).m(o.direction)]),style:rn(C(r)),role:"separator"},[o.$slots.default&&o.direction!=="vertical"?(L(),G("div",{key:0,class:oe([C(n).e("text"),C(n).is(o.contentPosition)])},[ht(o.$slots,"default")],2)):xe("v-if",!0)],6))}});var rGe=on(nGe,[["__file","divider.vue"]]);const Wye=or(rGe),oGe=Jt({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),Vye=Symbol("splitterRootContextKey");function iGe(e){const t=K(),{width:n,height:r}=ZRe(t),o=ee(()=>e.value==="horizontal"?n.value:r.value);return{containerEl:t,containerSize:o}}function rW(e){return Number(e.slice(0,-1))/100}function oW(e){return Number(e.slice(0,-2))}function iW(e){return In(e)&&e.endsWith("%")}function aW(e){return In(e)&&e.endsWith("px")}function aGe(e,t){const n=ee(()=>e.value.map(s=>s.size)),r=ee(()=>e.value.length),o=K([]);St([n,r,t],()=>{var s;let l=[],u=0;for(let c=0;cc+(f||0),0);if(d>1||!u){const c=1/d;l=l.map(f=>f===void 0?0:f*c)}else{const c=(1-d)/u;l=l.map(f=>f===void 0?c:f)}o.value=l});const i=s=>s*t.value,a=ee(()=>o.value.map(i));return{percentSizes:o,pxSizes:a}}function sGe(e,t,n,r){const o=g=>g*t.value||0;function i(g,y){return iW(g)?o(rW(g)):aW(g)?oW(g):g??y}const a=K(0),s=K(null);let l=[],u=bo;const d=ee(()=>e.value.map(g=>[g.min,g.max]));St(r,()=>{if(a.value){const g=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(g)}});const c=g=>{a.value=0,s.value={index:g,confirmed:!1},l=n.value},f=(g,y)=>{var m,b;let w=null;if((!s.value||!s.value.confirmed)&&y!==0){if(y>0)w=g,s.value={index:g,confirmed:!0};else for(let R=g;R>=0;R-=1)if(l[R]>0){w=R,s.value={index:R,confirmed:!0};break}}const A=(b=w??((m=s.value)==null?void 0:m.index))!=null?b:g,S=[...l],E=A+1,D=i(d.value[A][0],0),_=i(d.value[E][0],0),M=i(d.value[A][1],t.value||0),O=i(d.value[E][1],t.value||0);let k=y;S[A]+kM&&(k=M-S[A]),S[E]-k>O&&(k=S[E]-O),S[A]+=k,S[E]-=k,a.value=k,u=()=>{e.value.forEach((R,N)=>{R.size=S[N]}),u=bo},r.value||u()},p=()=>{r.value&&u(),a.value=0,s.value=null,l=[]},v=[];return{lazyOffset:a,onMoveStart:c,onMoving:f,onMoveEnd:p,movingIndex:s,onCollapse:(g,y)=>{v.length||v.push(...n.value);const m=n.value,b=y==="start"?g:g+1,w=y==="start"?g+1:g,A=m[b],S=m[w];if(A!==0&&S!==0)m[b]=0,m[w]+=A,v[g]=A;else{const E=A+S,D=v[g],_=E-D;m[w]=D,m[b]=_}e.value.forEach((E,D)=>{E.size=m[D]})}}}const lGe=nt({name:"ElSplitter"}),uGe=nt({...lGe,props:oGe,emits:["resizeStart","resize","resizeEnd","collapse"],setup(e,{emit:t}){const n=e,r=Vt("splitter"),o=co(n,"layout"),i=co(n,"lazy"),{containerEl:a,containerSize:s}=iGe(o),{removeChild:l,children:u,addChild:d,ChildrenSorter:c}=cD(br(),"ElSplitterPanel");St(u,()=>{u.value.forEach((_,M)=>{_.setIndex(M)})});const{percentSizes:f,pxSizes:p}=aGe(u,s),{lazyOffset:v,movingIndex:h,onMoveStart:g,onMoving:y,onMoveEnd:m,onCollapse:b}=sGe(u,s,p,i),w=ee(()=>({[`--${r.b()}-bar-offset`]:i.value?`${v.value}px`:void 0}));return _r(Vye,Wr({panels:u,percentSizes:f,pxSizes:p,layout:o,lazy:i,movingIndex:h,containerSize:s,onMoveStart:_=>{g(_),t("resizeStart",_,p.value)},onMoving:(_,M)=>{y(_,M),i.value||t("resize",_,p.value)},onMoveEnd:_=>{m(),t("resizeEnd",_,p.value)},onCollapse:(_,M)=>{b(_,M),t("collapse",_,M,p.value)},registerPanel:d,unregisterPanel:l})),(_,M)=>(L(),G("div",{ref_key:"containerEl",ref:a,class:oe([C(r).b(),C(r).e(C(o))]),style:rn(C(w))},[ht(_.$slots,"default"),He(C(c)),xe(" Prevent iframe touch events from breaking "),C(h)?(L(),G("div",{key:0,class:oe([C(r).e("mask"),C(r).e(`mask-${C(o)}`)])},null,2)):xe("v-if",!0)],6))}});var cGe=on(uGe,[["__file","splitter.vue"]]);function dGe(e){return e&&dr(e)?e:{start:!!e,end:!!e}}function XJ(e,t,n,r){return!!(e?.collapsible.end&&t>0||n?.collapsible.start&&r===0&&t>0)}const fGe=nt({name:"ElSplitterBar"}),pGe=nt({...fGe,props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(e,{emit:t}){const n=e,r=Vt("splitter-bar"),o=ee(()=>n.layout==="horizontal"),i=ee(()=>o.value?{width:0}:{height:0}),a=ee(()=>({width:o.value?"16px":"100%",height:o.value?"100%":"16px",cursor:o.value?"col-resize":"row-resize",touchAction:"none"})),s=ee(()=>{const y=r.e("dragger");return{[`${y}-horizontal`]:o.value,[`${y}-vertical`]:!o.value,[`${y}-active`]:!!l.value}}),l=K(null),u=y=>{n.resizable&&(l.value=[y.pageX,y.pageY],t("moveStart",n.index),window.addEventListener("mouseup",p),window.addEventListener("mousemove",c))},d=y=>{if(n.resizable&&y.touches.length===1){y.preventDefault();const m=y.touches[0];l.value=[m.pageX,m.pageY],t("moveStart",n.index),window.addEventListener("touchend",v),window.addEventListener("touchmove",f)}},c=y=>{const{pageX:m,pageY:b}=y,w=m-l.value[0],A=b-l.value[1],S=o.value?w:A;t("moving",n.index,S)},f=y=>{if(y.touches.length===1){y.preventDefault();const m=y.touches[0],b=m.pageX-l.value[0],w=m.pageY-l.value[1],A=o.value?b:w;t("moving",n.index,A)}},p=()=>{l.value=null,window.removeEventListener("mouseup",p),window.removeEventListener("mousemove",c),t("moveEnd",n.index)},v=()=>{l.value=null,window.removeEventListener("touchend",v),window.removeEventListener("touchmove",f),t("moveEnd",n.index)},h=ee(()=>o.value?Jf:oD),g=ee(()=>o.value?Da:ed);return(y,m)=>(L(),G("div",{class:oe([C(r).b()]),style:rn(C(i))},[e.startCollapsible?(L(),G("div",{key:0,class:oe([C(r).e("collapse-icon"),C(r).e(`${e.layout}-collapse-icon-start`)]),onClick:b=>t("collapse",e.index,"start")},[ht(y.$slots,"start-collapsible",{},()=>[(L(),yt(mr(C(h)),{style:{width:"12px",height:"12px"}}))])],10,["onClick"])):xe("v-if",!0),x("div",{class:oe([C(r).e("dragger"),C(s),e.resizable?"":C(r).e("disable"),C(r).is("lazy",e.resizable&&e.lazy)]),style:rn(C(a)),onMousedown:u,onTouchstart:d},null,38),e.endCollapsible?(L(),G("div",{key:1,class:oe([C(r).e("collapse-icon"),C(r).e(`${e.layout}-collapse-icon-end`)]),onClick:b=>t("collapse",e.index,"end")},[ht(y.$slots,"end-collapsible",{},()=>[(L(),yt(mr(C(g)),{style:{width:"12px",height:"12px"}}))])],10,["onClick"])):xe("v-if",!0)],6))}});var hGe=on(pGe,[["__file","split-bar.vue"]]);const gGe=Jt({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),qye="ElSplitterPanel",vGe=nt({name:qye}),mGe=nt({...vGe,props:gGe,emits:["update:size"],setup(e,{emit:t}){const n=e,r=Vt("splitter-panel"),o=dn(Vye);o||na(qye,"usage: ");const{panels:i,layout:a,lazy:s,containerSize:l,pxSizes:u}=Oa(o),{registerPanel:d,unregisterPanel:c,onCollapse:f,onMoveEnd:p,onMoveStart:v,onMoving:h}=o,g=K(),y=br(),m=y.uid,b=K(0),w=ee(()=>i.value[b.value]),A=B=>{b.value=B},S=ee(()=>{var B;return w.value&&(B=u.value[b.value])!=null?B:0}),E=ee(()=>{var B;return w.value&&(B=u.value[b.value+1])!=null?B:0}),D=ee(()=>w.value?i.value[b.value+1]:null),_=ee(()=>{var B;return D.value?n.resizable&&((B=D.value)==null?void 0:B.resizable)&&(S.value!==0||!n.min)&&(E.value!==0||!D.value.min):!1}),M=ee(()=>w.value?b.value!==i.value.length-1:!1),O=ee(()=>XJ(w.value,S.value,D.value,E.value)),k=ee(()=>XJ(D.value,E.value,w.value,S.value));function R(B){return iW(B)?rW(B)*l.value||0:aW(B)?oW(B):B??0}let N=!1;St(()=>n.size,()=>{if(!N&&w.value){const B=R(n.size),z=R(n.max),j=R(n.min),q=Math.min(Math.max(B,j||0),z||B);q!==B&&t("update:size",q),w.value.size=q}}),St(()=>{var B;return(B=w.value)==null?void 0:B.size},B=>{B!==n.size&&(N=!0,t("update:size",B),Yt(()=>N=!1))}),St(()=>n.resizable,B=>{w.value&&(w.value.resizable=B)});const W=Wr({el:g.value,uid:m,getVnode:()=>y.vnode,setIndex:A,...n,collapsible:ee(()=>dGe(n.collapsible))});return d(W),Jr(()=>c(W)),(B,z)=>(L(),G(Rt,null,[x("div",vr({ref_key:"panelEl",ref:g,class:[C(r).b()],style:{flexBasis:`${C(S)}px`}},B.$attrs),[ht(B.$slots,"default")],16),C(M)?(L(),yt(hGe,{key:0,index:b.value,layout:C(a),lazy:C(s),resizable:C(_),"start-collapsible":C(O),"end-collapsible":C(k),onMoveStart:C(v),onMoving:C(h),onMoveEnd:C(p),onCollapse:C(f)},{"start-collapsible":rt(()=>[ht(B.$slots,"start-collapsible")]),"end-collapsible":rt(()=>[ht(B.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):xe("v-if",!0)],64))}});var Gye=on(mGe,[["__file","split-panel.vue"]]);const Kye=or(cGe,{SplitPanel:Gye}),RS=vi(Gye),yGe=Jt({...zye,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),bGe=$ye,wGe=nt({name:"ElDrawer",inheritAttrs:!1}),AGe=nt({...wGe,props:yGe,emits:bGe,setup(e,{expose:t}){const n=e,r=ga();jf({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},ee(()=>!!r.title));const o=K(),i=K(),a=Vt("drawer"),{t:s}=Gr(),{afterEnter:l,afterLeave:u,beforeLeave:d,visible:c,rendered:f,titleId:p,bodyId:v,zIndex:h,onModalClick:g,onOpenAutoFocus:y,onCloseAutoFocus:m,onFocusoutPrevented:b,onCloseRequested:w,handleClose:A}=jye(n,o),S=ee(()=>n.direction==="rtl"||n.direction==="ltr"),E=ee(()=>_i(n.size));return t({handleClose:A,afterEnter:l,afterLeave:u}),(D,_)=>(L(),yt(C(jb),{to:D.appendTo,disabled:D.appendTo!=="body"?!1:!D.appendToBody},{default:rt(()=>[He(Ki,{name:C(a).b("fade"),onAfterEnter:C(l),onAfterLeave:C(u),onBeforeLeave:C(d),persisted:""},{default:rt(()=>[cn(He(C(tW),{mask:D.modal,"overlay-class":D.modalClass,"z-index":C(h),onClick:C(g)},{default:rt(()=>[He(C($b),{loop:"",trapped:C(c),"focus-trap-el":o.value,"focus-start-el":i.value,onFocusAfterTrapped:C(y),onFocusAfterReleased:C(m),onFocusoutPrevented:C(b),onReleaseRequested:C(w)},{default:rt(()=>[He(C(Kye),{class:oe(C(a).b("splitter")),layout:C(S)?"horizontal":"vertical"},{default:rt(()=>[["rtl","btt"].includes(D.direction)?(L(),yt(C(RS),{key:0,onClick:C(g)},null,8,["onClick"])):xe("v-if",!0),He(C(RS),{resizable:D.resizable,size:C(E)},{default:rt(()=>[x("div",vr({ref_key:"drawerRef",ref:o,"aria-modal":"true","aria-label":D.title||void 0,"aria-labelledby":D.title?void 0:C(p),"aria-describedby":C(v)},D.$attrs,{class:[C(a).b(),D.direction,C(c)&&"open"],role:"dialog",onClick:en(()=>{},["stop"])}),[x("span",{ref_key:"focusStartRef",ref:i,class:oe(C(a).e("sr-focus")),tabindex:"-1"},null,2),D.withHeader?(L(),G("header",{key:0,class:oe([C(a).e("header"),D.headerClass])},[D.$slots.title?ht(D.$slots,"title",{key:1},()=>[xe(" DEPRECATED SLOT ")]):ht(D.$slots,"header",{key:0,close:C(A),titleId:C(p),titleClass:C(a).e("title")},()=>[D.$slots.title?xe("v-if",!0):(L(),G("span",{key:0,id:C(p),role:"heading","aria-level":D.headerAriaLevel,class:oe(C(a).e("title"))},je(D.title),11,["id","aria-level"]))]),D.showClose?(L(),G("button",{key:2,"aria-label":C(s)("el.drawer.close"),class:oe(C(a).e("close-btn")),type:"button",onClick:C(A)},[He(C(Dn),{class:oe(C(a).e("close"))},{default:rt(()=>[He(C(vu))]),_:1},8,["class"])],10,["aria-label","onClick"])):xe("v-if",!0)],2)):xe("v-if",!0),C(f)?(L(),G("div",{key:1,id:C(v),class:oe([C(a).e("body"),D.bodyClass])},[ht(D.$slots,"default")],10,["id"])):xe("v-if",!0),D.$slots.footer?(L(),G("div",{key:2,class:oe([C(a).e("footer"),D.footerClass])},[ht(D.$slots,"footer")],2)):xe("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["resizable","size"]),["ltr","ttb"].includes(D.direction)?(L(),yt(C(RS),{key:1,onClick:C(g)},null,8,["onClick"])):xe("v-if",!0)]),_:3},8,["class","layout"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[kr,C(c)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var CGe=on(AGe,[["__file","drawer.vue"]]);const xGe=or(CGe),SGe=nt({inheritAttrs:!1});function EGe(e,t,n,r,o,i){return ht(e.$slots,"default")}var kGe=on(SGe,[["render",EGe],["__file","collection.vue"]]);const TGe=nt({name:"ElCollectionItem",inheritAttrs:!1});function _Ge(e,t,n,r,o,i){return ht(e.$slots,"default")}var DGe=on(TGe,[["render",_Ge],["__file","collection-item.vue"]]);const Yye="data-el-collection-item",Qye=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),o=Symbol(n),i={...kGe,name:t,setup(){const s=K(),l=new Map;_r(r,{itemMap:l,getItems:()=>{const d=C(s);if(!d)return[];const c=Array.from(d.querySelectorAll(`[${Yye}]`));return[...l.values()].sort((p,v)=>c.indexOf(p.ref)-c.indexOf(v.ref))},collectionRef:s})}},a={...DGe,name:n,setup(s,{attrs:l}){const u=K(),d=dn(r,void 0);_r(o,{collectionItemRef:u}),qn(()=>{const c=C(u);c&&d.itemMap.set(c,{ref:c,...l})}),Jr(()=>{const c=C(u);d.itemMap.delete(c)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:o,ElCollection:i,ElCollectionItem:a}},IGe=Jt({style:{type:ct([String,Array,Object])},currentTabId:{type:ct(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:ct(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:OGe,ElCollectionItem:MGe,COLLECTION_INJECTION_KEY:sW,COLLECTION_ITEM_INJECTION_KEY:PGe}=Qye("RovingFocusGroup"),lW=Symbol("elRovingFocusGroup"),Zye=Symbol("elRovingFocusGroupItem"),NGe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},RGe=(e,t)=>e,BGe=(e,t,n)=>{const r=RGe(e.code);return NGe[r]},LGe=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),uW=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},JJ="currentTabIdChange",eee="rovingFocusGroup.entryFocus",FGe={bubbles:!1,cancelable:!0},UGe=nt({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:IGe,emits:[JJ,"entryFocus"],setup(e,{emit:t}){var n;const r=K((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),o=K(!1),i=K(!1),a=K(),{getItems:s}=dn(sW,void 0),l=ee(()=>[{outline:"none"},e.style]),u=h=>{t(JJ,h)},d=()=>{o.value=!0},c=Li(h=>{var g;(g=e.onMousedown)==null||g.call(e,h)},()=>{i.value=!0}),f=Li(h=>{var g;(g=e.onFocus)==null||g.call(e,h)},h=>{const g=!C(i),{target:y,currentTarget:m}=h;if(y===m&&g&&!C(o)){const b=new Event(eee,FGe);if(m?.dispatchEvent(b),!b.defaultPrevented){const w=s().filter(_=>_.focusable),A=w.find(_=>_.active),S=w.find(_=>_.id===C(r)),D=[A,S,...w].filter(Boolean).map(_=>_.ref);uW(D)}}i.value=!1}),p=Li(h=>{var g;(g=e.onBlur)==null||g.call(e,h)},()=>{o.value=!1}),v=(...h)=>{t("entryFocus",...h)};_r(lW,{currentTabbedId:_b(r),loop:co(e,"loop"),tabIndex:ee(()=>C(o)?-1:0),rovingFocusGroupRef:a,rovingFocusGroupRootStyle:l,orientation:co(e,"orientation"),dir:co(e,"dir"),onItemFocus:u,onItemShiftTab:d,onBlur:p,onFocus:f,onMousedown:c}),St(()=>e.currentTabId,h=>{r.value=h??null}),Ro(a,eee,v)}});function zGe(e,t,n,r,o,i){return ht(e.$slots,"default")}var $Ge=on(UGe,[["render",zGe],["__file","roving-focus-group-impl.vue"]]);const jGe=nt({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:OGe,ElRovingFocusGroupImpl:$Ge}});function HGe(e,t,n,r,o,i){const a=hr("el-roving-focus-group-impl"),s=hr("el-focus-group-collection");return L(),yt(s,null,{default:rt(()=>[He(a,Il($d(e.$attrs)),{default:rt(()=>[ht(e.$slots,"default")]),_:3},16)]),_:3})}var WGe=on(jGe,[["render",HGe],["__file","roving-focus-group.vue"]]);const BS=Jt({trigger:oy.trigger,triggerKeys:{type:ct(Array),default:()=>[gn.enter,gn.numpadEnter,gn.space,gn.down]},effect:{...oi.effect,default:"light"},type:{type:ct(String)},placement:{type:ct(String),default:"bottom"},popperOptions:{type:ct(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:ct([Number,String]),default:0},maxHeight:{type:ct([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:g1e,default:"menu"},buttonProps:{type:ct(Object)},teleported:oi.teleported,persistent:{type:Boolean,default:!0}}),Xye=Jt({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:wo}}),VGe=Jt({onKeydown:{type:ct(Function)}}),qGe=[gn.down,gn.pageDown,gn.home],Jye=[gn.up,gn.pageUp,gn.end],GGe=[...qGe,...Jye],{ElCollection:KGe,ElCollectionItem:YGe,COLLECTION_INJECTION_KEY:QGe,COLLECTION_ITEM_INJECTION_KEY:ZGe}=Qye("Dropdown"),gD=Symbol("elDropdown"),ebe="elDropdown",{ButtonGroup:XGe}=Xa,JGe=nt({name:"ElDropdown",components:{ElButton:Xa,ElButtonGroup:XGe,ElScrollbar:Hc,ElDropdownCollection:KGe,ElTooltip:hs,ElRovingFocusGroup:WGe,ElOnlyChild:b1e,ElIcon:Dn,ArrowDown:ed},props:BS,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=br(),r=Vt("dropdown"),{t:o}=Gr(),i=K(),a=K(),s=K(),l=K(),u=K(null),d=K(null),c=K(!1),f=ee(()=>({maxHeight:_i(e.maxHeight)})),p=ee(()=>[r.m(w.value)]),v=ee(()=>Ya(e.trigger)),h=ps().value,g=ee(()=>e.id||h);St([i,v],([B,z],[j])=>{var q,Y,U;(q=j?.$el)!=null&&q.removeEventListener&&j.$el.removeEventListener("pointerenter",S),(Y=B?.$el)!=null&&Y.removeEventListener&&B.$el.removeEventListener("pointerenter",S),(U=B?.$el)!=null&&U.addEventListener&&z.includes("hover")&&B.$el.addEventListener("pointerenter",S)},{immediate:!0}),Jr(()=>{var B,z;(z=(B=i.value)==null?void 0:B.$el)!=null&&z.removeEventListener&&i.value.$el.removeEventListener("pointerenter",S)});function y(){m()}function m(){var B;(B=s.value)==null||B.onClose()}function b(){var B;(B=s.value)==null||B.onOpen()}const w=ha();function A(...B){t("command",...B)}function S(){var B,z;(z=(B=i.value)==null?void 0:B.$el)==null||z.focus({preventScroll:!0})}function E(){}function D(){const B=C(l);v.value.includes("hover")&&B?.focus({preventScroll:!0}),d.value=null}function _(B){d.value=B}function M(B){c.value||(B.preventDefault(),B.stopImmediatePropagation())}function O(){t("visible-change",!0)}function k(B){var z;B?.type==="keydown"&&((z=l.value)==null||z.focus())}function R(){t("visible-change",!1)}return _r(gD,{contentRef:l,role:ee(()=>e.role),triggerId:g,isUsingKeyboard:c,onItemEnter:E,onItemLeave:D}),_r(ebe,{instance:n,dropdownSize:w,handleClick:y,commandHandler:A,trigger:co(e,"trigger"),hideOnClick:co(e,"hideOnClick")}),{t:o,ns:r,scrollbar:u,wrapStyle:f,dropdownTriggerKls:p,dropdownSize:w,triggerId:g,currentTabId:d,handleCurrentTabIdChange:_,handlerMainButtonClick:B=>{t("click",B)},handleEntryFocus:M,handleClose:m,handleOpen:b,handleBeforeShowTooltip:O,handleShowTooltip:k,handleBeforeHideTooltip:R,onFocusAfterTrapped:B=>{var z,j;B.preventDefault(),(j=(z=l.value)==null?void 0:z.focus)==null||j.call(z,{preventScroll:!0})},popperRef:s,contentRef:l,triggeringElementRef:i,referenceElementRef:a}}});function eKe(e,t,n,r,o,i){var a;const s=hr("el-dropdown-collection"),l=hr("el-roving-focus-group"),u=hr("el-scrollbar"),d=hr("el-only-child"),c=hr("el-tooltip"),f=hr("el-button"),p=hr("arrow-down"),v=hr("el-icon"),h=hr("el-button-group");return L(),G("div",{class:oe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[He(c,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(a=e.referenceElementRef)==null?void 0:a.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:e.persistent,onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},Hl({content:rt(()=>[He(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:rt(()=>[He(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:rt(()=>[He(s,null,{default:rt(()=>[ht(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:rt(()=>[He(d,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:rt(()=>[ht(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","persistent","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(L(),yt(h,{key:0},{default:rt(()=>[He(f,vr({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:rt(()=>[ht(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),He(f,vr({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:rt(()=>[He(v,{class:oe(e.ns.e("icon"))},{default:rt(()=>[He(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):xe("v-if",!0)],2)}var tKe=on(JGe,[["render",eKe],["__file","dropdown.vue"]]);const nKe=nt({components:{ElRovingFocusCollectionItem:MGe},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:r,onItemFocus:o,onItemShiftTab:i}=dn(lW,void 0),{getItems:a}=dn(sW,void 0),s=ps(),l=K(),u=Li(p=>{t("mousedown",p)},p=>{e.focusable?o(C(s)):p.preventDefault()}),d=Li(p=>{t("focus",p)},()=>{o(C(s))}),c=Li(p=>{t("keydown",p)},p=>{const{code:v,shiftKey:h,target:g,currentTarget:y}=p;if(v===gn.tab&&h){i();return}if(g!==y)return;const m=BGe(p);if(m){p.preventDefault();let w=a().filter(A=>A.focusable).map(A=>A.ref);switch(m){case"last":{w.reverse();break}case"prev":case"next":{m==="prev"&&w.reverse();const A=w.indexOf(y);w=r.value?LGe(w,A+1):w.slice(A+1);break}}Yt(()=>{uW(w)})}}),f=ee(()=>n.value===C(s));return _r(Zye,{rovingFocusGroupItemRef:l,tabIndex:ee(()=>C(f)?0:-1),handleMousedown:u,handleFocus:d,handleKeydown:c}),{id:s,handleKeydown:c,handleFocus:d,handleMousedown:u}}});function rKe(e,t,n,r,o,i){const a=hr("el-roving-focus-collection-item");return L(),yt(a,{id:e.id,focusable:e.focusable,active:e.active},{default:rt(()=>[ht(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var oKe=on(nKe,[["render",rKe],["__file","roving-focus-item.vue"]]);const iKe=nt({name:"DropdownItemImpl",components:{ElIcon:Dn},props:Xye,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Vt("dropdown"),{role:r}=dn(gD,void 0),{collectionItemRef:o}=dn(ZGe,void 0),{collectionItemRef:i}=dn(PGe,void 0),{rovingFocusGroupItemRef:a,tabIndex:s,handleFocus:l,handleKeydown:u,handleMousedown:d}=dn(Zye,void 0),c=hD(o,i,a),f=ee(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),p=Li(v=>{if([gn.enter,gn.numpadEnter,gn.space].includes(v.code))return v.preventDefault(),v.stopImmediatePropagation(),t("clickimpl",v),!0},u);return{ns:n,itemRef:c,dataset:{[Yye]:""},role:f,tabIndex:s,handleFocus:l,handleKeydown:p,handleMousedown:d}}});function aKe(e,t,n,r,o,i){const a=hr("el-icon");return L(),G(Rt,null,[e.divided?(L(),G("li",{key:0,role:"separator",class:oe(e.ns.bem("menu","item","divided"))},null,2)):xe("v-if",!0),x("li",vr({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:s=>e.$emit("clickimpl",s),onFocus:e.handleFocus,onKeydown:en(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:s=>e.$emit("pointermove",s),onPointerleave:s=>e.$emit("pointerleave",s)}),[e.icon?(L(),yt(a,{key:0},{default:rt(()=>[(L(),yt(mr(e.icon)))]),_:1})):xe("v-if",!0),ht(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}var sKe=on(iKe,[["render",aKe],["__file","dropdown-item-impl.vue"]]);const tbe=()=>{const e=dn(ebe,{}),t=ee(()=>e?.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},lKe=nt({name:"ElDropdownItem",components:{ElDropdownCollectionItem:YGe,ElRovingFocusItem:oKe,ElDropdownItemImpl:sKe},inheritAttrs:!1,props:Xye,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=tbe(),o=br(),i=K(null),a=ee(()=>{var p,v;return(v=(p=C(i))==null?void 0:p.textContent)!=null?v:""}),{onItemEnter:s,onItemLeave:l}=dn(gD,void 0),u=Li(p=>(t("pointermove",p),p.defaultPrevented),CJ(p=>{if(e.disabled){l(p);return}const v=p.currentTarget;v===document.activeElement||v.contains(document.activeElement)||(s(p),p.defaultPrevented||v?.focus({preventScroll:!0}))})),d=Li(p=>(t("pointerleave",p),p.defaultPrevented),CJ(l)),c=Li(p=>{if(!e.disabled)return t("click",p),p.type!=="keydown"&&p.defaultPrevented},p=>{var v,h,g;if(e.disabled){p.stopImmediatePropagation();return}(v=r?.hideOnClick)!=null&&v.value&&((h=r.handleClick)==null||h.call(r)),(g=r.commandHandler)==null||g.call(r,e.command,o,p)}),f=ee(()=>({...e,...n}));return{handleClick:c,handlePointerMove:u,handlePointerLeave:d,textContent:a,propsAndAttrs:f}}});function uKe(e,t,n,r,o,i){var a;const s=hr("el-dropdown-item-impl"),l=hr("el-roving-focus-item"),u=hr("el-dropdown-collection-item");return L(),yt(u,{disabled:e.disabled,"text-value":(a=e.textValue)!=null?a:e.textContent},{default:rt(()=>[He(l,{focusable:!e.disabled},{default:rt(()=>[He(s,vr(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:rt(()=>[ht(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var nbe=on(lKe,[["render",uKe],["__file","dropdown-item.vue"]]);const cKe=nt({name:"ElDropdownMenu",props:VGe,setup(e){const t=Vt("dropdown"),{_elDropdownSize:n}=tbe(),r=n.value,{focusTrapRef:o,onKeydown:i}=dn(IH,void 0),{contentRef:a,role:s,triggerId:l}=dn(gD,void 0),{collectionRef:u,getItems:d}=dn(QGe,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:f,tabIndex:p,onBlur:v,onFocus:h,onMousedown:g}=dn(lW,void 0),{collectionRef:y}=dn(sW,void 0),m=ee(()=>[t.b("menu"),t.bm("menu",r?.value)]),b=hD(a,u,o,c,y),w=Li(S=>{var E;(E=e.onKeydown)==null||E.call(e,S)},S=>{const{currentTarget:E,code:D,target:_}=S;if(E.contains(_),gn.tab===D&&S.stopImmediatePropagation(),S.preventDefault(),_!==C(a)||!GGe.includes(D))return;const O=d().filter(k=>!k.disabled).map(k=>k.ref);Jye.includes(D)&&O.reverse(),uW(O)});return{size:r,rovingFocusGroupRootStyle:f,tabIndex:p,dropdownKls:m,role:s,triggerId:l,dropdownListWrapperRef:b,handleKeydown:S=>{w(S),i(S)},onBlur:v,onFocus:h,onMousedown:g}}});function dKe(e,t,n,r,o,i){return L(),G("ul",{ref:e.dropdownListWrapperRef,class:oe(e.dropdownKls),style:rn(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:en(e.handleKeydown,["self"]),onMousedown:en(e.onMousedown,["self"])},[ht(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}var rbe=on(cKe,[["render",dKe],["__file","dropdown-menu.vue"]]);const fKe=or(tKe,{DropdownItem:nbe,DropdownMenu:rbe}),pKe=vi(nbe),hKe=vi(rbe),gKe=nt({name:"ImgEmpty"}),vKe=nt({...gKe,setup(e){const t=Vt("empty"),n=ps();return(r,o)=>(L(),G("svg",{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[x("defs",null,[x("linearGradient",{id:`linearGradient-1-${C(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[x("stop",{"stop-color":`var(${C(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),x("stop",{"stop-color":`var(${C(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),x("linearGradient",{id:`linearGradient-2-${C(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[x("stop",{"stop-color":`var(${C(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,["stop-color"]),x("stop",{"stop-color":`var(${C(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,["stop-color"])],8,["id"]),x("rect",{id:`path-3-${C(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,["id"])]),x("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[x("g",{transform:"translate(-1268.000000, -535.000000)"},[x("g",{transform:"translate(1268.000000, 535.000000)"},[x("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${C(t).cssVarBlockName("fill-color-3")})`},null,8,["fill"]),x("polygon",{fill:`var(${C(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,["fill"]),x("g",{transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},[x("polygon",{fill:`var(${C(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,["fill"]),x("polygon",{fill:`var(${C(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,["fill"]),x("rect",{fill:`url(#linearGradient-1-${C(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,["fill"]),x("polygon",{fill:`var(${C(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,["fill"])]),x("rect",{fill:`url(#linearGradient-2-${C(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,["fill"]),x("g",{transform:"translate(53.000000, 45.000000)"},[x("use",{fill:`var(${C(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${C(n)}`},null,8,["fill","xlink:href"]),x("polygon",{fill:`var(${C(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${C(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,["fill","mask"])]),x("polygon",{fill:`var(${C(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,["fill"])])])])]))}});var mKe=on(vKe,[["__file","img-empty.vue"]]);const yKe=Jt({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),bKe=nt({name:"ElEmpty"}),wKe=nt({...bKe,props:yKe,setup(e){const t=e,{t:n}=Gr(),r=Vt("empty"),o=ee(()=>t.description||n("el.table.emptyText")),i=ee(()=>({width:_i(t.imageSize)}));return(a,s)=>(L(),G("div",{class:oe(C(r).b())},[x("div",{class:oe(C(r).e("image")),style:rn(C(i))},[a.image?(L(),G("img",{key:0,src:a.image,ondragstart:"return false"},null,8,["src"])):ht(a.$slots,"image",{key:1},()=>[He(mKe)])],6),x("div",{class:oe(C(r).e("description"))},[a.$slots.description?ht(a.$slots,"description",{key:0}):(L(),G("p",{key:1},je(C(o)),1))],2),a.$slots.default?(L(),G("div",{key:0,class:oe(C(r).e("bottom"))},[ht(a.$slots,"default")],2)):xe("v-if",!0)],2))}});var AKe=on(wKe,[["__file","empty.vue"]]);const obe=or(AKe),CKe=Jt({size:{type:String,values:ef},disabled:Boolean}),xKe=Jt({...CKe,model:Object,rules:{type:ct(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:ct([Object,Boolean]),default:!0}}),SKe={validate:(e,t,n)=>(Zt(e)||In(e))&&Eo(t)&&In(n)};function EKe(){const e=K([]),t=ee(()=>{if(!e.value.length)return"0";const i=Math.max(...e.value);return i?`${i}px`:""});function n(i){const a=e.value.indexOf(i);return a===-1&&t.value,a}function r(i,a){if(i&&a){const s=n(a);e.value.splice(s,1,i)}else i&&e.value.push(i)}function o(i){const a=n(i);a>-1&&e.value.splice(a,1)}return{autoLabelWidth:t,registerLabelWidth:r,deregisterLabelWidth:o}}const Ex=(e,t)=>{const n=Ya(t).map(r=>Zt(r)?r.join("."):r);return n.length>0?e.filter(r=>r.propString&&n.includes(r.propString)):e},kKe="ElForm",TKe=nt({name:kKe}),_Ke=nt({...TKe,props:xKe,emits:SKe,setup(e,{expose:t,emit:n}){const r=e,o=K(),i=Wr([]),a=ha(),s=Vt("form"),l=ee(()=>{const{labelPosition:w,inline:A}=r;return[s.b(),s.m(a.value||"default"),{[s.m(`label-${w}`)]:w,[s.m("inline")]:A}]}),u=w=>Ex(i,[w])[0],d=w=>{i.push(w)},c=w=>{w.prop&&i.splice(i.indexOf(w),1)},f=(w=[])=>{r.model&&Ex(i,w).forEach(A=>A.resetField())},p=(w=[])=>{Ex(i,w).forEach(A=>A.clearValidate())},v=ee(()=>!!r.model),h=w=>{if(i.length===0)return[];const A=Ex(i,w);return A.length?A:[]},g=async w=>m(void 0,w),y=async(w=[])=>{if(!v.value)return!1;const A=h(w);if(A.length===0)return!0;let S={};for(const E of A)try{await E.validate(""),E.validateState==="error"&&!E.error&&E.resetField()}catch(D){S={...S,...D}}return Object.keys(S).length===0?!0:Promise.reject(S)},m=async(w=[],A)=>{let S=!1;const E=!Rn(A);try{return S=await y(w),S===!0&&await A?.(S),S}catch(D){if(D instanceof Error)throw D;const _=D;if(r.scrollToError&&o.value){const M=o.value.querySelector(`.${s.b()}-item.is-error`);M?.scrollIntoView(r.scrollIntoViewOptions)}return!S&&await A?.(!1,_),E&&Promise.reject(_)}},b=w=>{var A;const S=u(w);S&&((A=S.$el)==null||A.scrollIntoView(r.scrollIntoViewOptions))};return St(()=>r.rules,()=>{r.validateOnRuleChange&&g().catch(w=>void 0)},{deep:!0,flush:"post"}),_r(um,Wr({...Oa(r),emit:n,resetFields:f,clearValidate:p,validateField:m,getField:u,addField:d,removeField:c,...EKe()})),t({validate:g,validateField:m,resetFields:f,clearValidate:p,scrollToField:b,getField:u,fields:i}),(w,A)=>(L(),G("form",{ref_key:"formRef",ref:o,class:oe(C(l))},[ht(w.$slots,"default")],2))}});var DKe=on(_Ke,[["__file","form.vue"]]);function zg(){return zg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function LS(e,t,n){return OKe()?LS=Reflect.construct.bind():LS=function(o,i,a){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(o,s),u=new l;return a&&oA(u,a.prototype),u},LS.apply(null,arguments)}function MKe(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function RL(e){var t=typeof Map=="function"?new Map:void 0;return RL=function(r){if(r===null||!MKe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,o)}function o(){return LS(r,arguments,NL(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),oA(o,r)},RL(e)}var PKe=/%[sdj%]/g,NKe=function(){};function BL(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function cu(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return s;switch(s){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch{return"[Circular]"}break;default:return s}});return a}return e}function RKe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function ts(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||RKe(t)&&typeof e=="string"&&!e)}function BKe(e,t,n){var r=[],o=0,i=e.length;function a(s){r.push.apply(r,s||[]),o++,o===i&&n(r)}e.forEach(function(s){t(s,a)})}function tee(e,t,n){var r=0,o=e.length;function i(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},x4={integer:function(t){return x4.number(t)&&parseInt(t,10)===t},float:function(t){return x4.number(t)&&!x4.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!x4.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(iee.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(jKe())},hex:function(t){return typeof t=="string"&&!!t.match(iee.hex)}},HKe=function(t,n,r,o,i){if(t.required&&n===void 0){ibe(t,n,r,o,i);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?x4[s](n)||o.push(cu(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(cu(i.messages.types[s],t.fullField,t.type))},WKe=function(t,n,r,o,i){var a=typeof t.len=="number",s=typeof t.min=="number",l=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=n,c=null,f=typeof n=="number",p=typeof n=="string",v=Array.isArray(n);if(f?c="number":p?c="string":v&&(c="array"),!c)return!1;v&&(d=n.length),p&&(d=n.replace(u,"_").length),a?d!==t.len&&o.push(cu(i.messages[c].len,t.fullField,t.len)):s&&!l&&dt.max?o.push(cu(i.messages[c].max,t.fullField,t.max)):s&&l&&(dt.max)&&o.push(cu(i.messages[c].range,t.fullField,t.min,t.max))},Fm="enum",VKe=function(t,n,r,o,i){t[Fm]=Array.isArray(t[Fm])?t[Fm]:[],t[Fm].indexOf(n)===-1&&o.push(cu(i.messages[Fm],t.fullField,t[Fm].join(", ")))},qKe=function(t,n,r,o,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||o.push(cu(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(n)||o.push(cu(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},Ho={required:ibe,whitespace:$Ke,type:HKe,range:WKe,enum:VKe,pattern:qKe},GKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n,"string")&&!t.required)return r();Ho.required(t,n,o,a,i,"string"),ts(n,"string")||(Ho.type(t,n,o,a,i),Ho.range(t,n,o,a,i),Ho.pattern(t,n,o,a,i),t.whitespace===!0&&Ho.whitespace(t,n,o,a,i))}r(a)},KKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&Ho.type(t,n,o,a,i)}r(a)},YKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&(Ho.type(t,n,o,a,i),Ho.range(t,n,o,a,i))}r(a)},QKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&Ho.type(t,n,o,a,i)}r(a)},ZKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),ts(n)||Ho.type(t,n,o,a,i)}r(a)},XKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&(Ho.type(t,n,o,a,i),Ho.range(t,n,o,a,i))}r(a)},JKe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&(Ho.type(t,n,o,a,i),Ho.range(t,n,o,a,i))}r(a)},eYe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();Ho.required(t,n,o,a,i,"array"),n!=null&&(Ho.type(t,n,o,a,i),Ho.range(t,n,o,a,i))}r(a)},tYe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&Ho.type(t,n,o,a,i)}r(a)},nYe="enum",rYe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i),n!==void 0&&Ho[nYe](t,n,o,a,i)}r(a)},oYe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n,"string")&&!t.required)return r();Ho.required(t,n,o,a,i),ts(n,"string")||Ho.pattern(t,n,o,a,i)}r(a)},iYe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n,"date")&&!t.required)return r();if(Ho.required(t,n,o,a,i),!ts(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),Ho.type(t,l,o,a,i),l&&Ho.range(t,l.getTime(),o,a,i)}}r(a)},aYe=function(t,n,r,o,i){var a=[],s=Array.isArray(n)?"array":typeof n;Ho.required(t,n,o,a,i,s),r(a)},SI=function(t,n,r,o,i){var a=t.type,s=[],l=t.required||!t.required&&o.hasOwnProperty(t.field);if(l){if(ts(n,a)&&!t.required)return r();Ho.required(t,n,o,s,i,a),ts(n,a)||Ho.type(t,n,o,s,i)}r(s)},sYe=function(t,n,r,o,i){var a=[],s=t.required||!t.required&&o.hasOwnProperty(t.field);if(s){if(ts(n)&&!t.required)return r();Ho.required(t,n,o,a,i)}r(a)},o3={string:GKe,method:KKe,number:YKe,boolean:QKe,regexp:ZKe,integer:XKe,float:JKe,array:eYe,object:tYe,enum:rYe,pattern:oYe,date:iYe,url:SI,hex:SI,email:SI,required:aYe,any:sYe};function LL(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var FL=LL(),j5=(function(){function e(n){this.rules=null,this._messages=FL,this.define(n)}var t=e.prototype;return t.define=function(r){var o=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var a=r[i];o.rules[i]=Array.isArray(a)?a:[a]})},t.messages=function(r){return r&&(this._messages=oee(LL(),r)),this._messages},t.validate=function(r,o,i){var a=this;o===void 0&&(o={}),i===void 0&&(i=function(){});var s=r,l=o,u=i;if(typeof l=="function"&&(u=l,l={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,s),Promise.resolve(s);function d(h){var g=[],y={};function m(w){if(Array.isArray(w)){var A;g=(A=g).concat.apply(A,w)}else g.push(w)}for(var b=0;b");const o=Vt("form"),i=K(),a=K(0),s=()=>{var d;if((d=i.value)!=null&&d.firstElementChild){const c=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(c))}else return 0},l=(d="update")=>{Yt(()=>{t.default&&e.isAutoWidth&&(d==="update"?a.value=s():d==="remove"&&n?.deregisterLabelWidth(a.value))})},u=()=>l("update");return qn(()=>{u()}),Jr(()=>{l("remove")}),Qc(()=>u()),St(a,(d,c)=>{e.updateAll&&n?.registerLabelWidth(d,c)}),li(ee(()=>{var d,c;return(c=(d=i.value)==null?void 0:d.firstElementChild)!=null?c:null}),u),()=>{var d,c;if(!t)return null;const{isAutoWidth:f}=e;if(f){const p=n?.autoLabelWidth,v=r?.hasLabel,h={};if(v&&p&&p!=="auto"){const g=Math.max(0,Number.parseInt(p,10)-a.value),m=(r.labelPosition||n.labelPosition)==="left"?"marginRight":"marginLeft";g&&(h[m]=`${g}px`)}return He("div",{ref:i,class:[o.be("item","label-wrap")],style:h},[(d=t.default)==null?void 0:d.call(t)])}else return He(Rt,{ref:i},[(c=t.default)==null?void 0:c.call(t)])}}});const dYe=nt({name:"ElFormItem"}),fYe=nt({...dYe,props:uYe,setup(e,{expose:t}){const n=e,r=ga(),o=dn(um,void 0),i=dn(Hd,void 0),a=ha(void 0,{formItem:!1}),s=Vt("form-item"),l=ps().value,u=K([]),d=K(""),c=jRe(d,100),f=K(""),p=K();let v,h=!1;const g=ee(()=>n.labelPosition||o?.labelPosition),y=ee(()=>{if(g.value==="top")return{};const le=_i(n.labelWidth||o?.labelWidth||"");return le?{width:le}:{}}),m=ee(()=>{if(g.value==="top"||o?.inline)return{};if(!n.label&&!n.labelWidth&&M)return{};const le=_i(n.labelWidth||o?.labelWidth||"");return!n.label&&!r.label?{marginLeft:le}:{}}),b=ee(()=>[s.b(),s.m(a.value),s.is("error",d.value==="error"),s.is("validating",d.value==="validating"),s.is("success",d.value==="success"),s.is("required",W.value||n.required),s.is("no-asterisk",o?.hideRequiredAsterisk),o?.requireAsteriskPosition==="right"?"asterisk-right":"asterisk-left",{[s.m("feedback")]:o?.statusIcon,[s.m(`label-${g.value}`)]:g.value}]),w=ee(()=>Eo(n.inlineMessage)?n.inlineMessage:o?.inlineMessage||!1),A=ee(()=>[s.e("error"),{[s.em("error","inline")]:w.value}]),S=ee(()=>n.prop?Zt(n.prop)?n.prop.join("."):n.prop:""),E=ee(()=>!!(n.label||r.label)),D=ee(()=>{var le;return(le=n.for)!=null?le:u.value.length===1?u.value[0]:void 0}),_=ee(()=>!D.value&&E.value),M=!!i,O=ee(()=>{const le=o?.model;if(!(!le||!n.prop))return t3(le,n.prop).value}),k=ee(()=>{const{required:le}=n,ve=[];n.rules&&ve.push(...Ya(n.rules));const Pe=o?.rules;if(Pe&&n.prop){const Ae=t3(Pe,n.prop).value;Ae&&ve.push(...Ya(Ae))}if(le!==void 0){const Ae=ve.map((he,Ee)=>[he,Ee]).filter(([he])=>Object.keys(he).includes("required"));if(Ae.length>0)for(const[he,Ee]of Ae)he.required!==le&&(ve[Ee]={...he,required:le});else ve.push({required:le})}return ve}),R=ee(()=>k.value.length>0),N=le=>k.value.filter(Pe=>!Pe.trigger||!le?!0:Zt(Pe.trigger)?Pe.trigger.includes(le):Pe.trigger===le).map(({trigger:Pe,...Ae})=>Ae),W=ee(()=>k.value.some(le=>le.required)),B=ee(()=>{var le;return c.value==="error"&&n.showMessage&&((le=o?.showMessage)!=null?le:!0)}),z=ee(()=>`${n.label||""}${o?.labelSuffix||""}`),j=le=>{d.value=le},q=le=>{var ve,Pe;const{errors:Ae,fields:he}=le;(!Ae||!he)&&console.error(le),j("error"),f.value=Ae?(Pe=(ve=Ae?.[0])==null?void 0:ve.message)!=null?Pe:`${n.prop} is required`:"",o?.emit("validate",n.prop,!1,f.value)},Y=()=>{j("success"),o?.emit("validate",n.prop,!0,"")},U=async le=>{const ve=S.value;return new j5({[ve]:le}).validate({[ve]:O.value},{firstFields:!0}).then(()=>(Y(),!0)).catch(Ae=>(q(Ae),Promise.reject(Ae)))},F=async(le,ve)=>{if(h||!n.prop)return!1;const Pe=Rn(ve);if(!R.value)return ve?.(!1),!1;const Ae=N(le);return Ae.length===0?(ve?.(!0),!0):(j("validating"),U(Ae).then(()=>(ve?.(!0),!0)).catch(he=>{const{fields:Ee}=he;return ve?.(!1,Ee),Pe?!1:Promise.reject(Ee)}))},H=()=>{j(""),f.value="",h=!1},re=async()=>{const le=o?.model;if(!le||!n.prop)return;const ve=t3(le,n.prop);h=!0,ve.value=IX(v),await Yt(),H(),h=!1},X=le=>{u.value.includes(le)||u.value.push(le)},te=le=>{u.value=u.value.filter(ve=>ve!==le)};St(()=>n.error,le=>{f.value=le||"",j(le?"error":"")},{immediate:!0}),St(()=>n.validateStatus,le=>j(le||""));const Z=Wr({...Oa(n),$el:p,size:a,validateMessage:f,validateState:d,labelId:l,inputIds:u,isGroup:_,hasLabel:E,fieldValue:O,addInputId:X,removeInputId:te,resetField:re,clearValidate:H,validate:F,propString:S});return _r(Hd,Z),qn(()=>{n.prop&&(o?.addField(Z),v=IX(O.value))}),Jr(()=>{o?.removeField(Z)}),t({size:a,validateMessage:f,validateState:d,validate:F,clearValidate:H,resetField:re}),(le,ve)=>{var Pe;return L(),G("div",{ref_key:"formItemRef",ref:p,class:oe(C(b)),role:C(_)?"group":void 0,"aria-labelledby":C(_)?C(l):void 0},[He(C(cYe),{"is-auto-width":C(y).width==="auto","update-all":((Pe=C(o))==null?void 0:Pe.labelWidth)==="auto"},{default:rt(()=>[C(E)?(L(),yt(mr(C(D)?"label":"div"),{key:0,id:C(l),for:C(D),class:oe(C(s).e("label")),style:rn(C(y))},{default:rt(()=>[ht(le.$slots,"label",{label:C(z)},()=>[bn(je(C(z)),1)])]),_:3},8,["id","for","class","style"])):xe("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),x("div",{class:oe(C(s).e("content")),style:rn(C(m))},[ht(le.$slots,"default"),He(Qge,{name:`${C(s).namespace.value}-zoom-in-top`},{default:rt(()=>[C(B)?ht(le.$slots,"error",{key:0,error:f.value},()=>[x("div",{class:oe(C(A))},je(f.value),3)]):xe("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var abe=on(fYe,[["__file","form-item.vue"]]);const pYe=or(DKe,{FormItem:abe}),hYe=vi(abe),gYe=Jt({urlList:{type:ct(Array),default:()=>fi([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:ct(String)}}),vYe={close:()=>!0,switch:e=>$n(e),rotate:e=>$n(e)},mYe=nt({name:"ElImageViewer"}),yYe=nt({...mYe,props:gYe,emits:vYe,setup(e,{expose:t,emit:n}){var r;const o=e,i={CONTAIN:{name:"contain",icon:Rd(lLe)},ORIGINAL:{name:"original",icon:Rd(DLe)}};let a,s="";const{t:l}=Gr(),u=Vt("image-viewer"),{nextZIndex:d}=Fb(),c=K(),f=K([]),p=B0e(),v=K(!0),h=K(o.initialIndex),g=jo(i.CONTAIN),y=K({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),m=K((r=o.zIndex)!=null?r:d()),b=ee(()=>{const{urlList:te}=o;return te.length<=1}),w=ee(()=>h.value===0),A=ee(()=>h.value===o.urlList.length-1),S=ee(()=>o.urlList[h.value]),E=ee(()=>[u.e("btn"),u.e("prev"),u.is("disabled",!o.infinite&&w.value)]),D=ee(()=>[u.e("btn"),u.e("next"),u.is("disabled",!o.infinite&&A.value)]),_=ee(()=>{const{scale:te,deg:Z,offsetX:le,offsetY:ve,enableTransition:Pe}=y.value;let Ae=le/te,he=ve/te;const Ee=Z*Math.PI/180,Q=Math.cos(Ee),me=Math.sin(Ee);Ae=Ae*Q+he*me,he=he*Q-le/te*me;const De={transform:`scale(${te}) rotate(${Z}deg) translate(${Ae}px, ${he}px)`,transition:Pe?"transform .3s":""};return g.value.name===i.CONTAIN.name&&(De.maxWidth=De.maxHeight="100%"),De}),M=ee(()=>`${h.value+1} / ${o.urlList.length}`);function O(){R(),a?.(),document.body.style.overflow=s,n("close")}function k(){const te=Zg(le=>{switch(le.code){case gn.esc:o.closeOnPressEscape&&O();break;case gn.space:j();break;case gn.left:Y();break;case gn.up:F("zoomIn");break;case gn.right:U();break;case gn.down:F("zoomOut");break}}),Z=Zg(le=>{const ve=le.deltaY||le.deltaX;F(ve<0?"zoomIn":"zoomOut",{zoomRate:o.zoomRate,enableTransition:!1})});p.run(()=>{Ro(document,"keydown",te),Ro(document,"wheel",Z)})}function R(){p.stop()}function N(){v.value=!1}function W(te){v.value=!1,te.target.alt=l("el.image.error")}function B(te){if(v.value||te.button!==0||!c.value)return;y.value.enableTransition=!1;const{offsetX:Z,offsetY:le}=y.value,ve=te.pageX,Pe=te.pageY,Ae=Zg(Ee=>{y.value={...y.value,offsetX:Z+Ee.pageX-ve,offsetY:le+Ee.pageY-Pe}}),he=Ro(document,"mousemove",Ae);Ro(document,"mouseup",()=>{he()}),te.preventDefault()}function z(){y.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function j(){if(v.value)return;const te=My(i),Z=Object.values(i),le=g.value.name,Pe=(Z.findIndex(Ae=>Ae.name===le)+1)%te.length;g.value=i[te[Pe]],z()}function q(te){const Z=o.urlList.length;h.value=(te+Z)%Z}function Y(){w.value&&!o.infinite||q(h.value-1)}function U(){A.value&&!o.infinite||q(h.value+1)}function F(te,Z={}){if(v.value)return;const{minScale:le,maxScale:ve}=o,{zoomRate:Pe,rotateDeg:Ae,enableTransition:he}={zoomRate:o.zoomRate,rotateDeg:90,enableTransition:!0,...Z};switch(te){case"zoomOut":y.value.scale>le&&(y.value.scale=Number.parseFloat((y.value.scale/Pe).toFixed(3)));break;case"zoomIn":y.value.scale0)return te.preventDefault(),!1}}return St(S,()=>{Yt(()=>{const te=f.value[0];te?.complete||(v.value=!0)})}),St(h,te=>{z(),n("switch",te)}),qn(()=>{k(),a=Ro("wheel",X,{passive:!1}),s=document.body.style.overflow,document.body.style.overflow="hidden"}),t({setActiveItem:q}),(te,Z)=>(L(),yt(C(jb),{to:"body",disabled:!te.teleported},{default:rt(()=>[He(Ki,{name:"viewer-fade",appear:""},{default:rt(()=>[x("div",{ref_key:"wrapper",ref:c,tabindex:-1,class:oe(C(u).e("wrapper")),style:rn({zIndex:m.value})},[He(C($b),{loop:"",trapped:"","focus-trap-el":c.value,"focus-start-el":"container",onFocusoutPrevented:H,onReleaseRequested:re},{default:rt(()=>[x("div",{class:oe(C(u).e("mask")),onClick:en(le=>te.hideOnClickModal&&O(),["self"])},null,10,["onClick"]),xe(" CLOSE "),x("span",{class:oe([C(u).e("btn"),C(u).e("close")]),onClick:O},[He(C(Dn),null,{default:rt(()=>[He(C(vu))]),_:1})],2),xe(" ARROW "),C(b)?xe("v-if",!0):(L(),G(Rt,{key:0},[x("span",{class:oe(C(E)),onClick:Y},[He(C(Dn),null,{default:rt(()=>[He(C(Jf))]),_:1})],2),x("span",{class:oe(C(D)),onClick:U},[He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})],2)],64)),te.$slots.progress||te.showProgress?(L(),G("div",{key:1,class:oe([C(u).e("btn"),C(u).e("progress")])},[ht(te.$slots,"progress",{activeIndex:h.value,total:te.urlList.length},()=>[bn(je(C(M)),1)])],2)):xe("v-if",!0),xe(" ACTIONS "),x("div",{class:oe([C(u).e("btn"),C(u).e("actions")])},[x("div",{class:oe(C(u).e("actions__inner"))},[ht(te.$slots,"toolbar",{actions:F,prev:Y,next:U,reset:j,activeIndex:h.value,setActiveItem:q},()=>[He(C(Dn),{onClick:le=>F("zoomOut")},{default:rt(()=>[He(C(WLe))]),_:1},8,["onClick"]),He(C(Dn),{onClick:le=>F("zoomIn")},{default:rt(()=>[He(C(s1e))]),_:1},8,["onClick"]),x("i",{class:oe(C(u).e("actions__divider"))},null,2),He(C(Dn),{onClick:j},{default:rt(()=>[(L(),yt(mr(C(g).icon)))]),_:1}),x("i",{class:oe(C(u).e("actions__divider"))},null,2),He(C(Dn),{onClick:le=>F("anticlockwise")},{default:rt(()=>[He(C(ELe))]),_:1},8,["onClick"]),He(C(Dn),{onClick:le=>F("clockwise")},{default:rt(()=>[He(C(TLe))]),_:1},8,["onClick"])])],2)],2),xe(" CANVAS "),x("div",{class:oe(C(u).e("canvas"))},[(L(!0),G(Rt,null,un(te.urlList,(le,ve)=>(L(),G(Rt,{key:ve},[ve===h.value?(L(),G("img",{key:0,ref_for:!0,ref:Pe=>f.value[ve]=Pe,src:le,style:rn(C(_)),class:oe(C(u).e("img")),crossorigin:te.crossorigin,onLoad:N,onError:W,onMousedown:B},null,46,["src","crossorigin"])):xe("v-if",!0)],64))),128))],2),ht(te.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});var bYe=on(yYe,[["__file","image-viewer.vue"]]);const sbe=or(bYe),wYe=Jt({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:ct([String,Object])},previewSrcList:{type:ct(Array),default:()=>fi([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:ct(String)}}),AYe={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>$n(e),close:()=>!0,show:()=>!0},CYe=nt({name:"ElImage",inheritAttrs:!1}),xYe=nt({...CYe,props:wYe,emits:AYe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Gr(),i=Vt("image"),a=yp(),s=ee(()=>Y3(Object.entries(a).filter(([B])=>/^(data-|on[A-Z])/i.test(B)||["id","style"].includes(B)))),l=aD({excludeListeners:!0,excludeKeys:ee(()=>Object.keys(s.value))}),u=K(),d=K(!1),c=K(!0),f=K(!1),p=K(),v=K(),h=Xr&&"loading"in HTMLImageElement.prototype;let g;const y=ee(()=>[i.e("inner"),b.value&&i.e("preview"),c.value&&i.is("loading")]),m=ee(()=>{const{fit:B}=r;return Xr&&B?{objectFit:B}:{}}),b=ee(()=>{const{previewSrcList:B}=r;return Zt(B)&&B.length>0}),w=ee(()=>{const{previewSrcList:B,initialIndex:z}=r;let j=z;return z>B.length-1&&(j=0),j}),A=ee(()=>r.loading==="eager"?!1:!h&&r.loading==="lazy"||r.lazy),S=()=>{Xr&&(c.value=!0,d.value=!1,u.value=r.src)};function E(B){c.value=!1,d.value=!1,n("load",B)}function D(B){c.value=!1,d.value=!0,n("error",B)}function _(B){B&&(S(),k())}const M=Lme(_,200,!0);async function O(){var B;if(!Xr)return;await Yt();const{scrollContainer:z}=r;if(cl(z))v.value=z;else if(In(z)&&z!=="")v.value=(B=document.querySelector(z))!=null?B:void 0;else if(p.value){const q=AH(p.value);v.value=N5(q)?void 0:q}const{stop:j}=XRe(p,([q])=>{M(q.isIntersecting)},{root:v});g=j}function k(){!Xr||!M||(g?.(),v.value=void 0,g=void 0)}function R(){b.value&&(f.value=!0,n("show"))}function N(){f.value=!1,n("close")}function W(B){n("switch",B)}return St(()=>r.src,()=>{A.value?(c.value=!0,d.value=!1,k(),O()):S()}),qn(()=>{A.value?O():S()}),t({showPreview:R}),(B,z)=>(L(),G("div",vr({ref_key:"container",ref:p},C(s),{class:[C(i).b(),B.$attrs.class]}),[d.value?ht(B.$slots,"error",{key:0},()=>[x("div",{class:oe(C(i).e("error"))},je(C(o)("el.image.error")),3)]):(L(),G(Rt,{key:1},[u.value!==void 0?(L(),G("img",vr({key:0},C(l),{src:u.value,loading:B.loading,style:C(m),class:C(y),crossorigin:B.crossorigin,onClick:R,onLoad:E,onError:D}),null,16,["src","loading","crossorigin"])):xe("v-if",!0),c.value?(L(),G("div",{key:1,class:oe(C(i).e("wrapper"))},[ht(B.$slots,"placeholder",{},()=>[x("div",{class:oe(C(i).e("placeholder"))},null,2)])],2)):xe("v-if",!0)],64)),C(b)?(L(),G(Rt,{key:2},[f.value?(L(),yt(C(sbe),{key:0,"z-index":B.zIndex,"initial-index":C(w),infinite:B.infinite,"zoom-rate":B.zoomRate,"min-scale":B.minScale,"max-scale":B.maxScale,"show-progress":B.showProgress,"url-list":B.previewSrcList,crossorigin:B.crossorigin,"hide-on-click-modal":B.hideOnClickModal,teleported:B.previewTeleported,"close-on-press-escape":B.closeOnPressEscape,onClose:N,onSwitch:W},Hl({toolbar:rt(j=>[ht(B.$slots,"toolbar",Il($d(j)))]),default:rt(()=>[B.$slots.viewer?(L(),G("div",{key:0},[ht(B.$slots,"viewer")])):xe("v-if",!0)]),_:2},[B.$slots.progress?{name:"progress",fn:rt(j=>[ht(B.$slots,"progress",Il($d(j)))])}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):xe("v-if",!0)],64)):xe("v-if",!0)],16))}});var SYe=on(xYe,[["__file","image.vue"]]);const EYe=or(SYe),kYe=Jt({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:Boolean,size:Aa,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||$n(e)||["min","max"].includes(e),default:null},name:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},..._s(["ariaLabel"]),inputmode:{type:ct(String),default:void 0},align:{type:ct(String),default:"center"},disabledScientific:Boolean}),TYe={[Pr]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[ba]:e=>$n(e)||ea(e),[Qn]:e=>$n(e)||ea(e)},_Ye=nt({name:"ElInputNumber"}),DYe=nt({..._Ye,props:kYe,emits:TYe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Gr(),i=Vt("input-number"),a=K(),s=Wr({currentValue:r.modelValue,userInput:null}),{formItem:l}=Ds(),u=ee(()=>$n(r.modelValue)&&r.modelValue<=r.min),d=ee(()=>$n(r.modelValue)&&r.modelValue>=r.max),c=ee(()=>{const B=y(r.step);return Vr(r.precision)?Math.max(y(r.modelValue),B):(B>r.precision,r.precision)}),f=ee(()=>r.controls&&r.controlsPosition==="right"),p=ha(),v=Va(),h=ee(()=>{if(s.userInput!==null)return s.userInput;let B=s.currentValue;if(ea(B))return"";if($n(B)){if(Number.isNaN(B))return"";Vr(r.precision)||(B=B.toFixed(r.precision))}return B}),g=(B,z)=>{if(Vr(z)&&(z=c.value),z===0)return Math.round(B);let j=String(B);const q=j.indexOf(".");if(q===-1||!j.replace(".","").split("")[q+z])return B;const F=j.length;return j.charAt(F-1)==="5"&&(j=`${j.slice(0,Math.max(0,F-1))}6`),Number.parseFloat(Number(j).toFixed(z))},y=B=>{if(ea(B))return 0;const z=B.toString(),j=z.indexOf(".");let q=0;return j!==-1&&(q=z.length-j-1),q},m=(B,z=1)=>$n(B)?B>=Number.MAX_SAFE_INTEGER&&z===1||B<=Number.MIN_SAFE_INTEGER&&z===-1?B:g(B+r.step*z):s.currentValue,b=B=>{var z;const j=B;if(r.disabledScientific&&["e","E"].includes(j.key)){j.preventDefault();return}const q={[gn.up]:()=>{j.preventDefault(),w()},[gn.down]:()=>{j.preventDefault(),A()}};(z=q[j.key])==null||z.call(q)},w=()=>{if(r.readonly||v.value||d.value)return;const B=Number(h.value)||0,z=m(B);E(z),n(ba,s.currentValue),N()},A=()=>{if(r.readonly||v.value||u.value)return;const B=Number(h.value)||0,z=m(B,-1);E(z),n(ba,s.currentValue),N()},S=(B,z)=>{const{max:j,min:q,step:Y,precision:U,stepStrictly:F,valueOnClear:H}=r;jj||rej?j:q,z&&n(Qn,re)),re},E=(B,z=!0)=>{var j;const q=s.currentValue,Y=S(B);if(!z){n(Qn,Y);return}q===Y&&B||(s.userInput=null,n(Qn,Y),q!==Y&&n(Pr,Y,q),r.validateEvent&&((j=l?.validate)==null||j.call(l,"change").catch(U=>void 0)),s.currentValue=Y)},D=B=>{s.userInput=B;const z=B===""?null:Number(B);n(ba,z),E(z,!1)},_=B=>{const z=B!==""?Number(B):"";($n(z)&&!Number.isNaN(z)||B==="")&&E(z),N(),s.userInput=null},M=()=>{var B,z;(z=(B=a.value)==null?void 0:B.focus)==null||z.call(B)},O=()=>{var B,z;(z=(B=a.value)==null?void 0:B.blur)==null||z.call(B)},k=B=>{n("focus",B)},R=B=>{var z,j;s.userInput=null,s.currentValue===null&&((z=a.value)!=null&&z.input)&&(a.value.input.value=""),n("blur",B),r.validateEvent&&((j=l?.validate)==null||j.call(l,"blur").catch(q=>void 0))},N=()=>{s.currentValue!==r.modelValue&&(s.currentValue=r.modelValue)},W=B=>{document.activeElement===B.target&&B.preventDefault()};return St(()=>r.modelValue,(B,z)=>{const j=S(B,!0);s.userInput===null&&j!==z&&(s.currentValue=j)},{immediate:!0}),St(()=>r.precision,()=>{s.currentValue=S(r.modelValue)}),qn(()=>{var B;const{min:z,max:j,modelValue:q}=r,Y=(B=a.value)==null?void 0:B.input;if(Y.setAttribute("role","spinbutton"),Number.isFinite(j)?Y.setAttribute("aria-valuemax",String(j)):Y.removeAttribute("aria-valuemax"),Number.isFinite(z)?Y.setAttribute("aria-valuemin",String(z)):Y.removeAttribute("aria-valuemin"),Y.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),Y.setAttribute("aria-disabled",String(v.value)),!$n(q)&&q!=null){let U=Number(q);Number.isNaN(U)&&(U=null),n(Qn,U)}Y.addEventListener("wheel",W,{passive:!1})}),Qc(()=>{var B,z;const j=(B=a.value)==null?void 0:B.input;j?.setAttribute("aria-valuenow",`${(z=s.currentValue)!=null?z:""}`)}),t({focus:M,blur:O}),(B,z)=>(L(),G("div",{class:oe([C(i).b(),C(i).m(C(p)),C(i).is("disabled",C(v)),C(i).is("without-controls",!B.controls),C(i).is("controls-right",C(f)),C(i).is(B.align,!!B.align)]),onDragstart:en(()=>{},["prevent"])},[B.controls?cn((L(),G("span",{key:0,role:"button","aria-label":C(o)("el.inputNumber.decrease"),class:oe([C(i).e("decrease"),C(i).is("disabled",C(u))]),onKeydown:$r(A,["enter"])},[ht(B.$slots,"decrease-icon",{},()=>[He(C(Dn),null,{default:rt(()=>[C(f)?(L(),yt(C(ed),{key:0})):(L(),yt(C(gLe),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[C(SE),A]]):xe("v-if",!0),B.controls?cn((L(),G("span",{key:1,role:"button","aria-label":C(o)("el.inputNumber.increase"),class:oe([C(i).e("increase"),C(i).is("disabled",C(d))]),onKeydown:$r(w,["enter"])},[ht(B.$slots,"increase-icon",{},()=>[He(C(Dn),null,{default:rt(()=>[C(f)?(L(),yt(C(oD),{key:0})):(L(),yt(C(o1e),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[C(SE),w]]):xe("v-if",!0),He(C(js),{id:B.id,ref_key:"input",ref:a,type:"number",step:B.step,"model-value":C(h),placeholder:B.placeholder,readonly:B.readonly,disabled:C(v),size:C(p),max:B.max,min:B.min,name:B.name,"aria-label":B.ariaLabel,"validate-event":!1,inputmode:B.inputmode,onKeydown:b,onBlur:R,onFocus:k,onInput:D,onChange:_},Hl({_:2},[B.$slots.prefix?{name:"prefix",fn:rt(()=>[ht(B.$slots,"prefix")])}:void 0,B.$slots.suffix?{name:"suffix",fn:rt(()=>[ht(B.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],42,["onDragstart"]))}});var IYe=on(DYe,[["__file","input-number.vue"]]);const lbe=or(IYe),OYe=Jt({modelValue:{type:ct(Array)},max:Number,tagType:{...tp.type,default:"info"},tagEffect:tp.effect,trigger:{type:ct(String),default:gn.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:Aa,clearable:Boolean,clearIcon:{type:wo,default:tf},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:String,default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),MYe={[Qn]:e=>Zt(e)||Vr(e),[Pr]:e=>Zt(e)||Vr(e),[ba]:e=>In(e),"add-tag":e=>In(e)||Zt(e),"remove-tag":e=>In(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function PYe({props:e,emit:t,formItem:n}){const r=Va(),o=ha(),i=jo(),a=K(),s=K(),l=ee(()=>["small"].includes(o.value)?"small":"default"),u=ee(()=>{var N;return(N=e.modelValue)!=null&&N.length?void 0:e.placeholder}),d=ee(()=>!(e.readonly||r.value)),c=ee(()=>{var N,W;return Vr(e.max)?!1:((W=(N=e.modelValue)==null?void 0:N.length)!=null?W:0)>=e.max}),f=ee(()=>{var N;return e.collapseTags?(N=e.modelValue)==null?void 0:N.slice(0,e.maxCollapseTags):e.modelValue}),p=ee(()=>{var N;return e.collapseTags?(N=e.modelValue)==null?void 0:N.slice(e.maxCollapseTags):[]}),v=N=>{var W;const B=[...(W=e.modelValue)!=null?W:[],...Ya(N)];t(Qn,B),t(Pr,B),t("add-tag",N),a.value=void 0},h=N=>{var W,B;const z=N.split(e.delimiter).filter(j=>j&&j!==N);if(e.max){const j=e.max-((B=(W=e.modelValue)==null?void 0:W.length)!=null?B:0);z.splice(j)}return z.length===1?z[0]:z},g=N=>{if(c.value){a.value=void 0;return}if(!M.value){if(e.delimiter&&a.value){const W=h(a.value);W.length&&v(W)}t(ba,N.target.value)}},y=N=>{var W;if(!M.value)switch(N.code){case e.trigger:N.preventDefault(),N.stopPropagation(),m();break;case gn.numpadEnter:e.trigger===gn.enter&&(N.preventDefault(),N.stopPropagation(),m());break;case gn.backspace:!a.value&&((W=e.modelValue)!=null&&W.length)&&(N.preventDefault(),N.stopPropagation(),b(e.modelValue.length-1));break}},m=()=>{var N;const W=(N=a.value)==null?void 0:N.trim();!W||c.value||v(W)},b=N=>{var W;const B=((W=e.modelValue)!=null?W:[]).slice(),[z]=B.splice(N,1);t(Qn,B),t(Pr,B),t("remove-tag",z)},w=()=>{a.value=void 0,t(Qn,void 0),t(Pr,void 0),t("clear")},A=(N,W,B)=>{var z;const j=((z=e.modelValue)!=null?z:[]).slice(),[q]=j.splice(N,1),Y=W>N&&B==="before"?-1:W{var N;(N=i.value)==null||N.focus()},E=()=>{var N;(N=i.value)==null||N.blur()},{wrapperRef:D,isFocused:_}=Ap(i,{disabled:r,beforeBlur(N){var W;return(W=s.value)==null?void 0:W.isFocusInsideContent(N)},afterBlur(){var N;e.saveOnBlur?m():a.value=void 0,e.validateEvent&&((N=n?.validate)==null||N.call(n,"blur").catch(W=>void 0))}}),{isComposing:M,handleCompositionStart:O,handleCompositionUpdate:k,handleCompositionEnd:R}=F5({afterComposition:g});return St(()=>e.modelValue,()=>{var N;e.validateEvent&&((N=n?.validate)==null||N.call(n,Pr).catch(W=>void 0))}),{inputRef:i,wrapperRef:D,tagTooltipRef:s,isFocused:_,isComposing:M,inputValue:a,size:o,tagSize:l,placeholder:u,closable:d,disabled:r,inputLimit:c,showTagList:f,collapseTagList:p,handleDragged:A,handleInput:g,handleKeydown:y,handleAddTag:m,handleRemoveTag:b,handleClear:w,handleCompositionStart:O,handleCompositionUpdate:k,handleCompositionEnd:R,focus:S,blur:E}}function NYe(){const e=K(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}const cW=11;function dW(){const e=jo(),t=K(0),n=ee(()=>({minWidth:`${Math.max(t.value,cW)}px`}));return li(e,()=>{var o,i;t.value=(i=(o=e.value)==null?void 0:o.getBoundingClientRect().width)!=null?i:0}),{calculatorRef:e,calculatorWidth:t,inputStyle:n}}function RYe({wrapperRef:e,handleDragged:t,afterDragged:n}){const r=Vt("input-tag"),o=jo(),i=K(!1);let a,s,l,u;function d(v){return`.${r.e("inner")} .${r.namespace.value}-tag:nth-child(${v+1})`}function c(v,h){a=h,s=e.value.querySelector(d(h)),s&&(s.style.opacity="0.5"),v.dataTransfer.effectAllowed="move"}function f(v,h){if(l=h,v.preventDefault(),v.dataTransfer.dropEffect="move",Vr(a)||a===h){i.value=!1;return}const g=e.value.querySelector(d(h)).getBoundingClientRect(),y=a+1!==h,m=a-1!==h,b=v.clientX-g.left,w=y?m?.5:1:-1,A=m?y?.5:0:1;b<=g.width*w?u="before":b>g.width*A?u="after":u=void 0;const S=e.value.querySelector(`.${r.e("inner")}`),E=S.getBoundingClientRect(),D=Number.parseFloat(Mf(S,"gap"))/2,_=g.top-E.top;let M=-9999;if(u==="before")M=Math.max(g.left-E.left-D,Math.floor(-D/2));else if(u==="after"){const O=g.right-E.left;M=O+(E.width===O?Math.floor(D/2):D)}Yme(o.value,{top:`${_}px`,left:`${M}px`}),i.value=!!u}function p(v){v.preventDefault(),s&&(s.style.opacity=""),u&&!Vr(a)&&!Vr(l)&&a!==l&&t(a,l,u),i.value=!1,a=void 0,s=null,l=void 0,u=void 0,n?.()}return{dropIndicatorRef:o,showDropIndicator:i,handleDragStart:c,handleDragOver:f,handleDragEnd:p}}function BYe({props:e,isFocused:t,hovering:n,disabled:r,inputValue:o,size:i,validateState:a,validateIcon:s,needStatusIcon:l}){const u=yp(),d=ga(),c=Vt("input-tag"),f=Vt("input"),p=ee(()=>[c.b(),c.is("focused",t.value),c.is("hovering",n.value),c.is("disabled",r.value),c.m(i.value),c.e("wrapper"),u.class]),v=ee(()=>[u.style]),h=ee(()=>{var m,b;return[c.e("inner"),c.is("draggable",e.draggable),c.is("left-space",!((m=e.modelValue)!=null&&m.length)&&!d.prefix),c.is("right-space",!((b=e.modelValue)!=null&&b.length)&&!y.value)]}),g=ee(()=>{var m;return e.clearable&&!r.value&&!e.readonly&&(((m=e.modelValue)==null?void 0:m.length)||o.value)&&(t.value||n.value)}),y=ee(()=>d.suffix||g.value||a.value&&s.value&&l.value);return{ns:c,nsInput:f,containerKls:p,containerStyle:v,innerKls:h,showClear:g,showSuffix:y}}const LYe=nt({name:"ElInputTag",inheritAttrs:!1}),FYe=nt({...LYe,props:OYe,emits:MYe,setup(e,{expose:t,emit:n}){const r=e,o=aD(),i=ga(),{form:a,formItem:s}=Ds(),{inputId:l}=fc(r,{formItemContext:s}),u=ee(()=>{var me;return(me=a?.statusIcon)!=null?me:!1}),d=ee(()=>s?.validateState||""),c=ee(()=>d.value&&iD[d.value]),{inputRef:f,wrapperRef:p,tagTooltipRef:v,isFocused:h,inputValue:g,size:y,tagSize:m,placeholder:b,closable:w,disabled:A,showTagList:S,collapseTagList:E,handleDragged:D,handleInput:_,handleKeydown:M,handleRemoveTag:O,handleClear:k,handleCompositionStart:R,handleCompositionUpdate:N,handleCompositionEnd:W,focus:B,blur:z}=PYe({props:r,emit:n,formItem:s}),{hovering:j,handleMouseEnter:q,handleMouseLeave:Y}=NYe(),{calculatorRef:U,inputStyle:F}=dW(),{dropIndicatorRef:H,showDropIndicator:re,handleDragStart:X,handleDragOver:te,handleDragEnd:Z}=RYe({wrapperRef:p,handleDragged:D,afterDragged:B}),{ns:le,nsInput:ve,containerKls:Pe,containerStyle:Ae,innerKls:he,showClear:Ee,showSuffix:Q}=BYe({props:r,hovering:j,isFocused:h,inputValue:g,disabled:A,size:y,validateState:d,validateIcon:c,needStatusIcon:u});return t({focus:B,blur:z}),(me,De)=>(L(),G("div",{ref_key:"wrapperRef",ref:p,class:oe(C(Pe)),style:rn(C(Ae)),onMouseenter:C(q),onMouseleave:C(Y)},[C(i).prefix?(L(),G("div",{key:0,class:oe(C(le).e("prefix"))},[ht(me.$slots,"prefix")],2)):xe("v-if",!0),x("div",{class:oe(C(he))},[(L(!0),G(Rt,null,un(C(S),(pe,ie)=>(L(),yt(C(Nh),{key:ie,size:C(m),closable:C(w),type:me.tagType,effect:me.tagEffect,draggable:C(w)&&me.draggable,"disable-transitions":"",onClose:ue=>C(O)(ie),onDragstart:ue=>C(X)(ue,ie),onDragover:ue=>C(te)(ue,ie),onDragend:C(Z),onDrop:en(()=>{},["stop"])},{default:rt(()=>[ht(me.$slots,"tag",{value:pe,index:ie},()=>[bn(je(pe),1)])]),_:2},1032,["size","closable","type","effect","draggable","onClose","onDragstart","onDragover","onDragend","onDrop"]))),128)),me.collapseTags&&me.modelValue&&me.modelValue.length>me.maxCollapseTags?(L(),yt(C(hs),{key:0,ref_key:"tagTooltipRef",ref:v,disabled:!me.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:me.tagEffect,placement:"bottom"},{default:rt(()=>[He(C(Nh),{closable:!1,size:C(m),type:me.tagType,effect:me.tagEffect,"disable-transitions":""},{default:rt(()=>[bn(" + "+je(me.modelValue.length-me.maxCollapseTags),1)]),_:1},8,["size","type","effect"])]),content:rt(()=>[x("div",{class:oe(C(le).e("input-tag-list"))},[(L(!0),G(Rt,null,un(C(E),(pe,ie)=>(L(),yt(C(Nh),{key:ie,size:C(m),closable:C(w),type:me.tagType,effect:me.tagEffect,"disable-transitions":"",onClose:ue=>C(O)(ie+me.maxCollapseTags)},{default:rt(()=>[ht(me.$slots,"tag",{value:pe,index:ie+me.maxCollapseTags},()=>[bn(je(pe),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):xe("v-if",!0),x("div",{class:oe(C(le).e("input-wrapper"))},[cn(x("input",vr({id:C(l),ref_key:"inputRef",ref:f,"onUpdate:modelValue":pe=>Uo(g)?g.value=pe:null},C(o),{type:"text",minlength:me.minlength,maxlength:me.maxlength,disabled:C(A),readonly:me.readonly,autocomplete:me.autocomplete,tabindex:me.tabindex,placeholder:C(b),autofocus:me.autofocus,ariaLabel:me.ariaLabel,class:C(le).e("input"),style:C(F),onCompositionstart:C(R),onCompositionupdate:C(N),onCompositionend:C(W),onInput:C(_),onKeydown:C(M)}),null,16,["id","onUpdate:modelValue","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onKeydown"]),[[qr,C(g)]]),x("span",{ref_key:"calculatorRef",ref:U,"aria-hidden":"true",class:oe(C(le).e("input-calculator")),textContent:je(C(g))},null,10,["textContent"])],2),cn(x("div",{ref_key:"dropIndicatorRef",ref:H,class:oe(C(le).e("drop-indicator"))},null,2),[[kr,C(re)]])],2),C(Q)?(L(),G("div",{key:1,class:oe(C(le).e("suffix"))},[ht(me.$slots,"suffix"),C(Ee)?(L(),yt(C(Dn),{key:0,class:oe([C(le).e("icon"),C(le).e("clear")]),onMousedown:en(C(bo),["prevent"]),onClick:C(k)},{default:rt(()=>[(L(),yt(mr(me.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):xe("v-if",!0),C(d)&&C(c)&&C(u)?(L(),yt(C(Dn),{key:1,class:oe([C(ve).e("icon"),C(ve).e("validateIcon"),C(ve).is("loading",C(d)==="validating")])},{default:rt(()=>[(L(),yt(mr(C(c))))]),_:1},8,["class"])):xe("v-if",!0)],2)):xe("v-if",!0)],46,["onMouseenter","onMouseleave"]))}});var UYe=on(FYe,[["__file","input-tag.vue"]]);const zYe=or(UYe),$Ye=Jt({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:wo}}),jYe={click:e=>e instanceof MouseEvent},HYe=nt({name:"ElLink"}),WYe=nt({...HYe,props:$Ye,emits:jYe,setup(e,{emit:t}){const n=e,r=Ub("link");jf({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},ee(()=>Eo(n.underline)));const o=Vt("link"),i=ee(()=>{var l,u,d;return[o.b(),o.m((d=(u=n.type)!=null?u:(l=r.value)==null?void 0:l.type)!=null?d:"default"),o.is("disabled",n.disabled),o.is("underline",a.value==="always"),o.is("hover-underline",a.value==="hover"&&!n.disabled)]}),a=ee(()=>{var l,u,d;return Eo(n.underline)?n.underline?"hover":"never":(d=(u=n.underline)!=null?u:(l=r.value)==null?void 0:l.underline)!=null?d:"hover"});function s(l){n.disabled||t("click",l)}return(l,u)=>(L(),G("a",{class:oe(C(i)),href:l.disabled||!l.href?void 0:l.href,target:l.disabled||!l.href?void 0:l.target,onClick:s},[l.icon?(L(),yt(C(Dn),{key:0},{default:rt(()=>[(L(),yt(mr(l.icon)))]),_:1})):xe("v-if",!0),l.$slots.default?(L(),G("span",{key:1,class:oe(C(o).e("inner"))},[ht(l.$slots,"default")],2)):xe("v-if",!0),l.$slots.icon?ht(l.$slots,"icon",{key:2}):xe("v-if",!0)],10,["href","target"]))}});var VYe=on(WYe,[["__file","link.vue"]]);const qYe=or(VYe);let GYe=class{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",r=>{let o=!1;switch(r.code){case gn.down:{this.gotoSubIndex(this.subIndex+1),o=!0;break}case gn.up:{this.gotoSubIndex(this.subIndex-1),o=!0;break}case gn.tab:{CS(t,"mouseleave");break}case gn.enter:case gn.numpadEnter:case gn.space:{o=!0,r.currentTarget.click();break}}return o&&(r.preventDefault(),r.stopPropagation()),!1})})}},KYe=class{constructor(t,n){this.domNode=t,this.submenu=null,this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new GYe(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case gn.down:{CS(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case gn.up:{CS(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case gn.tab:{CS(t.currentTarget,"mouseleave");break}case gn.enter:case gn.numpadEnter:case gn.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}},YYe=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(r=>{r.nodeType===1&&new KYe(r,t)})}};const QYe=nt({name:"ElMenuCollapseTransition"}),ZYe=nt({...QYe,setup(e){const t=Vt("menu"),n={onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,o){zu(r,`${t.namespace.value}-opacity-transition`),r.style.opacity="1",o()},onAfterEnter(r){Ws(r,`${t.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),Ol(r,t.m("collapse"))?(Ws(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),zu(r,t.m("collapse"))):(zu(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Ws(r,t.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){zu(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}};return(r,o)=>(L(),yt(Ki,vr({mode:"out-in"},C(n)),{default:rt(()=>[ht(r.$slots,"default")]),_:3},16))}});var XYe=on(ZYe,[["__file","menu-collapse-transition.vue"]]);function ube(e,t){const n=ee(()=>{let o=e.parent;const i=[t.value];for(;o.type.name!=="ElMenu";)o.props.index&&i.unshift(o.props.index),o=o.parent;return i});return{parentMenu:ee(()=>{let o=e.parent;for(;o&&!["ElMenu","ElSubMenu"].includes(o.type.name);)o=o.parent;return o}),indexPath:n}}function JYe(e){return ee(()=>{const n=e.backgroundColor;return n?new $1(n).shade(20).toString():""})}const cbe=(e,t)=>{const n=Vt("menu");return ee(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":JYe(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},fW="rootMenu",_E="subMenu:",eQe=Jt({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:wo},expandOpenIcon:{type:wo},collapseCloseIcon:{type:wo},collapseOpenIcon:{type:wo}}),EI="ElSubMenu";var pW=nt({name:EI,props:eQe,setup(e,{slots:t,expose:n}){const r=br(),{indexPath:o,parentMenu:i}=ube(r,ee(()=>e.index)),a=Vt("menu"),s=Vt("sub-menu"),l=dn(fW);l||na(EI,"can not inject root menu");const u=dn(`${_E}${i.value.uid}`);u||na(EI,"can not inject sub menu");const d=K({}),c=K({});let f;const p=K(!1),v=K(),h=K(),g=ee(()=>D.value==="horizontal"&&m.value?"bottom-start":"right-start"),y=ee(()=>D.value==="horizontal"&&m.value||D.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?S.value?e.expandOpenIcon:e.expandCloseIcon:ed:e.collapseCloseIcon&&e.collapseOpenIcon?S.value?e.collapseOpenIcon:e.collapseCloseIcon:Da),m=ee(()=>u.level===0),b=ee(()=>{const U=e.teleported;return Vr(U)?m.value:U}),w=ee(()=>l.props.collapse?`${a.namespace.value}-zoom-in-left`:`${a.namespace.value}-zoom-in-top`),A=ee(()=>D.value==="horizontal"&&m.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),S=ee(()=>l.openedMenus.includes(e.index)),E=ee(()=>[...Object.values(d.value),...Object.values(c.value)].some(({active:U})=>U)),D=ee(()=>l.props.mode),_=ee(()=>l.props.persistent),M=Wr({index:e.index,indexPath:o,active:E}),O=cbe(l.props,u.level+1),k=ee(()=>{var U;return(U=e.popperOffset)!=null?U:l.props.popperOffset}),R=ee(()=>{var U;return(U=e.popperClass)!=null?U:l.props.popperClass}),N=ee(()=>{var U;return(U=e.showTimeout)!=null?U:l.props.showTimeout}),W=ee(()=>{var U;return(U=e.hideTimeout)!=null?U:l.props.hideTimeout}),B=()=>{var U,F,H;return(H=(F=(U=h.value)==null?void 0:U.popperRef)==null?void 0:F.popperInstanceRef)==null?void 0:H.destroy()},z=U=>{U||B()},j=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:o.value,active:E.value})},q=(U,F=N.value)=>{var H;if(U.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){u.mouseInChild.value=!0;return}u.mouseInChild.value=!0,f?.(),{stop:f}=Mv(()=>{l.openMenu(e.index,o.value)},F),b.value&&((H=i.value.vnode.el)==null||H.dispatchEvent(new MouseEvent("mouseenter")))}},Y=(U=!1)=>{var F;if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){u.mouseInChild.value=!1;return}f?.(),u.mouseInChild.value=!1,{stop:f}=Mv(()=>!p.value&&l.closeMenu(e.index,o.value),W.value),b.value&&U&&((F=u.handleMouseleave)==null||F.call(u,!0))};St(()=>l.props.collapse,U=>z(!!U));{const U=H=>{c.value[H.index]=H},F=H=>{delete c.value[H.index]};_r(`${_E}${r.uid}`,{addSubMenu:U,removeSubMenu:F,handleMouseleave:Y,mouseInChild:p,level:u.level+1})}return n({opened:S}),qn(()=>{l.addSubMenu(M),u.addSubMenu(M)}),Jr(()=>{u.removeSubMenu(M),l.removeSubMenu(M)}),()=>{var U;const F=[(U=t.title)==null?void 0:U.call(t),jn(Dn,{class:s.e("icon-arrow"),style:{transform:S.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>In(y.value)?jn(r.appContext.components[y.value]):jn(y.value)})],H=l.isMenuPopup?jn(hs,{ref:h,visible:S.value,effect:"light",pure:!0,offset:k.value,showArrow:!1,persistent:_.value,popperClass:R.value,placement:g.value,teleported:b.value,fallbackPlacements:A.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var re;return jn("div",{class:[a.m(D.value),a.m("popup-container"),R.value],onMouseenter:X=>q(X,100),onMouseleave:()=>Y(!0),onFocus:X=>q(X,100)},[jn("ul",{class:[a.b(),a.m("popup"),a.m(`popup-${g.value}`)],style:O.value},[(re=t.default)==null?void 0:re.call(t)])])},default:()=>jn("div",{class:s.e("title"),onClick:j},F)}):jn(Rt,{},[jn("div",{class:s.e("title"),ref:v,onClick:j},F),jn(fD,{},{default:()=>{var re;return cn(jn("ul",{role:"menu",class:[a.b(),a.m("inline")],style:O.value},[(re=t.default)==null?void 0:re.call(t)]),[[kr,S.value]])}})]);return jn("li",{class:[s.b(),s.is("active",E.value),s.is("opened",S.value),s.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:S.value,onMouseenter:q,onMouseleave:()=>Y(),onFocus:q},[H])}}});const tQe=Jt({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:ct(Array),default:()=>fi([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:wo,default:()=>yLe},popperEffect:{type:ct(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),kI=e=>Zt(e)&&e.every(t=>In(t)),nQe={close:(e,t)=>In(e)&&kI(t),open:(e,t)=>In(e)&&kI(t),select:(e,t,n,r)=>In(e)&&kI(t)&&dr(n)&&(Vr(r)||r instanceof Promise)};var rQe=nt({name:"ElMenu",props:tQe,emits:nQe,setup(e,{emit:t,slots:n,expose:r}){const o=br(),i=o.appContext.config.globalProperties.$router,a=K(),s=K(),l=Vt("menu"),u=Vt("sub-menu");let d=64;const c=K(-1),f=K(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=K(e.defaultActive),v=K({}),h=K({}),g=ee(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const z=p.value&&v.value[p.value];if(!z||e.mode==="horizontal"||e.collapse)return;z.indexPath.forEach(q=>{const Y=h.value[q];Y&&m(q,Y.indexPath)})},m=(z,j)=>{f.value.includes(z)||(e.uniqueOpened&&(f.value=f.value.filter(q=>j.includes(q))),f.value.push(z),t("open",z,j))},b=z=>{const j=f.value.indexOf(z);j!==-1&&f.value.splice(j,1)},w=(z,j)=>{b(z),t("close",z,j)},A=({index:z,indexPath:j})=>{f.value.includes(z)?w(z,j):m(z,j)},S=z=>{(e.mode==="horizontal"||e.collapse)&&(f.value=[]);const{index:j,indexPath:q}=z;if(!(ea(j)||ea(q)))if(e.router&&i){const Y=z.route||j,U=i.push(Y).then(F=>(F||(p.value=j),F));t("select",j,q,{index:j,indexPath:q,route:Y},U)}else p.value=j,t("select",j,q,{index:j,indexPath:q})},E=z=>{var j;const q=v.value,Y=q[z]||p.value&&q[p.value]||q[e.defaultActive];p.value=(j=Y?.index)!=null?j:z},D=z=>{const j=getComputedStyle(z),q=Number.parseInt(j.marginLeft,10),Y=Number.parseInt(j.marginRight,10);return z.offsetWidth+q+Y||0},_=()=>{var z,j;if(!a.value)return-1;const q=Array.from((j=(z=a.value)==null?void 0:z.childNodes)!=null?j:[]).filter(te=>te.nodeName!=="#comment"&&(te.nodeName!=="#text"||te.nodeValue)),Y=getComputedStyle(a.value),U=Number.parseInt(Y.paddingLeft,10),F=Number.parseInt(Y.paddingRight,10),H=a.value.clientWidth-U-F;let re=0,X=0;return q.forEach((te,Z)=>{re+=D(te),re<=H-d&&(X=Z+1)}),X===q.length?-1:X},M=z=>h.value[z].indexPath,O=(z,j=33.34)=>{let q;return()=>{q&&clearTimeout(q),q=setTimeout(()=>{z()},j)}};let k=!0;const R=()=>{const z=Ta(s);if(z&&(d=D(z)||64),c.value===_())return;const j=()=>{c.value=-1,Yt(()=>{c.value=_()})};k?j():O(j)(),k=!1};St(()=>e.defaultActive,z=>{v.value[z]||(p.value=""),E(z)}),St(()=>e.collapse,z=>{z&&(f.value=[])}),St(v.value,y);let N;Es(()=>{e.mode==="horizontal"&&e.ellipsis?N=li(a,R).stop:N?.()});const W=K(!1);{const z=U=>{h.value[U.index]=U},j=U=>{delete h.value[U.index]};_r(fW,Wr({props:e,openedMenus:f,items:v,subMenus:h,activeIndex:p,isMenuPopup:g,addMenuItem:U=>{v.value[U.index]=U},removeMenuItem:U=>{delete v.value[U.index]},addSubMenu:z,removeSubMenu:j,openMenu:m,closeMenu:w,handleMenuItemClick:S,handleSubMenuClick:A})),_r(`${_E}${o.uid}`,{addSubMenu:z,removeSubMenu:j,mouseInChild:W,level:0})}qn(()=>{e.mode==="horizontal"&&new YYe(o.vnode.el,l.namespace.value)}),r({open:j=>{const{indexPath:q}=h.value[j];q.forEach(Y=>m(Y,q))},close:b,updateActiveIndex:E,handleResize:R});const B=cbe(e,0);return()=>{var z,j;let q=(j=(z=n.default)==null?void 0:z.call(n))!=null?j:[];const Y=[];if(e.mode==="horizontal"&&a.value){const H=Sd(q).filter(te=>te?.shapeFlag!==8),re=c.value===-1?H:H.slice(0,c.value),X=c.value===-1?[]:H.slice(c.value);X?.length&&e.ellipsis&&(q=re,Y.push(jn(pW,{ref:s,index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>jn(Dn,{class:u.e("icon-more")},{default:()=>jn(e.ellipsisIcon)}),default:()=>X})))}const U=e.closeOnClickOutside?[[np,()=>{f.value.length&&(W.value||(f.value.forEach(H=>t("close",H,M(H))),f.value=[]))}]]:[],F=cn(jn("ul",{key:String(e.collapse),role:"menubar",ref:a,style:B.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...q,...Y]),U);return e.collapseTransition&&e.mode==="vertical"?jn(XYe,()=>F):F}}});const oQe=Jt({index:{type:ct([String,null]),default:null},route:{type:ct([String,Object])},disabled:Boolean}),iQe={click:e=>In(e.index)&&Zt(e.indexPath)},UL="ElMenuItem",aQe=nt({name:UL}),sQe=nt({...aQe,props:oQe,emits:iQe,setup(e,{expose:t,emit:n}){const r=e;Bl(r.index)&&void 0;const o=br(),i=dn(fW),a=Vt("menu"),s=Vt("menu-item");i||na(UL,"can not inject root menu");const{parentMenu:l,indexPath:u}=ube(o,co(r,"index")),d=dn(`${_E}${l.value.uid}`);d||na(UL,"can not inject sub menu");const c=ee(()=>r.index===i.activeIndex),f=Wr({index:r.index,indexPath:u,active:c}),p=()=>{r.disabled||(i.handleMenuItemClick({index:r.index,indexPath:u.value,route:r.route}),n("click",f))};return qn(()=>{d.addSubMenu(f),i.addMenuItem(f)}),Jr(()=>{d.removeSubMenu(f),i.removeMenuItem(f)}),t({parentMenu:l,rootMenu:i,active:c,nsMenu:a,nsMenuItem:s,handleClick:p}),(v,h)=>(L(),G("li",{class:oe([C(s).b(),C(s).is("active",C(c)),C(s).is("disabled",v.disabled)]),role:"menuitem",tabindex:"-1",onClick:p},[C(l).type.name==="ElMenu"&&C(i).props.collapse&&v.$slots.title?(L(),yt(C(hs),{key:0,effect:C(i).props.popperEffect,placement:"right","fallback-placements":["left"],persistent:C(i).props.persistent},{content:rt(()=>[ht(v.$slots,"title")]),default:rt(()=>[x("div",{class:oe(C(a).be("tooltip","trigger"))},[ht(v.$slots,"default")],2)]),_:3},8,["effect","persistent"])):(L(),G(Rt,{key:1},[ht(v.$slots,"default"),ht(v.$slots,"title")],64))],2))}});var dbe=on(sQe,[["__file","menu-item.vue"]]);const lQe={title:String},uQe=nt({name:"ElMenuItemGroup"}),cQe=nt({...uQe,props:lQe,setup(e){const t=Vt("menu-item-group");return(n,r)=>(L(),G("li",{class:oe(C(t).b())},[x("div",{class:oe(C(t).e("title"))},[n.$slots.title?ht(n.$slots,"title",{key:1}):(L(),G(Rt,{key:0},[bn(je(n.title),1)],64))],2),x("ul",null,[ht(n.$slots,"default")])],2))}});var fbe=on(cQe,[["__file","menu-item-group.vue"]]);const dQe=or(rQe,{MenuItem:dbe,MenuItemGroup:fbe,SubMenu:pW}),fQe=vi(dbe),pQe=vi(fbe),hQe=vi(pW),gQe=Jt({icon:{type:wo,default:()=>FBe},title:String,content:{type:String,default:""}}),vQe={back:()=>!0},mQe=nt({name:"ElPageHeader"}),yQe=nt({...mQe,props:gQe,emits:vQe,setup(e,{emit:t}){const{t:n}=Gr(),r=Vt("page-header");function o(){t("back")}return(i,a)=>(L(),G("div",{class:oe([C(r).b(),{[C(r).m("has-breadcrumb")]:!!i.$slots.breadcrumb,[C(r).m("has-extra")]:!!i.$slots.extra,[C(r).is("contentful")]:!!i.$slots.default}])},[i.$slots.breadcrumb?(L(),G("div",{key:0,class:oe(C(r).e("breadcrumb"))},[ht(i.$slots,"breadcrumb")],2)):xe("v-if",!0),x("div",{class:oe(C(r).e("header"))},[x("div",{class:oe(C(r).e("left"))},[x("div",{class:oe(C(r).e("back")),role:"button",tabindex:"0",onClick:o},[i.icon||i.$slots.icon?(L(),G("div",{key:0,"aria-label":i.title||C(n)("el.pageHeader.title"),class:oe(C(r).e("icon"))},[ht(i.$slots,"icon",{},()=>[i.icon?(L(),yt(C(Dn),{key:0},{default:rt(()=>[(L(),yt(mr(i.icon)))]),_:1})):xe("v-if",!0)])],10,["aria-label"])):xe("v-if",!0),x("div",{class:oe(C(r).e("title"))},[ht(i.$slots,"title",{},()=>[bn(je(i.title||C(n)("el.pageHeader.title")),1)])],2)],2),He(C(Wye),{direction:"vertical"}),x("div",{class:oe(C(r).e("content"))},[ht(i.$slots,"content",{},()=>[bn(je(i.content),1)])],2)],2),i.$slots.extra?(L(),G("div",{key:0,class:oe(C(r).e("extra"))},[ht(i.$slots,"extra")],2)):xe("v-if",!0)],2),i.$slots.default?(L(),G("div",{key:1,class:oe(C(r).e("main"))},[ht(i.$slots,"default")],2)):xe("v-if",!0)],2))}});var bQe=on(yQe,[["__file","page-header.vue"]]);const wQe=or(bQe),pbe=Symbol("elPaginationKey"),AQe=Jt({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:wo}}),CQe={click:e=>e instanceof MouseEvent},xQe=nt({name:"ElPaginationPrev"}),SQe=nt({...xQe,props:AQe,emits:CQe,setup(e){const t=e,{t:n}=Gr(),r=ee(()=>t.disabled||t.currentPage<=1);return(o,i)=>(L(),G("button",{type:"button",class:"btn-prev",disabled:C(r),"aria-label":o.prevText||C(n)("el.pagination.prev"),"aria-disabled":C(r),onClick:a=>o.$emit("click",a)},[o.prevText?(L(),G("span",{key:0},je(o.prevText),1)):(L(),yt(C(Dn),{key:1},{default:rt(()=>[(L(),yt(mr(o.prevIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var EQe=on(SQe,[["__file","prev.vue"]]);const kQe=Jt({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:wo}}),TQe=nt({name:"ElPaginationNext"}),_Qe=nt({...TQe,props:kQe,emits:["click"],setup(e){const t=e,{t:n}=Gr(),r=ee(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(o,i)=>(L(),G("button",{type:"button",class:"btn-next",disabled:C(r),"aria-label":o.nextText||C(n)("el.pagination.next"),"aria-disabled":C(r),onClick:a=>o.$emit("click",a)},[o.nextText?(L(),G("span",{key:0},je(o.nextText),1)):(L(),yt(C(Dn),{key:1},{default:rt(()=>[(L(),yt(mr(o.nextIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var DQe=on(_Qe,[["__file","next.vue"]]);const hW={label:"label",value:"value",disabled:"disabled",options:"options"};function H5(e){const t=ee(()=>({...hW,...e.props}));return{aliasProps:t,getLabel:a=>Xi(a,t.value.label),getValue:a=>Xi(a,t.value.value),getDisabled:a=>Xi(a,t.value.disabled),getOptions:a=>Xi(a,t.value.options)}}const hbe=Symbol("ElSelectGroup"),Wb=Symbol("ElSelect"),zL="ElOption",IQe=Jt({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),gW=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),hh=e=>C5(e);function OQe(e,t){const n=dn(Wb);n||na(zL,"usage: ");const r=dn(hbe,{disabled:!1}),o=ee(()=>d(Ya(n.props.modelValue),e.value)),i=ee(()=>{var p;if(n.props.multiple){const v=Ya((p=n.props.modelValue)!=null?p:[]);return!o.value&&v.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),a=ee(()=>{var p;return(p=e.label)!=null?p:dr(e.value)?"":e.value}),s=ee(()=>e.value||e.label||""),l=ee(()=>e.disabled||t.groupDisabled||i.value),u=br(),d=(p=[],v)=>{if(dr(e.value)){const h=n.props.valueKey;return p&&p.some(g=>No(Xi(g,h))===Xi(v,h))}else return p&&p.includes(v)},c=()=>{!e.disabled&&!r.disabled&&(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},f=p=>{const v=new RegExp(gW(p),"i");t.visible=v.test(String(a.value))||e.created};return St(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),St(()=>e.value,(p,v)=>{const{remote:h,valueKey:g}=n.props;if((h?p!==v:!fa(p,v))&&(n.onOptionDestroy(v,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!h){if(g&&dr(p)&&dr(v)&&p[g]===v[g])return;n.setSelected()}}),St(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:a,currentValue:s,itemSelected:o,isDisabled:l,hoverItem:c,updateOption:f}}const MQe=nt({name:zL,componentName:zL,props:IQe,setup(e){const t=Vt("select"),n=ps(),r=ee(()=>[t.be("dropdown","item"),t.is("disabled",C(s)),t.is("selected",C(a)),t.is("hovering",C(f))]),o=Wr({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:i,itemSelected:a,isDisabled:s,select:l,hoverItem:u,updateOption:d}=OQe(e,o),{visible:c,hover:f}=Oa(o),p=br().proxy;l.onOptionCreate(p),Jr(()=>{const h=p.value;Yt(()=>{const{selected:g}=l.states,y=g.some(m=>m.value===p.value);l.states.cachedOptions.get(h)===p&&!y&&l.states.cachedOptions.delete(h)}),l.onOptionDestroy(h,p)});function v(){s.value||l.handleOptionSelect(p)}return{ns:t,id:n,containerKls:r,currentLabel:i,itemSelected:a,isDisabled:s,select:l,visible:c,hover:f,states:o,hoverItem:u,updateOption:d,selectOptionClick:v}}});function PQe(e,t){return cn((L(),G("li",{id:e.id,class:oe(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:e.hoverItem,onClick:en(e.selectOptionClick,["stop"])},[ht(e.$slots,"default",{},()=>[x("span",null,je(e.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])),[[kr,e.visible]])}var vW=on(MQe,[["render",PQe],["__file","option.vue"]]);const NQe=nt({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=dn(Wb),t=Vt("select"),n=ee(()=>e.props.popperClass),r=ee(()=>e.props.multiple),o=ee(()=>e.props.fitInputWidth),i=K("");function a(){var s;i.value=`${(s=e.selectRef)==null?void 0:s.offsetWidth}px`}return qn(()=>{a(),li(e.selectRef,a)}),{ns:t,minWidth:i,popperClass:n,isMultiple:r,isFitInputWidth:o}}});function RQe(e,t,n,r,o,i){return L(),G("div",{class:oe([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:rn({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(L(),G("div",{key:0,class:oe(e.ns.be("dropdown","header"))},[ht(e.$slots,"header")],2)):xe("v-if",!0),ht(e.$slots,"default"),e.$slots.footer?(L(),G("div",{key:1,class:oe(e.ns.be("dropdown","footer"))},[ht(e.$slots,"footer")],2)):xe("v-if",!0)],6)}var BQe=on(NQe,[["render",RQe],["__file","select-dropdown.vue"]]);const LQe=(e,t)=>{const{t:n}=Gr(),r=ps(),o=Vt("select"),i=Vt("input"),a=Wr({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),s=K(),l=K(),u=K(),d=K(),c=K(),f=K(),p=K(),v=K(),h=K(),g=K(),y=K(),m=K(!1),b=K(),{form:w,formItem:A}=Ds(),{inputId:S}=fc(e,{formItemContext:A}),{valueOnClear:E,isEmptyValue:D}=R5(e),{isComposing:_,handleCompositionStart:M,handleCompositionUpdate:O,handleCompositionEnd:k}=F5({afterComposition:Nt=>Lt(Nt)}),R=ee(()=>e.disabled||!!w?.disabled),{wrapperRef:N,isFocused:W,handleBlur:B}=Ap(c,{disabled:R,afterFocus(){e.automaticDropdown&&!m.value&&(m.value=!0,a.menuVisibleOnFocus=!0)},beforeBlur(Nt){var _n,xt;return((_n=u.value)==null?void 0:_n.isFocusInsideContent(Nt))||((xt=d.value)==null?void 0:xt.isFocusInsideContent(Nt))},afterBlur(){var Nt;m.value=!1,a.menuVisibleOnFocus=!1,e.validateEvent&&((Nt=A?.validate)==null||Nt.call(A,"blur").catch(_n=>void 0))}}),z=ee(()=>Zt(e.modelValue)?e.modelValue.length>0:!D(e.modelValue)),j=ee(()=>{var Nt;return(Nt=w?.statusIcon)!=null?Nt:!1}),q=ee(()=>e.clearable&&!R.value&&z.value&&(W.value||a.inputHovering)),Y=ee(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),U=ee(()=>o.is("reverse",!!(Y.value&&m.value))),F=ee(()=>A?.validateState||""),H=ee(()=>F.value&&iD[F.value]),re=ee(()=>e.remote?300:0),X=ee(()=>e.remote&&!a.inputValue&&a.options.size===0),te=ee(()=>e.loading?e.loadingText||n("el.select.loading"):e.filterable&&a.inputValue&&a.options.size>0&&Z.value===0?e.noMatchText||n("el.select.noMatch"):a.options.size===0?e.noDataText||n("el.select.noData"):null),Z=ee(()=>le.value.filter(Nt=>Nt.visible).length),le=ee(()=>{const Nt=Array.from(a.options.values()),_n=[];return a.optionValues.forEach(xt=>{const Ft=Nt.findIndex(Sn=>Sn.value===xt);Ft>-1&&_n.push(Nt[Ft])}),_n.length>=Nt.length?_n:Nt}),ve=ee(()=>Array.from(a.cachedOptions.values())),Pe=ee(()=>{const Nt=le.value.filter(_n=>!_n.created).some(_n=>_n.currentLabel===a.inputValue);return e.filterable&&e.allowCreate&&a.inputValue!==""&&!Nt}),Ae=()=>{e.filterable&&Rn(e.filterMethod)||e.filterable&&e.remote&&Rn(e.remoteMethod)||le.value.forEach(Nt=>{var _n;(_n=Nt.updateOption)==null||_n.call(Nt,a.inputValue)})},he=ha(),Ee=ee(()=>["small"].includes(he.value)?"small":"default"),Q=ee({get(){return m.value&&!X.value},set(Nt){m.value=Nt}}),me=ee(()=>{if(e.multiple&&!Vr(e.modelValue))return Ya(e.modelValue).length===0&&!a.inputValue;const Nt=Zt(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||Vr(Nt)?!a.inputValue:!0}),De=ee(()=>{var Nt;const _n=(Nt=e.placeholder)!=null?Nt:n("el.select.placeholder");return e.multiple||!z.value?_n:a.selectedLabel}),pe=ee(()=>wE?null:"mouseenter");St(()=>e.modelValue,(Nt,_n)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(a.inputValue="",ie("")),Be(),!fa(Nt,_n)&&e.validateEvent&&A?.validate("change").catch(xt=>void 0)},{flush:"post",deep:!0}),St(()=>m.value,Nt=>{Nt?ie(a.inputValue):(a.inputValue="",a.previousQuery=null,a.isBeforeHide=!0),t("visible-change",Nt)}),St(()=>a.options.entries(),()=>{Xr&&(Be(),e.defaultFirstOption&&(e.filterable||e.remote)&&Z.value&&ue())},{flush:"post"}),St([()=>a.hoveringIndex,le],([Nt])=>{$n(Nt)&&Nt>-1?b.value=le.value[Nt]||{}:b.value={},le.value.forEach(_n=>{_n.hover=b.value===_n})}),Es(()=>{a.isBeforeHide||Ae()});const ie=Nt=>{a.previousQuery===Nt||_.value||(a.previousQuery=Nt,e.filterable&&Rn(e.filterMethod)?e.filterMethod(Nt):e.filterable&&e.remote&&Rn(e.remoteMethod)&&e.remoteMethod(Nt),e.defaultFirstOption&&(e.filterable||e.remote)&&Z.value?Yt(ue):Yt(Fe))},ue=()=>{const Nt=le.value.filter(Sn=>Sn.visible&&!Sn.disabled&&!Sn.states.groupDisabled),_n=Nt.find(Sn=>Sn.created),xt=Nt[0],Ft=le.value.map(Sn=>Sn.value);a.hoveringIndex=de(Ft,_n||xt)},Be=()=>{if(e.multiple)a.selectedLabel="";else{const _n=Zt(e.modelValue)?e.modelValue[0]:e.modelValue,xt=Me(_n);a.selectedLabel=xt.currentLabel,a.selected=[xt];return}const Nt=[];Vr(e.modelValue)||Ya(e.modelValue).forEach(_n=>{Nt.push(Me(_n))}),a.selected=Nt},Me=Nt=>{let _n;const xt=N3(Nt);for(let Bn=a.cachedOptions.size-1;Bn>=0;Bn--){const Fr=ve.value[Bn];if(xt?Xi(Fr.value,e.valueKey)===Xi(Nt,e.valueKey):Fr.value===Nt){_n={value:Nt,currentLabel:Fr.currentLabel,get isDisabled(){return Fr.isDisabled}};break}}if(_n)return _n;const Ft=xt?Nt.label:Nt??"";return{value:Nt,currentLabel:Ft}},Fe=()=>{a.hoveringIndex=le.value.findIndex(Nt=>a.selected.some(_n=>Le(_n)===Le(Nt)))},ze=()=>{a.selectionWidth=Number.parseFloat(window.getComputedStyle(l.value).width)},Ne=()=>{a.collapseItemWidth=g.value.getBoundingClientRect().width},Re=()=>{var Nt,_n;(_n=(Nt=u.value)==null?void 0:Nt.updatePopper)==null||_n.call(Nt)},gt=()=>{var Nt,_n;(_n=(Nt=d.value)==null?void 0:Nt.updatePopper)==null||_n.call(Nt)},Bt=()=>{a.inputValue.length>0&&!m.value&&(m.value=!0),ie(a.inputValue)},Lt=Nt=>{if(a.inputValue=Nt.target.value,e.remote)an();else return Bt()},an=Wl(()=>{Bt()},re.value),Kt=Nt=>{fa(e.modelValue,Nt)||t(Pr,Nt)},Ht=Nt=>Ome(Nt,_n=>{const xt=a.cachedOptions.get(_n);return xt&&!xt.disabled&&!xt.states.groupDisabled}),pt=Nt=>{if(e.multiple&&Nt.code!==gn.delete&&Nt.target.value.length<=0){const _n=Ya(e.modelValue).slice(),xt=Ht(_n);if(xt<0)return;const Ft=_n[xt];_n.splice(xt,1),t(Qn,_n),Kt(_n),t("remove-tag",Ft)}},Dt=(Nt,_n)=>{const xt=a.selected.indexOf(_n);if(xt>-1&&!R.value){const Ft=Ya(e.modelValue).slice();Ft.splice(xt,1),t(Qn,Ft),Kt(Ft),t("remove-tag",_n.value)}Nt.stopPropagation(),We()},dt=Nt=>{Nt.stopPropagation();const _n=e.multiple?[]:E.value;if(e.multiple)for(const xt of a.selected)xt.isDisabled&&_n.push(xt.value);t(Qn,_n),Kt(_n),a.hoveringIndex=-1,m.value=!1,t("clear"),We()},it=Nt=>{var _n;if(e.multiple){const xt=Ya((_n=e.modelValue)!=null?_n:[]).slice(),Ft=de(xt,Nt);Ft>-1?xt.splice(Ft,1):(e.multipleLimit<=0||xt.length{tt(Nt)})},de=(Nt,_n)=>Vr(_n)?-1:dr(_n.value)?Nt.findIndex(xt=>fa(Xi(xt,e.valueKey),Le(_n))):Nt.indexOf(_n.value),tt=Nt=>{var _n,xt,Ft,Sn,Bn;const Fr=Zt(Nt)?Nt[0]:Nt;let kn=null;if(Fr?.value){const Ye=le.value.filter(At=>At.value===Fr.value);Ye.length>0&&(kn=Ye[0].$el)}if(u.value&&kn){const Ye=(Sn=(Ft=(xt=(_n=u.value)==null?void 0:_n.popperRef)==null?void 0:xt.contentRef)==null?void 0:Ft.querySelector)==null?void 0:Sn.call(Ft,`.${o.be("dropdown","wrap")}`);Ye&&CH(Ye,kn)}(Bn=y.value)==null||Bn.handleScroll()},ft=Nt=>{a.options.set(Nt.value,Nt),a.cachedOptions.set(Nt.value,Nt)},Mt=(Nt,_n)=>{a.options.get(Nt)===_n&&a.options.delete(Nt)},Tn=ee(()=>{var Nt,_n;return(_n=(Nt=u.value)==null?void 0:Nt.popperRef)==null?void 0:_n.contentRef}),Nn=()=>{a.isBeforeHide=!1,Yt(()=>{var Nt;(Nt=y.value)==null||Nt.update(),tt(a.selected)})},We=()=>{var Nt;(Nt=c.value)==null||Nt.focus()},ke=()=>{var Nt;if(m.value){m.value=!1,Yt(()=>{var _n;return(_n=c.value)==null?void 0:_n.blur()});return}(Nt=c.value)==null||Nt.blur()},be=Nt=>{dt(Nt)},fe=Nt=>{if(m.value=!1,W.value){const _n=new FocusEvent("blur",Nt);Yt(()=>B(_n))}},Se=()=>{a.inputValue.length>0?a.inputValue="":m.value=!1},qe=()=>{R.value||(wE&&(a.inputHovering=!0),a.menuVisibleOnFocus?a.menuVisibleOnFocus=!1:m.value=!m.value)},$e=()=>{if(!m.value)qe();else{const Nt=le.value[a.hoveringIndex];Nt&&!Nt.isDisabled&&it(Nt)}},Le=Nt=>dr(Nt.value)?Xi(Nt.value,e.valueKey):Nt.value,ot=ee(()=>le.value.filter(Nt=>Nt.visible).every(Nt=>Nt.isDisabled)),vt=ee(()=>e.multiple?e.collapseTags?a.selected.slice(0,e.maxCollapseTags):a.selected:[]),Ut=ee(()=>e.multiple?e.collapseTags?a.selected.slice(e.maxCollapseTags):[]:[]),Qt=Nt=>{if(!m.value){m.value=!0;return}if(!(a.options.size===0||Z.value===0||_.value)&&!ot.value){Nt==="next"?(a.hoveringIndex++,a.hoveringIndex===a.options.size&&(a.hoveringIndex=0)):Nt==="prev"&&(a.hoveringIndex--,a.hoveringIndex<0&&(a.hoveringIndex=a.options.size-1));const _n=le.value[a.hoveringIndex];(_n.isDisabled||!_n.visible)&&Qt(Nt),Yt(()=>tt(b.value))}},Gt=()=>{if(!l.value)return 0;const Nt=window.getComputedStyle(l.value);return Number.parseFloat(Nt.gap||"6px")},vn=ee(()=>{const Nt=Gt(),_n=e.filterable?Nt+cW:0;return{maxWidth:`${g.value&&e.maxCollapseTags===1?a.selectionWidth-a.collapseItemWidth-Nt-_n:a.selectionWidth-_n}px`}}),Un=ee(()=>({maxWidth:`${a.selectionWidth}px`})),wr=Nt=>{t("popup-scroll",Nt)};li(l,ze),li(N,Re),li(h,gt),li(g,Ne);let fr;return St(()=>Q.value,Nt=>{Nt?fr=li(v,Re).stop:(fr?.(),fr=void 0)}),qn(()=>{Be()}),{inputId:S,contentId:r,nsSelect:o,nsInput:i,states:a,isFocused:W,expanded:m,optionsArray:le,hoverOption:b,selectSize:he,filteredOptionsCount:Z,updateTooltip:Re,updateTagTooltip:gt,debouncedOnInputChange:an,onInput:Lt,deletePrevTag:pt,deleteTag:Dt,deleteSelected:dt,handleOptionSelect:it,scrollToOption:tt,hasModelValue:z,shouldShowPlaceholder:me,currentPlaceholder:De,mouseEnterEventName:pe,needStatusIcon:j,showClearBtn:q,iconComponent:Y,iconReverse:U,validateState:F,validateIcon:H,showNewOption:Pe,updateOptions:Ae,collapseTagSize:Ee,setSelected:Be,selectDisabled:R,emptyText:te,handleCompositionStart:M,handleCompositionUpdate:O,handleCompositionEnd:k,onOptionCreate:ft,onOptionDestroy:Mt,handleMenuEnter:Nn,focus:We,blur:ke,handleClearClick:be,handleClickOutside:fe,handleEsc:Se,toggleMenu:qe,selectOption:$e,getValueKey:Le,navigateOptions:Qt,dropdownMenuVisible:Q,showTagList:vt,collapseTagList:Ut,popupScroll:wr,tagStyle:vn,collapseTagStyle:Un,popperRef:Tn,inputRef:c,tooltipRef:u,tagTooltipRef:d,prefixRef:f,suffixRef:p,selectRef:s,wrapperRef:N,selectionRef:l,scrollbarRef:y,menuRef:v,tagMenuRef:h,collapseItemRef:g}};var FQe=nt({name:"ElOptions",setup(e,{slots:t}){const n=dn(Wb);let r=[];return()=>{var o,i;const a=(o=t.default)==null?void 0:o.call(t),s=[];function l(u){Zt(u)&&u.forEach(d=>{var c,f,p,v;const h=(c=d?.type||{})==null?void 0:c.name;h==="ElOptionGroup"?l(!In(d.children)&&!Zt(d.children)&&Rn((f=d.children)==null?void 0:f.default)?(p=d.children)==null?void 0:p.default():d.children):h==="ElOption"?s.push((v=d.props)==null?void 0:v.value):Zt(d.children)&&l(d.children)})}return a.length&&l((i=a[0])==null?void 0:i.children),fa(s,r)||(r=s,n&&(n.states.optionValues=s)),a}}});const UQe=Jt({name:String,id:String,modelValue:{type:ct([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:Aa,effect:{type:ct(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:ct([String,Object])},popperOptions:{type:ct(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:ct(Function)},filterMethod:{type:ct(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:oi.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:wo,default:tf},fitInputWidth:Boolean,suffixIcon:{type:wo,default:ed},tagType:{...tp.type,default:"info"},tagEffect:{...tp.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:ct(String),values:Cp,default:"bottom-start"},fallbackPlacements:{type:ct(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:oi.appendTo,options:{type:ct(Array)},props:{type:ct(Object),default:()=>hW},...lm,..._s(["ariaLabel"])});p1e.scroll;const zQe=nt({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Vt("select"),n=K(),r=br(),o=K([]);_r(hbe,Wr({...Oa(e)}));const i=ee(()=>o.value.some(u=>u.visible===!0)),a=u=>{var d;return u.type.name==="ElOption"&&!!((d=u.component)!=null&&d.proxy)},s=u=>{const d=Ya(u),c=[];return d.forEach(f=>{var p;Vo(f)&&(a(f)?c.push(f.component.proxy):Zt(f.children)&&f.children.length?c.push(...s(f.children)):(p=f.component)!=null&&p.subTree&&c.push(...s(f.component.subTree)))}),c},l=()=>{o.value=s(r.subTree)};return qn(()=>{l()}),Fme(n,l,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function $Qe(e,t,n,r,o,i){return cn((L(),G("ul",{ref:"groupRef",class:oe(e.ns.be("group","wrap"))},[x("li",{class:oe(e.ns.be("group","title"))},je(e.label),3),x("li",null,[x("ul",{class:oe(e.ns.b("group"))},[ht(e.$slots,"default")],2)])],2)),[[kr,e.visible]])}var mW=on(zQe,[["render",$Qe],["__file","option-group.vue"]]);const see="ElSelect",jQe=nt({name:see,componentName:see,components:{ElSelectMenu:BQe,ElOption:vW,ElOptions:FQe,ElOptionGroup:mW,ElTag:Nh,ElScrollbar:Hc,ElTooltip:hs,ElIcon:Dn},directives:{ClickOutside:np},props:UQe,emits:[Qn,Pr,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const r=br();r.appContext.config.warnHandler=(...y)=>{!y[0]||y[0].includes('Slot "default" invoked outside of the render function')||console.warn(...y)};const o=ee(()=>{const{modelValue:y,multiple:m}=e,b=m?[]:void 0;return Zt(y)?m?y:b:m?b:y}),i=Wr({...Oa(e),modelValue:o}),a=LQe(i,t),{calculatorRef:s,inputStyle:l}=dW(),{getLabel:u,getValue:d,getOptions:c,getDisabled:f}=H5(e),p=y=>({label:u(y),value:d(y),disabled:f(y)}),v=y=>y.reduce((m,b)=>(m.push(b),b.children&&b.children.length>0&&m.push(...v(b.children)),m),[]),h=y=>{Sd(y||[]).forEach(b=>{var w;if(dr(b)&&(b.type.name==="ElOption"||b.type.name==="ElTree")){const A=b.type.name;if(A==="ElTree"){const S=((w=b.props)==null?void 0:w.data)||[];v(S).forEach(D=>{D.currentLabel=D.label||(dr(D.value)?"":D.value),a.onOptionCreate(D)})}else if(A==="ElOption"){const S={...b.props};S.currentLabel=S.label||(dr(S.value)?"":S.value),a.onOptionCreate(S)}}})};St(()=>{var y;return(y=n.default)==null?void 0:y.call(n)},y=>{e.persistent||h(y)},{immediate:!0}),_r(Wb,Wr({props:i,states:a.states,selectRef:a.selectRef,optionsArray:a.optionsArray,setSelected:a.setSelected,handleOptionSelect:a.handleOptionSelect,onOptionCreate:a.onOptionCreate,onOptionDestroy:a.onOptionDestroy}));const g=ee(()=>e.multiple?a.states.selected.map(y=>y.currentLabel):a.states.selectedLabel);return Jr(()=>{r.appContext.config.warnHandler=void 0}),{...a,modelValue:o,selectedLabel:g,calculatorRef:s,inputStyle:l,getLabel:u,getValue:d,getOptions:c,getDisabled:f,getOptionProps:p}}});function HQe(e,t){const n=hr("el-tag"),r=hr("el-tooltip"),o=hr("el-icon"),i=hr("el-option"),a=hr("el-option-group"),s=hr("el-options"),l=hr("el-scrollbar"),u=hr("el-select-menu"),d=L_("click-outside");return cn((L(),G("div",{ref:"selectRef",class:oe([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[j4(e.mouseEnterEventName)]:c=>e.states.inputHovering=!0,onMouseleave:c=>e.states.inputHovering=!1},[He(r,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:c=>e.states.isBeforeHide=!1},{default:rt(()=>{var c;return[x("div",{ref:"wrapperRef",class:oe([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:en(e.toggleMenu,["prevent"])},[e.$slots.prefix?(L(),G("div",{key:0,ref:"prefixRef",class:oe(e.nsSelect.e("prefix"))},[ht(e.$slots,"prefix")],2)):xe("v-if",!0),x("div",{ref:"selectionRef",class:oe([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?ht(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(L(!0),G(Rt,null,un(e.showTagList,f=>(L(),G("div",{key:e.getValueKey(f),class:oe(e.nsSelect.e("selected-item"))},[He(n,{closable:!e.selectDisabled&&!f.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:rn(e.tagStyle),onClose:p=>e.deleteTag(p,f)},{default:rt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[ht(e.$slots,"label",{label:f.currentLabel,value:f.value},()=>[bn(je(f.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(L(),yt(r,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported},{default:rt(()=>[x("div",{ref:"collapseItemRef",class:oe(e.nsSelect.e("selected-item"))},[He(n,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:rn(e.collapseTagStyle)},{default:rt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))}," + "+je(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:rt(()=>[x("div",{ref:"tagMenuRef",class:oe(e.nsSelect.e("selection"))},[(L(!0),G(Rt,null,un(e.collapseTagList,f=>(L(),G("div",{key:e.getValueKey(f),class:oe(e.nsSelect.e("selected-item"))},[He(n,{class:"in-tooltip",closable:!e.selectDisabled&&!f.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:p=>e.deleteTag(p,f)},{default:rt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[ht(e.$slots,"label",{label:f.currentLabel,value:f.value},()=>[bn(je(f.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported"])):xe("v-if",!0)]):xe("v-if",!0),x("div",{class:oe([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[cn(x("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":f=>e.states.inputValue=f,type:"text",name:e.name,class:oe([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:rn(e.inputStyle),tabindex:e.tabindex,role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((c=e.hoverOption)==null?void 0:c.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:[$r(en(f=>e.navigateOptions("next"),["stop","prevent"]),["down"]),$r(en(f=>e.navigateOptions("prev"),["stop","prevent"]),["up"]),$r(en(e.handleEsc,["stop","prevent"]),["esc"]),$r(en(e.selectOption,["stop","prevent"]),["enter"]),$r(en(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:en(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onClick"]),[[qr,e.states.inputValue]]),e.filterable?(L(),G("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:oe(e.nsSelect.e("input-calculator")),textContent:je(e.states.inputValue)},null,10,["textContent"])):xe("v-if",!0)],2),e.shouldShowPlaceholder?(L(),G("div",{key:1,class:oe([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ht(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[x("span",null,je(e.currentPlaceholder),1)]):(L(),G("span",{key:1},je(e.currentPlaceholder),1))],2)):xe("v-if",!0)],2),x("div",{ref:"suffixRef",class:oe(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(L(),yt(o,{key:0,class:oe([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:rt(()=>[(L(),yt(mr(e.iconComponent)))]),_:1},8,["class"])):xe("v-if",!0),e.showClearBtn&&e.clearIcon?(L(),yt(o,{key:1,class:oe([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:rt(()=>[(L(),yt(mr(e.clearIcon)))]),_:1},8,["class","onClick"])):xe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(L(),yt(o,{key:2,class:oe([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:rt(()=>[(L(),yt(mr(e.validateIcon)))]),_:1},8,["class"])):xe("v-if",!0)],2)],10,["onClick"])]}),content:rt(()=>[He(u,{ref:"menuRef"},{default:rt(()=>[e.$slots.header?(L(),G("div",{key:0,class:oe(e.nsSelect.be("dropdown","header")),onClick:en(()=>{},["stop"])},[ht(e.$slots,"header")],10,["onClick"])):xe("v-if",!0),cn(He(l,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:oe([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical",onScroll:e.popupScroll},{default:rt(()=>[e.showNewOption?(L(),yt(i,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):xe("v-if",!0),He(s,null,{default:rt(()=>[ht(e.$slots,"default",{},()=>[(L(!0),G(Rt,null,un(e.options,(c,f)=>{var p;return L(),G(Rt,{key:f},[(p=e.getOptions(c))!=null&&p.length?(L(),yt(a,{key:0,label:e.getLabel(c),disabled:e.getDisabled(c)},{default:rt(()=>[(L(!0),G(Rt,null,un(e.getOptions(c),v=>(L(),yt(i,vr({key:e.getValue(v)},e.getOptionProps(v)),null,16))),128))]),_:2},1032,["label","disabled"])):(L(),yt(i,Il(vr({key:1},e.getOptionProps(c))),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[kr,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(L(),G("div",{key:1,class:oe(e.nsSelect.be("dropdown","loading"))},[ht(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(L(),G("div",{key:2,class:oe(e.nsSelect.be("dropdown","empty"))},[ht(e.$slots,"empty",{},()=>[x("span",null,je(e.emptyText),1)])],2)):xe("v-if",!0),e.$slots.footer?(L(),G("div",{key:3,class:oe(e.nsSelect.be("dropdown","footer")),onClick:en(()=>{},["stop"])},[ht(e.$slots,"footer")],10,["onClick"])):xe("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],16,["onMouseleave"])),[[d,e.handleClickOutside,e.popperRef]])}var WQe=on(jQe,[["render",HQe],["__file","select.vue"]]);const Nv=or(WQe,{Option:vW,OptionGroup:mW}),DE=vi(vW),VQe=vi(mW),yW=()=>dn(pbe,{}),qQe=Jt({pageSize:{type:Number,required:!0},pageSizes:{type:ct(Array),default:()=>fi([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:ef},appendSizeTo:String}),GQe=nt({name:"ElPaginationSizes"}),KQe=nt({...GQe,props:qQe,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=Gr(),o=Vt("pagination"),i=yW(),a=K(n.pageSize);St(()=>n.pageSizes,(u,d)=>{if(!fa(u,d)&&Zt(u)){const c=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",c)}}),St(()=>n.pageSize,u=>{a.value=u});const s=ee(()=>n.pageSizes);function l(u){var d;u!==a.value&&(a.value=u,(d=i.handleSizeChange)==null||d.call(i,Number(u)))}return(u,d)=>(L(),G("span",{class:oe(C(o).e("sizes"))},[He(C(Nv),{"model-value":a.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,teleported:u.teleported,"validate-event":!1,"append-to":u.appendSizeTo,onChange:l},{default:rt(()=>[(L(!0),G(Rt,null,un(C(s),c=>(L(),yt(C(DE),{key:c,value:c,label:c+C(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported","append-to"])],2))}});var YQe=on(KQe,[["__file","sizes.vue"]]);const QQe=Jt({size:{type:String,values:ef}}),ZQe=nt({name:"ElPaginationJumper"}),XQe=nt({...ZQe,props:QQe,setup(e){const{t}=Gr(),n=Vt("pagination"),{pageCount:r,disabled:o,currentPage:i,changeEvent:a}=yW(),s=K(),l=ee(()=>{var c;return(c=s.value)!=null?c:i?.value});function u(c){s.value=c?+c:""}function d(c){c=Math.trunc(+c),a?.(c),s.value=void 0}return(c,f)=>(L(),G("span",{class:oe(C(n).e("jump")),disabled:C(o)},[x("span",{class:oe([C(n).e("goto")])},je(C(t)("el.pagination.goto")),3),He(C(js),{size:c.size,class:oe([C(n).e("editor"),C(n).is("in-pagination")]),min:1,max:C(r),disabled:C(o),"model-value":C(l),"validate-event":!1,"aria-label":C(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:d},null,8,["size","class","max","disabled","model-value","aria-label"]),x("span",{class:oe([C(n).e("classifier")])},je(C(t)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var JQe=on(XQe,[["__file","jumper.vue"]]);const eZe=Jt({total:{type:Number,default:1e3}}),tZe=nt({name:"ElPaginationTotal"}),nZe=nt({...tZe,props:eZe,setup(e){const{t}=Gr(),n=Vt("pagination"),{disabled:r}=yW();return(o,i)=>(L(),G("span",{class:oe(C(n).e("total")),disabled:C(r)},je(C(t)("el.pagination.total",{total:o.total})),11,["disabled"]))}});var rZe=on(nZe,[["__file","total.vue"]]);const oZe=Jt({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),iZe=nt({name:"ElPaginationPager"}),aZe=nt({...iZe,props:oZe,emits:[Pr],setup(e,{emit:t}){const n=e,r=Vt("pager"),o=Vt("icon"),{t:i}=Gr(),a=K(!1),s=K(!1),l=K(!1),u=K(!1),d=K(!1),c=K(!1),f=ee(()=>{const w=n.pagerCount,A=(w-1)/2,S=Number(n.currentPage),E=Number(n.pageCount);let D=!1,_=!1;E>w&&(S>w-A&&(D=!0),S["more","btn-quickprev",o.b(),r.is("disabled",n.disabled)]),v=ee(()=>["more","btn-quicknext",o.b(),r.is("disabled",n.disabled)]),h=ee(()=>n.disabled?-1:0);St(()=>[n.pageCount,n.pagerCount,n.currentPage],([w,A,S])=>{const E=(A-1)/2;let D=!1,_=!1;w>A&&(D=S>A-E,_=SE&&(S=E)),S!==D&&t(Pr,S)}return(w,A)=>(L(),G("ul",{class:oe(C(r).b()),onClick:b,onKeyup:$r(m,["enter"])},[w.pageCount>0?(L(),G("li",{key:0,class:oe([[C(r).is("active",w.currentPage===1),C(r).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===1,"aria-label":C(i)("el.pagination.currentPage",{pager:1}),tabindex:C(h)}," 1 ",10,["aria-current","aria-label","tabindex"])):xe("v-if",!0),a.value?(L(),G("li",{key:1,class:oe(C(p)),tabindex:C(h),"aria-label":C(i)("el.pagination.prevPages",{pager:w.pagerCount-2}),onMouseenter:S=>g(!0),onMouseleave:S=>l.value=!1,onFocus:S=>y(!0),onBlur:S=>d.value=!1},[(l.value||d.value)&&!w.disabled?(L(),yt(C(l0),{key:0})):(L(),yt(C(JX),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):xe("v-if",!0),(L(!0),G(Rt,null,un(C(f),S=>(L(),G("li",{key:S,class:oe([[C(r).is("active",w.currentPage===S),C(r).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===S,"aria-label":C(i)("el.pagination.currentPage",{pager:S}),tabindex:C(h)},je(S),11,["aria-current","aria-label","tabindex"]))),128)),s.value?(L(),G("li",{key:2,class:oe(C(v)),tabindex:C(h),"aria-label":C(i)("el.pagination.nextPages",{pager:w.pagerCount-2}),onMouseenter:S=>g(),onMouseleave:S=>u.value=!1,onFocus:S=>y(),onBlur:S=>c.value=!1},[(u.value||c.value)&&!w.disabled?(L(),yt(C(u0),{key:0})):(L(),yt(C(JX),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):xe("v-if",!0),w.pageCount>1?(L(),G("li",{key:3,class:oe([[C(r).is("active",w.currentPage===w.pageCount),C(r).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===w.pageCount,"aria-label":C(i)("el.pagination.currentPage",{pager:w.pageCount}),tabindex:C(h)},je(w.pageCount),11,["aria-current","aria-label","tabindex"])):xe("v-if",!0)],42,["onKeyup"]))}});var sZe=on(aZe,[["__file","pager.vue"]]);const Js=e=>typeof e!="number",lZe=Jt({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>$n(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:ct(Array),default:()=>fi([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:wo,default:()=>Jf},nextText:{type:String,default:""},nextIcon:{type:wo,default:()=>Da},teleported:{type:Boolean,default:!0},small:Boolean,size:Aa,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),uZe={"update:current-page":e=>$n(e),"update:page-size":e=>$n(e),"size-change":e=>$n(e),change:(e,t)=>$n(e)&&$n(t),"current-change":e=>$n(e),"prev-click":e=>$n(e),"next-click":e=>$n(e)},lee="ElPagination";var cZe=nt({name:lee,props:lZe,emits:uZe,setup(e,{emit:t,slots:n}){const{t:r}=Gr(),o=Vt("pagination"),i=br().vnode.props||{},a=Vme(),s=ee(()=>{var A;return e.small?"small":(A=e.size)!=null?A:a.value});jf({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},ee(()=>!!e.small));const l="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,u="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,d=ee(()=>{if(Js(e.total)&&Js(e.pageCount)||!Js(e.currentPage)&&!l)return!1;if(e.layout.includes("sizes")){if(Js(e.pageCount)){if(!Js(e.total)&&!Js(e.pageSize)&&!u)return!1}else if(!u)return!1}return!0}),c=K(Js(e.defaultPageSize)?10:e.defaultPageSize),f=K(Js(e.defaultCurrentPage)?1:e.defaultCurrentPage),p=ee({get(){return Js(e.pageSize)?c.value:e.pageSize},set(A){Js(e.pageSize)&&(c.value=A),u&&(t("update:page-size",A),t("size-change",A))}}),v=ee(()=>{let A=0;return Js(e.pageCount)?Js(e.total)||(A=Math.max(1,Math.ceil(e.total/p.value))):A=e.pageCount,A}),h=ee({get(){return Js(e.currentPage)?f.value:e.currentPage},set(A){let S=A;A<1?S=1:A>v.value&&(S=v.value),Js(e.currentPage)&&(f.value=S),l&&(t("update:current-page",S),t("current-change",S))}});St(v,A=>{h.value>A&&(h.value=A)}),St([h,p],A=>{t(Pr,...A)},{flush:"post"});function g(A){h.value=A}function y(A){p.value=A;const S=v.value;h.value>S&&(h.value=S)}function m(){e.disabled||(h.value-=1,t("prev-click",h.value))}function b(){e.disabled||(h.value+=1,t("next-click",h.value))}function w(A,S){A&&(A.props||(A.props={}),A.props.class=[A.props.class,S].join(" "))}return _r(pbe,{pageCount:v,disabled:ee(()=>e.disabled),currentPage:h,changeEvent:g,handleSizeChange:y}),()=>{var A,S;if(!d.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&v.value<=1)return null;const E=[],D=[],_=jn("div",{class:o.e("rightwrapper")},D),M={prev:jn(EQe,{disabled:e.disabled,currentPage:h.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:m}),jumper:jn(JQe,{size:s.value}),pager:jn(sZe,{currentPage:h.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:jn(DQe,{disabled:e.disabled,currentPage:h.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:b}),sizes:jn(YQe,{pageSize:p.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:s.value,appendSizeTo:e.appendSizeTo}),slot:(S=(A=n?.default)==null?void 0:A.call(n))!=null?S:null,total:jn(rZe,{total:Js(e.total)?0:e.total})},O=e.layout.split(",").map(R=>R.trim());let k=!1;return O.forEach(R=>{if(R==="->"){k=!0;return}k?D.push(M[R]):E.push(M[R])}),w(E[0],o.is("first")),w(E[E.length-1],o.is("last")),k&&D.length>0&&(w(D[0],o.is("first")),w(D[D.length-1],o.is("last")),E.push(_)),jn("div",{class:[o.b(),o.is("background",e.background),o.m(s.value)]},E)}}});const dZe=or(cZe),fZe=Jt({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:CL,default:"primary"},cancelButtonType:{type:String,values:CL,default:"text"},icon:{type:wo,default:()=>xLe},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},teleported:oi.teleported,persistent:oi.persistent,width:{type:[String,Number],default:150}}),pZe={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},hZe=nt({name:"ElPopconfirm"}),gZe=nt({...hZe,props:fZe,emits:pZe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Gr(),i=Vt("popconfirm"),a=K(),s=ee(()=>{var v;return(v=C(a))==null?void 0:v.popperRef}),l=()=>{var v,h;(h=(v=a.value)==null?void 0:v.onClose)==null||h.call(v)},u=ee(()=>({width:_i(r.width)})),d=v=>{n("confirm",v),l()},c=v=>{n("cancel",v),l()},f=ee(()=>r.confirmButtonText||o("el.popconfirm.confirmButtonText")),p=ee(()=>r.cancelButtonText||o("el.popconfirm.cancelButtonText"));return t({popperRef:s,hide:l}),(v,h)=>(L(),yt(C(hs),vr({ref_key:"tooltipRef",ref:a,trigger:"click",effect:"light"},v.$attrs,{"popper-class":`${C(i).namespace.value}-popover`,"popper-style":C(u),teleported:v.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":v.hideAfter,persistent:v.persistent}),{content:rt(()=>[x("div",{class:oe(C(i).b())},[x("div",{class:oe(C(i).e("main"))},[!v.hideIcon&&v.icon?(L(),yt(C(Dn),{key:0,class:oe(C(i).e("icon")),style:rn({color:v.iconColor})},{default:rt(()=>[(L(),yt(mr(v.icon)))]),_:1},8,["class","style"])):xe("v-if",!0),bn(" "+je(v.title),1)],2),x("div",{class:oe(C(i).e("action"))},[ht(v.$slots,"actions",{confirm:d,cancel:c},()=>[He(C(Xa),{size:"small",type:v.cancelButtonType==="text"?"":v.cancelButtonType,text:v.cancelButtonType==="text",onClick:c},{default:rt(()=>[bn(je(C(p)),1)]),_:1},8,["type","text"]),He(C(Xa),{size:"small",type:v.confirmButtonType==="text"?"":v.confirmButtonType,text:v.confirmButtonType==="text",onClick:d},{default:rt(()=>[bn(je(C(f)),1)]),_:1},8,["type","text"])])],2)],2)]),default:rt(()=>[v.$slots.reference?ht(v.$slots,"reference",{key:0}):xe("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var vZe=on(gZe,[["__file","popconfirm.vue"]]);const mZe=or(vZe),yZe=Jt({trigger:oy.trigger,triggerKeys:oy.triggerKeys,placement:BS.placement,disabled:oy.disabled,visible:oi.visible,transition:oi.transition,popperOptions:BS.popperOptions,tabindex:BS.tabindex,content:oi.content,popperStyle:oi.popperStyle,popperClass:oi.popperClass,enterable:{...oi.enterable,default:!0},effect:{...oi.effect,default:"light"},teleported:oi.teleported,appendTo:oi.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),bZe={"update:visible":e=>Eo(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},wZe="onUpdate:visible",AZe=nt({name:"ElPopover"}),CZe=nt({...AZe,props:yZe,emits:bZe,setup(e,{expose:t,emit:n}){const r=e,o=ee(()=>r[wZe]),i=Vt("popover"),a=K(),s=ee(()=>{var g;return(g=C(a))==null?void 0:g.popperRef}),l=ee(()=>[{width:_i(r.width)},r.popperStyle]),u=ee(()=>[i.b(),r.popperClass,{[i.m("plain")]:!!r.content}]),d=ee(()=>r.transition===`${i.namespace.value}-fade-in-linear`),c=()=>{var g;(g=a.value)==null||g.hide()},f=()=>{n("before-enter")},p=()=>{n("before-leave")},v=()=>{n("after-enter")},h=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:s,hide:c}),(g,y)=>(L(),yt(C(hs),vr({ref_key:"tooltipRef",ref:a},g.$attrs,{trigger:g.trigger,"trigger-keys":g.triggerKeys,placement:g.placement,disabled:g.disabled,visible:g.visible,transition:g.transition,"popper-options":g.popperOptions,tabindex:g.tabindex,content:g.content,offset:g.offset,"show-after":g.showAfter,"hide-after":g.hideAfter,"auto-close":g.autoClose,"show-arrow":g.showArrow,"aria-label":g.title,effect:g.effect,enterable:g.enterable,"popper-class":C(u),"popper-style":C(l),teleported:g.teleported,"append-to":g.appendTo,persistent:g.persistent,"gpu-acceleration":C(d),"onUpdate:visible":C(o),onBeforeShow:f,onBeforeHide:p,onShow:v,onHide:h}),{content:rt(()=>[g.title?(L(),G("div",{key:0,class:oe(C(i).e("title")),role:"title"},je(g.title),3)):xe("v-if",!0),ht(g.$slots,"default",{},()=>[bn(je(g.content),1)])]),default:rt(()=>[g.$slots.reference?ht(g.$slots,"reference",{key:0}):xe("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});var xZe=on(CZe,[["__file","popover.vue"]]);const uee=(e,t)=>{const n=t.arg||t.value,r=n?.popperRef;r&&(r.triggerRef=e)};var SZe={mounted(e,t){uee(e,t)},updated(e,t){uee(e,t)}};const EZe="popover",gbe=TBe(SZe,EZe),kZe=or(xZe,{directive:gbe}),TZe=Jt({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:ct(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:ct([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:ct(Function),default:e=>`${e}%`}}),_Ze=nt({name:"ElProgress"}),DZe=nt({..._Ze,props:TZe,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=Vt("progress"),o=ee(()=>{const b={width:`${t.percentage}%`,animationDuration:`${t.duration}s`},w=m(t.percentage);return w.includes("gradient")?b.background=w:b.backgroundColor=w,b}),i=ee(()=>(t.strokeWidth/t.width*100).toFixed(1)),a=ee(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),s=ee(()=>{const b=a.value,w=t.type==="dashboard";return` M 50 50 m 0 ${w?"":"-"}${b} a ${b} ${b} 0 1 1 0 ${w?"-":""}${b*2} a ${b} ${b} 0 1 1 0 ${w?"":"-"}${b*2} `}),l=ee(()=>2*Math.PI*a.value),u=ee(()=>t.type==="dashboard"?.75:1),d=ee(()=>`${-1*l.value*(1-u.value)/2}px`),c=ee(()=>({strokeDasharray:`${l.value*u.value}px, ${l.value}px`,strokeDashoffset:d.value})),f=ee(()=>({strokeDasharray:`${l.value*u.value*(t.percentage/100)}px, ${l.value}px`,strokeDashoffset:d.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),p=ee(()=>{let b;return t.color?b=m(t.percentage):b=n[t.status]||n.default,b}),v=ee(()=>t.status==="warning"?zb:t.type==="line"?t.status==="success"?xH:tf:t.status==="success"?B5:vu),h=ee(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=ee(()=>t.format(t.percentage));function y(b){const w=100/b.length;return b.map((S,E)=>In(S)?{color:S,percentage:(E+1)*w}:S).sort((S,E)=>S.percentage-E.percentage)}const m=b=>{var w;const{color:A}=t;if(Rn(A))return A(b);if(In(A))return A;{const S=y(A);for(const E of S)if(E.percentage>b)return E.color;return(w=S[S.length-1])==null?void 0:w.color}};return(b,w)=>(L(),G("div",{class:oe([C(r).b(),C(r).m(b.type),C(r).is(b.status),{[C(r).m("without-text")]:!b.showText,[C(r).m("text-inside")]:b.textInside}]),role:"progressbar","aria-valuenow":b.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[b.type==="line"?(L(),G("div",{key:0,class:oe(C(r).b("bar"))},[x("div",{class:oe(C(r).be("bar","outer")),style:rn({height:`${b.strokeWidth}px`})},[x("div",{class:oe([C(r).be("bar","inner"),{[C(r).bem("bar","inner","indeterminate")]:b.indeterminate},{[C(r).bem("bar","inner","striped")]:b.striped},{[C(r).bem("bar","inner","striped-flow")]:b.stripedFlow}]),style:rn(C(o))},[(b.showText||b.$slots.default)&&b.textInside?(L(),G("div",{key:0,class:oe(C(r).be("bar","innerText"))},[ht(b.$slots,"default",{percentage:b.percentage},()=>[x("span",null,je(C(g)),1)])],2)):xe("v-if",!0)],6)],6)],2)):(L(),G("div",{key:1,class:oe(C(r).b("circle")),style:rn({height:`${b.width}px`,width:`${b.width}px`})},[(L(),G("svg",{viewBox:"0 0 100 100"},[x("path",{class:oe(C(r).be("circle","track")),d:C(s),stroke:`var(${C(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":b.strokeLinecap,"stroke-width":C(i),fill:"none",style:rn(C(c))},null,14,["d","stroke","stroke-linecap","stroke-width"]),x("path",{class:oe(C(r).be("circle","path")),d:C(s),stroke:C(p),fill:"none",opacity:b.percentage?1:0,"stroke-linecap":b.strokeLinecap,"stroke-width":C(i),style:rn(C(f))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(b.showText||b.$slots.default)&&!b.textInside?(L(),G("div",{key:2,class:oe(C(r).e("text")),style:rn({fontSize:`${C(h)}px`})},[ht(b.$slots,"default",{percentage:b.percentage},()=>[b.status?(L(),yt(C(Dn),{key:1},{default:rt(()=>[(L(),yt(mr(C(v))))]),_:1})):(L(),G("span",{key:0},je(C(g)),1))])],6)):xe("v-if",!0)],10,["aria-valuenow"]))}});var IZe=on(DZe,[["__file","progress.vue"]]);const vbe=or(IZe),OZe=Jt({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:ct([Array,Object]),default:()=>fi(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:ct([Array,Object]),default:()=>[vx,vx,vx]},voidIcon:{type:wo,default:()=>FLe},disabledVoidIcon:{type:wo,default:()=>vx},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:ct(Array),default:()=>fi(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:Aa,clearable:Boolean,..._s(["ariaLabel"])}),MZe={[Pr]:e=>$n(e),[Qn]:e=>$n(e)},PZe=nt({name:"ElRate"}),NZe=nt({...PZe,props:OZe,emits:MZe,setup(e,{expose:t,emit:n}){const r=e;function o(B,z){const j=U=>dr(U),q=Object.keys(z).map(U=>+U).filter(U=>{const F=z[U];return(j(F)?F.excluded:!1)?BU-F),Y=z[q[0]];return j(Y)&&Y.value||Y}const i=dn(um,void 0),a=dn(Hd,void 0),s=ha(),l=Vt("rate"),{inputId:u,isLabeledByFormItem:d}=fc(r,{formItemContext:a}),c=K(r.modelValue),f=K(-1),p=K(!0),v=ee(()=>[l.b(),l.m(s.value)]),h=ee(()=>r.disabled||i?.disabled),g=ee(()=>l.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":w.value})),y=ee(()=>{let B="";return r.showScore?B=r.scoreTemplate.replace(/\{\s*value\s*\}/,h.value?`${r.modelValue}`:`${c.value}`):r.showText&&(B=r.texts[Math.ceil(c.value)-1]),B}),m=ee(()=>r.modelValue*100-Math.floor(r.modelValue)*100),b=ee(()=>Zt(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors),w=ee(()=>{const B=o(c.value,b.value);return dr(B)?"":B}),A=ee(()=>{let B="";return h.value?B=`${m.value}%`:r.allowHalf&&(B="50%"),{color:w.value,width:B}}),S=ee(()=>{let B=Zt(r.icons)?[...r.icons]:{...r.icons};return B=Rd(B),Zt(B)?{[r.lowThreshold]:B[0],[r.highThreshold]:{value:B[1],excluded:!0},[r.max]:B[2]}:B}),E=ee(()=>o(r.modelValue,S.value)),D=ee(()=>h.value?In(r.disabledVoidIcon)?r.disabledVoidIcon:Rd(r.disabledVoidIcon):In(r.voidIcon)?r.voidIcon:Rd(r.voidIcon)),_=ee(()=>o(c.value,S.value));function M(B){const z=h.value&&m.value>0&&B-1r.modelValue,j=r.allowHalf&&p.value&&B-.5<=c.value&&B>c.value;return z||j}function O(B){r.clearable&&B===r.modelValue&&(B=0),n(Qn,B),r.modelValue!==B&&n(Pr,B)}function k(B){h.value||(r.allowHalf&&p.value?O(c.value):O(B))}function R(B){if(h.value)return;let z=c.value;const j=B.code;return j===gn.up||j===gn.right?(r.allowHalf?z+=.5:z+=1,B.stopPropagation(),B.preventDefault()):(j===gn.left||j===gn.down)&&(r.allowHalf?z-=.5:z-=1,B.stopPropagation(),B.preventDefault()),z=z<0?0:z,z=z>r.max?r.max:z,n(Qn,z),n(Pr,z),z}function N(B,z){if(!h.value){if(r.allowHalf&&z){let j=z.target;Ol(j,l.e("item"))&&(j=j.querySelector(`.${l.e("icon")}`)),(j.clientWidth===0||Ol(j,l.e("decimal")))&&(j=j.parentNode),p.value=z.offsetX*2<=j.clientWidth,c.value=p.value?B-.5:B}else c.value=B;f.value=B}}function W(){h.value||(r.allowHalf&&(p.value=r.modelValue!==Math.floor(r.modelValue)),c.value=r.modelValue,f.value=-1)}return St(()=>r.modelValue,B=>{c.value=B,p.value=r.modelValue!==Math.floor(r.modelValue)}),r.modelValue||n(Qn,0),t({setCurrentValue:N,resetCurrentValue:W}),(B,z)=>{var j;return L(),G("div",{id:C(u),class:oe([C(v),C(l).is("disabled",C(h))]),role:"slider","aria-label":C(d)?void 0:B.ariaLabel||"rating","aria-labelledby":C(d)?(j=C(a))==null?void 0:j.labelId:void 0,"aria-valuenow":c.value,"aria-valuetext":C(y)||void 0,"aria-valuemin":"0","aria-valuemax":B.max,tabindex:"0",style:rn(C(g)),onKeydown:R},[(L(!0),G(Rt,null,un(B.max,(q,Y)=>(L(),G("span",{key:Y,class:oe(C(l).e("item")),onMousemove:U=>N(q,U),onMouseleave:W,onClick:U=>k(q)},[He(C(Dn),{class:oe([C(l).e("icon"),{hover:f.value===q},C(l).is("active",q<=c.value)])},{default:rt(()=>[M(q)?xe("v-if",!0):(L(),G(Rt,{key:0},[cn((L(),yt(mr(C(_)),null,null,512)),[[kr,q<=c.value]]),cn((L(),yt(mr(C(D)),null,null,512)),[[kr,!(q<=c.value)]])],64)),M(q)?(L(),G(Rt,{key:1},[(L(),yt(mr(C(D)),{class:oe([C(l).em("decimal","box")])},null,8,["class"])),He(C(Dn),{style:rn(C(A)),class:oe([C(l).e("icon"),C(l).e("decimal")])},{default:rt(()=>[(L(),yt(mr(C(E))))]),_:1},8,["style","class"])],64)):xe("v-if",!0)]),_:2},1032,["class"])],42,["onMousemove","onClick"]))),128)),B.showText||B.showScore?(L(),G("span",{key:0,class:oe(C(l).e("text")),style:rn({color:B.textColor})},je(C(y)),7)):xe("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}});var RZe=on(NZe,[["__file","rate.vue"]]);const BZe=or(RZe),Dg={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},cee={[Dg.primary]:Q3,[Dg.success]:qBe,[Dg.warning]:zb,[Dg.error]:SH,[Dg.info]:Q3},LZe=Jt({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}}),FZe=nt({name:"ElResult"}),UZe=nt({...FZe,props:LZe,setup(e){const t=e,n=Vt("result"),r=ee(()=>{const o=t.icon,i=o&&Dg[o]?Dg[o]:"icon-info",a=cee[i]||cee["icon-info"];return{class:i,component:a}});return(o,i)=>(L(),G("div",{class:oe(C(n).b())},[x("div",{class:oe(C(n).e("icon"))},[ht(o.$slots,"icon",{},()=>[C(r).component?(L(),yt(mr(C(r).component),{key:0,class:oe(C(r).class)},null,8,["class"])):xe("v-if",!0)])],2),o.title||o.$slots.title?(L(),G("div",{key:0,class:oe(C(n).e("title"))},[ht(o.$slots,"title",{},()=>[x("p",null,je(o.title),1)])],2)):xe("v-if",!0),o.subTitle||o.$slots["sub-title"]?(L(),G("div",{key:1,class:oe(C(n).e("subtitle"))},[ht(o.$slots,"sub-title",{},()=>[x("p",null,je(o.subTitle),1)])],2)):xe("v-if",!0),o.$slots.extra?(L(),G("div",{key:2,class:oe(C(n).e("extra"))},[ht(o.$slots,"extra")],2)):xe("v-if",!0)],2))}});var zZe=on(UZe,[["__file","result.vue"]]);const $Ze=or(zZe),jZe=["start","center","end","space-around","space-between","space-evenly"],HZe=["top","middle","bottom"],WZe=Jt({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:jZe,default:"start"},align:{type:String,values:HZe}}),VZe=nt({name:"ElRow"}),qZe=nt({...VZe,props:WZe,setup(e){const t=e,n=Vt("row"),r=ee(()=>t.gutter);_r(pye,{gutter:r});const o=ee(()=>{const a={};return t.gutter&&(a.marginRight=a.marginLeft=`-${t.gutter/2}px`),a}),i=ee(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(a,s)=>(L(),yt(mr(a.tag),{class:oe(C(i)),style:rn(C(o))},{default:rt(()=>[ht(a.$slots,"default")]),_:3},8,["class","style"]))}});var GZe=on(qZe,[["__file","row.vue"]]);const KZe=or(GZe),YZe=nt({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:Vt("select")}}});function QZe(e,t,n,r,o,i){return L(),G("div",{class:oe(e.ns.be("group","title")),style:rn({...e.style,lineHeight:`${e.height}px`})},je(e.item.label),7)}var ZZe=on(YZe,[["render",QZe],["__file","group-item.vue"]]);function XZe(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const JZe=Jt({allowCreate:Boolean,autocomplete:{type:ct(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:wo,default:tf},effect:{type:ct(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:ct(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:ct([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:ct(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:ct(Array),required:!0},placeholder:{type:String},teleported:oi.teleported,persistent:{type:Boolean,default:!0},popperClass:oi.popperClass,popperStyle:oi.popperStyle,popperOptions:{type:ct(Object),default:()=>({})},remote:Boolean,size:Aa,props:{type:ct(Object),default:()=>hW},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},showArrow:{type:Boolean,default:!0},placement:{type:ct(String),values:Cp,default:"bottom-start"},fallbackPlacements:{type:ct(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tp.type,default:"info"},tagEffect:{...tp.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:oi.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return Eo(e)||$n(e)}},suffixIcon:{type:wo,default:ed},...lm,..._s(["ariaLabel"])}),eXe=Jt({data:Array,disabled:Boolean,hovering:Boolean,item:{type:ct(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),tXe={[Qn]:e=>!0,[Pr]:e=>!0,"remove-tag":e=>!0,"visible-change":e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0},nXe={hover:e=>$n(e),select:(e,t)=>!0},bW=Symbol("ElSelectV2Injection"),rXe=nt({props:eXe,emits:nXe,setup(e,{emit:t}){const n=dn(bW),r=Vt("select"),{hoverItem:o,selectOptionClick:i}=XZe(e,{emit:t}),{getLabel:a}=H5(n.props);return{ns:r,hoverItem:o,selectOptionClick:i,getLabel:a}}});function oXe(e,t,n,r,o,i){return L(),G("li",{"aria-selected":e.selected,style:rn(e.style),class:oe([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMousemove:e.hoverItem,onClick:en(e.selectOptionClick,["stop"])},[ht(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[x("span",null,je(e.getLabel(e.item)),1)])],46,["aria-selected","onMousemove","onClick"])}var iXe=on(rXe,[["render",oXe],["__file","option-item.vue"]]),dee=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function aXe(e,t){return!!(e===t||dee(e)&&dee(t))}function sXe(e,t){if(e.length!==t.length)return!1;for(var n=0;n{const t=br().proxy.$props;return ee(()=>{const n=(r,o,i)=>({});return t.perfMode?eD(n):lXe(n)})},$L=50,IE="itemRendered",OE="scroll",j1="forward",ME="backward",$u="auto",vD="smart",iA="start",Ed="center",aA="end",jy="horizontal",wW="vertical",uXe="ltr",iy="rtl",sA="negative",AW="positive-ascending",CW="positive-descending",cXe={[jy]:"left",[wW]:"top"},dXe=20,fXe={[jy]:"deltaX",[wW]:"deltaY"},pXe=({atEndEdge:e,atStartEdge:t,layout:n},r)=>{let o,i=0;const a=l=>l<0&&t.value||l>0&&e.value;return{hasReachedEdge:a,onWheel:l=>{Pv(o);const u=l[fXe[n.value]];a(i)&&a(i+u)||(i+=u,kH()||l.preventDefault(),o=s0(()=>{r(i),i=0}))}}},jL=Jc({type:ct([Number,Function]),required:!0}),HL=Jc({type:Number}),WL=Jc({type:Number,default:2}),hXe=Jc({type:String,values:["ltr","rtl"],default:"ltr"}),VL=Jc({type:Number,default:0}),PE=Jc({type:Number,required:!0}),ybe=Jc({type:String,values:["horizontal","vertical"],default:wW}),bbe=Jt({className:{type:String,default:""},containerElement:{type:ct([String,Object]),default:"div"},data:{type:ct(Array),default:()=>fi([])},direction:hXe,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:ct([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),wbe=Jt({cache:WL,estimatedItemSize:HL,layout:ybe,initScrollOffset:VL,total:PE,itemSize:jL,...bbe}),qL={type:Number,default:6},Abe={type:Number,default:0},Cbe={type:Number,default:2},Jg=Jt({columnCache:WL,columnWidth:jL,estimatedColumnWidth:HL,estimatedRowHeight:HL,initScrollLeft:VL,initScrollTop:VL,itemKey:{type:ct(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:WL,rowHeight:jL,totalColumn:PE,totalRow:PE,hScrollbarSize:qL,vScrollbarSize:qL,scrollbarStartGap:Abe,scrollbarEndGap:Cbe,role:String,...bbe}),xbe=Jt({alwaysOn:Boolean,class:String,layout:ybe,total:PE,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:qL,startGap:Abe,endGap:Cbe,visible:Boolean}),$g=(e,t)=>ee===uXe||e===iy||e===jy,fee=e=>e===iy;let Um=null;function NE(e=!1){if(Um===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Um=CW:(t.scrollLeft=1,t.scrollLeft===0?Um=sA:Um=AW),document.body.removeChild(t),Um}return Um}function gXe({move:e,size:t,bar:n},r){const o={},i=`translate${n.axis}(${e}px)`;return o[n.size]=t,o.transform=i,r==="horizontal"?o.height="100%":o.width="100%",o}const GL=nt({name:"ElVirtualScrollBar",props:xbe,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=ee(()=>e.startGap+e.endGap),r=Vt("virtual-scrollbar"),o=Vt("scrollbar"),i=K(),a=K();let s=null,l=null;const u=Wr({isDragging:!1,traveled:0}),d=ee(()=>f1e[e.layout]),c=ee(()=>e.clientSize-C(n)),f=ee(()=>({position:"absolute",width:`${jy===e.layout?c.value:e.scrollbarSize}px`,height:`${jy===e.layout?e.scrollbarSize:c.value}px`,[cXe[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),p=ee(()=>{const S=e.ratio;if(S>=100)return Number.POSITIVE_INFINITY;if(S>=50)return S*c.value/100;const E=c.value/3;return Math.floor(Math.min(Math.max(S*c.value/100,dXe),E))}),v=ee(()=>{if(!Number.isFinite(p.value))return{display:"none"};const S=`${p.value}px`;return gXe({bar:d.value,size:S,move:u.traveled},e.layout)}),h=ee(()=>Math.ceil(e.clientSize-p.value-C(n))),g=()=>{window.addEventListener("mousemove",w),window.addEventListener("mouseup",b);const S=C(a);S&&(l=document.onselectstart,document.onselectstart=()=>!1,S.addEventListener("touchmove",w,{passive:!0}),S.addEventListener("touchend",b))},y=()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",b),document.onselectstart=l,l=null;const S=C(a);S&&(S.removeEventListener("touchmove",w),S.removeEventListener("touchend",b))},m=S=>{S.stopImmediatePropagation(),!(S.ctrlKey||[1,2].includes(S.button))&&(u.isDragging=!0,u[d.value.axis]=S.currentTarget[d.value.offset]-(S[d.value.client]-S.currentTarget.getBoundingClientRect()[d.value.direction]),t("start-move"),g())},b=()=>{u.isDragging=!1,u[d.value.axis]=0,t("stop-move"),y()},w=S=>{const{isDragging:E}=u;if(!E||!a.value||!i.value)return;const D=u[d.value.axis];if(!D)return;Pv(s);const _=(i.value.getBoundingClientRect()[d.value.direction]-S[d.value.client])*-1,M=a.value[d.value.offset]-D,O=_-M;s=s0(()=>{u.traveled=Math.max(0,Math.min(O,h.value)),t("scroll",O,h.value)})},A=S=>{const E=Math.abs(S.target.getBoundingClientRect()[d.value.direction]-S[d.value.client]),D=a.value[d.value.offset]/2,_=E-D;u.traveled=Math.max(0,Math.min(_,h.value)),t("scroll",_,h.value)};return St(()=>e.scrollFrom,S=>{u.isDragging||(u.traveled=Math.ceil(S*h.value))}),Jr(()=>{y()}),()=>jn("div",{role:"presentation",ref:i,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:f.value,onMousedown:en(A,["stop","prevent"]),onTouchstartPrevent:m},jn("div",{ref:a,class:o.e("thumb"),style:v.value,onMousedown:m},[]))}}),Sbe=({name:e,getOffset:t,getItemSize:n,getItemOffset:r,getEstimatedTotalSize:o,getStartIndexForOffset:i,getStopIndexForStartIndex:a,initCache:s,clearCache:l,validateProps:u})=>nt({name:e??"ElVirtualList",props:wbe,emits:[IE,OE],setup(d,{emit:c,expose:f}){u(d);const p=br(),v=Vt("vl"),h=K(s(d,p)),g=mbe(),y=K(),m=K(),b=K(),w=K({isScrolling:!1,scrollDir:"forward",scrollOffset:$n(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),A=ee(()=>{const{total:H,cache:re}=d,{isScrolling:X,scrollDir:te,scrollOffset:Z}=C(w);if(H===0)return[0,0,0,0];const le=i(d,Z,C(h)),ve=a(d,le,Z,C(h)),Pe=!X||te===ME?Math.max(1,re):1,Ae=!X||te===j1?Math.max(1,re):1;return[Math.max(0,le-Pe),Math.max(0,Math.min(H-1,ve+Ae)),le,ve]}),S=ee(()=>o(d,C(h))),E=ee(()=>lA(d.layout)),D=ee(()=>[{position:"relative",[`overflow-${E.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:$n(d.height)?`${d.height}px`:d.height,width:$n(d.width)?`${d.width}px`:d.width},d.style]),_=ee(()=>{const H=C(S),re=C(E);return{height:re?"100%":`${H}px`,pointerEvents:C(w).isScrolling?"none":void 0,width:re?`${H}px`:"100%"}}),M=ee(()=>E.value?d.width:d.height),{onWheel:O}=pXe({atStartEdge:ee(()=>w.value.scrollOffset<=0),atEndEdge:ee(()=>w.value.scrollOffset>=S.value),layout:ee(()=>d.layout)},H=>{var re,X;(X=(re=b.value).onMouseUp)==null||X.call(re),z(Math.min(w.value.scrollOffset+H,S.value-M.value))});Ro(y,"wheel",O,{passive:!1});const k=()=>{const{total:H}=d;if(H>0){const[Z,le,ve,Pe]=C(A);c(IE,Z,le,ve,Pe)}const{scrollDir:re,scrollOffset:X,updateRequested:te}=C(w);c(OE,re,X,te)},R=H=>{const{clientHeight:re,scrollHeight:X,scrollTop:te}=H.currentTarget,Z=C(w);if(Z.scrollOffset===te)return;const le=Math.max(0,Math.min(te,X-re));w.value={...Z,isScrolling:!0,scrollDir:$g(Z.scrollOffset,le),scrollOffset:le,updateRequested:!1},Yt(Y)},N=H=>{const{clientWidth:re,scrollLeft:X,scrollWidth:te}=H.currentTarget,Z=C(w);if(Z.scrollOffset===X)return;const{direction:le}=d;let ve=X;if(le===iy)switch(NE()){case sA:{ve=-X;break}case CW:{ve=te-re-X;break}}ve=Math.max(0,Math.min(ve,te-re)),w.value={...Z,isScrolling:!0,scrollDir:$g(Z.scrollOffset,ve),scrollOffset:ve,updateRequested:!1},Yt(Y)},W=H=>{C(E)?N(H):R(H),k()},B=(H,re)=>{const X=(S.value-M.value)/re*H;z(Math.min(S.value-M.value,X))},z=H=>{H=Math.max(H,0),H!==C(w).scrollOffset&&(w.value={...C(w),scrollOffset:H,scrollDir:$g(C(w).scrollOffset,H),updateRequested:!0},Yt(Y))},j=(H,re=$u)=>{const{scrollOffset:X}=C(w);H=Math.max(0,Math.min(H,d.total-1)),z(t(d,H,re,X,C(h)))},q=H=>{const{direction:re,itemSize:X,layout:te}=d,Z=g.value(l&&X,l&&te,l&&re);let le;if(no(Z,String(H)))le=Z[H];else{const ve=r(d,H,C(h)),Pe=n(d,H,C(h)),Ae=C(E),he=re===iy,Ee=Ae?ve:0;Z[H]=le={position:"absolute",left:he?void 0:`${Ee}px`,right:he?`${Ee}px`:void 0,top:Ae?0:`${ve}px`,height:Ae?"100%":`${Pe}px`,width:Ae?`${Pe}px`:"100%"}}return le},Y=()=>{w.value.isScrolling=!1,Yt(()=>{g.value(-1,null,null)})},U=()=>{const H=y.value;H&&(H.scrollTop=0)};qn(()=>{if(!Xr)return;const{initScrollOffset:H}=d,re=C(y);$n(H)&&re&&(C(E)?re.scrollLeft=H:re.scrollTop=H),k()}),Qc(()=>{const{direction:H,layout:re}=d,{scrollOffset:X,updateRequested:te}=C(w),Z=C(y);if(te&&Z)if(re===jy)if(H===iy)switch(NE()){case sA:{Z.scrollLeft=-X;break}case AW:{Z.scrollLeft=X;break}default:{const{clientWidth:le,scrollWidth:ve}=Z;Z.scrollLeft=ve-le-X;break}}else Z.scrollLeft=X;else Z.scrollTop=X}),Db(()=>{C(y).scrollTop=C(w).scrollOffset});const F={ns:v,clientSize:M,estimatedTotalSize:S,windowStyle:D,windowRef:y,innerRef:m,innerStyle:_,itemsToRender:A,scrollbarRef:b,states:w,getItemStyle:q,onScroll:W,onScrollbarScroll:B,onWheel:O,scrollTo:z,scrollToItem:j,resetScrollTop:U};return f({windowRef:y,innerRef:m,getItemStyleCache:g,scrollTo:z,scrollToItem:j,resetScrollTop:U,states:w}),F},render(d){var c;const{$slots:f,className:p,clientSize:v,containerElement:h,data:g,getItemStyle:y,innerElement:m,itemsToRender:b,innerStyle:w,layout:A,total:S,onScroll:E,onScrollbarScroll:D,states:_,useIsScrolling:M,windowStyle:O,ns:k}=d,[R,N]=b,W=mr(h),B=mr(m),z=[];if(S>0)for(let U=R;U<=N;U++)z.push(jn(Rt,{key:U},(c=f.default)==null?void 0:c.call(f,{data:g,index:U,isScrolling:M?_.isScrolling:void 0,style:y(U)})));const j=[jn(B,{style:w,ref:"innerRef"},In(B)?z:{default:()=>z})],q=jn(GL,{ref:"scrollbarRef",clientSize:v,layout:A,onScroll:D,ratio:v*100/this.estimatedTotalSize,scrollFrom:_.scrollOffset/(this.estimatedTotalSize-v),total:S,alwaysOn:_.scrollbarAlwaysOn}),Y=jn(W,{class:[k.e("window"),p],style:O,onScroll:E,ref:"windowRef",key:0},In(W)?[j]:{default:()=>[j]});return jn("div",{key:0,class:[k.e("wrapper"),_.scrollbarAlwaysOn?"always-on":""]},[Y,q])}}),Ebe=Sbe({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:r,width:o},i,a,s)=>{const l=lA(r)?o:e,u=Math.max(0,t*n-l),d=Math.min(u,i*n),c=Math.max(0,(i+1)*n-l);switch(a===vD&&(s>=c-l&&s<=d+l?a=$u:a=Ed),a){case iA:return d;case aA:return c;case Ed:{const f=Math.round(c+(d-c)/2);return fu+Math.floor(l/2)?u:f}case $u:default:return s>=c&&s<=d?s:sMath.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:r,width:o},i,a)=>{const s=i*n,l=lA(r)?o:e,u=Math.ceil((l+a-s)/n);return Math.max(0,Math.min(t-1,i+u-1))},initCache(){},clearCache:!0,validateProps(){}}),H1=(e,t,n)=>{const{itemSize:r}=e,{items:o,lastVisitedIndex:i}=n;if(t>i){let a=0;if(i>=0){const s=o[i];a=s.offset+s.size}for(let s=i+1;s<=t;s++){const l=r(s);o[s]={offset:a,size:l},a+=l}n.lastVisitedIndex=t}return o[t]},vXe=(e,t,n)=>{const{items:r,lastVisitedIndex:o}=t;return(o>0?r[o].offset:0)>=n?kbe(e,t,0,o,n):mXe(e,t,Math.max(0,o),n)},kbe=(e,t,n,r,o)=>{for(;n<=r;){const i=n+Math.floor((r-n)/2),a=H1(e,i,t).offset;if(a===o)return i;ao&&(r=i-1)}return Math.max(0,n-1)},mXe=(e,t,n,r)=>{const{total:o}=e;let i=1;for(;n{let o=0;if(r>=e&&(r=e-1),r>=0){const s=t[r];o=s.offset+s.size}const a=(e-r-1)*n;return o+a},yXe=Sbe({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>H1(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:pee,getOffset:(e,t,n,r,o)=>{const{height:i,layout:a,width:s}=e,l=lA(a)?s:i,u=H1(e,t,o),d=pee(e,o),c=Math.max(0,Math.min(d-l,u.offset)),f=Math.max(0,u.offset-l+u.size);switch(n===vD&&(r>=f-l&&r<=c+l?n=$u:n=Ed),n){case iA:return c;case aA:return f;case Ed:return Math.round(f+(c-f)/2);case $u:default:return r>=f&&r<=c?r:rvXe(e,n,t),getStopIndexForStartIndex:(e,t,n,r)=>{const{height:o,total:i,layout:a,width:s}=e,l=lA(a)?s:o,u=H1(e,t,r),d=n+l;let c=u.offset+u.size,f=t;for(;f{var i,a;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,r-1),(i=t.exposed)==null||i.getItemStyleCache(-1),o&&((a=t.proxy)==null||a.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),bXe={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number};var wXe=nt({name:"ElSelectDropdown",props:bXe,setup(e,{slots:t,expose:n}){const r=dn(bW),o=Vt("select"),{getLabel:i,getValue:a,getDisabled:s}=H5(r.props),l=K([]),u=K(),d=ee(()=>e.data.length);St(()=>d.value,()=>{var O,k;(k=(O=r.tooltipRef.value)==null?void 0:O.updatePopper)==null||k.call(O)});const c=ee(()=>Vr(r.props.estimatedOptionHeight)),f=ee(()=>c.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:O=>l.value[O]}),p=(O=[],k)=>{const{props:{valueKey:R}}=r;return dr(k)?O&&O.some(N=>No(Xi(N,R))===Xi(k,R)):O.includes(k)},v=(O,k)=>{if(dr(k)){const{valueKey:R}=r.props;return Xi(O,R)===Xi(k,R)}else return O===k},h=(O,k)=>r.props.multiple?p(O,a(k)):v(O,a(k)),g=(O,k)=>{const{disabled:R,multiple:N,multipleLimit:W}=r.props;return R||!k&&(N?W>0&&O.length>=W:!1)},y=O=>e.hoveringIndex===O;n({listRef:u,isSized:c,isItemDisabled:g,isItemHovering:y,isItemSelected:h,scrollToItem:O=>{const k=u.value;k&&k.scrollToItem(O)},resetScrollTop:()=>{const O=u.value;O&&O.resetScrollTop()}});const A=O=>{const{index:k,data:R,style:N}=O,W=C(c),{itemSize:B,estimatedSize:z}=C(f),{modelValue:j}=r.props,{onSelect:q,onHover:Y}=r,U=R[k];if(U.type==="Group")return He(ZZe,{item:U,style:N,height:W?B:z},null);const F=h(j,U),H=g(j,F),re=y(k);return He(iXe,vr(O,{selected:F,disabled:s(U)||H,created:!!U.created,hovering:re,item:U,onSelect:q,onHover:Y}),{default:X=>{var te;return((te=t.default)==null?void 0:te.call(t,X))||He("span",null,[i(U)])}})},{onKeyboardNavigate:S,onKeyboardSelect:E}=r,D=()=>{S("forward")},_=()=>{S("backward")},M=O=>{const{code:k}=O,{tab:R,esc:N,down:W,up:B,enter:z,numpadEnter:j}=gn;switch([N,W,B,z,j].includes(k)&&(O.preventDefault(),O.stopPropagation()),k){case R:case N:break;case W:D();break;case B:_();break;case z:case j:E();break}};return()=>{var O,k,R,N;const{data:W,width:B}=e,{height:z,multiple:j,scrollbarAlwaysOn:q}=r.props,Y=ee(()=>wE?!0:q),U=C(c)?Ebe:yXe;return He("div",{class:[o.b("dropdown"),o.is("multiple",j)],style:{width:`${B}px`}},[(O=t.header)==null?void 0:O.call(t),((k=t.loading)==null?void 0:k.call(t))||((R=t.empty)==null?void 0:R.call(t))||He(U,vr({ref:u},C(f),{className:o.be("dropdown","list"),scrollbarAlwaysOn:Y.value,data:W,height:z,width:B,total:W.length,onKeydown:M}),{default:F=>He(A,F,null)}),(N=t.footer)==null?void 0:N.call(t)])}}});function AXe(e,t){const{aliasProps:n,getLabel:r,getValue:o}=H5(e),i=K(0),a=K(),s=ee(()=>e.allowCreate&&e.filterable);St(()=>e.options,p=>{const v=new Set(p.map(h=>r(h)));t.createdOptions=t.createdOptions.filter(h=>!v.has(r(h)))});function l(p){const v=h=>r(h)===p;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function u(p){s.value&&(e.multiple&&p.created?i.value++:a.value=p)}function d(p){if(s.value)if(p&&p.length>0){if(l(p)){t.createdOptions=t.createdOptions.filter(h=>r(h)!==t.previousQuery);return}const v={[n.value.value]:p,[n.value.label]:p,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=i.value?t.createdOptions[i.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=i.value;else{const v=a.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function c(p){if(!s.value||!p||!p.created||p.created&&e.reserveKeyword&&t.inputValue===r(p))return;const v=t.createdOptions.findIndex(h=>o(h)===o(p));~v&&(t.createdOptions.splice(v,1),i.value--)}function f(){s.value&&(t.createdOptions.length=0,i.value=0)}return{createNewOption:d,removeNewOption:c,selectNewOption:u,clearAllNewOption:f}}const CXe=(e,t)=>{const{t:n}=Gr(),r=Vt("select"),o=Vt("input"),{form:i,formItem:a}=Ds(),{inputId:s}=fc(e,{formItemContext:a}),{aliasProps:l,getLabel:u,getValue:d,getDisabled:c,getOptions:f}=H5(e),{valueOnClear:p,isEmptyValue:v}=R5(e),h=Wr({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),g=K(-1),y=K(),m=K(),b=K(),w=K(),A=K(),S=K(),E=K(),D=K(),_=K(),M=K(),{isComposing:O,handleCompositionStart:k,handleCompositionEnd:R,handleCompositionUpdate:N}=F5({afterComposition:Ct=>Bn(Ct)}),W=ee(()=>e.disabled||!!i?.disabled),{wrapperRef:B,isFocused:z,handleBlur:j}=Ap(A,{disabled:W,afterFocus(){e.automaticDropdown&&!F.value&&(F.value=!0,h.menuVisibleOnFocus=!0)},beforeBlur(Ct){var Xt,yn;return((Xt=b.value)==null?void 0:Xt.isFocusInsideContent(Ct))||((yn=w.value)==null?void 0:yn.isFocusInsideContent(Ct))},afterBlur(){var Ct;F.value=!1,h.menuVisibleOnFocus=!1,e.validateEvent&&((Ct=a?.validate)==null||Ct.call(a,"blur").catch(Xt=>void 0))}}),q=ee(()=>me("")),Y=ee(()=>e.loading?!1:e.options.length>0||h.createdOptions.length>0),U=K([]),F=K(!1),H=ee(()=>{var Ct;return(Ct=i?.statusIcon)!=null?Ct:!1}),re=ee(()=>{const Ct=U.value.length*e.itemHeight;return Ct>e.height?e.height:Ct}),X=ee(()=>e.multiple?Zt(e.modelValue)&&e.modelValue.length>0:!v(e.modelValue)),te=ee(()=>e.clearable&&!W.value&&X.value&&(z.value||h.inputHovering)),Z=ee(()=>e.remote&&e.filterable?"":e.suffixIcon),le=ee(()=>Z.value&&r.is("reverse",F.value)),ve=ee(()=>a?.validateState||""),Pe=ee(()=>{if(ve.value)return iD[ve.value]}),Ae=ee(()=>e.remote?300:0),he=ee(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!h.inputValue&&!Y.value?!1:e.filterable&&h.inputValue&&Y.value&&U.value.length===0?e.noMatchText||n("el.select.noMatch"):Y.value?null:e.noDataText||n("el.select.noData")),Ee=ee(()=>e.filterable&&Rn(e.filterMethod)),Q=ee(()=>e.filterable&&e.remote&&Rn(e.remoteMethod)),me=Ct=>{const Xt=new RegExp(gW(Ct),"i"),yn=Ln=>Ee.value||Q.value?!0:Ct?Xt.test(u(Ln)||""):!0;return e.loading?[]:[...h.createdOptions,...e.options].reduce((Ln,Zn)=>{const jr=f(Zn);if(Zt(jr)){const yo=jr.filter(yn);yo.length>0&&Ln.push({label:u(Zn),type:"Group"},...yo)}else(e.remote||yn(Zn))&&Ln.push(Zn);return Ln},[])},De=()=>{U.value=me(h.inputValue)},pe=ee(()=>{const Ct=new Map;return q.value.forEach((Xt,yn)=>{Ct.set(Se(d(Xt)),{option:Xt,index:yn})}),Ct}),ie=ee(()=>{const Ct=new Map;return U.value.forEach((Xt,yn)=>{Ct.set(Se(d(Xt)),{option:Xt,index:yn})}),Ct}),ue=ee(()=>U.value.every(Ct=>c(Ct))),Be=ha(),Me=ee(()=>Be.value==="small"?"small":"default"),Fe=()=>{var Ct;if($n(e.fitInputWidth)){g.value=e.fitInputWidth;return}const Xt=((Ct=y.value)==null?void 0:Ct.offsetWidth)||200;!e.fitInputWidth&&Y.value?Yt(()=>{g.value=Math.max(Xt,ze())}):g.value=Xt},ze=()=>{var Ct,Xt;const Ln=document.createElement("canvas").getContext("2d"),Zn=r.be("dropdown","item"),yo=(((Xt=(Ct=D.value)==null?void 0:Ct.listRef)==null?void 0:Xt.innerRef)||document).querySelector(`.${Zn}`);if(yo===null||Ln===null)return 0;const Kr=getComputedStyle(yo),xo=Number.parseFloat(Kr.paddingLeft)+Number.parseFloat(Kr.paddingRight);return Ln.font=`bold ${Kr.font.replace(new RegExp(`\\b${Kr.fontWeight}\\b`),"")}`,U.value.reduce((Sr,Yr)=>{const vo=Ln.measureText(u(Yr));return Math.max(vo.width,Sr)},0)+xo},Ne=()=>{if(!m.value)return 0;const Ct=window.getComputedStyle(m.value);return Number.parseFloat(Ct.gap||"6px")},Re=ee(()=>{const Ct=Ne(),Xt=e.filterable?Ct+cW:0;return{maxWidth:`${M.value&&e.maxCollapseTags===1?h.selectionWidth-h.collapseItemWidth-Ct-Xt:h.selectionWidth-Xt}px`}}),gt=ee(()=>({maxWidth:`${h.selectionWidth}px`})),Bt=ee(()=>Zt(e.modelValue)?e.modelValue.length===0&&!h.inputValue:e.filterable?!h.inputValue:!0),Lt=ee(()=>{var Ct;const Xt=(Ct=e.placeholder)!=null?Ct:n("el.select.placeholder");return e.multiple||!X.value?Xt:h.selectedLabel}),an=ee(()=>{var Ct,Xt;return(Xt=(Ct=b.value)==null?void 0:Ct.popperRef)==null?void 0:Xt.contentRef}),Kt=ee(()=>{if(e.multiple){const Ct=e.modelValue.length;if(e.modelValue.length>0&&ie.value.has(e.modelValue[Ct-1])){const{index:Xt}=ie.value.get(e.modelValue[Ct-1]);return Xt}}else if(!v(e.modelValue)&&ie.value.has(e.modelValue)){const{index:Ct}=ie.value.get(e.modelValue);return Ct}return-1}),Ht=ee({get(){return F.value&&he.value!==!1},set(Ct){F.value=Ct}}),pt=ee(()=>e.multiple?e.collapseTags?h.cachedOptions.slice(0,e.maxCollapseTags):h.cachedOptions:[]),Dt=ee(()=>e.multiple?e.collapseTags?h.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:dt,removeNewOption:it,selectNewOption:de,clearAllNewOption:tt}=AXe(e,h),ft=()=>{W.value||(h.menuVisibleOnFocus?h.menuVisibleOnFocus=!1:F.value=!F.value)},Mt=()=>{h.inputValue.length>0&&!F.value&&(F.value=!0),dt(h.inputValue),Yt(()=>{Nn(h.inputValue)})},Tn=Wl(Mt,Ae.value),Nn=Ct=>{h.previousQuery===Ct||O.value||(h.previousQuery=Ct,e.filterable&&Rn(e.filterMethod)?e.filterMethod(Ct):e.filterable&&e.remote&&Rn(e.remoteMethod)&&e.remoteMethod(Ct),e.defaultFirstOption&&(e.filterable||e.remote)&&U.value.length?Yt(We):Yt(Sn))},We=()=>{const Ct=U.value.filter(Ln=>!Ln.disabled&&Ln.type!=="Group"),Xt=Ct.find(Ln=>Ln.created),yn=Ct[0];h.hoveringIndex=fe(U.value,Xt||yn)},ke=Ct=>{fa(e.modelValue,Ct)||t(Pr,Ct)},be=Ct=>{t(Qn,Ct),ke(Ct),h.previousValue=e.multiple?String(Ct):Ct,Yt(()=>{if(e.multiple&&Zt(e.modelValue)){const Xt=h.cachedOptions.slice(),yn=e.modelValue.map(Ln=>At(Ln,Xt));fa(h.cachedOptions,yn)||(h.cachedOptions=yn)}else tn(!0)})},fe=(Ct=[],Xt)=>{if(!dr(Xt))return Ct.indexOf(Xt);const yn=e.valueKey;let Ln=-1;return Ct.some((Zn,jr)=>Xi(Zn,yn)===Xi(Xt,yn)?(Ln=jr,!0):!1),Ln},Se=Ct=>dr(Ct)?Xi(Ct,e.valueKey):Ct,qe=()=>{Fe()},$e=()=>{h.selectionWidth=Number.parseFloat(window.getComputedStyle(m.value).width)},Le=()=>{h.collapseItemWidth=M.value.getBoundingClientRect().width},ot=()=>{var Ct,Xt;(Xt=(Ct=b.value)==null?void 0:Ct.updatePopper)==null||Xt.call(Ct)},vt=()=>{var Ct,Xt;(Xt=(Ct=w.value)==null?void 0:Ct.updatePopper)==null||Xt.call(Ct)},Ut=Ct=>{if(e.multiple){let Xt=e.modelValue.slice();const yn=fe(Xt,d(Ct));yn>-1?(Xt=[...Xt.slice(0,yn),...Xt.slice(yn+1)],h.cachedOptions.splice(yn,1),it(Ct)):(e.multipleLimit<=0||Xt.length{let yn=e.modelValue.slice();const Ln=fe(yn,d(Xt));Ln>-1&&!W.value&&(yn=[...e.modelValue.slice(0,Ln),...e.modelValue.slice(Ln+1)],h.cachedOptions.splice(Ln,1),be(yn),t("remove-tag",d(Xt)),it(Xt)),Ct.stopPropagation(),Gt()},Gt=()=>{var Ct;(Ct=A.value)==null||Ct.focus()},vn=()=>{var Ct;if(F.value){F.value=!1,Yt(()=>{var Xt;return(Xt=A.value)==null?void 0:Xt.blur()});return}(Ct=A.value)==null||Ct.blur()},Un=()=>{h.inputValue.length>0?h.inputValue="":F.value=!1},wr=Ct=>Ome(Ct,Xt=>!h.cachedOptions.some(yn=>d(yn)===Xt&&c(yn))),fr=Ct=>{if(e.multiple&&Ct.code!==gn.delete&&h.inputValue.length===0){Ct.preventDefault();const Xt=e.modelValue.slice(),yn=wr(Xt);if(yn<0)return;const Ln=Xt[yn];Xt.splice(yn,1);const Zn=h.cachedOptions[yn];h.cachedOptions.splice(yn,1),it(Zn),be(Xt),t("remove-tag",Ln)}},Nt=()=>{let Ct;Zt(e.modelValue)?Ct=[]:Ct=p.value,h.selectedLabel="",F.value=!1,be(Ct),t("clear"),tt(),Gt()},_n=(Ct,Xt=void 0)=>{const yn=U.value;if(!["forward","backward"].includes(Ct)||W.value||yn.length<=0||ue.value||O.value)return;if(!F.value)return ft();Vr(Xt)&&(Xt=h.hoveringIndex);let Ln=-1;Ct==="forward"?(Ln=Xt+1,Ln>=yn.length&&(Ln=0)):Ct==="backward"&&(Ln=Xt-1,(Ln<0||Ln>=yn.length)&&(Ln=yn.length-1));const Zn=yn[Ln];if(c(Zn)||Zn.type==="Group")return _n(Ct,Ln);h.hoveringIndex=Ln,Ye(Ln)},xt=()=>{if(F.value)~h.hoveringIndex&&U.value[h.hoveringIndex]&&Ut(U.value[h.hoveringIndex]);else return ft()},Ft=Ct=>{h.hoveringIndex=Ct??-1},Sn=()=>{e.multiple?h.hoveringIndex=U.value.findIndex(Ct=>e.modelValue.some(Xt=>Se(Xt)===Se(d(Ct)))):h.hoveringIndex=U.value.findIndex(Ct=>Se(d(Ct))===Se(e.modelValue))},Bn=Ct=>{if(h.inputValue=Ct.target.value,e.remote)Tn();else return Mt()},Fr=Ct=>{if(F.value=!1,z.value){const Xt=new FocusEvent("blur",Ct);j(Xt)}},kn=()=>(h.isBeforeHide=!1,Yt(()=>{~Kt.value&&Ye(h.hoveringIndex)})),Ye=Ct=>{D.value.scrollToItem(Ct)},At=(Ct,Xt)=>{const yn=Se(Ct);if(pe.value.has(yn)){const{option:Ln}=pe.value.get(yn);return Ln}if(Xt&&Xt.length){const Ln=Xt.find(Zn=>Se(d(Zn))===yn);if(Ln)return Ln}return{[l.value.value]:Ct,[l.value.label]:Ct}},tn=(Ct=!1)=>{if(e.multiple)if(e.modelValue.length>0){const Xt=h.cachedOptions.slice();h.cachedOptions.length=0,h.previousValue=e.modelValue.toString();for(const yn of e.modelValue){const Ln=At(yn,Xt);h.cachedOptions.push(Ln)}}else h.cachedOptions=[],h.previousValue=void 0;else if(X.value){h.previousValue=e.modelValue;const Xt=U.value,yn=Xt.findIndex(Ln=>Se(d(Ln))===Se(e.modelValue));~yn?h.selectedLabel=u(Xt[yn]):(!h.selectedLabel||Ct)&&(h.selectedLabel=Se(e.modelValue))}else h.selectedLabel="",h.previousValue=void 0;tt(),Fe()};return St(()=>e.fitInputWidth,()=>{Fe()}),St(F,Ct=>{Ct?(e.persistent||Fe(),Nn("")):(h.inputValue="",h.previousQuery=null,h.isBeforeHide=!0,dt("")),t("visible-change",Ct)}),St(()=>e.modelValue,(Ct,Xt)=>{var yn;(!Ct||Zt(Ct)&&Ct.length===0||e.multiple&&!fa(Ct.toString(),h.previousValue)||!e.multiple&&Se(Ct)!==Se(h.previousValue))&&tn(!0),!fa(Ct,Xt)&&e.validateEvent&&((yn=a?.validate)==null||yn.call(a,"change").catch(Zn=>void 0))},{deep:!0}),St(()=>e.options,()=>{const Ct=A.value;(!Ct||Ct&&document.activeElement!==Ct)&&tn()},{deep:!0,flush:"post"}),St(()=>U.value,()=>(Fe(),D.value&&Yt(D.value.resetScrollTop))),Es(()=>{h.isBeforeHide||De()}),Es(()=>{const{valueKey:Ct,options:Xt}=e,yn=new Map;for(const Ln of Xt){const Zn=d(Ln);let jr=Zn;if(dr(jr)&&(jr=Xi(Zn,Ct)),yn.get(jr))break;yn.set(jr,!0)}}),qn(()=>{tn()}),li(y,qe),li(m,$e),li(D,ot),li(B,ot),li(_,vt),li(M,Le),{inputId:s,collapseTagSize:Me,currentPlaceholder:Lt,expanded:F,emptyText:he,popupHeight:re,debounce:Ae,allOptions:q,filteredOptions:U,iconComponent:Z,iconReverse:le,tagStyle:Re,collapseTagStyle:gt,popperSize:g,dropdownMenuVisible:Ht,hasModelValue:X,shouldShowPlaceholder:Bt,selectDisabled:W,selectSize:Be,needStatusIcon:H,showClearBtn:te,states:h,isFocused:z,nsSelect:r,nsInput:o,inputRef:A,menuRef:D,tagMenuRef:_,tooltipRef:b,tagTooltipRef:w,selectRef:y,wrapperRef:B,selectionRef:m,prefixRef:S,suffixRef:E,collapseItemRef:M,popperRef:an,validateState:ve,validateIcon:Pe,showTagList:pt,collapseTagList:Dt,debouncedOnInputChange:Tn,deleteTag:Qt,getLabel:u,getValue:d,getDisabled:c,getValueKey:Se,handleClear:Nt,handleClickOutside:Fr,handleDel:fr,handleEsc:Un,focus:Gt,blur:vn,handleMenuEnter:kn,handleResize:qe,resetSelectionWidth:$e,updateTooltip:ot,updateTagTooltip:vt,updateOptions:De,toggleMenu:ft,scrollTo:Ye,onInput:Bn,onKeyboardNavigate:_n,onKeyboardSelect:xt,onSelect:Ut,onHover:Ft,handleCompositionStart:k,handleCompositionEnd:R,handleCompositionUpdate:N}},xXe=nt({name:"ElSelectV2",components:{ElSelectMenu:wXe,ElTag:Nh,ElTooltip:hs,ElIcon:Dn},directives:{ClickOutside:np},props:JZe,emits:tXe,setup(e,{emit:t}){const n=ee(()=>{const{modelValue:s,multiple:l}=e,u=l?[]:void 0;return Zt(s)?l?s:u:l?u:s}),r=CXe(Wr({...Oa(e),modelValue:n}),t),{calculatorRef:o,inputStyle:i}=dW();_r(bW,{props:Wr({...Oa(e),height:r.popupHeight,modelValue:n}),expanded:r.expanded,tooltipRef:r.tooltipRef,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect});const a=ee(()=>e.multiple?r.states.cachedOptions.map(s=>s.label):r.states.selectedLabel);return{...r,modelValue:n,selectedLabel:a,calculatorRef:o,inputStyle:i}}});function SXe(e,t,n,r,o,i){const a=hr("el-tag"),s=hr("el-tooltip"),l=hr("el-icon"),u=hr("el-select-menu"),d=L_("click-outside");return cn((L(),G("div",{ref:"selectRef",class:oe([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:c=>e.states.inputHovering=!0,onMouseleave:c=>e.states.inputHovering=!1},[He(s,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-style":e.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,"append-to":e.appendTo,"show-arrow":e.showArrow,offset:e.offset,onBeforeShow:e.handleMenuEnter,onHide:c=>e.states.isBeforeHide=!1},{default:rt(()=>[x("div",{ref:"wrapperRef",class:oe([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)]),onClick:en(e.toggleMenu,["prevent"])},[e.$slots.prefix?(L(),G("div",{key:0,ref:"prefixRef",class:oe(e.nsSelect.e("prefix"))},[ht(e.$slots,"prefix")],2)):xe("v-if",!0),x("div",{ref:"selectionRef",class:oe([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?ht(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(L(!0),G(Rt,null,un(e.showTagList,c=>(L(),G("div",{key:e.getValueKey(e.getValue(c)),class:oe(e.nsSelect.e("selected-item"))},[He(a,{closable:!e.selectDisabled&&!e.getDisabled(c),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:rn(e.tagStyle),onClose:f=>e.deleteTag(f,c)},{default:rt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[ht(e.$slots,"label",{label:e.getLabel(c),value:e.getValue(c)},()=>[bn(je(e.getLabel(c)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(L(),yt(s,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom","popper-class":e.popperClass,"popper-style":e.popperStyle,teleported:e.teleported},{default:rt(()=>[x("div",{ref:"collapseItemRef",class:oe(e.nsSelect.e("selected-item"))},[He(a,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:rn(e.collapseTagStyle),"disable-transitions":""},{default:rt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))}," + "+je(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:rt(()=>[x("div",{ref:"tagMenuRef",class:oe(e.nsSelect.e("selection"))},[(L(!0),G(Rt,null,un(e.collapseTagList,c=>(L(),G("div",{key:e.getValueKey(e.getValue(c)),class:oe(e.nsSelect.e("selected-item"))},[He(a,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(c),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",onClose:f=>e.deleteTag(f,c)},{default:rt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[ht(e.$slots,"label",{label:e.getLabel(c),value:e.getValue(c)},()=>[bn(je(e.getLabel(c)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported"])):xe("v-if",!0)]):xe("v-if",!0),x("div",{class:oe([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[cn(x("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":c=>e.states.inputValue=c,style:rn(e.inputStyle),autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:oe([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onInput:e.onInput,onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onKeydown:[$r(en(c=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"]),$r(en(c=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"]),$r(en(e.onKeyboardSelect,["stop","prevent"]),["enter"]),$r(en(e.handleEsc,["stop","prevent"]),["esc"]),$r(en(e.handleDel,["stop"]),["delete"])],onClick:en(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","autocomplete","tabindex","aria-expanded","aria-label","disabled","readonly","name","onInput","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown","onClick"]),[[qr,e.states.inputValue]]),e.filterable?(L(),G("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:oe(e.nsSelect.e("input-calculator")),textContent:je(e.states.inputValue)},null,10,["textContent"])):xe("v-if",!0)],2),e.shouldShowPlaceholder?(L(),G("div",{key:1,class:oe([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?ht(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[x("span",null,je(e.currentPlaceholder),1)]):(L(),G("span",{key:1},je(e.currentPlaceholder),1))],2)):xe("v-if",!0)],2),x("div",{ref:"suffixRef",class:oe(e.nsSelect.e("suffix"))},[e.iconComponent?cn((L(),yt(l,{key:0,class:oe([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:rt(()=>[(L(),yt(mr(e.iconComponent)))]),_:1},8,["class"])),[[kr,!e.showClearBtn]]):xe("v-if",!0),e.showClearBtn&&e.clearIcon?(L(),yt(l,{key:1,class:oe([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:en(e.handleClear,["prevent","stop"])},{default:rt(()=>[(L(),yt(mr(e.clearIcon)))]),_:1},8,["class","onClick"])):xe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(L(),yt(l,{key:2,class:oe([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:rt(()=>[(L(),yt(mr(e.validateIcon)))]),_:1},8,["class"])):xe("v-if",!0)],2)],10,["onClick"])]),content:rt(()=>[He(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},Hl({default:rt(c=>[ht(e.$slots,"default",Il($d(c)))]),_:2},[e.$slots.header?{name:"header",fn:rt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","header")),onClick:en(()=>{},["stop"])},[ht(e.$slots,"header")],10,["onClick"])])}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:rt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","loading"))},[ht(e.$slots,"loading")],2)])}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:rt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","empty"))},[ht(e.$slots,"empty",{},()=>[x("span",null,je(e.emptyText),1)])],2)])}:void 0,e.$slots.footer?{name:"footer",fn:rt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","footer")),onClick:en(()=>{},["stop"])},[ht(e.$slots,"footer")],10,["onClick"])])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow","onHide"])],42,["onMouseenter","onMouseleave"])),[[d,e.handleClickOutside,e.popperRef]])}var EXe=on(xXe,[["render",SXe],["__file","select.vue"]]);const kXe=or(EXe),TXe=Jt({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:ct([Number,Object])}}),_Xe=Jt({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),DXe=nt({name:"ElSkeletonItem"}),IXe=nt({...DXe,props:_Xe,setup(e){const t=Vt("skeleton");return(n,r)=>(L(),G("div",{class:oe([C(t).e("item"),C(t).e(n.variant)])},[n.variant==="image"?(L(),yt(C(wLe),{key:0})):xe("v-if",!0)],2))}});var RE=on(IXe,[["__file","skeleton-item.vue"]]);const OXe=(e,t=0)=>{if(t===0)return e;const n=dr(t)&&!!t.initVal,r=K(n);let o=null;const i=s=>{if(Vr(s)){r.value=e.value;return}o&&clearTimeout(o),o=setTimeout(()=>{r.value=e.value},s)},a=s=>{s==="leading"?$n(t)?i(t):i(t.leading):dr(t)?i(t.trailing):r.value=!1};return qn(()=>a("leading")),St(()=>e.value,s=>{a(s?"leading":"trailing")}),r},MXe=nt({name:"ElSkeleton"}),PXe=nt({...MXe,props:TXe,setup(e,{expose:t}){const n=e,r=Vt("skeleton"),o=OXe(co(n,"loading"),n.throttle);return t({uiLoading:o}),(i,a)=>C(o)?(L(),G("div",vr({key:0,class:[C(r).b(),C(r).is("animated",i.animated)]},i.$attrs),[(L(!0),G(Rt,null,un(i.count,s=>(L(),G(Rt,{key:s},[C(o)?ht(i.$slots,"template",{key:s},()=>[He(RE,{class:oe(C(r).is("first")),variant:"p"},null,8,["class"]),(L(!0),G(Rt,null,un(i.rows,l=>(L(),yt(RE,{key:l,class:oe([C(r).e("paragraph"),C(r).is("last",l===i.rows&&i.rows>1)]),variant:"p"},null,8,["class"]))),128))]):xe("v-if",!0)],64))),128))],16)):ht(i.$slots,"default",Il(vr({key:1},i.$attrs)))}});var NXe=on(PXe,[["__file","skeleton.vue"]]);const RXe=or(NXe,{SkeletonItem:RE}),BXe=vi(RE),Tbe=Symbol("sliderContextKey"),LXe=Jt({modelValue:{type:ct([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:Aa,inputSize:Aa,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:ct(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:ct(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Cp,default:"top"},marks:{type:ct(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},..._s(["ariaLabel"])}),TI=e=>$n(e)||Zt(e)&&e.every($n),FXe={[Qn]:TI,[ba]:TI,[Pr]:TI},UXe=Jt({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Cp,default:"top"}}),zXe={[Qn]:e=>$n(e)},$Xe=(e,t,n)=>{const r=K(),o=K(!1),i=ee(()=>t.value instanceof Function),a=ee(()=>i.value&&t.value(e.modelValue)||e.modelValue),s=Wl(()=>{n.value&&(o.value=!0)},50),l=Wl(()=>{n.value&&(o.value=!1)},50);return{tooltip:r,tooltipVisible:o,formatValue:a,displayTooltip:s,hideTooltip:l}},jXe=(e,t,n)=>{const{disabled:r,min:o,max:i,step:a,showTooltip:s,persistent:l,precision:u,sliderSize:d,formatTooltip:c,emitChange:f,resetSize:p,updateDragging:v}=dn(Tbe),{tooltip:h,tooltipVisible:g,formatValue:y,displayTooltip:m,hideTooltip:b}=$Xe(e,c,s),w=K(),A=ee(()=>`${(e.modelValue-o.value)/(i.value-o.value)*100}%`),S=ee(()=>e.vertical?{bottom:A.value}:{left:A.value}),E=()=>{t.hovering=!0,m()},D=()=>{t.hovering=!1,t.dragging||b()},_=H=>{r.value||(H.preventDefault(),q(H),window.addEventListener("mousemove",Y),window.addEventListener("touchmove",Y),window.addEventListener("mouseup",U),window.addEventListener("touchend",U),window.addEventListener("contextmenu",U),w.value.focus())},M=H=>{r.value||(t.newPosition=Number.parseFloat(A.value)+H/(i.value-o.value)*100,F(t.newPosition),f())},O=()=>{M(-a.value)},k=()=>{M(a.value)},R=()=>{M(-a.value*4)},N=()=>{M(a.value*4)},W=()=>{r.value||(F(0),f())},B=()=>{r.value||(F(100),f())},z=H=>{let re=!0;switch(H.code){case gn.left:case gn.down:O();break;case gn.right:case gn.up:k();break;case gn.home:W();break;case gn.end:B();break;case gn.pageDown:R();break;case gn.pageUp:N();break;default:re=!1;break}re&&H.preventDefault()},j=H=>{let re,X;return H.type.startsWith("touch")?(X=H.touches[0].clientY,re=H.touches[0].clientX):(X=H.clientY,re=H.clientX),{clientX:re,clientY:X}},q=H=>{t.dragging=!0,t.isClick=!0;const{clientX:re,clientY:X}=j(H);e.vertical?t.startY=X:t.startX=re,t.startPosition=Number.parseFloat(A.value),t.newPosition=t.startPosition},Y=H=>{if(t.dragging){t.isClick=!1,m(),p();let re;const{clientX:X,clientY:te}=j(H);e.vertical?(t.currentY=te,re=(t.startY-t.currentY)/d.value*100):(t.currentX=X,re=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+re,F(t.newPosition)}},U=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||b(),t.isClick||F(t.newPosition),f()},0),window.removeEventListener("mousemove",Y),window.removeEventListener("touchmove",Y),window.removeEventListener("mouseup",U),window.removeEventListener("touchend",U),window.removeEventListener("contextmenu",U))},F=async H=>{if(H===null||Number.isNaN(+H))return;H<0?H=0:H>100&&(H=100);const re=100/((i.value-o.value)/a.value);let te=Math.round(H/re)*re*(i.value-o.value)*.01+o.value;te=Number.parseFloat(te.toFixed(u.value)),te!==e.modelValue&&n(Qn,te),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await Yt(),t.dragging&&m(),h.value.updatePopper()};return St(()=>t.dragging,H=>{v(H)}),Ro(w,"touchstart",_,{passive:!1}),{disabled:r,button:w,tooltip:h,tooltipVisible:g,showTooltip:s,persistent:l,wrapperStyle:S,formatValue:y,handleMouseEnter:E,handleMouseLeave:D,onButtonDown:_,onKeyDown:z,setPosition:F}},HXe=nt({name:"ElSliderButton"}),WXe=nt({...HXe,props:UXe,emits:zXe,setup(e,{expose:t,emit:n}){const r=e,o=Vt("slider"),i=Wr({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),a=ee(()=>d.value?c.value:!1),{disabled:s,button:l,tooltip:u,showTooltip:d,persistent:c,tooltipVisible:f,wrapperStyle:p,formatValue:v,handleMouseEnter:h,handleMouseLeave:g,onButtonDown:y,onKeyDown:m,setPosition:b}=jXe(r,i,n),{hovering:w,dragging:A}=Oa(i);return t({onButtonDown:y,onKeyDown:m,setPosition:b,hovering:w,dragging:A}),(S,E)=>(L(),G("div",{ref_key:"button",ref:l,class:oe([C(o).e("button-wrapper"),{hover:C(w),dragging:C(A)}]),style:rn(C(p)),tabindex:C(s)?-1:0,onMouseenter:C(h),onMouseleave:C(g),onMousedown:C(y),onFocus:C(h),onBlur:C(g),onKeydown:C(m)},[He(C(hs),{ref_key:"tooltip",ref:u,visible:C(f),placement:S.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":S.tooltipClass,disabled:!C(d),persistent:C(a)},{content:rt(()=>[x("span",null,je(C(v)),1)]),default:rt(()=>[x("div",{class:oe([C(o).e("button"),{hover:C(w),dragging:C(A)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,["tabindex","onMouseenter","onMouseleave","onMousedown","onFocus","onBlur","onKeydown"]))}});var hee=on(WXe,[["__file","button.vue"]]);const VXe=Jt({mark:{type:ct([String,Object]),default:void 0}});var qXe=nt({name:"ElSliderMarker",props:VXe,setup(e){const t=Vt("slider"),n=ee(()=>In(e.mark)?e.mark:e.mark.label),r=ee(()=>In(e.mark)?void 0:e.mark.style);return()=>jn("div",{class:t.e("marks-text"),style:r.value},n.value)}});const GXe=(e,t,n)=>{const{form:r,formItem:o}=Ds(),i=jo(),a=K(),s=K(),l={firstButton:a,secondButton:s},u=ee(()=>e.disabled||r?.disabled||!1),d=ee(()=>Math.min(t.firstValue,t.secondValue)),c=ee(()=>Math.max(t.firstValue,t.secondValue)),f=ee(()=>e.range?`${100*(c.value-d.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),p=ee(()=>e.range?`${100*(d.value-e.min)/(e.max-e.min)}%`:"0%"),v=ee(()=>e.vertical?{height:e.height}:{}),h=ee(()=>e.vertical?{height:f.value,bottom:p.value}:{width:f.value,left:p.value}),g=()=>{if(i.value){const k=i.value.getBoundingClientRect();t.sliderSize=k[e.vertical?"height":"width"]}},y=k=>{const R=e.min+k*(e.max-e.min)/100;if(!e.range)return a;let N;return Math.abs(d.value-R)t.secondValue?"firstButton":"secondButton",l[N]},m=k=>{const R=y(k);return R.value.setPosition(k),R},b=k=>{t.firstValue=k??e.min,A(e.range?[d.value,c.value]:k??e.min)},w=k=>{t.secondValue=k,e.range&&A([d.value,c.value])},A=k=>{n(Qn,k),n(ba,k)},S=async()=>{await Yt(),n(Pr,e.range?[d.value,c.value]:e.modelValue)},E=k=>{var R,N,W,B,z,j;if(u.value||t.dragging)return;g();let q=0;if(e.vertical){const Y=(W=(N=(R=k.touches)==null?void 0:R.item(0))==null?void 0:N.clientY)!=null?W:k.clientY;q=(i.value.getBoundingClientRect().bottom-Y)/t.sliderSize*100}else{const Y=(j=(z=(B=k.touches)==null?void 0:B.item(0))==null?void 0:z.clientX)!=null?j:k.clientX,U=i.value.getBoundingClientRect().left;q=(Y-U)/t.sliderSize*100}if(!(q<0||q>100))return m(q)};return{elFormItem:o,slider:i,firstButton:a,secondButton:s,sliderDisabled:u,minValue:d,maxValue:c,runwayStyle:v,barStyle:h,resetSize:g,setPosition:m,emitChange:S,onSliderWrapperPrevent:k=>{var R,N;((R=l.firstButton.value)!=null&&R.dragging||(N=l.secondButton.value)!=null&&N.dragging)&&k.preventDefault()},onSliderClick:k=>{E(k)&&S()},onSliderDown:async k=>{const R=E(k);R&&(await Yt(),R.value.onButtonDown(k))},onSliderMarkerDown:k=>{if(u.value||t.dragging)return;m(k)&&S()},setFirstValue:b,setSecondValue:w}},KXe=(e,t,n,r)=>({stops:ee(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const a=(e.max-e.min)/e.step,s=100*e.step/(e.max-e.min),l=Array.from({length:a-1}).map((u,d)=>(d+1)*s);return e.range?l.filter(u=>u<100*(n.value-e.min)/(e.max-e.min)||u>100*(r.value-e.min)/(e.max-e.min)):l.filter(u=>u>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:a=>e.vertical?{bottom:`${a}%`}:{left:`${a}%`}}),YXe=e=>ee(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,r)=>n-r).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),QXe=(e,t,n,r,o,i)=>{const a=u=>{o(Qn,u),o(ba,u)},s=()=>e.range?![n.value,r.value].every((u,d)=>u===t.oldValue[d]):e.modelValue!==t.oldValue,l=()=>{var u,d;e.min>e.max&&na("Slider","min should not be greater than max.");const c=e.modelValue;e.range&&Zt(c)?c[1]e.max?a([e.max,e.max]):c[0]e.max?a([c[0],e.max]):(t.firstValue=c[0],t.secondValue=c[1],s()&&(e.validateEvent&&((u=i?.validate)==null||u.call(i,"change").catch(f=>void 0)),t.oldValue=c.slice())):!e.range&&$n(c)&&!Number.isNaN(c)&&(ce.max?a(e.max):(t.firstValue=c,s()&&(e.validateEvent&&((d=i?.validate)==null||d.call(i,"change").catch(f=>void 0)),t.oldValue=c)))};l(),St(()=>t.dragging,u=>{u||l()}),St(()=>e.modelValue,(u,d)=>{t.dragging||Zt(u)&&Zt(d)&&u.every((c,f)=>c===d[f])&&t.firstValue===u[0]&&t.secondValue===u[1]||l()},{deep:!0}),St(()=>[e.min,e.max],()=>{l()})},ZXe=(e,t,n)=>{const r=K();return qn(async()=>{e.range?(Zt(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(!$n(e.modelValue)||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Ro(window,"resize",n),await Yt(),n()}),{sliderWrapper:r}},XXe=nt({name:"ElSlider"}),JXe=nt({...XXe,props:LXe,emits:FXe,setup(e,{expose:t,emit:n}){const r=e,o=Vt("slider"),{t:i}=Gr(),a=Wr({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:s,slider:l,firstButton:u,secondButton:d,sliderDisabled:c,minValue:f,maxValue:p,runwayStyle:v,barStyle:h,resetSize:g,emitChange:y,onSliderWrapperPrevent:m,onSliderClick:b,onSliderDown:w,onSliderMarkerDown:A,setFirstValue:S,setSecondValue:E}=GXe(r,a,n),{stops:D,getStopStyle:_}=KXe(r,a,f,p),{inputId:M,isLabeledByFormItem:O}=fc(r,{formItemContext:s}),k=ha(),R=ee(()=>r.inputSize||k.value),N=ee(()=>r.ariaLabel||i("el.slider.defaultLabel",{min:r.min,max:r.max})),W=ee(()=>r.range?r.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):N.value),B=ee(()=>r.formatValueText?r.formatValueText(H.value):`${H.value}`),z=ee(()=>r.rangeEndLabel||i("el.slider.defaultRangeEndLabel")),j=ee(()=>r.formatValueText?r.formatValueText(re.value):`${re.value}`),q=ee(()=>[o.b(),o.m(k.value),o.is("vertical",r.vertical),{[o.m("with-input")]:r.showInput}]),Y=YXe(r);QXe(r,a,f,p,n,s);const U=ee(()=>{const Z=[r.min,r.max,r.step].map(le=>{const ve=`${le}`.split(".")[1];return ve?ve.length:0});return Math.max.apply(null,Z)}),{sliderWrapper:F}=ZXe(r,a,g),{firstValue:H,secondValue:re,sliderSize:X}=Oa(a),te=Z=>{a.dragging=Z};return Ro(F,"touchstart",m,{passive:!1}),Ro(F,"touchmove",m,{passive:!1}),_r(Tbe,{...Oa(r),sliderSize:X,disabled:c,precision:U,emitChange:y,resetSize:g,updateDragging:te}),t({onSliderClick:b}),(Z,le)=>{var ve,Pe;return L(),G("div",{id:Z.range?C(M):void 0,ref_key:"sliderWrapper",ref:F,class:oe(C(q)),role:Z.range?"group":void 0,"aria-label":Z.range&&!C(O)?C(N):void 0,"aria-labelledby":Z.range&&C(O)?(ve=C(s))==null?void 0:ve.labelId:void 0},[x("div",{ref_key:"slider",ref:l,class:oe([C(o).e("runway"),{"show-input":Z.showInput&&!Z.range},C(o).is("disabled",C(c))]),style:rn(C(v)),onMousedown:C(w),onTouchstartPassive:C(w)},[x("div",{class:oe(C(o).e("bar")),style:rn(C(h))},null,6),He(hee,{id:Z.range?void 0:C(M),ref_key:"firstButton",ref:u,"model-value":C(H),vertical:Z.vertical,"tooltip-class":Z.tooltipClass,placement:Z.placement,role:"slider","aria-label":Z.range||!C(O)?C(W):void 0,"aria-labelledby":!Z.range&&C(O)?(Pe=C(s))==null?void 0:Pe.labelId:void 0,"aria-valuemin":Z.min,"aria-valuemax":Z.range?C(re):Z.max,"aria-valuenow":C(H),"aria-valuetext":C(B),"aria-orientation":Z.vertical?"vertical":"horizontal","aria-disabled":C(c),"onUpdate:modelValue":C(S)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),Z.range?(L(),yt(hee,{key:0,ref_key:"secondButton",ref:d,"model-value":C(re),vertical:Z.vertical,"tooltip-class":Z.tooltipClass,placement:Z.placement,role:"slider","aria-label":C(z),"aria-valuemin":C(H),"aria-valuemax":Z.max,"aria-valuenow":C(re),"aria-valuetext":C(j),"aria-orientation":Z.vertical?"vertical":"horizontal","aria-disabled":C(c),"onUpdate:modelValue":C(E)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):xe("v-if",!0),Z.showStops?(L(),G("div",{key:1},[(L(!0),G(Rt,null,un(C(D),(Ae,he)=>(L(),G("div",{key:he,class:oe(C(o).e("stop")),style:rn(C(_)(Ae))},null,6))),128))])):xe("v-if",!0),C(Y).length>0?(L(),G(Rt,{key:2},[x("div",null,[(L(!0),G(Rt,null,un(C(Y),(Ae,he)=>(L(),G("div",{key:he,style:rn(C(_)(Ae.position)),class:oe([C(o).e("stop"),C(o).e("marks-stop")])},null,6))),128))]),x("div",{class:oe(C(o).e("marks"))},[(L(!0),G(Rt,null,un(C(Y),(Ae,he)=>(L(),yt(C(qXe),{key:he,mark:Ae.mark,style:rn(C(_)(Ae.position)),onMousedown:en(Ee=>C(A)(Ae.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):xe("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),Z.showInput&&!Z.range?(L(),yt(C(lbe),{key:0,ref:"input","model-value":C(H),class:oe(C(o).e("input")),step:Z.step,disabled:C(c),controls:Z.showInputControls,min:Z.min,max:Z.max,precision:C(U),debounce:Z.debounce,size:C(R),"onUpdate:modelValue":C(S),onChange:C(y)},null,8,["model-value","class","step","disabled","controls","min","max","precision","debounce","size","onUpdate:modelValue","onChange"])):xe("v-if",!0)],10,["id","role","aria-label","aria-labelledby"])}}});var eJe=on(JXe,[["__file","slider.vue"]]);const tJe=or(eJe),nJe=Jt({prefixCls:{type:String}}),gee=nt({name:"ElSpaceItem",props:nJe,setup(e,{slots:t}){const n=Vt("space"),r=ee(()=>`${e.prefixCls||n.b()}__item`);return()=>jn("div",{class:r.value},ht(t,"default"))}}),vee={small:8,default:12,large:16};function rJe(e){const t=Vt("space"),n=ee(()=>[t.b(),t.m(e.direction),e.class]),r=K(0),o=K(0),i=ee(()=>{const s=e.wrap||e.fill?{flexWrap:"wrap"}:{},l={alignItems:e.alignment},u={rowGap:`${o.value}px`,columnGap:`${r.value}px`};return[s,l,u,e.style]}),a=ee(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return Es(()=>{const{size:s="small",wrap:l,direction:u,fill:d}=e;if(Zt(s)){const[c=0,f=0]=s;r.value=c,o.value=f}else{let c;$n(s)?c=s:c=vee[s||"small"]||vee.small,(l||d)&&u==="horizontal"?r.value=o.value=c:u==="horizontal"?(r.value=c,o.value=0):(o.value=c,r.value=0)}}),{classes:n,containerStyle:i,itemStyle:a}}const oJe=Jt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:ct([String,Object,Array]),default:""},style:{type:ct([String,Array,Object]),default:""},alignment:{type:ct(String),default:"center"},prefixCls:{type:String},spacer:{type:ct([Object,String,Number,Array]),default:null,validator:e=>Vo(e)||$n(e)||In(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:ef,validator:e=>$n(e)||Zt(e)&&e.length===2&&e.every($n)}}),iJe=nt({name:"ElSpace",props:oJe,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:o}=rJe(e);function i(a,s="",l=[]){const{prefixCls:u}=e;return a.forEach((d,c)=>{kL(d)?Zt(d.children)&&d.children.forEach((f,p)=>{kL(f)&&Zt(f.children)?i(f.children,`${s+p}-`,l):Vo(f)&&f?.type===da?l.push(f):l.push(He(gee,{style:o.value,prefixCls:u,key:`nested-${s+p}`},{default:()=>[f]},Nu.PROPS|Nu.STYLE,["style","prefixCls"]))}):mje(d)&&l.push(He(gee,{style:o.value,prefixCls:u,key:`LoopKey${s+c}`},{default:()=>[d]},Nu.PROPS|Nu.STYLE,["style","prefixCls"]))}),l}return()=>{var a;const{spacer:s,direction:l}=e,u=ht(t,"default",{key:0},()=>[]);if(((a=u.children)!=null?a:[]).length===0)return null;if(Zt(u.children)){let d=i(u.children);if(s){const c=d.length-1;d=d.reduce((f,p,v)=>{const h=[...f,p];return v!==c&&h.push(He("span",{style:[o.value,l==="vertical"?"width: 100%":null],key:v},[Vo(s)?s:bn(s,Nu.TEXT)],Nu.STYLE)),h},[])}return He("div",{class:n.value,style:r.value},d,Nu.STYLE|Nu.CLASS)}return u.children}}}),aJe=or(iJe),sJe=Jt({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:ct([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:ct([String,Object,Array])}}),lJe=nt({name:"ElStatistic"}),uJe=nt({...lJe,props:sJe,setup(e,{expose:t}){const n=e,r=Vt("statistic"),o=ee(()=>{const{value:i,formatter:a,precision:s,decimalSeparator:l,groupSeparator:u}=n;if(Rn(a))return a(i);if(!$n(i)||Number.isNaN(i))return i;let[d,c=""]=String(i).split(".");return c=c.padEnd(s,"0").slice(0,s>0?s:0),d=d.replace(/\B(?=(\d{3})+(?!\d))/g,u),[d,c].join(c?l:"")});return t({displayValue:o}),(i,a)=>(L(),G("div",{class:oe(C(r).b())},[i.$slots.title||i.title?(L(),G("div",{key:0,class:oe(C(r).e("head"))},[ht(i.$slots,"title",{},()=>[bn(je(i.title),1)])],2)):xe("v-if",!0),x("div",{class:oe(C(r).e("content"))},[i.$slots.prefix||i.prefix?(L(),G("div",{key:0,class:oe(C(r).e("prefix"))},[ht(i.$slots,"prefix",{},()=>[x("span",null,je(i.prefix),1)])],2)):xe("v-if",!0),x("span",{class:oe(C(r).e("number")),style:rn(i.valueStyle)},je(C(o)),7),i.$slots.suffix||i.suffix?(L(),G("div",{key:1,class:oe(C(r).e("suffix"))},[ht(i.$slots,"suffix",{},()=>[x("span",null,je(i.suffix),1)])],2)):xe("v-if",!0)],2)],2))}});var cJe=on(uJe,[["__file","statistic.vue"]]);const _be=or(cJe),dJe=Jt({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:ct([Number,Object]),default:0},valueStyle:{type:ct([String,Object,Array])}}),fJe={finish:()=>!0,[Pr]:e=>$n(e)},pJe=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],mee=e=>$n(e)?new Date(e).getTime():e.valueOf(),yee=(e,t)=>{let n=e;const r=/\[([^\]]*)]/g;return pJe.reduce((i,[a,s])=>{const l=new RegExp(`${a}+(?![^\\[\\]]*\\])`,"g");if(l.test(i)){const u=Math.floor(n/s);return n-=u*s,i.replace(l,d=>String(u).padStart(d.length,"0"))}return i},t).replace(r,"$1")},hJe=nt({name:"ElCountdown"}),gJe=nt({...hJe,props:dJe,emits:fJe,setup(e,{expose:t,emit:n}){const r=e;let o;const i=K(0),a=ee(()=>yee(i.value,r.format)),s=d=>yee(d,r.format),l=()=>{o&&(Pv(o),o=void 0)},u=()=>{const d=mee(r.value),c=()=>{let f=d-Date.now();n(Pr,f),f<=0?(f=0,l(),n("finish")):o=s0(c),i.value=f};o=s0(c)};return qn(()=>{i.value=mee(r.value)-Date.now(),St(()=>[r.value,r.format],()=>{l(),u()},{immediate:!0})}),Jr(()=>{l()}),t({displayValue:a}),(d,c)=>(L(),yt(C(_be),{value:i.value,title:d.title,prefix:d.prefix,suffix:d.suffix,"value-style":d.valueStyle,formatter:s},Hl({_:2},[un(d.$slots,(f,p)=>({name:p,fn:rt(()=>[ht(d.$slots,p)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var vJe=on(gJe,[["__file","countdown.vue"]]);const mJe=or(vJe),yJe=Jt({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),bJe={[Pr]:(e,t)=>[e,t].every($n)},Dbe="ElSteps",wJe=nt({name:"ElSteps"}),AJe=nt({...wJe,props:yJe,emits:bJe,setup(e,{emit:t}){const n=e,r=Vt("steps"),{children:o,addChild:i,removeChild:a,ChildrenSorter:s}=cD(br(),"ElStep");return St(o,()=>{o.value.forEach((l,u)=>{l.setIndex(u)})}),_r(Dbe,{props:n,steps:o,addStep:i,removeStep:a}),St(()=>n.active,(l,u)=>{t(Pr,l,u)}),(l,u)=>(L(),G("div",{class:oe([C(r).b(),C(r).m(l.simple?"simple":l.direction)])},[ht(l.$slots,"default"),He(C(s))],2))}});var CJe=on(AJe,[["__file","steps.vue"]]);const xJe=Jt({title:{type:String,default:""},icon:{type:wo},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),SJe=nt({name:"ElStep"}),EJe=nt({...SJe,props:xJe,setup(e){const t=e,n=Vt("step"),r=K(-1),o=K({}),i=K(""),a=dn(Dbe),s=br();qn(()=>{St([()=>a.props.active,()=>a.props.processStatus,()=>a.props.finishStatus],([S])=>{w(S)},{immediate:!0})});const l=ee(()=>t.status||i.value),u=ee(()=>{const S=a.steps.value[r.value-1];return S?S.internalStatus.value:"wait"}),d=ee(()=>a.props.alignCenter),c=ee(()=>a.props.direction==="vertical"),f=ee(()=>a.props.simple),p=ee(()=>a.steps.value.length),v=ee(()=>{var S;return((S=a.steps.value[p.value-1])==null?void 0:S.uid)===s.uid}),h=ee(()=>f.value?"":a.props.space),g=ee(()=>[n.b(),n.is(f.value?"simple":a.props.direction),n.is("flex",v.value&&!h.value&&!d.value),n.is("center",d.value&&!c.value&&!f.value)]),y=ee(()=>{const S={flexBasis:$n(h.value)?`${h.value}px`:h.value?h.value:`${100/(p.value-(d.value?0:1))}%`};return c.value||v.value&&(S.maxWidth=`${100/p.value}%`),S}),m=S=>{r.value=S},b=S=>{const E=S==="wait",D={transitionDelay:`${E?"-":""}${150*r.value}ms`},_=S===a.props.processStatus||E?0:100;D.borderWidth=_&&!f.value?"1px":0,D[a.props.direction==="vertical"?"height":"width"]=`${_}%`,o.value=D},w=S=>{S>r.value?i.value=a.props.finishStatus:S===r.value&&u.value!=="error"?i.value=a.props.processStatus:i.value="wait";const E=a.steps.value[r.value-1];E&&E.calcProgress(i.value)},A={uid:s.uid,getVnode:()=>s.vnode,currentStatus:l,internalStatus:i,setIndex:m,calcProgress:b};return a.addStep(A),Jr(()=>{a.removeStep(A)}),(S,E)=>(L(),G("div",{style:rn(C(y)),class:oe(C(g))},[xe(" icon & line "),x("div",{class:oe([C(n).e("head"),C(n).is(C(l))])},[C(f)?xe("v-if",!0):(L(),G("div",{key:0,class:oe(C(n).e("line"))},[x("i",{class:oe(C(n).e("line-inner")),style:rn(o.value)},null,6)],2)),x("div",{class:oe([C(n).e("icon"),C(n).is(S.icon||S.$slots.icon?"icon":"text")])},[ht(S.$slots,"icon",{},()=>[S.icon?(L(),yt(C(Dn),{key:0,class:oe(C(n).e("icon-inner"))},{default:rt(()=>[(L(),yt(mr(S.icon)))]),_:1},8,["class"])):C(l)==="success"?(L(),yt(C(Dn),{key:1,class:oe([C(n).e("icon-inner"),C(n).is("status")])},{default:rt(()=>[He(C(B5))]),_:1},8,["class"])):C(l)==="error"?(L(),yt(C(Dn),{key:2,class:oe([C(n).e("icon-inner"),C(n).is("status")])},{default:rt(()=>[He(C(vu))]),_:1},8,["class"])):C(f)?xe("v-if",!0):(L(),G("div",{key:3,class:oe(C(n).e("icon-inner"))},je(r.value+1),3))])],2)],2),xe(" title & description "),x("div",{class:oe(C(n).e("main"))},[x("div",{class:oe([C(n).e("title"),C(n).is(C(l))])},[ht(S.$slots,"title",{},()=>[bn(je(S.title),1)])],2),C(f)?(L(),G("div",{key:0,class:oe(C(n).e("arrow"))},null,2)):(L(),G("div",{key:1,class:oe([C(n).e("description"),C(n).is(C(l))])},[ht(S.$slots,"description",{},()=>[bn(je(S.description),1)])],2))],2)],6))}});var Ibe=on(EJe,[["__file","item.vue"]]);const kJe=or(CJe,{Step:Ibe}),TJe=vi(Ibe),Obe=e=>["",...ef].includes(e),_Je=Jt({modelValue:{type:[Boolean,String,Number],default:!1},disabled:Boolean,loading:Boolean,size:{type:String,validator:Obe},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:wo},activeActionIcon:{type:wo},activeIcon:{type:wo},inactiveIcon:{type:wo},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:ct(Function)},id:String,tabindex:{type:[String,Number]},..._s(["ariaLabel"])}),DJe={[Qn]:e=>Eo(e)||In(e)||$n(e),[Pr]:e=>Eo(e)||In(e)||$n(e),[ba]:e=>Eo(e)||In(e)||$n(e)},Mbe="ElSwitch",IJe=nt({name:Mbe}),OJe=nt({...IJe,props:_Je,emits:DJe,setup(e,{expose:t,emit:n}){const r=e,{formItem:o}=Ds(),i=ha(),a=Vt("switch"),{inputId:s}=fc(r,{formItemContext:o}),l=Va(ee(()=>r.loading)),u=K(r.modelValue!==!1),d=K(),c=K(),f=ee(()=>[a.b(),a.m(i.value),a.is("disabled",l.value),a.is("checked",y.value)]),p=ee(()=>[a.e("label"),a.em("label","left"),a.is("active",!y.value)]),v=ee(()=>[a.e("label"),a.em("label","right"),a.is("active",y.value)]),h=ee(()=>({width:_i(r.width)}));St(()=>r.modelValue,()=>{u.value=!0});const g=ee(()=>u.value?r.modelValue:!1),y=ee(()=>g.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(g.value)||(n(Qn,r.inactiveValue),n(Pr,r.inactiveValue),n(ba,r.inactiveValue)),St(y,A=>{var S;d.value.checked=A,r.validateEvent&&((S=o?.validate)==null||S.call(o,"change").catch(E=>void 0))});const m=()=>{const A=y.value?r.inactiveValue:r.activeValue;n(Qn,A),n(Pr,A),n(ba,A),Yt(()=>{d.value.checked=y.value})},b=()=>{if(l.value)return;const{beforeChange:A}=r;if(!A){m();return}const S=A();[kv(S),Eo(S)].includes(!0)||na(Mbe,"beforeChange must return type `Promise` or `boolean`"),kv(S)?S.then(D=>{D&&m()}).catch(D=>{}):S&&m()},w=()=>{var A,S;(S=(A=d.value)==null?void 0:A.focus)==null||S.call(A)};return qn(()=>{d.value.checked=y.value}),t({focus:w,checked:y}),(A,S)=>(L(),G("div",{class:oe(C(f)),onClick:en(b,["prevent"])},[x("input",{id:C(s),ref_key:"input",ref:d,class:oe(C(a).e("input")),type:"checkbox",role:"switch","aria-checked":C(y),"aria-disabled":C(l),"aria-label":A.ariaLabel,name:A.name,"true-value":A.activeValue,"false-value":A.inactiveValue,disabled:C(l),tabindex:A.tabindex,onChange:m,onKeydown:$r(b,["enter"])},null,42,["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"]),!A.inlinePrompt&&(A.inactiveIcon||A.inactiveText)?(L(),G("span",{key:0,class:oe(C(p))},[A.inactiveIcon?(L(),yt(C(Dn),{key:0},{default:rt(()=>[(L(),yt(mr(A.inactiveIcon)))]),_:1})):xe("v-if",!0),!A.inactiveIcon&&A.inactiveText?(L(),G("span",{key:1,"aria-hidden":C(y)},je(A.inactiveText),9,["aria-hidden"])):xe("v-if",!0)],2)):xe("v-if",!0),x("span",{ref_key:"core",ref:c,class:oe(C(a).e("core")),style:rn(C(h))},[A.inlinePrompt?(L(),G("div",{key:0,class:oe(C(a).e("inner"))},[A.activeIcon||A.inactiveIcon?(L(),yt(C(Dn),{key:0,class:oe(C(a).is("icon"))},{default:rt(()=>[(L(),yt(mr(C(y)?A.activeIcon:A.inactiveIcon)))]),_:1},8,["class"])):A.activeText||A.inactiveText?(L(),G("span",{key:1,class:oe(C(a).is("text")),"aria-hidden":!C(y)},je(C(y)?A.activeText:A.inactiveText),11,["aria-hidden"])):xe("v-if",!0)],2)):xe("v-if",!0),x("div",{class:oe(C(a).e("action"))},[A.loading?(L(),yt(C(Dn),{key:0,class:oe(C(a).is("loading"))},{default:rt(()=>[He(C(jc))]),_:1},8,["class"])):C(y)?ht(A.$slots,"active-action",{key:1},()=>[A.activeActionIcon?(L(),yt(C(Dn),{key:0},{default:rt(()=>[(L(),yt(mr(A.activeActionIcon)))]),_:1})):xe("v-if",!0)]):C(y)?xe("v-if",!0):ht(A.$slots,"inactive-action",{key:2},()=>[A.inactiveActionIcon?(L(),yt(C(Dn),{key:0},{default:rt(()=>[(L(),yt(mr(A.inactiveActionIcon)))]),_:1})):xe("v-if",!0)])],2)],6),!A.inlinePrompt&&(A.activeIcon||A.activeText)?(L(),G("span",{key:1,class:oe(C(v))},[A.activeIcon?(L(),yt(C(Dn),{key:0},{default:rt(()=>[(L(),yt(mr(A.activeIcon)))]),_:1})):xe("v-if",!0),!A.activeIcon&&A.activeText?(L(),G("span",{key:1,"aria-hidden":!C(y)},je(A.activeText),9,["aria-hidden"])):xe("v-if",!0)],2)):xe("v-if",!0)],10,["onClick"]))}});var MJe=on(OJe,[["__file","switch.vue"]]);const PJe=or(MJe),_I=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},NJe=function(e,t,n,r,o){if(!t&&!r&&(!o||Zt(o)&&!o.length))return e;In(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const i=r?null:function(s,l){return o?Mme(Ya(o),u=>In(u)?Xi(s,u):u(s,l,e)):(t!=="$key"&&dr(s)&&"$value"in s&&(s=s.$value),[dr(s)?t?Xi(s,t):null:s])},a=function(s,l){var u,d,c,f,p,v;if(r)return r(s.value,l.value);for(let h=0,g=(d=(u=s.key)==null?void 0:u.length)!=null?d:0;h((v=l.key)==null?void 0:v[h]))return 1}return 0};return e.map((s,l)=>({value:s,index:l,key:i?i(s,l):null})).sort((s,l)=>{let u=a(s,l);return u||(u=s.index-l.index),u*+n}).map(s=>s.value)},Pbe=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},RJe=function(e,t){let n=null;for(let r=0;r{if(!e)throw new Error("Row is required when get row identity");if(In(t)){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const o of n)r=r[o];return`${r}`}else if(Rn(t))return t.call(null,e);return""},ay=function(e,t,n=!1,r="children"){const o=e||[],i={};return o.forEach((a,s)=>{if(i[Cs(a,t)]={row:a,index:s},n){const l=a[r];Zt(l)&&Object.assign(i,ay(l,t,!0,r))}}),i};function BJe(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(no(t,r)){const o=t[r];Vr(o)||(n[r]=o)}return n}function xW(e){return e===""||Vr(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Nbe(e){return e===""||Vr(e)||(e=xW(e),Number.isNaN(e)&&(e=80)),e}function LJe(e){return $n(e)?e:In(e)?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function FJe(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function BE(e,t,n,r,o,i,a){let s=i??0,l=!1;const d=(()=>{if(!a)return e.indexOf(t);const h=Cs(t,a);return e.findIndex(g=>Cs(g,a)===h)})(),c=d!==-1,f=o?.call(null,t,s),p=h=>{h==="add"?e.push(t):e.splice(d,1),l=!0},v=h=>{let g=0;const y=r?.children&&h[r.children];return y&&Zt(y)&&(g+=y.length,y.forEach(m=>{g+=v(m)})),g};return(!o||f)&&(Eo(n)?n&&!c?p("add"):!n&&c&&p("remove"):p(c?"remove":"add")),!r?.checkStrictly&&r?.children&&Zt(t[r.children])&&t[r.children].forEach(h=>{const g=BE(e,h,n??!c,r,o,s+1,a);s+=v(h)+1,g&&(l=g)}),l}function UJe(e,t,n="children",r="hasChildren",o=!1){const i=s=>!(Zt(s)&&s.length);function a(s,l,u){t(s,l,u),l.forEach(d=>{if(d[r]&&o){t(d,null,u+1);return}const c=d[n];i(c)||a(d,c,u+1)})}e.forEach(s=>{if(s[r]&&o){t(s,null,0);return}const l=s[n];i(l)||a(s,l,0)})}const zJe=(e,t,n,r)=>{const o={strategy:"fixed",...e.popperOptions},i=Rn(r?.tooltipFormatter)?r.tooltipFormatter({row:n,column:r,cellValue:t3(n,r.property).value}):void 0;return Vo(i)?{slotContent:i,content:null,...e,popperOptions:o}:{slotContent:null,content:i??t,...e,popperOptions:o}};let Ns=null;function $Je(e,t,n,r,o,i){var a;const s=zJe(e,t,n,r),l={...s,slotContent:void 0};if(Ns?.trigger===o){const v=(a=Ns.vm)==null?void 0:a.component;Pme(v?.props,l),v&&s.slotContent&&(v.slots.content=()=>[s.slotContent]);return}Ns?.();const u=i?.refs.tableWrapper,d=u?.dataset.prefix,c=He(hs,{virtualTriggering:!0,virtualRef:o,appendTo:u,placement:"top",transition:"none",offset:0,hideAfter:0,...l},s.slotContent?{content:()=>s.slotContent}:void 0);c.appContext={...i.appContext,...i};const f=document.createElement("div");i0(c,f),c.component.exposed.onOpen();const p=u?.querySelector(`.${d}-scrollbar__wrap`);Ns=()=>{var v,h;(h=(v=c.component)==null?void 0:v.exposed)!=null&&h.onClose&&c.component.exposed.onClose(),i0(null,f);const g=Ns;p?.removeEventListener("scroll",g),g.trigger=void 0,g.vm=void 0,Ns=null},Ns.trigger=o??void 0,Ns.vm=c,p?.addEventListener("scroll",Ns)}function Rbe(e){return e.children?Mme(e.children,Rbe):[e]}function wee(e,t){return e+t.colSpan}const Bbe=(e,t,n,r)=>{let o=0,i=e;const a=n.states.columns.value;if(r){const l=Rbe(r[e]);o=a.slice(0,a.indexOf(l[0])).reduce(wee,0),i=o+l.reduce(wee,0)-1}else o=e;let s;switch(t){case"left":i=a.length-n.states.rightFixedLeafColumnsLength.value&&(s="right");break;default:i=a.length-n.states.rightFixedLeafColumnsLength.value&&(s="right")}return s?{direction:s,start:o,after:i}:{}},SW=(e,t,n,r,o,i=0)=>{const a=[],{direction:s,start:l,after:u}=Bbe(t,n,r,o);if(s){const d=s==="left";a.push(`${e}-fixed-column--${s}`),d&&u+i===r.states.fixedLeafColumnsLength.value-1?a.push("is-last-column"):!d&&l-i===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&a.push("is-first-column")}return a};function Aee(e,t){return e+(P5(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const EW=(e,t,n,r)=>{const{direction:o,start:i=0,after:a=0}=Bbe(e,t,n,r);if(!o)return;const s={},l=o==="left",u=n.states.columns.value;return l?s.left=u.slice(0,i).reduce(Aee,0):s.right=u.slice(a+1).reverse().reduce(Aee,0),s},Hy=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function jJe(e){const t=br(),n=K(!1),r=K([]);return{updateExpandRows:()=>{const l=e.data.value||[],u=e.rowKey.value;if(n.value)r.value=l.slice();else if(u){const d=ay(r.value,u);r.value=l.reduce((c,f)=>{const p=Cs(f,u);return d[p]&&c.push(f),c},[])}else r.value=[]},toggleRowExpansion:(l,u)=>{BE(r.value,l,u,void 0,void 0,void 0,e.rowKey.value)&&t.emit("expand-change",l,r.value.slice())},setExpandRowKeys:l=>{t.store.assertRowKey();const u=e.data.value||[],d=e.rowKey.value,c=ay(u,d);r.value=l.reduce((f,p)=>{const v=c[p];return v&&f.push(v.row),f},[])},isRowExpanded:l=>{const u=e.rowKey.value;return u?!!ay(r.value,u)[Cs(l,u)]:r.value.includes(l)},states:{expandRows:r,defaultExpandAll:n}}}function HJe(e){const t=br(),n=K(null),r=K(null),o=u=>{t.store.assertRowKey(),n.value=u,a(u)},i=()=>{n.value=null},a=u=>{var d;const{data:c,rowKey:f}=e;let p=null;f.value&&(p=(d=(C(c)||[]).find(v=>Cs(v,f.value)===u))!=null?d:null),r.value=p??null,t.emit("current-change",r.value,null)};return{setCurrentRowKey:o,restoreCurrentRowKey:i,setCurrentRowByKey:a,updateCurrentRow:u=>{const d=r.value;if(u&&u!==d){r.value=u,t.emit("current-change",r.value,d);return}!u&&d&&(r.value=null,t.emit("current-change",null,d))},updateCurrentRowData:()=>{const u=e.rowKey.value,d=e.data.value||[],c=r.value;if(c&&!d.includes(c)){if(u){const f=Cs(c,u);a(f)}else r.value=null;P5(r.value)&&t.emit("current-change",null,c)}else n.value&&(a(n.value),i())},states:{_currentRowKey:n,currentRow:r}}}function WJe(e){const t=K([]),n=K({}),r=K(16),o=K(!1),i=K({}),a=K("hasChildren"),s=K("children"),l=K(!1),u=br(),d=ee(()=>{if(!e.rowKey.value)return{};const w=e.data.value||[];return f(w)}),c=ee(()=>{const w=e.rowKey.value,A=Object.keys(i.value),S={};return A.length&&A.forEach(E=>{if(i.value[E].length){const D={children:[]};i.value[E].forEach(_=>{const M=Cs(_,w);D.children.push(M),_[a.value]&&!S[M]&&(S[M]={children:[]})}),S[E]=D}}),S}),f=w=>{const A=e.rowKey.value,S={};return UJe(w,(E,D,_)=>{const M=Cs(E,A);Zt(D)?S[M]={children:D.map(O=>Cs(O,A)),level:_}:o.value&&(S[M]={children:[],lazy:!0,level:_})},s.value,a.value,o.value),S},p=(w=!1,A)=>{var S,E;A||(A=(S=u.store)==null?void 0:S.states.defaultExpandAll.value);const D=d.value,_=c.value,M=Object.keys(D),O={};if(M.length){const k=C(n),R=[],N=(B,z)=>{if(w)return t.value?A||t.value.includes(z):!!(A||B?.expanded);{const j=A||t.value&&t.value.includes(z);return!!(B?.expanded||j)}};M.forEach(B=>{const z=k[B],j={...D[B]};if(j.expanded=N(z,B),j.lazy){const{loaded:q=!1,loading:Y=!1}=z||{};j.loaded=!!q,j.loading=!!Y,R.push(B)}O[B]=j});const W=Object.keys(_);o.value&&W.length&&R.length&&W.forEach(B=>{var z;const j=k[B],q=_[B].children;if(R.includes(B)){if(((z=O[B].children)==null?void 0:z.length)!==0)throw new Error("[ElTable]children must be an empty array.");O[B].children=q}else{const{loaded:Y=!1,loading:U=!1}=j||{};O[B]={lazy:!0,loaded:!!Y,loading:!!U,expanded:N(j,B),children:q,level:void 0}}})}n.value=O,(E=u.store)==null||E.updateTableScrollY()};St(()=>t.value,()=>{p(!0)}),St(()=>d.value,()=>{p()}),St(()=>c.value,()=>{p()});const v=w=>{t.value=w,p()},h=w=>o.value&&w&&"loaded"in w&&!w.loaded,g=(w,A)=>{u.store.assertRowKey();const S=e.rowKey.value,E=Cs(w,S),D=E&&n.value[E];if(E&&D&&"expanded"in D){const _=D.expanded;A=Vr(A)?!D.expanded:A,n.value[E].expanded=A,_!==A&&u.emit("expand-change",w,A),h(D)&&m(w,E,D),u.store.updateTableScrollY()}},y=w=>{u.store.assertRowKey();const A=e.rowKey.value,S=Cs(w,A),E=n.value[S];h(E)?m(w,S,E):g(w,void 0)},m=(w,A,S)=>{const{load:E}=u.props;E&&!n.value[A].loaded&&(n.value[A].loading=!0,E(w,S,D=>{if(!Zt(D))throw new TypeError("[ElTable] data must be an array");n.value[A].loading=!1,n.value[A].loaded=!0,n.value[A].expanded=!0,D.length&&(i.value[A]=D),u.emit("expand-change",w,!0)}))};return{loadData:m,loadOrToggle:y,toggleTreeExpansion:g,updateTreeExpandKeys:v,updateTreeData:p,updateKeyChildren:(w,A)=>{const{lazy:S,rowKey:E}=u.props;if(S){if(!E)throw new Error("[Table] rowKey is required in updateKeyChild");i.value[w]&&(i.value[w]=A)}},normalize:f,states:{expandRowKeys:t,treeData:n,indent:r,lazy:o,lazyTreeNodeMap:i,lazyColumnIdentifier:a,childrenColumnName:s,checkStrictly:l}}}const VJe=(e,t)=>{const n=t.sortingColumn;return!n||In(n.sortable)?e:NJe(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},FS=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,FS(n.children)):t.push(n)}),t};function qJe(){var e;const t=br(),{size:n}=Oa((e=t.proxy)==null?void 0:e.$props),r=K(null),o=K([]),i=K([]),a=K(!1),s=K([]),l=K([]),u=K([]),d=K([]),c=K([]),f=K([]),p=K([]),v=K([]),h=[],g=K(0),y=K(0),m=K(0),b=K(!1),w=K([]),A=K(!1),S=K(!1),E=K(null),D=K({}),_=K(null),M=K(null),O=K(null),k=K(null),R=K(null),N=ee(()=>r.value?ay(w.value,r.value):void 0);St(o,()=>{var Ht;t.state&&(j(!1),t.props.tableLayout==="auto"&&((Ht=t.refs.tableHeaderRef)==null||Ht.updateFixedColumnStyle()))},{deep:!0});const W=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},B=Ht=>{var pt;(pt=Ht.children)==null||pt.forEach(Dt=>{Dt.fixed=Ht.fixed,B(Dt)})},z=()=>{s.value.forEach(tt=>{B(tt)}),d.value=s.value.filter(tt=>[!0,"left"].includes(tt.fixed));const Ht=s.value.find(tt=>tt.type==="selection");let pt;Ht&&Ht.fixed!=="right"&&!d.value.includes(Ht)&&s.value.indexOf(Ht)===0&&d.value.length&&(d.value.unshift(Ht),pt=!0),c.value=s.value.filter(tt=>tt.fixed==="right");const Dt=s.value.filter(tt=>(pt?tt.type!=="selection":!0)&&!tt.fixed);l.value=Array.from(d.value).concat(Dt).concat(c.value);const dt=FS(Dt),it=FS(d.value),de=FS(c.value);g.value=dt.length,y.value=it.length,m.value=de.length,u.value=Array.from(it).concat(dt).concat(de),a.value=d.value.length>0||c.value.length>0},j=(Ht,pt=!1)=>{Ht&&z(),pt?t.state.doLayout():t.state.debouncedUpdateLayout()},q=Ht=>N.value?!!N.value[Cs(Ht,r.value)]:w.value.includes(Ht),Y=()=>{b.value=!1;const Ht=w.value;w.value=[],Ht.length&&t.emit("selection-change",[])},U=()=>{var Ht,pt;let Dt;if(r.value){Dt=[];const dt=(pt=(Ht=t?.store)==null?void 0:Ht.states)==null?void 0:pt.childrenColumnName.value,it=ay(o.value,r.value,!0,dt);for(const de in N.value)no(N.value,de)&&!it[de]&&Dt.push(N.value[de].row)}else Dt=w.value.filter(dt=>!o.value.includes(dt));if(Dt.length){const dt=w.value.filter(it=>!Dt.includes(it));w.value=dt,t.emit("selection-change",dt.slice())}},F=()=>(w.value||[]).slice(),H=(Ht,pt,Dt=!0,dt=!1)=>{var it,de,tt,ft;const Mt={children:(de=(it=t?.store)==null?void 0:it.states)==null?void 0:de.childrenColumnName.value,checkStrictly:(ft=(tt=t?.store)==null?void 0:tt.states)==null?void 0:ft.checkStrictly.value};if(BE(w.value,Ht,pt,Mt,dt?void 0:E.value,o.value.indexOf(Ht),r.value)){const Nn=(w.value||[]).slice();Dt&&t.emit("select",Nn,Ht),t.emit("selection-change",Nn)}},re=()=>{var Ht,pt;const Dt=S.value?!b.value:!(b.value||w.value.length);b.value=Dt;let dt=!1,it=0;const de=(pt=(Ht=t?.store)==null?void 0:Ht.states)==null?void 0:pt.rowKey.value,{childrenColumnName:tt}=t.store.states,ft={children:tt.value,checkStrictly:!1};o.value.forEach((Mt,Tn)=>{const Nn=Tn+it;BE(w.value,Mt,Dt,ft,E.value,Nn,de)&&(dt=!0),it+=te(Cs(Mt,de))}),dt&&t.emit("selection-change",w.value?w.value.slice():[]),t.emit("select-all",(w.value||[]).slice())},X=()=>{var Ht;if(((Ht=o.value)==null?void 0:Ht.length)===0){b.value=!1;return}const{childrenColumnName:pt}=t.store.states;let Dt=0,dt=0;const it=tt=>{var ft;for(const Mt of tt){const Tn=E.value&&E.value.call(null,Mt,Dt);if(q(Mt))dt++;else if(!E.value||Tn)return!1;if(Dt++,(ft=Mt[pt.value])!=null&&ft.length&&!it(Mt[pt.value]))return!1}return!0},de=it(o.value||[]);b.value=dt===0?!1:de},te=Ht=>{var pt;if(!t||!t.store)return 0;const{treeData:Dt}=t.store.states;let dt=0;const it=(pt=Dt.value[Ht])==null?void 0:pt.children;return it&&(dt+=it.length,it.forEach(de=>{dt+=te(de)})),dt},Z=(Ht,pt)=>{const Dt={};return Ya(Ht).forEach(dt=>{D.value[dt.id]=pt,Dt[dt.columnKey||dt.id]=pt}),Dt},le=(Ht,pt,Dt)=>{M.value&&M.value!==Ht&&(M.value.order=null),M.value=Ht,O.value=pt,k.value=Dt},ve=()=>{let Ht=C(i);Object.keys(D.value).forEach(pt=>{const Dt=D.value[pt];if(!Dt||Dt.length===0)return;const dt=Pbe({columns:u.value},pt);dt&&dt.filterMethod&&(Ht=Ht.filter(it=>Dt.some(de=>dt.filterMethod.call(null,de,it,dt))))}),_.value=Ht},Pe=()=>{var Ht;o.value=VJe((Ht=_.value)!=null?Ht:[],{sortingColumn:M.value,sortProp:O.value,sortOrder:k.value})},Ae=(Ht=void 0)=>{Ht?.filter||ve(),Pe()},he=Ht=>{const{tableHeaderRef:pt}=t.refs;if(!pt)return;const Dt=Object.assign({},pt.filterPanels),dt=Object.keys(Dt);if(dt.length)if(In(Ht)&&(Ht=[Ht]),Zt(Ht)){const it=Ht.map(de=>RJe({columns:u.value},de));dt.forEach(de=>{const tt=it.find(ft=>ft.id===de);tt&&(tt.filteredValue=[])}),t.store.commit("filterChange",{column:it,values:[],silent:!0,multi:!0})}else dt.forEach(it=>{const de=u.value.find(tt=>tt.id===it);de&&(de.filteredValue=[])}),D.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},Ee=()=>{M.value&&(le(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Q,toggleRowExpansion:me,updateExpandRows:De,states:pe,isRowExpanded:ie}=jJe({data:o,rowKey:r}),{updateTreeExpandKeys:ue,toggleTreeExpansion:Be,updateTreeData:Me,updateKeyChildren:Fe,loadOrToggle:ze,states:Ne}=WJe({data:o,rowKey:r}),{updateCurrentRowData:Re,updateCurrentRow:gt,setCurrentRowKey:Bt,states:Lt}=HJe({data:o,rowKey:r});return{assertRowKey:W,updateColumns:z,scheduleLayout:j,isSelected:q,clearSelection:Y,cleanSelection:U,getSelectionRows:F,toggleRowSelection:H,_toggleAllSelection:re,toggleAllSelection:null,updateAllSelected:X,updateFilters:Z,updateCurrentRow:gt,updateSort:le,execFilter:ve,execSort:Pe,execQuery:Ae,clearFilter:he,clearSort:Ee,toggleRowExpansion:me,setExpandRowKeysAdapter:Ht=>{Q(Ht),ue(Ht)},setCurrentRowKey:Bt,toggleRowExpansionAdapter:(Ht,pt)=>{u.value.some(({type:dt})=>dt==="expand")?me(Ht,pt):Be(Ht,pt)},isRowExpanded:ie,updateExpandRows:De,updateCurrentRowData:Re,loadOrToggle:ze,updateTreeData:Me,updateKeyChildren:Fe,states:{tableSize:n,rowKey:r,data:o,_data:i,isComplex:a,_columns:s,originColumns:l,columns:u,fixedColumns:d,rightFixedColumns:c,leafColumns:f,fixedLeafColumns:p,rightFixedLeafColumns:v,updateOrderFns:h,leafColumnsLength:g,fixedLeafColumnsLength:y,rightFixedLeafColumnsLength:m,isAllSelected:b,selection:w,reserveSelection:A,selectOnIndeterminate:S,selectable:E,filters:D,filteredData:_,sortingColumn:M,sortProp:O,sortOrder:k,hoverRow:R,...pe,...Ne,...Lt}}}function KL(e,t){return e.map(n=>{var r;return n.id===t.id?t:((r=n.children)!=null&&r.length&&(n.children=KL(n.children,t)),n)})}function YL(e){e.forEach(t=>{var n,r;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(r=t.children)!=null&&r.length&&YL(t.children)}),e.sort((t,n)=>t.no-n.no)}function GJe(){const e=br(),t=qJe();return{ns:Vt("table"),...t,mutations:{setData(a,s){const l=C(a._data)!==s;a.data.value=s,a._data.value=s,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),C(a.reserveSelection)?e.store.assertRowKey():l?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(a,s,l,u){var d;const c=C(a._columns);let f=[];l?(l&&!l.children&&(l.children=[]),(d=l.children)==null||d.push(s),f=KL(c,l)):(c.push(s),f=c),YL(f),a._columns.value=f,a.updateOrderFns.push(u),s.type==="selection"&&(a.selectable.value=s.selectable,a.reserveSelection.value=s.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(a,s){var l;((l=s.getColumnIndex)==null?void 0:l.call(s))!==s.no&&(YL(a._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(a,s,l,u){var d;const c=C(a._columns)||[];if(l)(d=l.children)==null||d.splice(l.children.findIndex(p=>p.id===s.id),1),Yt(()=>{var p;((p=l.children)==null?void 0:p.length)===0&&delete l.children}),a._columns.value=KL(c,l);else{const p=c.indexOf(s);p>-1&&(c.splice(p,1),a._columns.value=c)}const f=a.updateOrderFns.indexOf(u);f>-1&&a.updateOrderFns.splice(f,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(a,s){const{prop:l,order:u,init:d}=s;if(l){const c=C(a.columns).find(f=>f.property===l);c&&(c.order=u,e.store.updateSort(c,l,u),e.store.commit("changeSortCondition",{init:d}))}},changeSortCondition(a,s){const{sortingColumn:l,sortProp:u,sortOrder:d}=a,c=C(l),f=C(u),p=C(d);P5(p)&&(a.sortingColumn.value=null,a.sortProp.value=null);const v={filter:!0};e.store.execQuery(v),(!s||!(s.silent||s.init))&&e.emit("sort-change",{column:c,prop:f,order:p}),e.store.updateTableScrollY()},filterChange(a,s){const{column:l,values:u,silent:d}=s,c=e.store.updateFilters(l,u);e.store.execQuery(),d||e.emit("filter-change",c),e.store.updateTableScrollY()},toggleAllSelection(){var a,s;(s=(a=e.store).toggleAllSelection)==null||s.call(a)},rowSelectedChanged(a,s){e.store.toggleRowSelection(s),e.store.updateAllSelected()},setHoverRow(a,s){a.hoverRow.value=s},setCurrentRow(a,s){e.store.updateCurrentRow(s)}},commit:function(a,...s){const l=e.store.mutations;if(l[a])l[a].apply(e,[e.store.states,...s]);else throw new Error(`Action not found: ${a}`)},updateTableScrollY:function(){Yt(()=>e.layout.updateScrollY.apply(e.layout))}}}const kW={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function KJe(e,t){if(!e)throw new Error("Table is required.");const n=GJe();return n.toggleAllSelection=Wl(n._toggleAllSelection,10),Object.keys(kW).forEach(r=>{Lbe(Fbe(t,r),r,n)}),YJe(n,t),n}function YJe(e,t){Object.keys(kW).forEach(n=>{St(()=>Fbe(t,n),r=>{Lbe(r,n,e)})})}function Lbe(e,t,n){let r=e,o=kW[t];dr(o)&&(r=r||o.default,o=o.key),n.states[o].value=r}function Fbe(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach(o=>{r=r[o]}),r}else return e[t]}class QJe{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=K(null),this.scrollX=K(!1),this.scrollY=K(!1),this.bodyWidth=K(null),this.fixedWidth=K(null),this.rightFixedWidth=K(null),this.gutterWidth=0;for(const n in t)no(t,n)&&(Uo(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const t=this.height.value;if(P5(t))return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&n?.wrapRef){let r=!0;const o=this.scrollY.value;return r=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=r,o!==r}return!1}setHeight(t,n="height"){if(!Xr)return;const r=this.table.vnode.el;if(t=LJe(t),this.height.value=Number(t),!r&&(t||t===0)){Yt(()=>this.setHeight(t,n));return}r&&$n(t)?(r.style[n]=`${t}px`,this.updateElsHeight()):r&&In(t)&&(r.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(r=>{r.isColumnGroup?t.push.apply(t,r.columns):t.push(r)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){var t;if(!Xr)return;const n=this.fit,r=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let o=0;const i=this.getFlattenColumns(),a=i.filter(u=>!$n(u.width));if(i.forEach(u=>{$n(u.width)&&u.realWidth&&(u.realWidth=null)}),a.length>0&&n){if(i.forEach(u=>{o+=Number(u.width||u.minWidth||80)}),o<=r){this.scrollX.value=!1;const u=r-o;if(a.length===1)a[0].realWidth=Number(a[0].minWidth||80)+u;else{const d=a.reduce((p,v)=>p+Number(v.minWidth||80),0),c=u/d;let f=0;a.forEach((p,v)=>{if(v===0)return;const h=Math.floor(Number(p.minWidth||80)*c);f+=h,p.realWidth=Number(p.minWidth||80)+h}),a[0].realWidth=Number(a[0].minWidth||80)+u-f}}else this.scrollX.value=!0,a.forEach(u=>{u.realWidth=Number(u.minWidth)});this.bodyWidth.value=Math.max(o,r),this.table.state.resizeState.value.width=this.bodyWidth.value}else i.forEach(u=>{!u.width&&!u.minWidth?u.realWidth=80:u.realWidth=Number(u.width||u.minWidth),o+=u.realWidth}),this.scrollX.value=o>r,this.bodyWidth.value=o;const s=this.store.states.fixedColumns.value;if(s.length>0){let u=0;s.forEach(d=>{u+=Number(d.realWidth||d.width)}),this.fixedWidth.value=u}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let u=0;l.forEach(d=>{u+=Number(d.realWidth||d.width)}),this.rightFixedWidth.value=u}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(r=>{var o,i;switch(t){case"columns":(o=r.state)==null||o.onColumnsChange(this);break;case"scrollable":(i=r.state)==null||i.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:ZJe}=tc,XJe=nt({name:"ElTableFilterPanel",components:{ElCheckbox:tc,ElCheckboxGroup:ZJe,ElScrollbar:Hc,ElTooltip:hs,ElIcon:Dn,ArrowDown:ed,ArrowUp:oD},directives:{ClickOutside:np},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:oi.appendTo},setup(e){const t=br(),{t:n}=Gr(),r=Vt("table-filter"),o=t?.parent;e.column&&!o.filterPanels.value[e.column.id]&&(o.filterPanels.value[e.column.id]=t);const i=K(!1),a=K(null),s=ee(()=>e.column&&e.column.filters),l=ee(()=>e.column&&e.column.filterClassName?`${r.b()} ${e.column.filterClassName}`:r.b()),u=ee({get:()=>{var A;return(((A=e.column)==null?void 0:A.filteredValue)||[])[0]},set:A=>{d.value&&(Bl(A)?d.value.splice(0,1):d.value.splice(0,1,A))}}),d=ee({get(){return e.column?e.column.filteredValue||[]:[]},set(A){var S;e.column&&((S=e.upDataColumn)==null||S.call(e,"filteredValue",A))}}),c=ee(()=>e.column?e.column.filterMultiple:!0),f=A=>A.value===u.value,p=()=>{i.value=!1},v=A=>{A.stopPropagation(),i.value=!i.value},h=()=>{i.value=!1},g=()=>{b(d.value),p()},y=()=>{d.value=[],b(d.value),p()},m=A=>{u.value=A,Bl(A)?b([]):b(d.value),p()},b=A=>{var S,E;(S=e.store)==null||S.commit("filterChange",{column:e.column,values:A}),(E=e.store)==null||E.updateAllSelected()};St(i,A=>{var S;e.column&&((S=e.upDataColumn)==null||S.call(e,"filterOpened",A))},{immediate:!0});const w=ee(()=>{var A,S;return(S=(A=a.value)==null?void 0:A.popperRef)==null?void 0:S.contentRef});return{tooltipVisible:i,multiple:c,filterClassName:l,filteredValue:d,filterValue:u,filters:s,handleConfirm:g,handleReset:y,handleSelect:m,isPropAbsent:Bl,isActive:f,t:n,ns:r,showFilterPanel:v,hideFilterPanel:h,popperPaneRef:w,tooltip:a}}});function JJe(e,t,n,r,o,i){const a=hr("el-checkbox"),s=hr("el-checkbox-group"),l=hr("el-scrollbar"),u=hr("arrow-up"),d=hr("arrow-down"),c=hr("el-icon"),f=hr("el-tooltip"),p=L_("click-outside");return L(),yt(f,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:"","append-to":e.appendTo},{content:rt(()=>[e.multiple?(L(),G("div",{key:0},[x("div",{class:oe(e.ns.e("content"))},[He(l,{"wrap-class":e.ns.e("wrap")},{default:rt(()=>[He(s,{modelValue:e.filteredValue,"onUpdate:modelValue":v=>e.filteredValue=v,class:oe(e.ns.e("checkbox-group"))},{default:rt(()=>[(L(!0),G(Rt,null,un(e.filters,v=>(L(),yt(a,{key:v.value,value:v.value},{default:rt(()=>[bn(je(v.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","class"])]),_:1},8,["wrap-class"])],2),x("div",{class:oe(e.ns.e("bottom"))},[x("button",{class:oe({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:e.handleConfirm},je(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),x("button",{type:"button",onClick:e.handleReset},je(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(L(),G("ul",{key:1,class:oe(e.ns.e("list"))},[x("li",{class:oe([e.ns.e("list-item"),{[e.ns.is("active")]:e.isPropAbsent(e.filterValue)}]),onClick:v=>e.handleSelect(null)},je(e.t("el.table.clearFilter")),11,["onClick"]),(L(!0),G(Rt,null,un(e.filters,v=>(L(),G("li",{key:v.value,class:oe([e.ns.e("list-item"),e.ns.is("active",e.isActive(v))]),label:v.value,onClick:h=>e.handleSelect(v.value)},je(v.text),11,["label","onClick"]))),128))],2))]),default:rt(()=>[cn((L(),G("span",{class:oe([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[He(c,null,{default:rt(()=>[ht(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(L(),yt(u,{key:0})):(L(),yt(d,{key:1}))]})]),_:3})],10,["onClick"])),[[p,e.hideFilterPanel,e.popperPaneRef]])]),_:3},8,["visible","placement","popper-class","append-to"])}var eet=on(XJe,[["render",JJe],["__file","filter-panel.vue"]]);function TW(e){const t=br();B_(()=>{n.value.addObserver(t)}),qn(()=>{r(n.value),o(n.value)}),Qc(()=>{r(n.value),o(n.value)}),yl(()=>{n.value.removeObserver(t)});const n=ee(()=>{const i=e.layout;if(!i)throw new Error("Can not find table layout.");return i}),r=i=>{var a;const s=((a=e.vnode.el)==null?void 0:a.querySelectorAll("colgroup > col"))||[];if(!s.length)return;const l=i.getFlattenColumns(),u={};l.forEach(d=>{u[d.id]=d});for(let d=0,c=s.length;d{var a,s;const l=((a=e.vnode.el)==null?void 0:a.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let d=0,c=l.length;d{h.stopPropagation()},i=(h,g)=>{!g.filters&&g.sortable?v(h,g,!1):g.filterable&&!g.sortable&&o(h),r?.emit("header-click",g,h)},a=(h,g)=>{r?.emit("header-contextmenu",g,h)},s=K(null),l=K(!1),u=K(),d=(h,g)=>{var y,m;if(Xr&&!(g.children&&g.children.length>0)&&s.value&&e.border){l.value=!0;const b=r;t("set-drag-visible",!0);const w=b?.vnode.el,A=w?.getBoundingClientRect().left,S=(m=(y=n?.vnode)==null?void 0:y.el)==null?void 0:m.querySelector(`th.${g.id}`),E=S.getBoundingClientRect(),D=E.left-A+30;zu(S,"noclick"),u.value={startMouseLeft:h.clientX,startLeft:E.right-A,startColumnLeft:E.left-A,tableLeft:A};const _=b?.refs.resizeProxy;_.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const M=k=>{const R=k.clientX-u.value.startMouseLeft,N=u.value.startLeft+R;_.style.left=`${Math.max(D,N)}px`},O=()=>{if(l.value){const{startColumnLeft:k,startLeft:R}=u.value,W=Number.parseInt(_.style.left,10)-k;g.width=g.realWidth=W,b?.emit("header-dragend",g.width,R-k,g,h),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",l.value=!1,s.value=null,u.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",O),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Ws(S,"noclick")},0)};document.addEventListener("mousemove",M),document.addEventListener("mouseup",O)}},c=(h,g)=>{var y;if(g.children&&g.children.length>0)return;const m=h.target;if(!cl(m))return;const b=m?.closest("th");if(!(!g||!g.resizable||!b)&&!l.value&&e.border){const w=b.getBoundingClientRect(),A=document.body.style,S=((y=b.parentNode)==null?void 0:y.lastElementChild)===b,E=e.allowDragLastColumn||!S;w.width>12&&w.right-h.clientX<8&&E?(A.cursor="col-resize",Ol(b,"is-sortable")&&(b.style.cursor="col-resize"),s.value=g):l.value||(A.cursor="",Ol(b,"is-sortable")&&(b.style.cursor="pointer"),s.value=null)}},f=()=>{Xr&&(document.body.style.cursor="")},p=({order:h,sortOrders:g})=>{if(h==="")return g[0];const y=g.indexOf(h||null);return g[y>g.length-2?0:y+1]},v=(h,g,y)=>{var m;h.stopPropagation();const b=g.order===y?null:y||p(g),w=(m=h.target)==null?void 0:m.closest("th");if(w&&Ol(w,"noclick")){Ws(w,"noclick");return}if(!g.sortable)return;const A=h.currentTarget;if(["ascending","descending"].some(M=>Ol(A,M)&&!g.sortOrders.includes(M)))return;const S=e.store.states;let E=S.sortProp.value,D;const _=S.sortingColumn.value;(_!==g||_===g&&P5(_.order))&&(_&&(_.order=null),S.sortingColumn.value=g,E=g.property),b?D=g.order=b:D=g.order=null,S.sortProp.value=E,S.sortOrder.value=D,r?.store.commit("changeSortCondition")};return{handleHeaderClick:i,handleHeaderContextMenu:a,handleMouseDown:d,handleMouseMove:c,handleMouseOut:f,handleSortClick:v,handleFilterClick:o}}function net(e){const t=dn(nd),n=Vt("table");return{getHeaderRowStyle:s=>{const l=t?.props.headerRowStyle;return Rn(l)?l.call(null,{rowIndex:s}):l},getHeaderRowClass:s=>{const l=[],u=t?.props.headerRowClassName;return In(u)?l.push(u):Rn(u)&&l.push(u.call(null,{rowIndex:s})),l.join(" ")},getHeaderCellStyle:(s,l,u,d)=>{var c;let f=(c=t?.props.headerCellStyle)!=null?c:{};Rn(f)&&(f=f.call(null,{rowIndex:s,columnIndex:l,row:u,column:d}));const p=EW(l,d.fixed,e.store,u);return Hy(p,"left"),Hy(p,"right"),Object.assign({},f,p)},getHeaderCellClass:(s,l,u,d)=>{const c=SW(n.b(),l,d.fixed,e.store,u),f=[d.id,d.order,d.headerAlign,d.className,d.labelClassName,...c];d.children||f.push("is-leaf"),d.sortable&&f.push("is-sortable");const p=t?.props.headerCellClassName;return In(p)?f.push(p):Rn(p)&&f.push(p.call(null,{rowIndex:s,columnIndex:l,row:u,column:d})),f.push(n.e("cell")),f.filter(v=>!!v).join(" ")}}}const Ube=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,Ube(n.children))):t.push(n)}),t},zbe=e=>{let t=1;const n=(i,a)=>{if(a&&(i.level=a.level+1,t{n(l,i),s+=l.colSpan}),i.colSpan=s}else i.colSpan=1};e.forEach(i=>{i.level=1,n(i,void 0)});const r=[];for(let i=0;i{i.children?(i.rowSpan=1,i.children.forEach(a=>a.isSubColumn=!0)):i.rowSpan=t-i.level+1,r[i.level-1].push(i)}),r};function ret(e){const t=dn(nd),n=ee(()=>zbe(e.store.states.originColumns.value));return{isGroup:ee(()=>{const i=n.value.length>1;return i&&t&&(t.state.isGroup.value=!0),i}),toggleAllSelection:i=>{i.stopPropagation(),t?.store.commit("toggleAllSelection")},columnRows:n}}var oet=nt({name:"ElTableHeader",components:{ElCheckbox:tc},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(e,{emit:t}){const n=br(),r=dn(nd),o=Vt("table"),i=K({}),{onColumnsChange:a,onScrollableChange:s}=TW(r),l=r?.props.tableLayout==="auto",u=Wr(new Map),d=K();let c;const f=()=>{c=setTimeout(()=>{u.size>0&&(u.forEach((O,k)=>{const R=d.value.querySelector(`.${k.replace(/\s/g,".")}`);if(R){const N=R.getBoundingClientRect().width;O.width=N||O.width}}),u.clear())})};St(u,f),Jr(()=>{c&&(clearTimeout(c),c=void 0)}),qn(async()=>{await Yt(),await Yt();const{prop:O,order:k}=e.defaultSort;r?.store.commit("sort",{prop:O,order:k,init:!0}),f()});const{handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:h,handleMouseMove:g,handleMouseOut:y,handleSortClick:m,handleFilterClick:b}=tet(e,t),{getHeaderRowStyle:w,getHeaderRowClass:A,getHeaderCellStyle:S,getHeaderCellClass:E}=net(e),{isGroup:D,toggleAllSelection:_,columnRows:M}=ret(e);return n.state={onColumnsChange:a,onScrollableChange:s},n.filterPanels=i,{ns:o,filterPanels:i,onColumnsChange:a,onScrollableChange:s,columnRows:M,getHeaderRowClass:A,getHeaderRowStyle:w,getHeaderCellClass:E,getHeaderCellStyle:S,handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:h,handleMouseMove:g,handleMouseOut:y,handleSortClick:m,handleFilterClick:b,isGroup:D,toggleAllSelection:_,saveIndexSelection:u,isTableLayoutAuto:l,theadRef:d,updateFixedColumnStyle:f}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:r,getHeaderCellClass:o,getHeaderRowClass:i,getHeaderRowStyle:a,handleHeaderClick:s,handleHeaderContextMenu:l,handleMouseDown:u,handleMouseMove:d,handleSortClick:c,handleMouseOut:f,store:p,$parent:v,saveIndexSelection:h,isTableLayoutAuto:g}=this;let y=1;return jn("thead",{ref:"theadRef",class:{[e.is("group")]:t}},n.map((m,b)=>jn("tr",{class:i(b),key:b,style:a(b)},m.map((w,A)=>{w.rowSpan>y&&(y=w.rowSpan);const S=o(b,A,m,w);return g&&w.fixed&&h.set(S,w),jn("th",{class:S,colspan:w.colSpan,key:`${w.id}-thead`,rowspan:w.rowSpan,style:r(b,A,m,w),onClick:E=>{var D;(D=E.currentTarget)!=null&&D.classList.contains("noclick")||s(E,w)},onContextmenu:E=>l(E,w),onMousedown:E=>u(E,w),onMousemove:E=>d(E,w),onMouseout:f},[jn("div",{class:["cell",w.filteredValue&&w.filteredValue.length>0?"highlight":""]},[w.renderHeader?w.renderHeader({column:w,$index:A,store:p,_self:v}):w.label,w.sortable&&jn("span",{onClick:E=>c(E,w),class:"caret-wrapper"},[jn("i",{onClick:E=>c(E,w,"ascending"),class:"sort-caret ascending"}),jn("i",{onClick:E=>c(E,w,"descending"),class:"sort-caret descending"})]),w.filterable&&jn(eet,{store:p,placement:w.filterPlacement||"bottom-start",appendTo:v?.appendFilterPanelTo,column:w,upDataColumn:(E,D)=>{w[E]=D}},{"filter-icon":()=>w.renderFilterIcon?w.renderFilterIcon({filterOpened:w.filterOpened}):null})])])}))))}});function DI(e,t,n=.03){return e-t>n}function iet(e){const t=dn(nd),n=K(""),r=K(jn("div")),o=(v,h,g)=>{var y,m,b;const w=t,A=_I(v);let S=null;const E=(y=w?.vnode.el)==null?void 0:y.dataset.prefix;A&&(S=bee({columns:(b=(m=e.store)==null?void 0:m.states.columns.value)!=null?b:[]},A,E),S&&w?.emit(`cell-${g}`,h,S,A,v)),w?.emit(`row-${g}`,h,S,v)},i=(v,h)=>{o(v,h,"dblclick")},a=(v,h)=>{var g;(g=e.store)==null||g.commit("setCurrentRow",h),o(v,h,"click")},s=(v,h)=>{o(v,h,"contextmenu")},l=Wl(v=>{var h;(h=e.store)==null||h.commit("setHoverRow",v)},30),u=Wl(()=>{var v;(v=e.store)==null||v.commit("setHoverRow",null)},30),d=v=>{const h=window.getComputedStyle(v,null),g=Number.parseInt(h.paddingLeft,10)||0,y=Number.parseInt(h.paddingRight,10)||0,m=Number.parseInt(h.paddingTop,10)||0,b=Number.parseInt(h.paddingBottom,10)||0;return{left:g,right:y,top:m,bottom:b}},c=(v,h,g)=>{var y;let m=(y=h?.target)==null?void 0:y.parentNode;for(;v>1&&(m=m?.nextSibling,!(!m||m.nodeName!=="TR"));)g(m,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:i,handleClick:a,handleContextMenu:s,handleMouseEnter:l,handleMouseLeave:u,handleCellMouseEnter:(v,h,g)=>{var y,m,b,w,A,S,E,D;if(!t)return;const _=t,M=_I(v),O=(y=_?.vnode.el)==null?void 0:y.dataset.prefix;let k=null;if(M){if(k=bee({columns:(b=(m=e.store)==null?void 0:m.states.columns.value)!=null?b:[]},M,O),!k)return;M.rowSpan>1&&c(M.rowSpan,v,zu);const X=_.hoverState={cell:M,column:k,row:h};_?.emit("cell-mouse-enter",X.row,X.column,X.cell,v)}if(!g){((w=Ns)==null?void 0:w.trigger)===M&&((A=Ns)==null||A());return}const R=v.target.querySelector(".cell");if(!(Ol(R,`${O}-tooltip`)&&R.childNodes.length))return;const N=document.createRange();N.setStart(R,0),N.setEnd(R,R.childNodes.length);const{width:W,height:B}=N.getBoundingClientRect(),{width:z,height:j}=R.getBoundingClientRect(),{top:q,left:Y,right:U,bottom:F}=d(R),H=Y+U,re=q+F;DI(W+H,z)||DI(B+re,j)||DI(R.scrollWidth,z)?$Je(g,(S=M?.innerText||M?.textContent)!=null?S:"",h,k,M,_):((E=Ns)==null?void 0:E.trigger)===M&&((D=Ns)==null||D())},handleCellMouseLeave:v=>{const h=_I(v);if(!h)return;h.rowSpan>1&&c(h.rowSpan,v,Ws);const g=t?.hoverState;t?.emit("cell-mouse-leave",g?.row,g?.column,g?.cell,v)},tooltipContent:n,tooltipTrigger:r}}function aet(e){const t=dn(nd),n=Vt("table");return{getRowStyle:(u,d)=>{const c=t?.props.rowStyle;return Rn(c)?c.call(null,{row:u,rowIndex:d}):c||null},getRowClass:(u,d)=>{var c;const f=[n.e("row")];t?.props.highlightCurrentRow&&u===((c=e.store)==null?void 0:c.states.currentRow.value)&&f.push("current-row"),e.stripe&&d%2===1&&f.push(n.em("row","striped"));const p=t?.props.rowClassName;return In(p)?f.push(p):Rn(p)&&f.push(p.call(null,{row:u,rowIndex:d})),f},getCellStyle:(u,d,c,f)=>{const p=t?.props.cellStyle;let v=p??{};Rn(p)&&(v=p.call(null,{rowIndex:u,columnIndex:d,row:c,column:f}));const h=EW(d,e?.fixed,e.store);return Hy(h,"left"),Hy(h,"right"),Object.assign({},v,h)},getCellClass:(u,d,c,f,p)=>{const v=SW(n.b(),d,e?.fixed,e.store,void 0,p),h=[f.id,f.align,f.className,...v],g=t?.props.cellClassName;return In(g)?h.push(g):Rn(g)&&h.push(g.call(null,{rowIndex:u,columnIndex:d,row:c,column:f})),h.push(n.e("cell")),h.filter(y=>!!y).join(" ")},getSpan:(u,d,c,f)=>{let p=1,v=1;const h=t?.props.spanMethod;if(Rn(h)){const g=h({row:u,column:d,rowIndex:c,columnIndex:f});Zt(g)?(p=g[0],v=g[1]):dr(g)&&(p=g.rowspan,v=g.colspan)}return{rowspan:p,colspan:v}},getColspanRealWidth:(u,d,c)=>{if(d<1)return u[c].realWidth;const f=u.map(({realWidth:p,width:v})=>p||v).slice(c,c+d);return Number(f.reduce((p,v)=>Number(p)+Number(v),-1))}}}const set=nt({name:"TableTdWrapper"}),uet=nt({...set,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(L(),G("td",{colspan:e.colspan,rowspan:e.rowspan},[ht(t.$slots,"default")],8,["colspan","rowspan"]))}});var cet=on(uet,[["__file","td-wrapper.vue"]]);function det(e){const t=dn(nd),n=Vt("table"),{handleDoubleClick:r,handleClick:o,handleContextMenu:i,handleMouseEnter:a,handleMouseLeave:s,handleCellMouseEnter:l,handleCellMouseLeave:u,tooltipContent:d,tooltipTrigger:c}=iet(e),{getRowStyle:f,getRowClass:p,getCellStyle:v,getCellClass:h,getSpan:g,getColspanRealWidth:y}=aet(e),m=ee(()=>{var E;return(E=e.store)==null?void 0:E.states.columns.value.findIndex(({type:D})=>D==="default")}),b=(E,D)=>{var _;const M=(_=t?.props)==null?void 0:_.rowKey;return M?Cs(E,M):D},w=(E,D,_,M=!1)=>{const{tooltipEffect:O,tooltipOptions:k,store:R}=e,{indent:N,columns:W}=R.states,B=p(E,D);let z=!0;return _&&(B.push(n.em("row",`level-${_.level}`)),z=!!_.display),jn("tr",{style:[z?null:{display:"none"},f(E,D)],class:B,key:b(E,D),onDblclick:q=>r(q,E),onClick:q=>o(q,E),onContextmenu:q=>i(q,E),onMouseenter:()=>a(D),onMouseleave:s},W.value.map((q,Y)=>{const{rowspan:U,colspan:F}=g(E,q,D,Y);if(!U||!F)return null;const H=Object.assign({},q);H.realWidth=y(W.value,F,Y);const re={store:R,_self:e.context||t,column:H,row:E,$index:D,cellIndex:Y,expanded:M};Y===m.value&&_&&(re.treeNode={indent:_.level&&_.level*N.value,level:_.level},Eo(_.expanded)&&(re.treeNode.expanded=_.expanded,"loading"in _&&(re.treeNode.loading=_.loading),"noLazyChildren"in _&&(re.treeNode.noLazyChildren=_.noLazyChildren)));const X=`${b(E,D)},${Y}`,te=H.columnKey||H.rawColumnKey||"",Z=q.showOverflowTooltip&&Pme({effect:O},k,q.showOverflowTooltip);return jn(cet,{style:v(D,Y,E,q),class:h(D,Y,E,q,F-1),key:`${te}${X}`,rowspan:U,colspan:F,onMouseenter:le=>l(le,E,Z),onMouseleave:u},{default:()=>A(Y,q,re)})}))},A=(E,D,_)=>D.renderCell(_);return{wrappedRowRender:(E,D)=>{const _=e.store,{isRowExpanded:M,assertRowKey:O}=_,{treeData:k,lazyTreeNodeMap:R,childrenColumnName:N,rowKey:W}=_.states,B=_.states.columns.value;if(B.some(({type:j})=>j==="expand")){const j=M(E),q=w(E,D,void 0,j),Y=t?.renderExpanded;if(!Y)return console.error("[Element Error]renderExpanded is required."),q;const U=[[q]];return(t.props.preserveExpandedContent||j)&&U[0].push(jn("tr",{key:`expanded-row__${q.key}`,style:{display:j?"":"none"}},[jn("td",{colspan:B.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[Y({row:E,$index:D,store:_,expanded:j})])])),U}else if(Object.keys(k.value).length){O();const j=Cs(E,W.value);let q=k.value[j],Y=null;q&&(Y={expanded:q.expanded,level:q.level,display:!0,noLazyChildren:void 0,loading:void 0},Eo(q.lazy)&&(Y&&Eo(q.loaded)&&q.loaded&&(Y.noLazyChildren=!(q.children&&q.children.length)),Y.loading=q.loading));const U=[w(E,D,Y??void 0)];if(q){let F=0;const H=(X,te)=>{X&&X.length&&te&&X.forEach(Z=>{const le={display:te.display&&te.expanded,level:te.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ve=Cs(Z,W.value);if(Bl(ve))throw new Error("For nested data item, row-key is required.");if(q={...k.value[ve]},q&&(le.expanded=q.expanded,q.level=q.level||le.level,q.display=!!(q.expanded&&le.display),Eo(q.lazy)&&(Eo(q.loaded)&&q.loaded&&(le.noLazyChildren=!(q.children&&q.children.length)),le.loading=q.loading)),F++,U.push(w(Z,D+F,le)),q){const Pe=R.value[ve]||Z[N.value];H(Pe,q)}})};q.display=!0;const re=R.value[j]||E[N.value];H(re,q)}return U}else return w(E,D,void 0)},tooltipContent:d,tooltipTrigger:c}}const fet={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var pet=nt({name:"ElTableBody",props:fet,setup(e){var t;const n=br(),r=dn(nd),o=Vt("table"),{wrappedRowRender:i,tooltipContent:a,tooltipTrigger:s}=det(e),{onColumnsChange:l,onScrollableChange:u}=TW(r),d=[];return St((t=e.store)==null?void 0:t.states.hoverRow,(c,f)=>{var p,v;const h=n?.vnode.el,g=Array.from(h?.children||[]).filter(b=>b?.classList.contains(`${o.e("row")}`));let y=c;const m=(p=g[y])==null?void 0:p.childNodes;if(m?.length){let b=0;Array.from(m).reduce((A,S,E)=>{var D,_;return((D=m[E])==null?void 0:D.colSpan)>1&&(b=(_=m[E])==null?void 0:_.colSpan),S.nodeName!=="TD"&&b===0&&A.push(E),b>0&&b--,A},[]).forEach(A=>{var S;for(y=c;y>0;){const E=(S=g[y-1])==null?void 0:S.childNodes;if(E[A]&&E[A].nodeName==="TD"&&E[A].rowSpan>1){zu(E[A],"hover-cell"),d.push(E[A]);break}y--}})}else d.forEach(b=>Ws(b,"hover-cell")),d.length=0;!((v=e.store)!=null&&v.states.isComplex.value)||!Xr||s0(()=>{const b=g[f],w=g[c];b&&!b.classList.contains("hover-fixed-row")&&Ws(b,"hover-row"),w&&zu(w,"hover-row")})}),yl(()=>{var c;(c=Ns)==null||c()}),{ns:o,onColumnsChange:l,onScrollableChange:u,wrappedRowRender:i,tooltipContent:a,tooltipTrigger:s}},render(){const{wrappedRowRender:e,store:t}=this,n=t?.states.data.value||[];return jn("tbody",{tabIndex:-1},[n.reduce((r,o)=>r.concat(e(o,r.length)),[])])}});function het(){const e=dn(nd),t=e?.store,n=ee(()=>{var s;return(s=t?.states.fixedLeafColumnsLength.value)!=null?s:0}),r=ee(()=>{var s;return(s=t?.states.rightFixedColumns.value.length)!=null?s:0}),o=ee(()=>{var s;return(s=t?.states.columns.value.length)!=null?s:0}),i=ee(()=>{var s;return(s=t?.states.fixedColumns.value.length)!=null?s:0}),a=ee(()=>{var s;return(s=t?.states.rightFixedColumns.value.length)!=null?s:0});return{leftFixedLeafCount:n,rightFixedLeafCount:r,columnsCount:o,leftFixedCount:i,rightFixedCount:a,columns:ee(()=>{var s;return(s=t?.states.columns.value)!=null?s:[]})}}function get(e){const{columns:t}=het(),n=Vt("table");return{getCellClasses:(i,a)=>{const s=i[a],l=[n.e("cell"),s.id,s.align,s.labelClassName,...SW(n.b(),a,s.fixed,e.store)];return s.className&&l.push(s.className),s.children||l.push(n.is("leaf")),l},getCellStyles:(i,a)=>{const s=EW(a,i.fixed,e.store);return Hy(s,"left"),Hy(s,"right"),s},columns:t}}var vet=nt({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const t=dn(nd),n=Vt("table"),{getCellClasses:r,getCellStyles:o,columns:i}=get(e),{onScrollableChange:a,onColumnsChange:s}=TW(t);return{ns:n,onScrollableChange:a,onColumnsChange:s,getCellClasses:r,getCellStyles:o,columns:i}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:o}=this,i=this.store.states.data.value;let a=[];return r?a=r({columns:e,data:i}):e.forEach((s,l)=>{if(l===0){a[l]=o;return}const u=i.map(p=>Number(p[s.property])),d=[];let c=!0;u.forEach(p=>{if(!Number.isNaN(+p)){c=!1;const v=`${p}`.split(".")[1];d.push(v?v.length:0)}});const f=Math.max.apply(null,d);c?a[l]="":a[l]=u.reduce((p,v)=>{const h=Number(v);return Number.isNaN(+h)?p:Number.parseFloat((p+v).toFixed(Math.min(f,20)))},0)}),jn(jn("tfoot",[jn("tr",{},[...e.map((s,l)=>jn("td",{key:l,colspan:s.colSpan,rowspan:s.rowSpan,class:n(e,l),style:t(s,l)},[jn("div",{class:["cell",s.labelClassName]},[a[l]])]))])]))}});function met(e){return{setCurrentRow:c=>{e.commit("setCurrentRow",c)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(c,f,p=!0)=>{e.toggleRowSelection(c,f,!1,p),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:c=>{e.clearFilter(c)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(c,f)=>{e.toggleRowExpansionAdapter(c,f)},clearSort:()=>{e.clearSort()},sort:(c,f)=>{e.commit("sort",{prop:c,order:f})},updateKeyChildren:(c,f)=>{e.updateKeyChildren(c,f)}}}function yet(e,t,n,r){const o=K(!1),i=K(null),a=K(!1),s=z=>{a.value=z},l=K({width:null,height:null,headerHeight:null}),u=K(!1),d={display:"inline-block",verticalAlign:"middle"},c=K(),f=K(0),p=K(0),v=K(0),h=K(0),g=K(0);Es(()=>{var z;t.setHeight((z=e.height)!=null?z:null)}),Es(()=>{var z;t.setMaxHeight((z=e.maxHeight)!=null?z:null)}),St(()=>[e.currentRowKey,n.states.rowKey],([z,j])=>{!C(j)||!C(z)||n.setCurrentRowKey(`${z}`)},{immediate:!0}),St(()=>e.data,z=>{r.store.commit("setData",z)},{immediate:!0,deep:!0}),Es(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const y=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},m=(z,j)=>{const{pixelX:q,pixelY:Y}=j;Math.abs(q)>=Math.abs(Y)&&(r.refs.bodyWrapper.scrollLeft+=j.pixelX/5)},b=ee(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),w=ee(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),A=()=>{b.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(_)};qn(async()=>{await Yt(),n.updateColumns(),M(),requestAnimationFrame(A);const z=r.vnode.el,j=r.refs.headerWrapper;e.flexible&&z&&z.parentElement&&(z.parentElement.style.minWidth="0"),l.value={width:c.value=z.offsetWidth,height:z.offsetHeight,headerHeight:e.showHeader&&j?j.offsetHeight:null},n.states.columns.value.forEach(q=>{q.filteredValue&&q.filteredValue.length&&r.store.commit("filterChange",{column:q,values:q.filteredValue,silent:!0})}),r.$ready=!0});const S=(z,j)=>{if(!z)return;const q=Array.from(z.classList).filter(Y=>!Y.startsWith("is-scrolling-"));q.push(t.scrollX.value?j:"is-scrolling-none"),z.className=q.join(" ")},E=z=>{const{tableWrapper:j}=r.refs;S(j,z)},D=z=>{const{tableWrapper:j}=r.refs;return!!(j&&j.classList.contains(z))},_=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const re="is-scrolling-none";D(re)||E(re);return}const z=r.refs.scrollBarRef.wrapRef;if(!z)return;const{scrollLeft:j,offsetWidth:q,scrollWidth:Y}=z,{headerWrapper:U,footerWrapper:F}=r.refs;U&&(U.scrollLeft=j),F&&(F.scrollLeft=j);const H=Y-q-1;j>=H?E("is-scrolling-right"):E(j===0?"is-scrolling-left":"is-scrolling-middle")},M=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&Ro(r.refs.scrollBarRef.wrapRef,"scroll",_,{passive:!0}),e.fit?li(r.vnode.el,O):Ro(window,"resize",O),li(r.refs.bodyWrapper,()=>{var z,j;O(),(j=(z=r.refs)==null?void 0:z.scrollBarRef)==null||j.update()}))},O=()=>{var z,j,q,Y;const U=r.vnode.el;if(!r.$ready||!U)return;let F=!1;const{width:H,height:re,headerHeight:X}=l.value,te=c.value=U.offsetWidth;H!==te&&(F=!0);const Z=U.offsetHeight;(e.height||b.value)&&re!==Z&&(F=!0);const le=e.tableLayout==="fixed"?r.refs.headerWrapper:(z=r.refs.tableHeaderRef)==null?void 0:z.$el;e.showHeader&&le?.offsetHeight!==X&&(F=!0),f.value=((j=r.refs.tableWrapper)==null?void 0:j.scrollHeight)||0,v.value=le?.scrollHeight||0,h.value=((q=r.refs.footerWrapper)==null?void 0:q.offsetHeight)||0,g.value=((Y=r.refs.appendWrapper)==null?void 0:Y.offsetHeight)||0,p.value=f.value-v.value-h.value-g.value,F&&(l.value={width:te,height:Z,headerHeight:e.showHeader&&le?.offsetHeight||0},A())},k=ha(),R=ee(()=>{const{bodyWidth:z,scrollY:j,gutterWidth:q}=t;return z.value?`${z.value-(j.value?q:0)}px`:""}),N=ee(()=>e.maxHeight?"fixed":e.tableLayout),W=ee(()=>{if(e.data&&e.data.length)return;let z="100%";e.height&&p.value&&(z=`${p.value}px`);const j=c.value;return{width:j?`${j}px`:"",height:z}}),B=ee(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+h.value}px)`}:{maxHeight:`${+e.maxHeight-v.value-h.value}px`}:{});return{isHidden:o,renderExpanded:i,setDragVisible:s,isGroup:u,handleMouseLeave:y,handleHeaderFooterMousewheel:m,tableSize:k,emptyBlockStyle:W,resizeProxyVisible:a,bodyWidth:R,resizeState:l,doLayout:A,tableBodyStyles:w,tableLayout:N,scrollbarViewStyle:d,scrollbarStyle:B}}function bet(e){const t=K(),n=()=>{const o=e.vnode.el.querySelector(".hidden-columns"),i={childList:!0,subtree:!0},a=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{a.forEach(s=>s())}),t.value.observe(o,i)};qn(()=>{n()}),yl(()=>{var r;(r=t.value)==null||r.disconnect()})}var wet={data:{type:Array,default:()=>[]},size:Aa,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function $be(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(({width:o})=>Vr(o))&&(n=[]);const r=o=>{const i={key:`${e.tableLayout}_${o.id}`,style:{},name:void 0};return t?i.style={width:`${o.width}px`}:i.name=o.id,i};return jn("colgroup",{},n.map(o=>jn("col",r(o))))}$be.props=["columns","tableLayout"];const Aet=()=>{const e=K(),t=(i,a)=>{const s=e.value;s&&s.scrollTo(i,a)},n=(i,a)=>{const s=e.value;s&&$n(a)&&["Top","Left"].includes(i)&&s[`setScroll${i}`](a)};return{scrollBarRef:e,scrollTo:t,setScrollTop:i=>n("Top",i),setScrollLeft:i=>n("Left",i)}};var Cee=!1,Ig,QL,ZL,US,zS,jbe,$S,XL,JL,eF,Hbe,tF,nF,Wbe,Vbe;function El(){if(!Cee){Cee=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(tF=/\b(iPhone|iP[ao]d)/.exec(e),nF=/\b(iP[ao]d)/.exec(e),eF=/Android/i.exec(e),Wbe=/FBAN\/\w+;/i.exec(e),Vbe=/Mobile/i.exec(e),Hbe=!!/Win64/.exec(e),t){Ig=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Ig&&document&&document.documentMode&&(Ig=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);jbe=r?parseFloat(r[1])+4:Ig,QL=t[2]?parseFloat(t[2]):NaN,ZL=t[3]?parseFloat(t[3]):NaN,US=t[4]?parseFloat(t[4]):NaN,US?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),zS=t&&t[1]?parseFloat(t[1]):NaN):zS=NaN}else Ig=QL=ZL=zS=US=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);$S=o?parseFloat(o[1].replace("_",".")):!0}else $S=!1;XL=!!n[2],JL=!!n[3]}else $S=XL=JL=!1}}var rF={ie:function(){return El()||Ig},ieCompatibilityMode:function(){return El()||jbe>Ig},ie64:function(){return rF.ie()&&Hbe},firefox:function(){return El()||QL},opera:function(){return El()||ZL},webkit:function(){return El()||US},safari:function(){return rF.webkit()},chrome:function(){return El()||zS},windows:function(){return El()||XL},osx:function(){return El()||$S},linux:function(){return El()||JL},iphone:function(){return El()||tF},mobile:function(){return El()||tF||nF||eF||Vbe},nativeApp:function(){return El()||Wbe},android:function(){return El()||eF},ipad:function(){return El()||nF}},Cet=rF,xet=!!(typeof window<"u"&&window.document&&window.document.createElement),Eet={canUseDOM:xet},qbe=Eet,Gbe;qbe.canUseDOM&&(Gbe=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function ket(e,t){if(!qbe.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r=typeof o[n]=="function"}return!r&&Gbe&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Tet=ket,xee=10,See=40,Eee=800;function Kbe(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*xee,o=n*xee,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(e.deltaMode==1?(r*=See,o*=See):(r*=Eee,o*=Eee)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}Kbe.getEventType=function(){return Cet.firefox()?"DOMMouseScroll":Tet("wheel")?"wheel":"mousewheel"};var _et=Kbe;/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, * `reset`, `load`, `error`, and `select`. * * Borrows from Modernizr. * * @param {string} eventNameSuffix Event name, e.g. "click". * @param {?boolean} capture Check if the capture phase is supported. * @return {boolean} True if the event is supported. * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */const Det=function(e,t){if(e&&e.addEventListener){const n=function(r){const o=_et(r);t&&Reflect.apply(t,this,[r,o])};e.addEventListener("wheel",n,{passive:!0})}},Iet={beforeMount(e,t){Det(e,t.value)}};let Oet=1;const Met=nt({name:"ElTable",directives:{Mousewheel:Iet},components:{TableHeader:oet,TableBody:pet,TableFooter:vet,ElScrollbar:Hc,hColgroup:$be},props:wet,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(e){const{t}=Gr(),n=Vt("table"),r=br();_r(nd,r);const o=KJe(r,e);r.store=o;const i=new QJe({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=i;const a=ee(()=>(o.states.data.value||[]).length===0),{setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:d,clearFilter:c,toggleAllSelection:f,toggleRowExpansion:p,clearSort:v,sort:h,updateKeyChildren:g}=met(o),{isHidden:y,renderExpanded:m,setDragVisible:b,isGroup:w,handleMouseLeave:A,handleHeaderFooterMousewheel:S,tableSize:E,emptyBlockStyle:D,resizeProxyVisible:_,bodyWidth:M,resizeState:O,doLayout:k,tableBodyStyles:R,tableLayout:N,scrollbarViewStyle:W,scrollbarStyle:B}=yet(e,i,o,r),{scrollBarRef:z,scrollTo:j,setScrollLeft:q,setScrollTop:Y}=Aet(),U=Wl(k,50),F=`${n.namespace.value}-table_${Oet++}`;r.tableId=F,r.state={isGroup:w,resizeState:O,doLayout:k,debouncedUpdateLayout:U};const H=ee(()=>{var te;return(te=e.sumText)!=null?te:t("el.table.sumText")}),re=ee(()=>{var te;return(te=e.emptyText)!=null?te:t("el.table.emptyText")}),X=ee(()=>zbe(o.states.originColumns.value)[0]);return bet(r),Jr(()=>{U.cancel()}),{ns:n,layout:i,store:o,columns:X,handleHeaderFooterMousewheel:S,handleMouseLeave:A,tableId:F,tableSize:E,isHidden:y,isEmpty:a,renderExpanded:m,resizeProxyVisible:_,resizeState:O,isGroup:w,bodyWidth:M,tableBodyStyles:R,emptyBlockStyle:D,debouncedUpdateLayout:U,setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:d,clearFilter:c,toggleAllSelection:f,toggleRowExpansion:p,clearSort:v,doLayout:k,sort:h,updateKeyChildren:g,t,setDragVisible:b,context:r,computedSumText:H,computedEmptyText:re,tableLayout:N,scrollbarViewStyle:W,scrollbarStyle:B,scrollBarRef:z,scrollTo:j,setScrollLeft:q,setScrollTop:Y,allowDragLastColumn:e.allowDragLastColumn}}});function Pet(e,t,n,r,o,i){const a=hr("hColgroup"),s=hr("table-header"),l=hr("table-body"),u=hr("table-footer"),d=hr("el-scrollbar"),c=L_("mousewheel");return L(),G("div",{ref:"tableWrapper",class:oe([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:rn(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:e.handleMouseLeave},[x("div",{class:oe(e.ns.e("inner-wrapper"))},[x("div",{ref:"hiddenColumns",class:"hidden-columns"},[ht(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?cn((L(),G("div",{key:0,ref:"headerWrapper",class:oe(e.ns.e("header-wrapper"))},[x("table",{ref:"tableHeader",class:oe(e.ns.e("header")),style:rn(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[He(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),He(s,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,"allow-drag-last-column":e.allowDragLastColumn,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[c,e.handleHeaderFooterMousewheel]]):xe("v-if",!0),x("div",{ref:"bodyWrapper",class:oe(e.ns.e("body-wrapper"))},[He(d,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn,tabindex:e.scrollbarTabindex,native:e.nativeScrollbar,onScroll:f=>e.$emit("scroll",f)},{default:rt(()=>[x("table",{ref:"tableBody",class:oe(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:rn({width:e.bodyWidth,tableLayout:e.tableLayout})},[He(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(L(),yt(s,{key:0,ref:"tableHeaderRef",class:oe(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,"append-filter-panel-to":e.appendFilterPanelTo,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):xe("v-if",!0),He(l,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(L(),yt(u,{key:1,class:oe(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):xe("v-if",!0)],6),e.isEmpty?(L(),G("div",{key:0,ref:"emptyBlock",style:rn(e.emptyBlockStyle),class:oe(e.ns.e("empty-block"))},[x("span",{class:oe(e.ns.e("empty-text"))},[ht(e.$slots,"empty",{},()=>[bn(je(e.computedEmptyText),1)])],2)],6)):xe("v-if",!0),e.$slots.append?(L(),G("div",{key:1,ref:"appendWrapper",class:oe(e.ns.e("append-wrapper"))},[ht(e.$slots,"append")],2)):xe("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native","onScroll"])],2),e.showSummary&&e.tableLayout==="fixed"?cn((L(),G("div",{key:1,ref:"footerWrapper",class:oe(e.ns.e("footer-wrapper"))},[x("table",{class:oe(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:rn(e.tableBodyStyles)},[He(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),He(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[kr,!e.isEmpty],[c,e.handleHeaderFooterMousewheel]]):xe("v-if",!0),e.border||e.isGroup?(L(),G("div",{key:2,class:oe(e.ns.e("border-left-patch"))},null,2)):xe("v-if",!0)],2),cn(x("div",{ref:"resizeProxy",class:oe(e.ns.e("column-resize-proxy"))},null,2),[[kr,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}var Net=on(Met,[["render",Pet],["__file","table.vue"]]);const Ret={selection:"table-column--selection",expand:"table__expand-column"},Bet={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Let=e=>Ret[e]||"",Fet={selection:{renderHeader({store:e,column:t}){var n;function r(){return e.states.data.value&&e.states.data.value.length===0}return jn(tc,{disabled:r(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":(n=e.toggleAllSelection)!=null?n:void 0,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:r}){return jn(tc,{disabled:t.selectable?!t.selectable.call(null,e,r):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:o=>o.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return $n(r)?n=t+r:Rn(r)&&(n=r(t)),jn("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({column:e,row:t,store:n,expanded:r}){const{ns:o}=n,i=[o.e("expand-icon")];return!e.renderExpand&&r&&i.push(o.em("expand-icon","expanded")),jn("div",{class:i,onClick:function(s){s.stopPropagation(),n.toggleRowExpansion(t)}},{default:()=>e.renderExpand?[e.renderExpand({expanded:r})]:[jn(Dn,null,{default:()=>[jn(Da)]})]})},sortable:!1,resizable:!1}};function Uet({row:e,column:t,$index:n}){var r;const o=t.property,i=o&&t3(e,o).value;return t&&t.formatter?t.formatter(e,t,i,n):((r=i?.toString)==null?void 0:r.call(i))||""}function zet({row:e,treeNode:t,store:n},r=!1){const{ns:o}=n;if(!t)return r?[jn("span",{class:o.e("placeholder")})]:null;const i=[],a=function(s){s.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&i.push(jn("span",{class:o.e("indent"),style:{"padding-left":`${t.indent}px`}})),Eo(t.expanded)&&!t.noLazyChildren){const s=[o.e("expand-icon"),t.expanded?o.em("expand-icon","expanded"):""];let l=Da;t.loading&&(l=jc),i.push(jn("div",{class:s,onClick:a},{default:()=>[jn(Dn,{class:{[o.is("loading")]:t.loading}},{default:()=>[jn(l)]})]}))}else i.push(jn("span",{class:o.e("placeholder")}));return i}function kee(e,t){return e.reduce((n,r)=>(n[r]=r,n),t)}function $et(e,t){const n=br();return{registerComplexWatchers:()=>{const i=["fixed"],a={realWidth:"width",realMinWidth:"minWidth"},s=kee(i,a);Object.keys(s).forEach(l=>{const u=a[l];no(t,u)&&St(()=>t[u],d=>{let c=d;u==="width"&&l==="realWidth"&&(c=xW(d)),u==="minWidth"&&l==="realMinWidth"&&(c=Nbe(d)),n.columnConfig.value[u]=c,n.columnConfig.value[l]=c;const f=u==="fixed";e.value.store.scheduleLayout(f)})})},registerNormalWatchers:()=>{const i=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter"],a=["showOverflowTooltip"],s={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=kee(i,s);Object.keys(l).forEach(u=>{const d=s[u];no(t,d)&&St(()=>t[d],c=>{n.columnConfig.value[u]=c})}),a.forEach(u=>{no(e.value.props,u)&&St(()=>e.value.props[u],d=>{n.columnConfig.value[u]=d})})}}}function jet(e,t,n){const r=br(),o=K(""),i=K(!1),a=K(),s=K(),l=Vt("table");Es(()=>{a.value=e.align?`is-${e.align}`:null,a.value}),Es(()=>{s.value=e.headerAlign?`is-${e.headerAlign}`:a.value,s.value});const u=ee(()=>{let w=r.vnode.vParent||r.parent;for(;w&&!w.tableId&&!w.columnId;)w=w.vnode.vParent||w.parent;return w}),d=ee(()=>{const{store:w}=r.parent;if(!w)return!1;const{treeData:A}=w.states,S=A.value;return S&&Object.keys(S).length>0}),c=K(xW(e.width)),f=K(Nbe(e.minWidth)),p=w=>(c.value&&(w.width=c.value),f.value&&(w.minWidth=f.value),!c.value&&f.value&&(w.width=void 0),w.minWidth||(w.minWidth=80),w.realWidth=Number(Vr(w.width)?w.minWidth:w.width),w),v=w=>{const A=w.type,S=Fet[A]||{};Object.keys(S).forEach(D=>{const _=S[D];D!=="className"&&!Vr(_)&&(w[D]=_)});const E=Let(A);if(E){const D=`${C(l.namespace)}-${E}`;w.className=w.className?`${w.className} ${D}`:D}return w},h=w=>{Zt(w)?w.forEach(S=>A(S)):A(w);function A(S){var E;((E=S?.type)==null?void 0:E.name)==="ElTableColumn"&&(S.vParent=r)}};return{columnId:o,realAlign:a,isSubColumn:i,realHeaderAlign:s,columnOrTableParent:u,setColumnWidth:p,setColumnForcedProps:v,setColumnRenders:w=>{e.renderHeader||w.type!=="selection"&&(w.renderHeader=S=>(r.columnConfig.value.label,ht(t,"header",S,()=>[w.label]))),t["filter-icon"]&&(w.renderFilterIcon=S=>ht(t,"filter-icon",S)),t.expand&&(w.renderExpand=S=>ht(t,"expand",S));let A=w.renderCell;return w.type==="expand"?(w.renderCell=S=>jn("div",{class:"cell"},[A(S)]),n.value.renderExpanded=S=>t.default?t.default(S):t.default):(A=A||Uet,w.renderCell=S=>{let E=null;if(t.default){const R=t.default(S);E=R.some(N=>N.type!==da)?R:A(S)}else E=A(S);const{columns:D}=n.value.store.states,_=D.value.findIndex(R=>R.type==="default"),M=d.value&&S.cellIndex===_,O=zet(S,M),k={class:"cell",style:{}};return w.showOverflowTooltip&&(k.class=`${k.class} ${C(l.namespace)}-tooltip`,k.style={width:`${(S.column.realWidth||Number(S.column.width))-1}px`}),h(E),jn("div",k,[O,E])}),w},getPropsData:(...w)=>w.reduce((A,S)=>(Zt(S)&&S.forEach(E=>{A[E]=e[E]}),A),{}),getColumnElIndex:(w,A)=>Array.prototype.indexOf.call(w,A),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}var Het={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let Wet=1;var Ybe=nt({name:"ElTableColumn",components:{ElCheckbox:tc},props:Het,setup(e,{slots:t}){const n=br(),r=K({}),o=ee(()=>{let b=n.parent;for(;b&&!b.tableId;)b=b.parent;return b}),{registerNormalWatchers:i,registerComplexWatchers:a}=$et(o,e),{columnId:s,isSubColumn:l,realHeaderAlign:u,columnOrTableParent:d,setColumnWidth:c,setColumnForcedProps:f,setColumnRenders:p,getPropsData:v,getColumnElIndex:h,realAlign:g,updateColumnOrder:y}=jet(e,t,o),m=d.value;s.value=`${"tableId"in m&&m.tableId||"columnId"in m&&m.columnId}_column_${Wet++}`,B_(()=>{l.value=o.value!==m;const b=e.type||"default",w=e.sortable===""?!0:e.sortable,A=b==="selection"?!1:Vr(e.showOverflowTooltip)?m.props.showOverflowTooltip:e.showOverflowTooltip,S=Vr(e.tooltipFormatter)?m.props.tooltipFormatter:e.tooltipFormatter,E={...Bet[b],id:s.value,type:b,property:e.prop||e.property,align:g,headerAlign:u,showOverflowTooltip:A,tooltipFormatter:S,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:w,index:e.index,rawColumnKey:n.vnode.key};let k=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);k=BJe(E,k),k=FJe(p,c,f)(k),r.value=k,i(),a()}),qn(()=>{var b,w;const A=d.value,S=l.value?(b=A.vnode.el)==null?void 0:b.children:(w=A.refs.hiddenColumns)==null?void 0:w.children,E=()=>h(S||[],n.vnode.el);r.value.getColumnIndex=E,E()>-1&&o.value.store.commit("insertColumn",r.value,l.value?"columnConfig"in A&&A.columnConfig.value:null,y)}),Jr(()=>{const b=r.value.getColumnIndex;(b?b():-1)>-1&&o.value.store.commit("removeColumn",r.value,l.value?"columnConfig"in m&&m.columnConfig.value:null,y)}),n.columnId=s.value,n.columnConfig=r},render(){var e,t,n;try{const r=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),o=[];if(Zt(r))for(const a of r)((n=a.type)==null?void 0:n.name)==="ElTableColumn"||a.shapeFlag&2?o.push(a):a.type===Rt&&Zt(a.children)&&a.children.forEach(s=>{s?.patchFlag!==1024&&!In(s?.children)&&o.push(s)});return jn("div",o)}catch{return jn("div",[])}}});const Vet=or(Net,{TableColumn:Ybe}),qet=vi(Ybe);var uA=(e=>(e.ASC="asc",e.DESC="desc",e))(uA||{}),cA=(e=>(e.CENTER="center",e.RIGHT="right",e))(cA||{}),Qbe=(e=>(e.LEFT="left",e.RIGHT="right",e))(Qbe||{});const oF={asc:"desc",desc:"asc"},dA=Symbol("placeholder"),Get=(e,t,n)=>{var r;const o={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};n||(o.flexShrink=1);const i={...(r=e.style)!=null?r:{},...o,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i};function Ket(e,t,n){const r=ee(()=>C(t).map((g,y)=>{var m,b;return{...g,key:(b=(m=g.key)!=null?m:g.dataKey)!=null?b:y}})),o=ee(()=>C(r).filter(g=>!g.hidden)),i=ee(()=>C(o).filter(g=>g.fixed==="left"||g.fixed===!0)),a=ee(()=>C(o).filter(g=>g.fixed==="right")),s=ee(()=>C(o).filter(g=>!g.fixed)),l=ee(()=>{const g=[];return C(i).forEach(y=>{g.push({...y,placeholderSign:dA})}),C(s).forEach(y=>{g.push(y)}),C(a).forEach(y=>{g.push({...y,placeholderSign:dA})}),g}),u=ee(()=>C(i).length||C(a).length),d=ee(()=>C(r).reduce((g,y)=>(g[y.key]=Get(y,C(n),e.fixed),g),{})),c=ee(()=>C(o).reduce((g,y)=>g+y.width,0)),f=g=>C(r).find(y=>y.key===g),p=g=>C(d)[g],v=(g,y)=>{g.width=y};function h(g){var y;const{key:m}=g.currentTarget.dataset;if(!m)return;const{sortState:b,sortBy:w}=e;let A=uA.ASC;dr(b)?A=oF[b[m]]:A=oF[w.order],(y=e.onColumnSort)==null||y.call(e,{column:f(m),key:m,order:A})}return{columns:r,columnsStyles:d,columnsTotalWidth:c,fixedColumnsOnLeft:i,fixedColumnsOnRight:a,hasFixedColumns:u,mainColumns:l,normalColumns:s,visibleColumns:o,getColumn:f,getColumnStyle:p,updateColumnWidth:v,onColumnSorted:h}}const Yet=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:o})=>{const i=K({scrollLeft:0,scrollTop:0});function a(p){var v,h,g;const{scrollTop:y}=p;(v=t.value)==null||v.scrollTo(p),(h=n.value)==null||h.scrollToTop(y),(g=r.value)==null||g.scrollToTop(y)}function s(p){i.value=p,a(p)}function l(p){i.value.scrollTop=p,a(C(i))}function u(p){var v,h;i.value.scrollLeft=p,(h=(v=t.value)==null?void 0:v.scrollTo)==null||h.call(v,C(i))}function d(p){var v;s(p),(v=e.onScroll)==null||v.call(e,p)}function c({scrollTop:p}){const{scrollTop:v}=C(i);p!==v&&l(p)}function f(p,v="auto"){var h;(h=t.value)==null||h.scrollToRow(p,v)}return St(()=>C(i).scrollTop,(p,v)=>{p>v&&o()}),{scrollPos:i,scrollTo:s,scrollToLeft:u,scrollToTop:l,scrollToRow:f,onScroll:d,onVerticalScroll:c}},Qet=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:o,ns:i,isScrolling:a})=>{const s=br(),{emit:l}=s,u=jo(!1),d=K(e.defaultExpandedRowKeys||[]),c=K(-1),f=jo(null),p=K({}),v=K({}),h=jo({}),g=jo({}),y=jo({}),m=ee(()=>$n(e.estimatedRowHeight));function b(M){var O;(O=e.onRowsRendered)==null||O.call(e,M),M.rowCacheEnd>C(c)&&(c.value=M.rowCacheEnd)}function w({hovered:M,rowKey:O}){if(a.value)return;o.vnode.el.querySelectorAll(`[rowkey="${String(O)}"]`).forEach(N=>{M?N.classList.add(i.is("hovered")):N.classList.remove(i.is("hovered"))})}function A({expanded:M,rowData:O,rowIndex:k,rowKey:R}){var N,W;const B=[...C(d)],z=B.indexOf(R);M?z===-1&&B.push(R):z>-1&&B.splice(z,1),d.value=B,l("update:expandedRowKeys",B),(N=e.onRowExpand)==null||N.call(e,{expanded:M,rowData:O,rowIndex:k,rowKey:R}),(W=e.onExpandedRowsChange)==null||W.call(e,B),o.vnode.el.querySelector(`.${i.is("hovered")}[rowkey="${String(R)}"]`)&&Yt(()=>w({hovered:!0,rowKey:R}))}const S=Wl(()=>{var M,O,k,R;u.value=!0,p.value={...C(p),...C(v)},E(C(f),!1),v.value={},f.value=null,(M=t.value)==null||M.forceUpdate(),(O=n.value)==null||O.forceUpdate(),(k=r.value)==null||k.forceUpdate(),(R=s.proxy)==null||R.$forceUpdate(),u.value=!1},0);function E(M,O=!1){C(m)&&[t,n,r].forEach(k=>{const R=C(k);R&&R.resetAfterRowIndex(M,O)})}function D(M,O,k){const R=C(f);(R===null||R>k)&&(f.value=k),v.value[M]=O}function _({rowKey:M,height:O,rowIndex:k},R){R?R===Qbe.RIGHT?y.value[M]=O:h.value[M]=O:g.value[M]=O;const N=Math.max(...[h,y,g].map(W=>W.value[M]||0));C(p)[M]!==N&&(D(M,N,k),S())}return{expandedRowKeys:d,lastRenderedRowIndex:c,isDynamic:m,isResetting:u,rowHeights:p,resetAfterIndex:E,onRowExpanded:A,onRowHovered:w,onRowsRendered:b,onRowHeightChange:_}},Zet=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const o=K({}),i=ee(()=>{const s={},{data:l,rowKey:u}=e,d=C(t);if(!d||!d.length)return l;const c=[],f=new Set;d.forEach(v=>f.add(v));let p=l.slice();for(p.forEach(v=>s[v[u]]=0);p.length>0;){const v=p.shift();c.push(v),f.has(v[u])&&Zt(v.children)&&v.children.length>0&&(p=[...v.children,...p],v.children.forEach(h=>s[h[u]]=s[v[u]]+1))}return o.value=s,c}),a=ee(()=>{const{data:s,expandColumnKey:l}=e;return l?C(i):s});return St(a,(s,l)=>{s!==l&&(n.value=-1,r(0,!0))}),{data:a,depthMap:o}},Xet=(e,t)=>e+t,jS=e=>Zt(e)?e.reduce(Xet,0):e,Rv=(e,t,n={})=>Rn(e)?e(t):e??n,wh=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=_i(e[t])}),e),Zbe=e=>Vo(e)?t=>jn(e,t):e,Jet=(e,{columnsTotalWidth:t,rowsHeight:n,fixedColumnsOnLeft:r,fixedColumnsOnRight:o})=>{const i=ee(()=>{const{fixed:y,width:m,vScrollbarSize:b}=e,w=m-b;return y?Math.max(Math.round(C(t)),w):w}),a=ee(()=>{const{height:y=0,maxHeight:m=0,footerHeight:b,hScrollbarSize:w}=e;if(m>0){const A=C(f),S=C(n),D=C(c)+A+S+w;return Math.min(D,m-b)}return y-b}),s=ee(()=>{const{maxHeight:y}=e,m=C(a);if($n(y)&&y>0)return m;const b=C(n)+C(c)+C(f);return Math.min(m,b)}),l=y=>y.width,u=ee(()=>jS(C(r).map(l))),d=ee(()=>jS(C(o).map(l))),c=ee(()=>jS(e.headerHeight)),f=ee(()=>{var y;return(((y=e.fixedData)==null?void 0:y.length)||0)*e.rowHeight}),p=ee(()=>C(a)-C(c)-C(f)),v=ee(()=>{const{style:y={},height:m,width:b}=e;return wh({...y,height:m,width:b})}),h=ee(()=>wh({height:e.footerHeight})),g=ee(()=>({top:_i(C(c)),bottom:_i(e.footerHeight),width:_i(e.width)}));return{bodyWidth:i,fixedTableHeight:s,mainTableHeight:a,leftTableWidth:u,rightTableWidth:d,windowHeight:p,footerHeight:h,emptyStyle:g,rootStyle:v,headerHeight:c}};function ett(e){const t=K(),n=K(),r=K(),{columns:o,columnsStyles:i,columnsTotalWidth:a,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,hasFixedColumns:u,mainColumns:d,onColumnSorted:c}=Ket(e,co(e,"columns"),co(e,"fixed")),{scrollTo:f,scrollToLeft:p,scrollToTop:v,scrollToRow:h,onScroll:g,onVerticalScroll:y,scrollPos:m}=Yet(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:Ee}),b=Vt("table-v2"),w=br(),A=jo(!1),{expandedRowKeys:S,lastRenderedRowIndex:E,isDynamic:D,isResetting:_,rowHeights:M,resetAfterIndex:O,onRowExpanded:k,onRowHeightChange:R,onRowHovered:N,onRowsRendered:W}=Qet(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:w,ns:b,isScrolling:A}),{data:B,depthMap:z}=Zet(e,{expandedRowKeys:S,lastRenderedRowIndex:E,resetAfterIndex:O}),j=ee(()=>{const{estimatedRowHeight:Q,rowHeight:me}=e,De=C(B);return $n(Q)?Object.values(C(M)).reduce((pe,ie)=>pe+ie,0):De.length*me}),{bodyWidth:q,fixedTableHeight:Y,mainTableHeight:U,leftTableWidth:F,rightTableWidth:H,windowHeight:re,footerHeight:X,emptyStyle:te,rootStyle:Z,headerHeight:le}=Jet(e,{columnsTotalWidth:a,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,rowsHeight:j}),ve=K(),Pe=ee(()=>{const Q=C(B).length===0;return Zt(e.fixedData)?e.fixedData.length===0&&Q:Q});function Ae(Q){const{estimatedRowHeight:me,rowHeight:De,rowKey:pe}=e;return me?C(M)[C(B)[Q][pe]]||me:De}const he=K(!1);function Ee(){const{onEndReached:Q}=e;if(!Q)return;const{scrollTop:me}=C(m),De=C(j),pe=C(re),ie=De-(me+pe)+e.hScrollbarSize;!he.value&&C(E)>=0&&De<=me+C(U)-C(le)?(he.value=!0,Q(ie)):he.value=!1}return St(()=>C(j),()=>he.value=!1),St(()=>e.expandedRowKeys,Q=>S.value=Q,{deep:!0}),{columns:o,containerRef:ve,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:D,isResetting:_,isScrolling:A,hasFixedColumns:u,columnsStyles:i,columnsTotalWidth:a,data:B,expandedRowKeys:S,depthMap:z,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,mainColumns:d,bodyWidth:q,emptyStyle:te,rootStyle:Z,footerHeight:X,mainTableHeight:U,fixedTableHeight:Y,leftTableWidth:F,rightTableWidth:H,showEmpty:Pe,getRowHeight:Ae,onColumnSorted:c,onRowHovered:N,onRowExpanded:k,onRowsRendered:W,onRowHeightChange:R,scrollTo:f,scrollToLeft:p,scrollToTop:v,scrollToRow:h,onScroll:g,onVerticalScroll:y}}const _W=Symbol("tableV2"),Xbe="tableV2GridScrollLeft",Jbe=String,W5={type:ct(Array),required:!0},DW={type:ct(Array)},e2e={...DW,required:!0},ttt=String,Tee={type:ct(Array),default:()=>fi([])},Og={type:Number,required:!0},t2e={type:ct([String,Number,Symbol]),default:"id"},_ee={type:ct(Object)},jg=Jt({class:String,columns:W5,columnsStyles:{type:ct(Object),required:!0},depth:Number,expandColumnKey:ttt,estimatedRowHeight:{...Jg.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:ct(Function)},onRowHover:{type:ct(Function)},onRowHeightChange:{type:ct(Function)},rowData:{type:ct(Object),required:!0},rowEventHandlers:{type:ct(Object)},rowIndex:{type:Number,required:!0},rowKey:t2e,style:{type:ct(Object)}}),II={type:Number,required:!0},IW=Jt({class:String,columns:W5,fixedHeaderData:{type:ct(Array)},headerData:{type:ct(Array),required:!0},headerHeight:{type:ct([Number,Array]),default:50},rowWidth:II,rowHeight:{type:Number,default:50},height:II,width:II}),HS=Jt({columns:W5,data:e2e,fixedData:DW,estimatedRowHeight:jg.estimatedRowHeight,width:Og,height:Og,headerWidth:Og,headerHeight:IW.headerHeight,bodyWidth:Og,rowHeight:Og,cache:wbe.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Jg.scrollbarAlwaysOn,scrollbarStartGap:Jg.scrollbarStartGap,scrollbarEndGap:Jg.scrollbarEndGap,class:Jbe,style:_ee,containerStyle:_ee,getRowHeight:{type:ct(Function),required:!0},rowKey:jg.rowKey,onRowsRendered:{type:ct(Function)},onScroll:{type:ct(Function)}}),ntt=Jt({cache:HS.cache,estimatedRowHeight:jg.estimatedRowHeight,rowKey:t2e,headerClass:{type:ct([String,Function])},headerProps:{type:ct([Object,Function])},headerCellProps:{type:ct([Object,Function])},headerHeight:IW.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:ct([String,Function])},rowProps:{type:ct([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:ct([Object,Function])},columns:W5,data:e2e,dataGetter:{type:ct(Function)},fixedData:DW,expandColumnKey:jg.expandColumnKey,expandedRowKeys:Tee,defaultExpandedRowKeys:Tee,class:Jbe,fixed:Boolean,style:{type:ct(Object)},width:Og,height:Og,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Jg.hScrollbarSize,vScrollbarSize:Jg.vScrollbarSize,scrollbarAlwaysOn:xbe.alwaysOn,sortBy:{type:ct(Object),default:()=>({})},sortState:{type:ct(Object),default:void 0},onColumnSort:{type:ct(Function)},onExpandedRowsChange:{type:ct(Function)},onEndReached:{type:ct(Function)},onRowExpand:jg.onRowExpand,onScroll:HS.onScroll,onRowsRendered:HS.onRowsRendered,rowEventHandlers:jg.rowEventHandlers}),rtt="ElTableV2Header",ott=nt({name:rtt,props:IW,setup(e,{slots:t,expose:n}){const r=Vt("table-v2"),o=dn(Xbe),i=K(),a=ee(()=>wh({width:e.width,height:e.height})),s=ee(()=>wh({width:e.rowWidth,height:e.height})),l=ee(()=>Ya(C(e.headerHeight))),u=f=>{const p=C(i);Yt(()=>{p?.scroll&&p.scroll({left:f})})},d=()=>{const f=r.e("fixed-header-row"),{columns:p,fixedHeaderData:v,rowHeight:h}=e;return v?.map((g,y)=>{var m;const b=wh({height:h,width:"100%"});return(m=t.fixed)==null?void 0:m.call(t,{class:f,columns:p,rowData:g,rowIndex:-(y+1),style:b})})},c=()=>{const f=r.e("dynamic-header-row"),{columns:p}=e;return C(l).map((v,h)=>{var g;const y=wh({width:"100%",height:v});return(g=t.dynamic)==null?void 0:g.call(t,{class:f,columns:p,headerIndex:h,style:y})})};return Qc(()=>{o?.value&&u(o.value)}),n({scrollToLeft:u}),()=>{if(!(e.height<=0))return He("div",{ref:i,class:e.class,style:C(a),role:"rowgroup"},[He("div",{style:C(s),class:r.e("header")},[c(),d()])])}}});var itt=ott;const att=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:r},o)=>{let i=null,a=0,s=0;const l=(d,c)=>{const f=d<=0&&t.value||d>=0&&e.value,p=c<=0&&r.value||c>=0&&n.value;return f&&p};return{hasReachedEdge:l,onWheel:d=>{Pv(i);let c=d.deltaX,f=d.deltaY;Math.abs(c)>Math.abs(f)?f=0:c=0,d.shiftKey&&f!==0&&(c=f,f=0),!(l(a,s)&&l(a+c,s+f))&&(a+=c,s+=f,d.preventDefault(),i=s0(()=>{o(a,s),a=0,s=0}))}}},n2e=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:o,getEstimatedTotalHeight:i,getEstimatedTotalWidth:a,getColumnOffset:s,getRowOffset:l,getRowPosition:u,getRowStartIndexForOffset:d,getRowStopIndexForStartIndex:c,initCache:f,injectToInstance:p,validateProps:v})=>nt({name:e??"ElVirtualList",props:Jg,emits:[IE,OE],setup(h,{emit:g,expose:y,slots:m}){const b=Vt("vl");v(h);const w=br(),A=K(f(h,w));p?.(w,A);const S=K(),E=K(),D=K(),_=K(null),M=K({isScrolling:!1,scrollLeft:$n(h.initScrollLeft)?h.initScrollLeft:0,scrollTop:$n(h.initScrollTop)?h.initScrollTop:0,updateRequested:!1,xAxisScrollDir:j1,yAxisScrollDir:j1}),O=mbe(),k=ee(()=>Number.parseInt(`${h.height}`,10)),R=ee(()=>Number.parseInt(`${h.width}`,10)),N=ee(()=>{const{totalColumn:pe,totalRow:ie,columnCache:ue}=h,{isScrolling:Be,xAxisScrollDir:Me,scrollLeft:Fe}=C(M);if(pe===0||ie===0)return[0,0,0,0];const ze=r(h,Fe,C(A)),Ne=o(h,ze,Fe,C(A)),Re=!Be||Me===ME?Math.max(1,ue):1,gt=!Be||Me===j1?Math.max(1,ue):1;return[Math.max(0,ze-Re),Math.max(0,Math.min(pe-1,Ne+gt)),ze,Ne]}),W=ee(()=>{const{totalColumn:pe,totalRow:ie,rowCache:ue}=h,{isScrolling:Be,yAxisScrollDir:Me,scrollTop:Fe}=C(M);if(pe===0||ie===0)return[0,0,0,0];const ze=d(h,Fe,C(A)),Ne=c(h,ze,Fe,C(A)),Re=!Be||Me===ME?Math.max(1,ue):1,gt=!Be||Me===j1?Math.max(1,ue):1;return[Math.max(0,ze-Re),Math.max(0,Math.min(ie-1,Ne+gt)),ze,Ne]}),B=ee(()=>i(h,C(A))),z=ee(()=>a(h,C(A))),j=ee(()=>{var pe;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:h.direction,height:$n(h.height)?`${h.height}px`:h.height,width:$n(h.width)?`${h.width}px`:h.width},(pe=h.style)!=null?pe:{}]}),q=ee(()=>{const pe=`${C(z)}px`;return{height:`${C(B)}px`,pointerEvents:C(M).isScrolling?"none":void 0,width:pe}}),Y=()=>{const{totalColumn:pe,totalRow:ie}=h;if(pe>0&&ie>0){const[Ne,Re,gt,Bt]=C(N),[Lt,an,Kt,Ht]=C(W);g(IE,{columnCacheStart:Ne,columnCacheEnd:Re,rowCacheStart:Lt,rowCacheEnd:an,columnVisibleStart:gt,columnVisibleEnd:Bt,rowVisibleStart:Kt,rowVisibleEnd:Ht})}const{scrollLeft:ue,scrollTop:Be,updateRequested:Me,xAxisScrollDir:Fe,yAxisScrollDir:ze}=C(M);g(OE,{xAxisScrollDir:Fe,scrollLeft:ue,yAxisScrollDir:ze,scrollTop:Be,updateRequested:Me})},U=pe=>{const{clientHeight:ie,clientWidth:ue,scrollHeight:Be,scrollLeft:Me,scrollTop:Fe,scrollWidth:ze}=pe.currentTarget,Ne=C(M);if(Ne.scrollTop===Fe&&Ne.scrollLeft===Me)return;let Re=Me;if(fee(h.direction))switch(NE()){case sA:Re=-Me;break;case CW:Re=ze-ue-Me;break}M.value={...Ne,isScrolling:!0,scrollLeft:Re,scrollTop:Math.max(0,Math.min(Fe,Be-ie)),updateRequested:!0,xAxisScrollDir:$g(Ne.scrollLeft,Re),yAxisScrollDir:$g(Ne.scrollTop,Fe)},Yt(()=>le()),ve(),Y()},F=(pe,ie)=>{const ue=C(k),Be=(B.value-ue)/ie*pe;X({scrollTop:Math.min(B.value-ue,Be)})},H=(pe,ie)=>{const ue=C(R),Be=(z.value-ue)/ie*pe;X({scrollLeft:Math.min(z.value-ue,Be)})},{onWheel:re}=att({atXStartEdge:ee(()=>M.value.scrollLeft<=0),atXEndEdge:ee(()=>M.value.scrollLeft>=z.value-C(R)),atYStartEdge:ee(()=>M.value.scrollTop<=0),atYEndEdge:ee(()=>M.value.scrollTop>=B.value-C(k))},(pe,ie)=>{var ue,Be,Me,Fe;(Be=(ue=E.value)==null?void 0:ue.onMouseUp)==null||Be.call(ue),(Fe=(Me=D.value)==null?void 0:Me.onMouseUp)==null||Fe.call(Me);const ze=C(R),Ne=C(k);X({scrollLeft:Math.min(M.value.scrollLeft+pe,z.value-ze),scrollTop:Math.min(M.value.scrollTop+ie,B.value-Ne)})});Ro(S,"wheel",re,{passive:!1});const X=({scrollLeft:pe=M.value.scrollLeft,scrollTop:ie=M.value.scrollTop})=>{pe=Math.max(pe,0),ie=Math.max(ie,0);const ue=C(M);ie===ue.scrollTop&&pe===ue.scrollLeft||(M.value={...ue,xAxisScrollDir:$g(ue.scrollLeft,pe),yAxisScrollDir:$g(ue.scrollTop,ie),scrollLeft:pe,scrollTop:ie,updateRequested:!0},Yt(()=>le()),ve(),Y())},te=(pe=0,ie=0,ue=$u)=>{const Be=C(M);ie=Math.max(0,Math.min(ie,h.totalColumn-1)),pe=Math.max(0,Math.min(pe,h.totalRow-1));const Me=Qme(b.namespace.value),Fe=C(A),ze=i(h,Fe),Ne=a(h,Fe);X({scrollLeft:s(h,ie,ue,Be.scrollLeft,Fe,Ne>h.width?Me:0),scrollTop:l(h,pe,ue,Be.scrollTop,Fe,ze>h.height?Me:0)})},Z=(pe,ie)=>{const{columnWidth:ue,direction:Be,rowHeight:Me}=h,Fe=O.value(t&&ue,t&&Me,t&&Be),ze=`${pe},${ie}`;if(no(Fe,ze))return Fe[ze];{const[,Ne]=n(h,ie,C(A)),Re=C(A),gt=fee(Be),[Bt,Lt]=u(h,pe,Re),[an]=n(h,ie,Re);return Fe[ze]={position:"absolute",left:gt?void 0:`${Ne}px`,right:gt?`${Ne}px`:void 0,top:`${Lt}px`,height:`${Bt}px`,width:`${an}px`},Fe[ze]}},le=()=>{M.value.isScrolling=!1,Yt(()=>{O.value(-1,null,null)})};qn(()=>{if(!Xr)return;const{initScrollLeft:pe,initScrollTop:ie}=h,ue=C(S);ue&&($n(pe)&&(ue.scrollLeft=pe),$n(ie)&&(ue.scrollTop=ie)),Y()});const ve=()=>{const{direction:pe}=h,{scrollLeft:ie,scrollTop:ue,updateRequested:Be}=C(M),Me=C(S);if(Be&&Me){if(pe===iy)switch(NE()){case sA:{Me.scrollLeft=-ie;break}case AW:{Me.scrollLeft=ie;break}default:{const{clientWidth:Fe,scrollWidth:ze}=Me;Me.scrollLeft=ze-Fe-ie;break}}else Me.scrollLeft=Math.max(0,ie);Me.scrollTop=Math.max(0,ue)}},{resetAfterColumnIndex:Pe,resetAfterRowIndex:Ae,resetAfter:he}=w.proxy;y({windowRef:S,innerRef:_,getItemStyleCache:O,scrollTo:X,scrollToItem:te,states:M,resetAfterColumnIndex:Pe,resetAfterRowIndex:Ae,resetAfter:he});const Ee=()=>{const{scrollbarAlwaysOn:pe,scrollbarStartGap:ie,scrollbarEndGap:ue,totalColumn:Be,totalRow:Me}=h,Fe=C(R),ze=C(k),Ne=C(z),Re=C(B),{scrollLeft:gt,scrollTop:Bt}=C(M),Lt=jn(GL,{ref:E,alwaysOn:pe,startGap:ie,endGap:ue,class:b.e("horizontal"),clientSize:Fe,layout:"horizontal",onScroll:H,ratio:Fe*100/Ne,scrollFrom:gt/(Ne-Fe),total:Me,visible:!0}),an=jn(GL,{ref:D,alwaysOn:pe,startGap:ie,endGap:ue,class:b.e("vertical"),clientSize:ze,layout:"vertical",onScroll:F,ratio:ze*100/Re,scrollFrom:Bt/(Re-ze),total:Be,visible:!0});return{horizontalScrollbar:Lt,verticalScrollbar:an}},Q=()=>{var pe;const[ie,ue]=C(N),[Be,Me]=C(W),{data:Fe,totalColumn:ze,totalRow:Ne,useIsScrolling:Re,itemKey:gt}=h,Bt=[];if(Ne>0&&ze>0)for(let Lt=Be;Lt<=Me;Lt++)for(let an=ie;an<=ue;an++){const Kt=gt({columnIndex:an,data:Fe,rowIndex:Lt});Bt.push(jn(Rt,{key:Kt},(pe=m.default)==null?void 0:pe.call(m,{columnIndex:an,data:Fe,isScrolling:Re?C(M).isScrolling:void 0,style:Z(Lt,an),rowIndex:Lt})))}return Bt},me=()=>{const pe=mr(h.innerElement),ie=Q();return[jn(pe,{style:C(q),ref:_},In(pe)?ie:{default:()=>ie})]};return()=>{const pe=mr(h.containerElement),{horizontalScrollbar:ie,verticalScrollbar:ue}=Ee(),Be=me();return jn("div",{key:0,class:b.e("wrapper"),role:h.role},[jn(pe,{class:h.className,style:C(j),onScroll:U,ref:S},In(pe)?Be:{default:()=>Be}),ie,ue])}}}),{max:LE,min:r2e,floor:o2e}=Math,stt={column:"columnWidth",row:"rowHeight"},iF={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},Ef=(e,t,n,r)=>{const[o,i,a]=[n[r],e[stt[r]],n[iF[r]]];if(t>a){let s=0;if(a>=0){const l=o[a];s=l.offset+l.size}for(let l=a+1;l<=t;l++){const u=i(l);o[l]={offset:s,size:u},s+=u}n[iF[r]]=t}return o[t]},i2e=(e,t,n,r,o,i)=>{for(;n<=r;){const a=n+o2e((r-n)/2),s=Ef(e,a,t,i).offset;if(s===o)return a;s{const i=o==="column"?e.totalColumn:e.totalRow;let a=1;for(;n{const[o,i]=[t[r],t[iF[r]]];return(i>0?o[i].offset:0)>=n?i2e(e,t,0,i,n,r):ltt(e,t,LE(0,i),n,r)},a2e=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:r})=>{let o=0;if(n>=e&&(n=e-1),n>=0){const s=r[n];o=s.offset+s.size}const a=(e-n-1)*t;return o+a},s2e=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:r})=>{let o=0;if(r>e&&(r=e-1),r>=0){const s=t[r];o=s.offset+s.size}const a=(e-r-1)*n;return o+a},utt={column:s2e,row:a2e},Iee=(e,t,n,r,o,i,a)=>{const[s,l]=[i==="row"?e.height:e.width,utt[i]],u=Ef(e,t,o,i),d=l(e,o),c=LE(0,r2e(d-s,u.offset)),f=LE(0,u.offset-s+a+u.size);switch(n===vD&&(r>=f-s&&r<=c+s?n=$u:n=Ed),n){case iA:return c;case aA:return f;case Ed:return Math.round(f+(c-f)/2);case $u:default:return r>=f&&r<=c?r:f>c||r{const r=Ef(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=Ef(e,t,n,"row");return[r.size,r.offset]},getColumnOffset:(e,t,n,r,o,i)=>Iee(e,t,n,r,o,"column",i),getRowOffset:(e,t,n,r,o,i)=>Iee(e,t,n,r,o,"row",i),getColumnStartIndexForOffset:(e,t,n)=>Dee(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,r)=>{const o=Ef(e,t,r,"column"),i=n+e.width;let a=o.offset+o.size,s=t;for(;sDee(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,r)=>{const{totalRow:o,height:i}=e,a=Ef(e,t,r,"row"),s=n+i;let l=a.size+a.offset,u=t;for(;u{const n=({columnIndex:i,rowIndex:a},s)=>{var l,u;s=Vr(s)?!0:s,$n(i)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,i-1)),$n(a)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,a-1)),(l=e.exposed)==null||l.getItemStyleCache.value(-1,null,null),s&&((u=e.proxy)==null||u.$forceUpdate())},r=(i,a)=>{n({columnIndex:i},a)},o=(i,a)=>{n({rowIndex:i},a)};Object.assign(e.proxy,{resetAfterColumnIndex:r,resetAfterRowIndex:o,resetAfter:n})},initCache:({estimatedColumnWidth:e=$L,estimatedRowHeight:t=$L})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),dtt=n2e({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},r,o,i,a,s)=>{n=Number(n);const l=Math.max(0,e*t-n),u=Math.min(l,r*t),d=Math.max(0,r*t-n+s+t);switch(o==="smart"&&(i>=d-n&&i<=u+n?o=$u:o=Ed),o){case iA:return u;case aA:return d;case Ed:{const c=Math.round(d+(u-d)/2);return cl+Math.floor(n/2)?l:c}case $u:default:return i>=d&&i<=u?i:d>u||i{t=Number(t);const l=Math.max(0,n*e-t),u=Math.min(l,r*e),d=Math.max(0,r*e-t+s+e);switch(o===vD&&(i>=d-t&&i<=u+t?o=$u:o=Ed),o){case iA:return u;case aA:return d;case Ed:{const c=Math.round(d+(u-d)/2);return cl+Math.floor(t/2)?l:c}case $u:default:return i>=d&&i<=u?i:d>u||iMath.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},r,o)=>{const i=r*e,a=Math.ceil((n+o-i)/e);return Math.max(0,Math.min(t-1,r+a-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},r,o)=>{const i=r*e,a=Math.ceil((n+o-i)/e);return Math.max(0,Math.min(t-1,r+a-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),ftt="ElTableV2Grid",ptt=e=>{const t=K(),n=K(),r=K(0),o=ee(()=>{const{data:g,rowHeight:y,estimatedRowHeight:m}=e;if(!m)return g.length*y}),i=ee(()=>{const{fixedData:g,rowHeight:y}=e;return(g?.length||0)*y}),a=ee(()=>jS(e.headerHeight)),s=ee(()=>{const{height:g}=e;return Math.max(0,g-C(a)-C(i))}),l=ee(()=>C(a)+C(i)>0),u=({data:g,rowIndex:y})=>g[y][e.rowKey];function d({rowCacheStart:g,rowCacheEnd:y,rowVisibleStart:m,rowVisibleEnd:b}){var w;(w=e.onRowsRendered)==null||w.call(e,{rowCacheStart:g,rowCacheEnd:y,rowVisibleStart:m,rowVisibleEnd:b})}function c(g,y){var m;(m=n.value)==null||m.resetAfterRowIndex(g,y)}function f(g,y){const m=C(t),b=C(n);dr(g)?(m?.scrollToLeft(g.scrollLeft),r.value=g.scrollLeft,b?.scrollTo(g)):(m?.scrollToLeft(g),r.value=g,b?.scrollTo({scrollLeft:g,scrollTop:y}))}function p(g){var y;(y=C(n))==null||y.scrollTo({scrollTop:g})}function v(g,y){var m;(m=C(n))==null||m.scrollToItem(g,1,y)}function h(){var g,y;(g=C(n))==null||g.$forceUpdate(),(y=C(t))==null||y.$forceUpdate()}return St(()=>e.bodyWidth,()=>{var g;$n(e.estimatedRowHeight)&&((g=n.value)==null||g.resetAfter({columnIndex:0},!1))}),{bodyRef:n,forceUpdate:h,fixedRowHeight:i,gridHeight:s,hasHeader:l,headerHeight:a,headerRef:t,totalHeight:o,itemKey:u,onItemRendered:d,resetAfterRowIndex:c,scrollTo:f,scrollToTop:p,scrollToRow:v,scrollLeft:r}},htt=nt({name:ftt,props:HS,setup(e,{slots:t,expose:n}){const{ns:r}=dn(_W),{bodyRef:o,fixedRowHeight:i,gridHeight:a,hasHeader:s,headerRef:l,headerHeight:u,totalHeight:d,forceUpdate:c,itemKey:f,onItemRendered:p,resetAfterRowIndex:v,scrollTo:h,scrollToTop:g,scrollToRow:y,scrollLeft:m}=ptt(e);_r(Xbe,m),Db(async()=>{var w;await Yt();const A=(w=o.value)==null?void 0:w.states.scrollTop;A&&g(Math.round(A)+1)}),n({forceUpdate:c,totalHeight:d,scrollTo:h,scrollToTop:g,scrollToRow:y,resetAfterRowIndex:v});const b=()=>e.bodyWidth;return()=>{const{cache:w,columns:A,data:S,fixedData:E,useIsScrolling:D,scrollbarAlwaysOn:_,scrollbarEndGap:M,scrollbarStartGap:O,style:k,rowHeight:R,bodyWidth:N,estimatedRowHeight:W,headerWidth:B,height:z,width:j,getRowHeight:q,onScroll:Y}=e,U=$n(W),F=U?ctt:dtt,H=C(u);return He("div",{role:"table",class:[r.e("table"),e.class],style:k},[He(F,{ref:o,data:S,useIsScrolling:D,itemKey:f,columnCache:0,columnWidth:U?b:N,totalColumn:1,totalRow:S.length,rowCache:w,rowHeight:U?q:R,width:j,height:C(a),class:r.e("body"),role:"rowgroup",scrollbarStartGap:O,scrollbarEndGap:M,scrollbarAlwaysOn:_,onScroll:Y,onItemRendered:p,perfMode:!1},{default:re=>{var X;const te=S[re.rowIndex];return(X=t.row)==null?void 0:X.call(t,{...re,columns:A,rowData:te})}}),C(s)&&He(itt,{ref:l,class:r.e("header-wrapper"),columns:A,headerData:S,headerHeight:e.headerHeight,fixedHeaderData:E,rowWidth:B,rowHeight:R,width:j,height:Math.min(H+C(i),z)},{dynamic:t.header,fixed:t.row})])}}});var OW=htt;function gtt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}const vtt=(e,{slots:t})=>{const{mainTableRef:n,...r}=e;return He(OW,vr({ref:n},r),gtt(t)?t:{default:()=>[t]})};var mtt=vtt;function ytt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}const btt=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...r}=e;return He(OW,vr({ref:n},r),ytt(t)?t:{default:()=>[t]})};var wtt=btt;function Att(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}const Ctt=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...r}=e;return He(OW,vr({ref:n},r),Att(t)?t:{default:()=>[t]})};var xtt=Ctt;const Stt=e=>{const{isScrolling:t}=dn(_W),n=K(!1),r=K(),o=ee(()=>$n(e.estimatedRowHeight)&&e.rowIndex>=0),i=(l=!1)=>{const u=C(r);if(!u)return;const{columns:d,onRowHeightChange:c,rowKey:f,rowIndex:p,style:v}=e,{height:h}=u.getBoundingClientRect();n.value=!0,Yt(()=>{if(l||h!==Number.parseInt(v.height)){const g=d[0],y=g?.placeholderSign===dA;c?.({rowKey:f,height:h,rowIndex:p},g&&!y&&g.fixed)}})},a=ee(()=>{const{rowData:l,rowIndex:u,rowKey:d,onRowHover:c}=e,f=e.rowEventHandlers||{},p={};return Object.entries(f).forEach(([v,h])=>{Rn(h)&&(p[v]=g=>{h({event:g,rowData:l,rowIndex:u,rowKey:d})})}),c&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:h})=>{const g=p[v];p[v]=y=>{c({event:y,hovered:h,rowData:l,rowIndex:u,rowKey:d}),g?.(y)}}),p}),s=l=>{const{onRowExpand:u,rowData:d,rowIndex:c,rowKey:f}=e;u?.({expanded:l,rowData:d,rowIndex:c,rowKey:f})};return qn(()=>{C(o)&&i(!0)}),{isScrolling:t,measurable:o,measured:n,rowRef:r,eventHandlers:a,onExpand:s}},Ett="ElTableV2TableRow",ktt=nt({name:Ett,props:jg,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:o,isScrolling:i,measurable:a,measured:s,rowRef:l,onExpand:u}=Stt(e);return t({onExpand:u}),()=>{const{columns:d,columnsStyles:c,expandColumnKey:f,depth:p,rowData:v,rowIndex:h,style:g}=e;let y=d.map((m,b)=>{const w=Zt(v.children)&&v.children.length>0&&m.key===f;return n.cell({column:m,columns:d,columnIndex:b,depth:p,style:c[m.key],rowData:v,rowIndex:h,isScrolling:C(i),expandIconProps:w?{rowData:v,rowIndex:h,onExpand:u}:void 0})});if(n.row&&(y=n.row({cells:y.map(m=>Zt(m)&&m.length===1?m[0]:m),style:g,columns:d,depth:p,rowData:v,rowIndex:h,isScrolling:C(i)})),C(a)){const{height:m,...b}=g||{},w=C(s);return He("div",vr({ref:l,class:e.class,style:w?g:b,role:"row"},r,C(o)),[y])}return He("div",vr(r,{ref:l,class:e.class,style:g,role:"row"},C(o)),[y])}}});var Ttt=ktt;function _tt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}const Dtt=(e,{slots:t})=>{const{columns:n,columnsStyles:r,depthMap:o,expandColumnKey:i,expandedRowKeys:a,estimatedRowHeight:s,hasFixedColumns:l,rowData:u,rowIndex:d,style:c,isScrolling:f,rowProps:p,rowClass:v,rowKey:h,rowEventHandlers:g,ns:y,onRowHovered:m,onRowExpanded:b}=e,w=Rv(v,{columns:n,rowData:u,rowIndex:d},""),A=Rv(p,{columns:n,rowData:u,rowIndex:d}),S=u[h],E=o[S]||0,D=!!i,_=d<0,M=[y.e("row"),w,{[y.e(`row-depth-${E}`)]:D&&d>=0,[y.is("expanded")]:D&&a.includes(S),[y.is("fixed")]:!E&&_,[y.is("customized")]:!!t.row}],O=l?m:void 0,k={...A,columns:n,columnsStyles:r,class:M,depth:E,expandColumnKey:i,estimatedRowHeight:_?void 0:s,isScrolling:f,rowIndex:d,rowData:u,rowKey:S,rowEventHandlers:g,style:c};return He(Ttt,vr(k,{onRowExpand:b,onMouseenter:W=>{O?.({hovered:!0,rowKey:S,event:W,rowData:u,rowIndex:d})},onMouseleave:W=>{O?.({hovered:!1,rowKey:S,event:W,rowData:u,rowIndex:d})},rowkey:S}),_tt(t)?t:{default:()=>[t]})};var Itt=Dtt;const MW=(e,{slots:t})=>{var n;const{cellData:r,style:o}=e,i=((n=r?.toString)==null?void 0:n.call(r))||"",a=ht(t,"default",e,()=>[i]);return He("div",{class:e.class,title:i,style:o},[a])};MW.displayName="ElTableV2Cell";MW.inheritAttrs=!1;var Ott=MW;const Mtt=e=>{const{expanded:t,expandable:n,onExpand:r,style:o,size:i}=e,a={onClick:n?()=>r(!t):void 0,class:e.class};return He(Dn,vr(a,{size:i,style:o}),{default:()=>[He(Da,null,null)]})};var Ptt=Mtt;const l2e=({columns:e,column:t,columnIndex:n,depth:r,expandIconProps:o,isScrolling:i,rowData:a,rowIndex:s,style:l,expandedRowKeys:u,ns:d,cellProps:c,expandColumnKey:f,indentSize:p,iconSize:v,rowKey:h},{slots:g})=>{const y=wh(l);if(t.placeholderSign===dA)return He("div",{class:d.em("row-cell","placeholder"),style:y},null);const{cellRenderer:m,dataKey:b,dataGetter:w}=t,A=Rn(w)?w({columns:e,column:t,columnIndex:n,rowData:a,rowIndex:s}):Xi(a,b??""),S=Rv(c,{cellData:A,columns:e,column:t,columnIndex:n,rowIndex:s,rowData:a}),E={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:A,isScrolling:i,rowData:a,rowIndex:s},D=Zbe(m),_=D?D(E):ht(g,"default",E,()=>[He(Ott,E,null)]),M=[d.e("row-cell"),t.class,t.align===cA.CENTER&&d.is("align-center"),t.align===cA.RIGHT&&d.is("align-right")],O=s>=0&&f&&t.key===f,k=s>=0&&u.includes(a[h]);let R;const N=`margin-inline-start: ${r*p}px;`;return O&&(dr(o)?R=He(Ptt,vr(o,{class:[d.e("expand-icon"),d.is("expanded",k)],size:v,expanded:k,style:N,expandable:!0}),null):R=He("div",{style:[N,`width: ${v}px; height: ${v}px;`].join(" ")},null)),He("div",vr({class:M,style:y},S,{role:"cell"}),[R,_])};l2e.inheritAttrs=!1;var Oee=l2e;const Ntt=Jt({class:String,columns:W5,columnsStyles:{type:ct(Object),required:!0},headerIndex:Number,style:{type:ct(Object)}}),Rtt=nt({name:"ElTableV2HeaderRow",props:Ntt,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:r,headerIndex:o,style:i}=e;let a=n.map((s,l)=>t.cell({columns:n,column:s,columnIndex:l,headerIndex:o,style:r[s.key]}));return t.header&&(a=t.header({cells:a.map(s=>Zt(s)&&s.length===1?s[0]:s),columns:n,headerIndex:o})),He("div",{class:e.class,style:i,role:"row"},[a])}}});var Btt=Rtt;function Ltt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}const Ftt=({columns:e,columnsStyles:t,headerIndex:n,style:r,headerClass:o,headerProps:i,ns:a},{slots:s})=>{const l={columns:e,headerIndex:n},u=[a.e("header-row"),Rv(o,l,""),{[a.is("customized")]:!!s.header}],d={...Rv(i,l),columnsStyles:t,class:u,columns:e,headerIndex:n,style:r};return He(Btt,d,Ltt(s)?s:{default:()=>[s]})};var Utt=Ftt;const PW=(e,{slots:t})=>ht(t,"default",e,()=>{var n,r;return[He("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(r=e.column)==null?void 0:r.title])]});PW.displayName="ElTableV2HeaderCell";PW.inheritAttrs=!1;var ztt=PW;const $tt=e=>{const{sortOrder:t}=e;return He(Dn,{size:14,class:e.class},{default:()=>[t===uA.ASC?He(RLe,null,null):He(PLe,null,null)]})};var jtt=$tt;const Htt=(e,{slots:t})=>{const{column:n,ns:r,style:o,onColumnSorted:i}=e,a=wh(o);if(n.placeholderSign===dA)return He("div",{class:r.em("header-row-cell","placeholder"),style:a},null);const{headerCellRenderer:s,headerClass:l,sortable:u}=n,d={...e,class:r.e("header-cell-text")},c=Zbe(s),f=c?c(d):ht(t,"default",d,()=>[He(ztt,d,null)]),{sortBy:p,sortState:v,headerCellProps:h}=e;let g,y;if(v){const w=v[n.key];g=!!oF[w],y=g?w:uA.ASC}else g=n.key===p.key,y=g?p.order:uA.ASC;const m=[r.e("header-cell"),Rv(l,e,""),n.align===cA.CENTER&&r.is("align-center"),n.align===cA.RIGHT&&r.is("align-right"),u&&r.is("sortable")],b={...Rv(h,e),onClick:n.sortable?i:void 0,class:m,style:a,"data-key":n.key};return He("div",vr(b,{role:"columnheader"}),[f,u&&He(jtt,{class:[r.e("sort-icon"),g&&r.is("sorting")],sortOrder:y},null)])};var Mee=Htt;const u2e=(e,{slots:t})=>{var n;return He("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};u2e.displayName="ElTableV2Footer";var Wtt=u2e;const c2e=(e,{slots:t})=>{const n=ht(t,"default",{},()=>[He(obe,null,null)]);return He("div",{class:e.class,style:e.style},[n])};c2e.displayName="ElTableV2Empty";var Vtt=c2e;const d2e=(e,{slots:t})=>{var n;return He("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};d2e.displayName="ElTableV2Overlay";var qtt=d2e;function R2(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Vo(e)}const Gtt="ElTableV2",Ktt=nt({name:Gtt,props:ntt,setup(e,{slots:t,expose:n}){const r=Vt("table-v2"),{columnsStyles:o,fixedColumnsOnLeft:i,fixedColumnsOnRight:a,mainColumns:s,mainTableHeight:l,fixedTableHeight:u,leftTableWidth:d,rightTableWidth:c,data:f,depthMap:p,expandedRowKeys:v,hasFixedColumns:h,mainTableRef:g,leftTableRef:y,rightTableRef:m,isDynamic:b,isResetting:w,isScrolling:A,bodyWidth:S,emptyStyle:E,rootStyle:D,footerHeight:_,showEmpty:M,scrollTo:O,scrollToLeft:k,scrollToTop:R,scrollToRow:N,getRowHeight:W,onColumnSorted:B,onRowHeightChange:z,onRowHovered:j,onRowExpanded:q,onRowsRendered:Y,onScroll:U,onVerticalScroll:F}=ett(e);return n({scrollTo:O,scrollToLeft:k,scrollToTop:R,scrollToRow:N}),_r(_W,{ns:r,isResetting:w,isScrolling:A}),()=>{const{cache:H,cellProps:re,estimatedRowHeight:X,expandColumnKey:te,fixedData:Z,headerHeight:le,headerClass:ve,headerProps:Pe,headerCellProps:Ae,sortBy:he,sortState:Ee,rowHeight:Q,rowClass:me,rowEventHandlers:De,rowKey:pe,rowProps:ie,scrollbarAlwaysOn:ue,indentSize:Be,iconSize:Me,useIsScrolling:Fe,vScrollbarSize:ze,width:Ne}=e,Re=C(f),gt={cache:H,class:r.e("main"),columns:C(s),data:Re,fixedData:Z,estimatedRowHeight:X,bodyWidth:C(S),headerHeight:le,headerWidth:C(S),height:C(l),mainTableRef:g,rowKey:pe,rowHeight:Q,scrollbarAlwaysOn:ue,scrollbarStartGap:2,scrollbarEndGap:ze,useIsScrolling:Fe,width:Ne,getRowHeight:W,onRowsRendered:Y,onScroll:U},Bt=C(d),Lt=C(u),an={cache:H,class:r.e("left"),columns:C(i),data:Re,fixedData:Z,estimatedRowHeight:X,leftTableRef:y,rowHeight:Q,bodyWidth:Bt,headerWidth:Bt,headerHeight:le,height:Lt,rowKey:pe,scrollbarAlwaysOn:ue,scrollbarStartGap:2,scrollbarEndGap:ze,useIsScrolling:Fe,width:Bt,getRowHeight:W,onScroll:F},Kt=C(c),Ht={cache:H,class:r.e("right"),columns:C(a),data:Re,fixedData:Z,estimatedRowHeight:X,rightTableRef:m,rowHeight:Q,bodyWidth:Kt,headerWidth:Kt,headerHeight:le,height:Lt,rowKey:pe,scrollbarAlwaysOn:ue,scrollbarStartGap:2,scrollbarEndGap:ze,width:Kt,style:`--${C(r.namespace)}-table-scrollbar-size: ${ze}px`,useIsScrolling:Fe,getRowHeight:W,onScroll:F},pt=C(o),Dt={ns:r,depthMap:C(p),columnsStyles:pt,expandColumnKey:te,expandedRowKeys:C(v),estimatedRowHeight:X,hasFixedColumns:C(h),rowProps:ie,rowClass:me,rowKey:pe,rowEventHandlers:De,onRowHovered:j,onRowExpanded:q,onRowHeightChange:z},dt={cellProps:re,expandColumnKey:te,indentSize:Be,iconSize:Me,rowKey:pe,expandedRowKeys:C(v),ns:r},it={ns:r,headerClass:ve,headerProps:Pe,columnsStyles:pt},de={ns:r,sortBy:he,sortState:Ee,headerCellProps:Ae,onColumnSorted:B},tt={row:Tn=>He(Itt,vr(Tn,Dt),{row:t.row,cell:Nn=>{let We;return t.cell?He(Oee,vr(Nn,dt,{style:pt[Nn.column.key]}),R2(We=t.cell(Nn))?We:{default:()=>[We]}):He(Oee,vr(Nn,dt,{style:pt[Nn.column.key]}),null)}}),header:Tn=>He(Utt,vr(Tn,it),{header:t.header,cell:Nn=>{let We;return t["header-cell"]?He(Mee,vr(Nn,de,{style:pt[Nn.column.key]}),R2(We=t["header-cell"](Nn))?We:{default:()=>[We]}):He(Mee,vr(Nn,de,{style:pt[Nn.column.key]}),null)}})},ft=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:C(b)}],Mt={class:r.e("footer"),style:C(_)};return He("div",{class:ft,style:C(D)},[He(mtt,gt,R2(tt)?tt:{default:()=>[tt]}),He(wtt,an,R2(tt)?tt:{default:()=>[tt]}),He(xtt,Ht,R2(tt)?tt:{default:()=>[tt]}),t.footer&&He(Wtt,Mt,{default:t.footer}),C(M)&&He(Vtt,{class:r.e("empty"),style:C(E)},{default:t.empty}),t.overlay&&He(qtt,{class:r.e("overlay")},{default:t.overlay})])}}});var Ytt=Ktt;const Qtt=Jt({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:ct(Function)}}),Ztt=e=>{const t=K(),n=K(0),r=K(0);let o;return qn(()=>{o=li(t,([i])=>{const{width:a,height:s}=i.contentRect,{paddingLeft:l,paddingRight:u,paddingTop:d,paddingBottom:c}=getComputedStyle(i.target),f=Number.parseInt(l)||0,p=Number.parseInt(u)||0,v=Number.parseInt(d)||0,h=Number.parseInt(c)||0;n.value=a-f-p,r.value=s-v-h}).stop}),Jr(()=>{o?.()}),St([n,r],([i,a])=>{var s;(s=e.onResize)==null||s.call(e,{width:i,height:a})}),{sizer:t,width:n,height:r}},Xtt=nt({name:"ElAutoResizer",props:Qtt,setup(e,{slots:t}){const n=Vt("auto-resizer"),{height:r,width:o,sizer:i}=Ztt(e),a={width:"100%",height:"100%"};return()=>{var s;return He("div",{ref:i,class:n.b(),style:a},[(s=t.default)==null?void 0:s.call(t,{height:r.value,width:o.value})])}}});var Jtt=Xtt;const ent=or(Ytt),tnt=or(Jtt),mD=Symbol("tabsRootContextKey"),nnt=Jt({tabs:{type:ct(Array),default:()=>fi([])},tabRefs:{type:ct(Object),default:()=>fi({})}}),f2e="ElTabBar",rnt=nt({name:f2e}),ont=nt({...rnt,props:nnt,setup(e,{expose:t}){const n=e,r=dn(mD);r||na(f2e,"");const o=Vt("tabs"),i=K(),a=K(),s=()=>{let f=0,p=0;const v=["top","bottom"].includes(r.props.tabPosition)?"width":"height",h=v==="width"?"x":"y",g=h==="x"?"left":"top";return n.tabs.every(y=>{if(Vr(y.paneName))return!1;const m=n.tabRefs[y.paneName];if(!m)return!1;if(!y.active)return!0;f=m[`offset${hh(g)}`],p=m[`client${hh(v)}`];const b=window.getComputedStyle(m);return v==="width"&&(p-=Number.parseFloat(b.paddingLeft)+Number.parseFloat(b.paddingRight),f+=Number.parseFloat(b.paddingLeft)),!1}),{[v]:`${p}px`,transform:`translate${hh(h)}(${f}px)`}},l=()=>a.value=s(),u=[],d=()=>{u.forEach(f=>f.stop()),u.length=0,Object.values(n.tabRefs).forEach(f=>{u.push(li(f,l))})};St(()=>n.tabs,async()=>{await Yt(),l(),d()},{immediate:!0});const c=li(i,()=>l());return Jr(()=>{u.forEach(f=>f.stop()),u.length=0,c.stop()}),t({ref:i,update:l}),(f,p)=>(L(),G("div",{ref_key:"barRef",ref:i,class:oe([C(o).e("active-bar"),C(o).is(C(r).props.tabPosition)]),style:rn(a.value)},null,6))}});var int=on(ont,[["__file","tab-bar.vue"]]);const ant=Jt({panes:{type:ct(Array),default:()=>fi([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),snt={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},Pee="ElTabNav",lnt=nt({name:Pee,props:ant,emits:snt,setup(e,{expose:t,emit:n}){const r=dn(mD);r||na(Pee,"");const o=Vt("tabs"),i=GRe(),a=sBe(),s=K(),l=K(),u=K(),d=K({}),c=K(),f=K(!1),p=K(0),v=K(!1),h=K(!0),g=jo(),y=ee(()=>["top","bottom"].includes(r.props.tabPosition)?"width":"height"),m=ee(()=>({transform:`translate${y.value==="width"?"X":"Y"}(-${p.value}px)`})),b=()=>{if(!s.value)return;const k=s.value[`offset${hh(y.value)}`],R=p.value;if(!R)return;const N=R>k?R-k:0;p.value=N},w=()=>{if(!s.value||!l.value)return;const k=l.value[`offset${hh(y.value)}`],R=s.value[`offset${hh(y.value)}`],N=p.value;if(k-N<=R)return;const W=k-N>R*2?N+R:k-R;p.value=W},A=async()=>{const k=l.value;if(!f.value||!u.value||!s.value||!k)return;await Yt();const R=d.value[e.currentName];if(!R)return;const N=s.value,W=["top","bottom"].includes(r.props.tabPosition),B=R.getBoundingClientRect(),z=N.getBoundingClientRect(),j=W?k.offsetWidth-z.width:k.offsetHeight-z.height,q=p.value;let Y=q;W?(B.leftz.right&&(Y=q+B.right-z.right)):(B.topz.bottom&&(Y=q+(B.bottom-z.bottom))),Y=Math.max(Y,0),p.value=Math.min(Y,j)},S=()=>{var k;if(!l.value||!s.value)return;e.stretch&&((k=c.value)==null||k.update());const R=l.value[`offset${hh(y.value)}`],N=s.value[`offset${hh(y.value)}`],W=p.value;N0&&(p.value=0))},E=k=>{let R=0;switch(k.code){case gn.left:case gn.up:R=-1;break;case gn.right:case gn.down:R=1;break;default:return}const N=Array.from(k.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let B=N.indexOf(k.target)+R;B<0?B=N.length-1:B>=N.length&&(B=0),N[B].focus({preventScroll:!0}),N[B].click(),D()},D=()=>{h.value&&(v.value=!0)},_=()=>v.value=!1,M=(k,R)=>{d.value[R]=k},O=async()=>{await Yt();const k=d.value[e.currentName];k?.focus({preventScroll:!0})};return St(i,k=>{k==="hidden"?h.value=!1:k==="visible"&&setTimeout(()=>h.value=!0,50)}),St(a,k=>{k?setTimeout(()=>h.value=!0,50):h.value=!1}),li(u,S),qn(()=>setTimeout(()=>A(),0)),Qc(()=>S()),t({scrollToActiveTab:A,removeFocus:_,focusActiveTab:O,tabListRef:l,tabBarRef:c,scheduleRender:()=>pS(g)}),()=>{const k=f.value?[He("span",{class:[o.e("nav-prev"),o.is("disabled",!f.value.prev)],onClick:b},[He(Dn,null,{default:()=>[He(Jf,null,null)]})]),He("span",{class:[o.e("nav-next"),o.is("disabled",!f.value.next)],onClick:w},[He(Dn,null,{default:()=>[He(Da,null,null)]})])]:null,R=e.panes.map((N,W)=>{var B,z,j,q;const Y=N.uid,U=N.props.disabled,F=(z=(B=N.props.name)!=null?B:N.index)!=null?z:`${W}`,H=!U&&(N.isClosable||e.editable);N.index=`${W}`;const re=H?He(Dn,{class:"is-icon-close",onClick:Z=>n("tabRemove",N,Z)},{default:()=>[He(vu,null,null)]}):null,X=((q=(j=N.slots).label)==null?void 0:q.call(j))||N.props.label,te=!U&&N.active?0:-1;return He("div",{ref:Z=>M(Z,F),class:[o.e("item"),o.is(r.props.tabPosition),o.is("active",N.active),o.is("disabled",U),o.is("closable",H),o.is("focus",v.value)],id:`tab-${F}`,key:`tab-${Y}`,"aria-controls":`pane-${F}`,role:"tab","aria-selected":N.active,tabindex:te,onFocus:()=>D(),onBlur:()=>_(),onClick:Z=>{_(),n("tabClick",N,F,Z)},onKeydown:Z=>{H&&(Z.code===gn.delete||Z.code===gn.backspace)&&n("tabRemove",N,Z)}},[X,re])});return g.value,He("div",{ref:u,class:[o.e("nav-wrap"),o.is("scrollable",!!f.value),o.is(r.props.tabPosition)]},[k,He("div",{class:o.e("nav-scroll"),ref:s},[e.panes.length>0?He("div",{class:[o.e("nav"),o.is(r.props.tabPosition),o.is("stretch",e.stretch&&["top","bottom"].includes(r.props.tabPosition))],ref:l,style:m.value,role:"tablist",onKeydown:E},[e.type?null:He(int,{ref:c,tabs:[...e.panes],tabRefs:d.value},null),R]):null])])}}}),unt=Jt({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:ct(Function),default:()=>!0},stretch:Boolean}),OI=e=>In(e)||$n(e),cnt={[Qn]:e=>OI(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>OI(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>OI(e),tabAdd:()=>!0},dnt=nt({name:"ElTabs",props:unt,emits:cnt,setup(e,{emit:t,slots:n,expose:r}){var o;const i=Vt("tabs"),a=ee(()=>["left","right"].includes(e.tabPosition)),{children:s,addChild:l,removeChild:u,ChildrenSorter:d}=cD(br(),"ElTabPane"),c=K(),f=K((o=e.modelValue)!=null?o:"0"),p=async(m,b=!1)=>{var w,A,S,E;if(!(f.value===m||Vr(m)))try{let D;if(e.beforeLeave){const _=e.beforeLeave(m,f.value);D=_ instanceof Promise?await _:_}else D=!0;if(D!==!1){const _=(w=s.value.find(M=>M.paneName===f.value))==null?void 0:w.isFocusInsidePane();f.value=m,b&&(t(Qn,m),t("tabChange",m)),(S=(A=c.value)==null?void 0:A.removeFocus)==null||S.call(A),_&&((E=c.value)==null||E.focusActiveTab())}}catch{}},v=(m,b,w)=>{m.props.disabled||(t("tabClick",m,w),p(b,!0))},h=(m,b)=>{m.props.disabled||Vr(m.props.name)||(b.stopPropagation(),t("edit",m.props.name,"remove"),t("tabRemove",m.props.name))},g=()=>{t("edit",void 0,"add"),t("tabAdd")},y=m=>{const b=m.el.firstChild,w=["bottom","right"].includes(e.tabPosition)?m.children[0].el:m.children[1].el;b!==w&&b.before(w)};return St(()=>e.modelValue,m=>p(m)),St(f,async()=>{var m;await Yt(),(m=c.value)==null||m.scrollToActiveTab()}),_r(mD,{props:e,currentName:f,registerPane:l,unregisterPane:u,nav$:c}),r({currentName:f,get tabNavRef(){return Nme(c.value,["scheduleRender"])}}),()=>{const m=n["add-icon"],b=e.editable||e.addable?He("div",{class:[i.e("new-tab"),a.value&&i.e("new-tab-vertical")],tabindex:"0",onClick:g,onKeydown:E=>{[gn.enter,gn.numpadEnter].includes(E.code)&&g()}},[m?ht(n,"add-icon"):He(Dn,{class:i.is("icon-plus")},{default:()=>[He(o1e,null,null)]})]):null,w=()=>He(lnt,{ref:c,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:v,onTabRemove:h},null),A=He("div",{class:[i.e("header"),a.value&&i.e("header-vertical"),i.is(e.tabPosition)]},[He(d,null,{default:w,$stable:!0}),b]),S=He("div",{class:i.e("content")},[ht(n,"default")]);return He("div",{class:[i.b(),i.m(e.tabPosition),{[i.m("card")]:e.type==="card",[i.m("border-card")]:e.type==="border-card"}],onVnodeMounted:y,onVnodeUpdated:y},[S,A])}}});var fnt=dnt;const pnt=Jt({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),p2e="ElTabPane",hnt=nt({name:p2e}),gnt=nt({...hnt,props:pnt,setup(e){const t=e,n=br(),r=ga(),o=dn(mD);o||na(p2e,"usage: ");const i=Vt("tab-pane"),a=K(),s=K(),l=ee(()=>t.closable||o.props.closable),u=bE(()=>{var h;return o.currentName.value===((h=t.name)!=null?h:s.value)}),d=K(u.value),c=ee(()=>{var h;return(h=t.name)!=null?h:s.value}),f=bE(()=>!t.lazy||d.value||u.value),p=()=>{var h;return(h=a.value)==null?void 0:h.contains(document.activeElement)};St(u,h=>{h&&(d.value=!0)});const v=Wr({uid:n.uid,getVnode:()=>n.vnode,slots:r,props:t,paneName:c,active:u,index:s,isClosable:l,isFocusInsidePane:p});return o.registerPane(v),Jr(()=>{o.unregisterPane(v)}),zj(()=>{var h;r.label&&((h=o.nav$.value)==null||h.scheduleRender())}),(h,g)=>C(f)?cn((L(),G("div",{key:0,id:`pane-${C(c)}`,ref_key:"paneRef",ref:a,class:oe(C(i).b()),role:"tabpanel","aria-hidden":!C(u),"aria-labelledby":`tab-${C(c)}`},[ht(h.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[kr,C(u)]]):xe("v-if",!0)}});var h2e=on(gnt,[["__file","tab-pane.vue"]]);const vnt=or(fnt,{TabPane:h2e}),mnt=vi(h2e),ynt=Jt({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:ef,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),bnt=nt({name:"ElText"}),wnt=nt({...bnt,props:ynt,setup(e){const t=e,n=K(),r=ha(),o=Vt("text"),i=ee(()=>[o.b(),o.m(t.type),o.m(r.value),o.is("truncated",t.truncated),o.is("line-clamp",!Vr(t.lineClamp))]),a=()=>{var s,l,u,d,c,f,p;if(yp().title)return;let h=!1;const g=((s=n.value)==null?void 0:s.textContent)||"";if(t.truncated){const y=(l=n.value)==null?void 0:l.offsetWidth,m=(u=n.value)==null?void 0:u.scrollWidth;y&&m&&m>y&&(h=!0)}else if(!Vr(t.lineClamp)){const y=(d=n.value)==null?void 0:d.offsetHeight,m=(c=n.value)==null?void 0:c.scrollHeight;y&&m&&m>y&&(h=!0)}h?(f=n.value)==null||f.setAttribute("title",g):(p=n.value)==null||p.removeAttribute("title")};return qn(a),Qc(a),(s,l)=>(L(),yt(mr(s.tag),{ref_key:"textRef",ref:n,class:oe(C(i)),style:rn({"-webkit-line-clamp":s.lineClamp})},{default:rt(()=>[ht(s.$slots,"default")]),_:3},8,["class","style"]))}});var Ant=on(wnt,[["__file","text.vue"]]);const NW=or(Ant),Cnt=Jt({format:{type:String,default:"HH:mm"},modelValue:{type:ct(String)},disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:ct(String),default:"light"},clearable:{type:Boolean,default:!0},size:Aa,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:ct(String)},maxTime:{type:ct(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:ct([String,Object]),default:()=>n1e},clearIcon:{type:ct([String,Object]),default:()=>tf},...lm}),Pf=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const r=Number.parseInt(t[1],10),o=e.toUpperCase();return o.includes("AM")&&n===12?n=0:o.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:r}}return null},MI=(e,t)=>{const n=Pf(e);if(!n)return-1;const r=Pf(t);if(!r)return-1;const o=n.minutes+n.hours*60,i=r.minutes+r.hours*60;return o===i?0:o>i?1:-1},Nee=e=>`${e}`.padStart(2,"0"),M1=e=>`${Nee(e.hours)}:${Nee(e.minutes)}`,xnt=(e,t)=>{const n=Pf(e);if(!n)return"";const r=Pf(t);if(!r)return"";const o={hours:n.hours,minutes:n.minutes};return o.minutes+=r.minutes,o.hours+=r.hours,o.hours+=Math.floor(o.minutes/60),o.minutes=o.minutes%60,M1(o)},Snt=nt({name:"ElTimeSelect"}),Ent=nt({...Snt,props:Cnt,emits:[Pr,"blur","focus","clear",Qn],setup(e,{expose:t}){const n=e;lr.extend(HH);const{Option:r}=Nv,o=Vt("input"),i=K(),a=Va(),{lang:s}=Gr(),l=ee(()=>n.modelValue),u=ee(()=>{const y=Pf(n.start);return y?M1(y):null}),d=ee(()=>{const y=Pf(n.end);return y?M1(y):null}),c=ee(()=>{const y=Pf(n.step);return y?M1(y):null}),f=ee(()=>{const y=Pf(n.minTime||"");return y?M1(y):null}),p=ee(()=>{const y=Pf(n.maxTime||"");return y?M1(y):null}),v=ee(()=>{var y;const m=[],b=(w,A)=>{m.push({value:w,disabled:MI(A,f.value||"-1:-1")<=0||MI(A,p.value||"100:100")>=0})};if(n.start&&n.end&&n.step){let w=u.value,A;for(;w&&d.value&&MI(w,d.value)<=0;)A=lr(w,"HH:mm").locale(s.value).format(n.format),b(A,w),w=xnt(w,c.value);if(n.includeEndTime&&d.value&&((y=m[m.length-1])==null?void 0:y.value)!==d.value){const S=lr(d.value,"HH:mm").locale(s.value).format(n.format);b(S,d.value)}}return m});return t({blur:()=>{var y,m;(m=(y=i.value)==null?void 0:y.blur)==null||m.call(y)},focus:()=>{var y,m;(m=(y=i.value)==null?void 0:y.focus)==null||m.call(y)}}),(y,m)=>(L(),yt(C(Nv),{ref_key:"select",ref:i,"model-value":C(l),disabled:C(a),clearable:y.clearable,"clear-icon":y.clearIcon,size:y.size,effect:y.effect,placeholder:y.placeholder,"default-first-option":"",filterable:y.editable,"empty-values":y.emptyValues,"value-on-clear":y.valueOnClear,"onUpdate:modelValue":b=>y.$emit(C(Qn),b),onChange:b=>y.$emit(C(Pr),b),onBlur:b=>y.$emit("blur",b),onFocus:b=>y.$emit("focus",b),onClear:()=>y.$emit("clear")},{prefix:rt(()=>[y.prefixIcon?(L(),yt(C(Dn),{key:0,class:oe(C(o).e("prefix-icon"))},{default:rt(()=>[(L(),yt(mr(y.prefixIcon)))]),_:1},8,["class"])):xe("v-if",!0)]),default:rt(()=>[(L(!0),G(Rt,null,un(C(v),b=>(L(),yt(C(r),{key:b.value,label:b.value,value:b.value,disabled:b.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","onUpdate:modelValue","onChange","onBlur","onFocus","onClear"]))}});var knt=on(Ent,[["__file","time-select.vue"]]);const Tnt=or(knt),_nt="timeline",Dnt=nt({name:"ElTimeline",setup(e,{slots:t}){const n=Vt("timeline");return _r(_nt,t),()=>jn("ul",{class:[n.b()]},[ht(t,"default")])}}),Int=Jt({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:wo},hollow:Boolean}),Ont=nt({name:"ElTimelineItem"}),Mnt=nt({...Ont,props:Int,setup(e){const t=e,n=Vt("timeline-item"),r=ee(()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]);return(o,i)=>(L(),G("li",{class:oe([C(n).b(),{[C(n).e("center")]:o.center}])},[x("div",{class:oe(C(n).e("tail"))},null,2),o.$slots.dot?xe("v-if",!0):(L(),G("div",{key:0,class:oe(C(r)),style:rn({backgroundColor:o.color})},[o.icon?(L(),yt(C(Dn),{key:0,class:oe(C(n).e("icon"))},{default:rt(()=>[(L(),yt(mr(o.icon)))]),_:1},8,["class"])):xe("v-if",!0)],6)),o.$slots.dot?(L(),G("div",{key:1,class:oe(C(n).e("dot"))},[ht(o.$slots,"dot")],2)):xe("v-if",!0),x("div",{class:oe(C(n).e("wrapper"))},[!o.hideTimestamp&&o.placement==="top"?(L(),G("div",{key:0,class:oe([C(n).e("timestamp"),C(n).is("top")])},je(o.timestamp),3)):xe("v-if",!0),x("div",{class:oe(C(n).e("content"))},[ht(o.$slots,"default")],2),!o.hideTimestamp&&o.placement==="bottom"?(L(),G("div",{key:1,class:oe([C(n).e("timestamp"),C(n).is("bottom")])},je(o.timestamp),3)):xe("v-if",!0)],2)],2))}});var g2e=on(Mnt,[["__file","timeline-item.vue"]]);const Pnt=or(Dnt,{TimelineItem:g2e}),Nnt=vi(g2e),v2e=Jt({nowrap:Boolean});var m2e=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(m2e||{});const Rnt=Object.values(m2e),RW=Jt({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:ct(Object),default:null}}),Bnt=Jt({side:{type:ct(String),values:Rnt,required:!0}}),Lnt=["absolute","fixed"],Fnt=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],BW=Jt({arrowPadding:{type:ct(Number),default:5},effect:{type:ct(String),default:"light"},contentClass:String,placement:{type:ct(String),values:Fnt,default:"bottom"},reference:{type:ct(Object),default:null},offset:{type:Number,default:8},strategy:{type:ct(String),values:Lnt,default:"absolute"},showArrow:Boolean,..._s(["ariaLabel"])}),LW=Jt({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:ct(Function)},"onUpdate:open":{type:ct(Function)}}),zm={type:ct(Function)},FW=Jt({onBlur:zm,onClick:zm,onFocus:zm,onMouseDown:zm,onMouseEnter:zm,onMouseLeave:zm}),Unt=Jt({...LW,...RW,...FW,...BW,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:ct(Object),default:null},teleported:Boolean,to:{type:ct([String,Object]),default:"body"}}),yD=Symbol("tooltipV2"),y2e=Symbol("tooltipV2Content"),PI="tooltip_v2.open",znt=nt({name:"ElTooltipV2Root"}),$nt=nt({...znt,props:LW,setup(e,{expose:t}){const n=e,r=K(n.defaultOpen),o=K(null),i=ee({get:()=>Bl(n.open)?r.value:n.open,set:g=>{var y;r.value=g,(y=n["onUpdate:open"])==null||y.call(n,g)}}),a=ee(()=>$n(n.delayDuration)&&n.delayDuration>0),{start:s,stop:l}=Mv(()=>{i.value=!0},ee(()=>n.delayDuration),{immediate:!1}),u=Vt("tooltip-v2"),d=ps(),c=()=>{l(),i.value=!0},f=()=>{C(a)?s():c()},p=c,v=()=>{l(),i.value=!1};return St(i,g=>{var y;g&&(document.dispatchEvent(new CustomEvent(PI)),p()),(y=n.onOpenChange)==null||y.call(n,g)}),qn(()=>{document.addEventListener(PI,v)}),Jr(()=>{l(),document.removeEventListener(PI,v)}),_r(yD,{contentId:d,triggerRef:o,ns:u,onClose:v,onDelayOpen:f,onOpen:p}),t({onOpen:p,onClose:v}),(g,y)=>ht(g.$slots,"default",{open:C(i)})}});var jnt=on($nt,[["__file","root.vue"]]);const Hnt=nt({name:"ElTooltipV2Arrow"}),Wnt=nt({...Hnt,props:{...RW,...Bnt},setup(e){const t=e,{ns:n}=dn(yD),{arrowRef:r}=dn(y2e),o=ee(()=>{const{style:i,width:a,height:s}=t,l=n.namespace.value;return{[`--${l}-tooltip-v2-arrow-width`]:`${a}px`,[`--${l}-tooltip-v2-arrow-height`]:`${s}px`,[`--${l}-tooltip-v2-arrow-border-width`]:`${a/2}px`,[`--${l}-tooltip-v2-arrow-cover-width`]:a/2-1,...i||{}}});return(i,a)=>(L(),G("span",{ref_key:"arrowRef",ref:r,style:rn(C(o)),class:oe(C(n).e("arrow"))},null,6))}});var Ree=on(Wnt,[["__file","arrow.vue"]]);const Wy=Math.min,ev=Math.max,FE=Math.round,Tx=Math.floor,Ld=e=>({x:e,y:e}),Vnt={left:"right",right:"left",bottom:"top",top:"bottom"},qnt={start:"end",end:"start"};function aF(e,t,n){return ev(e,Wy(t,n))}function V5(e,t){return typeof e=="function"?e(t):e}function Bv(e){return e.split("-")[0]}function q5(e){return e.split("-")[1]}function b2e(e){return e==="x"?"y":"x"}function UW(e){return e==="y"?"height":"width"}const Gnt=new Set(["top","bottom"]);function Ah(e){return Gnt.has(Bv(e))?"y":"x"}function zW(e){return b2e(Ah(e))}function Knt(e,t,n){n===void 0&&(n=!1);const r=q5(e),o=zW(e),i=UW(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=UE(a)),[a,UE(a)]}function Ynt(e){const t=UE(e);return[sF(e),t,sF(t)]}function sF(e){return e.replace(/start|end/g,t=>qnt[t])}const Bee=["left","right"],Lee=["right","left"],Qnt=["top","bottom"],Znt=["bottom","top"];function Xnt(e,t,n){switch(e){case"top":case"bottom":return n?t?Lee:Bee:t?Bee:Lee;case"left":case"right":return t?Qnt:Znt;default:return[]}}function Jnt(e,t,n,r){const o=q5(e);let i=Xnt(Bv(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(sF)))),i}function UE(e){return e.replace(/left|right|bottom|top/g,t=>Vnt[t])}function ert(e){return{top:0,right:0,bottom:0,left:0,...e}}function w2e(e){return typeof e!="number"?ert(e):{top:e,right:e,bottom:e,left:e}}function zE(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Fee(e,t,n){let{reference:r,floating:o}=e;const i=Ah(t),a=zW(t),s=UW(a),l=Bv(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(q5(t)){case"start":p[a]-=f*(n&&u?-1:1);break;case"end":p[a]+=f*(n&&u?-1:1);break}return p}const trt=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=Fee(u,r,l),f=r,p={},v=0;for(let h=0;h({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=V5(e,t)||{};if(u==null)return{};const c=w2e(d),f={x:n,y:r},p=zW(o),v=UW(p),h=await a.getDimensions(u),g=p==="y",y=g?"top":"left",m=g?"bottom":"right",b=g?"clientHeight":"clientWidth",w=i.reference[v]+i.reference[p]-f[p]-i.floating[v],A=f[p]-i.reference[p],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let E=S?S[b]:0;(!E||!await(a.isElement==null?void 0:a.isElement(S)))&&(E=s.floating[b]||i.floating[v]);const D=w/2-A/2,_=E/2-h[v]/2-1,M=Wy(c[y],_),O=Wy(c[m],_),k=M,R=E-h[v]-O,N=E/2-h[v]/2+D,W=aF(k,N,R),B=!l.arrow&&q5(o)!=null&&N!==W&&i.reference[v]/2-(NN<=0)){var O,k;const N=(((O=i.flip)==null?void 0:O.index)||0)+1,W=E[N];if(W&&(!(c==="alignment"?m!==Ah(W):!1)||M.every(j=>Ah(j.placement)===m?j.overflows[0]>0:!0)))return{data:{index:N,overflows:M},reset:{placement:W}};let B=(k=M.filter(z=>z.overflows[0]<=0).sort((z,j)=>z.overflows[1]-j.overflows[1])[0])==null?void 0:k.placement;if(!B)switch(p){case"bestFit":{var R;const z=(R=M.filter(j=>{if(S){const q=Ah(j.placement);return q===m||q==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(q=>q>0).reduce((q,Y)=>q+Y,0)]).sort((j,q)=>j[1]-q[1])[0])==null?void 0:R[0];z&&(B=z);break}case"initialPlacement":B=s;break}if(o!==B)return{reset:{placement:B}}}return{}}}},ort=new Set(["left","top"]);async function irt(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Bv(n),s=q5(n),l=Ah(n)==="y",u=ort.has(a)?-1:1,d=i&&l?-1:1,c=V5(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return s&&typeof v=="number"&&(p=s==="end"?v*-1:v),l?{x:p*d,y:f*u}:{x:f*u,y:p*d}}const art=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await irt(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},srt=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:y,y:m}=g;return{x:y,y:m}}},...l}=V5(e,t),u={x:n,y:r},d=await $W(t,l),c=Ah(Bv(o)),f=b2e(c);let p=u[f],v=u[c];if(i){const g=f==="y"?"top":"left",y=f==="y"?"bottom":"right",m=p+d[g],b=p-d[y];p=aF(m,p,b)}if(a){const g=c==="y"?"top":"left",y=c==="y"?"bottom":"right",m=v+d[g],b=v-d[y];v=aF(m,v,b)}const h=s.fn({...t,[f]:p,[c]:v});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:i,[c]:a}}}}}};function bD(){return typeof window<"u"}function Vb(e){return A2e(e)?(e.nodeName||"").toLowerCase():"#document"}function du(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function nf(e){var t;return(t=(A2e(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function A2e(e){return bD()?e instanceof Node||e instanceof du(e).Node:!1}function Vc(e){return bD()?e instanceof Element||e instanceof du(e).Element:!1}function Vd(e){return bD()?e instanceof HTMLElement||e instanceof du(e).HTMLElement:!1}function Uee(e){return!bD()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof du(e).ShadowRoot}const lrt=new Set(["inline","contents"]);function G5(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=qc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!lrt.has(o)}const urt=new Set(["table","td","th"]);function crt(e){return urt.has(Vb(e))}const drt=[":popover-open",":modal"];function wD(e){return drt.some(t=>{try{return e.matches(t)}catch{return!1}})}const frt=["transform","translate","scale","rotate","perspective"],prt=["transform","translate","scale","rotate","perspective","filter"],hrt=["paint","layout","strict","content"];function jW(e){const t=HW(),n=Vc(e)?qc(e):e;return frt.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||prt.some(r=>(n.willChange||"").includes(r))||hrt.some(r=>(n.contain||"").includes(r))}function grt(e){let t=d0(e);for(;Vd(t)&&!Vy(t);){if(jW(t))return t;if(wD(t))return null;t=d0(t)}return null}function HW(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const vrt=new Set(["html","body","#document"]);function Vy(e){return vrt.has(Vb(e))}function qc(e){return du(e).getComputedStyle(e)}function AD(e){return Vc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function d0(e){if(Vb(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Uee(e)&&e.host||nf(e);return Uee(t)?t.host:t}function C2e(e){const t=d0(e);return Vy(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vd(t)&&G5(t)?t:C2e(t)}function fA(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=C2e(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=du(o);if(i){const s=lF(a);return t.concat(a,a.visualViewport||[],G5(o)?o:[],s&&n?fA(s):[])}return t.concat(o,fA(o,[],n))}function lF(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function x2e(e){const t=qc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Vd(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=FE(n)!==i||FE(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function WW(e){return Vc(e)?e:e.contextElement}function sy(e){const t=WW(e);if(!Vd(t))return Ld(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=x2e(t);let a=(i?FE(n.width):n.width)/r,s=(i?FE(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const mrt=Ld(0);function S2e(e){const t=du(e);return!HW()||!t.visualViewport?mrt:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yrt(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==du(e)?!1:t}function Lv(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=WW(e);let a=Ld(1);t&&(r?Vc(r)&&(a=sy(r)):a=sy(e));const s=yrt(i,n,r)?S2e(i):Ld(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,d=o.width/a.x,c=o.height/a.y;if(i){const f=du(i),p=r&&Vc(r)?du(r):r;let v=f,h=lF(v);for(;h&&r&&p!==v;){const g=sy(h),y=h.getBoundingClientRect(),m=qc(h),b=y.left+(h.clientLeft+parseFloat(m.paddingLeft))*g.x,w=y.top+(h.clientTop+parseFloat(m.paddingTop))*g.y;l*=g.x,u*=g.y,d*=g.x,c*=g.y,l+=b,u+=w,v=du(h),h=lF(v)}}return zE({width:d,height:c,x:l,y:u})}function CD(e,t){const n=AD(e).scrollLeft;return t?t.left+n:Lv(nf(e)).left+n}function E2e(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-CD(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function brt(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=nf(r),s=t?wD(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Ld(1);const d=Ld(0),c=Vd(r);if((c||!c&&!i)&&((Vb(r)!=="body"||G5(a))&&(l=AD(r)),Vd(r))){const p=Lv(r);u=sy(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const f=a&&!c&&!i?E2e(a,l):Ld(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+f.x,y:n.y*u.y-l.scrollTop*u.y+d.y+f.y}}function wrt(e){return Array.from(e.getClientRects())}function Art(e){const t=nf(e),n=AD(e),r=e.ownerDocument.body,o=ev(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ev(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+CD(e);const s=-n.scrollTop;return qc(r).direction==="rtl"&&(a+=ev(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}const zee=25;function Crt(e,t){const n=du(e),r=nf(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const d=HW();(!d||d&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}const u=CD(r);if(u<=0){const d=r.ownerDocument,c=d.body,f=getComputedStyle(c),p=d.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,v=Math.abs(r.clientWidth-c.clientWidth-p);v<=zee&&(i-=v)}else u<=zee&&(i+=u);return{width:i,height:a,x:s,y:l}}const xrt=new Set(["absolute","fixed"]);function Srt(e,t){const n=Lv(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Vd(e)?sy(e):Ld(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function $ee(e,t,n){let r;if(t==="viewport")r=Crt(e,n);else if(t==="document")r=Art(nf(e));else if(Vc(t))r=Srt(t,n);else{const o=S2e(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return zE(r)}function k2e(e,t){const n=d0(e);return n===t||!Vc(n)||Vy(n)?!1:qc(n).position==="fixed"||k2e(n,t)}function Ert(e,t){const n=t.get(e);if(n)return n;let r=fA(e,[],!1).filter(s=>Vc(s)&&Vb(s)!=="body"),o=null;const i=qc(e).position==="fixed";let a=i?d0(e):e;for(;Vc(a)&&!Vy(a);){const s=qc(a),l=jW(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&xrt.has(o.position)||G5(a)&&!l&&k2e(e,a))?r=r.filter(d=>d!==a):o=s,a=d0(a)}return t.set(e,r),r}function krt(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?wD(t)?[]:Ert(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,d)=>{const c=$ee(t,d,o);return u.top=ev(c.top,u.top),u.right=Wy(c.right,u.right),u.bottom=Wy(c.bottom,u.bottom),u.left=ev(c.left,u.left),u},$ee(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Trt(e){const{width:t,height:n}=x2e(e);return{width:t,height:n}}function _rt(e,t,n){const r=Vd(t),o=nf(t),i=n==="fixed",a=Lv(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Ld(0);function u(){l.x=CD(o)}if(r||!r&&!i)if((Vb(t)!=="body"||G5(o))&&(s=AD(t)),r){const p=Lv(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&u();i&&!r&&o&&u();const d=o&&!r&&!i?E2e(o,s):Ld(0),c=a.left+s.scrollLeft-l.x-d.x,f=a.top+s.scrollTop-l.y-d.y;return{x:c,y:f,width:a.width,height:a.height}}function NI(e){return qc(e).position==="static"}function jee(e,t){if(!Vd(e)||qc(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return nf(e)===n&&(n=n.ownerDocument.body),n}function T2e(e,t){const n=du(e);if(wD(e))return n;if(!Vd(e)){let o=d0(e);for(;o&&!Vy(o);){if(Vc(o)&&!NI(o))return o;o=d0(o)}return n}let r=jee(e,t);for(;r&&crt(r)&&NI(r);)r=jee(r,t);return r&&Vy(r)&&NI(r)&&!jW(r)?n:r||grt(e)||n}const Drt=async function(e){const t=this.getOffsetParent||T2e,n=this.getDimensions,r=await n(e.floating);return{reference:_rt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Irt(e){return qc(e).direction==="rtl"}const Ort={convertOffsetParentRelativeRectToViewportRelativeRect:brt,getDocumentElement:nf,getClippingRect:krt,getOffsetParent:T2e,getElementRects:Drt,getClientRects:wrt,getDimensions:Trt,getScale:sy,isElement:Vc,isRTL:Irt};function _2e(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mrt(e,t){let n=null,r;const o=nf(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:d,top:c,width:f,height:p}=u;if(s||t(),!f||!p)return;const v=Tx(c),h=Tx(o.clientWidth-(d+f)),g=Tx(o.clientHeight-(c+p)),y=Tx(d),b={rootMargin:-v+"px "+-h+"px "+-g+"px "+-y+"px",threshold:ev(0,Wy(1,l))||1};let w=!0;function A(S){const E=S[0].intersectionRatio;if(E!==l){if(!w)return a();E?a(!1,E):r=setTimeout(()=>{a(!1,1e-7)},1e3)}E===1&&!_2e(u,e.getBoundingClientRect())&&a(),w=!1}try{n=new IntersectionObserver(A,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(A,b)}n.observe(e)}return a(!0),i}function Prt(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=WW(e),d=o||i?[...u?fA(u):[],...fA(t)]:[];d.forEach(y=>{o&&y.addEventListener("scroll",n,{passive:!0}),i&&y.addEventListener("resize",n)});const c=u&&s?Mrt(u,n):null;let f=-1,p=null;a&&(p=new ResizeObserver(y=>{let[m]=y;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let v,h=l?Lv(e):null;l&&g();function g(){const y=Lv(e);h&&!_2e(h,y)&&n(),h=y,v=requestAnimationFrame(g)}return n(),()=>{var y;d.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c?.(),(y=p)==null||y.disconnect(),p=null,l&&cancelAnimationFrame(v)}}const Nrt=$W,D2e=art,Rrt=srt,Brt=rrt,I2e=nrt,O2e=(e,t,n)=>{const r=new Map,o={platform:Ort,...n},i={...o.platform,_c:r};return trt(e,t,{...o,platform:i})},Lrt=Jt({style:{type:ct([String,Object,Array]),default:()=>({})}}),Frt=nt({name:"ElVisuallyHidden"}),Urt=nt({...Frt,props:Lrt,setup(e){const t=e,n=ee(()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(r,o)=>(L(),G("span",vr(r.$attrs,{style:C(n)}),[ht(r.$slots,"default")],16))}});var zrt=on(Urt,[["__file","visual-hidden.vue"]]);Jt({});const $rt=e=>{if(!Xr)return;if(!e)return e;const t=Ta(e);return t||(Uo(e)?t:e)},jrt=({middleware:e,placement:t,strategy:n})=>{const r=K(),o=K(),i=K(),a=K(),s=K({}),l={x:i,y:a,placement:t,strategy:n,middlewareData:s},u=async()=>{if(!Xr)return;const d=$rt(r),c=Ta(o);if(!d||!c)return;const f=await O2e(d,c,{placement:C(t),strategy:C(n),middleware:C(e)});My(l).forEach(p=>{l[p].value=f[p]})};return qn(()=>{Es(()=>{u()})}),{...l,update:u,referenceRef:r,contentRef:o}},Hrt=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const r=C(e);return r?I2e({element:r,padding:t}).fn(n):{}}}),Wrt=nt({name:"ElTooltipV2Content"}),Vrt=nt({...Wrt,props:{...BW,...v2e},setup(e){const t=e,{triggerRef:n,contentId:r}=dn(yD),o=K(t.placement),i=K(t.strategy),a=K(null),{referenceRef:s,contentRef:l,middlewareData:u,x:d,y:c,update:f}=jrt({placement:o,strategy:i,middleware:ee(()=>{const b=[D2e(t.offset)];return t.showArrow&&b.push(Hrt({arrowRef:a})),b})}),p=Fb().nextZIndex(),v=Vt("tooltip-v2"),h=ee(()=>o.value.split("-")[0]),g=ee(()=>({position:C(i),top:`${C(c)||0}px`,left:`${C(d)||0}px`,zIndex:p})),y=ee(()=>{if(!t.showArrow)return{};const{arrow:b}=C(u);return{[`--${v.namespace.value}-tooltip-v2-arrow-x`]:`${b?.x}px`||"",[`--${v.namespace.value}-tooltip-v2-arrow-y`]:`${b?.y}px`||""}}),m=ee(()=>[v.e("content"),v.is("dark",t.effect==="dark"),v.is(C(i)),t.contentClass]);return St(a,()=>f()),St(()=>t.placement,b=>o.value=b),qn(()=>{St(()=>t.reference||n.value,b=>{s.value=b||void 0},{immediate:!0})}),_r(y2e,{arrowRef:a}),(b,w)=>(L(),G("div",{ref_key:"contentRef",ref:l,style:rn(C(g)),"data-tooltip-v2-root":""},[b.nowrap?xe("v-if",!0):(L(),G("div",{key:0,"data-side":C(h),class:oe(C(m))},[ht(b.$slots,"default",{contentStyle:C(g),contentClass:C(m)}),He(C(zrt),{id:C(r),role:"tooltip"},{default:rt(()=>[b.ariaLabel?(L(),G(Rt,{key:0},[bn(je(b.ariaLabel),1)],64)):ht(b.$slots,"default",{key:1})]),_:3},8,["id"]),ht(b.$slots,"arrow",{style:rn(C(y)),side:C(h)})],10,["data-side"]))],4))}});var Hee=on(Vrt,[["__file","content.vue"]]);const qrt=Jt({setRef:{type:ct(Function),required:!0},onlyChild:Boolean});var Grt=nt({props:qrt,setup(e,{slots:t}){const n=K(),r=hD(n,o=>{o?e.setRef(o.nextElementSibling):e.setRef(null)});return()=>{var o;const[i]=((o=t.default)==null?void 0:o.call(t))||[],a=e.onlyChild?bje(i.children):i.children;return He(Rt,{ref:r},[a])}}});const Krt=nt({name:"ElTooltipV2Trigger"}),Yrt=nt({...Krt,props:{...v2e,...FW},setup(e){const t=e,{onClose:n,onOpen:r,onDelayOpen:o,triggerRef:i,contentId:a}=dn(yD);let s=!1;const l=m=>{i.value=m},u=()=>{s=!1},d=Li(t.onMouseEnter,o),c=Li(t.onMouseLeave,n),f=Li(t.onMouseDown,()=>{n(),s=!0,document.addEventListener("mouseup",u,{once:!0})}),p=Li(t.onFocus,()=>{s||r()}),v=Li(t.onBlur,n),h=Li(t.onClick,m=>{m.detail===0&&n()}),g={blur:v,click:h,focus:p,mousedown:f,mouseenter:d,mouseleave:c},y=(m,b,w)=>{m&&Object.entries(b).forEach(([A,S])=>{m[w](A,S)})};return St(i,(m,b)=>{y(m,g,"addEventListener"),y(b,g,"removeEventListener"),m&&m.setAttribute("aria-describedby",a.value)}),Jr(()=>{y(i.value,g,"removeEventListener"),document.removeEventListener("mouseup",u)}),(m,b)=>m.nowrap?(L(),yt(C(Grt),{key:0,"set-ref":l,"only-child":""},{default:rt(()=>[ht(m.$slots,"default")]),_:3})):(L(),G("button",vr({key:1,ref_key:"triggerRef",ref:i},m.$attrs),[ht(m.$slots,"default")],16))}});var Qrt=on(Yrt,[["__file","trigger.vue"]]);const Zrt=nt({name:"ElTooltipV2"}),Xrt=nt({...Zrt,props:Unt,setup(e){const n=Oa(e),r=Wr(uu(n,Object.keys(RW))),o=Wr(uu(n,Object.keys(BW))),i=Wr(uu(n,Object.keys(LW))),a=Wr(uu(n,Object.keys(FW)));return(s,l)=>(L(),yt(jnt,Il($d(i)),{default:rt(({open:u})=>[He(Qrt,vr(a,{nowrap:""}),{default:rt(()=>[ht(s.$slots,"trigger")]),_:3},16),He(C(jb),{to:s.to,disabled:!s.teleported},{default:rt(()=>[s.fullTransition?(L(),yt(Ki,Il(vr({key:0},s.transitionProps)),{default:rt(()=>[s.alwaysOn||u?(L(),yt(Hee,Il(vr({key:0},o)),{arrow:rt(({style:d,side:c})=>[s.showArrow?(L(),yt(Ree,vr({key:0},r,{style:d,side:c}),null,16,["style","side"])):xe("v-if",!0)]),default:rt(()=>[ht(s.$slots,"default")]),_:3},16)):xe("v-if",!0)]),_:2},1040)):(L(),G(Rt,{key:1},[s.alwaysOn||u?(L(),yt(Hee,Il(vr({key:0},o)),{arrow:rt(({style:d,side:c})=>[s.showArrow?(L(),yt(Ree,vr({key:0},r,{style:d,side:c}),null,16,["style","side"])):xe("v-if",!0)]),default:rt(()=>[ht(s.$slots,"default")]),_:3},16)):xe("v-if",!0)],64))]),_:2},1032,["to","disabled"])]),_:3},16))}});var Jrt=on(Xrt,[["__file","tooltip.vue"]]);const eot=or(Jrt),M2e="left-check-change",P2e="right-check-change",P1=Jt({data:{type:ct(Array),default:()=>[]},titles:{type:ct(Array),default:()=>[]},buttonTexts:{type:ct(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:ct(Function)},leftDefaultChecked:{type:ct(Array),default:()=>[]},rightDefaultChecked:{type:ct(Array),default:()=>[]},renderContent:{type:ct(Function)},modelValue:{type:ct(Array),default:()=>[]},format:{type:ct(Object),default:()=>({})},filterable:Boolean,props:{type:ct(Object),default:()=>fi({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),uF=(e,t)=>[e,t].every(Zt)||Zt(e)&&ea(t),tot={[Pr]:(e,t,n)=>[e,n].every(Zt)&&["left","right"].includes(t),[Qn]:e=>Zt(e),[M2e]:uF,[P2e]:uF},cF="checked-change",not=Jt({data:P1.data,optionRender:{type:ct(Function)},placeholder:String,title:String,filterable:Boolean,format:P1.format,filterMethod:P1.filterMethod,defaultChecked:P1.leftDefaultChecked,props:P1.props}),rot={[cF]:uF},K5=e=>{const t={label:"label",key:"key",disabled:"disabled"};return ee(()=>({...t,...e.props}))},oot=(e,t,n)=>{const r=K5(e),o=ee(()=>e.data.filter(d=>Rn(e.filterMethod)?e.filterMethod(t.query,d):String(d[r.value.label]||d[r.value.key]).toLowerCase().includes(t.query.toLowerCase()))),i=ee(()=>o.value.filter(d=>!d[r.value.disabled])),a=ee(()=>{const d=t.checked.length,c=e.data.length,{noChecked:f,hasChecked:p}=e.format;return f&&p?d>0?p.replace(/\${checked}/g,d.toString()).replace(/\${total}/g,c.toString()):f.replace(/\${total}/g,c.toString()):`${d}/${c}`}),s=ee(()=>{const d=t.checked.length;return d>0&&d{const d=i.value.map(c=>c[r.value.key]);t.allChecked=d.length>0&&d.every(c=>t.checked.includes(c))},u=d=>{t.checked=d?i.value.map(c=>c[r.value.key]):[]};return St(()=>t.checked,(d,c)=>{if(l(),t.checkChangeByUser){const f=d.concat(c).filter(p=>!d.includes(p)||!c.includes(p));n(cF,d,f)}else n(cF,d),t.checkChangeByUser=!0}),St(i,()=>{l()}),St(()=>e.data,()=>{const d=[],c=o.value.map(f=>f[r.value.key]);t.checked.forEach(f=>{c.includes(f)&&d.push(f)}),t.checkChangeByUser=!1,t.checked=d}),St(()=>e.defaultChecked,(d,c)=>{if(c&&d.length===c.length&&d.every(v=>c.includes(v)))return;const f=[],p=i.value.map(v=>v[r.value.key]);d.forEach(v=>{p.includes(v)&&f.push(v)}),t.checkChangeByUser=!1,t.checked=f},{immediate:!0}),{filteredData:o,checkableData:i,checkedSummary:a,isIndeterminate:s,updateAllChecked:l,handleAllCheckedChange:u}},iot=nt({name:"ElTransferPanel"}),aot=nt({...iot,props:not,emits:rot,setup(e,{expose:t,emit:n}){const r=e,o=ga(),i=({option:b})=>b,{t:a}=Gr(),s=Vt("transfer"),l=Wr({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=K5(r),{filteredData:d,checkedSummary:c,isIndeterminate:f,handleAllCheckedChange:p}=oot(r,l,n),v=ee(()=>!iu(l.query)&&iu(d.value)),h=ee(()=>!iu(o.default()[0].children)),{checked:g,allChecked:y,query:m}=Oa(l);return t({query:m}),(b,w)=>(L(),G("div",{class:oe(C(s).b("panel"))},[x("p",{class:oe(C(s).be("panel","header"))},[He(C(tc),{modelValue:C(y),"onUpdate:modelValue":A=>Uo(y)?y.value=A:null,indeterminate:C(f),"validate-event":!1,onChange:C(p)},{default:rt(()=>[bn(je(b.title)+" ",1),x("span",null,je(C(c)),1)]),_:1},8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])],2),x("div",{class:oe([C(s).be("panel","body"),C(s).is("with-footer",C(h))])},[b.filterable?(L(),yt(C(js),{key:0,modelValue:C(m),"onUpdate:modelValue":A=>Uo(m)?m.value=A:null,class:oe(C(s).be("panel","filter")),size:"default",placeholder:b.placeholder,"prefix-icon":C(OLe),clearable:"","validate-event":!1},null,8,["modelValue","onUpdate:modelValue","class","placeholder","prefix-icon"])):xe("v-if",!0),cn(He(C(rye),{modelValue:C(g),"onUpdate:modelValue":A=>Uo(g)?g.value=A:null,"validate-event":!1,class:oe([C(s).is("filterable",b.filterable),C(s).be("panel","list")])},{default:rt(()=>[(L(!0),G(Rt,null,un(C(d),A=>(L(),yt(C(tc),{key:A[C(u).key],class:oe(C(s).be("panel","item")),value:A[C(u).key],disabled:A[C(u).disabled],"validate-event":!1},{default:rt(()=>{var S;return[He(i,{option:(S=b.optionRender)==null?void 0:S.call(b,A)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","onUpdate:modelValue","class"]),[[kr,!C(v)&&!C(iu)(b.data)]]),cn(x("div",{class:oe(C(s).be("panel","empty"))},[ht(b.$slots,"empty",{},()=>[bn(je(C(v)?C(a)("el.transfer.noMatch"):C(a)("el.transfer.noData")),1)])],2),[[kr,C(v)||C(iu)(b.data)]])],2),C(h)?(L(),G("p",{key:0,class:oe(C(s).be("panel","footer"))},[ht(b.$slots,"default")],2)):xe("v-if",!0)],2))}});var Wee=on(aot,[["__file","transfer-panel.vue"]]);const sot=e=>{const t=K5(e),n=ee(()=>e.data.reduce((i,a)=>(i[a[t.value.key]]=a)&&i,{})),r=ee(()=>e.data.filter(i=>!e.modelValue.includes(i[t.value.key]))),o=ee(()=>e.targetOrder==="original"?e.data.filter(i=>e.modelValue.includes(i[t.value.key])):e.modelValue.reduce((i,a)=>{const s=n.value[a];return s&&i.push(s),i},[]));return{sourceData:r,targetData:o}},lot=(e,t,n)=>{const r=K5(e),o=(s,l,u)=>{n(Qn,s),n(Pr,s,l,u)};return{addToLeft:()=>{const s=e.modelValue.slice();t.rightChecked.forEach(l=>{const u=s.indexOf(l);u>-1&&s.splice(u,1)}),o(s,"left",t.rightChecked)},addToRight:()=>{let s=e.modelValue.slice();const l=e.data.filter(u=>{const d=u[r.value.key];return t.leftChecked.includes(d)&&!e.modelValue.includes(d)}).map(u=>u[r.value.key]);s=e.targetOrder==="unshift"?l.concat(s):s.concat(l),e.targetOrder==="original"&&(s=e.data.filter(u=>s.includes(u[r.value.key])).map(u=>u[r.value.key])),o(s,"right",t.leftChecked)}}},uot=(e,t)=>({onSourceCheckedChange:(o,i)=>{e.leftChecked=o,i&&t(M2e,o,i)},onTargetCheckedChange:(o,i)=>{e.rightChecked=o,i&&t(P2e,o,i)}}),cot=nt({name:"ElTransfer"}),dot=nt({...cot,props:P1,emits:tot,setup(e,{expose:t,emit:n}){const r=e,o=ga(),{t:i}=Gr(),a=Vt("transfer"),{formItem:s}=Ds(),l=Wr({leftChecked:[],rightChecked:[]}),u=K5(r),{sourceData:d,targetData:c}=sot(r),{onSourceCheckedChange:f,onTargetCheckedChange:p}=uot(l,n),{addToLeft:v,addToRight:h}=lot(r,l,n),g=K(),y=K(),m=D=>{switch(D){case"left":g.value.query="";break;case"right":y.value.query="";break}},b=ee(()=>r.buttonTexts.length===2),w=ee(()=>r.titles[0]||i("el.transfer.titles.0")),A=ee(()=>r.titles[1]||i("el.transfer.titles.1")),S=ee(()=>r.filterPlaceholder||i("el.transfer.filterPlaceholder"));St(()=>r.modelValue,()=>{var D;r.validateEvent&&((D=s?.validate)==null||D.call(s,"change").catch(_=>void 0))});const E=ee(()=>D=>{var _;if(r.renderContent)return r.renderContent(jn,D);const M=(((_=o.default)==null?void 0:_.call(o,{option:D}))||[]).filter(O=>O.type!==da);return M.length?M:jn("span",D[u.value.label]||D[u.value.key])});return t({clearQuery:m,leftPanel:g,rightPanel:y}),(D,_)=>(L(),G("div",{class:oe(C(a).b())},[He(Wee,{ref_key:"leftPanel",ref:g,data:C(d),"option-render":C(E),placeholder:C(S),title:C(w),filterable:D.filterable,format:D.format,"filter-method":D.filterMethod,"default-checked":D.leftDefaultChecked,props:r.props,onCheckedChange:C(f)},{empty:rt(()=>[ht(D.$slots,"left-empty")]),default:rt(()=>[ht(D.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),x("div",{class:oe(C(a).e("buttons"))},[He(C(Xa),{type:"primary",class:oe([C(a).e("button"),C(a).is("with-texts",C(b))]),disabled:C(iu)(l.rightChecked),onClick:C(v)},{default:rt(()=>[He(C(Dn),null,{default:rt(()=>[He(C(Jf))]),_:1}),C(Vr)(D.buttonTexts[0])?xe("v-if",!0):(L(),G("span",{key:0},je(D.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),He(C(Xa),{type:"primary",class:oe([C(a).e("button"),C(a).is("with-texts",C(b))]),disabled:C(iu)(l.leftChecked),onClick:C(h)},{default:rt(()=>[C(Vr)(D.buttonTexts[1])?xe("v-if",!0):(L(),G("span",{key:0},je(D.buttonTexts[1]),1)),He(C(Dn),null,{default:rt(()=>[He(C(Da))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),He(Wee,{ref_key:"rightPanel",ref:y,data:C(c),"option-render":C(E),placeholder:C(S),filterable:D.filterable,format:D.format,"filter-method":D.filterMethod,title:C(A),"default-checked":D.rightDefaultChecked,props:r.props,onCheckedChange:C(p)},{empty:rt(()=>[ht(D.$slots,"right-empty")]),default:rt(()=>[ht(D.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var fot=on(dot,[["__file","transfer.vue"]]);const pot=or(fot),ly="$treeNodeId",Vee=function(e,t){!t||t[ly]||Object.defineProperty(t,ly,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},VW=(e,t)=>t?.[e||ly],dF=(e,t,n)=>{const r=e.value.currentNode;n();const o=e.value.currentNode;r!==o&&t("current-change",o?o.data:null,o)},fF=e=>{let t=!0,n=!0,r=!0;for(let o=0,i=e.length;o{n.canFocus=t,pF(n.childNodes,t)})};let hot=0,hF=class WS{constructor(t){this.isLeafByUser=void 0,this.isLeaf=void 0,this.id=hot++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)no(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const n=this.store;if(!n)throw new Error("[Node]store is required!");n.registerNode(this);const r=n.props;if(r&&typeof r.isLeaf<"u"){const a=_x(this,"isLeaf");Eo(a)&&(this.isLeafByUser=a)}if(n.lazy!==!0&&this.data?(this.setData(this.data),n.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&n.lazy&&n.defaultExpandAll&&!this.isLeafByUser&&this.expand(),Zt(this.data)||Vee(this,this.data),!this.data)return;const o=n.defaultExpandedKeys,i=n.key;i&&!ea(this.key)&&o&&o.includes(this.key)&&this.expand(null,n.autoExpandParent),i&&n.currentNodeKey!==void 0&&this.key===n.currentNodeKey&&(n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){Zt(t)||Vee(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&Zt(this.data)?n=this.data:n=_x(this,"children")||[];for(let r=0,o=n.length;r-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(r=>r===t||n&&r.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,r){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof WS)){if(!r){const o=this.getChildren(!0);o?.includes(t.data)||(Vr(n)||n<0?o?.push(t.data):o?.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=Wr(new WS(t)),t instanceof WS&&t.initialize()}t.level=this.level+1,Vr(n)||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let r;n&&(r=this.childNodes.indexOf(n)),this.insertChild(t,r)}insertAfter(t,n){let r;n&&(r=this.childNodes.indexOf(n),r!==-1&&(r+=1)),this.insertChild(t,r)}removeChild(t){const n=this.getChildren()||[],r=n.indexOf(t.data);r>-1&&n.splice(r,1);const o=this.childNodes.indexOf(t);o>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(o,1)),this.updateLeafState()}removeChildByData(t){let n=null;for(let r=0;r{if(n){let o=this.parent;for(;o&&o.level>0;)o.expanded=!0,o=o.parent}this.expanded=!0,t&&t(),pF(this.childNodes,!0)};this.shouldLoadData()?this.loadData(o=>{Zt(o)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||S4(this),r())}):r()}doCreateChildren(t,n={}){t.forEach(r=>{this.insertChild(Object.assign({data:r},n),void 0,!0)})}collapse(){this.expanded=!1,pF(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,n,r,o){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:a,allWithoutDisable:s}=fF(this.childNodes);!this.isLeaf&&!a&&s&&(this.checked=!1,t=!1);const l=()=>{if(n){const u=this.childNodes;for(let f=0,p=u.length;f{l(),S4(this)},{checked:t!==!1});return}else l()}const i=this.parent;!i||i.level===0||r||S4(i)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const r=this.store.props;let o="children";return r&&(o=r.children||"children"),Vr(n[o])&&(n[o]=null),t&&!n[o]&&(n[o]=[]),n[o]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(i=>i.data),r={},o=[];t.forEach((i,a)=>{const s=i[ly];!!s&&n.findIndex(u=>u?.[ly]===s)>=0?r[s]={index:a,data:i}:o.push({index:a,data:i})}),this.store.lazy||n.forEach(i=>{r[i?.[ly]]||this.removeChildByData(i)}),o.forEach(({index:i,data:a})=>{this.insertChild({data:a},i)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const r=i=>{this.childNodes=[],this.doCreateChildren(i,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,i)},o=()=>{this.loading=!1};this.store.load(this,r,o)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const r=n.shift();n.unshift(...r.childNodes),t(r)}}reInitChecked(){this.store.checkStrictly||S4(this)}};class got{constructor(t){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const n in t)no(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new hF({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()},bo)}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,r=this.lazy,o=async function(i){const a=i.root?i.root.childNodes:i.childNodes;for(const[s,l]of a.entries())l.visible=!!n?.call(l,t,l.data,l),s%80===0&&s>0&&await Yt(),await o(l);if(!i.visible&&a.length){let s=!0;s=!a.some(l=>l.visible),i.root?i.root.visible=s===!1:i.visible=s===!1}t&&i.visible&&!i.isLeaf&&(!r||i.loaded)&&i.expand()};o(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof hF)return t;const n=dr(t)?VW(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){var r;const o=this.getNode(n);(r=o.parent)==null||r.insertBefore({data:t},o)}insertAfter(t,n){var r;const o=this.getNode(n);(r=o.parent)==null||r.insertAfter({data:t},o)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const r=Bl(n)?this.root:this.getNode(n);r&&r.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(r=>{const o=n[r];o&&o.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const n=this.defaultCheckedKeys||[];!ea(t.key)&&n.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;if(!(!t||!t.data))if(!n)this.nodesMap[t.id]=t;else{const r=t.key;ea(r)||(this.nodesMap[r]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const r=[],o=function(i){(i.root?i.root.childNodes:i.childNodes).forEach(s=>{(s.checked||n&&s.indeterminate)&&(!t||t&&s.isLeaf)&&r.push(s.data),o(s)})};return o(this),r}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(i=>{i.indeterminate&&t.push(i.data),n(i)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const r in n)no(n,r)&&t.push(n[r]);return t}updateChildren(t,n){const r=this.nodesMap[t];if(!r)return;const o=r.childNodes;for(let i=o.length-1;i>=0;i--){const a=o[i];this.remove(a.data)}for(let i=0,a=n.length;il.level-u.level),i=Object.create(null),a=Object.keys(r);o.forEach(l=>l.setChecked(!1,!1));const s=l=>{l.childNodes.forEach(u=>{var d;i[u.data[t]]=!0,(d=u.childNodes)!=null&&d.length&&s(u)})};for(let l=0,u=o.length;l{g.isLeaf||g.setChecked(!1,!1),p(g)})};p(d)}}}setCheckedNodes(t,n=!1){const r=this.key,o={};t.forEach(i=>{o[(i||{})[r]]=!0}),this._setCheckedKeys(r,n,o)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const r=this.key,o={};t.forEach(i=>{o[i]=!0}),this._setCheckedKeys(r,n,o)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const r=this.getNode(n);r&&r.expand(null,this.autoExpandParent)})}setChecked(t,n,r){const o=this.getNode(t);o&&o.setChecked(!!n,r)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){var r;const o=t[this.key],i=this.nodesMap[o];this.setCurrentNode(i),n&&this.currentNode&&this.currentNode.level>1&&((r=this.currentNode.parent)==null||r.expand(null,!0))}setCurrentNodeKey(t,n=!0){var r;if(this.currentNodeKey=t,Bl(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const o=this.getNode(t);o&&(this.setCurrentNode(o),n&&this.currentNode&&this.currentNode.level>1&&((r=this.currentNode.parent)==null||r.expand(null,!0)))}}const qW="RootTree",N2e="NodeInstance",qee="TreeNodeMap",vot=nt({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Vt("tree"),n=dn(N2e),r=dn(qW);return()=>{const o=e.node,{data:i,store:a}=o;return e.renderContent?e.renderContent(jn,{_self:n,node:o,data:i,store:a}):ht(r.ctx.slots,"default",{node:o,data:i},()=>[jn(NW,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[o.label])])}}});var mot=on(vot,[["__file","tree-node-content.vue"]]);function R2e(e){const t=dn(qee,null),n={treeNodeExpand:r=>{var o;e.node!==r&&((o=e.node)==null||o.collapse())},children:[]};return t&&t.children.push(n),_r(qee,n),{broadcastExpanded:r=>{if(e.accordion)for(const o of n.children)o.treeNodeExpand(r)}}}const B2e=Symbol("dragEvents");function yot({props:e,ctx:t,el$:n,dropIndicator$:r,store:o}){const i=Vt("tree"),a=K({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return _r(B2e,{treeNodeDragStart:({event:d,treeNode:c})=>{if(d.dataTransfer){if(Rn(e.allowDrag)&&!e.allowDrag(c.node))return d.preventDefault(),!1;d.dataTransfer.effectAllowed="move";try{d.dataTransfer.setData("text/plain","")}catch{}a.value.draggingNode=c,t.emit("node-drag-start",c.node,d)}},treeNodeDragOver:({event:d,treeNode:c})=>{if(!d.dataTransfer)return;const f=c,p=a.value.dropNode;p&&p.node.id!==f.node.id&&Ws(p.$el,i.is("drop-inner"));const v=a.value.draggingNode;if(!v||!f)return;let h=!0,g=!0,y=!0,m=!0;Rn(e.allowDrop)&&(h=e.allowDrop(v.node,f.node,"prev"),m=g=e.allowDrop(v.node,f.node,"inner"),y=e.allowDrop(v.node,f.node,"next")),d.dataTransfer.dropEffect=g||h||y?"move":"none",(h||g||y)&&p?.node.id!==f.node.id&&(p&&t.emit("node-drag-leave",v.node,p.node,d),t.emit("node-drag-enter",v.node,f.node,d)),h||g||y?a.value.dropNode=f:a.value.dropNode=null,f.node.nextSibling===v.node&&(y=!1),f.node.previousSibling===v.node&&(h=!1),f.node.contains(v.node,!1)&&(g=!1),(v.node===f.node||v.node.contains(f.node))&&(h=!1,g=!1,y=!1);const b=f.$el,w=b.querySelector(`.${i.be("node","content")}`).getBoundingClientRect(),A=n.value.getBoundingClientRect();let S;const E=h?g?.25:y?.45:1:-1,D=y?g?.75:h?.55:0:1;let _=-9999;const M=d.clientY-w.top;Mw.height*D?S="after":g?S="inner":S="none";const O=b.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),k=r.value;S==="before"?_=O.top-A.top:S==="after"&&(_=O.bottom-A.top),k.style.top=`${_}px`,k.style.left=`${O.right-A.left}px`,S==="inner"?zu(b,i.is("drop-inner")):Ws(b,i.is("drop-inner")),a.value.showDropIndicator=S==="before"||S==="after",a.value.allowDrop=a.value.showDropIndicator||m,a.value.dropType=S,t.emit("node-drag-over",v.node,f.node,d)},treeNodeDragEnd:d=>{var c,f;const{draggingNode:p,dropType:v,dropNode:h}=a.value;if(d.preventDefault(),d.dataTransfer&&(d.dataTransfer.dropEffect="move"),p?.node.data&&h){const g={data:p.node.data};v!=="none"&&p.node.remove(),v==="before"?(c=h.node.parent)==null||c.insertBefore(g,h.node):v==="after"?(f=h.node.parent)==null||f.insertAfter(g,h.node):v==="inner"&&h.node.insertChild(g),v!=="none"&&(o.value.registerNode(g),o.value.key&&p.node.eachNode(y=>{var m;(m=o.value.nodesMap[y.data[o.value.key]])==null||m.setChecked(y.checked,!o.value.checkStrictly)})),Ws(h.$el,i.is("drop-inner")),t.emit("node-drag-end",p.node,h.node,v,d),v!=="none"&&t.emit("node-drop",p.node,h.node,v,d)}p&&!h&&t.emit("node-drag-end",p.node,null,v,d),a.value.showDropIndicator=!1,a.value.draggingNode=null,a.value.dropNode=null,a.value.allowDrop=!0}}),{dragState:a}}const bot=nt({name:"ElTreeNode",components:{ElCollapseTransition:fD,ElCheckbox:tc,NodeContent:mot,ElIcon:Dn,Loading:jc},props:{node:{type:hF,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(e,t){const n=Vt("tree"),{broadcastExpanded:r}=R2e(e),o=dn(qW),i=K(!1),a=K(!1),s=K(),l=K(),u=K(),d=dn(B2e),c=br();_r(N2e,c),e.node.expanded&&(i.value=!0,a.value=!0);const f=o.props.props.children||"children";St(()=>{var _;const M=(_=e.node.data)==null?void 0:_[f];return M&&[...M]},()=>{e.node.updateChildren()}),St(()=>e.node.indeterminate,_=>{h(e.node.checked,_)}),St(()=>e.node.checked,_=>{h(_,e.node.indeterminate)}),St(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),St(()=>e.node.expanded,_=>{Yt(()=>i.value=_),_&&(a.value=!0)});const p=_=>VW(o.props.nodeKey,_.data),v=_=>{const M=e.props.class;if(!M)return{};let O;if(Rn(M)){const{data:k}=_;O=M(k,_)}else O=M;return In(O)?{[O]:!0}:O},h=(_,M)=>{(s.value!==_||l.value!==M)&&o.ctx.emit("check-change",e.node.data,_,M),s.value=_,l.value=M},g=_=>{dF(o.store,o.ctx.emit,()=>{var M;if((M=o?.props)==null?void 0:M.nodeKey){const k=p(e.node);o.store.value.setCurrentNodeKey(k)}else o.store.value.setCurrentNode(e.node)}),o.currentNode.value=e.node,o.props.expandOnClickNode&&m(),(o.props.checkOnClickNode||e.node.isLeaf&&o.props.checkOnClickLeaf&&e.showCheckbox)&&!e.node.disabled&&b(!e.node.checked),o.ctx.emit("node-click",e.node.data,e.node,c,_)},y=_=>{var M;(M=o.instance.vnode.props)!=null&&M.onNodeContextmenu&&(_.stopPropagation(),_.preventDefault()),o.ctx.emit("node-contextmenu",_,e.node.data,e.node,c)},m=()=>{e.node.isLeaf||(i.value?(o.ctx.emit("node-collapse",e.node.data,e.node,c),e.node.collapse()):e.node.expand(()=>{t.emit("node-expand",e.node.data,e.node,c)}))},b=_=>{e.node.setChecked(_,!o?.props.checkStrictly),Yt(()=>{const M=o.store.value;o.ctx.emit("check",e.node.data,{checkedNodes:M.getCheckedNodes(),checkedKeys:M.getCheckedKeys(),halfCheckedNodes:M.getHalfCheckedNodes(),halfCheckedKeys:M.getHalfCheckedKeys()})})};return{ns:n,node$:u,tree:o,expanded:i,childNodeRendered:a,oldChecked:s,oldIndeterminate:l,getNodeKey:p,getNodeClass:v,handleSelectChange:h,handleClick:g,handleContextMenu:y,handleExpandIconClick:m,handleCheckChange:b,handleChildNodeExpand:(_,M,O)=>{r(M),o.ctx.emit("node-expand",_,M,O)},handleDragStart:_=>{o.props.draggable&&d.treeNodeDragStart({event:_,treeNode:e})},handleDragOver:_=>{_.preventDefault(),o.props.draggable&&d.treeNodeDragOver({event:_,treeNode:{$el:u.value,node:e.node}})},handleDrop:_=>{_.preventDefault()},handleDragEnd:_=>{o.props.draggable&&d.treeNodeDragEnd(_)},CaretRight:t1e}}});function wot(e,t,n,r,o,i){const a=hr("el-icon"),s=hr("el-checkbox"),l=hr("loading"),u=hr("node-content"),d=hr("el-tree-node"),c=hr("el-collapse-transition");return cn((L(),G("div",{ref:"node$",class:oe([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:en(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:en(e.handleDragStart,["stop"]),onDragover:en(e.handleDragOver,["stop"]),onDragend:en(e.handleDragEnd,["stop"]),onDrop:en(e.handleDrop,["stop"])},[x("div",{class:oe(e.ns.be("node","content")),style:rn({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(L(),yt(a,{key:0,class:oe([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:en(e.handleExpandIconClick,["stop"])},{default:rt(()=>[(L(),yt(mr(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):xe("v-if",!0),e.showCheckbox?(L(),yt(s,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:en(()=>{},["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):xe("v-if",!0),e.node.loading?(L(),yt(a,{key:2,class:oe([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:rt(()=>[He(l)]),_:1},8,["class"])):xe("v-if",!0),He(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),He(c,null,{default:rt(()=>[!e.renderAfterExpand||e.childNodeRendered?cn((L(),G("div",{key:0,class:oe(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:en(()=>{},["stop"])},[(L(!0),G(Rt,null,un(e.node.childNodes,f=>(L(),yt(d,{key:e.getNodeKey(f),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:f,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,["aria-expanded","onClick"])),[[kr,e.expanded]]):xe("v-if",!0)]),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[kr,e.node.visible]])}var Aot=on(bot,[["render",wot],["__file","tree-node.vue"]]);function Cot({el$:e},t){const n=Vt("tree");qn(()=>{i()}),Qc(()=>{Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(s=>{s.setAttribute("tabindex","-1")})});function r(a,s){var l,u;const d=t.value.getNode(a[s].dataset.key);return d.canFocus&&d.visible&&(((l=d.parent)==null?void 0:l.expanded)||((u=d.parent)==null?void 0:u.level)===0)}Ro(e,"keydown",a=>{const s=a.target;if(!s.className.includes(n.b("node")))return;const l=a.code,u=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),d=u.indexOf(s);let c;if([gn.up,gn.down].includes(l)){if(a.preventDefault(),l===gn.up){c=d===-1?0:d!==0?d-1:u.length-1;const p=c;for(;!r(u,c);){if(c--,c===p){c=-1;break}c<0&&(c=u.length-1)}}else{c=d===-1?0:d=u.length&&(c=0)}}c!==-1&&u[c].focus()}[gn.left,gn.right].includes(l)&&(a.preventDefault(),s.click());const f=s.querySelector('[type="checkbox"]');[gn.enter,gn.numpadEnter,gn.space].includes(l)&&f&&(a.preventDefault(),f.click())});const i=()=>{var a;if(!e.value)return;const s=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));Array.from(e.value.querySelectorAll("input[type=checkbox]")).forEach(d=>{d.setAttribute("tabindex","-1")});const u=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(u.length){u[0].setAttribute("tabindex","0");return}(a=s[0])==null||a.setAttribute("tabindex","0")}}const xot=nt({name:"ElTree",components:{ElTreeNode:Aot},props:{data:{type:ct(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:{type:ct(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:ct(Function)},allowDrop:{type:ct(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:wo}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=Gr(),r=Vt("tree"),o=dn(Wb,null),i=K(new got({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));i.value.initialize();const a=K(i.value.root),s=K(null),l=K(null),u=K(null),{broadcastExpanded:d}=R2e(e),{dragState:c}=yot({props:e,ctx:t,el$:l,dropIndicator$:u,store:i});Cot({el$:l},i);const f=ee(()=>{const{childNodes:j}=a.value,q=o?o.hasFilteredOptions!==0:!1;return(!j||j.length===0||j.every(({visible:Y})=>!Y))&&!q});St(()=>e.currentNodeKey,j=>{i.value.setCurrentNodeKey(j??null)}),St(()=>e.defaultCheckedKeys,(j,q)=>{fa(j,q)||i.value.setDefaultCheckedKey(j??[])}),St(()=>e.defaultExpandedKeys,j=>{i.value.setDefaultExpandedKeys(j??[])}),St(()=>e.data,j=>{i.value.setData(j)},{deep:!0}),St(()=>e.checkStrictly,j=>{i.value.checkStrictly=j});const p=j=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");i.value.filter(j)},v=j=>VW(e.nodeKey,j.data),h=j=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const q=i.value.getNode(j);if(!q)return[];const Y=[q.data];let U=q.parent;for(;U&&U!==a.value;)Y.push(U.data),U=U.parent;return Y.reverse()},g=(j,q)=>i.value.getCheckedNodes(j,q),y=j=>i.value.getCheckedKeys(j),m=()=>{const j=i.value.getCurrentNode();return j?j.data:null},b=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const j=m();return j?j[e.nodeKey]:null},w=(j,q)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");i.value.setCheckedNodes(j,q)},A=(j,q)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");i.value.setCheckedKeys(j,q)},S=(j,q,Y)=>{i.value.setChecked(j,q,Y)},E=()=>i.value.getHalfCheckedNodes(),D=()=>i.value.getHalfCheckedKeys(),_=(j,q=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");dF(i,t.emit,()=>{d(j),i.value.setUserCurrentNode(j,q)})},M=(j,q=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");dF(i,t.emit,()=>{d(),i.value.setCurrentNodeKey(j??null,q)})},O=j=>i.value.getNode(j),k=j=>{i.value.remove(j)},R=(j,q)=>{i.value.append(j,q)},N=(j,q)=>{i.value.insertBefore(j,q)},W=(j,q)=>{i.value.insertAfter(j,q)},B=(j,q,Y)=>{d(q),t.emit("node-expand",j,q,Y)},z=(j,q)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");i.value.updateChildren(j,q)};return _r(qW,{ctx:t,props:e,store:i,root:a,currentNode:s,instance:br()}),_r(Hd,void 0),{ns:r,store:i,root:a,currentNode:s,dragState:c,el$:l,dropIndicator$:u,isEmpty:f,filter:p,getNodeKey:v,getNodePath:h,getCheckedNodes:g,getCheckedKeys:y,getCurrentNode:m,getCurrentKey:b,setCheckedNodes:w,setCheckedKeys:A,setChecked:S,getHalfCheckedNodes:E,getHalfCheckedKeys:D,setCurrentNode:_,setCurrentKey:M,t:n,getNode:O,remove:k,append:R,insertBefore:N,insertAfter:W,handleNodeExpand:B,updateKeyChildren:z}}});function Sot(e,t,n,r,o,i){const a=hr("el-tree-node");return L(),G("div",{ref:"el$",class:oe([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(L(!0),G(Rt,null,un(e.root.childNodes,s=>(L(),yt(a,{key:e.getNodeKey(s),node:s,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(L(),G("div",{key:0,class:oe(e.ns.e("empty-block"))},[ht(e.$slots,"empty",{},()=>{var s;return[x("span",{class:oe(e.ns.e("empty-text"))},je((s=e.emptyText)!=null?s:e.t("el.tree.emptyText")),3)]})],2)):xe("v-if",!0),cn(x("div",{ref:"dropIndicator$",class:oe(e.ns.e("drop-indicator"))},null,2),[[kr,e.dragState.showDropIndicator]])],2)}var Eot=on(xot,[["render",Sot],["__file","tree.vue"]]);const $E=or(Eot),kot=(e,{attrs:t,emit:n},{select:r,tree:o,key:i})=>{const a=Vt("tree-select");return St(()=>e.data,()=>{e.filterable&&Yt(()=>{var l,u;(u=o.value)==null||u.filter((l=r.value)==null?void 0:l.states.inputValue)})},{flush:"post"}),{...uu(Oa(e),Object.keys(Nv.props)),...t,class:ee(()=>t.class),style:ee(()=>t.style),"onUpdate:modelValue":l=>n(Qn,l),valueKey:i,popperClass:ee(()=>{const l=[a.e("popper")];return e.popperClass&&l.push(e.popperClass),l.join(" ")}),filterMethod:(l="")=>{var u;e.filterMethod?e.filterMethod(l):e.remoteMethod?e.remoteMethod(l):(u=o.value)==null||u.filter(l)}}},Tot=nt({extends:DE,setup(e,t){const n=DE.setup(e,t);delete n.selectOptionClick;const r=br().proxy;return Yt(()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)}),St(()=>t.attrs.visible,o=>{Yt(()=>{n.states.visible=o})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function gF(e){return e||e===0}function GW(e){return Zt(e)&&e.length}function $m(e){return Zt(e)?e:gF(e)?[e]:[]}function VS(e,t,n,r,o){for(let i=0;i{St([()=>e.modelValue,i],()=>{e.showCheckbox&&Yt(()=>{const f=i.value;f&&!fa(f.getCheckedKeys(),$m(e.modelValue))&&f.setCheckedKeys($m(e.modelValue))})},{immediate:!0,deep:!0});const s=ee(()=>({value:a.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),l=(f,p)=>{var v;const h=s.value[f];return Rn(h)?h(p,(v=i.value)==null?void 0:v.getNode(l("value",p))):p[h]},u=$m(e.modelValue).map(f=>VS(e.data||[],p=>l("value",p)===f,p=>l("children",p),(p,v,h,g)=>g&&l("value",g))).filter(f=>gF(f)),d=ee(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const f=[];return qS(e.data.concat(e.cacheData),p=>{const v=l("value",p);f.push({value:v,currentLabel:l("label",p),isDisabled:l("disabled",p)})},p=>l("children",p)),f}),c=()=>{var f;return(f=i.value)==null?void 0:f.getCheckedKeys().filter(p=>{var v;const h=(v=i.value)==null?void 0:v.getNode(p);return!ea(h)&&iu(h.childNodes)})};return{...uu(Oa(e),Object.keys($E.props)),...t,nodeKey:a,expandOnClickNode:ee(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:ee(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(u):u),renderContent:(f,{node:p,data:v,store:h})=>f(Tot,{value:l("value",v),label:l("label",v),disabled:l("disabled",v),visible:p.visible},e.renderContent?()=>e.renderContent(f,{node:p,data:v,store:h}):n.default?()=>n.default({node:p,data:v,store:h}):void 0),filterNodeMethod:(f,p,v)=>e.filterNodeMethod?e.filterNodeMethod(f,p,v):f?new RegExp(gW(f),"i").test(l("label",p)||""):!0,onNodeClick:(f,p,v)=>{var h,g,y,m;if((h=t.onNodeClick)==null||h.call(t,f,p,v),!(e.showCheckbox&&e.checkOnClickNode)){if(!e.showCheckbox&&(e.checkStrictly||p.isLeaf)){if(!l("disabled",f)){const b=(g=o.value)==null?void 0:g.states.options.get(l("value",f));(y=o.value)==null||y.handleOptionSelect(b)}}else e.expandOnClickNode&&v.proxy.handleExpandIconClick();(m=o.value)==null||m.focus()}},onCheck:(f,p)=>{var v;if(!e.showCheckbox)return;const h=l("value",f),g={};qS([i.value.store.root],w=>g[w.key]=w,w=>w.childNodes);const y=p.checkedKeys,m=e.multiple?$m(e.modelValue).filter(w=>!(w in g)&&!y.includes(w)):[],b=m.concat(y);if(e.checkStrictly)r(Qn,e.multiple?b:b.includes(h)?h:void 0);else if(e.multiple){const w=c();r(Qn,m.concat(w))}else{const w=VS([f],E=>!GW(l("children",E))&&!l("disabled",E),E=>l("children",E)),A=w?l("value",w):void 0,S=gF(e.modelValue)&&!!VS([f],E=>l("value",E)===e.modelValue,E=>l("children",E));r(Qn,A===e.modelValue||S?void 0:A)}Yt(()=>{var w;const A=$m(e.modelValue);i.value.setCheckedKeys(A),(w=t.onCheck)==null||w.call(t,f,{checkedKeys:i.value.getCheckedKeys(),checkedNodes:i.value.getCheckedNodes(),halfCheckedKeys:i.value.getHalfCheckedKeys(),halfCheckedNodes:i.value.getHalfCheckedNodes()})}),(v=o.value)==null||v.focus()},onNodeExpand:(f,p,v)=>{var h;(h=t.onNodeExpand)==null||h.call(t,f,p,v),Yt(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const g={},y=i.value.getCheckedKeys();qS([i.value.store.root],w=>g[w.key]=w,w=>w.childNodes);const m=$m(e.modelValue).filter(w=>!(w in g)&&!y.includes(w)),b=c();r(Qn,m.concat(b))}})},cacheOptions:d}};var Dot=nt({props:{data:{type:Array,default:()=>[]}},setup(e){const t=dn(Wb);return St(()=>e.data,()=>{var n;e.data.forEach(o=>{t.states.cachedOptions.has(o.value)||t.states.cachedOptions.set(o.value,o)});const r=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];Xr&&!Array.from(r).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const Iot=nt({name:"ElTreeSelect",inheritAttrs:!1,props:{...Nv.props,...$E.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:r}=t,o=K(),i=K(),a=ee(()=>e.nodeKey||e.valueKey||"value"),s=kot(e,t,{select:o,tree:i,key:a}),{cacheOptions:l,...u}=_ot(e,t,{select:o,tree:i,key:a}),d=Wr({});return r(d),qn(()=>{Object.assign(d,{...uu(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...uu(o.value,["focus","blur","selectedLabel"])})}),()=>jn(Nv,Wr({...s,ref:c=>o.value=c}),{...n,default:()=>[jn(Dot,{data:l.value}),jn($E,Wr({...u,ref:c=>i.value=c}))]})}});var Oot=on(Iot,[["__file","tree-select.vue"]]);const Mot=or(Oot),KW=Symbol(),Pot={key:-1,level:-1,data:{}};var E4=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(E4||{}),vF=(e=>(e.ADD="add",e.DELETE="delete",e))(vF||{});const L2e={type:Number,default:26},Not=Jt({data:{type:ct(Array),default:()=>fi([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:ct(Object),default:()=>fi({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:ct(Array),default:()=>fi([])},checkStrictly:Boolean,defaultExpandedKeys:{type:ct(Array),default:()=>fi([])},indent:{type:Number,default:16},itemSize:L2e,icon:{type:wo},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:ct([String,Number])},accordion:Boolean,filterMethod:{type:ct(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),Rot=Jt({node:{type:ct(Object),default:()=>fi(Pot)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:L2e}),Bot=Jt({node:{type:ct(Object),required:!0}}),F2e="node-click",U2e="node-drop",z2e="node-expand",$2e="node-collapse",j2e="current-change",H2e="check",W2e="check-change",V2e="node-contextmenu",Lot={[F2e]:(e,t,n)=>e&&t&&n,[U2e]:(e,t,n)=>e&&t&&n,[z2e]:(e,t)=>e&&t,[$2e]:(e,t)=>e&&t,[j2e]:(e,t)=>e&&t,[H2e]:(e,t)=>e&&t,[W2e]:(e,t)=>e&&Eo(t),[V2e]:(e,t,n)=>e&&t&&n},Fot={click:(e,t)=>!!(e&&t),drop:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&Eo(t)};function Uot(e,t){const n=K(new Set),r=K(new Set),{emit:o}=br();St([()=>t.value,()=>e.defaultCheckedKeys],()=>Yt(()=>{m(e.defaultCheckedKeys)}),{immediate:!0});const i=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:b,maxLevel:w}=t.value,A=n.value,S=new Set;for(let E=w-1;E>=1;--E){const D=b.get(E);D&&D.forEach(_=>{const M=_.children;if(M){let O=!0,k=!1;for(const R of M){const N=R.key;if(A.has(N))k=!0;else if(S.has(N)){O=!1,k=!0;break}else O=!1}O?A.add(_.key):k?(S.add(_.key),A.delete(_.key)):(A.delete(_.key),S.delete(_.key))}})}r.value=S},a=b=>n.value.has(b.key),s=b=>r.value.has(b.key),l=(b,w,A=!0,S=!0)=>{const E=n.value,D=(_,M)=>{E[M?vF.ADD:vF.DELETE](_.key);const O=_.children;!e.checkStrictly&&O&&O.forEach(k=>{k.disabled||D(k,M)})};D(b,w),S&&i(),A&&u(b,w)},u=(b,w)=>{const{checkedNodes:A,checkedKeys:S}=v(),{halfCheckedNodes:E,halfCheckedKeys:D}=h();o(H2e,b.data,{checkedKeys:S,checkedNodes:A,halfCheckedKeys:D,halfCheckedNodes:E}),o(W2e,b.data,w)};function d(b=!1){return v(b).checkedKeys}function c(b=!1){return v(b).checkedNodes}function f(){return h().halfCheckedKeys}function p(){return h().halfCheckedNodes}function v(b=!1){const w=[],A=[];if(t?.value&&e.showCheckbox){const{treeNodeMap:S}=t.value;n.value.forEach(E=>{const D=S.get(E);D&&(!b||b&&D.isLeaf)&&(A.push(E),w.push(D.data))})}return{checkedKeys:A,checkedNodes:w}}function h(){const b=[],w=[];if(t?.value&&e.showCheckbox){const{treeNodeMap:A}=t.value;r.value.forEach(S=>{const E=A.get(S);E&&(w.push(S),b.push(E.data))})}return{halfCheckedNodes:b,halfCheckedKeys:w}}function g(b){n.value.clear(),r.value.clear(),Yt(()=>{m(b)})}function y(b,w){if(t?.value&&e.showCheckbox){const A=t.value.treeNodeMap.get(b);A&&l(A,w,!1)}}function m(b){if(t?.value){const{treeNodeMap:w}=t.value;if(e.showCheckbox&&w&&b?.length>0){for(const A of b){const S=w.get(A);S&&!a(S)&&l(S,!0,!1,!1)}i()}}}return{updateCheckedKeys:i,toggleCheckbox:l,isChecked:a,isIndeterminate:s,getCheckedKeys:d,getCheckedNodes:c,getHalfCheckedKeys:f,getHalfCheckedNodes:p,setChecked:y,setCheckedKeys:g}}function zot(e,t){const n=K(new Set([])),r=K(new Set([])),o=ee(()=>Rn(e.filterMethod));function i(s){var l;if(!o.value)return;const u=new Set,d=r.value,c=n.value,f=[],p=((l=t.value)==null?void 0:l.treeNodes)||[],v=e.filterMethod;c.clear();function h(g){g.forEach(y=>{f.push(y),v?.(s,y.data,y)?f.forEach(b=>{u.add(b.key)}):y.isLeaf&&c.add(y.key);const m=y.children;if(m&&h(m),!y.isLeaf){if(!u.has(y.key))c.add(y.key);else if(m){let b=!0;for(const w of m)if(!c.has(w.key)){b=!1;break}b?d.add(y.key):d.delete(y.key)}}f.pop()})}return h(p),u}function a(s){return r.value.has(s.key)}return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:n,doFilter:i,isForceHiddenExpandIcon:a}}function $ot(e,t){const n=K(new Set),r=K(),o=jo(),i=K(),{isIndeterminate:a,isChecked:s,toggleCheckbox:l,getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:c,getHalfCheckedNodes:f,setChecked:p,setCheckedKeys:v}=Uot(e,o),{doFilter:h,hiddenNodeKeySet:g,isForceHiddenExpandIcon:y}=zot(e,o),m=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.value)||E4.KEY}),b=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.children)||E4.CHILDREN}),w=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.disabled)||E4.DISABLED}),A=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.label)||E4.LABEL}),S=ee(()=>{var Ae;const he=n.value,Ee=g.value,Q=[],me=((Ae=o.value)==null?void 0:Ae.treeNodes)||[],De=[];for(let pe=me.length-1;pe>=0;--pe)De.push(me[pe]);for(;De.length;){const pe=De.pop();if(!Ee.has(pe.key)&&(Q.push(pe),pe.children&&he.has(pe.key)))for(let ie=pe.children.length-1;ie>=0;--ie)De.push(pe.children[ie])}return Q}),E=ee(()=>S.value.length>0);function D(Ae){const he=new Map,Ee=new Map;let Q=1;function me(pe,ie=1,ue=void 0){var Be;const Me=[];for(const Fe of pe){const ze=O(Fe),Ne={level:ie,key:ze,data:Fe};Ne.label=R(Fe),Ne.parent=ue;const Re=M(Fe);Ne.disabled=k(Fe),Ne.isLeaf=!Re||Re.length===0,Ne.expanded=n.value.has(ze),Re&&Re.length&&(Ne.children=me(Re,ie+1,Ne)),Me.push(Ne),he.set(ze,Ne),Ee.has(ie)||Ee.set(ie,[]),(Be=Ee.get(ie))==null||Be.push(Ne)}return ie>Q&&(Q=ie),Me}const De=me(Ae);return{treeNodeMap:he,levelTreeNodeMap:Ee,maxLevel:Q,treeNodes:De}}function _(Ae){const he=h(Ae);he&&(n.value=he)}function M(Ae){return Ae[b.value]}function O(Ae){return Ae?Ae[m.value]:""}function k(Ae){return Ae[w.value]}function R(Ae){return Ae[A.value]}function N(Ae){n.value.has(Ae.key)?U(Ae):Y(Ae)}function W(Ae){const he=new Set,Ee=o.value.treeNodeMap;Ae.forEach(Q=>{let me=Ee.get(Q);for(;me&&!he.has(me.key);)he.add(me.key),me.expanded=!0,me=me.parent}),n.value=he}function B(Ae,he){t(F2e,Ae.data,Ae,he),j(Ae),e.expandOnClickNode&&N(Ae),e.showCheckbox&&(e.checkOnClickNode||Ae.isLeaf&&e.checkOnClickLeaf)&&!Ae.disabled&&l(Ae,!s(Ae),!0)}function z(Ae,he){t(U2e,Ae.data,Ae,he)}function j(Ae){H(Ae)||(r.value=Ae.key,t(j2e,Ae.data,Ae))}function q(Ae,he){l(Ae,he)}function Y(Ae){const he=n.value;if(o.value&&e.accordion){const{treeNodeMap:Ee}=o.value;he.forEach(Q=>{const me=Ee.get(Q);Ae&&Ae.level===me?.level&&(he.delete(Q),me.expanded=!1)})}he.add(Ae.key),Ae.expanded=!0,t(z2e,Ae.data,Ae)}function U(Ae){n.value.delete(Ae.key),Ae.expanded=!1,t($2e,Ae.data,Ae)}function F(Ae){return!!Ae.disabled}function H(Ae){const he=r.value;return he!==void 0&&he===Ae.key}function re(){var Ae,he;if(r.value)return(he=(Ae=o.value)==null?void 0:Ae.treeNodeMap.get(r.value))==null?void 0:he.data}function X(){return r.value}function te(Ae){r.value=Ae}function Z(Ae){o.value=D(Ae)}function le(Ae){var he;const Ee=dr(Ae)?O(Ae):Ae;return(he=o.value)==null?void 0:he.treeNodeMap.get(Ee)}function ve(Ae,he="auto"){const Ee=le(Ae);Ee&&i.value&&i.value.scrollToItem(S.value.indexOf(Ee),he)}function Pe(Ae){var he;(he=i.value)==null||he.scrollTo(Ae)}return St(()=>e.currentNodeKey,Ae=>{r.value=Ae},{immediate:!0}),St(()=>e.defaultExpandedKeys,Ae=>{n.value=new Set(Ae)},{immediate:!0}),St(()=>e.data,Ae=>{Z(Ae)},{immediate:!0}),{tree:o,flattenTree:S,isNotEmpty:E,listRef:i,getKey:O,getChildren:M,toggleExpand:N,toggleCheckbox:l,isChecked:s,isIndeterminate:a,isDisabled:F,isCurrent:H,isForceHiddenExpandIcon:y,handleNodeClick:B,handleNodeDrop:z,handleNodeCheck:q,getCurrentNode:re,getCurrentKey:X,setCurrentKey:te,getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:c,getHalfCheckedNodes:f,setChecked:p,setCheckedKeys:v,filter:_,setData:Z,getNode:le,expandNode:Y,collapseNode:U,setExpandedKeys:W,scrollToNode:ve,scrollTo:Pe}}var jot=nt({name:"ElTreeNodeContent",props:Bot,setup(e){const t=dn(KW),n=Vt("tree");return()=>{const r=e.node,{data:o}=r;return t?.ctx.slots.default?t.ctx.slots.default({node:r,data:o}):jn(NW,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[r?.label])}}});const Hot=nt({name:"ElTreeNode"}),Wot=nt({...Hot,props:Rot,emits:Fot,setup(e,{emit:t}){const n=e,r=dn(KW),o=Vt("tree"),i=ee(()=>{var p;return(p=r?.props.indent)!=null?p:16}),a=ee(()=>{var p;return(p=r?.props.icon)!=null?p:t1e}),s=p=>{const v=r?.props.props.class;if(!v)return{};let h;if(Rn(v)){const{data:g}=p;h=v(g,p)}else h=v;return In(h)?{[h]:!0}:h},l=p=>{t("click",n.node,p)},u=p=>{t("drop",n.node,p)},d=()=>{t("toggle",n.node)},c=p=>{t("check",n.node,p)},f=p=>{var v,h,g,y;(g=(h=(v=r?.instance)==null?void 0:v.vnode)==null?void 0:h.props)!=null&&g.onNodeContextmenu&&(p.stopPropagation(),p.preventDefault()),r?.ctx.emit(V2e,p,(y=n.node)==null?void 0:y.data,n.node)};return(p,v)=>{var h,g,y;return L(),G("div",{ref:"node$",class:oe([C(o).b("node"),C(o).is("expanded",p.expanded),C(o).is("current",p.current),C(o).is("focusable",!p.disabled),C(o).is("checked",!p.disabled&&p.checked),s(p.node)]),role:"treeitem",tabindex:"-1","aria-expanded":p.expanded,"aria-disabled":p.disabled,"aria-checked":p.checked,"data-key":(h=p.node)==null?void 0:h.key,onClick:en(l,["stop"]),onContextmenu:f,onDragover:en(()=>{},["prevent"]),onDragenter:en(()=>{},["prevent"]),onDrop:en(u,["stop"])},[x("div",{class:oe(C(o).be("node","content")),style:rn({paddingLeft:`${(p.node.level-1)*C(i)}px`,height:p.itemSize+"px"})},[C(a)?(L(),yt(C(Dn),{key:0,class:oe([C(o).is("leaf",!!((g=p.node)!=null&&g.isLeaf)),C(o).is("hidden",p.hiddenExpandIcon),{expanded:!((y=p.node)!=null&&y.isLeaf)&&p.expanded},C(o).be("node","expand-icon")]),onClick:en(d,["stop"])},{default:rt(()=>[(L(),yt(mr(C(a))))]),_:1},8,["class","onClick"])):xe("v-if",!0),p.showCheckbox?(L(),yt(C(tc),{key:1,"model-value":p.checked,indeterminate:p.indeterminate,disabled:p.disabled,onChange:c,onClick:en(()=>{},["stop"])},null,8,["model-value","indeterminate","disabled","onClick"])):xe("v-if",!0),He(C(jot),{node:{...p.node,expanded:p.expanded}},null,8,["node"])],6)],42,["aria-expanded","aria-disabled","aria-checked","data-key","onClick","onDragover","onDragenter","onDrop"])}}});var Vot=on(Wot,[["__file","tree-node.vue"]]);const qot=nt({name:"ElTreeV2"}),Got=nt({...qot,props:Not,emits:Lot,setup(e,{expose:t,emit:n}){const r=e,o=ga(),i=ee(()=>r.itemSize);_r(KW,{ctx:{emit:n,slots:o},props:r,instance:br()}),_r(Hd,void 0);const{t:a}=Gr(),s=Vt("tree"),{flattenTree:l,isNotEmpty:u,listRef:d,toggleExpand:c,isIndeterminate:f,isChecked:p,isDisabled:v,isCurrent:h,isForceHiddenExpandIcon:g,handleNodeClick:y,handleNodeDrop:m,handleNodeCheck:b,toggleCheckbox:w,getCurrentNode:A,getCurrentKey:S,setCurrentKey:E,getCheckedKeys:D,getCheckedNodes:_,getHalfCheckedKeys:M,getHalfCheckedNodes:O,setChecked:k,setCheckedKeys:R,filter:N,setData:W,getNode:B,expandNode:z,collapseNode:j,setExpandedKeys:q,scrollToNode:Y,scrollTo:U}=$ot(r,n);return t({toggleCheckbox:w,getCurrentNode:A,getCurrentKey:S,setCurrentKey:E,getCheckedKeys:D,getCheckedNodes:_,getHalfCheckedKeys:M,getHalfCheckedNodes:O,setChecked:k,setCheckedKeys:R,filter:N,setData:W,getNode:B,expandNode:z,collapseNode:j,setExpandedKeys:q,scrollToNode:Y,scrollTo:U}),(F,H)=>(L(),G("div",{class:oe([C(s).b(),{[C(s).m("highlight-current")]:F.highlightCurrent}]),role:"tree"},[C(u)?(L(),yt(C(Ebe),{key:0,ref_key:"listRef",ref:d,"class-name":C(s).b("virtual-list"),data:C(l),total:C(l).length,height:F.height,"item-size":C(i),"perf-mode":F.perfMode,"scrollbar-always-on":F.scrollbarAlwaysOn},{default:rt(({data:re,index:X,style:te})=>[(L(),yt(Vot,{key:re[X].key,style:rn(te),node:re[X],expanded:re[X].expanded,"show-checkbox":F.showCheckbox,checked:C(p)(re[X]),indeterminate:C(f)(re[X]),"item-size":C(i),disabled:C(v)(re[X]),current:C(h)(re[X]),"hidden-expand-icon":C(g)(re[X]),onClick:C(y),onToggle:C(c),onCheck:C(b),onDrop:C(m)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(L(),G("div",{key:1,class:oe(C(s).e("empty-block"))},[ht(F.$slots,"empty",{},()=>{var re;return[x("span",{class:oe(C(s).e("empty-text"))},je((re=F.emptyText)!=null?re:C(a)("el.tree.emptyText")),3)]})],2))],2))}});var Kot=on(Got,[["__file","tree.vue"]]);const Yot=or(Kot),q2e=Symbol("uploadContextKey"),Qot="ElUpload";class Zot extends Error{constructor(t,n,r,o){super(t),this.name="UploadAjaxError",this.status=n,this.method=r,this.url=o}}function Gee(e,t,n){let r;return n.response?r=`${n.response.error||n.response}`:n.responseText?r=`${n.responseText}`:r=`fail to ${t.method} ${e} ${n.status}`,new Zot(r,n.status,t.method,e)}function Xot(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Jot=e=>{typeof XMLHttpRequest>"u"&&na(Qot,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",i=>{const a=i;a.percent=i.total>0?i.loaded/i.total*100:0,e.onProgress(a)});const r=new FormData;if(e.data)for(const[i,a]of Object.entries(e.data))Zt(a)&&a.length?r.append(i,...a):r.append(i,a);r.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(Gee(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(Gee(n,e,t));e.onSuccess(Xot(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=e.headers||{};if(o instanceof Headers)o.forEach((i,a)=>t.setRequestHeader(a,i));else for(const[i,a]of Object.entries(o))ea(a)||t.setRequestHeader(i,String(a));return t.send(r),t},G2e=["text","picture","picture-card"];let eit=1;const mF=()=>Date.now()+eit++,K2e=Jt({action:{type:String,default:"#"},headers:{type:ct(Object)},method:{type:String,default:"post"},data:{type:ct([Object,Function,Promise]),default:()=>fi({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:ct(Array),default:()=>fi([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:G2e,default:"text"},httpRequest:{type:ct(Function),default:Jot},disabled:Boolean,limit:Number}),tit=Jt({...K2e,beforeUpload:{type:ct(Function),default:bo},beforeRemove:{type:ct(Function)},onRemove:{type:ct(Function),default:bo},onChange:{type:ct(Function),default:bo},onPreview:{type:ct(Function),default:bo},onSuccess:{type:ct(Function),default:bo},onProgress:{type:ct(Function),default:bo},onError:{type:ct(Function),default:bo},onExceed:{type:ct(Function),default:bo},crossorigin:{type:ct(String)}}),nit=Jt({files:{type:ct(Array),default:()=>fi([])},disabled:Boolean,handlePreview:{type:ct(Function),default:bo},listType:{type:String,values:G2e,default:"text"},crossorigin:{type:ct(String)}}),rit={remove:e=>!!e},oit=nt({name:"ElUploadList"}),iit=nt({...oit,props:nit,emits:rit,setup(e,{emit:t}){const n=e,{t:r}=Gr(),o=Vt("upload"),i=Vt("icon"),a=Vt("list"),s=Va(),l=K(!1),u=ee(()=>[o.b("list"),o.bm("list",n.listType),o.is("disabled",n.disabled)]),d=c=>{t("remove",c)};return(c,f)=>(L(),yt(Qge,{tag:"ul",class:oe(C(u)),name:C(a).b()},{default:rt(()=>[(L(!0),G(Rt,null,un(c.files,(p,v)=>(L(),G("li",{key:p.uid||p.name,class:oe([C(o).be("list","item"),C(o).is(p.status),{focusing:l.value}]),tabindex:"0",onKeydown:$r(h=>!C(s)&&d(p),["delete"]),onFocus:h=>l.value=!0,onBlur:h=>l.value=!1,onClick:h=>l.value=!1},[ht(c.$slots,"default",{file:p,index:v},()=>[c.listType==="picture"||p.status!=="uploading"&&c.listType==="picture-card"?(L(),G("img",{key:0,class:oe(C(o).be("list","item-thumbnail")),src:p.url,crossorigin:c.crossorigin,alt:""},null,10,["src","crossorigin"])):xe("v-if",!0),p.status==="uploading"||c.listType!=="picture-card"?(L(),G("div",{key:1,class:oe(C(o).be("list","item-info"))},[x("a",{class:oe(C(o).be("list","item-name")),onClick:en(h=>c.handlePreview(p),["prevent"])},[He(C(Dn),{class:oe(C(i).m("document"))},{default:rt(()=>[He(C(Py))]),_:1},8,["class"]),x("span",{class:oe(C(o).be("list","item-file-name")),title:p.name},je(p.name),11,["title"])],10,["onClick"]),p.status==="uploading"?(L(),yt(C(vbe),{key:0,type:c.listType==="picture-card"?"circle":"line","stroke-width":c.listType==="picture-card"?6:2,percentage:Number(p.percentage),style:rn(c.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):xe("v-if",!0)],2)):xe("v-if",!0),x("label",{class:oe(C(o).be("list","item-status-label"))},[c.listType==="text"?(L(),yt(C(Dn),{key:0,class:oe([C(i).m("upload-success"),C(i).m("circle-check")])},{default:rt(()=>[He(C(xH))]),_:1},8,["class"])):["picture-card","picture"].includes(c.listType)?(L(),yt(C(Dn),{key:1,class:oe([C(i).m("upload-success"),C(i).m("check")])},{default:rt(()=>[He(C(B5))]),_:1},8,["class"])):xe("v-if",!0)],2),C(s)?xe("v-if",!0):(L(),yt(C(Dn),{key:2,class:oe(C(i).m("close")),onClick:h=>d(p)},{default:rt(()=>[He(C(vu))]),_:2},1032,["class","onClick"])),xe(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),xe(" This is a bug which needs to be fixed "),xe(" TODO: Fix the incorrect navigation interaction "),C(s)?xe("v-if",!0):(L(),G("i",{key:3,class:oe(C(i).m("close-tip"))},je(C(r)("el.upload.deleteTip")),3)),c.listType==="picture-card"?(L(),G("span",{key:4,class:oe(C(o).be("list","item-actions"))},[x("span",{class:oe(C(o).be("list","item-preview")),onClick:h=>c.handlePreview(p)},[He(C(Dn),{class:oe(C(i).m("zoom-in"))},{default:rt(()=>[He(C(s1e))]),_:1},8,["class"])],10,["onClick"]),C(s)?xe("v-if",!0):(L(),G("span",{key:0,class:oe(C(o).be("list","item-delete")),onClick:h=>d(p)},[He(C(Dn),{class:oe(C(i).m("delete"))},{default:rt(()=>[He(C(rLe))]),_:1},8,["class"])],10,["onClick"]))],2)):xe("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),ht(c.$slots,"append")]),_:3},8,["class","name"]))}});var Kee=on(iit,[["__file","upload-list.vue"]]);const ait=Jt({disabled:Boolean}),sit={file:e=>Zt(e)},Y2e="ElUploadDrag",lit=nt({name:Y2e}),uit=nt({...lit,props:ait,emits:sit,setup(e,{emit:t}){dn(q2e)||na(Y2e,"usage: ");const r=Vt("upload"),o=K(!1),i=Va(),a=u=>{if(i.value)return;o.value=!1,u.stopPropagation();const d=Array.from(u.dataTransfer.files),c=u.dataTransfer.items||[];d.forEach((f,p)=>{var v;const h=c[p],g=(v=h?.webkitGetAsEntry)==null?void 0:v.call(h);g&&(f.isDirectory=g.isDirectory)}),t("file",d)},s=()=>{i.value||(o.value=!0)},l=u=>{u.currentTarget.contains(u.relatedTarget)||(o.value=!1)};return(u,d)=>(L(),G("div",{class:oe([C(r).b("dragger"),C(r).is("dragover",o.value)]),onDrop:en(a,["prevent"]),onDragover:en(s,["prevent"]),onDragleave:en(l,["prevent"])},[ht(u.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var cit=on(uit,[["__file","upload-dragger.vue"]]);const dit=Jt({...K2e,beforeUpload:{type:ct(Function),default:bo},onRemove:{type:ct(Function),default:bo},onStart:{type:ct(Function),default:bo},onSuccess:{type:ct(Function),default:bo},onProgress:{type:ct(Function),default:bo},onError:{type:ct(Function),default:bo},onExceed:{type:ct(Function),default:bo}}),fit=nt({name:"ElUploadContent",inheritAttrs:!1}),pit=nt({...fit,props:dit,setup(e,{expose:t}){const n=e,r=Vt("upload"),o=Va(),i=jo({}),a=jo(),s=h=>{if(h.length===0)return;const{autoUpload:g,limit:y,fileList:m,multiple:b,onStart:w,onExceed:A}=n;if(y&&m.length+h.length>y){A(h,m);return}b||(h=h.slice(0,1));for(const S of h){const E=S;E.uid=mF(),w(E),g&&l(E)}},l=async h=>{if(a.value.value="",!n.beforeUpload)return d(h);let g,y={};try{const b=n.data,w=n.beforeUpload(h);y=N3(n.data)?yE(n.data):n.data,g=await w,N3(n.data)&&fa(b,y)&&(y=yE(n.data))}catch{g=!1}if(g===!1){n.onRemove(h);return}let m=h;g instanceof Blob&&(g instanceof File?m=g:m=new File([g],h.name,{type:h.type})),d(Object.assign(m,{uid:h.uid}),y)},u=async(h,g)=>Rn(h)?h(g):h,d=async(h,g)=>{const{headers:y,data:m,method:b,withCredentials:w,name:A,action:S,onProgress:E,onSuccess:D,onError:_,httpRequest:M}=n;try{g=await u(g??m,h)}catch{n.onRemove(h);return}const{uid:O}=h,k={headers:y||{},withCredentials:w,file:h,data:g,method:b,filename:A,action:S,onProgress:N=>{E(N,h)},onSuccess:N=>{D(N,h),delete i.value[O]},onError:N=>{_(N,h),delete i.value[O]}},R=M(k);i.value[O]=R,R instanceof Promise&&R.then(k.onSuccess,k.onError)},c=h=>{const g=h.target.files;g&&s(Array.from(g))},f=()=>{o.value||(a.value.value="",a.value.click())},p=()=>{f()};return t({abort:h=>{Gme(i.value).filter(h?([y])=>String(h.uid)===y:()=>!0).forEach(([y,m])=>{m instanceof XMLHttpRequest&&m.abort(),delete i.value[y]})},upload:l}),(h,g)=>(L(),G("div",{class:oe([C(r).b(),C(r).m(h.listType),C(r).is("drag",h.drag),C(r).is("disabled",C(o))]),tabindex:C(o)?"-1":"0",onClick:f,onKeydown:$r(en(p,["self"]),["enter","space"])},[h.drag?(L(),yt(cit,{key:0,disabled:C(o),onFile:s},{default:rt(()=>[ht(h.$slots,"default")]),_:3},8,["disabled"])):ht(h.$slots,"default",{key:1}),x("input",{ref_key:"inputRef",ref:a,class:oe(C(r).e("input")),name:h.name,disabled:C(o),multiple:h.multiple,accept:h.accept,type:"file",onChange:c,onClick:en(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var Yee=on(pit,[["__file","upload-content.vue"]]);const Qee="ElUpload",Zee=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},hit=(e,t)=>{const n=Ume(e,"fileList",void 0,{passive:!0}),r=p=>n.value.find(v=>v.uid===p.uid);function o(p){var v;(v=t.value)==null||v.abort(p)}function i(p=["ready","uploading","success","fail"]){n.value=n.value.filter(v=>!p.includes(v.status))}function a(p){n.value=n.value.filter(v=>v.uid!==p.uid)}const s=(p,v)=>{const h=r(v);h&&(console.error(p),h.status="fail",a(h),e.onError(p,h,n.value),e.onChange(h,n.value))},l=(p,v)=>{const h=r(v);h&&(e.onProgress(p,h,n.value),h.status="uploading",h.percentage=Math.round(p.percent))},u=(p,v)=>{const h=r(v);h&&(h.status="success",h.response=p,e.onSuccess(p,h,n.value),e.onChange(h,n.value))},d=p=>{ea(p.uid)&&(p.uid=mF());const v={name:p.name,percentage:0,status:"ready",size:p.size,raw:p,uid:p.uid};if(e.listType==="picture-card"||e.listType==="picture")try{v.url=URL.createObjectURL(p)}catch(h){h.message,e.onError(h,v,n.value)}n.value=[...n.value,v],e.onChange(v,n.value)},c=async p=>{const v=p instanceof File?r(p):p;v||na(Qee,"file to be removed not found");const h=g=>{o(g),a(g),e.onRemove(g,n.value),Zee(g)};e.beforeRemove?await e.beforeRemove(v,n.value)!==!1&&h(v):h(v)};function f(){n.value.filter(({status:p})=>p==="ready").forEach(({raw:p})=>{var v;return p&&((v=t.value)==null?void 0:v.upload(p))})}return St(()=>e.listType,p=>{p!=="picture-card"&&p!=="picture"||(n.value=n.value.map(v=>{const{raw:h,url:g}=v;if(!g&&h)try{v.url=URL.createObjectURL(h)}catch(y){e.onError(y,v,n.value)}return v}))}),St(n,p=>{for(const v of p)v.uid||(v.uid=mF()),v.status||(v.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:o,clearFiles:i,handleError:s,handleProgress:l,handleStart:d,handleSuccess:u,handleRemove:c,submit:f,revokeFileObjectURL:Zee}},git=nt({name:"ElUpload"}),vit=nt({...git,props:tit,setup(e,{expose:t}){const n=e,r=Va(),o=jo(),{abort:i,submit:a,clearFiles:s,uploadFiles:l,handleStart:u,handleError:d,handleRemove:c,handleSuccess:f,handleProgress:p,revokeFileObjectURL:v}=hit(n,o),h=ee(()=>n.listType==="picture-card"),g=ee(()=>({...n,fileList:l.value,onStart:u,onProgress:p,onSuccess:f,onError:d,onRemove:c}));return Jr(()=>{l.value.forEach(v)}),_r(q2e,{accept:co(n,"accept")}),t({abort:i,submit:a,clearFiles:s,handleStart:u,handleRemove:c}),(y,m)=>(L(),G("div",null,[C(h)&&y.showFileList?(L(),yt(Kee,{key:0,disabled:C(r),"list-type":y.listType,files:C(l),crossorigin:y.crossorigin,"handle-preview":y.onPreview,onRemove:C(c)},Hl({append:rt(()=>[He(Yee,vr({ref_key:"uploadRef",ref:o},C(g)),{default:rt(()=>[y.$slots.trigger?ht(y.$slots,"trigger",{key:0}):xe("v-if",!0),!y.$slots.trigger&&y.$slots.default?ht(y.$slots,"default",{key:1}):xe("v-if",!0)]),_:3},16)]),_:2},[y.$slots.file?{name:"default",fn:rt(({file:b,index:w})=>[ht(y.$slots,"file",{file:b,index:w})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):xe("v-if",!0),!C(h)||C(h)&&!y.showFileList?(L(),yt(Yee,vr({key:1,ref_key:"uploadRef",ref:o},C(g)),{default:rt(()=>[y.$slots.trigger?ht(y.$slots,"trigger",{key:0}):xe("v-if",!0),!y.$slots.trigger&&y.$slots.default?ht(y.$slots,"default",{key:1}):xe("v-if",!0)]),_:3},16)):xe("v-if",!0),y.$slots.trigger?ht(y.$slots,"default",{key:2}):xe("v-if",!0),ht(y.$slots,"tip"),!C(h)&&y.showFileList?(L(),yt(Kee,{key:3,disabled:C(r),"list-type":y.listType,files:C(l),crossorigin:y.crossorigin,"handle-preview":y.onPreview,onRemove:C(c)},Hl({_:2},[y.$slots.file?{name:"default",fn:rt(({file:b,index:w})=>[ht(y.$slots,"file",{file:b,index:w})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):xe("v-if",!0)]))}});var mit=on(vit,[["__file","upload.vue"]]);const yit=or(mit),bit=Jt({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:ct([String,Array]),default:"Element Plus"},font:{type:ct(Object)},gap:{type:ct(Array),default:()=>[100,100]},offset:{type:ct(Array)}});function wit(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Ait(e){return Object.keys(e).map(t=>`${wit(t)}: ${e[t]};`).join(" ")}function Cit(){return window.devicePixelRatio||1}const xit=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},Q2e=3,Sit={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function RI(e,t,n=1){const r=document.createElement("canvas"),o=r.getContext("2d"),i=e*n,a=t*n;return r.setAttribute("width",`${i}px`),r.setAttribute("height",`${a}px`),o.save(),[o,r,i,a]}function Eit(){function e(t,n,r,o,i,a,s,l,u){const[d,c,f,p]=RI(o,i,r);if(t instanceof HTMLImageElement)d.drawImage(t,0,0,f,p);else{const{color:F,fontSize:H,fontStyle:re,fontWeight:X,fontFamily:te,textAlign:Z,textBaseline:le}=a,ve=Number(H)*r;d.font=`${re} normal ${X} ${ve}px/${i}px ${te}`,d.fillStyle=F,d.textAlign=Z,d.textBaseline=le;const Pe=Zt(t)?t:[t];Pe?.forEach((Ae,he)=>{const[Ee,Q]=Sit[Z];d.fillText(Ae??"",f*Ee+u*Q,he*(ve+Q2e*r))})}const v=Math.PI/180*Number(n),h=Math.max(o,i),[g,y,m]=RI(h,h,r);g.translate(m/2,m/2),g.rotate(v),f>0&&p>0&&g.drawImage(c,-f/2,-p/2);function b(F,H){const re=F*Math.cos(v)-H*Math.sin(v),X=F*Math.sin(v)+H*Math.cos(v);return[re,X]}let w=0,A=0,S=0,E=0;const D=f/2,_=p/2;[[0-D,0-_],[0+D,0-_],[0+D,0+_],[0-D,0+_]].forEach(([F,H])=>{const[re,X]=b(F,H);w=Math.min(w,re),A=Math.max(A,re),S=Math.min(S,X),E=Math.max(E,X)});const O=w+m/2,k=S+m/2,R=A-w,N=E-S,W=s*r,B=l*r,z=(R+W)*2,j=N+B,[q,Y]=RI(z,j);function U(F=0,H=0){q.drawImage(y,O,k,R,N,F,H,R,N)}return U(),U(R+W,-N/2-B/2),U(R+W,+N/2+B/2),[Y.toDataURL(),z/r,j/r]}return e}const kit=nt({name:"ElWatermark"}),Tit=nt({...kit,props:bit,setup(e){const t=e,n={position:"relative"},r=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.color)!=null?O:"rgba(0,0,0,.15)"}),o=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.fontSize)!=null?O:16}),i=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.fontWeight)!=null?O:"normal"}),a=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.fontStyle)!=null?O:"normal"}),s=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.fontFamily)!=null?O:"sans-serif"}),l=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.textAlign)!=null?O:"center"}),u=ee(()=>{var M,O;return(O=(M=t.font)==null?void 0:M.textBaseline)!=null?O:"hanging"}),d=ee(()=>t.gap[0]),c=ee(()=>t.gap[1]),f=ee(()=>d.value/2),p=ee(()=>c.value/2),v=ee(()=>{var M,O;return(O=(M=t.offset)==null?void 0:M[0])!=null?O:f.value}),h=ee(()=>{var M,O;return(O=(M=t.offset)==null?void 0:M[1])!=null?O:p.value}),g=()=>{const M={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let O=v.value-f.value,k=h.value-p.value;return O>0&&(M.left=`${O}px`,M.width=`calc(100% - ${O}px)`,O=0),k>0&&(M.top=`${k}px`,M.height=`calc(100% - ${k}px)`,k=0),M.backgroundPosition=`${O}px ${k}px`,M},y=jo(null),m=jo(),b=K(!1),w=()=>{m.value&&(m.value.remove(),m.value=void 0)},A=(M,O)=>{var k;y.value&&m.value&&(b.value=!0,m.value.setAttribute("style",Ait({...g(),backgroundImage:`url('${M}')`,backgroundSize:`${Math.floor(O)}px`})),(k=y.value)==null||k.append(m.value),setTimeout(()=>{b.value=!1}))},S=M=>{let O=120,k=64,R=0;const{image:N,content:W,width:B,height:z,rotate:j}=t;if(!N&&M.measureText){M.font=`${Number(o.value)}px ${s.value}`;const q=Zt(W)?W:[W];let Y=0,U=0;q.forEach(H=>{const{width:re,fontBoundingBoxAscent:X,fontBoundingBoxDescent:te,actualBoundingBoxAscent:Z,actualBoundingBoxDescent:le}=M.measureText(H),ve=Vr(X)?Z+le:X+te;re>Y&&(Y=Math.ceil(re)),ve>U&&(U=Math.ceil(ve))}),O=Y,k=U*q.length+(q.length-1)*Q2e;const F=Math.PI/180*Number(j);R=Math.ceil(Math.abs(Math.sin(F)*k)/2),O+=R}return[B??O,z??k,R]},E=Eit(),D=()=>{const O=document.createElement("canvas").getContext("2d"),k=t.image,R=t.content,N=t.rotate;if(O){m.value||(m.value=document.createElement("div"));const W=Cit(),[B,z,j]=S(O),q=Y=>{const[U,F]=E(Y||"",N,W,B,z,{color:r.value,fontSize:o.value,fontStyle:a.value,fontWeight:i.value,fontFamily:s.value,textAlign:l.value,textBaseline:u.value},d.value,c.value,j);A(U,F)};if(k){const Y=new Image;Y.onload=()=>{q(Y)},Y.onerror=()=>{q(R)},Y.crossOrigin="anonymous",Y.referrerPolicy="no-referrer",Y.src=k}else q(R)}};return qn(()=>{D()}),St(()=>t,()=>{D()},{deep:!0,flush:"post"}),Jr(()=>{w()}),Fme(y,M=>{b.value||M.forEach(O=>{xit(O,m.value)&&(w(),D())})},{attributes:!0,subtree:!0,childList:!0}),(M,O)=>(L(),G("div",{ref_key:"containerRef",ref:y,style:rn([n])},[ht(M.$slots,"default")],4))}});var _it=on(Tit,[["__file","watermark.vue"]]);const Dit=or(_it),Iit=Jt({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:ct(Object)},targetAreaClickable:{type:Boolean,default:!0}}),Oit=(e,t,n,r,o)=>{const i=K(null),a=()=>{let c;return In(e.value)?c=document.querySelector(e.value):Rn(e.value)?c=e.value():c=e.value,c},s=()=>{const c=a();if(!c||!t.value){i.value=null;return}Mit(c)||c.scrollIntoView(o.value);const{left:f,top:p,width:v,height:h}=c.getBoundingClientRect();i.value={left:f,top:p,width:v,height:h,radius:0}};qn(()=>{St([t,e],()=>{s()},{immediate:!0}),window.addEventListener("resize",s)}),Jr(()=>{window.removeEventListener("resize",s)});const l=c=>{var f;return(f=Zt(n.value.offset)?n.value.offset[c]:n.value.offset)!=null?f:6},u=ee(()=>{var c;if(!i.value)return i.value;const f=l(0),p=l(1),v=((c=n.value)==null?void 0:c.radius)||2;return{left:i.value.left-f,top:i.value.top-p,width:i.value.width+f*2,height:i.value.height+p*2,radius:v}}),d=ee(()=>{const c=a();return!r.value||!c||!window.DOMRect?c||void 0:{getBoundingClientRect(){var f,p,v,h;return window.DOMRect.fromRect({width:((f=u.value)==null?void 0:f.width)||0,height:((p=u.value)==null?void 0:p.height)||0,x:((v=u.value)==null?void 0:v.left)||0,y:((h=u.value)==null?void 0:h.top)||0})}}});return{mergedPosInfo:u,triggerTarget:d}},xD=Symbol("ElTour");function Mit(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:o,bottom:i,left:a}=e.getBoundingClientRect();return r>=0&&a>=0&&o<=t&&i<=n}const Pit=(e,t,n,r,o,i,a,s)=>{const l=K(),u=K(),d=K({}),c={x:l,y:u,placement:r,strategy:o,middlewareData:d},f=ee(()=>{const y=[D2e(C(i)),Brt(),Rrt(),Nit()];return C(s)&&C(n)&&y.push(I2e({element:C(n)})),y}),p=async()=>{if(!Xr)return;const y=C(e),m=C(t);if(!y||!m)return;const b=await O2e(y,m,{placement:C(r),strategy:C(o),middleware:C(f)});My(c).forEach(w=>{c[w].value=b[w]})},v=ee(()=>{if(!C(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:C(a)};const{overflow:y}=C(d);return{position:C(o),zIndex:C(a),top:C(u)!=null?`${C(u)}px`:"",left:C(l)!=null?`${C(l)}px`:"",maxWidth:y?.maxWidth?`${y?.maxWidth}px`:""}}),h=ee(()=>{if(!C(s))return{};const{arrow:y}=C(d);return{left:y?.x!=null?`${y?.x}px`:"",top:y?.y!=null?`${y?.y}px`:""}});let g;return qn(()=>{const y=C(e),m=C(t);y&&m&&(g=Prt(y,m,p)),Es(()=>{p()})}),Jr(()=>{g&&g()}),{update:p,contentStyle:v,arrowStyle:h}},Nit=()=>({name:"overflow",async fn(e){const t=await Nrt(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),Rit=nt({name:"ElTourMask",inheritAttrs:!1}),Bit=nt({...Rit,props:Iit,setup(e){const t=e,{ns:n}=dn(xD),r=ee(()=>{var l,u;return(u=(l=t.pos)==null?void 0:l.radius)!=null?u:2}),o=ee(()=>{const l=r.value,u=`a${l},${l} 0 0 1`;return{topRight:`${u} ${l},${l}`,bottomRight:`${u} ${-l},${l}`,bottomLeft:`${u} ${-l},${-l}`,topLeft:`${u} ${l},${-l}`}}),i=ee(()=>{const l=window.innerWidth,u=window.innerHeight,d=o.value,c=`M${l},0 L0,0 L0,${u} L${l},${u} L${l},0 Z`,f=r.value;return t.pos?`${c} M${t.pos.left+f},${t.pos.top} h${t.pos.width-f*2} ${d.topRight} v${t.pos.height-f*2} ${d.bottomRight} h${-t.pos.width+f*2} ${d.bottomLeft} v${-t.pos.height+f*2} ${d.topLeft} z`:c}),a=ee(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),s=ee(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return nW(co(t,"visible"),{ns:n}),(l,u)=>l.visible?(L(),G("div",vr({key:0,class:C(n).e("mask"),style:C(a)},l.$attrs),[(L(),G("svg",{style:{width:"100%",height:"100%"}},[x("path",{class:oe(C(n).e("hollow")),style:rn(C(s)),d:C(i)},null,14,["d"])]))],16)):xe("v-if",!0)}});var Lit=on(Bit,[["__file","mask.vue"]]);const Fit=["absolute","fixed"],Uit=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],YW=Jt({placement:{type:ct(String),values:Uit,default:"bottom"},reference:{type:ct(Object),default:null},strategy:{type:ct(String),values:Fit,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),zit={close:()=>!0},$it=nt({name:"ElTourContent"}),jit=nt({...$it,props:YW,emits:zit,setup(e,{emit:t}){const n=e,r=K(n.placement),o=K(n.strategy),i=K(null),a=K(null);St(()=>n.placement,()=>{r.value=n.placement});const{contentStyle:s,arrowStyle:l}=Pit(co(n,"reference"),i,a,r,o,co(n,"offset"),co(n,"zIndex"),co(n,"showArrow")),u=ee(()=>r.value.split("-")[0]),{ns:d}=dn(xD),c=()=>{t("close")},f=p=>{p.detail.focusReason==="pointer"&&p.preventDefault()};return(p,v)=>(L(),G("div",{ref_key:"contentRef",ref:i,style:rn(C(s)),class:oe(C(d).e("content")),"data-side":C(u),tabindex:"-1"},[He(C($b),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":i.value||void 0,onReleaseRequested:c,onFocusoutPrevented:f},{default:rt(()=>[ht(p.$slots,"default")]),_:3},8,["focus-trap-el"]),p.showArrow?(L(),G("span",{key:0,ref_key:"arrowRef",ref:a,style:rn(C(l)),class:oe(C(d).e("arrow"))},null,6)):xe("v-if",!0)],14,["data-side"]))}});var Hit=on(jit,[["__file","content.vue"]]),Wit=nt({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let r=0;return()=>{var o,i;const a=(o=t.default)==null?void 0:o.call(t),s=[];let l=0;function u(d){Zt(d)&&d.forEach(c=>{var f;((f=c?.type||{})==null?void 0:f.name)==="ElTourStep"&&(s.push(c),l+=1)})}return a.length&&u(Sd((i=a[0])==null?void 0:i.children)),r!==l&&(r=l,n("update-total",l)),s.length?s[e.current]:null}}});const Vit=Jt({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:wo},placement:YW.placement,contentStyle:{type:ct([Object])},mask:{type:ct([Boolean,Object]),default:!0},gap:{type:ct(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:ct([Boolean,Object]),default:()=>({block:"center"})},type:{type:ct(String)},appendTo:{type:uD.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),qit={[Qn]:e=>Eo(e),"update:current":e=>$n(e),close:e=>$n(e),finish:()=>!0,change:e=>$n(e)},Git=nt({name:"ElTour"}),Kit=nt({...Git,props:Vit,emits:qit,setup(e,{emit:t}){const n=e,r=Vt("tour"),o=K(0),i=K(),a=Ume(n,"current",t,{passive:!0}),s=ee(()=>{var _;return(_=i.value)==null?void 0:_.target}),l=ee(()=>[r.b(),g.value==="primary"?r.m("primary"):""]),u=ee(()=>{var _;return((_=i.value)==null?void 0:_.placement)||n.placement}),d=ee(()=>{var _,M;return(M=(_=i.value)==null?void 0:_.contentStyle)!=null?M:n.contentStyle}),c=ee(()=>{var _,M;return(M=(_=i.value)==null?void 0:_.mask)!=null?M:n.mask}),f=ee(()=>!!c.value&&n.modelValue),p=ee(()=>Eo(c.value)?void 0:c.value),v=ee(()=>{var _,M;return!!s.value&&((M=(_=i.value)==null?void 0:_.showArrow)!=null?M:n.showArrow)}),h=ee(()=>{var _,M;return(M=(_=i.value)==null?void 0:_.scrollIntoViewOptions)!=null?M:n.scrollIntoViewOptions}),g=ee(()=>{var _,M;return(M=(_=i.value)==null?void 0:_.type)!=null?M:n.type}),{nextZIndex:y}=Fb(),m=y(),b=ee(()=>{var _;return(_=n.zIndex)!=null?_:m}),{mergedPosInfo:w,triggerTarget:A}=Oit(s,co(n,"modelValue"),co(n,"gap"),c,h);St(()=>n.modelValue,_=>{_||(a.value=0)});const S=()=>{n.closeOnPressEscape&&(t(Qn,!1),t("close",a.value))},E=_=>{o.value=_},D=ga();return _r(xD,{currentStep:i,current:a,total:o,showClose:co(n,"showClose"),closeIcon:co(n,"closeIcon"),mergedType:g,ns:r,slots:D,updateModelValue(_){t(Qn,_)},onClose(){t("close",a.value)},onFinish(){t("finish")},onChange(){t(Pr,a.value)}}),(_,M)=>(L(),G(Rt,null,[He(C(jb),{to:_.appendTo},{default:rt(()=>{var O,k;return[x("div",vr({class:C(l)},_.$attrs),[He(Lit,{visible:C(f),fill:(O=C(p))==null?void 0:O.color,style:rn((k=C(p))==null?void 0:k.style),pos:C(w),"z-index":C(b),"target-area-clickable":_.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),_.modelValue?(L(),yt(Hit,{key:C(a),reference:C(A),placement:C(u),"show-arrow":C(v),"z-index":C(b),style:rn(C(d)),onClose:S},{default:rt(()=>[He(C(Wit),{current:C(a),onUpdateTotal:E},{default:rt(()=>[ht(_.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):xe("v-if",!0)],16)]}),_:3},8,["to"]),xe(" just for IDE "),xe("v-if",!0)],64))}});var Yit=on(Kit,[["__file","tour.vue"]]);const Qit=Jt({target:{type:ct([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:wo},showArrow:{type:Boolean,default:void 0},placement:YW.placement,mask:{type:ct([Boolean,Object]),default:void 0},contentStyle:{type:ct([Object])},prevButtonProps:{type:ct(Object)},nextButtonProps:{type:ct(Object)},scrollIntoViewOptions:{type:ct([Boolean,Object]),default:void 0},type:{type:ct(String)}}),Zit={close:()=>!0},Xit=nt({name:"ElTourStep"}),Jit=nt({...Xit,props:Qit,emits:Zit,setup(e,{emit:t}){const n=e,{Close:r}=l1e,{t:o}=Gr(),{currentStep:i,current:a,total:s,showClose:l,closeIcon:u,mergedType:d,ns:c,slots:f,updateModelValue:p,onClose:v,onFinish:h,onChange:g}=dn(xD);St(n,_=>{i.value=_},{immediate:!0});const y=ee(()=>{var _;return(_=n.showClose)!=null?_:l.value}),m=ee(()=>{var _,M;return(M=(_=n.closeIcon)!=null?_:u.value)!=null?M:r}),b=_=>{if(_)return Nme(_,["children","onClick"])},w=()=>{var _,M;a.value-=1,(_=n.prevButtonProps)!=null&&_.onClick&&((M=n.prevButtonProps)==null||M.onClick()),g()},A=()=>{var _;a.value>=s.value-1?S():a.value+=1,(_=n.nextButtonProps)!=null&&_.onClick&&n.nextButtonProps.onClick(),g()},S=()=>{E(),h()},E=()=>{p(!1),v(),t("close")},D=_=>{const M=_.target;if(M?.isContentEditable)return;const k={[gn.left]:()=>a.value>0&&w(),[gn.right]:A}[_.code];k&&(_.preventDefault(),k())};return qn(()=>{window.addEventListener("keydown",D)}),Jr(()=>{window.removeEventListener("keydown",D)}),(_,M)=>(L(),G(Rt,null,[C(y)?(L(),G("button",{key:0,"aria-label":"Close",class:oe(C(c).e("closebtn")),type:"button",onClick:E},[He(C(Dn),{class:oe(C(c).e("close"))},{default:rt(()=>[(L(),yt(mr(C(m))))]),_:1},8,["class"])],2)):xe("v-if",!0),x("header",{class:oe([C(c).e("header"),{"show-close":C(l)}])},[ht(_.$slots,"header",{},()=>[x("span",{role:"heading",class:oe(C(c).e("title"))},je(_.title),3)])],2),x("div",{class:oe(C(c).e("body"))},[ht(_.$slots,"default",{},()=>[x("span",null,je(_.description),1)])],2),x("footer",{class:oe(C(c).e("footer"))},[x("div",{class:oe(C(c).b("indicators"))},[C(f).indicators?(L(),yt(mr(C(f).indicators),{key:0,current:C(a),total:C(s)},null,8,["current","total"])):(L(!0),G(Rt,{key:1},un(C(s),(O,k)=>(L(),G("span",{key:O,class:oe([C(c).b("indicator"),k===C(a)?"is-active":""])},null,2))),128))],2),x("div",{class:oe(C(c).b("buttons"))},[C(a)>0?(L(),yt(C(Xa),vr({key:0,size:"small",type:C(d)},b(_.prevButtonProps),{onClick:w}),{default:rt(()=>{var O,k;return[bn(je((k=(O=_.prevButtonProps)==null?void 0:O.children)!=null?k:C(o)("el.tour.previous")),1)]}),_:1},16,["type"])):xe("v-if",!0),C(a)<=C(s)-1?(L(),yt(C(Xa),vr({key:1,size:"small",type:C(d)==="primary"?"default":"primary"},b(_.nextButtonProps),{onClick:A}),{default:rt(()=>{var O,k;return[bn(je((k=(O=_.nextButtonProps)==null?void 0:O.children)!=null?k:C(a)===C(s)-1?C(o)("el.tour.finish"):C(o)("el.tour.next")),1)]}),_:1},16,["type"])):xe("v-if",!0)],2)],2)],64))}});var Z2e=on(Jit,[["__file","step.vue"]]);const eat=or(Yit,{TourStep:Z2e}),tat=vi(Z2e),nat=Jt({container:{type:ct([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:ct(String),default:"default"},direction:{type:ct(String),default:"vertical"},selectScrollTop:Boolean}),rat={change:e=>In(e),click:(e,t)=>e instanceof MouseEvent&&(In(t)||Vr(t))},X2e=Symbol("anchor"),Dx=e=>{if(!Xr||e==="")return null;if(In(e))try{return document.querySelector(e)}catch{return null}return e};function oat(e){let t=0;const n=(...r)=>{t&&Pv(t),t=s0(()=>{e(...r),t=0})};return n.cancel=()=>{Pv(t),t=0},n}const iat=nt({name:"ElAnchor"}),aat=nt({...iat,props:nat,emits:rat,setup(e,{expose:t,emit:n}){const r=e,o=ga(),i=K(""),a=K({}),s=K(null),l=K(null),u=K(),d={};let c=!1,f=0;const p=Vt("anchor"),v=ee(()=>[p.b(),r.type==="underline"?p.m("underline"):"",p.m(r.direction)]),h=M=>{d[M.href]=M.el},g=M=>{delete d[M]},y=M=>{i.value!==M&&(i.value=M,n(Pr,M))};let m=null;const b=M=>{if(!u.value)return;const O=Dx(M);if(!O)return;m&&m(),c=!0;const k=QX(O,u.value),R=IL(O,k),N=k.scrollHeight-k.clientHeight,W=Math.min(R-r.offset,N);m=CBe(u.value,f,W,r.duration,()=>{setTimeout(()=>{c=!1},20)})},w=M=>{M&&(y(M),b(M))},A=(M,O)=>{n("click",M,O),w(O)},S=oat(()=>{u.value&&(f=ZX(u.value));const M=E();c||Vr(M)||y(M)}),E=()=>{if(!u.value)return;const M=ZX(u.value),O=[];for(const k of Object.keys(d)){const R=Dx(k);if(!R)continue;const N=QX(R,u.value),W=IL(R,N);O.push({top:W-r.offset-r.bound,href:k})}O.sort((k,R)=>k.top-R.top);for(let k=0;kM))return R.href}},D=()=>{const M=Dx(r.container);!M||N5(M)?u.value=window:u.value=M};Ro(u,"scroll",S);const _=()=>{Yt(()=>{if(!s.value||!l.value||!i.value){a.value={};return}const M=d[i.value];if(!M){a.value={};return}const O=s.value.getBoundingClientRect(),k=l.value.getBoundingClientRect(),R=M.getBoundingClientRect();if(r.direction==="horizontal"){const N=R.left-O.left;a.value={left:`${N}px`,width:`${R.width}px`,opacity:1}}else{const N=R.top-O.top+(R.height-k.height)/2;a.value={top:`${N}px`,opacity:1}}})};return St(i,_),St(()=>{var M;return(M=o.default)==null?void 0:M.call(o)},_),qn(()=>{D();const M=decodeURIComponent(window.location.hash);Dx(M)?w(M):S()}),St(()=>r.container,()=>{D()}),_r(X2e,{ns:p,direction:r.direction,currentAnchor:i,addLink:h,removeLink:g,handleClick:A}),t({scrollTo:w}),(M,O)=>(L(),G("div",{ref_key:"anchorRef",ref:s,class:oe(C(v))},[M.marker?(L(),G("div",{key:0,ref_key:"markerRef",ref:l,class:oe(C(p).e("marker")),style:rn(a.value)},null,6)):xe("v-if",!0),x("div",{class:oe(C(p).e("list"))},[ht(M.$slots,"default")],2)],2))}});var sat=on(aat,[["__file","anchor.vue"]]);const lat=Jt({title:String,href:String}),uat=nt({name:"ElAnchorLink"}),cat=nt({...uat,props:lat,setup(e){const t=e,n=K(null),{ns:r,direction:o,currentAnchor:i,addLink:a,removeLink:s,handleClick:l}=dn(X2e),u=ee(()=>[r.e("link"),r.is("active",i.value===t.href)]),d=c=>{l(c,t.href)};return St(()=>t.href,(c,f)=>{Yt(()=>{f&&s(f),c&&a({href:c,el:n.value})})}),qn(()=>{const{href:c}=t;c&&a({href:c,el:n.value})}),Jr(()=>{const{href:c}=t;c&&s(c)}),(c,f)=>(L(),G("div",{class:oe(C(r).e("item"))},[x("a",{ref_key:"linkRef",ref:n,class:oe(C(u)),href:c.href,onClick:d},[ht(c.$slots,"default",{},()=>[bn(je(c.title),1)])],10,["href"]),c.$slots["sub-link"]&&C(o)==="vertical"?(L(),G("div",{key:0,class:oe(C(r).e("list"))},[ht(c.$slots,"sub-link")],2)):xe("v-if",!0)],2))}});var J2e=on(cat,[["__file","anchor-link.vue"]]);const dat=or(sat,{AnchorLink:J2e}),fat=vi(J2e),ewe={label:"label",value:"value",disabled:"disabled"},pat=Jt({direction:{type:ct(String),default:"horizontal"},options:{type:ct(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:ct(Object),default:()=>ewe},block:Boolean,size:Aa,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,..._s(["ariaLabel"])}),hat={[Qn]:e=>In(e)||$n(e)||Eo(e),[Pr]:e=>In(e)||$n(e)||Eo(e)},gat=nt({name:"ElSegmented"}),vat=nt({...gat,props:pat,emits:hat,setup(e,{emit:t}){const n=e,r=Vt("segmented"),o=ps(),i=ha(),a=Va(),{formItem:s}=Ds(),{inputId:l,isLabeledByFormItem:u}=fc(n,{formItemContext:s}),d=K(null),c=WRe(),f=Wr({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),p=O=>{const k=g(O);t(Qn,k),t(Pr,k)},v=ee(()=>({...ewe,...n.props})),h=O=>O,g=O=>dr(O)?O[v.value.value]:O,y=O=>dr(O)?O[v.value.label]:O,m=O=>!!(a.value||dr(O)&&O[v.value.disabled]),b=O=>n.modelValue===g(O),w=O=>n.options.find(k=>g(k)===O),A=O=>[r.e("item"),r.is("selected",b(O)),r.is("disabled",m(O))],S=()=>{if(!d.value)return;const O=d.value.querySelector(".is-selected"),k=d.value.querySelector(".is-selected input");if(!O||!k){f.width=0,f.height=0,f.translateX=0,f.translateY=0,f.focusVisible=!1;return}f.isInit=!0,n.direction==="vertical"?(f.height=O.offsetHeight,f.translateY=O.offsetTop):(f.width=O.offsetWidth,f.translateX=O.offsetLeft);try{f.focusVisible=k.matches(":focus-visible")}catch{}},E=ee(()=>[r.b(),r.m(i.value),r.is("block",n.block)]),D=ee(()=>({width:n.direction==="vertical"?"100%":`${f.width}px`,height:n.direction==="vertical"?`${f.height}px`:"100%",transform:n.direction==="vertical"?`translateY(${f.translateY}px)`:`translateX(${f.translateX}px)`,display:f.isInit?"block":"none"})),_=ee(()=>[r.e("item-selected"),r.is("disabled",m(w(n.modelValue))),r.is("focus-visible",f.focusVisible)]),M=ee(()=>n.name||o.value);return li(d,S),St(c,S),St(()=>n.modelValue,()=>{var O;S(),n.validateEvent&&((O=s?.validate)==null||O.call(s,"change").catch(k=>void 0))},{flush:"post"}),(O,k)=>O.options.length?(L(),G("div",{key:0,id:C(l),ref_key:"segmentedRef",ref:d,class:oe(C(E)),role:"radiogroup","aria-label":C(u)?void 0:O.ariaLabel||"segmented","aria-labelledby":C(u)?C(s).labelId:void 0},[x("div",{class:oe([C(r).e("group"),C(r).m(n.direction)])},[x("div",{style:rn(C(D)),class:oe(C(_))},null,6),(L(!0),G(Rt,null,un(O.options,(R,N)=>(L(),G("label",{key:N,class:oe(A(R))},[x("input",{class:oe(C(r).e("item-input")),type:"radio",name:C(M),disabled:m(R),checked:b(R),onChange:W=>p(R)},null,42,["name","disabled","checked","onChange"]),x("div",{class:oe(C(r).e("item-label"))},[ht(O.$slots,"default",{item:h(R)},()=>[bn(je(y(R)),1)])],2)],2))),128))],2)],10,["id","aria-label","aria-labelledby"])):xe("v-if",!0)}});var mat=on(vat,[["__file","segmented.vue"]]);const yat=or(mat),bat=(e,t)=>{const n=e.toLowerCase();return(t.label||t.value).toLowerCase().includes(n)},wat=(e,t,n)=>{const{selectionEnd:r}=e;if(r===null)return;const o=e.value,i=Ya(t);let a=-1,s;for(let l=r-1;l>=0;--l){const u=o[l];if(u===n||u===` `||u==="\r"){a=l;continue}if(i.includes(u)){const d=a===-1?r:a;s={pattern:o.slice(l+1,d),start:l+1,end:d,prefix:u,prefixIndex:l,splitIndex:a,selectionEnd:r};break}}return s},Aat=(e,t={debug:!1,useSelectionEnd:!1})=>{const n=e.selectionStart!==null?e.selectionStart:0,r=e.selectionEnd!==null?e.selectionEnd:0,o=t.useSelectionEnd?r:n,i=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const f=document.querySelector("#input-textarea-caret-position-mirror-div");f?.parentNode&&f.parentNode.removeChild(f)}const a=document.createElement("div");a.id="input-textarea-caret-position-mirror-div",document.body.appendChild(a);const s=a.style,l=window.getComputedStyle(e),u=e.nodeName==="INPUT";s.whiteSpace=u?"nowrap":"pre-wrap",u||(s.wordWrap="break-word"),s.position="absolute",t.debug||(s.visibility="hidden"),i.forEach(f=>{if(u&&f==="lineHeight")if(l.boxSizing==="border-box"){const p=Number.parseInt(l.height),v=Number.parseInt(l.paddingTop)+Number.parseInt(l.paddingBottom)+Number.parseInt(l.borderTopWidth)+Number.parseInt(l.borderBottomWidth),h=v+Number.parseInt(l.lineHeight);p>h?s.lineHeight=`${p-v}px`:p===h?s.lineHeight=l.lineHeight:s.lineHeight="0"}else s.lineHeight=l.height;else s[f]=l[f]}),kH()?e.scrollHeight>Number.parseInt(l.height)&&(s.overflowY="scroll"):s.overflow="hidden",a.textContent=e.value.slice(0,Math.max(0,o)),u&&a.textContent&&(a.textContent=a.textContent.replace(/\s/g," "));const d=document.createElement("span");d.textContent=e.value.slice(Math.max(0,o))||".",d.style.position="relative",d.style.left=`${-e.scrollLeft}px`,d.style.top=`${-e.scrollTop}px`,a.appendChild(d);const c={top:d.offsetTop+Number.parseInt(l.borderTopWidth),left:d.offsetLeft+Number.parseInt(l.borderLeftWidth),height:Number.parseInt(l.fontSize)*1.5};return t.debug?d.style.backgroundColor="#aaa":document.body.removeChild(a),c.left>=e.clientWidth&&(c.left=e.clientWidth),c},Cat=Jt({...L5,options:{type:ct(Array),default:()=>[]},prefix:{type:ct([String,Array]),default:"@",validator:e=>In(e)?e.length===1:e.every(t=>In(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:ct([Boolean,Function]),default:()=>bat,validator:e=>e===!1?!0:Rn(e)},placement:{type:ct(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:ct(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:ct(Object),default:()=>({})}}),xat={[Qn]:e=>In(e),"whole-remove":(e,t)=>In(e)&&In(t),input:e=>In(e),search:(e,t)=>In(e)&&In(t),select:(e,t)=>In(e.value)&&In(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Sat=Jt({options:{type:ct(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),Eat={select:e=>In(e.value)},kat=nt({name:"ElMentionDropdown"}),Tat=nt({...kat,props:Sat,emits:Eat,setup(e,{expose:t,emit:n}){const r=e,o=Vt("mention"),{t:i}=Gr(),a=K(-1),s=K(),l=K(),u=K(),d=(b,w)=>[o.be("dropdown","item"),o.is("hovering",a.value===w),o.is("disabled",b.disabled||r.disabled)],c=b=>{b.disabled||r.disabled||n("select",b)},f=b=>{a.value=b},p=ee(()=>r.disabled||r.options.every(b=>b.disabled)),v=ee(()=>r.options[a.value]),h=()=>{v.value&&n("select",v.value)},g=b=>{const{options:w}=r;if(w.length===0||p.value)return;b==="next"?(a.value++,a.value===w.length&&(a.value=0)):b==="prev"&&(a.value--,a.value<0&&(a.value=w.length-1));const A=w[a.value];if(A.disabled){g(b);return}Yt(()=>y(A))},y=b=>{var w,A,S,E;const{options:D}=r,_=D.findIndex(O=>O.value===b.value),M=(w=l.value)==null?void 0:w[_];if(M){const O=(S=(A=u.value)==null?void 0:A.querySelector)==null?void 0:S.call(A,`.${o.be("dropdown","wrap")}`);O&&CH(O,M)}(E=s.value)==null||E.handleScroll()};return St(()=>r.options,()=>{p.value||r.options.length===0?a.value=-1:a.value=0},{immediate:!0}),t({hoveringIndex:a,navigateOptions:g,selectHoverOption:h,hoverOption:v}),(b,w)=>(L(),G("div",{ref_key:"dropdownRef",ref:u,class:oe(C(o).b("dropdown"))},[b.$slots.header?(L(),G("div",{key:0,class:oe(C(o).be("dropdown","header"))},[ht(b.$slots,"header")],2)):xe("v-if",!0),cn(He(C(Hc),{id:b.contentId,ref_key:"scrollbarRef",ref:s,tag:"ul","wrap-class":C(o).be("dropdown","wrap"),"view-class":C(o).be("dropdown","list"),role:"listbox","aria-label":b.ariaLabel,"aria-orientation":"vertical"},{default:rt(()=>[(L(!0),G(Rt,null,un(b.options,(A,S)=>(L(),G("li",{id:`${b.contentId}-${S}`,ref_for:!0,ref_key:"optionRefs",ref:l,key:S,class:oe(d(A,S)),role:"option","aria-disabled":A.disabled||b.disabled||void 0,"aria-selected":a.value===S,onMousemove:E=>f(S),onClick:en(E=>c(A),["stop"])},[ht(b.$slots,"label",{item:A,index:S},()=>{var E;return[x("span",null,je((E=A.label)!=null?E:A.value),1)]})],42,["id","aria-disabled","aria-selected","onMousemove","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[kr,b.options.length>0&&!b.loading]]),b.loading?(L(),G("div",{key:1,class:oe(C(o).be("dropdown","loading"))},[ht(b.$slots,"loading",{},()=>[bn(je(C(i)("el.mention.loading")),1)])],2)):xe("v-if",!0),b.$slots.footer?(L(),G("div",{key:2,class:oe(C(o).be("dropdown","footer"))},[ht(b.$slots,"footer")],2)):xe("v-if",!0)],2))}});var _at=on(Tat,[["__file","mention-dropdown.vue"]]);const Dat=nt({name:"ElMention",inheritAttrs:!1}),Iat=nt({...Dat,props:Cat,emits:xat,setup(e,{expose:t,emit:n}){const r=e,o=ee(()=>uu(r,Object.keys(L5))),i=Vt("mention"),a=Va(),s=ps(),l=K(),u=K(),d=K(),c=K(!1),f=K(),p=K(),v=ee(()=>r.showArrow?r.placement:`${r.placement}-start`),h=ee(()=>r.showArrow?["bottom","top"]:["bottom-start","top-start"]),g=ee(()=>{const{filterOption:k,options:R}=r;return!p.value||!k?R:R.filter(N=>k(p.value.pattern,N))}),y=ee(()=>c.value&&(!!g.value.length||r.loading)),m=ee(()=>{var k;return`${s.value}-${(k=d.value)==null?void 0:k.hoveringIndex}`}),b=k=>{n(Qn,k),n(ba,k),_()},w=k=>{var R,N,W,B;if(!(!("code"in k)||(R=l.value)!=null&&R.isComposing))switch(k.code){case gn.left:case gn.right:_();break;case gn.up:case gn.down:if(!c.value)return;k.preventDefault(),(N=d.value)==null||N.navigateOptions(k.code===gn.up?"prev":"next");break;case gn.enter:case gn.numpadEnter:if(!c.value)return;k.preventDefault(),(W=d.value)!=null&&W.hoverOption?(B=d.value)==null||B.selectHoverOption():c.value=!1;break;case gn.esc:if(!c.value)return;k.preventDefault(),c.value=!1;break;case gn.backspace:if(r.whole&&p.value){const{splitIndex:z,selectionEnd:j,pattern:q,prefixIndex:Y,prefix:U}=p.value,F=D();if(!F)return;const H=F.value,re=r.options.find(te=>te.value===q);if((Rn(r.checkIsWhole)?r.checkIsWhole(q,U):re)&&z!==-1&&z+1===j){k.preventDefault();const te=H.slice(0,Y)+H.slice(z+1);n(Qn,te),n(ba,te),n("whole-remove",q,U);const Z=Y;Yt(()=>{F.selectionStart=Z,F.selectionEnd=Z,O()})}}}},{wrapperRef:A}=Ap(l,{disabled:a,afterFocus(){_()},beforeBlur(k){var R;return(R=u.value)==null?void 0:R.isFocusInsideContent(k)},afterBlur(){c.value=!1}}),S=()=>{_()},E=k=>{if(!p.value)return;const R=D();if(!R)return;const N=R.value,{split:W}=r,B=N.slice(p.value.end),z=B.startsWith(W),j=`${k.value}${z?"":W}`,q=N.slice(0,p.value.start)+j+B;n(Qn,q),n(ba,q),n("select",k,p.value.prefix);const Y=p.value.start+j.length+(z?1:0);Yt(()=>{R.selectionStart=Y,R.selectionEnd=Y,R.focus(),O()})},D=()=>{var k,R;return r.type==="textarea"?(k=l.value)==null?void 0:k.textarea:(R=l.value)==null?void 0:R.input},_=()=>{setTimeout(()=>{M(),O(),Yt(()=>{var k;return(k=u.value)==null?void 0:k.updatePopper()})},0)},M=()=>{const k=D();if(!k)return;const R=Aat(k),N=k.getBoundingClientRect(),W=l.value.$el.getBoundingClientRect();f.value={position:"absolute",width:0,height:`${R.height}px`,left:`${R.left+N.left-W.left}px`,top:`${R.top+N.top-W.top}px`}},O=()=>{const k=D();if(document.activeElement!==k){c.value=!1;return}const{prefix:R,split:N}=r;if(p.value=wat(k,R,N),p.value&&p.value.splitIndex===-1){c.value=!0,n("search",p.value.pattern,p.value.prefix);return}c.value=!1};return t({input:l,tooltip:u,dropdownVisible:y}),(k,R)=>(L(),G("div",{ref_key:"wrapperRef",ref:A,class:oe(C(i).b())},[He(C(js),vr(vr(C(o),k.$attrs),{ref_key:"elInputRef",ref:l,"model-value":k.modelValue,disabled:C(a),role:C(y)?"combobox":void 0,"aria-activedescendant":C(y)?C(m)||"":void 0,"aria-controls":C(y)?C(s):void 0,"aria-expanded":C(y)||void 0,"aria-label":k.ariaLabel,"aria-autocomplete":C(y)?"none":void 0,"aria-haspopup":C(y)?"listbox":void 0,onInput:b,onKeydown:w,onMousedown:S}),Hl({_:2},[un(k.$slots,(N,W)=>({name:W,fn:rt(B=>[ht(k.$slots,W,Il($d(B)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),He(C(hs),{ref_key:"tooltipRef",ref:u,visible:C(y),"popper-class":[C(i).e("popper"),k.popperClass],"popper-options":k.popperOptions,placement:C(v),"fallback-placements":C(h),effect:"light",pure:"",offset:k.offset,"show-arrow":k.showArrow},{default:rt(()=>[x("div",{style:rn(f.value)},null,4)]),content:rt(()=>{var N;return[He(_at,{ref_key:"dropdownRef",ref:d,options:C(g),disabled:C(a),loading:k.loading,"content-id":C(s),"aria-label":k.ariaLabel,onSelect:E,onClick:en((N=l.value)==null?void 0:N.focus,["stop"])},Hl({_:2},[un(k.$slots,(W,B)=>({name:B,fn:rt(z=>[ht(k.$slots,B,Il($d(z)))])}))]),1032,["options","disabled","loading","content-id","aria-label","onClick"])]}),_:3},8,["visible","popper-class","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});var Oat=on(Iat,[["__file","mention.vue"]]);const Mat=or(Oat);var Pat=[_Be,ZLe,$ze,tnt,Gze,e$e,U1e,f$e,p$e,Xa,V1e,lje,pje,Ije,Oje,NHe,fye,zHe,tc,Vje,rye,VHe,lWe,uWe,fD,wye,RWe,FWe,QWe,ZWe,XWe,JWe,eVe,Oqe,Nye,$qe,jqe,Hye,Wye,xGe,fKe,pKe,hKe,obe,pYe,hYe,Dn,EYe,sbe,js,lbe,zYe,qYe,dQe,fQe,pQe,hQe,wQe,dZe,mZe,kZe,R1e,vbe,cye,oHe,rHe,BZe,$Ze,KZe,Hc,Nv,DE,VQe,kXe,RXe,BXe,tJe,aJe,_be,mJe,kJe,TJe,PJe,Vet,qet,ent,vnt,mnt,Nh,NW,AVe,Tnt,Pnt,Nnt,hs,eot,pot,$E,Mot,Yot,yit,Dit,eat,tat,dat,fat,yat,Mat,Kye,RS];const Ru="ElInfiniteScroll",Nat=50,Rat=200,Bat=0,Lat={delay:{type:Number,default:Rat},distance:{type:Number,default:Bat},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},QW=(e,t)=>Object.entries(Lat).reduce((n,[r,o])=>{var i,a;const{type:s,default:l}=o,u=e.getAttribute(`infinite-scroll-${r}`);let d=(a=(i=t[u])!=null?i:u)!=null?a:l;return d=d==="false"?!1:d,d=s(d),n[r]=Number.isNaN(d)?l:d,n},{}),twe=e=>{const{observer:t}=e[Ru];t&&(t.disconnect(),delete e[Ru].observer)},Fat=(e,t)=>{const{container:n,containerEl:r,instance:o,observer:i,lastScrollTop:a}=e[Ru],{disabled:s,distance:l}=QW(e,o),{clientHeight:u,scrollHeight:d,scrollTop:c}=r,f=c-a;if(e[Ru].lastScrollTop=c,i||s||f<0)return;let p=!1;if(n===e)p=d-(u+c)<=l;else{const{clientTop:v,scrollHeight:h}=e,g=IL(e,r);p=c+u>=g+v+h-l}p&&t.call(o)};function BI(e,t){const{containerEl:n,instance:r}=e[Ru],{disabled:o}=QW(e,r);o||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):twe(e))}const Uat={async mounted(e,t){const{instance:n,value:r}=t;Rn(r)||na(Ru,"'v-infinite-scroll' binding value must be a function"),await Yt();const{delay:o,immediate:i}=QW(e,n),a=AH(e,!0),s=a===window?document.documentElement:a,l=Zg(Fat.bind(null,e,r),o);if(a){if(e[Ru]={instance:n,container:a,containerEl:s,delay:o,cb:r,onScroll:l,lastScrollTop:s.scrollTop},i){const u=new MutationObserver(Zg(BI.bind(null,e,r),Nat));e[Ru].observer=u,u.observe(e,{childList:!0,subtree:!0}),BI(e,r)}a.addEventListener("scroll",l)}},unmounted(e){if(!e[Ru])return;const{container:t,onScroll:n}=e[Ru];t?.removeEventListener("scroll",n),twe(e)},async updated(e){if(!e[Ru])await Yt();else{const{containerEl:t,cb:n,observer:r}=e[Ru];t.clientHeight&&r&&BI(e,n)}}},yF=Uat;yF.install=e=>{e.directive("InfiniteScroll",yF)};const zat=yF;function $at(e,t){let n;const r=K(!1),o=Wr({...e,originalPosition:"",originalOverflow:"",visible:!1});function i(p){o.text=p}function a(){const p=o.parent,v=f.ns;if(!p.vLoadingAddClassList){let h=p.getAttribute("loading-number");h=Number.parseInt(h)-1,h?p.setAttribute("loading-number",h.toString()):(Ws(p,v.bm("parent","relative")),p.removeAttribute("loading-number")),Ws(p,v.bm("parent","hidden"))}s(),c.unmount()}function s(){var p,v;(v=(p=f.$el)==null?void 0:p.parentNode)==null||v.removeChild(f.$el)}function l(){var p;e.beforeClose&&!e.beforeClose()||(r.value=!0,clearTimeout(n),n=setTimeout(u,400),o.visible=!1,(p=e.closed)==null||p.call(e))}function u(){if(!r.value)return;const p=o.parent;r.value=!1,p.vLoadingAddClassList=void 0,a()}const c=eve(nt({name:"ElLoading",setup(p,{expose:v}){const{ns:h,zIndex:g}=rD("loading");return v({ns:h,zIndex:g}),()=>{const y=o.spinner||o.svg,m=jn("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...y?{innerHTML:y}:{}},[jn("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),b=o.text?jn("p",{class:h.b("text")},[o.text]):void 0;return jn(Ki,{name:h.b("fade"),onAfterLeave:u},{default:rt(()=>[cn(He("div",{style:{backgroundColor:o.background||""},class:[h.b("mask"),o.customClass,o.fullscreen?"is-fullscreen":""]},[jn("div",{class:h.b("spinner")},[m,b])]),[[kr,o.visible]])])})}}}));Object.assign(c._context,t??{});const f=c.mount(document.createElement("div"));return{...Oa(o),setText:i,removeElLoadingChild:s,close:l,handleAfterLeave:u,vm:f,get $el(){return f.$el}}}let Ix;const uy=function(e={}){if(!Xr)return;const t=jat(e);if(t.fullscreen&&Ix)return Ix;const n=$at({...t,closed:()=>{var o;(o=t.closed)==null||o.call(t),t.fullscreen&&(Ix=void 0)}},uy._context);Hat(t,t.parent,n),Xee(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Xee(t,t.parent,n);let r=t.parent.getAttribute("loading-number");return r?r=`${Number.parseInt(r)+1}`:r="1",t.parent.setAttribute("loading-number",r),t.parent.appendChild(n.$el),Yt(()=>n.visible.value=t.visible),t.fullscreen&&(Ix=n),n},jat=e=>{var t,n,r,o;let i;return In(e.target)?i=(t=document.querySelector(e.target))!=null?t:document.body:i=e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(r=e.lock)!=null?r:!1,customClass:e.customClass||"",visible:(o=e.visible)!=null?o:!0,beforeClose:e.beforeClose,closed:e.closed,target:i}},Hat=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,o={};if(e.fullscreen)n.originalPosition.value=Mf(document.body,"position"),n.originalOverflow.value=Mf(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Mf(document.body,"position"),await Yt();for(const i of["top","left"]){const a=i==="top"?"scrollTop":"scrollLeft";o[i]=`${e.target.getBoundingClientRect()[i]+document.body[a]+document.documentElement[a]-Number.parseInt(Mf(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])o[i]=`${e.target.getBoundingClientRect()[i]}px`}else n.originalPosition.value=Mf(t,"position");for(const[i,a]of Object.entries(o))n.$el.style[i]=a},Xee=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Ws(t,r.bm("parent","relative")):zu(t,r.bm("parent","relative")),e.fullscreen&&e.lock?zu(t,r.bm("parent","hidden")):Ws(t,r.bm("parent","hidden"))};uy._context=null;const k4=Symbol("ElLoading"),Ag=e=>`element-loading-${vp(e)}`,Jee=(e,t)=>{var n,r,o,i;const a=t.instance,s=p=>dr(t.value)?t.value[p]:void 0,l=p=>{const v=In(p)&&a?.[p]||p;return K(v)},u=p=>l(s(p)||e.getAttribute(Ag(p))),d=(n=s("fullscreen"))!=null?n:t.modifiers.fullscreen,c={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:d,target:(r=s("target"))!=null?r:d?void 0:e,body:(o=s("body"))!=null?o:t.modifiers.body,lock:(i=s("lock"))!=null?i:t.modifiers.lock},f=uy(c);f._context=i3._context,e[k4]={options:c,instance:f}},Wat=(e,t)=>{for(const n of Object.keys(e))Uo(e[n])&&(e[n].value=t[n])},i3={mounted(e,t){t.value&&Jee(e,t)},updated(e,t){const n=e[k4];if(!t.value){n?.instance.close(),e[k4]=null;return}n?Wat(n.options,dr(t.value)?t.value:{text:e.getAttribute(Ag("text")),svg:e.getAttribute(Ag("svg")),svgViewBox:e.getAttribute(Ag("svgViewBox")),spinner:e.getAttribute(Ag("spinner")),background:e.getAttribute(Ag("background")),customClass:e.getAttribute(Ag("customClass"))}):Jee(e,t)},unmounted(e){var t;(t=e[k4])==null||t.instance.close(),e[k4]=null}};i3._context=null;const Vat={install(e){uy._context=e._context,i3._context=e._context,e.directive("loading",i3),e.config.globalProperties.$loading=uy},directive:i3,service:uy},nwe=["primary","success","info","warning","error"],rwe=["top","top-left","top-right","bottom","bottom-left","bottom-right"],pA="top",Ps=fi({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:Xr?document.body:void 0}),qat=Jt({customClass:{type:String,default:Ps.customClass},dangerouslyUseHTMLString:{type:Boolean,default:Ps.dangerouslyUseHTMLString},duration:{type:Number,default:Ps.duration},icon:{type:wo,default:Ps.icon},id:{type:String,default:Ps.id},message:{type:ct([String,Object,Function]),default:Ps.message},onClose:{type:ct(Function),default:Ps.onClose},showClose:{type:Boolean,default:Ps.showClose},type:{type:String,values:nwe,default:Ps.type},plain:{type:Boolean,default:Ps.plain},offset:{type:Number,default:Ps.offset},placement:{type:String,values:rwe,default:Ps.placement},zIndex:{type:Number,default:Ps.zIndex},grouping:{type:Boolean,default:Ps.grouping},repeatNum:{type:Number,default:Ps.repeatNum}}),Gat={destroy:()=>!0},Mc=M_({}),Kat=e=>(Mc[e]||(Mc[e]=M_([])),Mc[e]),Yat=(e,t)=>{const n=Mc[t]||[],r=n.findIndex(a=>a.id===e),o=n[r];let i;return r>0&&(i=n[r-1]),{current:o,prev:i}},Qat=(e,t)=>{const{prev:n}=Yat(e,t);return n?n.vm.exposed.bottom.value:0},Zat=(e,t,n)=>(Mc[n]||[]).findIndex(i=>i.id===e)>0?16:t,Xat=nt({name:"ElMessage"}),Jat=nt({...Xat,props:qat,emits:Gat,setup(e,{expose:t,emit:n}){const r=e,{Close:o}=EH,i=K(!1),{ns:a,zIndex:s}=rD("message"),{currentZIndex:l,nextZIndex:u}=s,d=K(),c=K(!1),f=K(0);let p;const v=ee(()=>r.type?r.type==="error"?"danger":r.type:"info"),h=ee(()=>{const k=r.type;return{[a.bm("icon",k)]:k&&c0[k]}}),g=ee(()=>r.icon||c0[r.type]||""),y=ee(()=>r.placement||pA),m=ee(()=>Qat(r.id,y.value)),b=ee(()=>Zat(r.id,r.offset,y.value)+m.value),w=ee(()=>f.value+b.value),A=ee(()=>y.value.includes("left")?a.is("left"):y.value.includes("right")?a.is("right"):a.is("center")),S=ee(()=>y.value.startsWith("top")?"top":"bottom"),E=ee(()=>({[S.value]:`${b.value}px`,zIndex:l.value}));function D(){r.duration!==0&&({stop:p}=Mv(()=>{M()},r.duration))}function _(){p?.()}function M(){c.value=!1,Yt(()=>{var k;i.value||((k=r.onClose)==null||k.call(r),n("destroy"))})}function O({code:k}){k===gn.esc&&M()}return qn(()=>{D(),u(),c.value=!0}),St(()=>r.repeatNum,()=>{_(),D()}),Ro(document,"keydown",O),li(d,()=>{f.value=d.value.getBoundingClientRect().height}),t({visible:c,bottom:w,close:M}),(k,R)=>(L(),yt(Ki,{name:C(a).b("fade"),onBeforeEnter:N=>i.value=!0,onBeforeLeave:k.onClose,onAfterLeave:N=>k.$emit("destroy"),persisted:""},{default:rt(()=>[cn(x("div",{id:k.id,ref_key:"messageRef",ref:d,class:oe([C(a).b(),{[C(a).m(k.type)]:k.type},C(a).is("closable",k.showClose),C(a).is("plain",k.plain),C(a).is("bottom",C(S)==="bottom"),C(A),k.customClass]),style:rn(C(E)),role:"alert",onMouseenter:_,onMouseleave:D},[k.repeatNum>1?(L(),yt(C(U1e),{key:0,value:k.repeatNum,type:C(v),class:oe(C(a).e("badge"))},null,8,["value","type","class"])):xe("v-if",!0),C(g)?(L(),yt(C(Dn),{key:1,class:oe([C(a).e("icon"),C(h)])},{default:rt(()=>[(L(),yt(mr(C(g))))]),_:1},8,["class"])):xe("v-if",!0),ht(k.$slots,"default",{},()=>[k.dangerouslyUseHTMLString?(L(),G(Rt,{key:1},[xe(" Caution here, message could've been compromised, never use user's input as message "),x("p",{class:oe(C(a).e("content")),innerHTML:k.message},null,10,["innerHTML"])],2112)):(L(),G("p",{key:0,class:oe(C(a).e("content"))},je(k.message),3))]),k.showClose?(L(),yt(C(Dn),{key:2,class:oe(C(a).e("closeBtn")),onClick:en(M,["stop"])},{default:rt(()=>[He(C(o))]),_:1},8,["class","onClick"])):xe("v-if",!0)],46,["id"]),[[kr,c.value]])]),_:3},8,["name","onBeforeEnter","onBeforeLeave","onAfterLeave"]))}});var est=on(Jat,[["__file","message.vue"]]);let tst=1;const nst=e=>{if(!e.appendTo)e.appendTo=document.body;else if(In(e.appendTo)){let n=document.querySelector(e.appendTo);cl(n)||(n=document.body),e.appendTo=n}},rst=e=>{!e.placement&&In(Bs.placement)&&Bs.placement&&(e.placement=Bs.placement),e.placement||(e.placement=pA),rwe.includes(e.placement)||(e.placement=pA)},owe=e=>{const t=!e||In(e)||Vo(e)||Rn(e)?{message:e}:e,n={...Ps,...t};return nst(n),rst(n),Eo(Bs.grouping)&&!n.grouping&&(n.grouping=Bs.grouping),$n(Bs.duration)&&n.duration===3e3&&(n.duration=Bs.duration),$n(Bs.offset)&&n.offset===16&&(n.offset=Bs.offset),Eo(Bs.showClose)&&!n.showClose&&(n.showClose=Bs.showClose),Eo(Bs.plain)&&!n.plain&&(n.plain=Bs.plain),n},ost=e=>{const t=e.props.placement||pA,n=Mc[t],r=n.indexOf(e);if(r===-1)return;n.splice(r,1);const{handler:o}=e;o.close()},ist=({appendTo:e,...t},n)=>{const r=`message_${tst++}`,o=t.onClose,i=document.createElement("div"),a={...t,id:r,onClose:()=>{o?.(),ost(d)},onDestroy:()=>{i0(null,i)}},s=He(est,a,Rn(a.message)||Vo(a.message)?{default:Rn(a.message)?a.message:()=>a.message}:null);s.appContext=n||Fv._context,i0(s,i),e.appendChild(i.firstElementChild);const l=s.component,d={id:r,vnode:s,vm:l,handler:{close:()=>{l.exposed.close()}},props:s.component.props};return d},Fv=(e={},t)=>{if(!Xr)return{close:()=>{}};const n=owe(e),r=Kat(n.placement||pA);if(n.grouping&&r.length){const i=r.find(({vnode:a})=>{var s;return((s=a.props)==null?void 0:s.message)===n.message});if(i)return i.props.repeatNum+=1,i.props.type=n.type,i.handler}if($n(Bs.max)&&r.length>=Bs.max)return{close:()=>{}};const o=ist(n,t);return r.push(o),o.handler};nwe.forEach(e=>{Fv[e]=(t={},n)=>{const r=owe(t);return Fv({...r,type:e},n)}});function ast(e){for(const t in Mc)if(no(Mc,t)){const n=[...Mc[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function sst(e){if(!Mc[e])return;[...Mc[e]].forEach(n=>n.handler.close())}Fv.closeAll=ast;Fv.closeAllByPlacement=sst;Fv._context=null;const Et=Xme(Fv,"$message"),bF="_trap-focus-children",Hg=[],ete=e=>{if(Hg.length===0)return;const t=Hg[Hg.length-1][bF];if(t.length>0&&e.code===gn.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const n=e.shiftKey,r=e.target===t[0],o=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),o&&!n&&(e.preventDefault(),t[0].focus())}},lst={beforeMount(e){e[bF]=nJ(e),Hg.push(e),Hg.length<=1&&document.addEventListener("keydown",ete)},updated(e){Yt(()=>{e[bF]=nJ(e)})},unmounted(){Hg.shift(),Hg.length===0&&document.removeEventListener("keydown",ete)}},ust=nt({name:"ElMessageBox",directives:{TrapFocus:lst},components:{ElButton:Xa,ElFocusTrap:$b,ElInput:js,ElOverlay:tW,ElIcon:Dn,...EH},inheritAttrs:!1,props:{buttonSize:{type:String,validator:Obe},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:r,ns:o,size:i}=rD("message-box",ee(()=>e.buttonSize)),{t:a}=n,{nextZIndex:s}=r,l=K(!1),u=Wr({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:Rd(jc),cancelButtonLoadingIcon:Rd(jc),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),d=ee(()=>{const z=u.type;return{[o.bm("icon",z)]:z&&c0[z]}}),c=ps(),f=ps(),p=ee(()=>{const z=u.type;return u.icon||z&&c0[z]||""}),v=ee(()=>!!u.message),h=K(),g=K(),y=K(),m=K(),b=K(),w=ee(()=>u.confirmButtonClass);St(()=>u.inputValue,async z=>{await Yt(),e.boxType==="prompt"&&z&&R()},{immediate:!0}),St(()=>l.value,z=>{var j,q;z&&(e.boxType!=="prompt"&&(u.autofocus?y.value=(q=(j=b.value)==null?void 0:j.$el)!=null?q:h.value:y.value=h.value),u.zIndex=s()),e.boxType==="prompt"&&(z?Yt().then(()=>{var Y;m.value&&m.value.$el&&(u.autofocus?y.value=(Y=N())!=null?Y:h.value:y.value=h.value)}):(u.editorErrorMessage="",u.validateError=!1))});const A=ee(()=>e.draggable),S=ee(()=>e.overflow),{isDragging:E}=Uye(h,g,A,S);qn(async()=>{await Yt(),e.closeOnHashChange&&window.addEventListener("hashchange",D)}),Jr(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",D)});function D(){l.value&&(l.value=!1,Yt(()=>{u.action&&t("action",u.action)}))}const _=()=>{e.closeOnClickModal&&k(u.distinguishCancelAndClose?"close":"cancel")},M=eW(_),O=z=>{if(u.inputType!=="textarea")return z.preventDefault(),k("confirm")},k=z=>{var j;e.boxType==="prompt"&&z==="confirm"&&!R()||(u.action=z,u.beforeClose?(j=u.beforeClose)==null||j.call(u,z,u,D):D())},R=()=>{if(e.boxType==="prompt"){const z=u.inputPattern;if(z&&!z.test(u.inputValue||""))return u.editorErrorMessage=u.inputErrorMessage||a("el.messagebox.error"),u.validateError=!0,!1;const j=u.inputValidator;if(Rn(j)){const q=j(u.inputValue);if(q===!1)return u.editorErrorMessage=u.inputErrorMessage||a("el.messagebox.error"),u.validateError=!0,!1;if(In(q))return u.editorErrorMessage=q,u.validateError=!0,!1}}return u.editorErrorMessage="",u.validateError=!1,!0},N=()=>{var z,j;const q=(z=m.value)==null?void 0:z.$refs;return(j=q?.input)!=null?j:q?.textarea},W=()=>{k("close")},B=()=>{e.closeOnPressEscape&&W()};return e.lockScroll&&nW(l),{...Oa(u),ns:o,overlayEvent:M,visible:l,hasMessage:v,typeClass:d,contentId:c,inputId:f,btnSize:i,iconComponent:p,confirmButtonClasses:w,rootRef:h,focusStartRef:y,headerRef:g,inputRef:m,isDragging:E,confirmRef:b,doClose:D,handleClose:W,onCloseRequested:B,handleWrapperClick:_,handleInputEnter:O,handleAction:k,t:a}}});function cst(e,t,n,r,o,i){const a=hr("el-icon"),s=hr("el-input"),l=hr("el-button"),u=hr("el-focus-trap"),d=hr("el-overlay");return L(),yt(Ki,{name:"fade-in-linear",onAfterLeave:c=>e.$emit("vanish"),persisted:""},{default:rt(()=>[cn(He(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:rt(()=>[x("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:oe(`${e.ns.namespace.value}-overlay-message-box`),onClick:e.overlayEvent.onClick,onMousedown:e.overlayEvent.onMousedown,onMouseup:e.overlayEvent.onMouseup},[He(u,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:rt(()=>[x("div",{ref:"rootRef",class:oe([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),e.ns.is("dragging",e.isDragging),{[e.ns.m("center")]:e.center}]),style:rn(e.customStyle),tabindex:"-1",onClick:en(()=>{},["stop"])},[e.title!==null&&e.title!==void 0?(L(),G("div",{key:0,ref:"headerRef",class:oe([e.ns.e("header"),{"show-close":e.showClose}])},[x("div",{class:oe(e.ns.e("title"))},[e.iconComponent&&e.center?(L(),yt(a,{key:0,class:oe([e.ns.e("status"),e.typeClass])},{default:rt(()=>[(L(),yt(mr(e.iconComponent)))]),_:1},8,["class"])):xe("v-if",!0),x("span",null,je(e.title),1)],2),e.showClose?(L(),G("button",{key:0,type:"button",class:oe(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:c=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),onKeydown:$r(en(c=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"])},[He(a,{class:oe(e.ns.e("close"))},{default:rt(()=>[(L(),yt(mr(e.closeIcon||"close")))]),_:1},8,["class"])],42,["aria-label","onClick","onKeydown"])):xe("v-if",!0)],2)):xe("v-if",!0),x("div",{id:e.contentId,class:oe(e.ns.e("content"))},[x("div",{class:oe(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(L(),yt(a,{key:0,class:oe([e.ns.e("status"),e.typeClass])},{default:rt(()=>[(L(),yt(mr(e.iconComponent)))]),_:1},8,["class"])):xe("v-if",!0),e.hasMessage?(L(),G("div",{key:1,class:oe(e.ns.e("message"))},[ht(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(L(),yt(mr(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(L(),yt(mr(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:je(e.message)},null,8,["for","textContent"]))])],2)):xe("v-if",!0)],2),cn(x("div",{class:oe(e.ns.e("input"))},[He(s,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":c=>e.inputValue=c,type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:oe({invalid:e.validateError}),onKeydown:$r(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),x("div",{class:oe(e.ns.e("errormsg")),style:rn({visibility:e.editorErrorMessage?"visible":"hidden"})},je(e.editorErrorMessage),7)],2),[[kr,e.showInput]])],10,["id"]),x("div",{class:oe(e.ns.e("btns"))},[e.showCancelButton?(L(),yt(l,{key:0,loading:e.cancelButtonLoading,"loading-icon":e.cancelButtonLoadingIcon,class:oe([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:c=>e.handleAction("cancel"),onKeydown:$r(en(c=>e.handleAction("cancel"),["prevent"]),["enter"])},{default:rt(()=>[bn(je(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):xe("v-if",!0),cn(He(l,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,"loading-icon":e.confirmButtonLoadingIcon,class:oe([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:c=>e.handleAction("confirm"),onKeydown:$r(en(c=>e.handleAction("confirm"),["prevent"]),["enter"])},{default:rt(()=>[bn(je(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[kr,e.showConfirmButton]])],2)],14,["onClick"])]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,["aria-label","aria-describedby","onClick","onMousedown","onMouseup"])]),_:3},8,["z-index","overlay-class","mask"]),[[kr,e.visible]])]),_:3},8,["onAfterLeave"])}var dst=on(ust,[["render",cst],["__file","index.vue"]]);const hA=new Map,fst=e=>{let t=document.body;return e.appendTo&&(In(e.appendTo)&&(t=document.querySelector(e.appendTo)),cl(e.appendTo)&&(t=e.appendTo),cl(t)||(t=document.body)),t},pst=(e,t,n=null)=>{const r=He(dst,e,Rn(e.message)||Vo(e.message)?{default:Rn(e.message)?e.message:()=>e.message}:null);return r.appContext=n,i0(r,t),fst(e).appendChild(t.firstElementChild),r.component},hst=()=>document.createElement("div"),gst=(e,t)=>{const n=hst();e.onVanish=()=>{i0(null,n),hA.delete(o)},e.onAction=i=>{const a=hA.get(o);let s;e.showInput?s={value:o.inputValue,action:i}:s=i,e.callback?e.callback(s,r.proxy):i==="cancel"||i==="close"?e.distinguishCancelAndClose&&i!=="cancel"?a.reject("close"):a.reject("cancel"):a.resolve(s)};const r=pst(e,n,t),o=r.proxy;for(const i in e)no(e,i)&&!no(o.$props,i)&&(i==="closeIcon"&&dr(e[i])?o[i]=Rd(e[i]):o[i]=e[i]);return o.visible=!0,o};function qb(e,t=null){if(!Xr)return Promise.reject();let n;return In(e)||Vo(e)?e={message:e}:n=e.callback,new Promise((r,o)=>{const i=gst(e,t??qb._context);hA.set(i,{options:e,callback:n,resolve:r,reject:o})})}const vst=["alert","confirm","prompt"],mst={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};vst.forEach(e=>{qb[e]=yst(e)});function yst(e){return(t,n,r,o)=>{let i="";return dr(n)?(r=n,i=""):Vr(n)?i="":i=n,qb(Object.assign({title:i,message:t,type:"",...mst[e]},r,{boxType:e}),o)}}qb.close=()=>{hA.forEach((e,t)=>{t.doClose()}),hA.clear()};qb._context=null;const sh=qb;sh.install=e=>{sh._context=e._context,e.config.globalProperties.$msgbox=sh,e.config.globalProperties.$messageBox=sh,e.config.globalProperties.$alert=sh.alert,e.config.globalProperties.$confirm=sh.confirm,e.config.globalProperties.$prompt=sh.prompt};const bst=sh,iwe=["primary","success","info","warning","error"],wst=Jt({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:wo},id:{type:String,default:""},message:{type:ct([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:ct(Function),default:()=>{}},onClose:{type:ct(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...iwe,""],default:""},zIndex:Number,closeIcon:{type:wo,default:vu}}),Ast={destroy:()=>!0},Cst=nt({name:"ElNotification"}),xst=nt({...Cst,props:wst,emits:Ast,setup(e,{expose:t}){const n=e,{ns:r,zIndex:o}=rD("notification"),{nextZIndex:i,currentZIndex:a}=o,s=K(!1);let l;const u=ee(()=>{const m=n.type;return m&&c0[n.type]?r.m(m):""}),d=ee(()=>n.type&&c0[n.type]||n.icon),c=ee(()=>n.position.endsWith("right")?"right":"left"),f=ee(()=>n.position.startsWith("top")?"top":"bottom"),p=ee(()=>{var m;return{[f.value]:`${n.offset}px`,zIndex:(m=n.zIndex)!=null?m:a.value}});function v(){n.duration>0&&({stop:l}=Mv(()=>{s.value&&g()},n.duration))}function h(){l?.()}function g(){s.value=!1}function y({code:m}){m===gn.delete||m===gn.backspace?h():m===gn.esc?s.value&&g():v()}return qn(()=>{v(),i(),s.value=!0}),Ro(document,"keydown",y),t({visible:s,close:g}),(m,b)=>(L(),yt(Ki,{name:C(r).b("fade"),onBeforeLeave:m.onClose,onAfterLeave:w=>m.$emit("destroy"),persisted:""},{default:rt(()=>[cn(x("div",{id:m.id,class:oe([C(r).b(),m.customClass,C(c)]),style:rn(C(p)),role:"alert",onMouseenter:h,onMouseleave:v,onClick:m.onClick},[C(d)?(L(),yt(C(Dn),{key:0,class:oe([C(r).e("icon"),C(u)])},{default:rt(()=>[(L(),yt(mr(C(d))))]),_:1},8,["class"])):xe("v-if",!0),x("div",{class:oe(C(r).e("group"))},[x("h2",{class:oe(C(r).e("title")),textContent:je(m.title)},null,10,["textContent"]),cn(x("div",{class:oe(C(r).e("content")),style:rn(m.title?void 0:{margin:0})},[ht(m.$slots,"default",{},()=>[m.dangerouslyUseHTMLString?(L(),G(Rt,{key:1},[xe(" Caution here, message could've been compromised, never use user's input as message "),x("p",{innerHTML:m.message},null,8,["innerHTML"])],2112)):(L(),G("p",{key:0},je(m.message),1))])],6),[[kr,m.message]]),m.showClose?(L(),yt(C(Dn),{key:0,class:oe(C(r).e("closeBtn")),onClick:en(g,["stop"])},{default:rt(()=>[(L(),yt(mr(m.closeIcon)))]),_:1},8,["class","onClick"])):xe("v-if",!0)],2)],46,["id","onClick"]),[[kr,s.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var Sst=on(xst,[["__file","notification.vue"]]);const qy={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},jE=16;let Est=1;const Uv=function(e={},t){if(!Xr)return{close:()=>{}};(In(e)||Vo(e))&&(e={message:e});const n=e.position||"top-right";let r=e.offset||0;qy[n].forEach(({vm:d})=>{var c;r+=(((c=d.el)==null?void 0:c.offsetHeight)||0)+jE}),r+=jE;const o=`notification_${Est++}`,i=e.onClose,a={...e,offset:r,id:o,onClose:()=>{kst(o,n,i)}};let s=document.body;cl(e.appendTo)?s=e.appendTo:In(e.appendTo)&&(s=document.querySelector(e.appendTo)),cl(s)||(s=document.body);const l=document.createElement("div"),u=He(Sst,a,Rn(a.message)?a.message:Vo(a.message)?()=>a.message:null);return u.appContext=Vr(t)?Uv._context:t,u.props.onDestroy=()=>{i0(null,l)},i0(u,l),qy[n].push({vm:u}),s.appendChild(l.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};iwe.forEach(e=>{Uv[e]=(t={},n)=>((In(t)||Vo(t))&&(t={message:t}),Uv({...t,type:e},n))});function kst(e,t,n){const r=qy[t],o=r.findIndex(({vm:u})=>{var d;return((d=u.component)==null?void 0:d.props.id)===e});if(o===-1)return;const{vm:i}=r[o];if(!i)return;n?.(i);const a=i.el.offsetHeight,s=t.split("-")[0];r.splice(o,1);const l=r.length;if(!(l<1))for(let u=o;u{t.component.exposed.visible.value=!1})}function _st(e="top-right"){var t,n,r;let o=((n=(t=qy[e][0])==null?void 0:t.vm.props)==null?void 0:n.offset)||0;for(const{vm:i}of qy[e])i.component.props.offset=o,o+=(((r=i.el)==null?void 0:r.offsetHeight)||0)+jE}Uv.closeAll=Tst;Uv.updateOffsets=_st;Uv._context=null;const Dst=Xme(Uv,"$notify");var Ist=[zat,Vat,Et,bst,Dst,gbe],Ost=mBe([...Pat,...Ist]);const Zo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Mst={key:0,class:"modal-overlay"},Pst={class:"modal-body"},Nst={class:"feedback-type-section"},Rst={class:"type-buttons"},Bst={class:"feedback-content-section"},Lst={class:"textarea-container"},Fst={class:"char-count"},Ust={class:"upload-section"},zst={key:1,class:"uploaded-images"},$st=["src","alt"],jst={class:"image-actions"},Hst=["onClick"],Wst={key:0,class:"upload-progress"},Vst={class:"progress-bar"},qst={class:"progress-text"},Gst={class:"contact-section"},Kst={class:"modal-footer"},Yst=["src"],Qst={__name:"FeedbackModal",props:{visible:{type:Boolean,default:!1}},emits:["close","submit"],setup(e,{emit:t}){const n=e,r=t,o=K("function"),i=K(""),a=K(""),s=K(null),l=K([]);K(!1);const u=ee(()=>i.value.trim()?yve:bve),d=y=>{o.value=y},c=()=>{o.value="function",i.value="",a.value="",l.value=[],r("close")},f=()=>{s.value?.click()},p=async y=>{const m=Array.from(y.target.files);if(l.value.length+m.length>3){Et.warning("最多只能上传3张图片");return}const b=5*1024*1024,w=m.filter(A=>A.size>b?(Et.warning(`图片 ${A.name} 超过5MB限制`),!1):!0);if(w.length!==0){for(const A of w)await v(A);y.target.value=""}},v=async y=>{try{console.log("开始上传图片:",y.name);const m={file:y,url:URL.createObjectURL(y),uploading:!0,progress:0,error:!1};l.value.push(m);const b=new FormData;b.append("image",y),console.log("FormData 已创建:",b),console.log("开始调用后端API...");const w=await zn.uploadImage(b);if(console.log("后端API响应:",w),w.statusCode===200){const A=w.fileUrl||w.fileURL;console.log("上传成功:",A);const S=l.value.findIndex(E=>E.file===y);S!==-1&&(l.value[S]={...m,url:A,uploading:!1,progress:100}),Et.success(`图片 ${y.name} 上传成功`)}else throw new Error(w.message||"上传失败")}catch(m){console.error("图片上传失败:",m);const b=l.value.findIndex(w=>w.file===y);b!==-1&&(l.value[b].error=!0,l.value[b].uploading=!1),Et.error(`图片 ${y.name} 上传失败: ${m.message}`)}},h=y=>{l.value.splice(y,1)},g=()=>{if(!i.value.trim()){Et.warning("请填写反馈内容");return}const y=l.value.filter(w=>!w.uploading&&!w.error);let m="";y.length>0&&(m=y.map(w=>w.url).join(","));const b={type:o.value,content:i.value,contact:a.value,feedback_img:m};console.log("提交反馈数据:",b),r("submit",b),o.value="function",i.value="",a.value="",l.value=[]};return St(()=>n.visible,y=>{if(y){const m=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight=`${m}px`}else document.body.style.overflow="",document.body.style.paddingRight=""}),yl(()=>{document.body.style.overflow="",document.body.style.paddingRight=""}),(y,m)=>e.visible?(L(),G("div",Mst,[x("div",{class:"modal-content",onClick:m[6]||(m[6]=en(()=>{},["stop"]))},[x("div",{class:"modal-header"},[m[8]||(m[8]=x("h2",{class:"modal-title"},"意见反馈",-1)),x("button",{class:"close-btn",onClick:c},m[7]||(m[7]=[x("span",{class:"close-icon"},"×",-1)]))]),x("div",Pst,[x("div",Nst,[m[9]||(m[9]=x("h3",{class:"section-title"},"请选择反馈类型",-1)),x("div",Rst,[x("button",{class:oe(["type-btn",{active:o.value==="function"}]),onClick:m[0]||(m[0]=b=>d("function"))}," 功能建议 ",2),x("button",{class:oe(["type-btn",{active:o.value==="interface"}]),onClick:m[1]||(m[1]=b=>d("interface"))}," 界面优化 ",2),x("button",{class:oe(["type-btn",{active:o.value==="experience"}]),onClick:m[2]||(m[2]=b=>d("experience"))}," 体验问题 ",2),x("button",{class:oe(["type-btn",{active:o.value==="other"}]),onClick:m[3]||(m[3]=b=>d("other"))}," 其他 ",2)])]),x("div",Bst,[m[10]||(m[10]=x("h3",{class:"section-title"},"反馈内容",-1)),x("div",Lst,[cn(x("textarea",{class:"feedback-textarea",placeholder:"请详细描述您的问题或建议...","onUpdate:modelValue":m[4]||(m[4]=b=>i.value=b),maxlength:"200"},null,512),[[qr,i.value]]),x("div",Fst,je(i.value.length)+"/200",1)])]),x("div",Ust,[l.value.length===0?(L(),G("div",{key:0,class:"upload-area",onClick:f},m[11]||(m[11]=[x("div",{class:"upload-icon"},[x("img",{src:fE,alt:"上传",class:"upload-img"})],-1),x("div",{class:"upload-text"}," 上传截图(选填,最多3张,每张不超过5M) ",-1)]))):xe("",!0),l.value.length>0?(L(),G("div",zst,[(L(!0),G(Rt,null,un(l.value,(b,w)=>(L(),G("div",{key:w,class:"image-item"},[x("img",{src:b.url,alt:`截图${w+1}`,class:"preview-img"},null,8,$st),x("div",jst,[x("button",{class:"delete-btn",onClick:A=>h(w)},m[12]||(m[12]=[x("span",{class:"delete-icon"},"×",-1)]),8,Hst)]),b.uploading?(L(),G("div",Wst,[x("div",Vst,[x("div",{class:"progress-fill",style:rn({width:b.progress+"%"})},null,4)]),x("span",qst,je(b.progress)+"%",1)])):xe("",!0)]))),128)),l.value.length<3?(L(),G("div",{key:0,class:"continue-upload",onClick:f},m[13]||(m[13]=[x("div",{class:"upload-icon"},[x("img",{src:fE,alt:"继续上传",class:"upload-img"})],-1),x("div",{class:"upload-text"}," 继续上传 ",-1)]))):xe("",!0)])):xe("",!0),x("input",{ref_key:"fileInput",ref:s,type:"file",accept:"image/*",multiple:"",style:{display:"none"},onChange:p},null,544)]),x("div",Gst,[cn(x("input",{type:"text",class:"contact-input",placeholder:"请留下您的联系方式(选填)","onUpdate:modelValue":m[5]||(m[5]=b=>a.value=b)},null,512),[[qr,a.value]])])]),x("div",Kst,[x("button",{class:"submit-btn",onClick:g},[x("img",{src:u.value,alt:"提交反馈",class:"submit-icon"},null,8,Yst)])])])])):xe("",!0)}},Zst=Zo(Qst,[["__scopeId","data-v-1e1e6cd4"]]),Xst={},Jst="https://aqai.shudaodsj.com:22001";function elt(){if(!Xst?.VITE_AUDIO_API_BASE)return Jst}const awe=ta.create({baseURL:elt(),timeout:12e4});awe.interceptors.request.use(e=>{const t=Xf(),n=Iv();if(t&&n){const r=n.charAt(0).toUpperCase()+n.slice(1).toLowerCase();e.headers=e.headers||{},e.headers.Authorization=`${r} ${t}`}return e});function tlt(e){return e?typeof e=="string"?e:e?.workflow_result?.data?.outputs?.text||e?.workflow_result?.data?.outputs?.content||e?.data?.outputs?.text||e?.outputs?.text||e?.text||"":""}async function nlt({file:e,userId:t}){const n=new FormData,r=e?.name||`audio_${Date.now()}.wav`;n.append("file",e,r),t&&n.append("user_id",t);const o=await awe.post("/audio_to_text",n,{headers:{"Content-Type":"multipart/form-data"}}),i=o?.data??o,a=tlt(i);if(!a)throw new Error("语音转写成功,但未返回文本内容");return{text:a,raw:i}}const Y5=typeof window<"u",tte=Y5?window.AudioContext||window.webkitAudioContext:null,rlt=Y5?window.speechSynthesis:null;function O0(){const e=K(!1),t=K(!1),n=K(!1),r=K(""),o=K(""),i=K(!1);let a=null,s=null,l=[];const u=()=>{const E=Y5&&typeof navigator<"u"&&!!navigator.mediaDevices&&typeof window.MediaRecorder<"u";return e.value=E,E},d=()=>{s&&(s.getTracks().forEach(E=>E.stop()),s=null)},c=(E=!1)=>{a&&(a.ondataavailable=null,a.onstop=null,a.onerror=null,a=null),d(),t.value=!1,E&&(l=[])},f=E=>{let D="无法访问麦克风,请检查设备设置";if(!E){o.value=D;return}switch(E.name){case"NotAllowedError":case"PermissionDeniedError":D="麦克风权限被拒绝,请允许浏览器访问麦克风";break;case"NotFoundError":case"DevicesNotFoundError":D="未检测到可用的麦克风设备";break;case"NotReadableError":case"TrackStartError":D="麦克风被占用或不可用,请检查是否有其他应用正在使用";break;case"OverconstrainedError":D="无法满足当前音频采集的约束条件";break;default:D=E.message||D}o.value=D},p=async(E,D)=>{if(!E||!E.size){o.value="未捕获到语音内容,请重新尝试";return}try{n.value=!0;let _=E;(!/wav/i.test(D||"")||E.type!=="audio/wav")&&(_=await alt(E));const M=_||E,O=new File([M],`audio_${Date.now()}.wav`,{type:"audio/wav"}),k=ilt(),{text:R}=await nlt({file:O,userId:k});r.value=R||"",o.value=""}catch(_){console.error("语音转写失败:",_),o.value=_?.message||"语音转写失败,请稍后重试"}finally{n.value=!1,l=[]}},v=()=>n.value?(o.value="上一段语音还在转写中,请稍候",!1):u()?(r.value="",o.value="",l=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(E=>{s=E;const D=olt();try{a=D?new MediaRecorder(E,D):new MediaRecorder(E)}catch(_){console.error("MediaRecorder初始化失败:",_),o.value="无法启动录音,请检查浏览器是否支持录音功能",d();return}a.onstart=()=>{t.value=!0},a.ondataavailable=_=>{_.data&&_.data.size>0&&l.push(_.data)},a.onerror=_=>{console.error("MediaRecorder错误:",_.error||_),o.value="录音过程中出现问题,请重新尝试",c(!0)},a.onstop=async()=>{const _=a?.mimeType,M=new Blob(l,{type:_||"audio/webm"});c(),await p(M,_)},a.start()}).catch(E=>{console.error("获取麦克风权限失败:",E),f(E),c(!0)}),!0):(o.value="当前浏览器不支持语音输入,请更换浏览器",!1),h=()=>{if(a&&a.state!=="inactive")try{a.stop()}catch(E){console.error("停止录音失败:",E),c()}else c()},g=rlt,y=(E,D={})=>{if(!g)return o.value="浏览器不支持语音播放功能",!1;m();const _=new SpeechSynthesisUtterance(E);return _.lang=D.lang||"zh-CN",_.rate=D.rate||1,_.pitch=D.pitch||1,_.volume=D.volume||1,_.onstart=()=>{i.value=!0,o.value=""},_.onend=()=>{i.value=!1},_.onerror=M=>{let O="";switch(M.error){case"canceled":O="语音播放已取消";break;case"interrupted":O="语音播放被中断";break;case"audio-busy":O="音频设备忙,请稍后重试";break;case"audio-hardware":O="音频硬件错误";break;case"network":O="网络错误,请检查网络连接";break;case"synthesis-unavailable":O="语音播放服务不可用";break;case"synthesis-failed":O="语音播放失败";break;case"language-unavailable":O="不支持当前语言";break;case"voice-unavailable":O="当前语音不可用";break;case"text-too-long":O="文本过长,无法播放";break;case"invalid-argument":O="语音播放参数无效";break;case"not-allowed":O="语音播放权限被拒绝";break;default:O=`语音播放错误: ${M.error}`}o.value=O,i.value=!1},g.speak(_),!0},m=()=>{g&&i.value&&(g.cancel(),i.value=!1)};return{isSupported:e,isListening:t,isProcessing:n,isSpeaking:i,transcript:r,error:o,startListening:v,stopListening:h,speakText:y,stopSpeaking:m,pauseSpeaking:()=>{g&&i.value&&g.pause()},resumeSpeaking:()=>{g&&g.resume()},getAvailableVoices:()=>g?g.getVoices().filter(E=>E.lang.startsWith("zh")||E.lang.startsWith("en")):[],setVoice:E=>g?!!g.getVoices().find(M=>M.name===E):!1,checkSupport:u}}function olt(){if(!Y5||typeof window.MediaRecorder>"u")return;const e=["audio/webm;codecs=opus","audio/webm","audio/ogg;codecs=opus","audio/ogg","audio/mp4"];for(const t of e)if(window.MediaRecorder.isTypeSupported(t))return{mimeType:t}}function ilt(){if(!Y5||!window.localStorage)return"web-user";try{return window.localStorage.getItem("shudao_user_id")||"web-user"}catch(e){return console.warn("读取本地用户ID失败:",e),"web-user"}}async function alt(e){if(!e||!e.size||e.type==="audio/wav"||/wav/i.test(e.type))return e;if(!tte)return console.warn("当前环境不支持AudioContext,无法转换为WAV,将直接上传原始音频"),e;const t=new tte;try{const n=await e.arrayBuffer(),r=await t.decodeAudioData(n),o=slt(r),i=llt(o,r.sampleRate);return new Blob([i],{type:"audio/wav"})}catch(n){return console.error("音频转换为WAV失败,将上传原始格式:",n),e}finally{if(t&&t.state!=="closed")try{await t.close()}catch(n){console.warn("关闭AudioContext失败:",n)}}}function slt(e){if(e.numberOfChannels===1)return e.getChannelData(0);const t=e.length,n=new Float32Array(t);for(let r=0;r{try{const H=await zn.getRecommendQuestion({limit:8});c.value=H.data,console.log("推荐问题数据结构:",c.value)}catch(H){console.error("获取推荐问题失败:",H)}},b=()=>{m()},w=()=>{v.value=[],y.value=!1,g.value&&(clearTimeout(g.value),g.value=null)},A=()=>{if(!l.value.trim()){w();return}g.value&&clearTimeout(g.value),g.value=setTimeout(()=>{S(l.value)},100)},S=async H=>{if(!H||H.trim().length===0){v.value=[],y.value=!1;return}if(d.value){console.log("正在发送消息,跳过推荐问题获取"),v.value=[],y.value=!1;return}try{console.log("开始获取用户推荐问题,用户输入:",H),h.value=!0;const re=await zn.getUserRecommendQuestion({user_message:H.trim()});if(console.log("用户推荐问题响应:",re),d.value){console.log("请求完成时状态已变化,不显示推荐问题"),v.value=[],y.value=!1;return}re&&re.data&&re.data.questions&&re.data.questions.length>0?(v.value=re.data.questions,y.value=!0,console.log("用户推荐问题数据已设置:",v.value)):(v.value=[],y.value=!1)}catch(re){console.error("获取用户推荐问题失败:",re),v.value=[],y.value=!1}finally{h.value=!1}},E=H=>{console.log("选择用户推荐问题:",H),l.value=H,w()},D=()=>{if(console.log("点击语音按钮"),r.value){Et.info("语音正在转写,请稍候...");return}n.value?M():_()},_=()=>{console.log("开始语音输入"),a()||Et.error("语音识别启动失败,请检查麦克风权限")},M=()=>{console.log("停止语音输入"),s(),Et.info("语音转写中,请稍候...")},O=async()=>{if(!l.value.trim()){Et.warning("请输入搜索内容");return}if(!d.value){d.value=!0,w();try{console.log("搜索内容:",l.value),t.push({path:"/chat",query:{autoMessage:l.value}})}finally{d.value=!1}}},k=()=>{u.value=!0},R=()=>{u.value=!1},N=async H=>{try{console.log("收到反馈数据:",H),console.log("feedback_img字段值:",H.feedback_img);let re=H.feedback_img||"";console.log("处理后的feedbackImg:",re);const X={feedback_type:W(H.type),feedback_content:H.content,feedback_user_phone:H.contact||"",feedback_img:re};console.log(X,"feedbackPayload");const te=await zn.submitFeedback(X);console.log(te,"response"),Et.success("反馈提交成功!感谢您的宝贵意见"),R()}catch(re){console.error("提交反馈失败:",re),Et.error("提交反馈失败,请重试")}},W=H=>({function:1,interface:2,experience:3,other:4})[H]||1,B=H=>{console.log("点击问题:",H),t.push({path:"/chat",query:{autoMessage:H}})},z=()=>{t.push("/hazard-detection")},j=()=>{t.push("/safety-hazard")},q=()=>{t.push("/exam-workshop")},Y=()=>{t.push("/ai-writing")},U=()=>{t.push("/policy-document")};St(o,H=>{!H||n.value||(l.value=H)}),St(i,H=>{H&&(console.error("语音识别错误:",H),Et.error(H))});const F=H=>{!H.target.closest(".user-recommend-questions")&&!H.target.closest(".search-box")&&w()};return qn(()=>{m();const H=Vve();f.value={username:H||"蜀道用户"},console.log("用户信息:",f.value),document.addEventListener("click",F)}),yl(()=>{document.removeEventListener("click",F),g.value&&clearTimeout(g.value)}),(H,re)=>(L(),G("div",clt,[x("div",dlt,[re[5]||(re[5]=x("div",{class:"logo"},[x("img",{src:Qj,alt:"logo",class:"logo-img"})],-1)),x("div",{class:"user-info",onMouseenter:re[0]||(re[0]=X=>p.value=!0),onMouseleave:re[1]||(re[1]=X=>p.value=!1)},[re[4]||(re[4]=x("div",{class:"user-avatar"},[x("div",{class:"avatar-icon"})],-1)),x("span",flt,je(f.value?.username||"用户"),1)],32)]),x("div",plt,[re[14]||(re[14]=x("h1",{class:"main-title"},"蜀道安全管理AI智能助手",-1)),re[15]||(re[15]=x("p",{class:"sub-title"},"安全法规问答,智能识图提示,AI赋能筑造安心与高效",-1)),x("div",hlt,[x("div",glt,[cn(x("input",{type:"text",placeholder:"请输入您想问的问题...",class:"search-input","onUpdate:modelValue":re[2]||(re[2]=X=>l.value=X),onKeyup:$r(O,["enter"]),onInput:A},null,544),[[qr,l.value]]),x("button",{class:oe(["voice-btn",{recording:C(n)}]),onClick:D,disabled:d.value},[x("div",mlt,[x("img",{src:C(rp),alt:"语音",class:"action-icon"},null,8,ylt),C(n)?(L(),G("div",blt)):xe("",!0)])],10,vlt),re[6]||(re[6]=x("div",{class:"divider"},null,-1)),x("button",{class:"send-btn",onClick:O,disabled:d.value||!l.value.trim()},[x("img",{src:l.value.trim()&&!d.value?C(ip):C(op),alt:"发送",class:"send-icon"},null,8,Alt)],8,wlt)]),y.value&&v.value.length>0?(L(),G("div",{key:0,class:"user-recommend-questions",onClick:re[3]||(re[3]=en(()=>{},["stop"]))},[x("div",Clt,[(L(!0),G(Rt,null,un(v.value,(X,te)=>(L(),G("div",{key:te,class:"recommend-item",onClick:Z=>E(X)},je(X),9,xlt))),128))])])):xe("",!0)]),x("div",Slt,[x("div",Elt,[x("div",klt,[x("div",{class:"card-header"},[x("div",{class:"refresh-button",onClick:b},re[7]||(re[7]=[x("span",{class:"refresh-text"},"换一换",-1)]))]),x("div",Tlt,[x("div",_lt,[(L(!0),G(Rt,null,un(c.value,(X,te)=>(L(),G("div",{class:"question-item",onClick:Z=>B(X.question),key:te,title:X.question},je(te+1)+". "+je(X.question),9,Dlt))),128))])])])]),x("div",{class:"card-column"},[x("div",{class:"hazard-card",onClick:z},re[8]||(re[8]=[x("div",{class:"card-title"},"隐患提示",-1),x("div",{class:"card-description"},"图片智能识别,风险隐患提示",-1)])),x("div",{class:"training-card",onClick:j},re[9]||(re[9]=[x("div",{class:"card-title"},"安全培训",-1),x("div",{class:"card-description"},"智能编排大纲,生成精美演示文稿",-1)]))]),x("div",{class:"card-column"},[x("div",{class:"service-card exam-workshop-card",onClick:q},re[10]||(re[10]=[ki('
考试工坊
考试工坊
让组卷更省心,让出题更精准
生成考题 ›
',3)])),x("div",{class:"service-card policy-document-card",onClick:U},re[11]||(re[11]=[ki('
政策文件
政策文件
汇集国家、行业及集团政策文件
了解更多 ›
',3)]))]),x("div",{class:"card-column"},[x("div",{class:"service-card ai-writing-card",onClick:Y},re[12]||(re[12]=[ki('
AI写作
AI写作
一键创作公文,让文案更专业
开始创作 ›
',3)])),x("div",{class:"service-card feedback-card",onClick:k},re[13]||(re[13]=[ki('
意见反馈
意见反馈
助力产品升级,期待您的反馈
参与反馈 ›
',3)]))])])]),re[16]||(re[16]=x("div",{class:"footer"},[x("div",{class:"footer-info"},[x("span",null,"工信部备案号: 蜀ICP备20251411234号-1"),x("span",null,"川公网安备: 51010502011234号"),x("span",null,"推荐电脑分辨率:1920*1080,1920*1200,3840*2160"),x("span",null,"推荐浏览器:Google,Edge,火狐浏览器")])],-1)),He(Zst,{visible:u.value,onClose:R,onSubmit:N},null,8,["visible"])]))}},Olt=Zo(Ilt,[["__scopeId","data-v-5ac77eb3"]]),kc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAD5SURBVFiF7ZdLDoIwFEVvifuQpbATdQwDZAXPDRAH4tS6E9mJbMTngE8a09IWNJjQMyK0eRx6+wFg7QiXTllOCQux9SrM3FzO9LD127gU4wg7gPc+AiwgAVgFIp+iv2CIIMspad9USwIg9qz9hGEExAv3Pp4hgjZjv2G2EAPQ1mMhBrH/iUAlLeiGzr4qyWmlmEgL4u5SViUdPtsXH4Eg4LQRqegynTNnFh+BIBAEgkAQ8N4JAUgAYKDubzBQTz0yvQV0R+q1JNmL+bJ4BIsLWCNIjyfTh6ojPNpqnwOC5TyBcbQRMNB8+0HqqlExrp4pv2MmXH/T1skbfkFGJuI/zo8AAAAASUVORK5CYII=",swe="/assets/2-DNbvF9Ja.jpg",Mlt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAABGCAYAAACUsCfoAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAOZSURBVHic7ZrtcdswDIbBXv9H3UAb1CN4g3iDqBMknaDuBEkn8HWCtBPYG7idQOoEciZ4+0NM69ACBEmA3fT43OVylih8kCBEggrkDICCiBZEdE1EBRGV8a+ITQ5E1Bz9/x5C2Hnb5QaAFYBHAC3G08Znq0v7oQZABaCe4CxH/U93AIAlgK2hw30dUF7azxcAuHN0+JgWwJ2FzWGmwwURfSIirTENEe2oS2RP8doV/U14C6WchxDCR2Vbe9AloCG2AG6hCFMAJfQ5YnMGF3uNXA8YtgewnCFf0wFrO490Rg05fX9GXSZzXmNIKRjRAlgxzxUAbtBNj30czT2AwXkdR59bD7Q4R7YHsBEcr3raF3HUOMNrpd5K0Pto7miifCEoPwk5dKu3oZXbfoR+KeyXps4mirfaHh8wskYX8vcYGaaCDVszRxOF0twuk7arnjZt7IyCUaG1YynYMUs2p5CbY5ukXYnT19A+7ZyZtnDrh1srHcfKtoyyVdJuk9yvLZ2OOrhRtw939CepVtGudLCl0NpjoWiwh3E6t30SDokRqJrnb5R6Sub6IfmdLka+KeVPoWGumzrOCUuVXyW/fyrlTyHt9GdKzcNax7U8Jb8bY/lmvFW2a5jraSQ8xP/viehrCIF7zgIuCrlIGI+Q3NTLTWvmJrcxirg1t/1qadgWbiDUr7Mxc/wHc/16hAwrlsz1nbkmdHvpPtze1YItXJhXHsq48AI8t4SndkiblNJLKdfTZ0ty4OtwfsVHyFtTszqboF/a45feyjeC8spRr3Ro4V9qjqMulZOWDjqlklftPtpHhkgJxrTqqejo3qquG5Dn2x5GCxvIhwprCx1TjNoIRs1OduiKkRy+JeUBw4o4uhzLGbKl6VTjAkvl1EBpDqoOCxi5teB0aejCdCC/akafbUE+NakcXJgO+JJvOyYs0V+efuYyR8MSkEN+PUKONNqlnwczAP+KU4+6MNprZ/OnA77eDSgWGsJoT06SHKbFxhDCgYi+MLc1xzs3zHXPMrUNmFEWYp4DHOa2tsqqJoRwQPcKe5feA1DEqDgh5oDPPbca52ptJvM/M+vLRg50OzOrffIuhPDBSNYfzJNb5Pm7dAus5LzA+tDQg8ZD6Gtw3IXsuDG/DGXZHft6g+HKqJbaY7nqCvo/8htLdWk/JgG5SjqE+5GUG+h2avUEp2tcuoo6F3TzXSpBp5h+/pnJZDKZTCaTyWReF78BvdVdZXUzhOEAAAAASUVORK5CYII=",wF="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAALJSURBVGiB7Zk9ctswEIUfABbqotQpQt1AbjTDTi7T2TewT5DoBEqK1I5PYN/AqdLaHU020A2sI7j0jLyzKQxpIoo/ALGyJjP6WgK7+7hP5IICjhw58l+j9hE0z/PUGDNn5ikAKKWWAGaTyWQhnUtcgCveAhjWXD6RFqElgwGAMeYO9cUDwF2e56lkPlEBRVF8BzBuWZIaY75K5hSzkLPOk89aIjrNsuxBIq9YB4wxN/tY24WIgMfHx28ApgFbUme3aKIt1PHUaYWIRlmWLWPyR3fA2SG4eLf3PjZ/lIAe1qkSbaXeFoqxTpUYK/XuQIx1amL1tlIvAUVRnCHOOlVSZ8dggi1krR2uVqsnNN/9WwDXRPRcvZAkyRUznzXseyaik1ArJSGLAWC1Ws3Rbp1F08BWFMVvpVSTgGGSJFcAzkPqCbJQnudTAK2tZuaPITEre8/KsrwI2eMtwFo79BkBtNYfWi6PPFLNQyZWbwHOOp2BmTn2yZQaY+a+i70E+FhnjVKqUYBS6rNfWbjwtVKnAF/rrBHowBovK3UK8LXOP7R1IEScl5VaBZRlOYandda0daBHdzqt1NWB4INH211m5jQ0HoC5tbYxZqMAj/NtE1K/gTWps3EttaOEwKR5SUQP1UJihramibV2lBCYNG+MMRHbd3Hid16EOxYSOKSsuWXmc2a+UEr9ArAz3AVSe/jZspDQIeUZwGl1oHOx7xH2SN6haqWtDkgcUpj5um4adUl/xMQGdg8/GwGC1mn79inxXXTLShp4Gxe01t4DVBt7eA/U5diMGRoAXl9fxc63aHjxWGuHSimRmwRsPiJD5Xk+lfg+U2FBRLPBYLAAgJeXl7H7faXCeS5VWZZ/AHwRDvxeLLVS6tOhq4gg1cxcHrqKCB40Ef1E/FvyUMx0lmVLIjrB26t/eeiKunA13hLRaB9/Gh45cuSd+QuneSb9xW/YywAAAABJRU5ErkJggg==",AF="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAPgSURBVGiBzVrLdds4FL0gTB0tlQqGrmDMDXi4ilzBKBVIrsBJBbYqsF1B6ArsVBDOCkf0gi6BU8FobQp8WRhUYgug+JV8Vzp4JHEv3nv4PIhhAEgppycnJ5dFUZwxxiYAngHcCyGivvtifX0oTdPJy8vLV8bYJYCJ5bEMwKNS6i4Mw6yPfjsLkFJOOedXAKYNX42UUvdhGMZd+m8lIE3TSZ7ncwAzNCf+HhmApVIqbuOVRgJ0bP9DRAvYw6Qt1ngNr2UTIbUEdAiTtohRM+mtAmomZR1cAJijnfgMe5J+R0Dfoy2EYPq7nv7uDO0GxJj0WwE6MR/Qc5iUAt71MwNwBcBr8cnIdd1vvu+vAcApW/M8v8EBYtz3/bUQIhJCnCqlzgFEDT+x0AMNQHsgSZIzAGl/NH/jvQdMkFJ6juMsGGNz1PSKUuo8DMO49MDnDhw7IwzDLAiCayHEKV6TPt73Duf8b0CHEBF9GpRhA+jwOldKneI1vNam50rODgAwxv4/GMOaCMMwE0JcENGdyV5yLj1gVPkRwBj7y9RecnZMxg8Gr8roAEBRFP8dhEqPKDmXHsiOR6UaROSZ2jnnv0NoPB5/5BzwTO1CiGdAC/B9f01E2cFY1YSUcmoxbQd8m8SO4zwPTagpysXKgC3XP2ehbFA2LcAYm5raiejf8vdWwGaz+XEATo1ARGcW064HxuPxMyzL9jGgN5ieyTYajeLy91aA3l9/pDy4tLTH5VkA2F2JH4fj0xhTS/sbjm8EuK57PxSbJtDTp2eyKaXe5OobAdo18UC8aoNzPreYdmpHps3cUb0gpfQALCzmHW47AlzXfcQRZyPO+XeLKTPViXYE6G2F8RAxNHTsT002IjJGhvE8MBqNbnEEL1SM/rooishkMAo4hhdWq9U1LDMPEVkrc9YTmfaC8aW+IaWcMsauLOYsCIJr27tWAdoL37qS2wddcrSFDgAsq96vPBMHQfCIAdcFTf4n7OfeaF+Feu+h3nXdLxggodM0nXDOH2AnnymlKkcfqCHA9/21UupLQ36V0AXenwBs22UopS7qXHTUKquEYRgT0d7RqAMppZfneYoK8kS0rHt3VrsupGeCqO7zJqxWqxnnPEVFrYeIllWzzns0vuR7enp6IKJZ3eeFEEyHzA3se5wSkRDiogmfxgKaXoQQ0bLmNVVj8kCHe+IkSb5j/4jWxa0QotWa07o2qivHnRObiJZtyQM93NQnSbJAu/uuTE+VcZf+O1enhRBRi7uuW9d1/a7kgR7/7AG8TpOMsRvYvRHrm/i4rz57FVBCh9UcerFijMWbzeauT+IlfgFRmqNOTONauAAAAABJRU5ErkJggg==",CF="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAALQSURBVGiB1ZrLcZtQFIa/A15oqVQQpYLIG8ns7AoyqcCTCmJXYKmDuIKMO0gqkHdYbIQ7IBVES894LicLwCMRQLzB/4wWwL2X7+ec++AKYURyXffStu07YA4EgG+MWTuOE+TVkZ7YTmq73a5E5C7jUgB8XSwWfla9URgogE+0B66yTAxuoAR8okwTgxqoAJ/oPxODGagBn+jIhNUuViVd16w3BTae581hQAOqet+g+hTYuK47e2994Egi8qs3A09PTzeWZV2r6u/lcrlKzjcxoapBLwbSkKq6bsnEvvM+kAUnInfb7XaVHC+Xy5Wqrms073cagVNPtmkkjDGfOotAGZgmkVDVteM43fSBqk+yaiQOy7cegZyb74Eb4FtWnSqRSJttNQIF8G9Tv+d5O6L1/km4U6MXtGigJPwc2BW1k2PiSxiGDxcXFz/S5VsxUAF+Q7QMKFTWk85TYwNtwycKw/A264mn1agTdwUPICLfy5SrbaBL+FgPZQrVSqGu4TvtA2OCh4oGxgYPFQyMER5KGhgrPJQwMGZ4OGFg7PBQYOA9wEPORFawHr8dEzxkGCh6mVDVGYwHHlIpVPJNyidnPX9KbcPDgYGmm0yn1AU8xAZ2u9309fX1b9uNJ+oKHuI+8PLycpgSgTHmKvkRpUxtdQkPcAZg2/bn5ISI+I7jPCbHnuft6zbeNTzEERCR2cFNH9touA94iA2o6lsKGWOemzbaFzzEKcTBsDiZTNI5nzY0pWAY7RMeQFJbHfvFYvGhqEL8X+4m61rf8ACWMeZoNnVdd1anoSHgAazDEQiY2ra9qWpiKHiAMxG5VNXDc7PYxJXjOIHrujPLsuYi8pEo94/yf0h4iPpA3l5lMv7nLtiGhodoFJrlXCtcaY4BHiIDAcWry31cxif6euR5Mpn45+fntWfoNnVGtGf/E5iraiAij4Cvqn/CMPSLPnUZg/4B6JIy/nMEqqIAAAAASUVORK5CYII=",xF="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAANUSURBVGiB7ZrLdeIwGEY/WWO2kxKcDuJFRLwjJaQDU0GSCoAKJqkAOkimgrBTrCyUDnAJrHGEZoGYIeYlyzIM53BXeRwjf1hX+iUZOHPmzEkgpbw4RDukyQ+XUl7MZrMHQkgPwFRr/dxqtZ7iOJ421WZjgYQQKYAegKj0rxzAgDE2aqJd74GEEFcAXrAepMxYKTVIkmTss31vgTjnEaW0ByCteOnIBMt93EftQCVPXPHmV61AOzxxJUdNv5wCVfDEFWe/KgWq4YkThJDXr6+vxyp+WQXy5IkrlfzaG6gBT1yZAnjc59fWQAfwxJWdfq0FOrQnrmzz61ugLMv6R/LElTW/CLCQvigKif+ve9mSK6VukyTJAwCYzWYdnG4YAIiCILgCgAAA5vP5Jxaz9CnzEzCBkiTJwzCMtdYDLIbHkyVY/hDH8bTdbveVUjEh5PWYN2XJCBu+/KD8hyRJ8uvr6zul1C2AcfP3VZkcQMwY62qt1wL92HaVmbjGplL4BeAgewI7yGFRia89oTKMsVEYhpfH9EtrPQjDMLZZVuwNBBzVr5FS6rLdbvdtF35bu9wmTJlxxznvmPKoU/0ercgB3DHGPqteWCnQkgb9ylFzxWoVyBSsE5Q2NBhjIynlq1kr3aNGMK31oLzmMe0OsegJsc0Ts3II/8qilFI6ybKszzmPAC9+rXkipbzIsqxPKZUw3VopZfVl2Qb6BiGkRyl9M10OgNP8lcPMJ6tLgPf394eiKCam6q/8xJ0CGSIAQyHExCwGASz8YozdAuhi8zCfA+gyxi5XuxDnvCOEeAuCoJaTdQItiQBIIcRw2Q2BzfPXpvmEcx59fHy8UErf4GHUdBrltpBSStMsy/7KbZzoSynXNjhWNl7utdbeqhAfT+gbhJBeURRy1a9yGCFEWseTXXgPZIiwwa+lJwCGaKg2tOpylFLXGi7Cwq+x+b3j+DkbIYTsXz5swoxGTzXa7qBemNGWbatnLAacz1ar9RuouBV8hE3HXCnVrbLH7bpZn6LZYNP5fD64ubmp3Cucj1M451EQBKnnfbza50S1D7w87rR6OcnzfSS5rIyr4PWstYlD4xR2flUW3oZjHOs7C29Doy9elAaOg7x4cTAO9WrMmTNn6vEHE6Hhcf/sG9cAAAAASUVORK5CYII=",Plt={class:"nav-sidebar"},Nlt={class:"nav-menu"},Rlt={__name:"Sidebar",setup(e){const t=Yl(),n=j_(),r=ee(()=>(console.log("当前路由名称:",n.name,"当前路径:",n.path),n.name)),o=a=>{switch(console.log("切换导航:",a),a){case"ai-chat":t.push("/chat");break;case"safety-hazard":t.push("/safety-hazard");break;case"hazard-detection":t.push("/hazard-detection");break;case"ai-writing":t.push("/ai-writing");break;case"exam-workshop":t.push("/exam-workshop");break}},i=()=>{t.push("/")};return(a,s)=>(L(),G("div",Plt,[x("div",{class:"logo-section",onClick:i},s[5]||(s[5]=[x("img",{src:swe,alt:"logo",class:"logo-image"},null,-1)])),x("div",Nlt,[x("div",{class:oe(["nav-item",{active:r.value==="Chat"}]),onClick:s[0]||(s[0]=l=>o("ai-chat"))},s[6]||(s[6]=[x("img",{src:Mlt,alt:"AI问答",class:"nav-icon"},null,-1),x("span",{class:"nav-text"},"AI问答",-1)]),2),x("div",{class:oe(["nav-item",{active:r.value==="HazardDetection"}]),onClick:s[1]||(s[1]=l=>o("hazard-detection"))},s[7]||(s[7]=[x("img",{src:wF,alt:"隐患识别",class:"nav-icon"},null,-1),x("span",{class:"nav-text"},"隐患提示",-1)]),2),x("div",{class:oe(["nav-item",{active:r.value==="SafetyHazard"}]),onClick:s[2]||(s[2]=l=>o("safety-hazard"))},s[8]||(s[8]=[x("img",{src:AF,alt:"安全隐患",class:"nav-icon"},null,-1),x("span",{class:"nav-text"},"安全培训",-1)]),2),x("div",{class:oe(["nav-item",{active:r.value==="AIWriting"}]),onClick:s[3]||(s[3]=l=>o("ai-writing"))},s[9]||(s[9]=[x("img",{src:CF,alt:"AI写作",class:"nav-icon"},null,-1),x("span",{class:"nav-text"},"AI写作",-1)]),2),x("div",{class:oe(["nav-item",{active:r.value==="ExamWorkshop"}]),onClick:s[4]||(s[4]=l=>o("exam-workshop"))},s[10]||(s[10]=[x("img",{src:xF,alt:"考试工坊",class:"nav-icon"},null,-1),x("span",{class:"nav-text"},"考试工坊",-1)]),2)])]))}},Q5=Zo(Rlt,[["__scopeId","data-v-9f53bf3f"]]);var Du={},ZW="1.13.7",nte=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},SD=Array.prototype,XW=Object.prototype,rte=typeof Symbol<"u"?Symbol.prototype:null,Blt=SD.push,Z5=SD.slice,gA=XW.toString,Llt=XW.hasOwnProperty,lwe=typeof ArrayBuffer<"u",Flt=typeof DataView<"u",Ult=Array.isArray,ote=Object.keys,ite=Object.create,ate=lwe&&ArrayBuffer.isView,zlt=isNaN,$lt=isFinite,uwe=!{toString:null}.propertyIsEnumerable("toString"),ste=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],jlt=Math.pow(2,53)-1;function hl(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o=0&&n<=jlt}}function wwe(e){return function(t){return t?.[e]}}const HE=wwe("byteLength"),qlt=bwe(HE);var Glt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Klt(e){return ate?ate(e)&&!vA(e):qlt(e)&&Glt.test(gA.call(e))}const sV=lwe?Klt:aV(!1),Vl=wwe("length");function Ylt(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},Wwe=jwe(Hwe),Jlt=fV(Hwe),Vwe=jwe(Jlt),qwe=di.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var LI=/(.)^/,eut={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},tut=/\\|'|\r|\n|\u2028|\u2029/g;function nut(e){return"\\"+eut[e]}var rut=/^\s*(\w|\$)+\s*$/;function Gwe(e,t,n){!t&&n&&(t=n),t=gV({},t,di.templateSettings);var r=RegExp([(t.escape||LI).source,(t.interpolate||LI).source,(t.evaluate||LI).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,function(u,d,c,f,p){return i+=e.slice(o,p).replace(tut,nut),o=p+u.length,d?i+=`'+ ((__t=(`+d+`))==null?'':_.escape(__t))+ '`:c?i+=`'+ ((__t=(`+c+`))==null?'':__t)+ '`:f&&(i+=`'; `+f+` __p+='`),u}),i+=`'; `;var a=t.variable;if(a){if(!rut.test(a))throw new Error("variable is not a bare identifier: "+a)}else i=`with(obj||{}){ `+i+`} `,a="obj";i=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; `+i+`return __p; `;var s;try{s=new Function(a,"_",i)}catch(u){throw u.source=i,u}var l=function(u){return s.call(this,u,di)};return l.source="function("+a+`){ `+i+"}",l}function Kwe(e,t,n){t=X5(t);var r=t.length;if(!r)return Vs(n)?n.call(e):n;for(var o=0;o1)fm(s,t-1,n,r),o=r.length;else for(var l=0,u=s.length;lt?(r&&(clearTimeout(r),r=null),s=d,a=e.apply(o,i),r||(o=i=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=o=i=null},u}function n4e(e,t,n){var r,o,i,a,s,l=function(){var d=Ky()-o;t>d?r=setTimeout(l,t-d):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},u=hl(function(d){return s=this,i=d,o=Ky(),r||(r=setTimeout(l,t),n&&(a=e.apply(s,i))),a});return u.cancel=function(){clearTimeout(r),r=i=s=null},u}function r4e(e,t){return dm(t,e)}function ID(e){return function(){return!e.apply(this,arguments)}}function o4e(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function i4e(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function CV(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const a4e=dm(CV,2);function xV(e,t,n){t=Ql(t,n);for(var r=ns(e),o,i=0,a=r.length;i0?0:o-1;i>=0&&i0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return i=n(r,o),r[i]===o?i:-1;if(o!==o)return i=t(Z5.call(r,a,s),iV),i>=0?i+a:-1;for(i=e>0?a:s-1;i>=0&&i0?0:s-1;for(i||(o=n[a?a[l]:l],l+=e);l>=0&&l=3;return t(n,J5(r,i,4),o,a)}}const cy=d4e(1),VE=d4e(-1);function f0(e,t,n){var r=[];return t=Ql(t,n),Gc(e,function(o,i,a){t(o,i,a)&&r.push(o)}),r}function f4e(e,t,n){return f0(e,ID(Ql(t)),n)}function qE(e,t,n){t=Ql(t,n);for(var r=!Su(e)&&ns(e),o=(r||e).length,i=0;i=0}const p4e=hl(function(e,t,n){var r,o;return Vs(t)?o=t:(t=X5(t),r=t.slice(0,-1),t=t[t.length-1]),ap(e,function(i){var a=o;if(!a){if(r&&r.length&&(i=mV(i,r)),i==null)return;a=i[t]}return a==null?a:a.apply(i,n)})});function MD(e,t){return ap(e,_D(t))}function h4e(e,t){return f0(e,zv(t))}function TV(e,t,n){var r=-1/0,o=-1/0,i,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Su(e)?e:cm(e);for(var s=0,l=e.length;sr&&(r=i)}else t=Ql(t,n),Gc(e,function(u,d,c){a=t(u,d,c),(a>o||a===-1/0&&r===-1/0)&&(r=u,o=a)});return r}function g4e(e,t,n){var r=1/0,o=1/0,i,a;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=Su(e)?e:cm(e);for(var s=0,l=e.length;ss||a===void 0)return 1;if(a1&&(r=J5(r,t[1])),t=Gb(e)):(r=aut,t=fm(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o1&&(r=t[1])):(t=ap(fm(t,!1,!1),String),n=function(o,i){return!Gu(t,i)}),IV(e,n,r)});function OV(e,t,n){return Z5.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function dy(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:OV(e,e.length-t)}function tv(e,t,n){return Z5.call(e,t==null||n?1:t)}function S4e(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:tv(e,Math.max(0,e.length-t))}function E4e(e){return f0(e,Boolean)}function k4e(e,t){return fm(e,t,!1)}const MV=hl(function(e,t){return t=fm(t,!0,!0),f0(e,function(n){return!Gu(t,n)})}),T4e=hl(function(e,t){return MV(e,t)});function bA(e,t,n,r){eV(t)||(r=n,n=t,t=!1),n!=null&&(n=Ql(n,r));for(var o=[],i=[],a=0,s=Vl(e);a"u",r={e:{}},o,i=typeof self<"u"?self:typeof window<"u"?window:typeof Hs<"u"?Hs:B2!==void 0?B2:null;function a(){try{var H=o;return o=null,H.apply(this,arguments)}catch(re){return r.e=re,r}}function s(H){return o=H,a}var l=function(H,re){var X={}.hasOwnProperty;function te(){this.constructor=H,this.constructor$=re;for(var Z in re.prototype)X.call(re.prototype,Z)&&Z.charAt(Z.length-1)!=="$"&&(this[Z+"$"]=re.prototype[Z])}return te.prototype=re.prototype,H.prototype=new te,H.prototype};function u(H){return H==null||H===!0||H===!1||typeof H=="string"||typeof H=="number"}function d(H){return typeof H=="function"||typeof H=="object"&&H!==null}function c(H){return u(H)?new Error(E(H)):H}function f(H,re){var X=H.length,te=new Array(X+1),Z;for(Z=0;Z1,te=re.length>0&&!(re.length===1&&re[0]==="constructor"),Z=y.test(H+"")&&t.names(H).length>0;if(X||te||Z)return!0}return!1}catch{return!1}}function b(H){return H}var w=/^[a-z$_][a-z$_0-9]*$/i;function A(H){return w.test(H)}function S(H,re,X){for(var te=new Array(H),Z=0;Z10||H[0]>0})(),F.isNode&&F.toFastProperties(process);try{throw new Error}catch(H){F.lastLineError=H}return B2=F,B2}var Nx={exports:{}},UI,fte;function uut(){if(fte)return UI;fte=1;var e=Hi(),t,n=function(){throw new Error(`No async scheduler available See http://goo.gl/MqrFmX `)},r=e.getNativePromise();if(e.isNode&&typeof MutationObserver>"u"){var o=Hs.setImmediate,i=process.nextTick;t=e.isRecentNode?function(s){o.call(Hs,s)}:function(s){i.call(process,s)}}else if(typeof r=="function"&&typeof r.resolve=="function"){var a=r.resolve();t=function(s){a.then(s)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?t=(function(){var s=document.createElement("div"),l={attributes:!0},u=!1,d=document.createElement("div"),c=new MutationObserver(function(){s.classList.toggle("foo"),u=!1});c.observe(d,l);var f=function(){u||(u=!0,d.classList.toggle("foo"))};return function(v){var h=new MutationObserver(function(){h.disconnect(),v()});h.observe(s,l),f()}})():typeof setImmediate<"u"?t=function(s){setImmediate(s)}:typeof setTimeout<"u"?t=function(s){setTimeout(s,0)}:t=n;return UI=t,UI}var zI,pte;function cut(){if(pte)return zI;pte=1;function e(n,r,o,i,a){for(var s=0;s0;){var u=l.shift();if(typeof u!="function"){u._settlePromises();continue}var d=l.shift(),c=l.shift();u.call(d,c)}},o.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},o.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},o.prototype._reset=function(){this._isTickUsed=!1},Nx.exports=o,Nx.exports.firstLineError=e,Nx.exports}var $I,gte;function p0(){if(gte)return $I;gte=1;var e=Kb(),t=e.freeze,n=Hi(),r=n.inherits,o=n.notEnumerableProp;function i(y,m){function b(w){if(!(this instanceof b))return new b(w);o(this,"message",typeof w=="string"?w:m),o(this,"name",y),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(b,Error),b}var a,s,l=i("Warning","warning"),u=i("CancellationError","cancellation error"),d=i("TimeoutError","timeout error"),c=i("AggregateError","aggregate error");try{a=TypeError,s=RangeError}catch{a=i("TypeError","type error"),s=i("RangeError","range error")}for(var f="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),p=0;p=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(l){return this._totalResolved++,this._reject(l),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var l=this._values;if(this._cancel(),l instanceof e)l.cancel();else for(var u=0;u=0)return n[a]}return r.CapturedTrace=null,r.create=o,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var a=e.prototype._pushContext,s=e.prototype._popContext,l=e._peekContext,u=e.prototype._peekContext,d=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=a,e.prototype._popContext=s,e._peekContext=l,e.prototype._peekContext=u,e.prototype._promiseCreated=d,t=!1},t=!0,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,e._peekContext=e.prototype._peekContext=i,e.prototype._promiseCreated=function(){var c=this._peekContext();c&&c._promiseCreated==null&&(c._promiseCreated=this)}},r}),WI}var VI,bte;function gut(){return bte||(bte=1,VI=function(e,t){var n=e._getDomain,r=e._async,o=p0().Warning,i=Hi(),a=i.canAttachTrace,s,l,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,d=/\((?:timers\.js):\d+:\d+\)/,c=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,f=null,p=null,v=!1,h,g=!!(i.env("BLUEBIRD_DEBUG")!=0&&(i.env("BLUEBIRD_DEBUG")||i.env("NODE_ENV")==="development")),y=!!(i.env("BLUEBIRD_WARNINGS")!=0&&(g||i.env("BLUEBIRD_WARNINGS"))),m=!!(i.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(g||i.env("BLUEBIRD_LONG_STACK_TRACES"))),b=i.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(y||!!i.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var ze=this._target();ze._bitField=ze._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){he("rejectionHandled",s,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var ze=this._settledValue();this._setUnhandledRejectionIsNotified(),he("unhandledRejection",l,ze,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},e.prototype._warn=function(ze,Ne,Re){return re(ze,Ne,Re||this)},e.onPossiblyUnhandledRejection=function(ze){var Ne=n();l=typeof ze=="function"?Ne===null?ze:i.domainBind(Ne,ze):void 0},e.onUnhandledRejectionHandled=function(ze){var Ne=n();s=typeof ze=="function"?Ne===null?ze:i.domainBind(Ne,ze):void 0};var w=function(){};e.longStackTraces=function(){if(r.haveItemsQueued()&&!Fe.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX `);if(!Fe.longStackTraces&&me()){var ze=e.prototype._captureStackTrace,Ne=e.prototype._attachExtraTrace;Fe.longStackTraces=!0,w=function(){if(r.haveItemsQueued()&&!Fe.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX `);e.prototype._captureStackTrace=ze,e.prototype._attachExtraTrace=Ne,t.deactivateLongStackTraces(),r.enableTrampoline(),Fe.longStackTraces=!1},e.prototype._captureStackTrace=Y,e.prototype._attachExtraTrace=U,t.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return Fe.longStackTraces&&me()};var A=(function(){try{if(typeof CustomEvent=="function"){var ze=new CustomEvent("CustomEvent");return i.global.dispatchEvent(ze),function(Ne,Re){var gt=new CustomEvent(Ne.toLowerCase(),{detail:Re,cancelable:!0});return!i.global.dispatchEvent(gt)}}else if(typeof Event=="function"){var ze=new Event("CustomEvent");return i.global.dispatchEvent(ze),function(Re,gt){var Bt=new Event(Re.toLowerCase(),{cancelable:!0});return Bt.detail=gt,!i.global.dispatchEvent(Bt)}}else{var ze=document.createEvent("CustomEvent");return ze.initCustomEvent("testingtheevent",!1,!0,{}),i.global.dispatchEvent(ze),function(Re,gt){var Bt=document.createEvent("CustomEvent");return Bt.initCustomEvent(Re.toLowerCase(),!1,!0,gt),!i.global.dispatchEvent(Bt)}}}catch{}return function(){return!1}})(),S=(function(){return i.isNode?function(){return process.emit.apply(process,arguments)}:i.global?function(ze){var Ne="on"+ze.toLowerCase(),Re=i.global[Ne];return Re?(Re.apply(i.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}})();function E(ze,Ne){return{promise:Ne}}var D={promiseCreated:E,promiseFulfilled:E,promiseRejected:E,promiseResolved:E,promiseCancelled:E,promiseChained:function(ze,Ne,Re){return{promise:Ne,child:Re}},warning:function(ze,Ne){return{warning:Ne}},unhandledRejection:function(ze,Ne,Re){return{reason:Ne,promise:Re}},rejectionHandled:E},_=function(ze){var Ne=!1;try{Ne=S.apply(null,arguments)}catch(gt){r.throwLater(gt),Ne=!0}var Re=!1;try{Re=A(ze,D[ze].apply(null,arguments))}catch(gt){r.throwLater(gt),Re=!0}return Re||Ne};e.config=function(ze){if(ze=Object(ze),"longStackTraces"in ze&&(ze.longStackTraces?e.longStackTraces():!ze.longStackTraces&&e.hasLongStackTraces()&&w()),"warnings"in ze){var Ne=ze.warnings;Fe.warnings=!!Ne,b=Fe.warnings,i.isObject(Ne)&&"wForgottenReturn"in Ne&&(b=!!Ne.wForgottenReturn)}if("cancellation"in ze&&ze.cancellation&&!Fe.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=W,e.prototype._propagateFrom=B,e.prototype._onCancel=R,e.prototype._setOnCancel=N,e.prototype._attachCancellationCallback=k,e.prototype._execute=O,j=B,Fe.cancellation=!0}return"monitoring"in ze&&(ze.monitoring&&!Fe.monitoring?(Fe.monitoring=!0,e.prototype._fireEvent=_):!ze.monitoring&&Fe.monitoring&&(Fe.monitoring=!1,e.prototype._fireEvent=M)),e};function M(){return!1}e.prototype._fireEvent=M,e.prototype._execute=function(ze,Ne,Re){try{ze(Ne,Re)}catch(gt){return gt}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(ze){},e.prototype._attachCancellationCallback=function(ze){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(ze,Ne){};function O(ze,Ne,Re){var gt=this;try{ze(Ne,Re,function(Bt){if(typeof Bt!="function")throw new TypeError("onCancel must be a function, got: "+i.toString(Bt));gt._attachCancellationCallback(Bt)})}catch(Bt){return Bt}}function k(ze){if(!this._isCancellable())return this;var Ne=this._onCancel();Ne!==void 0?i.isArray(Ne)?Ne.push(ze):this._setOnCancel([Ne,ze]):this._setOnCancel(ze)}function R(){return this._onCancelField}function N(ze){this._onCancelField=ze}function W(){this._cancellationParent=void 0,this._onCancelField=void 0}function B(ze,Ne){if((Ne&1)!==0){this._cancellationParent=ze;var Re=ze._branchesRemainingToCancel;Re===void 0&&(Re=0),ze._branchesRemainingToCancel=Re+1}(Ne&2)!==0&&ze._isBound()&&this._setBoundTo(ze._boundTo)}function z(ze,Ne){(Ne&2)!==0&&ze._isBound()&&this._setBoundTo(ze._boundTo)}var j=z;function q(){var ze=this._boundTo;return ze!==void 0&&ze instanceof e?ze.isFulfilled()?ze.value():void 0:ze}function Y(){this._trace=new Be(this._peekContext())}function U(ze,Ne){if(a(ze)){var Re=this._trace;if(Re!==void 0&&Ne&&(Re=Re._parent),Re!==void 0)Re.attachExtraTrace(ze);else if(!ze.__stackCleaned__){var gt=Pe(ze);i.notEnumerableProp(ze,"stack",gt.message+` `+gt.stack.join(` `)),i.notEnumerableProp(ze,"__stackCleaned__",!0)}}}function F(ze,Ne,Re,gt,Bt){if(ze===void 0&&Ne!==null&&b){if(Bt!==void 0&&Bt._returnedNonUndefined()||(gt._bitField&65535)===0)return;Re&&(Re=Re+" ");var Lt="",an="";if(Ne._trace){for(var Kt=Ne._trace.stack.split(` `),Ht=le(Kt),pt=Ht.length-1;pt>=0;--pt){var Dt=Ht[pt];if(!d.test(Dt)){var dt=Dt.match(c);dt&&(Lt="at "+dt[1]+":"+dt[2]+":"+dt[3]+" ");break}}if(Ht.length>0){for(var it=Ht[0],pt=0;pt0&&(an=` `+Kt[pt-1]);break}}}var de="a promise was created in a "+Re+"handler "+Lt+"but was not returned from it, see http://goo.gl/rRqMUw"+an;gt._warn(de,!0,Ne)}}function H(ze,Ne){var Re=ze+" is deprecated and will be removed in a future version.";return Ne&&(Re+=" Use "+Ne+" instead."),re(Re)}function re(ze,Ne,Re){if(Fe.warnings){var gt=new o(ze),Bt;if(Ne)Re._attachExtraTrace(gt);else if(Fe.longStackTraces&&(Bt=e._peekContext()))Bt.attachExtraTrace(gt);else{var Lt=Pe(gt);gt.stack=Lt.message+` `+Lt.stack.join(` `)}_("warning",gt)||Ae(gt,"",!0)}}function X(ze,Ne){for(var Re=0;Re=0;--Kt)if(gt[Kt]===Lt){an=Kt;break}for(var Kt=an;Kt>=0;--Kt){var Ht=gt[Kt];if(Ne[Bt]===Ht)Ne.pop(),Bt--;else break}Ne=gt}}function le(ze){for(var Ne=[],Re=0;Re0&&ze.name!="SyntaxError"&&(Ne=Ne.slice(Re)),Ne}function Pe(ze){var Ne=ze.stack,Re=ze.toString();return Ne=typeof Ne=="string"&&Ne.length>0?ve(ze):[" (No stack trace)"],{message:Re,stack:ze.name=="SyntaxError"?Ne:le(Ne)}}function Ae(ze,Ne,Re){if(typeof console<"u"){var gt;if(i.isObject(ze)){var Bt=ze.stack;gt=Ne+p(Bt,ze)}else gt=Ne+String(ze);typeof h=="function"?h(gt,Re):(typeof console.log=="function"||typeof console.log=="object")&&console.log(gt)}}function he(ze,Ne,Re,gt){var Bt=!1;try{typeof Ne=="function"&&(Bt=!0,ze==="rejectionHandled"?Ne(gt):Ne(Re,gt))}catch(Lt){r.throwLater(Lt)}ze==="unhandledRejection"?!_(ze,Re,gt)&&!Bt&&Ae(Re,"Unhandled rejection "):_(ze,gt)}function Ee(ze){var Ne;if(typeof ze=="function")Ne="[function "+(ze.name||"anonymous")+"]";else{Ne=ze&&typeof ze.toString=="function"?ze.toString():i.toString(ze);var Re=/\[object [a-zA-Z0-9$_]+\]/;if(Re.test(Ne))try{var gt=JSON.stringify(ze);Ne=gt}catch{}Ne.length===0&&(Ne="(empty array)")}return"(<"+Q(Ne)+">, no stack trace)"}function Q(ze){var Ne=41;return ze.length=Lt||(De=function(Dt){if(u.test(Dt))return!0;var dt=ie(Dt);return!!(dt&&dt.fileName===an&&Bt<=dt.line&&dt.line<=Lt)})}}function Be(ze){this._parent=ze,this._promisesCreated=0;var Ne=this._length=1+(ze===void 0?0:ze._length);Me(this,Be),Ne>32&&this.uncycle()}i.inherits(Be,Error),t.CapturedTrace=Be,Be.prototype.uncycle=function(){var ze=this._length;if(!(ze<2)){for(var Ne=[],Re={},gt=0,Bt=this;Bt!==void 0;++gt)Ne.push(Bt),Bt=Bt._parent;ze=this._length=gt;for(var gt=ze-1;gt>=0;--gt){var Lt=Ne[gt].stack;Re[Lt]===void 0&&(Re[Lt]=gt)}for(var gt=0;gt0&&(Ne[Kt-1]._parent=void 0,Ne[Kt-1]._length=1),Ne[gt]._parent=void 0,Ne[gt]._length=1;var Ht=gt>0?Ne[gt-1]:this;Kt=0;--Dt)Ne[Dt]._length=pt,pt++;return}}}},Be.prototype.attachExtraTrace=function(ze){if(!ze.__stackCleaned__){this.uncycle();for(var Ne=Pe(ze),Re=Ne.message,gt=[Ne.stack],Bt=this;Bt!==void 0;)gt.push(le(Bt.stack.split(` `))),Bt=Bt._parent;Z(gt),te(gt),i.notEnumerableProp(ze,"stack",X(Re,gt)),i.notEnumerableProp(ze,"__stackCleaned__",!0)}};var Me=(function(){var Ne=/^\s*at\s*/,Re=function(an,Kt){return typeof an=="string"?an:Kt.name!==void 0&&Kt.message!==void 0?Kt.toString():Ee(Kt)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,f=Ne,p=Re;var gt=Error.captureStackTrace;return De=function(an){return u.test(an)},function(an,Kt){Error.stackTraceLimit+=6,gt(an,Kt),Error.stackTraceLimit-=6}}var Bt=new Error;if(typeof Bt.stack=="string"&&Bt.stack.split(` `)[0].indexOf("stackDetection@")>=0)return f=/@/,p=Re,v=!0,function(Kt){Kt.stack=new Error().stack};var Lt;try{throw new Error}catch(an){Lt="stack"in an}return!("stack"in Bt)&&Lt&&typeof Error.stackTraceLimit=="number"?(f=Ne,p=Re,function(Kt){Error.stackTraceLimit+=6;try{throw new Error}catch(Ht){Kt.stack=Ht.stack}Error.stackTraceLimit-=6}):(p=function(an,Kt){return typeof an=="string"?an:(typeof Kt=="object"||typeof Kt=="function")&&Kt.name!==void 0&&Kt.message!==void 0?Kt.toString():Ee(Kt)},null)})();typeof console<"u"&&typeof console.warn<"u"&&(h=function(ze){console.warn(ze)},i.isNode&&process.stderr.isTTY?h=function(ze,Ne){var Re=Ne?"\x1B[33m":"\x1B[31m";console.warn(Re+ze+`\x1B[0m `)}:!i.isNode&&typeof new Error().stack=="string"&&(h=function(ze,Ne){console.warn("%c"+ze,Ne?"color: darkorange":"color: red")}));var Fe={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return m&&e.longStackTraces(),{longStackTraces:function(){return Fe.longStackTraces},warnings:function(){return Fe.warnings},cancellation:function(){return Fe.cancellation},monitoring:function(){return Fe.monitoring},propagateFromFunction:function(){return j},boundValueFunction:function(){return q},checkForgottenReturns:F,setBounds:ue,warn:re,deprecated:H,CapturedTrace:Be,fireDomEvent:A,fireGlobalEvent:S}}),VI}var qI,wte;function vut(){return wte||(wte=1,qI=function(e,t){var n=Hi(),r=e.CancellationError,o=n.errorObj;function i(c,f,p){this.promise=c,this.type=f,this.handler=p,this.called=!1,this.cancelPromise=null}i.prototype.isFinallyHandler=function(){return this.type===0};function a(c){this.finallyHandler=c}a.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(c,f){return c.cancelPromise!=null?(arguments.length>1?c.cancelPromise._reject(f):c.cancelPromise._cancel(),c.cancelPromise=null,!0):!1}function l(){return d.call(this,this.promise._target()._settledValue())}function u(c){if(!s(this,c))return o.e=c,o}function d(c){var f=this.promise,p=this.handler;if(!this.called){this.called=!0;var v=this.isFinallyHandler()?p.call(f._boundValue()):p.call(f._boundValue(),c);if(v!==void 0){f._setReturnedNonUndefined();var h=t(v,f);if(h instanceof e){if(this.cancelPromise!=null)if(h._isCancelled()){var g=new r("late cancellation observer");return f._attachExtraTrace(g),o.e=g,o}else h.isPending()&&h._attachCancellationCallback(new a(this));return h._then(l,u,void 0,this,void 0)}}}return f.isRejected()?(s(this),o.e=c,o):(s(this),c)}return e.prototype._passThrough=function(c,f,p,v){return typeof c!="function"?this.then():this._then(p,v,void 0,new i(this,f,c),void 0)},e.prototype.lastly=e.prototype.finally=function(c){return this._passThrough(c,0,d,d)},e.prototype.tap=function(c){return this._passThrough(c,1,d)},i}),qI}var GI,Ate;function mut(){return Ate||(Ate=1,GI=function(e){var t=Hi(),n=Kb().keys,r=t.tryCatch,o=t.errorObj;function i(a,s,l){return function(u){var d=l._boundValue();e:for(var c=0;c1){o.deprecated("calling Promise.try with more than 1 argument");var d=arguments[1],c=arguments[2];u=i.isArray(d)?a(s).apply(c,d):a(s).call(c,d)}else u=a(s)();var f=l._popContext();return o.checkForgottenReturns(u,f,"Promise.try",l),l._resolveFromSyncValue(u),l},e.prototype._resolveFromSyncValue=function(s){s===i.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}}),YI}var QI,Ste;function but(){return Ste||(Ste=1,QI=function(e,t,n,r){var o=!1,i=function(u,d){this._reject(d)},a=function(u,d){d.promiseRejectionQueued=!0,d.bindingPromise._then(i,i,null,this,u)},s=function(u,d){(this._bitField&50397184)===0&&this._resolveCallback(d.target)},l=function(u,d){d.promiseRejectionQueued||this._reject(u)};e.prototype.bind=function(u){o||(o=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var d=n(u),c=new e(t);c._propagateFrom(this,1);var f=this._target();if(c._setBoundTo(d),d instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:f,bindingPromise:d};f._then(t,a,void 0,c,p),d._then(s,l,void 0,c,p),c._setOnCancel(d)}else c._resolveCallback(f);return c},e.prototype._setBoundTo=function(u){u!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=u):this._bitField=this._bitField&-2097153},e.prototype._isBound=function(){return(this._bitField&2097152)===2097152},e.bind=function(u,d){return e.resolve(d).bind(u)}}),QI}var ZI,Ete;function wut(){return Ete||(Ete=1,ZI=function(e,t,n,r){var o=Hi(),i=o.tryCatch,a=o.errorObj,s=e._async;e.prototype.break=e.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var l=this,u=l;l._isCancellable();){if(!l._cancelBy(u)){u._isFollowing()?u._followee().cancel():u._cancelBranched();break}var d=l._cancellationParent;if(d==null||!d._isCancellable()){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}else l._isFollowing()&&l._followee().cancel(),l._setWillBeCancelled(),u=l,l=d}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(l){return l===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),s.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(l,u){if(o.isArray(l))for(var d=0;d0&&typeof arguments[m]=="function"&&(b=arguments[m],m<=8&&s)){var N=new e(r);N._captureStackTrace();for(var w=v[m-1],A=new w(b),S=h,E=0;E=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(m>=1&&this._inFlight>=m)return h[v]=p,this._queue.push(v),!1;y!==null&&(y[v]=p);var b=this._promise,w=this._callback,A=b._boundValue();b._pushContext();var S=l(w).call(A,p,v,g),E=b._popContext();if(i.checkForgottenReturns(S,E,y!==null?"Promise.filter":"Promise.map",b),S===u)return this._reject(S.e),!0;var D=r(S,this._promise);if(D instanceof e){D=D._target();var _=D._bitField;if((_&50397184)===0)return m>=1&&this._inFlight++,h[v]=D,D._proxy(this,(v+1)*-1),!1;if((_&33554432)!==0)S=D._value();else return(_&16777216)!==0?(this._reject(D._reason()),!0):(this._cancel(),!0)}h[v]=S}var M=++this._totalResolved;return M>=g?(y!==null?this._filter(h,y):this._resolve(h),!0):!1},c.prototype._drainQueue=function(){for(var p=this._queue,v=this._limit,h=this._values;p.length>0&&this._inFlight=1?y:0,new c(p,v,y,g).promise()}e.prototype.map=function(p,v){return f(this,p,v,null)},e.map=function(p,v,h,g){return f(p,v,h,g)}}),tO}var nO,Ite;function Eut(){if(Ite)return nO;Ite=1;var e=Object.create;if(e){var t=e(null),n=e(null);t[" size"]=n[" size"]=0}return nO=function(r){var o=Hi(),i=o.canEvaluate,a=o.isIdentifier,s,l;{var u=function(g){return new Function("ensureMethod",` return function(obj) { 'use strict' var len = this.length; ensureMethod(obj, 'methodName'); switch(len) { case 1: return obj.methodName(this[0]); case 2: return obj.methodName(this[0], this[1]); case 3: return obj.methodName(this[0], this[1], this[2]); case 0: return obj.methodName(); default: return obj.methodName.apply(obj, this); } }; `.replace(/methodName/g,g))(f)},d=function(g){return new Function("obj",` 'use strict'; return obj.propertyName; `.replace("propertyName",g))},c=function(g,y,m){var b=m[g];if(typeof b!="function"){if(!a(g))return null;if(b=y(g),m[g]=b,m[" size"]++,m[" size"]>512){for(var w=Object.keys(m),A=0;A<256;++A)delete m[w[A]];m[" size"]=w.length-256}}return b};s=function(g){return c(g,u,t)},l=function(g){return c(g,d,n)}}function f(g,y){var m;if(g!=null&&(m=g[y]),typeof m!="function"){var b="Object "+o.classString(g)+" has no method '"+o.toString(y)+"'";throw new r.TypeError(b)}return m}function p(g){var y=this.pop(),m=f(g,y);return m.apply(g,this)}r.prototype.call=function(g){for(var y=arguments.length,m=new Array(Math.max(y-1,0)),b=1;b=S)return E._fulfill();var _=p(b[A++]);if(_ instanceof e&&_._isDisposable()){try{_=n(_._getDisposer().tryDispose(w),b.promise)}catch(M){return f(M)}if(_ instanceof e)return _._then(D,f,null,null,null)}D()}return D(),E}function h(b,w,A){this._data=b,this._promise=w,this._context=A}h.prototype.data=function(){return this._data},h.prototype.promise=function(){return this._promise},h.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():c},h.prototype.tryDispose=function(b){var w=this.resource(),A=this._context;A!==void 0&&A._pushContext();var S=w!==c?this.doDispose(w,b):null;return A!==void 0&&A._popContext(),this._promise._unsetDisposable(),this._data=null,S},h.isDisposer=function(b){return b!=null&&typeof b.resource=="function"&&typeof b.tryDispose=="function"};function g(b,w,A){this.constructor$(b,w,A)}l(g,h),g.prototype.doDispose=function(b,w){var A=this.data();return A.call(b,b,w)};function y(b){return h.isDisposer(b)?(this.resources[this.index]._setDisposable(b),b.promise()):b}function m(b){this.length=b,this.promise=null,this[b-1]=null}m.prototype._resultCancelled=function(){for(var b=this.length,w=0;w0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},e.prototype.disposer=function(b){if(typeof b=="function")return new g(b,this,r());throw new s}}),rO}var oO,Mte;function Tut(){return Mte||(Mte=1,oO=function(e,t,n){var r=Hi(),o=e.TimeoutError;function i(c){this.handle=c}i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(c){return s(+this).thenReturn(c)},s=e.delay=function(c,f){var p,v;return f!==void 0?(p=e.resolve(f)._then(a,null,null,c,void 0),n.cancellation()&&f instanceof e&&p._setOnCancel(f)):(p=new e(t),v=setTimeout(function(){p._fulfill()},+c),n.cancellation()&&p._setOnCancel(new i(v)),p._captureStackTrace()),p._setAsyncGuaranteed(),p};e.prototype.delay=function(c){return s(c,this)};var l=function(c,f,p){var v;typeof f!="string"?f instanceof Error?v=f:v=new o("operation timed out"):v=new o(f),r.markAsOriginatingFromRejection(v),c._attachExtraTrace(v),c._reject(v),p?.cancel()};function u(c){return clearTimeout(this.handle),c}function d(c){throw clearTimeout(this.handle),c}e.prototype.timeout=function(c,f){c=+c;var p,v,h=new i(setTimeout(function(){p.isPending()&&l(p,f,v)},c));return n.cancellation()?(v=this.then(),p=v._then(u,d,void 0,h,void 0),p._setOnCancel(h)):p=this._then(u,d,void 0,h,void 0),p}}),oO}var iO,Pte;function _ut(){return Pte||(Pte=1,iO=function(e,t,n,r,o,i){var a=p0(),s=a.TypeError,l=Hi(),u=l.errorObj,d=l.tryCatch,c=[];function f(v,h,g){for(var y=0;y=W;--B)N.push(B);for(var B=R+1;B<=3;++B)N.push(B);return N},S=function(R){return r.filledRange(R,"_arg","")},E=function(R){return r.filledRange(Math.max(R,3),"_arg","")},D=function(R){return typeof R.length=="number"?Math.max(Math.min(R.length,1024),0):0};w=function(R,N,W,B,z,j){var q=Math.max(0,D(B)-1),Y=A(q),U=typeof R=="string"||N===n;function F(te){var Z=S(te).join(", "),le=te>0?", ":"",ve;return U?ve=`ret = callback.call(this, {{args}}, nodeback); break; `:ve=N===void 0?`ret = callback({{args}}, nodeback); break; `:`ret = callback.call(receiver, {{args}}, nodeback); break; `,ve.replace("{{args}}",Z).replace(", ",le)}function H(){for(var te="",Z=0;Z=this._length){var h;if(this._isMap)h=u(this._values);else{h={};for(var g=this.length(),y=0,m=this.length();y>1};function c(f){var p,v=n(f);if(i(v))v instanceof e?p=v._then(e.props,void 0,void 0,void 0,void 0):p=new d(v).promise();else return r(`cannot await properties of a non-object See http://goo.gl/MqrFmX `);return v instanceof e&&p._propagateFrom(v,2),p}e.prototype.props=function(){return c(this)},e.props=function(f){return c(f)}}),lO}var uO,Lte;function Mut(){return Lte||(Lte=1,uO=function(e,t,n,r){var o=Hi(),i=function(s){return s.then(function(l){return a(l,s)})};function a(s,l){var u=n(s);if(u instanceof e)return i(u);if(s=o.asArray(s),s===null)return r("expecting an array or an iterable object but got "+o.classString(s));var d=new e(t);l!==void 0&&d._propagateFrom(l,3);for(var c=d._fulfill,f=d._reject,p=0,v=s.length;p=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(a,s){var l=new r;return l._bitField=33554432,l._settledValueField=a,this._promiseResolved(s,l)},i.prototype._promiseRejected=function(a,s){var l=new r;return l._bitField=16777216,l._settledValueField=a,this._promiseResolved(s,l)},e.settle=function(a){return n.deprecated(".settle()",".reflect()"),new i(a).promise()},e.prototype.settle=function(){return e.settle(this)}}),dO}var fO,zte;function Rut(){return zte||(zte=1,fO=function(e,t,n){var r=Hi(),o=p0().RangeError,i=p0().AggregateError,a=r.isArray,s={};function l(d){this.constructor$(d),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(l,t),l.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var d=a(this._values);!this._isResolved()&&d&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(d){this._howMany=d},l.prototype._promiseFulfilled=function(d){return this._addFulfilled(d),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},l.prototype._promiseRejected=function(d){return this._addRejected(d),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof e||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var d=new i,c=this.length();c0?this._reject(d):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(d){this._values.push(d)},l.prototype._addFulfilled=function(d){this._values[this._totalResolved++]=d},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(d){var c="Input array must contain at least "+this._howMany+" items but contains only "+d+" items";return new o(c)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function u(d,c){if((c|0)!==c||c<0)return n(`expecting a positive integer See http://goo.gl/MqrFmX `);var f=new l(d),p=f.promise();return f.setHowMany(c),f.init(),p}e.some=function(d,c){return u(d,c)},e.prototype.some=function(d){return u(this,d)},e._SomePromiseArray=l}),fO}var pO,$te;function But(){return $te||($te=1,pO=function(e,t){var n=e.map;e.prototype.filter=function(r,o){return n(this,r,o,t)},e.filter=function(r,o,i){return n(r,o,i,t)}}),pO}var hO,jte;function Lut(){return jte||(jte=1,hO=function(e,t){var n=e.reduce,r=e.all;function o(){return r(this)}function i(a,s){return n(a,s,t,t)}e.prototype.each=function(a){return n(this,a,t,0)._then(o,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(a){return n(this,a,t,t)},e.each=function(a,s){return n(a,s,t,0)._then(o,void 0,void 0,a,void 0)},e.mapSeries=i}),hO}var gO,Hte;function Fut(){return Hte||(Hte=1,gO=function(e){var t=e._SomePromiseArray;function n(r){var o=new t(r),i=o.promise();return o.setHowMany(1),o.setUnwrap(),o.init(),i}e.any=function(r){return n(r)},e.prototype.any=function(){return n(this)}}),gO}var Wte;function Uut(){return Wte||(Wte=1,(function(e){e.exports=function(){var t=function(){return new f(`circular promise resolution chain See http://goo.gl/MqrFmX `)},n=function(){return new k.PromiseInspection(this._target())},r=function(B){return k.reject(new f(B))};function o(){}var i={},a=Hi(),s;a.isNode?s=function(){var B=process.domain;return B===void 0&&(B=null),B}:s=function(){return null},a.notEnumerableProp(k,"_getDomain",s);var l=Kb(),u=dut(),d=new u;l.defineProperty(k,"_async",{value:d});var c=p0(),f=k.TypeError=c.TypeError;k.RangeError=c.RangeError;var p=k.CancellationError=c.CancellationError;k.TimeoutError=c.TimeoutError,k.OperationalError=c.OperationalError,k.RejectionError=c.OperationalError,k.AggregateError=c.AggregateError;var v=function(){},h={},g={},y=fut()(k,v),m=put()(k,v,y,r,o),b=hut()(k),w=b.create,A=gut()(k,b);A.CapturedTrace;var S=vut()(k,y),E=mut()(g),D=N4e(),_=a.errorObj,M=a.tryCatch;function O(B,z){if(typeof z!="function")throw new f("expecting a function but got "+a.classString(z));if(B.constructor!==k)throw new f(`the promise constructor cannot be invoked directly See http://goo.gl/MqrFmX `)}function k(B){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,B!==v&&(O(this,B),this._resolveFromExecutor(B)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}k.prototype.toString=function(){return"[object Promise]"},k.prototype.caught=k.prototype.catch=function(B){var z=arguments.length;if(z>1){var j=new Array(z-1),q=0,Y;for(Y=0;Y0&&typeof B!="function"&&typeof z!="function"){var j=".then() only accepts functions but was passed: "+a.classString(B);arguments.length>1&&(j+=", "+a.classString(z)),this._warn(j)}return this._then(B,z,void 0,void 0,void 0)},k.prototype.done=function(B,z){var j=this._then(B,z,void 0,void 0,void 0);j._setIsFinal()},k.prototype.spread=function(B){return typeof B!="function"?r("expecting a function but got "+a.classString(B)):this.all()._then(B,void 0,void 0,h,void 0)},k.prototype.toJSON=function(){var B={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(B.fulfillmentValue=this.value(),B.isFulfilled=!0):this.isRejected()&&(B.rejectionReason=this.reason(),B.isRejected=!0),B},k.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new m(this).promise()},k.prototype.error=function(B){return this.caught(a.originatesFromRejection,B)},k.getNewLibraryCopy=e.exports,k.is=function(B){return B instanceof k},k.fromNode=k.fromCallback=function(B){var z=new k(v);z._captureStackTrace();var j=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,q=M(B)(D(z,j));return q===_&&z._rejectCallback(q.e,!0),z._isFateSealed()||z._setAsyncGuaranteed(),z},k.all=function(B){return new m(B).promise()},k.cast=function(B){var z=y(B);return z instanceof k||(z=new k(v),z._captureStackTrace(),z._setFulfilled(),z._rejectionHandler0=B),z},k.resolve=k.fulfilled=k.cast,k.reject=k.rejected=function(B){var z=new k(v);return z._captureStackTrace(),z._rejectCallback(B,!0),z},k.setScheduler=function(B){if(typeof B!="function")throw new f("expecting a function but got "+a.classString(B));return d.setScheduler(B)},k.prototype._then=function(B,z,j,q,Y){var U=Y!==void 0,F=U?Y:new k(v),H=this._target(),re=H._bitField;U||(F._propagateFrom(this,3),F._captureStackTrace(),q===void 0&&(this._bitField&2097152)!==0&&((re&50397184)!==0?q=this._boundValue():q=H===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,F));var X=s();if((re&50397184)!==0){var te,Z,le=H._settlePromiseCtx;(re&33554432)!==0?(Z=H._rejectionHandler0,te=B):(re&16777216)!==0?(Z=H._fulfillmentHandler0,te=z,H._unsetRejectionIsUnhandled()):(le=H._settlePromiseLateCancellationObserver,Z=new p("late cancellation observer"),H._attachExtraTrace(Z),te=z),d.invoke(le,H,{handler:X===null?te:typeof te=="function"&&a.domainBind(X,te),promise:F,receiver:q,value:Z})}else H._addCallbacks(B,z,F,q,X);return F},k.prototype._length=function(){return this._bitField&65535},k.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},k.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},k.prototype._setLength=function(B){this._bitField=this._bitField&-65536|B&65535},k.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},k.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},k.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},k.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},k.prototype._isFinal=function(){return(this._bitField&4194304)>0},k.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},k.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},k.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},k.prototype._setAsyncGuaranteed=function(){d.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},k.prototype._receiverAt=function(B){var z=B===0?this._receiver0:this[B*4-4+3];if(z!==i)return z===void 0&&this._isBound()?this._boundValue():z},k.prototype._promiseAt=function(B){return this[B*4-4+2]},k.prototype._fulfillmentHandlerAt=function(B){return this[B*4-4+0]},k.prototype._rejectionHandlerAt=function(B){return this[B*4-4+1]},k.prototype._boundValue=function(){},k.prototype._migrateCallback0=function(B){B._bitField;var z=B._fulfillmentHandler0,j=B._rejectionHandler0,q=B._promise0,Y=B._receiverAt(0);Y===void 0&&(Y=i),this._addCallbacks(z,j,q,Y,null)},k.prototype._migrateCallbackAt=function(B,z){var j=B._fulfillmentHandlerAt(z),q=B._rejectionHandlerAt(z),Y=B._promiseAt(z),U=B._receiverAt(z);U===void 0&&(U=i),this._addCallbacks(j,q,Y,U,null)},k.prototype._addCallbacks=function(B,z,j,q,Y){var U=this._length();if(U>=65531&&(U=0,this._setLength(0)),U===0)this._promise0=j,this._receiver0=q,typeof B=="function"&&(this._fulfillmentHandler0=Y===null?B:a.domainBind(Y,B)),typeof z=="function"&&(this._rejectionHandler0=Y===null?z:a.domainBind(Y,z));else{var F=U*4-4;this[F+2]=j,this[F+3]=q,typeof B=="function"&&(this[F+0]=Y===null?B:a.domainBind(Y,B)),typeof z=="function"&&(this[F+1]=Y===null?z:a.domainBind(Y,z))}return this._setLength(U+1),U},k.prototype._proxy=function(B,z){this._addCallbacks(void 0,void 0,z,B,null)},k.prototype._resolveCallback=function(B,z){if((this._bitField&117506048)===0){if(B===this)return this._rejectCallback(t(),!1);var j=y(B,this);if(!(j instanceof k))return this._fulfill(B);z&&this._propagateFrom(j,2);var q=j._target();if(q===this){this._reject(t());return}var Y=q._bitField;if((Y&50397184)===0){var U=this._length();U>0&&q._migrateCallback0(this);for(var F=1;F>>16)){if(B===this){var j=t();return this._attachExtraTrace(j),this._reject(j)}this._setFulfilled(),this._rejectionHandler0=B,(z&65535)>0&&((z&134217728)!==0?this._settlePromises():d.settlePromises(this))}},k.prototype._reject=function(B){var z=this._bitField;if(!((z&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=B,this._isFinal())return d.fatalError(B,a.isNode);(z&65535)>0?d.settlePromises(this):this._ensurePossibleRejectionHandled()}},k.prototype._fulfillPromises=function(B,z){for(var j=1;j0){if((B&16842752)!==0){var j=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,j,B),this._rejectPromises(z,j)}else{var q=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,q,B),this._fulfillPromises(z,q)}this._setLength(0)}this._clearCancellationData()},k.prototype._settledValue=function(){var B=this._bitField;if((B&33554432)!==0)return this._rejectionHandler0;if((B&16777216)!==0)return this._fulfillmentHandler0};function R(B){this.promise._resolveCallback(B)}function N(B){this.promise._rejectCallback(B,!1)}k.defer=k.pending=function(){A.deprecated("Promise.defer","new Promise");var B=new k(v);return{promise:B,resolve:R,reject:N}},a.notEnumerableProp(k,"_makeSelfResolutionError",t),yut()(k,v,y,r,A),but()(k,v,y,A),wut()(k,m,r,A),Aut()(k),Cut()(k),xut()(k,m,y,v,d,s),k.Promise=k,k.version="3.4.7",Sut()(k,m,r,y,v,A),Eut()(k),kut()(k,r,y,w,v,A),Tut()(k,v,A),_ut()(k,r,v,y,o,A),Dut()(k),Iut()(k,v),Out()(k,m,y,r),Mut()(k,v,y,r),Put()(k,m,r,y,v,A),Nut()(k,m,A),Rut()(k,m,r),But()(k,v),Lut()(k,v),Fut()(k),a.toFastProperties(k),a.toFastProperties(k.prototype);function W(B){var z=new k(v);z._fulfillmentHandler0=B,z._rejectionHandler0=B,z._promise0=B,z._receiver0=B}return W({a:1}),W({b:2}),W({c:3}),W(1),W(function(){}),W(void 0),W(!1),W(new k(v)),A.setBounds(u.firstLineError,a.lastLineError),k}})(FI)),FI.exports}var Vte;function R0(){if(Vte)return Iu;Vte=1;var e=Pa,t=Uut()();Iu.defer=n,Iu.when=t.resolve,Iu.resolve=t.resolve,Iu.all=t.all,Iu.props=t.props,Iu.reject=t.reject,Iu.promisify=t.promisify,Iu.mapSeries=t.mapSeries,Iu.attempt=t.attempt,Iu.nfcall=function(r){var o=Array.prototype.slice.call(arguments,1),i=t.promisify(r);return i.apply(null,o)},t.prototype.fail=t.prototype.caught,t.prototype.also=function(r){return this.then(function(o){var i=e.extend({},o,r(o));return t.props(i)})};function n(){var r,o,i=new t.Promise(function(a,s){r=a,o=s});return{resolve:r,reject:o,promise:i}}return Iu}var ri={},qte;function pm(){if(qte)return ri;qte=1;var e=Pa,t=ri.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function n(S,E){return E=E||{},{type:t.document,children:S,notes:E.notes||new c({}),comments:E.comments||[]}}function r(S,E){E=E||{};var D=E.indent||{};return{type:t.paragraph,children:S,styleId:E.styleId||null,styleName:E.styleName||null,numbering:E.numbering||null,alignment:E.alignment||null,indent:{start:D.start||null,end:D.end||null,firstLine:D.firstLine||null,hanging:D.hanging||null}}}function o(S,E){return E=E||{},{type:t.run,children:S,styleId:E.styleId||null,styleName:E.styleName||null,isBold:!!E.isBold,isUnderline:!!E.isUnderline,isItalic:!!E.isItalic,isStrikethrough:!!E.isStrikethrough,isAllCaps:!!E.isAllCaps,isSmallCaps:!!E.isSmallCaps,verticalAlignment:E.verticalAlignment||i.baseline,font:E.font||null,fontSize:E.fontSize||null,highlight:E.highlight||null}}var i={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function a(S){return{type:t.text,value:S}}function s(){return{type:t.tab}}function l(S){return{type:t.checkbox,checked:S.checked}}function u(S,E){return{type:t.hyperlink,children:S,href:E.href,anchor:E.anchor,targetFrame:E.targetFrame}}function d(S){return{type:t.noteReference,noteType:S.noteType,noteId:S.noteId}}function c(S){this._notes=e.indexBy(S,function(E){return h(E.noteType,E.noteId)})}c.prototype.resolve=function(S){return this.findNoteByKey(h(S.noteType,S.noteId))},c.prototype.findNoteByKey=function(S){return this._notes[S]||null};function f(S){return{type:t.note,noteType:S.noteType,noteId:S.noteId,body:S.body}}function p(S){return{type:t.commentReference,commentId:S.commentId}}function v(S){return{type:t.comment,commentId:S.commentId,body:S.body,authorName:S.authorName,authorInitials:S.authorInitials}}function h(S,E){return S+"-"+E}function g(S){return{type:t.image,read:function(E){return E?S.readImage(E):S.readImage().then(function(D){return Buffer.from(D)})},readAsArrayBuffer:function(){return S.readImage()},readAsBase64String:function(){return S.readImage("base64")},readAsBuffer:function(){return S.readImage().then(function(E){return Buffer.from(E)})},altText:S.altText,contentType:S.contentType}}function y(S,E){return E=E||{},{type:t.table,children:S,styleId:E.styleId||null,styleName:E.styleName||null}}function m(S,E){return E=E||{},{type:t.tableRow,children:S,isHeader:E.isHeader||!1}}function b(S,E){return E=E||{},{type:t.tableCell,children:S,colSpan:E.colSpan==null?1:E.colSpan,rowSpan:E.rowSpan==null?1:E.rowSpan}}function w(S){return{type:t.break,breakType:S}}function A(S){return{type:t.bookmarkStart,name:S.name}}return ri.document=ri.Document=n,ri.paragraph=ri.Paragraph=r,ri.run=ri.Run=o,ri.text=ri.Text=a,ri.tab=ri.Tab=s,ri.checkbox=ri.Checkbox=l,ri.Hyperlink=u,ri.noteReference=ri.NoteReference=d,ri.Notes=c,ri.Note=f,ri.commentReference=p,ri.comment=v,ri.Image=g,ri.Table=y,ri.TableRow=m,ri.TableCell=b,ri.lineBreak=w("line"),ri.pageBreak=w("page"),ri.columnBreak=w("column"),ri.BookmarkStart=A,ri.verticalAlignment=i,ri}var jm={},Gte;function sp(){if(Gte)return jm;Gte=1;var e=Pa;jm.Result=t,jm.success=n,jm.warning=r,jm.error=o;function t(l,u){this.value=l,this.messages=u||[]}t.prototype.map=function(l){return new t(l(this.value),this.messages)},t.prototype.flatMap=function(l){var u=l(this.value);return new t(u.value,i([this,u]))},t.prototype.flatMapThen=function(l){var u=this;return l(this.value).then(function(d){return new t(d.value,i([u,d]))})},t.combine=function(l){var u=e.flatten(e.pluck(l,"value")),d=i(l);return new t(u,d)};function n(l){return new t(l,[])}function r(l){return{type:"warning",message:l}}function o(l){return{type:"error",message:l.message,error:l}}function i(l){var u=[];return e.flatten(e.pluck(l,"messages"),!0).forEach(function(d){a(u,d)||u.push(d)}),u}function a(l,u){return e.find(l,s.bind(null,u))!==void 0}function s(l,u){return l.type===u.type&&l.message===u.message}return jm}var L2={},F2={},Kte;function zut(){if(Kte)return F2;Kte=1,F2.byteLength=s,F2.toByteArray=u,F2.fromByteArray=f;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=r.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var h=p.indexOf("=");h===-1&&(h=v);var g=h===v?0:4-h%4;return[h,g]}function s(p){var v=a(p),h=v[0],g=v[1];return(h+g)*3/4-g}function l(p,v,h){return(v+h)*3/4-h}function u(p){var v,h=a(p),g=h[0],y=h[1],m=new n(l(p,g,y)),b=0,w=y>0?g-4:g,A;for(A=0;A>16&255,m[b++]=v>>8&255,m[b++]=v&255;return y===2&&(v=t[p.charCodeAt(A)]<<2|t[p.charCodeAt(A+1)]>>4,m[b++]=v&255),y===1&&(v=t[p.charCodeAt(A)]<<10|t[p.charCodeAt(A+1)]<<4|t[p.charCodeAt(A+2)]>>2,m[b++]=v>>8&255,m[b++]=v&255),m}function d(p){return e[p>>18&63]+e[p>>12&63]+e[p>>6&63]+e[p&63]}function c(p,v,h){for(var g,y=[],m=v;mw?w:b+m));return g===1?(v=p[h-1],y.push(e[v>>2]+e[v<<4&63]+"==")):g===2&&(v=(p[h-2]<<8)+p[h-1],y.push(e[v>>10]+e[v>>4&63]+e[v<<2&63]+"=")),y.join("")}return F2}function Rx(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var vO={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files (c) 2009-2016 Stuart Knightley Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE */var Yte;function $ut(){return Yte||(Yte=1,(function(e,t){(function(n){e.exports=n()})(function(){return(function n(r,o,i){function a(u,d){if(!o[u]){if(!r[u]){var c=typeof Rx=="function"&&Rx;if(!d&&c)return c(u,!0);if(s)return s(u,!0);var f=new Error("Cannot find module '"+u+"'");throw f.code="MODULE_NOT_FOUND",f}var p=o[u]={exports:{}};r[u][0].call(p.exports,function(v){var h=r[u][1][v];return a(h||v)},p,p.exports,n,r,o,i)}return o[u].exports}for(var s=typeof Rx=="function"&&Rx,l=0;l>2,p=(3&u)<<4|d>>4,v=1>6:64,h=2>4,d=(15&f)<<4|(p=s.indexOf(l.charAt(h++)))>>2,c=(3&p)<<6|(v=s.indexOf(l.charAt(h++))),m[g++]=u,p!==64&&(m[g++]=d),v!==64&&(m[g++]=c);return m}},{"./support":30,"./utils":32}],2:[function(n,r,o){var i=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function u(d,c,f,p,v){this.compressedSize=d,this.uncompressedSize=c,this.crc32=f,this.compression=p,this.compressedContent=v}u.prototype={getContentWorker:function(){var d=new a(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),c=this;return d.on("end",function(){if(this.streamInfo.data_length!==c.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),d},getCompressedWorker:function(){return new a(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(d,c,f){return d.pipe(new s).pipe(new l("uncompressedSize")).pipe(c.compressWorker(f)).pipe(new l("compressedSize")).withStreamInfo("compression",c)},r.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,o){var i=n("./stream/GenericWorker");o.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},o.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,o){var i=n("./utils"),a=(function(){for(var s,l=[],u=0;u<256;u++){s=u;for(var d=0;d<8;d++)s=1&s?3988292384^s>>>1:s>>>1;l[u]=s}return l})();r.exports=function(s,l){return s!==void 0&&s.length?i.getTypeOf(s)!=="string"?(function(u,d,c,f){var p=a,v=f+c;u^=-1;for(var h=f;h>>8^p[255&(u^d[h])];return-1^u})(0|l,s,s.length,0):(function(u,d,c,f){var p=a,v=f+c;u^=-1;for(var h=f;h>>8^p[255&(u^d.charCodeAt(h))];return-1^u})(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,o){o.base64=!1,o.binary=!1,o.dir=!1,o.createFolders=!0,o.date=null,o.compression=null,o.compressionOptions=null,o.comment=null,o.unixPermissions=null,o.dosPermissions=null},{}],6:[function(n,r,o){var i=null;i=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:i}},{lie:37}],7:[function(n,r,o){var i=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),l=n("./stream/GenericWorker"),u=i?"uint8array":"array";function d(c,f){l.call(this,"FlateWorker/"+c),this._pako=null,this._pakoAction=c,this._pakoOptions=f,this.meta={}}o.magic="\b\0",s.inherits(d,l),d.prototype.processChunk=function(c){this.meta=c.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(u,c.data),!1)},d.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var c=this;this._pako.onData=function(f){c.push({data:f,meta:c.meta})}},o.compressWorker=function(c){return new d("Deflate",c)},o.uncompressWorker=function(){return new d("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,o){function i(p,v){var h,g="";for(h=0;h>>=8;return g}function a(p,v,h,g,y,m){var b,w,A=p.file,S=p.compression,E=m!==u.utf8encode,D=s.transformTo("string",m(A.name)),_=s.transformTo("string",u.utf8encode(A.name)),M=A.comment,O=s.transformTo("string",m(M)),k=s.transformTo("string",u.utf8encode(M)),R=_.length!==A.name.length,N=k.length!==M.length,W="",B="",z="",j=A.dir,q=A.date,Y={crc32:0,compressedSize:0,uncompressedSize:0};v&&!h||(Y.crc32=p.crc32,Y.compressedSize=p.compressedSize,Y.uncompressedSize=p.uncompressedSize);var U=0;v&&(U|=8),E||!R&&!N||(U|=2048);var F=0,H=0;j&&(F|=16),y==="UNIX"?(H=798,F|=(function(X,te){var Z=X;return X||(Z=te?16893:33204),(65535&Z)<<16})(A.unixPermissions,j)):(H=20,F|=(function(X){return 63&(X||0)})(A.dosPermissions)),b=q.getUTCHours(),b<<=6,b|=q.getUTCMinutes(),b<<=5,b|=q.getUTCSeconds()/2,w=q.getUTCFullYear()-1980,w<<=4,w|=q.getUTCMonth()+1,w<<=5,w|=q.getUTCDate(),R&&(B=i(1,1)+i(d(D),4)+_,W+="up"+i(B.length,2)+B),N&&(z=i(1,1)+i(d(O),4)+k,W+="uc"+i(z.length,2)+z);var re="";return re+=` \0`,re+=i(U,2),re+=S.magic,re+=i(b,2),re+=i(w,2),re+=i(Y.crc32,4),re+=i(Y.compressedSize,4),re+=i(Y.uncompressedSize,4),re+=i(D.length,2),re+=i(W.length,2),{fileRecord:c.LOCAL_FILE_HEADER+re+D+W,dirRecord:c.CENTRAL_FILE_HEADER+i(H,2)+re+i(O.length,2)+"\0\0\0\0"+i(F,4)+i(g,4)+D+W+O}}var s=n("../utils"),l=n("../stream/GenericWorker"),u=n("../utf8"),d=n("../crc32"),c=n("../signature");function f(p,v,h,g){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=v,this.zipPlatform=h,this.encodeFileName=g,this.streamFiles=p,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,l),f.prototype.push=function(p){var v=p.meta.percent||0,h=this.entriesCount,g=this._sources.length;this.accumulate?this.contentBuffer.push(p):(this.bytesWritten+=p.data.length,l.prototype.push.call(this,{data:p.data,meta:{currentFile:this.currentFile,percent:h?(v+100*(h-g-1))/h:100}}))},f.prototype.openedSource=function(p){this.currentSourceOffset=this.bytesWritten,this.currentFile=p.file.name;var v=this.streamFiles&&!p.file.dir;if(v){var h=a(p,v,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:h.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(p){this.accumulate=!1;var v=this.streamFiles&&!p.file.dir,h=a(p,v,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(h.dirRecord),v)this.push({data:(function(g){return c.DATA_DESCRIPTOR+i(g.crc32,4)+i(g.compressedSize,4)+i(g.uncompressedSize,4)})(p),meta:{percent:100}});else for(this.push({data:h.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var p=this.bytesWritten,v=0;v=this.index;l--)u=(u<<8)+this.byteAt(l);return this.index+=s,u},readString:function(s){return i.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,o){var i=n("./Uint8ArrayReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,o){var i=n("./DataReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,o){var i=n("./ArrayReader");function a(s){i.call(this,s)}n("../utils").inherits(a,i),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,o){var i=n("../utils"),a=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),u=n("./NodeBufferReader"),d=n("./Uint8ArrayReader");r.exports=function(c){var f=i.getTypeOf(c);return i.checkSupport(f),f!=="string"||a.uint8array?f==="nodebuffer"?new u(c):a.uint8array?new d(i.transformTo("uint8array",c)):new s(i.transformTo("array",c)):new l(c)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,o){o.LOCAL_FILE_HEADER="PK",o.CENTRAL_FILE_HEADER="PK",o.CENTRAL_DIRECTORY_END="PK",o.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",o.ZIP64_CENTRAL_DIRECTORY_END="PK",o.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,o){var i=n("./GenericWorker"),a=n("../utils");function s(l){i.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(s,i),s.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,o){var i=n("./GenericWorker"),a=n("../crc32");function s(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,i),s.prototype.processChunk=function(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,o){var i=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}i.inherits(s,a),s.prototype.processChunk=function(l){if(l){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,o){var i=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(d){u.dataIsReady=!0,u.data=d,u.max=d&&d.length||0,u.type=i.getTypeOf(d),u.isPaused||u._tickAndRepeat()},function(d){u.error(d)})}i.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,u);break;case"uint8array":l=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":l=this.data.slice(this.index,u)}return this.index=u,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,o){function i(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var l=0;l "+a:a}},r.exports=i},{}],29:[function(n,r,o){var i=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),l=n("../base64"),u=n("../support"),d=n("../external"),c=null;if(u.nodestream)try{c=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(v,h){return new d.Promise(function(g,y){var m=[],b=v._internalType,w=v._outputType,A=v._mimeType;v.on("data",function(S,E){m.push(S),h&&h(E)}).on("error",function(S){m=[],y(S)}).on("end",function(){try{var S=(function(E,D,_){switch(E){case"blob":return i.newBlob(i.transformTo("arraybuffer",D),_);case"base64":return l.encode(D);default:return i.transformTo(E,D)}})(w,(function(E,D){var _,M=0,O=null,k=0;for(_=0;_"u")o.blob=!1;else{var i=new ArrayBuffer(0);try{o.blob=new Blob([i],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(i),o.blob=a.getBlob("application/zip").size===0}catch{o.blob=!1}}}try{o.nodestream=!!n("readable-stream").Readable}catch{o.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,o){for(var i=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),l=n("./stream/GenericWorker"),u=new Array(256),d=0;d<256;d++)u[d]=252<=d?6:248<=d?5:240<=d?4:224<=d?3:192<=d?2:1;u[254]=u[254]=1;function c(){l.call(this,"utf-8 decode"),this.leftOver=null}function f(){l.call(this,"utf-8 encode")}o.utf8encode=function(p){return a.nodebuffer?s.newBufferFrom(p,"utf-8"):(function(v){var h,g,y,m,b,w=v.length,A=0;for(m=0;m>>6:(g<65536?h[b++]=224|g>>>12:(h[b++]=240|g>>>18,h[b++]=128|g>>>12&63),h[b++]=128|g>>>6&63),h[b++]=128|63&g);return h})(p)},o.utf8decode=function(p){return a.nodebuffer?i.transformTo("nodebuffer",p).toString("utf-8"):(function(v){var h,g,y,m,b=v.length,w=new Array(2*b);for(h=g=0;h>10&1023,w[g++]=56320|1023&y)}return w.length!==g&&(w.subarray?w=w.subarray(0,g):w.length=g),i.applyFromCharCode(w)})(p=i.transformTo(a.uint8array?"uint8array":"array",p))},i.inherits(c,l),c.prototype.processChunk=function(p){var v=i.transformTo(a.uint8array?"uint8array":"array",p.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var h=v;(v=new Uint8Array(h.length+this.leftOver.length)).set(this.leftOver,0),v.set(h,this.leftOver.length)}else v=this.leftOver.concat(v);this.leftOver=null}var g=(function(m,b){var w;for((b=b||m.length)>m.length&&(b=m.length),w=b-1;0<=w&&(192&m[w])==128;)w--;return w<0||w===0?b:w+u[m[w]]>b?w:b})(v),y=v;g!==v.length&&(a.uint8array?(y=v.subarray(0,g),this.leftOver=v.subarray(g,v.length)):(y=v.slice(0,g),this.leftOver=v.slice(g,v.length))),this.push({data:o.utf8decode(y),meta:p.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:o.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},o.Utf8DecodeWorker=c,i.inherits(f,l),f.prototype.processChunk=function(p){this.push({data:o.utf8encode(p.data),meta:p.meta})},o.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,o){var i=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function u(h){return h}function d(h,g){for(var y=0;y>8;this.dir=!!(16&this.externalFileAttributes),p==0&&(this.dosPermissions=63&this.externalFileAttributes),p==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var p=i(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=p.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=p.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=p.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=p.readInt(4))}},readExtraFields:function(p){var v,h,g,y=p.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});p.index+4>>6:(p<65536?f[g++]=224|p>>>12:(f[g++]=240|p>>>18,f[g++]=128|p>>>12&63),f[g++]=128|p>>>6&63),f[g++]=128|63&p);return f},o.buf2binstring=function(c){return d(c,c.length)},o.binstring2buf=function(c){for(var f=new i.Buf8(c.length),p=0,v=f.length;p>10&1023,m[v++]=56320|1023&h)}return d(m,v)},o.utf8border=function(c,f){var p;for((f=f||c.length)>c.length&&(f=c.length),p=f-1;0<=p&&(192&c[p])==128;)p--;return p<0||p===0?f:p+l[c[p]]>f?p:f}},{"./common":41}],43:[function(n,r,o){r.exports=function(i,a,s,l){for(var u=65535&i|0,d=i>>>16&65535|0,c=0;s!==0;){for(s-=c=2e3>>1:a>>>1;s[l]=a}return s})();r.exports=function(a,s,l,u){var d=i,c=u+l;a^=-1;for(var f=u;f>>8^d[255&(a^s[f])];return-1^a}},{}],46:[function(n,r,o){var i,a=n("../utils/common"),s=n("./trees"),l=n("./adler32"),u=n("./crc32"),d=n("./messages"),c=0,f=4,p=0,v=-2,h=-1,g=4,y=2,m=8,b=9,w=286,A=30,S=19,E=2*w+1,D=15,_=3,M=258,O=M+_+1,k=42,R=113,N=1,W=2,B=3,z=4;function j(Q,me){return Q.msg=d[me],me}function q(Q){return(Q<<1)-(4Q.avail_out&&(De=Q.avail_out),De!==0&&(a.arraySet(Q.output,me.pending_buf,me.pending_out,De,Q.next_out),Q.next_out+=De,me.pending_out+=De,Q.total_out+=De,Q.avail_out-=De,me.pending-=De,me.pending===0&&(me.pending_out=0))}function F(Q,me){s._tr_flush_block(Q,0<=Q.block_start?Q.block_start:-1,Q.strstart-Q.block_start,me),Q.block_start=Q.strstart,U(Q.strm)}function H(Q,me){Q.pending_buf[Q.pending++]=me}function re(Q,me){Q.pending_buf[Q.pending++]=me>>>8&255,Q.pending_buf[Q.pending++]=255&me}function X(Q,me){var De,pe,ie=Q.max_chain_length,ue=Q.strstart,Be=Q.prev_length,Me=Q.nice_match,Fe=Q.strstart>Q.w_size-O?Q.strstart-(Q.w_size-O):0,ze=Q.window,Ne=Q.w_mask,Re=Q.prev,gt=Q.strstart+M,Bt=ze[ue+Be-1],Lt=ze[ue+Be];Q.prev_length>=Q.good_match&&(ie>>=2),Me>Q.lookahead&&(Me=Q.lookahead);do if(ze[(De=me)+Be]===Lt&&ze[De+Be-1]===Bt&&ze[De]===ze[ue]&&ze[++De]===ze[ue+1]){ue+=2,De++;do;while(ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ze[++ue]===ze[++De]&&ueFe&&--ie!=0);return Be<=Q.lookahead?Be:Q.lookahead}function te(Q){var me,De,pe,ie,ue,Be,Me,Fe,ze,Ne,Re=Q.w_size;do{if(ie=Q.window_size-Q.lookahead-Q.strstart,Q.strstart>=Re+(Re-O)){for(a.arraySet(Q.window,Q.window,Re,Re,0),Q.match_start-=Re,Q.strstart-=Re,Q.block_start-=Re,me=De=Q.hash_size;pe=Q.head[--me],Q.head[me]=Re<=pe?pe-Re:0,--De;);for(me=De=Re;pe=Q.prev[--me],Q.prev[me]=Re<=pe?pe-Re:0,--De;);ie+=Re}if(Q.strm.avail_in===0)break;if(Be=Q.strm,Me=Q.window,Fe=Q.strstart+Q.lookahead,ze=ie,Ne=void 0,Ne=Be.avail_in,ze=_)for(ue=Q.strstart-Q.insert,Q.ins_h=Q.window[ue],Q.ins_h=(Q.ins_h<=_&&(Q.ins_h=(Q.ins_h<=_)if(pe=s._tr_tally(Q,Q.strstart-Q.match_start,Q.match_length-_),Q.lookahead-=Q.match_length,Q.match_length<=Q.max_lazy_match&&Q.lookahead>=_){for(Q.match_length--;Q.strstart++,Q.ins_h=(Q.ins_h<=_&&(Q.ins_h=(Q.ins_h<=_&&Q.match_length<=Q.prev_length){for(ie=Q.strstart+Q.lookahead-_,pe=s._tr_tally(Q,Q.strstart-1-Q.prev_match,Q.prev_length-_),Q.lookahead-=Q.prev_length-1,Q.prev_length-=2;++Q.strstart<=ie&&(Q.ins_h=(Q.ins_h<Q.pending_buf_size-5&&(De=Q.pending_buf_size-5);;){if(Q.lookahead<=1){if(te(Q),Q.lookahead===0&&me===c)return N;if(Q.lookahead===0)break}Q.strstart+=Q.lookahead,Q.lookahead=0;var pe=Q.block_start+De;if((Q.strstart===0||Q.strstart>=pe)&&(Q.lookahead=Q.strstart-pe,Q.strstart=pe,F(Q,!1),Q.strm.avail_out===0)||Q.strstart-Q.block_start>=Q.w_size-O&&(F(Q,!1),Q.strm.avail_out===0))return N}return Q.insert=0,me===f?(F(Q,!0),Q.strm.avail_out===0?B:z):(Q.strstart>Q.block_start&&(F(Q,!1),Q.strm.avail_out),N)}),new ve(4,4,8,4,Z),new ve(4,5,16,8,Z),new ve(4,6,32,32,Z),new ve(4,4,16,16,le),new ve(8,16,32,32,le),new ve(8,16,128,128,le),new ve(8,32,128,256,le),new ve(32,128,258,1024,le),new ve(32,258,258,4096,le)],o.deflateInit=function(Q,me){return Ee(Q,me,m,15,8,0)},o.deflateInit2=Ee,o.deflateReset=he,o.deflateResetKeep=Ae,o.deflateSetHeader=function(Q,me){return Q&&Q.state?Q.state.wrap!==2?v:(Q.state.gzhead=me,p):v},o.deflate=function(Q,me){var De,pe,ie,ue;if(!Q||!Q.state||5>8&255),H(pe,pe.gzhead.time>>16&255),H(pe,pe.gzhead.time>>24&255),H(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),H(pe,255&pe.gzhead.os),pe.gzhead.extra&&pe.gzhead.extra.length&&(H(pe,255&pe.gzhead.extra.length),H(pe,pe.gzhead.extra.length>>8&255)),pe.gzhead.hcrc&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending,0)),pe.gzindex=0,pe.status=69):(H(pe,0),H(pe,0),H(pe,0),H(pe,0),H(pe,0),H(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),H(pe,3),pe.status=R);else{var Be=m+(pe.w_bits-8<<4)<<8;Be|=(2<=pe.strategy||pe.level<2?0:pe.level<6?1:pe.level===6?2:3)<<6,pe.strstart!==0&&(Be|=32),Be+=31-Be%31,pe.status=R,re(pe,Be),pe.strstart!==0&&(re(pe,Q.adler>>>16),re(pe,65535&Q.adler)),Q.adler=1}if(pe.status===69)if(pe.gzhead.extra){for(ie=pe.pending;pe.gzindex<(65535&pe.gzhead.extra.length)&&(pe.pending!==pe.pending_buf_size||(pe.gzhead.hcrc&&pe.pending>ie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),U(Q),ie=pe.pending,pe.pending!==pe.pending_buf_size));)H(pe,255&pe.gzhead.extra[pe.gzindex]),pe.gzindex++;pe.gzhead.hcrc&&pe.pending>ie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),pe.gzindex===pe.gzhead.extra.length&&(pe.gzindex=0,pe.status=73)}else pe.status=73;if(pe.status===73)if(pe.gzhead.name){ie=pe.pending;do{if(pe.pending===pe.pending_buf_size&&(pe.gzhead.hcrc&&pe.pending>ie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),U(Q),ie=pe.pending,pe.pending===pe.pending_buf_size)){ue=1;break}ue=pe.gzindexie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),ue===0&&(pe.gzindex=0,pe.status=91)}else pe.status=91;if(pe.status===91)if(pe.gzhead.comment){ie=pe.pending;do{if(pe.pending===pe.pending_buf_size&&(pe.gzhead.hcrc&&pe.pending>ie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),U(Q),ie=pe.pending,pe.pending===pe.pending_buf_size)){ue=1;break}ue=pe.gzindexie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),ue===0&&(pe.status=103)}else pe.status=103;if(pe.status===103&&(pe.gzhead.hcrc?(pe.pending+2>pe.pending_buf_size&&U(Q),pe.pending+2<=pe.pending_buf_size&&(H(pe,255&Q.adler),H(pe,Q.adler>>8&255),Q.adler=0,pe.status=R)):pe.status=R),pe.pending!==0){if(U(Q),Q.avail_out===0)return pe.last_flush=-1,p}else if(Q.avail_in===0&&q(me)<=q(De)&&me!==f)return j(Q,-5);if(pe.status===666&&Q.avail_in!==0)return j(Q,-5);if(Q.avail_in!==0||pe.lookahead!==0||me!==c&&pe.status!==666){var Me=pe.strategy===2?(function(Fe,ze){for(var Ne;;){if(Fe.lookahead===0&&(te(Fe),Fe.lookahead===0)){if(ze===c)return N;break}if(Fe.match_length=0,Ne=s._tr_tally(Fe,0,Fe.window[Fe.strstart]),Fe.lookahead--,Fe.strstart++,Ne&&(F(Fe,!1),Fe.strm.avail_out===0))return N}return Fe.insert=0,ze===f?(F(Fe,!0),Fe.strm.avail_out===0?B:z):Fe.last_lit&&(F(Fe,!1),Fe.strm.avail_out===0)?N:W})(pe,me):pe.strategy===3?(function(Fe,ze){for(var Ne,Re,gt,Bt,Lt=Fe.window;;){if(Fe.lookahead<=M){if(te(Fe),Fe.lookahead<=M&&ze===c)return N;if(Fe.lookahead===0)break}if(Fe.match_length=0,Fe.lookahead>=_&&0Fe.lookahead&&(Fe.match_length=Fe.lookahead)}if(Fe.match_length>=_?(Ne=s._tr_tally(Fe,1,Fe.match_length-_),Fe.lookahead-=Fe.match_length,Fe.strstart+=Fe.match_length,Fe.match_length=0):(Ne=s._tr_tally(Fe,0,Fe.window[Fe.strstart]),Fe.lookahead--,Fe.strstart++),Ne&&(F(Fe,!1),Fe.strm.avail_out===0))return N}return Fe.insert=0,ze===f?(F(Fe,!0),Fe.strm.avail_out===0?B:z):Fe.last_lit&&(F(Fe,!1),Fe.strm.avail_out===0)?N:W})(pe,me):i[pe.level].func(pe,me);if(Me!==B&&Me!==z||(pe.status=666),Me===N||Me===B)return Q.avail_out===0&&(pe.last_flush=-1),p;if(Me===W&&(me===1?s._tr_align(pe):me!==5&&(s._tr_stored_block(pe,0,0,!1),me===3&&(Y(pe.head),pe.lookahead===0&&(pe.strstart=0,pe.block_start=0,pe.insert=0))),U(Q),Q.avail_out===0))return pe.last_flush=-1,p}return me!==f?p:pe.wrap<=0?1:(pe.wrap===2?(H(pe,255&Q.adler),H(pe,Q.adler>>8&255),H(pe,Q.adler>>16&255),H(pe,Q.adler>>24&255),H(pe,255&Q.total_in),H(pe,Q.total_in>>8&255),H(pe,Q.total_in>>16&255),H(pe,Q.total_in>>24&255)):(re(pe,Q.adler>>>16),re(pe,65535&Q.adler)),U(Q),0=De.w_size&&(ue===0&&(Y(De.head),De.strstart=0,De.block_start=0,De.insert=0),ze=new a.Buf8(De.w_size),a.arraySet(ze,me,Ne-De.w_size,De.w_size,0),me=ze,Ne=De.w_size),Be=Q.avail_in,Me=Q.next_in,Fe=Q.input,Q.avail_in=Ne,Q.next_in=0,Q.input=me,te(De);De.lookahead>=_;){for(pe=De.strstart,ie=De.lookahead-(_-1);De.ins_h=(De.ins_h<>>=_=D>>>24,b-=_,(_=D>>>16&255)===0)W[d++]=65535&D;else{if(!(16&_)){if((64&_)==0){D=w[(65535&D)+(m&(1<<_)-1)];continue t}if(32&_){s.mode=12;break e}i.msg="invalid literal/length code",s.mode=30;break e}M=65535&D,(_&=15)&&(b<_&&(m+=N[l++]<>>=_,b-=_),b<15&&(m+=N[l++]<>>=_=D>>>24,b-=_,!(16&(_=D>>>16&255))){if((64&_)==0){D=A[(65535&D)+(m&(1<<_)-1)];continue n}i.msg="invalid distance code",s.mode=30;break e}if(O=65535&D,b<(_&=15)&&(m+=N[l++]<>>=_,b-=_,(_=d-c)>3,m&=(1<<(b-=M<<3))-1,i.next_in=l,i.next_out=d,i.avail_in=l>>24&255)+(k>>>8&65280)+((65280&k)<<8)+((255&k)<<24)}function m(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(k){var R;return k&&k.state?(R=k.state,k.total_in=k.total_out=R.total=0,k.msg="",R.wrap&&(k.adler=1&R.wrap),R.mode=v,R.last=0,R.havedict=0,R.dmax=32768,R.head=null,R.hold=0,R.bits=0,R.lencode=R.lendyn=new i.Buf32(h),R.distcode=R.distdyn=new i.Buf32(g),R.sane=1,R.back=-1,f):p}function w(k){var R;return k&&k.state?((R=k.state).wsize=0,R.whave=0,R.wnext=0,b(k)):p}function A(k,R){var N,W;return k&&k.state?(W=k.state,R<0?(N=0,R=-R):(N=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15=z.wsize?(i.arraySet(z.window,R,N-z.wsize,z.wsize,0),z.wnext=0,z.whave=z.wsize):(W<(B=z.wsize-z.wnext)&&(B=W),i.arraySet(z.window,R,N-W,B,z.wnext),(W-=B)?(i.arraySet(z.window,R,N-W,W,0),z.wnext=W,z.whave=z.wsize):(z.wnext+=B,z.wnext===z.wsize&&(z.wnext=0),z.whave>>8&255,N.check=s(N.check,ue,2,0),F=U=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&U)<<8)+(U>>8))%31){k.msg="incorrect header check",N.mode=30;break}if((15&U)!=8){k.msg="unknown compression method",N.mode=30;break}if(F-=4,Q=8+(15&(U>>>=4)),N.wbits===0)N.wbits=Q;else if(Q>N.wbits){k.msg="invalid window size",N.mode=30;break}N.dmax=1<>8&1),512&N.flags&&(ue[0]=255&U,ue[1]=U>>>8&255,N.check=s(N.check,ue,2,0)),F=U=0,N.mode=3;case 3:for(;F<32;){if(q===0)break e;q--,U+=W[z++]<>>8&255,ue[2]=U>>>16&255,ue[3]=U>>>24&255,N.check=s(N.check,ue,4,0)),F=U=0,N.mode=4;case 4:for(;F<16;){if(q===0)break e;q--,U+=W[z++]<>8),512&N.flags&&(ue[0]=255&U,ue[1]=U>>>8&255,N.check=s(N.check,ue,2,0)),F=U=0,N.mode=5;case 5:if(1024&N.flags){for(;F<16;){if(q===0)break e;q--,U+=W[z++]<>>8&255,N.check=s(N.check,ue,2,0)),F=U=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(q<(X=N.length)&&(X=q),X&&(N.head&&(Q=N.head.extra_len-N.length,N.head.extra||(N.head.extra=new Array(N.head.extra_len)),i.arraySet(N.head.extra,W,z,X,Q)),512&N.flags&&(N.check=s(N.check,W,X,z)),q-=X,z+=X,N.length-=X),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(q===0)break e;for(X=0;Q=W[z+X++],N.head&&Q&&N.length<65536&&(N.head.name+=String.fromCharCode(Q)),Q&&X>9&1,N.head.done=!0),k.adler=N.check=0,N.mode=12;break;case 10:for(;F<32;){if(q===0)break e;q--,U+=W[z++]<>>=7&F,F-=7&F,N.mode=27;break}for(;F<3;){if(q===0)break e;q--,U+=W[z++]<>>=1)){case 0:N.mode=14;break;case 1:if(M(N),N.mode=20,R!==6)break;U>>>=2,F-=2;break e;case 2:N.mode=17;break;case 3:k.msg="invalid block type",N.mode=30}U>>>=2,F-=2;break;case 14:for(U>>>=7&F,F-=7&F;F<32;){if(q===0)break e;q--,U+=W[z++]<>>16^65535)){k.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&U,F=U=0,N.mode=15,R===6)break e;case 15:N.mode=16;case 16:if(X=N.length){if(q>>=5,F-=5,N.ndist=1+(31&U),U>>>=5,F-=5,N.ncode=4+(15&U),U>>>=4,F-=4,286>>=3,F-=3}for(;N.have<19;)N.lens[Be[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,De={bits:N.lenbits},me=u(0,N.lens,0,19,N.lencode,0,N.work,De),N.lenbits=De.bits,me){k.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have>>16&255,Pe=65535&ie,!((le=ie>>>24)<=F);){if(q===0)break e;q--,U+=W[z++]<>>=le,F-=le,N.lens[N.have++]=Pe;else{if(Pe===16){for(pe=le+2;F>>=le,F-=le,N.have===0){k.msg="invalid bit length repeat",N.mode=30;break}Q=N.lens[N.have-1],X=3+(3&U),U>>>=2,F-=2}else if(Pe===17){for(pe=le+3;F>>=le)),U>>>=3,F-=3}else{for(pe=le+7;F>>=le)),U>>>=7,F-=7}if(N.have+X>N.nlen+N.ndist){k.msg="invalid bit length repeat",N.mode=30;break}for(;X--;)N.lens[N.have++]=Q}}if(N.mode===30)break;if(N.lens[256]===0){k.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,De={bits:N.lenbits},me=u(d,N.lens,0,N.nlen,N.lencode,0,N.work,De),N.lenbits=De.bits,me){k.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,De={bits:N.distbits},me=u(c,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,De),N.distbits=De.bits,me){k.msg="invalid distances set",N.mode=30;break}if(N.mode=20,R===6)break e;case 20:N.mode=21;case 21:if(6<=q&&258<=Y){k.next_out=j,k.avail_out=Y,k.next_in=z,k.avail_in=q,N.hold=U,N.bits=F,l(k,re),j=k.next_out,B=k.output,Y=k.avail_out,z=k.next_in,W=k.input,q=k.avail_in,U=N.hold,F=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;ve=(ie=N.lencode[U&(1<>>16&255,Pe=65535&ie,!((le=ie>>>24)<=F);){if(q===0)break e;q--,U+=W[z++]<>Ae)])>>>16&255,Pe=65535&ie,!(Ae+(le=ie>>>24)<=F);){if(q===0)break e;q--,U+=W[z++]<>>=Ae,F-=Ae,N.back+=Ae}if(U>>>=le,F-=le,N.back+=le,N.length=Pe,ve===0){N.mode=26;break}if(32&ve){N.back=-1,N.mode=12;break}if(64&ve){k.msg="invalid literal/length code",N.mode=30;break}N.extra=15&ve,N.mode=22;case 22:if(N.extra){for(pe=N.extra;F>>=N.extra,F-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;ve=(ie=N.distcode[U&(1<>>16&255,Pe=65535&ie,!((le=ie>>>24)<=F);){if(q===0)break e;q--,U+=W[z++]<>Ae)])>>>16&255,Pe=65535&ie,!(Ae+(le=ie>>>24)<=F);){if(q===0)break e;q--,U+=W[z++]<>>=Ae,F-=Ae,N.back+=Ae}if(U>>>=le,F-=le,N.back+=le,64&ve){k.msg="invalid distance code",N.mode=30;break}N.offset=Pe,N.extra=15&ve,N.mode=24;case 24:if(N.extra){for(pe=N.extra;F>>=N.extra,F-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){k.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(Y===0)break e;if(X=re-Y,N.offset>X){if((X=N.offset-X)>N.whave&&N.sane){k.msg="invalid distance too far back",N.mode=30;break}te=X>N.wnext?(X-=N.wnext,N.wsize-X):N.wnext-X,X>N.length&&(X=N.length),Z=N.window}else Z=B,te=j-N.offset,X=N.length;for(YE?(_=te[Z+g[R]],F[H+g[R]]):(_=96,0),m=1<>j)+(b-=m)]=D<<24|_<<16|M|0,b!==0;);for(m=1<>=1;if(m!==0?(U&=m-1,U+=m):U=0,R++,--re[k]==0){if(k===W)break;k=c[f+g[R]]}if(B>>7)]}function H(ie,ue){ie.pending_buf[ie.pending++]=255&ue,ie.pending_buf[ie.pending++]=ue>>>8&255}function re(ie,ue,Be){ie.bi_valid>y-Be?(ie.bi_buf|=ue<>y-ie.bi_valid,ie.bi_valid+=Be-y):(ie.bi_buf|=ue<>>=1,Be<<=1,0<--ue;);return Be>>>1}function Z(ie,ue,Be){var Me,Fe,ze=new Array(g+1),Ne=0;for(Me=1;Me<=g;Me++)ze[Me]=Ne=Ne+Be[Me-1]<<1;for(Fe=0;Fe<=ue;Fe++){var Re=ie[2*Fe+1];Re!==0&&(ie[2*Fe]=te(ze[Re]++,Re))}}function le(ie){var ue;for(ue=0;ue>1;1<=Be;Be--)Ae(ie,ze,Be);for(Fe=gt;Be=ie.heap[1],ie.heap[1]=ie.heap[ie.heap_len--],Ae(ie,ze,1),Me=ie.heap[1],ie.heap[--ie.heap_max]=Be,ie.heap[--ie.heap_max]=Me,ze[2*Fe]=ze[2*Be]+ze[2*Me],ie.depth[Fe]=(ie.depth[Be]>=ie.depth[Me]?ie.depth[Be]:ie.depth[Me])+1,ze[2*Be+1]=ze[2*Me+1]=Fe,ie.heap[1]=Fe++,Ae(ie,ze,1),2<=ie.heap_len;);ie.heap[--ie.heap_max]=ie.heap[1],(function(Lt,an){var Kt,Ht,pt,Dt,dt,it,de=an.dyn_tree,tt=an.max_code,ft=an.stat_desc.static_tree,Mt=an.stat_desc.has_stree,Tn=an.stat_desc.extra_bits,Nn=an.stat_desc.extra_base,We=an.stat_desc.max_length,ke=0;for(Dt=0;Dt<=g;Dt++)Lt.bl_count[Dt]=0;for(de[2*Lt.heap[Lt.heap_max]+1]=0,Kt=Lt.heap_max+1;Kt>=7;Fe>>=1)if(1&Bt&&Re.dyn_ltree[2*gt]!==0)return a;if(Re.dyn_ltree[18]!==0||Re.dyn_ltree[20]!==0||Re.dyn_ltree[26]!==0)return s;for(gt=32;gt>>3,(ze=ie.static_len+3+7>>>3)<=Fe&&(Fe=ze)):Fe=ze=Be+5,Be+4<=Fe&&ue!==-1?pe(ie,ue,Be,Me):ie.strategy===4||ze===Fe?(re(ie,2+(Me?1:0),3),he(ie,O,k)):(re(ie,4+(Me?1:0),3),(function(Re,gt,Bt,Lt){var an;for(re(Re,gt-257,5),re(Re,Bt-1,5),re(Re,Lt-4,4),an=0;an>>8&255,ie.pending_buf[ie.d_buf+2*ie.last_lit+1]=255&ue,ie.pending_buf[ie.l_buf+ie.last_lit]=255&Be,ie.last_lit++,ue===0?ie.dyn_ltree[2*Be]++:(ie.matches++,ue--,ie.dyn_ltree[2*(N[Be]+c+1)]++,ie.dyn_dtree[2*F(ue)]++),ie.last_lit===ie.lit_bufsize-1},o._tr_align=function(ie){re(ie,2,3),X(ie,b,O),(function(ue){ue.bi_valid===16?(H(ue,ue.bi_buf),ue.bi_buf=0,ue.bi_valid=0):8<=ue.bi_valid&&(ue.pending_buf[ue.pending++]=255&ue.bi_buf,ue.bi_buf>>=8,ue.bi_valid-=8)})(ie)}},{"../utils/common":41}],53:[function(n,r,o){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,o){(function(i){(function(a,s){if(!a.setImmediate){var l,u,d,c,f=1,p={},v=!1,h=a.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(a);g=g&&g.setTimeout?g:a,l={}.toString.call(a.process)==="[object process]"?function(w){process.nextTick(function(){m(w)})}:(function(){if(a.postMessage&&!a.importScripts){var w=!0,A=a.onmessage;return a.onmessage=function(){w=!1},a.postMessage("","*"),a.onmessage=A,w}})()?(c="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",b,!1):a.attachEvent("onmessage",b),function(w){a.postMessage(c+w,"*")}):a.MessageChannel?((d=new MessageChannel).port1.onmessage=function(w){m(w.data)},function(w){d.port2.postMessage(w)}):h&&"onreadystatechange"in h.createElement("script")?(u=h.documentElement,function(w){var A=h.createElement("script");A.onreadystatechange=function(){m(w),A.onreadystatechange=null,u.removeChild(A),A=null},u.appendChild(A)}):function(w){setTimeout(m,0,w)},g.setImmediate=function(w){typeof w!="function"&&(w=new Function(""+w));for(var A=new Array(arguments.length-1),S=0;S"u"?i===void 0?this:i:self)}).call(this,typeof Hs<"u"?Hs:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(vO)),vO.exports}var Qte;function R4e(){if(Qte)return L2;Qte=1;var e=zut(),t=$ut();L2.openArrayBuffer=n,L2.splitPath=r,L2.joinPath=o;function n(i){return t.loadAsync(i).then(function(a){function s(c){return a.file(c)!==null}function l(c,f){return a.file(c).async("uint8array").then(function(p){if(f==="base64")return e.fromByteArray(p);if(f){var v=new TextDecoder(f);return v.decode(p)}else return p})}function u(c,f){a.file(c,f)}function d(){return a.generateAsync({type:"arraybuffer"})}return{exists:s,read:l,write:u,toArrayBuffer:d}})}function r(i){var a=i.lastIndexOf("/");return a===-1?{dirname:"",basename:i}:{dirname:i.substring(0,a),basename:i.substring(a+1)}}function o(){var i=Array.prototype.filter.call(arguments,function(s){return s}),a=[];return i.forEach(function(s){/^\//.test(s)?a=[s]:a.push(s)}),a.join("/")}return L2}var Bx={},Rp={},Hm={},Zte;function B4e(){if(Zte)return Hm;Zte=1;var e=Pa;Hm.Element=n,Hm.element=function(i,a,s){return new n(i,a,s)},Hm.text=function(i){return{type:"text",value:i}};var t=Hm.emptyElement={first:function(){return null},firstOrEmpty:function(){return t},attributes:{},children:[]};function n(i,a,s){this.type="element",this.name=i,this.attributes=a||{},this.children=s||[]}n.prototype.first=function(i){return e.find(this.children,function(a){return a.name===i})},n.prototype.firstOrEmpty=function(i){return this.first(i)||t},n.prototype.getElementsByTagName=function(i){var a=e.filter(this.children,function(s){return s.name===i});return o(a)},n.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var r={getElementsByTagName:function(i){return o(e.flatten(this.map(function(a){return a.getElementsByTagName(i)},!0)))}};function o(i){return e.extend(i,r)}return Hm}var mO={},Lx={},U2={},hf={},Z0={},Xte;function ND(){if(Xte)return Z0;Xte=1;function e(i,a,s){if(s===void 0&&(s=Array.prototype),i&&typeof s.find=="function")return s.find.call(i,a);for(var l=0;l=0&&We=0){for(var Se=ke.length-1;fe0},lookupPrefix:function(We){for(var ke=this;ke;){var be=ke._nsMap;if(be){for(var fe in be)if(Object.prototype.hasOwnProperty.call(be,fe)&&be[fe]===We)return fe}ke=ke.nodeType==f?ke.ownerDocument:ke.parentNode}return null},lookupNamespaceURI:function(We){for(var ke=this;ke;){var be=ke._nsMap;if(be&&Object.prototype.hasOwnProperty.call(be,We))return be[We];ke=ke.nodeType==f?ke.ownerDocument:ke.parentNode}return null},isDefaultNamespace:function(We){var ke=this.lookupPrefix(We);return ke==null}};function F(We){return We=="<"&&"<"||We==">"&&">"||We=="&"&&"&"||We=='"'&&"""||"&#"+We.charCodeAt()+";"}l(d,U),l(d,U.prototype);function H(We,ke){if(ke(We))return!0;if(We=We.firstChild)do if(H(We,ke))return!0;while(We=We.nextSibling)}function re(){this.ownerDocument=this}function X(We,ke,be){We&&We._inc++;var fe=be.namespaceURI;fe===n.XMLNS&&(ke._nsMap[be.prefix?be.localName:""]=be.value)}function te(We,ke,be,fe){We&&We._inc++;var Se=be.namespaceURI;Se===n.XMLNS&&delete ke._nsMap[be.prefix?be.localName:""]}function Z(We,ke,be){if(We&&We._inc){We._inc++;var fe=ke.childNodes;if(be)fe[fe.length++]=be;else{for(var Se=ke.firstChild,qe=0;Se;)fe[qe++]=Se,Se=Se.nextSibling;fe.length=qe,delete fe[fe.length]}}}function le(We,ke){var be=ke.previousSibling,fe=ke.nextSibling;return be?be.nextSibling=fe:We.firstChild=fe,fe?fe.previousSibling=be:We.lastChild=be,ke.parentNode=null,ke.previousSibling=null,ke.nextSibling=null,Z(We.ownerDocument,We),ke}function ve(We){return We&&(We.nodeType===U.DOCUMENT_NODE||We.nodeType===U.DOCUMENT_FRAGMENT_NODE||We.nodeType===U.ELEMENT_NODE)}function Pe(We){return We&&(he(We)||Ee(We)||Ae(We)||We.nodeType===U.DOCUMENT_FRAGMENT_NODE||We.nodeType===U.COMMENT_NODE||We.nodeType===U.PROCESSING_INSTRUCTION_NODE)}function Ae(We){return We&&We.nodeType===U.DOCUMENT_TYPE_NODE}function he(We){return We&&We.nodeType===U.ELEMENT_NODE}function Ee(We){return We&&We.nodeType===U.TEXT_NODE}function Q(We,ke){var be=We.childNodes||[];if(t(be,he)||Ae(ke))return!1;var fe=t(be,Ae);return!(ke&&fe&&be.indexOf(fe)>be.indexOf(ke))}function me(We,ke){var be=We.childNodes||[];function fe(qe){return he(qe)&&qe!==ke}if(t(be,fe))return!1;var Se=t(be,Ae);return!(ke&&Se&&be.indexOf(Se)>be.indexOf(ke))}function De(We,ke,be){if(!ve(We))throw new k(_,"Unexpected parent node type "+We.nodeType);if(be&&be.parentNode!==We)throw new k(M,"child not in parent");if(!Pe(ke)||Ae(ke)&&We.nodeType!==U.DOCUMENT_NODE)throw new k(_,"Unexpected node type "+ke.nodeType+" for parent node type "+We.nodeType)}function pe(We,ke,be){var fe=We.childNodes||[],Se=ke.childNodes||[];if(ke.nodeType===U.DOCUMENT_FRAGMENT_NODE){var qe=Se.filter(he);if(qe.length>1||t(Se,Ee))throw new k(_,"More than one element or text in fragment");if(qe.length===1&&!Q(We,be))throw new k(_,"Element in fragment can not be inserted before doctype")}if(he(ke)&&!Q(We,be))throw new k(_,"Only one element can be added and only after doctype");if(Ae(ke)){if(t(fe,Ae))throw new k(_,"Only one doctype is allowed");var $e=t(fe,he);if(be&&fe.indexOf($e)1||t(Se,Ee))throw new k(_,"More than one element or text in fragment");if(qe.length===1&&!me(We,be))throw new k(_,"Element in fragment can not be inserted before doctype")}if(he(ke)&&!me(We,be))throw new k(_,"Only one element can be added and only after doctype");if(Ae(ke)){if(t(fe,function(ot){return Ae(ot)&&ot!==be}))throw new k(_,"Only one doctype is allowed");var $e=t(fe,he);if(be&&fe.indexOf($e)0&&H(be.documentElement,function(Se){if(Se!==be&&Se.nodeType===c){var qe=Se.getAttribute("class");if(qe){var $e=We===qe;if(!$e){var Le=a(qe);$e=ke.every(s(Le))}$e&&fe.push(Se)}}}),fe})},createElement:function(We){var ke=new Fe;ke.ownerDocument=this,ke.nodeName=We,ke.tagName=We,ke.localName=We,ke.childNodes=new R;var be=ke.attributes=new B;return be._ownerElement=ke,ke},createDocumentFragment:function(){var We=new pt;return We.ownerDocument=this,We.childNodes=new R,We},createTextNode:function(We){var ke=new Re;return ke.ownerDocument=this,ke.appendData(We),ke},createComment:function(We){var ke=new gt;return ke.ownerDocument=this,ke.appendData(We),ke},createCDATASection:function(We){var ke=new Bt;return ke.ownerDocument=this,ke.appendData(We),ke},createProcessingInstruction:function(We,ke){var be=new Dt;return be.ownerDocument=this,be.tagName=be.nodeName=be.target=We,be.nodeValue=be.data=ke,be},createAttribute:function(We){var ke=new ze;return ke.ownerDocument=this,ke.name=We,ke.nodeName=We,ke.localName=We,ke.specified=!0,ke},createEntityReference:function(We){var ke=new Ht;return ke.ownerDocument=this,ke.nodeName=We,ke},createElementNS:function(We,ke){var be=new Fe,fe=ke.split(":"),Se=be.attributes=new B;return be.childNodes=new R,be.ownerDocument=this,be.nodeName=ke,be.tagName=ke,be.namespaceURI=We,fe.length==2?(be.prefix=fe[0],be.localName=fe[1]):be.localName=ke,Se._ownerElement=be,be},createAttributeNS:function(We,ke){var be=new ze,fe=ke.split(":");return be.ownerDocument=this,be.nodeName=ke,be.name=ke,be.namespaceURI=We,be.specified=!0,fe.length==2?(be.prefix=fe[0],be.localName=fe[1]):be.localName=ke,be}},u(re,U);function Fe(){this._nsMap={}}Fe.prototype={nodeType:c,hasAttribute:function(We){return this.getAttributeNode(We)!=null},getAttribute:function(We){var ke=this.getAttributeNode(We);return ke&&ke.value||""},getAttributeNode:function(We){return this.attributes.getNamedItem(We)},setAttribute:function(We,ke){var be=this.ownerDocument.createAttribute(We);be.value=be.nodeValue=""+ke,this.setAttributeNode(be)},removeAttribute:function(We){var ke=this.getAttributeNode(We);ke&&this.removeAttributeNode(ke)},appendChild:function(We){return We.nodeType===A?this.insertBefore(We,null):Me(this,We)},setAttributeNode:function(We){return this.attributes.setNamedItem(We)},setAttributeNodeNS:function(We){return this.attributes.setNamedItemNS(We)},removeAttributeNode:function(We){return this.attributes.removeNamedItem(We.nodeName)},removeAttributeNS:function(We,ke){var be=this.getAttributeNodeNS(We,ke);be&&this.removeAttributeNode(be)},hasAttributeNS:function(We,ke){return this.getAttributeNodeNS(We,ke)!=null},getAttributeNS:function(We,ke){var be=this.getAttributeNodeNS(We,ke);return be&&be.value||""},setAttributeNS:function(We,ke,be){var fe=this.ownerDocument.createAttributeNS(We,ke);fe.value=fe.nodeValue=""+be,this.setAttributeNode(fe)},getAttributeNodeNS:function(We,ke){return this.attributes.getNamedItemNS(We,ke)},getElementsByTagName:function(We){return new N(this,function(ke){var be=[];return H(ke,function(fe){fe!==ke&&fe.nodeType==c&&(We==="*"||fe.tagName==We)&&be.push(fe)}),be})},getElementsByTagNameNS:function(We,ke){return new N(this,function(be){var fe=[];return H(be,function(Se){Se!==be&&Se.nodeType===c&&(We==="*"||Se.namespaceURI===We)&&(ke==="*"||Se.localName==ke)&&fe.push(Se)}),fe})}},re.prototype.getElementsByTagName=Fe.prototype.getElementsByTagName,re.prototype.getElementsByTagNameNS=Fe.prototype.getElementsByTagNameNS,u(Fe,U);function ze(){}ze.prototype.nodeType=f,u(ze,U);function Ne(){}Ne.prototype={data:"",substringData:function(We,ke){return this.data.substring(We,We+ke)},appendData:function(We){We=this.data+We,this.nodeValue=this.data=We,this.length=We.length},insertData:function(We,ke){this.replaceData(We,0,ke)},appendChild:function(We){throw new Error(D[_])},deleteData:function(We,ke){this.replaceData(We,ke,"")},replaceData:function(We,ke,be){var fe=this.data.substring(0,We),Se=this.data.substring(We+ke);be=fe+be+Se,this.nodeValue=this.data=be,this.length=be.length}},u(Ne,U);function Re(){}Re.prototype={nodeName:"#text",nodeType:p,splitText:function(We){var ke=this.data,be=ke.substring(We);ke=ke.substring(0,We),this.data=this.nodeValue=ke,this.length=ke.length;var fe=this.ownerDocument.createTextNode(be);return this.parentNode&&this.parentNode.insertBefore(fe,this.nextSibling),fe}},u(Re,Ne);function gt(){}gt.prototype={nodeName:"#comment",nodeType:m},u(gt,Ne);function Bt(){}Bt.prototype={nodeName:"#cdata-section",nodeType:v},u(Bt,Ne);function Lt(){}Lt.prototype.nodeType=w,u(Lt,U);function an(){}an.prototype.nodeType=S,u(an,U);function Kt(){}Kt.prototype.nodeType=g,u(Kt,U);function Ht(){}Ht.prototype.nodeType=h,u(Ht,U);function pt(){}pt.prototype.nodeName="#document-fragment",pt.prototype.nodeType=A,u(pt,U);function Dt(){}Dt.prototype.nodeType=y,u(Dt,U);function dt(){}dt.prototype.serializeToString=function(We,ke,be){return it.call(We,ke,be)},U.prototype.toString=it;function it(We,ke){var be=[],fe=this.nodeType==9&&this.documentElement||this,Se=fe.prefix,qe=fe.namespaceURI;if(qe&&Se==null){var Se=fe.lookupPrefix(qe);if(Se==null)var $e=[{namespace:qe,prefix:null}]}return ft(this,be,We,ke,$e),be.join("")}function de(We,ke,be){var fe=We.prefix||"",Se=We.namespaceURI;if(!Se||fe==="xml"&&Se===n.XML||Se===n.XMLNS)return!1;for(var qe=be.length;qe--;){var $e=be[qe];if($e.prefix===fe)return $e.namespace!==Se}return!0}function tt(We,ke,be){We.push(" ",ke,'="',be.replace(/[<>&"\t\n\r]/g,F),'"')}function ft(We,ke,be,fe,Se){if(Se||(Se=[]),fe)if(We=fe(We),We){if(typeof We=="string"){ke.push(We);return}}else return;switch(We.nodeType){case c:var qe=We.attributes,$e=qe.length,Nt=We.firstChild,Le=We.tagName;be=n.isHTML(We.namespaceURI)||be;var ot=Le;if(!be&&!We.prefix&&We.namespaceURI){for(var vt,Ut=0;Ut=0;Qt--){var Gt=Se[Qt];if(Gt.prefix===""&&Gt.namespace===We.namespaceURI){vt=Gt.namespace;break}}if(vt!==We.namespaceURI)for(var Qt=Se.length-1;Qt>=0;Qt--){var Gt=Se[Qt];if(Gt.namespace===We.namespaceURI){Gt.prefix&&(ot=Gt.prefix+":"+Le);break}}}ke.push("<",ot);for(var vn=0;vn<$e;vn++){var Un=qe.item(vn);Un.prefix=="xmlns"?Se.push({prefix:Un.localName,namespace:Un.value}):Un.nodeName=="xmlns"&&Se.push({prefix:"",namespace:Un.value})}for(var vn=0;vn<$e;vn++){var Un=qe.item(vn);if(de(Un,be,Se)){var wr=Un.prefix||"",fr=Un.namespaceURI;tt(ke,wr?"xmlns:"+wr:"xmlns",fr),Se.push({prefix:wr,namespace:fr})}ft(Un,ke,be,fe,Se)}if(Le===ot&&de(We,be,Se)){var wr=We.prefix||"",fr=We.namespaceURI;tt(ke,wr?"xmlns:"+wr:"xmlns",fr),Se.push({prefix:wr,namespace:fr})}if(Nt||be&&!/^(?:meta|link|img|br|hr|input)$/i.test(Le)){if(ke.push(">"),be&&/^script$/i.test(Le))for(;Nt;)Nt.data?ke.push(Nt.data):ft(Nt,ke,be,fe,Se.slice()),Nt=Nt.nextSibling;else for(;Nt;)ft(Nt,ke,be,fe,Se.slice()),Nt=Nt.nextSibling;ke.push("")}else ke.push("/>");return;case b:case A:for(var Nt=We.firstChild;Nt;)ft(Nt,ke,be,fe,Se.slice()),Nt=Nt.nextSibling;return;case f:return tt(ke,We.name,We.value);case p:return ke.push(We.data.replace(/[<&>]/g,F));case v:return ke.push("");case m:return ke.push("");case w:var _n=We.publicId,xt=We.systemId;if(ke.push("");else if(xt&&xt!=".")ke.push(" SYSTEM ",xt,">");else{var Ft=We.internalSubset;Ft&&ke.push(" [",Ft,"]"),ke.push(">")}return;case y:return ke.push("");case h:return ke.push("&",We.nodeName,";");default:ke.push("??",We.nodeName)}}function Mt(We,ke,be){var fe;switch(ke.nodeType){case c:fe=ke.cloneNode(!1),fe.ownerDocument=We;case A:break;case f:be=!0;break}if(fe||(fe=ke.cloneNode(!1)),fe.ownerDocument=We,fe.parentNode=null,be)for(var Se=ke.firstChild;Se;)fe.appendChild(Mt(We,Se,be)),Se=Se.nextSibling;return fe}function Tn(We,ke,be){var fe=new ke.constructor;for(var Se in ke)if(Object.prototype.hasOwnProperty.call(ke,Se)){var qe=ke[Se];typeof qe!="object"&&qe!=fe[Se]&&(fe[Se]=qe)}switch(ke.childNodes&&(fe.childNodes=new R),fe.ownerDocument=We,fe.nodeType){case c:var $e=ke.attributes,Le=fe.attributes=new B,ot=$e.length;Le._ownerElement=fe;for(var vt=0;vt",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES})(yO)),yO}var Fx={},tne;function Hut(){if(tne)return Fx;tne=1;var e=ND().NAMESPACE,t=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,n=new RegExp("[\\-\\.0-9"+t.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),r=new RegExp("^"+t.source+n.source+"*(?::"+t.source+n.source+"*)?$"),o=0,i=1,a=2,s=3,l=4,u=5,d=6,c=7;function f(_,M){this.message=_,this.locator=M,Error.captureStackTrace&&Error.captureStackTrace(this,f)}f.prototype=new Error,f.prototype.name=f.name;function p(){}p.prototype={parse:function(_,M,O){var k=this.domBuilder;k.startDocument(),w(M,M={}),v(_,M,O,k,this.errorHandler),k.endDocument()}};function v(_,M,O,k,R){function N(Me){if(Me>65535){Me-=65536;var Fe=55296+(Me>>10),ze=56320+(Me&1023);return String.fromCharCode(Fe,ze)}else return String.fromCharCode(Me)}function W(Me){var Fe=Me.slice(1,-1);return Object.hasOwnProperty.call(O,Fe)?O[Fe]:Fe.charAt(0)==="#"?N(parseInt(Fe.substr(1).replace("x","0x"))):(R.error("entity not found:"+Me),Me)}function B(Me){if(Me>re){var Fe=_.substring(re,Me).replace(/&#?\w+;/g,W);U&&z(re),k.characters(Fe,0,Me-re),re=Me}}function z(Me,Fe){for(;Me>=q&&(Fe=Y.exec(_));)j=Fe.index,q=j+Fe[0].length,U.lineNumber++;U.columnNumber=Me-j+1}for(var j=0,q=0,Y=/.*(?:\r\n?|\n)|.*$/g,U=k.locator,F=[{currentNSMap:M}],H={},re=0;;){try{var X=_.indexOf("<",re);if(X<0){if(!_.substr(re).match(/^\s*$/)){var te=k.doc,Z=te.createTextNode(_.substr(re));te.appendChild(Z),k.currentElement=Z}return}switch(X>re&&B(X),_.charAt(X+1)){case"/":var De=_.indexOf(">",X+3),le=_.substring(X+2,De).replace(/[ \t\n\r]+$/g,""),ve=F.pop();De<0?(le=_.substring(X+2).replace(/[\s<].*/,""),R.error("end tag name: "+le+" is not complete:"+ve.tagName),De=X+1+le.length):le.match(/\sre?re=De:B(Math.max(X,re)+1)}}function h(_,M){return M.lineNumber=_.lineNumber,M.columnNumber=_.columnNumber,M}function g(_,M,O,k,R,N){function W(U,F,H){O.attributeNames.hasOwnProperty(U)&&N.fatalError("Attribute "+U+" redefined"),O.addValue(U,F.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,R),H)}for(var B,z,j=++M,q=o;;){var Y=_.charAt(j);switch(Y){case"=":if(q===i)B=_.slice(M,j),q=s;else if(q===a)q=s;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(q===s||q===i)if(q===i&&(N.warning('attribute value must after "="'),B=_.slice(M,j)),M=j+1,j=_.indexOf(Y,M),j>0)z=_.slice(M,j),W(B,z,M-1),q=u;else throw new Error("attribute value no end '"+Y+"' match");else if(q==l)z=_.slice(M,j),W(B,z,M),N.warning('attribute "'+B+'" missed start quot('+Y+")!!"),M=j+1,q=u;else throw new Error('attribute value must after "="');break;case"/":switch(q){case o:O.setTagName(_.slice(M,j));case u:case d:case c:q=c,O.closed=!0;case l:case i:break;case a:O.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return N.error("unexpected end of input"),q==o&&O.setTagName(_.slice(M,j)),j;case">":switch(q){case o:O.setTagName(_.slice(M,j));case u:case d:case c:break;case l:case i:z=_.slice(M,j),z.slice(-1)==="/"&&(O.closed=!0,z=z.slice(0,-1));case a:q===a&&(z=B),q==l?(N.warning('attribute "'+z+'" missed quot(")!'),W(B,z,M)):((!e.isHTML(k[""])||!z.match(/^(?:disabled|checked|selected)$/i))&&N.warning('attribute "'+z+'" missed value!! "'+z+'" instead!!'),W(z,z,M));break;case s:throw new Error("attribute value missed!!")}return j;case"€":Y=" ";default:if(Y<=" ")switch(q){case o:O.setTagName(_.slice(M,j)),q=d;break;case i:B=_.slice(M,j),q=a;break;case l:var z=_.slice(M,j);N.warning('attribute "'+z+'" missed quot(")!!'),W(B,z,M);case u:q=d;break}else switch(q){case a:O.tagName,(!e.isHTML(k[""])||!B.match(/^(?:disabled|checked|selected)$/i))&&N.warning('attribute "'+B+'" missed value!! "'+B+'" instead2!!'),W(B,B,M),M=j,q=i;break;case u:N.warning('attribute space is required"'+B+'"!!');case d:q=i,M=j;break;case s:q=l,M=j;break;case c:throw new Error("elements closed character '/' and '>' must be connected to")}}j++}}function y(_,M,O){for(var k=_.tagName,R=null,Y=_.length;Y--;){var N=_[Y],W=N.qName,B=N.value,U=W.indexOf(":");if(U>0)var z=N.prefix=W.slice(0,U),j=W.slice(U+1),q=z==="xmlns"&&j;else j=W,z=null,q=W==="xmlns"&&"";N.localName=j,q!==!1&&(R==null&&(R={},w(O,O={})),O[q]=R[q]=B,N.uri=e.XMLNS,M.startPrefixMapping(q,B))}for(var Y=_.length;Y--;){N=_[Y];var z=N.prefix;z&&(z==="xml"&&(N.uri=e.XML),z!=="xmlns"&&(N.uri=O[z||""]))}var U=k.indexOf(":");U>0?(z=_.prefix=k.slice(0,U),j=_.localName=k.slice(U+1)):(z=null,j=_.localName=k);var F=_.uri=O[z||""];if(M.startElement(F,j,k,_),_.closed){if(M.endElement(F,j,k),R)for(z in R)Object.prototype.hasOwnProperty.call(R,z)&&M.endPrefixMapping(z)}else return _.currentNSMap=O,_.localNSMap=R,!0}function m(_,M,O,k,R){if(/^(?:script|textarea)$/i.test(O)){var N=_.indexOf("",M),W=_.substring(M+1,N);if(/[&<]/.test(W))return/^script$/i.test(O)?(R.characters(W,0,W.length),N):(W=W.replace(/&#?\w+;/g,k),R.characters(W,0,W.length),N)}return M+1}function b(_,M,O,k){var R=k[O];return R==null&&(R=_.lastIndexOf(""),R",M+4);return N>M?(O.comment(_,M+4,N-M-4),N+3):(k.error("Unclosed comment"),-1)}else return-1;default:if(_.substr(M+3,6)=="CDATA["){var N=_.indexOf("]]>",M+9);return O.startCDATA(),O.characters(_,M+9,N-M-9),O.endCDATA(),N+3}var W=D(_,M),B=W.length;if(B>1&&/!doctype/i.test(W[0][0])){var z=W[1][0],j=!1,q=!1;B>3&&(/^public$/i.test(W[2][0])?(j=W[3][0],q=B>4&&W[4][0]):/^system$/i.test(W[2][0])&&(q=W[3][0]));var Y=W[B-1];return O.startDTD(z,j,q),O.endDTD(),Y.index+Y[0].length}}return-1}function S(_,M,O){var k=_.indexOf("?>",M);if(k){var R=_.substring(M,k).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return R?(R[0].length,O.processingInstruction(R[1],R[2]),k+2):-1}return-1}function E(){this.attributeNames={}}E.prototype={setTagName:function(_){if(!r.test(_))throw new Error("invalid tagName:"+_);this.tagName=_},addValue:function(_,M,O){if(!r.test(_))throw new Error("invalid attribute:"+_);this.attributeNames[_]=this.length,this[this.length++]={qName:_,value:M,offset:O}},length:0,getLocalName:function(_){return this[_].localName},getLocator:function(_){return this[_].locator},getQName:function(_){return this[_].qName},getURI:function(_){return this[_].uri},getValue:function(_){return this[_].value}};function D(_,M){var O,k=[],R=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(R.lastIndex=M,R.exec(_);O=R.exec(_);)if(k.push(O),O[1])return k}return Fx.XMLReader=p,Fx.ParseError=f,Fx}var nne;function Wut(){if(nne)return z2;nne=1;var e=ND(),t=RV(),n=jut(),r=Hut(),o=t.DOMImplementation,i=e.NAMESPACE,a=r.ParseError,s=r.XMLReader;function l(g){return g.replace(/\r[\n\u0085]/g,` `).replace(/[\r\u0085\u2028]/g,` `)}function u(g){this.options=g||{locator:{}}}u.prototype.parseFromString=function(g,y){var m=this.options,b=new s,w=m.domBuilder||new c,A=m.errorHandler,S=m.locator,E=m.xmlns||{},D=/\/x?html?$/.test(y),_=D?n.HTML_ENTITIES:n.XML_ENTITIES;S&&w.setDocumentLocator(S),b.errorHandler=d(A,w,S),b.domBuilder=m.domBuilder||w,D&&(E[""]=i.HTML),E.xml=E.xml||i.XML;var M=m.normalizeLineEndings||l;return g&&typeof g=="string"?b.parse(M(g),E,_):b.errorHandler.error("invalid doc source"),w.doc};function d(g,y,m){if(!g){if(y instanceof c)return y;g=y}var b={},w=g instanceof Function;m=m||{};function A(S){var E=g[S];!E&&w&&(E=g.length==2?function(D){g(S,D)}:g),b[S]=E&&function(D){E("[xmldom "+S+"] "+D+p(m))}||function(){}}return A("warning"),A("error"),A("fatalError"),b}function c(){this.cdata=!1}function f(g,y){y.lineNumber=g.lineNumber,y.columnNumber=g.columnNumber}c.prototype={startDocument:function(){this.doc=new o().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(g,y,m,b){var w=this.doc,A=w.createElementNS(g,m||y),S=b.length;h(this,A),this.currentElement=A,this.locator&&f(this.locator,A);for(var E=0;E=y+m||y?new java.lang.String(g,y,m)+"":g}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(g){c.prototype[g]=function(){return null}});function h(g,y){g.currentElement?g.currentElement.appendChild(y):g.doc.appendChild(y)}return z2.__DOMHandler=c,z2.normalizeLineEndings=l,z2.DOMParser=u,z2}var rne;function Vut(){if(rne)return U2;rne=1;var e=RV();return U2.DOMImplementation=e.DOMImplementation,U2.XMLSerializer=e.XMLSerializer,U2.DOMParser=Wut().DOMParser,U2}var one;function qut(){if(one)return Lx;one=1;var e=Vut(),t=RV();function n(r){var o=null,i=new e.DOMParser({errorHandler:function(s,l){o={level:s,message:l}}}),a=i.parseFromString(r);if(o===null)return a;throw new Error(o.level+": "+o.message)}return Lx.parseFromString=n,Lx.Node=t.Node,Lx}var ine;function Gut(){if(ine)return mO;ine=1;var e=R0(),t=Pa,n=qut(),r=B4e(),o=r.Element;mO.readString=a;var i=n.Node;function a(s,l){l=l||{};try{var u=n.parseFromString(s,"text/xml")}catch(p){return e.reject(p)}if(u.documentElement.tagName==="parsererror")return e.resolve(new Error(u.documentElement.textContent));function d(p){switch(p.nodeType){case i.ELEMENT_NODE:return c(p);case i.TEXT_NODE:return r.text(p.nodeValue)}}function c(p){var v=f(p),h=[];t.forEach(p.childNodes,function(y){var m=d(y);m&&h.push(m)});var g={};return t.forEach(p.attributes,function(y){g[f(y)]=y.value}),new o(v,g,h)}function f(p){if(p.namespaceURI){var v=l[p.namespaceURI],h;return v?h=v+":":h="{"+p.namespaceURI+"}",h+p.localName}else return p.localName}return e.resolve(d(u.documentElement))}return mO}var bO={},X0={},sd={},ane;function B0(){return ane||(ane=1,(function(){var e,t,n,r,o,i,a,s=[].slice,l={}.hasOwnProperty;e=function(){var u,d,c,f,p,v;if(v=arguments[0],p=2<=arguments.length?s.call(arguments,1):[],o(Object.assign))Object.assign.apply(null,arguments);else for(u=0,c=p.length;u":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},e})()}).call(Kut)),QS.exports}var Yut=YS.exports,lne;function RD(){return lne||(lne=1,(function(){var e,t,n,r,o,i,a=function(l,u){for(var d in u)s.call(u,d)&&(l[d]=u[d]);function c(){this.constructor=l}return c.prototype=u.prototype,l.prototype=new c,l.__super__=u.prototype,l},s={}.hasOwnProperty;i=B0(),o=i.isObject,r=i.isFunction,n=i.getValue,t=Zl(),e=L4e(),YS.exports=(function(l){a(u,l);function u(d,c,f){if(u.__super__.constructor.call(this,d),c==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(c),this.attributes={},f!=null&&this.attribute(f),d.isDocument&&(this.isRoot=!0,this.documentObject=d,d.rootObject=this)}return u.prototype.clone=function(){var d,c,f,p;f=Object.create(this),f.isRoot&&(f.documentObject=null),f.attributes={},p=this.attributes;for(c in p)s.call(p,c)&&(d=p[c],f.attributes[c]=d.clone());return f.children=[],this.children.forEach(function(v){var h;return h=v.clone(),h.parent=f,f.children.push(h)}),f},u.prototype.attribute=function(d,c){var f,p;if(d!=null&&(d=n(d)),o(d))for(f in d)s.call(d,f)&&(p=d[f],this.attribute(f,p));else r(c)&&(c=c.apply()),(!this.options.skipNullAttributes||c!=null)&&(this.attributes[d]=new e(this,d,c));return this},u.prototype.removeAttribute=function(d){var c,f,p;if(d==null)throw new Error("Missing attribute name. "+this.debugInfo());if(d=n(d),Array.isArray(d))for(f=0,p=d.length;f0&&this.parent.children[g-1].isDummy;)g=g-1;if(g<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[g-1]},h.prototype.next=function(){var g;for(g=this.parent.children.indexOf(this);g":(m=this.parent)!=null&&m.name?"node: <"+g+">, parent: <"+this.parent.name+">":"node: <"+g+">"},h.prototype.ele=function(g,y,m){return this.element(g,y,m)},h.prototype.nod=function(g,y,m){return this.node(g,y,m)},h.prototype.txt=function(g){return this.text(g)},h.prototype.dat=function(g){return this.cdata(g)},h.prototype.com=function(g){return this.comment(g)},h.prototype.ins=function(g,y){return this.instruction(g,y)},h.prototype.doc=function(){return this.document()},h.prototype.dec=function(g,y,m){return this.declaration(g,y,m)},h.prototype.dtd=function(g,y){return this.doctype(g,y)},h.prototype.e=function(g,y,m){return this.element(g,y,m)},h.prototype.n=function(g,y,m){return this.node(g,y,m)},h.prototype.t=function(g){return this.text(g)},h.prototype.d=function(g){return this.cdata(g)},h.prototype.c=function(g){return this.comment(g)},h.prototype.r=function(g){return this.raw(g)},h.prototype.i=function(g,y){return this.instruction(g,y)},h.prototype.u=function(){return this.up()},h.prototype.importXMLBuilder=function(g){return this.importDocument(g)},h})()}).call(lct)),KS.exports}var u8={exports:{}},uct=u8.exports,Cne;function F4e(){return Cne||(Cne=1,(function(){var e=function(n,r){return function(){return n.apply(r,arguments)}},t={}.hasOwnProperty;u8.exports=(function(){function n(r){this.assertLegalChar=e(this.assertLegalChar,this);var o,i,a;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,i=r.stringify||{};for(o in i)t.call(i,o)&&(a=i[o],this[o]=a)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var o;if(o=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),o)throw new Error("Invalid character in string: "+r+" at index "+o.index);return r},n.prototype.elEscape=function(r){var o;return o=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(o,"&").replace(//g,">").replace(/\r/g," ")},n.prototype.attEscape=function(r){var o;return o=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(o,"&").replace(/0?new Array(r).join(this.indent):""):""},t})()}).call(cct)),d8.exports}var dct=c8.exports,Sne;function LV(){return Sne||(Sne=1,(function(){var e,t,n,r,o,i,a,s,l,u,d,c,f,p,v=function(g,y){for(var m in y)h.call(y,m)&&(g[m]=y[m]);function b(){this.constructor=g}return b.prototype=y.prototype,g.prototype=new b,g.__super__=y.prototype,g},h={}.hasOwnProperty;a=FD(),s=HD(),e=BD(),t=LD(),u=RD(),c=WD(),f=VD(),d=qD(),l=BV(),n=UD(),r=$D(),o=zD(),i=jD(),p=U4e(),c8.exports=(function(g){v(y,g);function y(m){y.__super__.constructor.call(this,m)}return y.prototype.document=function(m){var b,w,A,S,E;for(this.textispresent=!1,S="",E=m.children,w=0,A=E.length;w"+this.newline},y.prototype.comment=function(m,b){return this.space(b)+""+this.newline},y.prototype.declaration=function(m,b){var w;return w=this.space(b),w+='",w+=this.newline,w},y.prototype.docType=function(m,b){var w,A,S,E,D;if(b||(b=0),E=this.space(b),E+="0){for(E+=" [",E+=this.newline,D=m.children,A=0,S=D.length;A",E+=this.newline,E},y.prototype.element=function(m,b){var w,A,S,E,D,_,M,O,k,R,N,W,B;b||(b=0),B=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),W=this.space(b),O="",O+=W+"<"+m.name,k=m.attributes;for(M in k)h.call(k,M)&&(w=k[M],O+=this.attribute(w));if(m.children.length===0||m.children.every(function(z){return z.value===""}))this.allowEmpty?O+=">"+this.newline:O+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)O+=">",O+=m.children[0].value,O+=""+this.newline;else{if(this.dontprettytextnodes){for(R=m.children,S=0,D=R.length;S"+this.newline,N=m.children,E=0,_=N.length;E<_;E++)A=N[E],O+=(function(){switch(!1){case!(A instanceof e):return this.cdata(A,b+1);case!(A instanceof t):return this.comment(A,b+1);case!(A instanceof u):return this.element(A,b+1);case!(A instanceof c):return this.raw(A,b+1);case!(A instanceof f):return this.text(A,b+1);case!(A instanceof d):return this.processingInstruction(A,b+1);case!(A instanceof l):return"";default:throw new Error("Unknown XML node type: "+A.constructor.name)}}).call(this);B&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),O+=W+""+this.newline}return O},y.prototype.processingInstruction=function(m,b){var w;return w=this.space(b)+""+this.newline,w},y.prototype.raw=function(m,b){return this.space(b)+m.value+this.newline},y.prototype.text=function(m,b){return this.space(b)+m.value+this.newline},y.prototype.dtdAttList=function(m,b){var w;return w=this.space(b)+""+this.newline,w},y.prototype.dtdElement=function(m,b){return this.space(b)+""+this.newline},y.prototype.dtdEntity=function(m,b){var w;return w=this.space(b)+""+this.newline,w},y.prototype.dtdNotation=function(m,b){var w;return w=this.space(b)+""+this.newline,w},y.prototype.openNode=function(m,b){var w,A,S,E;if(b||(b=0),m instanceof u){S=this.space(b)+"<"+m.name,E=m.attributes;for(A in E)h.call(E,A)&&(w=E[A],S+=this.attribute(w));return S+=(m.children?">":"/>")+this.newline,S}else return S=this.space(b)+"")+this.newline,S},y.prototype.closeNode=function(m,b){switch(b||(b=0),!1){case!(m instanceof u):return this.space(b)+""+this.newline;case!(m instanceof s):return this.space(b)+"]>"+this.newline}},y})(p)}).call(dct)),c8.exports}var fct=GS.exports,Ene;function pct(){return Ene||(Ene=1,(function(){var e,t,n,r,o=function(a,s){for(var l in s)i.call(s,l)&&(a[l]=s[l]);function u(){this.constructor=a}return u.prototype=s.prototype,a.prototype=new u,a.__super__=s.prototype,a},i={}.hasOwnProperty;r=B0().isPlainObject,e=Zl(),n=F4e(),t=LV(),GS.exports=(function(a){o(s,a);function s(l){s.__super__.constructor.call(this,null),this.name="?xml",l||(l={}),l.writer||(l.writer=new t),this.options=l,this.stringify=new n(l),this.isDocument=!0}return s.prototype.end=function(l){var u;return l?r(l)&&(u=l,l=this.options.writer.set(u)):l=this.options.writer,l.document(this)},s.prototype.toString=function(l){return this.options.writer.set(l).document(this)},s})(e)}).call(fct)),GS.exports}var f8={exports:{}},hct=f8.exports,kne;function gct(){return kne||(kne=1,(function(){var e,t,n,r,o,i,a,s,l,u,d,c,f,p,v,h,g,y,m,b,w={}.hasOwnProperty;b=B0(),y=b.isObject,g=b.isFunction,m=b.isPlainObject,h=b.getValue,u=RD(),t=BD(),n=LD(),c=WD(),v=VD(),d=qD(),s=FD(),l=HD(),r=UD(),i=zD(),o=$D(),a=jD(),e=L4e(),p=F4e(),f=LV(),f8.exports=(function(){function A(S,E,D){var _;this.name="?xml",S||(S={}),S.writer?m(S.writer)&&(_=S.writer,S.writer=new f(_)):S.writer=new f(S),this.options=S,this.writer=S.writer,this.stringify=new p(S),this.onDataCallback=E||function(){},this.onEndCallback=D||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return A.prototype.node=function(S,E,D){var _,M;if(S==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(S));return this.openCurrent(),S=h(S),E===null&&D==null&&(_=[{},null],E=_[0],D=_[1]),E==null&&(E={}),E=h(E),y(E)||(M=[E,D],D=M[0],E=M[1]),this.currentNode=new u(this,S,E),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,D!=null&&this.text(D),this},A.prototype.element=function(S,E,D){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(S,E,D)},A.prototype.attribute=function(S,E){var D,_;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(S));if(S!=null&&(S=h(S)),y(S))for(D in S)w.call(S,D)&&(_=S[D],this.attribute(D,_));else g(E)&&(E=E.apply()),(!this.options.skipNullAttributes||E!=null)&&(this.currentNode.attributes[S]=new e(this,S,E));return this},A.prototype.text=function(S){var E;return this.openCurrent(),E=new v(this,S),this.onData(this.writer.text(E,this.currentLevel+1),this.currentLevel+1),this},A.prototype.cdata=function(S){var E;return this.openCurrent(),E=new t(this,S),this.onData(this.writer.cdata(E,this.currentLevel+1),this.currentLevel+1),this},A.prototype.comment=function(S){var E;return this.openCurrent(),E=new n(this,S),this.onData(this.writer.comment(E,this.currentLevel+1),this.currentLevel+1),this},A.prototype.raw=function(S){var E;return this.openCurrent(),E=new c(this,S),this.onData(this.writer.raw(E,this.currentLevel+1),this.currentLevel+1),this},A.prototype.instruction=function(S,E){var D,_,M,O,k;if(this.openCurrent(),S!=null&&(S=h(S)),E!=null&&(E=h(E)),Array.isArray(S))for(D=0,O=S.length;D=0;)this.up();return this.onEnd()},A.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},A.prototype.openNode=function(S){if(!S.isOpen)return!this.root&&this.currentLevel===0&&S instanceof u&&(this.root=S),this.onData(this.writer.openNode(S,this.currentLevel),this.currentLevel),S.isOpen=!0},A.prototype.closeNode=function(S){if(!S.isClosed)return this.onData(this.writer.closeNode(S,this.currentLevel),this.currentLevel),S.isClosed=!0},A.prototype.onData=function(S,E){return this.documentStarted=!0,this.onDataCallback(S,E+1)},A.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},A.prototype.debugInfo=function(S){return S==null?"":"node: <"+S+">"},A.prototype.ele=function(){return this.element.apply(this,arguments)},A.prototype.nod=function(S,E,D){return this.node(S,E,D)},A.prototype.txt=function(S){return this.text(S)},A.prototype.dat=function(S){return this.cdata(S)},A.prototype.com=function(S){return this.comment(S)},A.prototype.ins=function(S,E){return this.instruction(S,E)},A.prototype.dec=function(S,E,D){return this.declaration(S,E,D)},A.prototype.dtd=function(S,E,D){return this.doctype(S,E,D)},A.prototype.e=function(S,E,D){return this.element(S,E,D)},A.prototype.n=function(S,E,D){return this.node(S,E,D)},A.prototype.t=function(S){return this.text(S)},A.prototype.d=function(S){return this.cdata(S)},A.prototype.c=function(S){return this.comment(S)},A.prototype.r=function(S){return this.raw(S)},A.prototype.i=function(S,E){return this.instruction(S,E)},A.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},A.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},A.prototype.ent=function(S,E){return this.entity(S,E)},A.prototype.pent=function(S,E){return this.pEntity(S,E)},A.prototype.not=function(S,E){return this.notation(S,E)},A})()}).call(hct)),f8.exports}var p8={exports:{}},vct=p8.exports,Tne;function mct(){return Tne||(Tne=1,(function(){var e,t,n,r,o,i,a,s,l,u,d,c,f,p,v=function(g,y){for(var m in y)h.call(y,m)&&(g[m]=y[m]);function b(){this.constructor=g}return b.prototype=y.prototype,g.prototype=new b,g.__super__=y.prototype,g},h={}.hasOwnProperty;a=FD(),s=HD(),e=BD(),t=LD(),u=RD(),c=WD(),f=VD(),d=qD(),l=BV(),n=UD(),r=$D(),o=zD(),i=jD(),p=U4e(),p8.exports=(function(g){v(y,g);function y(m,b){y.__super__.constructor.call(this,b),this.stream=m}return y.prototype.document=function(m){var b,w,A,S,E,D,_,M;for(D=m.children,w=0,S=D.length;w"+this.endline(m))},y.prototype.comment=function(m,b){return this.stream.write(this.space(b)+""+this.endline(m))},y.prototype.declaration=function(m,b){return this.stream.write(this.space(b)),this.stream.write('"),this.stream.write(this.endline(m))},y.prototype.docType=function(m,b){var w,A,S,E;if(b||(b=0),this.stream.write(this.space(b)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(m)),E=m.children,A=0,S=E.length;A"),this.stream.write(this.endline(m))},y.prototype.element=function(m,b){var w,A,S,E,D,_,M,O;b||(b=0),O=this.space(b),this.stream.write(O+"<"+m.name),_=m.attributes;for(D in _)h.call(_,D)&&(w=_[D],this.attribute(w));if(m.children.length===0||m.children.every(function(k){return k.value===""}))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)this.stream.write(">"),this.stream.write(m.children[0].value),this.stream.write("");else{for(this.stream.write(">"+this.newline),M=m.children,S=0,E=M.length;S")}return this.stream.write(this.endline(m))},y.prototype.processingInstruction=function(m,b){return this.stream.write(this.space(b)+""+this.endline(m))},y.prototype.raw=function(m,b){return this.stream.write(this.space(b)+m.value+this.endline(m))},y.prototype.text=function(m,b){return this.stream.write(this.space(b)+m.value+this.endline(m))},y.prototype.dtdAttList=function(m,b){return this.stream.write(this.space(b)+""+this.endline(m))},y.prototype.dtdElement=function(m,b){return this.stream.write(this.space(b)+""+this.endline(m))},y.prototype.dtdEntity=function(m,b){return this.stream.write(this.space(b)+""+this.endline(m))},y.prototype.dtdNotation=function(m,b){return this.stream.write(this.space(b)+""+this.endline(m))},y.prototype.endline=function(m){return m.isLastRootNode?"":this.newline},y})(p)}).call(vct)),p8.exports}var _ne;function yct(){return _ne||(_ne=1,(function(){var e,t,n,r,o,i,a;a=B0(),o=a.assign,i=a.isFunction,e=pct(),t=gct(),r=LV(),n=mct(),X0.create=function(s,l,u,d){var c,f;if(s==null)throw new Error("Root element needs a name.");return d=o({},l,u,d),c=new e(d),f=c.element(s),d.headless||(c.declaration(d),(d.pubID!=null||d.sysID!=null)&&c.doctype(d)),f},X0.begin=function(s,l,u){var d;return i(s)&&(d=[s,l],l=d[0],u=d[1],s={}),l?new t(s,l,u):new e(s)},X0.stringWriter=function(s){return new r(s)},X0.streamWriter=function(s,l){return new n(s,l)}}).call(X0)),X0}var Dne;function bct(){if(Dne)return bO;Dne=1;var e=Pa,t=yct();bO.writeString=n;function n(o,i){var a=e.invert(i),s={element:u,text:r};function l(f,p){return s[p.type](f,p)}function u(f,p){var v=f.element(d(p.name),p.attributes);p.children.forEach(function(h){l(v,h)})}function d(f){var p=/^\{(.*)\}(.*)$/.exec(f);if(p){var v=a[p[1]];return v+(v===""?"":":")+p[2]}else return f}function c(f){var p=t.create(d(f.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return e.forEach(i,function(v,h){var g="xmlns"+(h===""?"":":"+h);p.attribute(g,v)}),f.children.forEach(function(v){l(p,v)}),p.end()}return c(o)}function r(o,i){o.text(i.value)}return bO}var Ine;function FV(){if(Ine)return Rp;Ine=1;var e=B4e();return Rp.Element=e.Element,Rp.element=e.element,Rp.emptyElement=e.emptyElement,Rp.text=e.text,Rp.readString=Gut().readString,Rp.writeString=bct().writeString,Rp}var One;function wct(){if(One)return Bx;One=1;var e=Pa,t=R0(),n=FV();Bx.read=o,Bx.readXmlFromZipFile=i;var r={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function o(l){return n.readString(l,r).then(function(u){return s(u)[0]})}function i(l,u){return l.exists(u)?l.read(u,"utf-8").then(a).then(o):t.resolve(null)}function a(l){return l.replace(/^\uFEFF/g,"")}function s(l){return l.type==="element"?l.name==="mc:AlternateContent"?l.firstOrEmpty("mc:Fallback").children:(l.children=e.flatten(l.children.map(s,!0)),[l]):[l]}return Bx}var Ux={},gc={},zx={},Mne;function Act(){if(Mne)return zx;Mne=1,Object.defineProperty(zx,"__esModule",{value:!0});var e=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];return zx.default=e,zx}var Pne;function Cct(){if(Pne)return gc;Pne=1;var e=gc&&gc.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(gc,"__esModule",{value:!0}),gc.hex=gc.dec=gc.codePoint=void 0;for(var t=e(Act()),n={},r=String.fromCodePoint?String.fromCodePoint:f,o=0,i=t.default;o0&&(it=D.concat(it),D=[]),y.map(z(Dt),W(it),function(de,tt){return new n.Paragraph(tt,de)}).insertExtra()},"w:r":function(pt){return y.map(q(pt.firstOrEmpty("w:rPr")),W(pt.children),function(Dt,dt){var it=ve();return it!==null&&(dt=[new n.Hyperlink(dt,it)]),new n.Run(dt,Dt)})},"w:fldChar":le,"w:instrText":he,"w:t":function(pt){return h(new n.Text(pt.text()))},"w:tab":function(pt){return h(new n.Tab)},"w:noBreakHyphen":function(){return h(new n.Text("‑"))},"w:softHyphen":function(pt){return h(new n.Text("­"))},"w:sym":Ee,"w:hyperlink":function(pt){var Dt=pt.attributes["r:id"],dt=pt.attributes["w:anchor"];return W(pt.children).map(function(it){function de(ft){var Mt=pt.attributes["w:tgtFrame"]||null;return new n.Hyperlink(it,t.extend({targetFrame:Mt},ft))}if(Dt){var tt=_.findTargetByRelationshipId(Dt);return dt&&(tt=s.replaceFragment(tt,dt)),de({href:tt})}else return dt?de({anchor:dt}):it})},"w:tbl":ie,"w:tr":Be,"w:tc":Me,"w:footnoteReference":Q("footnote"),"w:endnoteReference":Q("endnote"),"w:commentReference":me,"w:br":function(pt){var Dt=pt.attributes["w:type"];return Dt==null||Dt==="textWrapping"?h(n.lineBreak):Dt==="page"?h(n.pageBreak):Dt==="column"?h(n.columnBreak):p([o("Unsupported break type: "+Dt)])},"w:bookmarkStart":function(pt){var Dt=pt.attributes["w:name"];return Dt==="_GoBack"?v():h(new n.BookmarkStart({name:Dt}))},"mc:AlternateContent":function(pt){return De(pt.firstOrEmpty("mc:Fallback"))},"w:sdt":function(pt){var Dt=W(pt.firstOrEmpty("w:sdtContent").children);return Dt.map(function(dt){var it=pt.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(it){var de=it.first("wordml:checked"),tt=!!de&&F(de.attributes["wordml:val"]),ft=n.checkbox({checked:tt}),Mt=!1,Tn=dt.map(a._elementsOfType(n.types.text,function(Nn){return Nn.value.length>0&&!Mt?(Mt=!0,ft):Nn}));return Mt?Tn:ft}else return dt})},"w:ins":De,"w:object":De,"w:smartTag":De,"w:drawing":De,"w:pict":function(pt){return De(pt).toExtra()},"v:roundrect":De,"v:shape":De,"v:textbox":De,"w:txbxContent":De,"wp:inline":Ne,"wp:anchor":Ne,"v:imagedata":Lt,"v:group":De,"v:rect":De};return{readXmlElement:B,readXmlElements:W};function ie(pt){var Dt=ue(pt.firstOrEmpty("w:tblPr"));return W(pt.children).flatMap(ze).flatMap(function(dt){return Dt.map(function(it){return n.Table(dt,it)})})}function ue(pt){return te(pt).map(function(Dt){return{styleId:Dt.styleId,styleName:Dt.name}})}function Be(pt){var Dt=pt.firstOrEmpty("w:trPr"),dt=!!Dt.first("w:del");if(dt)return v();var it=!!Dt.first("w:tblHeader");return W(pt.children).map(function(de){return n.TableRow(de,{isHeader:it})})}function Me(pt){return W(pt.children).map(function(Dt){var dt=pt.firstOrEmpty("w:tcPr"),it=dt.firstOrEmpty("w:gridSpan").attributes["w:val"],de=it?parseInt(it,10):1,tt=n.TableCell(Dt,{colSpan:de});return tt._vMerge=Fe(dt),tt})}function Fe(pt){var Dt=pt.first("w:vMerge");if(Dt){var dt=Dt.attributes["w:val"];return dt==="continue"||!dt}else return null}function ze(pt){var Dt=t.any(pt,function(de){return de.type!==n.types.tableRow});if(Dt)return g(pt,[o("unexpected non-row element in table, cell merging may be incorrect")]);var dt=t.any(pt,function(de){return t.any(de.children,function(tt){return tt.type!==n.types.tableCell})});if(dt)return g(pt,[o("unexpected non-cell element in table row, cell merging may be incorrect")]);var it={};return pt.forEach(function(de){var tt=0;de.children.forEach(function(ft){ft._vMerge&&it[tt]?it[tt].rowSpan++:(it[tt]=ft,ft._vMerge=!1),tt+=ft.colSpan})}),pt.forEach(function(de){de.children=de.children.filter(function(tt){return!tt._vMerge}),de.children.forEach(function(tt){delete tt._vMerge})}),h(pt)}function Ne(pt){var Dt=pt.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return m(Dt.map(Re.bind(null,pt)))}function Re(pt,Dt){var dt=pt.first("wp:docPr").attributes,it=gt(dt.descr)?dt.title:dt.descr,de=Bt(Dt);return de===null?p([o("Could not find image file for a:blip element")]):Kt(de,it)}function gt(pt){return pt==null||/^\s*$/.test(pt)}function Bt(pt){var Dt=pt.attributes["r:embed"],dt=pt.attributes["r:link"];if(Dt)return an(Dt);if(dt){var it=_.findTargetByRelationshipId(dt);return{path:it,read:k.read.bind(k,it)}}else return null}function Lt(pt){var Dt=pt.attributes["r:id"];return Dt?Kt(an(Dt),pt.attributes["o:title"]):p([o("A v:imagedata element without a relationship ID was ignored")])}function an(pt){var Dt=s.uriToZipEntryName("word",_.findTargetByRelationshipId(pt));return{path:Dt,read:O.read.bind(O,Dt)}}function Kt(pt,Dt){var dt=M.findContentType(pt.path),it=n.Image({readImage:pt.read,altText:Dt,contentType:dt}),de=c[dt]?[]:o("Image of type "+dt+" is unlikely to display in web browsers");return g(it,de)}function Ht(pt,Dt){return o(pt+" style with ID "+Dt+" was referenced but not defined in the document")}}function d(A,S,E){var D=S.firstOrEmpty("w:ilvl").attributes["w:val"],_=S.firstOrEmpty("w:numId").attributes["w:val"];if(D!==void 0&&_!==void 0)return E.findLevel(_,D);if(A!=null){var M=E.findLevelByParagraphStyleId(A);if(M!=null)return M}return null}var c={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},f={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function p(A){return new y(null,null,A)}function v(){return new y(null)}function h(A){return new y(A)}function g(A,S){return new y(A,null,S)}function y(A,S,E){this.value=A||[],this.extra=S||[],this._result=new r({element:this.value,extra:S},E),this.messages=this._result.messages}y.prototype.toExtra=function(){return new y(null,b(this.extra,this.value),this.messages)},y.prototype.insertExtra=function(){var A=this.extra;return A&&A.length?new y(b(this.value,A),null,this.messages):this},y.prototype.map=function(A){var S=this._result.map(function(E){return A(E.element)});return new y(S.value,this.extra,S.messages)},y.prototype.flatMap=function(A){var S=this._result.flatMap(function(E){return A(E.element)._result});return new y(S.value.element,b(this.extra,S.value.extra),S.messages)},y.map=function(A,S,E){return new y(E(A.value,S.value),b(A.extra,S.extra),A.messages.concat(S.messages))};function m(A){var S=r.combine(t.pluck(A,"_result"));return new y(t.flatten(t.pluck(S.value,"element")),t.filter(t.flatten(t.pluck(S.value,"extra")),w),S.messages)}function b(A,S){return t.flatten([A,S])}function w(A){return A}return Ux}var wO={},Lne;function Ect(){if(Lne)return wO;Lne=1,wO.DocumentXmlReader=n;var e=pm(),t=sp().Result;function n(r){var o=r.bodyReader;function i(a){var s=a.first("w:body");if(s==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var l=o.readXmlElements(s.children).map(function(u){return new e.Document(u,{notes:r.notes,comments:r.comments})});return new t(l.value,l.messages)}return{convertXmlToDocument:i}}return wO}var $2={},Fne;function kct(){if(Fne)return $2;Fne=1,$2.readRelationships=e,$2.defaultValue=new t([]),$2.Relationships=t;function e(n){var r=[];return n.children.forEach(function(o){if(o.name==="relationships:Relationship"){var i={relationshipId:o.attributes.Id,target:o.attributes.Target,type:o.attributes.Type};r.push(i)}}),new t(r)}function t(n){var r={};n.forEach(function(i){r[i.relationshipId]=i.target});var o={};return n.forEach(function(i){o[i.type]||(o[i.type]=[]),o[i.type].push(i.target)}),{findTargetByRelationshipId:function(i){return r[i]},findTargetsByType:function(i){return o[i]||[]}}}return $2}var jx={},Une;function Tct(){if(Une)return jx;Une=1,jx.readContentTypesFromXml=t;var e={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};jx.defaultContentTypes=n({},{});function t(r){var o={},i={};return r.children.forEach(function(a){if(a.name==="content-types:Default"&&(o[a.attributes.Extension]=a.attributes.ContentType),a.name==="content-types:Override"){var s=a.attributes.PartName;s.charAt(0)==="/"&&(s=s.substring(1)),i[s]=a.attributes.ContentType}}),n(i,o)}function n(r,o){return{findContentType:function(i){var a=r[i];if(a)return a;var s=i.split("."),l=s[s.length-1];if(o.hasOwnProperty(l))return o[l];var u=e[l.toLowerCase()];return u?"image/"+u:null}}}return jx}var j2={},zne;function _ct(){if(zne)return j2;zne=1;var e=Pa;j2.readNumberingXml=n,j2.Numbering=t,j2.defaultNumbering=new t({},{});function t(a,s,l){var u=e.flatten(e.values(s).map(function(p){return e.values(p.levels)})),d=e.indexBy(u.filter(function(p){return p.paragraphStyleId!=null}),"paragraphStyleId");function c(p,v){var h=a[p];if(h){var g=s[h.abstractNumId];if(g){if(g.numStyleLink==null)return s[h.abstractNumId].levels[v];var y=l.findNumberingStyleById(g.numStyleLink);return c(y.numId,v)}else return null}else return null}function f(p){return d[p]||null}return{findLevel:c,findLevelByParagraphStyleId:f}}function n(a,s){if(!s||!s.styles)throw new Error("styles is missing");var l=r(a),u=i(a);return new t(u,l,s.styles)}function r(a){var s={};return a.getElementsByTagName("w:abstractNum").forEach(function(l){var u=l.attributes["w:abstractNumId"];s[u]=o(l)}),s}function o(a){var s={};a.getElementsByTagName("w:lvl").forEach(function(u){var d=u.attributes["w:ilvl"],c=u.firstOrEmpty("w:numFmt").attributes["w:val"],f=u.firstOrEmpty("w:pStyle").attributes["w:val"];s[d]={isOrdered:c!=="bullet",level:d,paragraphStyleId:f}});var l=a.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:s,numStyleLink:l}}function i(a){var s={};return a.getElementsByTagName("w:num").forEach(function(l){var u=l.attributes["w:numId"],d=l.first("w:abstractNumId").attributes["w:val"];s[u]={abstractNumId:d}}),s}return j2}var H2={},$ne;function Dct(){if($ne)return H2;$ne=1,H2.readStylesXml=t,H2.Styles=e,H2.defaultStyles=new e({},{});function e(i,a,s,l){return{findParagraphStyleById:function(u){return i[u]},findCharacterStyleById:function(u){return a[u]},findTableStyleById:function(u){return s[u]},findNumberingStyleById:function(u){return l[u]}}}e.EMPTY=new e({},{},{},{});function t(i){var a={},s={},l={},u={},d={paragraph:a,character:s,table:l};return i.getElementsByTagName("w:style").forEach(function(c){var f=n(c);if(f.type==="numbering")u[f.styleId]=o(c);else{var p=d[f.type];p&&(p[f.styleId]=f)}}),new e(a,s,l,u)}function n(i){var a=i.attributes["w:type"],s=i.attributes["w:styleId"],l=r(i);return{type:a,styleId:s,name:l}}function r(i){var a=i.first("w:name");return a?a.attributes["w:val"]:null}function o(i){var a=i.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:a}}return H2}var Wm={},jne;function Ict(){if(jne)return Wm;jne=1;var e=pm(),t=sp().Result;Wm.createFootnotesReader=n.bind(Wm,"footnote"),Wm.createEndnotesReader=n.bind(Wm,"endnote");function n(r,o){function i(l){return t.combine(l.getElementsByTagName("w:"+r).filter(a).map(s))}function a(l){var u=l.attributes["w:type"];return u!=="continuationSeparator"&&u!=="separator"}function s(l){var u=l.attributes["w:id"];return o.readXmlElements(l.children).map(function(d){return e.Note({noteType:r,noteId:u,body:d})})}return i}return Wm}var AO={},Hne;function Oct(){if(Hne)return AO;Hne=1;var e=pm(),t=sp().Result;function n(r){function o(a){return t.combine(a.getElementsByTagName("w:comment").map(i))}function i(a){var s=a.attributes["w:id"];function l(u){return(a.attributes[u]||"").trim()||null}return r.readXmlElements(a.children).map(function(u){return e.comment({commentId:s,body:u,authorName:l("w:author"),authorInitials:l("w:initials")})})}return o}return AO.createCommentsReader=n,AO}var CO={},Wne;function Mct(){if(Wne)return CO;Wne=1;var e=R0();CO.Files=t;function t(){function n(r){return e.reject(new Error("could not open external image: '"+r+`' cannot open linked files from a web browser`))}return{read:n}}return CO}var Vne;function Pct(){if(Vne)return Mx;Vne=1,Mx.read=v,Mx._findPartPaths=h;var e=R0(),t=pm(),n=sp().Result,r=R4e(),o=wct().readXmlFromZipFile,i=Sct().createBodyReader,a=Ect().DocumentXmlReader,s=kct(),l=Tct(),u=_ct(),d=Dct(),c=Ict(),f=Oct(),p=Mct().Files;function v(_,M){return M=M||{},e.props({contentTypes:A(_),partPaths:h(_),docxFile:_,files:M.path?p.relativeToFile(M.path):new p(null)}).also(function(O){return{styles:E(_,O.partPaths.styles)}}).also(function(O){return{numbering:S(_,O.partPaths.numbering,O.styles)}}).also(function(O){return{footnotes:b(O.partPaths.footnotes,O,function(k,R){return R?c.createFootnotesReader(k)(R):new n([])}),endnotes:b(O.partPaths.endnotes,O,function(k,R){return R?c.createEndnotesReader(k)(R):new n([])}),comments:b(O.partPaths.comments,O,function(k,R){return R?f.createCommentsReader(k)(R):new n([])})}}).also(function(O){return{notes:O.footnotes.flatMap(function(k){return O.endnotes.map(function(R){return new t.Notes(k.concat(R))})})}}).then(function(O){return b(O.partPaths.mainDocument,O,function(k,R){return O.notes.flatMap(function(N){return O.comments.flatMap(function(W){var B=new a({bodyReader:k,notes:N,comments:W});return B.convertXmlToDocument(R)})})})})}function h(_){return D(_).then(function(M){var O=g({docxFile:_,relationships:M,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!_.exists(O))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return m({filename:w(O),readElement:s.readRelationships,defaultValue:s.defaultValue})(_).then(function(k){function R(N){return g({docxFile:_,relationships:k,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+N,basePath:r.splitPath(O).dirname,fallbackPath:"word/"+N+".xml"})}return{mainDocument:O,comments:R("comments"),endnotes:R("endnotes"),footnotes:R("footnotes"),numbering:R("numbering"),styles:R("styles")}})})}function g(_){var M=_.docxFile,O=_.relationships,k=_.relationshipType,R=_.basePath,N=_.fallbackPath,W=O.findTargetsByType(k),B=W.map(function(j){return y(r.joinPath(R,j),"/")}),z=B.filter(function(j){return M.exists(j)});return z.length===0?N:z[0]}function y(_,M){return _.substring(0,M.length)===M?_.substring(M.length):_}function m(_){return function(M){return o(M,_.filename).then(function(O){return O?_.readElement(O):_.defaultValue})}}function b(_,M,O){var k=m({filename:w(_),readElement:s.readRelationships,defaultValue:s.defaultValue});return k(M.docxFile).then(function(R){var N=new i({relationships:R,contentTypes:M.contentTypes,docxFile:M.docxFile,numbering:M.numbering,styles:M.styles,files:M.files});return o(M.docxFile,_).then(function(W){return O(N,W)})})}function w(_){var M=r.splitPath(_);return r.joinPath(M.dirname,"_rels",M.basename+".rels")}var A=m({filename:"[Content_Types].xml",readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes});function S(_,M,O){return m({filename:M,readElement:function(k){return u.readNumberingXml(k,{styles:O})},defaultValue:u.defaultNumbering})(_)}function E(_,M){return m({filename:M,readElement:d.readStylesXml,defaultValue:d.defaultStyles})(_)}var D=m({filename:"_rels/.rels",readElement:s.readRelationships,defaultValue:s.defaultValue});return Mx}var Hx={},qne;function Nct(){if(qne)return Hx;qne=1;var e=Pa,t=R0(),n=FV();Hx.writeStyleMap=a,Hx.readStyleMap=d;var r="http://schemas.zwobble.org/mammoth/style-map",o="mammoth/style-map",i="/"+o;function a(c,f){return c.write(o,f),s(c).then(function(){return l(c)})}function s(c){var f="word/_rels/document.xml.rels",p="http://schemas.openxmlformats.org/package/2006/relationships",v="{"+p+"}Relationship";return c.read(f,"utf8").then(n.readString).then(function(h){var g=h.children;u(g,v,"Id",{Id:"rMammothStyleMap",Type:r,Target:i});var y={"":p};return c.write(f,n.writeString(h,y))})}function l(c){var f="[Content_Types].xml",p="http://schemas.openxmlformats.org/package/2006/content-types",v="{"+p+"}Override";return c.read(f,"utf8").then(n.readString).then(function(h){var g=h.children;u(g,v,"PartName",{PartName:i,ContentType:"text/prs.mammoth.style-map"});var y={"":p};return c.write(f,n.writeString(h,y))})}function u(c,f,p,v){var h=e.find(c,function(g){return g.name===f&&g.attributes[p]===v[p]});h?h.attributes=v:c.push(n.element(f,v))}function d(c){return c.exists(o)?c.read(o,"utf8"):t.resolve(null)}return Hx}var Wx={},J0={},gf={},Lp={},Gne;function $4e(){if(Gne)return Lp;Gne=1;var e=KD();function t(l,u,d){return r(e.element(l,u,{fresh:!1}),d)}function n(l,u,d){var c=e.element(l,u,{fresh:!0});return r(c,d)}function r(l,u){return{type:"element",tag:l,children:u||[]}}function o(l){return{type:"text",value:l}}var i={type:"forceWrite"};Lp.freshElement=n,Lp.nonFreshElement=t,Lp.elementWithTag=r,Lp.text=o,Lp.forceWrite=i;var a={br:!0,hr:!0,img:!0,input:!0};function s(l){return l.children.length===0&&a[l.tag.tagName]}return Lp.isVoidElement=s,Lp}var xO,Kne;function Rct(){if(Kne)return xO;Kne=1;var e=Pa,t=$4e();function n(h){return r(u(h))}function r(h){var g=[];return h.map(o).forEach(function(y){l(g,y)}),g}function o(h){return i[h.type](h)}var i={element:a,text:s,forceWrite:s};function a(h){return t.elementWithTag(h.tag,r(h.children))}function s(h){return h}function l(h,g){var y=h[h.length-1];g.type==="element"&&!g.tag.fresh&&y&&y.type==="element"&&g.tag.matchesElement(y.tag)?(g.tag.separator&&l(y.children,t.text(g.tag.separator)),g.children.forEach(function(m){l(y.children,m)})):h.push(g)}function u(h){return d(h,function(g){return c[g.type](g)})}function d(h,g){return e.flatten(e.map(h,g),!0)}var c={element:p,text:v,forceWrite:f};function f(h){return[h]}function p(h){var g=u(h.children);return g.length===0&&!t.isVoidElement(h)?[]:[t.elementWithTag(h.tag,g)]}function v(h){return h.value.length===0?[]:[h]}return xO=n,xO}var Yne;function GD(){if(Yne)return gf;Yne=1;var e=$4e();gf.freshElement=e.freshElement,gf.nonFreshElement=e.nonFreshElement,gf.elementWithTag=e.elementWithTag,gf.text=e.text,gf.forceWrite=e.forceWrite,gf.simplify=Rct();function t(a,s){s.forEach(function(l){n(a,l)})}function n(a,s){r[s.type](a,s)}var r={element:o,text:i,forceWrite:function(){}};function o(a,s){e.isVoidElement(s)?a.selfClosing(s.tag.tagName,s.tag.attributes):(a.open(s.tag.tagName,s.tag.attributes),t(a,s.children),a.close(s.tag.tagName))}function i(a,s){a.text(s.value)}return gf.write=t,gf}var Qne;function KD(){if(Qne)return J0;Qne=1;var e=Pa,t=GD();J0.topLevelElement=n,J0.elements=r,J0.element=i;function n(s,l){return r([i(s,l,{fresh:!0})])}function r(s){return new o(s.map(function(l){return e.isString(l)?i(l):l}))}function o(s){this._elements=s}o.prototype.wrap=function(l){for(var u=l(),d=this._elements.length-1;d>=0;d--)u=this._elements[d].wrapNodes(u);return u};function i(s,l,u){return u=u||{},new a(s,l,u)}function a(s,l,u){var d={};e.isArray(s)?(s.forEach(function(c){d[c]=!0}),s=s[0]):d[s]=!0,this.tagName=s,this.tagNames=d,this.attributes=l||{},this.fresh=u.fresh,this.separator=u.separator}return a.prototype.matchesElement=function(s){return this.tagNames[s.tagName]&&e.isEqual(this.attributes||{},s.attributes||{})},a.prototype.wrap=function(l){return this.wrapNodes(l())},a.prototype.wrapNodes=function(l){return[t.elementWithTag(this,l)]},J0.empty=r([]),J0.ignore={wrap:function(){return[]}},J0}var SO={},Zne;function j4e(){return Zne||(Zne=1,(function(e){var t=Pa,n=R0(),r=GD();e.imgElement=o;function o(i){return function(a,s){return n.when(i(a)).then(function(l){var u={};return a.altText&&(u.alt=a.altText),t.extend(u,l),[r.freshElement("img",u)]})}}e.inline=e.imgElement,e.dataUri=o(function(i){return i.readAsBase64String().then(function(a){return{src:"data:"+i.contentType+";base64,"+a}})})})(SO)),SO}var EO={},kO={},Xne;function Bct(){if(Xne)return kO;Xne=1;var e=Pa;kO.writer=t;function t(s){return s=s||{},s.prettyPrint?r():o()}var n={div:!0,p:!0,ul:!0,li:!0};function r(){var s=0,l=" ",u=[],d=!0,c=!1,f=o();function p(A,S){n[A]&&b(),u.push(A),f.open(A,S),n[A]&&s++,d=!1}function v(A){n[A]&&(s--,b()),u.pop(),f.close(A)}function h(A){m();var S=w()?A:A.replace(` `,` `+l);f.text(S)}function g(A,S){b(),f.selfClosing(A,S)}function y(){return u.length===0||n[u[u.length-1]]}function m(){c||(b(),c=!0)}function b(){if(c=!1,!d&&y()&&!w()){f._append(` `);for(var A=0;A")}function u(h){s.push("")}function d(h,g){var y=c(g);s.push("<"+h+y+" />")}function c(h){return e.map(h,function(g,y){return" "+y+'="'+a(g)+'"'}).join("")}function f(h){s.push(i(h))}function p(h){s.push(h)}function v(){return s.join("")}return{asString:v,open:l,close:u,text:f,selfClosing:d,_append:p}}function i(s){return s.replace(/&/g,"&").replace(//g,">")}function a(s){return s.replace(/&/g,"&").replace(/"/g,""").replace(//g,">")}return kO}var TO={},Jne;function Lct(){if(Jne)return TO;Jne=1;var e=Pa;function t(c){return n(c,c)}function n(c,f){return function(){return{start:c,end:f}}}function r(c){var f=c.href||"";return f?{start:"[",end:"]("+f+")",anchorPosition:"before"}:{}}function o(c){var f=c.src||"",p=c.alt||"";return f||p?{start:"!["+p+"]("+f+")"}:{}}function i(c){return function(f,p){return{start:p?` `:"",end:p?"":` `,list:{isOrdered:c.isOrdered,indent:p?p.indent+1:0,count:0}}}}function a(c,f,p){f=f||{indent:0,isOrdered:!1,count:0},f.count++,p.hasClosed=!1;var v=f.isOrdered?f.count+".":"-",h=l(" ",f.indent)+v+" ";return{start:h,end:function(){if(!p.hasClosed)return p.hasClosed=!0,` `}}}var s={p:n("",` `),br:n("",` `),ul:i({isOrdered:!1}),ol:i({isOrdered:!0}),li:a,strong:t("__"),em:t("*"),a:r,img:o};(function(){for(var c=1;c<=6;c++)s["h"+c]=n(l("#",c)+" ",` `)})();function l(c,f){return new Array(f+1).join(c)}function u(){var c=[],f=[],p=null,v={};function h(A,S){S=S||{};var E=s[A]||function(){return{}},D=E(S,p,v);f.push({end:D.end,list:p}),D.list&&(p=D.list);var _=D.anchorPosition==="before";_&&g(S),c.push(D.start||""),_||g(S)}function g(A){A.id&&c.push('')}function y(A){var S=f.pop();p=S.list;var E=e.isFunction(S.end)?S.end():S.end;c.push(E||"")}function m(A,S){h(A,S),y()}function b(A){c.push(d(A))}function w(){return c.join("")}return{asString:w,open:h,close:y,text:b,selfClosing:m}}TO.writer=u;function d(c){return c.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}return TO}var ere;function Fct(){if(ere)return EO;ere=1;var e=Bct(),t=Lct();EO.writer=n;function n(r){return r=r||{},r.outputFormat==="markdown"?t.writer():e.writer(r)}return EO}var tre;function Uct(){if(tre)return Wx;tre=1;var e=Pa,t=R0(),n=pm(),r=KD(),o=sp(),i=j4e(),a=GD(),s=Fct();Wx.DocumentConverter=l;function l(g){return{convertToHtml:function(y){var m=e.indexBy(y.type===n.types.document?y.comments:[],"commentId"),b=new u(g,m);return b.convertToHtml(y)}}}function u(g,y){var m=1,b=[],w=[];g=e.extend({ignoreEmptyParagraphs:!0},g);var A=g.idPrefix===void 0?"":g.idPrefix,S=g.ignoreEmptyParagraphs,E=r.topLevelElement("p"),D=g.styleMap||[];function _(Q){var me=[],De=O(Q,me,{}),pe=[];v(De,function(ue){ue.type==="deferred"&&pe.push(ue)});var ie={};return t.mapSeries(pe,function(ue){return ue.value().then(function(Be){ie[ue.id]=Be})}).then(function(){function ue(Me){return p(Me,function(Fe){return Fe.type==="deferred"?ie[Fe.id]:Fe.children?[e.extend({},Fe,{children:ue(Fe.children)})]:[Fe]})}var Be=s.writer({prettyPrint:g.prettyPrint,outputFormat:g.outputFormat});return a.write(Be,a.simplify(ue(De))),new o.Result(Be.asString(),me)})}function M(Q,me,De){return p(Q,function(pe){return O(pe,me,De)})}function O(Q,me,De){if(!De)throw new Error("options not set");var pe=Ee[Q.type];return pe?pe(Q,me,De):[]}function k(Q,me,De){return R(Q,me).wrap(function(){var pe=M(Q.children,me,De);return S?pe:[a.forceWrite].concat(pe)})}function R(Q,me){var De=z(Q);return De?De.to:(Q.styleId&&me.push(f("paragraph",Q)),E)}function N(Q,me,De){var pe=function(){return M(Q.children,me,De)},ie=[];if(Q.highlight!==null){var ue=B({type:"highlight",color:Q.highlight});ue&&ie.push(ue)}Q.isSmallCaps&&ie.push(W("smallCaps")),Q.isAllCaps&&ie.push(W("allCaps")),Q.isStrikethrough&&ie.push(W("strikethrough","s")),Q.isUnderline&&ie.push(W("underline")),Q.verticalAlignment===n.verticalAlignment.subscript&&ie.push(r.element("sub",{},{fresh:!1})),Q.verticalAlignment===n.verticalAlignment.superscript&&ie.push(r.element("sup",{},{fresh:!1})),Q.isItalic&&ie.push(W("italic","em")),Q.isBold&&ie.push(W("bold","strong"));var Be=r.empty,Me=z(Q);return Me?Be=Me.to:Q.styleId&&me.push(f("run",Q)),ie.push(Be),ie.forEach(function(Fe){pe=Fe.wrap.bind(Fe,pe)}),pe()}function W(Q,me){var De=B({type:Q});return De||(me?r.element(me,{},{fresh:!1}):r.empty)}function B(Q,me){var De=z(Q);return De?De.to:me}function z(Q){for(var me=0;mel){var p=f[1],h=new e(r[d].name,p,u.range(l,v));return{token:h,endIndex:v}}}}var v=l+1,h=new e("unrecognisedCharacter",s.substring(l,v),u.range(l,v));return{token:h,endIndex:v}}function a(s,l){return new e("end",null,l.range(s.length,s.length))}return{tokenise:o}}return UO}var hre;function G4e(){return hre||(hre=1,vc.Parser=jct().Parser,vc.rules=W4e(),vc.errors=H4e(),vc.results=UV(),vc.StringSource=V4e(),vc.Token=q4e(),vc.bottomUp=Vct(),vc.RegexTokeniser=qct().RegexTokeniser,vc.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}}),vc}var ss={},gre;function Gct(){if(gre)return ss;gre=1,ss.paragraph=e,ss.run=t,ss.table=n,ss.bold=new o("bold"),ss.italic=new o("italic"),ss.underline=new o("underline"),ss.strikethrough=new o("strikethrough"),ss.allCaps=new o("allCaps"),ss.smallCaps=new o("smallCaps"),ss.highlight=r,ss.commentReference=new o("commentReference"),ss.lineBreak=new a({breakType:"line"}),ss.pageBreak=new a({breakType:"page"}),ss.columnBreak=new a({breakType:"column"}),ss.equalTo=l,ss.startsWith=u;function e(f){return new o("paragraph",f)}function t(f){return new o("run",f)}function n(f){return new o("table",f)}function r(f){return new i(f)}function o(f,p){p=p||{},this._elementType=f,this._styleId=p.styleId,this._styleName=p.styleName,p.list&&(this._listIndex=p.list.levelIndex,this._listIsOrdered=p.list.isOrdered)}o.prototype.matches=function(f){return f.type===this._elementType&&(this._styleId===void 0||f.styleId===this._styleId)&&(this._styleName===void 0||f.styleName&&this._styleName.operator(this._styleName.operand,f.styleName))&&(this._listIndex===void 0||s(f,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===f.breakType)};function i(f){f=f||{},this._color=f.color}i.prototype.matches=function(f){return f.type==="highlight"&&(this._color===void 0||f.color===this._color)};function a(f){f=f||{},this._breakType=f.breakType}a.prototype.matches=function(f){return f.type==="break"&&(this._breakType===void 0||f.breakType===this._breakType)};function s(f,p,v){return f.numbering&&f.numbering.level==p&&f.numbering.isOrdered==v}function l(f){return{operator:d,operand:f}}function u(f){return{operator:c,operand:f}}function d(f,p){return f.toUpperCase()===p.toUpperCase()}function c(f,p){return p.toUpperCase().indexOf(f.toUpperCase())===0}return ss}var zO={},vre;function Kct(){if(vre)return zO;vre=1;var e=G4e(),t=e.RegexTokeniser;zO.tokenise=r;var n="'((?:\\\\.|[^'])*)";function r(o){var i="(?:[a-zA-Z\\-_]|\\\\.)",a=new t([{name:"identifier",regex:new RegExp("("+i+"(?:"+i+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(n+"'")},{name:"unterminated-string",regex:new RegExp(n)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return a.tokenise(o)}return zO}var mre;function Yct(){if(mre)return W2;mre=1;var e=Pa,t=G4e(),n=Gct(),r=KD(),o=Kct().tokenise,i=sp();W2.readHtmlPath=d,W2.readDocumentMatcher=l,W2.readStyle=a;function a(D){return w(E,D)}function s(){return t.rules.sequence(t.rules.sequence.capture(u()),t.rules.tokenOfType("whitespace"),t.rules.tokenOfType("arrow"),t.rules.sequence.capture(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("whitespace"),t.rules.sequence.capture(c())).head())),t.rules.tokenOfType("end")).map(function(D,_){return{from:D,to:_.valueOrElse(r.empty)}})}function l(D){return w(u(),D)}function u(){var D=t.rules.sequence,_=function(Pe,Ae){return t.rules.then(t.rules.token("identifier",Pe),function(){return Ae})},M=_("p",n.paragraph),O=_("r",n.run),k=t.rules.firstOf("p or r or table",M,O),R=t.rules.sequence(t.rules.tokenOfType("dot"),t.rules.sequence.cut(),t.rules.sequence.capture(f)).map(function(Pe){return{styleId:Pe}}),N=t.rules.firstOf("style name matcher",t.rules.then(t.rules.sequence(t.rules.tokenOfType("equals"),t.rules.sequence.cut(),t.rules.sequence.capture(v)).head(),function(Pe){return{styleName:n.equalTo(Pe)}}),t.rules.then(t.rules.sequence(t.rules.tokenOfType("startsWith"),t.rules.sequence.cut(),t.rules.sequence.capture(v)).head(),function(Pe){return{styleName:n.startsWith(Pe)}})),W=t.rules.sequence(t.rules.tokenOfType("open-square-bracket"),t.rules.sequence.cut(),t.rules.token("identifier","style-name"),t.rules.sequence.capture(N),t.rules.tokenOfType("close-square-bracket")).head(),B=t.rules.firstOf("list type",_("ordered-list",{isOrdered:!0}),_("unordered-list",{isOrdered:!1})),z=D(t.rules.tokenOfType("colon"),D.capture(B),D.cut(),t.rules.tokenOfType("open-paren"),D.capture(p),t.rules.tokenOfType("close-paren")).map(function(Pe,Ae){return{list:{isOrdered:Pe.isOrdered,levelIndex:Ae-1}}});function j(Pe){var Ae=t.rules.firstOf.apply(t.rules.firstOf,["matcher suffix"].concat(Pe)),he=t.rules.zeroOrMore(Ae);return t.rules.then(he,function(Ee){var Q={};return Ee.forEach(function(me){e.extend(Q,me)}),Q})}var q=D(D.capture(k),D.capture(j([R,W,z]))).map(function(Pe,Ae){return Pe(Ae)}),Y=D(t.rules.token("identifier","table"),D.capture(j([R,W]))).map(function(Pe){return n.table(Pe)}),U=_("b",n.bold),F=_("i",n.italic),H=_("u",n.underline),re=_("strike",n.strikethrough),X=_("all-caps",n.allCaps),te=_("small-caps",n.smallCaps),Z=D(t.rules.token("identifier","highlight"),t.rules.sequence.capture(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("open-square-bracket"),t.rules.sequence.cut(),t.rules.token("identifier","color"),t.rules.tokenOfType("equals"),t.rules.sequence.capture(v),t.rules.tokenOfType("close-square-bracket")).head()))).map(function(Pe){return n.highlight({color:Pe.valueOrElse(void 0)})}),le=_("comment-reference",n.commentReference),ve=D(t.rules.token("identifier","br"),D.cut(),t.rules.tokenOfType("open-square-bracket"),t.rules.token("identifier","type"),t.rules.tokenOfType("equals"),D.capture(v),t.rules.tokenOfType("close-square-bracket")).map(function(Pe){switch(Pe){case"line":return n.lineBreak;case"page":return n.pageBreak;case"column":return n.columnBreak}});return t.rules.firstOf("element type",q,Y,U,F,H,re,X,te,Z,le,ve)}function d(D){return w(c(),D)}function c(){var D=t.rules.sequence.capture,_=t.rules.tokenOfType("whitespace"),M=t.rules.then(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("colon"),t.rules.token("identifier","fresh"))),function(N){return N.map(function(){return!0}).valueOrElse(!1)}),O=t.rules.then(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("colon"),t.rules.token("identifier","separator"),t.rules.tokenOfType("open-paren"),D(v),t.rules.tokenOfType("close-paren")).head()),function(N){return N.valueOrElse("")}),k=t.rules.oneOrMoreWithSeparator(f,t.rules.tokenOfType("choice")),R=t.rules.sequence(D(k),D(t.rules.zeroOrMore(b)),D(M),D(O)).map(function(N,W,B,z){var j={},q={};return W.forEach(function(Y){Y.append&&j[Y.name]?j[Y.name]+=" "+Y.value:j[Y.name]=Y.value}),B&&(q.fresh=!0),z&&(q.separator=z),r.element(N,j,q)});return t.rules.firstOf("html path",t.rules.then(t.rules.tokenOfType("bang"),function(){return r.ignore}),t.rules.then(t.rules.zeroOrMoreWithSeparator(R,t.rules.sequence(_,t.rules.tokenOfType("gt"),_)),r.elements))}var f=t.rules.then(t.rules.tokenOfType("identifier"),g),p=t.rules.tokenOfType("integer"),v=t.rules.then(t.rules.tokenOfType("string"),g),h={n:` `,r:"\r",t:" "};function g(D){return D.replace(/\\(.)/g,function(_,M){return h[M]||M})}var y=t.rules.sequence(t.rules.tokenOfType("open-square-bracket"),t.rules.sequence.cut(),t.rules.sequence.capture(f),t.rules.tokenOfType("equals"),t.rules.sequence.capture(v),t.rules.tokenOfType("close-square-bracket")).map(function(D,_){return{name:D,value:_,append:!1}}),m=t.rules.sequence(t.rules.tokenOfType("dot"),t.rules.sequence.cut(),t.rules.sequence.capture(f)).map(function(D){return{name:"class",value:D,append:!0}}),b=t.rules.firstOf("attribute or class",y,m);function w(D,_){var M=o(_),O=t.Parser(),k=O.parseTokens(D,M);return k.isSuccess()?i.success(k.value()):new i.Result(null,[i.warning(A(_,k))])}function A(D,_){return"Did not understand this style mapping, so ignored it: "+D+` `+_.errors().map(S).join(` `)}function S(D){return"Error was at character number "+D.characterNumber()+": Expected "+D.expected+" but got "+D.actual}var E=s();return W2}var V2={},yre;function Qct(){if(yre)return V2;yre=1,V2.readOptions=r;var e=Pa,t=V2._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","p.Heading => h1:fresh","p[style-name='Heading'] => h1:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh","p.Body => p:fresh","p[style-name='Body'] => p:fresh"],n=V2._standardOptions={transformDocument:i,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function r(a){return a=a||{},e.extend({},n,a,{customStyleMap:o(a.styleMap),readStyleMap:function(){var s=this.customStyleMap;return this.includeEmbeddedStyleMap&&(s=s.concat(o(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(s=s.concat(t)),s}})}function o(a){return a?e.isString(a)?a.split(` `).map(function(s){return s.trim()}).filter(function(s){return s!==""&&s.charAt(0)!=="#"}):a:[]}function i(a){return a}return V2}var $O={},bre;function Zct(){if(bre)return $O;bre=1;var e=R0(),t=R4e();$O.openZip=n;function n(r){return r.arrayBuffer?e.resolve(t.openArrayBuffer(r.arrayBuffer)):e.reject(new Error("Could not find file in options"))}return $O}var jO={},wre;function Xct(){if(wre)return jO;wre=1;var e=KD(),t=GD();jO.element=n;function n(r){return function(o){return t.elementWithTag(e.element(r),[o])}}return jO}var Are;function Jct(){if(Are)return Du;Are=1;var e=Pa,t=Pct(),n=Nct(),r=Uct().DocumentConverter,o=zct().convertElementToRawText,i=Yct().readStyle,a=Qct().readOptions,s=Zct(),l=sp().Result;Du.convertToHtml=u,Du.convertToMarkdown=d,Du.convert=c,Du.extractRawText=h,Du.images=j4e(),Du.transforms=z4e(),Du.underline=Xct(),Du.embedStyleMap=g,Du.readEmbeddedStyleMap=f;function u(y,m){return c(y,m)}function d(y,m){var b=Object.create(m||{});return b.outputFormat="markdown",c(y,b)}function c(y,m){return m=a(m),s.openZip(y).tap(function(b){return n.readStyleMap(b).then(function(w){m.embeddedStyleMap=w})}).then(function(b){return t.read(b,y).then(function(w){return w.map(m.transformDocument)}).then(function(w){return p(w,m)})})}function f(y){return s.openZip(y).then(n.readStyleMap)}function p(y,m){var b=v(m.readStyleMap()),w=e.extend({},m,{styleMap:b.value}),A=new r(w);return y.flatMapThen(function(S){return b.flatMapThen(function(E){return A.convertToHtml(S)})})}function v(y){return l.combine((y||[]).map(i)).map(function(m){return m.filter(function(b){return!!b})})}function h(y){return s.openZip(y).then(t.read).then(function(m){return m.map(o)})}function g(y,m){return s.openZip(y).tap(function(b){return n.writeStyleMap(b,m)}).then(function(b){return b.toArrayBuffer()}).then(function(b){return{toArrayBuffer:function(){return b},toBuffer:function(){return Buffer.from(b)}}})}return Du.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)},Du}var zV=Jct();const edt=xu(zV),KE=zke({__proto__:null,default:edt},[zV]),tdt={__name:"DeleteConfirmModal",props:{visible:{type:Boolean,default:!1},title:{type:String,default:"删除确认"},message:{type:String,default:"删除将清除该数据,无法撤销。确定继续删除吗?"}},emits:["close","confirm","cancel"],setup(e,{emit:t}){const n=t,r=()=>{n("close")},o=()=>{n("cancel"),n("close")},i=()=>{n("confirm"),n("close")};return(a,s)=>e.visible?(L(),G("div",{key:0,class:"delete-modal-overlay",onClick:r},[x("div",{class:"delete-modal",onClick:s[0]||(s[0]=en(()=>{},["stop"]))},[s[1]||(s[1]=x("div",{class:"modal-title"},"删除确认",-1)),s[2]||(s[2]=x("div",{class:"modal-message"},"删除将清除该数据无法撤销,确定继续删除吗?",-1)),x("div",{class:"modal-actions"},[x("button",{class:"btn btn-cancel",onClick:o}," 取消 "),x("button",{class:"btn btn-delete",onClick:i}," 删除 ")])])])):xe("",!0)}},h0=Zo(tdt,[["__scopeId","data-v-d2f3ad5a"]]),ndt={key:0,class:"toast-container"},rdt={class:"toast-content"},odt={key:0,class:"toast-icon"},idt=["src","alt"],adt={class:"toast-text"},sdt={__name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"info",validator:e=>["success","error","warning","info"].includes(e)},duration:{type:Number,default:2e3},icon:{type:String,default:"/src/assets/AIWriting/17.png"}},setup(e,{expose:t}){const n=e,r=K(!1);return t({show:()=>{r.value=!0,n.duration>0&&setTimeout(()=>{r.value=!1},n.duration)},hide:()=>{r.value=!1}}),(a,s)=>(L(),yt(Ki,{name:"toast-fade"},{default:rt(()=>[r.value?(L(),G("div",ndt,[x("div",rdt,[e.icon?(L(),G("div",odt,[x("img",{src:e.icon,alt:e.type,class:"icon-img"},null,8,idt)])):xe("",!0),x("span",adt,je(e.message),1)])])):xe("",!0)]),_:1}))}},ldt=Zo(sdt,[["__scopeId","data-v-f0e7cdfe"]]),h8=ta.create({baseURL:"/api",timeout:1e4,headers:{"Content-Type":"application/json"}});let HO=!1,WO=[];h8.interceptors.request.use(e=>{const t=Xf();return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>(console.error("请求错误:",e),Promise.reject(e)));h8.interceptors.response.use(e=>e.data,async e=>{const t=e.config;if(e.response&&e.response.status===401){if(t.url==="/auth/refresh")return AS(),window.location.href="/#/login",Promise.reject(e);if(HO)return new Promise(r=>{WO.push(o=>{t.headers.Authorization=`Bearer ${o}`,r(h8(t))})});{HO=!0;const r=V9e();if(!r)return AS(),window.location.href="/#/login",Promise.reject(e);try{const o=await ta.post("/api/auth/refresh",{refresh_token:r}),{access_token:i}=o.data;return q9e(i,r),t.headers.Authorization=`Bearer ${i}`,WO.forEach(a=>a(i)),WO=[],h8(t)}catch(o){return console.error("刷新token失败:",o),AS(),window.location.href="/#/login",Promise.reject(o)}finally{HO=!1}}}const n=e.response?.data?.message||e.message||"请求失败";return console.error("响应错误:",n),Promise.reject({code:e.response?.status||500,message:n,data:e.response?.data})});function $V(){return"/chatwithai/api/v1"}function jV(e){const t=$V(),n=e.startsWith("/")?e:`/${e}`;return`${t}${n}`}function K4e(e){return e?`https://aqai.shudaodsj.com:22000/apiv1/oss/parse/?url=${encodeURIComponent(e)}`:""}async function Y4e(e,t){try{const n=await fetch(jV("/sse/stop"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ai_conversation_id:t})});if(!n.ok)return console.error("停止请求失败,状态码:",n.status),{success:!1,message:`请求失败: ${n.status} ${n.statusText}`};const r=await n.text();if(!r||r.trim()==="")return console.log("停止请求成功(无响应体)"),{success:!0,message:"已发送停止请求"};try{return JSON.parse(r)}catch(o){return console.error("解析JSON失败:",o,"原始响应:",r),{success:!0,message:"已发送停止请求"}}}catch(n){return console.error("发送停止请求异常:",n),{success:!1,message:n.message||"网络请求失败"}}}async function wd(e,t){try{const n=await fetch(jV("/report/update-ai-message"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({ai_message_id:e,content:t})});if(!n.ok)return console.error("更新AI消息失败,状态码:",n.status),{success:!1,message:`请求失败: ${n.status} ${n.statusText}`};const r=await n.text();if(!r||r.trim()==="")return console.log("更新AI消息成功(无响应体)"),{success:!0,message:"已更新AI消息"};try{return JSON.parse(r)}catch(o){return console.error("解析JSON失败:",o,"原始响应:",r),{success:!0,message:"已更新AI消息"}}}catch(n){return console.error("更新AI消息异常:",n),{success:!1,message:n.message||"网络请求失败"}}}function HV(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var hm=HV();function Q4e(e){hm=e}var a3={exec:()=>null};function ai(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(o,i)=>{let a=typeof i=="string"?i:i.source;return a=a.replace(ll.caret,"$1"),n=n.replace(o,a),r},getRegex:()=>new RegExp(n,t)};return r}var ll={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},udt=/^(?:[ \t]*(?:\n|$))+/,cdt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ddt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,eC=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,fdt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,WV=/(?:[*+-]|\d{1,9}[.)])/,Z4e=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,X4e=ai(Z4e).replace(/bull/g,WV).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),pdt=ai(Z4e).replace(/bull/g,WV).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),VV=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,hdt=/^[^\n]+/,qV=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,gdt=ai(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",qV).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),vdt=ai(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,WV).getRegex(),YD="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",GV=/|$))/,mdt=ai("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",GV).replace("tag",YD).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),J4e=ai(VV).replace("hr",eC).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",YD).getRegex(),ydt=ai(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",J4e).getRegex(),KV={blockquote:ydt,code:cdt,def:gdt,fences:ddt,heading:fdt,hr:eC,html:mdt,lheading:X4e,list:vdt,newline:udt,paragraph:J4e,table:a3,text:hdt},Cre=ai("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",eC).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",YD).getRegex(),bdt={...KV,lheading:pdt,table:Cre,paragraph:ai(VV).replace("hr",eC).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Cre).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",YD).getRegex()},wdt={...KV,html:ai(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",GV).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:a3,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ai(VV).replace("hr",eC).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",X4e).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Adt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Cdt=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,e3e=/^( {2,}|\\)\n(?!\s*$)/,xdt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,r3e=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,_dt=ai(r3e,"u").replace(/punct/g,QD).getRegex(),Ddt=ai(r3e,"u").replace(/punct/g,n3e).getRegex(),o3e="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Idt=ai(o3e,"gu").replace(/notPunctSpace/g,t3e).replace(/punctSpace/g,YV).replace(/punct/g,QD).getRegex(),Odt=ai(o3e,"gu").replace(/notPunctSpace/g,kdt).replace(/punctSpace/g,Edt).replace(/punct/g,n3e).getRegex(),Mdt=ai("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,t3e).replace(/punctSpace/g,YV).replace(/punct/g,QD).getRegex(),Pdt=ai(/\\(punct)/,"gu").replace(/punct/g,QD).getRegex(),Ndt=ai(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Rdt=ai(GV).replace("(?:-->|$)","-->").getRegex(),Bdt=ai("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Rdt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),YE=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ldt=ai(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",YE).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),i3e=ai(/^!?\[(label)\]\[(ref)\]/).replace("label",YE).replace("ref",qV).getRegex(),a3e=ai(/^!?\[(ref)\](?:\[\])?/).replace("ref",qV).getRegex(),Fdt=ai("reflink|nolink(?!\\()","g").replace("reflink",i3e).replace("nolink",a3e).getRegex(),xre=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,QV={_backpedal:a3,anyPunctuation:Pdt,autolink:Ndt,blockSkip:Tdt,br:e3e,code:Cdt,del:a3,emStrongLDelim:_dt,emStrongRDelimAst:Idt,emStrongRDelimUnd:Mdt,escape:Adt,link:Ldt,nolink:a3e,punctuation:Sdt,reflink:i3e,reflinkSearch:Fdt,tag:Bdt,text:xdt,url:a3},Udt={...QV,link:ai(/^!?\[(label)\]\((.*?)\)/).replace("label",YE).getRegex(),reflink:ai(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",YE).getRegex()},TF={...QV,emStrongRDelimAst:Odt,emStrongLDelim:Ddt,url:ai(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",xre).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:ai(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Sre=e=>$dt[e];function cd(e,t){if(t){if(ll.escapeTest.test(e))return e.replace(ll.escapeReplace,Sre)}else if(ll.escapeTestNoEncode.test(e))return e.replace(ll.escapeReplaceNoEncode,Sre);return e}function Ere(e){try{e=encodeURI(e).replace(ll.percentDecode,"%")}catch{return null}return e}function kre(e,t){let n=e.replace(ll.findPipe,(i,a,s)=>{let l=!1,u=a;for(;--u>=0&&s[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(ll.splitPipe),o=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length0?-2:-1}function Tre(e,t,n,r,o){let i=t.href,a=t.title||null,s=e[1].replace(o.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:i,title:a,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,l}function Hdt(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let o=r[1];return t.split(` `).map(i=>{let a=i.match(n.other.beginningSpace);if(a===null)return i;let[s]=a;return s.length>=o.length?i.slice(o.length):i}).join(` `)}var QE=class{options;rules;lexer;constructor(t){this.options=t||hm}space(t){let n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){let n=this.rules.block.code.exec(t);if(n){let r=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:G2(r,` `)}}}fences(t){let n=this.rules.block.fences.exec(t);if(n){let r=n[0],o=Hdt(r,n[3]||"",this.rules);return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:o}}}heading(t){let n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(this.rules.other.endingHash.test(r)){let o=G2(r,"#");(this.options.pedantic||!o||this.rules.other.endingSpaceChar.test(o))&&(r=o.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){let n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:G2(n[0],` `)}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let r=G2(n[0],` `).split(` `),o="",i="",a=[];for(;r.length>0;){let s=!1,l=[],u;for(u=0;u1,i={type:"list",raw:"",ordered:o,start:o?+r.slice(0,-1):"",loose:!1,items:[]};r=o?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=o?r:"[*+-]");let a=this.rules.other.listItemRegex(r),s=!1;for(;t;){let u=!1,d="",c="";if(!(n=a.exec(t))||this.rules.block.hr.test(t))break;d=n[0],t=t.substring(d.length);let f=n[2].split(` `,1)[0].replace(this.rules.other.listReplaceTabs,m=>" ".repeat(3*m.length)),p=t.split(` `,1)[0],v=!f.trim(),h=0;if(this.options.pedantic?(h=2,c=f.trimStart()):v?h=n[1].length+1:(h=n[2].search(this.rules.other.nonSpaceChar),h=h>4?1:h,c=f.slice(h),h+=n[1].length),v&&this.rules.other.blankLine.test(p)&&(d+=p+` `,t=t.substring(p.length+1),u=!0),!u){let m=this.rules.other.nextBulletRegex(h),b=this.rules.other.hrRegex(h),w=this.rules.other.fencesBeginRegex(h),A=this.rules.other.headingBeginRegex(h),S=this.rules.other.htmlBeginRegex(h);for(;t;){let E=t.split(` `,1)[0],D;if(p=E,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),D=p):D=p.replace(this.rules.other.tabCharGlobal," "),w.test(p)||A.test(p)||S.test(p)||m.test(p)||b.test(p))break;if(D.search(this.rules.other.nonSpaceChar)>=h||!p.trim())c+=` `+D.slice(h);else{if(v||f.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||w.test(f)||A.test(f)||b.test(f))break;c+=` `+p}!v&&!p.trim()&&(v=!0),d+=E+` `,t=t.substring(E.length+1),f=D.slice(h)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(s=!0));let g=null,y;this.options.gfm&&(g=this.rules.other.listIsTask.exec(c),g&&(y=g[0]!=="[ ] ",c=c.replace(this.rules.other.listReplaceTask,""))),i.items.push({type:"list_item",raw:d,task:!!g,checked:y,loose:!1,text:c,tokens:[]}),i.raw+=d}let l=i.items.at(-1);if(l)l.raw=l.raw.trimEnd(),l.text=l.text.trimEnd();else return;i.raw=i.raw.trimEnd();for(let u=0;uf.type==="space"),c=d.length>0&&d.some(f=>this.rules.other.anyLine.test(f.raw));i.loose=c}if(i.loose)for(let u=0;u({text:l,tokens:this.lexer.inline(l),header:!1,align:a.align[u]})));return a}}lheading(t){let n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){let n=this.rules.block.paragraph.exec(t);if(n){let r=n[1].charAt(n[1].length-1)===` `?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){let n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){let n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(t){let n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){let n=this.rules.inline.link.exec(t);if(n){let r=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let a=G2(r.slice(0,-1),"\\");if((r.length-a.length)%2===0)return}else{let a=jdt(n[2],"()");if(a===-2)return;if(a>-1){let s=(n[0].indexOf("!")===0?5:4)+n[1].length+a;n[2]=n[2].substring(0,a),n[0]=n[0].substring(0,s).trim(),n[3]=""}}let o=n[2],i="";if(this.options.pedantic){let a=this.rules.other.pedanticHrefTitle.exec(o);a&&(o=a[1],i=a[3])}else i=n[3]?n[3].slice(1,-1):"";return o=o.trim(),this.rules.other.startAngleBracket.test(o)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?o=o.slice(1):o=o.slice(1,-1)),Tre(n,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:i&&i.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let o=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),i=n[o.toLowerCase()];if(!i){let a=r[0].charAt(0);return{type:"text",raw:a,text:a}}return Tre(r,i,r[0],this.lexer,this.rules)}}emStrong(t,n,r=""){let o=this.rules.inline.emStrongLDelim.exec(t);if(!(!o||o[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(o[1]||o[2])||!r||this.rules.inline.punctuation.exec(r))){let i=[...o[0]].length-1,a,s,l=i,u=0,d=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(d.lastIndex=0,n=n.slice(-1*t.length+i);(o=d.exec(n))!=null;){if(a=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!a)continue;if(s=[...a].length,o[3]||o[4]){l+=s;continue}else if((o[5]||o[6])&&i%3&&!((i+s)%3)){u+=s;continue}if(l-=s,l>0)continue;s=Math.min(s,s+l+u);let c=[...o[0]][0].length,f=t.slice(0,i+o.index+c+s);if(Math.min(i,s)%2){let v=f.slice(1,-1);return{type:"em",raw:f,text:v,tokens:this.lexer.inlineTokens(v)}}let p=f.slice(2,-2);return{type:"strong",raw:f,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(t){let n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(this.rules.other.newLineCharGlobal," "),o=this.rules.other.nonSpaceChar.test(r),i=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return o&&i&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:n[0],text:r}}}br(t){let n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){let n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){let n=this.rules.inline.autolink.exec(t);if(n){let r,o;return n[2]==="@"?(r=n[1],o="mailto:"+r):(r=n[1],o=r),{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let n;if(n=this.rules.inline.url.exec(t)){let r,o;if(n[2]==="@")r=n[0],o="mailto:"+r;else{let i;do i=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(i!==n[0]);r=n[0],n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:r,href:o,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){let n=this.rules.inline.text.exec(t);if(n){let r=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:r}}}},Cc=class _F{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||hm,this.options.tokenizer=this.options.tokenizer||new QE,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:ll,block:Vx.normal,inline:q2.normal};this.options.pedantic?(n.block=Vx.pedantic,n.inline=q2.pedantic):this.options.gfm&&(n.block=Vx.gfm,this.options.breaks?n.inline=q2.breaks:n.inline=q2.gfm),this.tokenizer.rules=n}static get rules(){return{block:Vx,inline:q2}}static lex(t,n){return new _F(n).lex(t)}static lexInline(t,n){return new _F(n).inlineTokens(t)}lex(t){t=t.replace(ll.carriageReturn,` `),this.blockTokens(t,this.tokens);for(let n=0;n(o=a.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))continue;if(o=this.tokenizer.space(t)){t=t.substring(o.raw.length);let a=n.at(-1);o.raw.length===1&&a!==void 0?a.raw+=` `:n.push(o);continue}if(o=this.tokenizer.code(t)){t=t.substring(o.raw.length);let a=n.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(` `)?"":` `)+o.raw,a.text+=` `+o.text,this.inlineQueue.at(-1).src=a.text):n.push(o);continue}if(o=this.tokenizer.fences(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.heading(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.hr(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.blockquote(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.list(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.html(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.def(t)){t=t.substring(o.raw.length);let a=n.at(-1);a?.type==="paragraph"||a?.type==="text"?(a.raw+=(a.raw.endsWith(` `)?"":` `)+o.raw,a.text+=` `+o.raw,this.inlineQueue.at(-1).src=a.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title},n.push(o));continue}if(o=this.tokenizer.table(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.lheading(t)){t=t.substring(o.raw.length),n.push(o);continue}let i=t;if(this.options.extensions?.startBlock){let a=1/0,s=t.slice(1),l;this.options.extensions.startBlock.forEach(u=>{l=u.call({lexer:this},s),typeof l=="number"&&l>=0&&(a=Math.min(a,l))}),a<1/0&&a>=0&&(i=t.substring(0,a+1))}if(this.state.top&&(o=this.tokenizer.paragraph(i))){let a=n.at(-1);r&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(` `)?"":` `)+o.raw,a.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):n.push(o),r=i.length!==t.length,t=t.substring(o.raw.length);continue}if(o=this.tokenizer.text(t)){t=t.substring(o.raw.length);let a=n.at(-1);a?.type==="text"?(a.raw+=(a.raw.endsWith(` `)?"":` `)+o.raw,a.text+=` `+o.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):n.push(o);continue}if(t){let a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,o=null;if(this.tokens.links){let s=Object.keys(this.tokens.links);if(s.length>0)for(;(o=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)s.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(o=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,o.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(o=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,a="";for(;t;){i||(a=""),i=!1;let s;if(this.options.extensions?.inline?.some(u=>(s=u.call({lexer:this},t,n))?(t=t.substring(s.raw.length),n.push(s),!0):!1))continue;if(s=this.tokenizer.escape(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.tag(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.link(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(s.raw.length);let u=n.at(-1);s.type==="text"&&u?.type==="text"?(u.raw+=s.raw,u.text+=s.text):n.push(s);continue}if(s=this.tokenizer.emStrong(t,r,a)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.codespan(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.br(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.del(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.autolink(t)){t=t.substring(s.raw.length),n.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(t))){t=t.substring(s.raw.length),n.push(s);continue}let l=t;if(this.options.extensions?.startInline){let u=1/0,d=t.slice(1),c;this.options.extensions.startInline.forEach(f=>{c=f.call({lexer:this},d),typeof c=="number"&&c>=0&&(u=Math.min(u,c))}),u<1/0&&u>=0&&(l=t.substring(0,u+1))}if(s=this.tokenizer.inlineText(l)){t=t.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(a=s.raw.slice(-1)),i=!0;let u=n.at(-1);u?.type==="text"?(u.raw+=s.raw,u.text+=s.text):n.push(s);continue}if(t){let u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}},ZE=class{options;parser;constructor(t){this.options=t||hm}space(t){return""}code({text:t,lang:n,escaped:r}){let o=(n||"").match(ll.notSpaceStart)?.[0],i=t.replace(ll.endingNewline,"")+` `;return o?'
'+(r?i:cd(i,!0))+`
`:"
"+(r?i:cd(i,!0))+`
`}blockquote({tokens:t}){return`
${this.parser.parse(t)}
`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`${this.parser.parseInline(t)} `}hr(t){return`
`}list(t){let n=t.ordered,r=t.start,o="";for(let s=0;s `+o+" `}listitem(t){let n="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+cd(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`
  • ${n}
  • `}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    `}table(t){let n="",r="";for(let i=0;i${o}`),` `+n+` `+o+`
    `}tablerow({text:t}){return` ${t} `}tablecell(t){let n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+` `}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${cd(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:n,tokens:r}){let o=this.parser.parseInline(r),i=Ere(t);if(i===null)return o;t=i;let a='
    ",a}image({href:t,title:n,text:r,tokens:o}){o&&(r=this.parser.parseInline(o,this.parser.textRenderer));let i=Ere(t);if(i===null)return cd(r);t=i;let a=`${r}{let s=i[a].flat(1/0);r=r.concat(this.walkTokens(s,n))}):i.tokens&&(r=r.concat(this.walkTokens(i.tokens,n)))}}return r}use(...t){let n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{let o={...r};if(o.async=this.defaults.async||o.async||!1,r.extensions&&(r.extensions.forEach(i=>{if(!i.name)throw new Error("extension name required");if("renderer"in i){let a=n.renderers[i.name];a?n.renderers[i.name]=function(...s){let l=i.renderer.apply(this,s);return l===!1&&(l=a.apply(this,s)),l}:n.renderers[i.name]=i.renderer}if("tokenizer"in i){if(!i.level||i.level!=="block"&&i.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let a=n[i.level];a?a.unshift(i.tokenizer):n[i.level]=[i.tokenizer],i.start&&(i.level==="block"?n.startBlock?n.startBlock.push(i.start):n.startBlock=[i.start]:i.level==="inline"&&(n.startInline?n.startInline.push(i.start):n.startInline=[i.start]))}"childTokens"in i&&i.childTokens&&(n.childTokens[i.name]=i.childTokens)}),o.extensions=n),r.renderer){let i=this.defaults.renderer||new ZE(this.defaults);for(let a in r.renderer){if(!(a in i))throw new Error(`renderer '${a}' does not exist`);if(["options","parser"].includes(a))continue;let s=a,l=r.renderer[s],u=i[s];i[s]=(...d)=>{let c=l.apply(i,d);return c===!1&&(c=u.apply(i,d)),c||""}}o.renderer=i}if(r.tokenizer){let i=this.defaults.tokenizer||new QE(this.defaults);for(let a in r.tokenizer){if(!(a in i))throw new Error(`tokenizer '${a}' does not exist`);if(["options","rules","lexer"].includes(a))continue;let s=a,l=r.tokenizer[s],u=i[s];i[s]=(...d)=>{let c=l.apply(i,d);return c===!1&&(c=u.apply(i,d)),c}}o.tokenizer=i}if(r.hooks){let i=this.defaults.hooks||new T4;for(let a in r.hooks){if(!(a in i))throw new Error(`hook '${a}' does not exist`);if(["options","block"].includes(a))continue;let s=a,l=r.hooks[s],u=i[s];T4.passThroughHooks.has(a)?i[s]=d=>{if(this.defaults.async&&T4.passThroughHooksRespectAsync.has(a))return(async()=>{let f=await l.call(i,d);return u.call(i,f)})();let c=l.call(i,d);return u.call(i,c)}:i[s]=(...d)=>{if(this.defaults.async)return(async()=>{let f=await l.apply(i,d);return f===!1&&(f=await u.apply(i,d)),f})();let c=l.apply(i,d);return c===!1&&(c=u.apply(i,d)),c}}o.hooks=i}if(r.walkTokens){let i=this.defaults.walkTokens,a=r.walkTokens;o.walkTokens=function(s){let l=[];return l.push(a.call(this,s)),i&&(l=l.concat(i.call(this,s))),l}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Cc.lex(t,n??this.defaults)}parser(t,n){return xc.parse(t,n??this.defaults)}parseMarkdown(t){return(n,r)=>{let o={...r},i={...this.defaults,...o},a=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&o.async===!1)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof n>"u"||n===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof n!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=t),i.async)return(async()=>{let s=i.hooks?await i.hooks.preprocess(n):n,l=await(i.hooks?await i.hooks.provideLexer():t?Cc.lex:Cc.lexInline)(s,i),u=i.hooks?await i.hooks.processAllTokens(l):l;i.walkTokens&&await Promise.all(this.walkTokens(u,i.walkTokens));let d=await(i.hooks?await i.hooks.provideParser():t?xc.parse:xc.parseInline)(u,i);return i.hooks?await i.hooks.postprocess(d):d})().catch(a);try{i.hooks&&(n=i.hooks.preprocess(n));let s=(i.hooks?i.hooks.provideLexer():t?Cc.lex:Cc.lexInline)(n,i);i.hooks&&(s=i.hooks.processAllTokens(s)),i.walkTokens&&this.walkTokens(s,i.walkTokens);let l=(i.hooks?i.hooks.provideParser():t?xc.parse:xc.parseInline)(s,i);return i.hooks&&(l=i.hooks.postprocess(l)),l}catch(s){return a(s)}}}onError(t,n){return r=>{if(r.message+=` Please report this to https://github.com/markedjs/marked.`,t){let o="

    An error occurred:

    "+cd(r.message+"",!0)+"
    ";return n?Promise.resolve(o):o}if(n)return Promise.reject(r);throw r}}},$v=new Wdt;function ui(e,t){return $v.parse(e,t)}ui.options=ui.setOptions=function(e){return $v.setOptions(e),ui.defaults=$v.defaults,Q4e(ui.defaults),ui};ui.getDefaults=HV;ui.defaults=hm;ui.use=function(...e){return $v.use(...e),ui.defaults=$v.defaults,Q4e(ui.defaults),ui};ui.walkTokens=function(e,t){return $v.walkTokens(e,t)};ui.parseInline=$v.parseInline;ui.Parser=xc;ui.parser=xc.parse;ui.Renderer=ZE;ui.TextRenderer=ZV;ui.Lexer=Cc;ui.lexer=Cc.lex;ui.Tokenizer=QE;ui.Hooks=T4;ui.parse=ui;ui.options;ui.setOptions;ui.use;ui.walkTokens;ui.parseInline;xc.parse;Cc.lex;/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */const{entries:s3e,setPrototypeOf:_re,isFrozen:Vdt,getPrototypeOf:qdt,getOwnPropertyDescriptor:Gdt}=Object;let{freeze:gl,seal:nc,create:IF}=Object,{apply:OF,construct:MF}=typeof Reflect<"u"&&Reflect;gl||(gl=function(t){return t});nc||(nc=function(t){return t});OF||(OF=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i1?n-1:0),o=1;o1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:g8;_re&&_re(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const i=n(o);i!==o&&(Vdt(t)||(t[r]=i),o=i)}e[o]=!0}return e}function Jdt(e){for(let t=0;t/gm),oft=nc(/\$\{[\w\W]*/gm),ift=nc(/^data-[\-\w.\u00B7-\uFFFF]+$/),aft=nc(/^aria-[\-\w]+$/),l3e=nc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sft=nc(/^(?:\w+script|data):/i),lft=nc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),u3e=nc(/^html$/i),uft=nc(/^[a-z][.\w]*(-[.\w]+)+$/i);var Nre=Object.freeze({__proto__:null,ARIA_ATTR:aft,ATTR_WHITESPACE:lft,CUSTOM_ELEMENT:uft,DATA_ATTR:ift,DOCTYPE_NAME:u3e,ERB_EXPR:rft,IS_ALLOWED_URI:l3e,IS_SCRIPT_OR_DATA:sft,MUSTACHE_EXPR:nft,TMPLIT_EXPR:oft});const X2={element:1,text:3,progressingInstruction:7,comment:8,document:9},cft=function(){return typeof window>"u"?null:window},dft=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},Rre=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function c3e(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:cft();const t=kn=>c3e(kn);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==X2.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:c,DOMParser:f,trustedTypes:p}=e,v=l.prototype,h=Z2(v,"cloneNode"),g=Z2(v,"remove"),y=Z2(v,"nextSibling"),m=Z2(v,"childNodes"),b=Z2(v,"parentNode");if(typeof a=="function"){const kn=n.createElement("template");kn.content&&kn.content.ownerDocument&&(n=kn.content.ownerDocument)}let w,A="";const{implementation:S,createNodeIterator:E,createDocumentFragment:D,getElementsByTagName:_}=n,{importNode:M}=r;let O=Rre();t.isSupported=typeof s3e=="function"&&typeof b=="function"&&S&&S.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:k,ERB_EXPR:R,TMPLIT_EXPR:N,DATA_ATTR:W,ARIA_ATTR:B,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:j,CUSTOM_ELEMENT:q}=Nre;let{IS_ALLOWED_URI:Y}=Nre,U=null;const F=Fo({},[...Ire,...GO,...KO,...YO,...Ore]);let H=null;const re=Fo({},[...Mre,...QO,...Pre,...Gx]);let X=Object.seal(IF(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),te=null,Z=null;const le=Object.seal(IF(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ve=!0,Pe=!0,Ae=!1,he=!0,Ee=!1,Q=!0,me=!1,De=!1,pe=!1,ie=!1,ue=!1,Be=!1,Me=!0,Fe=!1;const ze="user-content-";let Ne=!0,Re=!1,gt={},Bt=null;const Lt=Fo({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let an=null;const Kt=Fo({},["audio","video","img","source","image","track"]);let Ht=null;const pt=Fo({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Dt="http://www.w3.org/1998/Math/MathML",dt="http://www.w3.org/2000/svg",it="http://www.w3.org/1999/xhtml";let de=it,tt=!1,ft=null;const Mt=Fo({},[Dt,dt,it],VO);let Tn=Fo({},["mi","mo","mn","ms","mtext"]),Nn=Fo({},["annotation-xml"]);const We=Fo({},["title","style","font","a","script"]);let ke=null;const be=["application/xhtml+xml","text/html"],fe="text/html";let Se=null,qe=null;const $e=n.createElement("form"),Le=function(Ye){return Ye instanceof RegExp||Ye instanceof Function},ot=function(){let Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(qe&&qe===Ye)){if((!Ye||typeof Ye!="object")&&(Ye={}),Ye=Cf(Ye),ke=be.indexOf(Ye.PARSER_MEDIA_TYPE)===-1?fe:Ye.PARSER_MEDIA_TYPE,Se=ke==="application/xhtml+xml"?VO:g8,U=yc(Ye,"ALLOWED_TAGS")?Fo({},Ye.ALLOWED_TAGS,Se):F,H=yc(Ye,"ALLOWED_ATTR")?Fo({},Ye.ALLOWED_ATTR,Se):re,ft=yc(Ye,"ALLOWED_NAMESPACES")?Fo({},Ye.ALLOWED_NAMESPACES,VO):Mt,Ht=yc(Ye,"ADD_URI_SAFE_ATTR")?Fo(Cf(pt),Ye.ADD_URI_SAFE_ATTR,Se):pt,an=yc(Ye,"ADD_DATA_URI_TAGS")?Fo(Cf(Kt),Ye.ADD_DATA_URI_TAGS,Se):Kt,Bt=yc(Ye,"FORBID_CONTENTS")?Fo({},Ye.FORBID_CONTENTS,Se):Lt,te=yc(Ye,"FORBID_TAGS")?Fo({},Ye.FORBID_TAGS,Se):Cf({}),Z=yc(Ye,"FORBID_ATTR")?Fo({},Ye.FORBID_ATTR,Se):Cf({}),gt=yc(Ye,"USE_PROFILES")?Ye.USE_PROFILES:!1,ve=Ye.ALLOW_ARIA_ATTR!==!1,Pe=Ye.ALLOW_DATA_ATTR!==!1,Ae=Ye.ALLOW_UNKNOWN_PROTOCOLS||!1,he=Ye.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ee=Ye.SAFE_FOR_TEMPLATES||!1,Q=Ye.SAFE_FOR_XML!==!1,me=Ye.WHOLE_DOCUMENT||!1,ie=Ye.RETURN_DOM||!1,ue=Ye.RETURN_DOM_FRAGMENT||!1,Be=Ye.RETURN_TRUSTED_TYPE||!1,pe=Ye.FORCE_BODY||!1,Me=Ye.SANITIZE_DOM!==!1,Fe=Ye.SANITIZE_NAMED_PROPS||!1,Ne=Ye.KEEP_CONTENT!==!1,Re=Ye.IN_PLACE||!1,Y=Ye.ALLOWED_URI_REGEXP||l3e,de=Ye.NAMESPACE||it,Tn=Ye.MATHML_TEXT_INTEGRATION_POINTS||Tn,Nn=Ye.HTML_INTEGRATION_POINTS||Nn,X=Ye.CUSTOM_ELEMENT_HANDLING||{},Ye.CUSTOM_ELEMENT_HANDLING&&Le(Ye.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(X.tagNameCheck=Ye.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ye.CUSTOM_ELEMENT_HANDLING&&Le(Ye.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(X.attributeNameCheck=Ye.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ye.CUSTOM_ELEMENT_HANDLING&&typeof Ye.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(X.allowCustomizedBuiltInElements=Ye.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ee&&(Pe=!1),ue&&(ie=!0),gt&&(U=Fo({},Ore),H=[],gt.html===!0&&(Fo(U,Ire),Fo(H,Mre)),gt.svg===!0&&(Fo(U,GO),Fo(H,QO),Fo(H,Gx)),gt.svgFilters===!0&&(Fo(U,KO),Fo(H,QO),Fo(H,Gx)),gt.mathMl===!0&&(Fo(U,YO),Fo(H,Pre),Fo(H,Gx))),Ye.ADD_TAGS&&(typeof Ye.ADD_TAGS=="function"?le.tagCheck=Ye.ADD_TAGS:(U===F&&(U=Cf(U)),Fo(U,Ye.ADD_TAGS,Se))),Ye.ADD_ATTR&&(typeof Ye.ADD_ATTR=="function"?le.attributeCheck=Ye.ADD_ATTR:(H===re&&(H=Cf(H)),Fo(H,Ye.ADD_ATTR,Se))),Ye.ADD_URI_SAFE_ATTR&&Fo(Ht,Ye.ADD_URI_SAFE_ATTR,Se),Ye.FORBID_CONTENTS&&(Bt===Lt&&(Bt=Cf(Bt)),Fo(Bt,Ye.FORBID_CONTENTS,Se)),Ne&&(U["#text"]=!0),me&&Fo(U,["html","head","body"]),U.table&&(Fo(U,["tbody"]),delete te.tbody),Ye.TRUSTED_TYPES_POLICY){if(typeof Ye.TRUSTED_TYPES_POLICY.createHTML!="function")throw Q2('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ye.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Q2('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=Ye.TRUSTED_TYPES_POLICY,A=w.createHTML("")}else w===void 0&&(w=dft(p,o)),w!==null&&typeof A=="string"&&(A=w.createHTML(""));gl&&gl(Ye),qe=Ye}},vt=Fo({},[...GO,...KO,...eft]),Ut=Fo({},[...YO,...tft]),Qt=function(Ye){let At=b(Ye);(!At||!At.tagName)&&(At={namespaceURI:de,tagName:"template"});const tn=g8(Ye.tagName),Ct=g8(At.tagName);return ft[Ye.namespaceURI]?Ye.namespaceURI===dt?At.namespaceURI===it?tn==="svg":At.namespaceURI===Dt?tn==="svg"&&(Ct==="annotation-xml"||Tn[Ct]):!!vt[tn]:Ye.namespaceURI===Dt?At.namespaceURI===it?tn==="math":At.namespaceURI===dt?tn==="math"&&Nn[Ct]:!!Ut[tn]:Ye.namespaceURI===it?At.namespaceURI===dt&&!Nn[Ct]||At.namespaceURI===Dt&&!Tn[Ct]?!1:!Ut[tn]&&(We[tn]||!vt[tn]):!!(ke==="application/xhtml+xml"&&ft[Ye.namespaceURI]):!1},Gt=function(Ye){K2(t.removed,{element:Ye});try{b(Ye).removeChild(Ye)}catch{g(Ye)}},vn=function(Ye,At){try{K2(t.removed,{attribute:At.getAttributeNode(Ye),from:At})}catch{K2(t.removed,{attribute:null,from:At})}if(At.removeAttribute(Ye),Ye==="is")if(ie||ue)try{Gt(At)}catch{}else try{At.setAttribute(Ye,"")}catch{}},Un=function(Ye){let At=null,tn=null;if(pe)Ye=""+Ye;else{const yn=qO(Ye,/^[\r\n\t ]+/);tn=yn&&yn[0]}ke==="application/xhtml+xml"&&de===it&&(Ye=''+Ye+"");const Ct=w?w.createHTML(Ye):Ye;if(de===it)try{At=new f().parseFromString(Ct,ke)}catch{}if(!At||!At.documentElement){At=S.createDocument(de,"template",null);try{At.documentElement.innerHTML=tt?A:Ct}catch{}}const Xt=At.body||At.documentElement;return Ye&&tn&&Xt.insertBefore(n.createTextNode(tn),Xt.childNodes[0]||null),de===it?_.call(At,me?"html":"body")[0]:me?At.documentElement:Xt},wr=function(Ye){return E.call(Ye.ownerDocument||Ye,Ye,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},fr=function(Ye){return Ye instanceof c&&(typeof Ye.nodeName!="string"||typeof Ye.textContent!="string"||typeof Ye.removeChild!="function"||!(Ye.attributes instanceof d)||typeof Ye.removeAttribute!="function"||typeof Ye.setAttribute!="function"||typeof Ye.namespaceURI!="string"||typeof Ye.insertBefore!="function"||typeof Ye.hasChildNodes!="function")},Nt=function(Ye){return typeof s=="function"&&Ye instanceof s};function _n(kn,Ye,At){qx(kn,tn=>{tn.call(t,Ye,At,qe)})}const xt=function(Ye){let At=null;if(_n(O.beforeSanitizeElements,Ye,null),fr(Ye))return Gt(Ye),!0;const tn=Se(Ye.nodeName);if(_n(O.uponSanitizeElement,Ye,{tagName:tn,allowedTags:U}),Q&&Ye.hasChildNodes()&&!Nt(Ye.firstElementChild)&&el(/<[/\w!]/g,Ye.innerHTML)&&el(/<[/\w!]/g,Ye.textContent)||Ye.nodeType===X2.progressingInstruction||Q&&Ye.nodeType===X2.comment&&el(/<[/\w]/g,Ye.data))return Gt(Ye),!0;if(!(le.tagCheck instanceof Function&&le.tagCheck(tn))&&(!U[tn]||te[tn])){if(!te[tn]&&Sn(tn)&&(X.tagNameCheck instanceof RegExp&&el(X.tagNameCheck,tn)||X.tagNameCheck instanceof Function&&X.tagNameCheck(tn)))return!1;if(Ne&&!Bt[tn]){const Ct=b(Ye)||Ye.parentNode,Xt=m(Ye)||Ye.childNodes;if(Xt&&Ct){const yn=Xt.length;for(let Ln=yn-1;Ln>=0;--Ln){const Zn=h(Xt[Ln],!0);Zn.__removalCount=(Ye.__removalCount||0)+1,Ct.insertBefore(Zn,y(Ye))}}}return Gt(Ye),!0}return Ye instanceof l&&!Qt(Ye)||(tn==="noscript"||tn==="noembed"||tn==="noframes")&&el(/<\/no(script|embed|frames)/i,Ye.innerHTML)?(Gt(Ye),!0):(Ee&&Ye.nodeType===X2.text&&(At=Ye.textContent,qx([k,R,N],Ct=>{At=Y2(At,Ct," ")}),Ye.textContent!==At&&(K2(t.removed,{element:Ye.cloneNode()}),Ye.textContent=At)),_n(O.afterSanitizeElements,Ye,null),!1)},Ft=function(Ye,At,tn){if(Me&&(At==="id"||At==="name")&&(tn in n||tn in $e))return!1;if(!(Pe&&!Z[At]&&el(W,At))){if(!(ve&&el(B,At))){if(!(le.attributeCheck instanceof Function&&le.attributeCheck(At,Ye))){if(!H[At]||Z[At]){if(!(Sn(Ye)&&(X.tagNameCheck instanceof RegExp&&el(X.tagNameCheck,Ye)||X.tagNameCheck instanceof Function&&X.tagNameCheck(Ye))&&(X.attributeNameCheck instanceof RegExp&&el(X.attributeNameCheck,At)||X.attributeNameCheck instanceof Function&&X.attributeNameCheck(At,Ye))||At==="is"&&X.allowCustomizedBuiltInElements&&(X.tagNameCheck instanceof RegExp&&el(X.tagNameCheck,tn)||X.tagNameCheck instanceof Function&&X.tagNameCheck(tn))))return!1}else if(!Ht[At]){if(!el(Y,Y2(tn,j,""))){if(!((At==="src"||At==="xlink:href"||At==="href")&&Ye!=="script"&&Qdt(tn,"data:")===0&&an[Ye])){if(!(Ae&&!el(z,Y2(tn,j,"")))){if(tn)return!1}}}}}}}return!0},Sn=function(Ye){return Ye!=="annotation-xml"&&qO(Ye,q)},Bn=function(Ye){_n(O.beforeSanitizeAttributes,Ye,null);const{attributes:At}=Ye;if(!At||fr(Ye))return;const tn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0};let Ct=At.length;for(;Ct--;){const Xt=At[Ct],{name:yn,namespaceURI:Ln,value:Zn}=Xt,jr=Se(yn),yo=Zn;let Kr=yn==="value"?yo:Zdt(yo);if(tn.attrName=jr,tn.attrValue=Kr,tn.keepAttr=!0,tn.forceKeepAttr=void 0,_n(O.uponSanitizeAttribute,Ye,tn),Kr=tn.attrValue,Fe&&(jr==="id"||jr==="name")&&(vn(yn,Ye),Kr=ze+Kr),Q&&el(/((--!?|])>)|<\/(style|title|textarea)/i,Kr)){vn(yn,Ye);continue}if(jr==="attributename"&&qO(Kr,"href")){vn(yn,Ye);continue}if(tn.forceKeepAttr)continue;if(!tn.keepAttr){vn(yn,Ye);continue}if(!he&&el(/\/>/i,Kr)){vn(yn,Ye);continue}Ee&&qx([k,R,N],zo=>{Kr=Y2(Kr,zo," ")});const xo=Se(Ye.nodeName);if(!Ft(xo,jr,Kr)){vn(yn,Ye);continue}if(w&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!Ln)switch(p.getAttributeType(xo,jr)){case"TrustedHTML":{Kr=w.createHTML(Kr);break}case"TrustedScriptURL":{Kr=w.createScriptURL(Kr);break}}if(Kr!==yo)try{Ln?Ye.setAttributeNS(Ln,yn,Kr):Ye.setAttribute(yn,Kr),fr(Ye)?Gt(Ye):Dre(t.removed)}catch{vn(yn,Ye)}}_n(O.afterSanitizeAttributes,Ye,null)},Fr=function kn(Ye){let At=null;const tn=wr(Ye);for(_n(O.beforeSanitizeShadowDOM,Ye,null);At=tn.nextNode();)_n(O.uponSanitizeShadowNode,At,null),xt(At),Bn(At),At.content instanceof i&&kn(At.content);_n(O.afterSanitizeShadowDOM,Ye,null)};return t.sanitize=function(kn){let Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},At=null,tn=null,Ct=null,Xt=null;if(tt=!kn,tt&&(kn=""),typeof kn!="string"&&!Nt(kn))if(typeof kn.toString=="function"){if(kn=kn.toString(),typeof kn!="string")throw Q2("dirty is not a string, aborting")}else throw Q2("toString is not a function");if(!t.isSupported)return kn;if(De||ot(Ye),t.removed=[],typeof kn=="string"&&(Re=!1),Re){if(kn.nodeName){const Zn=Se(kn.nodeName);if(!U[Zn]||te[Zn])throw Q2("root node is forbidden and cannot be sanitized in-place")}}else if(kn instanceof s)At=Un(""),tn=At.ownerDocument.importNode(kn,!0),tn.nodeType===X2.element&&tn.nodeName==="BODY"||tn.nodeName==="HTML"?At=tn:At.appendChild(tn);else{if(!ie&&!Ee&&!me&&kn.indexOf("<")===-1)return w&&Be?w.createHTML(kn):kn;if(At=Un(kn),!At)return ie?null:Be?A:""}At&&pe&&Gt(At.firstChild);const yn=wr(Re?kn:At);for(;Ct=yn.nextNode();)xt(Ct),Bn(Ct),Ct.content instanceof i&&Fr(Ct.content);if(Re)return kn;if(ie){if(ue)for(Xt=D.call(At.ownerDocument);At.firstChild;)Xt.appendChild(At.firstChild);else Xt=At;return(H.shadowroot||H.shadowrootmode)&&(Xt=M.call(r,Xt,!0)),Xt}let Ln=me?At.outerHTML:At.innerHTML;return me&&U["!doctype"]&&At.ownerDocument&&At.ownerDocument.doctype&&At.ownerDocument.doctype.name&&el(u3e,At.ownerDocument.doctype.name)&&(Ln=" `+Ln),Ee&&qx([k,R,N],Zn=>{Ln=Y2(Ln,Zn," ")}),w&&Be?w.createHTML(Ln):Ln},t.setConfig=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ot(kn),De=!0},t.clearConfig=function(){qe=null,De=!1},t.isValidAttribute=function(kn,Ye,At){qe||ot({});const tn=Se(kn),Ct=Se(Ye);return Ft(tn,Ct,At)},t.addHook=function(kn,Ye){typeof Ye=="function"&&K2(O[kn],Ye)},t.removeHook=function(kn,Ye){if(Ye!==void 0){const At=Kdt(O[kn],Ye);return At===-1?void 0:Ydt(O[kn],At,1)[0]}return Dre(O[kn])},t.removeHooks=function(kn){O[kn]=[]},t.removeAllHooks=function(){O=Rre()},t}var fft=c3e();class Tl{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Tl(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class fu{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new fu(n,Tl.range(this,t))}}class Gn{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,o,i,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;o=a.start,i=a.end,o===s.length?r+=" at end of input: ":r+=" at position "+(o+1)+": ";var l=s.slice(o,i).replace(/[^]/g,"$&̲"),u;o>15?u="…"+s.slice(o-15,o):u=s.slice(0,o);var d;i+15":">","<":"<",'"':""","'":"'"},mft=/[&><"']/g;function yft(e){return String(e).replace(mft,t=>vft[t])}var d3e=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},bft=function(t){var n=d3e(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},wft=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Aft=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},ei={deflt:pft,escape:yft,hyphenate:gft,getBaseElem:d3e,isCharacterBox:bft,protocolFromUrl:Aft},v8={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Cft(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class XV{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in v8)if(v8.hasOwnProperty(n)){var r=v8[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:Cft(r)}}reportNonstrict(t,n,r){var o=this.strict;if(typeof o=="function"&&(o=o(t,n,r)),!(!o||o==="ignore")){if(o===!0||o==="error")throw new Gn("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);o==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+o+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var o=this.strict;if(typeof o=="function")try{o=o(t,n,r)}catch{o="error"}return!o||o==="ignore"?!1:o===!0||o==="error"?!0:o==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+o+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=ei.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Fp{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return md[xft[this.id]]}sub(){return md[Sft[this.id]]}fracNum(){return md[Eft[this.id]]}fracDen(){return md[kft[this.id]]}cramp(){return md[Tft[this.id]]}text(){return md[_ft[this.id]]}isTight(){return this.size>=2}}var JV=0,XE=1,fy=2,Hf=3,AA=4,ju=5,Yy=6,ul=7,md=[new Fp(JV,0,!1),new Fp(XE,0,!0),new Fp(fy,1,!1),new Fp(Hf,1,!0),new Fp(AA,2,!1),new Fp(ju,2,!0),new Fp(Yy,3,!1),new Fp(ul,3,!0)],xft=[AA,ju,AA,ju,Yy,ul,Yy,ul],Sft=[ju,ju,ju,ju,ul,ul,ul,ul],Eft=[fy,Hf,AA,ju,Yy,ul,Yy,ul],kft=[Hf,Hf,ju,ju,ul,ul,ul,ul],Tft=[XE,XE,Hf,Hf,ju,ju,ul,ul],_ft=[JV,XE,fy,Hf,fy,Hf,fy,Hf],Zr={DISPLAY:md[JV],TEXT:md[fy],SCRIPT:md[AA],SCRIPTSCRIPT:md[Yy]},PF=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Dft(e){for(var t=0;t=o[0]&&e<=o[1])return n.name}return null}var m8=[];PF.forEach(e=>e.blocks.forEach(t=>m8.push(...t)));function f3e(e){for(var t=0;t=m8[t]&&e<=m8[t+1])return!0;return!1}var Vm=80,Ift=function(t,n){return"M95,"+(622+t+n)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+t/2.075+" -"+t+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+t)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Oft=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+t/2.084+" -"+t+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+t)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Mft=function(t,n){return"M983 "+(10+t+n)+` l`+t/3.13+" -"+t+` c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Pft=function(t,n){return"M424,"+(2398+t+n)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+t)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` h400000v`+(40+t)+"h-400000z"},Nft=function(t,n){return"M473,"+(2713+t+n)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},Rft=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},Bft=function(t,n,r){var o=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` H742v`+o+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Lft=function(t,n,r){n=1e3*n;var o="";switch(t){case"sqrtMain":o=Ift(n,Vm);break;case"sqrtSize1":o=Oft(n,Vm);break;case"sqrtSize2":o=Mft(n,Vm);break;case"sqrtSize3":o=Pft(n,Vm);break;case"sqrtSize4":o=Nft(n,Vm);break;case"sqrtTall":o=Bft(n,Vm,r)}return o},Fft=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},Bre={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Uft=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z M347 1759 V0 h-84 V1759 v`+n+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class tC{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),n=0;nn.toText();return this.children.map(t).join("")}}var kd={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Kx={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Lre={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function zft(e,t){kd[e]=t}function eq(e,t,n){if(!kd[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),o=kd[t][r];if(!o&&e[0]in Lre&&(r=Lre[e[0]].charCodeAt(0),o=kd[t][r]),!o&&n==="text"&&f3e(r)&&(o=kd[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var ZO={};function $ft(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ZO[t]){var n=ZO[t]={cssEmPerMu:Kx.quad[t]/18};for(var r in Kx)Kx.hasOwnProperty(r)&&(n[r]=Kx[r][t])}return ZO[t]}var jft=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Fre=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ure=function(t,n){return n.size<2?t:jft[t-1][n.size-1]};class kf{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||kf.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Fre[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new kf(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ure(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Fre[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=Ure(kf.BASESIZE,t);return this.size===n&&this.textSize===kf.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==kf.BASESIZE?["sizing","reset-size"+this.size,"size"+kf.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=$ft(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}kf.BASESIZE=6;var NF={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Hft={ex:!0,em:!0,mu:!0},p3e=function(t){return typeof t!="string"&&(t=t.unit),t in NF||t in Hft||t==="ex"},ca=function(t,n){var r;if(t.unit in NF)r=NF[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var o;if(n.style.isTight()?o=n.havingStyle(n.style.text()):o=n,t.unit==="ex")r=o.fontMetrics().xHeight;else if(t.unit==="em")r=o.fontMetrics().quad;else throw new Gn("Invalid unit: '"+t.unit+"'");o!==n&&(r*=o.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},tr=function(t){return+t.toFixed(4)+"em"},g0=function(t){return t.filter(n=>n).join(" ")},h3e=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var o=n.getColor();o&&(this.style.color=o)}},g3e=function(t){var n=document.createElement(t);n.className=g0(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&n.setAttribute(o,this.attributes[o]);for(var i=0;i/=\x00-\x1f]/,v3e=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+ei.escape(g0(this.classes))+'"');var r="";for(var o in this.style)this.style.hasOwnProperty(o)&&(r+=ei.hyphenate(o)+":"+this.style[o]+";");r&&(n+=' style="'+ei.escape(r)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(Wft.test(i))throw new Gn("Invalid attribute name '"+i+"'");n+=" "+i+'="'+ei.escape(this.attributes[i])+'"'}n+=">";for(var a=0;a",n};class nC{constructor(t,n,r,o){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,h3e.call(this,t,r,o),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return g3e.call(this,"span")}toMarkup(){return v3e.call(this,"span")}}class tq{constructor(t,n,r,o){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,h3e.call(this,n,o),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return g3e.call(this,"a")}toMarkup(){return v3e.call(this,"a")}}class Vft{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t=''+ei.escape(this.alt)+'0&&(n=document.createElement("span"),n.style.marginRight=tr(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=g0(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="0&&(r+="margin-right:"+this.italic+"em;");for(var o in this.style)this.style.hasOwnProperty(o)&&(r+=ei.hyphenate(o)+":"+this.style[o]+";");r&&(t=!0,n+=' style="'+ei.escape(r)+'"');var i=ei.escape(this.text);return t?(n+=">",n+=i,n+="",n):i}}class lp{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var o=0;o':''}}class RF{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t=" but got "+String(e)+".")}var Kft={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Yft={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},zi={math:{},text:{}};function ge(e,t,n,r,o,i){zi[e][o]={font:t,group:n,replace:r},i&&r&&(zi[e][r]=zi[e][o])}var _e="math",Hn="text",et="main",Tt="ams",oa="accent-token",xr="bin",bl="close",Yb="inner",Qr="mathord",qa="op-token",Eu="open",ZD="punct",It="rel",xp="spacing",Wt="textord";ge(_e,et,It,"≡","\\equiv",!0);ge(_e,et,It,"≺","\\prec",!0);ge(_e,et,It,"≻","\\succ",!0);ge(_e,et,It,"∼","\\sim",!0);ge(_e,et,It,"⊥","\\perp");ge(_e,et,It,"⪯","\\preceq",!0);ge(_e,et,It,"⪰","\\succeq",!0);ge(_e,et,It,"≃","\\simeq",!0);ge(_e,et,It,"∣","\\mid",!0);ge(_e,et,It,"≪","\\ll",!0);ge(_e,et,It,"≫","\\gg",!0);ge(_e,et,It,"≍","\\asymp",!0);ge(_e,et,It,"∥","\\parallel");ge(_e,et,It,"⋈","\\bowtie",!0);ge(_e,et,It,"⌣","\\smile",!0);ge(_e,et,It,"⊑","\\sqsubseteq",!0);ge(_e,et,It,"⊒","\\sqsupseteq",!0);ge(_e,et,It,"≐","\\doteq",!0);ge(_e,et,It,"⌢","\\frown",!0);ge(_e,et,It,"∋","\\ni",!0);ge(_e,et,It,"∝","\\propto",!0);ge(_e,et,It,"⊢","\\vdash",!0);ge(_e,et,It,"⊣","\\dashv",!0);ge(_e,et,It,"∋","\\owns");ge(_e,et,ZD,".","\\ldotp");ge(_e,et,ZD,"⋅","\\cdotp");ge(_e,et,Wt,"#","\\#");ge(Hn,et,Wt,"#","\\#");ge(_e,et,Wt,"&","\\&");ge(Hn,et,Wt,"&","\\&");ge(_e,et,Wt,"ℵ","\\aleph",!0);ge(_e,et,Wt,"∀","\\forall",!0);ge(_e,et,Wt,"ℏ","\\hbar",!0);ge(_e,et,Wt,"∃","\\exists",!0);ge(_e,et,Wt,"∇","\\nabla",!0);ge(_e,et,Wt,"♭","\\flat",!0);ge(_e,et,Wt,"ℓ","\\ell",!0);ge(_e,et,Wt,"♮","\\natural",!0);ge(_e,et,Wt,"♣","\\clubsuit",!0);ge(_e,et,Wt,"℘","\\wp",!0);ge(_e,et,Wt,"♯","\\sharp",!0);ge(_e,et,Wt,"♢","\\diamondsuit",!0);ge(_e,et,Wt,"ℜ","\\Re",!0);ge(_e,et,Wt,"♡","\\heartsuit",!0);ge(_e,et,Wt,"ℑ","\\Im",!0);ge(_e,et,Wt,"♠","\\spadesuit",!0);ge(_e,et,Wt,"§","\\S",!0);ge(Hn,et,Wt,"§","\\S");ge(_e,et,Wt,"¶","\\P",!0);ge(Hn,et,Wt,"¶","\\P");ge(_e,et,Wt,"†","\\dag");ge(Hn,et,Wt,"†","\\dag");ge(Hn,et,Wt,"†","\\textdagger");ge(_e,et,Wt,"‡","\\ddag");ge(Hn,et,Wt,"‡","\\ddag");ge(Hn,et,Wt,"‡","\\textdaggerdbl");ge(_e,et,bl,"⎱","\\rmoustache",!0);ge(_e,et,Eu,"⎰","\\lmoustache",!0);ge(_e,et,bl,"⟯","\\rgroup",!0);ge(_e,et,Eu,"⟮","\\lgroup",!0);ge(_e,et,xr,"∓","\\mp",!0);ge(_e,et,xr,"⊖","\\ominus",!0);ge(_e,et,xr,"⊎","\\uplus",!0);ge(_e,et,xr,"⊓","\\sqcap",!0);ge(_e,et,xr,"∗","\\ast");ge(_e,et,xr,"⊔","\\sqcup",!0);ge(_e,et,xr,"◯","\\bigcirc",!0);ge(_e,et,xr,"∙","\\bullet",!0);ge(_e,et,xr,"‡","\\ddagger");ge(_e,et,xr,"≀","\\wr",!0);ge(_e,et,xr,"⨿","\\amalg");ge(_e,et,xr,"&","\\And");ge(_e,et,It,"⟵","\\longleftarrow",!0);ge(_e,et,It,"⇐","\\Leftarrow",!0);ge(_e,et,It,"⟸","\\Longleftarrow",!0);ge(_e,et,It,"⟶","\\longrightarrow",!0);ge(_e,et,It,"⇒","\\Rightarrow",!0);ge(_e,et,It,"⟹","\\Longrightarrow",!0);ge(_e,et,It,"↔","\\leftrightarrow",!0);ge(_e,et,It,"⟷","\\longleftrightarrow",!0);ge(_e,et,It,"⇔","\\Leftrightarrow",!0);ge(_e,et,It,"⟺","\\Longleftrightarrow",!0);ge(_e,et,It,"↦","\\mapsto",!0);ge(_e,et,It,"⟼","\\longmapsto",!0);ge(_e,et,It,"↗","\\nearrow",!0);ge(_e,et,It,"↩","\\hookleftarrow",!0);ge(_e,et,It,"↪","\\hookrightarrow",!0);ge(_e,et,It,"↘","\\searrow",!0);ge(_e,et,It,"↼","\\leftharpoonup",!0);ge(_e,et,It,"⇀","\\rightharpoonup",!0);ge(_e,et,It,"↙","\\swarrow",!0);ge(_e,et,It,"↽","\\leftharpoondown",!0);ge(_e,et,It,"⇁","\\rightharpoondown",!0);ge(_e,et,It,"↖","\\nwarrow",!0);ge(_e,et,It,"⇌","\\rightleftharpoons",!0);ge(_e,Tt,It,"≮","\\nless",!0);ge(_e,Tt,It,"","\\@nleqslant");ge(_e,Tt,It,"","\\@nleqq");ge(_e,Tt,It,"⪇","\\lneq",!0);ge(_e,Tt,It,"≨","\\lneqq",!0);ge(_e,Tt,It,"","\\@lvertneqq");ge(_e,Tt,It,"⋦","\\lnsim",!0);ge(_e,Tt,It,"⪉","\\lnapprox",!0);ge(_e,Tt,It,"⊀","\\nprec",!0);ge(_e,Tt,It,"⋠","\\npreceq",!0);ge(_e,Tt,It,"⋨","\\precnsim",!0);ge(_e,Tt,It,"⪹","\\precnapprox",!0);ge(_e,Tt,It,"≁","\\nsim",!0);ge(_e,Tt,It,"","\\@nshortmid");ge(_e,Tt,It,"∤","\\nmid",!0);ge(_e,Tt,It,"⊬","\\nvdash",!0);ge(_e,Tt,It,"⊭","\\nvDash",!0);ge(_e,Tt,It,"⋪","\\ntriangleleft");ge(_e,Tt,It,"⋬","\\ntrianglelefteq",!0);ge(_e,Tt,It,"⊊","\\subsetneq",!0);ge(_e,Tt,It,"","\\@varsubsetneq");ge(_e,Tt,It,"⫋","\\subsetneqq",!0);ge(_e,Tt,It,"","\\@varsubsetneqq");ge(_e,Tt,It,"≯","\\ngtr",!0);ge(_e,Tt,It,"","\\@ngeqslant");ge(_e,Tt,It,"","\\@ngeqq");ge(_e,Tt,It,"⪈","\\gneq",!0);ge(_e,Tt,It,"≩","\\gneqq",!0);ge(_e,Tt,It,"","\\@gvertneqq");ge(_e,Tt,It,"⋧","\\gnsim",!0);ge(_e,Tt,It,"⪊","\\gnapprox",!0);ge(_e,Tt,It,"⊁","\\nsucc",!0);ge(_e,Tt,It,"⋡","\\nsucceq",!0);ge(_e,Tt,It,"⋩","\\succnsim",!0);ge(_e,Tt,It,"⪺","\\succnapprox",!0);ge(_e,Tt,It,"≆","\\ncong",!0);ge(_e,Tt,It,"","\\@nshortparallel");ge(_e,Tt,It,"∦","\\nparallel",!0);ge(_e,Tt,It,"⊯","\\nVDash",!0);ge(_e,Tt,It,"⋫","\\ntriangleright");ge(_e,Tt,It,"⋭","\\ntrianglerighteq",!0);ge(_e,Tt,It,"","\\@nsupseteqq");ge(_e,Tt,It,"⊋","\\supsetneq",!0);ge(_e,Tt,It,"","\\@varsupsetneq");ge(_e,Tt,It,"⫌","\\supsetneqq",!0);ge(_e,Tt,It,"","\\@varsupsetneqq");ge(_e,Tt,It,"⊮","\\nVdash",!0);ge(_e,Tt,It,"⪵","\\precneqq",!0);ge(_e,Tt,It,"⪶","\\succneqq",!0);ge(_e,Tt,It,"","\\@nsubseteqq");ge(_e,Tt,xr,"⊴","\\unlhd");ge(_e,Tt,xr,"⊵","\\unrhd");ge(_e,Tt,It,"↚","\\nleftarrow",!0);ge(_e,Tt,It,"↛","\\nrightarrow",!0);ge(_e,Tt,It,"⇍","\\nLeftarrow",!0);ge(_e,Tt,It,"⇏","\\nRightarrow",!0);ge(_e,Tt,It,"↮","\\nleftrightarrow",!0);ge(_e,Tt,It,"⇎","\\nLeftrightarrow",!0);ge(_e,Tt,It,"△","\\vartriangle");ge(_e,Tt,Wt,"ℏ","\\hslash");ge(_e,Tt,Wt,"▽","\\triangledown");ge(_e,Tt,Wt,"◊","\\lozenge");ge(_e,Tt,Wt,"Ⓢ","\\circledS");ge(_e,Tt,Wt,"®","\\circledR");ge(Hn,Tt,Wt,"®","\\circledR");ge(_e,Tt,Wt,"∡","\\measuredangle",!0);ge(_e,Tt,Wt,"∄","\\nexists");ge(_e,Tt,Wt,"℧","\\mho");ge(_e,Tt,Wt,"Ⅎ","\\Finv",!0);ge(_e,Tt,Wt,"⅁","\\Game",!0);ge(_e,Tt,Wt,"‵","\\backprime");ge(_e,Tt,Wt,"▲","\\blacktriangle");ge(_e,Tt,Wt,"▼","\\blacktriangledown");ge(_e,Tt,Wt,"■","\\blacksquare");ge(_e,Tt,Wt,"⧫","\\blacklozenge");ge(_e,Tt,Wt,"★","\\bigstar");ge(_e,Tt,Wt,"∢","\\sphericalangle",!0);ge(_e,Tt,Wt,"∁","\\complement",!0);ge(_e,Tt,Wt,"ð","\\eth",!0);ge(Hn,et,Wt,"ð","ð");ge(_e,Tt,Wt,"╱","\\diagup");ge(_e,Tt,Wt,"╲","\\diagdown");ge(_e,Tt,Wt,"□","\\square");ge(_e,Tt,Wt,"□","\\Box");ge(_e,Tt,Wt,"◊","\\Diamond");ge(_e,Tt,Wt,"¥","\\yen",!0);ge(Hn,Tt,Wt,"¥","\\yen",!0);ge(_e,Tt,Wt,"✓","\\checkmark",!0);ge(Hn,Tt,Wt,"✓","\\checkmark");ge(_e,Tt,Wt,"ℶ","\\beth",!0);ge(_e,Tt,Wt,"ℸ","\\daleth",!0);ge(_e,Tt,Wt,"ℷ","\\gimel",!0);ge(_e,Tt,Wt,"ϝ","\\digamma",!0);ge(_e,Tt,Wt,"ϰ","\\varkappa");ge(_e,Tt,Eu,"┌","\\@ulcorner",!0);ge(_e,Tt,bl,"┐","\\@urcorner",!0);ge(_e,Tt,Eu,"└","\\@llcorner",!0);ge(_e,Tt,bl,"┘","\\@lrcorner",!0);ge(_e,Tt,It,"≦","\\leqq",!0);ge(_e,Tt,It,"⩽","\\leqslant",!0);ge(_e,Tt,It,"⪕","\\eqslantless",!0);ge(_e,Tt,It,"≲","\\lesssim",!0);ge(_e,Tt,It,"⪅","\\lessapprox",!0);ge(_e,Tt,It,"≊","\\approxeq",!0);ge(_e,Tt,xr,"⋖","\\lessdot");ge(_e,Tt,It,"⋘","\\lll",!0);ge(_e,Tt,It,"≶","\\lessgtr",!0);ge(_e,Tt,It,"⋚","\\lesseqgtr",!0);ge(_e,Tt,It,"⪋","\\lesseqqgtr",!0);ge(_e,Tt,It,"≑","\\doteqdot");ge(_e,Tt,It,"≓","\\risingdotseq",!0);ge(_e,Tt,It,"≒","\\fallingdotseq",!0);ge(_e,Tt,It,"∽","\\backsim",!0);ge(_e,Tt,It,"⋍","\\backsimeq",!0);ge(_e,Tt,It,"⫅","\\subseteqq",!0);ge(_e,Tt,It,"⋐","\\Subset",!0);ge(_e,Tt,It,"⊏","\\sqsubset",!0);ge(_e,Tt,It,"≼","\\preccurlyeq",!0);ge(_e,Tt,It,"⋞","\\curlyeqprec",!0);ge(_e,Tt,It,"≾","\\precsim",!0);ge(_e,Tt,It,"⪷","\\precapprox",!0);ge(_e,Tt,It,"⊲","\\vartriangleleft");ge(_e,Tt,It,"⊴","\\trianglelefteq");ge(_e,Tt,It,"⊨","\\vDash",!0);ge(_e,Tt,It,"⊪","\\Vvdash",!0);ge(_e,Tt,It,"⌣","\\smallsmile");ge(_e,Tt,It,"⌢","\\smallfrown");ge(_e,Tt,It,"≏","\\bumpeq",!0);ge(_e,Tt,It,"≎","\\Bumpeq",!0);ge(_e,Tt,It,"≧","\\geqq",!0);ge(_e,Tt,It,"⩾","\\geqslant",!0);ge(_e,Tt,It,"⪖","\\eqslantgtr",!0);ge(_e,Tt,It,"≳","\\gtrsim",!0);ge(_e,Tt,It,"⪆","\\gtrapprox",!0);ge(_e,Tt,xr,"⋗","\\gtrdot");ge(_e,Tt,It,"⋙","\\ggg",!0);ge(_e,Tt,It,"≷","\\gtrless",!0);ge(_e,Tt,It,"⋛","\\gtreqless",!0);ge(_e,Tt,It,"⪌","\\gtreqqless",!0);ge(_e,Tt,It,"≖","\\eqcirc",!0);ge(_e,Tt,It,"≗","\\circeq",!0);ge(_e,Tt,It,"≜","\\triangleq",!0);ge(_e,Tt,It,"∼","\\thicksim");ge(_e,Tt,It,"≈","\\thickapprox");ge(_e,Tt,It,"⫆","\\supseteqq",!0);ge(_e,Tt,It,"⋑","\\Supset",!0);ge(_e,Tt,It,"⊐","\\sqsupset",!0);ge(_e,Tt,It,"≽","\\succcurlyeq",!0);ge(_e,Tt,It,"⋟","\\curlyeqsucc",!0);ge(_e,Tt,It,"≿","\\succsim",!0);ge(_e,Tt,It,"⪸","\\succapprox",!0);ge(_e,Tt,It,"⊳","\\vartriangleright");ge(_e,Tt,It,"⊵","\\trianglerighteq");ge(_e,Tt,It,"⊩","\\Vdash",!0);ge(_e,Tt,It,"∣","\\shortmid");ge(_e,Tt,It,"∥","\\shortparallel");ge(_e,Tt,It,"≬","\\between",!0);ge(_e,Tt,It,"⋔","\\pitchfork",!0);ge(_e,Tt,It,"∝","\\varpropto");ge(_e,Tt,It,"◀","\\blacktriangleleft");ge(_e,Tt,It,"∴","\\therefore",!0);ge(_e,Tt,It,"∍","\\backepsilon");ge(_e,Tt,It,"▶","\\blacktriangleright");ge(_e,Tt,It,"∵","\\because",!0);ge(_e,Tt,It,"⋘","\\llless");ge(_e,Tt,It,"⋙","\\gggtr");ge(_e,Tt,xr,"⊲","\\lhd");ge(_e,Tt,xr,"⊳","\\rhd");ge(_e,Tt,It,"≂","\\eqsim",!0);ge(_e,et,It,"⋈","\\Join");ge(_e,Tt,It,"≑","\\Doteq",!0);ge(_e,Tt,xr,"∔","\\dotplus",!0);ge(_e,Tt,xr,"∖","\\smallsetminus");ge(_e,Tt,xr,"⋒","\\Cap",!0);ge(_e,Tt,xr,"⋓","\\Cup",!0);ge(_e,Tt,xr,"⩞","\\doublebarwedge",!0);ge(_e,Tt,xr,"⊟","\\boxminus",!0);ge(_e,Tt,xr,"⊞","\\boxplus",!0);ge(_e,Tt,xr,"⋇","\\divideontimes",!0);ge(_e,Tt,xr,"⋉","\\ltimes",!0);ge(_e,Tt,xr,"⋊","\\rtimes",!0);ge(_e,Tt,xr,"⋋","\\leftthreetimes",!0);ge(_e,Tt,xr,"⋌","\\rightthreetimes",!0);ge(_e,Tt,xr,"⋏","\\curlywedge",!0);ge(_e,Tt,xr,"⋎","\\curlyvee",!0);ge(_e,Tt,xr,"⊝","\\circleddash",!0);ge(_e,Tt,xr,"⊛","\\circledast",!0);ge(_e,Tt,xr,"⋅","\\centerdot");ge(_e,Tt,xr,"⊺","\\intercal",!0);ge(_e,Tt,xr,"⋒","\\doublecap");ge(_e,Tt,xr,"⋓","\\doublecup");ge(_e,Tt,xr,"⊠","\\boxtimes",!0);ge(_e,Tt,It,"⇢","\\dashrightarrow",!0);ge(_e,Tt,It,"⇠","\\dashleftarrow",!0);ge(_e,Tt,It,"⇇","\\leftleftarrows",!0);ge(_e,Tt,It,"⇆","\\leftrightarrows",!0);ge(_e,Tt,It,"⇚","\\Lleftarrow",!0);ge(_e,Tt,It,"↞","\\twoheadleftarrow",!0);ge(_e,Tt,It,"↢","\\leftarrowtail",!0);ge(_e,Tt,It,"↫","\\looparrowleft",!0);ge(_e,Tt,It,"⇋","\\leftrightharpoons",!0);ge(_e,Tt,It,"↶","\\curvearrowleft",!0);ge(_e,Tt,It,"↺","\\circlearrowleft",!0);ge(_e,Tt,It,"↰","\\Lsh",!0);ge(_e,Tt,It,"⇈","\\upuparrows",!0);ge(_e,Tt,It,"↿","\\upharpoonleft",!0);ge(_e,Tt,It,"⇃","\\downharpoonleft",!0);ge(_e,et,It,"⊶","\\origof",!0);ge(_e,et,It,"⊷","\\imageof",!0);ge(_e,Tt,It,"⊸","\\multimap",!0);ge(_e,Tt,It,"↭","\\leftrightsquigarrow",!0);ge(_e,Tt,It,"⇉","\\rightrightarrows",!0);ge(_e,Tt,It,"⇄","\\rightleftarrows",!0);ge(_e,Tt,It,"↠","\\twoheadrightarrow",!0);ge(_e,Tt,It,"↣","\\rightarrowtail",!0);ge(_e,Tt,It,"↬","\\looparrowright",!0);ge(_e,Tt,It,"↷","\\curvearrowright",!0);ge(_e,Tt,It,"↻","\\circlearrowright",!0);ge(_e,Tt,It,"↱","\\Rsh",!0);ge(_e,Tt,It,"⇊","\\downdownarrows",!0);ge(_e,Tt,It,"↾","\\upharpoonright",!0);ge(_e,Tt,It,"⇂","\\downharpoonright",!0);ge(_e,Tt,It,"⇝","\\rightsquigarrow",!0);ge(_e,Tt,It,"⇝","\\leadsto");ge(_e,Tt,It,"⇛","\\Rrightarrow",!0);ge(_e,Tt,It,"↾","\\restriction");ge(_e,et,Wt,"‘","`");ge(_e,et,Wt,"$","\\$");ge(Hn,et,Wt,"$","\\$");ge(Hn,et,Wt,"$","\\textdollar");ge(_e,et,Wt,"%","\\%");ge(Hn,et,Wt,"%","\\%");ge(_e,et,Wt,"_","\\_");ge(Hn,et,Wt,"_","\\_");ge(Hn,et,Wt,"_","\\textunderscore");ge(_e,et,Wt,"∠","\\angle",!0);ge(_e,et,Wt,"∞","\\infty",!0);ge(_e,et,Wt,"′","\\prime");ge(_e,et,Wt,"△","\\triangle");ge(_e,et,Wt,"Γ","\\Gamma",!0);ge(_e,et,Wt,"Δ","\\Delta",!0);ge(_e,et,Wt,"Θ","\\Theta",!0);ge(_e,et,Wt,"Λ","\\Lambda",!0);ge(_e,et,Wt,"Ξ","\\Xi",!0);ge(_e,et,Wt,"Π","\\Pi",!0);ge(_e,et,Wt,"Σ","\\Sigma",!0);ge(_e,et,Wt,"Υ","\\Upsilon",!0);ge(_e,et,Wt,"Φ","\\Phi",!0);ge(_e,et,Wt,"Ψ","\\Psi",!0);ge(_e,et,Wt,"Ω","\\Omega",!0);ge(_e,et,Wt,"A","Α");ge(_e,et,Wt,"B","Β");ge(_e,et,Wt,"E","Ε");ge(_e,et,Wt,"Z","Ζ");ge(_e,et,Wt,"H","Η");ge(_e,et,Wt,"I","Ι");ge(_e,et,Wt,"K","Κ");ge(_e,et,Wt,"M","Μ");ge(_e,et,Wt,"N","Ν");ge(_e,et,Wt,"O","Ο");ge(_e,et,Wt,"P","Ρ");ge(_e,et,Wt,"T","Τ");ge(_e,et,Wt,"X","Χ");ge(_e,et,Wt,"¬","\\neg",!0);ge(_e,et,Wt,"¬","\\lnot");ge(_e,et,Wt,"⊤","\\top");ge(_e,et,Wt,"⊥","\\bot");ge(_e,et,Wt,"∅","\\emptyset");ge(_e,Tt,Wt,"∅","\\varnothing");ge(_e,et,Qr,"α","\\alpha",!0);ge(_e,et,Qr,"β","\\beta",!0);ge(_e,et,Qr,"γ","\\gamma",!0);ge(_e,et,Qr,"δ","\\delta",!0);ge(_e,et,Qr,"ϵ","\\epsilon",!0);ge(_e,et,Qr,"ζ","\\zeta",!0);ge(_e,et,Qr,"η","\\eta",!0);ge(_e,et,Qr,"θ","\\theta",!0);ge(_e,et,Qr,"ι","\\iota",!0);ge(_e,et,Qr,"κ","\\kappa",!0);ge(_e,et,Qr,"λ","\\lambda",!0);ge(_e,et,Qr,"μ","\\mu",!0);ge(_e,et,Qr,"ν","\\nu",!0);ge(_e,et,Qr,"ξ","\\xi",!0);ge(_e,et,Qr,"ο","\\omicron",!0);ge(_e,et,Qr,"π","\\pi",!0);ge(_e,et,Qr,"ρ","\\rho",!0);ge(_e,et,Qr,"σ","\\sigma",!0);ge(_e,et,Qr,"τ","\\tau",!0);ge(_e,et,Qr,"υ","\\upsilon",!0);ge(_e,et,Qr,"ϕ","\\phi",!0);ge(_e,et,Qr,"χ","\\chi",!0);ge(_e,et,Qr,"ψ","\\psi",!0);ge(_e,et,Qr,"ω","\\omega",!0);ge(_e,et,Qr,"ε","\\varepsilon",!0);ge(_e,et,Qr,"ϑ","\\vartheta",!0);ge(_e,et,Qr,"ϖ","\\varpi",!0);ge(_e,et,Qr,"ϱ","\\varrho",!0);ge(_e,et,Qr,"ς","\\varsigma",!0);ge(_e,et,Qr,"φ","\\varphi",!0);ge(_e,et,xr,"∗","*",!0);ge(_e,et,xr,"+","+");ge(_e,et,xr,"−","-",!0);ge(_e,et,xr,"⋅","\\cdot",!0);ge(_e,et,xr,"∘","\\circ",!0);ge(_e,et,xr,"÷","\\div",!0);ge(_e,et,xr,"±","\\pm",!0);ge(_e,et,xr,"×","\\times",!0);ge(_e,et,xr,"∩","\\cap",!0);ge(_e,et,xr,"∪","\\cup",!0);ge(_e,et,xr,"∖","\\setminus",!0);ge(_e,et,xr,"∧","\\land");ge(_e,et,xr,"∨","\\lor");ge(_e,et,xr,"∧","\\wedge",!0);ge(_e,et,xr,"∨","\\vee",!0);ge(_e,et,Wt,"√","\\surd");ge(_e,et,Eu,"⟨","\\langle",!0);ge(_e,et,Eu,"∣","\\lvert");ge(_e,et,Eu,"∥","\\lVert");ge(_e,et,bl,"?","?");ge(_e,et,bl,"!","!");ge(_e,et,bl,"⟩","\\rangle",!0);ge(_e,et,bl,"∣","\\rvert");ge(_e,et,bl,"∥","\\rVert");ge(_e,et,It,"=","=");ge(_e,et,It,":",":");ge(_e,et,It,"≈","\\approx",!0);ge(_e,et,It,"≅","\\cong",!0);ge(_e,et,It,"≥","\\ge");ge(_e,et,It,"≥","\\geq",!0);ge(_e,et,It,"←","\\gets");ge(_e,et,It,">","\\gt",!0);ge(_e,et,It,"∈","\\in",!0);ge(_e,et,It,"","\\@not");ge(_e,et,It,"⊂","\\subset",!0);ge(_e,et,It,"⊃","\\supset",!0);ge(_e,et,It,"⊆","\\subseteq",!0);ge(_e,et,It,"⊇","\\supseteq",!0);ge(_e,Tt,It,"⊈","\\nsubseteq",!0);ge(_e,Tt,It,"⊉","\\nsupseteq",!0);ge(_e,et,It,"⊨","\\models");ge(_e,et,It,"←","\\leftarrow",!0);ge(_e,et,It,"≤","\\le");ge(_e,et,It,"≤","\\leq",!0);ge(_e,et,It,"<","\\lt",!0);ge(_e,et,It,"→","\\rightarrow",!0);ge(_e,et,It,"→","\\to");ge(_e,Tt,It,"≱","\\ngeq",!0);ge(_e,Tt,It,"≰","\\nleq",!0);ge(_e,et,xp," ","\\ ");ge(_e,et,xp," ","\\space");ge(_e,et,xp," ","\\nobreakspace");ge(Hn,et,xp," ","\\ ");ge(Hn,et,xp," "," ");ge(Hn,et,xp," ","\\space");ge(Hn,et,xp," ","\\nobreakspace");ge(_e,et,xp,null,"\\nobreak");ge(_e,et,xp,null,"\\allowbreak");ge(_e,et,ZD,",",",");ge(_e,et,ZD,";",";");ge(_e,Tt,xr,"⊼","\\barwedge",!0);ge(_e,Tt,xr,"⊻","\\veebar",!0);ge(_e,et,xr,"⊙","\\odot",!0);ge(_e,et,xr,"⊕","\\oplus",!0);ge(_e,et,xr,"⊗","\\otimes",!0);ge(_e,et,Wt,"∂","\\partial",!0);ge(_e,et,xr,"⊘","\\oslash",!0);ge(_e,Tt,xr,"⊚","\\circledcirc",!0);ge(_e,Tt,xr,"⊡","\\boxdot",!0);ge(_e,et,xr,"△","\\bigtriangleup");ge(_e,et,xr,"▽","\\bigtriangledown");ge(_e,et,xr,"†","\\dagger");ge(_e,et,xr,"⋄","\\diamond");ge(_e,et,xr,"⋆","\\star");ge(_e,et,xr,"◃","\\triangleleft");ge(_e,et,xr,"▹","\\triangleright");ge(_e,et,Eu,"{","\\{");ge(Hn,et,Wt,"{","\\{");ge(Hn,et,Wt,"{","\\textbraceleft");ge(_e,et,bl,"}","\\}");ge(Hn,et,Wt,"}","\\}");ge(Hn,et,Wt,"}","\\textbraceright");ge(_e,et,Eu,"{","\\lbrace");ge(_e,et,bl,"}","\\rbrace");ge(_e,et,Eu,"[","\\lbrack",!0);ge(Hn,et,Wt,"[","\\lbrack",!0);ge(_e,et,bl,"]","\\rbrack",!0);ge(Hn,et,Wt,"]","\\rbrack",!0);ge(_e,et,Eu,"(","\\lparen",!0);ge(_e,et,bl,")","\\rparen",!0);ge(Hn,et,Wt,"<","\\textless",!0);ge(Hn,et,Wt,">","\\textgreater",!0);ge(_e,et,Eu,"⌊","\\lfloor",!0);ge(_e,et,bl,"⌋","\\rfloor",!0);ge(_e,et,Eu,"⌈","\\lceil",!0);ge(_e,et,bl,"⌉","\\rceil",!0);ge(_e,et,Wt,"\\","\\backslash");ge(_e,et,Wt,"∣","|");ge(_e,et,Wt,"∣","\\vert");ge(Hn,et,Wt,"|","\\textbar",!0);ge(_e,et,Wt,"∥","\\|");ge(_e,et,Wt,"∥","\\Vert");ge(Hn,et,Wt,"∥","\\textbardbl");ge(Hn,et,Wt,"~","\\textasciitilde");ge(Hn,et,Wt,"\\","\\textbackslash");ge(Hn,et,Wt,"^","\\textasciicircum");ge(_e,et,It,"↑","\\uparrow",!0);ge(_e,et,It,"⇑","\\Uparrow",!0);ge(_e,et,It,"↓","\\downarrow",!0);ge(_e,et,It,"⇓","\\Downarrow",!0);ge(_e,et,It,"↕","\\updownarrow",!0);ge(_e,et,It,"⇕","\\Updownarrow",!0);ge(_e,et,qa,"∐","\\coprod");ge(_e,et,qa,"⋁","\\bigvee");ge(_e,et,qa,"⋀","\\bigwedge");ge(_e,et,qa,"⨄","\\biguplus");ge(_e,et,qa,"⋂","\\bigcap");ge(_e,et,qa,"⋃","\\bigcup");ge(_e,et,qa,"∫","\\int");ge(_e,et,qa,"∫","\\intop");ge(_e,et,qa,"∬","\\iint");ge(_e,et,qa,"∭","\\iiint");ge(_e,et,qa,"∏","\\prod");ge(_e,et,qa,"∑","\\sum");ge(_e,et,qa,"⨂","\\bigotimes");ge(_e,et,qa,"⨁","\\bigoplus");ge(_e,et,qa,"⨀","\\bigodot");ge(_e,et,qa,"∮","\\oint");ge(_e,et,qa,"∯","\\oiint");ge(_e,et,qa,"∰","\\oiiint");ge(_e,et,qa,"⨆","\\bigsqcup");ge(_e,et,qa,"∫","\\smallint");ge(Hn,et,Yb,"…","\\textellipsis");ge(_e,et,Yb,"…","\\mathellipsis");ge(Hn,et,Yb,"…","\\ldots",!0);ge(_e,et,Yb,"…","\\ldots",!0);ge(_e,et,Yb,"⋯","\\@cdots",!0);ge(_e,et,Yb,"⋱","\\ddots",!0);ge(_e,et,Wt,"⋮","\\varvdots");ge(Hn,et,Wt,"⋮","\\varvdots");ge(_e,et,oa,"ˊ","\\acute");ge(_e,et,oa,"ˋ","\\grave");ge(_e,et,oa,"¨","\\ddot");ge(_e,et,oa,"~","\\tilde");ge(_e,et,oa,"ˉ","\\bar");ge(_e,et,oa,"˘","\\breve");ge(_e,et,oa,"ˇ","\\check");ge(_e,et,oa,"^","\\hat");ge(_e,et,oa,"⃗","\\vec");ge(_e,et,oa,"˙","\\dot");ge(_e,et,oa,"˚","\\mathring");ge(_e,et,Qr,"","\\@imath");ge(_e,et,Qr,"","\\@jmath");ge(_e,et,Wt,"ı","ı");ge(_e,et,Wt,"ȷ","ȷ");ge(Hn,et,Wt,"ı","\\i",!0);ge(Hn,et,Wt,"ȷ","\\j",!0);ge(Hn,et,Wt,"ß","\\ss",!0);ge(Hn,et,Wt,"æ","\\ae",!0);ge(Hn,et,Wt,"œ","\\oe",!0);ge(Hn,et,Wt,"ø","\\o",!0);ge(Hn,et,Wt,"Æ","\\AE",!0);ge(Hn,et,Wt,"Œ","\\OE",!0);ge(Hn,et,Wt,"Ø","\\O",!0);ge(Hn,et,oa,"ˊ","\\'");ge(Hn,et,oa,"ˋ","\\`");ge(Hn,et,oa,"ˆ","\\^");ge(Hn,et,oa,"˜","\\~");ge(Hn,et,oa,"ˉ","\\=");ge(Hn,et,oa,"˘","\\u");ge(Hn,et,oa,"˙","\\.");ge(Hn,et,oa,"¸","\\c");ge(Hn,et,oa,"˚","\\r");ge(Hn,et,oa,"ˇ","\\v");ge(Hn,et,oa,"¨",'\\"');ge(Hn,et,oa,"˝","\\H");ge(Hn,et,oa,"◯","\\textcircled");var m3e={"--":!0,"---":!0,"``":!0,"''":!0};ge(Hn,et,Wt,"–","--",!0);ge(Hn,et,Wt,"–","\\textendash");ge(Hn,et,Wt,"—","---",!0);ge(Hn,et,Wt,"—","\\textemdash");ge(Hn,et,Wt,"‘","`",!0);ge(Hn,et,Wt,"‘","\\textquoteleft");ge(Hn,et,Wt,"’","'",!0);ge(Hn,et,Wt,"’","\\textquoteright");ge(Hn,et,Wt,"“","``",!0);ge(Hn,et,Wt,"“","\\textquotedblleft");ge(Hn,et,Wt,"”","''",!0);ge(Hn,et,Wt,"”","\\textquotedblright");ge(_e,et,Wt,"°","\\degree",!0);ge(Hn,et,Wt,"°","\\degree");ge(Hn,et,Wt,"°","\\textdegree",!0);ge(_e,et,Wt,"£","\\pounds");ge(_e,et,Wt,"£","\\mathsterling",!0);ge(Hn,et,Wt,"£","\\pounds");ge(Hn,et,Wt,"£","\\textsterling",!0);ge(_e,Tt,Wt,"✠","\\maltese");ge(Hn,Tt,Wt,"✠","\\maltese");var $re='0123456789/@."';for(var XO=0;XO<$re.length;XO++){var jre=$re.charAt(XO);ge(_e,et,Wt,jre,jre)}var Hre='0123456789!@*()-=+";:?/.,';for(var JO=0;JO0)return bc(i,u,o,n,a.concat(d));if(l){var c,f;if(l==="boldsymbol"){var p=Xft(i,o,n,a,r);c=p.fontName,f=[p.fontClass]}else s?(c=w3e[l].fontName,f=[l]):(c=Xx(l,n.fontWeight,n.fontShape),f=[l,n.fontWeight,n.fontShape]);if(XD(i,c,o).metrics)return bc(i,c,o,n,a.concat(f));if(m3e.hasOwnProperty(i)&&c.slice(0,10)==="Typewriter"){for(var v=[],h=0;h{if(g0(e.classes)!==g0(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},tpt=e=>{for(var t=0;tn&&(n=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>o&&(o=a.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=o},kl=function(t,n,r,o){var i=new nC(t,n,r,o);return nq(i),i},y3e=(e,t,n,r)=>new nC(e,t,n,r),npt=function(t,n,r){var o=kl([t],[],n);return o.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),o.style.borderBottomWidth=tr(o.height),o.maxFontSize=1,o},rpt=function(t,n,r,o){var i=new tq(t,n,r,o);return nq(i),i},b3e=function(t){var n=new tC(t);return nq(n),n},opt=function(t,n){return t instanceof tC?kl([],[t],n):t},ipt=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],o=-n[0].shift-n[0].elem.depth,i=o,a=1;a{var n=kl(["mspace"],[],t),r=ca(e,t);return n.style.marginRight=tr(r),n},Xx=function(t,n,r){var o="";switch(t){case"amsrm":o="AMS";break;case"textrm":o="Main";break;case"textsf":o="SansSerif";break;case"texttt":o="Typewriter";break;default:o=t}var i;return n==="textbf"&&r==="textit"?i="BoldItalic":n==="textbf"?i="Bold":n==="textit"?i="Italic":i="Regular",o+"-"+i},w3e={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},A3e={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},lpt=function(t,n){var[r,o,i]=A3e[t],a=new v0(r),s=new lp([a],{width:tr(o),height:tr(i),style:"width:"+tr(o),viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=y3e(["overlay"],[s],n);return l.height=i,l.style.height=tr(i),l.style.width=tr(o),l},sn={fontMap:w3e,makeSymbol:bc,mathsym:Zft,makeSpan:kl,makeSvgSpan:y3e,makeLineSpan:npt,makeAnchor:rpt,makeFragment:b3e,wrapFragment:opt,makeVList:apt,makeOrd:Jft,makeGlue:spt,staticSvg:lpt,svgData:A3e,tryCombineChars:tpt},la={number:3,unit:"mu"},tg={number:4,unit:"mu"},vf={number:5,unit:"mu"},upt={mord:{mop:la,mbin:tg,mrel:vf,minner:la},mop:{mord:la,mop:la,mrel:vf,minner:la},mbin:{mord:tg,mop:tg,mopen:tg,minner:tg},mrel:{mord:vf,mop:vf,mopen:vf,minner:vf},mopen:{},mclose:{mop:la,mbin:tg,mrel:vf,minner:la},mpunct:{mord:la,mop:la,mrel:vf,mopen:la,mclose:la,mpunct:la,minner:la},minner:{mord:la,mop:la,mbin:tg,mrel:vf,mopen:la,mpunct:la,minner:la}},cpt={mord:{mop:la},mop:{mord:la,mop:la},mbin:{},mrel:{},mopen:{},mclose:{mop:la},mpunct:{},minner:{mop:la}},C3e={},ek={},tk={};function gr(e){for(var{type:t,names:n,props:r,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:o},l=0;l{var g=h.classes[0],y=v.classes[0];g==="mbin"&&fpt.includes(y)?h.classes[0]="mord":y==="mbin"&&dpt.includes(g)&&(v.classes[0]="mord")},{node:c},f,p),qre(i,(v,h)=>{var g=LF(h),y=LF(v),m=g&&y?v.hasClass("mtight")?cpt[g][y]:upt[g][y]:null;if(m)return sn.makeGlue(m,u)},{node:c},f,p),i},qre=function e(t,n,r,o,i){o&&t.push(o);for(var a=0;af=>{t.splice(c+1,0,f),a++})(a)}o&&t.pop()},x3e=function(t){return t instanceof tC||t instanceof tq||t instanceof nC&&t.hasClass("enclosing")?t:null},gpt=function e(t,n){var r=x3e(t);if(r){var o=r.children;if(o.length){if(n==="right")return e(o[o.length-1],"right");if(n==="left")return e(o[0],"left")}}return t},LF=function(t,n){return t?(n&&(t=gpt(t,n)),hpt[t.classes[0]]||null):null},CA=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return up(n.concat(r))},Jo=function(t,n,r){if(!t)return up();if(ek[t.type]){var o=ek[t.type](t,n);if(r&&n.size!==r.size){o=up(n.sizingClasses(r),[o],n);var i=n.sizeMultiplier/r.sizeMultiplier;o.height*=i,o.depth*=i}return o}else throw new Gn("Got group of unknown type: '"+t.type+"'")};function Jx(e,t){var n=up(["base"],e,t),r=up(["strut"]);return r.style.height=tr(n.height+n.depth),n.depth&&(r.style.verticalAlign=tr(-n.depth)),n.children.unshift(r),n}function FF(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=rs(e,t,"root"),o;r.length===2&&r[1].hasClass("tag")&&(o=r.pop());for(var i=[],a=[],s=0;s0&&(i.push(Jx(a,t)),a=[]),i.push(r[s]));a.length>0&&i.push(Jx(a,t));var u;n?(u=Jx(rs(n,t,!0)),u.classes=["tag"],i.push(u)):o&&i.push(o);var d=up(["katex-html"],i);if(d.setAttribute("aria-hidden","true"),u){var c=u.children[0];c.style.height=tr(d.height+d.depth),d.depth&&(c.style.verticalAlign=tr(-d.depth))}return d}function S3e(e){return new tC(e)}class au{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=g0(this.classes));for(var r=0;r0&&(t+=' class ="'+ei.escape(g0(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Td{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return ei.escape(this.toText())}toText(){return this.text}}class vpt{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",tr(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var Vn={MathNode:au,TextNode:Td,SpaceNode:vpt,newDocumentFragment:S3e},oc=function(t,n,r){return zi[n][t]&&zi[n][t].replace&&t.charCodeAt(0)!==55349&&!(m3e.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=zi[n][t].replace),new Vn.TextNode(t)},rq=function(t){return t.length===1?t[0]:new Vn.MathNode("mrow",t)},oq=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var o=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var i=t.text;if(["\\imath","\\jmath"].includes(i))return null;zi[o][i]&&zi[o][i].replace&&(i=zi[o][i].replace);var a=sn.fontMap[r].fontName;return eq(i,a,o)?sn.fontMap[r].variant:null};function nM(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Td&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof Td&&n.text===","}else return!1}var Xl=function(t,n,r){if(t.length===1){var o=Di(t[0],n);return r&&o instanceof au&&o.type==="mo"&&(o.setAttribute("lspace","0em"),o.setAttribute("rspace","0em")),[o]}for(var i=[],a,s=0;s=1&&(a.type==="mn"||nM(a))){var u=l.children[0];u instanceof au&&u.type==="mn"&&(u.children=[...a.children,...u.children],i.pop())}else if(a.type==="mi"&&a.children.length===1){var d=a.children[0];if(d instanceof Td&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var c=l.children[0];c instanceof Td&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(l),a=l}return i},m0=function(t,n,r){return rq(Xl(t,n,r))},Di=function(t,n){if(!t)return new Vn.MathNode("mrow");if(tk[t.type]){var r=tk[t.type](t,n);return r}else throw new Gn("Got group of unknown type: '"+t.type+"'")};function Gre(e,t,n,r,o){var i=Xl(e,n),a;i.length===1&&i[0]instanceof au&&["mrow","mtable"].includes(i[0].type)?a=i[0]:a=new Vn.MathNode("mrow",i);var s=new Vn.MathNode("annotation",[new Vn.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Vn.MathNode("semantics",[a,s]),u=new Vn.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&u.setAttribute("display","block");var d=o?"katex":"katex-mathml";return sn.makeSpan([d],[u])}var E3e=function(t){return new kf({style:t.displayMode?Zr.DISPLAY:Zr.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},k3e=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=sn.makeSpan(r,[t])}return t},mpt=function(t,n,r){var o=E3e(r),i;if(r.output==="mathml")return Gre(t,n,o,r.displayMode,!0);if(r.output==="html"){var a=FF(t,o);i=sn.makeSpan(["katex"],[a])}else{var s=Gre(t,n,o,r.displayMode,!1),l=FF(t,o);i=sn.makeSpan(["katex"],[s,l])}return k3e(i,r)},ypt=function(t,n,r){var o=E3e(r),i=FF(t,o),a=sn.makeSpan(["katex"],[i]);return k3e(a,r)},bpt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},wpt=function(t){var n=new Vn.MathNode("mo",[new Vn.TextNode(bpt[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},Apt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Cpt=function(t){return t.type==="ordgroup"?t.body.length:1},xpt=function(t,n){function r(){var s=4e5,l=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(l)){var u=t,d=Cpt(u.base),c,f,p;if(d>5)l==="widehat"||l==="widecheck"?(c=420,s=2364,p=.42,f=l+"4"):(c=312,s=2340,p=.34,f="tilde4");else{var v=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][v],c=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],f=l+v):(s=[0,600,1033,2339,2340][v],c=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],f="tilde"+v)}var h=new v0(f),g=new lp([h],{width:"100%",height:tr(p),viewBox:"0 0 "+s+" "+c,preserveAspectRatio:"none"});return{span:sn.makeSvgSpan([],[g],n),minWidth:0,height:p}}else{var y=[],m=Apt[l],[b,w,A]=m,S=A/1e3,E=b.length,D,_;if(E===1){var M=m[3];D=["hide-tail"],_=[M]}else if(E===2)D=["halfarrow-left","halfarrow-right"],_=["xMinYMin","xMaxYMin"];else if(E===3)D=["brace-left","brace-center","brace-right"],_=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+E+" children.");for(var O=0;O0&&(o.style.minWidth=tr(i)),o},Spt=function(t,n,r,o,i){var a,s=t.height+t.depth+r+o;if(/fbox|color|angl/.test(n)){if(a=sn.makeSpan(["stretchy",n],[],i),n==="fbox"){var l=i.color&&i.getColor();l&&(a.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(n)&&u.push(new RF({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&u.push(new RF({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new lp(u,{width:"100%",height:tr(s)});a=sn.makeSvgSpan([],[d],i)}return a.height=s,a.style.height=tr(s),a},cp={encloseSpan:Spt,mathMLnode:wpt,svgSpan:xpt};function _o(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function iq(e){var t=JD(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function JD(e){return e&&(e.type==="atom"||Yft.hasOwnProperty(e.type))?e:null}var aq=(e,t)=>{var n,r,o;e&&e.type==="supsub"?(r=_o(e.base,"accent"),n=r.base,e.base=n,o=Gft(Jo(e,t)),e.base=r):(r=_o(e,"accent"),n=r.base);var i=Jo(n,t.havingCrampedStyle()),a=r.isShifty&&ei.isCharacterBox(n),s=0;if(a){var l=ei.getBaseElem(n),u=Jo(l,t.havingCrampedStyle());s=zre(u).skew}var d=r.label==="\\c",c=d?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),f;if(r.isStretchy)f=cp.svgSpan(r,t),f=sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+tr(2*s)+")",marginLeft:tr(2*s)}:void 0}]},t);else{var p,v;r.label==="\\vec"?(p=sn.staticSvg("vec",t),v=sn.svgData.vec[1]):(p=sn.makeOrd({mode:r.mode,text:r.label},t,"textord"),p=zre(p),p.italic=0,v=p.width,d&&(c+=p.depth)),f=sn.makeSpan(["accent-body"],[p]);var h=r.label==="\\textcircled";h&&(f.classes.push("accent-full"),c=i.height);var g=s;h||(g-=v/2),f.style.left=tr(g),r.label==="\\textcircled"&&(f.style.top=".2em"),f=sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:f}]},t)}var y=sn.makeSpan(["mord","accent"],[f],t);return o?(o.children[0]=y,o.height=Math.max(y.height,o.height),o.classes[0]="mord",o):y},T3e=(e,t)=>{var n=e.isStretchy?cp.mathMLnode(e.label):new Vn.MathNode("mo",[oc(e.label,e.mode)]),r=new Vn.MathNode("mover",[Di(e.base,t),n]);return r.setAttribute("accent","true"),r},Ept=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));gr({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=nk(t[0]),r=!Ept.test(e.funcName),o=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:o,base:n}},htmlBuilder:aq,mathmlBuilder:T3e});gr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:aq,mathmlBuilder:T3e});gr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:o}},htmlBuilder:(e,t)=>{var n=Jo(e.base,t),r=cp.svgSpan(e,t),o=e.label==="\\utilde"?.12:0,i=sn.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return sn.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var n=cp.mathMLnode(e.label),r=new Vn.MathNode("munder",[Di(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var e6=e=>{var t=new Vn.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};gr({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:o}=e;return{type:"xArrow",mode:r.mode,label:o,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),o=sn.wrapFragment(Jo(e.body,r,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";o.classes.push(i+"-arrow-pad");var a;e.below&&(r=t.havingStyle(n.sub()),a=sn.wrapFragment(Jo(e.below,r,t),t),a.classes.push(i+"-arrow-pad"));var s=cp.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;(o.depth>.25||e.label==="\\xleftequilibrium")&&(u-=o.depth);var d;if(a){var c=-t.fontMetrics().axisHeight+a.height+.5*s.height+.111;d=sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:c}]},t)}else d=sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:l}]},t);return d.children[0].children[0].children[1].classes.push("svg-align"),sn.makeSpan(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var n=cp.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var o=e6(Di(e.body,t));if(e.below){var i=e6(Di(e.below,t));r=new Vn.MathNode("munderover",[n,i,o])}else r=new Vn.MathNode("mover",[n,o])}else if(e.below){var a=e6(Di(e.below,t));r=new Vn.MathNode("munder",[n,a])}else r=e6(),r=new Vn.MathNode("mover",[n,r]);return r}});var kpt=sn.makeSpan;function _3e(e,t){var n=rs(e.body,t,!0);return kpt([e.mclass],n,t)}function D3e(e,t){var n,r=Xl(e.body,t);return e.mclass==="minner"?n=new Vn.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Vn.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Vn.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}gr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:_a(o),isCharacterBox:ei.isCharacterBox(o)}},htmlBuilder:_3e,mathmlBuilder:D3e});var e7=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};gr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:e7(t[0]),body:_a(t[1]),isCharacterBox:ei.isCharacterBox(t[1])}}});gr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,o=t[1],i=t[0],a;r!=="\\stackrel"?a=e7(o):a="mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:_a(o)},l={type:"supsub",mode:i.mode,base:s,sup:r==="\\underset"?null:i,sub:r==="\\underset"?i:null};return{type:"mclass",mode:n.mode,mclass:a,body:[l],isCharacterBox:ei.isCharacterBox(l)}},htmlBuilder:_3e,mathmlBuilder:D3e});gr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:e7(t[0]),body:_a(t[0])}},htmlBuilder(e,t){var n=rs(e.body,t,!0),r=sn.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Xl(e.body,t),r=new Vn.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var Tpt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Kre=()=>({type:"styling",body:[],mode:"math",style:"display"}),Yre=e=>e.type==="textord"&&e.text==="@",_pt=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Dpt(e,t,n){var r=Tpt[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var o=n.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:r,mode:"math",family:"rel"},a=n.callFunction("\\Big",[i],[]),s=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[o,a,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Ipt(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Gn("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],o=[r],i=0;i-1))if("<>AV".indexOf(u)>-1)for(var c=0;c<2;c++){for(var f=!0,p=l+1;pAV=|." after @',a[l]);var v=Dpt(u,d,e),h={type:"styling",body:[v],mode:"math",style:"display"};r.push(h),s=Kre()}i%2===0?r.push(s):r.shift(),r=[],o.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var g=new Array(o[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:o,arraystretch:1,addJot:!0,rowGaps:[null],cols:g,colSeparationType:"CD",hLinesBeforeRow:new Array(o.length+1).fill([])}}gr({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=sn.wrapFragment(Jo(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=tr(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Vn.MathNode("mrow",[Di(e.label,t)]);return n=new Vn.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Vn.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});gr({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=sn.wrapFragment(Jo(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Vn.MathNode("mrow",[Di(e.fragment,t)])}});gr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=_o(t[0],"ordgroup"),o=r.body,i="",a=0;a=1114111)throw new Gn("\\@char with invalid code point "+i);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:u}}});var I3e=(e,t)=>{var n=rs(e.body,t.withColor(e.color),!1);return sn.makeFragment(n)},O3e=(e,t)=>{var n=Xl(e.body,t.withColor(e.color)),r=new Vn.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};gr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=_o(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:_a(o)}},htmlBuilder:I3e,mathmlBuilder:O3e});gr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,o=_o(t[0],"color-token").color;n.gullet.macros.set("\\current@color",o);var i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:o,body:i}},htmlBuilder:I3e,mathmlBuilder:O3e});gr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,o=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,i=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:i,size:o&&_o(o,"size").value}},htmlBuilder(e,t){var n=sn.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=tr(ca(e.size,t)))),n},mathmlBuilder(e,t){var n=new Vn.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",tr(ca(e.size,t)))),n}});var UF={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},M3e=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Gn("Expected a control sequence",e);return t},Opt=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},P3e=(e,t,n,r)=>{var o=e.gullet.macros.get(n.text);o==null&&(n.noexpand=!0,o={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,o,r)};gr({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(UF[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=UF[r.text]),_o(t.parseFunction(),"internal");throw new Gn("Invalid token after macro prefix",r)}});gr({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),o=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new Gn("Expected a control sequence",r);for(var i=0,a,s=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){a=t.gullet.future(),s[i].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Gn('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==i+1)throw new Gn('Argument number "'+r.text+'" out of order');i++,s.push([])}else{if(r.text==="EOF")throw new Gn("Expected a macro definition");s[i].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return a&&l.unshift(a),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(o,{tokens:l,numArgs:i,delimiters:s},n===UF[n]),{type:"internal",mode:t.mode}}});gr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=M3e(t.gullet.popToken());t.gullet.consumeSpaces();var o=Opt(t);return P3e(t,r,o,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});gr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=M3e(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return P3e(t,r,i,n==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var _4=function(t,n,r){var o=zi.math[t]&&zi.math[t].replace,i=eq(o||t,n,r);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return i},sq=function(t,n,r,o){var i=r.havingBaseStyle(n),a=sn.makeSpan(o.concat(i.sizingClasses(r)),[t],r),s=i.sizeMultiplier/r.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=i.sizeMultiplier,a},N3e=function(t,n,r){var o=n.havingBaseStyle(r),i=(1-n.sizeMultiplier/o.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=tr(i),t.height-=i,t.depth+=i},Mpt=function(t,n,r,o,i,a){var s=sn.makeSymbol(t,"Main-Regular",i,o),l=sq(s,n,o,a);return r&&N3e(l,o,n),l},Ppt=function(t,n,r,o){return sn.makeSymbol(t,"Size"+n+"-Regular",r,o)},R3e=function(t,n,r,o,i,a){var s=Ppt(t,n,i,o),l=sq(sn.makeSpan(["delimsizing","size"+n],[s],o),Zr.TEXT,o,a);return r&&N3e(l,o,Zr.TEXT),l},rM=function(t,n,r){var o;n==="Size1-Regular"?o="delim-size1":o="delim-size4";var i=sn.makeSpan(["delimsizinginner",o],[sn.makeSpan([],[sn.makeSymbol(t,n,r)])]);return{type:"elem",elem:i}},oM=function(t,n,r){var o=kd["Size4-Regular"][t.charCodeAt(0)]?kd["Size4-Regular"][t.charCodeAt(0)][4]:kd["Size1-Regular"][t.charCodeAt(0)][4],i=new v0("inner",Fft(t,Math.round(1e3*n))),a=new lp([i],{width:tr(o),height:tr(n),style:"width:"+tr(o),viewBox:"0 0 "+1e3*o+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=sn.makeSvgSpan([],[a],r);return s.height=n,s.style.height=tr(n),s.style.width=tr(o),{type:"elem",elem:s}},zF=.008,t6={type:"kern",size:-1*zF},Npt=["|","\\lvert","\\rvert","\\vert"],Rpt=["\\|","\\lVert","\\rVert","\\Vert"],B3e=function(t,n,r,o,i,a){var s,l,u,d,c="",f=0;s=u=d=t,l=null;var p="Size1-Regular";t==="\\uparrow"?u=d="⏐":t==="\\Uparrow"?u=d="‖":t==="\\downarrow"?s=u="⏐":t==="\\Downarrow"?s=u="‖":t==="\\updownarrow"?(s="\\uparrow",u="⏐",d="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",u="‖",d="\\Downarrow"):Npt.includes(t)?(u="∣",c="vert",f=333):Rpt.includes(t)?(u="∥",c="doublevert",f=556):t==="["||t==="\\lbrack"?(s="⎡",u="⎢",d="⎣",p="Size4-Regular",c="lbrack",f=667):t==="]"||t==="\\rbrack"?(s="⎤",u="⎥",d="⎦",p="Size4-Regular",c="rbrack",f=667):t==="\\lfloor"||t==="⌊"?(u=s="⎢",d="⎣",p="Size4-Regular",c="lfloor",f=667):t==="\\lceil"||t==="⌈"?(s="⎡",u=d="⎢",p="Size4-Regular",c="lceil",f=667):t==="\\rfloor"||t==="⌋"?(u=s="⎥",d="⎦",p="Size4-Regular",c="rfloor",f=667):t==="\\rceil"||t==="⌉"?(s="⎤",u=d="⎥",p="Size4-Regular",c="rceil",f=667):t==="("||t==="\\lparen"?(s="⎛",u="⎜",d="⎝",p="Size4-Regular",c="lparen",f=875):t===")"||t==="\\rparen"?(s="⎞",u="⎟",d="⎠",p="Size4-Regular",c="rparen",f=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",d="⎩",u="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",d="⎭",u="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",d="⎩",u="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",d="⎭",u="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",d="⎭",u="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",d="⎩",u="⎪",p="Size4-Regular");var v=_4(s,p,i),h=v.height+v.depth,g=_4(u,p,i),y=g.height+g.depth,m=_4(d,p,i),b=m.height+m.depth,w=0,A=1;if(l!==null){var S=_4(l,p,i);w=S.height+S.depth,A=2}var E=h+b+w,D=Math.max(0,Math.ceil((n-E)/(A*y))),_=E+D*A*y,M=o.fontMetrics().axisHeight;r&&(M*=o.sizeMultiplier);var O=_/2-M,k=[];if(c.length>0){var R=_-h-b,N=Math.round(_*1e3),W=Uft(c,Math.round(R*1e3)),B=new v0(c,W),z=(f/1e3).toFixed(3)+"em",j=(N/1e3).toFixed(3)+"em",q=new lp([B],{width:z,height:j,viewBox:"0 0 "+f+" "+N}),Y=sn.makeSvgSpan([],[q],o);Y.height=N/1e3,Y.style.width=z,Y.style.height=j,k.push({type:"elem",elem:Y})}else{if(k.push(rM(d,p,i)),k.push(t6),l===null){var U=_-h-b+2*zF;k.push(oM(u,U,o))}else{var F=(_-h-b-w)/2+2*zF;k.push(oM(u,F,o)),k.push(t6),k.push(rM(l,p,i)),k.push(t6),k.push(oM(u,F,o))}k.push(t6),k.push(rM(s,p,i))}var H=o.havingBaseStyle(Zr.TEXT),re=sn.makeVList({positionType:"bottom",positionData:O,children:k},H);return sq(sn.makeSpan(["delimsizing","mult"],[re],H),Zr.TEXT,o,a)},iM=80,aM=.08,sM=function(t,n,r,o,i){var a=Lft(t,o,r),s=new v0(t,a),l=new lp([s],{width:"400em",height:tr(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return sn.makeSvgSpan(["hide-tail"],[l],i)},Bpt=function(t,n){var r=n.havingBaseSizing(),o=z3e("\\surd",t*r.sizeMultiplier,U3e,r),i=r.sizeMultiplier,a=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,u=0,d=0,c;return o.type==="small"?(d=1e3+1e3*a+iM,t<1?i=1:t<1.4&&(i=.7),l=(1+a+aM)/i,u=(1+a)/i,s=sM("sqrtMain",l,d,a,n),s.style.minWidth="0.853em",c=.833/i):o.type==="large"?(d=(1e3+iM)*s3[o.size],u=(s3[o.size]+a)/i,l=(s3[o.size]+a+aM)/i,s=sM("sqrtSize"+o.size,l,d,a,n),s.style.minWidth="1.02em",c=1/i):(l=t+a+aM,u=t+a,d=Math.floor(1e3*t+a)+iM,s=sM("sqrtTall",l,d,a,n),s.style.minWidth="0.742em",c=1.056),s.height=u,s.style.height=tr(l),{span:s,advanceWidth:c,ruleWidth:(n.fontMetrics().sqrtRuleThickness+a)*i}},L3e=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],Lpt=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],F3e=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],s3=[0,1.2,1.8,2.4,3],Fpt=function(t,n,r,o,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),L3e.includes(t)||F3e.includes(t))return R3e(t,n,!1,r,o,i);if(Lpt.includes(t))return B3e(t,s3[n],!1,r,o,i);throw new Gn("Illegal delimiter: '"+t+"'")},Upt=[{type:"small",style:Zr.SCRIPTSCRIPT},{type:"small",style:Zr.SCRIPT},{type:"small",style:Zr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zpt=[{type:"small",style:Zr.SCRIPTSCRIPT},{type:"small",style:Zr.SCRIPT},{type:"small",style:Zr.TEXT},{type:"stack"}],U3e=[{type:"small",style:Zr.SCRIPTSCRIPT},{type:"small",style:Zr.SCRIPT},{type:"small",style:Zr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],$pt=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},z3e=function(t,n,r,o){for(var i=Math.min(2,3-o.style.size),a=i;an)return r[a]}return r[r.length-1]},$3e=function(t,n,r,o,i,a){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;F3e.includes(t)?s=Upt:L3e.includes(t)?s=U3e:s=zpt;var l=z3e(t,n,s,o);return l.type==="small"?Mpt(t,l.style,r,o,i,a):l.type==="large"?R3e(t,l.size,r,o,i,a):B3e(t,n,r,o,i,a)},jpt=function(t,n,r,o,i,a){var s=o.fontMetrics().axisHeight*o.sizeMultiplier,l=901,u=5/o.fontMetrics().ptPerEm,d=Math.max(n-s,r+s),c=Math.max(d/500*l,2*d-u);return $3e(t,c,!0,o,i,a)},Wf={sqrtImage:Bpt,sizedDelim:Fpt,sizeToMaxHeight:s3,customSizedDelim:$3e,leftRightDelim:jpt},Qre={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Hpt=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function t7(e,t){var n=JD(e);if(n&&Hpt.includes(n.text))return n;throw n?new Gn("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Gn("Invalid delimiter type '"+e.type+"'",e)}gr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=t7(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Qre[e.funcName].size,mclass:Qre[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?sn.makeSpan([e.mclass]):Wf.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(oc(e.delim,e.mode));var n=new Vn.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=tr(Wf.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function Zre(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}gr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Gn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:t7(t[0],e).text,color:n}}});gr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=t7(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=_o(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:o,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Zre(e);for(var n=rs(e.body,t,!0,["mopen","mclose"]),r=0,o=0,i=!1,a=0;a{Zre(e);var n=Xl(e.body,t);if(e.left!=="."){var r=new Vn.MathNode("mo",[oc(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var o=new Vn.MathNode("mo",[oc(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return rq(n)}});gr({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=t7(t[0],e);if(!e.parser.leftrightDepth)throw new Gn("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=CA(t,[]);else{n=Wf.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?oc("|","text"):oc(e.delim,e.mode),r=new Vn.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var lq=(e,t)=>{var n=sn.wrapFragment(Jo(e.body,t),t),r=e.label.slice(1),o=t.sizeMultiplier,i,a=0,s=ei.isCharacterBox(e.body);if(r==="sout")i=sn.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,a=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=ca({number:.6,unit:"pt"},t),u=ca({number:.35,unit:"ex"},t),d=t.havingBaseSizing();o=o/d.sizeMultiplier;var c=n.height+n.depth+l+u;n.style.paddingLeft=tr(c/2+l);var f=Math.floor(1e3*c*o),p=Rft(f),v=new lp([new v0("phase",p)],{width:"400em",height:tr(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});i=sn.makeSvgSpan(["hide-tail"],[v],t),i.style.height=tr(c),a=n.depth+l+u}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var h=0,g=0,y=0;/box/.test(r)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),h=t.fontMetrics().fboxsep+(r==="colorbox"?0:y),g=h):r==="angl"?(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),h=4*y,g=Math.max(0,.25-n.depth)):(h=s?.2:0,g=h),i=cp.encloseSpan(n,r,h,g,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=tr(y)):r==="angl"&&y!==.049&&(i.style.borderTopWidth=tr(y),i.style.borderRightWidth=tr(y)),a=n.depth+g,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var m;if(e.backgroundColor)m=sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:a},{type:"elem",elem:n,shift:0}]},t);else{var b=/cancel|phase/.test(r)?["svg-align"]:[];m=sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:a,wrapperClasses:b}]},t)}return/cancel/.test(r)&&(m.height=n.height,m.depth=n.depth),/cancel/.test(r)&&!s?sn.makeSpan(["mord","cancel-lap"],[m],t):sn.makeSpan(["mord"],[m],t)},uq=(e,t)=>{var n=0,r=new Vn.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Di(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};gr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=_o(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:lq,mathmlBuilder:uq});gr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=_o(t[0],"color-token").color,a=_o(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:r.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:lq,mathmlBuilder:uq});gr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});gr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"enclose",mode:n.mode,label:r,body:o}},htmlBuilder:lq,mathmlBuilder:uq});gr({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var j3e={};function rf(e){for(var{type:t,names:n,props:r,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new Gn("{"+e.envName+"} can be used only in display mode.")};function cq(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function L0(e,t,n){var{hskipBeforeAndAfter:r,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:d,maxNumCols:c,leqno:f}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new Gn("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],h=[v],g=[],y=[],m=l!=null?[]:void 0;function b(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){m&&(e.gullet.macros.get("\\df@tag")?(m.push(e.subparse([new fu("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):m.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(b(),y.push(Xre(e));;){var A=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),A={type:"ordgroup",mode:e.mode,body:A},n&&(A={type:"styling",mode:e.mode,style:n,body:[A]}),v.push(A);var S=e.fetch().text;if(S==="&"){if(c&&v.length===c){if(u||s)throw new Gn("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(S==="\\end"){w(),v.length===1&&A.type==="styling"&&A.body[0].body.length===0&&(h.length>1||!d)&&h.pop(),y.length0&&(b+=.25),u.push({pos:b,isDashed:ie[ue]})}for(w(a[0]),r=0;r0&&(O+=m,Eie))for(r=0;r=s)){var Z=void 0;(o>0||t.hskipBeforeAndAfter)&&(Z=ei.deflt(F.pregap,f),Z!==0&&(W=sn.makeSpan(["arraycolsep"],[]),W.style.width=tr(Z),N.push(W)));var le=[];for(r=0;r0){for(var he=sn.makeLineSpan("hline",n,d),Ee=sn.makeLineSpan("hdashline",n,d),Q=[{type:"elem",elem:l,shift:0}];u.length>0;){var me=u.pop(),De=me.pos-k;me.isDashed?Q.push({type:"elem",elem:Ee,shift:De}):Q.push({type:"elem",elem:he,shift:De})}l=sn.makeVList({positionType:"individualShift",children:Q},n)}if(z.length===0)return sn.makeSpan(["mord"],[l],n);var pe=sn.makeVList({positionType:"individualShift",children:z},n);return pe=sn.makeSpan(["tag"],[pe],n),sn.makeFragment([l,pe])},Wpt={c:"center ",l:"left ",r:"right "},af=function(t,n){for(var r=[],o=new Vn.MathNode("mtd",[],["mtr-glue"]),i=new Vn.MathNode("mtd",[],["mml-eqn-num"]),a=0;a0){var v=t.cols,h="",g=!1,y=0,m=v.length;v[0].type==="separator"&&(f+="top ",y=1),v[v.length-1].type==="separator"&&(f+="bottom ",m-=1);for(var b=y;b0?"left ":"",f+=D[D.length-1].length>0?"right ":"";for(var _=1;_-1?"alignat":"align",i=t.envName==="split",a=L0(t.parser,{cols:r,addJot:!0,autoTag:i?void 0:cq(t.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,u={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var d="",c=0;c0&&p&&(g=1),r[v]={type:"align",align:h,pregap:g,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};rf({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=JD(t[0]),r=n?[t[0]]:_o(t[0],"ordgroup").body,o=r.map(function(a){var s=iq(a),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Gn("Unknown column alignment: "+l,a)}),i={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return L0(e.parser,i,dq(e.envName))},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var o=e.parser;if(o.consumeSpaces(),o.fetch().text==="["){if(o.consume(),o.consumeSpaces(),n=o.fetch().text,"lcr".indexOf(n)===-1)throw new Gn("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),r.cols=[{type:"align",align:n}]}}var i=L0(e.parser,r,dq(e.envName)),a=Math.max(0,...i.body.map(s=>s.length));return i.cols=new Array(a).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=L0(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=JD(t[0]),r=n?[t[0]]:_o(t[0],"ordgroup").body,o=r.map(function(a){var s=iq(a),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Gn("Unknown column alignment: "+l,a)});if(o.length>1)throw new Gn("{subarray} can contain only one column");var i={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=L0(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new Gn("{subarray} can contain only one column");return i},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=L0(e.parser,t,dq(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:W3e,htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&n7(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:cq(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return L0(e.parser,t,"display")},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:W3e,htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){n7(e);var t={autoTag:cq(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return L0(e.parser,t,"display")},htmlBuilder:of,mathmlBuilder:af});rf({type:"array",names:["CD"],props:{numArgs:0},handler(e){return n7(e),Ipt(e.parser)},htmlBuilder:of,mathmlBuilder:af});ut("\\nonumber","\\gdef\\@eqnsw{0}");ut("\\notag","\\nonumber");gr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Gn(e.funcName+" valid only within array environment")}});var Jre=j3e;gr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];if(o.type!=="ordgroup")throw new Gn("Invalid environment name",o);for(var i="",a=0;a{var n=e.font,r=t.withFont(n);return Jo(e.body,r)},q3e=(e,t)=>{var n=e.font,r=t.withFont(n);return Di(e.body,r)},eoe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};gr({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=nk(t[0]),i=r;return i in eoe&&(i=eoe[i]),{type:"font",mode:n.mode,font:i.slice(1),body:o}},htmlBuilder:V3e,mathmlBuilder:q3e});gr({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],o=ei.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:e7(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}});gr({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:o}=e,{mode:i}=n,a=n.parseExpression(!0,o),s="math"+r.slice(1);return{type:"font",mode:i,font:s,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:V3e,mathmlBuilder:q3e});var G3e=(e,t)=>{var n=t;return e==="display"?n=n.id>=Zr.SCRIPT.id?n.text():Zr.DISPLAY:e==="text"&&n.size===Zr.DISPLAY.size?n=Zr.TEXT:e==="script"?n=Zr.SCRIPT:e==="scriptscript"&&(n=Zr.SCRIPTSCRIPT),n},fq=(e,t)=>{var n=G3e(e.size,t.style),r=n.fracNum(),o=n.fracDen(),i;i=t.havingStyle(r);var a=Jo(e.numer,i,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height0?v=3*f:v=7*f,h=t.fontMetrics().denom1):(c>0?(p=t.fontMetrics().num2,v=f):(p=t.fontMetrics().num3,v=3*f),h=t.fontMetrics().denom2);var g;if(d){var m=t.fontMetrics().axisHeight;p-a.depth-(m+.5*c){var n=new Vn.MathNode("mfrac",[Di(e.numer,t),Di(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=ca(e.barSize,t);n.setAttribute("linethickness",tr(r))}var o=G3e(e.size,t.style);if(o.size!==t.style.size){n=new Vn.MathNode("mstyle",[n]);var i=o.size===Zr.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",i),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var s=new Vn.MathNode("mo",[new Vn.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),e.rightDelim!=null){var l=new Vn.MathNode("mo",[new Vn.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return rq(a)}return n};gr({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=t[1],a,s=null,l=null,u="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:o,denom:i,hasBarLine:a,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:fq,mathmlBuilder:pq});gr({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});gr({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,o;switch(n){case"\\over":o="\\frac";break;case"\\choose":o="\\binom";break;case"\\atop":o="\\\\atopfrac";break;case"\\brace":o="\\\\bracefrac";break;case"\\brack":o="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:o,token:r}}});var toe=["display","text","script","scriptscript"],noe=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};gr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],o=t[5],i=nk(t[0]),a=i.type==="atom"&&i.family==="open"?noe(i.text):null,s=nk(t[1]),l=s.type==="atom"&&s.family==="close"?noe(s.text):null,u=_o(t[2],"size"),d,c=null;u.isBlank?d=!0:(c=u.value,d=c.number>0);var f="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var v=_o(p.body[0],"textord");f=toe[Number(v.text)]}}else p=_o(p,"textord"),f=toe[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:o,continued:!1,hasBarLine:d,barSize:c,leftDelim:a,rightDelim:l,size:f}},htmlBuilder:fq,mathmlBuilder:pq});gr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:o}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:_o(t[0],"size").value,token:o}}});gr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0],i=wft(_o(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:n.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:fq,mathmlBuilder:pq});var K3e=(e,t)=>{var n=t.style,r,o;e.type==="supsub"?(r=e.sup?Jo(e.sup,t.havingStyle(n.sup()),t):Jo(e.sub,t.havingStyle(n.sub()),t),o=_o(e.base,"horizBrace")):o=_o(e,"horizBrace");var i=Jo(o.base,t.havingBaseStyle(Zr.DISPLAY)),a=cp.svgSpan(o,t),s;if(o.isOver?(s=sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:a}]},t),s.children[0].children[0].children[1].classes.push("svg-align")):(s=sn.makeVList({positionType:"bottom",positionData:i.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:i}]},t),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=sn.makeSpan(["mord",o.isOver?"mover":"munder"],[s],t);o.isOver?s=sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):s=sn.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return sn.makeSpan(["mord",o.isOver?"mover":"munder"],[s],t)},Vpt=(e,t)=>{var n=cp.mathMLnode(e.label);return new Vn.MathNode(e.isOver?"mover":"munder",[Di(e.base,t),n])};gr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:K3e,mathmlBuilder:Vpt});gr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],o=_o(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:_a(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=rs(e.body,t,!1);return sn.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=m0(e.body,t);return n instanceof au||(n=new au("mrow",[n])),n.setAttribute("href",e.href),n}});gr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=_o(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var o=[],i=0;i{var{parser:n,funcName:r,token:o}=e,i=_o(t[0],"raw").string,a=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=i,s={command:"\\htmlClass",class:i};break;case"\\htmlId":l.id=i,s={command:"\\htmlId",id:i};break;case"\\htmlStyle":l.style=i,s={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var u=i.split(","),d=0;d{var n=rs(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var o=sn.makeSpan(r,n,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>m0(e.body,t)});gr({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:_a(t[0]),mathml:_a(t[1])}},htmlBuilder:(e,t)=>{var n=rs(e.html,t,!1);return sn.makeFragment(n)},mathmlBuilder:(e,t)=>m0(e.mathml,t)});var lM=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Gn("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!p3e(r))throw new Gn("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};gr({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(n[0])for(var l=_o(n[0],"raw").string,u=l.split(","),d=0;d{var n=ca(e.height,t),r=0;e.totalheight.number>0&&(r=ca(e.totalheight,t)-n);var o=0;e.width.number>0&&(o=ca(e.width,t));var i={height:tr(n+r)};o>0&&(i.width=tr(o)),r>0&&(i.verticalAlign=tr(-r));var a=new Vft(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{var n=new Vn.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=ca(e.height,t),o=0;if(e.totalheight.number>0&&(o=ca(e.totalheight,t)-r,n.setAttribute("valign",tr(-o))),n.setAttribute("height",tr(r+o)),e.width.number>0){var i=ca(e.width,t);n.setAttribute("width",tr(i))}return n.setAttribute("src",e.src),n}});gr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=_o(t[0],"size");if(n.settings.strict){var i=r[1]==="m",a=o.value.unit==="mu";i?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+o.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:o.value}},htmlBuilder(e,t){return sn.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=ca(e.dimension,t);return new Vn.SpaceNode(n)}});gr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:o}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=sn.makeSpan([],[Jo(e.body,t)]),n=sn.makeSpan(["inner"],[n],t)):n=sn.makeSpan(["inner"],[Jo(e.body,t)]);var r=sn.makeSpan(["fix"],[]),o=sn.makeSpan([e.alignment],[n,r],t),i=sn.makeSpan(["strut"]);return i.style.height=tr(o.height+o.depth),o.depth&&(i.style.verticalAlign=tr(-o.depth)),o.children.unshift(i),o=sn.makeSpan(["thinbox"],[o],t),sn.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var n=new Vn.MathNode("mpadded",[Di(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});gr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,o=r.mode;r.switchMode("math");var i=n==="\\("?"\\)":"$",a=r.parseExpression(!1,i);return r.expect(i),r.switchMode(o),{type:"styling",mode:r.mode,style:"text",body:a}}});gr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Gn("Mismatched "+e.funcName)}});var roe=(e,t)=>{switch(t.style.size){case Zr.DISPLAY.size:return e.display;case Zr.TEXT.size:return e.text;case Zr.SCRIPT.size:return e.script;case Zr.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};gr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:_a(t[0]),text:_a(t[1]),script:_a(t[2]),scriptscript:_a(t[3])}},htmlBuilder:(e,t)=>{var n=roe(e,t),r=rs(n,t,!1);return sn.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=roe(e,t);return m0(n,t)}});var Y3e=(e,t,n,r,o,i,a)=>{e=sn.makeSpan([],[e]);var s=n&&ei.isCharacterBox(n),l,u;if(t){var d=Jo(t,r.havingStyle(o.sup()),r);u={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var c=Jo(n,r.havingStyle(o.sub()),r);l={elem:c,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-c.height)}}var f;if(u&&l){var p=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+a;f=sn.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:tr(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:tr(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var v=e.height-a;f=sn.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:tr(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(u){var h=e.depth+a;f=sn.makeVList({positionType:"bottom",positionData:h,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:tr(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var g=[f];if(l&&i!==0&&!s){var y=sn.makeSpan(["mspace"],[],r);y.style.marginRight=tr(i),g.unshift(y)}return sn.makeSpan(["mop","op-limits"],g,r)},Q3e=["\\smallint"],Qb=(e,t)=>{var n,r,o=!1,i;e.type==="supsub"?(n=e.sup,r=e.sub,i=_o(e.base,"op"),o=!0):i=_o(e,"op");var a=t.style,s=!1;a.size===Zr.DISPLAY.size&&i.symbol&&!Q3e.includes(i.name)&&(s=!0);var l;if(i.symbol){var u=s?"Size2-Regular":"Size1-Regular",d="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(d=i.name.slice(1),i.name=d==="oiint"?"\\iint":"\\iiint"),l=sn.makeSymbol(i.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),d.length>0){var c=l.italic,f=sn.staticSvg(d+"Size"+(s?"2":"1"),t);l=sn.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:f,shift:s?.08:0}]},t),i.name="\\"+d,l.classes.unshift("mop"),l.italic=c}}else if(i.body){var p=rs(i.body,t,!0);p.length===1&&p[0]instanceof rc?(l=p[0],l.classes[0]="mop"):l=sn.makeSpan(["mop"],p,t)}else{for(var v=[],h=1;h{var n;if(e.symbol)n=new au("mo",[oc(e.name,e.mode)]),Q3e.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new au("mo",Xl(e.body,t));else{n=new au("mi",[new Td(e.name.slice(1))]);var r=new au("mo",[oc("⁡","text")]);e.parentIsSupSub?n=new au("mrow",[n,r]):n=S3e([n,r])}return n},qpt={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};gr({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=r;return o.length===1&&(o=qpt[o]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:Qb,mathmlBuilder:rC});gr({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:_a(r)}},htmlBuilder:Qb,mathmlBuilder:rC});var Gpt={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};gr({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Qb,mathmlBuilder:rC});gr({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Qb,mathmlBuilder:rC});gr({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=Gpt[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Qb,mathmlBuilder:rC});var Z3e=(e,t)=>{var n,r,o=!1,i;e.type==="supsub"?(n=e.sup,r=e.sub,i=_o(e.base,"operatorname"),o=!0):i=_o(e,"operatorname");var a;if(i.body.length>0){for(var s=i.body.map(c=>{var f=c.text;return typeof f=="string"?{type:"textord",mode:c.mode,text:f}:c}),l=rs(s,t.withFont("mathrm"),!0),u=0;u{for(var n=Xl(e.body,t.withFont("mathrm")),r=!0,o=0;od.toText()).join("");n=[new Vn.TextNode(s)]}var l=new Vn.MathNode("mi",n);l.setAttribute("mathvariant","normal");var u=new Vn.MathNode("mo",[oc("⁡","text")]);return e.parentIsSupSub?new Vn.MathNode("mrow",[l,u]):Vn.newDocumentFragment([l,u])};gr({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,o=t[0];return{type:"operatorname",mode:n.mode,body:_a(o),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Z3e,mathmlBuilder:Kpt});ut("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");gm({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?sn.makeFragment(rs(e.body,t,!1)):sn.makeSpan(["mord"],rs(e.body,t,!0),t)},mathmlBuilder(e,t){return m0(e.body,t,!0)}});gr({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=Jo(e.body,t.havingCrampedStyle()),r=sn.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return sn.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new Vn.MathNode("mo",[new Vn.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Vn.MathNode("mover",[Di(e.body,t),n]);return r.setAttribute("accent","true"),r}});gr({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:_a(r)}},htmlBuilder:(e,t)=>{var n=rs(e.body,t.withPhantom(),!1);return sn.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Xl(e.body,t);return new Vn.MathNode("mphantom",n)}});gr({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=sn.makeSpan([],[Jo(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=Xl(_a(e.body),t),r=new Vn.MathNode("mphantom",n),o=new Vn.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}});gr({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=sn.makeSpan(["inner"],[Jo(e.body,t.withPhantom())]),r=sn.makeSpan(["fix"],[]);return sn.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Xl(_a(e.body),t),r=new Vn.MathNode("mphantom",n),o=new Vn.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}});gr({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=_o(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){var n=Jo(e.body,t),r=ca(e.dy,t);return sn.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Vn.MathNode("mpadded",[Di(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});gr({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});gr({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,o=n[0],i=_o(t[0],"size"),a=_o(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&_o(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var n=sn.makeSpan(["mord","rule"],[],t),r=ca(e.width,t),o=ca(e.height,t),i=e.shift?ca(e.shift,t):0;return n.style.borderRightWidth=tr(r),n.style.borderTopWidth=tr(o),n.style.bottom=tr(i),n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=o*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ca(e.width,t),r=ca(e.height,t),o=e.shift?ca(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new Vn.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",tr(n)),a.setAttribute("height",tr(r));var s=new Vn.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",tr(o)):(s.setAttribute("height",tr(o)),s.setAttribute("depth",tr(-o))),s.setAttribute("voffset",tr(o)),s}});function X3e(e,t,n){for(var r=rs(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,i=0;i{var n=t.havingSize(e.size);return X3e(e.body,n,t)};gr({type:"sizing",names:ooe,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!1,n);return{type:"sizing",mode:o.mode,size:ooe.indexOf(r)+1,body:i}},htmlBuilder:Ypt,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Xl(e.body,n),o=new Vn.MathNode("mstyle",r);return o.setAttribute("mathsize",tr(n.sizeMultiplier)),o}});gr({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,o=!1,i=!1,a=n[0]&&_o(n[0],"ordgroup");if(a)for(var s="",l=0;l{var n=sn.makeSpan([],[Jo(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new Vn.MathNode("mpadded",[Di(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});gr({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,o=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:o}},htmlBuilder(e,t){var n=Jo(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=sn.wrapFragment(n,t);var r=t.fontMetrics(),o=r.defaultRuleThickness,i=o;t.style.idn.height+n.depth+a&&(a=(a+c-n.height-n.depth)/2);var f=l.height-n.height-a-u;n.style.paddingLeft=tr(d);var p=sn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:l},{type:"kern",size:u}]},t);if(e.index){var v=t.havingStyle(Zr.SCRIPTSCRIPT),h=Jo(e.index,v,t),g=.6*(p.height-p.depth),y=sn.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:h}]},t),m=sn.makeSpan(["root"],[y]);return sn.makeSpan(["mord","sqrt"],[m,p],t)}else return sn.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Vn.MathNode("mroot",[Di(n,t),Di(r,t)]):new Vn.MathNode("msqrt",[Di(n,t)])}});var ioe={display:Zr.DISPLAY,text:Zr.TEXT,script:Zr.SCRIPT,scriptscript:Zr.SCRIPTSCRIPT};gr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:o}=e,i=o.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var n=ioe[e.style],r=t.havingStyle(n).withFont("");return X3e(e.body,r,t)},mathmlBuilder(e,t){var n=ioe[e.style],r=t.havingStyle(n),o=Xl(e.body,r),i=new Vn.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var Qpt=function(t,n){var r=t.base;if(r)if(r.type==="op"){var o=r.limits&&(n.style.size===Zr.DISPLAY.size||r.alwaysHandleSupSub);return o?Qb:null}else if(r.type==="operatorname"){var i=r.alwaysHandleSupSub&&(n.style.size===Zr.DISPLAY.size||r.limits);return i?Z3e:null}else{if(r.type==="accent")return ei.isCharacterBox(r.base)?aq:null;if(r.type==="horizBrace"){var a=!t.sub;return a===r.isOver?K3e:null}else return null}else return null};gm({type:"supsub",htmlBuilder(e,t){var n=Qpt(e,t);if(n)return n(e,t);var{base:r,sup:o,sub:i}=e,a=Jo(r,t),s,l,u=t.fontMetrics(),d=0,c=0,f=r&&ei.isCharacterBox(r);if(o){var p=t.havingStyle(t.style.sup());s=Jo(o,p,t),f||(d=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(i){var v=t.havingStyle(t.style.sub());l=Jo(i,v,t),f||(c=a.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var h;t.style===Zr.DISPLAY?h=u.sup1:t.style.cramped?h=u.sup3:h=u.sup2;var g=t.sizeMultiplier,y=tr(.5/u.ptPerEm/g),m=null;if(l){var b=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(a instanceof rc||b)&&(m=tr(-a.italic))}var w;if(s&&l){d=Math.max(d,h,s.depth+.25*u.xHeight),c=Math.max(c,u.sub2);var A=u.defaultRuleThickness,S=4*A;if(d-s.depth-(l.height-c)0&&(d+=E,c-=E)}var D=[{type:"elem",elem:l,shift:c,marginRight:y,marginLeft:m},{type:"elem",elem:s,shift:-d,marginRight:y}];w=sn.makeVList({positionType:"individualShift",children:D},t)}else if(l){c=Math.max(c,u.sub1,l.height-.8*u.xHeight);var _=[{type:"elem",elem:l,marginLeft:m,marginRight:y}];w=sn.makeVList({positionType:"shift",positionData:c,children:_},t)}else if(s)d=Math.max(d,h,s.depth+.25*u.xHeight),w=sn.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:s,marginRight:y}]},t);else throw new Error("supsub must have either sup or sub.");var M=LF(a,"right")||"mord";return sn.makeSpan([M],[a,sn.makeSpan(["msupsub"],[w])],t)},mathmlBuilder(e,t){var n=!1,r,o;e.base&&e.base.type==="horizBrace"&&(o=!!e.sup,o===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[Di(e.base,t)];e.sub&&i.push(Di(e.sub,t)),e.sup&&i.push(Di(e.sup,t));var a;if(n)a=r?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===Zr.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===Zr.DISPLAY||u.limits)?a="munderover":a="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===Zr.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===Zr.DISPLAY)?a="munder":a="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===Zr.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===Zr.DISPLAY)?a="mover":a="msup"}return new Vn.MathNode(a,i)}});gm({type:"atom",htmlBuilder(e,t){return sn.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Vn.MathNode("mo",[oc(e.text,e.mode)]);if(e.family==="bin"){var r=oq(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var J3e={mi:"italic",mn:"normal",mtext:"normal"};gm({type:"mathord",htmlBuilder(e,t){return sn.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Vn.MathNode("mi",[oc(e.text,e.mode,t)]),r=oq(e,t)||"italic";return r!==J3e[n.type]&&n.setAttribute("mathvariant",r),n}});gm({type:"textord",htmlBuilder(e,t){return sn.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=oc(e.text,e.mode,t),r=oq(e,t)||"normal",o;return e.mode==="text"?o=new Vn.MathNode("mtext",[n]):/[0-9]/.test(e.text)?o=new Vn.MathNode("mn",[n]):e.text==="\\prime"?o=new Vn.MathNode("mo",[n]):o=new Vn.MathNode("mi",[n]),r!==J3e[o.type]&&o.setAttribute("mathvariant",r),o}});var uM={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},cM={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};gm({type:"spacing",htmlBuilder(e,t){if(cM.hasOwnProperty(e.text)){var n=cM[e.text].className||"";if(e.mode==="text"){var r=sn.makeOrd(e,t,"textord");return r.classes.push(n),r}else return sn.makeSpan(["mspace",n],[sn.mathsym(e.text,e.mode,t)],t)}else{if(uM.hasOwnProperty(e.text))return sn.makeSpan(["mspace",uM[e.text]],[],t);throw new Gn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(cM.hasOwnProperty(e.text))n=new Vn.MathNode("mtext",[new Vn.TextNode(" ")]);else{if(uM.hasOwnProperty(e.text))return new Vn.MathNode("mspace");throw new Gn('Unknown type of space "'+e.text+'"')}return n}});var aoe=()=>{var e=new Vn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};gm({type:"tag",mathmlBuilder(e,t){var n=new Vn.MathNode("mtable",[new Vn.MathNode("mtr",[aoe(),new Vn.MathNode("mtd",[m0(e.body,t)]),aoe(),new Vn.MathNode("mtd",[m0(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var soe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},loe={"\\textbf":"textbf","\\textmd":"textmd"},Zpt={"\\textit":"textit","\\textup":"textup"},uoe=(e,t)=>{var n=e.font;if(n){if(soe[n])return t.withTextFontFamily(soe[n]);if(loe[n])return t.withTextFontWeight(loe[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Zpt[n])};gr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,o=t[0];return{type:"text",mode:n.mode,body:_a(o),font:r}},htmlBuilder(e,t){var n=uoe(e,t),r=rs(e.body,n,!0);return sn.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=uoe(e,t);return m0(e.body,n)}});gr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Jo(e.body,t),r=sn.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=sn.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:o},{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n}]},t);return sn.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var n=new Vn.MathNode("mo",[new Vn.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Vn.MathNode("munder",[Di(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});gr({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=Jo(e.body,t),r=t.fontMetrics().axisHeight,o=.5*(n.height-r-(n.depth+r));return sn.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Vn.MathNode("mpadded",[Di(e.body,t)],["vcenter"])}});gr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Gn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=coe(e),r=[],o=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"␣":" "),Ch=C3e,eAe=`[ \r ]`,Xpt="\\\\[a-zA-Z@]+",Jpt="\\\\[^\uD800-\uDFFF]",eht="("+Xpt+")"+eAe+"*",tht=`\\\\( |[ \r ]+ ?)[ \r ]*`,$F="[̀-ͯ]",nht=new RegExp($F+"+$"),rht="("+eAe+"+)|"+(tht+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+($F+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+($F+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+eht)+("|"+Jpt+")");class doe{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(rht,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new fu("EOF",new Tl(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Gn("Unexpected character: '"+t[n]+"'",new fu(t[n],new Tl(this,n,n+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[o]===14){var i=t.indexOf(` `,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new fu(o,new Tl(this,n,this.tokenRegex.lastIndex))}}class oht{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Gn("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var o=0;o0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var iht=H3e;ut("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});ut("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});ut("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});ut("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});ut("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});ut("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");ut("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var foe={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ut("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Gn("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=foe[t.text],r==null||r>=n)throw new Gn("Invalid base-"+n+" digit "+t.text);for(var o;(o=foe[e.future().text])!=null&&o{var o=e.consumeArg().tokens;if(o.length!==1)throw new Gn("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new Gn("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!n)throw new Gn("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(o=e.consumeArg().tokens,o.length===1&&o[0].text==="["){for(var l="",u=e.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new Gn("Invalid number of arguments: "+l);s=parseInt(l),o=e.consumeArg().tokens}return a&&r||e.macros.set(i,{tokens:o,numArgs:s}),""};ut("\\newcommand",e=>hq(e,!1,!0,!1));ut("\\renewcommand",e=>hq(e,!0,!1,!1));ut("\\providecommand",e=>hq(e,!0,!0,!0));ut("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});ut("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});ut("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ch[n],zi.math[n],zi.text[n]),""});ut("\\bgroup","{");ut("\\egroup","}");ut("~","\\nobreakspace");ut("\\lq","`");ut("\\rq","'");ut("\\aa","\\r a");ut("\\AA","\\r A");ut("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");ut("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");ut("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");ut("ℬ","\\mathscr{B}");ut("ℰ","\\mathscr{E}");ut("ℱ","\\mathscr{F}");ut("ℋ","\\mathscr{H}");ut("ℐ","\\mathscr{I}");ut("ℒ","\\mathscr{L}");ut("ℳ","\\mathscr{M}");ut("ℛ","\\mathscr{R}");ut("ℭ","\\mathfrak{C}");ut("ℌ","\\mathfrak{H}");ut("ℨ","\\mathfrak{Z}");ut("\\Bbbk","\\Bbb{k}");ut("·","\\cdotp");ut("\\llap","\\mathllap{\\textrm{#1}}");ut("\\rlap","\\mathrlap{\\textrm{#1}}");ut("\\clap","\\mathclap{\\textrm{#1}}");ut("\\mathstrut","\\vphantom{(}");ut("\\underbar","\\underline{\\text{#1}}");ut("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');ut("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");ut("\\ne","\\neq");ut("≠","\\neq");ut("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");ut("∉","\\notin");ut("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");ut("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");ut("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");ut("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");ut("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");ut("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");ut("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");ut("⟂","\\perp");ut("‼","\\mathclose{!\\mkern-0.8mu!}");ut("∌","\\notni");ut("⌜","\\ulcorner");ut("⌝","\\urcorner");ut("⌞","\\llcorner");ut("⌟","\\lrcorner");ut("©","\\copyright");ut("®","\\textregistered");ut("️","\\textregistered");ut("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');ut("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');ut("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');ut("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');ut("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");ut("⋮","\\vdots");ut("\\varGamma","\\mathit{\\Gamma}");ut("\\varDelta","\\mathit{\\Delta}");ut("\\varTheta","\\mathit{\\Theta}");ut("\\varLambda","\\mathit{\\Lambda}");ut("\\varXi","\\mathit{\\Xi}");ut("\\varPi","\\mathit{\\Pi}");ut("\\varSigma","\\mathit{\\Sigma}");ut("\\varUpsilon","\\mathit{\\Upsilon}");ut("\\varPhi","\\mathit{\\Phi}");ut("\\varPsi","\\mathit{\\Psi}");ut("\\varOmega","\\mathit{\\Omega}");ut("\\substack","\\begin{subarray}{c}#1\\end{subarray}");ut("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");ut("\\boxed","\\fbox{$\\displaystyle{#1}$}");ut("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");ut("\\implies","\\DOTSB\\;\\Longrightarrow\\;");ut("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");ut("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");ut("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var poe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ut("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in poe?t=poe[n]:(n.slice(0,4)==="\\not"||n in zi.math&&["bin","rel"].includes(zi.math[n].group))&&(t="\\dotsb"),t});var gq={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ut("\\dotso",function(e){var t=e.future().text;return t in gq?"\\ldots\\,":"\\ldots"});ut("\\dotsc",function(e){var t=e.future().text;return t in gq&&t!==","?"\\ldots\\,":"\\ldots"});ut("\\cdots",function(e){var t=e.future().text;return t in gq?"\\@cdots\\,":"\\@cdots"});ut("\\dotsb","\\cdots");ut("\\dotsm","\\cdots");ut("\\dotsi","\\!\\cdots");ut("\\dotsx","\\ldots\\,");ut("\\DOTSI","\\relax");ut("\\DOTSB","\\relax");ut("\\DOTSX","\\relax");ut("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");ut("\\,","\\tmspace+{3mu}{.1667em}");ut("\\thinspace","\\,");ut("\\>","\\mskip{4mu}");ut("\\:","\\tmspace+{4mu}{.2222em}");ut("\\medspace","\\:");ut("\\;","\\tmspace+{5mu}{.2777em}");ut("\\thickspace","\\;");ut("\\!","\\tmspace-{3mu}{.1667em}");ut("\\negthinspace","\\!");ut("\\negmedspace","\\tmspace-{4mu}{.2222em}");ut("\\negthickspace","\\tmspace-{5mu}{.277em}");ut("\\enspace","\\kern.5em ");ut("\\enskip","\\hskip.5em\\relax");ut("\\quad","\\hskip1em\\relax");ut("\\qquad","\\hskip2em\\relax");ut("\\tag","\\@ifstar\\tag@literal\\tag@paren");ut("\\tag@paren","\\tag@literal{({#1})}");ut("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Gn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});ut("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");ut("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");ut("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");ut("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");ut("\\newline","\\\\\\relax");ut("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var tAe=tr(kd["Main-Regular"][84][1]-.7*kd["Main-Regular"][65][1]);ut("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+tAe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");ut("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+tAe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");ut("\\hspace","\\@ifstar\\@hspacer\\@hspace");ut("\\@hspace","\\hskip #1\\relax");ut("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");ut("\\ordinarycolon",":");ut("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");ut("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');ut("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');ut("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');ut("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');ut("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');ut("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');ut("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');ut("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');ut("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');ut("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');ut("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');ut("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');ut("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');ut("∷","\\dblcolon");ut("∹","\\eqcolon");ut("≔","\\coloneqq");ut("≕","\\eqqcolon");ut("⩴","\\Coloneqq");ut("\\ratio","\\vcentcolon");ut("\\coloncolon","\\dblcolon");ut("\\colonequals","\\coloneqq");ut("\\coloncolonequals","\\Coloneqq");ut("\\equalscolon","\\eqqcolon");ut("\\equalscoloncolon","\\Eqqcolon");ut("\\colonminus","\\coloneq");ut("\\coloncolonminus","\\Coloneq");ut("\\minuscolon","\\eqcolon");ut("\\minuscoloncolon","\\Eqcolon");ut("\\coloncolonapprox","\\Colonapprox");ut("\\coloncolonsim","\\Colonsim");ut("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");ut("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");ut("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");ut("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");ut("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");ut("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");ut("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");ut("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");ut("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");ut("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");ut("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");ut("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");ut("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");ut("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");ut("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");ut("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");ut("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");ut("\\nleqq","\\html@mathml{\\@nleqq}{≰}");ut("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");ut("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");ut("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");ut("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");ut("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");ut("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");ut("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");ut("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");ut("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");ut("\\imath","\\html@mathml{\\@imath}{ı}");ut("\\jmath","\\html@mathml{\\@jmath}{ȷ}");ut("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");ut("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");ut("⟦","\\llbracket");ut("⟧","\\rrbracket");ut("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");ut("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");ut("⦃","\\lBrace");ut("⦄","\\rBrace");ut("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");ut("⦵","\\minuso");ut("\\darr","\\downarrow");ut("\\dArr","\\Downarrow");ut("\\Darr","\\Downarrow");ut("\\lang","\\langle");ut("\\rang","\\rangle");ut("\\uarr","\\uparrow");ut("\\uArr","\\Uparrow");ut("\\Uarr","\\Uparrow");ut("\\N","\\mathbb{N}");ut("\\R","\\mathbb{R}");ut("\\Z","\\mathbb{Z}");ut("\\alef","\\aleph");ut("\\alefsym","\\aleph");ut("\\Alpha","\\mathrm{A}");ut("\\Beta","\\mathrm{B}");ut("\\bull","\\bullet");ut("\\Chi","\\mathrm{X}");ut("\\clubs","\\clubsuit");ut("\\cnums","\\mathbb{C}");ut("\\Complex","\\mathbb{C}");ut("\\Dagger","\\ddagger");ut("\\diamonds","\\diamondsuit");ut("\\empty","\\emptyset");ut("\\Epsilon","\\mathrm{E}");ut("\\Eta","\\mathrm{H}");ut("\\exist","\\exists");ut("\\harr","\\leftrightarrow");ut("\\hArr","\\Leftrightarrow");ut("\\Harr","\\Leftrightarrow");ut("\\hearts","\\heartsuit");ut("\\image","\\Im");ut("\\infin","\\infty");ut("\\Iota","\\mathrm{I}");ut("\\isin","\\in");ut("\\Kappa","\\mathrm{K}");ut("\\larr","\\leftarrow");ut("\\lArr","\\Leftarrow");ut("\\Larr","\\Leftarrow");ut("\\lrarr","\\leftrightarrow");ut("\\lrArr","\\Leftrightarrow");ut("\\Lrarr","\\Leftrightarrow");ut("\\Mu","\\mathrm{M}");ut("\\natnums","\\mathbb{N}");ut("\\Nu","\\mathrm{N}");ut("\\Omicron","\\mathrm{O}");ut("\\plusmn","\\pm");ut("\\rarr","\\rightarrow");ut("\\rArr","\\Rightarrow");ut("\\Rarr","\\Rightarrow");ut("\\real","\\Re");ut("\\reals","\\mathbb{R}");ut("\\Reals","\\mathbb{R}");ut("\\Rho","\\mathrm{P}");ut("\\sdot","\\cdot");ut("\\sect","\\S");ut("\\spades","\\spadesuit");ut("\\sub","\\subset");ut("\\sube","\\subseteq");ut("\\supe","\\supseteq");ut("\\Tau","\\mathrm{T}");ut("\\thetasym","\\vartheta");ut("\\weierp","\\wp");ut("\\Zeta","\\mathrm{Z}");ut("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");ut("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");ut("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");ut("\\bra","\\mathinner{\\langle{#1}|}");ut("\\ket","\\mathinner{|{#1}\\rangle}");ut("\\braket","\\mathinner{\\langle{#1}\\rangle}");ut("\\Bra","\\left\\langle#1\\right|");ut("\\Ket","\\left|#1\\right\\rangle");var nAe=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=c=>f=>{e&&(f.macros.set("|",a),o.length&&f.macros.set("\\|",s));var p=c;if(!c&&o.length){var v=f.future();v.text==="|"&&(f.popToken(),p=!0)}return{tokens:p?o:r,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,d=t.expandTokens([...i,...u,...n]);return t.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};ut("\\bra@ket",nAe(!1));ut("\\bra@set",nAe(!0));ut("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");ut("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");ut("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");ut("\\angln","{\\angl n}");ut("\\blue","\\textcolor{##6495ed}{#1}");ut("\\orange","\\textcolor{##ffa500}{#1}");ut("\\pink","\\textcolor{##ff00af}{#1}");ut("\\red","\\textcolor{##df0030}{#1}");ut("\\green","\\textcolor{##28ae7b}{#1}");ut("\\gray","\\textcolor{gray}{#1}");ut("\\purple","\\textcolor{##9d38bd}{#1}");ut("\\blueA","\\textcolor{##ccfaff}{#1}");ut("\\blueB","\\textcolor{##80f6ff}{#1}");ut("\\blueC","\\textcolor{##63d9ea}{#1}");ut("\\blueD","\\textcolor{##11accd}{#1}");ut("\\blueE","\\textcolor{##0c7f99}{#1}");ut("\\tealA","\\textcolor{##94fff5}{#1}");ut("\\tealB","\\textcolor{##26edd5}{#1}");ut("\\tealC","\\textcolor{##01d1c1}{#1}");ut("\\tealD","\\textcolor{##01a995}{#1}");ut("\\tealE","\\textcolor{##208170}{#1}");ut("\\greenA","\\textcolor{##b6ffb0}{#1}");ut("\\greenB","\\textcolor{##8af281}{#1}");ut("\\greenC","\\textcolor{##74cf70}{#1}");ut("\\greenD","\\textcolor{##1fab54}{#1}");ut("\\greenE","\\textcolor{##0d923f}{#1}");ut("\\goldA","\\textcolor{##ffd0a9}{#1}");ut("\\goldB","\\textcolor{##ffbb71}{#1}");ut("\\goldC","\\textcolor{##ff9c39}{#1}");ut("\\goldD","\\textcolor{##e07d10}{#1}");ut("\\goldE","\\textcolor{##a75a05}{#1}");ut("\\redA","\\textcolor{##fca9a9}{#1}");ut("\\redB","\\textcolor{##ff8482}{#1}");ut("\\redC","\\textcolor{##f9685d}{#1}");ut("\\redD","\\textcolor{##e84d39}{#1}");ut("\\redE","\\textcolor{##bc2612}{#1}");ut("\\maroonA","\\textcolor{##ffbde0}{#1}");ut("\\maroonB","\\textcolor{##ff92c6}{#1}");ut("\\maroonC","\\textcolor{##ed5fa6}{#1}");ut("\\maroonD","\\textcolor{##ca337c}{#1}");ut("\\maroonE","\\textcolor{##9e034e}{#1}");ut("\\purpleA","\\textcolor{##ddd7ff}{#1}");ut("\\purpleB","\\textcolor{##c6b9fc}{#1}");ut("\\purpleC","\\textcolor{##aa87ff}{#1}");ut("\\purpleD","\\textcolor{##7854ab}{#1}");ut("\\purpleE","\\textcolor{##543b78}{#1}");ut("\\mintA","\\textcolor{##f5f9e8}{#1}");ut("\\mintB","\\textcolor{##edf2df}{#1}");ut("\\mintC","\\textcolor{##e0e5cc}{#1}");ut("\\grayA","\\textcolor{##f6f7f7}{#1}");ut("\\grayB","\\textcolor{##f0f1f2}{#1}");ut("\\grayC","\\textcolor{##e3e5e6}{#1}");ut("\\grayD","\\textcolor{##d6d8da}{#1}");ut("\\grayE","\\textcolor{##babec2}{#1}");ut("\\grayF","\\textcolor{##888d93}{#1}");ut("\\grayG","\\textcolor{##626569}{#1}");ut("\\grayH","\\textcolor{##3b3e40}{#1}");ut("\\grayI","\\textcolor{##21242c}{#1}");ut("\\kaBlue","\\textcolor{##314453}{#1}");ut("\\kaGreen","\\textcolor{##71B307}{#1}");var rAe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class aht{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new oht(iht,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new doe(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,o;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:o,end:r}=this.consumeArg(["]"])}else({tokens:o,start:n,end:r}=this.consumeArg());return this.pushToken(new fu("EOF",r.loc)),this.pushTokens(o),new fu("",Tl.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var o=this.future(),i,a=0,s=0;do{if(i=this.popToken(),n.push(i),i.text==="{")++a;else if(i.text==="}"){if(--a,a===-1)throw new Gn("Extra }",i)}else if(i.text==="EOF")throw new Gn("Unexpected end of input in a macro argument, expected '"+(t&&r?t[s]:"}")+"'",i);if(t&&r)if((a===0||a===1&&t[s]==="{")&&i.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(a!==0||r);return o.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:o,end:i}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Gn("The length of delimiters doesn't match the number of args!");for(var r=n[0],o=0;othis.settings.maxExpand)throw new Gn("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,o=n.noexpand?null:this._getExpansion(r);if(o==null||t&&o.unexpandable){if(t&&o==null&&r[0]==="\\"&&!this.isDefined(r))throw new Gn("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var i=o.tokens,a=this.consumeArgs(o.numArgs,o.delimiters);if(o.numArgs){i=i.slice();for(var s=i.length-1;s>=0;--s){var l=i[s];if(l.text==="#"){if(s===0)throw new Gn("Incomplete placeholder at end of macro body",l);if(l=i[--s],l.text==="#")i.splice(s+1,1);else if(/^[1-9]$/.test(l.text))i.splice(s,2,...a[+l.text-1]);else throw new Gn("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new fu(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var o=this.stack.pop();o.treatAsRelax&&(o.noexpand=!1,o.treatAsRelax=!1),n.push(o)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var o=typeof n=="function"?n(this):n;if(typeof o=="string"){var i=0;if(o.indexOf("#")!==-1)for(var a=o.replace(/##/g,"");a.indexOf("#"+(i+1))!==-1;)++i;for(var s=new doe(o,this.settings),l=[],u=s.lex();u.text!=="EOF";)l.push(u),u=s.lex();l.reverse();var d={tokens:l,numArgs:i};return d}return o}isDefined(t){return this.macros.has(t)||Ch.hasOwnProperty(t)||zi.math.hasOwnProperty(t)||zi.text.hasOwnProperty(t)||rAe.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Ch.hasOwnProperty(t)&&!Ch[t].primitive}}var hoe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,n6=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),dM={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},goe={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class r7{constructor(t,n){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new aht(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Gn("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new fu("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var o=this.fetch();if(r7.endOfExpression.indexOf(o.text)!==-1||n&&o.text===n||t&&Ch[o.text]&&Ch[o.text].infix)break;var i=this.parseAtom(n);if(i){if(i.type==="internal")continue}else break;r.push(i)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,o=0;o=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var s=zi[this.mode][n].group,l=Tl.range(t),u;if(Kft.hasOwnProperty(s)){var d=s;u={type:"atom",mode:this.mode,family:d,loc:l,text:n}}else u={type:s,mode:this.mode,loc:l,text:n};a=u}else if(n.charCodeAt(0)>=128)this.settings.strict&&(f3e(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),a={type:"textord",mode:"text",loc:Tl.range(t),text:n};else return null;if(this.consume(),i)for(var c=0;c{try{return fht.renderToString(e,{displayMode:t,throwOnError:!1,output:"html",strict:!1,trust:!1,macros:{"\\RR":"\\mathbb{R}","\\NN":"\\mathbb{N}","\\ZZ":"\\mathbb{Z}","\\QQ":"\\mathbb{Q}","\\CC":"\\mathbb{C}"}})}catch(n){return console.error("KaTeX 渲染错误:",n),`${e}`}},pht=e=>{if(!e)return e;let t=e;return t=t.replace(/\$\$([\s\S]+?)\$\$/g,(n,r)=>{const o=r.trim();return`
    ${r6(o,!0)}
    `}),t=t.replace(new RegExp('(?.*)\\$([^\\$\\n]+?)\\$(?!.*<\\/div>)',"g"),(n,r)=>{const o=r.trim();return`${r6(o,!1)}`}),t=t.replace(/\\\((.+?)\\\)/g,(n,r)=>{const o=r.trim();return`${r6(o,!1)}`}),t=t.replace(/\\\[([\s\S]+?)\\\]/g,(n,r)=>{const o=r.trim();return`
    ${r6(o,!0)}
    `}),t},hht={link(e){let t,n,r;typeof e=="object"&&e!==null?(t=e.href||e.url||"#",n=e.text||e.title||t,r=e.title||t):(t=arguments[0]||"#",n=arguments[2]||arguments[1]||t,r=arguments[1]||t),t=String(t),n=String(n),r=String(r);const o=c=>c.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),i=o(t),a=o(n),s=o(r),l=` display: inline-flex; align-items: center; gap: 4px; background-color: #E8EAED; color: #5F6368; font-size: 13px; padding: 4px 10px; border-radius: 12px; cursor: pointer; margin: 0 4px; border: 1px solid #DADCE0; font-weight: 500; transition: all 0.2s ease; line-height: 1.4; max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; text-decoration: none; `.replace(/\s+/g," ").trim();return`
    🔗${a}`}};ui.use({renderer:hht,breaks:!0,gfm:!0,headerIds:!1,mangle:!1});const Mg=e=>{if(!e)return"";try{let t=String(e);t=pht(t);const n=ui.parse(t);return fft.sanitize(n,{ALLOWED_TAGS:["h1","h2","h3","h4","h5","h6","p","br","hr","strong","em","u","s","code","pre","ul","ol","li","blockquote","a","table","thead","tbody","tr","th","td","div","span","math","semantics","mrow","mi","mn","mo","mfrac","msup","msub","msubsup","mtext","mspace","annotation","menclose","mover","munder","munderover","mtable","mtr","mtd","msqrt","mroot","mpadded","mphantom","mglyph","svg","path","line","rect","circle","use","g","defs","symbol","foreignObject"],ALLOWED_ATTR:["href","target","rel","class","style","xmlns","aria-hidden","focusable","viewBox","width","height","preserveAspectRatio","encoding","x","y","dx","dy","d","fill","stroke","stroke-width","transform","mathvariant","stretchy","symmetric","largeop","movablelimits","form","id","data-*","xmlns:xlink","xlink:href"],ALLOW_DATA_ATTR:!0})}catch(t){return console.error("Markdown 渲染失败:",t),String(e).replace(/\n/g,"
    ")}},ght={class:"category-section"},vht={class:"category-info"},mht={class:"category-name"},yht={__name:"CategoryTitle",props:{category:{type:String,required:!0},number:{type:String,required:!0},count:{type:Number,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=e,r=t,o=K(!0),i=()=>{o.value=!o.value,r("toggle",{category:n.category,expanded:o.value})};return qn(()=>{r("toggle",{category:n.category,expanded:!0})}),(a,s)=>{const l=hr("el-icon"),u=hr("el-tag");return L(),G("div",ght,[x("div",{class:"category-header",onClick:i},[x("div",vht,[He(l,{class:oe(["expand-icon",{expanded:o.value}])},{default:rt(()=>[He(C(Da))]),_:1},8,["class"]),x("span",mht,je(e.category),1)]),He(u,{type:"info",size:"small",class:"count-tag"},{default:rt(()=>[bn(je(e.count)+"个文件",1)]),_:1})])])}}},aAe=Zo(yht,[["__scopeId","data-v-f9d29125"]]),bht=["innerHTML"],wht={__name:"StreamMarkdown",props:{content:{type:String,default:""},streaming:{type:Boolean,default:!1},typewriterSpeed:{type:Number,default:10}},setup(e){const t=e,n=K(""),r=K(""),o=K(0);let i=null;const a=()=>{if(o.value{i&&(clearTimeout(i),i=null)};return St(()=>t.content,l=>{r.value=l,t.streaming&&l.length>o.value?i||a():t.streaming||(s(),o.value=l.length,n.value=Mg(l))},{immediate:!0}),St(()=>t.streaming,l=>{l||(s(),o.value=r.value.length,n.value=Mg(r.value))}),qn(()=>{t.content&&(r.value=t.content,t.streaming?a():n.value=Mg(t.content))}),yl(()=>{s()}),(l,u)=>(L(),G("div",{class:"stream-markdown",innerHTML:n.value},null,8,bht))}},py=Zo(wht,[["__scopeId","data-v-b4cf4942"]]),Aht={class:"card-header"},Cht={class:"file-info"},xht={class:"file-details"},Sht={class:"file-name"},Eht={class:"file-meta"},kht={class:"link-text"},Tht={class:"actions"},_ht={class:"report-content"},Dht={key:0,class:"error-message"},Iht={key:1},Oht={class:"report-section"},Mht={class:"section-content"},Pht={class:"report-section"},Nht={class:"section-content"},Rht={key:0,class:"report-section"},Bht={class:"section-content"},Lht={class:"iframe-container"},Fht=["src"],Uht={key:1,class:"iframe-error"},zht={__name:"FileReportCard",props:{report:{type:Object,required:!0}},emits:["preview-file"],setup(e,{emit:t}){const n=e,r=t,o=K(!1),i=K(""),a=K(""),s=K(!0),l=K(!0),u=K(!0),d=ee(()=>({"status-processing":n.report.status==="processing","status-completed":n.report.status==="completed","status-error":n.report.status==="error"})),c=ee(()=>{console.log("🔗 [DEBUG] FileReportCard report对象:",{file_index:n.report.file_index,source_file:n.report.source_file,file_path:n.report.file_path,metadata:n.report.metadata,完整report:n.report});const y=n.report.metadata?.source_url||n.report.metadata?.url||n.report.metadata?.link||n.report.metadata?.file_url||n.report.source_url||n.report.url||n.report.link||null;return console.log("🔗 [DEBUG] 找到的URL:",y),y}),f=y=>{if(!y)return"";try{return new URL(y).hostname}catch{return"查看来源"}},p=()=>{c.value&&(i.value=K4e(c.value),a.value=n.report.report?.display_name||n.report.source_file||"文件预览",o.value=!0,console.log("📄 [来源链接预览] 原始URL:",c.value),console.log("📄 [来源链接预览] 转换后URL:",i.value))},v=()=>{if(n.report.file_path){const y=n.report.report?.display_name||n.report.source_file||"未命名文件";r("preview-file",{filePath:n.report.file_path,fileName:y})}},h=async()=>{const y=` 文件名: ${n.report.source_file} 主要分类: ${n.report.metadata?.primary_category||"未分类"} 场景分类: ${n.report.metadata?.secondary_category||"未分类"} 相似度: ${(n.report.similarity*100).toFixed(1)}% 🔹文件分析总述 ${n.report.report?.summary||""} 🔹文件内容解读 ${n.report.report?.analysis||""} ${n.report.report?.clauses?`🔹相关条款提取 `+n.report.report.clauses:""} `.trim();try{await navigator.clipboard.writeText(y),Et.success("报告已复制到剪贴板")}catch{Et.error("复制失败")}},g=()=>{i.value&&window.open(i.value,"_blank")};return(y,m)=>{const b=hr("el-icon"),w=hr("el-tag"),A=hr("el-button"),S=hr("el-tooltip"),E=hr("el-alert"),D=hr("el-card");return L(),yt(D,{class:oe(["file-report-card",d.value]),shadow:"hover"},{header:rt(()=>[x("div",Aht,[x("div",Cht,[He(b,{class:"file-icon"},{default:rt(()=>[He(C(Py))]),_:1}),x("div",xht,[x("div",Sht,je(e.report.report.display_name||e.report.source_file),1),x("div",Eht,[He(w,{size:"small",type:"info"},{default:rt(()=>[bn(" 文件 "+je(e.report.file_index)+"/"+je(e.report.total_files),1)]),_:1}),e.report.metadata?.primary_category?(L(),yt(w,{key:0,size:"small",type:"success"},{default:rt(()=>[bn(je(e.report.metadata.primary_category),1)]),_:1})):xe("",!0),e.report.metadata?.secondary_category?(L(),yt(w,{key:1,size:"small"},{default:rt(()=>[bn(je(e.report.metadata.secondary_category),1)]),_:1})):xe("",!0)]),c.value?(L(),G("div",{key:0,class:"file-source-link",onClick:p},[He(b,{class:"link-icon"},{default:rt(()=>[He(C(r1e))]),_:1}),x("span",kht,je(f(c.value)),1)])):xe("",!0)])]),x("div",Tht,[e.report.file_path?(L(),yt(S,{key:0,content:"查看文件",placement:"top"},{default:rt(()=>[He(A,{link:"",type:"primary",onClick:v},{default:rt(()=>[He(b,null,{default:rt(()=>[He(C(a1e))]),_:1})]),_:1})]),_:1})):xe("",!0),He(S,{content:"复制报告",placement:"top"},{default:rt(()=>[He(A,{link:"",type:"primary",onClick:h},{default:rt(()=>[He(b,null,{default:rt(()=>[He(C(JBe))]),_:1})]),_:1})]),_:1})])])]),default:rt(()=>[x("div",_ht,[e.report.status==="error"?(L(),G("div",Dht,[He(E,{title:"生成报告时出错",type:"error",description:e.report.report.summary,closable:!1},null,8,["description"])])):(L(),G("div",Iht,[x("div",Oht,[x("h3",{class:"section-title collapsible",onClick:m[0]||(m[0]=_=>s.value=!s.value)},[He(b,{class:oe(["collapse-icon",{collapsed:!s.value}])},{default:rt(()=>[He(C(Da))]),_:1},8,["class"]),m[4]||(m[4]=x("span",null,"🔹文件分析总述",-1))]),He(Ki,{name:"collapse"},{default:rt(()=>[cn(x("div",Mht,[He(py,{content:e.report.report?.summary||"",streaming:e.report.status==="streaming"},null,8,["content","streaming"])],512),[[kr,s.value]])]),_:1})]),x("div",Pht,[x("h3",{class:"section-title collapsible",onClick:m[1]||(m[1]=_=>l.value=!l.value)},[He(b,{class:oe(["collapse-icon",{collapsed:!l.value}])},{default:rt(()=>[He(C(Da))]),_:1},8,["class"]),m[5]||(m[5]=x("span",null,"🔹文件内容解读",-1))]),He(Ki,{name:"collapse"},{default:rt(()=>[cn(x("div",Nht,[He(py,{content:e.report.report?.analysis||"",streaming:e.report.status==="streaming"},null,8,["content","streaming"])],512),[[kr,l.value]])]),_:1})]),e.report.report?.clauses?(L(),G("div",Rht,[x("h3",{class:"section-title collapsible",onClick:m[2]||(m[2]=_=>u.value=!u.value)},[He(b,{class:oe(["collapse-icon",{collapsed:!u.value}])},{default:rt(()=>[He(C(Da))]),_:1},8,["class"]),m[6]||(m[6]=x("span",null,"🔹相关条款提取",-1))]),He(Ki,{name:"collapse"},{default:rt(()=>[cn(x("div",Bht,[He(py,{content:e.report.report.clauses,streaming:e.report.status==="streaming"},null,8,["content","streaming"])],512),[[kr,u.value]])]),_:1})])):xe("",!0)]))]),He(C(Hye),{modelValue:o.value,"onUpdate:modelValue":m[3]||(m[3]=_=>o.value=_),title:a.value,width:"90%",top:"5vh","close-on-click-modal":!1,"append-to-body":""},{default:rt(()=>[x("div",Lht,[i.value?(L(),G("iframe",{key:0,src:i.value,frameborder:"0",class:"preview-iframe"},null,8,Fht)):(L(),G("div",Uht,[He(b,{class:"error-icon"},{default:rt(()=>[He(C(zb))]),_:1}),m[8]||(m[8]=x("p",null,"无法加载网页预览",-1)),He(A,{type:"primary",onClick:g},{default:rt(()=>m[7]||(m[7]=[bn("在新标签页中打开",-1)])),_:1,__:[7]})]))])]),_:1},8,["modelValue","title"])]),_:1},8,["class"])}}},sAe=Zo(zht,[["__scopeId","data-v-26729d39"]]),$ht={class:"export-button-container"},jht={__name:"ExportButton",props:{reports:{type:Array,required:!0},title:{type:String,default:"AI问题分析报告"},disabled:{type:Boolean,default:!1}},setup(e){const t=e,n=K(!1),r=async o=>{if(!t.reports||t.reports.length===0){Et.warning("没有可导出的报告");return}n.value=!0;try{const i=await fetch(jV("/report/export"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({report_content:t.reports,format:o,title:t.title})});if(!i.ok)throw new Error("导出失败");const a=await i.json();let s=a.download_url;s.startsWith("/api/v1")&&(s=`/chatwithai${s}`);const l=await fetch(s);if(!l.ok)throw new Error("下载失败");const u=await l.blob(),d=window.URL.createObjectURL(u),c=document.createElement("a");c.href=d,c.download=a.filename,document.body.appendChild(c),c.click(),document.body.removeChild(c),window.URL.revokeObjectURL(d),Et.success(`报告已导出为${o.toUpperCase()}格式`)}catch(i){console.error("导出失败:",i),Et.error(`导出失败: ${i.message}`)}finally{n.value=!1}};return(o,i)=>{const a=hr("el-icon"),s=hr("el-button"),l=hr("el-dropdown-item"),u=hr("el-dropdown-menu"),d=hr("el-dropdown");return L(),G("div",$ht,[He(d,{onCommand:r,disabled:e.disabled||n.value},{dropdown:rt(()=>[He(u,null,{default:rt(()=>[He(l,{command:"pdf"},{default:rt(()=>[He(a,null,{default:rt(()=>[He(C(Py))]),_:1}),i[0]||(i[0]=bn(" 导出为PDF ",-1))]),_:1,__:[0]}),He(l,{command:"docx"},{default:rt(()=>[He(a,null,{default:rt(()=>[He(C(Py))]),_:1}),i[1]||(i[1]=bn(" 导出为Word ",-1))]),_:1,__:[1]})]),_:1})]),default:rt(()=>[He(s,{type:"success",loading:n.value,disabled:e.disabled},{default:rt(()=>[n.value?xe("",!0):(L(),yt(a,{key:0},{default:rt(()=>[He(C(aLe))]),_:1})),bn(" "+je(n.value?"导出中...":"导出报告")+" ",1),He(a,{class:"el-icon--right"},{default:rt(()=>[He(C(ed))]),_:1})]),_:1},8,["loading","disabled"])]),_:1},8,["disabled"])])}}},lAe=Zo(jht,[["__scopeId","data-v-2d9af3d9"]]),Hht={class:"drawer-header"},Wht={class:"header-title"},Vht={key:0,class:"file-name-card"},qht={class:"preview-container"},Ght={key:0,class:"iframe-container"},Kht=["src"],Yht={key:1,class:"loading-container"},Qht={key:2,class:"error-container"},Zht={key:3,class:"empty-container"},Xht={class:"drawer-footer"},Jht={__name:"FilePreviewDrawer",props:{modelValue:{type:Boolean,default:!1},filePath:{type:String,default:""},fileName:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=K(n.modelValue),i=K(""),a=K(!1),s=K(""),l=K(!1),u=K(null);let d=null;St(()=>n.modelValue,g=>{o.value=g,g&&n.filePath&&(console.log("📄 [Drawer] 打开预览,filePath:",n.filePath),f())}),St(()=>n.filePath,g=>{o.value&&g&&(console.log("📄 [Drawer] filePath 变化:",g),f())}),St(o,g=>{r("update:modelValue",g),g||(c(),i.value="",s.value="",l.value=!1)});const c=()=>{d&&(clearTimeout(d),d=null)},f=async()=>{if(!n.filePath){s.value="文件路径为空",l.value=!1;return}a.value=!0,s.value="",l.value=!0,c();try{const g=n.filePath,y=K4e(g);console.log("📄 [文档预览] 原始URL:",g),console.log("📄 [文档预览] 转换后URL:",y),console.log("📄 [文档预览] 当前环境:","生产环境"),i.value=y,d=setTimeout(()=>{l.value&&(l.value=!1,s.value="😔 抱歉,未找到文件链接,正在快马加鞭修复中!",console.warn("⏱️ 文件加载超时 (5秒):",n.filePath))},5e3)}catch(g){console.error("❌ 加载文件失败:",g),s.value="加载文件失败,请稍后重试",l.value=!1}finally{a.value=!1}},p=()=>{console.log("✅ 文件加载成功"),c(),l.value=!1,s.value=""},v=()=>{console.error("❌ 文件加载失败"),c(),l.value=!1,s.value="😔 抱歉,未找到文件链接,正在快马加鞭修复中!"},h=()=>{o.value=!1};return Jr(()=>{c()}),(g,y)=>{const m=hr("el-icon"),b=hr("el-tag"),w=hr("el-button"),A=hr("el-drawer");return L(),yt(A,{modelValue:o.value,"onUpdate:modelValue":y[1]||(y[1]=S=>o.value=S),title:"文件预览",size:"50%","show-close":!0,"close-on-click-modal":!0,"destroy-on-close":""},{header:rt(()=>[x("div",Hht,[x("div",Wht,[He(m,{class:"file-icon"},{default:rt(()=>[He(C(Py))]),_:1}),y[2]||(y[2]=x("span",{class:"title-text"},"文件预览",-1)),e.fileName?(L(),G("div",Vht,[He(b,{type:"info",size:"large",effect:"plain"},{default:rt(()=>[bn(je(e.fileName),1)]),_:1})])):xe("",!0)])])]),footer:rt(()=>[x("div",Xht,[He(w,{onClick:h},{default:rt(()=>y[5]||(y[5]=[bn("关闭",-1)])),_:1,__:[5]})])]),default:rt(()=>[x("div",qht,[i.value?(L(),G("div",Ght,[x("div",{class:"iframe-overlay",onContextmenu:y[0]||(y[0]=en(()=>{},["prevent"]))},null,32),x("iframe",{ref_key:"iframeRef",ref:u,src:i.value,frameborder:"0",class:"file-iframe",onLoad:p,onError:v},null,40,Kht)])):xe("",!0),l.value&&!s.value?(L(),G("div",Yht,[He(m,{class:"is-loading",size:40,color:"#5b8def"},{default:rt(()=>[He(C(jc))]),_:1}),y[3]||(y[3]=x("p",null,"文件加载中,请稍候...",-1))])):xe("",!0),s.value?(L(),G("div",Qht,[He(m,{size:40,color:"#f56c6c"},{default:rt(()=>[He(C(tf))]),_:1}),x("p",null,je(s.value),1)])):xe("",!0),!i.value&&!l.value&&!s.value?(L(),G("div",Zht,[He(m,{size:40,color:"#909399"},{default:rt(()=>[He(C(Py))]),_:1}),y[4]||(y[4]=x("p",null,"暂无预览内容",-1))])):xe("",!0)])]),_:1},8,["modelValue"])}}},e0t=Zo(Jht,[["__scopeId","data-v-119eaee2"]]),t0t={class:"search-previews"},n0t={class:"stacked-icons"},r0t={key:0},o0t={key:0,class:"more-count"},i0t={__name:"WebSearchCapsule",props:{total:{type:Number,default:0},results:{type:Array,default:()=>[]},isExpanded:{type:Boolean,default:!1}},emits:["toggle"],setup(e,{emit:t}){const n=e,r=t,o=K(!1),i=K(new Set),a=()=>{r("toggle")},s=ee(()=>n.results.slice(0,8).map(u=>{try{const d=new URL(u.url),c=`https://www.google.com/s2/favicons?domain=${d.hostname}&sz=32`;return{initial:d.hostname.charAt(0).toUpperCase(),favicon:c,faviconLoaded:i.value.has(c)}}catch{return{initial:"🌐",favicon:"",faviconLoaded:!0}}})),l=async()=>{const u=s.value.map(d=>d.favicon?new Promise(c=>{const f=new Image;f.onload=()=>{i.value.add(d.favicon),c()},f.onerror=()=>{c()},setTimeout(()=>c(),2e3),f.src=d.favicon}):Promise.resolve());await Promise.all(u),o.value=!0};return St(()=>n.results,()=>{n.results.length>0&&(o.value=!1,i.value.clear(),l())},{immediate:!0}),qn(()=>{n.results.length>0&&l()}),(u,d)=>o.value?(L(),G("div",{key:0,class:"web-search-capsule",onClick:a},[x("div",t0t,[x("div",n0t,[(L(!0),G(Rt,null,un(s.value,(c,f)=>(L(),G("div",{key:f,class:oe(["preview-icon",`icon-position-${f}`]),style:rn({backgroundImage:c.faviconLoaded?`url(${c.favicon})`:"none",zIndex:s.value.length-f})},[c.faviconLoaded?xe("",!0):(L(),G("span",r0t,je(c.initial),1))],6))),128))]),d[0]||(d[0]=x("span",{class:"search-text"},"蜀安AI搜索引擎",-1)),e.total>8?(L(),G("span",o0t,"+"+je(e.total-8),1)):xe("",!0)])])):xe("",!0)}},uAe=Zo(i0t,[["__scopeId","data-v-8e7d2f1e"]]),a0t={key:0,class:"web-search-sidebar"},s0t={class:"sidebar-header"},l0t={class:"sidebar-content"},u0t={class:"results-section"},c0t={class:"results-list"},d0t=["onClick"],f0t={class:"result-header"},p0t={class:"result-index"},h0t={class:"result-title"},g0t={class:"result-content"},v0t={class:"result-footer"},m0t={class:"result-url"},y0t={class:"result-score"},b0t={class:"iframe-container"},w0t=["src"],A0t={key:1,class:"iframe-error"},C0t={__name:"WebSearchSidebar",props:{visible:{type:Boolean,default:!1},results:{type:Array,default:()=>[]},keywords:{type:Array,default:()=>[]},total:{type:Number,default:0}},emits:["update:visible"],setup(e,{emit:t}){const n=e,r=t,o=K(!1),i=K(""),a=K(""),s=()=>{r("update:visible",!1)},l=c=>{a.value=c.title,i.value=c.url,o.value=!0},u=c=>{try{const f=new URL(c);return f.hostname+f.pathname}catch{return c}},d=()=>{i.value&&window.open(i.value,"_blank")};return St(()=>n.visible,c=>{c||(o.value=!1)}),(c,f)=>{const p=hr("el-icon"),v=hr("el-button"),h=hr("el-dialog");return L(),yt(Ki,{name:"sidebar-slide"},{default:rt(()=>[e.visible?(L(),G("div",a0t,[x("div",s0t,[He(p,{class:"close-icon",onClick:s},{default:rt(()=>[He(C(vu))]),_:1})]),x("div",l0t,[x("div",u0t,[x("div",c0t,[(L(!0),G(Rt,null,un(e.results,(g,y)=>(L(),G("div",{key:y,class:"result-item",onClick:m=>l(g)},[x("div",f0t,[x("div",p0t,je(y+1),1),x("div",h0t,je(g.title),1)]),x("div",g0t,je(g.content),1),x("div",v0t,[He(p,{class:"link-icon"},{default:rt(()=>[He(C(r1e))]),_:1}),x("span",m0t,je(u(g.url)),1),x("span",y0t,je((g.score*100).toFixed(1))+"%",1)])],8,d0t))),128))])])]),He(h,{modelValue:o.value,"onUpdate:modelValue":f[0]||(f[0]=g=>o.value=g),title:a.value,width:"90%",top:"5vh","close-on-click-modal":!1,"append-to-body":""},{default:rt(()=>[x("div",b0t,[i.value?(L(),G("iframe",{key:0,src:i.value,frameborder:"0",class:"preview-iframe"},null,8,w0t)):(L(),G("div",A0t,[He(p,{class:"error-icon"},{default:rt(()=>[He(C(zb))]),_:1}),f[2]||(f[2]=x("p",null,"无法加载网页预览",-1)),He(v,{type:"primary",onClick:d},{default:rt(()=>f[1]||(f[1]=[bn("在新标签页中打开",-1)])),_:1,__:[1]})]))])]),_:1},8,["modelValue","title"])])):xe("",!0)]),_:1})}}},x0t=Zo(C0t,[["__scopeId","data-v-77ec5b89"]]),S0t={class:"web-search-summary"},E0t={class:"header-left"},k0t={class:"summary-content"},T0t={__name:"WebSearchSummary",props:{summary:{type:String,required:!0}},setup(e){const t=K(!0),n=()=>{t.value=!t.value};return(r,o)=>{const i=hr("el-icon"),a=hr("el-tag");return L(),G("div",S0t,[x("div",{class:"summary-header",onClick:n},[x("div",E0t,[He(i,{class:oe(["expand-icon",{expanded:t.value}])},{default:rt(()=>[He(C(Da))]),_:1},8,["class"]),o[0]||(o[0]=x("span",{class:"header-title"},"外部数据",-1))]),He(a,{type:"info",size:"small",class:"source-tag"},{default:rt(()=>o[1]||(o[1]=[bn("数据来源于蜀安AI网络搜索引擎,内容仅供参考",-1)])),_:1,__:[1]})]),cn(x("div",k0t,[He(py,{content:e.summary,streaming:!1},null,8,["content"])],512),[[kr,t.value]])])}}},cAe=Zo(T0t,[["__scopeId","data-v-070e5d69"]]),_0t="/assets/27-Dd_EQ7v1.png",D0t=["src","width","height"],I0t={__name:"StatusAvatar",props:{status:{type:String,default:"idle",validator:e=>["idle","searching","thinking","analyzing","completed","error"].includes(e)},size:{type:Number,default:40}},setup(e){const t=e,n=_0t,r=ee(()=>{switch(t.status){case"searching":return"float-animation";case"thinking":return"bounce-animation";case"analyzing":return"swing-animation";case"completed":return"success-animation";case"error":return"shake-animation";default:return"idle-float"}});return(o,i)=>(L(),G("div",{class:oe(["status-avatar",r.value])},[x("img",{src:C(n),width:e.size,height:e.size,alt:"AI Robot",class:"robot-img"},null,8,D0t)],2))}},dAe=Zo(I0t,[["__scopeId","data-v-08478745"]]),fAe=(e,t={})=>{const n=Xf(),r=Iv();if(n&&r){const i=new URL(e,window.location.origin);i.searchParams.set("token",n),e=i.toString(),console.log("🔐 SSE 连接已添加认证 Token(通过 URL 参数)")}else console.warn("⚠️ SSE 连接未找到 Token,可能会导致认证失败");const o=new EventSource(e);return o.onmessage=i=>{try{const a=JSON.parse(i.data);a.type==="completed"?(t.onComplete&&t.onComplete(a),o.close()):a.type==="interrupted"?(t.onInterrupted&&t.onInterrupted(a),o.close()):a.type==="error"?(t.onError&&t.onError(new Error(a.message)),o.close()):t.onMessage&&t.onMessage(a)}catch(a){console.error("解析SSE消息失败:",a),t.onError&&t.onError(a)}},o.onerror=i=>{console.error("SSE连接错误:",i),console.error("EventSource readyState:",o.readyState),console.error("EventSource url:",o.url);const a=new Error(`SSE连接失败 (状态: ${o.readyState===0?"连接中":o.readyState===1?"已连接":"已关闭"})`);t.onError&&t.onError(a),o.close()},o},xh=e=>{e&&e.readyState!==EventSource.CLOSED&&e.close()},oC="/assets/2-G3awVIMi.png",iC="/assets/22-PHJtTrlQ.png",rk="/assets/29-B03QHNcz.png",ok="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAQISURBVHic7Z0xixtHFMf/b25lGZbDu8X5uObYqx2DAnbnwkdag3NNAm4M+QJxmSr2+RPYkD64SWEwZ4PdGS6FmzgpBE6auLjFjeFU7BqhcLLW+1KcJE7SSlrt3M5o0fs1Yldvdx7/fTPz9DTMEnISRewlDhog3AajwYyACB4AL+89lpQYQAggJkLIjCcb6/R73otpnkEUsfdZ4Z5S+BHVFysvMRGe93rY3/IpnGU4VcAVFS6L/Y11ejDty0wBP0YcOA4OADTK8qpiNJMEe1nROCHgx4iDWg2HzAhMeFYViBD2etgdF3FEQBFvNlkiqrMGjoMDEW86zAgcBwdRxMM5YShgq80PIGNeHhqfFe4NDggYThpH9nyqHLGTYMf3KVYAUKvhvm2PKoY3iEICgFabI6x2rleE2Emwo1ptvgkRrwhe4qChiHDXtieVhXBbSdqiAaOhIN23MMwIFCARWBQieBKBenhqvo0wCxFQExFQE8dEIy//TPH0zRd0uiZaA9w68N2NNdy6Xn58GIlAk+IBQKd72qYJjAhoUjzTbRrpwmdx60CwOffPwLl0ToD/ujxy7viT9m0XxriAwSbh4Z1ymv35twT/fOD5hueIzMKaiICaGO/C43ROgMN3KTpnxrNb19bgXixmZxrrAr786wuevklHzrl1msjh8tqZZim7cKebbyLIa1cmSylglbAuoFvPlxPmtTON9TFw96oa6YpunbB7dfK55rUzjXUB3YvA9zfWzs3ONPYfYcWxHoFv/03xy6vRas3DOw6ubFMhO9NYj8CjY56onPz9IS1sZxrrAlYdEVAT6wJ+tT3qglsHdi5Pjmt57UxjfRK5sk149lPt3OxMYz0Cq471CJRyliZSzioBKWetENYFlHKWJlLO0kTKWSuO9QjMYllLV1ksZQQua+kqi6UUsEqIgJqIgJqIgJpQq82l/KA8/sT49fXpTDq+Zu/ypdnXdk4mV5i6dcytvIxfN5i1f/hm7VwWdWZRWhpz+C7F2/fZz6bIStJOd/Flu4MH98f7FMFmOUm4dGFNREBNShsDVwWJQE1EQE1EQE0UTvfPE4oRK2YRUINQESG07UWFiRUITdteVBUihAqMF7YdqSrMeEL9zWWPIJtPLEq8sU6+8n2K0xSPbXtTNYjwHOhvPiZRuDhJgp0tn0IFABKFCzPcHnlYZexH4SFkF8t5NDfW6evBwfCnnO9TnCTYk7xwOkQIkwR7I+fGjWQn32ymbYM8UUzY8ins9bALSIJ9hmaWeMCUasyWT2G/n++X7dmSE6cp9p0kWzwgx8sI+l36PjO+xeqkOXGa4vGFFI98n2YWWxb6r6/V5ptEuNsfHz1g+FllYubTV2GA0ATjhZOgOU+4Af8D/9iepAO8B/8AAAAASUVORK5CYII=",ik="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAZRSURBVHic7Z2/bxNXHMA/73IpUa0o9uCgLJEztEsaKZWAKQMRbIlE6ZBKGYoyIoGKRIdOQPgLQCCx1aIDUlgAKdmC3CETMEQKWcoQKwvCHmwrMkrw+V4H58zF8fl+Pv8Q91kiO+/OL5/7vl/fdzkLPFIqyaShM4vgCpJZKckIQRJIej1Hn1IG8kBZCPJS8jQ9Kv71erBwK1AqyeQXjVuaxh8MviyvlIXgZa3G6kRK5DsVdBT4jYprx2p6VNxz+mVbgR9LMqPrvABmVdVqwNg2DK62i8ZTAj+WZGZ4mJyUZLpRs0FBCPK1GvOtEk8IjOV1pp1EzV5A13kRy3NGSjK6zotSSTbHhKbA4oG8R9zneWH2i8Yt64WA5qCx17s6DRxl3WAqlRJlDWB4mLu9rtGAkbSiUAAUD2SJb3uuF4SybjClFQ/kRWJ5QUgaOrOaEFzrdU0GFsEVLZ62hEAyqxE338BISUaDOAKDIgTJOALDkdTcy8R0IhYYklhgSHTVH7C2VefzISzNDZEYCX++6iFsvKuz90mSL0iqh5AYgfSYYHxMcGNhKPyH+EAUD6RUdfK1rTrPt0wA0mNwf1lnfMx1G6YthYoku1lnd19SPXIu98+t4UgulFeUCbTLs0icaUTi4nl/PcfuvuTRhkGx0rncjYUh5me62yspEdhOnp3Fc5rnJr3+1iT7uu5arhfyQIFAN3kWXpp0oSK5/sRwPVev5IGCUfjzobdyxQr8+bfB+ltn2Xee9bc8UCBwaW6I9Ji3stUjyL6uk92sU20Rn9sx+7LPayXyT0+MNJpm4oz3Y9bfmdzO1k68l9vp3A2sXPInr/UCRYWSyzc+Jlia8zcfs0dboSLZ3e/cNU9Pep8O5XZMfn9QI7vpPhj5RVn8L57XWDwX7PSFivu4li94G/tyOyaPNxri3rtclCAo7UD89Id23Po+gPwndxl2eQCfjwZMYJD+EPC0WnGL0lZ5jWP81cMLyocwP/2hFVXTk+5r2k5NuJ08gMx4sGVkJ5Suhe1kN+usv+s8sibONCI2c7bxhzqJsMiMCxIjMDUumJ4UfD/SaP5Ox0xPCu4vR5s/6ZrA6iHcztZc+ze/Ev2wcsn/OtyNrgl0Iv9JcueZcSLDokrik+vBs0FO9DyhmjkrTg001aPGMs7qE+dntNB5vvkZLXJ50AcRaOE1EnM7ZlOElwk3hM9FdqJvBII3ia1UD+HNB5O1rbpj/3p/Wfe1cvFDz5swwN5xU/XSnFtJjDSa5/1lve00ZeXSkDJ50AcRaOUP7ZkVp0hcmhvizQeTYsWaL2pc+EFw4cevcfB4o05uxyQ9Bn/96hy5UdFTga3JVzeJTiye01i5/HWQefOfeUKqSnom0ClzHVRiFCN1EHrSB3ZK+1tNEBp9otdlYJQTbj90XaCXPRN7MnV3331/xX5ctyV2VaDXDSc7XvN+Ft2W2DWBfuSFnfB2U2JXBPqNPHuznZ4MVsVuSVQuMEizLVS+bgKF2XXrhkSlAoPIA1ia05p3LUxPisB7K6BeojKBYeT91jJ1Wbkcbv9XpUQlAqOUZxF2Ez23Y/J8awC2NQsVGbk8iygkRk3kN1jam0p6DG4u6Egkjzec001e5FlYy7UgMlSsWSOPQHva6cZCI5X006TGzYX218qPPPt5g0SiivtolI7CwvYP8bLN9Q8iz8KvxPmZ4J/VicgF2pOXjzYM3u+b7O7LU6NgGHkWXiWqzNREns7a3Zeu9/VFIc+OPYPTiuo0l5IIXJpzPm3U8sA5EruRI1SWUC1UGs3WfrvG4nm1+xNrW3U23prNfRK/t9gFoed7IoNOX+zKDTKxwJDEAkOi0Xh+XkwwypqUscAQ5DUhyPe6FgNMWUOw3etaDCpCkNeQvOp1RQYVKXkqjh8uu0f88Am/lNOjIqWlUqJsmjzsdW0GDSF4CccPH4uj0D+GwdRESuQ1gDgKfdN8PHIzNXIchTnip1i6sZ0eFT9bL5pLuVRKlA2Dq/G80BkhyBsGV0+811oofpJve5weg3wqmTCREvlajXmIJ9g2ttvJA4dszERK5I/b+arqmvU5ZdNkVTfaywMPX0Zw3KTvSskvfDvTnLJp8vA7kweplOiYbPG1QVE8kBeF4Npx/5iE5s9Bpixl46swEGwjeaUbbLuJs/gfaZgc6y4uxCoAAAAASUVORK5CYII=",ak="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAPHSURBVHic7Z2/axRBFMe/b9yoIMHdIpE0YdPYaHFCtLIwYGdA0yjYiKWV/gca/wIFwVIstYlC7AQtUmmKK0xjkyWNeFfshkNRb2+fRe6OJN7mfkze7Y55n+a43GTm8cm83XmTZY4wIHHMfuqhAsJ1MCrMCIngA/AH7aOkJAAiAAkRIma8nJqkj4P+MvVrEMfs/zF4YAzuw31Zg5IQ4U2zieWZgKKDGuYKPKLierE8NUmP8j7sKfBbzKHnYQVARSoqx6imKZZ6zcZ/BH6LOZyYwAdmhOOIzBWIEDWbWNgvcY9AlXcwvSSa3Q08DysqLx9mhJ6HlTjm7j2hK7De4EfQa94gVP4YPOi8IaB709gsLibnSLwUc0FAiQGAiQk8LDoix/A7s5AAoN7gGEd7rTcKiZdiztQbfAUqbxT81EPFEOFO0ZE4C+G60WWLBYyKgabvyDAjNIDOwFEhgq8z0A7f9G+jHIQKtEQFWuJJD7D6OcO79RZq29Ij7SWcJlw6S7h1+ZjoOKICX7xvYXU9kxwil6jGiGqMn7+Au1flJIql8JetrDB5u1ldz7CxxWL9iwmMvkv1PDyb3x0U+OO3XNDDIhmL+E1kN+E04fFtD6dOyvRf22Y8e9cSTdn9jHUZc+ksickDgOnThHOzfZ8VOFR0HWiJCrREBVqiAi1RgZaoQEtUoCVjFbixxahtyy1yf/wCPn0dbwU01kpkY4tx73k6ziHF0RS2RAVaogItUYGWFLqdlbf9dNjtJCl0Oytv++mw20miKWyJCrSk0Eokr3IYtF0ZKGUl4lLFoilsiQq0RAVaogItcboSKQNOVyJlQFPYEhVoidOVSBkqFqo3WGTEV2stvF4r/gFLALh52Yg96is2A0+dKM9FXzIWMYFzZ8ojMDwj17eYwHOzhMX54u9Ri/MG52fl4hC7BnZ4tdbCp687T8yPk+nTwLX5Y1i8KPtHFBf4v1N8jjmOCrREBVpisHN+njIaiWFWgRZEhghR0VE4TGJAqBYdhasQITJgvC06EFdhxktqHy67CT18YliSqUkKTBBQkmV4WnQ0rkGEN0D78DGdhcOTppibCSgyAKCzcGi6xyN3N+3as/AD9BTLflSnJulC5023lAsCStIUS7ouzIcIUZpiac/P9jfSk3x7k3cM8j+bCTMBRc0mFgBdYO+i2ksekLMbMxNQ1M7zZenISk6SZVj20t7ygAG+jKCd0g+ZcQNHZ5mTZBmeHs/wJAjowM2Wof51Vm/wFSLcaV8ffaD76jIJ885XYYBQBeOtl6LaT1yHv8d8mBgIHOUGAAAAAElFTkSuQmCC",sk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAPySURBVHic7Z2/b9NAFMe/7+oAoqqwh1TqUiUDU5cgARMDCLZWKmWADcQGEgg2NqD/AUzMLEhlaZFgLkMmWCJBFxhqdUE0g11FQS1x/RiaplCcn9fzxc37LFXS6/nlo3e+Hz1fCD0SBOxGDkogzINRYkaBCC4At9c6hpQQgA8gJILPjNf5CfrY6x9TtwJBwO5vhcdK4RGyL6tXQiKsNBpYnPLI71SwrcARFZfEYn6Cnrf7ZaLAHwEXHAfLAEqmosoYlSjCQlI2/ifwR8CFXA6rzCikEVlWIILfaODKYYn/CBR5nUmSqP4u4DhYFnntYUbBcbAcBNzqE1oCqzV+Drnn9ULpt8Lj/RcEtDqNdXsxZY7QiVD0PAoVAORyeGY7oozh7mchAUC1xgFGe6w3CKEToaiqNb4MkTcIbuSgpIhwx3YkmYUwr2TYogGjpCDNd2CYUVCAZOCgEMGVDNTDVd3LCJ0QgZqIQE2ctC60ucX48DnGp+8x6ttAfSed6148S3gw62D8lJn6qVpjNlP1Ae8/x3hb3k1N2mHuXh3D3AUzjc14Bi6Vd/G2HJu+TEfqO+ZyxOg9cPVLbF2eaYwKXCrvmqx+KDAmcP0no7plqvbhwZhAf9N43zQUGBO4uSUChR4QgZqkNhNpx9x5hbvXxrTqqG8Dt180jiii/rCegaePYIplaprWC9Yz8NM3BqA3Xvy1fTSxDIJ1gf4mZ3rIY70JZx3rGSidiCbSiWginYgm0omMOCJQExGoiQjURARqIgI1EYGaiEBNRKAmIyFw8kzXp3oH5tgLzJ8BLp419zFTnwvPnVeYvaCMZcXTNxHWNg7m1sVJMrpak6rAmWnSXvvrl/FT5povkHITLk6a/TBJjJ80W78xgUlNdN3CspXpPYmpClzbYCyVd4/Vtg+jO1TvvWpY36E1fhJ4dT9nrCMxeg98OGt9wRv1nb2NnqYwKnBmmnDzkv2hZma3+ALArUtj1iWanImksksfOHjM4esGo7rFqe3Yn5kmPLmR8cccjjP2b1AZRwRqIgI1Udg7P08YjFAxi0ANfEUE33YUGSZUIFRsR5FViOArMN7ZDiSrMOM1NQ+XXYccPtEvYX6CPOV5FMYxXtqOJmsQYQVoHj4mWdg/UYTilEe+AgDJwr5pHY/cWudpZuEq5BTLblTyE3Ru/0VrKud5FEYRFmRc2B4i+FGEhX/eO1xITvJNpt0xyP8tJkx55DcauALIAPsvKknygDarMVMe+c12vmg6siEnjGMsOlGyPKCHLyNoNulnzLiO0RnmhHGMlydivPA86rjY0td/W6o1vkyEO837owu0fmaZkHnvqzBAqIDxzolQ6SZunz9nVVxxNV1mcwAAAABJRU5ErkJggg==",jv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAEWSURBVFiF7ZZNbsJADIWfUVnDDchNOhyBE5BuO5HazgUwFwA2EUvoDXqEcJP2CF12U3dRgVASgT2EH4m8pTX2+2RbGgP3LtI+zF7ZCdEg1uhX5Hu54I8ogOfAKQGrWPOdBEU+5+F+qKPJI+DxZPP/Qq4cejAXEUrtzpLWmUcB5PPJuzXHB641B5QjOKcqHcgCswAvAPp1CT6wKGuv8xk/mQEEmCgNGtGhHfgEUETUTJsCKDQtLMsHNgFcfQlbgBagBWgB7PeAXs4H3l5R7hoACRT/wkVHQMC0HDtnB1T3wA0voSDxb9OxvaT2YDoGQHCAODuATdURSNQVVFMGG827Sge6gtGPwHWIerHmJPKVL7iIzb8v/QE/Jz7sdjN4KAAAAABJRU5ErkJggg==",aC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAIVSURBVFiF7ZWxctNAEIa/k/AMVJgnQCUdSROPK5Q3wG+QdJ7IxVkVnTcVnW1m7Ew6+w0IFWXUZSYVb0DeAFOb3FFIyihCsiQ7Q+P83Umr/f7b21vBs/Zd7lMkCULRR13/e6frv7q9iaL/amAQigCfgZeA3+n6qomJnQwMQhELIwAFV8C7piacp4ADw9lYegrOASyMkspUaqsKZOEWTi/GcglwexNFna6vAJ+alWhsIAhlAnzKwJfZ901NNDqCIJQFoIGVNRzm4almYxEsUWJyVBST6kVD+EkCP76Yyo+KWD9ZDncyoLW01y7XWA6AO2volcG1lvZa8TWBr5ShN5tKtCm/agK/NxxfTuWuKLavxXMdrgGvymhWpT3Q1+LVhZ9pOcjC7yuOqNLAw25qwAdafJXCLVHLcFgWW6TCHsjvpixhEIq2MEmWy/lETuuCU5UdgQewcefxpJsAKDifj5vDoeIWbNj5wsZXEuIxPN0GXmkgr22u2U4G+lq8tAp9Ld46d83mmU4PQtHA+1yKlYXf6cIYlvmqbjTgOvwMQsk/LmxMBR8sfMwHZweN6/AWeNQrZQaW1sajVKm4IQGwRC1Lbz6VVf6DP4ahq9TVI7hD21j7Jl0bw7KEt8cq/RechXICmfIXf/waaNeFWcOX/IgubUIFi7qJ60o5rIB6Bmzcrd6mhI5Sv6zhn4YsU8vab3Vjn7U/+gupnAZW9/N3fgAAAABJRU5ErkJggg==",yq="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAKlSURBVFiF7ZfBdRoxEIY/LYbzpoLgDpwKgiuw0wG++Rnes6ABhgZg857x882kgjgV2OmADowrCMc8O2h8QIhdwCxeyCn5T9LuaObXaDQzgn8dpsgiayV+hqpCtQQTB5MKjJNEJn+NgLUSP0dYo5xgOForpIzU8MM5hjeJjPdCwFqJXyL6QH1bsh7DqaObR2QjgaaVmkbcAtXU5wlwp/Bk1DwCqNFDAx+BUyBOyY7V8eU6kVEhAhdtqRu4Dcqge92T4RZrOmnSCmdvrcs9gkZL7jGMyo7ue4Ks0ZY+YP10oo7jdZ5YIXBupRpBPBe2VuIi0Q3QbIvozBsA47Lj07KuaHlRKaJjDP35vKhxgKueCJD4afU5Ch5ZT+DcShWoY6g1rdSKGk6j7OgCYwADl97GegKlKLgLNYvxLkgSmSh0/TSOoux1zh6BphKMoXbRloxwUVQcd8yuL0b5nP4XgtAnnF9Laydlx+EucTBHoy23+GRWdnyY6wwe+MPa9BqvC5wiUHiaj3+nktXKLViGgUtrJc6Ty9Xjs6bXGTZ7MB9MIQ5s1NQH/c63XQz6I30k7FbDv5KPB0h5wPirMrOvh7sYhxD9X/PkAgGXYuULy86oOBJSeuc4gJCSA4GbRMYoD356ug8CPtK7mY/KKH2rMkGohp9+GO8rBwx6kqQ2BoZMQcoQcI7hQo7OPqIfwOjCC1OX9UiGgO9eQvF4ifaTjq8SefBeWGnVVvJAungAttkWKWo47UFVWsu7hzcakgsrRybinkXGSgY9ab3HeKMtfZSjQV+ON8m92REttWNQsCXb1I5tJADBE9/ZoSk1jrOrRB4KEYBZk+L7hHqe7BKGZUcrr5Ju/TA5t1I9KJkTdVrPe5hUHMm2JXynp1kE8RRiA+OiT7P/eAV7sh6rte/pwgAAAABJRU5ErkJggg==",o7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAMwSURBVFiF7ZhRktpGEIa/Gew84xNYuYFzgsAJbN+AfdsAVauVD+DmANEqVQveN/AJsj7B4hPENzA5QcirNzudByQYhIQkoOwX/ioVM6OZ1letnu4RcNZZZ30/DSORrN2PpDeI5GYYSucYm8+Ohco0jEQU3gOSDgVAqJZwEMlCYeQc87tEFk3s2hPD+fJBAgPTluWhH0mvie2jAUvgmMQye+54oXDBBjYwMPVDoUrm1HDjWApt9iPpmdXcIB2ajWO5qHrGwR4s81yZJrHMnhxdNt7sDSK5qVp3EGAObgHM6qy7S2SRgwyrdnljwDzck6Or8Hd+3mUowWUowR7IJYBa/gxDaZ8EsAiuLG1YS69l+Tq4loc8aLpmlHbb3yzh0YBN4LZk6LQsX/PpZRxLgjJfTeGqzIuFiXoQiebHvIFacM4xa1leAr0UYjoMZXGbyHzNbs29qnaA9n/wCpjn7TSNwdqeu0tkMY7lwhnesom3qT/n2ZN+zNpqeV1kZz+gMlcYZVft1+rpw+9yr/BH2g38XZskssxeM0pnZzEVtVgNnydx/axfpp8cyaNdxW/qqfn6plmlHIXCGDxJLa5SkshSdQViNpUk0xLAmB8ICGCyONRtEIV/0+aPBcTwKv39sj3MS4DMw3ntjUGj/Nr3Th7OMWu6SWCdQzMbn7duKgEGDMWA+z1o6Bh4n10ty05VqFI/kp7CVdpdfEjkPrsXhtLGpLs359l6gLsK6kJehhIMIrkxMCWNL3W89ed8s7zJ2sbxqchO4SsuOtN5pS6D3JsTraUH6xq7VLieJJKPv3Xp9CvMlp2yB+R1G4uYTYGv7UmUuTq6k1hm/nBam4PVlLXdwwEbQzrunxw/j2+km/fcZSiB7z3ndmtwpoOO/AUH1jnpoaDsyO/DtSwPbLx3kfeur4PyYN6TGVyV8nBAsg/uYEDYgazUb+/kTcvylwc3G8dyXbXuqK862P148l9xGEr70ZjXoL11vls9dHRb8xBydKkr8+Tw3ejq0fIPRmce3MI4unXhTgJYBulUX3jdpcLoueOXsnxXppP9N3MbiwwjWffV8MUoiXF8agp11llnNdD/8SCG32KlI34AAAAASUVORK5CYII=",Qy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAIPSURBVFiF5ZfBcdNQEIa/lQLkKCrAHeAOUCqIqQC4JdiHZ6eArBuwnRns4WYoIRXgEpIKUAk6MiT2ctCTLRs7RAqWZ+A/rmbnfft29+0K/ndJVcdzpy2AFzAbjTStDeDMaSMM+AY0vCk16E4G+qUKQFDWIRSm/vAEYwZEAtMzp42H/P4aAEITYL7gZDzUE4F+AWy/AM5pBERA+nmkCcCngaoHi/cO8CM7HDM2iy4tAO4PYJsKt0KVbigFIGT5F1Y3cO9tGDdlDwc4KgUQ8M6TzHKbBZwCiJB0nMYP+d9DktdOaYB2Tx3QApgvuFp+MJoIGLQIsu+7FALtrs6eGW/zdP0RoOM0tizy997UXYtCuMYeGYXQRIjvhCHwITN5nV9oKzCGrF64Lf70l21XQf4V/Q6k44G+hMINBMYUX80bSoDZfEF/M39ldQzp3YatmIIIYDxQAfjYUxW4NPg6eULURRU6JsltT34HSimU18BaF9UKYGb+BmT5ZtQMkM0LM7utHcA5jUSyDnvOAWrgZ97exk1xZtQGILIswLWZUV8NSFaAInIgAF+AzFcFWC+AL8AjDpACv7BGZiSbS0stAKHIG4BAfl9airMgBaJ2T7PtVmhiIMJpu6evqh4uEBkWAyzgeieAwJXBJfncz2e80SQfIhVUWBVG235e1v6MOk5jE6kc7U4Is9vJSCvtjP++fgHeI64ZO7QpwQAAAABJRU5ErkJggg==",Zy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAIcSURBVFiF5ZfNkdpAEIW/BuzyUSEoA5OB1xHYIcBtC7aKQQnQTmDRAa/3Zm8GSwY4AxyBcQY6+g+1DxrYwfxYCKw97LvNaNB703S/bsFTh+x70HPaFpGXZyc0+zZJdXZQQD/RMeDOTR6QvptcqwK0/n7YS7TjyTOBmUF2AlMbo40wx5j73Y7BANgtoAFvDMDETcaju8rkQC9RFWibMb3xN+4XF4wCvk3kRhtgafb5FPKy2BDgnEYixEB2m+qidgG/KW6PUQv5lgCavuyE2aMIMDMfAZnvPP2/BeAT0My+1C7AOY2QQsBzHiEHfkIMYMYiTbW6+VQVsPJ9qTEBNwQgRQKK1JeAmwKMCwCW9SUghL2gcEBacHIELp3GzQYjKC4lMOonOgqOrHNsqxl9LxpF5SS8SlQNRgeOLHJhuFqs54F+oh+BDpAFrfMwhOn7a02Ddzhg7JefJOcuHD52YR2BZznDX0KMcIH4fPgXDIAUirAH5MNQWCkBvvZfXzqNW94T9qLBwOAt8hCpZoOB13R/U5J8Q8AKvg0vDv2oP9QxApIzXW8aFwhYzlFDzNZAUgressOKMT/l2JFVdLQA53Q1TmXnsOyjBQSkUbgvUqxfHFnC1f4CK/rFVVIMmr4CIipEZSsJy2BpdJvCV4NRf6ivVi5a2j8CVIrAbaoLgy6Qec+IgcXS6B77rr2fZmXgnEY/vN9/SPX+lHc9XfwBiam2korBkUcAAAAASUVORK5CYII=",lk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAwCAYAAABnjuimAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAA4SSURBVFiF7VhbkJVnlV1r//+5NZeGphHoXLhD0mBMcwwIEXLAGOSmThTGmEmZaFlT5VhOjVo1NS8znZp5mSq1LKfGpzEVMymtCYFMwMAk0nIMTBDwACHSSkuAMhBIuHbTnMt/zrfXPHTTNKGJ1pSP2a/nfPtb/9p77b2/DXxgH9gH9mcx/tF/dMryU85k0+NHZRlbHKpklO1XmZmkP3O+cmzVrASk3teHxFnbj6Vvz8W5JOlLh2ZjFFxi3EjSlWopn6+C9P8f0E7ZtKkn0xNHTRxnjntAfJjmE0GlwFA16qSYvJ7EOo4pU3pLeTRuAiwxX0I85kpPcy3CDAveYRHuBD1LUx3QuTgKb7glh3Pjx1/aPmtW/VaAbwk0/59Xp1jEpaR/hsRcIEygIS0GoymQXpaFiwaVyPB81WxvaV1bebiPdb9+u+lif98iOj4Pep7GFkFNxhAhcgc9oekC6EfNbLOF1O6uj334nT8Z6MIfV+dYqrFW5MOgzwM1lnQDBZgPfDQF0J2RvwP6fsFfzDBsK+6f9i7+CVrY9buWVGRrTXoYxH0yTRrw4QPED/oR5YzUS4YjIjaHCC/tvndRz/sD7ZTlZ5YnpSI94uBfkd5BqirDm2A4Rvp5UImZ52C6DeZzwTCZlINeYqSf1EN9i/Wfu2ATJ+QJ/ybBVTA3UGdJP0rqtFMVMqRJTYRpNixMJz0r6qBRzzY8/PQT+aXvdA5Lg3g4zmlTT6YtmrRUxMOEd4DeD8NhSS+aN3ZkTT1FFCuLR61sRr3SQdNqUg+CPhOmRYI3p1Osq6W1i+BkQTnRewm9DWqn5NvqUXxwz6kjvYV583KhrzInivwhEutEv4dUhwzlOGWnisXiFgDVmxkdZDOK9R1Kq2nKwnTA4d9BHL3aNH5Mb7GAAFKQ2L6xOzVhdEuzWFsv8y+C6AAU0/yY0PgBzQ/RuITkNNEPor/20oX+TG/3+vb6NR+FYjGKmpqaG5mwzKBvg2EBqCpM20R9q9j+y3fBTgcAGxJPHtnIGveQugumsTK86dKLiKNX9x0ec6m4nNdVTap7w7xk177JFxD4Uxp/RPN9sACYZpjhGzQugIWuEPFfy7XKC7v2bbnQvWFeMtxHcfnyRtf27ZfiTPQq0dhK+gmaxhI+N2KYny/lszeFPl3py3o6mg8PLaRM1DHzxo7s+NZedN6ixnXSdwOXlm77/c9CGvXInAIWK9Isg74mU4Sm8ubSxz/aO+J5AOjs9PDAA73WEr0CC4tB3C3zFsI/0ppLHQBQvoFRxhYTPpFEGhRIP5819RQLCLe8ZNB2rZ59rpaud4H4D5peI70B87tIPWZVbbj/wIE2SHar88VCIXgcekScAx1GZRRhojIcInLocKiSg8XcYA5QSRHFyh/tOoNWWtZ+BlH5ZUX+DKBfg6qC6CDtEauHhwt797YVdu6MRzxMqnjkXIUMCcwhupGeChYNaWgIaJTtFxiqg8UcZp5bPHZlM6Sba22nbPFrb+UW/89bLe3PHUkPMbtswbm4kbxA82dg4TDpNTIsMOKvEfNTSTrdAnXezKzElYvHNiNSjhRIBBDVyMMQSUOHyqwkoE6KXh4o7LoN9UpH+8bu1HCfhZ074yWL32yNrlYXpdLlteNbMXvxa2/lrv1eLNzbm87Wnwf0FMwPwJSAPkfwr6WbrH3xqYcy78XZ3r0x5WXrIP020AELZXj4QxKVk5uAJnOmlZX2AzC/ALrDfC7hqzNIN6NzkIVOWaVy+2TG4dM0/55T/2i0x1HvnzU8jDvy+T6r9W6CwtOg9tE80DQWCFPH9iE3HCQkm+KZ8UJYA2IuTU7qYhz7wVwjU7kJaHc76srWTkZEiZHeAcNkmC/Pjcmsyd//2BgAuH/J0cnpjH+W1N+KPo/0NtHHpuA35t5A6bns6fhnRP3fJX9WphfRYOktNPcP/+fSY9snIJP5kgwrCZ8M+FlQ+2t1HN8+a9UQo/Fw5+HX6ktdPbsJDHeQekj0NjN0ZJV65f5XfjcKETaAeITEXTAlku+jhZ9bqL/V/txz6cm3z5mI2Ge6J0nNvWfXli0XCmvXFh3147E3QnVy9Gb3HfOuXc4VR7vazOrr5fpLUNNBOQz7AW26MmdK73Ah38BEKY9G/oz2ZojnRSQ0jRJ00kytIJeBeASmDkBVAAcQ8Rko/PLdc8f7PtQ29Z5gyWoC7YhZzRh/tWTtJ39e/OhH3wRw/j1pyRXHu+5kaKyR4zEQ7TQB1B5Im3NZ7NuBfOOGAxjB8j+/2BzXe++OybZgyemU+QJF+BqpuwbLzmEHnkp5bVNxecflFa8dui1Y8hUZv0X6GNIdphME/lm9teeKy5dXh9+54mhXG63xGZq+Ktc8Rl4HwhsAf5iJuPWlqWsvvRfTiEW49OD4vlwOh5hKDkVRuBcRvw5gzoCCccCBp6qjMs8XC/cOdJysz6ShnfQxNBGmCPTpMs2ujc9MGHIs2dLfb2u1uL4e0FcGQSak/wbA91Khsv2lO9dcHgnTyN3iSbBSabSS+oTRvgFqBiMHiH0yPZ3y2qZSfkbftRxyJQlMVdJ9oLxINAVYoxaPaiTXQBZ6ii0ZRY/L9Rio9gEmvduB73mK/wuM7hsRz62AXlO3qG+ImgWTAdgD6EdU7WfF5R2Xhyd6reY9MP8VTCdAD6TXAe0icKDc23QZg+qOmTwh+qOg7qY5gPAGhO8bGkcNtY/Vx1Q6Hry0cexImG7MUYnrSmdyFy/3PWKGL4NaOBjufYB+VAa7Ssvaz9zkpbPTlqz95PSM+f0yzIZ5jcABVfsPFBeueWfF0a42i+vrB5m8mxRh2gPp6QDfm8qG1ZKvJL1fwItZ5DZtnbK2ckvV50uIL/b3LTLDp0EsAFUDdEjEM1Tt5dKyBeeufVC+VMqNtTAbSuLG2FF/2DV7wfHCzp2na+N9QpxLJeXepsulhQ/Ul/5+20RT/QGJj4IaUrcRz6aMWxOWc1JqJqgOwcfClEqi8qk8SrtLQP1moBLHFHuaG8LnQd0Hk4HoMddPAvy/dy1bMKTEWdu3p5smtcyC9CVZPCaulHeuOPTaL39x75K3AZwe/vFxw+9UzOVAmEeDD4SbT6dsQN0PXnzOreIHYbqf0DiZ3wf658ZdOXIY0sVrrNr1y4+laxFmgJ6XaRKos6DvcEs27u7afMM8OXXChNGRqUPUOiA8KujvPG6sX3rg1dabxjlTg/ArpE6Tfoiw7w5X944fdF+plLGF1C8Q+VnSJwmej1zT1mPj0Jwx5PT2XJyz4B00tpAy0o9CYduFs5ledHbeMDiX20LZougETe/SIMLnU/5YnPXHCz3FluFgq00Tehp1PSXhX0Jk/+Dp5BeLZq2/MJR/nZ1+YRZ6GWkb6EdhMkbeQrDj0qXrc8H1oSTpS1vK7pSpafBJe7oRxwe717fX8R7bc/srNVZ0hObfB8IbNIGR3001Ho3VeGLpse0TMCjUPXcsqbyrck+cibdWeHV/122HL3W+Z8nQjfV1paKDoE6DAuGjYI3pllwYmrSuD87NRqiRNYWIFJyq7Dl1pHfEwZmdvnThwkv1xpUiEH4Iag/gRKQ5gn8hA3t0xdGtbdfAds/bkLx8x6cu7rljQ+XaY+1Gf9TLL6MX9AoH6nBEQzaMjkcYnIOLpjoi94HlQEgX5s3LjTg4A+gkfVfHqvN1prYKehamPTAnIrWL/hjNPlv47QtT8afstyQWCsiRSsMEmJxQPVLj5sFZjBuAzoGecCD0E0NfZU6hWIxueQGp3fcsvVQfXX5BDE8Dep3mDurDFvlXo0y8ZsVb15m9lRXwZJRJ989BpFZSMHoNCOfoqaHB5HqOpivVOApv0HRBlMM0O0r5Q1FT0/XB+SZaO61w4oVxuUo6B2mvEH4g6AgjT9y8nZF/2dhYv+rMc60jPkEAQJ0WXZneTNNDpGaDwR266ODr6athhAWEZIX9+z8k2XdBrQY9a4YDHoXvxJno1XC23FssFK4vILo3piakRzenYJ8h1OGGYwq+M0r5XDN9E/T5YDCZugn9l9fqPz4zPb7UjfXXFxB4MoquTG9OhcYyRPg2LSwgVRF9O92/tW3UuaEFxPWwPvmkpn3xiw3LpQD6DFIzYGG8ETM9JKNDk/XPuHDiysnCmrCy+dS4MSG3yIQnAH3BTItI5WLWj3va9rARTjHymTBMJtUK86mWxuRxNdVmNn57+c0F65PCh7qbMo1ce0TfAMMTRLgHVBMilQA+jabG68f490Ohv6GFFgqFpKu0a1dsqdtdaiLVAfoCGsalLXzMofMr5o9P6mXlBh5imGvQZFBu9KtyO5OpRueByk5Px1nRHxfCYqNmIfLRgs9Ho3565YNeGRAOWknMBsMMQFmYH5Swueq+u4CL9e3D5TBS2nz80N45EeprSD1M0zzSmzG4MhyoCALooMlBvQNqv4PPm9Jbdsx4sA8A1vzhpXGNdGWds/E5mt9H+qSBtiwMlqBBP8Fp6pXpiKTNZuGlbdmv/5G143B29+2cjEz0cUb+F4TPVeQtRmUGlgMIsFAmdIGGkps2NaW1d2vbuhsXuW9vbUpS5UVS/fM0z8M0gVQO5hFMbvSaQxdp4SjAFyoedhdH/83ZkfDcumyo01YdezRVSU6Njxjmg/4RRZhIegr0qqQTog5aNnvy8m3j+krIj7waRyluO9PTnIyqz6DQAYSpiJUhVAfCOQdfj1D/jUaFS4twsd45UkN4X6DDAOdL+WxrLpVVhnGwiJH3KbnC5N176+UhFb+vD3HVsX9LV1rH5NJxNR0YM1JD9FQjfTVUt045Ux2xY31gH9gH9ue3/wOv9ZjwWjLxzwAAAABJRU5ErkJggg==",uk="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAdSSURBVFiF7ZhtbJbVGcd/13Xu52lLX3SUVkpbgQKKTCvSKRqVNMwayURF0w8zjs2XsM25ZUu2T0u2ftu+Lcs+sDSLmuiMoQ7MNGBApW5C57Q4dHOCyIsKpIXxVvpCn+c+/31o5yg+pTWjZon+k+fLc1/n5Heuc871cuALfU5lk7JqkwPOoVH740Q6iGCaQrYxmgBURivF1RexIBhXmzNLKWdk7Mqn7Dz6KIc/K9jzgs5ao4XAvTKWm7hEUAJEoA/YjXimKMcf9j9uQ1MNmoz3oe4hNabiETNuR1QDqcGAIAD1GHOBuuEM01mhdjbZmakELejRqodVlsnzM8E3gQqJ7YiNFtgHTENcC9xuUBfFDk/5+aGErbRbbqpAC3hUFnI0yVgGVGFsdvhtf8IrJ9facdYoUw1dIdIj54cYVyjhnksG2dYDUwbqn/inDXNjKVADnCCyaaifl0+uteMAtFuut529KTwPbDNRBlztWWaMRofPCBSQMQsoBXoM9h37vZ0aa2GKzhGJNzEMUREDM8ebb8pAEREQ4Fhhm2LHDTIAGF9KIrfWfMQC2jTuBZ0K0ANAH8ZMjMvLV6tyzPdWBeWpN+M6hLmY4XB/Vnx/zgG+dsV9qqFV4UKCFrj1stqHWBqdXwI3An8R/M5hay7hWNEZsmlCg4lWxHdNZEwcCWKGgbt41yPr3dg6DG/vf5xTYHEKQIFvqXhmlp8YPIiow3jbYLPgfaDUjOuJtJgoMdhhsDGJLPbINSYuDSIHdIWUZ9LI9ul53jsJaQK1Gag1o8IghDyDMnozRXz46lOjl/VTgQI1D2q2JTxC5C4ZdUDxWYOiiz4iOwzay0+xPl9CVSruCcZdHlnkohLR77ApRNZZyrA7LSaWu5jnosgjvQavB/F8EFs6F/MBbYW9f94UOuMBzcpkuIPISowlBjNNDCI+cHjVU546MJvO/0y+qFXZXDHzgrgvEbeZmOeRUoejFsk4lJvIuThtIueRUhflDkcc1sWUX//pOdv3qUFBxhqS+jxVaeCnBg87vAP8ZniIJ3qGGKLD0jFD2uSL/sE0D3wlGKtd3GaRKgf3SK+J1xDdHjnlxsIgbrJIg8Mxjzw2UMIvujps8FySCUKJiXZyH0qH69Zw1CIYDBI52vOE9Rcc0mbxHTjd1KRt+Qbec5hu0OIiZ0a7G08AB4uOoaSKovwwLQ4/8shSxPKKQZ4HvX5uVTa5mGcmf0Aadb9G4+x51d1N2tRAcJhlosjFS1E81+XsO2sXhpau0OaywKUmGj1Sa+JG4A1G4vjHmnQmccAFQRDSCc1pbsZDpNrFNBdm8EYqDp57VF7bRJ/DviAOOpQFUVtovklnEY+jBzqes9RJjjPBtHFuRCaOZELT+J6bvEfjfz2anYR9Zycx4/SaGAgRJeIahqmBsYXLHTdS5ilzPFLrot/FwULzTdKjMveR/GLCpIkX2NyMnxkkTRIOmfiyQXPWeHP5Ck4OntChoiKUJBSlCV81cY9Fprl4K4ouCmzaBKCy5mbCgRoqSZnugEGJw4zGb6j08iGGOgqEp8btlKiEJQmsNnGti2yAYofvmNF48cXsCJF+GZe5uAkx30WPR17JDrCzUB923jhau1qVpbDKI3cZLDFR42LQxQce2R7gafawtbt7pLJf1KpsRZ55ibjXxW0G8y1S5nDURSaIciLDLk475F2UeqQMOGaiw8Wv1r9kewuxjOvReferPkn5nkXuNqh3UewCEyUuFjjUmFjgDdTPr9aTVYEZIeVOE6tMXGkjFVW/wQYT6yzPMEZLELeYmOuQMdEL/JnIRsSLjS+zf/04PIU92qxkYT0/Br5t4lIXu0xsCZF/ShQlcK2JWz1SEcRbJp4LotHEYkbsZaLLI+sssO2E2FOdJ3WnVjnqgAoTHozBTEqPD/BRRxfHz9d6F+yZFszhSstzi4k64HWJRx1eHBrgSLaMRCmdQbzv4gcmrjJRg6g0ERx2ydhg4uWYYWfns2PKvL2jv0+tQltvmTzXmZhtImdiow3x7FsbrPesxZy8/m6Cw2ITK13MNHHIxAsyXsiK1y4upucTF+1/0CdB28B3M9ugnJGq5t2dGzhyzlpiDh2eJroRt5s46uIxEx06xa4tnZa/UIDjgwIm3MBcRIukhc5Okie6k5PAxQkiL546zO7u7gsPCYXbZdw46OK0i0qHuU2tumiskSxrVHrkqkTIxWAU/2pomLhYuXCgI1nhr0EcdFEaIiuSlJYbWjUdZE1NyixbyZxkZMuXWWTAxd+zZzh0Ic/kuSqw9ab+49p5URlbXTS4uNkgeJ65N9/JviCKTDSZWGlQbfC2iWeOHWdgqiDhPJnpulW6zAOPWGRVEDUmUhcDJoKLchdDJnYZPEmOtZs3j1NITzUowA2tmu85vm7QEkSNQXGIiEifwx7EhtwAT3d2Tv2z44Q906JFZKrnchmBxRapMZELKbvJ8rctf/w/ecj9WG3y5k68r2/EvqGB2PEZP41/oc+t/g2T7Sl0ZJVIiQAAAABJRU5ErkJggg==",ck="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAYZSURBVFiF7ZhfqBxXHcc/3zN79+5mE5O0am2ioqXF1oqlQR+MVaw+ig8+GKrQ0lRQVCpYFQu+DNiCLSGFPgiKehX1xTwp+OBTU4VYxRQKplEsTWsT+s/EJtfd3Ls7c74+zMzuzO7sjVR86v3CMDPnd87vfM/vnN/vnN+BbWxjG28sqK3Qd6c93pxcOyYMGoJxd7HyGKAqn5evFK9JvaxWZ9ys3aU3JBm+qJ8c3tiSqNM0MMpuyNS5CyfvF1qFAA5F1ajad/m2sEMhoyafa+NKTgDX3nFGwWIz2k/J/unq2ueekeRK1pkj3slCuENwl/E+m4AjmFK5phoBXHVIBNW+XX8DRBxCqSeWJEu5GvaKQboFtPH0oWMP120+TzRIfBh4m/GzwJPB4Xyhx7PRu+JrsAuS1djLQVDJUNmsJDaVV9RU/V6NOAC8y+Ij7x0MjzQs2KB58aLo7xrg2BHhdB69lifxr2wArJYM8+bQ1CtITChlvZowlk9lBmDcm9NR1feNgj7S9YKdZ4eDxrKctygoAkJ4uBriOX33O88t1Pk/YPPun++KCsOwRL5IdDqHcVH0X8D3Pro6gRulZNCJ8QK93S9w5M6RmDnG60E70anRW6PX1tgc71K/+1nsmyfSS4zW/8yXv/dHrx79mx657/JWTZdZs52oKJ3AQHJFXk7T8Oor7HhL0t8zMhF1A8QbbH0cq0/gDqPfbE76a77nRyf048+vtyrqAlll9EUDtQwiFh6LoTteFFcEQa/e89CuyaXVW/b0+5/OOsmXVjqdQ5shFpuEDLLAO2UOhci3sx3jg/7a0f5SpYqUMWxBtHyNhuXTbtD619Or3+T4CQV9AXNQikD4Q8jzx0lCGbamLQTc5shhNne+bPupejBvkvUshNWwaNHg0qLLneni/ffv2aHkU0niB4U/Cu55tuXMOqTxCOmTE+Uf4lsP71zUOqn1nS9I26e+xfQVnKadQex/wAlfNPHdljvlNBcdrQAYYabl1YMH4A+Oh4N3tmsv+w4AZxuSdmdi+aJmxFuDfFs0B5BD4XjMpizmtpINwahQI2aRJCKFa0W4aqkl5FY7tRCd7o+teiZJeEewb4W4glWrb6RITDobivmfrASh3vQcEBPARPsZRdo9vyLZ0vXyOBpiqXxeV9wreT/F5NacxrLpy5O+w8pvleePO6+6XCGGfLQaw5DNyxusdtuJTskuMm216Mz6i+FJykIkdISQjKkquwPcTND3RT4iCaWiAM4czK9I/Ev94Bv/bGc4htApDiladOQWi5bHsCUOZbQu/Mp05NMoE4XDQHBrcYaLoOK4ZytaOt5OsKm9WtJvn5O071py6zoB6HhyTtIpiEaFd2u6XCxEB9ydPbGrQJ4kPo382tZEIyp1zqOFaBX34jSTaKDXO2t8QuKFahdzI2aWIWYalsjAj+VZPM0j9y2kGA1UEaeFVUvAZ5oxtOpK03GSbZ4AryGvg4vDveJ8zAScg/8ena91u5zRsvU0xfKT2/Kp30Ln8R07XgqBXxiOSn6OMiNqWBJPkJ+Q4oNdXT7OkW+OtiZZEpy2b6LFmeqYtJbenqbZY2l65mOj0Q9Jun+J9kFL75PY65wJ+EUUTmKeSDo6yUPppStas0s5Ce2B9ApEl+P2NM2As07TX4csO5lZ+7EGhJg7dl7b9PgfO58/dV7Hji1u3EtRrfHFiX7dRCsoTcfAmfL5HzAGVIQ0x4X4tBXRAUmyzw985VLx22tKL/cWW0xRO3JO/Xyr+j2yTe+LMFi2QppEd+920IWhTSZ8E9bhmIcLxVRUM1heSKyMi0uIWJbFKlQE7GyWWodQlo/LthRbc9WOQPQEkuQqcm4CMkn/5l97G4znLHoq2tf8HsJ7kK6L9vXFAbrM0V0ciD1L4mc5fRUDqzRG5QVFqNpSvgXEYgCe5f44ohCizVnZv3t6+HwjRjWvdGzxwFevi+hOmQNR7jequrJgUvzn9SualmuclrJp3dqVEBRXPiJchvBkx/4Zj977bD0LaL8kSz/TJblmPyGrXZJ1a9Fq/qKr5fKsUbbScr7pLpbF3pCXz5/TsXR5sraNbWzjDYL/ANPP2oDpD/R+AAAAAElFTkSuQmCC",bq="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAkCAYAAACNBsqdAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAFdSURBVEiJ7ZbdcYMwEIS/0EDoICqBEtSB6SDuIC6BDiiBEphUgDuIO7A7cFKB8yDJHPrFQ97inWFk68Rq7w7QQog9MAJn4GbHCfgA6sj6IpQgS11noNlCerUqO2Cw/2VsNfkkbhzsRj46T3lszQJa3DAW1h48AVmMzCmuac4Xs+okKuZ6HYHvFcSfdlRkylGJ4GUFqRPgoLzfWhI7/KwkjqHGlGhy5FVu9YPErj9vJWK9ZacUcY9Jq/hIPUrsnhT118Sb8SR+Ej+J/z2xPBeTR1klgq9i/mTHhvALtxOkl5wCd+pOYq5h6SFazId/IG4V3sX83cz0YlKq68hbLVkSaSHu0KRNyIGlvYo5JZXIAlharNYP2vQ0oaGpWXo+5cVRQtkVY2VLUMz9uWFKF0VLmHLMVdZ2Y6m05PnQhDV1xttdfiP7EqmDYu5yyYTvUyQvhQ12hC/JCWMMjzl1v0cfjAryhqYGAAAAAElFTkSuQmCC",pAe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAZvSURBVFiFzVk9bxtHGn7eGYoyARcsrnCXNeAixQGmgSuuOFGb7rrYQHpLPyCw3OnIAKKAnMJO9C+Q1AeQAlzvlZwiRQAzfYCsgRTuskUASrucea7Yr9nliqJ4ByRvxdl555lnPt6voWBN8fdnvtHSU5RtijwB8ATAg6z7d5CRQP1oxVxq4TT4uhOsM4/ck5RHrQ9I+hDx7jlXBMpEtVtvgpFE/1eCBTFg556kbpOJ2tg4XIWoukthazDbsUq9XUqODAFMiyYQZN9ukz2bJL9sDeLbMVch2B/GxyL6ZOlxkqOro83H4hAUSqDa7WcAJkvguyI46Q/j42UcWk0f/RG7JknOAfi1rh8A/L1G7rAJIzu+1/3BTQSRUQ3jUwDdrL23NYx7emPjRdORN+6gSZJzccmRoSKeZcDpJyC4jZwrV0ebhwQCB+uRMuaZewUE8LMNWZAFgv1hfFwhJ/yorP3MQj5HuepIG7N7F7lcKroinlHwsyvws0uy6bgrBLeG13sA9ioalAdowYNwz/k2CcadcFWCwbgTCnBaklEH5ib2Afylprq3NZjtNBL0R+wK1EEDftdSv0W5e1Dt1ptVyRWkjMmuAwERT5Scu5gueX9/5uXtwkhskhw4AyJa7oqSkwaQa5vMD7YGs5809BTtjfA2f+aP2EWceAamR9HbACJAqnhkqKzdtVq/TRmKR60PAOymhDMgmyS/lYNkdHW0cejvzzyj9YksWnNdomyxD502GhZXEaFciJ2/DsadsD+4OXCtXRnzOBh3QgUANp6/cifLjzAYd0It5k5LzYg8rLWXkCMAQuz8TX6XlbVnrmVnu5jdwboBOEdmKL1ixcD3pNkFZILUMa8aU6cCnKZjOU0PTmB0iR2MOyGFxd0m6QNAy/9q5ltWDODMRRboT9IVA4T8+O6oc+r25/eMIt8Q/Ge2kFMx5gwPHkzr97M/TJ4C7JXYpWjDC6uRuhoRz9+f+crdIZBhMJLQHcQMLP1tPtS3JhhJFBy1pwA/ljASBuNO0GQ8LoaLDaS7CCdkGi09pai3Cw1RF3VAIb2iYavk1xFt6MRsB7ucMch/KeptRdhyhzj/aVG/dAt6sz1d6L+vKF3uakMS4nKg0JP+MP4NmcUJ8D2c8AMAbpolIt+C/L1pXgL/QJpVA6lRNC9G5CHJL4qmE2GyL4/yuwwgkv4wZiPQn0TuTFj/aGkh9WX5EZ+SNUMQjpzGBLzF9wmfA+gBaSomLC97VQ9doOJ3R243gZ6kWAAQtQCEObCluaz7uf4wLgAUeZa6lEXZHsYeMxyhBFdHG40RyB/Rs0mSE4zqemk2o1OCZKTE2TGR1tMFRLe2sGZpbF1FzE3s+t2F03A5CNRUWTGXDht/gZ+UC3BD09qiSt/nYpcT2vx4YcVcKtdxAui5uRgACKR0rLXQtI64GC42kB6/6xu1cNoKxp2gP7gJ8w6rWi8BFPeCMB8kM3Y3NPkjdnF93TMKnqD1SSUkCv3+IAEx/wCqSG+2p3kIJdgTB9slaOP5S6dSj4KvO0ELAEQkKB2y3fH3Z2d5GqQNp1bnK4a/PUjOCduzSeJB6wyv6koF8CH0BRoQwCYJ+sM4EkpA5xppqsBdsGM8AGUCZH6wTMcBiHhWazc/DN3JKXy+xrMHAHRZuo9UrCmMJMtJi4w+z0mLDd0exiduWFPGPLZKvazVtHWJCEwVJaLwr3BDHSWk0APgYUnyStjXaZql3xd6WUYPODWJGHNIpYpHocqARdQ9Zc13bmWXLfBJNsHFpePf/BE9E1/7IvqkDiVQx1ajUg+5RVkR6oJxJySs6zRLcmRYKbQFvXuVnSMJBa3SA9Tw3LlouevmkZVY/O6ocwq6oS1XkhcueQI7dXe0TPz9WbWuhjpVkBcNqpN332xWctKFZOHqaPOQZEXJgufaVl+srNaNTxVNYrR2y9dIgd9ZsDKelIurf7df18c2ZjO63d4lpSSZWvZ7iHx01Hr9wU1ToV+R/uDmoFa2/moF711PQMh/9Dz5smn80gfM7K1kb5kOssdIJslx4QUoI9VuvbFx/OoOLwAAk6adW4kgAGz96+b5LS8MpZAhRCJU0q1q2GoaQ9jDevZ0b4JA5uXj+avsov/PGU1Wlh6u4gnu94i+FlGm05ChiASrEluLoCv+VzPfUHoK6imBvwF4hPI5LQLwq5A/W+GlNpwG4/X+hvgvHbA21g5r0sgAAAAASUVORK5CYII=",hAe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAY/SURBVFiFzZi/bxzHFcc/b3ZPcKGCRQp1PgEqXATQCUiRIoAuXbpw4aikzIVNAiwMU38BySolqYoAecSSd+ocYmkgvY6ACxcGdO4NeAW4UOcrXAS+3Xkpbvd29gePRyZA8oArdubdd77zZua974xwTzuNvu7jmZ6IeQ48AX0C8lHe/SswBb5XtdeImWxtBOP7jCN3cT6O4m6nwx6WPkL3jmNNBY5MyuswDKb/VYILYsrmHUm1D6ocmYyDVYia2xxOhpebHY+3S8kpCTBxWsZ5W7u7sJv5/HQyjG/GXIXg2TA+NGKiZcspsP/Fy+AxUhIUGHsZz0Q5WgK/ZoTobBgfLuPgtzVGUbyW+cQK/WqPfgfyR5fc5xvBQRtGvnyvzkbxVGHfmdJ3oJ8AazCP5mAU97yUoG3JWyOY+cS45JTEpjwD+cRxG99EzrXcZ1xi6aNZyrPaFujnYzasQTAPeUkO/TDL+LPn81fyWQPTWUp4G7nCKr5C1/Ns38t4Bvzokmxb7grB0+Hlrgq7VRf5yPfpKmW7wNFOGCSrEtwJgwThvBzU7GU+feB3rp8KuyfDy81WglEUr4mYvRb8NYG3lNHDpLxelVxhsxnldpgfutjFdMkfR3G3+F4cEuux5/xhClkIXtQE0X/ZjuydDC9/IDOTDiQ35bMoitdm0MWzPWN4jjJt4CmJZmkovv+2IN/psAfzbSEFUObzSznB+ek8juJuxyeicZobNs0n+9D5pjm5hl3NUl7thEFyNor33NM+S3m8EwaJAbA+X7mDFUu4EwaJwq0nNSfysPZ9Gzk0TV8Xe/m3lAv3ZOdRnO/B+gGoLJnanoP5rVUbinDEvHKsWlMnCOdWbYhbcTyzwJ4Hw5Z7285XzT8dxX2c2f6WcuEiG2M+Vs3JC99vb3x67vYX+8z48nfQv+SzPNdZeuHjT+r78+xN/FSVXoHt9qWZuer4HOYY3dPo676pREhJ6umjAAOw1r6vhyYMg+l2GEwQ/VC0iZJshS/GbYfHxXCxIU9HtQibXM/NgQ1XdUC0rMMimjT672qZLQlos8aLlFVHxDw3OLPIrP2hASjl8s9Sb9Lov6MpfhnVFhFS49CVwSj+hXIPfotUyg+uzBKRfyj66w0j/wl4kn9NXHXjmiAPVfVvTsN5FUceLfYyTGUwirV1wP8Tu1Ww/q/NB6f8COdSU8JudhfhKC9XDVNYh8V+HosrsVwT1lQreXff7dY5xnr+OfWBpAC21l5vv6zmucEoXgBkMy62w6B1bw3exN3iwMkSrZiXz4LgtO53MrzcNGLWc7ZTkxMEwDPmaQPRiaiQ3lq+brOOn7l5t7EaFQ7CxKja64W/togCcZbcKU33NVXptmIX/XaxvKjaa1NJnNBztRiAOOmiXpruYy6G1FLRcRR3K7lRzMTfCl+MB8M4KToe+HyGo2Cste9FTD6jMqlHUbyWkvbUM11PzMdun0L/bBSTqX1vRKez1JsUJXRZ6Xzg85mT86ZbG8F4LlgN4yIhq7J5HMUXi5qc2Qn+Ihv1B6M4RullQlfwkTmhuvUV+iafWMeHwSieMj/Z/cVEMjN2J5zVVNWcGk05/sAr9WGKn9QGX7/HswfMU9m625A5ci3XpAtFX2jSxdPH4E0cuWVtlvI4D/n+kkGnlLrw97ilbp4duvnvxtOval/lMutd4efetxd3ktmMg45XPgp1fN7pzcC7s5RvXGmWT/BJPsCVm9+Oo7jrebZvxER1IBFz2PGr9yH3UrbYXDthkFismzRLckpSuWgLvbteOz1xMkAdrxqI0NWRlVq8/fLT83rpAbAZQYX8/CB1VyV4HMXVe7VwbjOCup8oR19sBBVN2hAL+dJUnTziLDOVF6vODU8VbZbfDBdLmKV8Y7zG/68+fxm8qv+3Vc1486eKkqTQ7fi8Q+SD49Y7G8VtF/2K5T59p+ln4/POzQSi/FPFftn2/6UPmGfD+LD5FFIDyB8jsw6HRRYQ2Dcpr63PV7dkAUQ5aovcSgQBBqN4HSpL1DQlQZjiyC2U7tJ8qSQWe1BXT3cmCPMsn0djdynRVU04n804WCUT3OkR/T8iqiQYxqsSuxdB105HcR+1PTHmKcofgEcUz2nKFOFn4EdVe01mJ1vhi/F9xvk3IzLAsBWE17kAAAAASUVORK5CYII=",wq="/assets/26-BsA4Ghua.png",O0t={class:"history-sidebar"},M0t={class:"history-header"},P0t=["src"],N0t={class:"history-list"},R0t={key:0,class:"history-loading"},B0t=["onClick"],L0t={class:"history-content"},F0t={class:"history-title"},U0t={class:"history-time"},z0t=["onClick"],$0t={key:2,class:"empty-history"},j0t=["src"],H0t={class:"chat-header"},W0t={key:0,class:"question-title-card"},V0t={key:1,class:"default-title"},q0t={class:"chat-content"},G0t={key:0,class:"initial-content"},K0t={class:"ai-intro"},Y0t={class:"ai-avatar"},Q0t=["src"],Z0t={class:"function-cards"},X0t=["onClick"],J0t={class:"card-header"},egt={class:"card-icon"},tgt=["src","alt"],ngt={class:"card-description"},rgt={class:"card-header"},ogt={class:"card-icon"},igt=["src"],agt={class:"card-header"},sgt={class:"card-icon"},lgt=["src"],ugt={class:"card-header"},cgt={class:"card-icon"},dgt=["src"],fgt={class:"card-header"},pgt={class:"card-icon"},hgt=["src"],ggt={key:1,class:"chat-messages"},vgt={key:0,class:"user-message"},mgt={class:"message-content"},ygt={key:0,class:"message-file"},bgt={class:"file-display"},wgt={class:"file-icon"},Agt=["src"],Cgt={key:1},xgt={class:"file-details"},Sgt={class:"file-name"},Egt={class:"file-size"},kgt={key:1,class:"message-text"},Tgt={class:"message-actions"},_gt=["onClick"],Dgt=["src"],Igt=["onClick"],Ogt=["src"],Mgt={key:1,class:"ai-message"},Pgt={key:0,class:"web-search-capsule-outer"},Ngt={class:"ai-message-main"},Rgt={class:"ai-avatar-small"},Bgt=["src"],Lgt=["data-message-index"],Fgt={class:"ai-response-content"},Ugt=["data-message-index"],zgt={class:"stats-left"},$gt=["innerHTML"],jgt={key:0,class:"progress-capsule-inline"},Hgt={class:"progress-bar-mini"},Wgt={class:"progress-percentage"},Vgt={key:1,class:"stats-right"},qgt={key:1,class:"question-summary"},Ggt={key:2,class:"report-loading"},Kgt={key:3,class:"reports-list"},Ygt={key:0,class:"report-loading"},Qgt={key:4},Zgt={key:5,class:"ai-text"},Xgt={key:0,class:"ai-markdown-content"},Jgt=["innerHTML"],evt={class:"divider"},tvt={class:"message-actions"},nvt={class:"left-actions"},rvt=["onClick"],ovt=["src"],ivt=["onClick","disabled"],avt=["src"],svt=["onClick"],lvt=["onClick"],uvt=["src"],cvt={class:"right-actions"},dvt=["onClick","title"],fvt=["src"],pvt=["onClick","title"],hvt=["src"],gvt={class:"search-sources"},vvt=["onClick"],mvt={class:"search-sources-content"},yvt={class:"sources-section"},bvt={class:"sources-grid"},wvt=["onClick"],Avt={class:"source-title"},Cvt={class:"source-description"},xvt={class:"source-badge"},Svt={class:"related-questions-loading"},Evt={class:"related-questions"},kvt=["onClick"],Tvt={key:0,class:"recommended-questions"},_vt=["onClick"],Dvt=["src"],Ivt=["src"],Ovt=["src"],Mvt=["src"],Pvt={class:"recommend-list"},Nvt=["onClick"],Rvt={class:"chat-input-section"},Bvt={class:"input-container"},Lvt={key:0,class:"file-preview-section"},Fvt={class:"file-preview"},Uvt={class:"file-icon"},zvt=["src"],$vt={key:1},jvt={class:"file-info"},Hvt={class:"file-name"},Wvt={class:"file-size"},Vvt={class:"input-box"},qvt=["title","disabled"],Gvt={class:"icon-container"},Kvt=["src"],Yvt=["disabled"],Qvt={class:"icon-container"},Zvt=["src"],Xvt=["disabled"],Jvt=["disabled"],emt={class:"icon-container"},tmt=["src"],nmt={key:0,class:"recording-indicator"},rmt=["disabled"],omt={key:0,class:"stop-text"},imt=["src"],amt={__name:"Chat",setup(e){const t=j_(),n=Yl(),r=K(""),o=K(null),i=K(!1),a=K(!1),s=K({}),l=K("");let u=null;const d=K(new Map),c=K(!1),f=K(null),p=K(""),v=K([]),h=K([]),g=K([]),y=K({}),m=K({}),b=K(null),w=K(""),A=K("success"),S=K(2e3),{isListening:E,transcript:D,error:_,startListening:M,stopListening:O}=O0(),k=K(null),R=()=>{k.value&&(zo(),k.value=null)},N=()=>{document.hidden&&k.value&&(zo(),k.value=null)},W=K(null),B=K(null),z=K(!1);K("");const j=K([]),q=K(!1),Y=K(null),U=K([]),F=K(!1),H=K(null),re=K(!0),X=K(!0),te=K({});K(!1),K(new Set);const Z=K({}),le=K({}),ve=K(!1),Pe=K({results:[],keywords:[],total:0}),Ae=Wr({maxSize:20*1024*1024,allowedTypes:[".docx"]}),he=K(!1),Ee=K(""),Q=K(""),me=ee(()=>g.value.some(ae=>ae.type==="ai"&&ae.isTyping)||!re.value),De=ee(()=>l.value?l.value.substring(0,20)+(l.value.length>20?"...":""):"AI问题分析报告");ee(()=>g.value.some(ae=>ae.type==="ai"&&ae.isTyping&&(!ae.content||ae.content.trim()===""))),ee(()=>g.value.some(ae=>ae.type==="ai"&&ae.isTyping&&ae.content&&ae.content.trim()!==""));const pe=ee(()=>p.value==="history"?`确定要删除历史记录"${f.value?.item?.title||""}"吗?删除后将无法恢复。`:p.value==="message"?"确定要删除这条消息吗?删除后将无法恢复。":"确定要删除吗?删除后将无法恢复。"),ie=ee(()=>p.value==="history"?"删除历史记录":p.value==="message"?"删除消息":"删除确认"),ue=ae=>{if(!ae)return ae;try{if(ae.includes("%")&&(ae=decodeURIComponent(ae)),ae.includes("\\u")&&(ae=ae.replace(/\\u[\dA-F]{4}/gi,ce=>String.fromCharCode(parseInt(ce.replace(/\\u/g,""),16)))),ae.includes("&")){const ce=document.createElement("textarea");ce.innerHTML=ae,ae=ce.value}return Bt(ae)}catch(ce){return console.warn("文本处理失败:",ce),ae}},Be=new Map,Me=new Map,Fe=(ae,ce,Ce,zt=50)=>new Promise(_t=>{const mn=`${ae.file_index}_${ce}`;Me.has(mn)&&(clearInterval(Me.get(mn)),Me.delete(mn)),ae._typewriterStates||(ae._typewriterStates={});let wn=0;ae._typewriterStates[ce]={currentIndex:0,isTyping:!0};const Pn=setInterval(()=>{if(wn{Be.forEach((ae,ce)=>{clearInterval(ae)}),Be.clear(),Me.forEach((ae,ce)=>{clearInterval(ae)}),Me.clear()},Ne=(ae,ce)=>{if(!ce)return Re(ae);const Ce=` 📄 文件信息: 文件名:${ce.name} 文件大小:${xa(ce.size)} 文件类型:${ce.type} 📝 文件内容: ${ce.content} --- `;return ae.replace(/.*?<\/word>/gs,Ce).replace(/.*?<\/filename>/g,"").replace(/.*?<\/filesize>/g,"")},Re=ae=>{const ce=ae.match(/(.*?)<\/filename>/),Ce=ce?ce[1]:"未知文件",zt=ae.match(/(.*?)<\/filesize>/),_t=zt?parseInt(zt[1]):0,mn=ae.match(/(.*?)<\/word>/s),wn=mn?mn[1].trim():"无内容",Pn=` 📄 文件信息: 文件名:${Ce} 文件大小:${xa(_t)} 文件类型:${Ce.endsWith(".docx")?".docx":Ce.endsWith(".doc")?".doc":"未知"} 📝 文件内容: ${wn} --- `;return ae.replace(/.*?<\/word>/gs,Pn).replace(/.*?<\/filename>/g,"").replace(/.*?<\/filesize>/g,"")},gt=ae=>{try{let ce=Mg(ae);return ce=Lt(ce),Yt(()=>{ur()}),ce}catch(ce){return console.error("Markdown渲染失败:",ce),ae.replace(/\n/g,"
    ")}},Bt=ae=>{if(!ae)return ae;let ce=ae;const Ce={"\\alpha":"α","\\beta":"β","\\gamma":"γ","\\delta":"δ","\\epsilon":"ε","\\varepsilon":"ε","\\zeta":"ζ","\\eta":"η","\\theta":"θ","\\iota":"ι","\\kappa":"κ","\\lambda":"λ","\\mu":"μ","\\nu":"ν","\\xi":"ξ","\\pi":"π","\\rho":"ρ","\\sigma":"σ","\\tau":"τ","\\upsilon":"υ","\\phi":"φ","\\chi":"χ","\\psi":"ψ","\\omega":"ω","\\Gamma":"Γ","\\Delta":"Δ","\\Theta":"Θ","\\Lambda":"Λ","\\Xi":"Ξ","\\Pi":"Π","\\Sigma":"Σ","\\Upsilon":"Υ","\\Phi":"Φ","\\Psi":"Ψ","\\Omega":"Ω"};for(const[zt,_t]of Object.entries(Ce)){const mn=new RegExp(zt.replace(/\\/g,"\\\\"),"g");ce=ce.replace(mn,_t)}return ce=ce.replace(/\\frac\{([^}]+)\}\{([^}]+)\}/g,"$1/$2"),ce=ce.replace(/\\sqrt\{([^}]+)\}/g,"√$1"),ce=ce.replace(/\\int/g,"∫"),ce=ce.replace(/\\sum/g,"∑"),ce=ce.replace(/\\prod/g,"∏"),ce=ce.replace(/\\partial/g,"∂"),ce=ce.replace(/\\nabla/g,"∇"),ce=ce.replace(/\\infty/g,"∞"),ce=ce.replace(/\\pm/g,"±"),ce=ce.replace(/\\times/g,"×"),ce=ce.replace(/\\div/g,"÷"),ce=ce.replace(/\\leq/g,"≤"),ce=ce.replace(/\\geq/g,"≥"),ce=ce.replace(/\\neq/g,"≠"),ce=ce.replace(/\\approx/g,"≈"),ce=ce.replace(/\\equiv/g,"≡"),ce=ce.replace(/\\propto/g,"∝"),ce=ce.replace(/\\in/g,"∈"),ce=ce.replace(/\\notin/g,"∉"),ce=ce.replace(/\\subset/g,"⊂"),ce=ce.replace(/\\supset/g,"⊃"),ce=ce.replace(/\\cup/g,"∪"),ce=ce.replace(/\\cap/g,"∩"),ce=ce.replace(/\\emptyset/g,"∅"),ce=ce.replace(/\\land/g,"∧"),ce=ce.replace(/\\lor/g,"∨"),ce=ce.replace(/\\neg/g,"¬"),ce=ce.replace(/\\rightarrow/g,"→"),ce=ce.replace(/\\leftarrow/g,"←"),ce=ce.replace(/\\leftrightarrow/g,"↔"),ce=ce.replace(/\\forall/g,"∀"),ce=ce.replace(/\\exists/g,"∃"),ce},Lt=ae=>{if(!ae)return ae;const ce="background-color: #EAEAEE; color: #616161; font-size: 0.75rem; padding: 3px 8px; border-radius: 6px; cursor: pointer; display: inline-block; margin: 4px 2px; border: 1px solid #EAEAEE; font-weight: 500; transition: all 0.2s ease; line-height: 1.4; max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;";return ae.replace(/(.*?)<\/file>/g,(Ce,zt)=>/^${zt}`:`${zt}`)},an=K([]),Kt=K(0),Ht=K(!1),pt=async()=>{try{Ht.value=!0;const ae=await zn.getHistoryRecord({ai_conversation_id:0,business_type:0});ae.statusCode===200?(Kt.value=ae.total||0,an.value=ae.data.map(ce=>({id:ce.id,title:ce.title||dt(ce.content),time:it(ce.updated_at),businessType:ce.business_type,isActive:!1,rawData:ce}))):console.error("获取历史记录失败:",ae.statusCode)}catch(ae){console.error("获取历史记录失败:",ae)}finally{Ht.value=!1}},Dt=async ae=>{try{const ce=await zn.getHistoryRecord({ai_conversation_id:ae,business_type:0});if(ce.statusCode===200){if(!ce.data||!Array.isArray(ce.data))return console.error("响应数据格式错误"),!1;const Ce=await Promise.all(ce.data.map(async(_t,mn)=>{const wn=de(_t.user_feedback);let Pn=null,Cr=_t.content,Ir=null;if(_t.type==="ai"&&mn>0){const uo=ce.data[mn-1];if(uo&&uo.type==="user")if(uo.content.includes("
    ")){const Bo=uo.content.split("
    ")[1];Ir=Bo?Bo.trim():uo.content}else Ir=uo.content}if(_t.type==="user"&&_t.content.includes("
    ")){const uo=_t.content.match(/(.*?)<\/filename>/),Bo=_t.content.match(/(.*?)<\/filesize>/),Al=_t.content.match(/(.*?)<\/word>/s);if(uo&&Bo){const Xs=uo[1],_m=parseInt(Bo[1]),b2=Al?Al[1].trim():"";Pn={name:Xs,size:_m,type:Xs.endsWith(".docx")?".docx":Xs.endsWith(".doc")?".doc":".docx",icon:Dr(Xs.endsWith(".docx")?".docx":Xs.endsWith(".doc")?".doc":".docx"),content:b2};const q0=_t.content.split("")[1];Cr=q0?q0.trim():""}}let qo=Cr||"",Or=[],po=_t.summary||"";if(_t.type==="ai")try{const uo=_t.content||"";if(uo.trim().startsWith("[")||uo.trim().startsWith("{"))try{const Bo=JSON.parse(uo);if(Bo.reports&&Array.isArray(Bo.reports))Or=Bo.reports,Bo.webSearchRaw&&(_t.webSearchRaw=Bo.webSearchRaw),Bo.webSearchSummary&&(_t.webSearchSummary=Bo.webSearchSummary,_t.hasWebSearchResults=Bo.hasWebSearchResults||!1),Bo.summary&&(po=Bo.summary);else if(Array.isArray(Bo))Or=Bo;else throw new Error("Not an array or valid format")}catch{let Al=uo.replace(/\\n/g,` `).replace(/\\t/g," ").replace(/\\r/g,"\r");qo=gt(Al)}else{let Bo=uo.replace(/\\n/g,` `).replace(/\\t/g," ").replace(/\\r/g,"\r");qo=gt(Bo)}}catch(uo){console.error("历史记录处理失败:",uo),qo=_t.content||""}let lo=0,Go=0,Pi=100;if(Or.length>0){const uo=Or.filter(Bo=>Bo.type!=="category_title");lo=uo.length,Go=uo.filter(Bo=>Bo.status==="completed").length,Pi=lo>0?Math.round(Go/lo*100):100}return{type:_t.type,content:Cr,displayContent:qo,reports:Or,summary:po,totalFiles:lo,completedCount:Go,progress:Pi,file:Pn,isTyping:!1,id:_t.id,userFeedback:wn,userQuestion:Ir,searchSources:_t.type==="ai"&&_t.search_source?ft(_t.search_source):null,rawData:_t,webSearchRaw:_t.webSearchRaw||null,webSearchSummary:_t.webSearchSummary||null,hasWebSearchResults:_t.hasWebSearchResults||!1,webSearchTotal:_t.webSearchRaw?.total||0,showStats:lo>0,currentStatus:"completed",statusMessage:lo>0?_t.webSearchRaw?.total>0?` 蜀道安全管理AI智能助手正在为您分析 ${lo} 个知识库文件,以及 ${_t.webSearchRaw.total} 个相关网络资源`:` 蜀道安全管理AI智能助手正在为您分析 ${lo} 个知识库文件`:""}}));g.value=Ce,Mt.value=ae;const zt=Ce.filter(_t=>_t.type==="ai").pop();return Ce.forEach((_t,mn)=>{if(_t.type==="ai"&&_t.rawData){if(_t.rawData.search_source)try{const wn=JSON.parse(_t.rawData.search_source);Array.isArray(wn)&&wn.length>0&&(te.value[_t.id]=wn)}catch(wn){console.error("解析搜索结果失败:",wn)}if(_t.reports&&_t.reports.length>0&&(s.value[mn]||(s.value[mn]={}),_t.reports.filter(Pn=>Pn.type==="category_title").map(Pn=>Pn.category).forEach(Pn=>{s.value[mn][Pn]=!0})),_t===zt&&_t.rawData.guess_you_want)try{const wn=_t.rawData.guess_you_want.trim().split(` `).map(Pn=>Pn.trim()).filter(Pn=>Pn.length>0).filter((Pn,Cr,Ir)=>Ir.indexOf(Pn)===Cr).slice(0,3);wn.length>0&&(U.value=wn,H.value=_t.id)}catch(wn){console.error("解析推荐问题失败:",wn)}}}),await Yt(),setTimeout(()=>ur(),100),!0}else return console.error("获取对话消息失败:",ce.statusCode),!1}catch(ce){return console.error("获取对话消息失败:",ce),!1}},dt=ae=>{if(!ae)return"未知对话";if(ae.includes("")){const zt=ae.split("")[1];if(zt&&zt.trim()){let mn=zt.replace(/\s+/g," ").trim().split(/[。!?\n]/)[0];if(mn.includes("基于您好")||mn.includes("蜀道安全管理AI智能助手")){const wn=mn.match(/问题描述[::](.+?)(?=分析结果|$)/);wn?mn=wn[1].trim():mn=mn.substring(0,20)}return mn.length>30?mn.substring(0,30)+"...":mn||"新对话"}}let ce=ae.replace(/<[^>]*>/g,"");ce=ce.replace(/\s+/g," ").trim();let Ce=ce.split(/[。!?\n]/)[0];if(Ce.includes("基于您好")||Ce.includes("蜀道安全管理AI智能助手")){const zt=Ce.match(/问题描述[::](.+?)(?=查询结果|$)/);zt?Ce=zt[1].trim():Ce=Ce.substring(0,20)}return Ce.length>30?Ce.substring(0,30)+"...":Ce||"新对话"},it=ae=>{if(!ae)return"未知时间";let ce;if(typeof ae=="string")ce=new Date(ae);else{let Cr=ae;(ae.toString().length===10||ae.toString().length===11)&&(Cr=ae*1e3),ce=new Date(Cr)}const Ce=new Date,zt=new Date(Ce.getFullYear(),Ce.getMonth(),Ce.getDate()),_t=new Date(zt.getTime()-1440*60*1e3);if(ce>=zt)return ce.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"});if(ce>=_t&&ce{switch(parseInt(ae)){case 2:return"like";case 3:return"dislike";default:return null}},tt=ae=>{switch(ae){case"like":return 2;case"dislike":return 3;default:return 0}},ft=ae=>{try{if(!ae||typeof ae!="string"||!ae.trim())return null;const ce=JSON.parse(ae);if(!Array.isArray(ce))return null;const Ce=ce.filter(zt=>zt&&typeof zt=="object"&&zt.title&&zt.content);return Ce.length>0?Ce:null}catch(ce){return console.error("解析搜索来源失败:",ce),null}},Mt=K(0);K(0);const Tn=()=>{g.value.length===0&&(an.value.forEach(ae=>ae.isActive=!1),Z.value={},le.value={},te.value={})},Nn=async()=>{!r.value.trim()||a.value||(va(),U.value=[],H.value=null,a.value=!0,i.value=!0,Tn(),await Un({question:r.value,windowSize:3,nResults:10}),r.value="",va(),B.value&&Po(),Mi())};let We=0,ke=0;const be=ae=>{const ce=[ok,ik,ak,sk],Ce=ce[We%ce.length];return We++,Ce},fe=ae=>{const ce=[lk,uk,ck],Ce=ce[ke%ce.length];return ke++,Ce},Se=(ae,ce)=>{s.value[ae]||(s.value[ae]={}),s.value[ae][ce.category]=ce.expanded},qe=(ae,ce)=>ce?s.value[ae]?s.value[ae][ce]!==!1:(s.value[ae]={},!0):!0,$e=ae=>!ae||ae.length===0?!1:ae.every(ce=>ce.type==="category_title"),Le=(ae,ce)=>{if(ce===100)return"completed";switch(ae){case"querying_kb":case"web_searching":return"searching";case"analyzing_files":case"analyzing_web":return"analyzing";case"deep_thinking":return"thinking";case"outputting":return"analyzing";case"completed":return"completed";case"error":return"error";default:return"idle"}},ot=(ae,ce,Ce=null)=>{const _t={querying_kb:{message:'🔍 蜀道安全管理AI智能助手正在为您分析知识库……',progress:10},web_searching:{message:'🌐 蜀道安全管理AI智能助手正在为您联网分析……',progress:15},data_retrieved:{message:null,progress:30},analyzing_files:{message:'😊 蜀道安全管理AI智能助手正在为您分析文件内容……',progress:45},analyzing_web:{message:'😉 蜀道安全管理AI智能助手正在分析联网数据……',progress:70},deep_thinking:{message:'🤔 蜀道安全管理AI智能助手正在深度思考中,请您稍等片刻……',progress:75},outputting:{message:'😄 蜀道安全管理AI智能助手正在整理分析中!',progress:90},completed:{message:null,progress:100}}[ce];if(_t){if(ae.currentStatus=ce,ce==="data_retrieved"){const mn=ae.totalFiles||0,wn=ae.webSearchTotal||0;wn>0?ae.statusMessage=`蜀道安全管理AI智能助手正在为您分析 ${mn} 个知识库文件,以及 ${wn} 个相关网络资源`:ae.statusMessage=`蜀道安全管理AI智能助手正在为您分析 ${mn} 个知识库文件`}else if(ce==="completed"){const mn=ae.totalFiles||0,wn=ae.webSearchTotal||0;wn>0?ae.statusMessage=`✅ 蜀道安全管理AI智能助手已为您检索到 ${mn} 个知识库文件,以及 ${wn} 个相关网络资源`:ae.statusMessage=`✅ 蜀道安全管理AI智能助手已为您检索到 ${mn} 个知识库文件`}else ae.statusMessage=Ce||_t.message;ae.progress=_t.progress}},vt=(ae,ce)=>{const Ce=g.value[ce];if(!Ce)return;console.log("🔍 SSE事件完整数据:",{type:ae.type,conversation_id:ae.conversation_id,message_id:ae.message_id,ai_conversation_id:ae.ai_conversation_id,ai_message_id:ae.ai_message_id,allKeys:Object.keys(ae)});const zt=ae.conversation_id||ae.ai_conversation_id;zt&&Mt.value===0&&(Mt.value=zt,console.log("✅ SSE收到conversation_id并赋值:",zt));const _t=ae.message_id||ae.ai_message_id;switch(_t&&(Ce.ai_message_id||(Ce.ai_message_id=_t,console.log("✅ SSE收到message_id并赋值:",_t),console.log(" - aiMessage.id (前端临时ID):",Ce.id),console.log(" - aiMessage.ai_message_id (后端ID):",Ce.ai_message_id),Ce.rawData||(Ce.rawData={}),Ce.rawData.id=_t,console.log(" - aiMessage.rawData.id:",Ce.rawData.id))),ae.type){case"intent":if(ot(Ce,"querying_kb"),ae.is_professional_question===!1){const Or=ae.summary||"抱歉,我暂时无法回答您的问题。";if(Ce.summary=Or,Ce.isTyping=!1,Ce.ai_message_id&&wd(Ce.ai_message_id,Or).catch(lo=>console.error("回写AI消息失败:",lo)),u&&(xh(u),u=null),a.value=!1,d.value.clear(),re.value=!0,Mt.value&&Mt.value!==0){an.value.forEach(uo=>{uo.isActive=!1});const lo=g.value.find(uo=>uo.type==="user"),Go=lo?lo.content.substring(0,20)+"...":"新对话",Pi=an.value.findIndex(uo=>uo.id===Mt.value);if(Pi===-1){const uo={id:Mt.value,title:Go,time:it(new Date().toISOString()),businessType:0,isActive:!0,rawData:{id:Mt.value,content:lo?.content||"",updated_at:new Date().toISOString()}};an.value.unshift(uo),console.log("✅ 非专业问题:已在列表最前面插入新历史记录")}else{const uo=an.value.splice(Pi,1)[0];uo.isActive=!0,uo.time=it(new Date().toISOString()),an.value.unshift(uo),console.log("✅ 非专业问题:已将历史记录移到最前面")}Kt.value=an.value.length}const po=g.value.filter(lo=>lo.type==="user").pop();po&&Ce.ai_message_id&&Or&&yi(po.content,Or,Ce.ai_message_id);return}if(ae.summary){const Or=ae.summary;Ce._fullSummary=Or,Ce.summary="",Fe({file_index:"summary",report:Ce,_typewriterStates:{}},"summary",Or,50).catch(po=>{console.error("问题总结打字机效果失败:",po),Ce.summary=Or})}break;case"documents":Ce.totalFiles=ae.total,Ce.completedCount=0,X.value?ot(Ce,"web_searching"):ot(Ce,"data_retrieved"),Yt(()=>{Ar()});break;case"category_title":Ce.reports.length===0&&Ce.progress>=30&&ot(Ce,"analyzing_files");const mn={type:"category_title",category:ae.category,number:ae.number,count:ae.count,source_file:`【${ae.number}、${ae.category}】(共${ae.count}个文件)`,file_index:-1,status:"category"};Ce.reports.push(mn),s.value[ce]||(s.value[ce]={}),s.value[ce][ae.category]=!0,Ce.currentCategory=ae.category;break;case"report_start":console.log("🔍 [DEBUG] report_start 数据:",{file_index:ae.file_index,source_file:ae.source_file,file_path:ae.file_path,metadata:ae.metadata,完整data:ae});const wn={file_index:ae.file_index,total_files:Ce.totalFiles,source_file:ae.source_file,file_path:ae.file_path,similarity:ae.similarity,metadata:{...ae.metadata,_displayCategory:Ce.currentCategory},report:{display_name:"",summary:"",analysis:"",clauses:""},status:"streaming"};Ce.reports.push(wn),d.value.set(ae.file_index,Ce.reports.length-1);break;case"report_chunk":break;case"report":Ce.reports.filter(Or=>Or.status==="completed").length===0&&ot(Ce,"deep_thinking");const Pn=ae.data||ae;console.log("🔍 [DEBUG] report 数据:",{file_index:Pn.file_index,source_file:Pn.source_file,file_path:Pn.file_path,metadata:Pn.metadata,完整reportData:Pn});const Cr=d.value.get(Pn.file_index);let Ir;if(Cr!==void 0){const Or=Ce.reports[Cr].metadata?._displayCategory,po=Pn.report?.summary||"",lo=Pn.report?.analysis||"",Go=Pn.report?.clauses||"",Pi=Pn.report?.display_name||"";Ce.reports[Cr]={...Pn,report:{display_name:Pi,summary:"",analysis:"",clauses:""},status:"completed",metadata:{...Pn.metadata,_displayCategory:Or||Ce.currentCategory},_fullContent:{display_name:Pi,summary:po,analysis:lo,clauses:Go}},Ir=Ce.reports[Cr],d.value.delete(Pn.file_index)}else{const Or=Pn.report?.summary||"",po=Pn.report?.analysis||"",lo=Pn.report?.clauses||"",Go=Pn.report?.display_name||"",Pi={...Pn,report:{display_name:Go,summary:"",analysis:"",clauses:""},status:"completed",metadata:{...Pn.metadata,_displayCategory:Ce.currentCategory},_fullContent:{display_name:Go,summary:Or,analysis:po,clauses:lo}};Ce.reports.push(Pi),Ir=Pi}Ir._fullContent&&!Ir._typewriterCompleted&&(Ir._typewriterStarted=!0,Fe(Ir,"summary",Ir._fullContent.summary||"",200).then(()=>Fe(Ir,"analysis",Ir._fullContent.analysis||"",200)).then(()=>{if(Ir._fullContent.clauses)return Fe(Ir,"clauses",Ir._fullContent.clauses||"",200)}).then(()=>{Ir._typewriterCompleted=!0}).catch(Or=>{console.error("报告打字机效果失败:",Or),Ir.report.summary=Ir._fullContent.summary||"",Ir.report.analysis=Ir._fullContent.analysis||"",Ir.report.clauses=Ir._fullContent.clauses||"",Ir._typewriterCompleted=!0}),console.log("📝 [DEBUG] 报告打字机已启动:",{file_index:Ir.file_index,summary_length:Ir._fullContent.summary?.length||0,analysis_length:Ir._fullContent.analysis?.length||0,clauses_length:Ir._fullContent.clauses?.length||0})),Ce.completedCount=Ce.reports.filter(Or=>Or.status==="completed"&&Or.type!=="category_title").length;const qo=Ce.totalFiles>0?Ce.completedCount/Ce.totalFiles:0;if(qo>=1)ot(Ce,"outputting");else if(qo>=.5)ot(Ce,"deep_thinking");else{const Or=30+Math.round(qo*30);Ce.progress=Or}break;case"web_search_raw":if(ae.results&&ae.results.length>0){Ce.webSearchRaw={results:ae.results||[],keywords:ae.keywords||[],total:ae.total||0},Ce.webSearchTotal=ae.total||0;const Or=`蜀道安全管理AI智能助手已为您检索到 ${Ce.totalFiles||0} 个知识库文件,以及 ${Ce.webSearchTotal} 个相关网络资源`;ot(Ce,"data_retrieved",Or),console.log(`[网络搜索] 收到原始数据: ${ae.total} 条结果`)}else{const Or=`蜀道安全管理AI智能助手已为您检索到 ${Ce.totalFiles||0} 个知识库文件`;ot(Ce,"data_retrieved",Or),console.log("[网络搜索] 无搜索结果,仅使用知识库")}break;case"web_search_summary":if(ae.has_results&&ae.summary){if(Ce._webSearchSummaryCompleted){console.log("[网络搜索] 总结已完成,跳过重复打字机");break}if(Ce._fullWebSearchSummary=ae.summary,Ce.webSearchSummary="",Ce.hasWebSearchResults=!0,Fe({file_index:"web_search_summary",report:Ce,_typewriterStates:{}},"webSearchSummary",ae.summary,200).then(()=>{Ce._webSearchSummaryCompleted=!0}).catch(po=>{console.error("网络搜索总结打字机效果失败:",po),Ce.webSearchSummary=ae.summary,Ce._webSearchSummaryCompleted=!0}),console.log("[网络搜索] 收到AI总结,长度:",ae.summary.length),ot(Ce,"outputting"),Ce.ai_message_id){const po={reports:Ce.reports||[],webSearchRaw:Ce.webSearchRaw||null,webSearchSummary:Ce._fullWebSearchSummary||ae.summary,hasWebSearchResults:!0,summary:Ce.summary||Ce._fullSummary||""},lo=JSON.stringify(po);Ce.summary||Ce._fullSummary,wd(Ce.ai_message_id,lo).then(Go=>{console.log("[网络搜索] AI消息保存成功,更新为完成状态"),ot(Ce,"completed"),Ce.isTyping=!1,a.value=!1,d.value.clear(),re.value=!0}).catch(Go=>{console.error("[网络搜索] AI消息保存失败:",Go),ot(Ce,"completed"),Ce.isTyping=!1,a.value=!1})}else ot(Ce,"completed"),Ce.isTyping=!1,a.value=!1}break;case"error":Et.error(ae.message),a.value=!1;break;case"completed":console.log("[SSE] 收到completed事件"),a.value=!1,d.value.clear(),Ce.isTyping=!1,Ce.progress<100&&ot(Ce,"completed"),Et.success("报告生成完成");break;case"interrupted":a.value=!1,d.value.clear(),Ce.isTyping=!1,Et.warning(ae.message||"报告生成已中断");break}},Ut=ae=>{console.error("❌ SSE连接异常断开:",ae),u&&(xh(u),u=null),a.value=!1,d.value.clear(),g.value.forEach(ce=>{ce.type==="ai"&&ce.isTyping&&(ce.isTyping=!1)}),re.value=!0,Et.error("连接已断开")},Qt=()=>{if(a.value=!1,g.value.forEach(Ce=>{if(Ce.type==="ai"&&Ce.isTyping&&(Ce.isTyping=!1,Ce.ai_message_id)){const zt={reports:Ce.reports||[],webSearchRaw:Ce.webSearchRaw||null,webSearchSummary:Ce._fullWebSearchSummary||Ce.webSearchSummary||null,hasWebSearchResults:Ce.hasWebSearchResults||!1,summary:Ce.summary||Ce._fullSummary||""},_t=Ce.reports&&Ce.reports.length>0?JSON.stringify(zt):Ce.content;_t&&(Ce.summary||Ce._fullSummary,wd(Ce.ai_message_id,_t).catch(mn=>console.error("回写AI消息失败:",mn)))}}),re.value=!0,console.log("📝 AI回复完成,准备更新历史记录"),console.log(" - ai_conversation_id:",Mt.value),Mt.value&&Mt.value!==0){console.log("✅ 开始更新历史记录列表"),an.value.forEach(mn=>{mn.isActive=!1});const Ce=g.value.find(mn=>mn.type==="user"),zt=Ce?Ce.content.substring(0,20)+"...":"新对话";console.log("📝 生成的标题:",zt);const _t=an.value.findIndex(mn=>mn.id===Mt.value);if(console.log("🔍 检查是否已存在,索引:",_t),_t===-1){const mn={id:Mt.value,title:zt,time:it(new Date().toISOString()),businessType:0,isActive:!0,rawData:{id:Mt.value,content:Ce?.content||"",updated_at:new Date().toISOString()}};console.log("📦 准备插入的新项:",mn),an.value.unshift(mn),console.log("✅ 已在列表最前面插入新历史记录并设为高亮"),console.log("📊 更新后的历史记录数量:",an.value.length)}else{console.log("🔄 历史记录已存在,将其移到最前面");const mn=an.value.splice(_t,1)[0];mn.isActive=!0,mn.time=it(new Date().toISOString()),an.value.unshift(mn),console.log("✅ 已将现有历史记录移到最前面并设为高亮")}Kt.value=an.value.length,console.log("📊 最终历史记录总数:",Kt.value)}else console.warn("⚠️ ai_conversation_id 为 0 或未设置,跳过历史记录更新");console.log("🎯 准备获取AI相关推荐问题");const ae=g.value.filter(Ce=>Ce.type==="user").pop(),ce=g.value.filter(Ce=>Ce.type==="ai").pop();if(ae&&ce&&ce.ai_message_id){console.log("📝 找到最后一条用户消息和AI消息"),console.log(" - 用户消息:",ae.content),console.log(" - AI消息ID:",ce.ai_message_id);let Ce="";ce.summary?Ce=ce.summary:ce.content?Ce=ce.content:ce.reports&&ce.reports.length>0&&(Ce=ce.reports.filter(_t=>_t.report&&_t.report.summary).map(_t=>_t.report.summary).slice(0,3).join(` `)),Ce&&Ce.trim()?(console.log("📝 AI回复内容长度:",Ce.length),yi(ae.content,Ce,ce.ai_message_id)):console.warn("⚠️ AI回复内容为空,跳过推荐问题获取")}else console.warn("⚠️ 未找到有效的用户消息或AI消息,跳过推荐问题获取")},Gt=ae=>{u&&(xh(u),u=null),a.value=!1,d.value.clear(),g.value.forEach(ce=>{if(ce.type==="ai"&&ce.isTyping&&(ce.isTyping=!1,ot(ce,"completed"),(ce.webSearchRaw||ce.webSearchSummary)&&console.log("✅ 保留已接收的网络搜索数据"),ce.ai_message_id)){const Ce={reports:ce.reports||[],webSearchRaw:ce.webSearchRaw||null,webSearchSummary:ce._fullWebSearchSummary||ce.webSearchSummary||null,hasWebSearchResults:ce.hasWebSearchResults||!1,summary:ce.summary||ce._fullSummary||""},zt=ce.reports&&ce.reports.length>0?JSON.stringify(Ce):ce.content;zt&&(ce.summary||ce._fullSummary,wd(ce.ai_message_id,zt).catch(_t=>console.error("回写AI消息失败:",_t)))}}),re.value=!0,Et.warning(ae.message||"报告生成已中断")},vn=async()=>{!u||Mt.value===void 0||Mt.value===null||(u&&(xh(u),u=null),a.value=!1,d.value.clear(),g.value.forEach(ae=>{if(ae.type==="ai"&&ae.isTyping&&(ae.isTyping=!1,ot(ae,"completed"),(ae.webSearchRaw||ae.webSearchSummary)&&console.log("✅ 停止时保留已接收的网络搜索数据"),ae.ai_message_id)){const ce={reports:ae.reports||[],webSearchRaw:ae.webSearchRaw||null,webSearchSummary:ae._fullWebSearchSummary||ae.webSearchSummary||null,hasWebSearchResults:ae.hasWebSearchResults||!1,summary:ae.summary||ae._fullSummary||""},Ce=ae.reports&&ae.reports.length>0?JSON.stringify(ce):ae.content;Ce&&(ae.summary||ae._fullSummary,wd(ae.ai_message_id,Ce).catch(zt=>console.error("回写AI消息失败:",zt)))}}),re.value=!0,Et.success("已停止生成"),Y4e(null,Mt.value).catch(ae=>console.warn("停止请求失败:",ae)))},Un=async ae=>{a.value=!0,l.value=ae.question,g.value.push({id:Date.now(),type:"user",content:ae.question,timestamp:new Date().toISOString()});const ce=g.value.length;g.value.push({id:Date.now()+1,type:"ai",userQuestion:ae.question,summary:"",totalFiles:0,webSearchTotal:0,progress:0,completedCount:0,reports:[],isTyping:!0,content:"",displayContent:"",timestamp:new Date().toISOString(),currentStatus:"querying_kb",statusMessage:'🔍 蜀道安全管理AI智能助手正在从知识库中学习相关信息……',showStats:!0,ai_message_id:null,rawData:null,userFeedback:null}),Yt(()=>{setTimeout(()=>{Ar()},100)});try{const Ce=new URLSearchParams({user_question:ae.question,window_size:ae.windowSize,n_results:10,ai_conversation_id:Mt.value,is_network_search_enabled:X.value}),_t=`${$V()}/report/complete-flow?${Ce.toString()}`;u=fAe(_t,{onMessage:mn=>vt(mn,ce),onError:Ut,onComplete:Qt,onInterrupted:Gt})}catch(Ce){console.error("启动失败:",Ce),Et.error(`启动失败: ${Ce.message}`),a.value=!1}},wr=ae=>{ze(),g.value=[],Mt.value=0,i.value=!0,Un({question:`请详细介绍${ae}的相关内容`,windowSize:3,nResults:10})},fr=ae=>{ze(),g.value=[],Mt.value=0,i.value=!0,Un({question:ae,windowSize:3,nResults:10})},Nt=ae=>{va(),Un({question:ae,windowSize:3,nResults:10})},_n=async ae=>{if(a.value)return;k.value&&(zo(),k.value=null),ze(),Z.value={},le.value={},te.value={},re.value=!0,o.value=ae,l.value=ae.title,an.value.forEach(Ce=>{Ce.isActive=Ce.id===ae.id}),i.value=!0;const ce={type:"ai",content:"正在加载历史对话...",displayContent:"正在加载历史对话...",isTyping:!0,id:Date.now()+1,userFeedback:null};g.value=[ce];try{await Dt(ae.id)?(g.value=g.value.filter(zt=>zt.id!==ce.id),await Yt(),Mi(),U.value.length>0&&setTimeout(()=>Mi(),200)):(g.value=[{type:"ai",content:"抱歉,加载历史对话失败,请稍后重试。",displayContent:"抱歉,加载历史对话失败,请稍后重试。",isTyping:!1,id:Date.now()+1,userFeedback:null}],await Yt(),Mi())}catch(Ce){console.error("加载历史对话失败:",Ce),g.value=[{type:"ai",content:"抱歉,加载历史对话时发生错误,请稍后重试。",displayContent:"抱歉,加载历史对话时发生错误,请稍后重试。",isTyping:!1,id:Date.now()+1,userFeedback:null}],await Yt(),Mi()}},xt=(ae,ce)=>{f.value={item:ae,index:ce},p.value="history",c.value=!0},Ft=async()=>{f.value&&(p.value==="history"?await Sn():p.value==="message"&&await Bn())},Sn=async()=>{const{item:ae,index:ce}=f.value;try{const Ce=await zn.deleteHistoryRecord({ai_conversation_id:ae.id});Ce.statusCode===200?(an.value.splice(ce,1),Kt.value=an.value.length,ae.isActive&&await kn(),Et.success("删除成功")):Et.error(Ce.msg||"删除失败")}catch(Ce){console.error("删除失败:",Ce),Et.error("删除失败,请稍后重试")}finally{c.value=!1,f.value=null,p.value=""}},Bn=async()=>{const{messageIndex:ae}=f.value;try{const ce=g.value[ae],Ce=ce.ai_message_id||ce.rawData&&ce.rawData.id;ce&&Ce?(await zn.deleteConversation({ai_message_id:Ce})).statusCode===200?(g.value.splice(ae,1),ae>0&&g.value.splice(ae-1,1),Et.success("删除成功")):Et.error("删除失败,请稍后重试"):(g.value.splice(ae,1),Et.success("删除成功"))}catch(ce){console.error("删除失败:",ce),Et.error("删除失败,请稍后重试")}finally{c.value=!1,f.value=null,p.value=""}},Fr=()=>{c.value=!1,f.value=null,p.value=""},kn=async()=>{a.value||(k.value&&(zo(),k.value=null),ze(),Mt.value=0,g.value=[],r.value="",l.value="",B.value=null,i.value=!1,U.value=[],H.value=null,te.value={},le.value={},Z.value={},an.value.forEach(ae=>ae.isActive=!1),await pt())},Ye=()=>{E.value?tn():At()},At=()=>{M()||Et.error("语音识别启动失败,请检查麦克风权限")},tn=()=>{O(),D.value.trim()&&(r.value=D.value)},Ct=K(null),Xt=K([]),yn=K(!1),Ln=()=>window.location.origin+"/tts/voice",Zn=async()=>{const ae=Ln();try{const ce=new AbortController,Ce=setTimeout(()=>ce.abort(),8e3),zt={"Content-Type":"application/json"},_t=Xf(),mn=Iv();if(_t&&mn){const Pn=mn.charAt(0).toUpperCase()+mn.slice(1).toLowerCase();zt.Authorization=`${Pn} ${_t}`}const wn=await fetch(ae,{method:"POST",headers:zt,body:JSON.stringify({text:"测试"}),signal:ce.signal});return clearTimeout(Ce),wn.ok?(await wn.blob(),{success:!0,message:"TTS服务连接正常"}):{success:!1,message:`TTS服务响应错误: ${wn.status}`}}catch(ce){let Ce="TTS服务连接失败";return ce.name==="AbortError"?Ce="TTS服务连接超时":ce.message.includes("Failed to fetch")&&(Ce="无法连接到TTS服务"),{success:!1,message:Ce}}},jr=async(ae,ce=0)=>{const Ce=Ln(),zt=2;try{const _t=new AbortController,mn=setTimeout(()=>_t.abort(),15e3),wn={"Content-Type":"application/json"},Pn=Xf(),Cr=Iv();if(Pn&&Cr){const Or=Cr.charAt(0).toUpperCase()+Cr.slice(1).toLowerCase();wn.Authorization=`${Or} ${Pn}`}const Ir=await fetch(Ce,{method:"POST",headers:wn,body:JSON.stringify({text:ae}),signal:_t.signal});if(clearTimeout(mn),!Ir.ok)throw new Error(`TTS接口调用失败: ${Ir.status}`);const qo=await Ir.blob();if(qo.size===0)throw new Error("TTS接口返回的音频数据为空");return URL.createObjectURL(qo)}catch(_t){if(cesetTimeout(Pn,(ce+1)*1e3)),jr(ae,ce+1);let mn="语音合成失败";_t.name==="AbortError"?mn="语音合成请求超时":_t.message.includes("Failed to fetch")?mn="无法连接到语音合成服务":_t.message.includes("TTS接口调用失败")&&(mn=_t.message);const wn=new Error(mn);throw wn.originalError=_t,wn}},yo=ae=>{if(!ae)return"";let ce=ae.replace(/<[^>]*>/g,"");return ce=ce.replace(/\s+/g," ").trim(),ce=ce.replace(/[^\u4e00-\u9fa5a-zA-Z0-9\s,。!?、;:""''()【】《》]/g,""),ce},Kr=ae=>{if(ae.length<=60)return[ae];const ce=[];let Ce="",zt=!0;const _t=ae.split(/[。!?]/);for(const mn of _t){if(mn.trim().length===0)continue;const wn=mn+(mn.match(/[。!?]$/)?"":"。"),Pn=zt?60:200;if(Ce.length+wn.length<=Pn)Ce+=wn;else if(Ce.length>0)ce.push(Ce.trim()),Ce=wn,zt=!1;else{const Cr=zt?60:200;ce.push(wn.substring(0,Cr)),Ce=wn.substring(Cr),zt=!1}}return Ce.trim().length>0&&ce.push(Ce.trim()),ce},xo=ae=>new Promise((ce,Ce)=>{const zt=new Audio(ae);Ct.value=zt,zt.onended=()=>{Ct.value=null,ce()},zt.onerror=_t=>{Ct.value=null,Ce(_t)},zt.play().catch(_t=>{Ct.value=null,Ce(_t)})}),zo=()=>{try{Ct.value&&(Ct.value.pause(),Ct.value.currentTime=0,Ct.value=null),Xt.value=[],yn.value=!1,window.speechSynthesis&&window.speechSynthesis.cancel()}catch(ae){console.warn("停止音频播放失败:",ae)}},Sr=async(ae,ce)=>{if(k.value===ce)try{const Ce=await jr(ae[0]);if(k.value!==ce){URL.revokeObjectURL(Ce);return}const _t=ae.slice(1).map(async(wn,Pn)=>{try{const Cr=await jr(wn);return{index:Pn+1,audioUrl:Cr}}catch{return{index:Pn+1,audioUrl:null}}});if(await xo(Ce),URL.revokeObjectURL(Ce),k.value!==ce){(await Promise.allSettled(_t)).forEach(Pn=>{Pn.status==="fulfilled"&&Pn.value.audioUrl&&URL.revokeObjectURL(Pn.value.audioUrl)});return}const mn=await Promise.allSettled(_t);if(k.value!==ce){mn.forEach(wn=>{wn.status==="fulfilled"&&wn.value.audioUrl&&URL.revokeObjectURL(wn.value.audioUrl)});return}yn.value=!0;for(const wn of mn){if(k.value!==ce)break;if(wn.status==="fulfilled"&&wn.value.audioUrl)try{await xo(wn.value.audioUrl),URL.revokeObjectURL(wn.value.audioUrl)}catch(Pn){console.error("音频播放失败:",Pn)}}yn.value=!1}catch(Ce){console.error("音频队列播放失败:",Ce),yn.value=!1}},Yr=async ae=>{if(k.value===ae.id)zo(),k.value=null;else{k.value&&(zo(),k.value=null);const ce=ae.displayContent||ae.content;if(ce&&ce.trim())try{const Ce=yo(ce);if(Ce.length===0){Et.warning("文本内容为空,无法进行语音合成");return}if(k.value=ae.id,Ce.length<=60){const zt=await jr(Ce);await xo(zt),URL.revokeObjectURL(zt)}else{const zt=Kr(Ce);await Sr(zt,ae.id)}}catch(Ce){console.error("语音合成失败:",Ce),Et.error("语音合成失败,请稍后重试")}finally{k.value=null,yn.value=!1}}},vo=ae=>k.value===ae,Rr=ae=>{if(console.log("点击删除按钮,消息索引:",ae),g.value.length===2){Et.warning("第一句话无法删除");return}p.value="message",f.value={messageIndex:ae},c.value=!0},Ur=()=>{if(r.value.length>2e3&&(r.value=r.value.substring(0,2e3),Et.warning("消息长度不能超过2000字")),Y.value&&clearTimeout(Y.value),!r.value.trim()){j.value=[];return}Y.value=setTimeout(()=>{Si(r.value)},100)},Hr=()=>{if(B.value){Et.warning("只能上传一个文件,请先删除当前文件");return}W.value?.click()},to=async ae=>{try{if(ae.size===0)throw new Error("Word文件为空");if(!KE)throw new Error("Word文档解析库未正确加载");const ce=ae.name.toLowerCase().split(".").pop(),Ce=await ae.arrayBuffer();if(ce==="docx"){const _t=new Uint8Array(Ce.slice(0,2));if(_t[0]!==80||_t[1]!==75)throw new Error("文件不是有效的.docx格式,可能已损坏")}else if(ce==="doc")throw new Error("检测到.doc格式文件。请将文件另存为.docx格式后重新上传。");return(await zV.extractRawText({arrayBuffer:Ce})).value}catch(ce){throw console.error("Word文件读取失败:",ce),ce.message.includes("Can't find end of central directory")?new Error("文件格式错误:这不是一个有效的Word文档,或者文件已损坏。"):ce.message.includes("Invalid file format")?new Error("Word文件格式无效或已损坏"):ce}},pr=async ae=>{const ce=ae.target.files[0];if(ce)try{const Ce=sa(ce);if(!KE)throw new Error("Word文档解析库未正确加载,请刷新页面重试");z.value=!0;const zt=await to(ce);B.value={file:ce,name:ce.name,size:ce.size,type:Ce,icon:Dr(Ce),content:zt},Et.success(`文件读取成功,共提取 ${zt.length} 个字符`)}catch(Ce){console.error("文件读取失败:",Ce),Et.error(Ce.message||"文件读取失败,请重试")}finally{z.value=!1,ae.target.value=""}},Po=()=>{B.value&&(B.value=null)},ni=async()=>{try{console.log("开始获取功能卡片...");const ae=await zn.getFunctionCard({function_type:0});console.log("功能卡片响应:",ae),ae.statusCode===200?(v.value=ae.data,console.log("功能卡片数据已设置:",v.value)):console.error("获取功能卡片失败:",ae.statusCode)}catch(ae){console.error("获取功能卡片失败:",ae)}},Wi=async()=>{try{console.log("开始获取热点问题...");const ae=await zn.getHotQuestion({question_type:0});console.log("热点问题响应:",ae),ae.statusCode===200?(h.value=ae.data,console.log("热点问题数据已设置:",h.value)):console.error("获取热点问题失败:",ae.statusCode)}catch(ae){console.error("获取热点问题失败:",ae)}},va=()=>{j.value=[],Y.value&&(clearTimeout(Y.value),Y.value=null)},aa=ae=>{ae.target.closest(".user-recommend-questions")||va(),ve.value&&!ae.target.closest(".web-search-capsule-outer")&&!ae.target.closest(".web-search-sidebar")&&(ve.value=!1)},Ci=()=>{X.value=!X.value,Et[X.value?"success":"info"](X.value?"联网搜索已启用":"联网搜索已关闭")},xi=ae=>{Z.value[ae]=!Z.value[ae]},Oi=ae=>{if(!ae||typeof ae!="string"||!ae.trim()){Et.warning("链接地址无效");return}try{let ce=ae.trim();!ce.startsWith("http://")&&!ce.startsWith("https://")&&(ce="https://"+ce),window.open(ce,"_blank","noopener,noreferrer")}catch(ce){console.error("打开链接失败:",ce),Et.error("无法打开链接")}},mi=ae=>{U.value=[],H.value=null,r.value=ae,Nn()},Si=async ae=>{if(!ae||!ae.trim()||a.value||me.value){j.value=[];return}try{q.value=!0;const ce=await zn.getUserRecommendQuestion({user_message:ae.trim()});if(a.value||me.value){j.value=[];return}ce.statusCode===200&&ce.data&&ce.data.questions?j.value=ce.data.questions:j.value=[]}catch(ce){console.error("获取推荐问题失败:",ce),j.value=[]}finally{q.value=!1}},yi=async(ae,ce,Ce)=>{if(!ae||!ce||!Ce){console.log("参数不完整,跳过相关推荐问题获取");return}try{console.log("开始获取AI回复相关推荐问题"),console.log("用户问题:",ae),console.log("AI回复:",ce.substring(0,100)+"..."),console.log("消息ID:",Ce),F.value=!0;const zt=`基于以下对话内容,直接生成3条相关的推荐问题。 【对话内容】 用户问题:${ae} AI回复:${ce} 【生成要求】 - 直接输出3个问题,每个问题一行 - 问题要与原问题相关但有所延伸 - 问题要具体、实用,符合中文表达习惯 - 不要包含任何编号、标题、说明文字 - 不要重复上述指令内容`,_t=await zn.guessYouWant({message:zt,ai_message_id:Ce});if(console.log("AI相关推荐问题响应:",_t),_t.statusCode===200&&_t.data&&_t.data.reply){const wn=_t.data.reply.trim().split(` `).map(Pn=>Pn.trim()).filter(Pn=>Pn.length>0).filter(Pn=>!["请生成","推荐问题","相关问题","生成要求","对话内容","【","】","指令"].some(Ir=>Pn.includes(Ir))).filter(Pn=>!Pn.startsWith("-")&&!Pn.startsWith("•")&&!Pn.startsWith("*")).map(Pn=>Pn.replace(/^[0-9]+[\.\、]\s*/,"")).filter(Pn=>Pn.length>0).filter(Pn=>!Pn.includes(":")&&!Pn.includes(":")).filter((Pn,Cr,Ir)=>Ir.indexOf(Pn)===Cr).slice(0,3);wn.length>0?(U.value=wn,H.value=Ce,console.log("✅ AI相关推荐问题数据已设置:"),console.log(" - 推荐问题数量:",wn.length),console.log(" - 推荐问题内容:",wn),console.log(" - 关联消息ID:",Ce),await Yt(),console.log("✅ DOM已更新,推荐问题已显示")):(console.log("解析推荐问题失败,使用默认问题"),U.value=[],H.value=null)}else console.error("获取AI相关推荐问题失败:",_t.statusCode),U.value=[],H.value=null}catch(zt){console.error("获取AI相关推荐问题失败:",zt),U.value=[],H.value=null}finally{F.value=!1}},sa=ae=>{if(ae.size>Ae.maxSize)throw new Error("文件大小不能超过20MB");const ce="."+ae.name.split(".").pop().toLowerCase();if(!Ae.allowedTypes.includes(ce))throw new Error("只支持.docx格式的Word文档。如果是.doc格式,请先另存为.docx格式。");return ce},Dr=ae=>{switch(ae){case".doc":case".docx":return wq;default:return"📎"}},Mi=()=>{Yt(()=>{const ae=document.querySelector(".chat-content");ae&&(ae.scrollTop=ae.scrollHeight)})},xa=ae=>{if(ae===0)return"0 B";const ce=1024,Ce=["B","KB","MB","GB"],zt=Math.floor(Math.log(ae)/Math.log(ce));return parseFloat((ae/Math.pow(ce,zt)).toFixed(2))+" "+Ce[zt]},Qe=ae=>{console.log("编辑用户消息:",ae.content),r.value=ae.content,ae.file&&(B.value=ae.file,console.log("恢复文件信息:",ae.file.name));const ce=document.querySelector(".message-input");ce&&(ce.focus(),ce.setSelectionRange(ce.value.length,ce.value.length))},Ve=async ae=>{if(console.log("重新生成回复,消息索引:",ae),ae>0){const ce=g.value[ae-1];ce&&ce.type==="user"&&(console.log("重新发送用户消息:",ce.content),r.value=ce.content,ce.file&&(B.value=ce.file),await Nn())}},ne=async ae=>{try{await navigator.clipboard.writeText(ae),Et.success("复制成功")}catch{const Ce=document.createElement("textarea");Ce.value=ae,document.body.appendChild(Ce),Ce.select(),document.execCommand("copy"),document.body.removeChild(Ce),Et.success("复制成功")}},Oe=ae=>{ne(ae.content)},Ge=ae=>{let ce=ae.summary||ae.displayContent||ae.content;if(ce&&ce.includes("<")){const Ce=document.createElement("div");Ce.innerHTML=ce,ce=Ce.textContent||Ce.innerText||ce}!ce&&ae.reports&&ae.reports.length>0&&(ce=ae.reports.filter(Ce=>Ce.type!=="category_title").map(Ce=>Ce.report||"").join(` `)),ae.webSearchSummary&&(ce=ce?`${ce} 【网络搜索总结】 ${ae.webSearchSummary}`:ae.webSearchSummary),ce&&ce.trim()?ne(ce):Et.warning("暂无可复制的内容")},$t=async ae=>{console.log("点赞消息:",ae.id),ae.userFeedback==="like"?ae.userFeedback=null:ae.userFeedback="like",g.value=[...g.value],await ln(ae)},Ot=async ae=>{console.log("点踩消息:",ae.id),ae.userFeedback==="dislike"?ae.userFeedback=null:ae.userFeedback="dislike",g.value=[...g.value],await ln(ae)},ln=async ae=>{try{console.log("🔍 syncFeedbackToBackend 收到的message对象:",{id:ae.id,ai_message_id:ae.ai_message_id,rawData:ae.rawData,rawData_id:ae.rawData?.id});const ce=ae.ai_message_id||ae.rawData&&ae.rawData.id;if(!ce){console.warn("❌ 消息缺少ID,无法同步反馈"),console.warn(" - message.ai_message_id:",ae.ai_message_id),console.warn(" - message.rawData:",ae.rawData);return}const Ce=tt(ae.userFeedback);console.log("✅ 同步反馈到后端:",{messageId:ce,feedback:Ce});const zt=await zn.likeAndDislike({id:ce,user_feedback:Ce});zt.statusCode===200?(console.log("反馈同步成功"),Ce===2?Et.success("点赞成功"):Ce===3?Et.success("点踩成功"):Et.success("已取消反馈")):(console.error("反馈同步失败:",zt.msg),Et.error("反馈提交失败,请稍后重试"))}catch(ce){console.error("同步反馈失败:",ce),Et.error("反馈同步失败,请稍后重试")}},fn=async ae=>{!ae||!ae.trim()||(console.log("自动发送消息:",ae),i.value=!0,g.value.length===0&&(an.value.forEach(ce=>{ce.isActive=!1}),console.log("自动发送新对话,清除所有历史记录的选中状态"),Z.value={},le.value={},te.value={}),U.value=[],H.value=null,await Un({question:ae,windowSize:3,nResults:10}))},Cn=()=>{try{const ae=window.devicePixelRatio||1;if(document.documentElement.style.setProperty("--system-zoom",ae),ae!==1){const Ce=1/ae,zt=document.createElement("style");zt.id="bracket-zoom-compensation";const _t=document.getElementById("bracket-zoom-compensation");_t&&_t.remove(),document.head.appendChild(zt)}const ce=()=>{setTimeout(()=>{Cn()},100)};return window.addEventListener("resize",ce),()=>{window.removeEventListener("resize",ce);const Ce=document.getElementById("bracket-zoom-compensation");Ce&&Ce.remove()}}catch(ae){console.error("❌ 中括号缩放补偿初始化失败:",ae)}},sr=async ae=>{const ce=ae.target,Ce=ce.closest(".link-capsule");if(Ce){ae.preventDefault(),ae.stopPropagation();const _t=Ce.getAttribute("data-link")||Ce.getAttribute("href");_t&&_t!=="#"&&Kn(_t);return}if(!ce.classList.contains("standard-reference"))return;ae.preventDefault(),ae.stopPropagation();const zt=ce.getAttribute("data-standard")||ce.getAttribute("data-reference");if(zt)try{const _t=await zn.getFileLink({fileName:zt});_t.statusCode===200&&_t.data&&_t.data?window.open(_t.data,"_blank"):Et.warning("暂无文件")}catch(_t){console.error("获取文件失败:",_t),Et.error("获取文件失败,请稍后重试")}},Kn=ae=>{try{new URL(ae)}catch{Et.error("无效的链接地址");return}const ce=document.createElement("div");ce.style.cssText=` position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; `;const Ce=document.createElement("div");Ce.style.cssText=` width: 90%; height: 90%; background: white; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); `;const zt=document.createElement("div");zt.style.cssText=` padding: 16px 20px; background: #f5f5f5; border-bottom: 1px solid #e0e0e0; display: flex; align-items: center; justify-content: space-between; `;const _t=document.createElement("div");_t.style.cssText=` font-size: 14px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; margin-right: 16px; `,_t.textContent=ae;const mn=document.createElement("button");mn.textContent="✕",mn.style.cssText=` background: none; border: none; font-size: 24px; color: #666; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: all 0.2s; `,mn.onmouseover=()=>{mn.style.background="#e0e0e0"},mn.onmouseout=()=>{mn.style.background="none"},mn.onclick=()=>{document.body.removeChild(ce)};const wn=document.createElement("iframe");wn.src=ae,wn.style.cssText=` width: 100%; height: 100%; border: none; `,zt.appendChild(_t),zt.appendChild(mn),Ce.appendChild(zt),Ce.appendChild(wn),ce.appendChild(Ce),ce.onclick=Pn=>{Pn.target===ce&&document.body.removeChild(ce)},document.body.appendChild(ce)},Tr=ae=>{typeof ae=="string"?(Ee.value=ae,Q.value=""):(Ee.value=ae.filePath,Q.value=ae.fileName||""),he.value=!0},ar=ae=>{const ce=g.value[ae];ce&&ce.webSearchRaw&&(Pe.value=ce.webSearchRaw,ve.value=!ve.value)};St(D,ae=>{!ae||E.value||(r.value=ae)}),St(_,ae=>{ae&&(console.error("语音识别错误:",ae),Et.error(ae))}),St(ve,ae=>{console.log("🔍 网络搜索侧边栏状态变化:",ae),requestAnimationFrame(()=>{setTimeout(()=>{we()},350)})});const ur=()=>{document.querySelectorAll(".standard-reference").forEach(ce=>{ce.removeEventListener("click",sr),ce.addEventListener("click",sr)})};let Lr=null,yr=null;const Ar=()=>{console.log("📜 handleProgressCardScroll 被触发");const ae=document.querySelector(".chat-header"),ce=ae?ae.getBoundingClientRect().bottom:0;console.log("📐 headerBottom:",ce),console.log("📊 messageContentRefs 数量:",Object.keys(y.value).length),Object.keys(y.value).forEach(Ce=>{const zt=g.value[Ce];if(!zt||zt.type!=="ai"||!zt.showStats){console.log(`⏭️ 跳过消息 ${Ce}:`,{exists:!!zt,type:zt?.type,showStats:zt?.showStats});return}console.log(`✅ 处理消息 ${Ce}`);const _t=y.value[Ce];if(!_t){console.log(`❌ 消息 ${Ce} 没有找到 contentEl`);return}const mn=_t.querySelector(".files-stats-white");if(!mn){console.log(`❌ 消息 ${Ce} 没有找到 .files-stats-white`);return}console.log(`✅ 消息 ${Ce} 找到进度卡片`);const wn=mn.getBoundingClientRect(),Pn=_t.getBoundingClientRect();if(!m.value[Ce]){m.value[Ce]={initialLeft:wn.left,initialWidth:wn.width,isSticky:!1,offsetTop:wn.top-Pn.top,initialized:!1,isInitializing:!0,initStartTime:Date.now()},console.log(`[进度卡片] 开始初始化 - 消息${Ce}, left=${wn.left}, width=${wn.width}, offsetTop=${m.value[Ce].offsetTop}`),Yt(()=>{requestAnimationFrame(()=>{if(m.value[Ce]){const Or=_t.querySelector(".files-stats-white");if(Or){const Go=Or.getBoundingClientRect();m.value[Ce].initialLeft=Go.left,m.value[Ce].initialWidth=Go.width,console.log(`[进度卡片] 位置更新 - 消息${Ce}, left=${Go.left}, width=${Go.width}`)}const po=Date.now()-m.value[Ce].initStartTime,lo=Math.max(0,100-po);setTimeout(()=>{m.value[Ce]&&(m.value[Ce].initialized=!0,m.value[Ce].isInitializing=!1,console.log(`[进度卡片] 初始化完成 - 消息${Ce}`))},lo)}})});return}if(!m.value[Ce].initialized||m.value[Ce].isInitializing)return;const Cr=Date.now()-m.value[Ce].initStartTime;if(Cr<100){console.log(`⏱️ 消息 ${Ce} 初始化中,已过${Cr}ms,跳过吸附判断`);return}const Ir=Pn.top+m.value[Ce].offsetTop,qo=Ir<=ce&&Pn.bottom>ce+60;console.log(`📍 消息 ${Ce} 吸附判断:`,{naturalTop:Ir,headerBottom:ce,"naturalTop <= headerBottom":Ir<=ce,"contentRect.bottom":Pn.bottom,"headerBottom + 60":ce+60,shouldStick:qo,currentlySticky:m.value[Ce].isSticky}),m.value[Ce].isSticky!==qo&&(m.value[Ce].initialLeft=wn.left,m.value[Ce].initialWidth=wn.width),m.value[Ce].isSticky=qo,m.value[Ce].stickyTop=ce})},we=()=>{const ae=window.getComputedStyle(document.documentElement).fontSize;yr&&ae!==yr&&console.log("🔍 检测到flexible fontSize变化:",yr,"->",ae),yr=ae,Lr&&clearTimeout(Lr),Lr=setTimeout(()=>{console.log("🔍 检测到窗口大小变化,重新计算所有吸附卡片位置"),document.body.offsetHeight;const Ce={};Object.keys(m.value).forEach(zt=>{const _t=m.value[zt];_t&&_t.isSticky&&(Ce[zt]=!0,_t.isSticky=!1)}),Yt(()=>{document.body.offsetHeight,Object.keys(m.value).forEach(zt=>{const _t=m.value[zt];if(!_t)return;const mn=y.value[zt];if(!mn)return;const wn=mn.querySelector(".files-stats-white");if(!wn)return;const Pn=wn.getBoundingClientRect(),Cr=mn.getBoundingClientRect();_t.initialLeft=Pn.left,_t.initialWidth=Pn.width,_t.offsetTop=Pn.top-Cr.top,console.log(` - 更新消息${zt}的位置: left=${Pn.left}, width=${Pn.width}`)}),Object.keys(Ce).forEach(zt=>{m.value[zt]&&(m.value[zt].isSticky=!0)}),Yt(()=>{Ar()})})},100)};return qn(async()=>{try{console.log("🚀 AI问答页面初始化开始,优先加载历史记录..."),Ht.value=!0,window.addEventListener("error",zt=>{console.error("全局错误:",zt.error)}),window.addEventListener("unhandledrejection",zt=>{console.error("未处理的Promise拒绝:",zt.reason)}),document.removeEventListener("click",sr),document.addEventListener("click",sr);const ae=document.querySelector(".chat-content");ae?(console.log("✅ 找到 .chat-content 元素,添加滚动监听"),console.log("📦 .chat-content 样式:",{overflow:window.getComputedStyle(ae).overflow,overflowY:window.getComputedStyle(ae).overflowY,height:ae.offsetHeight,scrollHeight:ae.scrollHeight}),ae.addEventListener("scroll",()=>{console.log("🔄 滚动事件触发!scrollTop:",ae.scrollTop)},{once:!0}),ae.addEventListener("scroll",Ar)):console.error("❌ 未找到 .chat-content 元素"),yr=window.getComputedStyle(document.documentElement).fontSize,console.log("📐 初始fontSize:",yr),window.addEventListener("resize",we),window.addEventListener("beforeunload",R),window.addEventListener("unload",R),document.addEventListener("visibilitychange",N),Cn(),await pt(),console.log("✅ AI问答历史记录加载完成");try{const zt=await Zn();zt.success?console.log("✅ TTS服务连接正常"):console.warn("⚠️ TTS服务连接异常:",zt.message)}catch(zt){console.warn("⚠️ TTS服务连接测试失败:",zt)}const ce=Promise.all([ni(),Wi()]);try{await ce,console.log("✅ AI问答其他数据加载完成")}catch(zt){console.warn("⚠️ AI问答其他数据加载失败,但不影响主要功能:",zt)}console.log("🎉 AI问答页面初始化完成");const Ce=t.query.autoMessage;Ce&&(console.log("检测到自动发送消息:",Ce),n.replace({path:t.path,query:{...t.query,autoMessage:void 0}}),fn(Ce))}catch(ae){console.error("组件初始化失败:",ae)}}),Jr(()=>{k.value&&(zo(),k.value=null),ze(),document.removeEventListener("click",sr);const ae=document.querySelector(".chat-content");ae&&ae.removeEventListener("scroll",Ar),window.removeEventListener("resize",we),Lr&&(clearTimeout(Lr),Lr=null),window.removeEventListener("beforeunload",R),window.removeEventListener("unload",R),document.removeEventListener("visibilitychange",N)}),Db(async()=>{console.log("页面重新激活,检查并重新渲染markdown内容"),await Yt();for(const ae of g.value)if(ae.type==="ai"&&ae.content&&!ae.isTyping)try{console.log("重新渲染AI消息markdown:",ae.id);const ce=ue(ae.content),Ce=Ne(ce,ae.file),zt=gt(Ce);ae.displayContent=zt,setTimeout(()=>{ur()},100)}catch(ce){console.error("重新渲染markdown失败:",ce)}g.value=[...g.value],console.log("页面重新激活完成,markdown内容已重新渲染")}),(ae,ce)=>(L(),G("div",{class:"chat-container",onClick:aa},[He(Q5),x("div",O0t,[x("div",M0t,[ce[12]||(ce[12]=x("span",{class:"section-title"},"历史记录",-1)),x("img",{src:C(oC),alt:"新建任务",class:oe(["new-chat-btn",{disabled:a.value}]),onClick:kn,style:rn({cursor:a.value?"not-allowed":"pointer"})},null,14,P0t)]),x("div",N0t,[Ht.value?(L(),G("div",R0t,ce[13]||(ce[13]=[x("div",{class:"loading-spinner"},null,-1),x("div",{class:"loading-text"},"正在加载历史记录...",-1)]))):Kt.value>0?(L(!0),G(Rt,{key:1},un(an.value,(Ce,zt)=>(L(),G("div",{key:zt,class:oe(["history-item",{active:Ce.isActive}]),onClick:_t=>Ce.isActive||a.value?null:_n(Ce),style:rn({cursor:Ce.isActive?"default":a.value?"not-allowed":"pointer"})},[x("div",L0t,[x("div",F0t,je(Ce.title),1),x("div",U0t,je(Ce.time),1)]),x("div",{class:oe(["delete-btn",{"always-visible":Ce.isActive}]),onClick:en(_t=>xt(Ce,zt),["stop"])},ce[14]||(ce[14]=[x("img",{src:kc,alt:"删除",class:"delete-icon"},null,-1)]),10,z0t)],14,B0t))),128)):(L(),G("div",$0t,[x("img",{src:C(iC),alt:"暂无数据",class:"empty-icon"},null,8,j0t),ce[15]||(ce[15]=x("div",{class:"empty-text"},"暂无数据",-1))]))])]),x("div",{class:oe(["main-chat",{"sidebar-open":ve.value}])},[x("div",H0t,[l.value?(L(),G("div",W0t,[x("h2",null,je(l.value),1)])):(L(),G("h2",V0t,"AI问答"))]),x("div",q0t,[i.value?(L(),G("div",ggt,[(L(!0),G(Rt,null,un(g.value,(Ce,zt)=>(L(),G("div",{key:zt,class:oe(["message-item",Ce.type])},[Ce.type==="user"?(L(),G("div",vgt,[x("div",mgt,[Ce.file?(L(),G("div",ygt,[x("div",bgt,[x("div",wgt,[Ce.file.type===".doc"||Ce.file.type===".docx"?(L(),G("img",{key:0,src:Ce.file.icon,alt:"文档图标",class:"file-icon-img"},null,8,Agt)):(L(),G("span",Cgt,je(Ce.file.icon),1))]),x("div",xgt,[x("div",Sgt,je(Ce.file.name),1),x("div",Egt,je(xa(Ce.file.size)),1)])])])):xe("",!0),Ce.content?(L(),G("div",kgt,je(Ce.content),1)):xe("",!0)]),x("div",Tgt,[x("button",{class:"action-btn copy-btn",onClick:_t=>Oe(Ce)},[x("img",{src:C(jv),alt:"复制",class:"action-icon"},null,8,Dgt),ce[25]||(ce[25]=bn(" 复制 ",-1))],8,_gt),x("button",{class:"action-btn edit-btn",onClick:_t=>Qe(Ce)},[x("img",{src:C(aC),alt:"编辑",class:"action-icon"},null,8,Ogt),ce[26]||(ce[26]=bn(" 编辑 ",-1))],8,Igt)])])):Ce.type==="ai"?(L(),G("div",Mgt,[Ce.webSearchRaw&&Ce.webSearchRaw.total>0?(L(),G("div",Pgt,[He(uAe,{total:Ce.webSearchRaw.total,results:Ce.webSearchRaw.results,isExpanded:ve.value,onToggle:_t=>ar(zt)},null,8,["total","results","isExpanded","onToggle"])])):xe("",!0),x("div",Ngt,[x("div",Rgt,[x("img",{src:C(rk),alt:"AI",class:"ai-icon"},null,8,Bgt)]),x("div",{class:"message-content","data-message-index":zt,ref_for:!0,ref:_t=>y.value[zt]=_t},[x("div",Fgt,[Ce.showStats?(L(),G("div",{key:0,class:oe(["files-stats-white",{sticky:m.value[zt]?.isSticky&&m.value[zt]?.initialized&&!m.value[zt]?.isInitializing}]),style:rn(m.value[zt]?.isSticky&&m.value[zt]?.initialized&&!m.value[zt]?.isInitializing&&m.value[zt]?.initialLeft>0&&m.value[zt]?.initialWidth>0?{position:"fixed",top:"56px",left:m.value[zt].initialLeft+"px",width:m.value[zt].initialWidth+"px",zIndex:999}:{}),"data-message-index":zt},[x("div",zgt,[He(dAe,{status:Le(Ce.currentStatus,Ce.progress),size:36,class:"stats-avatar"},null,8,["status"]),x("span",{innerHTML:Ce.statusMessage},null,8,$gt)]),Ce.progress<100?(L(),G("div",jgt,[x("div",Hgt,[x("div",{class:"progress-fill",style:rn({width:Ce.progress+"%"})},null,4),x("div",{class:"progress-dot",style:rn({left:Ce.progress+"%"})},null,4)]),x("span",Wgt,je(Ce.progress)+"%",1)])):xe("",!0),Ce.progress===100&&Ce.reports&&Ce.reports.length>0?(L(),G("div",Vgt,[He(lAe,{reports:Ce.reports.filter(_t=>_t.status==="completed"&&_t.type!=="category_title"),disabled:!1,title:De.value},null,8,["reports","title"])])):xe("",!0)],14,Ugt)):xe("",!0),Ce.summary?(L(),G("div",qgt,[He(py,{content:Ce.summary,streaming:!1},null,8,["content"])])):xe("",!0),Ce.isTyping&&(!Ce.reports||Ce.reports.length===0)&&Ce.progress<100?(L(),G("div",Ggt,ce[27]||(ce[27]=[ki('AI正在思考中...
    ',2)]))):xe("",!0),Ce.reports&&Ce.reports.length>0?(L(),G("div",Kgt,[(L(!0),G(Rt,null,un(Ce.reports,(_t,mn)=>(L(),G(Rt,{key:`${_t.source_file}-${_t.file_index}-${mn}`},[_t.type==="category_title"?(L(),yt(aAe,{key:0,category:_t.category,number:_t.number,count:_t.count,onToggle:wn=>Se(zt,wn)},null,8,["category","number","count","onToggle"])):!_t.type||_t.type!=="category_title"?cn((L(),yt(sAe,{key:1,report:_t,onPreviewFile:Tr},null,8,["report"])),[[kr,qe(zt,_t.metadata?._displayCategory||_t.metadata?.primary_category)]]):xe("",!0)],64))),128)),Ce.isTyping&&Ce.progress<100&&$e(Ce.reports)?(L(),G("div",Ygt,ce[28]||(ce[28]=[ki('AI正在思考中...
    ',2)]))):xe("",!0)])):xe("",!0),Ce.hasWebSearchResults&&Ce.webSearchSummary?(L(),G("div",Qgt,[He(cAe,{summary:Ce.webSearchSummary},null,8,["summary"])])):xe("",!0),!Ce.reports||Ce.reports.length===0?(L(),G("div",Zgt,[Ce.displayContent&&Ce.displayContent.length>0?(L(),G("div",Xgt,[x("div",{innerHTML:Ce.displayContent},null,8,Jgt)])):xe("",!0)])):xe("",!0)]),cn(x("div",evt,null,512),[[kr,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)]]),cn(x("div",tvt,[x("div",nvt,[x("button",{class:"action-btn copy-btn",onClick:_t=>Ge(Ce)},[x("img",{src:C(jv),alt:"复制",class:"action-icon"},null,8,ovt),ce[29]||(ce[29]=bn(" 复制 ",-1))],8,rvt),x("button",{class:"action-btn regenerate-btn",onClick:_t=>Ve(zt),disabled:me.value},[x("img",{src:C(yq),alt:"重新生成",class:"action-icon"},null,8,avt),ce[30]||(ce[30]=bn(" 重新生成 ",-1))],8,ivt),x("button",{class:"action-btn delete-btn",onClick:_t=>Rr(zt)},ce[31]||(ce[31]=[x("img",{src:kc,alt:"删除",class:"action-icon"},null,-1),bn(" 删除 ",-1)]),8,svt),x("button",{class:oe(["action-btn voice-btn",{speaking:vo(Ce.id)}]),onClick:_t=>Yr(Ce)},[x("img",{src:C(o7),alt:"语音朗读",class:"action-icon"},null,8,uvt),bn(" "+je(vo(Ce.id)?"停止朗读":"语音朗读"),1)],10,lvt)]),x("div",cvt,[x("button",{class:oe(["action-btn thumbs-up-btn",{active:Ce.userFeedback==="like"}]),onClick:_t=>$t(Ce),title:Ce.userFeedback==="like"?"取消点赞":"点赞"},[x("img",{src:C(Qy),alt:"点赞",class:"action-icon"},null,8,fvt)],10,dvt),x("button",{class:oe(["action-btn thumbs-down-btn",{active:Ce.userFeedback==="dislike"}]),onClick:_t=>Ot(Ce),title:Ce.userFeedback==="dislike"?"取消点踩":"点踩"},[x("img",{src:C(Zy),alt:"踩",class:"action-icon"},null,8,hvt)],10,pvt)])],512),[[kr,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)]])],8,Lgt)]),cn(x("div",gvt,[x("div",{class:"search-sources-header",onClick:_t=>xi(Ce.id)},[x("span",null,"基于"+je(Ce.searchSources?.length||0)+"个搜索来源",1),x("div",{class:oe(["expand-icon",{expanded:Z.value[Ce.id]}])},ce[32]||(ce[32]=[x("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},[x("path",{d:"M3 4.5L6 7.5L9 4.5",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2)],8,vvt),cn(x("div",mvt,[x("div",yvt,[x("div",bvt,[(L(!0),G(Rt,null,un(Ce.searchSources||[],(_t,mn)=>(L(),G("div",{class:"source-card",key:mn,onClick:wn=>C(Oi)(_t.url)},[x("div",Avt,je(_t.title),1),x("div",Cvt,je(_t.content),1),x("div",xvt,je(mn+1),1)],8,wvt))),128))])])],512),[[kr,Z.value[Ce.id]]])],512),[[kr,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)&&Ce.searchSources&&Ce.searchSources.length>0&&!te.value[Ce.id]]]),cn(x("div",Svt,ce[33]||(ce[33]=[x("div",{class:"thinking-animation"},[x("span",{class:"dot"}),x("span",{class:"dot"}),x("span",{class:"dot"})],-1)]),512),[[kr,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)&&F.value&&(H.value===Ce.id||H.value===Ce.ai_message_id)&&U.value.length===0]]),cn(x("div",Evt,[(L(!0),G(Rt,null,un(U.value,(_t,mn)=>(L(),G("div",{key:mn,class:"related-question-item",onClick:wn=>mi(_t)},[x("span",null,je(_t),1),ce[34]||(ce[34]=x("svg",{class:"arrow-icon",viewBox:"0 0 16 16",fill:"none"},[x("path",{d:"M6 4L10 8L6 12",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,kvt))),128))],512),[[kr,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)&&(H.value===Ce.id||H.value===Ce.ai_message_id)&&U.value.length>0]])])):xe("",!0)],2))),128))])):(L(),G("div",G0t,[x("div",K0t,[x("div",Y0t,[x("img",{src:C(rk),alt:"AI头像",class:"ai-avatar-img"},null,8,Q0t)]),ce[16]||(ce[16]=x("div",{class:"ai-greeting"},[x("h3",null,"我是蜀道安全管理AI智能助手,您的得力帮手"),x("p",null,"我可以帮您处理这些事情")],-1))]),x("div",Z0t,[(L(!0),G(Rt,null,un(v.value,(Ce,zt)=>(L(),G("div",{key:Ce.id||zt,class:"function-card",onClick:_t=>wr(Ce.function_title)},[x("div",J0t,[x("div",egt,[x("img",{src:be(Ce.function_title),alt:Ce.function_title,class:"card-icon-img"},null,8,tgt)]),x("h4",null,je(Ce.function_title),1)]),x("div",ngt,[x("p",null,je(Ce.function_content),1)])],8,X0t))),128)),v.value.length===0?(L(),G("div",{key:0,class:"function-card",onClick:ce[0]||(ce[0]=Ce=>wr("桥梁结构设计问题"))},[x("div",rgt,[x("div",ogt,[x("img",{src:C(ok),alt:"桥梁结构设计问题",class:"card-icon-img"},null,8,igt)]),ce[17]||(ce[17]=x("h4",null,"桥梁结构设计问题",-1))]),ce[18]||(ce[18]=x("div",{class:"card-description"},[x("p",null,"各类桥梁结构设计,计算与分析")],-1))])):xe("",!0),v.value.length===0?(L(),G("div",{key:1,class:"function-card",onClick:ce[1]||(ce[1]=Ce=>wr("桥梁施工技术咨询"))},[x("div",agt,[x("div",sgt,[x("img",{src:C(ik),alt:"施工技术咨询",class:"card-icon-img"},null,8,lgt)]),ce[19]||(ce[19]=x("h4",null,"施工技术咨询",-1))]),ce[20]||(ce[20]=x("div",{class:"card-description"},[x("p",null,"桥梁施工方法,工艺与技术要点")],-1))])):xe("",!0),v.value.length===0?(L(),G("div",{key:2,class:"function-card",onClick:ce[2]||(ce[2]=Ce=>wr("材料与力学问题"))},[x("div",ugt,[x("div",cgt,[x("img",{src:C(ak),alt:"材料与力学问题",class:"card-icon-img"},null,8,dgt)]),ce[21]||(ce[21]=x("h4",null,"材料与力学问题",-1))]),ce[22]||(ce[22]=x("div",{class:"card-description"},[x("p",null,"建筑材料性能与结构力学分析")],-1))])):xe("",!0),v.value.length===0?(L(),G("div",{key:3,class:"function-card",onClick:ce[3]||(ce[3]=Ce=>wr("规范标准查询"))},[x("div",fgt,[x("div",pgt,[x("img",{src:C(sk),alt:"规范标准查询",class:"card-icon-img"},null,8,hgt)]),ce[23]||(ce[23]=x("h4",null,"规范标准查询",-1))]),ce[24]||(ce[24]=x("div",{class:"card-description"},[x("p",null,"行业规范,标准解读与应用")],-1))])):xe("",!0)])]))]),!i.value&&!B.value?(L(),G("div",Tvt,[(L(!0),G(Rt,null,un(h.value,(Ce,zt)=>(L(),G("div",{key:Ce.id||zt,class:"question-tag",onClick:_t=>fr(Ce.question)},[x("img",{src:fe(Ce.question),alt:"问题",class:"question-icon"},null,8,Dvt),bn(" "+je(Ce.question),1)],8,_vt))),128)),h.value.length===0?(L(),G("div",{key:0,class:"question-tag",onClick:ce[4]||(ce[4]=Ce=>fr("施工安全生产责任的规定"))},[x("img",{src:C(lk),alt:"问题",class:"question-icon"},null,8,Ivt),ce[35]||(ce[35]=bn(" 施工安全生产责任的规定 ",-1))])):xe("",!0),h.value.length===0?(L(),G("div",{key:1,class:"question-tag",onClick:ce[5]||(ce[5]=Ce=>fr("工程建设质量的要求"))},[x("img",{src:C(uk),alt:"问题",class:"question-icon"},null,8,Ovt),ce[36]||(ce[36]=bn(" 工程建设质量的要求 ",-1))])):xe("",!0),h.value.length===0?(L(),G("div",{key:2,class:"question-tag",onClick:ce[6]||(ce[6]=Ce=>fr("公路桥梁加固设计规范"))},[x("img",{src:C(ck),alt:"文档",class:"question-icon"},null,8,Mvt),ce[37]||(ce[37]=bn(" 公路桥梁加固设计规范 ",-1))])):xe("",!0)])):xe("",!0),j.value.length>0?(L(),G("div",{key:1,class:"user-recommend-questions",onClick:ce[7]||(ce[7]=en(()=>{},["stop"]))},[x("div",Pvt,[(L(!0),G(Rt,null,un(j.value,(Ce,zt)=>(L(),G("div",{key:zt,class:"recommend-item",onClick:_t=>Nt(Ce)},je(Ce),9,Nvt))),128))])])):xe("",!0),x("div",Rvt,[x("div",Bvt,[B.value?(L(),G("div",Lvt,[x("div",Fvt,[x("div",Uvt,[B.value.type===".doc"||B.value.type===".docx"?(L(),G("img",{key:0,src:B.value.icon,alt:"文档图标",class:"file-icon-img"},null,8,zvt)):(L(),G("span",$vt,je(B.value.icon),1))]),x("div",jvt,[x("div",Hvt,je(B.value.name),1),x("div",Wvt,je(xa(B.value.size)),1)]),x("button",{class:"remove-file-btn",onClick:Po},ce[38]||(ce[38]=[x("span",{class:"remove-icon"},"×",-1)]))])])):xe("",!0),x("div",Vvt,[x("button",{class:oe(["network-search-btn",{active:X.value}]),onClick:Ci,title:X.value?"关闭联网搜索":"启用联网搜索",disabled:me.value},[x("div",Gvt,[x("img",{src:X.value?C(pAe):C(hAe),alt:"联网搜索",class:"action-icon",style:{width:"20px",height:"20px","max-width":"20px","max-height":"20px"}},null,8,Kvt)])],10,qvt),x("button",{class:"attach-btn",onClick:Hr,disabled:me.value},[x("div",Qvt,[x("img",{src:C(bq),alt:"附件",class:"action-icon",style:{width:"20px",height:"20px","max-width":"20px","max-height":"20px"}},null,8,Zvt)])],8,Yvt),cn(x("input",{type:"text",placeholder:"请在此处发送消息 (Enter键可立即发送)",class:"message-input","onUpdate:modelValue":ce[8]||(ce[8]=Ce=>r.value=Ce),onKeyup:$r(Nn,["enter"]),onInput:Ur,disabled:me.value,maxlength:"2000"},null,40,Xvt),[[qr,r.value]]),x("button",{class:oe(["voice-btn",{recording:C(E)}]),onClick:Ye,disabled:me.value},[x("div",emt,[x("img",{src:C(rp),alt:"语音",class:"action-icon",style:{width:"20px",height:"20px","max-width":"20px","max-height":"20px"}},null,8,tmt),C(E)?(L(),G("div",nmt)):xe("",!0)])],10,Jvt),ce[39]||(ce[39]=x("div",{class:"divider"},null,-1)),x("button",{class:"send-btn",onClick:ce[9]||(ce[9]=Ce=>a.value?vn():Nn()),disabled:!a.value&&(me.value||!r.value.trim())},[a.value?(L(),G("span",omt,"停止")):(L(),G("img",{key:1,src:r.value.trim()&&!me.value?C(ip):C(op),alt:"发送",class:"send-icon"},null,8,imt))],8,rmt)])])])],2),x("input",{ref_key:"fileInput",ref:W,type:"file",accept:".docx",style:{display:"none"},onChange:pr},null,544),He(ldt,{ref_key:"toastRef",ref:b,message:w.value,type:A.value,duration:S.value},null,8,["message","type","duration"]),He(h0,{visible:c.value,title:ie.value,message:pe.value,onConfirm:Ft,onCancel:Fr,onClose:Fr},null,8,["visible","title","message"]),He(e0t,{modelValue:he.value,"onUpdate:modelValue":ce[10]||(ce[10]=Ce=>he.value=Ce),"file-path":Ee.value,"file-name":Q.value},null,8,["modelValue","file-path","file-name"]),He(x0t,{visible:ve.value,results:Pe.value.results,keywords:Pe.value.keywords,total:Pe.value.total,"onUpdate:visible":ce[11]||(ce[11]=Ce=>ve.value=Ce)},null,8,["visible","results","keywords","total"])]))}},smt=Zo(amt,[["__scopeId","data-v-53f29151"]]),lmt="modulepreload",umt=function(e){return"/"+e},voe={},Lf=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let l=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(c=>({status:"fulfilled",value:c}),c=>({status:"rejected",reason:c}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=a?.nonce||a?.getAttribute("nonce");o=l(n.map(u=>{if(u=umt(u),u in voe)return;voe[u]=!0;const d=u.endsWith(".css"),c=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${c}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":lmt,d||(f.as="script"),f.crossOrigin="",f.href=u,s&&f.setAttribute("nonce",s),document.head.appendChild(f),d)return new Promise((p,v)=>{f.addEventListener("load",p),f.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},gAe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAABKCAYAAAAc0MJxAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAT6SURBVHic7ZxRUqNIGIC/hiW+8mxMLZxgMycYPIHxBKsnGOcEiSfQPYGzJzA5QZgTmD1BU6XkdfI6UKT3gUaIJoatTYBM+KooUJr456sfaLrxF2xBSulYljUQQnwG+oCtl0NmAQRKqQUwieN47Lpu8NEBYtOO5+dnzzTNoVLK222MzUQp5cdxfL1J2FpR8/n8Til1o39cAOMkSSZJksyAheu6i/2EWw1SStuyLGe5XDqmaV4AHuDo3aNut3v79pgVUVJK++Tk5FFn0QK4j6Lor0MXsw0ppdPpdP4ERvpXsyiKzovfe0VUGIZPpNehQCl1eXZ2Nqss2gaghU0BRwjhn56enmf7jGwjDMMhWlIURefHJgnAdd0giqJz0kTx5vP5XbZPwKtJCRBFkbvtDvCr8/Ly0hdCTAF7uVye93o93wCwLOtBtxkduyQAfTbdA5imOQQQhWwK9AUsqDHGxiCltLUXO4oi17Asa6D3+a2kHH3HGwNYljUwgAuAJEkmdQbWRDInQojPhhDCBjAMI6g1qgaiO9gAfQPdI43jOKgroAaTdThtEYahAuh2uxuf+46ZzI+xrWFLSiuqJK2okrSiStKKKslvNf/9AWmH19HLAvCBiV43hrpEOcCUfFSxSB+4IRV1Sd6XqZU6Tj2H95J84BtQHAPzgCfWy6yeMAxV1qmqABuQgNLLA+9FOKQiszaPFcW2lsxP1Rn1hVzMPXANBG/aBMA5aYZBeh272ndg26ha1JVez4CvW9rekku82FM8palSlEOeTX6J9gG5KG/HsfxnqhRVnF3+p+Qx/ppjIRVe6Wx1XaKC//k5kvSOWJmsQ+yZ9/XaKWzvnaaIcuoOYBtNEDUlPZUG2xrWSRNEeXr9R51BbKMJog6CVlRJWlElaUWVpBVVklZUSVpRJWlFlaQVVZJWVElaUSVpRZXkEEUVB+sqm/OrUlRQ2HYK275erxtm8fS6ON/3y4sqfqnfC9vZu6N94I585PKBXNR4w7HVzSJXPAH6RDqpOX3z++Kk6NtFsppF0w2fsRfqmgD9W689Vic1P7GaNRnfSCdDs8zxyLPM321oW6g4oxzy7JGsn06/Ir1evZ04KB77g4pmYF79VCwKYEh+WpV9CcNh9fS8+bD1DqlTFKQX7exL/yD94psy5IpVSXcb2u2FzE9d70d9Jb3ujEgF3ZFm2oy8G+GQ/w9zxoj0nYTqqSmjMgZ8fMcr3vmu6giw7ozKGOvFI31jxSPPoEAvE9bfESulblEZPg17Z/Mth/isVwutqJK0okrSiipJK6okBvqBU0p56IVpdk7ByeJVFIdfwWfnWJbl6M3AQI8emqZZ2Wt+h8JyuXQAlFILQyn1HUBXvWkpUHAyMeI4zh4PBu11KkdK6aAHCeM4Hhuu6wZCCB+wO53OlxpjaxS6TJKjlPJd1w0MgCRJsqGLm5eXl6O/VulsGgHEcXwNuh/V6/V8IcQ9YAshHnXDo6RQQwoKRX1Wah3M5/OprkZ2lAVtdDmkR9JBw1m32/2U7Vvpmf/8+fOStLvgdDodGYbh8BiyS0pph2E41DWjHCGErwtuvbK2eoauTjbSPwaAnyTJxDCMII7j4NBr3um7u22aZl93AQboDrcQ4v709PTdv8htLDOi628+CCG8fQXcJIQQfpIkt71ez1+7f9sHZAVLgQtdGcjh8B93FnqZKaW+lylY+i+/oRHLPcYUkgAAAABJRU5ErkJggg==",i7="/assets/13-Bv7KwdLX.png",moe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAARcSURBVHic7Z2/b9tGFMe/7yi7MuCB2eSNArwkk9ytgGwomeIuadDsQf6AIhlT2EBowEPG5A/okCFbgSRTu0Voja7m1A4NIG7JFg4qrAgiXwf9gFrdkZRO4pHwfTaLFPXw0bvju0fhTMhJx2d3NBq0BNfuMbhFzB6IXABu3muUlAhAyEAkgDCm+NXF+U4375sp64SOz24yHD4B0WNUX1ZeIgLeUhyfdZ/vhGknKgVeU3GLEJ/9dv6Vrzwse7Hz9MpLHOcNgNam4qoYgYjj+7JsXBA4kfcegFdAYFUiFHF8+/8S/yPQystkQaKYPzoZtl7BQVUJL3GcNx2fZ/eEmcCj0y8+7JyXh1YyHD6Z/kHAbOj2zMVUOSKxtdXs+hQJAGDHeWY6oorhTrOQAODoZPgZ17nWW41IbG01Rfv0qgMrbxXGS1uHnYemI6kqgmv3RGLLlpVhcEuQHb4rQ8yegM3A1SFyBWwG6uCK7HMsaViBmliBmliBmliBmliBmliBmtRMffBuHWjflH9/Hz4xPnzkzGvs7xF264uv9wfI9f51YEzg/h7hx+8d6bGLvxKcvI4zr/HgG4Hjrxe/hKDHePzTSDvGPBgbwqrsmx6TZVYZMSZQljnztJrVmJ6NRNlqyueueQ5vZv7qpBQYE7iOc8qAEYGHKfPflMYNqoTEwgU23PEdOA/HB+WfBwuPsH1LUftJ6jabgRJk5Ut/APxymSy83rhBubPVFIUK3K0DB5Ks+v3PRLlyuFvyYVxodGlLt6AnFygTXiYKFXh4Sy5jKk+Whft7hIZbXomFCdyty1cX8wv/S0UWthXiy0BhAlWdk7/nsk41D+apG01RWGSq+S/oJWi44/qwP5C/t9Us7zAurJ2lah48uuPg0R15W2ueVpPw62UxPb5lKCQD8zQPssjq3piiMIHruEYZe4SFCFzXTSCtCWuKjUe0TPMgizIW1RsXqGoemL7Wutj4XVg17PoD4OS1/MHPD9860qwdF+OkXPaZYKMCVc0DYFz/qURc9lg57I8PBIJe9hO7otjomEib9FXLNmD8WFNF2XqEGxV4N6V2SxuGaQ/Fy9bq3+gQ/megFpUmqT8Afv4jUQ7j/b3xPKhqgxX1qwQAoKOTYXlm5ApSvrqgYliBmliBmliBmliBmliBmliBmliBmliBmliBmliBmliBmgiM98+zrEYkwGwFrk4omCg0HUVVYSASBApMB1JVBBCKhEbvTAdSVWKKX4larR7A3khWIbo43+mKrk8RmF+ajqZqEPAWmNSBYnv7BWwWLgXF8RkwEWizcEmIZ9sjz1Yikyy0d+RsgvltkWcCuz5FIo7vAwgNBFUVwomjGXYb5PxIt0FeaCZ0n++EIo5vww7neQKZPCBjL/2j0y8+mK7z/qoRmF+K7e0XXZ+kVUr2PyN4euWx4zxj4Dtcn53eMsVNWepnTu3Tq47DzsME8CYbN3qovtQIzBEThQQKEhq9q9XqQZa4Kf8CWPFo73QXhUoAAAAASUVORK5CYII=",cmt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAH4SURBVFiF7ZdNbtpQFIXPtS3ijOoleAdlXJXIXUGyg8AO0hkNSBgpPwxZAllBsgPcInVMVoCXQEcYB/tmgBsRYfK4r+C4EUdiYN4973743GcAOOig9xVtWqj9mJ+RQZ920YRT/jO6PXrQ8W4GbMVDAjxtqrVO3P11deRLbcbOAFRi6py0577UZin3BQIzSRpiIMtyU+bh682oc9KeQ3InlYAAEPSOQxEcAK85A0wzA+MuiM4BuFLIYiImmhhJ8g1ACEAUd2EzGPSOQx3I4g4J9CC3msFVeT47iCInd9G2p4FP07X3CY7XnLl/Lw2iRsp8D8ABU6fWiqaja7uft6X4DqZxfJGa5iT3FccXuSZG/1Xd8nSvfEjjdFO/QiPWkTjiBejBAiYb1h5fLmx7iqenumI7H4D7VoEY8PdNZQxgrKrLZvHurZpaK66TArD0EZceUBzxl8u4ahE+6zRbMB6zEdlaYkALfAZQR+rLvF1sMb+r+ngRG5VKH1E00Opm2+vfMgqJAbPHh7iRrkofcekBxRHXLuM6COda3Rh3o5vKQGIRAxLYBciT+pbin1KHGJBBIYBA6luKQqlDDJhFNJD6dFX6Q3IA/FcpZ5AA52t75u2jOTHy/3ytaJtDUjXYHKrL9qP/N2KT8X1hJMoIdgKRmoX9+DiodHoGUxWxeEnnJfMAAAAASUVORK5CYII=",l3="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAE4SURBVFiF7ZY/bsIwFMZ/RjlQGSoWhvYEPUKZWFg4wuMGMLAw0SP0BM3AgjrAEXoEDhDJHezAExAbBYdUar4lf5z3fT/ZVvzgv8tcvBE7Bd6Bpzt898AnMEfM4XYAsV/Ayx3B10BeQxA9FS6Jw8HN4jT0Qabu366M58ACyGNTWVca4HzNZ4iRJkKrALTyY7jYDBhjGWHoB2pCKrDsMKyBFWKKcqBXUTBT4RtgieG5ZjhA5uuXwMb7BgH2/joGBjVDqzTwvgGAcsNZRonDOfetmgEnt+bppXzDAPXXPKboHniYOoAOoAP4UwA/bQN8tA0w53QKtgAg5oCYPmUv8HCAE4iop+JiPI2iHZGTZddIvPKN9QPrRgCUb+w/sAK2ieO33vcGANe9DoEJlm/q74nC10+Aoe6KO/0C8TJFqP1ldx8AAAAASUVORK5CYII=",Aq="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAGSSURBVFiF7ZexbcJAFIa/F4NAggKKRKJzNmAEswFUuIQJyAaIDbIBlKSCDWAERqBDggIXRALh06VABmLOxNiRoOAv7969/9PzvbszPJVCq2ZxtHQL/TQ5XtIs1kIdpHU3gP/QE+AJcHeATNTE0i200NJBqAZjohm/fm0a1xKumsXRoT2PmiroVYabqSneWIGFW3RA+ufmKeRYMFm6hZZp0lgBC7oAaD6zu0yvPPa8uG7nFVrXS6V9zu8ifKClAwzC8VF7wAG41Tys8tjzsrtMDyCqmlc3YRrzuDketwvCOtx6Yiv8dmW4nZtiFm7etsj0ReP91S2B4ldASxVwLKzJws3bZnNrAjhaKMVNGxtAid8APQexwxAnc7FBzxV++98BKsPtXKFq5xDB3G9zVYv6RKkATBCnmWTmNwNcQgRKZp4I4BIiuTnc0IYmCOA96fpAdz+IHhtgXS/FPlCS5jADaGYA+5zfTQNxvI4PmppixDR4eDxIqj+esBTUTK8iYwXeht8DBTUiqG+SZga6HfUke+oHeMmu4S99q1IAAAAASUVORK5CYII=",dmt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAGrSURBVFiFtZe9TsMwFEbPTZaOGRkZ2VGpwuSRjfIGdEMCiaovUDMBS1GlFkZ4BB4hTEXtxMYIb9AdCTO0Qf1LYzvuN0a2z5Ed35tIu62Tn4gucI7hywj9x55+YQe57Oi2MVyLkAj0Bz2t48Nj9QRcADWEPYFmI1UyHmVZSPhVR2vgVoQEqAGqniqJgObqYAPd+YRgcAPd1ediOI2MYbppUiiJIvg80/joWAlwUjBAVTmOEjhiaMWTUfbeSJUAKqREGdxAa/igX2OA8SjLQkrYwPObFucPQ0m4wJcEQki4wtcEqkj4wDcK+Ej4wgGkaJLNwgI3c4AXvFTARmJbyuBQcASLsTgOb7iVgI+ELdxawEXCBQ4Q2Q50WHDfZbz1Dji8jE5l20rA4yZYS5QKVLiGVhJbBWwqXAQfVGhghQK25bVqA9so4Frbq0isCfg2Fl+JJYEqXc1X4l+gKtxXIg4J95GQ0PDFlK39K5zF9VQ9A0loOJTvhBgOol3B8wx6WudfThsyjQz0dwUvkxDhLZ7k22RIgE8xsz+WUPA841GW1VP1LTPOFOF+2NN3f3iMagxNfNeRAAAAAElFTkSuQmCC";var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fmt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vm(e){var t={exports:{}};return e(t,t.exports),t.exports}var zp,y8,o6=function(e){return e&&e.Math==Math&&e},mo=o6(typeof globalThis=="object"&&globalThis)||o6(typeof window=="object"&&window)||o6(typeof self=="object"&&self)||o6(typeof wi=="object"&&wi)||(function(){return this})()||Function("return this")(),Cq=Function.prototype,yoe=Cq.apply,pmt=Cq.bind,boe=Cq.call,vAe=typeof Reflect=="object"&&Reflect.apply||(pmt?boe.bind(yoe):function(){return boe.apply(yoe,arguments)}),mAe=Function.prototype,jF=mAe.bind,HF=mAe.call,hmt=jF&&jF.bind(HF),$i=jF?function(e){return e&&hmt(HF,e)}:function(e){return e&&function(){return HF.apply(e,arguments)}},Ts=function(e){return typeof e=="function"},ql=function(e){try{return!!e()}catch{return!0}},Ul=!ql((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),J2=Function.prototype.call,pu=J2.bind?J2.bind(J2):function(){return J2.apply(J2,arguments)},woe={}.propertyIsEnumerable,Aoe=Object.getOwnPropertyDescriptor,gmt=Aoe&&!woe.call({1:2},1)?function(e){var t=Aoe(this,e);return!!t&&t.enumerable}:woe,xq={f:gmt},Pc=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},vmt=$i({}.toString),mmt=$i("".slice),nv=function(e){return mmt(vmt(e),8,-1)},fM=mo.Object,ymt=$i("".split),yAe=ql((function(){return!fM("z").propertyIsEnumerable(0)}))?function(e){return nv(e)=="String"?ymt(e,""):fM(e)}:fM,bmt=mo.TypeError,Sq=function(e){if(e==null)throw bmt("Can't call method on "+e);return e},sf=function(e){return yAe(Sq(e))},Hu=function(e){return typeof e=="object"?e!==null:Ts(e)},ou={},Coe=function(e){return Ts(e)?e:void 0},Zb=function(e,t){return arguments.length<2?Coe(ou[e])||Coe(mo[e]):ou[e]&&ou[e][t]||mo[e]&&mo[e][t]},xA=$i({}.isPrototypeOf),pM=Zb("navigator","userAgent")||"",xoe=mo.process,Soe=mo.Deno,Eoe=xoe&&xoe.versions||Soe&&Soe.version,koe=Eoe&&Eoe.v8;koe&&(y8=(zp=koe.split("."))[0]>0&&zp[0]<4?1:+(zp[0]+zp[1])),!y8&&pM&&(!(zp=pM.match(/Edge\/(\d+)/))||zp[1]>=74)&&(zp=pM.match(/Chrome\/(\d+)/))&&(y8=+zp[1]);var i6,dk=y8,hd=!!Object.getOwnPropertySymbols&&!ql((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&dk&&dk<41})),Eq=hd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",wmt=mo.Object,hy=Eq?function(e){return typeof e=="symbol"}:function(e){var t=Zb("Symbol");return Ts(t)&&xA(t.prototype,wmt(e))},Amt=mo.String,WF=function(e){try{return Amt(e)}catch{return"Object"}},Cmt=mo.TypeError,kq=function(e){if(Ts(e))return e;throw Cmt(WF(e)+" is not a function")},fk=function(e,t){var n=e[t];return n==null?void 0:kq(n)},xmt=mo.TypeError,Smt=Object.defineProperty,Rh=mo["__core-js_shared__"]||(function(e,t){try{Smt(mo,e,{value:t,configurable:!0,writable:!0})}catch{mo[e]=t}return t})("__core-js_shared__",{}),mm=vm((function(e){(e.exports=function(t,n){return Rh[t]||(Rh[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Emt=mo.Object,sC=function(e){return Emt(Sq(e))},kmt=$i({}.hasOwnProperty),Wo=Object.hasOwn||function(e,t){return kmt(sC(e),t)},Tmt=0,_mt=Math.random(),Dmt=$i(1 .toString),pk=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Dmt(++Tmt+_mt,36)},ew=mm("wks"),rv=mo.Symbol,Toe=rv&&rv.for,Imt=Eq?rv:rv&&rv.withoutSetter||pk,Zs=function(e){if(!Wo(ew,e)||!hd&&typeof ew[e]!="string"){var t="Symbol."+e;hd&&Wo(rv,e)?ew[e]=rv[e]:ew[e]=Eq&&Toe?Toe(t):Imt(t)}return ew[e]},Omt=mo.TypeError,Mmt=Zs("toPrimitive"),Pmt=function(e,t){if(!Hu(e)||hy(e))return e;var n,r=fk(e,Mmt);if(r){if(n=pu(r,e,t),!Hu(n)||hy(n))return n;throw Omt("Can't convert object to primitive value")}return(function(o,i){var a,s;if(Ts(a=o.toString)&&!Hu(s=pu(a,o))||Ts(a=o.valueOf)&&!Hu(s=pu(a,o)))return s;throw xmt("Can't convert object to primitive value")})(e)},Xb=function(e){var t=Pmt(e,"string");return hy(t)?t:t+""},VF=mo.document,Nmt=Hu(VF)&&Hu(VF.createElement),bAe=function(e){return Nmt?VF.createElement(e):{}},wAe=!Ul&&!ql((function(){return Object.defineProperty(bAe("div"),"a",{get:function(){return 7}}).a!=7})),_oe=Object.getOwnPropertyDescriptor,Rmt=Ul?_oe:function(e,t){if(e=sf(e),t=Xb(t),wAe)try{return _oe(e,t)}catch{}if(Wo(e,t))return Pc(!pu(xq.f,e,t),e[t])},a7={f:Rmt},Bmt=/#|\.prototype\./,lC=function(e,t){var n=Fmt[Lmt(e)];return n==zmt||n!=Umt&&(Ts(t)?ql(t):!!t)},Lmt=lC.normalize=function(e){return String(e).replace(Bmt,".").toLowerCase()},Fmt=lC.data={},Umt=lC.NATIVE="N",zmt=lC.POLYFILL="P",$mt=lC,Doe=$i($i.bind),Tq=function(e,t){return kq(e),t===void 0?e:Doe?Doe(e,t):function(){return e.apply(t,arguments)}},jmt=mo.String,Hmt=mo.TypeError,mu=function(e){if(Hu(e))return e;throw Hmt(jmt(e)+" is not an object")},Wmt=mo.TypeError,Ioe=Object.defineProperty,Vmt=Ul?Ioe:function(e,t,n){if(mu(e),t=Xb(t),mu(n),wAe)try{return Ioe(e,t,n)}catch{}if("get"in n||"set"in n)throw Wmt("Accessors not supported");return"value"in n&&(e[t]=n.value),e},F0={f:Vmt},il=Ul?function(e,t,n){return F0.f(e,t,Pc(1,n))}:function(e,t,n){return e[t]=n,e},qmt=a7.f,Gmt=function(e){var t=function(n,r,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,o)}return vAe(e,this,arguments)};return t.prototype=e.prototype,t},Tf=function(e,t){var n,r,o,i,a,s,l,u,d=e.target,c=e.global,f=e.stat,p=e.proto,v=c?mo:f?mo[d]:(mo[d]||{}).prototype,h=c?ou:ou[d]||il(ou,d,{})[d],g=h.prototype;for(o in t)n=!$mt(c?o:d+(f?".":"#")+o,e.forced)&&v&&Wo(v,o),a=h[o],n&&(s=e.noTargetGet?(u=qmt(v,o))&&u.value:v[o]),i=n&&s?s:t[o],n&&typeof a==typeof i||(l=e.bind&&n?Tq(i,mo):e.wrap&&n?Gmt(i):p&&Ts(i)?$i(i):i,(e.sham||i&&i.sham||a&&a.sham)&&il(l,"sham",!0),il(h,o,l),p&&(Wo(ou,r=d+"Prototype")||il(ou,r,{}),il(ou[r],o,i),e.real&&g&&!g[o]&&il(g,o,i)))},Ooe=mm("keys"),s7=function(e){return Ooe[e]||(Ooe[e]=pk(e))},Kmt=!ql((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Moe=s7("IE_PROTO"),qF=mo.Object,Ymt=qF.prototype,hk=Kmt?qF.getPrototypeOf:function(e){var t=sC(e);if(Wo(t,Moe))return t[Moe];var n=t.constructor;return Ts(n)&&t instanceof n?n.prototype:t instanceof qF?Ymt:null},Qmt=mo.String,Zmt=mo.TypeError,gk=Object.setPrototypeOf||("__proto__"in{}?(function(){var e,t=!1,n={};try{(e=$i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return mu(r),(function(i){if(typeof i=="object"||Ts(i))return i;throw Zmt("Can't set "+Qmt(i)+" as a prototype")})(o),t?e(r,o):r.__proto__=o,r}})():void 0),Xmt=Math.ceil,Jmt=Math.floor,_q=function(e){var t=+e;return t!=t||t===0?0:(t>0?Jmt:Xmt)(t)},e1t=Math.max,t1t=Math.min,GF=function(e,t){var n=_q(e);return n<0?e1t(n+t,0):t1t(n,t)},n1t=Math.min,uC=function(e){return(t=e.length)>0?n1t(_q(t),9007199254740991):0;var t},r1t=function(e){return function(t,n,r){var o,i=sf(t),a=uC(i),s=GF(r,a);if(e&&n!=n){for(;a>s;)if((o=i[s++])!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},o1t={indexOf:r1t(!1)},cC={},i1t=o1t.indexOf,Poe=$i([].push),AAe=function(e,t){var n,r=sf(e),o=0,i=[];for(n in r)!Wo(cC,n)&&Wo(r,n)&&Poe(i,n);for(;t.length>o;)Wo(r,n=t[o++])&&(~i1t(i,n)||Poe(i,n));return i},vk=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],a1t=vk.concat("length","prototype"),s1t=Object.getOwnPropertyNames||function(e){return AAe(e,a1t)},Dq={f:s1t},b8={f:Object.getOwnPropertySymbols},l1t=$i([].concat),u1t=Zb("Reflect","ownKeys")||function(e){var t=Dq.f(mu(e)),n=b8.f;return n?l1t(t,n(e)):t},Iq=Object.keys||function(e){return AAe(e,vk)},c1t=Ul?Object.defineProperties:function(e,t){mu(e);for(var n,r=sf(t),o=Iq(t),i=o.length,a=0;i>a;)F0.f(e,n=o[a++],r[n]);return e},d1t=Zb("document","documentElement"),CAe=s7("IE_PROTO"),hM=function(){},xAe=function(e){return"