const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/pptxgen.es-vaMfdmAr.js","assets/jszip.min-B8mxB0JC.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={},V1=[],go=()=>{},$ke=()=>!1,E_=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),_j=e=>e.startsWith("onUpdate:"),Ja=Object.assign,Dj=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jke=Object.prototype.hasOwnProperty,Zr=(e,t)=>jke.call(e,t),qt=Array.isArray,q1=e=>vC(e)==="[object Map]",Cb=e=>vC(e)==="[object Set]",Xh=e=>vC(e)==="[object Date]",Pn=e=>typeof e=="function",Dn=e=>typeof e=="string",Pc=e=>typeof e=="symbol",ar=e=>e!==null&&typeof e=="object",Av=e=>(ar(e)||Pn(e))&&Pn(e.then)&&Pn(e.catch),O0e=Object.prototype.toString,vC=e=>O0e.call(e),Hke=e=>vC(e).slice(8,-1),D3=e=>vC(e)==="[object Object]",Ij=e=>Dn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,B4=Tj(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),k_=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wke=/-(\w)/g,sl=k_(e=>e.replace(Wke,(t,n)=>n?n.toUpperCase():"")),Vke=/\B([A-Z])/g,dp=k_(e=>e.replace(Vke,"-$1").toLowerCase()),mC=k_(e=>e.charAt(0).toUpperCase()+e.slice(1)),L4=k_(e=>e?`on${mC(e)}`:""),_h=(e,t)=>!Object.is(e,t),cS=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},J8=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qke=e=>{const t=Dn(e)?Number(e):NaN;return isNaN(t)?e:t};let UQ;const T_=()=>UQ||(UQ=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jt(e){if(qt(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(Dn(e))t=e;else if(qt(e))for(let n=0;nCv(n,t))}const P0e=e=>!!(e&&e.__v_isRef===!0),ze=e=>Dn(e)?e:e==null?"":qt(e)||ar(e)&&(e.toString===O0e||!Pn(e.toString))?P0e(e)?ze(e.value):JSON.stringify(e,N0e,2):String(e),N0e=(e,t)=>P0e(t)?N0e(e,t.value):q1(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[G9(r,i)+" =>"]=o,n),{})}:Cb(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>G9(n))}:Pc(t)?G9(t):ar(t)&&!qt(t)&&!D3(t)?String(t):t,G9=(e,t="")=>{var n;return Pc(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 Ms;class R0e{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ms,!t&&Ms&&(this.index=(Ms.scopes||(Ms.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&&(Ms=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(U4){let t=U4;for(U4=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;F4;){let t=F4;for(F4=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===I3)||(e.globalVersion=I3,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qB(e))))return;e.flags|=2;const t=e.dep,n=Pi,r=Sc;Pi=e,Sc=!0;try{j0e(e);const o=e.fn(e._value);(t.version===0||_h(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Pi=n,Sc=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 Sc=!0;const V0e=[];function Wf(){V0e.push(Sc),Sc=!1}function Vf(){const e=V0e.pop();Sc=e===void 0?!0:e}function zQ(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Pi;Pi=void 0;try{t()}finally{Pi=n}}}let I3=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 __{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(!Pi||!Sc||Pi===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Pi)n=this.activeLink=new tTe(Pi,this),Pi.deps?(n.prevDep=Pi.depsTail,Pi.depsTail.nextDep=n,Pi.depsTail=n):Pi.deps=Pi.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=Pi.depsTail,n.nextDep=void 0,Pi.depsTail.nextDep=n,Pi.depsTail=n,Pi.deps===n&&(Pi.deps=r)}return n}trigger(t){this.version++,I3++,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 eE=new WeakMap,Wg=Symbol(""),GB=Symbol(""),O3=Symbol("");function Rs(e,t,n){if(Sc&&Pi){let r=eE.get(e);r||eE.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new __),o.map=r,o.key=n),o.track()}}function Sf(e,t,n,r,o,i){const a=eE.get(e);if(!a){I3++;return}const s=l=>{l&&l.trigger()};if(Mj(),t==="clear")a.forEach(s);else{const l=qt(e),u=l&&Ij(n);if(l&&n==="length"){const d=Number(r);a.forEach((c,f)=>{(f==="length"||f===O3||!Pc(f)&&f>=d)&&s(c)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),u&&s(a.get(O3)),t){case"add":l?u&&s(a.get("length")):(s(a.get(Wg)),q1(e)&&s(a.get(GB)));break;case"delete":l||(s(a.get(Wg)),q1(e)&&s(a.get(GB)));break;case"set":q1(e)&&s(a.get(Wg));break}}Pj()}function nTe(e,t){const n=eE.get(e);return n&&n.get(t)}function Dm(e){const t=Oo(e);return t===e?t:(Rs(t,"iterate",O3),Fu(e)?t:t.map(ys))}function D_(e){return Rs(e=Oo(e),"iterate",O3),e}const rTe={__proto__:null,[Symbol.iterator](){return Y9(this,Symbol.iterator,ys)},concat(...e){return Dm(this).concat(...e.map(t=>qt(t)?Dm(t):t))},entries(){return Y9(this,"entries",e=>(e[1]=ys(e[1]),e))},every(e,t){return af(this,"every",e,t,void 0,arguments)},filter(e,t){return af(this,"filter",e,t,n=>n.map(ys),arguments)},find(e,t){return af(this,"find",e,t,ys,arguments)},findIndex(e,t){return af(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return af(this,"findLast",e,t,ys,arguments)},findLastIndex(e,t){return af(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return af(this,"forEach",e,t,void 0,arguments)},includes(...e){return Q9(this,"includes",e)},indexOf(...e){return Q9(this,"indexOf",e)},join(e){return Dm(this).join(e)},lastIndexOf(...e){return Q9(this,"lastIndexOf",e)},map(e,t){return af(this,"map",e,t,void 0,arguments)},pop(){return w2(this,"pop")},push(...e){return w2(this,"push",e)},reduce(e,...t){return $Q(this,"reduce",e,t)},reduceRight(e,...t){return $Q(this,"reduceRight",e,t)},shift(){return w2(this,"shift")},some(e,t){return af(this,"some",e,t,void 0,arguments)},splice(...e){return w2(this,"splice",e)},toReversed(){return Dm(this).toReversed()},toSorted(e){return Dm(this).toSorted(e)},toSpliced(...e){return Dm(this).toSpliced(...e)},unshift(...e){return w2(this,"unshift",e)},values(){return Y9(this,"values",ys)}};function Y9(e,t,n){const r=D_(e),o=r[t]();return r!==e&&!Fu(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 af(e,t,n,r,o,i){const a=D_(e),s=a!==e&&!Fu(e),l=a[t];if(l!==oTe[t]){const c=l.apply(e,i);return s?ys(c):c}let u=n;a!==e&&(s?u=function(c,f){return n.call(this,ys(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=D_(e);let i=n;return o!==e&&(Fu(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,ys(s),l,e)}),o[t](i,...r)}function Q9(e,t,n){const r=Oo(e);Rs(r,"iterate",O3);const o=r[t](...n);return(o===-1||o===!1)&&Lj(n[0])?(n[0]=Oo(n[0]),r[t](...n)):o}function w2(e,t,n=[]){Wf(),Mj();const r=Oo(e)[t].apply(e,n);return Pj(),Vf(),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(Pc));function aTe(e){Pc(e)||(e=String(e));const t=Oo(this);return Rs(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=qt(t);if(!o){let l;if(a&&(l=rTe[n]))return l;if(n==="hasOwnProperty")return aTe}const s=Reflect.get(t,n,Ro(t)?t:r);return(Pc(n)?G0e.has(n):iTe(n))||(o||Rs(t,"get",n),i)?s:Ro(s)?a&&Ij(n)?s:s.value:ar(s)?o?xb(s):Ur(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=Jh(i);if(!Fu(r)&&!Jh(r)&&(i=Oo(i),r=Oo(r)),!qt(t)&&Ro(i)&&!Ro(r))return l?!1:(i.value=r,!0)}const a=qt(t)&&Ij(n)?Number(n)e,sx=e=>Reflect.getPrototypeOf(e);function dTe(e,t,n){return function(...r){const o=this.__v_raw,i=Oo(o),a=q1(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=o[e](...r),d=n?KB:t?tE:ys;return!t&&Rs(i,"iterate",l?GB:Wg),{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 lx(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=Oo(i),s=Oo(o);e||(_h(o,s)&&Rs(a,"get",o),Rs(a,"get",s));const{has:l}=sx(a),u=t?KB:e?tE:ys;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&&Rs(Oo(o),"iterate",Wg),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,a=Oo(i),s=Oo(o);return e||(_h(o,s)&&Rs(a,"has",o),Rs(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=Oo(s),u=t?KB:e?tE:ys;return!e&&Rs(l,"iterate",Wg),s.forEach((d,c)=>o.call(i,u(d),u(c),a))}};return Ja(n,e?{add:lx("add"),set:lx("set"),delete:lx("delete"),clear:lx("clear")}:{add(o){!t&&!Fu(o)&&!Jh(o)&&(o=Oo(o));const i=Oo(this);return sx(i).has.call(i,o)||(i.add(o),Sf(i,"add",o,o)),this},set(o,i){!t&&!Fu(i)&&!Jh(i)&&(i=Oo(i));const a=Oo(this),{has:s,get:l}=sx(a);let u=s.call(a,o);u||(o=Oo(o),u=s.call(a,o));const d=l.call(a,o);return a.set(o,i),u?_h(i,d)&&Sf(a,"set",o,i):Sf(a,"add",o,i),this},delete(o){const i=Oo(this),{has:a,get:s}=sx(i);let l=a.call(i,o);l||(o=Oo(o),l=a.call(i,o)),s&&s.call(i,o);const u=i.delete(o);return l&&Sf(i,"delete",o,void 0),u},clear(){const o=Oo(this),i=o.size!==0,a=o.clear();return i&&Sf(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(Zr(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 Ur(e){return Jh(e)?e:Bj(e,!1,lTe,pTe,Q0e)}function I_(e){return Bj(e,!1,cTe,hTe,Z0e)}function xb(e){return Bj(e,!0,uTe,gTe,X0e)}function Bj(e,t,n,r,o){if(!ar(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 G1(e){return Jh(e)?G1(e.__v_raw):!!(e&&e.__v_isReactive)}function Jh(e){return!!(e&&e.__v_isReadonly)}function Fu(e){return!!(e&&e.__v_isShallow)}function Lj(e){return e?!!e.__v_raw:!1}function Oo(e){const t=e&&e.__v_raw;return t?Oo(t):e}function Id(e){return!Zr(e,"__v_skip")&&Object.isExtensible(e)&&VB(e,"__v_skip",!0),e}const ys=e=>ar(e)?Ur(e):e,tE=e=>ar(e)?xb(e):e;function Ro(e){return e?e.__v_isRef===!0:!1}function Y(e){return J0e(e,!1)}function Uo(e){return J0e(e,!0)}function J0e(e,t){return Ro(e)?e:new bTe(e,t)}class bTe{constructor(t,n){this.dep=new __,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Oo(t),this._value=n?t:ys(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Fu(t)||Jh(t);t=r?t:Oo(t),_h(t,n)&&(this._rawValue=t,this._value=r?t:ys(t),this.dep.trigger())}}function dS(e){e.dep&&e.dep.trigger()}function C(e){return Ro(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 Ro(o)&&!Ro(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ege(e){return G1(e)?e:new Proxy(e,wTe)}class ATe{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new __,{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 _a(e){const t=qt(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(Oo(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 ao(e,t,n){return Ro(e)?e:Pn(e)?new STe(e):ar(e)&&arguments.length>1?tge(e,t,n):Y(e)}function tge(e,t,n){const r=e[t];return Ro(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 __(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=I3-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Pi!==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 Pn(e)?r=e:(r=e.get,o=e.set),new ETe(r,o,n)}const ux={},nE=new WeakMap;let gg;function TTe(e,t=!1,n=gg){if(n){let r=nE.get(n);r||nE.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:Fu(w)||o===!1||o===0?Ef(w,1):Ef(w);let d,c,f,p,v=!1,h=!1;if(Ro(e)?(c=()=>e.value,v=Fu(e)):G1(e)?(c=()=>u(e),v=!0):qt(e)?(h=!0,v=e.some(w=>G1(w)||Fu(w)),c=()=>e.map(w=>{if(Ro(w))return w.value;if(G1(w))return u(w);if(Pn(w))return l?l(w,2):w()})):Pn(e)?t?c=l?()=>l(e,2):e:c=()=>{if(f){Wf();try{f()}finally{Vf()}}const w=gg;gg=d;try{return l?l(e,3,[p]):e(p)}finally{gg=w}}:c=go,t&&o){const w=c,A=o===!0?1/0:o;c=()=>Ef(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(ux):ux;const b=w=>{if(!(!(d.flags&1)||!d.dirty&&!w))if(t){const A=d.run();if(o||v||(h?A.some((S,k)=>_h(S,m[k])):_h(A,m))){f&&f();const S=gg;gg=d;try{const k=[A,m===ux?void 0:h&&m[0]===ux?[]:m,p];m=A,l?l(t,3,k):t(...k)}finally{gg=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=nE.get(d);if(w){if(l)l(w,4);else for(const A of w)A();nE.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 Ef(e,t=1/0,n){if(t<=0||!ar(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ro(e))Ef(e.value,t,n);else if(qt(e))for(let r=0;r{Ef(r,t,n)});else if(D3(e)){for(const r in e)Ef(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ef(e[r],t,n)}return e}/** * @vue/runtime-core v3.5.18 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function yC(e,t,n,r){try{return r?e(...r):e()}catch(o){O_(o,t,n)}}function Nc(e,t,n,r){if(Pn(e)){const o=yC(e,t,n,r);return o&&Av(o)&&o.catch(i=>{O_(i,t,n)}),o}if(qt(e)){const o=[];for(let i=0;i>>1,o=el[r],i=M3(o);i=M3(n)?el.push(e):el.splice(ITe(t),0,e),e.flags|=1,rge()}}function rge(){rE||(rE=nge.then(ige))}function OTe(e){qt(e)?K1.push(...e):oh&&e.id===-1?oh.splice(S1+1,0,e):e.flags&1||(K1.push(e),e.flags|=1),rge()}function jQ(e,t,n=sd+1){for(;nM3(n)-M3(r));if(K1.length=0,oh){oh.push(...t);return}for(oh=t,S1=0;S1e.id==null?e.flags&2?-1:1/0:e.id;function ige(e){try{for(sd=0;sd{r._d&&nZ(-1);const i=oE(t);let a;try{a=e(...o)}finally{oE(i),r._d&&nZ(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function an(e,t){if(ws===null)return e;const n=L_(ws),r=e.dirs||(e.dirs=[]);for(let o=0;oe.__isTeleport,z4=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 Dn(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=z4(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 k=(I,P)=>{m&16&&(o&&o.isCE&&(o.ce._teleportTarget=I),d(b,I,P,o,i,a,s,l))},O=()=>{const I=t.target=YB(t.props,v),P=cge(I,t,h,p);I&&(a!=="svg"&&WQ(I)?a="svg":a!=="mathml"&&VQ(I)&&(a="mathml"),y||(k(I,P),fS(t,!1)))};y&&(k(n,S),fS(t,!0)),HQ(t.props)?(t.el.__isMounted=!1,Js(()=>{O(),delete t.el.__isMounted},i)):O()}else{if(HQ(t.props)&&e.el.__isMounted===!1){Js(()=>{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,k=t.targetAnchor=e.targetAnchor,O=z4(e.props),I=O?n:S,P=O?A:k;if(a==="svg"||WQ(S)?a="svg":(a==="mathml"||VQ(S))&&(a="mathml"),w?(f(e.dynamicChildren,w,I,o,i,a,s),Vj(e,t,!0)):l||c(e,t,I,P,o,i,a,s,!1),y)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cx(t,n,A,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=YB(t.props,v);M&&cx(t,M,null,u,0)}else O&&cx(t,S,k,u,1);fS(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||!z4(f);for(let v=0;v{e.isMounted=!0}),Yr(()=>{e.isUnmounting=!0}),e}const Cu=[Function,Array],fge={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Cu,onEnter:Cu,onAfterEnter:Cu,onEnterCancelled:Cu,onBeforeLeave:Cu,onLeave:Cu,onAfterLeave:Cu,onLeaveCancelled:Cu,onBeforeAppear:Cu,onAppear:Cu,onAfterAppear:Cu,onAppearCancelled:Cu},pge=e=>{const t=e.subTree;return t.component?pge(t.component):t},PTe={name:"BaseTransition",props:fge,setup(e,{slots:t}){const n=vr(),r=dge();return()=>{const o=t.default&&Uj(t.default(),!0);if(!o||!o.length)return;const i=hge(o),a=Oo(e),{mode:s}=a;if(r.isLeaving)return Z9(i);const l=qQ(i);if(!l)return Z9(i);let u=P3(l,a,r,n,c=>u=c);l.type!==ua&&xv(l,u);let d=n.subTree&&qQ(n.subTree);if(d&&d.type!==ua&&!xg(l,d)&&pge(n).type!==ua){let c=P3(d,a,r,n);if(xv(d,c),s==="out-in"&&l.type!==ua)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!==ua?c.delayLeave=(f,p,v)=>{const h=gge(r,d);h[String(d.key)]=d,f[ih]=()=>{p(),f[ih]=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!==ua){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 P3(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=(I,P)=>{I&&Nc(I,r,9,P)},k=(I,P)=>{const M=P[1];S(I,P),qt(I)?I.every(_=>_.length<=1)&&M():I.length<=1&&M()},O={mode:a,persisted:s,beforeEnter(I){let P=l;if(!n.isMounted)if(i)P=g||l;else return;I[ih]&&I[ih](!0);const M=A[w];M&&xg(e,M)&&M.el[ih]&&M.el[ih](),S(P,[I])},enter(I){let P=u,M=d,_=c;if(!n.isMounted)if(i)P=y||u,M=m||d,_=b||c;else return;let R=!1;const N=I[dx]=V=>{R||(R=!0,V?S(_,[I]):S(M,[I]),O.delayedLeave&&O.delayedLeave(),I[dx]=void 0)};P?k(P,[I,N]):N()},leave(I,P){const M=String(e.key);if(I[dx]&&I[dx](!0),n.isUnmounting)return P();S(f,[I]);let _=!1;const R=I[ih]=N=>{_||(_=!0,P(),N?S(h,[I]):S(v,[I]),I[ih]=void 0,A[M]===e&&delete A[M])};A[M]=e,p?k(p,[I,R]):R()},clone(I){const P=P3(I,t,n,r,o);return o&&o(P),P}};return O}function Z9(e){if(M_(e))return e=qf(e),e.children=null,e}function qQ(e){if(!M_(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&&Pn(n.default))return n.default()}}function xv(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xv(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;i$4(v,t&&(qt(t)?t[h]:t),n,r,o));return}if(Y1(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&$4(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?L_(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=Oo(c),p=c===Ei?()=>!1:v=>Zr(f,v);if(u!=null&&u!==l&&(Dn(u)?(d[u]=null,p(u)&&(c[u]=null)):Ro(u)&&(u.value=null)),Pn(l))yC(l,s,12,[a,d]);else{const v=Dn(l),h=Ro(l);if(v||h){const g=()=>{if(e.f){const y=v?p(l)?c[l]:d[l]:l.value;o?qt(y)&&Dj(y,i):qt(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,Js(g,n)):g()}}}T_().requestIdleCallback;T_().cancelIdleCallback;const Y1=e=>!!e.type.__asyncLoader,M_=e=>e.type.__isKeepAlive;function Sb(e,t){yge(e,"a",t)}function mge(e,t){yge(e,"da",t)}function yge(e,t,n=Ls){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(P_(t,r,n),n){let o=n.parent;for(;o&&o.parent;)M_(o.parent.vnode)&&RTe(r,t,n,o),o=o.parent}}function RTe(e,t,n,r){const o=P_(t,e,r,!0);hl(()=>{Dj(r[t],o)},n)}function P_(e,t,n=Ls,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Wf();const s=bC(n),l=Nc(t,n,e,a);return s(),Vf(),l});return r?o.unshift(i):o.push(i),i}}const fp=e=>(t,n=Ls)=>{(!R3||e==="sp")&&P_(e,(...r)=>t(...r),n)},N_=fp("bm"),jn=fp("m"),zj=fp("bu"),Wc=fp("u"),Yr=fp("bum"),hl=fp("um"),BTe=fp("sp"),LTe=fp("rtg"),FTe=fp("rtc");function UTe(e,t=Ls){P_("ec",e,t)}const $j="components",zTe="directives";function lr(e,t){return jj($j,e,!0,t)||e}const bge=Symbol.for("v-ndc");function hr(e){return Dn(e)?jj($j,e,!1)||e:e||bge}function R_(e){return jj(zTe,e)}function jj(e,t,n=!0,r=!1){const o=ws||Ls;if(o){const i=o.type;if(e===$j){const s=S_e(i,!1);if(s&&(s===t||s===sl(t)||s===mC(sl(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[sl(t)]||e[mC(sl(t))])}function on(e,t,n,r){let o;const i=n,a=qt(e);if(a||Dn(e)){const s=a&&G1(e);let l=!1,u=!1;s&&(l=!Fu(e),u=Jh(e),e=D_(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 pt(e,t,n={},r,o){if(ws.ce||ws.parent&&Y1(ws.parent)&&ws.parent.ce)return t!=="default"&&(n.name=t),F(),mt(Nt,null,[$e("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),F();const a=i&&wge(i(n)),s=n.key||a&&a.key,l=mt(Nt,{key:(s&&!Pc(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=>jo(t)?!(t.type===ua||t.type===Nt&&!wge(t.children)):!0)?e:null}function $Te(e,t){const n={};for(const r in e)n[L4(r)]=e[r];return n}const ZB=e=>e?Uge(e)?L_(e):ZB(e.parent):null,j4=Ja(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=Vt.bind(e.proxy)),$watch:e=>l_e.bind(e)}),X9=(e,t)=>e!==Ei&&!e.__isScriptSetup&&Zr(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&&Zr(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&Zr(u,t))return a[t]=3,i[t];if(n!==Ei&&Zr(n,t))return a[t]=4,n[t];XB&&(a[t]=0)}}const d=j4[t];let c,f;if(d)return t==="$attrs"&&Rs(e.attrs,"get",""),d(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==Ei&&Zr(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Zr(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&&Zr(r,t)?(r[t]=n,!0):Zr(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&&Zr(e,a)||X9(t,a)||(s=i[0])&&Zr(s,a)||Zr(r,a)||Zr(j4,a)||Zr(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Zr(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pa(){return Age().slots}function pp(){return Age().attrs}function Age(e){const t=vr();return t.setupContext||(t.setupContext=$ge(t))}function KQ(e){return qt(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:k,errorCaptured:O,serverPrefetch:I,expose:P,inheritAttrs:M,components:_,directives:R,filters:N}=t;if(u&&WTe(u,r,null),a)for(const j in a){const H=a[j];Pn(H)&&(r[j]=H.bind(n))}if(o){const j=o.call(n,n);ar(j)&&(e.data=Ur(j))}if(XB=!0,i)for(const j in i){const H=i[j],G=Pn(H)?H.bind(n,n):Pn(H.get)?H.get.bind(n,n):go,Z=!Pn(H)&&Pn(H.set)?H.set.bind(n):go,z=ee({get:G,set:Z});Object.defineProperty(r,j,{enumerable:!0,configurable:!0,get:()=>z.value,set:U=>z.value=U})}if(s)for(const j in s)Cge(s[j],r,n,j);if(l){const j=Pn(l)?l.call(n):l;Reflect.ownKeys(j).forEach(H=>{Sr(H,j[H])})}d&&YQ(d,e,"c");function L(j,H){qt(H)?H.forEach(G=>j(G.bind(n))):H&&j(H.bind(n))}if(L(N_,c),L(jn,f),L(zj,p),L(Wc,v),L(Sb,h),L(mge,g),L(UTe,O),L(FTe,S),L(LTe,k),L(Yr,m),L(hl,w),L(BTe,I),qt(P))if(P.length){const j=e.exposed||(e.exposed={});P.forEach(H=>{Object.defineProperty(j,H,{get:()=>n[H],set:G=>n[H]=G,enumerable:!0})})}else e.exposed||(e.exposed={});A&&e.render===go&&(e.render=A),M!=null&&(e.inheritAttrs=M),_&&(e.components=_),R&&(e.directives=R),I&&vge(e)}function WTe(e,t,n=go){qt(e)&&(e=JB(e));for(const r in e){const o=e[r];let i;ar(o)?"default"in o?i=un(o.from||r,o.default,!0):i=un(o.from||r):i=un(o),Ro(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){Nc(qt(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(Dn(e)){const i=t[e];Pn(i)&&Ct(o,i)}else if(Pn(e))Ct(o,e.bind(n));else if(ar(e))if(qt(e))e.forEach(i=>Cge(i,t,n,r));else{const i=Pn(e.handler)?e.handler.bind(n):t[e.handler];Pn(i)&&Ct(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=>iE(l,u,a,!0)),iE(l,t,a)),ar(t)&&i.set(t,l),l}function iE(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&iE(e,i,n,!0),o&&o.forEach(a=>iE(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:v4,computed:v4,beforeCreate:Xs,created:Xs,beforeMount:Xs,mounted:Xs,beforeUpdate:Xs,updated:Xs,beforeDestroy:Xs,beforeUnmount:Xs,destroyed:Xs,unmounted:Xs,activated:Xs,deactivated:Xs,errorCaptured:Xs,serverPrefetch:Xs,components:v4,directives:v4,watch:GTe,provide:QQ,inject:qTe};function QQ(e,t){return t?e?function(){return Ja(Pn(e)?e.call(this,this):e,Pn(t)?t.call(this,this):t)}:t:e}function qTe(e,t){return v4(JB(e),JB(t))}function JB(e){if(qt(e)){const t={};for(let n=0;n1)return n&&Pn(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:I_(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=Oo(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);Ja(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 ar(e)&&r.set(e,V1),V1;if(qt(i))for(let d=0;de==="_"||e==="__"||e==="_ctx"||e==="$stable",Wj=e=>qt(e)?e.map(dd):[dd(e)],JTe=(e,t,n)=>{if(t._n)return t;const r=nt((...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(Pn(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]},Js=g_e;function n_e(e){return r_e(e)}function r_e(e,t){const n=T_();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=go,insertStaticContent:v}=e,h=(ge,_e,Q,be=null,De=null,pe=null,ie=void 0,ce=null,Re=!!_e.dynamicChildren)=>{if(ge===_e)return;ge&&!xg(ge,_e)&&(be=X(ge),U(ge,De,pe,!0),ge=null),_e.patchFlag===-2&&(Re=!1,_e.dynamicChildren=null);const{type:Ee,ref:Le,shapeFlag:Fe}=_e;switch(Ee){case Eb:g(ge,_e,Q,be);break;case ua:y(ge,_e,Q,be);break;case pS:ge==null&&m(_e,Q,be,ie);break;case Nt:_(ge,_e,Q,be,De,pe,ie,ce,Re);break;default:Fe&1?A(ge,_e,Q,be,De,pe,ie,ce,Re):Fe&6?R(ge,_e,Q,be,De,pe,ie,ce,Re):(Fe&64||Fe&128)&&Ee.process(ge,_e,Q,be,De,pe,ie,ce,Re,Me)}Le!=null&&De?$4(Le,ge&&ge.ref,pe,_e||ge,!_e):Le==null&&ge&&ge.ref!=null&&$4(ge.ref,null,pe,ge,!0)},g=(ge,_e,Q,be)=>{if(ge==null)r(_e.el=s(_e.children),Q,be);else{const De=_e.el=ge.el;_e.children!==ge.children&&u(De,_e.children)}},y=(ge,_e,Q,be)=>{ge==null?r(_e.el=l(_e.children||""),Q,be):_e.el=ge.el},m=(ge,_e,Q,be)=>{[ge.el,ge.anchor]=v(ge.children,_e,Q,be,ge.el,ge.anchor)},b=({el:ge,anchor:_e},Q,be)=>{let De;for(;ge&&ge!==_e;)De=f(ge),r(ge,Q,be),ge=De;r(_e,Q,be)},w=({el:ge,anchor:_e})=>{let Q;for(;ge&&ge!==_e;)Q=f(ge),o(ge),ge=Q;o(_e)},A=(ge,_e,Q,be,De,pe,ie,ce,Re)=>{_e.type==="svg"?ie="svg":_e.type==="math"&&(ie="mathml"),ge==null?S(_e,Q,be,De,pe,ie,ce,Re):I(ge,_e,De,pe,ie,ce,Re)},S=(ge,_e,Q,be,De,pe,ie,ce)=>{let Re,Ee;const{props:Le,shapeFlag:Fe,transition:Pe,dirs:Ne}=ge;if(Re=ge.el=a(ge.type,pe,Le&&Le.is,Le),Fe&8?d(Re,ge.children):Fe&16&&O(ge.children,Re,null,be,De,J9(ge,pe),ie,ce),Ne&&j0(ge,null,be,"created"),k(Re,ge,ge.scopeId,ie,be),Le){for(const Rt in Le)Rt!=="value"&&!B4(Rt)&&i(Re,Rt,null,Le[Rt],pe,be);"value"in Le&&i(Re,"value",null,Le.value,pe),(Ee=Le.onVnodeBeforeMount)&&ed(Ee,be,ge)}Ne&&j0(ge,null,be,"beforeMount");const ht=o_e(De,Pe);ht&&Pe.beforeEnter(Re),r(Re,_e,Q),((Ee=Le&&Le.onVnodeMounted)||ht||Ne)&&Js(()=>{Ee&&ed(Ee,be,ge),ht&&Pe.enter(Re),Ne&&j0(ge,null,be,"mounted")},De)},k=(ge,_e,Q,be,De)=>{if(Q&&p(ge,Q),be)for(let pe=0;pe{for(let Ee=Re;Ee{const ce=_e.el=ge.el;let{patchFlag:Re,dynamicChildren:Ee,dirs:Le}=_e;Re|=ge.patchFlag&16;const Fe=ge.props||Ei,Pe=_e.props||Ei;let Ne;if(Q&&H0(Q,!1),(Ne=Pe.onVnodeBeforeUpdate)&&ed(Ne,Q,_e,ge),Le&&j0(_e,ge,Q,"beforeUpdate"),Q&&H0(Q,!0),(Fe.innerHTML&&Pe.innerHTML==null||Fe.textContent&&Pe.textContent==null)&&d(ce,""),Ee?P(ge.dynamicChildren,Ee,ce,Q,be,J9(_e,De),pe):ie||H(ge,_e,ce,null,Q,be,J9(_e,De),pe,!1),Re>0){if(Re&16)M(ce,Fe,Pe,Q,De);else if(Re&2&&Fe.class!==Pe.class&&i(ce,"class",null,Pe.class,De),Re&4&&i(ce,"style",Fe.style,Pe.style,De),Re&8){const ht=_e.dynamicProps;for(let Rt=0;Rt{Ne&&ed(Ne,Q,_e,ge),Le&&j0(_e,ge,Q,"updated")},be)},P=(ge,_e,Q,be,De,pe,ie)=>{for(let ce=0;ce<_e.length;ce++){const Re=ge[ce],Ee=_e[ce],Le=Re.el&&(Re.type===Nt||!xg(Re,Ee)||Re.shapeFlag&198)?c(Re.el):Q;h(Re,Ee,Le,null,be,De,pe,ie,!0)}},M=(ge,_e,Q,be,De)=>{if(_e!==Q){if(_e!==Ei)for(const pe in _e)!B4(pe)&&!(pe in Q)&&i(ge,pe,_e[pe],null,De,be);for(const pe in Q){if(B4(pe))continue;const ie=Q[pe],ce=_e[pe];ie!==ce&&pe!=="value"&&i(ge,pe,ce,ie,De,be)}"value"in Q&&i(ge,"value",_e.value,Q.value,De)}},_=(ge,_e,Q,be,De,pe,ie,ce,Re)=>{const Ee=_e.el=ge?ge.el:s(""),Le=_e.anchor=ge?ge.anchor:s("");let{patchFlag:Fe,dynamicChildren:Pe,slotScopeIds:Ne}=_e;Ne&&(ce=ce?ce.concat(Ne):Ne),ge==null?(r(Ee,Q,be),r(Le,Q,be),O(_e.children||[],Q,Le,De,pe,ie,ce,Re)):Fe>0&&Fe&64&&Pe&&ge.dynamicChildren?(P(ge.dynamicChildren,Pe,Q,De,pe,ie,ce),(_e.key!=null||De&&_e===De.subTree)&&Vj(ge,_e,!0)):H(ge,_e,Q,Le,De,pe,ie,ce,Re)},R=(ge,_e,Q,be,De,pe,ie,ce,Re)=>{_e.slotScopeIds=ce,ge==null?_e.shapeFlag&512?De.ctx.activate(_e,Q,be,ie,Re):N(_e,Q,be,De,pe,ie,Re):V(ge,_e,Re)},N=(ge,_e,Q,be,De,pe,ie)=>{const ce=ge.component=w_e(ge,be,De);if(M_(ge)&&(ce.ctx.renderer=Me),A_e(ce,!1,ie),ce.asyncDep){if(De&&De.registerDep(ce,L,ie),!ge.el){const Re=ce.subTree=$e(ua);y(null,Re,_e,Q),ge.placeholder=Re.el}}else L(ce,ge,_e,Q,De,pe,ie)},V=(ge,_e,Q)=>{const be=_e.component=ge.component;if(p_e(ge,_e,Q))if(be.asyncDep&&!be.asyncResolved){j(be,_e,Q);return}else be.next=_e,be.update();else _e.el=ge.el,be.vnode=_e},L=(ge,_e,Q,be,De,pe,ie)=>{const ce=()=>{if(ge.isMounted){let{next:Fe,bu:Pe,u:Ne,parent:ht,vnode:Rt}=ge;{const dt=Pge(ge);if(dt){Fe&&(Fe.el=Rt.el,j(ge,Fe,ie)),dt.asyncDep.then(()=>{ge.isUnmounted||ce()});return}}let Lt=Fe,tn;H0(ge,!1),Fe?(Fe.el=Rt.el,j(ge,Fe,ie)):Fe=Rt,Pe&&cS(Pe),(tn=Fe.props&&Fe.props.onVnodeBeforeUpdate)&&ed(tn,ht,Fe,Rt),H0(ge,!0);const Wt=eZ(ge),zt=ge.subTree;ge.subTree=Wt,h(zt,Wt,c(zt.el),X(zt),ge,De,pe),Fe.el=Wt.el,Lt===null&&h_e(ge,Wt.el),Ne&&Js(Ne,De),(tn=Fe.props&&Fe.props.onVnodeUpdated)&&Js(()=>ed(tn,ht,Fe,Rt),De)}else{let Fe;const{el:Pe,props:Ne}=_e,{bm:ht,m:Rt,parent:Lt,root:tn,type:Wt}=ge,zt=Y1(_e);H0(ge,!1),ht&&cS(ht),!zt&&(Fe=Ne&&Ne.onVnodeBeforeMount)&&ed(Fe,Lt,_e),H0(ge,!0);{tn.ce&&tn.ce._def.shadowRoot!==!1&&tn.ce._injectChildStyle(Wt);const dt=ge.subTree=eZ(ge);h(null,dt,Q,be,ge,De,pe),_e.el=dt.el}if(Rt&&Js(Rt,De),!zt&&(Fe=Ne&&Ne.onVnodeMounted)){const dt=_e;Js(()=>ed(Fe,Lt,dt),De)}(_e.shapeFlag&256||Lt&&Y1(Lt.vnode)&&Lt.vnode.shapeFlag&256)&&ge.a&&Js(ge.a,De),ge.isMounted=!0,_e=Q=be=null}};ge.scope.on();const Re=ge.effect=new U0e(ce);ge.scope.off();const Ee=ge.update=Re.run.bind(Re),Le=ge.job=Re.runIfDirty.bind(Re);Le.i=ge,Le.id=ge.uid,Re.scheduler=()=>Fj(Le),H0(ge,!0),Ee()},j=(ge,_e,Q)=>{_e.component=ge;const be=ge.vnode.props;ge.vnode=_e,ge.next=null,ZTe(ge,_e.props,be,Q),t_e(ge,_e.children,Q),Wf(),jQ(ge),Vf()},H=(ge,_e,Q,be,De,pe,ie,ce,Re=!1)=>{const Ee=ge&&ge.children,Le=ge?ge.shapeFlag:0,Fe=_e.children,{patchFlag:Pe,shapeFlag:Ne}=_e;if(Pe>0){if(Pe&128){Z(Ee,Fe,Q,be,De,pe,ie,ce,Re);return}else if(Pe&256){G(Ee,Fe,Q,be,De,pe,ie,ce,Re);return}}Ne&8?(Le&16&&te(Ee,De,pe),Fe!==Ee&&d(Q,Fe)):Le&16?Ne&16?Z(Ee,Fe,Q,be,De,pe,ie,ce,Re):te(Ee,De,pe,!0):(Le&8&&d(Q,""),Ne&16&&O(Fe,Q,be,De,pe,ie,ce,Re))},G=(ge,_e,Q,be,De,pe,ie,ce,Re)=>{ge=ge||V1,_e=_e||V1;const Ee=ge.length,Le=_e.length,Fe=Math.min(Ee,Le);let Pe;for(Pe=0;PeLe?te(ge,De,pe,!0,!1,Fe):O(_e,Q,be,De,pe,ie,ce,Re,Fe)},Z=(ge,_e,Q,be,De,pe,ie,ce,Re)=>{let Ee=0;const Le=_e.length;let Fe=ge.length-1,Pe=Le-1;for(;Ee<=Fe&&Ee<=Pe;){const Ne=ge[Ee],ht=_e[Ee]=Re?ah(_e[Ee]):dd(_e[Ee]);if(xg(Ne,ht))h(Ne,ht,Q,null,De,pe,ie,ce,Re);else break;Ee++}for(;Ee<=Fe&&Ee<=Pe;){const Ne=ge[Fe],ht=_e[Pe]=Re?ah(_e[Pe]):dd(_e[Pe]);if(xg(Ne,ht))h(Ne,ht,Q,null,De,pe,ie,ce,Re);else break;Fe--,Pe--}if(Ee>Fe){if(Ee<=Pe){const Ne=Pe+1,ht=NePe)for(;Ee<=Fe;)U(ge[Ee],De,pe,!0),Ee++;else{const Ne=Ee,ht=Ee,Rt=new Map;for(Ee=ht;Ee<=Pe;Ee++){const rt=_e[Ee]=Re?ah(_e[Ee]):dd(_e[Ee]);rt.key!=null&&Rt.set(rt.key,Ee)}let Lt,tn=0;const Wt=Pe-ht+1;let zt=!1,dt=0;const _t=new Array(Wt);for(Ee=0;Ee=Wt){U(rt,De,pe,!0);continue}let he;if(rt.key!=null)he=Rt.get(rt.key);else for(Lt=ht;Lt<=Pe;Lt++)if(_t[Lt-ht]===0&&xg(rt,_e[Lt])){he=Lt;break}he===void 0?U(rt,De,pe,!0):(_t[he-ht]=Ee+1,he>=dt?dt=he:zt=!0,h(rt,_e[he],Q,null,De,pe,ie,ce,Re),tn++)}const ut=zt?i_e(_t):V1;for(Lt=ut.length-1,Ee=Wt-1;Ee>=0;Ee--){const rt=ht+Ee,he=_e[rt],Je=_e[rt+1],ct=rt+1{const{el:pe,type:ie,transition:ce,children:Re,shapeFlag:Ee}=ge;if(Ee&6){z(ge.component.subTree,_e,Q,be);return}if(Ee&128){ge.suspense.move(_e,Q,be);return}if(Ee&64){ie.move(ge,_e,Q,Me);return}if(ie===Nt){r(pe,_e,Q);for(let Fe=0;Fece.enter(pe),De);else{const{leave:Fe,delayLeave:Pe,afterLeave:Ne}=ce,ht=()=>{ge.ctx.isUnmounted?o(pe):r(pe,_e,Q)},Rt=()=>{Fe(pe,()=>{ht(),Ne&&Ne()})};Pe?Pe(pe,ht,Rt):Rt()}else r(pe,_e,Q)},U=(ge,_e,Q,be=!1,De=!1)=>{const{type:pe,props:ie,ref:ce,children:Re,dynamicChildren:Ee,shapeFlag:Le,patchFlag:Fe,dirs:Pe,cacheIndex:Ne}=ge;if(Fe===-2&&(De=!1),ce!=null&&(Wf(),$4(ce,null,Q,ge,!0),Vf()),Ne!=null&&(_e.renderCache[Ne]=void 0),Le&256){_e.ctx.deactivate(ge);return}const ht=Le&1&&Pe,Rt=!Y1(ge);let Lt;if(Rt&&(Lt=ie&&ie.onVnodeBeforeUnmount)&&ed(Lt,_e,ge),Le&6)J(ge.component,Q,be);else{if(Le&128){ge.suspense.unmount(Q,be);return}ht&&j0(ge,null,_e,"beforeUnmount"),Le&64?ge.type.remove(ge,_e,Q,Me,be):Ee&&!Ee.hasOnce&&(pe!==Nt||Fe>0&&Fe&64)?te(Ee,_e,Q,!1,!0):(pe===Nt&&Fe&384||!De&&Le&16)&&te(Re,_e,Q),be&&W(ge)}(Rt&&(Lt=ie&&ie.onVnodeUnmounted)||ht)&&Js(()=>{Lt&&ed(Lt,_e,ge),ht&&j0(ge,null,_e,"unmounted")},Q)},W=ge=>{const{type:_e,el:Q,anchor:be,transition:De}=ge;if(_e===Nt){re(Q,be);return}if(_e===pS){w(ge);return}const pe=()=>{o(Q),De&&!De.persisted&&De.afterLeave&&De.afterLeave()};if(ge.shapeFlag&1&&De&&!De.persisted){const{leave:ie,delayLeave:ce}=De,Re=()=>ie(Q,pe);ce?ce(ge.el,pe,Re):Re()}else pe()},re=(ge,_e)=>{let Q;for(;ge!==_e;)Q=f(ge),o(ge),ge=Q;o(_e)},J=(ge,_e,Q)=>{const{bum:be,scope:De,job:pe,subTree:ie,um:ce,m:Re,a:Ee,parent:Le,slots:{__:Fe}}=ge;JQ(Re),JQ(Ee),be&&cS(be),Le&&qt(Fe)&&Fe.forEach(Pe=>{Le.renderCache[Pe]=void 0}),De.stop(),pe&&(pe.flags|=8,U(ie,ge,_e,Q)),ce&&Js(ce,_e),Js(()=>{ge.isUnmounted=!0},_e),_e&&_e.pendingBranch&&!_e.isUnmounted&&ge.asyncDep&&!ge.asyncResolved&&ge.suspenseId===_e.pendingId&&(_e.deps--,_e.deps===0&&_e.resolve())},te=(ge,_e,Q,be=!1,De=!1,pe=0)=>{for(let ie=pe;ie{if(ge.shapeFlag&6)return X(ge.component.subTree);if(ge.shapeFlag&128)return ge.suspense.next();const _e=f(ge.anchor||ge.el),Q=_e&&_e[sge];return Q?f(Q):_e};let ue=!1;const me=(ge,_e,Q)=>{ge==null?_e._vnode&&U(_e._vnode,null,null,!0):h(_e._vnode||null,ge,_e,null,null,null,Q),_e._vnode=ge,ue||(ue=!0,jQ(),oge(),ue=!1)},Me={p:h,um:U,m:z,r:W,mt:N,mc:O,pc:H,pbc:P,n:X,o:e};return{render:me,hydrate:void 0,createApp:YTe(me)}}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 H0({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(qt(r)&&qt(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;tun(a_e);function Cs(e,t){return qj(e,null,t)}function Ct(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=Ja({},n),l=t&&r||!t&&i!=="post";let u;if(R3){if(i==="sync"){const p=s_e();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=go,p.resume=go,p.pause=go,p}}const d=Ls;s.call=(p,v,h)=>Nc(p,d,v,h);let c=!1;i==="post"?s.scheduler=p=>{Js(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 R3&&(u?u.push(f):l&&f()),f}function l_e(e,t,n){const r=this.proxy,o=Dn(e)?e.includes(".")?Nge(r,e):()=>r[e]:e.bind(r,r);let i;Pn(t)?i=t:(i=t.handler,n=t);const a=bC(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[`${sl(t)}Modifiers`]||e[`${dp(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=>Dn(d)?d.trim():d)),a.number&&(o=n.map(J8)));let s,l=r[s=L4(t)]||r[s=L4(sl(t))];!l&&i&&(l=r[s=L4(dp(t))]),l&&Nc(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,Nc(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(!Pn(e)){const l=u=>{const d=Rge(u,t,!0);d&&(s=!0,Ja(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(ar(e)&&r.set(e,null),null):(qt(i)?i.forEach(l=>a[l]=null):Ja(a,i),ar(e)&&r.set(e,a),a)}function B_(e,t){return!e||!E_(t)?!1:(t=t.slice(2).replace(/Once$/,""),Zr(e,t[0].toLowerCase()+t.slice(1))||Zr(e,dp(t))||Zr(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=oE(e);let y,m;try{if(n.shapeFlag&4){const w=o||r,A=w;y=dd(u.call(A,w,d,c,p,f,v)),m=s}else{const w=t;y=dd(w.length>1?w(c,{attrs:s,slots:a,emit:l}):w(c,null)),m=t.props?s:d_e(s)}}catch(w){H4.length=0,O_(w,e,1),y=$e(ua)}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=qf(b,m,!1,!0))}return n.dirs&&(b=qf(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&xv(b,n.transition),y=b,oE(g),y}const d_e=e=>{let t;for(const n in e)(n==="class"||n==="style"||E_(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?qt(e)?t.effects.push(...e):t.effects.push(e):OTe(e)}const Nt=Symbol.for("v-fgt"),Eb=Symbol.for("v-txt"),ua=Symbol.for("v-cmt"),pS=Symbol.for("v-stc"),H4=[];let nu=null;function F(e=!1){H4.push(nu=e?null:[])}function v_e(){H4.pop(),nu=H4[H4.length-1]||null}let N3=1;function nZ(e,t=!1){N3+=e,e<0&&nu&&t&&(nu.hasOnce=!0)}function Lge(e){return e.dynamicChildren=N3>0?nu||V1:null,v_e(),N3>0&&nu&&nu.push(e),e}function K(e,t,n,r,o,i){return Lge(x(e,t,n,r,o,i,!0))}function mt(e,t,n,r,o){return Lge($e(e,t,n,r,o,!0))}function jo(e){return e?e.__v_isVNode===!0:!1}function xg(e,t){return e.type===t.type&&e.key===t.key}const Fge=({key:e})=>e??null,hS=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Dn(e)||Ro(e)||Pn(e)?{i:ws,r:e,k:t,f:!!n}:e:null);function x(e,t=null,n=null,r=0,o=null,i=e===Nt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fge(t),ref:t&&hS(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:ws};return s?(Gj(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Dn(n)?8:16),N3>0&&!a&&nu&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&nu.push(l),l}const $e=m_e;function m_e(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===bge)&&(e=ua),jo(e)){const s=qf(e,t,!0);return n&&Gj(s,n),N3>0&&!i&&nu&&(s.shapeFlag&6?nu[nu.indexOf(e)]=s:nu.push(s)),s.patchFlag=-2,s}if(E_e(e)&&(e=e.__vccOpts),t){t=Bd(t);let{class:s,style:l}=t;s&&!Dn(s)&&(t.class=oe(s)),ar(l)&&(Lj(l)&&!qt(l)&&(l=Ja({},l)),t.style=Jt(l))}const a=Dn(e)?1:Bge(e)?128:lge(e)?64:ar(e)?4:Pn(e)?2:0;return x(e,t,n,r,o,a,i,!0)}function Bd(e){return e?Lj(e)||Tge(e)?Ja({},e):e:null}function qf(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:a,children:s,transition:l}=e,u=t?pr(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?qt(i)?i.concat(hS(t)):[i,hS(t)]:hS(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!==Nt?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&&qf(e.ssContent),ssFallback:e.ssFallback&&qf(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&xv(d,l.clone(d)),d}function An(e=" ",t=0){return $e(Eb,null,e,t)}function ki(e,t){const n=$e(pS,null,e);return n.staticCount=t,n}function xe(e="",t=!1){return t?(F(),mt(ua,null,e)):$e(ua,null,e)}function dd(e){return e==null||typeof e=="boolean"?$e(ua):qt(e)?$e(Nt,null,e.slice()):jo(e)?ah(e):$e(Eb,null,String(e))}function ah(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qf(e)}function Gj(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(qt(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=ws:o===3&&ws&&(ws.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Pn(t)?(t={default:t,_ctx:ws},n=32):(t=String(t),r&64?(n=16,t=[An(t)]):n=8);e.children=t,e.shapeFlag|=n}function pr(...e){const t={};for(let n=0;nLs||ws;let aE,tL;{const e=T_(),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)}};aE=t("__VUE_INSTANCE_SETTERS__",n=>Ls=n),tL=t("__VUE_SSR_SETTERS__",n=>R3=n)}const bC=e=>{const t=Ls;return aE(e),e.scope.on(),()=>{e.scope.off(),aE(t)}},rZ=()=>{Ls&&Ls.scope.off(),aE(null)};function Uge(e){return e.vnode.shapeFlag&4}let R3=!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){Wf();const o=e.setupContext=r.length>1?$ge(e):null,i=bC(e),a=yC(r,e,0,[e.props,o]),s=Av(a);if(Vf(),i(),(s||e.sp)&&!Y1(e)&&vge(e),s){if(a.then(rZ,rZ),t)return a.then(l=>{oZ(e,l)}).catch(l=>{O_(l,e,0)});e.asyncDep=a}else oZ(e,a)}else zge(e)}function oZ(e,t,n){Pn(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ar(t)&&(e.setupState=ege(t)),zge(e)}function zge(e,t,n){const r=e.type;e.render||(e.render=r.render||go);{const o=bC(e);Wf();try{HTe(e)}finally{Vf(),o()}}}const x_e={get(e,t){return Rs(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 L_(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ege(Id(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in j4)return j4[n](e)},has(t,n){return n in t||n in j4}})):e.proxy}function S_e(e,t=!0){return Pn(e)?e.displayName||e.name:e.name||t&&e.__name}function E_e(e){return Pn(e)&&"__vccOpts"in e}const ee=(e,t)=>kTe(e,t,R3);function Fn(e,t,n){const r=arguments.length;return r===2?ar(t)&&!qt(t)?jo(t)?$e(e,null,[t]):$e(e,t):$e(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&jo(n)&&(n=[n]),$e(e,t,n))}const k_e="3.5.18",T_e=go;/** * @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",yf=typeof document<"u"?document:null,aZ=yf&&yf.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"?yf.createElementNS(__e,e):t==="mathml"?yf.createElementNS(D_e,e):n?yf.createElement(e,{is:n}):yf.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>yf.createTextNode(e),createComment:e=>yf.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yf.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]}},_p="transition",A2="animation",Cy=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=Ja({},fge,Hge),O_e=e=>(e.displayName="Transition",e.props=Wge,e),Wi=O_e((e,{slots:t})=>Fn(NTe,Vge(e),t)),W0=(e,t=[])=>{qt(e)?e.forEach(n=>n(...t)):e&&e(...t)},sZ=e=>e?qt(e)?e.some(t=>t.length>1):e.length>1:!1;function Vge(e){const t={};for(const _ in e)_ in Hge||(t[_]=e[_]);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:k=m,onAppearCancelled:O=b}=t,I=(_,R,N,V)=>{_._enterCancelled=V,th(_,R?d:s),th(_,R?u:a),N&&N()},P=(_,R)=>{_._isLeaving=!1,th(_,c),th(_,p),th(_,f),R&&R()},M=_=>(R,N)=>{const V=_?k:m,L=()=>I(R,_,N);W0(V,[R,L]),lZ(()=>{th(R,_?l:i),od(R,_?d:s),sZ(V)||uZ(R,r,h,L)})};return Ja(t,{onBeforeEnter(_){W0(y,[_]),od(_,i),od(_,a)},onBeforeAppear(_){W0(S,[_]),od(_,l),od(_,u)},onEnter:M(!1),onAppear:M(!0),onLeave(_,R){_._isLeaving=!0;const N=()=>P(_,R);od(_,c),_._enterCancelled?(od(_,f),rL()):(rL(),od(_,f)),lZ(()=>{_._isLeaving&&(th(_,c),od(_,p),sZ(w)||uZ(_,r,g,N))}),W0(w,[_,N])},onEnterCancelled(_){I(_,!1,void 0,!0),W0(b,[_])},onAppearCancelled(_){I(_,!0,void 0,!0),W0(O,[_])},onLeaveCancelled(_){P(_),W0(A,[_])}})}function M_e(e){if(e==null)return null;if(ar(e))return[eI(e.enter),eI(e.leave)];{const t=eI(e);return[t,t]}}function eI(e){return qke(e)}function od(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Cy]||(e[Cy]=new Set)).add(t)}function th(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Cy];n&&(n.delete(t),n.size||(e[Cy]=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(`${_p}Delay`),i=r(`${_p}Duration`),a=cZ(o,i),s=r(`${A2}Delay`),l=r(`${A2}Duration`),u=cZ(s,l);let d=null,c=0,f=0;t===_p?a>0&&(d=_p,c=a,f=i.length):t===A2?u>0&&(d=A2,c=u,f=l.length):(c=Math.max(a,u),d=c>0?a>u?_p:A2:null,f=d?d===_p?i.length:l.length:0);const p=d===_p&&/\b(transform|all)(,|$)/.test(r(`${_p}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[Cy];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const sE=Symbol("_vod"),Gge=Symbol("_vsh"),Ar={beforeMount(e,{value:t},{transition:n}){e[sE]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):C2(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),C2(e,!0),r.enter(e)):r.leave(e,()=>{C2(e,!1)}):C2(e,t))},beforeUnmount(e,{value:t}){C2(e,t)}};function C2(e,t){e.style.display=t?e[sE]:"none",e[Gge]=!t}const R_e=Symbol(""),B_e=/(^|;)\s*display\s*:/;function L_e(e,t,n){const r=e.style,o=Dn(n);let i=!1;if(n&&!o){if(t)if(Dn(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&gS(r,s,"")}else for(const a in t)n[a]==null&&gS(r,a,"");for(const a in n)a==="display"&&(i=!0),gS(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");sE in e&&(e[sE]=i?r.display:"",e[Gge]&&(r.display="none"))}const fZ=/\s*!important$/;function gS(e,t,n){if(qt(n))n.forEach(r=>gS(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(dp(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=sl(t);if(r!=="filter"&&r in e)return tI[t]=r;r=mC(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;Nc(V_e(r,n.value),t,5,[r])};return n.value=e,n.attached=H_e(),n}function V_e(e,t){if(qt(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):E_(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)||!Dn(r))?vZ(e,sl(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)&&Pn(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)&&Dn(n)?!1:t in e}const Kge=new WeakMap,Yge=new WeakMap,lE=Symbol("_moveCb"),wZ=Symbol("_enterCb"),K_e=e=>(delete e.props.mode,e),Y_e=K_e({name:"TransitionGroup",props:Ja({},Wge,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vr(),r=dge();let o,i;return Wc(()=>{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;od(u,a),d.transform=d.webkitTransform=d.transitionDuration="";const c=u[lE]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",c),u[lE]=null,th(u,a))};u.addEventListener("transitionend",c)}),o=[]}),()=>{const a=Oo(e),s=Vge(a);let l=a.tag||Nt;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 e0=e=>{const t=e.props["onUpdate:modelValue"]||!1;return qt(t)?n=>cS(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 Uu=Symbol("_assign"),jr={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Uu]=e0(o);const i=r||o.props&&o.props.type==="number";kf(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=J8(s)),e[Uu](s)}),n&&kf(e,"change",()=>{e.value=e.value.trim()}),t||(kf(e,"compositionstart",eDe),kf(e,"compositionend",AZ),kf(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[Uu]=e0(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?J8(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))}},uE={deep:!0,created(e,t,n){e[Uu]=e0(n),kf(e,"change",()=>{const r=e._modelValue,o=xy(e),i=e.checked,a=e[Uu];if(qt(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(Cb(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[Uu]=e0(n),CZ(e,t,n)}};function CZ(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(qt(t))o=Oj(t,r.props.value)>-1;else if(Cb(t))o=t.has(r.props.value);else{if(t===n)return;o=Cv(t,Xge(e,!0))}e.checked!==o&&(e.checked=o)}const Zge={created(e,{value:t},n){e.checked=Cv(t,n.props.value),e[Uu]=e0(n),kf(e,"change",()=>{e[Uu](xy(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Uu]=e0(r),t!==n&&(e.checked=Cv(t,r.props.value))}},x2={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Cb(t);kf(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?J8(xy(a)):xy(a));e[Uu](e.multiple?o?new Set(i):i:i[0]),e._assigning=!0,Vt(()=>{e._assigning=!1})}),e[Uu]=e0(r)},mounted(e,{value:t}){xZ(e,t)},beforeUpdate(e,t,n){e[Uu]=e0(n)},updated(e,{value:t}){e._assigning||xZ(e,t)}};function xZ(e,t){const n=e.multiple,r=qt(t);if(!(n&&!r&&!Cb(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(Cv(xy(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function xy(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))},Qt=(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=dp(o.key);if(t.some(a=>a===i||rDe[a]===i))return e(o)})},oDe=Ja({patchProp:q_e},I_e);let SZ;function Jge(){return SZ||(SZ=n_e(oDe))}const t0=(...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;!Pn(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 Dn(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(()=>Y({}));let n=[],r=[];const o=Id({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 E1=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]=Rc(o)?o.map(e):e(o)}return n}const W4=()=>{},Rc=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 B3(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:B3(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&&Sy(t.matched[r],n.matched[o])&&sve(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Sy(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 Rc(e)?TZ(e,t):Rc(t)?TZ(t,e):e===t}function TZ(e,t){return Rc(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 Dp={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var L3;(function(e){e.pop="pop",e.push="push"})(L3||(L3={}));var V4;(function(e){e.back="back",e.forward="forward",e.unknown=""})(V4||(V4={}));function DDe(e){if(!e)if(E1){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 F_=()=>({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:L3.pop,direction:g?g>0?V4.forward:V4.back:V4.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:F_()}),"")}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?F_():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:F_()});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 Ey(e,t){return si(new Error,{type:e,[cve]:!0},t)}function sf(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)}:W4}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 Ey(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 Ey(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]=Rc(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const r7e=Symbol(""),FZ=Symbol(""),U_=Symbol(""),Yj=Symbol(""),aL=Symbol("");function S2(){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 sh(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(Ey(4,{from:n,to:t})):f instanceof Error?l(f):$De(f)?l(Ey(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(sh(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&&sh(p,n,r,a,s,o)()}))}}return i}function UZ(e){const t=un(U_),n=un(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(Sy.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(Sy.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(W4);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=et({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=Ur(UZ(e)),{options:r}=un(U_),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:Fn("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(!Rc(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=et({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=un(aL),o=ee(()=>e.route||r.value),i=un(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]);Sr(FZ,ee(()=>a.value+1)),Sr(r7e,s),Sr(aL,o);const l=Y();return Ct(()=>[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||!Sy(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=Fn(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=S2(),a=S2(),s=S2(),l=Uo(Dp);let u=Dp;E1&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=rI.bind(null,X=>""+X),c=rI.bind(null,CDe),f=rI.bind(null,B3);function p(X,ue){let me,Me;return uve(X)?(me=t.getRecordMatcher(X),Me=ue):Me=X,t.addRoute(Me,me)}function v(X){const ue=t.getRecordMatcher(X);ue&&t.removeRoute(ue)}function h(){return t.getRoutes().map(X=>X.record)}function g(X){return!!t.getRecordMatcher(X)}function y(X,ue){if(ue=si({},ue||l.value),typeof X=="string"){const Q=oI(n,X,ue.path),be=t.resolve({path:Q.path},ue),De=o.createHref(Q.fullPath);return si(Q,be,{params:f(be.params),hash:B3(Q.hash),redirectedFrom:void 0,href:De})}let me;if(X.path!=null)me=si({},X,{path:oI(n,X.path,ue.path).path});else{const Q=si({},X.params);for(const be in Q)Q[be]==null&&delete Q[be];me=si({},X,{params:c(Q)}),ue.params=c(ue.params)}const Me=t.resolve(me,ue),Ae=X.hash||"";Me.params=d(f(Me.params));const ge=EDe(r,si({},X,{hash:bDe(Ae),path:Me.path})),_e=o.createHref(ge);return si({fullPath:ge,hash:Ae,query:r===LZ?n7e(X.query):X.query||{}},Me,{redirectedFrom:void 0,href:_e})}function m(X){return typeof X=="string"?oI(n,X,l.value.path):si({},X)}function b(X,ue){if(u!==X)return Ey(8,{from:ue,to:X})}function w(X){return k(X)}function A(X){return w(si(m(X),{replace:!0}))}function S(X){const ue=X.matched[X.matched.length-1];if(ue&&ue.redirect){const{redirect:me}=ue;let Me=typeof me=="function"?me(X):me;return typeof Me=="string"&&(Me=Me.includes("?")||Me.includes("#")?Me=m(Me):{path:Me},Me.params={}),si({query:X.query,hash:X.hash,params:Me.path!=null?{}:X.params},Me)}}function k(X,ue){const me=u=y(X),Me=l.value,Ae=X.state,ge=X.force,_e=X.replace===!0,Q=S(me);if(Q)return k(si(m(Q),{state:typeof Q=="object"?si({},Ae,Q.state):Ae,force:ge,replace:_e}),ue||me);const be=me;be.redirectedFrom=ue;let De;return!ge&&kDe(r,Me,me)&&(De=Ey(16,{to:be,from:Me}),z(Me,Me,!0,!1)),(De?Promise.resolve(De):P(be,Me)).catch(pe=>sf(pe)?sf(pe,2)?pe:Z(pe):H(pe,be,Me)).then(pe=>{if(pe){if(sf(pe,2))return k(si({replace:_e},m(pe.to),{state:typeof pe.to=="object"?si({},Ae,pe.to.state):Ae,force:ge}),ue||be)}else pe=_(be,Me,!0,_e,Ae);return M(be,Me,pe),pe})}function O(X,ue){const me=b(X,ue);return me?Promise.reject(me):Promise.resolve()}function I(X){const ue=re.values().next().value;return ue&&typeof ue.runWithContext=="function"?ue.runWithContext(X):X()}function P(X,ue){let me;const[Me,Ae,ge]=d7e(X,ue);me=iI(Me.reverse(),"beforeRouteLeave",X,ue);for(const Q of Me)Q.leaveGuards.forEach(be=>{me.push(sh(be,X,ue))});const _e=O.bind(null,X,ue);return me.push(_e),te(me).then(()=>{me=[];for(const Q of i.list())me.push(sh(Q,X,ue));return me.push(_e),te(me)}).then(()=>{me=iI(Ae,"beforeRouteUpdate",X,ue);for(const Q of Ae)Q.updateGuards.forEach(be=>{me.push(sh(be,X,ue))});return me.push(_e),te(me)}).then(()=>{me=[];for(const Q of ge)if(Q.beforeEnter)if(Rc(Q.beforeEnter))for(const be of Q.beforeEnter)me.push(sh(be,X,ue));else me.push(sh(Q.beforeEnter,X,ue));return me.push(_e),te(me)}).then(()=>(X.matched.forEach(Q=>Q.enterCallbacks={}),me=iI(ge,"beforeRouteEnter",X,ue,I),me.push(_e),te(me))).then(()=>{me=[];for(const Q of a.list())me.push(sh(Q,X,ue));return me.push(_e),te(me)}).catch(Q=>sf(Q,8)?Q:Promise.reject(Q))}function M(X,ue,me){s.list().forEach(Me=>I(()=>Me(X,ue,me)))}function _(X,ue,me,Me,Ae){const ge=b(X,ue);if(ge)return ge;const _e=ue===Dp,Q=E1?history.state:{};me&&(Me||_e?o.replace(X.fullPath,si({scroll:_e&&Q&&Q.scroll},Ae)):o.push(X.fullPath,Ae)),l.value=X,z(X,ue,me,_e),Z()}let R;function N(){R||(R=o.listen((X,ue,me)=>{if(!J.listening)return;const Me=y(X),Ae=S(Me);if(Ae){k(si(Ae,{replace:!0,force:!0}),Me).catch(W4);return}u=Me;const ge=l.value;E1&&NDe(_Z(ge.fullPath,me.delta),F_()),P(Me,ge).catch(_e=>sf(_e,12)?_e:sf(_e,2)?(k(si(m(_e.to),{force:!0}),Me).then(Q=>{sf(Q,20)&&!me.delta&&me.type===L3.pop&&o.go(-1,!1)}).catch(W4),Promise.reject()):(me.delta&&o.go(-me.delta,!1),H(_e,Me,ge))).then(_e=>{_e=_e||_(Me,ge,!1),_e&&(me.delta&&!sf(_e,8)?o.go(-me.delta,!1):me.type===L3.pop&&sf(_e,20)&&o.go(-1,!1)),M(Me,ge,_e)}).catch(W4)}))}let V=S2(),L=S2(),j;function H(X,ue,me){Z(X);const Me=L.list();return Me.length?Me.forEach(Ae=>Ae(X,ue,me)):console.error(X),Promise.reject(X)}function G(){return j&&l.value!==Dp?Promise.resolve():new Promise((X,ue)=>{V.add([X,ue])})}function Z(X){return j||(j=!X,N(),V.list().forEach(([ue,me])=>X?me(X):ue()),V.reset()),X}function z(X,ue,me,Me){const{scrollBehavior:Ae}=e;if(!E1||!Ae)return Promise.resolve();const ge=!me&&RDe(_Z(X.fullPath,0))||(Me||!me)&&history.state&&history.state.scroll||null;return Vt().then(()=>Ae(X,ue,ge)).then(_e=>_e&&PDe(_e)).catch(_e=>H(_e,X,ue))}const U=X=>o.go(X);let W;const re=new Set,J={currentRoute:l,listening:!0,addRoute:p,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:y,options:e,push:w,replace:A,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:L.add,isReady:G,install(X){const ue=this;X.component("RouterLink",a7e),X.component("RouterView",pve),X.config.globalProperties.$router=ue,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>C(l)}),E1&&!W&&l.value===Dp&&(W=!0,w(o.location).catch(Ae=>{}));const me={};for(const Ae in Dp)Object.defineProperty(me,Ae,{get:()=>l.value[Ae],enumerable:!0});X.provide(U_,ue),X.provide(Yj,I_(me)),X.provide(aL,l);const Me=X.unmount;re.add(X),X.unmount=function(){re.delete(X),re.size<1&&(u=Dp,R&&R(),R=null,l.value=Dp,W=!1,j=!1),Me()}}};function te(X){return X.reduce((ue,me)=>ue.then(()=>I(me)),Promise.resolve())}return J}function d7e(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aSy(u,s))?r.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>Sy(u,l))||o.push(l))}return[n,r,o]}function Hl(){return un(U_)}function z_(e){return un(Yj)}const q4=()=>{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=Y(!0);return jn(()=>{q4()?setTimeout(()=>{t.value=!1},500):t.value=!1}),(n,r)=>(F(),K("div",f7e,[t.value?(F(),K("div",p7e,r[0]||(r[0]=[x("div",{class:"loading-spinner"},[x("div",{class:"spinner"}),x("div",{class:"loading-text"},"加载中...")],-1)]))):(F(),mt(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==",cE="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:$_,toStringTag:Ave}=Symbol,j_=(e=>t=>{const n=g7e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Vc=e=>(e=e.toLowerCase(),t=>j_(t)===e),H_=e=>t=>typeof t===e,{isArray:kb}=Array,F3=H_("undefined");function wC(e){return e!==null&&!F3(e)&&e.constructor!==null&&!F3(e.constructor)&&_l(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Cve=Vc("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=H_("string"),_l=H_("function"),xve=H_("number"),AC=e=>e!==null&&typeof e=="object",y7e=e=>e===!0||e===!1,vS=e=>{if(j_(e)!=="object")return!1;const t=Zj(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ave in e)&&!($_ in e)},b7e=e=>{if(!AC(e)||wC(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},w7e=Vc("Date"),A7e=Vc("File"),C7e=Vc("Blob"),x7e=Vc("FileList"),S7e=e=>AC(e)&&_l(e.pipe),E7e=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||_l(e.append)&&((t=j_(e))==="formdata"||t==="object"&&_l(e.toString)&&e.toString()==="[object FormData]"))},k7e=Vc("URLSearchParams"),[T7e,_7e,D7e,I7e]=["ReadableStream","Request","Response","Headers"].map(Vc),O7e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function CC(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),kb(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Pg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Eve=e=>!F3(e)&&e!==Pg;function sL(){const{caseless:e}=Eve(this)&&this||{},t={},n=(r,o)=>{const i=e&&Sve(t,o)||o;vS(t[i])&&vS(r)?t[i]=sL(t[i],r):vS(r)?t[i]=sL({},r):kb(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(CC(t,(o,i)=>{n&&_l(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(kb(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[$_]).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=Vc("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=Vc("RegExp"),kve=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};CC(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(_l(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(_l(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 kb(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&&_l(e.append)&&e[Ave]==="FormData"&&e[$_])}const Y7e=e=>{const t=new Array(10),n=(r,o)=>{if(AC(r)){if(t.indexOf(r)>=0)return;if(wC(r))return r;if(!("toJSON"in r)){t[o]=r;const i=kb(r)?[]:{};return CC(r,(a,s)=>{const l=n(a,o+1);!F3(l)&&(i[s]=l)}),t[o]=void 0,i}}return r};return n(e,0)},Q7e=Vc("AsyncFunction"),Z7e=e=>e&&(AC(e)||_l(e))&&_l(e.then)&&_l(e.catch),Tve=((e,t)=>e?setImmediate:t?((n,r)=>(Pg.addEventListener("message",({source:o,data:i})=>{o===Pg&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Pg.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",_l(Pg.postMessage)),X7e=typeof queueMicrotask<"u"?queueMicrotask.bind(Pg):typeof process<"u"&&process.nextTick||Tve,J7e=e=>e!=null&&_l(e[$_]),hn={isArray:kb,isArrayBuffer:Cve,isBuffer:wC,isFormData:E7e,isArrayBufferView:v7e,isString:m7e,isNumber:xve,isBoolean:y7e,isObject:AC,isPlainObject:vS,isEmptyObject:b7e,isReadableStream:T7e,isRequest:_7e,isResponse:D7e,isHeaders:I7e,isUndefined:F3,isDate:w7e,isFile:A7e,isBlob:C7e,isRegExp:H7e,isFunction:_l,isStream:S7e,isURLSearchParams:k7e,isTypedArray:F7e,isFileList:x7e,forEach:CC,merge:sL,extend:M7e,trim:O7e,stripBOM:P7e,inherits:N7e,toFlatObject:R7e,kindOf:j_,kindOfTest:Vc,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:Pg,isContextDefined:Eve,isSpecCompliantForm:K7e,toJSONObject:Y7e,isAsyncFn:Q7e,isThenable:Z7e,setImmediate:Tve,asap:X7e,isIterable:J7e};function yo(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(yo,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=yo.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(yo,Dve);Object.defineProperty(_ve,"isAxiosError",{value:!0});yo.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"),yo.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 W_(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 yo("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&&W_(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"})),Fs={...d9e,...s9e};function f9e(e,t){return W_(e,new Fs.classes.URLSearchParams,{visitor:function(n,r,o,i){return Fs.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 xC={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 W_(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||xC.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"?yo.from(s,yo.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:Fs.classes.FormData,Blob:Fs.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=>{xC.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 E2(e){return e&&String(e).trim().toLowerCase()}function mS(e){return e===!1||e==null?e:hn.isArray(e)?e.map(mS):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 Dl=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,u){const d=E2(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]=mS(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=E2(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=E2(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=E2(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]=mS(o),delete n[i];return}const s=t?w9e(i):String(i).trim();s!==i&&delete n[i],n[s]=mS(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=E2(a);r[s]||(A9e(o,a),r[s]=!0)}return hn.isArray(t)?t.forEach(i):i(t),this}};Dl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);hn.reduceDescriptors(Dl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});hn.freezeMethods(Dl);function sI(e,t){const n=this||xC,r=t||n,o=Dl.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 Tb(e,t,n){yo.call(this,e??"canceled",yo.ERR_CANCELED,t,n),this.name="CanceledError"}hn.inherits(Tb,yo,{__CANCEL__:!0});function Bve(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new yo("Request failed with status code "+n.status,[yo.ERR_BAD_REQUEST,yo.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 dE=(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=Fs.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Fs.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Fs.origin),Fs.navigator&&/(msie|trident)/i.test(Fs.navigator.userAgent)):()=>!0,k9e=Fs.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 Dl?{...e}:e;function Sv(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=Sv({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=Dl.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(Fs.hasStandardBrowserEnv||Fs.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(Fs.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=Dl.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=Dl.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(k){n(k),h()},function(k){r(k),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 yo("Request aborted",yo.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new yo("Network Error",yo.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 yo(w,A.clarifyTimeoutError?yo.ETIMEDOUT:yo.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]=dE(u,!0),g.addEventListener("progress",f)),l&&g.upload&&([c,p]=dE(l),g.upload.addEventListener("progress",c),g.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(d=b=>{g&&(r(!b||b.type?new Tb(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&&Fs.protocols.indexOf(m)===-1){r(new yo("Unsupported protocol "+m+":",yo.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 yo?d:new Tb(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,i(new yo(`timeout ${t} of ms exceeded`,yo.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})},V_=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Uve=V_&&typeof ReadableStream=="function",R9e=V_&&(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(Fs.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)),fE={stream:cL&&(e=>e.body)};V_&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!fE[t]&&(fE[t]=hn.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new yo(`Response type '${t}' is not supported`,yo.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(Fs.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=V_&&(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[k,O]=KZ(g,dE(YZ(l)));r=ZZ(A.body,XZ,k,O)}}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(I=>{A[I]=m[I]});const S=hn.toFiniteNumber(m.headers.get("content-length")),[k,O]=s&&KZ(S,dE(YZ(s),!0))||[];m=new Response(ZZ(m.body,XZ,k,()=>{O&&O(),h&&h()}),A)}u=u||"text";let w=await fE[hn.findKey(fE,u)||"text"](m,e);return!b&&h&&h(),await new Promise((A,S)=>{Bve(A,S,{data:w,headers:Dl.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 yo("Network Error",yo.ERR_NETWORK,e,v),{cause:y.cause||y}):yo.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 yo("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 Tb(null,e)}function eX(e){return lI(e),e.headers=Dl.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||xC.adapter)(e).then(function(r){return lI(e),r.data=sI.call(e,e.transformResponse,r),r.headers=Dl.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=Dl.from(r.response.headers))),Promise.reject(r)})}const jve="1.11.0",q_={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{q_[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tX={};q_.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 yo(o(a," has been removed"+(n?" in "+n:"")),yo.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}};q_.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 yo("options must be an object",yo.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 yo("option "+i+" must be "+l,yo.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yo("Unknown option "+i,yo.ERR_BAD_OPTION)}}const yS={assertOptions:$9e,validators:q_},td=yS.validators;let Vg=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=Sv(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&yS.assertOptions(r,{silentJSONParsing:td.transitional(td.boolean),forcedJSONParsing:td.transitional(td.boolean),clarifyTimeoutError:td.transitional(td.boolean)},!1),o!=null&&(hn.isFunction(o)?n.paramsSerializer={serialize:o}:yS.assertOptions(o,{encode:td.function,serialize:td.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),yS.assertOptions(n,{baseUrl:td.spelling("baseURL"),withXsrfToken:td.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=Dl.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 Tb(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 Vg(e),n=wve(Vg.prototype.request,t);return hn.extend(n,Vg.prototype,t,{allOwnKeys:!0}),hn.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Wve(Sv(e,o))},n}const Xi=Wve(xC);Xi.Axios=Vg;Xi.CanceledError=Tb;Xi.CancelToken=j9e;Xi.isCancel=Rve;Xi.VERSION=jve;Xi.toFormData=W_;Xi.AxiosError=yo;Xi.Cancel=Xi.CanceledError;Xi.all=function(t){return Promise.all(t)};Xi.spread=H9e;Xi.isAxiosError=W9e;Xi.mergeConfig=Sv;Xi.AxiosHeaders=Dl;Xi.formToJSON=e=>Nve(hn.isHTMLForm(e)?new FormData(e):e);Xi.getAdapter=$ve.getAdapter;Xi.HttpStatusCode=fL;Xi.default=Xi;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}=Xi,G_="shudao_refresh_token",eH="shudao_token_type";function Gf(){return localStorage.getItem(G_)}function V9e(){return localStorage.getItem(G_)}function Ev(){return localStorage.getItem(eH)||"Bearer"}function Vve(){return localStorage.getItem("shudao_username")||null}function q9e(e,t="Bearer"){localStorage.setItem(G_,e),localStorage.setItem(eH,t)}function bS(){localStorage.removeItem(G_),localStorage.removeItem(eH),localStorage.removeItem("shudao_username")}const nX="https://aqai.shudaodsj.com:22001/api/ticket/process";let pE=null,G4=null,R1=null;try{pE=window.location.href,G4=window.location.search,R1=window.location.hash,console.log("💾 已保存原始 URL:",pE),console.log("💾 已保存原始 Search:",G4),console.log("💾 已保存原始 Hash:",R1)}catch(e){console.warn("⚠️ 保存原始 URL 失败:",e)}let m4=!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:",pE),console.log("📍 保存的原始 Search:",G4),console.log("📍 保存的原始 Hash:",R1);let e="";if(G4)e=G4,console.log("✅ 从保存的原始 Search 中提取到查询参数:",e.substring(0,100));else if(R1&&R1.includes("?")){const r=R1.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 vs(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(){m4=!0,pL.length=0,vs("info","🚀 开始票据认证流程"),vs("info",`当前 URL: ${window.location.href}`),vs("info",`原始 URL: ${pE}`),vs("info",`User Agent: ${navigator.userAgent.substring(0,100)}...`),vs("info",`是否移动端: ${/Mobile|Android|iPhone|iPad/i.test(navigator.userAgent)}`);try{vs("info","步骤1: 获取票据");const e=G9e();if(!e){if(vs("warning","⚠️ 未找到票据"),Z9e())return m4=!1,vs("success","✅ 本地已有令牌,使用本地令牌"),{success:!0,token:X9e(),fromCache:!0};throw vs("error","❌ 未找到票据且本地无令牌"),new Error("TICKET_NOT_FOUND")}vs("success",`✅ 成功获取票据 (长度: ${e.length})`),vs("info","步骤2: 调用后端处理票据");const{refreshToken:t,tokenType:n,username:r}=await Y9e(e);return vs("success","✅ 票据处理成功,获得 token"),vs("info","步骤3: 保存令牌到本地"),Q9e(t,n,r),vs("success",`✅ 令牌已保存 (用户: ${r||"未知"})`),vs("success","🎉 票据认证流程完成!"),m4=!1,{success:!0,token:{refreshToken:t,tokenType:n,username:r},fromTicket:!0}}catch(e){throw vs("error",`❌ 认证失败: ${e.message}`),vs("error",`错误堆栈: ${e.stack?.substring(0,200)}...`),m4=!1,e}}const no=Xi.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=Gf(),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)}}no.interceptors.request.use(e=>{console.log(e,"config");const t=Gf(),n=Ev();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));no.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 m4?(console.log("⏳ 正在认证中,延迟处理 401 错误"),Promise.reject(e)):(console.error("❌ Token 过期或无效,需要重新登录"),bS(),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 Bn={getRecommendQuestion:e=>no.get("/recommend_question",{params:e}),submitFeedback:e=>no.post("/submit_feedback",e),getPolicyFile:e=>no.get("/get_policy_file",{params:e}),sendDeepseekMessage:e=>no.post("/send_deepseek_message",e),buildExamPrompt:e=>no.post("/exam/build_prompt",e),saveExam:e=>no.post("/save_exam",e),getExamHistory:()=>no.get("/get_exam_history"),getExamById:e=>no.get(`/get_exam/${e}`),uploadOss:e=>no.post("/oss/upload",e),getFunctionCard:e=>no.get("/get_function_card",{params:e}),getHotQuestion:e=>no.get("/get_hot_question",{params:e}),getHistoryRecord:e=>no.get("/get_history_record",{params:e}),generatePPTOutline:e=>no.post("/send_deepseek_message",e),uploadImage:e=>no.post("/oss/shudao/upload_image",e),uploadJson:e=>no.post("/oss/shudao/upload_json",e),saveQuestionModification:e=>no.post("/save_question_modification",e),reModifyQuestion:e=>no.post("/re_modify_question",e),reProduceSingleQuestion:e=>no.post("/re_produce_single_question",e),hazardDetection:e=>no.post("/hazard",e),likeAndDislike:e=>no.post("/like_and_dislike",e),getHazardHistory:e=>no.get("/get_history_recognition_record",{params:e}),getRecognitionRecordDetail:e=>no.get("/get_recognition_record_detail",{params:e}),getFileLink:e=>no.get("/get_file_link",{params:e}),getUserRecommendQuestion:e=>no.get("/get_user_recommend_question",{params:e}),deleteConversation:e=>no.post("/delete_conversation",e),deleteHistoryRecord:e=>no.post("/delete_history_record",e),deleteRecognitionRecord:e=>no.post("/delete_recognition_record",e),saveStep:e=>no.post("/save_step",e),getPPTJson:e=>no.post("/get_ppt_json",e),getThirdSceneExampleImage:e=>no.get("/get_third_scene_example_image",{params:e}),savePPTOutline:e=>no.post("/save_ppt_outline",e),submitEvaluation:e=>no.post("/submit_evaluation",e),getLatestRecognitionRecord:e=>no.get("/get_latest_recognition_record",{params:e}),saveEditDocument:e=>no.post("/save_edit_document",e),onlineSearch:e=>no.get("/online_search",{params:e}),saveOnlineSearchResult:e=>no.post("/save_online_search_result",e),intentRecognition:e=>no.post("/intent_recognition",e),streamChatWithDB:e=>no.post("/stream/chat-with-db",e),updatePolicyFileCount:e=>no.post("/policy_file_count",e),guessYouWant:e=>no.post("/guess_you_want",e),getUserDataId:e=>no.get("/get_user_data_id",{params:e}),recordTracking:e=>no.post("/tracking/record",e),getTrackingRecords:e=>no.get("/tracking/records",{params:e}),addApiMapping:e=>no.post("/tracking/api_mapping",e),getApiMappings:()=>no.get("/tracking/api_mappings")},tIe="2.11.1",rX=Symbol("INSTALLED_KEY"),qve=Symbol(),K4="el",nIe="is-",V0=(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||(vr()?un(Gve,Y(K4)):Y(K4));return ee(()=>C(t)||K4)},jt=(e,t)=>{const n=tH(t);return{namespace:n,b:(h="")=>V0(n.value,e,h,"",""),e:h=>h?V0(n.value,e,"",h,""):"",m:h=>h?V0(n.value,e,"","",h):"",be:(h,g)=>h&&g?V0(n.value,e,h,g,""):"",em:(h,g)=>h&&g?V0(n.value,e,"",h,g):"",bm:(h,g)=>h&&g?V0(n.value,e,h,"",g):"",bem:(h,g,y)=>h&&g&&y?V0(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,qc=Kve||rIe||Function("return this")(),qu=qc.Symbol,Yve=Object.prototype,oIe=Yve.hasOwnProperty,iIe=Yve.toString,k2=qu?qu.toStringTag:void 0;function aIe(e){var t=oIe.call(e,k2),n=e[k2];try{e[k2]=void 0;var r=!0}catch{}var o=iIe.call(e);return r&&(t?e[k2]=n:delete e[k2]),o}var sIe=Object.prototype,lIe=sIe.toString;function uIe(e){return lIe.call(e)}var cIe="[object Null]",dIe="[object Undefined]",oX=qu?qu.toStringTag:void 0;function em(e){return e==null?e===void 0?dIe:cIe:oX&&oX in Object(e)?aIe(e):uIe(e)}function Ld(e){return e!=null&&typeof e=="object"}var fIe="[object Symbol]";function K_(e){return typeof e=="symbol"||Ld(e)&&em(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 hE=(function(){try{var e=nm(Object,"defineProperty");return e({},"",{}),e}catch{}})(),VIe=hE?function(e,t){return hE(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 Y_(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 Db(e){return e!=null&&sH(e.length)&&!oH(e)}function nOe(e,t,n){if(!ul(n))return!1;var r=typeof t;return(r=="number"?Db(n)&&Y_(t,n.length):r=="string"&&t in n)?SC(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=Q_(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function hp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0&&n(s)?t>1?TC(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?TC(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(!Ld(e)||em(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 H3:void 0;for(i.set(e,t),i.set(t,e);++c=t||k<0||c&&O>=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(),k=g(S);if(r=arguments,o=this,l=S,k){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&&!SC(e[t],n)||n===void 0&&!(t in e))&&iH(e,t,n)}function Dme(e){return Ld(e)&&Db(e)}function bL(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function rRe(e){return _b(e,kC(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=ll(l),p=!f&&z3(l),v=!f&&!p&&cH(l);d=l,f||p||v?ll(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)||U3(l)?(d=s,U3(s)?d=rRe(s):(!ul(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 Ec),ul(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)}},kC)}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=Db(e)?Array(e.length):[];return JNe(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function sRe(e,t){var n=ll(e)?nH:aRe;return n(e,Tme(t))}function Mme(e,t){return TC(sRe(e,t),1)}var lRe=1/0;function uRe(e){var t=e==null?0:e.length;return t?TC(e,lRe):[]}function W3(e){for(var t=-1,n=e==null?0:e.length,r={};++t1),i}),_b(e,vme(e),n),r&&(n=X1(n,hRe|gRe|vRe,pRe));for(var o=t.length;o--;)fRe(n,t[o]);return n});function Rme(e,t,n,r){if(!ul(e))return e;t=Ib(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 H3}else l=s;e:for(;++re===void 0,Co=e=>typeof e=="boolean",Ln=e=>typeof e=="number",Jl=e=>!e&&e!==0||qt(e)&&e.length===0||ar(e)&&!Object.keys(e).length,al=e=>typeof Element>"u"?!1:e instanceof Element,Il=e=>Zi(e),ERe=e=>Dn(e)?!Number.isNaN(Number(e)):!1,DC=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 mE(e,t){var n;const r=Uo();return Cs(()=>{r.value=e()},MRe(ORe({},t),{flush:(n=void 0)!=null?n:"sync"})),xb(r)}var LX;const Kr=typeof window<"u",PRe=e=>typeof e<"u",wL=e=>typeof e=="function",NRe=e=>typeof e=="string",Bf=()=>{},yE=Kr&&((LX=window?.navigator)==null?void 0:LX.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function n0(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=Bf;const i=s=>{clearTimeout(s),o(),o=Bf};return s=>{const l=n0(e),u=n0(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=Bf,l;const u=()=>{i&&(clearTimeout(i),i=void 0,s(),s=Bf)};return c=>{const f=n0(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=Y(!0),a=()=>{i.value=!0,o()};Ct(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 Mb(e){return L0e()?(F0e(e),!0):!1}function URe(e){if(!Ro(e))return Ur(e);const t=new Proxy({},{get(n,r,o){return C(Reflect.get(e.value,r,o))},set(n,r,o){return Ro(e.value[r])&&!Ro(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 Ur(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=Y(e.value),o=$Re(()=>{r.value=e.value},t,n);return Ct(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){vr()?jn(e):t?e():Vt(e)}function Tv(e,t,n={}){const{immediate:r=!0}=n,o=Y(!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)},n0(t))}return r&&(o.value=!0,Kr&&l()),Mb(s),{isPending:xb(o),start:l,stop:s}}function Sa(e){var t;const n=n0(e);return(t=n?.$el)!=null?t:n}const Kd=Kr?window:void 0,HRe=Kr?window.document:void 0;function Mo(...e){let t,n,r,o;if(NRe(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=Kd):[t,n,r,o]=e,!t)return Bf;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=Ct(()=>[Sa(t),n0(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 Mb(u),u}let FX=!1;function yH(e,t,n={}){const{window:r=Kd,ignore:o=[],capture:i=!0,detectIframe:a=!1}=n;if(!r)return;yE&&!FX&&(FX=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Bf)));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=Sa(p);return v&&(f.target===v||f.composedPath().includes(v))}}),d=[Mo(r,"click",f=>{const p=Sa(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}),Mo(r,"pointerdown",f=>{const p=Sa(e);p&&(s=!f.composedPath().includes(p)&&!l(f))},{passive:!0}),a&&Mo(r,"blur",f=>{var p;const v=Sa(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=Kd}=e,r=(t=e.document)!=null?t:n?.document,o=FRe(()=>null,()=>r?.activeElement);return n&&(Mo(n,"blur",i=>{i.relatedTarget===null&&o.trigger()},!0),Mo(n,"focus",o.trigger,!0)),o}function bH(e,t=!1){const n=Y(),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=Kd,initialValue:r=""}={}){const o=Y(r),i=ee(()=>{var a;return Sa(t)||((a=n?.document)==null?void 0:a.documentElement)});return Ct([i,()=>n0(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}),Ct(o,a=>{var s;(s=i.value)!=null&&s.style&&i.value.style.setProperty(n0(e),a)}),o}function GRe({document:e=HRe}={}){if(!e)return Y("visible");const t=Y(e.visibilityState);return Mo(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=Kd}=r,i=QRe(r,["window"]);let a;const s=bH(()=>o&&"ResizeObserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},u=Ct(()=>Sa(e),c=>{l(),s.value&&o&&c&&(a=new ResizeObserver(t),a.observe(c,i))},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return Mb(d),{isSupported:s,stop:d}}function jX(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0}=t,a=Y(0),s=Y(0),l=Y(0),u=Y(0),d=Y(0),c=Y(0),f=Y(0),p=Y(0);function v(){const h=Sa(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),Ct(()=>Sa(e),h=>!h&&v()),o&&Mo("scroll",v,{capture:!0,passive:!0}),r&&Mo("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=Kd,box:o="content-box"}=n,i=ee(()=>{var l,u;return(u=(l=Sa(e))==null?void 0:l.namespaceURI)==null?void 0:u.includes("svg")}),a=Y(t.width),s=Y(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=Sa(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),Ct(()=>Sa(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=Kd}=n,s=bH(()=>a&&"IntersectionObserver"in a);let l=Bf;const u=s.value?Ct(()=>({el:Sa(e),root:Sa(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=Bf}},{immediate:!0,flush:"post"}):Bf,d=()=>{l(),u()};return Mb(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=Kd}=r,i=tBe(r,["window"]);let a;const s=bH(()=>o&&"MutationObserver"in o),l=()=>{a&&(a.disconnect(),a=void 0)},u=Ct(()=>Sa(e),c=>{l(),s.value&&o&&c&&(a=new MutationObserver(t),a.observe(c,i))},{immediate:!0}),d=()=>{l(),u()};return Mb(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=vr(),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=Y(y);return Ct(()=>e[t],b=>m.value=h(b)),Ct(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=Kd}={}){if(!e)return Y(!1);const t=Y(e.document.hasFocus());return Mo(e,"blur",()=>{t.value=!1}),Mo(e,"focus",()=>{t.value=!0}),t}function lBe(e={}){const{window:t=Kd,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:o=!0,includeScrollbar:i=!0}=e,a=Y(n),s=Y(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),Mo("resize",l,{passive:!0}),o&&Mo("orientationchange",l,{passive:!0}),{width:a,height:s}}const GX={current:0},KX=Y(0),zme=2e3,YX=Symbol("elZIndexContextKey"),$me=Symbol("zIndexContextKey"),Pb=e=>{const t=vr()?un(YX,GX):GX,n=e||(vr()?un($me,void 0):void 0),r=ee(()=>{const a=C(n);return Ln(a)?a:zme}),o=ee(()=>r.value+KX.value),i=()=>(t.current++,KX.value=t.current,o.value);return!Kr&&un(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)=>Yi(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=Ro(e)?e:Y(e);return{lang:t,locale:n,t:cBe(e)}},jme=Symbol("localeContextKey"),Hr=e=>{const t=e||un(jme,Y());return fBe(ee(()=>t.value||uBe))},Hme="__epPropKey",lt=e=>e,pBe=e=>ar(e)&&!!e[Hme],Gc=(e,t)=>{if(!ar(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),Zr(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 Zr(e,"default")&&(l.default=o),l},Yt=e=>W3(Object.entries(e).map(([t,n])=>[t,Gc(n,t)])),Yd=["","default","small","large"],ba=Gc({type:String,values:Yd,required:!1}),Wme=Symbol("size"),Vme=()=>{const e=un(Wme,{});return ee(()=>C(e.size)||"")},qme=Symbol("emptyValuesContextKey"),hBe=["",void 0,null],gBe=void 0,rm=Yt({emptyValues:Array,valueOnClear:{type:lt([String,Number,Boolean,Function]),default:void 0,validator:e=>Pn(e)?!e():!e}}),IC=(e,t)=>{const n=vr()?un(qme,Y({})):Y({}),r=ee(()=>e.emptyValues||n.value.emptyValues||hBe),o=ee(()=>Pn(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:Pn(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}},Ty=e=>Object.keys(e),Gme=e=>Object.entries(e),Q4=(e,t,n)=>({get value(){return Yi(e,t,n)},set value(r){bRe(e,t,r)}}),bE=Y();function Nb(e,t=void 0){const n=vr()?un(qve,bE):bE;return e?ee(()=>{var r,o;return(o=(r=n.value)==null?void 0:r[e])!=null?o:t}):n}function tD(e,t){const n=Nb(),r=jt(e,ee(()=>{var s;return((s=n.value)==null?void 0:s.namespace)||K4})),o=Hr(ee(()=>{var s;return(s=n.value)==null?void 0:s.locale})),i=Pb(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=!!vr(),i=o?Nb():void 0,a=(r=t?.provide)!=null?r:o?Sr: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||!bE.value)&&(bE.value=s.value),s},vBe=(e,t)=>{const n=[...new Set([...Ty(e),...Ty(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))}}),Gn="update:modelValue",Tr="change",ma="input",yBe=Yt({zIndex:{type:lt([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})=>Ln(e)&&Co(t),[Tr]:e=>Co(e)};var en=(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 r0=e=>Kr?window.requestAnimationFrame(e):setTimeout(e,16),_v=e=>Kr?window.cancelAnimationFrame(e):clearTimeout(e),Kme=(e="")=>e.split(" ").filter(t=>!!t.trim()),El=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},Nu=(e,t)=>{!e||!t.trim()||e.classList.add(...Kme(t))},$s=(e,t)=>{!e||!t.trim()||e.classList.remove(...Kme(t))},Tf=(e,t)=>{var n;if(!Kr||!e||!t)return"";let r=sl(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(ar(t))Gme(t).forEach(([r,o])=>Yme(e,r,o));else{const r=sl(t);e.style[r]=n}};function _i(e,t="px"){if(!e)return"";if(Ln(e)||ERe(e))return`${e}${t}`;if(Dn(e))return e}const ABe=(e,t)=>{if(!Kr)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=Tf(e,n);return["scroll","auto","overlay"].some(o=>r.includes(o))},AH=(e,t)=>{if(!Kr)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 px;const Qme=e=>{var t;if(!Kr)return 0;if(px!==void 0)return px;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),px=r-i,px};function CH(e,t){if(!Kr)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);DC(e)?e.scrollTo(window.pageXOffset,d):e.scrollTop=d,u{a&&_v(a)}}const QX=(e,t)=>DC(t)?e.ownerDocument.documentElement:t,ZX=e=>DC(e)?window.scrollY:e.scrollTop;class xBe extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Ji(e,t){throw new xBe(`[${e}] ${t}`)}const Zme="ElAffix",SBe=et({name:Zme}),EBe=et({...SBe,props:yBe,emits:bBe,setup(e,{expose:t,emit:n}){const r=e,o=jt("affix"),i=Uo(),a=Uo(),s=Uo(),{height:l}=lBe(),{height:u,width:d,top:c,bottom:f,update:p}=jX(a,{windowScroll:!1}),v=jX(i),h=Y(!1),g=Y(0),y=Y(0),m=ee(()=>({height:h.value?`${u.value}px`:"",width:h.value?`${d.value}px`:""})),b=ee(()=>{if(!h.value)return{};const k=r.offset?_i(r.offset):0;return{height:`${u.value}px`,width:`${d.value}px`,top:r.position==="top"?k:"",bottom:r.position==="bottom"?k:"",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:k,target:O,offset:I}=r,P=I+u.value;if(k==="top")if(O){const M=v.bottom.value-P;h.value=I>c.value&&v.bottom.value>0,y.value=M<0?M:0}else h.value=I>c.value;else if(O){const M=l.value-v.top.value-P;h.value=l.value-Iv.top.value,y.value=M<0?-M:0}else h.value=l.value-I{if(!h.value){p();return}h.value=!1,await Vt(),p(),h.value=!0},S=async()=>{p(),await Vt(),n("scroll",{scrollTop:g.value,fixed:h.value})};return Ct(h,k=>n(Tr,k)),jn(()=>{var k;r.target?(i.value=(k=document.querySelector(r.target))!=null?k:void 0,i.value||Ji(Zme,`Target does not exist: ${r.target}`)):i.value=document.documentElement,s.value=AH(a.value,!0),p()}),Mo(s,"scroll",S),Cs(w),t({update:w,updateRoot:A}),(k,O)=>(F(),K("div",{ref_key:"root",ref:a,class:oe(C(o).b()),style:Jt(C(m))},[x("div",{class:oe({[C(o).m("fixed")]:h.value}),style:Jt(C(b))},[pt(k.$slots,"default")],6)],6))}});var kBe=en(EBe,[["__file","affix.vue"]]);const er=(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=go,e),_Be=er(kBe),DBe=Yt({size:{type:lt([Number,String])},color:{type:String}}),IBe=et({name:"ElIcon",inheritAttrs:!1}),OBe=et({...IBe,props:DBe,setup(e){const t=e,n=jt("icon"),r=ee(()=>{const{size:o,color:i}=t;return!o&&!i?{}:{fontSize:zr(o)?void 0:_i(o),"--color":i}});return(o,i)=>(F(),K("i",pr({class:C(n).b(),style:C(r)},o.$attrs),[pt(o.$slots,"default")],16))}});var MBe=en(OBe,[["__file","icon.vue"]]);const _n=er(MBe);function XX(){let e;const t=(r,o)=>{n(),e=window.setTimeout(r,o)},n=()=>window.clearTimeout(e);return Mb(()=>n()),{registerTimeout:t,cancelTimeout:n}}const Jme=Yt({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);Ln(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=et({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(F(),K("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"})]))}}),Kc=PBe,NBe=et({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(F(),K("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"})]))}}),Kf=NBe,RBe=et({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(F(),K("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"})]))}}),ka=RBe,BBe=et({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(F(),K("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"})]))}}),nD=BBe,LBe=et({name:"Back",__name:"back",setup(e){return(t,n)=>(F(),K("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=et({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(F(),K("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=et({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(F(),K("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=et({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(F(),K("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=et({name:"Check",__name:"check",setup(e){return(t,n)=>(F(),K("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"})]))}}),OC=WBe,VBe=et({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(F(),K("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=et({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(F(),K("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=et({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(F(),K("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=et({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(F(),K("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"})]))}}),Qd=YBe,QBe=et({name:"Clock",__name:"clock",setup(e){return(t,n)=>(F(),K("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=et({name:"Close",__name:"close",setup(e){return(t,n)=>(F(),K("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"})]))}}),cu=ZBe,XBe=et({name:"CopyDocument",__name:"copy-document",setup(e){return(t,n)=>(F(),K("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=et({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(F(),K("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"})]))}}),o0=eLe,tLe=et({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(F(),K("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"})]))}}),i0=tLe,nLe=et({name:"Delete",__name:"delete",setup(e){return(t,n)=>(F(),K("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=et({name:"Document",__name:"document",setup(e){return(t,n)=>(F(),K("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"})]))}}),_y=oLe,iLe=et({name:"Download",__name:"download",setup(e){return(t,n)=>(F(),K("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=et({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(F(),K("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=et({name:"Hide",__name:"hide",setup(e){return(t,n)=>(F(),K("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=et({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(F(),K("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"})]))}}),V3=dLe,fLe=et({name:"Link",__name:"link",setup(e){return(t,n)=>(F(),K("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=et({name:"Loading",__name:"loading",setup(e){return(t,n)=>(F(),K("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"})]))}}),Bc=pLe,hLe=et({name:"Minus",__name:"minus",setup(e){return(t,n)=>(F(),K("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=et({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(F(),K("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=et({name:"More",__name:"more",setup(e){return(t,n)=>(F(),K("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=et({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(F(),K("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=et({name:"Plus",__name:"plus",setup(e){return(t,n)=>(F(),K("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=et({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(F(),K("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=et({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(F(),K("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=et({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(F(),K("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=et({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(F(),K("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=et({name:"Search",__name:"search",setup(e){return(t,n)=>(F(),K("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=et({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(F(),K("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=et({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(F(),K("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=et({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(F(),K("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"})]))}}),hx=BLe,LLe=et({name:"Star",__name:"star",setup(e){return(t,n)=>(F(),K("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=et({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(F(),K("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=et({name:"View",__name:"view",setup(e){return(t,n)=>(F(),K("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=et({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(F(),K("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"})]))}}),Rb=$Le,jLe=et({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(F(),K("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=et({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(F(),K("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 vo=lt([String,Object,Function]),l1e={Close:cu},EH={Close:cu,SuccessFilled:i1e,InfoFilled:V3,WarningFilled:Rb,CircleCloseFilled:SH},a0={primary:V3,success:i1e,warning:Rb,error:SH,info:V3},rD={validating:Bc,success:xH,error:Qd},VLe=["light","dark"],qLe=Yt({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:Ty(a0),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=>zr(e)||e instanceof Event},KLe=et({name:"ElAlert"}),YLe=et({...KLe,props:qLe,emits:GLe,setup(e,{emit:t}){const n=e,{Close:r}=EH,o=pa(),i=jt("alert"),a=Y(!1),s=ee(()=>a0[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:ao(n,"showAfter"),hideAfter:ao(n,"hideAfter"),autoClose:ao(n,"autoClose"),open:u,close:d});return Kr&&c(),(p,v)=>(F(),mt(Wi,{name:C(i).b("fade"),persisted:""},{default:nt(()=>[an(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))?(F(),mt(C(_n),{key:0,class:oe([C(i).e("icon"),{[C(i).is("big")]:C(l)}])},{default:nt(()=>[pt(p.$slots,"icon",{},()=>[(F(),mt(hr(C(s))))])]),_:3},8,["class"])):xe("v-if",!0),x("div",{class:oe(C(i).e("content"))},[p.title||p.$slots.title?(F(),K("span",{key:0,class:oe([C(i).e("title"),{"with-description":C(l)}])},[pt(p.$slots,"title",{},()=>[An(ze(p.title),1)])],2)):xe("v-if",!0),C(l)?(F(),K("p",{key:1,class:oe(C(i).e("description"))},[pt(p.$slots,"default",{},()=>[An(ze(p.description),1)])],2)):xe("v-if",!0),p.closable?(F(),K(Nt,{key:2},[p.closeText?(F(),K("div",{key:0,class:oe([C(i).e("close-btn"),C(i).is("customed")]),onClick:d},ze(p.closeText),3)):(F(),mt(C(_n),{key:1,class:oe(C(i).e("close-btn")),onClick:C(f)},{default:nt(()=>[$e(C(r))]),_:1},8,["class","onClick"]))],64)):xe("v-if",!0)],2)],2),[[Ar,a.value]])]),_:3},8,["name"]))}});var QLe=en(YLe,[["__file","alert.vue"]]);const ZLe=er(QLe),kH=()=>Kr&&/firefox/i.test(window.navigator.userAgent);let yl;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;yl||(yl=document.createElement("textarea"),((r=e.parentNode)!=null?r:document.body).appendChild(yl));const{paddingSize:i,borderSize:a,boxSizing:s,contextStyle:l}=eFe(e);l.forEach(([f,p])=>yl?.style.setProperty(f,p)),Object.entries(XLe).forEach(([f,p])=>yl?.style.setProperty(f,p,"important")),yl.value=e.value||e.placeholder||"";let u=yl.scrollHeight;const d={};s==="border-box"?u=u+a:s==="content-box"&&(u=u-i),yl.value="";const c=yl.scrollHeight-i;if(Ln(t)){let f=c*t;s==="border-box"&&(f=f+i+a),u=Math.max(f,u),d.minHeight=`${f}px`}if(Ln(n)){let f=c*n;s==="border-box"&&(f=f+i+a),u=Math.min(f,u)}return d.height=`${u}px`,(o=yl.parentNode)==null||o.removeChild(yl),yl=void 0,d}const fi=e=>e,tFe=Yt({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Es=e=>ru(tFe,e),MC=Yt({id:{type:String,default:void 0},size:ba,disabled:Boolean,modelValue:{type:lt([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:lt([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:vo,default:Qd},showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:vo},prefixIcon:{type:vo},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:lt([Object,Array,String]),default:()=>fi({})},autofocus:Boolean,rows:{type:Number,default:2},...Es(["ariaLabel"]),inputmode:{type:lt(String),default:void 0},name:String}),nFe={[Gn]:e=>Dn(e),input:e=>Dn(e),change:e=>Dn(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]/,oD=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=ee(()=>(n?.value||[]).concat(rFe)),o=vr();return ee(o?()=>{var i;return W3(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=()=>vr()?un(iFe,tJ):tJ,ds=e=>{const t=TH(),n=tH();return mE(()=>C(e)||`${n.value}-id-${t.prefix}-${t.current++}`)},om=Symbol("formContextKey"),Fd=Symbol("formItemContextKey"),ks=()=>{const e=un(om,void 0),t=un(Fd,void 0);return{form:e,formItem:t}},ac=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=Y(!1)),r||(r=Y(!1));const o=vr(),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=Y();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 jn(()=>{s=Ct([ao(e,"id"),n],([u,d])=>{const c=u??(d?void 0:ds().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})}),hl(()=>{s&&s(),t?.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:l,inputId:a}},u1e=e=>{const t=vr();return ee(()=>{var n,r;return(r=(n=t?.proxy)==null?void 0:n.$props)==null?void 0:r[e]})},fa=(e,t={})=>{const n=Y(void 0),r=t.prop?n:u1e("size"),o=t.global?n:Vme(),i=t.form?{size:void 0}:un(om,void 0),a=t.formItem?{size:void 0}:un(Fd,void 0);return ee(()=>r.value||C(e)||a?.size||i?.size||o.value||"")},Wa=e=>{const t=u1e("disabled"),n=un(om,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=>q3(t)&&sFe(t)),q3=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}},wS=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},AS=e=>{e&&(e.focus(),!c1e(e)&&e.click())};function vp(e,{disabled:t,beforeFocus:n,afterFocus:r,beforeBlur:o,afterBlur:i}={}){const a=vr(),{emit:s}=a,l=Uo(),u=Y(!1),d=p=>{const v=Pn(n)?n(p):!1;C(t)||u.value||v||(u.value=!0,s("focus",p),r?.())},c=p=>{var v;const h=Pn(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)||q3(p.target)||(v=l.value)!=null&&v.contains(document.activeElement)&&l.value!==document.activeElement||(h=e.value)==null||h.focus()};return Ct([l,()=>C(t)],([p,v])=>{p&&(v?p.removeAttribute("tabindex"):p.setAttribute("tabindex","-1"))}),Mo(l,"focus",d,!0),Mo(l,"blur",c,!0),Mo(l,"click",f,!0),{isFocused:u,wrapperRef:l,handleFocus:d,handleBlur:c}}const lFe=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e);function PC({afterComposition:e,emit:t}){const n=Y(!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,Vt(()=>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=et({name:cFe,inheritAttrs:!1}),fFe=et({...dFe,props:MC,emits:nFe,setup(e,{expose:t,emit:n}){const r=e,o=pp(),i=oD(),a=pa(),s=ee(()=>[r.type==="textarea"?h.b():v.b(),v.m(f.value),v.is("disabled",p.value),v.is("exceed",U.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")]:H.value&&G.value,[v.b("hidden")]:r.type==="hidden"},o.class]),l=ee(()=>[v.e("wrapper"),v.is("focus",O.value)]),{form:u,formItem:d}=ks(),{inputId:c}=ac(r,{formItemContext:d}),f=fa(),p=Wa(),v=jt("input"),h=jt("textarea"),g=Uo(),y=Uo(),m=Y(!1),b=Y(!1),w=Y(),A=Uo(r.inputStyle),S=ee(()=>g.value||y.value),{wrapperRef:k,isFocused:O,handleFocus:I,handleBlur:P}=vp(S,{disabled:p,afterBlur(){var Pe;r.validateEvent&&((Pe=d?.validate)==null||Pe.call(d,"blur").catch(Ne=>void 0))}}),M=ee(()=>{var Pe;return(Pe=u?.statusIcon)!=null?Pe:!1}),_=ee(()=>d?.validateState||""),R=ee(()=>_.value&&rD[_.value]),N=ee(()=>b.value?a1e:cLe),V=ee(()=>[o.style]),L=ee(()=>[r.inputStyle,A.value,{resize:r.resize}]),j=ee(()=>Zi(r.modelValue)?"":String(r.modelValue)),H=ee(()=>r.clearable&&!p.value&&!r.readonly&&!!j.value&&(O.value||m.value)),G=ee(()=>r.showPassword&&!p.value&&!!j.value),Z=ee(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!p.value&&!r.readonly&&!r.showPassword),z=ee(()=>j.value.length),U=ee(()=>!!Z.value&&z.value>Number(r.maxlength)),W=ee(()=>!!a.suffix||!!r.suffixIcon||H.value||r.showPassword||Z.value||!!_.value&&M.value),[re,J]=uFe(g);li(y,Pe=>{if(ue(),!Z.value||r.resize!=="both")return;const Ne=Pe[0],{width:ht}=Ne.contentRect;w.value={right:`calc(100% - ${ht+15+6}px)`}});const te=()=>{const{type:Pe,autosize:Ne}=r;if(!(!Kr||Pe!=="textarea"||!y.value))if(Ne){const ht=ar(Ne)?Ne.minRows:void 0,Rt=ar(Ne)?Ne.maxRows:void 0,Lt=eJ(y.value,ht,Rt);A.value={overflowY:"hidden",...Lt},Vt(()=>{y.value.offsetHeight,A.value=Lt})}else A.value={minHeight:eJ(y.value).minHeight}},ue=(Pe=>{let Ne=!1;return()=>{var ht;if(Ne||!r.autosize)return;((ht=y.value)==null?void 0:ht.offsetParent)===null||(Pe(),Ne=!0)}})(te),me=()=>{const Pe=S.value,Ne=r.formatter?r.formatter(j.value):j.value;!Pe||Pe.value===Ne||(Pe.value=Ne)},Me=async Pe=>{re();let{value:Ne}=Pe.target;if(r.formatter&&r.parser&&(Ne=r.parser(Ne)),!ge.value){if(Ne===j.value){me();return}n(Gn,Ne),n(ma,Ne),await Vt(),me(),J()}},Ae=Pe=>{let{value:Ne}=Pe.target;r.formatter&&r.parser&&(Ne=r.parser(Ne)),n(Tr,Ne)},{isComposing:ge,handleCompositionStart:_e,handleCompositionUpdate:Q,handleCompositionEnd:be}=PC({emit:n,afterComposition:Me}),De=()=>{re(),b.value=!b.value,setTimeout(J)},pe=()=>{var Pe;return(Pe=S.value)==null?void 0:Pe.focus()},ie=()=>{var Pe;return(Pe=S.value)==null?void 0:Pe.blur()},ce=Pe=>{m.value=!1,n("mouseleave",Pe)},Re=Pe=>{m.value=!0,n("mouseenter",Pe)},Ee=Pe=>{n("keydown",Pe)},Le=()=>{var Pe;(Pe=S.value)==null||Pe.select()},Fe=()=>{n(Gn,""),n(Tr,""),n("clear"),n(ma,"")};return Ct(()=>r.modelValue,()=>{var Pe;Vt(()=>te()),r.validateEvent&&((Pe=d?.validate)==null||Pe.call(d,"change").catch(Ne=>void 0))}),Ct(j,()=>me()),Ct(()=>r.type,async()=>{await Vt(),me(),te()}),jn(()=>{!r.formatter&&r.parser,me(),Vt(te)}),t({input:g,textarea:y,ref:S,textareaStyle:L,autosize:ao(r,"autosize"),isComposing:ge,focus:pe,blur:ie,select:Le,clear:Fe,resizeTextarea:te}),(Pe,Ne)=>(F(),K("div",{class:oe([C(s),{[C(v).bm("group","append")]:Pe.$slots.append,[C(v).bm("group","prepend")]:Pe.$slots.prepend}]),style:Jt(C(V)),onMouseenter:Re,onMouseleave:ce},[xe(" input "),Pe.type!=="textarea"?(F(),K(Nt,{key:0},[xe(" prepend slot "),Pe.$slots.prepend?(F(),K("div",{key:0,class:oe(C(v).be("group","prepend"))},[pt(Pe.$slots,"prepend")],2)):xe("v-if",!0),x("div",{ref_key:"wrapperRef",ref:k,class:oe(C(l))},[xe(" prefix slot "),Pe.$slots.prefix||Pe.prefixIcon?(F(),K("span",{key:0,class:oe(C(v).e("prefix"))},[x("span",{class:oe(C(v).e("prefix-inner"))},[pt(Pe.$slots,"prefix"),Pe.prefixIcon?(F(),mt(C(_n),{key:0,class:oe(C(v).e("icon"))},{default:nt(()=>[(F(),mt(hr(Pe.prefixIcon)))]),_:1},8,["class"])):xe("v-if",!0)],2)],2)):xe("v-if",!0),x("input",pr({id:C(c),ref_key:"input",ref:g,class:C(v).e("inner")},C(i),{name:Pe.name,minlength:Pe.minlength,maxlength:Pe.maxlength,type:Pe.showPassword?b.value?"text":"password":Pe.type,disabled:C(p),readonly:Pe.readonly,autocomplete:Pe.autocomplete,tabindex:Pe.tabindex,"aria-label":Pe.ariaLabel,placeholder:Pe.placeholder,style:Pe.inputStyle,form:Pe.form,autofocus:Pe.autofocus,role:Pe.containerRole,inputmode:Pe.inputmode,onCompositionstart:C(_e),onCompositionupdate:C(Q),onCompositionend:C(be),onInput:Me,onChange:Ae,onKeydown:Ee}),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(W)?(F(),K("span",{key:1,class:oe(C(v).e("suffix"))},[x("span",{class:oe(C(v).e("suffix-inner"))},[!C(H)||!C(G)||!C(Z)?(F(),K(Nt,{key:0},[pt(Pe.$slots,"suffix"),Pe.suffixIcon?(F(),mt(C(_n),{key:0,class:oe(C(v).e("icon"))},{default:nt(()=>[(F(),mt(hr(Pe.suffixIcon)))]),_:1},8,["class"])):xe("v-if",!0)],64)):xe("v-if",!0),C(H)?(F(),mt(C(_n),{key:1,class:oe([C(v).e("icon"),C(v).e("clear")]),onMousedown:Qt(C(go),["prevent"]),onClick:Fe},{default:nt(()=>[(F(),mt(hr(Pe.clearIcon)))]),_:1},8,["class","onMousedown"])):xe("v-if",!0),C(G)?(F(),mt(C(_n),{key:2,class:oe([C(v).e("icon"),C(v).e("password")]),onClick:De},{default:nt(()=>[(F(),mt(hr(C(N))))]),_:1},8,["class"])):xe("v-if",!0),C(Z)?(F(),K("span",{key:3,class:oe(C(v).e("count"))},[x("span",{class:oe(C(v).e("count-inner"))},ze(C(z))+" / "+ze(Pe.maxlength),3)],2)):xe("v-if",!0),C(_)&&C(R)&&C(M)?(F(),mt(C(_n),{key:4,class:oe([C(v).e("icon"),C(v).e("validateIcon"),C(v).is("loading",C(_)==="validating")])},{default:nt(()=>[(F(),mt(hr(C(R))))]),_:1},8,["class"])):xe("v-if",!0)],2)],2)):xe("v-if",!0)],2),xe(" append slot "),Pe.$slots.append?(F(),K("div",{key:1,class:oe(C(v).be("group","append"))},[pt(Pe.$slots,"append")],2)):xe("v-if",!0)],64)):(F(),K(Nt,{key:1},[xe(" textarea "),x("textarea",pr({id:C(c),ref_key:"textarea",ref:y,class:[C(h).e("inner"),C(v).is("focus",C(O))]},C(i),{minlength:Pe.minlength,maxlength:Pe.maxlength,tabindex:Pe.tabindex,disabled:C(p),readonly:Pe.readonly,autocomplete:Pe.autocomplete,style:C(L),"aria-label":Pe.ariaLabel,placeholder:Pe.placeholder,form:Pe.form,autofocus:Pe.autofocus,rows:Pe.rows,role:Pe.containerRole,onCompositionstart:C(_e),onCompositionupdate:C(Q),onCompositionend:C(be),onInput:Me,onFocus:C(I),onBlur:C(P),onChange:Ae,onKeydown:Ee}),null,16,["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role","onCompositionstart","onCompositionupdate","onCompositionend","onFocus","onBlur"]),C(Z)?(F(),K("span",{key:0,style:Jt(w.value),class:oe(C(v).e("count"))},ze(C(z))+" / "+ze(Pe.maxlength),7)):xe("v-if",!0)],64))],38))}});var pFe=en(fFe,[["__file","input.vue"]]);const Us=er(pFe),Im=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=Yt({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),vFe="Thumb",mFe=et({__name:"thumb",props:gFe,setup(e){const t=e,n=un(_H),r=jt("scrollbar");n||Ji(vFe,"can not inject scrollbar context");const o=Y(),i=Y(),a=Y({}),s=Y(!1);let l=!1,u=!1,d=0,c=0,f=Kr?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=O=>{var I;if(O.stopPropagation(),O.ctrlKey||[1,2].includes(O.button))return;(I=window.getSelection())==null||I.removeAllRanges(),m(O);const P=O.currentTarget;P&&(a.value[p.value.axis]=P[p.value.offset]-(O[p.value.client]-P.getBoundingClientRect()[p.value.direction]))},y=O=>{if(!i.value||!o.value||!n.wrapElement)return;const I=Math.abs(O.target.getBoundingClientRect()[p.value.direction]-O[p.value.client]),P=i.value[p.value.offset]/2,M=(I-P)*100*h.value/o.value[p.value.offset];n.wrapElement[p.value.scroll]=M*n.wrapElement[p.value.scrollSize]/100},m=O=>{O.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=O=>{if(!o.value||!i.value||l===!1)return;const I=a.value[p.value.axis];if(!I)return;const P=(o.value.getBoundingClientRect()[p.value.direction]-O[p.value.client])*-1,M=i.value[p.value.offset]-I,_=(P-M)*100*h.value/o.value[p.value.offset];p.value.scroll==="scrollLeft"?n.wrapElement[p.value.scroll]=_*c/100:n.wrapElement[p.value.scroll]=_*d/100},w=()=>{l=!1,a.value[p.value.axis]=0,document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",w),k(),u&&(s.value=!1)},A=()=>{u=!1,s.value=!!t.size},S=()=>{u=!0,s.value=l};Yr(()=>{k(),document.removeEventListener("mouseup",w)});const k=()=>{document.onselectstart!==f&&(document.onselectstart=f)};return Mo(ao(n,"scrollbarElement"),"mousemove",A),Mo(ao(n,"scrollbarElement"),"mouseleave",S),(O,I)=>(F(),mt(Wi,{name:C(r).b("fade"),persisted:""},{default:nt(()=>[an(x("div",{ref_key:"instance",ref:o,class:oe([C(r).e("bar"),C(r).is(C(p).key)]),onMousedown:y,onClick:Qt(()=>{},["stop"])},[x("div",{ref_key:"thumb",ref:i,class:oe(C(r).e("thumb")),style:Jt(C(v)),onMousedown:g},null,38)],42,["onClick"]),[[Ar,O.always||s.value]])]),_:1},8,["name"]))}});var rJ=en(mFe,[["__file","thumb.vue"]]);const yFe=Yt({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),bFe=et({__name:"bar",props:yFe,setup(e,{expose:t}){const n=e,r=un(_H),o=Y(0),i=Y(0),a=Y(""),s=Y(""),l=Y(1),u=Y(1);return t({handleScroll:f=>{if(f){const p=f.offsetHeight-Im,v=f.offsetWidth-Im;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-Im,v=f.offsetWidth-Im,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+Im(F(),K(Nt,null,[$e(rJ,{move:o.value,ratio:u.value,size:a.value,always:f.always},null,8,["move","ratio","size","always"]),$e(rJ,{move:i.value,ratio:l.value,size:s.value,vertical:"",always:f.always},null,8,["move","ratio","size","always"])],64))}});var wFe=en(bFe,[["__file","bar.vue"]]);const AFe=Yt({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:lt([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,...Es(["ariaLabel","ariaOrientation"])}),p1e={"end-reached":e=>["left","right","top","bottom"].includes(e),scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(Ln)},CFe="ElScrollbar",xFe=et({name:CFe}),SFe=et({...xFe,props:AFe,emits:p1e,setup(e,{expose:t,emit:n}){const r=e,o=jt("scrollbar");let i,a,s,l=0,u=0,d="";const c={bottom:!1,top:!1,right:!1,left:!1},f=Y(),p=Y(),v=Y(),h=Y(),g=ee(()=>{const M={};return r.height&&(M.height=_i(r.height)),r.maxHeight&&(M.maxHeight=_i(r.maxHeight)),[r.wrapStyle,M]}),y=ee(()=>[r.wrapClass,o.e("wrap"),{[o.em("wrap","hidden-default")]:!r.native}]),m=ee(()=>[o.e("view"),r.viewClass]),b=M=>{var _;return(_=c[M])!=null?_:!1},w={top:"bottom",bottom:"top",left:"right",right:"left"},A=M=>{const _=w[d];if(!_)return;const R=M[d],N=M[_];R&&!c[d]&&(c[d]=!0),!N&&c[_]&&(c[_]=!1)},S=()=>{var M;if(p.value){(M=h.value)==null||M.handleScroll(p.value);const _=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&&_!==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}),_!==l&&(d=l>_?"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 k(M,_){ar(M)?p.value.scrollTo(M):Ln(M)&&Ln(_)&&p.value.scrollTo(M,_)}const O=M=>{Ln(M)&&(p.value.scrollTop=M)},I=M=>{Ln(M)&&(p.value.scrollLeft=M)},P=()=>{var M;(M=h.value)==null||M.update(),c[d]=!1};return Ct(()=>r.noresize,M=>{M?(i?.(),a?.(),s?.()):({stop:i}=li(v,P),{stop:a}=li(p,P),s=Mo("resize",P))},{immediate:!0}),Ct(()=>[r.maxHeight,r.height],()=>{r.native||Vt(()=>{var M;P(),p.value&&((M=h.value)==null||M.handleScroll(p.value))})}),Sr(_H,Ur({scrollbarElement:f,wrapElement:p})),Sb(()=>{p.value&&(p.value.scrollTop=l,p.value.scrollLeft=u)}),jn(()=>{r.native||Vt(()=>{P()})}),Wc(()=>P()),t({wrapRef:p,update:P,scrollTo:k,setScrollTop:O,setScrollLeft:I,handleScroll:S}),(M,_)=>(F(),K("div",{ref_key:"scrollbarRef",ref:f,class:oe(C(o).b())},[x("div",{ref_key:"wrapRef",ref:p,class:oe(C(y)),style:Jt(C(g)),tabindex:M.tabindex,onScroll:S},[(F(),mt(hr(M.tag),{id:M.id,ref_key:"resizeRef",ref:v,class:oe(C(m)),style:Jt(M.viewStyle),role:M.role,"aria-label":M.ariaLabel,"aria-orientation":M.ariaOrientation},{default:nt(()=>[pt(M.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,["tabindex"]),M.native?xe("v-if",!0):(F(),mt(wFe,{key:0,ref_key:"barRef",ref:h,always:M.always,"min-size":M.minSize},null,8,["always","min-size"]))],2))}});var EFe=en(SFe,[["__file","scrollbar.vue"]]);const Lc=er(EFe),DH=Symbol("popper"),h1e=Symbol("popperContent"),g1e=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],v1e=Yt({role:{type:String,values:g1e,default:"tooltip"}}),kFe=et({name:"ElPopper",inheritAttrs:!1}),TFe=et({...kFe,props:v1e,setup(e,{expose:t}){const n=e,r=Y(),o=Y(),i=Y(),a=Y(),s=ee(()=>n.role),l={triggerRef:r,popperInstanceRef:o,contentRef:i,referenceRef:a,role:s};return t(l),Sr(DH,l),(u,d)=>pt(u.$slots,"default")}});var _Fe=en(TFe,[["__file","popper.vue"]]);const DFe=et({name:"ElPopperArrow",inheritAttrs:!1}),IFe=et({...DFe,setup(e,{expose:t}){const n=jt("popper"),{arrowRef:r,arrowStyle:o}=un(h1e,void 0);return Yr(()=>{r.value=void 0}),t({arrowRef:r}),(i,a)=>(F(),K("span",{ref_key:"arrowRef",ref:r,class:oe(C(n).e("arrow")),style:Jt(C(o)),"data-popper-arrow":""},null,6))}});var OFe=en(IFe,[["__file","arrow.vue"]]);const m1e=Yt({virtualRef:{type:lt(Object)},virtualTriggering:Boolean,onMouseenter:{type:lt(Function)},onMouseleave:{type:lt(Function)},onClick:{type:lt(Function)},onKeydown:{type:lt(Function)},onFocus:{type:lt(Function)},onBlur:{type:lt(Function)},onContextmenu:{type:lt(Function)},id:String,open:Boolean}),y1e=Symbol("elForwardRef"),MFe=e=>{Sr(y1e,{setForwardRef:n=>{e.value=n}})},PFe=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),NFe="ElOnlyChild",b1e=et({name:NFe,setup(e,{slots:t,attrs:n}){var r;const o=un(y1e),i=PFe((r=o?.setForwardRef)!=null?r:go);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?an(qf(l,n),[[i]]):null}}});function w1e(e){if(!e)return null;const t=e;for(const n of t){if(ar(n))switch(n.type){case ua:continue;case Eb:case"svg":return oJ(n);case Nt:return w1e(n.children);default:return n}return oJ(n)}return null}function oJ(e){const t=jt("only-child");return $e("span",{class:t.e("content")},[e])}const RFe=et({name:"ElPopperTrigger",inheritAttrs:!1}),BFe=et({...RFe,props:m1e,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=un(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 jn(()=>{Ct(()=>n.virtualRef,c=>{c&&(o.value=Sa(c))},{immediate:!0}),Ct(o,(c,f)=>{u?.(),u=void 0,al(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))}),q3(c)&&(u=Ct([i,a,s,l],p=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((v,h)=>{Zi(p[h])?c.removeAttribute(v):c.setAttribute(v,p[h])})},{immediate:!0}))),al(f)&&q3(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(p=>f.removeAttribute(p))},{immediate:!0})}),Yr(()=>{if(u?.(),u=void 0,o.value&&al(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):(F(),mt(C(b1e),pr({key:0},c.$attrs,{"aria-controls":C(i),"aria-describedby":C(a),"aria-expanded":C(l),"aria-haspopup":C(s)}),{default:nt(()=>[pt(c.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var LFe=en(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=Y(),iD=Y(0),MH=Y(0);let gx=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,bf=(e,t)=>{if(e&&e.focus){const n=document.activeElement;let r=!1;al(e)&&!q3(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(),al(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(bf(r,t),document.activeElement!==n)return},cJ=HFe(),VFe=()=>iD.value>MH.value,vx=()=>{OH.value="pointer",iD.value=window.performance.now()},dJ=()=>{OH.value="keyboard",iD.value=window.performance.now()},qFe=()=>(jn(()=>{gx===0&&(document.addEventListener("mousedown",vx),document.addEventListener("touchstart",vx),document.addEventListener("keydown",dJ)),gx++}),Yr(()=>{gx--,gx<=0&&(document.removeEventListener("mousedown",vx),document.removeEventListener("touchstart",vx),document.removeEventListener("keydown",dJ))}),{focusReason:OH,lastUserFocusTimestamp:iD,lastAutomatedFocusTimestamp:MH}),mx=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 k1=[];const fJ=e=>{e.code===gn.esc&&k1.forEach(t=>t(e))},GFe=e=>{jn(()=>{k1.length===0&&document.addEventListener("keydown",fJ),Kr&&k1.push(e)}),Yr(()=>{k1=k1.filter(t=>t!==e),k1.length===0&&Kr&&document.removeEventListener("keydown",fJ)})},KFe=et({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=Y();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,k=document.activeElement;if(S&&k){const O=b,[I,P]=$Fe(O);if(I&&P){if(!w&&k===P){const _=mx({focusReason:i.value});t("focusout-prevented",_),_.defaultPrevented||(v.preventDefault(),A&&bf(I,!0))}else if(w&&[I,O].includes(k)){const _=mx({focusReason:i.value});t("focusout-prevented",_),_.defaultPrevented||(v.preventDefault(),A&&bf(P,!0))}}else if(k===O){const _=mx({focusReason:i.value});t("focusout-prevented",_),_.defaultPrevented||v.preventDefault()}}};Sr(IH,{focusTrapRef:n,onKeydown:s}),Ct(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),Ct([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:bf(o,!0))},c=v=>{const h=C(n);if(!(a.paused||!h))if(e.trapped){const g=v.relatedTarget;!Zi(g)&&!h.contains(g)&&setTimeout(()=>{if(!a.paused&&e.trapped){const y=mx({focusReason:i.value});t("focusout-prevented",y),y.defaultPrevented||bf(o,!0)}},0)}else{const g=v.target;g&&h.contains(g)||t("focusout",v)}};async function f(){await Vt();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||Vt(()=>{let m=e.focusStartEl;Dn(m)||(bf(m),document.activeElement!==m&&(m="first")),m==="first"&&WFe(A1e(v),!0),(document.activeElement===h||m==="container")&&bf(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))&&bf(r??document.body),v.removeEventListener(gI,u),cJ.remove(a)}}return jn(()=>{e.trapped&&f(),Ct(()=>e.trapped,v=>{v?f():p()})}),Yr(()=>{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 pt(e.$slots,"default",{handleKeydown:e.onKeydown})}var Bb=en(KFe,[["render",YFe],["__file","focus-trap.vue"]]),Ol="top",Gu="bottom",Ku="right",Ml="left",PH="auto",NC=[Ol,Gu,Ku,Ml],Dy="start",G3="end",QFe="clippingParents",C1e="viewport",T2="popper",ZFe="reference",pJ=NC.reduce(function(e,t){return e.concat([t+"-"+Dy,t+"-"+G3])},[]),mp=[].concat(NC,[PH]).reduce(function(e,t){return e.concat([t,t+"-"+Dy,t+"-"+G3])},[]),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 Ud(e){return e?(e.nodeName||"").toLowerCase():null}function Yc(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Iy(e){var t=Yc(e).Element;return e instanceof t||e instanceof Element}function zu(e){var t=Yc(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function NH(e){if(typeof ShadowRoot>"u")return!1;var t=Yc(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];!zu(i)||!Ud(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},{});!zu(o)||!Ud(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 Od(e){return e.split("-")[0]}var Gg=Math.max,wE=Math.min,Oy=Math.round;function My(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(zu(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=Oy(n.width)/a||1),i>0&&(o=Oy(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=My(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 Yf(e){return Yc(e).getComputedStyle(e)}function cUe(e){return["table","td","th"].indexOf(Ud(e))>=0}function k0(e){return((Iy(e)?e.ownerDocument:e.document)||window.document).documentElement}function aD(e){return Ud(e)==="html"?e:e.assignedSlot||e.parentNode||(NH(e)?e.host:null)||k0(e)}function hJ(e){return!zu(e)||Yf(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&&zu(e)){var r=Yf(e);if(r.position==="fixed")return null}var o=aD(e);for(NH(o)&&(o=o.host);zu(o)&&["html","body"].indexOf(Ud(o))<0;){var i=Yf(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 RC(e){for(var t=Yc(e),n=hJ(e);n&&cUe(n)&&Yf(n).position==="static";)n=hJ(n);return n&&(Ud(n)==="html"||Ud(n)==="body"&&Yf(n).position==="static")?t:n||dUe(e)||t}function BH(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Z4(e,t,n){return Gg(e,wE(t,n))}function fUe(e,t,n){var r=Z4(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,NC))};function hUe(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Od(n.placement),l=BH(s),u=[Ml,Ku].indexOf(s)>=0,d=u?"height":"width";if(!(!i||!a)){var c=pUe(o.padding,n),f=RH(i),p=l==="y"?Ol:Ml,v=l==="y"?Gu:Ku,h=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],g=a[l]-n.rects.reference[l],y=RC(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,k=Z4(w,S,A),O=l;n.modifiersData[r]=(t={},t[O]=k,t.centerOffset=k-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 Py(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:Oy(t*o)/o||0,y:Oy(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=Ml,w=Ol,A=window;if(u){var S=RC(n),k="clientHeight",O="clientWidth";if(S===Yc(n)&&(S=k0(n),Yf(S).position!=="static"&&s==="absolute"&&(k="scrollHeight",O="scrollWidth")),S=S,o===Ol||(o===Ml||o===Ku)&&i===G3){w=Gu;var I=c&&S===A&&A.visualViewport?A.visualViewport.height:S[k];h-=I-r.height,h*=l?1:-1}if(o===Ml||(o===Ol||o===Gu)&&i===G3){b=Ku;var P=c&&S===A&&A.visualViewport?A.visualViewport.width:S[O];p-=P-r.width,p*=l?1:-1}}var M=Object.assign({position:s},u&&mUe),_=d===!0?yUe({x:p,y:h}):{x:p,y:h};if(p=_.x,h=_.y,l){var R;return Object.assign({},M,(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({},M,(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:Od(t.placement),variation:Py(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:{}},yx={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=Yc(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(d){d.addEventListener("scroll",n.update,yx)}),s&&l.addEventListener("resize",n.update,yx),function(){i&&u.forEach(function(d){d.removeEventListener("scroll",n.update,yx)}),s&&l.removeEventListener("resize",n.update,yx)}}var D1e={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:wUe,data:{}},AUe={left:"right",right:"left",bottom:"top",top:"bottom"};function CS(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=Yc(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function FH(e){return My(k0(e)).left+LH(e).scrollLeft}function xUe(e){var t=Yc(e),n=k0(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=k0(e),r=LH(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Gg(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Gg(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+FH(e),l=-r.scrollTop;return Yf(o||n).direction==="rtl"&&(s+=Gg(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function UH(e){var t=Yf(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(Ud(e))>=0?e.ownerDocument.body:zu(e)&&UH(e)?e:I1e(aD(e))}function X4(e,t){var n;t===void 0&&(t=[]);var r=I1e(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Yc(r),a=o?[i].concat(i.visualViewport||[],UH(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(X4(aD(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=My(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)):Iy(t)?EUe(t):AL(SUe(k0(e)))}function kUe(e){var t=X4(aD(e)),n=["absolute","fixed"].indexOf(Yf(e).position)>=0,r=n&&zu(e)?RC(e):e;return Iy(r)?t.filter(function(o){return Iy(o)&&S1e(o,r)&&Ud(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=Gg(u.top,s.top),s.right=wE(u.right,s.right),s.bottom=wE(u.bottom,s.bottom),s.left=Gg(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?Od(r):null,i=r?Py(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case Ol:l={x:a,y:t.y-n.height};break;case Gu:l={x:a,y:t.y+t.height};break;case Ku:l={x:t.x+t.width,y:s};break;case Ml: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 Dy:l[u]=l[u]-(t[d]/2-n[d]/2);break;case G3:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function K3(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?T2: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,NC)),g=d===T2?ZFe:T2,y=e.rects.popper,m=e.elements[f?g:d],b=TUe(Iy(m)?m:m.contextElement||k0(e.elements.popper),a,l),w=My(e.elements.reference),A=O1e({reference:w,element:y,placement:o}),S=AL(Object.assign({},y,A)),k=d===T2?S:w,O={top:b.top-k.top+h.top,bottom:k.bottom-b.bottom+h.bottom,left:b.left-k.left+h.left,right:k.right-b.right+h.right},I=e.modifiersData.offset;if(d===T2&&I){var P=I[o];Object.keys(O).forEach(function(M){var _=[Ku,Gu].indexOf(M)>=0?1:-1,R=[Ol,Gu].indexOf(M)>=0?"y":"x";O[M]+=P[R]*_})}return O}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?mp:l,d=Py(r),c=d?s?pJ:pJ.filter(function(v){return Py(v)===d}):NC,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]=K3(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[Od(h)],v},{});return Object.keys(p).sort(function(v,h){return p[v]-p[h]})}function DUe(e){if(Od(e)===PH)return[];var t=CS(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=Od(g),m=y===g,b=l||(m||!v?[CS(g)]:DUe(g)),w=[g].concat(b).reduce(function(re,J){return re.concat(Od(J)===PH?_Ue(t,{placement:J,boundary:d,rootBoundary:c,padding:u,flipVariations:v,allowedAutoPlacements:h}):J)},[]),A=t.rects.reference,S=t.rects.popper,k=new Map,O=!0,I=w[0],P=0;P=0,V=N?"width":"height",L=K3(t,{placement:M,boundary:d,rootBoundary:c,altBoundary:f,padding:u}),j=N?R?Ku:Ml:R?Gu:Ol;A[V]>S[V]&&(j=CS(j));var H=CS(j),G=[];if(i&&G.push(L[_]<=0),s&&G.push(L[j]<=0,L[H]<=0),G.every(function(re){return re})){I=M,O=!1;break}k.set(M,G)}if(O)for(var Z=v?3:1,z=function(re){var J=w.find(function(te){var X=k.get(te);if(X)return X.slice(0,re).every(function(ue){return ue})});if(J)return I=J,"break"},U=Z;U>0;U--){var W=z(U);if(W==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,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[Ol,Ku,Gu,Ml].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=K3(t,{elementContext:"reference"}),s=K3(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=Od(e),o=[Ml,Ol].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,[Ml,Ku].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=mp.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=K3(t,{boundary:l,rootBoundary:u,padding:c,altBoundary:d}),y=Od(t.placement),m=Py(t.placement),b=!m,w=BH(y),A=FUe(w),S=t.modifiersData.popperOffsets,k=t.rects.reference,O=t.rects.popper,I=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,P=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(S){if(i){var R,N=w==="y"?Ol:Ml,V=w==="y"?Gu:Ku,L=w==="y"?"height":"width",j=S[w],H=j+g[N],G=j-g[V],Z=p?-O[L]/2:0,z=m===Dy?k[L]:O[L],U=m===Dy?-O[L]:-k[L],W=t.elements.arrow,re=p&&W?RH(W):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:E1e(),te=J[N],X=J[V],ue=Z4(0,k[L],re[L]),me=b?k[L]/2-Z-ue-te-P.mainAxis:z-ue-te-P.mainAxis,Me=b?-k[L]/2+Z+ue+X+P.mainAxis:U+ue+X+P.mainAxis,Ae=t.elements.arrow&&RC(t.elements.arrow),ge=Ae?w==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,_e=(R=M?.[w])!=null?R:0,Q=j+me-_e-ge,be=j+Me-_e,De=Z4(p?wE(H,Q):H,j,p?Gg(G,be):G);S[w]=De,_[w]=De-j}if(s){var pe,ie=w==="x"?Ol:Ml,ce=w==="x"?Gu:Ku,Re=S[A],Ee=A==="y"?"height":"width",Le=Re+g[ie],Fe=Re-g[ce],Pe=[Ol,Ml].indexOf(y)!==-1,Ne=(pe=M?.[A])!=null?pe:0,ht=Pe?Le:Re-k[Ee]-O[Ee]-Ne+P.altAxis,Rt=Pe?Re+k[Ee]+O[Ee]-Ne-P.altAxis:Fe,Lt=p&&Pe?fUe(ht,Re,Rt):Z4(p?ht:Le,Re,p?Rt:Fe);S[A]=Lt,_[A]=Lt-Re}t.modifiersData[r]=_}}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===Yc(e)||!zu(e)?LH(e):$Ue(e)}function HUe(e){var t=e.getBoundingClientRect(),n=Oy(t.width)/e.offsetWidth||1,r=Oy(t.height)/e.offsetHeight||1;return n!==1||r!==1}function WUe(e,t,n){n===void 0&&(n=!1);var r=zu(t),o=zu(t)&&HUe(t),i=k0(t),a=My(e,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ud(t)!=="body"||UH(i))&&(s=jUe(t)),zu(t)?(l=My(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=Yt({...JUe,...P1e,id:String,style:{type:lt([String,Array,Object])},className:{type:lt([String,Array,Object])},effect:{type:lt(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:lt([String,Array,Object])},popperStyle:{type:lt([String,Array,Object])},referenceEl:{type:lt(Object)},triggerTargetEl:{type:lt(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...Es(["ariaLabel"])}),eze={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},tze=(e,t)=>{const n=Y(!1),r=Y();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(Kr)return Sa(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=Uo(),a=Y({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 Ct(o,l=>{const u=C(i);u&&u.setOptions(l)},{deep:!0}),Ct([e,t],([l,u])=>{s(),!(!l||!u)&&(i.value=ZUe(l,u,C(o)))}),Yr(()=>{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=W3(t.map(o=>[o,e.styles[o]||{}])),r=W3(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}=un(DH,void 0),i=Y(),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 Ct(g,y=>t.value=y,{flush:"sync"}),jn(()=>{Ct(()=>{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}=Pb(),i=jt("popper"),a=ee(()=>C(t).popper),s=Y(Ln(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=Ln(e.zIndex)?e.zIndex:o()}}},dze=et({name:"ElPopperContent"}),fze=et({...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:k}=cze(r,{styles:v,attributes:c,role:g}),O=un(Fd,void 0);Sr(h1e,{arrowStyle:b,arrowRef:f}),O&&Sr(Fd,{...O,addInputId:go,removeInputId:go});let I;const P=(_=!0)=>{y(),_&&k()},M=()=>{P(!1),r.visible&&r.focusOnShow?i.value=!0:r.visible===!1&&(i.value=!1)};return jn(()=>{Ct(()=>r.triggerTargetEl,(_,R)=>{I?.(),I=void 0;const N=C(_||p.value),V=C(R||p.value);al(N)&&(I=Ct([g,()=>r.ariaLabel,m,()=>r.id],L=>{["role","aria-label","aria-modal","id"].forEach((j,H)=>{Zi(L[H])?N.removeAttribute(j):N.setAttribute(j,L[H])})},{immediate:!0})),V!==N&&al(V)&&["role","aria-label","aria-modal","id"].forEach(L=>{V.removeAttribute(L)})},{immediate:!0}),Ct(()=>r.visible,M,{immediate:!0})}),Yr(()=>{I?.(),I=void 0}),t({popperContentRef:p,popperInstanceRef:h,updatePopper:P,contentStyle:S}),(_,R)=>(F(),K("div",pr({ref_key:"contentRef",ref:p},C(w),{style:C(S),class:C(A),tabindex:"-1",onMouseenter:N=>_.$emit("mouseenter",N),onMouseleave:N=>_.$emit("mouseleave",N)}),[$e(C(Bb),{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:nt(()=>[pt(_.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16,["onMouseenter","onMouseleave"]))}});var pze=en(fze,[["__file","content.vue"]]);const R1e=er(_Fe),$H=Symbol("elTooltip"),sD=Yt({to:{type:lt([String,Object]),required:!0},disabled:Boolean}),oi=Yt({...Jme,...N1e,appendTo:{type:sD.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:lt(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...Es(["ariaLabel"])}),J1=Yt({...m1e,disabled:Boolean,trigger:{type:lt([String,Array]),default:"hover"},triggerKeys:{type:lt(Array),default:()=>[gn.enter,gn.numpadEnter,gn.space]}}),hze=Gc({type:lt(Boolean),default:null}),gze=Gc({type:lt(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=vr(),{emit:p}=f,v=f.props,h=ee(()=>Pn(v[n])),g=ee(()=>v[e]===null),y=k=>{a.value!==!0&&(a.value=!0,s&&(s.value=k),Pn(d)&&d(k))},m=k=>{a.value!==!1&&(a.value=!1,s&&(s.value=k),Pn(c)&&c(k))},b=k=>{if(v.disabled===!0||Pn(u)&&!u())return;const O=h.value&&Kr;O&&p(t,!0),(g.value||!O)&&y(k)},w=k=>{if(v.disabled===!0||!Kr)return;const O=h.value&&Kr;O&&p(t,!1),(g.value||!O)&&m(k)},A=k=>{Co(k)&&(v.disabled&&k?h.value&&p(t,!1):a.value!==k&&(k?y():m()))},S=()=>{a.value?w():b()};return Ct(()=>v[e],A),l&&f.appContext.config.globalProperties.$route!==void 0&&Ct(()=>({...f.proxy.$route}),()=>{l.value&&a.value&&w()}),jn(()=>{A(v[e])}),{hide:w,show:b,toggle:S,hasUpdateHandler:h}},useModelToggleProps:o,useModelToggleEmits:r}},{useModelToggleProps:mze,useModelToggleEmits:yze,useModelToggle:bze}=vze("visible"),wze=Yt({...v1e,...mze,...oi,...J1,...P1e,showArrow:{type:Boolean,default:!0}}),Aze=[...yze,"before-show","before-hide","show","hide","open","close"],Cze=(e,t)=>qt(e)?e.includes(t):e===t,Om=(e,t,n)=>r=>{Cze(C(e),t)&&n(r)},Ni=(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=et({name:"ElTooltipTrigger"}),Sze=et({...xze,props:J1,setup(e,{expose:t}){const n=e,r=jt("tooltip"),{controlled:o,id:i,open:a,onOpen:s,onClose:l,onToggle:u}=un($H,void 0),d=Y(null),c=()=>{if(C(o)||n.disabled)return!0},f=ao(n,"trigger"),p=Ni(c,Om(f,"hover",s)),v=Ni(c,Om(f,"hover",l)),h=Ni(c,Om(f,"click",w=>{w.button===0&&u(w)})),g=Ni(c,Om(f,"focus",s)),y=Ni(c,Om(f,"focus",l)),m=Ni(c,Om(f,"contextmenu",w=>{w.preventDefault(),u(w)})),b=Ni(c,w=>{const{code:A}=w;n.triggerKeys.includes(A)&&(w.preventDefault(),u(w))});return t({triggerRef:d}),(w,A)=>(F(),mt(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:nt(()=>[pt(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var Eze=en(Sze,[["__file","trigger.vue"]]);const kze=et({__name:"teleport",props:sD,setup(e){return(t,n)=>t.disabled?pt(t.$slots,"default",{key:0}):(F(),mt(QB,{key:1,to:t.to},[pt(t.$slots,"default")],8,["to"]))}});var Tze=en(kze,[["__file","teleport.vue"]]);const Lb=er(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 N_(()=>{Kr&&(document.body.querySelector(t.value)||_ze(e.value))}),{id:e,selector:t}},Ize=et({name:"ElTooltipContent",inheritAttrs:!1}),Oze=et({...Ize,props:oi,setup(e,{expose:t}){const n=e,{selector:r}=B1e(),o=jt("tooltip"),i=Y(),a=mE(()=>{var H;return(H=i.value)==null?void 0:H.popperContentRef});let s;const{controlled:l,id:u,open:d,trigger:c,onClose:f,onOpen:p,onShow:v,onHide:h,onBeforeShow:g,onBeforeHide:y}=un($H,void 0),m=ee(()=>n.transition||`${o.namespace.value}-fade-in-linear`),b=ee(()=>n.persistent);Yr(()=>{s?.()});const w=ee(()=>C(b)?!0:C(d)),A=ee(()=>n.disabled?!1:C(d)),S=ee(()=>n.appendTo||r.value),k=ee(()=>{var H;return(H=n.style)!=null?H:{}}),O=Y(!0),I=()=>{h(),j()&&bf(document.body),O.value=!0},P=()=>{if(C(l))return!0},M=Ni(P,()=>{n.enterable&&C(c)==="hover"&&p()}),_=Ni(P,()=>{C(c)==="hover"&&f()}),R=()=>{var H,G;(G=(H=i.value)==null?void 0:H.updatePopper)==null||G.call(H),g?.()},N=()=>{y?.()},V=()=>{v()},L=()=>{n.virtualTriggering||f()},j=H=>{var G;const Z=(G=i.value)==null?void 0:G.popperContentRef,z=H?.relatedTarget||document.activeElement;return Z?.contains(z)};return Ct(()=>C(d),H=>{H?(O.value=!1,s=yH(a,()=>{if(C(l))return;C(c)!=="hover"&&f()})):s?.()},{flush:"post"}),Ct(()=>n.content,()=>{var H,G;(G=(H=i.value)==null?void 0:H.updatePopper)==null||G.call(H)}),t({contentRef:i,isFocusInsideContent:j}),(H,G)=>(F(),mt(C(Lb),{disabled:!H.teleported,to:C(S)},{default:nt(()=>[C(w)||!O.value?(F(),mt(Wi,{key:0,name:C(m),appear:!C(b),onAfterLeave:I,onBeforeEnter:R,onAfterEnter:V,onBeforeLeave:N,persisted:""},{default:nt(()=>[an($e(C(pze),pr({id:C(u),ref_key:"contentRef",ref:i},H.$attrs,{"aria-label":H.ariaLabel,"aria-hidden":O.value,"boundaries-padding":H.boundariesPadding,"fallback-placements":H.fallbackPlacements,"gpu-acceleration":H.gpuAcceleration,offset:H.offset,placement:H.placement,"popper-options":H.popperOptions,"arrow-offset":H.arrowOffset,strategy:H.strategy,effect:H.effect,enterable:H.enterable,pure:H.pure,"popper-class":H.popperClass,"popper-style":[H.popperStyle,C(k)],"reference-el":H.referenceEl,"trigger-target-el":H.triggerTargetEl,visible:C(A),"z-index":H.zIndex,onMouseenter:C(M),onMouseleave:C(_),onBlur:L,onClose:C(f)}),{default:nt(()=>[pt(H.$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"]),[[Ar,C(A)]])]),_:3},8,["name","appear"])):xe("v-if",!0)]),_:3},8,["disabled","to"]))}});var Mze=en(Oze,[["__file","content.vue"]]);const Pze=et({name:"ElTooltip"}),Nze=et({...Pze,props:wze,emits:Aze,setup(e,{expose:t,emit:n}){const r=e;Dze();const o=jt("tooltip"),i=ds(),a=Y(),s=Y(),l=()=>{var b;const w=C(a);w&&((b=w.popperInstanceRef)==null||b.update())},u=Y(!1),d=Y(),{show:c,hide:f,hasUpdateHandler:p}=bze({indicator:u,toggleReason:d}),{onOpen:v,onClose:h}=e1e({showAfter:ao(r,"showAfter"),hideAfter:ao(r,"hideAfter"),autoClose:ao(r,"autoClose"),open:c,close:f}),g=ee(()=>Co(r.visible)&&!p.value),y=ee(()=>[o.b(),r.popperClass]);Sr($H,{controlled:g,id:i,open:xb(u),trigger:ao(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}),Ct(()=>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)=>(F(),mt(C(R1e),{ref_key:"popperRef",ref:a,role:b.role},{default:nt(()=>[$e(Eze,{disabled:b.disabled,trigger:b.trigger,"trigger-keys":b.triggerKeys,"virtual-ref":b.virtualRef,"virtual-triggering":b.virtualTriggering},{default:nt(()=>[b.$slots.default?pt(b.$slots,"default",{key:0}):xe("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),$e(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:nt(()=>[pt(b.$slots,"content",{},()=>[b.rawContent?(F(),K("span",{key:0,innerHTML:b.content},null,8,["innerHTML"])):(F(),K("span",{key:1},ze(b.content),1))]),b.showArrow?(F(),mt(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=en(Nze,[["__file","tooltip.vue"]]);const fs=er(Rze),Bze=Yt({...MC,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:lt(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:lt([Function,Array]),default:go},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:oi.teleported,appendTo:oi.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean}),Lze={[Gn]:e=>Dn(e),[ma]:e=>Dn(e),[Tr]:e=>Dn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>ar(e)},L1e="ElAutocomplete",Fze=et({name:L1e,inheritAttrs:!1}),Uze=et({...Fze,props:Bze,emits:Lze,setup(e,{expose:t,emit:n}){const r=e,o=ee(()=>ru(r,Object.keys(MC))),i=pp(),a=Wa(),s=jt("autocomplete"),l=Y(),u=Y(),d=Y(),c=Y();let f=!1,p=!1;const v=Y([]),h=Y(-1),g=Y(""),y=Y(!1),m=Y(!1),b=Y(!1),w=ds(),A=ee(()=>i.style),S=ee(()=>(v.value.length>0||b.value)&&y.value),k=ee(()=>!r.hideLoading&&b.value),O=ee(()=>l.value?Array.from(l.value.$el.querySelectorAll("input")):[]),I=()=>{S.value&&(g.value=`${l.value.$el.offsetWidth}px`)},P=()=>{h.value=-1},M=async X=>{if(m.value)return;const ue=me=>{b.value=!1,!m.value&&(qt(me)?(v.value=me,h.value=r.highlightFirstItem?0:-1):Ji(L1e,"autocomplete suggestions must be an array"))};if(b.value=!0,qt(r.fetchSuggestions))ue(r.fetchSuggestions);else{const me=await r.fetchSuggestions(X,ue);qt(me)&&ue(me)}},_=Fl(M,r.debounce),R=X=>{const ue=!!X;if(n(ma,X),n(Gn,X),m.value=!1,y.value||(y.value=ue),!r.triggerOnFocus&&!X){m.value=!0,v.value=[];return}_(X)},N=X=>{var ue;a.value||(((ue=X.target)==null?void 0:ue.tagName)!=="INPUT"||O.value.includes(document.activeElement))&&(y.value=!0)},V=X=>{n(Tr,X)},L=X=>{var ue;if(p)p=!1;else{y.value=!0,n("focus",X);const me=(ue=r.modelValue)!=null?ue:"";r.triggerOnFocus&&!f&&_(String(me))}},j=X=>{setTimeout(()=>{var ue;if((ue=d.value)!=null&&ue.isFocusInsideContent()){p=!0;return}y.value&&z(),n("blur",X)})},H=()=>{y.value=!1,n(Gn,""),n("clear")},G=async()=>{S.value&&h.value>=0&&h.value{S.value&&(X.preventDefault(),X.stopPropagation(),z())},z=()=>{y.value=!1},U=()=>{var X;(X=l.value)==null||X.focus()},W=()=>{var X;(X=l.value)==null||X.blur()},re=async X=>{n(ma,X[r.valueKey]),n(Gn,X[r.valueKey]),n("select",X),v.value=[],h.value=-1},J=X=>{if(!S.value||b.value)return;if(X<0){h.value=-1;return}X>=v.value.length&&(X=v.value.length-1);const ue=u.value.querySelector(`.${s.be("suggestion","wrap")}`),Me=ue.querySelectorAll(`.${s.be("suggestion","list")} li`)[X],Ae=ue.scrollTop,{offsetTop:ge,scrollHeight:_e}=Me;ge+_e>Ae+ue.clientHeight&&(ue.scrollTop+=_e),ge{var X;(X=d.value)!=null&&X.isFocusInsideContent()||S.value&&z()});return Yr(()=>{te?.()}),jn(()=>{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:G,focus:U,blur:W,close:z,highlight:J,getData:M}),(X,ue)=>(F(),mt(C(fs),{ref_key:"popperRef",ref:d,visible:C(S),placement:X.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[C(s).e("popper"),X.popperClass],teleported:X.teleported,"append-to":X.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${C(s).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:I,onHide:P},{content:nt(()=>[x("div",{ref_key:"regionRef",ref:u,class:oe([C(s).b("suggestion"),C(s).is("loading",C(k))]),style:Jt({[X.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[X.$slots.header?(F(),K("div",{key:0,class:oe(C(s).be("suggestion","header")),onClick:Qt(()=>{},["stop"])},[pt(X.$slots,"header")],10,["onClick"])):xe("v-if",!0),$e(C(Lc),{id:C(w),tag:"ul","wrap-class":C(s).be("suggestion","wrap"),"view-class":C(s).be("suggestion","list"),role:"listbox"},{default:nt(()=>[C(k)?(F(),K("li",{key:0},[pt(X.$slots,"loading",{},()=>[$e(C(_n),{class:oe(C(s).is("loading"))},{default:nt(()=>[$e(C(Bc))]),_:1},8,["class"])])])):(F(!0),K(Nt,{key:1},on(v.value,(me,Me)=>(F(),K("li",{id:`${C(w)}-item-${Me}`,key:Me,class:oe({highlighted:h.value===Me}),role:"option","aria-selected":h.value===Me,onClick:Ae=>re(me)},[pt(X.$slots,"default",{item:me},()=>[An(ze(me[X.valueKey]),1)])],10,["id","aria-selected","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class"]),X.$slots.footer?(F(),K("div",{key:1,class:oe(C(s).be("suggestion","footer")),onClick:Qt(()=>{},["stop"])},[pt(X.$slots,"footer")],10,["onClick"])):xe("v-if",!0)],6)]),default:nt(()=>[x("div",{ref_key:"listboxRef",ref:c,class:oe([C(s).b(),X.$attrs.class]),style:Jt(C(A)),role:"combobox","aria-haspopup":"listbox","aria-expanded":C(S),"aria-owns":C(w)},[$e(C(Us),pr({ref_key:"inputRef",ref:l},pr(C(o),X.$attrs),{"model-value":X.modelValue,disabled:C(a),onInput:R,onChange:V,onFocus:L,onBlur:j,onClear:H,onKeydown:[Lr(Qt(me=>J(h.value-1),["prevent"]),["up"]),Lr(Qt(me=>J(h.value+1),["prevent"]),["down"]),Lr(G,["enter"]),Lr(z,["tab"]),Lr(Z,["esc"])],onMousedown:N}),Ll({_:2},[X.$slots.prepend?{name:"prepend",fn:nt(()=>[pt(X.$slots,"prepend")])}:void 0,X.$slots.append?{name:"append",fn:nt(()=>[pt(X.$slots,"append")])}:void 0,X.$slots.prefix?{name:"prefix",fn:nt(()=>[pt(X.$slots,"prefix")])}:void 0,X.$slots.suffix?{name:"suffix",fn:nt(()=>[pt(X.$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=en(Uze,[["__file","autocomplete.vue"]]);const $ze=er(zze),jze=Yt({size:{type:[Number,String],values:Yd,default:"",validator:e=>Ln(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:vo},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:lt(String),default:"cover"}}),Hze={error:e=>e instanceof Event},Wze=et({name:"ElAvatar"}),Vze=et({...Wze,props:jze,emits:Hze,setup(e,{emit:t}){const n=e,r=jt("avatar"),o=Y(!1),i=ee(()=>{const{size:u,icon:d,shape:c}=n,f=[r.b()];return Dn(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 Ln(u)?r.cssVarBlock({size:_i(u)||""}):void 0}),s=ee(()=>({objectFit:n.fit}));Ct(()=>n.src,()=>o.value=!1);function l(u){o.value=!0,t("error",u)}return(u,d)=>(F(),K("span",{class:oe(C(i)),style:Jt(C(a))},[(u.src||u.srcSet)&&!o.value?(F(),K("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:Jt(C(s)),onError:l},null,44,["src","alt","srcset"])):u.icon?(F(),mt(C(_n),{key:1},{default:nt(()=>[(F(),mt(hr(u.icon)))]),_:1})):pt(u.$slots,"default",{key:2})],6))}});var qze=en(Vze,[["__file","avatar.vue"]]);const Gze=er(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=Uo(),o=Uo(),i=Y(!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 Mo(o,"scroll",l),jn(()=>{var u;o.value=document,r.value=document.documentElement,e.target&&(r.value=(u=document.querySelector(e.target))!=null?u:void 0,r.value||Ji(n,`target does not exist: ${e.target}`),o.value=r.value),a()}),{visible:i,handleClick:s}},F1e="ElBacktop",Zze=et({name:F1e}),Xze=et({...Zze,props:Kze,emits:Yze,setup(e,{emit:t}){const n=e,r=jt("backtop"),{handleClick:o,visible:i}=Qze(n,t,F1e),a=ee(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(s,l)=>(F(),mt(Wi,{name:`${C(r).namespace.value}-fade-in`},{default:nt(()=>[C(i)?(F(),K("div",{key:0,style:Jt(C(a)),class:oe(C(r).b()),onClick:Qt(C(o),["stop"])},[pt(s.$slots,"default",{},()=>[$e(C(_n),{class:oe(C(r).e("icon"))},{default:nt(()=>[$e(C(HBe))]),_:1},8,["class"])])],14,["onClick"])):xe("v-if",!0)]),_:3},8,["name"]))}});var Jze=en(Xze,[["__file","backtop.vue"]]);const e$e=er(Jze),t$e=Yt({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:lt([String,Object,Array])},offset:{type:lt(Array),default:[0,0]},badgeClass:{type:String}}),n$e=et({name:"ElBadge"}),r$e=et({...n$e,props:t$e,setup(e,{expose:t}){const n=e,r=jt("badge"),o=ee(()=>n.isDot?"":Ln(n.value)&&Ln(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)=>(F(),K("div",{class:oe(C(r).b())},[pt(a.$slots,"default"),$e(Wi,{name:`${C(r).namespace.value}-zoom-in-center`,persisted:""},{default:nt(()=>[an(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:Jt(C(i))},[pt(a.$slots,"content",{value:C(o)},()=>[An(ze(C(o)),1)])],6),[[Ar,!a.hidden&&(C(o)||a.isDot||a.$slots.content)]])]),_:3},8,["name"])],2))}});var o$e=en(r$e,[["__file","badge.vue"]]);const U1e=er(o$e),z1e=Symbol("breadcrumbKey"),i$e=Yt({separator:{type:String,default:"/"},separatorIcon:{type:vo}}),a$e=et({name:"ElBreadcrumb"}),s$e=et({...a$e,props:i$e,setup(e){const t=e,{t:n}=Hr(),r=jt("breadcrumb"),o=Y();return Sr(z1e,t),jn(()=>{const i=o.value.querySelectorAll(`.${r.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,a)=>(F(),K("div",{ref_key:"breadcrumb",ref:o,class:oe(C(r).b()),"aria-label":C(n)("el.breadcrumb.label"),role:"navigation"},[pt(i.$slots,"default")],10,["aria-label"]))}});var l$e=en(s$e,[["__file","breadcrumb.vue"]]);const u$e=Yt({to:{type:lt([String,Object]),default:""},replace:Boolean}),c$e=et({name:"ElBreadcrumbItem"}),d$e=et({...c$e,props:u$e,setup(e){const t=e,n=vr(),r=un(z1e,void 0),o=jt("breadcrumb"),i=n.appContext.config.globalProperties.$router,a=Y(),s=()=>{!t.to||!i||(t.replace?i.replace(t.to):i.push(t.to))};return(l,u)=>{var d,c;return F(),K("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},[pt(l.$slots,"default")],2),(d=C(r))!=null&&d.separatorIcon?(F(),mt(C(_n),{key:0,class:oe(C(o).e("separator"))},{default:nt(()=>[(F(),mt(hr(C(r).separatorIcon)))]),_:1},8,["class"])):(F(),K("span",{key:1,class:oe(C(o).e("separator")),role:"presentation"},ze((c=C(r))==null?void 0:c.separator),3))],2)}}});var $1e=en(d$e,[["__file","breadcrumb-item.vue"]]);const f$e=er(l$e,{BreadcrumbItem:$1e}),p$e=vi($1e),j1e=Symbol("buttonGroupContextKey"),Lf=({from:e,replacement:t,scope:n,version:r,ref:o,type:i="API"},a)=>{Ct(()=>C(a),s=>{},{immediate:!0})},h$e=(e,t)=>{Lf({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=un(j1e,void 0),r=Nb("button"),{form:o}=ks(),i=fa(ee(()=>n?.size)),a=Wa(),s=Y(),l=pa(),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===Eb){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=Yt({size:ba,disabled:Boolean,type:{type:String,values:CL,default:""},icon:{type:vo},nativeType:{type:String,values:g$e,default:"button"},loading:Boolean,loadingIcon:{type:vo,default:()=>Bc},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:lt([String,Object]),default:"button"}}),v$e={click:e=>e instanceof MouseEvent};function xs(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 bx(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 wx(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Ng(e){return e.length===1?"0"+e:String(e)}function b$e(e,t,n){return{r:xs(e,255)*255,g:xs(t,255)*255,b:xs(n,255)*255}}function xJ(e,t,n){e=xs(e,255),t=xs(t,255),n=xs(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=xs(e,360),t=xs(t,100),n=xs(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=xs(e,255),t=xs(t,255),n=xs(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"&&(lf(e.r)&&lf(e.g)&&lf(e.b)?(t=b$e(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):lf(e.h)&&lf(e.s)&&lf(e.v)?(r=wx(e.s),o=wx(e.v),t=A$e(e.h,r,o),a=!0,s="hsv"):lf(e.h)&&lf(e.s)&&lf(e.l)&&(r=wx(e.s),i=wx(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+%?",gh="(?:".concat(T$e,")|(?:").concat(k$e,")"),mI="[\\s|\\(]+(".concat(gh,")[,|\\s]+(").concat(gh,")[,|\\s]+(").concat(gh,")\\s*\\)?"),yI="[\\s|\\(]+(".concat(gh,")[,|\\s]+(").concat(gh,")[,|\\s]+(").concat(gh,")[,|\\s]+(").concat(gh,")\\s*\\)?"),dc={CSS_UNIT:new RegExp(gh),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=dc.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=dc.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=dc.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=dc.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=dc.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=dc.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=dc.hex8.exec(e),n?{r:Yl(n[1]),g:Yl(n[2]),b:Yl(n[3]),a:kJ(n[4]),format:t?"name":"hex8"}:(n=dc.hex6.exec(e),n?{r:Yl(n[1]),g:Yl(n[2]),b:Yl(n[3]),format:t?"name":"hex"}:(n=dc.hex4.exec(e),n?{r:Yl(n[1]+n[1]),g:Yl(n[2]+n[2]),b:Yl(n[3]+n[3]),a:kJ(n[4]+n[4]),format:t?"name":"hex8"}:(n=dc.hex3.exec(e),n?{r:Yl(n[1]+n[1]),g:Yl(n[2]+n[2]),b:Yl(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function lf(e){return!!dc.CSS_UNIT.exec(String(e))}var B1=(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(xs(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(xs(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=bx(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=bx(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=bx(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=bx(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 B1(o),s=e.dark?a.tint(20).toString():Ip(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Ip(a,90):a.tint(90).toString(),"text-color":o,"border-color":e.dark?Ip(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?Ip(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Ip(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Ip(a,80):a.tint(80).toString());else{const l=e.dark?Ip(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?Ip(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=et({name:"ElButton"}),O$e=et({...I$e,props:xL,emits:v$e,setup(e,{expose:t,emit:n}){const r=e,o=D$e(r),i=jt("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)=>(F(),mt(hr(y.tag),pr({ref_key:"_ref",ref:a},C(d),{class:C(g),style:C(o),onClick:C(h)}),{default:nt(()=>[y.loading?(F(),K(Nt,{key:0},[y.$slots.loading?pt(y.$slots,"loading",{key:0}):(F(),mt(C(_n),{key:1,class:oe(C(i).is("loading"))},{default:nt(()=>[(F(),mt(hr(y.loadingIcon)))]),_:1},8,["class"]))],64)):y.icon||y.$slots.icon?(F(),mt(C(_n),{key:1},{default:nt(()=>[y.icon?(F(),mt(hr(y.icon),{key:0})):pt(y.$slots,"icon",{key:1})]),_:3})):xe("v-if",!0),y.$slots.default?(F(),K("span",{key:2,class:oe({[C(i).em("text","expand")]:C(v)})},[pt(y.$slots,"default")],2)):xe("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var M$e=en(O$e,[["__file","button.vue"]]);const P$e={size:xL.size,type:xL.type},N$e=et({name:"ElButtonGroup"}),R$e=et({...N$e,props:P$e,setup(e){const t=e;Sr(j1e,Ur({size:ao(t,"size"),type:ao(t,"type")}));const n=jt("button");return(r,o)=>(F(),K("div",{class:oe(C(n).b("group"))},[pt(r.$slots,"default")],2))}});var W1e=en(R$e,[["__file","button-group.vue"]]);const Za=er(M$e,{ButtonGroup:W1e}),V1e=vi(W1e);var zs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mu(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 xS={exports:{}},L$e=xS.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 V=["th","st","nd","rd"],L=N%100;return"["+N+(V[(L-20)%10]||V[L]||V[0])+"]"}},b=function(N,V,L){var j=String(N);return!j||j.length>=V?N:""+Array(V+1-j.length).join(L)+N},w={s:b,z:function(N){var V=-N.utcOffset(),L=Math.abs(V),j=Math.floor(L/60),H=L%60;return(V<=0?"+":"-")+b(j,2,"0")+":"+b(H,2,"0")},m:function N(V,L){if(V.date()1)return N(Z[0])}else{var z=V.name;S[z]=V,H=z}return!j&&H&&(A=H),H||!j&&A},P=function(N,V){if(O(N))return N.clone();var L=typeof V=="object"?V:{};return L.date=N,L.args=arguments,new _(L)},M=w;M.l=I,M.i=O,M.w=function(N,V){return P(N,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var _=(function(){function N(L){this.$L=I(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[k]=!0}var V=N.prototype;return V.parse=function(L){this.$d=(function(j){var H=j.date,G=j.utc;if(H===null)return new Date(NaN);if(M.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var Z=H.match(g);if(Z){var z=Z[2]-1||0,U=(Z[7]||"0").substring(0,3);return G?new Date(Date.UTC(Z[1],z,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,U)):new Date(Z[1],z,Z[3]||1,Z[4]||0,Z[5]||0,Z[6]||0,U)}}return new Date(H)})(L),this.init()},V.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},V.$utils=function(){return M},V.isValid=function(){return this.$d.toString()!==h},V.isSame=function(L,j){var H=P(L);return this.startOf(j)<=H&&H<=this.endOf(j)},V.isAfter=function(L,j){return P(L)[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=Xh(e),r=Xh(t);return n&&r?e.getTime()===t.getTime():!n&&!r?e===t:!1},K1e=function(e,t){const n=qt(e),r=qt(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=Jl(t)||t==="x"?rr(e).locale(n):rr(e,t).locale(n);return r.isValid()?r:void 0},IJ=function(e,t,n){return Jl(t)?e:t==="x"?+e:rr(e).locale(n).format(t)},wI=(e,t)=>{var n;const r=[],o=t?.();for(let i=0;iqt(e)?e.map(t=>t.toDate()):e.toDate(),z$e=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Dh(t).map((r,o)=>n-(t-o-1))},$$e=e=>{const t=e.daysInMonth();return Dh(t).map((n,r)=>r+1)},j$e=e=>Dh(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),H$e=Yt({selectedDay:{type:lt(Object)},range:{type:lt(Array)},date:{type:lt(Object),required:!0},hideHeader:{type:Boolean}}),W$e={pick:e=>ar(e)};var ES={exports:{}},V$e=ES.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)}}}))})(ES)),ES.exports}var G$e=q$e();const Y1e=mu(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)=>{rr.extend(Y1e);const n=rr.localeData().firstDayOfWeek(),{t:r,lang:o}=Hr(),i=rr().locale(o.value),a=ee(()=>!!e.range&&!!e.range.length),s=ee(()=>{let f=[];if(a.value){const[p,v]=e.range,h=Dh(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=Dh(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=Dh(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=et({name:"DateTable"}),Z$e=et({...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=jt("calendar-table"),f=jt("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)=>(F(),K("table",{class:oe([C(c).b(),C(c).is("range",C(o))]),cellspacing:"0",cellpadding:"0"},[v.hideHeader?xe("v-if",!0):(F(),K("thead",{key:0},[x("tr",null,[(F(!0),K(Nt,null,on(C(s),g=>(F(),K("th",{key:g,scope:"col"},ze(g),1))),128))])])),x("tbody",null,[(F(!0),K(Nt,null,on(C(a),(g,y)=>(F(),K("tr",{key:y,class:oe({[C(c).e("row")]:!0,[C(c).em("row","hide-border")]:y===0&&v.hideHeader})},[(F(!0),K(Nt,null,on(g,(m,b)=>(F(),K("td",{key:b,class:oe(p(m)),onClick:w=>C(u)(m)},[x("div",{class:oe(C(f).b())},[pt(v.$slots,"date-cell",{data:C(d)(m)},()=>[x("span",null,ze(m.text),1)])],2)],10,["onClick"]))),128))],2))),128))])],2))}});var MJ=en(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}=Hr(),o=Y(),i=rr().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(ma,y),t(Gn,y)}}),s=ee(()=>{if(!e.range||!qt(e.range)||e.range.length!==2||e.range.some(b=>!Xh(b)))return[];const g=e.range.map(b=>rr(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?rr(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=>qt(e)&&e.length===2&&e.every(t=>Xh(t)),nje=Yt({modelValue:{type:Date},range:{type:lt(Array),validator:tje}}),rje={[Gn]:e=>Xh(e),[ma]:e=>Xh(e)},oje="ElCalendar",ije=et({name:oje}),aje=et({...ije,props:nje,emits:rje,setup(e,{expose:t,emit:n}){const r=e,o=jt("calendar"),{calculateValidatedDateRange:i,date:a,pickDay:s,realSelectedDay:l,selectDate:u,validatedRange:d}=eje(r,n),{t:c}=Hr(),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)=>(F(),K("div",{class:oe(C(o).b())},[x("div",{class:oe(C(o).e("header"))},[pt(p.$slots,"header",{date:C(f)},()=>[x("div",{class:oe(C(o).e("title"))},ze(C(f)),3),C(d).length===0?(F(),K("div",{key:0,class:oe(C(o).e("button-group"))},[$e(C(V1e),null,{default:nt(()=>[$e(C(Za),{size:"small",onClick:h=>C(u)("prev-month")},{default:nt(()=>[An(ze(C(c)("el.datepicker.prevMonth")),1)]),_:1},8,["onClick"]),$e(C(Za),{size:"small",onClick:h=>C(u)("today")},{default:nt(()=>[An(ze(C(c)("el.datepicker.today")),1)]),_:1},8,["onClick"]),$e(C(Za),{size:"small",onClick:h=>C(u)("next-month")},{default:nt(()=>[An(ze(C(c)("el.datepicker.nextMonth")),1)]),_:1},8,["onClick"])]),_:1})],2)):xe("v-if",!0)])],2),C(d).length===0?(F(),K("div",{key:0,class:oe(C(o).e("body"))},[$e(MJ,{date:C(a),"selected-day":C(l),onPick:C(s)},Ll({_:2},[p.$slots["date-cell"]?{name:"date-cell",fn:nt(h=>[pt(p.$slots,"date-cell",Sl(Bd(h)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(F(),K("div",{key:1,class:oe(C(o).e("body"))},[(F(!0),K(Nt,null,on(C(d),(h,g)=>(F(),mt(MJ,{key:g,date:h[0],"selected-day":C(l),range:h,"hide-header":g!==0,onPick:C(s)},Ll({_:2},[p.$slots["date-cell"]?{name:"date-cell",fn:nt(y=>[pt(p.$slots,"date-cell",Sl(Bd(y)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var sje=en(aje,[["__file","calendar.vue"]]);const lje=er(sje),uje=Yt({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:lt([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),cje=et({name:"ElCard"}),dje=et({...cje,props:uje,setup(e){const t=Nb("card"),n=jt("card");return(r,o)=>{var i;return F(),K("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?(F(),K("div",{key:0,class:oe([C(n).e("header"),r.headerClass])},[pt(r.$slots,"header",{},()=>[An(ze(r.header),1)])],2)):xe("v-if",!0),x("div",{class:oe([C(n).e("body"),r.bodyClass]),style:Jt(r.bodyStyle)},[pt(r.$slots,"default")],6),r.$slots.footer||r.footer?(F(),K("div",{key:1,class:oe([C(n).e("footer"),r.footerClass])},[pt(r.$slots,"footer",{},()=>[An(ze(r.footer),1)])],2)):xe("v-if",!0)],2)}}});var fje=en(dje,[["__file","card.vue"]]);const pje=er(fje),hje=Yt({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(Ln)},Q1e=Symbol("carouselContextKey"),EL="ElCarouselItem";var _u=(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))(_u||{});function kL(e){return jo(e)&&e.type===Nt}function vje(e){return jo(e)&&e.type===ua}function mje(e){return jo(e)&&!kL(e)&&!vje(e)}const yje=e=>{if(!jo(e))return{};const t=e.props||{},n=(jo(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(o=>{Zr(n[o],"default")&&(r[o]=n[o].default)}),Object.keys(t).forEach(o=>{r[sl(o)]=t[o]}),r},bje=e=>{if(!qt(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},bd=e=>{const t=qt(e)?e:[e],n=[];return t.forEach(r=>{var o;qt(r)?n.push(...bd(r)):jo(r)&&((o=r.component)!=null&&o.subTree)?n.push(r,...bd(r.component.subTree)):jo(r)&&qt(r.children)?n.push(...bd(r.children)):jo(r)&&r.shapeFlag===2?n.push(...bd(r.type())):n.push(r)}),n},wje=(e,t,n)=>bd(e.subTree).filter(i=>{var a;return jo(i)&&((a=i.type)==null?void 0:a.name)===t&&!!i.component}).map(i=>i.component.uid).map(i=>n[i]).filter(i=>!!i),lD=(e,t)=>{const n=Uo({}),r=Uo([]),o=new WeakMap,i=d=>{n.value[d.uid]=d,dS(n),jn(()=>{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)&&dS(n),p(v,h))}o.get(f).push(c)})},a=d=>{delete n.value[d.uid],dS(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:et({setup(d,{slots:c}){return()=>(s(),c.default?Fn(l,{render:c.default}):null)}})}},PJ=300,Aje=(e,t,n)=>{const{children:r,addChild:o,removeChild:i,ChildrenSorter:a}=lD(vr(),EL),s=pa(),l=Y(-1),u=Y(null),d=Y(!1),c=Y(),f=Y(0),p=Y(!0),v=ee(()=>e.arrow!=="never"&&!C(y)),h=ee(()=>r.value.some(J=>J.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=qg(J=>{I(J)},PJ,{trailing:!0}),w=qg(J=>{j(J)},PJ),A=J=>p.value?l.value<=1?J<=1:J>1:!0;function S(){u.value&&(clearInterval(u.value),u.value=null)}function k(){e.interval<=0||!e.autoplay||u.value||(u.value=setInterval(()=>O(),e.interval))}const O=()=>{l.valueme.props.name===J);ue.length>0&&(J=r.value.indexOf(ue[0]))}if(J=Number(J),Number.isNaN(J)||J!==Math.floor(J))return;const te=r.value.length,X=l.value;J<0?l.value=e.loop?te-1:0:J>=te?l.value=e.loop?0:te-1:l.value=J,X===l.value&&P(X),Z()}function P(J){r.value.forEach((te,X)=>{te.translateItem(X,l.value,J)})}function M(J,te){var X,ue,me,Me;const Ae=C(r),ge=Ae.length;if(ge===0||!J.states.inStage)return!1;const _e=te+1,Q=te-1,be=ge-1,De=Ae[be].states.active,pe=Ae[0].states.active,ie=(ue=(X=Ae[_e])==null?void 0:X.states)==null?void 0:ue.active,ce=(Me=(me=Ae[Q])==null?void 0:me.states)==null?void 0:Me.active;return te===be&&pe||ie?"left":te===0&&De||ce?"right":!1}function _(){d.value=!0,e.pauseOnHover&&S()}function R(){d.value=!1,k()}function N(J){C(y)||r.value.forEach((te,X)=>{J===M(te,X)&&(te.states.hover=!0)})}function V(){C(y)||r.value.forEach(J=>{J.states.hover=!1})}function L(J){l.value=J}function j(J){e.trigger==="hover"&&J!==l.value&&(l.value=J)}function H(){I(l.value-1)}function G(){I(l.value+1)}function Z(){S(),e.pauseOnHover||k()}function z(J){e.height==="auto"&&(f.value=J)}function U(){var J;const te=(J=s.default)==null?void 0:J.call(s);if(!te)return null;const ue=bd(te).filter(me=>jo(me)&&me.type.name===EL);return ue?.length===2&&e.loop&&!g.value?(p.value=!0,ue):(p.value=!1,null)}Ct(()=>l.value,(J,te)=>{P(te),p.value&&(J=J%2,te=te%2),te>-1&&t(Tr,J,te)});const W=ee({get:()=>p.value?l.value%2:l.value,set:J=>l.value=J});Ct(()=>e.autoplay,J=>{J?k():S()}),Ct(()=>e.loop,()=>{I(l.value)}),Ct(()=>e.interval,()=>{Z()});const re=Uo();return jn(()=>{Ct(()=>r.value,()=>{r.value.length>0&&I(e.initialIndex)},{immediate:!0}),re.value=li(c.value,()=>{P()}),k()}),Yr(()=>{S(),c.value&&re.value&&re.value.stop()}),Sr(Q1e,{root:c,isCardType:g,isVertical:y,items:r,loop:e.loop,cardScale:e.cardScale,addItem:o,removeItem:i,setActiveItem:I,setContainerHeight:z}),{root:c,activeIndex:l,exposeActiveIndex:W,arrowDisplay:v,hasLabel:h,hover:d,isCardType:g,items:r,isVertical:y,containerStyle:m,isItemsTwoLength:p,handleButtonEnter:N,handleButtonLeave:V,handleIndicatorClick:L,handleMouseEnter:_,handleMouseLeave:R,setActiveItem:I,prev:H,next:G,PlaceholderItem:U,isTwoLengthShow:A,ItemsSorter:a,throttledArrowClick:b,throttledIndicatorHover:w}},Cje="ElCarousel",xje=et({name:Cje}),Sje=et({...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:k,ItemsSorter:O,throttledArrowClick:I,throttledIndicatorHover:P}=Aje(r,n),M=jt("carousel"),{t:_}=Hr(),R=ee(()=>{const j=[M.b(),M.m(r.direction)];return C(d)&&j.push(M.m("card")),j}),N=ee(()=>{const j=[M.e("indicators"),M.em("indicators",r.direction)];return C(l)&&j.push(M.em("indicators","labels")),r.indicatorPosition==="outside"&&j.push(M.em("indicators","outside")),C(f)&&j.push(M.em("indicators","right")),j});function V(j){if(!r.motionBlur)return;const H=C(f)?`${M.namespace.value}-transitioning-vertical`:`${M.namespace.value}-transitioning`;j.currentTarget.classList.add(H)}function L(j){if(!r.motionBlur)return;const H=C(f)?`${M.namespace.value}-transitioning-vertical`:`${M.namespace.value}-transitioning`;j.currentTarget.classList.remove(H)}return t({activeIndex:a,setActiveItem:b,prev:w,next:A}),(j,H)=>(F(),K("div",{ref_key:"root",ref:o,class:oe(C(R)),onMouseenter:Qt(C(y),["stop"]),onMouseleave:Qt(C(m),["stop"])},[C(s)?(F(),mt(Wi,{key:0,name:"carousel-arrow-left",persisted:""},{default:nt(()=>[an(x("button",{type:"button",class:oe([C(M).e("arrow"),C(M).em("arrow","left")]),"aria-label":C(_)("el.carousel.leftArrow"),onMouseenter:G=>C(v)("left"),onMouseleave:C(h),onClick:Qt(G=>C(I)(C(i)-1),["stop"])},[$e(C(_n),null,{default:nt(()=>[$e(C(Kf))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[Ar,(j.arrow==="always"||C(u))&&(r.loop||C(i)>0)]])]),_:1})):xe("v-if",!0),C(s)?(F(),mt(Wi,{key:1,name:"carousel-arrow-right",persisted:""},{default:nt(()=>[an(x("button",{type:"button",class:oe([C(M).e("arrow"),C(M).em("arrow","right")]),"aria-label":C(_)("el.carousel.rightArrow"),onMouseenter:G=>C(v)("right"),onMouseleave:C(h),onClick:Qt(G=>C(I)(C(i)+1),["stop"])},[$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_:1})],42,["aria-label","onMouseenter","onMouseleave","onClick"]),[[Ar,(j.arrow==="always"||C(u))&&(r.loop||C(i)[j.indicatorPosition!=="none"?(F(),K("ul",{key:0,class:oe(C(N))},[(F(!0),K(Nt,null,on(C(c),(G,Z)=>an((F(),K("li",{key:Z,class:oe([C(M).e("indicator"),C(M).em("indicator",j.direction),C(M).is("active",Z===C(i))]),onMouseenter:z=>C(P)(Z),onClick:Qt(z=>C(g)(Z),["stop"])},[x("button",{class:oe(C(M).e("button")),"aria-label":C(_)("el.carousel.indicator",{index:Z+1})},[C(l)?(F(),K("span",{key:0},ze(G.props.label),1)):xe("v-if",!0)],10,["aria-label"])],42,["onMouseenter","onClick"])),[[Ar,C(k)(Z)]])),128))],2)):xe("v-if",!0)]),_:1}),r.motionBlur?(F(),K("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=en(Sje,[["__file","carousel.vue"]]);const kje=Yt({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Tje=e=>{const t=un(Q1e),n=vr(),r=Y(),o=Y(!1),i=Y(0),a=Y(1),s=Y(!1),l=Y(!1),u=Y(!1),d=Y(!1),{isCardType:c,isVertical:f,cardScale:p}=t;function v(w,A,S){const k=S-1,O=A-1,I=A+1,P=S/2;return A===0&&w===k?-1:A===k&&w===0?S:w=P?S+1:w>I&&w-A>=P?-2:w}function h(w,A){var S,k;const O=C(f)?((S=t.root.value)==null?void 0:S.offsetHeight)||0:((k=t.root.value)==null?void 0:k.offsetWidth)||0;return u.value?O*((2-p)*(w-A)+1)/4:w{var k;const O=C(c),I=(k=t.items.value.length)!=null?k:Number.NaN,P=w===A;!O&&!zr(S)&&(d.value=P||w===S),!P&&I>2&&t.loop&&(w=v(w,A,I));const M=C(f);s.value=P,O?(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,M),l.value=!0,P&&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:Ur({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),Yr(()=>{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=et({name:EL}),Dje=et({..._je,props:kje,setup(e){const t=e,n=jt("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)=>an((F(),K("div",{ref_key:"carouselItemRef",ref:r,class:oe(C(v)),style:Jt(C(h)),onClick:C(p)},[C(d)?an((F(),K("div",{key:0,class:oe(C(n).e("mask"))},null,2)),[[Ar,!C(o)]]):xe("v-if",!0),pt(g.$slots,"default")],14,["onClick"])),[[Ar,C(f)]])}});var Z1e=en(Dje,[["__file","carousel-item.vue"]]);const Ije=er(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:ba,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...Es(["ariaControls"])},J1e={[Gn]:e=>Dn(e)||Ln(e)||Co(e),change:e=>Dn(e)||Ln(e)||Co(e)},Fb=Symbol("checkboxGroupContextKey"),Mje=({model:e,isChecked:t})=>{const n=un(Fb,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!zr(s)&&e.value.length>=s&&!t.value||!zr(l)&&e.value.length<=l&&t.value});return{isDisabled:Wa(ee(()=>n?.disabled.value||r.value)),isLimitDisabled:r}},Pje=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:o,isLabeledByFormItem:i})=>{const a=un(Fb,void 0),{formItem:s}=ks(),{emit:l}=vr();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(Tr,u(v),h)}function c(v){if(n.value)return;const h=v.target;l(Tr,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 Vt(),d(t.value,v)))}const p=ee(()=>a?.validateEvent||e.validateEvent);return Ct(()=>e.modelValue,()=>{p.value&&s?.validate("change").catch(v=>void 0)}),{handleChange:c,onClickRoot:f}},Nje=e=>{const t=Y(!1),{emit:n}=vr(),r=un(Fb,void 0),o=ee(()=>zr(r)===!1),i=Y(!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&&qt(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(Gn,s),t.value=s)}});return{model:a,isGroup:o,isLimitExceeded:i}},Rje=(e,t,{model:n})=>{const r=un(Fb,void 0),o=Y(!1),i=ee(()=>Il(e.value)?e.label:e.value),a=ee(()=>{const d=n.value;return Co(d)?d:qt(d)?ar(i.value)?d.map(Oo).some(c=>ca(c,i.value)):d.map(Oo).includes(i.value):d!=null?d===e.trueValue||d===e.trueLabel:!!d}),s=fa(ee(()=>{var d;return(d=r?.size)==null?void 0:d.value}),{prop:!0}),l=fa(ee(()=>{var d;return(d=r?.size)==null?void 0:d.value})),u=ee(()=>!!t.default||!Il(i.value));return{checkboxButtonSize:s,isChecked:a,isFocused:o,checkboxSize:l,hasOwnLabel:u,actualValue:i}},eye=(e,t)=>{const{formItem:n}=ks(),{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}=ac(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;qt(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()})(),Lf({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&&Il(e.value))),Lf({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)),Lf({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=et({name:"ElCheckbox"}),Lje=et({...Bje,props:X1e,emits:J1e,setup(e){const t=e,n=pa(),{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=jt("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)=>(F(),mt(hr(!C(u)&&C(o)?"span":"label"),{class:oe(C(h)),"aria-controls":y.indeterminate?y.ariaControls:null,onClick:C(p)},{default:nt(()=>{var b,w,A,S;return[x("span",{class:oe(C(g))},[y.trueValue||y.falseValue||y.trueLabel||y.falseLabel?an((F(),K("input",{key:0,id:C(r),"onUpdate:modelValue":k=>Ro(d)?d.value=k: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:k=>s.value=!0,onBlur:k=>s.value=!1,onClick:Qt(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[uE,C(d)]]):an((F(),K("input",{key:1,id:C(r),"onUpdate:modelValue":k=>Ro(d)?d.value=k: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:k=>s.value=!0,onBlur:k=>s.value=!1,onClick:Qt(()=>{},["stop"])},null,42,["id","onUpdate:modelValue","indeterminate","disabled","value","name","tabindex","onChange","onFocus","onBlur","onClick"])),[[uE,C(d)]]),x("span",{class:oe(C(v).e("inner"))},null,2)],2),C(u)?(F(),K("span",{key:0,class:oe(C(v).e("label"))},[pt(y.$slots,"default"),y.$slots.default?xe("v-if",!0):(F(),K(Nt,{key:0},[An(ze(y.label),1)],64))],2)):xe("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Fje=en(Lje,[["__file","checkbox.vue"]]);const Uje=et({name:"ElCheckboxButton"}),zje=et({...Uje,props:X1e,emits:J1e,setup(e){const t=e,n=pa(),{isFocused:r,isChecked:o,isDisabled:i,checkboxButtonSize:a,model:s,actualValue:l,handleChange:u}=eye(t,n),d=un(Fb,void 0),c=jt("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 F(),K("label",{class:oe(C(p))},[v.trueValue||v.falseValue||v.trueLabel||v.falseLabel?an((F(),K("input",{key:0,"onUpdate:modelValue":w=>Ro(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:Qt(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","true-value","false-value","onChange","onFocus","onBlur","onClick"])),[[uE,C(s)]]):an((F(),K("input",{key:1,"onUpdate:modelValue":w=>Ro(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:Qt(()=>{},["stop"])},null,42,["onUpdate:modelValue","name","tabindex","disabled","value","onChange","onFocus","onBlur","onClick"])),[[uE,C(s)]]),v.$slots.default||v.label?(F(),K("span",{key:2,class:oe(C(c).be("button","inner")),style:Jt(C(o)?C(f):void 0)},[pt(v.$slots,"default",{},()=>[An(ze(v.label),1)])],6)):xe("v-if",!0)],2)}}});var tye=en(zje,[["__file","checkbox-button.vue"]]);const $je=Yt({modelValue:{type:lt(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:ba,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...Es(["ariaLabel"])}),jje={[Gn]:e=>qt(e),change:e=>qt(e)},Hje=et({name:"ElCheckboxGroup"}),Wje=et({...Hje,props:$je,emits:jje,setup(e,{emit:t}){const n=e,r=jt("checkbox"),{formItem:o}=ks(),{inputId:i,isLabeledByFormItem:a}=ac(n,{formItemContext:o}),s=async u=>{t(Gn,u),await Vt(),t(Tr,u)},l=ee({get(){return n.modelValue},set(u){s(u)}});return Sr(Fb,{...ru(_a(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:l,changeEvent:s}),Ct(()=>n.modelValue,(u,d)=>{n.validateEvent&&!ca(u,d)&&o?.validate("change").catch(c=>void 0)}),(u,d)=>{var c;return F(),mt(hr(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:nt(()=>[pt(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var nye=en(Wje,[["__file","checkbox-group.vue"]]);const Yu=er(Fje,{CheckboxButton:tye,CheckboxGroup:nye}),Vje=vi(tye),rye=vi(nye),oye=Yt({modelValue:{type:[String,Number,Boolean],default:void 0},size:ba,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=Yt({...oye,border:Boolean}),iye={[Gn]:e=>Dn(e)||Ln(e)||Co(e),[Tr]:e=>Dn(e)||Ln(e)||Co(e)},aye=Symbol("radioGroupKey"),sye=(e,t)=>{const n=Y(),r=un(aye,void 0),o=ee(()=>!!r),i=ee(()=>Il(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(Gn,c),n.value.checked=e.modelValue===i.value}}),s=fa(ee(()=>r?.size)),l=Wa(ee(()=>r?.disabled)),u=Y(!1),d=ee(()=>l.value||o.value&&a.value!==i.value?-1:0);return Lf({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&&Il(e.value))),{radioRef:n,isGroup:o,radioGroup:r,focus:u,size:s,disabled:l,tabIndex:d,modelValue:a,actualValue:i}},Gje=et({name:"ElRadio"}),Kje=et({...Gje,props:qje,emits:iye,setup(e,{emit:t}){const n=e,r=jt("radio"),{radioRef:o,radioGroup:i,focus:a,size:s,disabled:l,modelValue:u,actualValue:d}=sye(n,t);function c(){Vt(()=>t(Tr,u.value))}return(f,p)=>{var v;return F(),K("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))])},[an(x("input",{ref_key:"radioRef",ref:o,"onUpdate:modelValue":h=>Ro(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:Qt(()=>{},["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:Qt(()=>{},["stop"])},[pt(f.$slots,"default",{},()=>[An(ze(f.label),1)])],42,["onKeydown"])],2)}}});var Yje=en(Kje,[["__file","radio.vue"]]);const Qje=Yt({...oye}),Zje=et({name:"ElRadioButton"}),Xje=et({...Zje,props:Qje,setup(e){const t=e,n=jt("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 F(),K("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))])},[an(x("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":v=>Ro(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:Qt(()=>{},["stop"])},null,42,["onUpdate:modelValue","value","name","disabled","onFocus","onBlur","onClick"]),[[Zge,C(s)]]),x("span",{class:oe(C(n).be("button","inner")),style:Jt(C(s)===C(u)?C(d):{}),onKeydown:Qt(()=>{},["stop"])},[pt(c.$slots,"default",{},()=>[An(ze(c.label),1)])],46,["onKeydown"])],2)}}});var lye=en(Xje,[["__file","radio-button.vue"]]);const Jje=Yt({id:{type:String,default:void 0},size:ba,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},...Es(["ariaLabel"])}),eHe=iye,tHe=et({name:"ElRadioGroup"}),nHe=et({...tHe,props:Jje,emits:eHe,setup(e,{emit:t}){const n=e,r=jt("radio"),o=ds(),i=Y(),{formItem:a}=ks(),{inputId:s,isLabeledByFormItem:l}=ac(n,{formItemContext:a}),u=c=>{t(Gn,c),Vt(()=>t(Tr,c))};jn(()=>{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 Sr(aye,Ur({..._a(n),changeEvent:u,name:d})),Ct(()=>n.modelValue,(c,f)=>{n.validateEvent&&!ca(c,f)&&a?.validate("change").catch(p=>void 0)}),(c,f)=>(F(),K("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},[pt(c.$slots,"default")],10,["id","aria-label","aria-labelledby"]))}});var uye=en(nHe,[["__file","radio-group.vue"]]);const cye=er(Yje,{RadioButton:lye,RadioGroup:uye}),rHe=vi(uye),oHe=vi(lye),uD=Symbol();function iHe(e){return!!(qt(e)?e.every(({type:t})=>t===ua):e?.type===ua)}var aHe=et({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(e){const t=jt("cascader-node"),{renderLabelFn:n}=un(uD),{node:r}=e,{data:o,label:i}=r,a=()=>{const s=n?.({node:r,data:o});return iHe(s)?i:s??i};return()=>$e("span",{class:t.e("label")},[a()])}});const sHe=et({name:"ElCascaderNode"}),lHe=et({...sHe,props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=e,r=un(uD),o=jt("cascader-node"),i=ee(()=>r.isHoverMenu),a=ee(()=>r.config.multiple),s=ee(()=>r.config.checkStrictly),l=ee(()=>r.config.showPrefix),u=ee(()=>{var O;return(O=r.checkedNodes[0])==null?void 0:O.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=O=>{var I;const{level:P,uid:M}=n.node;return((I=O?.pathNodes[P-1])==null?void 0:I.uid)===M},g=()=>{p.value||r.expandNode(n.node)},y=O=>{const{node:I}=n;O!==I.checked&&r.handleCheckChange(I,O)},m=()=>{r.lazyLoad(n.node,()=>{c.value||g()})},b=O=>{i.value&&(w(),!c.value&&t("expand",O))},w=()=>{const{node:O}=n;!f.value||O.loading||(O.loaded?g():m())},A=()=>{i.value||(c.value&&!d.value&&!s.value&&!a.value?k(!0):(r.config.checkOnClickNode||c.value&&r.config.checkOnClickLeaf)&&!d.value?S(!n.node.checked):w())},S=O=>{s.value?(y(O),n.node.loaded&&g()):k(O)},k=O=>{n.node.loaded?(y(O),!s.value&&g()):m()};return(O,I)=>(F(),K("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)?(F(),mt(C(Yu),{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:C(d),onClick:Qt(()=>{},["stop"]),"onUpdate:modelValue":S},null,8,["model-value","indeterminate","disabled","onClick"])):C(s)&&C(l)?(F(),mt(C(cye),{key:1,"model-value":C(u),label:e.node.uid,disabled:C(d),"onUpdate:modelValue":S,onClick:Qt(()=>{},["stop"])},{default:nt(()=>[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?(F(),mt(C(_n),{key:2,class:oe(C(o).e("prefix"))},{default:nt(()=>[$e(C(OC))]),_:1},8,["class"])):xe("v-if",!0),xe(" content "),$e(C(aHe),{node:e.node},null,8,["node"]),xe(" postfix "),C(c)?xe("v-if",!0):(F(),K(Nt,{key:3},[e.node.loading?(F(),mt(C(_n),{key:0,class:oe([C(o).is("loading"),C(o).e("postfix")])},{default:nt(()=>[$e(C(Bc))]),_:1},8,["class"])):(F(),mt(C(_n),{key:1,class:oe(["arrow-right",C(o).e("postfix")])},{default:nt(()=>[$e(C(ka))]),_:1},8,["class"]))],64))],42,["id","aria-haspopup","aria-owns","aria-expanded","tabindex"]))}});var uHe=en(lHe,[["__file","node.vue"]]);const cHe=et({name:"ElCascaderMenu"}),dHe=et({...cHe,props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=e,n=vr(),r=jt("cascader-menu"),{t:o}=Hr(),i=ds();let a,s;const l=un(uD),u=Y(),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,k=a.offsetTop,O=k+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)=>(F(),mt(C(Lc),{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:nt(()=>{var b;return[(F(!0),K(Nt,null,on(e.nodes,w=>(F(),mt(uHe,{key:w.uid,node:w,"menu-id":C(f),onExpand:p},null,8,["node","menu-id"]))),128)),C(c)?(F(),K("div",{key:0,class:oe(C(r).e("empty-text"))},[$e(C(_n),{size:"14",class:oe(C(r).is("loading"))},{default:nt(()=>[$e(C(Bc))]),_:1},8,["class"]),An(" "+ze(C(o)("el.cascader.loading")),1)],2)):C(d)?(F(),K("div",{key:1,class:oe(C(r).e("empty-text"))},[pt(y.$slots,"empty",{},()=>[An(ze(C(o)("el.cascader.noData")),1)])],2)):(b=C(l))!=null&&b.isHoverMenu?(F(),K(Nt,{key:2},[xe(" eslint-disable-next-line vue/html-self-closing "),(F(),K("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=en(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||!Jl(l),this.text=""}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:o,checkStrictly:i}=r;return(Pn(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=Pn(a)?a(t,this):t[a];return zr(s)?i&&!o?!1:!(qt(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 qt(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 Il(t)?null:this.getFlattedNodes(n).find(o=>ca(o.value,t)||ca(o.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:r,level:o})=>ca(t.value,r)&&t.level===o)||null}}const dye=Yt({modelValue:{type:lt([Number,String,Array])},options:{type:lt(Array),default:()=>[]},props:{type:lt(Object),default:()=>({})}}),gHe={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:go,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},vHe=Yt({...dye,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),RJ=e=>!0,mHe={[Gn]:RJ,[Tr]: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)],rl=e=>!e&&e!==0?[]:qt(e)?e:[e],AHe=et({name:"ElCascaderPanel",inheritAttrs:!1}),CHe=et({...AHe,props:vHe,emits:mHe,setup(e,{expose:t,emit:n}){const r=e;let o=!1;const i=jt("cascader"),a=yHe(r),s=pa();let l;const u=Y(!0),d=Y([]),c=Y(),f=Y([]),p=Y(),v=Y([]),h=ee(()=>a.value.expandTrigger==="hover"),g=ee(()=>r.renderLabel||s.default),y=()=>{const{options:N}=r,V=a.value;o=!1,l=new NJ(N,V),f.value=[l.getNodes()],V.lazy&&Jl(r.options)?(u.value=!1,m(void 0,L=>{L&&(l=new NJ(L,V),f.value=[l.getNodes()]),u.value=!0,P(!1,!0)})):P(!1,!0)},m=(N,V)=>{const L=a.value;N=N||new TL({},L,void 0,!0),N.loading=!0;const j=H=>{const G=N,Z=G.root?null:G;G.loading=!1,G.loaded=!0,G.childrenData=G.childrenData||[],H&&l?.appendNodes(H,Z),H&&V?.(H)};L.lazyLoad(N,j)},b=(N,V)=>{var L;const{level:j}=N,H=f.value.slice(0,j);let G;N.isLeaf?G=N.pathNodes[j-2]:(G=N,H.push(N.children)),((L=p.value)==null?void 0:L.uid)!==G?.uid&&(p.value=N,f.value=H,!V&&n("expand-change",N?.pathValues||[]))},w=(N,V,L=!0)=>{const{checkStrictly:j,multiple:H}=a.value,G=v.value[0];o=!0,!H&&G?.doCheck(!1),N.doCheck(V),I(),L&&!H&&!j&&n("close"),!L&&!H&&!j&&A(N)},A=N=>{N&&(N=N.parent,A(N),N&&b(N))},S=N=>l?.getFlattedNodes(N),k=N=>{var V;return(V=S(N))==null?void 0:V.filter(({checked:L})=>L!==!1)},O=()=>{v.value.forEach(N=>N.doCheck(!1)),I(),f.value=f.value.slice(0,1),p.value=void 0,n("expand-change",[])},I=()=>{var N;const{checkStrictly:V,multiple:L}=a.value,j=v.value,H=k(!V),G=wHe(j,H),Z=G.map(z=>z.valueByOption);v.value=G,c.value=L?Z:(N=Z[0])!=null?N:null},P=(N=!1,V=!1)=>{const{modelValue:L}=r,{lazy:j,multiple:H,checkStrictly:G}=a.value,Z=!G;if(!(!u.value||o||!V&&ca(L,c.value)))if(j&&!N){const U=LJ(uRe(rl(L))).map(W=>l?.getNodeByValue(W)).filter(W=>!!W&&!W.loaded&&!W.loading);U.length?U.forEach(W=>{m(W,()=>P(!1,V))}):P(!0,V)}else{const z=H?rl(L):[L],U=LJ(z.map(W=>l?.getNodeByValue(W,Z)));M(U,V),c.value=vE(L??void 0)}},M=(N,V=!0)=>{const{checkStrictly:L}=a.value,j=v.value,H=N.filter(z=>!!z&&(L||z.isLeaf)),G=l?.getSameNode(p.value),Z=V&&G||H[0];Z?Z.pathNodes.forEach(z=>b(z,!0)):p.value=void 0,j.forEach(z=>z.doCheck(!1)),Ur(H).forEach(z=>z.doCheck(!0)),v.value=H,Vt(_)},_=()=>{Kr&&d.value.forEach(N=>{const V=N?.$el;if(V){const L=V.querySelector(`.${i.namespace.value}-scrollbar__wrap`),j=V.querySelector(`.${i.b("node")}.${i.is("active")}:last-child`)||V.querySelector(`.${i.b("node")}.in-active-path`);CH(L,j)}})},R=N=>{const V=N.target,{code:L}=N;switch(L){case gn.up:case gn.down:{N.preventDefault();const j=L===gn.up?-1:1;AS(d1e(V,j,`.${i.b("node")}[tabindex="-1"]`));break}case gn.left:{N.preventDefault();const j=d.value[BJ(V)-1],H=j?.$el.querySelector(`.${i.b("node")}[aria-expanded="true"]`);AS(H);break}case gn.right:{N.preventDefault();const j=d.value[BJ(V)+1],H=j?.$el.querySelector(`.${i.b("node")}[tabindex="-1"]`);AS(H);break}case gn.enter:case gn.numpadEnter:bHe(V);break}};return Sr(uD,Ur({config:a,expandingNode:p,checkedNodes:v,isHoverMenu:h,initialLoaded:u,renderLabelFn:g,lazyLoad:m,expandNode:b,handleCheckChange:w})),Ct(a,(N,V)=>{ca(N,V)||y()},{immediate:!0}),Ct(()=>r.options,y,{deep:!0}),Ct(()=>r.modelValue,()=>{o=!1,P()},{deep:!0}),Ct(()=>c.value,N=>{ca(N,r.modelValue)||(n(Gn,N),n(Tr,N))}),zj(()=>d.value=[]),jn(()=>!Jl(r.modelValue)&&P()),t({menuList:d,menus:f,checkedNodes:v,handleKeyDown:R,handleCheckChange:w,getFlattedNodes:S,getCheckedNodes:k,clearCheckedNodes:O,calculateCheckedValue:I,scrollToExpandingNode:_}),(N,V)=>(F(),K("div",{class:oe([C(i).b("panel"),C(i).is("bordered",N.border)]),onKeydown:R},[(F(!0),K(Nt,null,on(f.value,(L,j)=>(F(),mt(fHe,{key:j,ref_for:!0,ref:H=>d.value[j]=H,index:j,nodes:[...L]},{empty:nt(()=>[pt(N.$slots,"empty")]),_:2},1032,["index","nodes"]))),128))],34))}});var xHe=en(CHe,[["__file","index.vue"]]);const fye=er(xHe),Qf=Yt({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:Yd},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),SHe={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},EHe=et({name:"ElTag"}),kHe=et({...EHe,props:Qf,emits:SHe,setup(e,{emit:t}){const n=e,r=fa(),o=jt("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?(F(),K("span",{key:0,class:oe(C(i)),style:Jt({backgroundColor:u.color}),onClick:s},[x("span",{class:oe(C(o).e("content"))},[pt(u.$slots,"default")],2),u.closable?(F(),mt(C(_n),{key:0,class:oe(C(o).e("close")),onClick:Qt(a,["stop"])},{default:nt(()=>[$e(C(cu))]),_:1},8,["class","onClick"])):xe("v-if",!0)],6)):(F(),mt(Wi,{key:1,name:`${C(o).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:l},{default:nt(()=>[x("span",{class:oe(C(i)),style:Jt({backgroundColor:u.color}),onClick:s},[x("span",{class:oe(C(o).e("content"))},[pt(u.$slots,"default")],2),u.closable?(F(),mt(C(_n),{key:0,class:oe(C(o).e("close")),onClick:Qt(a,["stop"])},{default:nt(()=>[$e(C(cu))]),_:1},8,["class","onClick"])):xe("v-if",!0)],6)]),_:3},8,["name"]))}});var THe=en(kHe,[["__file","tag.vue"]]);const Ih=er(THe),_He=Yt({...dye,size:ba,placeholder:String,disabled:Boolean,clearable:Boolean,clearIcon:{type:vo,default:Qd},filterable:Boolean,filterMethod:{type:lt(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:lt(Function),default:()=>!0},placement:{type:lt(String),values:mp,default:"bottom-start"},fallbackPlacements:{type:lt(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:oi.popperClass,popperStyle:oi.popperStyle,teleported:oi.teleported,effect:{type:lt(String),default:"light"},tagType:{...Qf.type,default:"info"},tagEffect:{...Qf.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},...rm}),FJ=e=>!0,DHe={[Gn]:FJ,[Tr]:FJ,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,visibleChange:e=>Co(e),expandChange:e=>!!e,removeTag:e=>!!e},nh=new Map;if(Kr){let e;document.addEventListener("mousedown",t=>e=t),document.addEventListener("mouseup",t=>{if(e){for(const n of nh.values())for(const{documentHandler:r}of n)r(t,e);e=void 0}})}function UJ(e,t){let n=[];return qt(t.arg)?n=t.arg:al(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 Zf={beforeMount(e,t){nh.has(e)||nh.set(e,[]),nh.get(e).push({documentHandler:UJ(e,t),bindingFn:t.value})},updated(e,t){nh.has(e)||nh.set(e,[]);const n=nh.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){nh.delete(e)}},IHe="ElCascader",OHe=et({name:IHe}),MHe=et({...OHe,props:_He,emits:DHe,setup(e,{expose:t,emit:n}){const r=e,o={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:he})=>{const{modifiersData:Je,placement:ct}=he;["right","left","bottom","top"].includes(ct)||Je.arrow&&(Je.arrow.x=35)},requires:["arrow"]}]},i=pp();let a=0,s=0;const l=jt("cascader"),u=jt("input"),{t:d}=Hr(),{formItem:c}=ks(),f=Wa(),{valueOnClear:p}=IC(r),{isComposing:v,handleComposition:h}=PC({afterComposition(he){var Je;const ct=(Je=he.target)==null?void 0:Je.value;ut(ct)}}),g=Y(null),y=Y(),m=Y(),b=Y(null),w=Y(null),A=Y(null),S=Y(!1),k=Y(!1),O=Y(!1),I=Y(""),P=Y(""),M=Y([]),_=Y([]),R=Y([]),N=ee(()=>i.style),V=ee(()=>{var he;return(he=r.placeholder)!=null?he:d("el.cascader.placeholder")}),L=ee(()=>P.value||M.value.length>0||v.value?"":V.value),j=fa(),H=ee(()=>j.value==="small"?"small":"default"),G=ee(()=>!!r.props.multiple),Z=ee(()=>!r.filterable||G.value),z=ee(()=>G.value?P.value:I.value),U=ee(()=>{var he;return((he=w.value)==null?void 0:he.checkedNodes)||[]}),{wrapperRef:W,isFocused:re,handleBlur:J}=vp(m,{disabled:f,beforeBlur(he){var Je,ct,Ot;return((Je=g.value)==null?void 0:Je.isFocusInsideContent(he))||((Ot=(ct=y.value)==null?void 0:ct[0])==null?void 0:Ot.isFocusInsideContent(he))},afterBlur(){var he;S.value=!1,r.validateEvent&&((he=c?.validate)==null||he.call(c,"blur").catch(Je=>void 0))}}),te=ee(()=>!r.clearable||f.value||O.value||!k.value&&!re.value?!1:!!U.value.length),X=ee(()=>{const{showAllLevels:he,separator:Je}=r,ct=U.value;return ct.length?G.value?"":ct[0].calcText(he,Je):""}),ue=ee(()=>c?.validateState||""),me=ee({get(){return vE(r.modelValue)},set(he){const Je=he??p.value;n(Gn,Je),n(Tr,Je),r.validateEvent&&c?.validate("change").catch(ct=>void 0)}}),Me=ee(()=>[l.b(),l.m(j.value),l.is("disabled",f.value),i.class]),Ae=ee(()=>[u.e("icon"),"icon-arrow-down",l.is("reverse",S.value)]),ge=ee(()=>l.is("focus",re.value)),_e=ee(()=>{var he,Je;return(Je=(he=g.value)==null?void 0:he.popperRef)==null?void 0:Je.contentRef}),Q=he=>{if(re.value){const Je=new FocusEvent("blur",he);J(Je)}be(!1)},be=he=>{var Je,ct,Ot;f.value||(he=he??!S.value,he!==S.value&&(S.value=he,(ct=(Je=m.value)==null?void 0:Je.input)==null||ct.setAttribute("aria-expanded",`${he}`),he?(De(),Vt((Ot=w.value)==null?void 0:Ot.scrollToExpandingNode)):r.filterable&&tn(),n("visibleChange",he)))},De=()=>{Vt(()=>{var he;(he=g.value)==null||he.updatePopper()})},pe=()=>{O.value=!1},ie=he=>{const{showAllLevels:Je,separator:ct}=r;return{node:he,key:he.uid,text:he.calcText(Je,ct),hitState:!1,closable:!f.value&&!he.isDisabled,isCollapseTag:!1}},ce=he=>{var Je;const ct=he.node;ct.doCheck(!1),(Je=w.value)==null||Je.calculateCheckedValue(),n("removeTag",ct.valueByOption)},Re=()=>{switch(r.showCheckedStrategy){case"child":return U.value;case"parent":{const he=Ne(!1),Je=he.map(Ot=>Ot.value);return he.filter(Ot=>!Ot.parent||!Je.includes(Ot.parent.value))}default:return[]}},Ee=()=>{if(!G.value)return;const he=Re(),Je=[],ct=[];if(he.forEach(Ot=>ct.push(ie(Ot))),_.value=ct,he.length){he.slice(0,r.maxCollapseTags).forEach(In=>Je.push(ie(In)));const Ot=he.slice(r.maxCollapseTags),Tn=Ot.length;Tn&&(r.collapseTags?Je.push({key:-1,text:`+ ${Tn}`,closable:!1,isCollapseTag:!0}):Ot.forEach(In=>Je.push(ie(In))))}M.value=Je},Le=()=>{var he,Je;const{filterMethod:ct,showAllLevels:Ot,separator:Tn}=r,In=(Je=(he=w.value)==null?void 0:he.getFlattedNodes(!r.props.checkStrictly))==null?void 0:Je.filter(je=>je.isDisabled?!1:(je.calcText(Ot,Tn),ct(je,z.value)));G.value&&(M.value.forEach(je=>{je.hitState=!1}),_.value.forEach(je=>{je.hitState=!1})),O.value=!0,R.value=In,De()},Fe=()=>{var he;let Je;O.value&&A.value?Je=A.value.$el.querySelector(`.${l.e("suggestion-item")}`):Je=(he=w.value)==null?void 0:he.$el.querySelector(`.${l.b("node")}[tabindex="-1"]`),Je&&(Je.focus(),!O.value&&Je.click())},Pe=()=>{var he,Je;const ct=(he=m.value)==null?void 0:he.input,Ot=b.value,Tn=(Je=A.value)==null?void 0:Je.$el;if(!(!Kr||!ct)){if(Tn){const In=Tn.querySelector(`.${l.e("suggestion-list")}`);In.style.minWidth=`${ct.offsetWidth}px`}if(Ot){const{offsetHeight:In}=Ot,je=M.value.length>0?`${Math.max(In,a)-2}px`:`${a}px`;ct.style.height=je,De()}}},Ne=he=>{var Je;return(Je=w.value)==null?void 0:Je.getCheckedNodes(he)},ht=he=>{De(),n("expandChange",he)},Rt=he=>{if(!v.value)switch(he.code){case gn.enter:case gn.numpadEnter:be();break;case gn.down:be(!0),Vt(Fe),he.preventDefault();break;case gn.esc:S.value===!0&&(he.preventDefault(),he.stopPropagation(),be(!1));break;case gn.tab:be(!1);break}},Lt=()=>{var he;(he=w.value)==null||he.clearCheckedNodes(),!S.value&&r.filterable&&tn(),be(!1),n("clear")},tn=()=>{const{value:he}=X;I.value=he,P.value=he},Wt=he=>{var Je,ct;const{checked:Ot}=he;G.value?(Je=w.value)==null||Je.handleCheckChange(he,!Ot,!1):(!Ot&&((ct=w.value)==null||ct.handleCheckChange(he,!0,!1)),be(!1))},zt=he=>{const Je=he.target,{code:ct}=he;switch(ct){case gn.up:case gn.down:{he.preventDefault();const Ot=ct===gn.up?-1:1;AS(d1e(Je,Ot,`.${l.e("suggestion-item")}[tabindex="-1"]`));break}case gn.enter:case gn.numpadEnter:Je.click();break}},dt=()=>{const he=M.value,Je=he[he.length-1];s=P.value?0:s+1,!(!Je||!s||r.collapseTags&&he.length>1)&&(Je.hitState?ce(Je):Je.hitState=!0)},_t=Fl(()=>{const{value:he}=z;if(!he)return;const Je=r.beforeFilter(he);Av(Je)?Je.then(Le).catch(()=>{}):Je!==!1?Le():pe()},r.debounce),ut=(he,Je)=>{!S.value&&be(!0),!Je?.isComposing&&(he?_t():pe())},rt=he=>Number.parseFloat(qRe(u.cssVarName("input-height"),he).value)-2;return Ct(O,De),Ct([U,f,()=>r.collapseTags],Ee),Ct(M,()=>{Vt(()=>Pe())}),Ct(j,async()=>{await Vt();const he=m.value.input;a=rt(he)||a,Pe()}),Ct(X,tn,{immediate:!0}),jn(()=>{const he=m.value.input,Je=rt(he);a=he.offsetHeight||Je,li(he,Pe)}),t({getCheckedNodes:Ne,cascaderPanelRef:w,togglePopperVisible:be,contentRef:_e,presentText:X}),(he,Je)=>(F(),mt(C(fs),{ref_key:"tooltipRef",ref:g,visible:S.value,teleported:he.teleported,"popper-class":[C(l).e("dropdown"),he.popperClass],"popper-style":he.popperStyle,"popper-options":o,"fallback-placements":he.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:he.placement,transition:`${C(l).namespace.value}-zoom-in-top`,effect:he.effect,pure:"",persistent:he.persistent,onHide:pe},{default:nt(()=>[an((F(),K("div",{ref_key:"wrapperRef",ref:W,class:oe(C(Me)),style:Jt(C(N)),onClick:()=>be(C(Z)?void 0:!0),onKeydown:Rt,onMouseenter:ct=>k.value=!0,onMouseleave:ct=>k.value=!1},[$e(C(Us),{ref_key:"inputRef",ref:m,modelValue:I.value,"onUpdate:modelValue":ct=>I.value=ct,placeholder:C(L),readonly:C(Z),disabled:C(f),"validate-event":!1,size:C(j),class:oe(C(ge)),tabindex:C(G)&&he.filterable&&!C(f)?-1:void 0,onCompositionstart:C(h),onCompositionupdate:C(h),onCompositionend:C(h),onInput:ut},Ll({suffix:nt(()=>[C(te)?(F(),mt(C(_n),{key:"clear",class:oe([C(u).e("icon"),"icon-circle-close"]),onClick:Qt(Lt,["stop"])},{default:nt(()=>[(F(),mt(hr(he.clearIcon)))]),_:1},8,["class","onClick"])):(F(),mt(C(_n),{key:"arrow-down",class:oe(C(Ae)),onClick:Qt(ct=>be(),["stop"])},{default:nt(()=>[$e(C(Kc))]),_:1},8,["class","onClick"]))]),_:2},[he.$slots.prefix?{name:"prefix",fn:nt(()=>[pt(he.$slots,"prefix")])}:void 0]),1032,["modelValue","onUpdate:modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),C(G)?(F(),K("div",{key:0,ref_key:"tagWrapper",ref:b,class:oe([C(l).e("tags"),C(l).is("validate",!!C(ue))])},[pt(he.$slots,"tag",{data:_.value,deleteTag:ce},()=>[(F(!0),K(Nt,null,on(M.value,ct=>(F(),mt(C(Ih),{key:ct.key,type:he.tagType,size:C(H),effect:he.tagEffect,hit:ct.hitState,closable:ct.closable,"disable-transitions":"",onClose:Ot=>ce(ct)},{default:nt(()=>[ct.isCollapseTag===!1?(F(),K("span",{key:0},ze(ct.text),1)):(F(),mt(C(fs),{key:1,ref_for:!0,ref_key:"tagTooltipRef",ref:y,disabled:S.value||!he.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":he.popperClass,"popper-style":he.popperStyle,effect:he.effect},{default:nt(()=>[x("span",null,ze(ct.text),1)]),content:nt(()=>[$e(C(Lc),{"max-height":he.maxCollapseTagsTooltipHeight},{default:nt(()=>[x("div",{class:oe(C(l).e("collapse-tags"))},[(F(!0),K(Nt,null,on(_.value.slice(he.maxCollapseTags),(Ot,Tn)=>(F(),K("div",{key:Tn,class:oe(C(l).e("collapse-tag"))},[(F(),mt(C(Ih),{key:Ot.key,class:"in-tooltip",type:he.tagType,size:C(H),effect:he.tagEffect,hit:Ot.hitState,closable:Ot.closable,"disable-transitions":"",onClose:In=>ce(Ot)},{default:nt(()=>[x("span",null,ze(Ot.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))]),he.filterable&&!C(f)?an((F(),K("input",{key:0,"onUpdate:modelValue":ct=>P.value=ct,type:"text",class:oe(C(l).e("search-input")),placeholder:C(X)?"":C(V),onInput:ct=>ut(P.value,ct),onClick:Qt(ct=>be(!0),["stop"]),onKeydown:Lr(dt,["delete"]),onCompositionstart:C(h),onCompositionupdate:C(h),onCompositionend:C(h)},null,42,["onUpdate:modelValue","placeholder","onInput","onClick","onKeydown","onCompositionstart","onCompositionupdate","onCompositionend"])),[[jr,P.value]]):xe("v-if",!0)],2)):xe("v-if",!0)],46,["onClick","onMouseenter","onMouseleave"])),[[C(Zf),Q,C(_e)]])]),content:nt(()=>[he.$slots.header?(F(),K("div",{key:0,class:oe(C(l).e("header")),onClick:Qt(()=>{},["stop"])},[pt(he.$slots,"header")],10,["onClick"])):xe("v-if",!0),an($e(C(fye),{ref_key:"cascaderPanelRef",ref:w,modelValue:C(me),"onUpdate:modelValue":ct=>Ro(me)?me.value=ct:null,options:he.options,props:r.props,border:!1,"render-label":he.$slots.default,onExpandChange:ht,onClose:ct=>he.$nextTick(()=>be(!1))},{empty:nt(()=>[pt(he.$slots,"empty")]),_:3},8,["modelValue","onUpdate:modelValue","options","props","render-label","onClose"]),[[Ar,!O.value]]),he.filterable?an((F(),mt(C(Lc),{key:1,ref_key:"suggestionPanel",ref:A,tag:"ul",class:oe(C(l).e("suggestion-panel")),"view-class":C(l).e("suggestion-list"),onKeydown:zt},{default:nt(()=>[R.value.length?(F(!0),K(Nt,{key:0},on(R.value,ct=>(F(),K("li",{key:ct.uid,class:oe([C(l).e("suggestion-item"),C(l).is("checked",ct.checked)]),tabindex:-1,onClick:Ot=>Wt(ct)},[pt(he.$slots,"suggestion-item",{item:ct},()=>[x("span",null,ze(ct.text),1),ct.checked?(F(),mt(C(_n),{key:0},{default:nt(()=>[$e(C(OC))]),_:1})):xe("v-if",!0)])],10,["onClick"]))),128)):pt(he.$slots,"empty",{key:1},()=>[x("li",{class:oe(C(l).e("empty-text"))},ze(C(d)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[Ar,O.value]]):xe("v-if",!0),he.$slots.footer?(F(),K("div",{key:2,class:oe(C(l).e("footer")),onClick:Qt(()=>{},["stop"])},[pt(he.$slots,"footer")],10,["onClick"])):xe("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});var PHe=en(MHe,[["__file","cascader.vue"]]);const NHe=er(PHe),RHe=Yt({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),BHe={"update:checked":e=>Co(e),[Tr]:e=>Co(e)},LHe=et({name:"ElCheckTag"}),FHe=et({...LHe,props:RHe,emits:BHe,setup(e,{emit:t}){const n=e,r=jt("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(Tr,s),t("update:checked",s)};return(s,l)=>(F(),K("span",{class:oe(C(i)),onClick:a},[pt(s.$slots,"default")],2))}});var UHe=en(FHe,[["__file","check-tag.vue"]]);const zHe=er(UHe),$He=Yt({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:lt([Number,Object]),default:()=>fi({})},sm:{type:lt([Number,Object]),default:()=>fi({})},md:{type:lt([Number,Object]),default:()=>fi({})},lg:{type:lt([Number,Object]),default:()=>fi({})},xl:{type:lt([Number,Object]),default:()=>fi({})}}),pye=Symbol("rowContextKey"),jHe=et({name:"ElCol"}),HHe=et({...jHe,props:$He,setup(e){const t=e,{gutter:n}=un(pye,{gutter:ee(()=>0)}),r=jt("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];Ln(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=>{Ln(t[u])?a.push(r.b(`${u}-${t[u]}`)):ar(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)=>(F(),mt(hr(a.tag),{class:oe(C(i)),style:Jt(C(o))},{default:nt(()=>[pt(a.$slots,"default")]),_:3},8,["class","style"]))}});var WHe=en(HHe,[["__file","col.vue"]]);const VHe=er(WHe),zJ=e=>Ln(e)||Dn(e)||qt(e),qHe=Yt({accordion:Boolean,modelValue:{type:lt([Array,String,Number]),default:()=>fi([])},expandIconPosition:{type:lt([String]),default:"right"},beforeCollapse:{type:lt(Function)}}),GHe={[Gn]:zJ,[Tr]:zJ},hye=Symbol("collapseContextKey"),KHe="ElCollapse",YHe=(e,t)=>{const n=Y(Ka(e.modelValue)),r=a=>{n.value=a;const s=e.accordion?n.value[0]:n.value;t(Gn,s),t(Tr,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);[Av(l),Co(l)].includes(!0)||Ji(KHe,"beforeCollapse must return type `Promise` or `boolean`"),Av(l)?l.then(d=>{d!==!1&&o(a)}).catch(d=>{}):l&&o(a)};return Ct(()=>e.modelValue,()=>n.value=Ka(e.modelValue),{deep:!0}),Sr(hye,{activeNames:n,handleItemClick:i}),{activeNames:n,setActiveNames:r}},QHe=e=>{const t=jt("collapse");return{rootKls:ee(()=>[t.b(),t.b(`icon-position-${e.expandIconPosition}`)])}},ZHe=et({name:"ElCollapse"}),XHe=et({...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)=>(F(),K("div",{class:oe(C(a))},[pt(s.$slots,"default")],2))}});var JHe=en(XHe,[["__file","collapse.vue"]]);const eWe=et({name:"ElCollapseTransition"}),tWe=et({...eWe,setup(e){const t=jt("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)=>(F(),mt(Wi,pr({name:C(t).b()},$Te(r)),{default:nt(()=>[pt(o.$slots,"default")]),_:3},16,["name"]))}});var nWe=en(tWe,[["__file","collapse-transition.vue"]]);const cD=er(nWe),rWe=Yt({title:{type:String,default:""},name:{type:lt([String,Number]),default:void 0},icon:{type:vo,default:ka},disabled:Boolean}),oWe=e=>{const t=un(hye),{namespace:n}=jt("collapse"),r=Y(!1),o=Y(!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=jt("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=et({name:"ElCollapseItem"}),sWe=et({...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)=>(F(),K("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:Lr(Qt(C(l),["stop"]),["space","enter"]),onFocus:C(a),onBlur:b=>r.value=!1},[x("span",{class:oe(C(f))},[pt(y.$slots,"title",{isActive:C(i)},()=>[An(ze(y.title),1)])],2),pt(y.$slots,"icon",{isActive:C(i)},()=>[$e(C(_n),{class:oe(C(u))},{default:nt(()=>[(F(),mt(hr(y.icon)))]),_:1},8,["class"])])],42,["id","aria-expanded","aria-controls","aria-describedby","tabindex","onClick","onKeydown","onFocus","onBlur"]),$e(C(cD),null,{default:nt(()=>[an(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))},[pt(y.$slots,"default")],2)],10,["id","aria-hidden","aria-labelledby"]),[[Ar,C(i)]])]),_:3})],2))}});var gye=en(sWe,[["__file","collapse-item.vue"]]);const lWe=er(JHe,{CollapseItem:gye}),uWe=vi(gye),cWe=Yt({color:{type:lt(Object),required:!0},vertical:Boolean,disabled:Boolean});let CI=!1;function Y3(e,t){if(!Kr)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=vr(),{t:n}=Hr(),r=Uo(),o=Uo(),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=vr(),i=jt("color-alpha-slider"),a=Y(0),s=Y(0),l=Y();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()}jn(()=>{if(!t.value||!n.value)return;const m={drag:b=>{r(b)},end:b=>{r(b)}};Y3(t.value,m),Y3(n.value,m),f()}),Ct(()=>e.color.get("alpha"),()=>f()),Ct(()=>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=et({name:pWe}),gWe=et({...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)=>(F(),K("div",{class:oe(C(d))},[x("div",{ref_key:"bar",ref:i,class:oe(C(c)),style:Jt(C(f)),onClick:C(l)},null,14,["onClick"]),x("div",{ref_key:"thumb",ref:a,class:oe(C(p)),style:Jt(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=en(gWe,[["__file","alpha-slider.vue"]]);const mWe=et({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean,disabled:Boolean},setup(e){const t=jt("color-hue-slider"),n=vr(),r=Y(),o=Y(),i=Y(0),a=Y(0),s=ee(()=>e.color.get("hue"));Ct(()=>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 jn(()=>{if(!o.value||!r.value||e.disabled)return;const p={drag:v=>{u(v)},end:v=>{u(v)}};Y3(o.value,p),Y3(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 F(),K("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:Jt({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var bWe=en(mWe,[["render",yWe],["__file","hue-slider.vue"]]);const vye=Yt({modelValue:{type:lt(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:lt(Array)}}),wWe={[Gn]:e=>Dn(e)||Zi(e)},mye=Symbol("colorCommonPickerKey"),yye=Symbol("colorPickerPanelContextKey");class AE{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new B1,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const n in t)Zr(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)Zr(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 B1(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 B1({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 B1({h:t,s:n/100,v:r/100,a:o/100}),this.value=this._isValid?this._tiny.toString(s):""}}const AWe=et({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean},setup(e){const t=jt("color-predefine"),{currentColor:n}=un(yye),r=Y(i(e.colors,e.color));Ct(()=>n.value,a=>{const s=new AE({value:a});r.value.forEach(l=>{l.selected=s.compare(l)})}),Cs(()=>{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 AE({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 F(),K("div",{class:oe(e.ns.b())},[x("div",{class:oe(e.ns.e("colors"))},[(F(!0),K(Nt,null,on(e.rgbaColors,(a,s)=>(F(),K("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:Jt({backgroundColor:a.value})},null,4)],10,["onClick"]))),128))],2)],2)}var xWe=en(AWe,[["render",CWe],["__file","predefine.vue"]]);const SWe=et({name:"ElSlPanel",props:{color:{type:Object,required:!0},disabled:Boolean},setup(e){const t=jt("color-svpanel"),n=vr(),r=Y(0),o=Y(0),i=Y("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 Ct(()=>a.value,()=>{s()}),jn(()=>{Y3(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 F(),K("div",{class:oe(e.ns.b()),style:Jt({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:Jt({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},[x("div")],6)],6)}var kWe=en(SWe,[["render",EWe],["__file","sv-panel.vue"]]);const bye=(e,t)=>{const n=Ur(new AE({enableAlpha:e.showAlpha,format:e.colorFormat||"",value:e.modelValue}));return Ct(()=>[e.colorFormat,e.showAlpha],()=>{n.enableAlpha=e.showAlpha,n.format=e.colorFormat||n.format,n.doOnChange(),t(Gn,n.value)}),{color:n}},TWe=et({name:"ElColorPickerPanel"}),_We=et({...TWe,props:vye,emits:wWe,setup(e,{expose:t,emit:n}){const r=e,o=jt("color-picker-panel"),i=Wa(),a=Y(),s=Y(),l=Y(),u=Y(),d=Y(""),{color:c}=un(mye,()=>bye(r,n),!0);function f(){c.fromString(d.value),c.value!==d.value&&(d.value=c.value)}return jn(()=>{r.modelValue&&(d.value=c.value),Vt(()=>{var p,v,h;(p=a.value)==null||p.update(),(v=s.value)==null||v.update(),(h=l.value)==null||h.update()})}),Ct(()=>r.modelValue,p=>{p&&p!==c.value&&c.fromString(p)}),Ct(()=>c.value,p=>{n(Gn,p),d.value=p}),Sr(yye,{currentColor:ee(()=>c.value)}),t({color:c,inputRef:u}),(p,v)=>(F(),K("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"))},[$e(bWe,{ref_key:"hue",ref:a,class:"hue-slider",color:C(c),vertical:"",disabled:C(i)},null,8,["color","disabled"]),$e(kWe,{ref_key:"sv",ref:s,color:C(c),disabled:C(i)},null,8,["color","disabled"])],2),p.showAlpha?(F(),mt(vWe,{key:0,ref_key:"alpha",ref:l,color:C(c),disabled:C(i)},null,8,["color","disabled"])):xe("v-if",!0),p.predefine?(F(),mt(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"))},[$e(C(Us),{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"]),pt(p.$slots,"footer")],2)],2))}});var DWe=en(_We,[["__file","color-picker-panel.vue"]]);const wye=er(DWe),IWe=Yt({persistent:{type:Boolean,default:!0},modelValue:{type:lt(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:ba,popperClass:{type:String,default:""},tabindex:{type:[String,Number],default:0},teleported:oi.teleported,appendTo:oi.appendTo,predefine:{type:lt(Array)},validateEvent:{type:Boolean,default:!0},...rm,...Es(["ariaLabel"])}),OWe={[Gn]:e=>Dn(e)||Zi(e),[Tr]:e=>Dn(e)||Zi(e),activeChange:e=>Dn(e)||Zi(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},MWe=et({name:"ElColorPicker"}),PWe=et({...MWe,props:IWe,emits:OWe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Hr(),i=jt("color"),{formItem:a}=ks(),s=fa(),l=Wa(),{valueOnClear:u,isEmptyValue:d}=IC(r,null),c=bye(r,n),{inputId:f,isLabeledByFormItem:p}=ac(r,{formItemContext:a}),v=Y(),h=Y(),g=Y(),y=Y(!1),m=Y(!1);let b=!0;const{isFocused:w,handleFocus:A,handleBlur:S}=vp(h,{disabled:l,beforeBlur(ue){var me;return(me=v.value)==null?void 0:me.isFocusInsideContent(ue)},afterBlur(){V(!1),G()}}),k=zRe(()=>{var ue,me;return(me=(ue=g.value)==null?void 0:ue.color)!=null?me:c.color}),O=ee(()=>ru(r,Object.keys(vye))),I=ee(()=>!r.modelValue&&!m.value?"transparent":N(k,r.showAlpha)),P=ee(()=>!r.modelValue&&!m.value?"":k.value),M=ee(()=>p.value?void 0:r.ariaLabel||o("el.colorpicker.defaultLabel")),_=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(ue,me){const{r:Me,g:Ae,b:ge,a:_e}=ue.toRgb();return me?`rgba(${Me}, ${Ae}, ${ge}, ${_e})`:`rgb(${Me}, ${Ae}, ${ge})`}function V(ue){y.value=ue}const L=Fl(V,100,{leading:!0});function j(){l.value||V(!0)}function H(){L(!1),G()}function G(){Vt(()=>{r.modelValue?k.fromString(r.modelValue):(k.value="",Vt(()=>{m.value=!1}))})}function Z(){l.value||(y.value&&G(),L(!y.value))}function z(){const ue=d(k.value)?u.value:k.value;n(Gn,ue),n(Tr,ue),r.validateEvent&&a?.validate("change").catch(me=>void 0),L(!1),Vt(()=>{const me=new AE({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});k.compare(me)||G()})}function U(){L(!1),n(Gn,u.value),n(Tr,u.value),r.modelValue!==u.value&&r.validateEvent&&a?.validate("change").catch(ue=>void 0),G()}function W(){y.value&&(H(),w.value&&te())}function re(ue){ue.preventDefault(),ue.stopPropagation(),V(!1),G()}function J(ue){var me,Me;switch(ue.code){case gn.enter:case gn.numpadEnter:case gn.space:ue.preventDefault(),ue.stopPropagation(),j(),(Me=(me=g?.value)==null?void 0:me.inputRef)==null||Me.focus();break;case gn.esc:re(ue);break}}function te(){h.value.focus()}function X(){h.value.blur()}return Ct(()=>P.value,ue=>{b&&n("activeChange",ue),b=!0}),Ct(()=>k.value,()=>{!r.modelValue&&!m.value&&(m.value=!0)}),Ct(()=>r.modelValue,ue=>{ue?ue&&ue!==k.value&&(b=!1,k.fromString(ue)):m.value=!1}),Sr(mye,c),t({color:k,show:j,hide:H,focus:te,blur:X}),(ue,me)=>(F(),mt(C(fs),{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"),ue.popperClass],"stop-popper-mouse-event":!1,pure:"",effect:"light",trigger:"click",teleported:ue.teleported,transition:`${C(i).namespace.value}-zoom-in-top`,persistent:ue.persistent,"append-to":ue.appendTo,onHide:Me=>V(!1)},{content:nt(()=>[an((F(),mt(C(wye),pr({ref_key:"pickerPanelRef",ref:g},C(O),{border:!1,onKeydown:Lr(re,["esc"])}),{footer:nt(()=>[x("div",null,[$e(C(Za),{class:oe(C(i).be("footer","link-btn")),text:"",size:"small",onClick:U},{default:nt(()=>[An(ze(C(o)("el.colorpicker.clear")),1)]),_:1},8,["class"]),$e(C(Za),{plain:"",size:"small",class:oe(C(i).be("footer","btn")),onClick:z},{default:nt(()=>[An(ze(C(o)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16,["onKeydown"])),[[C(Zf),W,h.value]])]),default:nt(()=>[x("div",pr({id:C(f),ref_key:"triggerRef",ref:h},ue.$attrs,{class:C(R),role:"button","aria-label":C(M),"aria-labelledby":C(_),"aria-description":C(o)("el.colorpicker.description",{color:ue.modelValue||""}),"aria-disabled":C(l),tabindex:C(l)?void 0:ue.tabindex,onKeydown:J,onFocus:C(A),onBlur:C(S)}),[x("div",{class:oe(C(i).be("picker","trigger")),onClick:Z},[x("span",{class:oe([C(i).be("picker","color"),C(i).is("alpha",ue.showAlpha)])},[x("span",{class:oe(C(i).be("picker","color-inner")),style:Jt({backgroundColor:C(I)})},[an($e(C(_n),{class:oe([C(i).be("picker","icon"),C(i).is("icon-arrow-down")])},{default:nt(()=>[$e(C(Kc))]),_:1},8,["class"]),[[Ar,ue.modelValue||m.value]]),an($e(C(_n),{class:oe([C(i).be("picker","empty"),C(i).is("icon-close")])},{default:nt(()=>[$e(C(cu))]),_:1},8,["class"]),[[Ar,!ue.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=en(PWe,[["__file","color-picker.vue"]]);const RWe=er(NWe),BWe=Yt({a11y:{type:Boolean,default:!0},locale:{type:lt(Object)},size:ba,button:{type:lt(Object)},card:{type:lt(Object)},dialog:{type:lt(Object)},link:{type:lt(Object)},experimentalFeatures:{type:lt(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:lt(Object)},zIndex:Number,namespace:{type:String,default:"el"},...rm}),Ps={placement:"top"},LWe=et({name:"ElConfigProvider",props:BWe,setup(e,{slots:t}){const n=wH(e);return Ct(()=>e.message,r=>{var o,i;Object.assign(Ps,(i=(o=n?.value)==null?void 0:o.message)!=null?i:{},r??{})},{immediate:!0,deep:!0}),()=>pt(t,"default",{config:n?.value})}}),FWe=er(LWe),UWe=et({name:"ElContainer"}),zWe=et({...UWe,props:{direction:{type:String}},setup(e){const t=e,n=pa(),r=jt("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)=>(F(),K("section",{class:oe([C(r).b(),C(r).is("vertical",C(o))])},[pt(i.$slots,"default")],2))}});var $We=en(zWe,[["__file","container.vue"]]);const jWe=et({name:"ElAside"}),HWe=et({...jWe,props:{width:{type:String,default:null}},setup(e){const t=e,n=jt("aside"),r=ee(()=>t.width?n.cssVarBlock({width:t.width}):{});return(o,i)=>(F(),K("aside",{class:oe(C(n).b()),style:Jt(C(r))},[pt(o.$slots,"default")],6))}});var Aye=en(HWe,[["__file","aside.vue"]]);const WWe=et({name:"ElFooter"}),VWe=et({...WWe,props:{height:{type:String,default:null}},setup(e){const t=e,n=jt("footer"),r=ee(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,i)=>(F(),K("footer",{class:oe(C(n).b()),style:Jt(C(r))},[pt(o.$slots,"default")],6))}});var Cye=en(VWe,[["__file","footer.vue"]]);const qWe=et({name:"ElHeader"}),GWe=et({...qWe,props:{height:{type:String,default:null}},setup(e){const t=e,n=jt("header"),r=ee(()=>t.height?n.cssVarBlock({height:t.height}):{});return(o,i)=>(F(),K("header",{class:oe(C(n).b()),style:Jt(C(r))},[pt(o.$slots,"default")],6))}});var xye=en(GWe,[["__file","header.vue"]]);const KWe=et({name:"ElMain"}),YWe=et({...KWe,setup(e){const t=jt("main");return(n,r)=>(F(),K("main",{class:oe(C(t).b())},[pt(n.$slots,"default")],2))}});var Sye=en(YWe,[["__file","main.vue"]]);const QWe=er($We,{Aside:Aye,Footer:Cye,Header:xye,Main:Sye}),ZWe=vi(Aye),XWe=vi(Cye),JWe=vi(xye),eVe=vi(Sye);var kS={exports:{}},tVe=kS.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(P,M,_){var R=_&&_.toUpperCase();return M||m[_]||n[_]||m[R].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,V,L){return V||L.slice(1)}))}))).match(r),w=b.length,A=0;A-1)return new Date((H==="X"?1e3:1)*j);var z=h(H)(j),U=z.year,W=z.month,re=z.day,J=z.hours,te=z.minutes,X=z.seconds,ue=z.milliseconds,me=z.zone,Me=z.week,Ae=new Date,ge=re||(U||W?1:Ae.getDate()),_e=U||Ae.getFullYear(),Q=0;U&&!W||(Q=W>0?W-1:Ae.getMonth());var be,De=J||0,pe=te||0,ie=X||0,ce=ue||0;return me?new Date(Date.UTC(_e,Q,ge,De,pe,ie,ce+60*me.offset*1e3)):G?new Date(Date.UTC(_e,Q,ge,De,pe,ie,ce)):(be=new Date(_e,Q,ge,De,pe,ie,ce),Me&&(be=Z(be).week(Me).toDate()),be)}catch{return new Date("")}})(S,I,k,m),this.init(),R&&R!==!0&&(this.$L=this.locale(R).$L),_&&S!=this.format(I)&&(this.$d=new Date("")),l={}}else if(I instanceof Array)for(var N=I.length,V=1;V<=N;V+=1){O[1]=I[V-1];var L=m.apply(this,O);if(L.isValid()){this.$d=L.$d,this.$L=L.$L,this.init();break}V===N&&(this.$d=new Date(""))}else w.call(this,A)}}}))})(kS)),kS.exports}var rVe=nVe();const HH=mu(rVe),HJ=["hours","minutes","seconds"],Fc="EP_PICKER_BASE",WH="ElPopperOptions",Eye=Symbol("commonPickerContextKey"),Ny="HH:mm:ss",uh="YYYY-MM-DD",oVe={date:uh,dates:uh,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${uh} ${Ny}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:uh,datetimerange:`${uh} ${Ny}`},kye=(e,t)=>{const{lang:n}=Hr(),r=Y(!1),o=Y(!1),i=Y(null),a=ee(()=>{const{modelValue:v}=e;return!v||qt(v)&&!v.filter(Boolean).length}),s=v=>{if(!K1e(e.modelValue,v)){let h;qt(v)?h=v.map(y=>IJ(y,e.valueFormat,n.value)):v&&(h=IJ(v,e.valueFormat,n.value)),t(Gn,v&&h,n.value)}},l=ee(()=>{var v;let h;if(a.value?u.value.getDefaultValue&&(h=u.value.getDefaultValue()):qt(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);ca(g,h)||(h=g,a.value||s(SS(h)))}return qt(h)&&h.some(g=>!g)&&(h=[]),h}),u=Y({});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;qt(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=Yt({disabledHours:{type:lt(Function)},disabledMinutes:{type:lt(Function)},disabledSeconds:{type:lt(Function)}}),Tye=Yt({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),qH=Yt({id:{type:lt([Array,String])},name:{type:lt([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:lt([String,Object]),default:Qd},editable:{type:Boolean,default:!0},prefixIcon:{type:lt([String,Object]),default:""},size:ba,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:lt(Object),default:()=>({})},modelValue:{type:lt([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:lt([Date,Array])},defaultTime:{type:lt([Date,Array])},isRange:Boolean,...VH,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:lt([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:lt(String),values:mp,default:"bottom"},fallbackPlacements:{type:lt(Array),default:["bottom","top","right","left"]},...rm,...Es(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),iVe=Yt({id:{type:lt(Array)},name:{type:lt(Array)},modelValue:{type:lt([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),aVe=et({name:"PickerRangeTrigger",inheritAttrs:!1}),sVe=et({...aVe,props:iVe,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(e,{expose:t,emit:n}){const r=e,o=oD(),i=jt("date"),a=jt("range"),s=Y(),l=Y(),{wrapperRef:u,isFocused:d}=vp(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)=>(F(),K("div",{ref_key:"wrapperRef",ref:u,class:oe([C(i).is("active",C(d)),A.$attrs.class]),style:Jt(A.$attrs.style),onClick:c,onMouseenter:f,onMouseleave:p,onTouchstartPassive:v},[pt(A.$slots,"prefix"),x("input",pr(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"]),pt(A.$slots,"range-separator"),x("input",pr(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"]),pt(A.$slots,"suffix")],38))}});var lVe=en(sVe,[["__file","picker-range-trigger.vue"]]);const uVe=et({name:"Picker"}),cVe=et({...uVe,props:qH,emits:[Gn,Tr,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,o=pp(),i=jt("date"),a=jt("input"),s=jt("range"),{formItem:l}=ks(),u=un(WH,{}),{valueOnClear:d}=IC(r,null),c=Y(),f=Y(),p=Y(null);let v=!1;const h=Wa(),g=kye(r,n),{parsedValue:y,pickerActualVisible:m,userInput:b,pickerVisible:w,pickerOptions:A,valueIsEmpty:S,emitInput:k,onPick:O,onSetPickerOption:I,onCalendarChange:P,onPanelChange:M}=g,{isFocused:_,handleFocus:R,handleBlur:N}=vp(f,{disabled:h,beforeFocus(){return r.readonly},afterFocus(){w.value=!0},beforeBlur(he){var Je;return!v&&((Je=c.value)==null?void 0:Je.isFocusInsideContent(he))},afterBlur(){Pe(),w.value=!1,v=!1,r.validateEvent&&l?.validate("blur").catch(he=>void 0)}}),V=Y(!1),L=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"),Ee?s.bm("editor",Ee.value):"",o.class]),j=ee(()=>[a.e("icon"),s.e("close-icon"),Q.value?"":s.e("close-icon--hidden")]);Ct(w,he=>{he?Vt(()=>{he&&(p.value=r.modelValue)}):(b.value=null,Vt(()=>{H(r.modelValue)}))});const H=(he,Je)=>{(Je||!K1e(he,p.value))&&(n(Tr,he),Je&&(p.value=he),r.validateEvent&&l?.validate("change").catch(ct=>void 0))},G=he=>{n("keydown",he)},Z=ee(()=>f.value?Array.from(f.value.$el.querySelectorAll("input")):[]),z=(he,Je,ct)=>{const Ot=Z.value;Ot.length&&(!ct||ct==="min"?(Ot[0].setSelectionRange(he,Je),Ot[0].focus()):ct==="max"&&(Ot[1].setSelectionRange(he,Je),Ot[1].focus()))},U=()=>{m.value=!0},W=()=>{n("visible-change",!0)},re=()=>{m.value=!1,w.value=!1,n("visible-change",!1)},J=()=>{w.value=!0},te=()=>{w.value=!1},X=ee(()=>{if(!A.value.panelReady)return"";const he=ht(y.value);return qt(b.value)?[b.value[0]||he&&he[0]||"",b.value[1]||he&&he[1]||""]:b.value!==null?b.value:!me.value&&S.value||!w.value&&S.value?"":he?Me.value||Ae.value||ge.value?he.join(", "):he:""}),ue=ee(()=>r.type.includes("time")),me=ee(()=>r.type.startsWith("time")),Me=ee(()=>r.type==="dates"),Ae=ee(()=>r.type==="months"),ge=ee(()=>r.type==="years"),_e=ee(()=>r.prefixIcon||(ue.value?n1e:zBe)),Q=ee(()=>r.clearable&&!h.value&&!r.readonly&&!S.value&&(V.value||_.value)),be=he=>{r.readonly||h.value||(Q.value&&(he.stopPropagation(),A.value.handleClear?A.value.handleClear():k(d.value),H(d.value,!0),re()),n("clear"))},De=async he=>{var Je;r.readonly||h.value||(((Je=he.target)==null?void 0:Je.tagName)!=="INPUT"||_.value)&&(w.value=!0)},pe=()=>{r.readonly||h.value||!S.value&&r.clearable&&(V.value=!0)},ie=()=>{V.value=!1},ce=he=>{var Je;r.readonly||h.value||(((Je=he.touches[0].target)==null?void 0:Je.tagName)!=="INPUT"||_.value)&&(w.value=!0)},Re=ee(()=>r.type.includes("range")),Ee=fa(),Le=ee(()=>{var he,Je;return(Je=(he=C(c))==null?void 0:he.popperRef)==null?void 0:Je.contentRef}),Fe=yH(f,he=>{const Je=C(Le),ct=Sa(f);Je&&(he.target===Je||he.composedPath().includes(Je))||he.target===ct||ct&&he.composedPath().includes(ct)||(w.value=!1)});Yr(()=>{Fe?.()});const Pe=()=>{if(b.value){const he=Ne(X.value);he&&Rt(he)&&(k(SS(he)),b.value=null)}b.value===""&&(k(d.value),H(d.value,!0),b.value=null)},Ne=he=>he?A.value.parseUserInput(he):null,ht=he=>he?A.value.formatToString(he):null,Rt=he=>A.value.isValidValue(he),Lt=async he=>{if(r.readonly||h.value)return;const{code:Je}=he;if(G(he),Je===gn.esc){w.value===!0&&(w.value=!1,he.preventDefault(),he.stopPropagation());return}if(Je===gn.down&&(A.value.handleFocusPicker&&(he.preventDefault(),he.stopPropagation()),w.value===!1&&(w.value=!0,await Vt()),A.value.handleFocusPicker)){A.value.handleFocusPicker();return}if(Je===gn.tab){v=!0;return}if(Je===gn.enter||Je===gn.numpadEnter){(b.value===null||b.value===""||Rt(Ne(X.value)))&&(Pe(),w.value=!1),he.stopPropagation();return}if(b.value){he.stopPropagation();return}A.value.handleKeydownInput&&A.value.handleKeydownInput(he)},tn=he=>{b.value=he,w.value||(w.value=!0)},Wt=he=>{const Je=he.target;b.value?b.value=[Je.value,b.value[1]]:b.value=[Je.value,null]},zt=he=>{const Je=he.target;b.value?b.value=[b.value[0],Je.value]:b.value=[null,Je.value]},dt=()=>{var he;const Je=b.value,ct=Ne(Je&&Je[0]),Ot=C(y);if(ct&&ct.isValid()){b.value=[ht(ct),((he=X.value)==null?void 0:he[1])||null];const Tn=[ct,Ot&&(Ot[1]||null)];Rt(Tn)&&(k(SS(Tn)),b.value=null)}},_t=()=>{var he;const Je=C(b),ct=Ne(Je&&Je[1]),Ot=C(y);if(ct&&ct.isValid()){b.value=[((he=C(X))==null?void 0:he[0])||null,ht(ct)];const Tn=[Ot&&Ot[0],ct];Rt(Tn)&&(k(SS(Tn)),b.value=null)}},ut=()=>{var he;(he=f.value)==null||he.focus()},rt=()=>{var he;(he=f.value)==null||he.blur()};return Sr(Fc,{props:r}),Sr(Eye,g),t({focus:ut,blur:rt,handleOpen:J,handleClose:te,onPick:O}),(he,Je)=>(F(),mt(C(fs),pr({ref_key:"refPopper",ref:c,visible:C(w),effect:"light",pure:"",trigger:"click"},he.$attrs,{role:"dialog",teleported:"",transition:`${C(i).namespace.value}-zoom-in-top`,"popper-class":[`${C(i).namespace.value}-picker__popper`,he.popperClass],"popper-style":he.popperStyle,"popper-options":C(u),"fallback-placements":he.fallbackPlacements,"gpu-acceleration":!1,placement:he.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:U,onShow:W,onHide:re}),{default:nt(()=>[C(Re)?(F(),mt(lVe,{key:1,id:he.id,ref_key:"inputRef",ref:f,"model-value":C(X),name:he.name,disabled:C(h),readonly:!he.editable||he.readonly,"start-placeholder":he.startPlaceholder,"end-placeholder":he.endPlaceholder,class:oe(C(L)),style:Jt(he.$attrs.style),"aria-label":he.ariaLabel,tabindex:he.tabindex,autocomplete:"off",role:"combobox",onClick:De,onFocus:C(R),onBlur:C(N),onStartInput:Wt,onStartChange:dt,onEndInput:zt,onEndChange:_t,onMousedown:De,onMouseenter:pe,onMouseleave:ie,onTouchstartPassive:ce,onKeydown:Lt},{prefix:nt(()=>[C(_e)?(F(),mt(C(_n),{key:0,class:oe([C(a).e("icon"),C(s).e("icon")])},{default:nt(()=>[(F(),mt(hr(C(_e))))]),_:1},8,["class"])):xe("v-if",!0)]),"range-separator":nt(()=>[pt(he.$slots,"range-separator",{},()=>[x("span",{class:oe(C(s).b("separator"))},ze(he.rangeSeparator),3)])]),suffix:nt(()=>[he.clearIcon?(F(),mt(C(_n),{key:0,class:oe(C(j)),onMousedown:Qt(C(go),["prevent"]),onClick:be},{default:nt(()=>[(F(),mt(hr(he.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"])):(F(),mt(C(Us),{key:0,id:he.id,ref_key:"inputRef",ref:f,"container-role":"combobox","model-value":C(X),name:he.name,size:C(Ee),disabled:C(h),placeholder:he.placeholder,class:oe([C(i).b("editor"),C(i).bm("editor",he.type),C(i).is("focus",C(w)),he.$attrs.class]),style:Jt(he.$attrs.style),readonly:!he.editable||he.readonly||C(Me)||C(Ae)||C(ge)||he.type==="week","aria-label":he.ariaLabel,tabindex:he.tabindex,"validate-event":!1,onInput:tn,onFocus:C(R),onBlur:C(N),onKeydown:Lt,onChange:Pe,onMousedown:De,onMouseenter:pe,onMouseleave:ie,onTouchstartPassive:ce,onClick:Qt(()=>{},["stop"])},{prefix:nt(()=>[C(_e)?(F(),mt(C(_n),{key:0,class:oe(C(a).e("icon")),onMousedown:Qt(De,["prevent"]),onTouchstartPassive:ce},{default:nt(()=>[(F(),mt(hr(C(_e))))]),_:1},8,["class","onMousedown"])):xe("v-if",!0)]),suffix:nt(()=>[C(Q)&&he.clearIcon?(F(),mt(C(_n),{key:0,class:oe(`${C(a).e("icon")} clear-icon`),onMousedown:Qt(C(go),["prevent"]),onClick:be},{default:nt(()=>[(F(),mt(hr(he.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:nt(()=>[pt(he.$slots,"default",{visible:C(w),actualVisible:C(m),parsedValue:C(y),format:he.format,dateFormat:he.dateFormat,timeFormat:he.timeFormat,unlinkPanels:he.unlinkPanels,type:he.type,defaultValue:he.defaultValue,showNow:he.showNow,showConfirm:he.showConfirm,showFooter:he.showFooter,showWeekNumber:he.showWeekNumber,onPick:C(O),onSelectRange:z,onSetPickerOption:C(I),onCalendarChange:C(P),onPanelChange:C(M),onMousedown:Qt(()=>{},["stop"])})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});var _ye=en(cVe,[["__file","picker.vue"]]);const dVe=Yt({...Tye,datetimeRole:String,parsedValue:{type:lt(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=Y(e.parsedValue);return Ct(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},fVe=Yt({role:{type:String,required:!0},spinnerDate:{type:lt(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:lt(String),default:""},...VH}),pVe=100,hVe=600,CE={beforeMount(e,t){const n=t.value,{interval:r=pVe,delay:o=hVe}=Pn(n)?{}:n;let i,a;const s=()=>Pn(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=et({__name:"basic-time-spinner",props:fVe,emits:[Tr,"select-range","set-option"],setup(e,{emit:t}){const n=e,r=un(Fc),{isRange:o,format:i}=r.props,a=jt("time"),{getHoursList:s,getMinutesList:l,getSecondsList:u}=Iye(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let d=!1;const c=Y(),f=Y(),p=Y(),v=Y(),h={hours:f,minutes:p,seconds:v},g=ee(()=>n.showSeconds?HJ:HJ.slice(0,2)),y=ee(()=>{const{spinnerDate:U}=n,W=U.hour(),re=U.minute(),J=U.second();return{hours:W,minutes:re,seconds:J}}),m=ee(()=>{const{hours:U,minutes:W}=C(y),{role:re,spinnerDate:J}=n,te=o?void 0:J;return{hours:s(re,te),minutes:l(U,re,te),seconds:u(U,W,re,te)}}),b=ee(()=>{const{hours:U,minutes:W,seconds:re}=C(y);return{hours:bI(U,23),minutes:bI(W,59),seconds:bI(re,59)}}),w=Fl(U=>{d=!1,k(U)},200),A=U=>{if(!!!n.amPmMode)return"";const re=n.amPmMode==="A";let J=U<12?" am":" pm";return re&&(J=J.toUpperCase()),J},S=U=>{let W=[0,0];const re=i||Ny,J=re.indexOf("HH"),te=re.indexOf("mm"),X=re.indexOf("ss");switch(U){case"hours":J!==-1&&(W=[J,J+2]);break;case"minutes":te!==-1&&(W=[te,te+2]);break;case"seconds":X!==-1&&(W=[X,X+2]);break}const[ue,me]=W;t("select-range",ue,me),c.value=U},k=U=>{P(U,C(y)[U])},O=()=>{k("hours"),k("minutes"),k("seconds")},I=U=>U.querySelector(`.${a.namespace.value}-scrollbar__wrap`),P=(U,W)=>{if(n.arrowControl)return;const re=C(h[U]);re&&re.$el&&(I(re.$el).scrollTop=Math.max(0,W*M(U)))},M=U=>{const W=C(h[U]),re=W?.$el.querySelector("li");return re&&Number.parseFloat(Tf(re,"height"))||0},_=()=>{N(1)},R=()=>{N(-1)},N=U=>{c.value||S("hours");const W=c.value,re=C(y)[W],J=c.value==="hours"?24:60,te=V(W,re,U,J);L(W,te),P(W,te),Vt(()=>S(W))},V=(U,W,re,J)=>{let te=(W+re+J)%J;const X=C(m)[U];for(;X[te]&&te!==W;)te=(te+re+J)%J;return te},L=(U,W)=>{if(C(m)[U][W])return;const{hours:te,minutes:X,seconds:ue}=C(y);let me;switch(U){case"hours":me=n.spinnerDate.hour(W).minute(X).second(ue);break;case"minutes":me=n.spinnerDate.hour(te).minute(W).second(ue);break;case"seconds":me=n.spinnerDate.hour(te).minute(X).second(W);break}t(Tr,me)},j=(U,{value:W,disabled:re})=>{re||(L(U,W),S(U),P(U,W))},H=U=>{const W=C(h[U]);if(!W)return;d=!0,w(U);const re=Math.min(Math.round((I(W.$el).scrollTop-(G(U)*.5-10)/M(U)+3)/M(U)),U==="hours"?23:59);L(U,re)},G=U=>C(h[U]).$el.offsetHeight,Z=()=>{const U=W=>{const re=C(h[W]);re&&re.$el&&(I(re.$el).onscroll=()=>{H(W)})};U("hours"),U("minutes"),U("seconds")};jn(()=>{Vt(()=>{!n.arrowControl&&Z(),O(),n.role==="start"&&S("hours")})});const z=(U,W)=>{h[W].value=U??void 0};return t("set-option",[`${n.role}_scrollDown`,N]),t("set-option",[`${n.role}_emitSelectRange`,S]),Ct(()=>n.spinnerDate,()=>{d||O()}),(U,W)=>(F(),K("div",{class:oe([C(a).b("spinner"),{"has-seconds":U.showSeconds}])},[U.arrowControl?xe("v-if",!0):(F(!0),K(Nt,{key:0},on(C(g),re=>(F(),mt(C(Lc),{key:re,ref_for:!0,ref:J=>z(J,re),class:oe(C(a).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":C(a).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:J=>S(re),onMousemove:J=>k(re)},{default:nt(()=>[(F(!0),K(Nt,null,on(C(m)[re],(J,te)=>(F(),K("li",{key:te,class:oe([C(a).be("spinner","item"),C(a).is("active",te===C(y)[re]),C(a).is("disabled",J)]),onClick:X=>j(re,{value:te,disabled:J})},[re==="hours"?(F(),K(Nt,{key:0},[An(ze(("0"+(U.amPmMode?te%12||12:te)).slice(-2))+ze(A(te)),1)],64)):(F(),K(Nt,{key:1},[An(ze(("0"+te).slice(-2)),1)],64))],10,["onClick"]))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),U.arrowControl?(F(!0),K(Nt,{key:1},on(C(g),re=>(F(),K("div",{key:re,class:oe([C(a).be("spinner","wrapper"),C(a).is("arrow")]),onMouseenter:J=>S(re)},[an((F(),mt(C(_n),{class:oe(["arrow-up",C(a).be("spinner","arrow")])},{default:nt(()=>[$e(C(nD))]),_:1},8,["class"])),[[C(CE),R]]),an((F(),mt(C(_n),{class:oe(["arrow-down",C(a).be("spinner","arrow")])},{default:nt(()=>[$e(C(Kc))]),_:1},8,["class"])),[[C(CE),_]]),x("ul",{class:oe(C(a).be("spinner","list"))},[(F(!0),K(Nt,null,on(C(b)[re],(J,te)=>(F(),K("li",{key:te,class:oe([C(a).be("spinner","item"),C(a).is("active",J===C(y)[re]),C(a).is("disabled",C(m)[re][J])])},[C(Ln)(J)?(F(),K(Nt,{key:0},[re==="hours"?(F(),K(Nt,{key:0},[An(ze(("0"+(U.amPmMode?J%12||12:J)).slice(-2))+ze(A(J)),1)],64)):(F(),K(Nt,{key:1},[An(ze(("0"+J).slice(-2)),1)],64))],64)):xe("v-if",!0)],2))),128))],2)],42,["onMouseenter"]))),128)):xe("v-if",!0)],2))}});var OL=en(gVe,[["__file","basic-time-spinner.vue"]]);const vVe=et({__name:"panel-time-pick",props:dVe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=un(Fc),{arrowControl:o,disabledHours:i,disabledMinutes:a,disabledSeconds:s,defaultValue:l}=r.props,{getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:c}=Oye(i,a,s),f=jt("time"),{t:p,lang:v}=Hr(),h=Y([0,2]),g=Mye(n),y=ee(()=>zr(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=H=>{const G=rr(H).locale(v.value),Z=N(G);return G.isSame(Z)},A=()=>{t("pick",g.value,!1)},S=(H=!1,G=!1)=>{G||t("pick",n.parsedValue,H)},k=H=>{if(!n.visible)return;const G=N(H).millisecond(0);t("pick",G,!0)},O=(H,G)=>{t("select-range",H,G),h.value=[H,G]},I=H=>{const G=n.format,Z=G.indexOf("HH"),z=G.indexOf("mm"),U=G.indexOf("ss"),W=[],re=[];Z!==-1&&(W.push(Z),re.push("hours")),z!==-1&&(W.push(z),re.push("minutes")),U!==-1&&m.value&&(W.push(U),re.push("seconds"));const te=(W.indexOf(h.value[0])+H+W.length)%W.length;M.start_emitSelectRange(re[te])},P=H=>{const G=H.code,{left:Z,right:z,up:U,down:W}=gn;if([Z,z].includes(G)){I(G===Z?-1:1),H.preventDefault();return}if([U,W].includes(G)){const re=G===U?-1:1;M.start_scrollDown(re),H.preventDefault();return}},{timePickerOptions:M,onSetOption:_,getAvailableTime:R}=Dye({getAvailableHours:u,getAvailableMinutes:d,getAvailableSeconds:c}),N=H=>R(H,n.datetimeRole||"",!0),V=H=>H?rr(H,n.format).locale(v.value):null,L=H=>H?H.format(n.format):null,j=()=>rr(l).locale(v.value);return t("set-picker-option",["isValidValue",w]),t("set-picker-option",["formatToString",L]),t("set-picker-option",["parseUserInput",V]),t("set-picker-option",["handleKeydownInput",P]),t("set-picker-option",["getRangeAvailableTime",N]),t("set-picker-option",["getDefaultValue",j]),(H,G)=>(F(),mt(Wi,{name:C(y)},{default:nt(()=>[H.actualVisible||H.visible?(F(),K("div",{key:0,class:oe(C(f).b("panel"))},[x("div",{class:oe([C(f).be("panel","content"),{"has-seconds":C(m)}])},[$e(OL,{ref:"spinner",role:H.datetimeRole||"start","arrow-control":C(o),"show-seconds":C(m),"am-pm-mode":C(b),"spinner-date":H.parsedValue,"disabled-hours":C(i),"disabled-minutes":C(a),"disabled-seconds":C(s),onChange:k,onSetOption:C(_),onSelectRange:O},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},ze(C(p)("el.datepicker.cancel")),3),x("button",{type:"button",class:oe([C(f).be("panel","btn"),"confirm"]),onClick:Z=>S()},ze(C(p)("el.datepicker.confirm")),11,["onClick"])],2)],2)):xe("v-if",!0)]),_:1},8,["name"]))}});var xE=en(vVe,[["__file","panel-time-pick.vue"]]);const mVe=Yt({...Tye,parsedValue:{type:lt(Array)}}),yVe=et({__name:"panel-time-range",props:mVe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(Ae,ge)=>{const _e=[];for(let Q=Ae;Q<=ge;Q++)_e.push(Q);return _e},{t:o,lang:i}=Hr(),a=jt("time"),s=jt("picker"),l=un(Fc),{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)},k=Ae=>{P(Ae.millisecond(0),y.value)},O=Ae=>{P(g.value,Ae.millisecond(0))},I=Ae=>{const ge=Ae.map(Q=>rr(Q).locale(i.value)),_e=z(ge);return ge[0].isSame(_e[0])&&ge[1].isSame(_e[1])},P=(Ae,ge)=>{n.visible&&t("pick",[Ae,ge],!0)},M=ee(()=>g.value>y.value),_=Y([0,2]),R=(Ae,ge)=>{t("select-range",Ae,ge,"min"),_.value=[Ae,ge]},N=ee(()=>w.value?11:8),V=(Ae,ge)=>{t("select-range",Ae,ge,"max");const _e=C(N);_.value=[Ae+_e,ge+_e]},L=Ae=>{const ge=w.value?[0,3,6,11,14,17]:[0,3,8,11],_e=["hours","minutes"].concat(w.value?["seconds"]:[]),be=(ge.indexOf(_.value[0])+Ae+ge.length)%ge.length,De=ge.length/2;be{const ge=Ae.code,{left:_e,right:Q,up:be,down:De}=gn;if([_e,Q].includes(ge)){L(ge===_e?-1:1),Ae.preventDefault();return}if([be,De].includes(ge)){const pe=ge===be?-1:1,ie=_.value[0]{const _e=d?d(Ae):[],Q=Ae==="start",De=(ge||(Q?y.value:g.value)).hour(),pe=Q?r(De+1,23):r(0,De-1);return pI(_e,pe)},G=(Ae,ge,_e)=>{const Q=c?c(Ae,ge):[],be=ge==="start",De=_e||(be?y.value:g.value),pe=De.hour();if(Ae!==pe)return Q;const ie=De.minute(),ce=be?r(ie+1,59):r(0,ie-1);return pI(Q,ce)},Z=(Ae,ge,_e,Q)=>{const be=f?f(Ae,ge,_e):[],De=_e==="start",pe=Q||(De?y.value:g.value),ie=pe.hour(),ce=pe.minute();if(Ae!==ie||ge!==ce)return be;const Re=pe.second(),Ee=De?r(Re+1,59):r(0,Re-1);return pI(be,Ee)},z=([Ae,ge])=>[te(Ae,"start",!0,ge),te(ge,"end",!1,Ae)],{getAvailableHours:U,getAvailableMinutes:W,getAvailableSeconds:re}=Oye(H,G,Z),{timePickerOptions:J,getAvailableTime:te,onSetOption:X}=Dye({getAvailableHours:U,getAvailableMinutes:W,getAvailableSeconds:re}),ue=Ae=>Ae?qt(Ae)?Ae.map(ge=>rr(ge,n.format).locale(i.value)):rr(Ae,n.format).locale(i.value):null,me=Ae=>Ae?qt(Ae)?Ae.map(ge=>ge.format(n.format)):Ae.format(n.format):null,Me=()=>{if(qt(p))return p.map(ge=>rr(ge).locale(i.value));const Ae=rr(p).locale(i.value);return[Ae,Ae.add(60,"m")]};return t("set-picker-option",["formatToString",me]),t("set-picker-option",["parseUserInput",ue]),t("set-picker-option",["isValidValue",I]),t("set-picker-option",["handleKeydownInput",j]),t("set-picker-option",["getDefaultValue",Me]),t("set-picker-option",["getRangeAvailableTime",z]),(Ae,ge)=>Ae.actualVisible?(F(),K("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"))},ze(C(o)("el.datepicker.startTime")),3),x("div",{class:oe(C(v))},[$e(OL,{ref:"minSpinner",role:"start","show-seconds":C(w),"am-pm-mode":C(A),"arrow-control":C(u),"spinner-date":C(g),"disabled-hours":H,"disabled-minutes":G,"disabled-seconds":Z,onChange:k,onSetOption:C(X),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"))},ze(C(o)("el.datepicker.endTime")),3),x("div",{class:oe(C(h))},[$e(OL,{ref:"maxSpinner",role:"end","show-seconds":C(w),"am-pm-mode":C(A),"arrow-control":C(u),"spinner-date":C(y),"disabled-hours":H,"disabled-minutes":G,"disabled-seconds":Z,onChange:O,onSetOption:C(X),onSelectRange:V},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:_e=>b()},ze(C(o)("el.datepicker.cancel")),11,["onClick"]),x("button",{type:"button",class:oe([C(a).be("panel","btn"),"confirm"]),disabled:C(M),onClick:_e=>S()},ze(C(o)("el.datepicker.confirm")),11,["disabled","onClick"])],2)],2)):xe("v-if",!0)}});var bVe=en(yVe,[["__file","panel-time-range.vue"]]);rr.extend(HH);var wVe=et({name:"ElTimePicker",install:null,props:{...qH,isRange:Boolean},emits:[Gn],setup(e,t){const n=Y(),[r,o]=e.isRange?["timerange",bVe]:["time",xE],i=a=>t.emit(Gn,a);return Sr(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:Ny;return $e(_ye,pr(e,{ref:n,type:r,format:s,"onUpdate:modelValue":i}),{default:l=>$e(o,l,null)})}}});const AVe=er(wVe);var TS={exports:{}},CVe=TS.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)}}}))})(TS)),TS.exports}var SVe=xVe();const EVe=mu(SVe);var _S={exports:{}},kVe=_S.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)}}}))})(_S)),_S.exports}var _Ve=TVe();const DVe=mu(_Ve);var DS={exports:{}},IVe=DS.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}}}))})(DS)),DS.exports}var MVe=OVe();const PVe=mu(MVe);var IS={exports:{}},NVe=IS.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")}}}))})(IS)),IS.exports}var BVe=RVe();const LVe=mu(BVe);var OS={exports:{}},FVe=OS.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)}}}))})(OS)),OS.exports}var zVe=UVe();const $Ve=mu(zVe);var MS={exports:{}},jVe=MS.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)}}}))})(MS)),MS.exports}var WVe=HVe();const VVe=mu(WVe),qVe=Yt({valueFormat:String,dateFormat:String,timeFormat:String,disabled:Boolean,modelValue:{type:lt([Date,Array,String,Number]),default:""},defaultValue:{type:lt([Date,Array])},defaultTime:{type:lt([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:lt(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0}}),GH=Symbol("rootPickerContextKey"),BC="ElIsDefaultFormat",GVe=["date","dates","year","years","month","months","week","range"],KH=Yt({cellClassName:{type:lt(Function)},disabledDate:{type:lt(Function)},date:{type:lt(Object),required:!0},minDate:{type:lt(Object)},maxDate:{type:lt(Object)},parsedValue:{type:lt([Object,Array])},rangeState:{type:lt(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),Pye=Yt({type:{type:lt(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=Yt({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:lt(Array)}}),QH=e=>({type:String,values:GVe,default:e}),KVe=Yt({...Pye,parsedValue:{type:lt([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),Q3=e=>{if(!qt(e))return!1;const[t,n]=e;return rr.isDayjs(t)&&rr.isDayjs(n)&&rr(t).isValid()&&rr(n).isValid()&&t.isSameOrBefore(n)},dD=(e,{lang:t,step:n=1,unit:r,unlinkPanels:o})=>{let i;if(qt(e)){let[a,s]=e.map(l=>rr(l).locale(t));return o||(s=a.add(n,r)),[a,s]}else e?i=rr(e):i=rr();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=rr().locale(r).startOf("month").month(n).year(t).hour(e.hour()).minute(e.minute()).second(e.second()),i=o.daysInMonth();return Dh(i).map(a=>o.add(a,"day").toDate())},Ry=(e,t,n,r,o)=>{const i=rr().year(t).month(n).startOf("month").hour(e.hour()).minute(e.minute()).second(e.second()),a=SE(e,t,n,r).find(s=>!o?.(s));return a?rr(a).locale(r):i.locale(r)},EE=(e,t,n)=>{const r=e.year();if(!n?.(e.toDate()))return e.locale(t);const o=e.month();if(!SE(e,r,o,t).every(n))return Ry(e,r,o,t,n);for(let i=0;i<12;i++)if(!SE(e,r,i,t).every(n))return Ry(e,r,i,t,n);return e},By=(e,t,n,r)=>{if(qt(e))return e.map(o=>By(o,t,n,r));if(Dn(e)){const o=r?.value?rr(e):rr(e,t);if(!o.isValid())return o}return rr(e,t).locale(n)},QVe=Yt({...KH,showWeekNumber:Boolean,selectionMode:QH("date")}),ZVe=["changerange","pick","select"],ML=(e="")=>["normal","today"].includes(e),XVe=(e,t)=>{const{lang:n}=Hr(),r=Y(),o=Y(),i=Y(),a=Y(),s=Y([[],[],[],[],[],[]]);let l=!1;const u=e.date.$locale().weekStart||7,d=e.date.locale("en").localeData().weekdaysShort().map(H=>H.toLowerCase()),c=ee(()=>u>3?7-u:-u),f=ee(()=>{const H=e.date.startOf("month");return H.subtract(H.day()||7,"day")}),p=ee(()=>d.concat(d).slice(u,u+7)),v=ee(()=>sme(C(w)).some(H=>H.isCurrent)),h=ee(()=>{const H=e.date.startOf("month"),G=H.day()||7,Z=H.daysInMonth(),z=H.subtract(1,"month").daysInMonth();return{startOfMonthDay:G,dateCountOfMonth:Z,dateCountOfLastMonth:z}}),g=ee(()=>e.selectionMode==="dates"?rl(e.parsedValue):[]),y=(H,{count:G,rowIndex:Z,columnIndex:z})=>{const{startOfMonthDay:U,dateCountOfMonth:W,dateCountOfLastMonth:re}=C(h),J=C(c);if(Z>=0&&Z<=1){const te=U+J<0?7+U+J:U+J;if(z+Z*7>=te)return H.text=G,!0;H.text=re-(te-z%7)+1+Z*7,H.type="prev-month"}else return G<=W?H.text=G:(H.text=G-W,H.type="next-month"),!0;return!1},m=(H,{columnIndex:G,rowIndex:Z},z)=>{const{disabledDate:U,cellClassName:W}=e,re=C(g),J=y(H,{count:z,rowIndex:Z,columnIndex:G}),te=H.dayjs.toDate();return H.selected=re.find(X=>X.isSame(H.dayjs,"day")),H.isSelected=!!H.selected,H.isCurrent=S(H),H.disabled=U?.(te),H.customClass=W?.(te),J},b=H=>{if(e.selectionMode==="week"){const[G,Z]=e.showWeekNumber?[1,7]:[0,6],z=j(H[G+1]);H[G].inRange=z,H[G].start=z,H[Z].inRange=z,H[Z].end=z}},w=ee(()=>{const{minDate:H,maxDate:G,rangeState:Z,showWeekNumber:z}=e,U=C(c),W=C(s),re="day";let J=1;if(YVe({row:6,column:7},W,{startDate:H,columnIndexOffset:z?1:0,nextEndDate:Z.endDate||G||Z.selecting&&H||null,now:rr().locale(C(n)).startOf(re),unit:re,relativeDateGetter:te=>C(f).add(te-U,re),setCellMetadata:(...te)=>{m(...te,J)&&(J+=1)},setRowMetadata:b}),z)for(let te=0;te<6;te++)W[te][1].dayjs&&(W[te][0]={type:"week",text:W[te][1].dayjs.week()});return W});Ct(()=>e.date,async()=>{var H;(H=C(r))!=null&&H.contains(document.activeElement)&&(await Vt(),await A())});const A=async()=>{var H;return(H=C(o))==null?void 0:H.focus()},S=H=>e.selectionMode==="date"&&ML(H.type)&&k(H,e.parsedValue),k=(H,G)=>G?rr(G).locale(C(n)).isSame(e.date.date(Number(H.text)),"day"):!1,O=(H,G)=>{const Z=H*7+(G-(e.showWeekNumber?1:0))-C(c);return C(f).add(Z,"day")},I=H=>{var G;if(!e.rangeState.selecting)return;let Z=H.target;if(Z.tagName==="SPAN"&&(Z=(G=Z.parentNode)==null?void 0:G.parentNode),Z.tagName==="DIV"&&(Z=Z.parentNode),Z.tagName!=="TD")return;const z=Z.parentNode.rowIndex-1,U=Z.cellIndex;C(w)[z][U].disabled||(z!==C(i)||U!==C(a))&&(i.value=z,a.value=U,t("changerange",{selecting:!0,endDate:O(z,U)}))},P=H=>{l||C(v)||e.selectionMode!=="date"||L(H,!0)},M=H=>{H.target.closest("td")&&(l=!0)},_=H=>{H.target.closest("td")&&(l=!1)},R=H=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:H,maxDate:null}),t("select",!0)):(H>=e.minDate?t("pick",{minDate:e.minDate,maxDate:H}):t("pick",{minDate:H,maxDate:e.minDate}),t("select",!1))},N=H=>{const G=H.week(),Z=`${H.year()}w${G}`;t("pick",{year:H.year(),week:G,value:Z,date:H.startOf("week")})},V=(H,G)=>{const Z=G?rl(e.parsedValue).filter(z=>z?.valueOf()!==H.valueOf()):rl(e.parsedValue).concat([H]);t("pick",Z)},L=(H,G=!1)=>{if(e.disabled)return;const Z=H.target.closest("td");if(!Z)return;const z=Z.parentNode.rowIndex-1,U=Z.cellIndex,W=C(w)[z][U];if(W.disabled||W.type==="week")return;const re=O(z,U);switch(e.selectionMode){case"range":{R(re);break}case"date":{t("pick",re,G);break}case"week":{N(re);break}case"dates":{V(re,!!W.selected);break}}},j=H=>{if(e.selectionMode!=="week")return!1;let G=e.date.startOf("day");if(H.type==="prev-month"&&(G=G.subtract(1,"month")),H.type==="next-month"&&(G=G.add(1,"month")),G=G.date(Number.parseInt(H.text,10)),e.parsedValue&&!qt(e.parsedValue)){const Z=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(Z,"day").isSame(G,"day")}return!1};return{WEEKS:p,rows:w,tbodyRef:r,currentCellRef:o,focus:A,isCurrent:S,isWeekActive:j,handlePickDate:L,handleMouseUp:_,handleMouseDown:M,handleMouseMove:I,handleFocus:P}},JVe=(e,{isCurrent:t,isWeekActive:n})=>{const r=jt("date-table"),{t:o}=Hr(),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=Yt({cell:{type:lt(Object)}});var ZH=et({name:"ElDatePickerCell",props:eqe,setup(e){const t=jt("date-table-cell"),{slots:n}=un(GH);return()=>{const{cell:r}=e;return pt(n,"default",{...r},()=>{var o;return[$e("div",{class:t.b()},[$e("span",{class:t.e("text")},[(o=r?.renderText)!=null?o:r?.text])])]})}}});const tqe=et({__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 Yr(()=>{S=!0}),t({focus:l}),(k,O)=>(F(),K("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,[k.showWeekNumber?(F(),K("th",{key:0,scope:"col",class:oe(C(w))},null,2)):xe("v-if",!0),(F(!0),K(Nt,null,on(C(o),(I,P)=>(F(),K("th",{key:P,"aria-label":C(A)("el.datepicker.weeksFull."+I),scope:"col"},ze(C(A)("el.datepicker.weeks."+I)),9,["aria-label"]))),128))]),(F(!0),K(Nt,null,on(C(i),(I,P)=>(F(),K("tr",{key:P,class:oe(C(b)(I[1]))},[(F(!0),K(Nt,null,on(I,(M,_)=>(F(),K("td",{key:`${P}.${_}`,ref_for:!0,ref:R=>!C(S)&&M.isSelected&&(s.value=R),class:oe(C(m)(M)),"aria-current":M.isCurrent?"date":void 0,"aria-selected":M.isCurrent,tabindex:M.isSelected?0:-1,onFocus:C(h)},[$e(C(ZH),{cell:M},null,8,["cell"])],42,["aria-current","aria-selected","tabindex","onFocus"]))),128))],2))),128))],512)],42,["aria-label","onClick","onMousemove","onMousedown","onMouseup"]))}});var PL=en(tqe,[["__file","basic-date-table.vue"]]);const nqe=Yt({...KH,selectionMode:QH("month")}),rqe=et({__name:"basic-month-table",props:nqe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,o=jt("month-table"),{t:i,lang:a}=Hr(),s=Y(),l=Y(),u=Y(r.date.locale("en").localeData().monthsShort().map(b=>b.toLowerCase())),d=Y([[],[],[]]),c=Y(),f=Y(),p=ee(()=>{var b,w,A;const S=d.value,k=rr().locale(a.value).startOf("month");for(let O=0;O<3;O++){const I=S[O];for(let P=0;P<4;P++){const M=I[P]||(I[P]={row:O,column:P,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});M.type="normal";const _=O*4+P,R=r.date.startOf("year").month(_),N=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;M.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)?(M.start=!!(N&&R.isSame(N,"month")),M.end=r.minDate&&R.isSame(r.minDate,"month")):(M.start=!!(r.minDate&&R.isSame(r.minDate,"month")),M.end=!!(N&&R.isSame(N,"month"))),k.isSame(R)&&(M.type="today");const L=R.toDate();M.text=_,M.disabled=((w=r.disabledDate)==null?void 0:w.call(r,L))||!1,M.date=L,M.customClass=(A=r.cellClassName)==null?void 0:A.call(r,L),M.dayjs=R,M.timestamp=R.valueOf(),M.isSelected=g(M)}}return S}),v=()=>{var b;(b=l.value)==null||b.focus()},h=b=>{const w={},A=r.date.year(),S=new Date,k=b.text;return w.disabled=r.disabled||(r.disabledDate?SE(r.date,A,k,a.value).every(r.disabledDate):!1),w.current=rl(r.parsedValue).findIndex(O=>rr.isDayjs(O)&&O.year()===A&&O.month()===k)>=0,w.today=S.getFullYear()===A&&S.getMonth()===k,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 rl(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,k=A.cellIndex;p.value[S][k].disabled||(S!==c.value||k!==f.value)&&(c.value=S,f.value=k,n("changerange",{selecting:!0,endDate:r.date.startOf("year").month(S*4+k)}))},m=b=>{var w;if(r.disabled)return;const A=(w=b.target)==null?void 0:w.closest("td");if(A?.tagName!=="TD"||El(A,"disabled"))return;const S=A.cellIndex,O=A.parentNode.rowIndex*4+S,I=r.date.startOf("year").month(O);if(r.selectionMode==="months"){if(b.type==="keydown"){n("pick",rl(r.parsedValue),!1);return}const P=Ry(r.date,r.date.year(),O,a.value,r.disabledDate),M=El(A,"current")?rl(r.parsedValue).filter(_=>_?.year()!==P.year()||_?.month()!==P.month()):rl(r.parsedValue).concat([rr(P)]);n("pick",M)}else r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&I>=r.minDate?n("pick",{minDate:r.minDate,maxDate:I}):n("pick",{minDate:I,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:I,maxDate:null}),n("select",!0)):n("pick",O)};return Ct(()=>r.date,async()=>{var b,w;(b=s.value)!=null&&b.contains(document.activeElement)&&(await Vt(),(w=l.value)==null||w.focus())}),t({focus:v}),(b,w)=>(F(),K("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},[(F(!0),K(Nt,null,on(C(p),(A,S)=>(F(),K("tr",{key:S},[(F(!0),K(Nt,null,on(A,(k,O)=>(F(),K("td",{key:O,ref_for:!0,ref:I=>k.isSelected&&(l.value=I),class:oe(h(k)),"aria-selected":!!k.isSelected,"aria-label":C(i)(`el.datepicker.month${+k.text+1}`),tabindex:k.isSelected?0:-1,onKeydown:[Lr(Qt(m,["prevent","stop"]),["space"]),Lr(Qt(m,["prevent","stop"]),["enter"])]},[$e(C(ZH),{cell:{...k,renderText:C(i)("el.datepicker.months."+u.value[k.text])}},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var Z3=en(rqe,[["__file","basic-month-table.vue"]]);const oqe=Yt({...KH,selectionMode:QH("year")}),iqe=et({__name:"basic-year-table",props:oqe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,o=(w,A)=>{const S=rr(String(w)).locale(A).startOf("year"),O=S.endOf("year").dayOfYear();return Dh(O).map(I=>S.add(I,"day").toDate())},i=jt("year-table"),{t:a,lang:s}=Hr(),l=Y(),u=Y(),d=ee(()=>Math.floor(r.date.year()/10)*10),c=Y([[],[],[]]),f=Y(),p=Y(),v=ee(()=>{var w,A,S;const k=c.value,O=rr().locale(s.value).startOf("year");for(let I=0;I<3;I++){const P=k[I];for(let M=0;M<4&&!(I*4+M>=10);M++){let _=P[M];_||(_={row:I,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}),_.type="normal";const R=I*4+M+d.value,N=rr().year(R),V=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;_.inRange=!!(r.minDate&&N.isSameOrAfter(r.minDate,"year")&&V&&N.isSameOrBefore(V,"year"))||!!(r.minDate&&N.isSameOrBefore(r.minDate,"year")&&V&&N.isSameOrAfter(V,"year")),(w=r.minDate)!=null&&w.isSameOrAfter(V)?(_.start=!!(V&&N.isSame(V,"year")),_.end=!!(r.minDate&&N.isSame(r.minDate,"year"))):(_.start=!!(r.minDate&&N.isSame(r.minDate,"year")),_.end=!!(V&&N.isSame(V,"year"))),O.isSame(N)&&(_.type="today"),_.text=R;const j=N.toDate();_.disabled=((A=r.disabledDate)==null?void 0:A.call(r,j))||!1,_.date=j,_.customClass=(S=r.cellClassName)==null?void 0:S.call(r,j),_.dayjs=N,_.timestamp=N.valueOf(),_.isSelected=y(_),P[M]=_}}return k}),h=()=>{var w;(w=u.value)==null||w.focus()},g=w=>{const A={},S=rr().locale(s.value),k=w.text;return A.disabled=r.disabled||(r.disabledDate?o(k,s.value).every(r.disabledDate):!1),A.today=S.year()===k,A.current=rl(r.parsedValue).findIndex(O=>O.year()===k)>=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 rl(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||El(S,"disabled"))return;const k=S.cellIndex,I=S.parentNode.rowIndex*4+k+d.value,P=rr().year(I);if(r.selectionMode==="range")r.rangeState.selecting?(r.minDate&&P>=r.minDate?n("pick",{minDate:r.minDate,maxDate:P}):n("pick",{minDate:P,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:P,maxDate:null}),n("select",!0));else if(r.selectionMode==="years"){if(w.type==="keydown"){n("pick",rl(r.parsedValue),!1);return}const M=EE(P.startOf("year"),s.value,r.disabledDate),_=El(S,"current")?rl(r.parsedValue).filter(R=>R?.year()!==I):rl(r.parsedValue).concat([M]);n("pick",_)}else n("pick",I)},b=w=>{var A;if(!r.rangeState.selecting)return;const S=(A=w.target)==null?void 0:A.closest("td");if(!S)return;const k=S.parentNode.rowIndex,O=S.cellIndex;v.value[k][O].disabled||(k!==f.value||O!==p.value)&&(f.value=k,p.value=O,n("changerange",{selecting:!0,endDate:rr().year(d.value).add(k*4+O,"year")}))};return Ct(()=>r.date,async()=>{var w,A;(w=l.value)!=null&&w.contains(document.activeElement)&&(await Vt(),(A=u.value)==null||A.focus())}),t({focus:h}),(w,A)=>(F(),K("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},[(F(!0),K(Nt,null,on(C(v),(S,k)=>(F(),K("tr",{key:k},[(F(!0),K(Nt,null,on(S,(O,I)=>(F(),K("td",{key:`${k}_${I}`,ref_for:!0,ref:P=>O.isSelected&&(u.value=P),class:oe(["available",g(O)]),"aria-selected":O.isSelected,"aria-label":String(O.text),tabindex:O.isSelected?0:-1,onKeydown:[Lr(Qt(m,["prevent","stop"]),["space"]),Lr(Qt(m,["prevent","stop"]),["enter"])]},[$e(C(ZH),{cell:O},null,8,["cell"])],42,["aria-selected","aria-label","tabindex","onKeydown"]))),128))]))),128))],512)],42,["aria-label"]))}});var X3=en(iqe,[["__file","basic-year-table.vue"]]);const aqe=et({__name:"panel-date-pick",props:KVe,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(ut,rt,he)=>!0,o=jt("picker-panel"),i=jt("date-picker"),a=pp(),s=pa(),{t:l,lang:u}=Hr(),d=un(Fc),c=un(BC,void 0),{shortcuts:f,disabledDate:p,cellClassName:v,defaultTime:h}=d.props,g=ao(d.props,"defaultValue"),y=Y(),m=Y(rr().locale(u.value)),b=Y(!1);let w=!1;const A=ee(()=>rr(h).locale(u.value)),S=ee(()=>m.value.month()),k=ee(()=>m.value.year()),O=Y([]),I=Y(null),P=Y(null),M=ut=>O.value.length>0?r(ut,O.value,n.format||"HH:mm:ss"):!0,_=ut=>h&&!De.value&&!b.value&&!w?A.value.year(ut.year()).month(ut.month()).date(ut.date()):X.value?ut.millisecond(0):ut.startOf("day"),R=(ut,...rt)=>{if(!ut)t("pick",ut,...rt);else if(qt(ut)){const he=ut.map(_);t("pick",he,...rt)}else t("pick",_(ut),...rt);I.value=null,P.value=null,b.value=!1,w=!1},N=async(ut,rt)=>{if(Z.value==="date"){ut=ut;let he=n.parsedValue?n.parsedValue.year(ut.year()).month(ut.month()).date(ut.date()):ut;M(he),m.value=he,R(he,X.value||rt)}else Z.value==="week"?R(ut.date):Z.value==="dates"&&R(ut,!0)},V=ut=>{const rt=ut?"add":"subtract";m.value=m.value[rt](1,"month"),_t("month")},L=ut=>{const rt=m.value,he=ut?"add":"subtract";m.value=j.value==="year"?rt[he](10,"year"):rt[he](1,"year"),_t("year")},j=Y("date"),H=ee(()=>{const ut=l("el.datepicker.year");if(j.value==="year"){const rt=Math.floor(k.value/10)*10;return ut?`${rt} ${ut} - ${rt+9} ${ut}`:`${rt} - ${rt+9}`}return`${k.value} ${ut}`}),G=ut=>{const rt=Pn(ut.value)?ut.value():ut.value;if(rt){w=!0,R(rr(rt).locale(u.value));return}ut.onClick&&ut.onClick({attrs:a,slots:s,emit:t})},Z=ee(()=>{const{type:ut}=n;return["week","month","months","year","years","dates"].includes(ut)?ut:"date"}),z=ee(()=>Z.value==="dates"||Z.value==="months"||Z.value==="years"),U=ee(()=>Z.value==="date"?j.value:Z.value),W=ee(()=>!!f.length),re=async(ut,rt)=>{Z.value==="month"?(m.value=Ry(m.value,m.value.year(),ut,u.value,p),R(m.value,!1)):Z.value==="months"?R(ut,rt??!0):(m.value=Ry(m.value,m.value.year(),ut,u.value,p),j.value="date",["month","year","date","week"].includes(Z.value)&&(R(m.value,!0),await Vt(),tn())),_t("month")},J=async(ut,rt)=>{if(Z.value==="year"){const he=m.value.startOf("year").year(ut);m.value=EE(he,u.value,p),R(m.value,!1)}else if(Z.value==="years")R(ut,rt??!0);else{const he=m.value.year(ut);m.value=EE(he,u.value,p),j.value="month",["month","year","date","week"].includes(Z.value)&&(R(m.value,!0),await Vt(),tn())}_t("year")},te=async ut=>{n.disabled||(j.value=ut,await Vt(),tn())},X=ee(()=>n.type==="datetime"||n.type==="datetimerange"),ue=ee(()=>{const ut=X.value||Z.value==="dates",rt=Z.value==="years",he=Z.value==="months",Je=j.value==="date",ct=j.value==="year",Ot=j.value==="month";return ut&&Je||rt&&ct||he&&Ot}),me=ee(()=>!z.value&&n.showNow||n.showConfirm),Me=ee(()=>p?n.parsedValue?qt(n.parsedValue)?p(n.parsedValue[0].toDate()):p(n.parsedValue.toDate()):!0:!1),Ae=()=>{if(z.value)R(n.parsedValue);else{let ut=n.parsedValue;if(!ut){const rt=rr(h).locale(u.value),he=Lt();ut=rt.year(he.year()).month(he.month()).date(he.date())}m.value=ut,R(ut)}},ge=ee(()=>p?p(rr().locale(u.value).toDate()):!1),_e=()=>{const rt=rr().locale(u.value).toDate();b.value=!0,(!p||!p(rt))&&M(rt)&&(m.value=rr().locale(u.value),R(m.value))},Q=ee(()=>n.timeFormat||G1e(n.format)||Ny),be=ee(()=>n.dateFormat||q1e(n.format)||uh),De=ee(()=>{if(P.value)return P.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||m.value).format(Q.value)}),pe=ee(()=>{if(I.value)return I.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||m.value).format(be.value)}),ie=Y(!1),ce=()=>{ie.value=!0},Re=()=>{ie.value=!1},Ee=ut=>({hour:ut.hour(),minute:ut.minute(),second:ut.second(),year:ut.year(),month:ut.month(),date:ut.date()}),Le=(ut,rt,he)=>{const{hour:Je,minute:ct,second:Ot}=Ee(ut),Tn=n.parsedValue?n.parsedValue.hour(Je).minute(ct).second(Ot):ut;m.value=Tn,R(m.value,!0),he||(ie.value=rt)},Fe=ut=>{const rt=rr(ut,Q.value).locale(u.value);if(rt.isValid()&&M(rt)){const{year:he,month:Je,date:ct}=Ee(m.value);m.value=rt.year(he).month(Je).date(ct),P.value=null,ie.value=!1,R(m.value,!0)}},Pe=ut=>{const rt=By(ut,be.value,u.value,c);if(rt.isValid()){if(p&&p(rt.toDate()))return;const{hour:he,minute:Je,second:ct}=Ee(m.value);m.value=rt.hour(he).minute(Je).second(ct),I.value=null,R(m.value,!0)}},Ne=ut=>rr.isDayjs(ut)&&ut.isValid()&&(p?!p(ut.toDate()):!0),ht=ut=>qt(ut)?ut.map(rt=>rt.format(n.format)):ut.format(n.format),Rt=ut=>By(ut,n.format,u.value,c),Lt=()=>{const ut=rr(g.value).locale(u.value);if(!g.value){const rt=A.value;return rr().hour(rt.hour()).minute(rt.minute()).second(rt.second()).locale(u.value)}return ut},tn=()=>{var ut;["week","month","year","date"].includes(Z.value)&&((ut=y.value)==null||ut.focus())},Wt=()=>{tn(),Z.value==="week"&&dt(gn.down)},zt=ut=>{const{code:rt}=ut;[gn.up,gn.down,gn.left,gn.right,gn.home,gn.end,gn.pageUp,gn.pageDown].includes(rt)&&(dt(rt),ut.stopPropagation(),ut.preventDefault()),[gn.enter,gn.space,gn.numpadEnter].includes(rt)&&I.value===null&&P.value===null&&(ut.preventDefault(),R(m.value,!1))},dt=ut=>{var rt;const{up:he,down:Je,left:ct,right:Ot,home:Tn,end:In,pageUp:je,pageDown:ke}=gn,ye={year:{[he]:-4,[Je]:4,[ct]:-1,[Ot]:1,offset:(ot,gt)=>ot.setFullYear(ot.getFullYear()+gt)},month:{[he]:-4,[Je]:4,[ct]:-1,[Ot]:1,offset:(ot,gt)=>ot.setMonth(ot.getMonth()+gt)},week:{[he]:-1,[Je]:1,[ct]:-1,[Ot]:1,offset:(ot,gt)=>ot.setDate(ot.getDate()+gt*7)},date:{[he]:-7,[Je]:7,[ct]:-1,[Ot]:1,[Tn]:ot=>-ot.getDay(),[In]:ot=>-ot.getDay()+6,[je]:ot=>-new Date(ot.getFullYear(),ot.getMonth(),0).getDate(),[ke]:ot=>new Date(ot.getFullYear(),ot.getMonth()+1,0).getDate(),offset:(ot,gt)=>ot.setDate(ot.getDate()+gt)}},Be=m.value.toDate();for(;Math.abs(m.value.diff(Be,"year",!0))<1;){const ot=ye[U.value];if(!ot)return;if(ot.offset(Be,Pn(ot[ut])?ot[ut](Be):(rt=ot[ut])!=null?rt:0),p&&p(Be))break;const gt=rr(Be).locale(u.value);m.value=gt,t("pick",gt,!0);break}},_t=ut=>{t("panel-change",m.value.toDate(),ut,j.value)};return Ct(()=>Z.value,ut=>{if(["month","year"].includes(ut)){j.value=ut;return}else if(ut==="years"){j.value="year";return}else if(ut==="months"){j.value="month";return}j.value="date"},{immediate:!0}),Ct(()=>g.value,ut=>{ut&&(m.value=Lt())},{immediate:!0}),Ct(()=>n.parsedValue,ut=>{if(ut){if(z.value||qt(ut))return;m.value=ut}else m.value=Lt()},{immediate:!0}),t("set-picker-option",["isValidValue",Ne]),t("set-picker-option",["formatToString",ht]),t("set-picker-option",["parseUserInput",Rt]),t("set-picker-option",["handleFocusPicker",Wt]),(ut,rt)=>(F(),K("div",{class:oe([C(o).b(),C(i).b(),C(o).is("border",ut.border),C(o).is("disabled",ut.disabled),{"has-sidebar":ut.$slots.sidebar||C(W),"has-time":C(X)}])},[x("div",{class:oe(C(o).e("body-wrapper"))},[pt(ut.$slots,"sidebar",{class:oe(C(o).e("sidebar"))}),C(W)?(F(),K("div",{key:0,class:oe(C(o).e("sidebar"))},[(F(!0),K(Nt,null,on(C(f),(he,Je)=>(F(),K("button",{key:Je,type:"button",disabled:ut.disabled,class:oe(C(o).e("shortcut")),onClick:ct=>G(he)},ze(he.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(o).e("body"))},[C(X)?(F(),K("div",{key:0,class:oe(C(i).e("time-header"))},[x("span",{class:oe(C(i).e("editor-wrap"))},[$e(C(Us),{placeholder:C(l)("el.datepicker.selectDate"),"model-value":C(pe),size:"small","validate-event":!1,disabled:ut.disabled,onInput:he=>I.value=he,onChange:Pe},null,8,["placeholder","model-value","disabled","onInput"])],2),an((F(),K("span",{class:oe(C(i).e("editor-wrap"))},[$e(C(Us),{placeholder:C(l)("el.datepicker.selectTime"),"model-value":C(De),size:"small","validate-event":!1,disabled:ut.disabled,onFocus:ce,onInput:he=>P.value=he,onChange:Fe},null,8,["placeholder","model-value","disabled","onInput"]),$e(C(xE),{visible:ie.value,format:C(Q),"parsed-value":m.value,onPick:Le},null,8,["visible","format","parsed-value"])],2)),[[C(Zf),Re]])],2)):xe("v-if",!0),an(x("div",{class:oe([C(i).e("header"),(j.value==="year"||j.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:ut.disabled,onClick:he=>L(!1)},[pt(ut.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["aria-label","disabled","onClick"]),an(x("button",{type:"button","aria-label":C(l)("el.datepicker.prevMonth"),class:oe([C(o).e("icon-btn"),"arrow-left"]),disabled:ut.disabled,onClick:he=>V(!1)},[pt(ut.$slots,"prev-month",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(Kf))]),_:1})])],10,["aria-label","disabled","onClick"]),[[Ar,j.value==="date"]])],2),x("span",{role:"button",class:oe(C(i).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Lr(he=>te("year"),["enter"]),onClick:he=>te("year")},ze(C(H)),43,["onKeydown","onClick"]),an(x("span",{role:"button","aria-live":"polite",tabindex:"0",class:oe([C(i).e("header-label"),{active:j.value==="month"}]),onKeydown:Lr(he=>te("month"),["enter"]),onClick:he=>te("month")},ze(C(l)(`el.datepicker.month${C(S)+1}`)),43,["onKeydown","onClick"]),[[Ar,j.value==="date"]]),x("span",{class:oe(C(i).e("next-btn"))},[an(x("button",{type:"button","aria-label":C(l)("el.datepicker.nextMonth"),class:oe([C(o).e("icon-btn"),"arrow-right"]),disabled:ut.disabled,onClick:he=>V(!0)},[pt(ut.$slots,"next-month",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_:1})])],10,["aria-label","disabled","onClick"]),[[Ar,j.value==="date"]]),x("button",{type:"button","aria-label":C(l)("el.datepicker.nextYear"),class:oe([C(o).e("icon-btn"),"d-arrow-right"]),disabled:ut.disabled,onClick:he=>L(!0)},[pt(ut.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["aria-label","disabled","onClick"])],2)],2),[[Ar,j.value!=="time"]]),x("div",{class:oe(C(o).e("content")),onKeydown:zt},[j.value==="date"?(F(),mt(PL,{key:0,ref_key:"currentViewRef",ref:y,"selection-mode":C(Z),date:m.value,"parsed-value":ut.parsedValue,"disabled-date":C(p),disabled:ut.disabled,"cell-class-name":C(v),"show-week-number":ut.showWeekNumber,onPick:N},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):xe("v-if",!0),j.value==="year"?(F(),mt(X3,{key:1,ref_key:"currentViewRef",ref:y,"selection-mode":C(Z),date:m.value,"disabled-date":C(p),disabled:ut.disabled,"parsed-value":ut.parsedValue,"cell-class-name":C(v),onPick:J},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):xe("v-if",!0),j.value==="month"?(F(),mt(Z3,{key:2,ref_key:"currentViewRef",ref:y,"selection-mode":C(Z),date:m.value,"parsed-value":ut.parsedValue,"disabled-date":C(p),disabled:ut.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),ut.showFooter&&C(ue)&&C(me)?(F(),K("div",{key:0,class:oe(C(o).e("footer"))},[an($e(C(Za),{text:"",size:"small",class:oe(C(o).e("link-btn")),disabled:C(ge),onClick:_e},{default:nt(()=>[An(ze(C(l)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[Ar,!C(z)&&ut.showNow]]),ut.showConfirm?(F(),mt(C(Za),{key:0,plain:"",size:"small",class:oe(C(o).e("link-btn")),disabled:C(Me),onClick:Ae},{default:nt(()=>[An(ze(C(l)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):xe("v-if",!0)],2)):xe("v-if",!0)],2))}});var sqe=en(aqe,[["__file","panel-date-pick.vue"]]);const lqe=Yt({...Pye,...YH}),uqe=e=>{const{emit:t}=vr(),n=pp(),r=pa();return i=>{const a=Pn(i.value)?i.value():i.value;if(a){t("pick",[rr(a[0]).locale(e.value),rr(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}=vr(),{pickerNs:u}=un(GH),d=jt("date-range-picker"),{t:c,lang:f}=Hr(),p=uqe(f),v=Y(),h=Y(),g=Y({endDate:null,selecting:!1}),y=S=>{g.value=S},m=(S=!1)=>{const k=C(v),O=C(h);Q3([k,O])&&l("pick",[k,O],S)},b=S=>{g.value.selecting=S,S||(g.value.endDate=null)},w=S=>{if(qt(S)&&S.length===2){const[k,O]=S;v.value=k,r.value=k,h.value=O,s(C(v),C(h))}else A()},A=()=>{let[S,k]=dD(C(t),{lang:C(f),step:i,unit:a,unlinkPanels:e.unlinkPanels});const O=P=>P.diff(P.startOf("d"),"ms"),I=C(n);if(I){let P=0,M=0;if(qt(I)){const[_,R]=I.map(rr);P=O(_),M=O(R)}else{const _=O(rr(I));P=_,M=_}S=S.startOf("d").add(P,"ms"),k=k.startOf("d").add(M,"ms")}v.value=void 0,h.value=void 0,r.value=S,o.value=k};return Ct(t,S=>{S&&A()},{immediate:!0}),Ct(()=>e.parsedValue,S=>{S?.length||w(S)},{immediate:!0}),Ct(()=>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=Y("date"),i=Y(),a=Y("date"),s=Y(),l=un(Fc),{disabledDate:u}=l.props,{t:d,lang:c}=Hr(),f=ee(()=>n.value.year()),p=ee(()=>n.value.month()),v=ee(()=>r.value.year()),h=ee(()=>r.value.month());function g(S,k){const O=d("el.datepicker.year");if(S.value==="year"){const I=Math.floor(k.value/10)*10;return O?`${I} ${O} - ${I+9} ${O}`:`${I} - ${I+9}`}return`${k.value} ${O}`}function y(S){S?.focus()}async function m(S,k){if(e.disabled)return;const O=S==="left"?o:a,I=S==="left"?i:s;O.value=k,await Vt(),y(I.value)}async function b(S,k,O){if(e.disabled)return;const I=k==="left",P=I?n:r,M=I?r:n,_=I?o:a,R=I?i:s;if(S==="year"){const N=P.value.year(O);P.value=EE(N,c.value,u)}S==="month"&&(P.value=Ry(P.value,P.value.year(),O,c.value,u)),e.unlinkPanels||(M.value=k==="left"?P.value.add(1,"month"):P.value.subtract(1,"month")),_.value=S==="year"?"month":"date",await Vt(),y(R.value),w(S)}function w(S){t("panel-change",[n.value.toDate(),r.value.toDate()],S)}function A(S,k,O){const I=O?"add":"subtract";return S==="year"?k[I](10,"year"):k[I](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}},Ax="month",dqe=et({__name:"panel-date-range",props:lqe,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,r=un(Fc),o=un(BC,void 0),{disabledDate:i,cellClassName:a,defaultTime:s,clearable:l}=r.props,u=ao(r.props,"format"),d=ao(r.props,"shortcuts"),c=ao(r.props,"defaultValue"),{lang:f}=Hr(),p=Y(rr().locale(f.value)),v=Y(rr().locale(f.value).add(1,Ax));let h=!0;const{minDate:g,maxDate:y,rangeState:m,ppNs:b,drpNs:w,handleChangeRange:A,handleRangeConfirm:S,handleShortcutClick:k,onSelect:O,onReset:I,t:P}=XH(n,{defaultValue:c,defaultTime:s,leftDate:p,rightDate:v,unit:Ax,onParsedValueChanged:ot});Ct(()=>n.visible,gt=>{!gt&&m.value.selecting&&(I(n.parsedValue),O(!1))});const M=Y({min:null,max:null}),_=Y({min:null,max:null}),{leftCurrentView:R,rightCurrentView:N,leftCurrentViewRef:V,rightCurrentViewRef:L,leftYear:j,rightYear:H,leftMonth:G,rightMonth:Z,leftYearLabel:z,rightYearLabel:U,showLeftPicker:W,showRightPicker:re,handleLeftYearPick:J,handleRightYearPick:te,handleLeftMonthPick:X,handleRightMonthPick:ue,handlePanelChange:me,adjustDateByView:Me}=cqe(n,t,p,v),Ae=ee(()=>!!d.value.length),ge=ee(()=>M.value.min!==null?M.value.min:g.value?g.value.format(pe.value):""),_e=ee(()=>M.value.max!==null?M.value.max:y.value||g.value?(y.value||g.value).format(pe.value):""),Q=ee(()=>_.value.min!==null?_.value.min:g.value?g.value.format(De.value):""),be=ee(()=>_.value.max!==null?_.value.max:y.value||g.value?(y.value||g.value).format(De.value):""),De=ee(()=>n.timeFormat||G1e(u.value||"")||Ny),pe=ee(()=>n.dateFormat||q1e(u.value||"")||uh),ie=gt=>Q3(gt)&&(i?!i(gt[0].toDate())&&!i(gt[1].toDate()):!0),ce=()=>{p.value=Me(R.value,p.value,!1),n.unlinkPanels||(v.value=p.value.add(1,"month")),me("year")},Re=()=>{p.value=p.value.subtract(1,"month"),n.unlinkPanels||(v.value=p.value.add(1,"month")),me("month")},Ee=()=>{n.unlinkPanels?v.value=Me(N.value,v.value,!0):(p.value=Me(N.value,p.value,!0),v.value=p.value.add(1,"month")),me("year")},Le=()=>{n.unlinkPanels?v.value=v.value.add(1,"month"):(p.value=p.value.add(1,"month"),v.value=p.value.add(1,"month")),me("month")},Fe=()=>{p.value=Me(R.value,p.value,!0),me("year")},Pe=()=>{p.value=p.value.add(1,"month"),me("month")},Ne=()=>{v.value=Me(N.value,v.value,!1),me("year")},ht=()=>{v.value=v.value.subtract(1,"month"),me("month")},Rt=ee(()=>{const gt=(G.value+1)%12,Ke=G.value+1>=12?1:0;return n.unlinkPanels&&new Date(j.value+Ke,gt)n.unlinkPanels&&H.value*12+Z.value-(j.value*12+G.value+1)>=12),tn=ee(()=>!(g.value&&y.value&&!m.value.selecting&&Q3([g.value,y.value]))),Wt=ee(()=>n.type==="datetime"||n.type==="datetimerange"),zt=(gt,Ke)=>{if(gt)return s?rr(s[Ke]||s).locale(f.value).year(gt.year()).month(gt.month()).date(gt.date()):gt},dt=(gt,Ke=!0)=>{const He=gt.minDate,at=gt.maxDate,St=zt(He,0),tt=zt(at,1);y.value===tt&&g.value===St||(t("calendar-change",[He.toDate(),at&&at.toDate()]),y.value=tt,g.value=St,!Wt.value&&Ke&&(Ke=!St||!tt),h=Ke)};Ct([y,g],([gt,Ke])=>{gt&&Ke&&(S(h),h=!0)});const _t=Y(!1),ut=Y(!1),rt=()=>{_t.value=!1},he=()=>{ut.value=!1},Je=(gt,Ke)=>{M.value[Ke]=gt;const He=rr(gt,pe.value).locale(f.value);if(He.isValid()){if(i&&i(He.toDate()))return;Ke==="min"?(p.value=He,g.value=(g.value||p.value).year(He.year()).month(He.month()).date(He.date()),!n.unlinkPanels&&(!y.value||y.value.isBefore(g.value))&&(v.value=He.add(1,"month"),y.value=g.value.add(1,"month"))):(v.value=He,y.value=(y.value||v.value).year(He.year()).month(He.month()).date(He.date()),!n.unlinkPanels&&(!g.value||g.value.isAfter(y.value))&&(p.value=He.subtract(1,"month"),g.value=y.value.subtract(1,"month")))}},ct=(gt,Ke)=>{M.value[Ke]=null},Ot=(gt,Ke)=>{_.value[Ke]=gt;const He=rr(gt,De.value).locale(f.value);He.isValid()&&(Ke==="min"?(_t.value=!0,g.value=(g.value||p.value).hour(He.hour()).minute(He.minute()).second(He.second())):(ut.value=!0,y.value=(y.value||v.value).hour(He.hour()).minute(He.minute()).second(He.second()),v.value=y.value))},Tn=(gt,Ke)=>{_.value[Ke]=null,Ke==="min"?(p.value=g.value,_t.value=!1,(!y.value||y.value.isBefore(g.value))&&(y.value=g.value)):(v.value=y.value,ut.value=!1,y.value&&y.value.isBefore(g.value)&&(g.value=y.value))},In=(gt,Ke,He)=>{_.value.min||(gt&&(p.value=gt,g.value=(g.value||p.value).hour(gt.hour()).minute(gt.minute()).second(gt.second())),He||(_t.value=Ke),(!y.value||y.value.isBefore(g.value))&&(y.value=g.value,v.value=gt,Vt(()=>{I(n.parsedValue)})))},je=(gt,Ke,He)=>{_.value.max||(gt&&(v.value=gt,y.value=(y.value||v.value).hour(gt.hour()).minute(gt.minute()).second(gt.second())),He||(ut.value=Ke),y.value&&y.value.isBefore(g.value)&&(g.value=y.value))},ke=()=>{p.value=dD(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)},ye=gt=>qt(gt)?gt.map(Ke=>Ke.format(u.value)):gt.format(u.value),Be=gt=>By(gt,u.value||"",f.value,o);function ot(gt,Ke){if(n.unlinkPanels&&Ke){const He=gt?.year()||0,at=gt?.month()||0,St=Ke.year(),tt=Ke.month();v.value=He===St&&at===tt?Ke.add(1,Ax):Ke}else v.value=p.value.add(1,Ax),Ke&&(v.value=v.value.hour(Ke.hour()).minute(Ke.minute()).second(Ke.second()))}return t("set-picker-option",["isValidValue",ie]),t("set-picker-option",["parseUserInput",Be]),t("set-picker-option",["formatToString",ye]),t("set-picker-option",["handleClear",ke]),(gt,Ke)=>(F(),K("div",{class:oe([C(b).b(),C(w).b(),C(b).is("border",gt.border),C(b).is("disabled",gt.disabled),{"has-sidebar":gt.$slots.sidebar||C(Ae),"has-time":C(Wt)}])},[x("div",{class:oe(C(b).e("body-wrapper"))},[pt(gt.$slots,"sidebar",{class:oe(C(b).e("sidebar"))}),C(Ae)?(F(),K("div",{key:0,class:oe(C(b).e("sidebar"))},[(F(!0),K(Nt,null,on(C(d),(He,at)=>(F(),K("button",{key:at,type:"button",disabled:gt.disabled,class:oe(C(b).e("shortcut")),onClick:St=>C(k)(He)},ze(He.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(b).e("body"))},[C(Wt)?(F(),K("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"))},[$e(C(Us),{size:"small",disabled:C(m).selecting||gt.disabled,placeholder:C(P)("el.datepicker.startDate"),class:oe(C(w).e("editor")),"model-value":C(ge),"validate-event":!1,onInput:He=>Je(He,"min"),onChange:He=>ct(He,"min")},null,8,["disabled","placeholder","class","model-value","onInput","onChange"])],2),an((F(),K("span",{class:oe(C(w).e("time-picker-wrap"))},[$e(C(Us),{size:"small",class:oe(C(w).e("editor")),disabled:C(m).selecting||gt.disabled,placeholder:C(P)("el.datepicker.startTime"),"model-value":C(Q),"validate-event":!1,onFocus:He=>_t.value=!0,onInput:He=>Ot(He,"min"),onChange:He=>Tn(He,"min")},null,8,["class","disabled","placeholder","model-value","onFocus","onInput","onChange"]),$e(C(xE),{visible:_t.value,format:C(De),"datetime-role":"start","parsed-value":p.value,onPick:In},null,8,["visible","format","parsed-value"])],2)),[[C(Zf),rt]])],2),x("span",null,[$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_:1})]),x("span",{class:oe([C(w).e("editors-wrap"),"is-right"])},[x("span",{class:oe(C(w).e("time-picker-wrap"))},[$e(C(Us),{size:"small",class:oe(C(w).e("editor")),disabled:C(m).selecting||gt.disabled,placeholder:C(P)("el.datepicker.endDate"),"model-value":C(_e),readonly:!C(g),"validate-event":!1,onInput:He=>Je(He,"max"),onChange:He=>ct(He,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onInput","onChange"])],2),an((F(),K("span",{class:oe(C(w).e("time-picker-wrap"))},[$e(C(Us),{size:"small",class:oe(C(w).e("editor")),disabled:C(m).selecting||gt.disabled,placeholder:C(P)("el.datepicker.endTime"),"model-value":C(be),readonly:!C(g),"validate-event":!1,onFocus:He=>C(g)&&(ut.value=!0),onInput:He=>Ot(He,"max"),onChange:He=>Tn(He,"max")},null,8,["class","disabled","placeholder","model-value","readonly","onFocus","onInput","onChange"]),$e(C(xE),{"datetime-role":"end",visible:ut.value,format:C(De),"parsed-value":v.value,onPick:je},null,8,["visible","format","parsed-value"])],2)),[[C(Zf),he]])],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(P)("el.datepicker.prevYear"),disabled:gt.disabled,onClick:ce},[pt(gt.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["aria-label","disabled"]),an(x("button",{type:"button",class:oe([C(b).e("icon-btn"),"arrow-left"]),"aria-label":C(P)("el.datepicker.prevMonth"),disabled:gt.disabled,onClick:Re},[pt(gt.$slots,"prev-month",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(Kf))]),_:1})])],10,["aria-label","disabled"]),[[Ar,C(R)==="date"]]),gt.unlinkPanels?(F(),K("button",{key:0,type:"button",disabled:!C(Lt)||gt.disabled,class:oe([[C(b).e("icon-btn"),C(b).is("disabled",!C(Lt)||gt.disabled)],"d-arrow-right"]),"aria-label":C(P)("el.datepicker.nextYear"),onClick:Fe},[pt(gt.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),gt.unlinkPanels&&C(R)==="date"?(F(),K("button",{key:1,type:"button",disabled:!C(Rt)||gt.disabled,class:oe([[C(b).e("icon-btn"),C(b).is("disabled",!C(Rt)||gt.disabled)],"arrow-right"]),"aria-label":C(P)("el.datepicker.nextMonth"),onClick:Pe},[pt(gt.$slots,"next-month",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_: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:Lr(He=>C(W)("year"),["enter"]),onClick:He=>C(W)("year")},ze(C(z)),43,["onKeydown","onClick"]),an(x("span",{role:"button","aria-live":"polite",tabindex:"0",class:oe([C(w).e("header-label"),{active:C(R)==="month"}]),onKeydown:Lr(He=>C(W)("month"),["enter"]),onClick:He=>C(W)("month")},ze(C(P)(`el.datepicker.month${p.value.month()+1}`)),43,["onKeydown","onClick"]),[[Ar,C(R)==="date"]])])],2),C(R)==="date"?(F(),mt(PL,{key:0,ref_key:"leftCurrentViewRef",ref:V,"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":gt.showWeekNumber,disabled:gt.disabled,onChangerange:C(A),onPick:dt,onSelect:C(O)},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"?(F(),mt(X3,{key:1,ref_key:"leftCurrentViewRef",ref:V,"selection-mode":"year",date:p.value,"disabled-date":C(i),"parsed-value":gt.parsedValue,disabled:gt.disabled,onPick:C(J)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):xe("v-if",!0),C(R)==="month"?(F(),mt(Z3,{key:2,ref_key:"leftCurrentViewRef",ref:V,"selection-mode":"month",date:p.value,"parsed-value":gt.parsedValue,"disabled-date":C(i),disabled:gt.disabled,onPick:C(X)},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)||gt.disabled)])},[gt.unlinkPanels?(F(),K("button",{key:0,type:"button",disabled:!C(Lt)||gt.disabled,class:oe([C(b).e("icon-btn"),"d-arrow-left"]),"aria-label":C(P)("el.datepicker.prevYear"),onClick:Ne},[pt(gt.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),gt.unlinkPanels&&C(N)==="date"?(F(),K("button",{key:1,type:"button",disabled:!C(Rt)||gt.disabled,class:oe([C(b).e("icon-btn"),"arrow-left"]),"aria-label":C(P)("el.datepicker.prevMonth"),onClick:ht},[pt(gt.$slots,"prev-month",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(Kf))]),_:1})])],10,["disabled","aria-label"])):xe("v-if",!0),x("button",{type:"button","aria-label":C(P)("el.datepicker.nextYear"),class:oe([C(b).e("icon-btn"),"d-arrow-right"]),disabled:gt.disabled,onClick:Ee},[pt(gt.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["aria-label","disabled"]),an(x("button",{type:"button",class:oe([C(b).e("icon-btn"),"arrow-right"]),disabled:gt.disabled,"aria-label":C(P)("el.datepicker.nextMonth"),onClick:Le},[pt(gt.$slots,"next-month",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_:1})])],10,["disabled","aria-label"]),[[Ar,C(N)==="date"]]),x("div",null,[x("span",{role:"button",class:oe(C(w).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:Lr(He=>C(re)("year"),["enter"]),onClick:He=>C(re)("year")},ze(C(U)),43,["onKeydown","onClick"]),an(x("span",{role:"button","aria-live":"polite",tabindex:"0",class:oe([C(w).e("header-label"),{active:C(N)==="month"}]),onKeydown:Lr(He=>C(re)("month"),["enter"]),onClick:He=>C(re)("month")},ze(C(P)(`el.datepicker.month${v.value.month()+1}`)),43,["onKeydown","onClick"]),[[Ar,C(N)==="date"]])])],2),C(N)==="date"?(F(),mt(PL,{key:0,ref_key:"rightCurrentViewRef",ref:L,"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":gt.showWeekNumber,disabled:gt.disabled,onChangerange:C(A),onPick:dt,onSelect:C(O)},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"?(F(),mt(X3,{key:1,ref_key:"rightCurrentViewRef",ref:L,"selection-mode":"year",date:v.value,"disabled-date":C(i),"parsed-value":gt.parsedValue,disabled:gt.disabled,onPick:C(te)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):xe("v-if",!0),C(N)==="month"?(F(),mt(Z3,{key:2,ref_key:"rightCurrentViewRef",ref:L,"selection-mode":"month",date:v.value,"parsed-value":gt.parsedValue,"disabled-date":C(i),disabled:gt.disabled,onPick:C(ue)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):xe("v-if",!0)],2)],2)],2),gt.showFooter&&C(Wt)&&(gt.showConfirm||C(l))?(F(),K("div",{key:0,class:oe(C(b).e("footer"))},[C(l)?(F(),mt(C(Za),{key:0,text:"",size:"small",class:oe(C(b).e("link-btn")),onClick:ke},{default:nt(()=>[An(ze(C(P)("el.datepicker.clear")),1)]),_:1},8,["class"])):xe("v-if",!0),gt.showConfirm?(F(),mt(C(Za),{key:1,plain:"",size:"small",class:oe(C(b).e("link-btn")),disabled:C(tn),onClick:He=>C(S)(!1)},{default:nt(()=>[An(ze(C(P)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled","onClick"])):xe("v-if",!0)],2)):xe("v-if",!0)],2))}});var fqe=en(dqe,[["__file","panel-date-range.vue"]]);const pqe=Yt({...YH}),hqe=["pick","set-picker-option","calendar-change"],gqe=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=Hr(),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}},Cx="year",vqe=et({name:"DatePickerMonthRange"}),mqe=et({...vqe,props:pqe,emits:hqe,setup(e,{emit:t}){const n=e,{lang:r}=Hr(),o=un(Fc),i=un(BC,void 0),{shortcuts:a,disabledDate:s,cellClassName:l}=o.props,u=ao(o.props,"format"),d=ao(o.props,"defaultValue"),c=Y(rr().locale(r.value)),f=Y(rr().locale(r.value).add(1,Cx)),{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:Cx,onParsedValueChanged:z}),k=ee(()=>!!a.length),{leftPrevYear:O,rightNextYear:I,leftNextYear:P,rightPrevYear:M,leftLabel:_,rightLabel:R,leftYear:N,rightYear:V}=gqe({unlinkPanels:ao(n,"unlinkPanels"),leftDate:c,rightDate:f}),L=ee(()=>n.unlinkPanels&&V.value>N.value+1),j=(U,W=!0)=>{const re=U.minDate,J=U.maxDate;v.value===J&&p.value===re||(t("calendar-change",[re.toDate(),J&&J.toDate()]),v.value=J,p.value=re,W&&b())},H=()=>{c.value=dD(C(d),{lang:C(r),unit:"year",unlinkPanels:n.unlinkPanels})[0],f.value=c.value.add(1,"year"),t("pick",null)},G=U=>qt(U)?U.map(W=>W.format(u.value)):U.format(u.value),Z=U=>By(U,u.value,r.value,i);function z(U,W){if(n.unlinkPanels&&W){const re=U?.year()||0,J=W.year();f.value=re===J?W.add(1,Cx):W}else f.value=c.value.add(1,Cx)}return Ct(()=>n.visible,U=>{!U&&h.value.selecting&&(S(n.parsedValue),A(!1))}),t("set-picker-option",["isValidValue",Q3]),t("set-picker-option",["formatToString",G]),t("set-picker-option",["parseUserInput",Z]),t("set-picker-option",["handleClear",H]),(U,W)=>(F(),K("div",{class:oe([C(g).b(),C(y).b(),C(g).is("border",U.border),C(g).is("disabled",U.disabled),{"has-sidebar":!!U.$slots.sidebar||C(k)}])},[x("div",{class:oe(C(g).e("body-wrapper"))},[pt(U.$slots,"sidebar",{class:oe(C(g).e("sidebar"))}),C(k)?(F(),K("div",{key:0,class:oe(C(g).e("sidebar"))},[(F(!0),K(Nt,null,on(C(a),(re,J)=>(F(),K("button",{key:J,type:"button",class:oe(C(g).e("shortcut")),disabled:U.disabled,onClick:te=>C(w)(re)},ze(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:U.disabled,onClick:C(O)},[pt(U.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["disabled","onClick"]),U.unlinkPanels?(F(),K("button",{key:0,type:"button",disabled:!C(L)||U.disabled,class:oe([[C(g).e("icon-btn"),{[C(g).is("disabled")]:!C(L)}],"d-arrow-right"]),onClick:C(P)},[pt(U.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("div",null,ze(C(_)),1)],2),$e(Z3,{"selection-mode":"range",date:c.value,"min-date":C(p),"max-date":C(v),"range-state":C(h),"disabled-date":C(s),disabled:U.disabled,"cell-class-name":C(l),onChangerange:C(m),onPick:j,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"))},[U.unlinkPanels?(F(),K("button",{key:0,type:"button",disabled:!C(L)||U.disabled,class:oe([[C(g).e("icon-btn"),{"is-disabled":!C(L)}],"d-arrow-left"]),onClick:C(M)},[pt(U.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("button",{type:"button",class:oe([C(g).e("icon-btn"),"d-arrow-right"]),disabled:U.disabled,onClick:C(I)},[pt(U.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["disabled","onClick"]),x("div",null,ze(C(R)),1)],2),$e(Z3,{"selection-mode":"range",date:f.value,"min-date":C(p),"max-date":C(v),"range-state":C(h),"disabled-date":C(s),disabled:U.disabled,"cell-class-name":C(l),onChangerange:C(m),onPick:j,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=en(mqe,[["__file","panel-month-range.vue"]]);const bqe=Yt({...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}},Mm=10,_2="year",Cqe=et({name:"DatePickerYearRange"}),xqe=et({...Cqe,props:bqe,emits:wqe,setup(e,{emit:t}){const n=e,{lang:r}=Hr(),o=Y(rr().locale(r.value)),i=Y(rr().locale(r.value).add(Mm,_2)),a=un(BC,void 0),s=un(Fc),{shortcuts:l,disabledDate:u,cellClassName:d}=s.props,c=ao(s.props,"format"),f=ao(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:Mm,unit:_2,onParsedValueChanged:J}),{leftPrevYear:k,rightNextYear:O,leftNextYear:I,rightPrevYear:P,leftLabel:M,rightLabel:_,leftYear:R,rightYear:N}=Aqe({unlinkPanels:ao(n,"unlinkPanels"),leftDate:o,rightDate:i}),V=ee(()=>!!l.length),L=ee(()=>[g.b(),y.b(),g.is("border",n.border),g.is("disabled",n.disabled),{"has-sidebar":!!pa().sidebar||V.value}]),j=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")]:!G.value},"d-arrow-right"]})),H=ee(()=>({content:[g.e("content"),y.e("content"),"is-right"],arrowLeftBtn:[g.e("icon-btn"),{"is-disabled":!G.value},"d-arrow-left"],arrowRightBtn:[g.e("icon-btn"),"d-arrow-right"]})),G=ee(()=>n.unlinkPanels&&N.value>R.value+1),Z=(te,X=!0)=>{const ue=te.minDate,me=te.maxDate;v.value===me&&p.value===ue||(t("calendar-change",[ue.toDate(),me&&me.toDate()]),v.value=me,p.value=ue,X&&b())},z=te=>By(te,c.value,r.value,a),U=te=>qt(te)?te.map(X=>X.format(c.value)):te.format(c.value),W=te=>Q3(te)&&(u?!u(te[0].toDate())&&!u(te[1].toDate()):!0),re=()=>{const te=dD(C(f),{lang:C(r),step:Mm,unit:_2,unlinkPanels:n.unlinkPanels});o.value=te[0],i.value=te[1],t("pick",null)};function J(te,X){if(n.unlinkPanels&&X){const ue=te?.year()||0,me=X.year();i.value=ue+Mm>me?X.add(Mm,_2):X}else i.value=o.value.add(Mm,_2)}return Ct(()=>n.visible,te=>{!te&&h.value.selecting&&(S(n.parsedValue),A(!1))}),t("set-picker-option",["isValidValue",W]),t("set-picker-option",["parseUserInput",z]),t("set-picker-option",["formatToString",U]),t("set-picker-option",["handleClear",re]),(te,X)=>(F(),K("div",{class:oe(C(L))},[x("div",{class:oe(C(g).e("body-wrapper"))},[pt(te.$slots,"sidebar",{class:oe(C(g).e("sidebar"))}),C(V)?(F(),K("div",{key:0,class:oe(C(g).e("sidebar"))},[(F(!0),K(Nt,null,on(C(l),(ue,me)=>(F(),K("button",{key:me,type:"button",class:oe(C(g).e("shortcut")),disabled:te.disabled,onClick:Me=>C(w)(ue)},ze(ue.text),11,["disabled","onClick"]))),128))],2)):xe("v-if",!0),x("div",{class:oe(C(g).e("body"))},[x("div",{class:oe(C(j).content)},[x("div",{class:oe(C(y).e("header"))},[x("button",{type:"button",class:oe(C(j).arrowLeftBtn),disabled:te.disabled,onClick:C(k)},[pt(te.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["disabled","onClick"]),te.unlinkPanels?(F(),K("button",{key:0,type:"button",disabled:!C(G)||te.disabled,class:oe(C(j).arrowRightBtn),onClick:C(I)},[pt(te.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("div",null,ze(C(M)),1)],2),$e(X3,{"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: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(H).content)},[x("div",{class:oe(C(y).e("header"))},[te.unlinkPanels?(F(),K("button",{key:0,type:"button",disabled:!C(G)||te.disabled,class:oe(C(H).arrowLeftBtn),onClick:C(P)},[pt(te.$slots,"prev-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(o0))]),_:1})])],10,["disabled","onClick"])):xe("v-if",!0),x("button",{type:"button",class:oe(C(H).arrowRightBtn),disabled:te.disabled,onClick:C(O)},[pt(te.$slots,"next-year",{},()=>[$e(C(_n),null,{default:nt(()=>[$e(C(i0))]),_:1})])],10,["disabled","onClick"]),x("div",null,ze(C(_)),1)],2),$e(X3,{"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: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 Sqe=en(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]"&&!jo(e)}rr.extend(Y1e);rr.extend(EVe);rr.extend(HH);rr.extend(DVe);rr.extend(PVe);rr.extend(LVe);rr.extend($Ve);rr.extend(VVe);var Tqe=et({name:"ElDatePickerPanel",install:null,props:qVe,emits:[Gn,"calendar-change","panel-change","visible-change","pick"],setup(e,{slots:t,emit:n}){const r=jt("picker-panel"),o=un(Fc,void 0);if(zr(o)){const d=Ur({..._a(e)});Sr(Fc,{props:d})}Sr(GH,{slots:t,pickerNs:r});const{parsedValue:i,onCalendarChange:a,onPanelChange:s,onSetPickerOption:l,onPick:u}=un(Eye,()=>kye(e,n),!0);return()=>{const d=Eqe(e.type);return $e(d,pr(e,{parsedValue:i.value,"onSet-picker-option":l,"onCalendar-change":a,"onPanel-change":s,onPick:u}),kqe(t)?t:{default:()=>[t]})}}});const Nye=er(Tqe),_qe=Yt({...qH,type:{type:lt(String),default:"date"}});function Dqe(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!jo(e)}var Iqe=et({name:"ElDatePicker",install:null,props:_qe,emits:[Gn],setup(e,{expose:t,emit:n,slots:r}){const o=ee(()=>!e.format);Sr(BC,o),Sr(WH,Ur(ao(e,"popperOptions")));const i=Y();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(Gn,l)};return()=>{var l;const u=(l=e.format)!=null?l:oVe[e.type]||uh;return $e(_ye,pr(e,{format:u,type:e.type,ref:i,"onUpdate:modelValue":s}),{default:d=>$e(Nye,pr({border:!1},d),Dqe(r)?r:{default:()=>[r]}),"range-separator":r["range-separator"]})}}});const Oqe=er(Iqe),JH=Symbol("elDescriptions");var D2=et({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:un(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=jt("descriptions");switch(this.type){case"label":return an(Fn(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 an(Fn(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"),an(Fn("td",{style:h,class:[g.e("cell"),d],colSpan:l,rowspan:u},[Zi(y)?void 0:Fn("span",{style:m,class:[g.e("label"),p]},y),Fn("span",{class:[g.e("content"),f]},s())]),n)}}}});const Mqe=Yt({row:{type:lt(Array),default:()=>[]}}),Pqe=et({name:"ElDescriptionsRow"}),Nqe=et({...Pqe,props:Mqe,setup(e){const t=un(JH,{});return(n,r)=>C(t).direction==="vertical"?(F(),K(Nt,{key:0},[x("tr",null,[(F(!0),K(Nt,null,on(n.row,(o,i)=>(F(),mt(C(D2),{key:`tr1-${i}`,cell:o,tag:"th",type:"label"},null,8,["cell"]))),128))]),x("tr",null,[(F(!0),K(Nt,null,on(n.row,(o,i)=>(F(),mt(C(D2),{key:`tr2-${i}`,cell:o,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(F(),K("tr",{key:1},[(F(!0),K(Nt,null,on(n.row,(o,i)=>(F(),K(Nt,{key:`tr3-${i}`},[C(t).border?(F(),K(Nt,{key:0},[$e(C(D2),{cell:o,tag:"td",type:"label"},null,8,["cell"]),$e(C(D2),{cell:o,tag:"td",type:"content"},null,8,["cell"])],64)):(F(),mt(C(D2),{key:1,cell:o,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var Rqe=en(Nqe,[["__file","descriptions-row.vue"]]);const Bqe=Yt({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:ba,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number],default:""}}),Rye="ElDescriptionsItem",Lqe=et({name:"ElDescriptions"}),Fqe=et({...Lqe,props:Bqe,setup(e){const t=e,n=jt("descriptions"),r=fa(),o=pa();Sr(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=bd(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(F(),K("div",{class:oe(C(i))},[l.title||l.extra||l.$slots.title||l.$slots.extra?(F(),K("div",{key:0,class:oe(C(n).e("header"))},[x("div",{class:oe(C(n).e("title"))},[pt(l.$slots,"title",{},()=>[An(ze(l.title),1)])],2),x("div",{class:oe(C(n).e("extra"))},[pt(l.$slots,"extra",{},()=>[An(ze(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,[(F(!0),K(Nt,null,on(s(),(d,c)=>(F(),mt(Rqe,{key:c,row:d},null,8,["row"]))),128))])],2)],2)],2))}});var Uqe=en(Fqe,[["__file","description.vue"]]);const QJ=["left","center","right"],zqe=Yt({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=et({name:Rye,props:zqe}),$qe=er(Uqe,{DescriptionsItem:Bye}),jqe=vi(Bye),eW=e=>{if(!e)return{onClick:go,onMousedown:go,onMouseup:go};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=Yt({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:lt([String,Array,Object])},zIndex:{type:lt([String,Number])}}),Wqe={click:e=>e instanceof MouseEvent},Vqe="overlay";var qqe=et({name:"ElOverlay",props:Hqe,emits:Wqe,setup(e,{slots:t,emit:n}){const r=jt(Vqe),o=l=>{n("click",l)},{onClick:i,onMousedown:a,onMouseup:s}=eW(e.customMaskEvent?void 0:o);return()=>e.mask?$e("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:a,onMouseup:s},[pt(t,"default")],_u.STYLE|_u.CLASS|_u.PROPS,["onClick","onMouseup","onMousedown"]):Fn("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[pt(t,"default")])}});const tW=qqe,Lye=Symbol("dialogInjectionKey"),ZJ="dialog-fade",Fye=Yt({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:vo},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=Y(!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,k=-y+v,O=-m+h,I=A-y-b+v,P=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 jn(()=>{Cs(()=>{n.value?l():u()})}),Yr(()=>{u()}),{isDragging:i,resetPosition:d,updatePosition:c}},fD=(...e)=>t=>{e.forEach(n=>{Pn(n)?n(t):n.value=t})},Kqe=et({name:"ElDialogContent"}),Yqe=et({...Kqe,props:Fye,emits:Gqe,setup(e,{expose:t}){const n=e,{t:r}=Hr(),{Close:o}=l1e,{dialogRef:i,headerRef:a,bodyId:s,ns:l,style:u}=un(Lye),{focusTrapRef:d}=un(IH),c=fD(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)=>(F(),K("div",{ref:C(c),class:oe(C(y)),style:Jt(C(u)),tabindex:"-1"},[x("header",{ref_key:"headerRef",ref:a,class:oe([C(l).e("header"),m.headerClass,{"show-close":m.showClose}])},[pt(m.$slots,"header",{},()=>[x("span",{role:"heading","aria-level":m.ariaLevel,class:oe(C(l).e("title"))},ze(m.title),11,["aria-level"])]),m.showClose?(F(),K("button",{key:0,"aria-label":C(r)("el.dialog.close"),class:oe(C(l).e("headerbtn")),type:"button",onClick:w=>m.$emit("close")},[$e(C(_n),{class:oe(C(l).e("close"))},{default:nt(()=>[(F(),mt(hr(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])},[pt(m.$slots,"default")],10,["id"]),m.$slots.footer?(F(),K("footer",{key:0,class:oe([C(l).e("footer"),m.footerClass])},[pt(m.$slots,"footer")],2)):xe("v-if",!0)],6))}});var Qqe=en(Yqe,[["__file","dialog-content.vue"]]);const zye=Yt({...Fye,appendToBody:Boolean,appendTo:{type:sD.to.type,default:"body"},beforeClose:{type:lt(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:lt([String,Object]),default:void 0}}),$ye={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Gn]:e=>Co(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},nW=(e,t={})=>{Ro(e)||Ji("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||jt("popup"),r=ee(()=>n.bm("parent","hidden"));if(!Kr||El(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,$s(document.body,r.value))},200)};Ct(e,l=>{if(!l){s();return}i=!El(document.body,r.value),i&&(a=document.body.style.width,Nu(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=vr().emit,{nextZIndex:i}=Pb();let a="";const s=ds(),l=ds(),u=Y(!1),d=Y(!1),c=Y(!1),f=Y((n=e.zIndex)!=null?n:i());let p,v;const h=Nb(),g=ee(()=>{var z,U;return(U=(z=h.value)==null?void 0:z.namespace)!=null?U:K4}),y=ee(()=>{var z;return(z=h.value)==null?void 0:z.dialog}),m=ee(()=>{const z={},U=`--${g.value}-dialog`;return e.fullscreen||(e.top&&(z[`${U}-margin-top`]=e.top),e.width&&(z[`${U}-width`]=_i(e.width))),z}),b=ee(()=>{var z,U,W;return((W=(U=e.draggable)!=null?U:(z=y.value)==null?void 0:z.draggable)!=null?W:!1)&&!e.fullscreen}),w=ee(()=>{var z,U,W;return(W=(U=e.alignCenter)!=null?U:(z=y.value)==null?void 0:z.alignCenter)!=null?W:!1}),A=ee(()=>{var z,U,W;return(W=(U=e.overflow)!=null?U:(z=y.value)==null?void 0:z.overflow)!=null?W:!1}),S=ee(()=>w.value?{display:"flex"}:{}),k=ee(()=>{var z,U,W;const re=(W=(U=e.transition)!=null?U:(z=y.value)==null?void 0:z.transition)!=null?W:ZJ,J={name:re,onAfterEnter:O,onBeforeLeave:P,onAfterLeave:I};if(ar(re)){const te={...re},X=(ue,me)=>Me=>{qt(ue)?ue.forEach(Ae=>{Pn(Ae)&&Ae(Me)}):Pn(ue)&&ue(Me),me()};return te.onAfterEnter=X(te.onAfterEnter,O),te.onBeforeLeave=X(te.onBeforeLeave,P),te.onAfterLeave=X(te.onAfterLeave,I),te.name||(te.name=ZJ),te}return J});function O(){o("opened")}function I(){o("closed"),o(Gn,!1),e.destroyOnClose&&(c.value=!1)}function P(){o("close")}function M(){v?.(),p?.(),e.openDelay&&e.openDelay>0?{stop:p}=Tv(()=>V(),e.openDelay):V()}function _(){p?.(),v?.(),e.closeDelay&&e.closeDelay>0?{stop:v}=Tv(()=>L(),e.closeDelay):L()}function R(){function z(U){U||(d.value=!0,u.value=!1)}e.beforeClose?e.beforeClose(z):_()}function N(){e.closeOnClickModal&&R()}function V(){Kr&&(u.value=!0)}function L(){u.value=!1}function j(){o("openAutoFocus")}function H(){o("closeAutoFocus")}function G(z){var U;((U=z.detail)==null?void 0:U.focusReason)==="pointer"&&z.preventDefault()}e.lockScroll&&nW(u);function Z(){e.closeOnPressEscape&&R()}return Ct(()=>e.zIndex,()=>{var z;f.value=(z=e.zIndex)!=null?z:i()}),Ct(()=>e.modelValue,z=>{var U;z?(d.value=!1,M(),c.value=!0,f.value=(U=e.zIndex)!=null?U:i(),Vt(()=>{o("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):u.value&&_()}),Ct(()=>e.fullscreen,z=>{t.value&&(z?(a=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=a)}),jn(()=>{e.modelValue&&(u.value=!0,c.value=!0,M())}),{afterEnter:O,afterLeave:I,beforeLeave:P,handleClose:R,onModalClick:N,close:_,doClose:L,onOpenAutoFocus:j,onCloseAutoFocus:H,onCloseRequested:Z,onFocusoutPrevented:G,titleId:s,bodyId:l,closed:d,style:m,overlayDialogStyle:S,rendered:c,visible:u,zIndex:f,transitionConfig:k,_draggable:b,_alignCenter:w,_overflow:A}},Zqe=et({name:"ElDialog",inheritAttrs:!1}),Xqe=et({...Zqe,props:zye,emits:$ye,setup(e,{expose:t}){const n=e,r=pa();Lf({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=jt("dialog"),i=Y(),a=Y(),s=Y(),{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:k,onFocusoutPrevented:O}=jye(n,i);Sr(Lye,{dialogRef:i,headerRef:a,bodyId:d,ns:o,rendered:p,style:c});const I=eW(w),P=ee(()=>n.modalPenetrable&&!n.modal&&!n.fullscreen);return t({visible:l,dialogContentRef:s,resetPosition:()=>{var _;(_=s.value)==null||_.resetPosition()},handleClose:b}),(_,R)=>(F(),mt(C(Lb),{to:_.appendTo,disabled:_.appendTo!=="body"?!1:!_.appendToBody},{default:nt(()=>[$e(Wi,pr(C(v),{persisted:""}),{default:nt(()=>{var N;return[an($e(C(tW),{"custom-mask-event":"",mask:_.modal,"overlay-class":[(N=_.modalClass)!=null?N:"",`${C(o).namespace.value}-modal-dialog`,C(o).is("penetrable",C(P))],"z-index":C(h)},{default:nt(()=>[x("div",{role:"dialog","aria-modal":"true","aria-label":_.title||void 0,"aria-labelledby":_.title?void 0:C(u),"aria-describedby":C(d),class:oe(`${C(o).namespace.value}-overlay-dialog`),style:Jt(C(f)),onClick:C(I).onClick,onMousedown:C(I).onMousedown,onMouseup:C(I).onMouseup},[$e(C(Bb),{loop:"",trapped:C(l),"focus-start-el":"container",onFocusAfterTrapped:C(A),onFocusAfterReleased:C(S),onFocusoutPrevented:C(O),onReleaseRequested:C(k)},{default:nt(()=>[C(p)?(F(),mt(Qqe,pr({key:0,ref_key:"dialogContentRef",ref:s},_.$attrs,{center:_.center,"align-center":C(y),"close-icon":_.closeIcon,draggable:C(g),overflow:C(m),fullscreen:_.fullscreen,"header-class":_.headerClass,"body-class":_.bodyClass,"footer-class":_.footerClass,"show-close":_.showClose,title:_.title,"aria-level":_.headerAriaLevel,onClose:C(b)}),Ll({header:nt(()=>[_.$slots.title?pt(_.$slots,"title",{key:1}):pt(_.$slots,"header",{key:0,close:C(b),titleId:C(u),titleClass:C(o).e("title")})]),default:nt(()=>[pt(_.$slots,"default")]),_:2},[_.$slots.footer?{name:"footer",fn:nt(()=>[pt(_.$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"]),[[Ar,C(l)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});var Jqe=en(Xqe,[["__file","dialog.vue"]]);const Hye=er(Jqe),eGe=Yt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:lt(String),default:"solid"}}),tGe=et({name:"ElDivider"}),nGe=et({...tGe,props:eGe,setup(e){const t=e,n=jt("divider"),r=ee(()=>n.cssVar({"border-style":t.borderStyle}));return(o,i)=>(F(),K("div",{class:oe([C(n).b(),C(n).m(o.direction)]),style:Jt(C(r)),role:"separator"},[o.$slots.default&&o.direction!=="vertical"?(F(),K("div",{key:0,class:oe([C(n).e("text"),C(n).is(o.contentPosition)])},[pt(o.$slots,"default")],2)):xe("v-if",!0)],6))}});var rGe=en(nGe,[["__file","divider.vue"]]);const Wye=er(rGe),oGe=Yt({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),Vye=Symbol("splitterRootContextKey");function iGe(e){const t=Y(),{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 Dn(e)&&e.endsWith("%")}function aW(e){return Dn(e)&&e.endsWith("px")}function aGe(e,t){const n=ee(()=>e.value.map(s=>s.size)),r=ee(()=>e.value.length),o=Y([]);Ct([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=Y(0),s=Y(null);let l=[],u=go;const d=ee(()=>e.value.map(g=>[g.min,g.max]));Ct(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],k=A+1,O=i(d.value[A][0],0),I=i(d.value[k][0],0),P=i(d.value[A][1],t.value||0),M=i(d.value[k][1],t.value||0);let _=y;S[A]+_P&&(_=P-S[A]),S[k]-_>M&&(_=S[k]-M),S[A]+=_,S[k]-=_,a.value=_,u=()=>{e.value.forEach((R,N)=>{R.size=S[N]}),u=go},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 k=A+S,O=v[g],I=k-O;m[w]=O,m[b]=I}e.value.forEach((k,O)=>{k.size=m[O]})}}}const lGe=et({name:"ElSplitter"}),uGe=et({...lGe,props:oGe,emits:["resizeStart","resize","resizeEnd","collapse"],setup(e,{emit:t}){const n=e,r=jt("splitter"),o=ao(n,"layout"),i=ao(n,"lazy"),{containerEl:a,containerSize:s}=iGe(o),{removeChild:l,children:u,addChild:d,ChildrenSorter:c}=lD(vr(),"ElSplitterPanel");Ct(u,()=>{u.value.forEach((I,P)=>{I.setIndex(P)})});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 Sr(Vye,Ur({panels:u,percentSizes:f,pxSizes:p,layout:o,lazy:i,movingIndex:h,containerSize:s,onMoveStart:I=>{g(I),t("resizeStart",I,p.value)},onMoving:(I,P)=>{y(I,P),i.value||t("resize",I,p.value)},onMoveEnd:I=>{m(),t("resizeEnd",I,p.value)},onCollapse:(I,P)=>{b(I,P),t("collapse",I,P,p.value)},registerPanel:d,unregisterPanel:l})),(I,P)=>(F(),K("div",{ref_key:"containerEl",ref:a,class:oe([C(r).b(),C(r).e(C(o))]),style:Jt(C(w))},[pt(I.$slots,"default"),$e(C(c)),xe(" Prevent iframe touch events from breaking "),C(h)?(F(),K("div",{key:0,class:oe([C(r).e("mask"),C(r).e(`mask-${C(o)}`)])},null,2)):xe("v-if",!0)],6))}});var cGe=en(uGe,[["__file","splitter.vue"]]);function dGe(e){return e&&ar(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=et({name:"ElSplitterBar"}),pGe=et({...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=jt("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=Y(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?Kf:nD),g=ee(()=>o.value?ka:Kc);return(y,m)=>(F(),K("div",{class:oe([C(r).b()]),style:Jt(C(i))},[e.startCollapsible?(F(),K("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")},[pt(y.$slots,"start-collapsible",{},()=>[(F(),mt(hr(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:Jt(C(a)),onMousedown:u,onTouchstart:d},null,38),e.endCollapsible?(F(),K("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")},[pt(y.$slots,"end-collapsible",{},()=>[(F(),mt(hr(C(g)),{style:{width:"12px",height:"12px"}}))])],10,["onClick"])):xe("v-if",!0)],6))}});var hGe=en(pGe,[["__file","split-bar.vue"]]);const gGe=Yt({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),qye="ElSplitterPanel",vGe=et({name:qye}),mGe=et({...vGe,props:gGe,emits:["update:size"],setup(e,{emit:t}){const n=e,r=jt("splitter-panel"),o=un(Vye);o||Ji(qye,"usage: ");const{panels:i,layout:a,lazy:s,containerSize:l,pxSizes:u}=_a(o),{registerPanel:d,unregisterPanel:c,onCollapse:f,onMoveEnd:p,onMoveStart:v,onMoving:h}=o,g=Y(),y=vr(),m=y.uid,b=Y(0),w=ee(()=>i.value[b.value]),A=L=>{b.value=L},S=ee(()=>{var L;return w.value&&(L=u.value[b.value])!=null?L:0}),k=ee(()=>{var L;return w.value&&(L=u.value[b.value+1])!=null?L:0}),O=ee(()=>w.value?i.value[b.value+1]:null),I=ee(()=>{var L;return O.value?n.resizable&&((L=O.value)==null?void 0:L.resizable)&&(S.value!==0||!n.min)&&(k.value!==0||!O.value.min):!1}),P=ee(()=>w.value?b.value!==i.value.length-1:!1),M=ee(()=>XJ(w.value,S.value,O.value,k.value)),_=ee(()=>XJ(O.value,k.value,w.value,S.value));function R(L){return iW(L)?rW(L)*l.value||0:aW(L)?oW(L):L??0}let N=!1;Ct(()=>n.size,()=>{if(!N&&w.value){const L=R(n.size),j=R(n.max),H=R(n.min),G=Math.min(Math.max(L,H||0),j||L);G!==L&&t("update:size",G),w.value.size=G}}),Ct(()=>{var L;return(L=w.value)==null?void 0:L.size},L=>{L!==n.size&&(N=!0,t("update:size",L),Vt(()=>N=!1))}),Ct(()=>n.resizable,L=>{w.value&&(w.value.resizable=L)});const V=Ur({el:g.value,uid:m,getVnode:()=>y.vnode,setIndex:A,...n,collapsible:ee(()=>dGe(n.collapsible))});return d(V),Yr(()=>c(V)),(L,j)=>(F(),K(Nt,null,[x("div",pr({ref_key:"panelEl",ref:g,class:[C(r).b()],style:{flexBasis:`${C(S)}px`}},L.$attrs),[pt(L.$slots,"default")],16),C(P)?(F(),mt(hGe,{key:0,index:b.value,layout:C(a),lazy:C(s),resizable:C(I),"start-collapsible":C(M),"end-collapsible":C(_),onMoveStart:C(v),onMoving:C(h),onMoveEnd:C(p),onCollapse:C(f)},{"start-collapsible":nt(()=>[pt(L.$slots,"start-collapsible")]),"end-collapsible":nt(()=>[pt(L.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):xe("v-if",!0)],64))}});var Gye=en(mGe,[["__file","split-panel.vue"]]);const Kye=er(cGe,{SplitPanel:Gye}),PS=vi(Gye),yGe=Yt({...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=et({name:"ElDrawer",inheritAttrs:!1}),AGe=et({...wGe,props:yGe,emits:bGe,setup(e,{expose:t}){const n=e,r=pa();Lf({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=Y(),i=Y(),a=jt("drawer"),{t:s}=Hr(),{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"),k=ee(()=>_i(n.size));return t({handleClose:A,afterEnter:l,afterLeave:u}),(O,I)=>(F(),mt(C(Lb),{to:O.appendTo,disabled:O.appendTo!=="body"?!1:!O.appendToBody},{default:nt(()=>[$e(Wi,{name:C(a).b("fade"),onAfterEnter:C(l),onAfterLeave:C(u),onBeforeLeave:C(d),persisted:""},{default:nt(()=>[an($e(C(tW),{mask:O.modal,"overlay-class":O.modalClass,"z-index":C(h),onClick:C(g)},{default:nt(()=>[$e(C(Bb),{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:nt(()=>[$e(C(Kye),{class:oe(C(a).b("splitter")),layout:C(S)?"horizontal":"vertical"},{default:nt(()=>[["rtl","btt"].includes(O.direction)?(F(),mt(C(PS),{key:0,onClick:C(g)},null,8,["onClick"])):xe("v-if",!0),$e(C(PS),{resizable:O.resizable,size:C(k)},{default:nt(()=>[x("div",pr({ref_key:"drawerRef",ref:o,"aria-modal":"true","aria-label":O.title||void 0,"aria-labelledby":O.title?void 0:C(p),"aria-describedby":C(v)},O.$attrs,{class:[C(a).b(),O.direction,C(c)&&"open"],role:"dialog",onClick:Qt(()=>{},["stop"])}),[x("span",{ref_key:"focusStartRef",ref:i,class:oe(C(a).e("sr-focus")),tabindex:"-1"},null,2),O.withHeader?(F(),K("header",{key:0,class:oe([C(a).e("header"),O.headerClass])},[O.$slots.title?pt(O.$slots,"title",{key:1},()=>[xe(" DEPRECATED SLOT ")]):pt(O.$slots,"header",{key:0,close:C(A),titleId:C(p),titleClass:C(a).e("title")},()=>[O.$slots.title?xe("v-if",!0):(F(),K("span",{key:0,id:C(p),role:"heading","aria-level":O.headerAriaLevel,class:oe(C(a).e("title"))},ze(O.title),11,["id","aria-level"]))]),O.showClose?(F(),K("button",{key:2,"aria-label":C(s)("el.drawer.close"),class:oe(C(a).e("close-btn")),type:"button",onClick:C(A)},[$e(C(_n),{class:oe(C(a).e("close"))},{default:nt(()=>[$e(C(cu))]),_:1},8,["class"])],10,["aria-label","onClick"])):xe("v-if",!0)],2)):xe("v-if",!0),C(f)?(F(),K("div",{key:1,id:C(v),class:oe([C(a).e("body"),O.bodyClass])},[pt(O.$slots,"default")],10,["id"])):xe("v-if",!0),O.$slots.footer?(F(),K("div",{key:2,class:oe([C(a).e("footer"),O.footerClass])},[pt(O.$slots,"footer")],2)):xe("v-if",!0)],16,["aria-label","aria-labelledby","aria-describedby","onClick"])]),_:3},8,["resizable","size"]),["ltr","ttb"].includes(O.direction)?(F(),mt(C(PS),{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"]),[[Ar,C(c)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var CGe=en(AGe,[["__file","drawer.vue"]]);const xGe=er(CGe),SGe=et({inheritAttrs:!1});function EGe(e,t,n,r,o,i){return pt(e.$slots,"default")}var kGe=en(SGe,[["render",EGe],["__file","collection.vue"]]);const TGe=et({name:"ElCollectionItem",inheritAttrs:!1});function _Ge(e,t,n,r,o,i){return pt(e.$slots,"default")}var DGe=en(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=Y(),l=new Map;Sr(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=Y(),d=un(r,void 0);Sr(o,{collectionItemRef:u}),jn(()=>{const c=C(u);c&&d.itemMap.set(c,{ref:c,...l})}),Yr(()=>{const c=C(u);d.itemMap.delete(c)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:o,ElCollection:i,ElCollectionItem:a}},IGe=Yt({style:{type:lt([String,Array,Object])},currentTabId:{type:lt(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:lt(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=et({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:IGe,emits:[JJ,"entryFocus"],setup(e,{emit:t}){var n;const r=Y((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),o=Y(!1),i=Y(!1),a=Y(),{getItems:s}=un(sW,void 0),l=ee(()=>[{outline:"none"},e.style]),u=h=>{t(JJ,h)},d=()=>{o.value=!0},c=Ni(h=>{var g;(g=e.onMousedown)==null||g.call(e,h)},()=>{i.value=!0}),f=Ni(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(I=>I.focusable),A=w.find(I=>I.active),S=w.find(I=>I.id===C(r)),O=[A,S,...w].filter(Boolean).map(I=>I.ref);uW(O)}}i.value=!1}),p=Ni(h=>{var g;(g=e.onBlur)==null||g.call(e,h)},()=>{o.value=!1}),v=(...h)=>{t("entryFocus",...h)};Sr(lW,{currentTabbedId:xb(r),loop:ao(e,"loop"),tabIndex:ee(()=>C(o)?-1:0),rovingFocusGroupRef:a,rovingFocusGroupRootStyle:l,orientation:ao(e,"orientation"),dir:ao(e,"dir"),onItemFocus:u,onItemShiftTab:d,onBlur:p,onFocus:f,onMousedown:c}),Ct(()=>e.currentTabId,h=>{r.value=h??null}),Mo(a,eee,v)}});function zGe(e,t,n,r,o,i){return pt(e.$slots,"default")}var $Ge=en(UGe,[["render",zGe],["__file","roving-focus-group-impl.vue"]]);const jGe=et({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:OGe,ElRovingFocusGroupImpl:$Ge}});function HGe(e,t,n,r,o,i){const a=lr("el-roving-focus-group-impl"),s=lr("el-focus-group-collection");return F(),mt(s,null,{default:nt(()=>[$e(a,Sl(Bd(e.$attrs)),{default:nt(()=>[pt(e.$slots,"default")]),_:3},16)]),_:3})}var WGe=en(jGe,[["render",HGe],["__file","roving-focus-group.vue"]]);const NS=Yt({trigger:J1.trigger,triggerKeys:{type:lt(Array),default:()=>[gn.enter,gn.numpadEnter,gn.space,gn.down]},effect:{...oi.effect,default:"light"},type:{type:lt(String)},placement:{type:lt(String),default:"bottom"},popperOptions:{type:lt(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:lt([Number,String]),default:0},maxHeight:{type:lt([Number,String]),default:""},popperClass:{type:String,default:""},disabled:Boolean,role:{type:String,values:g1e,default:"menu"},buttonProps:{type:lt(Object)},teleported:oi.teleported,persistent:{type:Boolean,default:!0}}),Xye=Yt({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:vo}}),VGe=Yt({onKeydown:{type:lt(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"),pD=Symbol("elDropdown"),ebe="elDropdown",{ButtonGroup:XGe}=Za,JGe=et({name:"ElDropdown",components:{ElButton:Za,ElButtonGroup:XGe,ElScrollbar:Lc,ElDropdownCollection:KGe,ElTooltip:fs,ElRovingFocusGroup:WGe,ElOnlyChild:b1e,ElIcon:_n,ArrowDown:Kc},props:NS,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=vr(),r=jt("dropdown"),{t:o}=Hr(),i=Y(),a=Y(),s=Y(),l=Y(),u=Y(null),d=Y(null),c=Y(!1),f=ee(()=>({maxHeight:_i(e.maxHeight)})),p=ee(()=>[r.m(w.value)]),v=ee(()=>Ka(e.trigger)),h=ds().value,g=ee(()=>e.id||h);Ct([i,v],([L,j],[H])=>{var G,Z,z;(G=H?.$el)!=null&&G.removeEventListener&&H.$el.removeEventListener("pointerenter",S),(Z=L?.$el)!=null&&Z.removeEventListener&&L.$el.removeEventListener("pointerenter",S),(z=L?.$el)!=null&&z.addEventListener&&j.includes("hover")&&L.$el.addEventListener("pointerenter",S)},{immediate:!0}),Yr(()=>{var L,j;(j=(L=i.value)==null?void 0:L.$el)!=null&&j.removeEventListener&&i.value.$el.removeEventListener("pointerenter",S)});function y(){m()}function m(){var L;(L=s.value)==null||L.onClose()}function b(){var L;(L=s.value)==null||L.onOpen()}const w=fa();function A(...L){t("command",...L)}function S(){var L,j;(j=(L=i.value)==null?void 0:L.$el)==null||j.focus({preventScroll:!0})}function k(){}function O(){const L=C(l);v.value.includes("hover")&&L?.focus({preventScroll:!0}),d.value=null}function I(L){d.value=L}function P(L){c.value||(L.preventDefault(),L.stopImmediatePropagation())}function M(){t("visible-change",!0)}function _(L){var j;L?.type==="keydown"&&((j=l.value)==null||j.focus())}function R(){t("visible-change",!1)}return Sr(pD,{contentRef:l,role:ee(()=>e.role),triggerId:g,isUsingKeyboard:c,onItemEnter:k,onItemLeave:O}),Sr(ebe,{instance:n,dropdownSize:w,handleClick:y,commandHandler:A,trigger:ao(e,"trigger"),hideOnClick:ao(e,"hideOnClick")}),{t:o,ns:r,scrollbar:u,wrapStyle:f,dropdownTriggerKls:p,dropdownSize:w,triggerId:g,currentTabId:d,handleCurrentTabIdChange:I,handlerMainButtonClick:L=>{t("click",L)},handleEntryFocus:P,handleClose:m,handleOpen:b,handleBeforeShowTooltip:M,handleShowTooltip:_,handleBeforeHideTooltip:R,onFocusAfterTrapped:L=>{var j,H;L.preventDefault(),(H=(j=l.value)==null?void 0:j.focus)==null||H.call(j,{preventScroll:!0})},popperRef:s,contentRef:l,triggeringElementRef:i,referenceElementRef:a}}});function eKe(e,t,n,r,o,i){var a;const s=lr("el-dropdown-collection"),l=lr("el-roving-focus-group"),u=lr("el-scrollbar"),d=lr("el-only-child"),c=lr("el-tooltip"),f=lr("el-button"),p=lr("arrow-down"),v=lr("el-icon"),h=lr("el-button-group");return F(),K("div",{class:oe([e.ns.b(),e.ns.is("disabled",e.disabled)])},[$e(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},Ll({content:nt(()=>[$e(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:nt(()=>[$e(l,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:nt(()=>[$e(s,null,{default:nt(()=>[pt(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:nt(()=>[$e(d,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:nt(()=>[pt(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?(F(),mt(h,{key:0},{default:nt(()=>[$e(f,pr({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:nt(()=>[pt(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),$e(f,pr({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:nt(()=>[$e(v,{class:oe(e.ns.e("icon"))},{default:nt(()=>[$e(p)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):xe("v-if",!0)],2)}var tKe=en(JGe,[["render",eKe],["__file","dropdown.vue"]]);const nKe=et({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}=un(lW,void 0),{getItems:a}=un(sW,void 0),s=ds(),l=Y(),u=Ni(p=>{t("mousedown",p)},p=>{e.focusable?o(C(s)):p.preventDefault()}),d=Ni(p=>{t("focus",p)},()=>{o(C(s))}),c=Ni(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}}Vt(()=>{uW(w)})}}),f=ee(()=>n.value===C(s));return Sr(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=lr("el-roving-focus-collection-item");return F(),mt(a,{id:e.id,focusable:e.focusable,active:e.active},{default:nt(()=>[pt(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var oKe=en(nKe,[["render",rKe],["__file","roving-focus-item.vue"]]);const iKe=et({name:"DropdownItemImpl",components:{ElIcon:_n},props:Xye,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=jt("dropdown"),{role:r}=un(pD,void 0),{collectionItemRef:o}=un(ZGe,void 0),{collectionItemRef:i}=un(PGe,void 0),{rovingFocusGroupItemRef:a,tabIndex:s,handleFocus:l,handleKeydown:u,handleMousedown:d}=un(Zye,void 0),c=fD(o,i,a),f=ee(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),p=Ni(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=lr("el-icon");return F(),K(Nt,null,[e.divided?(F(),K("li",{key:0,role:"separator",class:oe(e.ns.bem("menu","item","divided"))},null,2)):xe("v-if",!0),x("li",pr({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:Qt(e.handleKeydown,["self"]),onMousedown:e.handleMousedown,onPointermove:s=>e.$emit("pointermove",s),onPointerleave:s=>e.$emit("pointerleave",s)}),[e.icon?(F(),mt(a,{key:0},{default:nt(()=>[(F(),mt(hr(e.icon)))]),_:1})):xe("v-if",!0),pt(e.$slots,"default")],16,["aria-disabled","tabindex","role","onClick","onFocus","onKeydown","onMousedown","onPointermove","onPointerleave"])],64)}var sKe=en(iKe,[["render",aKe],["__file","dropdown-item-impl.vue"]]);const tbe=()=>{const e=un(ebe,{}),t=ee(()=>e?.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},lKe=et({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=vr(),i=Y(null),a=ee(()=>{var p,v;return(v=(p=C(i))==null?void 0:p.textContent)!=null?v:""}),{onItemEnter:s,onItemLeave:l}=un(pD,void 0),u=Ni(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=Ni(p=>(t("pointerleave",p),p.defaultPrevented),CJ(l)),c=Ni(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=lr("el-dropdown-item-impl"),l=lr("el-roving-focus-item"),u=lr("el-dropdown-collection-item");return F(),mt(u,{disabled:e.disabled,"text-value":(a=e.textValue)!=null?a:e.textContent},{default:nt(()=>[$e(l,{focusable:!e.disabled},{default:nt(()=>[$e(s,pr(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:nt(()=>[pt(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var nbe=en(lKe,[["render",uKe],["__file","dropdown-item.vue"]]);const cKe=et({name:"ElDropdownMenu",props:VGe,setup(e){const t=jt("dropdown"),{_elDropdownSize:n}=tbe(),r=n.value,{focusTrapRef:o,onKeydown:i}=un(IH,void 0),{contentRef:a,role:s,triggerId:l}=un(pD,void 0),{collectionRef:u,getItems:d}=un(QGe,void 0),{rovingFocusGroupRef:c,rovingFocusGroupRootStyle:f,tabIndex:p,onBlur:v,onFocus:h,onMousedown:g}=un(lW,void 0),{collectionRef:y}=un(sW,void 0),m=ee(()=>[t.b("menu"),t.bm("menu",r?.value)]),b=fD(a,u,o,c,y),w=Ni(S=>{var k;(k=e.onKeydown)==null||k.call(e,S)},S=>{const{currentTarget:k,code:O,target:I}=S;if(k.contains(I),gn.tab===O&&S.stopImmediatePropagation(),S.preventDefault(),I!==C(a)||!GGe.includes(O))return;const M=d().filter(_=>!_.disabled).map(_=>_.ref);Jye.includes(O)&&M.reverse(),uW(M)});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 F(),K("ul",{ref:e.dropdownListWrapperRef,class:oe(e.dropdownKls),style:Jt(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:e.onBlur,onFocus:e.onFocus,onKeydown:Qt(e.handleKeydown,["self"]),onMousedown:Qt(e.onMousedown,["self"])},[pt(e.$slots,"default")],46,["role","aria-labelledby","onBlur","onFocus","onKeydown","onMousedown"])}var rbe=en(cKe,[["render",dKe],["__file","dropdown-menu.vue"]]);const fKe=er(tKe,{DropdownItem:nbe,DropdownMenu:rbe}),pKe=vi(nbe),hKe=vi(rbe),gKe=et({name:"ImgEmpty"}),vKe=et({...gKe,setup(e){const t=jt("empty"),n=ds();return(r,o)=>(F(),K("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=en(vKe,[["__file","img-empty.vue"]]);const yKe=Yt({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),bKe=et({name:"ElEmpty"}),wKe=et({...bKe,props:yKe,setup(e){const t=e,{t:n}=Hr(),r=jt("empty"),o=ee(()=>t.description||n("el.table.emptyText")),i=ee(()=>({width:_i(t.imageSize)}));return(a,s)=>(F(),K("div",{class:oe(C(r).b())},[x("div",{class:oe(C(r).e("image")),style:Jt(C(i))},[a.image?(F(),K("img",{key:0,src:a.image,ondragstart:"return false"},null,8,["src"])):pt(a.$slots,"image",{key:1},()=>[$e(mKe)])],6),x("div",{class:oe(C(r).e("description"))},[a.$slots.description?pt(a.$slots,"description",{key:0}):(F(),K("p",{key:1},ze(C(o)),1))],2),a.$slots.default?(F(),K("div",{key:0,class:oe(C(r).e("bottom"))},[pt(a.$slots,"default")],2)):xe("v-if",!0)],2))}});var AKe=en(wKe,[["__file","empty.vue"]]);const obe=er(AKe),CKe=Yt({size:{type:String,values:Yd},disabled:Boolean}),xKe=Yt({...CKe,model:Object,rules:{type:lt(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:lt([Object,Boolean]),default:!0}}),SKe={validate:(e,t,n)=>(qt(e)||Dn(e))&&Co(t)&&Dn(n)};function EKe(){const e=Y([]),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 xx=(e,t)=>{const n=Ka(t).map(r=>qt(r)?r.join("."):r);return n.length>0?e.filter(r=>r.propString&&n.includes(r.propString)):e},kKe="ElForm",TKe=et({name:kKe}),_Ke=et({...TKe,props:xKe,emits:SKe,setup(e,{expose:t,emit:n}){const r=e,o=Y(),i=Ur([]),a=fa(),s=jt("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=>xx(i,[w])[0],d=w=>{i.push(w)},c=w=>{w.prop&&i.splice(i.indexOf(w),1)},f=(w=[])=>{r.model&&xx(i,w).forEach(A=>A.resetField())},p=(w=[])=>{xx(i,w).forEach(A=>A.clearValidate())},v=ee(()=>!!r.model),h=w=>{if(i.length===0)return[];const A=xx(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 k of A)try{await k.validate(""),k.validateState==="error"&&!k.error&&k.resetField()}catch(O){S={...S,...O}}return Object.keys(S).length===0?!0:Promise.reject(S)},m=async(w=[],A)=>{let S=!1;const k=!Pn(A);try{return S=await y(w),S===!0&&await A?.(S),S}catch(O){if(O instanceof Error)throw O;const I=O;if(r.scrollToError&&o.value){const P=o.value.querySelector(`.${s.b()}-item.is-error`);P?.scrollIntoView(r.scrollIntoViewOptions)}return!S&&await A?.(!1,I),k&&Promise.reject(I)}},b=w=>{var A;const S=u(w);S&&((A=S.$el)==null||A.scrollIntoView(r.scrollIntoViewOptions))};return Ct(()=>r.rules,()=>{r.validateOnRuleChange&&g().catch(w=>void 0)},{deep:!0,flush:"post"}),Sr(om,Ur({..._a(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)=>(F(),K("form",{ref_key:"formRef",ref:o,class:oe(C(l))},[pt(w.$slots,"default")],2))}});var DKe=en(_Ke,[["__file","form.vue"]]);function Rg(){return Rg=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 RS(e,t,n){return OKe()?RS=Reflect.construct.bind():RS=function(o,i,a){var s=[null];s.push.apply(s,i);var l=Function.bind.apply(o,s),u=new l;return a&&J3(u,a.prototype),u},RS.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 RS(r,arguments,NL(this).constructor)}return o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),J3(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 ou(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 es(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},y4={integer:function(t){return y4.number(t)&&parseInt(t,10)===t},float:function(t){return y4.number(t)&&!y4.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"&&!y4.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?y4[s](n)||o.push(ou(i.messages.types[s],t.fullField,t.type)):s&&typeof n!==t.type&&o.push(ou(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(ou(i.messages[c].len,t.fullField,t.len)):s&&!l&&dt.max?o.push(ou(i.messages[c].max,t.fullField,t.max)):s&&l&&(dt.max)&&o.push(ou(i.messages[c].range,t.fullField,t.min,t.max))},Pm="enum",VKe=function(t,n,r,o,i){t[Pm]=Array.isArray(t[Pm])?t[Pm]:[],t[Pm].indexOf(n)===-1&&o.push(ou(i.messages[Pm],t.fullField,t[Pm].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(ou(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(ou(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},zo={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(es(n,"string")&&!t.required)return r();zo.required(t,n,o,a,i,"string"),es(n,"string")||(zo.type(t,n,o,a,i),zo.range(t,n,o,a,i),zo.pattern(t,n,o,a,i),t.whitespace===!0&&zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&zo.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),es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&(zo.type(t,n,o,a,i),zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),es(n)||zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&(zo.type(t,n,o,a,i),zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&(zo.type(t,n,o,a,i),zo.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();zo.required(t,n,o,a,i,"array"),n!=null&&(zo.type(t,n,o,a,i),zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i),n!==void 0&&zo[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(es(n,"string")&&!t.required)return r();zo.required(t,n,o,a,i),es(n,"string")||zo.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(es(n,"date")&&!t.required)return r();if(zo.required(t,n,o,a,i),!es(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),zo.type(t,l,o,a,i),l&&zo.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;zo.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(es(n,a)&&!t.required)return r();zo.required(t,n,o,s,i,a),es(n,a)||zo.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(es(n)&&!t.required)return r();zo.required(t,n,o,a,i)}r(a)},J4={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(),LC=(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=jt("form"),i=Y(),a=Y(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")=>{Vt(()=>{t.default&&e.isAutoWidth&&(d==="update"?a.value=s():d==="remove"&&n?.deregisterLabelWidth(a.value))})},u=()=>l("update");return jn(()=>{u()}),Yr(()=>{l("remove")}),Wc(()=>u()),Ct(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 $e("div",{ref:i,class:[o.be("item","label-wrap")],style:h},[(d=t.default)==null?void 0:d.call(t)])}else return $e(Nt,{ref:i},[(c=t.default)==null?void 0:c.call(t)])}}});const dYe=et({name:"ElFormItem"}),fYe=et({...dYe,props:uYe,setup(e,{expose:t}){const n=e,r=pa(),o=un(om,void 0),i=un(Fd,void 0),a=fa(void 0,{formItem:!1}),s=jt("form-item"),l=ds().value,u=Y([]),d=Y(""),c=jRe(d,100),f=Y(""),p=Y();let v,h=!1;const g=ee(()=>n.labelPosition||o?.labelPosition),y=ee(()=>{if(g.value==="top")return{};const ue=_i(n.labelWidth||o?.labelWidth||"");return ue?{width:ue}:{}}),m=ee(()=>{if(g.value==="top"||o?.inline)return{};if(!n.label&&!n.labelWidth&&P)return{};const ue=_i(n.labelWidth||o?.labelWidth||"");return!n.label&&!r.label?{marginLeft:ue}:{}}),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",V.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(()=>Co(n.inlineMessage)?n.inlineMessage:o?.inlineMessage||!1),A=ee(()=>[s.e("error"),{[s.em("error","inline")]:w.value}]),S=ee(()=>n.prop?qt(n.prop)?n.prop.join("."):n.prop:""),k=ee(()=>!!(n.label||r.label)),O=ee(()=>{var ue;return(ue=n.for)!=null?ue:u.value.length===1?u.value[0]:void 0}),I=ee(()=>!O.value&&k.value),P=!!i,M=ee(()=>{const ue=o?.model;if(!(!ue||!n.prop))return Q4(ue,n.prop).value}),_=ee(()=>{const{required:ue}=n,me=[];n.rules&&me.push(...Ka(n.rules));const Me=o?.rules;if(Me&&n.prop){const Ae=Q4(Me,n.prop).value;Ae&&me.push(...Ka(Ae))}if(ue!==void 0){const Ae=me.map((ge,_e)=>[ge,_e]).filter(([ge])=>Object.keys(ge).includes("required"));if(Ae.length>0)for(const[ge,_e]of Ae)ge.required!==ue&&(me[_e]={...ge,required:ue});else me.push({required:ue})}return me}),R=ee(()=>_.value.length>0),N=ue=>_.value.filter(Me=>!Me.trigger||!ue?!0:qt(Me.trigger)?Me.trigger.includes(ue):Me.trigger===ue).map(({trigger:Me,...Ae})=>Ae),V=ee(()=>_.value.some(ue=>ue.required)),L=ee(()=>{var ue;return c.value==="error"&&n.showMessage&&((ue=o?.showMessage)!=null?ue:!0)}),j=ee(()=>`${n.label||""}${o?.labelSuffix||""}`),H=ue=>{d.value=ue},G=ue=>{var me,Me;const{errors:Ae,fields:ge}=ue;(!Ae||!ge)&&console.error(ue),H("error"),f.value=Ae?(Me=(me=Ae?.[0])==null?void 0:me.message)!=null?Me:`${n.prop} is required`:"",o?.emit("validate",n.prop,!1,f.value)},Z=()=>{H("success"),o?.emit("validate",n.prop,!0,"")},z=async ue=>{const me=S.value;return new LC({[me]:ue}).validate({[me]:M.value},{firstFields:!0}).then(()=>(Z(),!0)).catch(Ae=>(G(Ae),Promise.reject(Ae)))},U=async(ue,me)=>{if(h||!n.prop)return!1;const Me=Pn(me);if(!R.value)return me?.(!1),!1;const Ae=N(ue);return Ae.length===0?(me?.(!0),!0):(H("validating"),z(Ae).then(()=>(me?.(!0),!0)).catch(ge=>{const{fields:_e}=ge;return me?.(!1,_e),Me?!1:Promise.reject(_e)}))},W=()=>{H(""),f.value="",h=!1},re=async()=>{const ue=o?.model;if(!ue||!n.prop)return;const me=Q4(ue,n.prop);h=!0,me.value=IX(v),await Vt(),W(),h=!1},J=ue=>{u.value.includes(ue)||u.value.push(ue)},te=ue=>{u.value=u.value.filter(me=>me!==ue)};Ct(()=>n.error,ue=>{f.value=ue||"",H(ue?"error":"")},{immediate:!0}),Ct(()=>n.validateStatus,ue=>H(ue||""));const X=Ur({..._a(n),$el:p,size:a,validateMessage:f,validateState:d,labelId:l,inputIds:u,isGroup:I,hasLabel:k,fieldValue:M,addInputId:J,removeInputId:te,resetField:re,clearValidate:W,validate:U,propString:S});return Sr(Fd,X),jn(()=>{n.prop&&(o?.addField(X),v=IX(M.value))}),Yr(()=>{o?.removeField(X)}),t({size:a,validateMessage:f,validateState:d,validate:U,clearValidate:W,resetField:re}),(ue,me)=>{var Me;return F(),K("div",{ref_key:"formItemRef",ref:p,class:oe(C(b)),role:C(I)?"group":void 0,"aria-labelledby":C(I)?C(l):void 0},[$e(C(cYe),{"is-auto-width":C(y).width==="auto","update-all":((Me=C(o))==null?void 0:Me.labelWidth)==="auto"},{default:nt(()=>[C(k)?(F(),mt(hr(C(O)?"label":"div"),{key:0,id:C(l),for:C(O),class:oe(C(s).e("label")),style:Jt(C(y))},{default:nt(()=>[pt(ue.$slots,"label",{label:C(j)},()=>[An(ze(C(j)),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:Jt(C(m))},[pt(ue.$slots,"default"),$e(Qge,{name:`${C(s).namespace.value}-zoom-in-top`},{default:nt(()=>[C(L)?pt(ue.$slots,"error",{key:0,error:f.value},()=>[x("div",{class:oe(C(A))},ze(f.value),3)]):xe("v-if",!0)]),_:3},8,["name"])],6)],10,["role","aria-labelledby"])}}});var abe=en(fYe,[["__file","form-item.vue"]]);const pYe=er(DKe,{FormItem:abe}),hYe=vi(abe),gYe=Yt({urlList:{type:lt(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:lt(String)}}),vYe={close:()=>!0,switch:e=>Ln(e),rotate:e=>Ln(e)},mYe=et({name:"ElImageViewer"}),yYe=et({...mYe,props:gYe,emits:vYe,setup(e,{expose:t,emit:n}){var r;const o=e,i={CONTAIN:{name:"contain",icon:Id(lLe)},ORIGINAL:{name:"original",icon:Id(DLe)}};let a,s="";const{t:l}=Hr(),u=jt("image-viewer"),{nextZIndex:d}=Pb(),c=Y(),f=Y([]),p=B0e(),v=Y(!0),h=Y(o.initialIndex),g=Uo(i.CONTAIN),y=Y({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),m=Y((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]),k=ee(()=>[u.e("btn"),u.e("prev"),u.is("disabled",!o.infinite&&w.value)]),O=ee(()=>[u.e("btn"),u.e("next"),u.is("disabled",!o.infinite&&A.value)]),I=ee(()=>{const{scale:te,deg:X,offsetX:ue,offsetY:me,enableTransition:Me}=y.value;let Ae=ue/te,ge=me/te;const _e=X*Math.PI/180,Q=Math.cos(_e),be=Math.sin(_e);Ae=Ae*Q+ge*be,ge=ge*Q-ue/te*be;const De={transform:`scale(${te}) rotate(${X}deg) translate(${Ae}px, ${ge}px)`,transition:Me?"transform .3s":""};return g.value.name===i.CONTAIN.name&&(De.maxWidth=De.maxHeight="100%"),De}),P=ee(()=>`${h.value+1} / ${o.urlList.length}`);function M(){R(),a?.(),document.body.style.overflow=s,n("close")}function _(){const te=qg(ue=>{switch(ue.code){case gn.esc:o.closeOnPressEscape&&M();break;case gn.space:H();break;case gn.left:Z();break;case gn.up:U("zoomIn");break;case gn.right:z();break;case gn.down:U("zoomOut");break}}),X=qg(ue=>{const me=ue.deltaY||ue.deltaX;U(me<0?"zoomIn":"zoomOut",{zoomRate:o.zoomRate,enableTransition:!1})});p.run(()=>{Mo(document,"keydown",te),Mo(document,"wheel",X)})}function R(){p.stop()}function N(){v.value=!1}function V(te){v.value=!1,te.target.alt=l("el.image.error")}function L(te){if(v.value||te.button!==0||!c.value)return;y.value.enableTransition=!1;const{offsetX:X,offsetY:ue}=y.value,me=te.pageX,Me=te.pageY,Ae=qg(_e=>{y.value={...y.value,offsetX:X+_e.pageX-me,offsetY:ue+_e.pageY-Me}}),ge=Mo(document,"mousemove",Ae);Mo(document,"mouseup",()=>{ge()}),te.preventDefault()}function j(){y.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function H(){if(v.value)return;const te=Ty(i),X=Object.values(i),ue=g.value.name,Me=(X.findIndex(Ae=>Ae.name===ue)+1)%te.length;g.value=i[te[Me]],j()}function G(te){const X=o.urlList.length;h.value=(te+X)%X}function Z(){w.value&&!o.infinite||G(h.value-1)}function z(){A.value&&!o.infinite||G(h.value+1)}function U(te,X={}){if(v.value)return;const{minScale:ue,maxScale:me}=o,{zoomRate:Me,rotateDeg:Ae,enableTransition:ge}={zoomRate:o.zoomRate,rotateDeg:90,enableTransition:!0,...X};switch(te){case"zoomOut":y.value.scale>ue&&(y.value.scale=Number.parseFloat((y.value.scale/Me).toFixed(3)));break;case"zoomIn":y.value.scale0)return te.preventDefault(),!1}}return Ct(S,()=>{Vt(()=>{const te=f.value[0];te?.complete||(v.value=!0)})}),Ct(h,te=>{j(),n("switch",te)}),jn(()=>{_(),a=Mo("wheel",J,{passive:!1}),s=document.body.style.overflow,document.body.style.overflow="hidden"}),t({setActiveItem:G}),(te,X)=>(F(),mt(C(Lb),{to:"body",disabled:!te.teleported},{default:nt(()=>[$e(Wi,{name:"viewer-fade",appear:""},{default:nt(()=>[x("div",{ref_key:"wrapper",ref:c,tabindex:-1,class:oe(C(u).e("wrapper")),style:Jt({zIndex:m.value})},[$e(C(Bb),{loop:"",trapped:"","focus-trap-el":c.value,"focus-start-el":"container",onFocusoutPrevented:W,onReleaseRequested:re},{default:nt(()=>[x("div",{class:oe(C(u).e("mask")),onClick:Qt(ue=>te.hideOnClickModal&&M(),["self"])},null,10,["onClick"]),xe(" CLOSE "),x("span",{class:oe([C(u).e("btn"),C(u).e("close")]),onClick:M},[$e(C(_n),null,{default:nt(()=>[$e(C(cu))]),_:1})],2),xe(" ARROW "),C(b)?xe("v-if",!0):(F(),K(Nt,{key:0},[x("span",{class:oe(C(k)),onClick:Z},[$e(C(_n),null,{default:nt(()=>[$e(C(Kf))]),_:1})],2),x("span",{class:oe(C(O)),onClick:z},[$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_:1})],2)],64)),te.$slots.progress||te.showProgress?(F(),K("div",{key:1,class:oe([C(u).e("btn"),C(u).e("progress")])},[pt(te.$slots,"progress",{activeIndex:h.value,total:te.urlList.length},()=>[An(ze(C(P)),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"))},[pt(te.$slots,"toolbar",{actions:U,prev:Z,next:z,reset:H,activeIndex:h.value,setActiveItem:G},()=>[$e(C(_n),{onClick:ue=>U("zoomOut")},{default:nt(()=>[$e(C(WLe))]),_:1},8,["onClick"]),$e(C(_n),{onClick:ue=>U("zoomIn")},{default:nt(()=>[$e(C(s1e))]),_:1},8,["onClick"]),x("i",{class:oe(C(u).e("actions__divider"))},null,2),$e(C(_n),{onClick:H},{default:nt(()=>[(F(),mt(hr(C(g).icon)))]),_:1}),x("i",{class:oe(C(u).e("actions__divider"))},null,2),$e(C(_n),{onClick:ue=>U("anticlockwise")},{default:nt(()=>[$e(C(ELe))]),_:1},8,["onClick"]),$e(C(_n),{onClick:ue=>U("clockwise")},{default:nt(()=>[$e(C(TLe))]),_:1},8,["onClick"])])],2)],2),xe(" CANVAS "),x("div",{class:oe(C(u).e("canvas"))},[(F(!0),K(Nt,null,on(te.urlList,(ue,me)=>(F(),K(Nt,{key:me},[me===h.value?(F(),K("img",{key:0,ref_for:!0,ref:Me=>f.value[me]=Me,src:ue,style:Jt(C(I)),class:oe(C(u).e("img")),crossorigin:te.crossorigin,onLoad:N,onError:V,onMousedown:L},null,46,["src","crossorigin"])):xe("v-if",!0)],64))),128))],2),pt(te.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});var bYe=en(yYe,[["__file","image-viewer.vue"]]);const sbe=er(bYe),wYe=Yt({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:lt([String,Object])},previewSrcList:{type:lt(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:lt(String)}}),AYe={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>Ln(e),close:()=>!0,show:()=>!0},CYe=et({name:"ElImage",inheritAttrs:!1}),xYe=et({...CYe,props:wYe,emits:AYe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Hr(),i=jt("image"),a=pp(),s=ee(()=>W3(Object.entries(a).filter(([L])=>/^(data-|on[A-Z])/i.test(L)||["id","style"].includes(L)))),l=oD({excludeListeners:!0,excludeKeys:ee(()=>Object.keys(s.value))}),u=Y(),d=Y(!1),c=Y(!0),f=Y(!1),p=Y(),v=Y(),h=Kr&&"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:L}=r;return Kr&&L?{objectFit:L}:{}}),b=ee(()=>{const{previewSrcList:L}=r;return qt(L)&&L.length>0}),w=ee(()=>{const{previewSrcList:L,initialIndex:j}=r;let H=j;return j>L.length-1&&(H=0),H}),A=ee(()=>r.loading==="eager"?!1:!h&&r.loading==="lazy"||r.lazy),S=()=>{Kr&&(c.value=!0,d.value=!1,u.value=r.src)};function k(L){c.value=!1,d.value=!1,n("load",L)}function O(L){c.value=!1,d.value=!0,n("error",L)}function I(L){L&&(S(),_())}const P=Lme(I,200,!0);async function M(){var L;if(!Kr)return;await Vt();const{scrollContainer:j}=r;if(al(j))v.value=j;else if(Dn(j)&&j!=="")v.value=(L=document.querySelector(j))!=null?L:void 0;else if(p.value){const G=AH(p.value);v.value=DC(G)?void 0:G}const{stop:H}=XRe(p,([G])=>{P(G.isIntersecting)},{root:v});g=H}function _(){!Kr||!P||(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 V(L){n("switch",L)}return Ct(()=>r.src,()=>{A.value?(c.value=!0,d.value=!1,_(),M()):S()}),jn(()=>{A.value?M():S()}),t({showPreview:R}),(L,j)=>(F(),K("div",pr({ref_key:"container",ref:p},C(s),{class:[C(i).b(),L.$attrs.class]}),[d.value?pt(L.$slots,"error",{key:0},()=>[x("div",{class:oe(C(i).e("error"))},ze(C(o)("el.image.error")),3)]):(F(),K(Nt,{key:1},[u.value!==void 0?(F(),K("img",pr({key:0},C(l),{src:u.value,loading:L.loading,style:C(m),class:C(y),crossorigin:L.crossorigin,onClick:R,onLoad:k,onError:O}),null,16,["src","loading","crossorigin"])):xe("v-if",!0),c.value?(F(),K("div",{key:1,class:oe(C(i).e("wrapper"))},[pt(L.$slots,"placeholder",{},()=>[x("div",{class:oe(C(i).e("placeholder"))},null,2)])],2)):xe("v-if",!0)],64)),C(b)?(F(),K(Nt,{key:2},[f.value?(F(),mt(C(sbe),{key:0,"z-index":L.zIndex,"initial-index":C(w),infinite:L.infinite,"zoom-rate":L.zoomRate,"min-scale":L.minScale,"max-scale":L.maxScale,"show-progress":L.showProgress,"url-list":L.previewSrcList,crossorigin:L.crossorigin,"hide-on-click-modal":L.hideOnClickModal,teleported:L.previewTeleported,"close-on-press-escape":L.closeOnPressEscape,onClose:N,onSwitch:V},Ll({toolbar:nt(H=>[pt(L.$slots,"toolbar",Sl(Bd(H)))]),default:nt(()=>[L.$slots.viewer?(F(),K("div",{key:0},[pt(L.$slots,"viewer")])):xe("v-if",!0)]),_:2},[L.$slots.progress?{name:"progress",fn:nt(H=>[pt(L.$slots,"progress",Sl(Bd(H)))])}: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=en(xYe,[["__file","image.vue"]]);const EYe=er(SYe),kYe=Yt({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:ba,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||Ln(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},...Es(["ariaLabel"]),inputmode:{type:lt(String),default:void 0},align:{type:lt(String),default:"center"},disabledScientific:Boolean}),TYe={[Tr]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[ma]:e=>Ln(e)||Zi(e),[Gn]:e=>Ln(e)||Zi(e)},_Ye=et({name:"ElInputNumber"}),DYe=et({..._Ye,props:kYe,emits:TYe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Hr(),i=jt("input-number"),a=Y(),s=Ur({currentValue:r.modelValue,userInput:null}),{formItem:l}=ks(),u=ee(()=>Ln(r.modelValue)&&r.modelValue<=r.min),d=ee(()=>Ln(r.modelValue)&&r.modelValue>=r.max),c=ee(()=>{const L=y(r.step);return zr(r.precision)?Math.max(y(r.modelValue),L):(L>r.precision,r.precision)}),f=ee(()=>r.controls&&r.controlsPosition==="right"),p=fa(),v=Wa(),h=ee(()=>{if(s.userInput!==null)return s.userInput;let L=s.currentValue;if(Zi(L))return"";if(Ln(L)){if(Number.isNaN(L))return"";zr(r.precision)||(L=L.toFixed(r.precision))}return L}),g=(L,j)=>{if(zr(j)&&(j=c.value),j===0)return Math.round(L);let H=String(L);const G=H.indexOf(".");if(G===-1||!H.replace(".","").split("")[G+j])return L;const U=H.length;return H.charAt(U-1)==="5"&&(H=`${H.slice(0,Math.max(0,U-1))}6`),Number.parseFloat(Number(H).toFixed(j))},y=L=>{if(Zi(L))return 0;const j=L.toString(),H=j.indexOf(".");let G=0;return H!==-1&&(G=j.length-H-1),G},m=(L,j=1)=>Ln(L)?L>=Number.MAX_SAFE_INTEGER&&j===1||L<=Number.MIN_SAFE_INTEGER&&j===-1?L:g(L+r.step*j):s.currentValue,b=L=>{var j;const H=L;if(r.disabledScientific&&["e","E"].includes(H.key)){H.preventDefault();return}const G={[gn.up]:()=>{H.preventDefault(),w()},[gn.down]:()=>{H.preventDefault(),A()}};(j=G[H.key])==null||j.call(G)},w=()=>{if(r.readonly||v.value||d.value)return;const L=Number(h.value)||0,j=m(L);k(j),n(ma,s.currentValue),N()},A=()=>{if(r.readonly||v.value||u.value)return;const L=Number(h.value)||0,j=m(L,-1);k(j),n(ma,s.currentValue),N()},S=(L,j)=>{const{max:H,min:G,step:Z,precision:z,stepStrictly:U,valueOnClear:W}=r;HH||reH?H:G,j&&n(Gn,re)),re},k=(L,j=!0)=>{var H;const G=s.currentValue,Z=S(L);if(!j){n(Gn,Z);return}G===Z&&L||(s.userInput=null,n(Gn,Z),G!==Z&&n(Tr,Z,G),r.validateEvent&&((H=l?.validate)==null||H.call(l,"change").catch(z=>void 0)),s.currentValue=Z)},O=L=>{s.userInput=L;const j=L===""?null:Number(L);n(ma,j),k(j,!1)},I=L=>{const j=L!==""?Number(L):"";(Ln(j)&&!Number.isNaN(j)||L==="")&&k(j),N(),s.userInput=null},P=()=>{var L,j;(j=(L=a.value)==null?void 0:L.focus)==null||j.call(L)},M=()=>{var L,j;(j=(L=a.value)==null?void 0:L.blur)==null||j.call(L)},_=L=>{n("focus",L)},R=L=>{var j,H;s.userInput=null,s.currentValue===null&&((j=a.value)!=null&&j.input)&&(a.value.input.value=""),n("blur",L),r.validateEvent&&((H=l?.validate)==null||H.call(l,"blur").catch(G=>void 0))},N=()=>{s.currentValue!==r.modelValue&&(s.currentValue=r.modelValue)},V=L=>{document.activeElement===L.target&&L.preventDefault()};return Ct(()=>r.modelValue,(L,j)=>{const H=S(L,!0);s.userInput===null&&H!==j&&(s.currentValue=H)},{immediate:!0}),Ct(()=>r.precision,()=>{s.currentValue=S(r.modelValue)}),jn(()=>{var L;const{min:j,max:H,modelValue:G}=r,Z=(L=a.value)==null?void 0:L.input;if(Z.setAttribute("role","spinbutton"),Number.isFinite(H)?Z.setAttribute("aria-valuemax",String(H)):Z.removeAttribute("aria-valuemax"),Number.isFinite(j)?Z.setAttribute("aria-valuemin",String(j)):Z.removeAttribute("aria-valuemin"),Z.setAttribute("aria-valuenow",s.currentValue||s.currentValue===0?String(s.currentValue):""),Z.setAttribute("aria-disabled",String(v.value)),!Ln(G)&&G!=null){let z=Number(G);Number.isNaN(z)&&(z=null),n(Gn,z)}Z.addEventListener("wheel",V,{passive:!1})}),Wc(()=>{var L,j;const H=(L=a.value)==null?void 0:L.input;H?.setAttribute("aria-valuenow",`${(j=s.currentValue)!=null?j:""}`)}),t({focus:P,blur:M}),(L,j)=>(F(),K("div",{class:oe([C(i).b(),C(i).m(C(p)),C(i).is("disabled",C(v)),C(i).is("without-controls",!L.controls),C(i).is("controls-right",C(f)),C(i).is(L.align,!!L.align)]),onDragstart:Qt(()=>{},["prevent"])},[L.controls?an((F(),K("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:Lr(A,["enter"])},[pt(L.$slots,"decrease-icon",{},()=>[$e(C(_n),null,{default:nt(()=>[C(f)?(F(),mt(C(Kc),{key:0})):(F(),mt(C(gLe),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[C(CE),A]]):xe("v-if",!0),L.controls?an((F(),K("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:Lr(w,["enter"])},[pt(L.$slots,"increase-icon",{},()=>[$e(C(_n),null,{default:nt(()=>[C(f)?(F(),mt(C(nD),{key:0})):(F(),mt(C(o1e),{key:1}))]),_:1})])],42,["aria-label","onKeydown"])),[[C(CE),w]]):xe("v-if",!0),$e(C(Us),{id:L.id,ref_key:"input",ref:a,type:"number",step:L.step,"model-value":C(h),placeholder:L.placeholder,readonly:L.readonly,disabled:C(v),size:C(p),max:L.max,min:L.min,name:L.name,"aria-label":L.ariaLabel,"validate-event":!1,inputmode:L.inputmode,onKeydown:b,onBlur:R,onFocus:_,onInput:O,onChange:I},Ll({_:2},[L.$slots.prefix?{name:"prefix",fn:nt(()=>[pt(L.$slots,"prefix")])}:void 0,L.$slots.suffix?{name:"suffix",fn:nt(()=>[pt(L.$slots,"suffix")])}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],42,["onDragstart"]))}});var IYe=en(DYe,[["__file","input-number.vue"]]);const lbe=er(IYe),OYe=Yt({modelValue:{type:lt(Array)},max:Number,tagType:{...Qf.type,default:"info"},tagEffect:Qf.effect,trigger:{type:lt(String),default:gn.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:ba,clearable:Boolean,clearIcon:{type:vo,default:Qd},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={[Gn]:e=>qt(e)||zr(e),[Tr]:e=>qt(e)||zr(e),[ma]:e=>Dn(e),"add-tag":e=>Dn(e)||qt(e),"remove-tag":e=>Dn(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0};function PYe({props:e,emit:t,formItem:n}){const r=Wa(),o=fa(),i=Uo(),a=Y(),s=Y(),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,V;return zr(e.max)?!1:((V=(N=e.modelValue)==null?void 0:N.length)!=null?V: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 V;const L=[...(V=e.modelValue)!=null?V:[],...Ka(N)];t(Gn,L),t(Tr,L),t("add-tag",N),a.value=void 0},h=N=>{var V,L;const j=N.split(e.delimiter).filter(H=>H&&H!==N);if(e.max){const H=e.max-((L=(V=e.modelValue)==null?void 0:V.length)!=null?L:0);j.splice(H)}return j.length===1?j[0]:j},g=N=>{if(c.value){a.value=void 0;return}if(!P.value){if(e.delimiter&&a.value){const V=h(a.value);V.length&&v(V)}t(ma,N.target.value)}},y=N=>{var V;if(!P.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&&((V=e.modelValue)!=null&&V.length)&&(N.preventDefault(),N.stopPropagation(),b(e.modelValue.length-1));break}},m=()=>{var N;const V=(N=a.value)==null?void 0:N.trim();!V||c.value||v(V)},b=N=>{var V;const L=((V=e.modelValue)!=null?V:[]).slice(),[j]=L.splice(N,1);t(Gn,L),t(Tr,L),t("remove-tag",j)},w=()=>{a.value=void 0,t(Gn,void 0),t(Tr,void 0),t("clear")},A=(N,V,L)=>{var j;const H=((j=e.modelValue)!=null?j:[]).slice(),[G]=H.splice(N,1),Z=V>N&&L==="before"?-1:V{var N;(N=i.value)==null||N.focus()},k=()=>{var N;(N=i.value)==null||N.blur()},{wrapperRef:O,isFocused:I}=vp(i,{disabled:r,beforeBlur(N){var V;return(V=s.value)==null?void 0:V.isFocusInsideContent(N)},afterBlur(){var N;e.saveOnBlur?m():a.value=void 0,e.validateEvent&&((N=n?.validate)==null||N.call(n,"blur").catch(V=>void 0))}}),{isComposing:P,handleCompositionStart:M,handleCompositionUpdate:_,handleCompositionEnd:R}=PC({afterComposition:g});return Ct(()=>e.modelValue,()=>{var N;e.validateEvent&&((N=n?.validate)==null||N.call(n,Tr).catch(V=>void 0))}),{inputRef:i,wrapperRef:O,tagTooltipRef:s,isFocused:I,isComposing:P,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:M,handleCompositionUpdate:_,handleCompositionEnd:R,focus:S,blur:k}}function NYe(){const e=Y(!1);return{hovering:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}const cW=11;function dW(){const e=Uo(),t=Y(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=jt("input-tag"),o=Uo(),i=Y(!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",zr(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")}`),k=S.getBoundingClientRect(),O=Number.parseFloat(Tf(S,"gap"))/2,I=g.top-k.top;let P=-9999;if(u==="before")P=Math.max(g.left-k.left-O,Math.floor(-O/2));else if(u==="after"){const M=g.right-k.left;P=M+(k.width===M?Math.floor(O/2):O)}Yme(o.value,{top:`${I}px`,left:`${P}px`}),i.value=!!u}function p(v){v.preventDefault(),s&&(s.style.opacity=""),u&&!zr(a)&&!zr(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=pp(),d=pa(),c=jt("input-tag"),f=jt("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=et({name:"ElInputTag",inheritAttrs:!1}),FYe=et({...LYe,props:OYe,emits:MYe,setup(e,{expose:t,emit:n}){const r=e,o=oD(),i=pa(),{form:a,formItem:s}=ks(),{inputId:l}=ac(r,{formItemContext:s}),u=ee(()=>{var be;return(be=a?.statusIcon)!=null?be:!1}),d=ee(()=>s?.validateState||""),c=ee(()=>d.value&&rD[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:k,handleDragged:O,handleInput:I,handleKeydown:P,handleRemoveTag:M,handleClear:_,handleCompositionStart:R,handleCompositionUpdate:N,handleCompositionEnd:V,focus:L,blur:j}=PYe({props:r,emit:n,formItem:s}),{hovering:H,handleMouseEnter:G,handleMouseLeave:Z}=NYe(),{calculatorRef:z,inputStyle:U}=dW(),{dropIndicatorRef:W,showDropIndicator:re,handleDragStart:J,handleDragOver:te,handleDragEnd:X}=RYe({wrapperRef:p,handleDragged:O,afterDragged:L}),{ns:ue,nsInput:me,containerKls:Me,containerStyle:Ae,innerKls:ge,showClear:_e,showSuffix:Q}=BYe({props:r,hovering:H,isFocused:h,inputValue:g,disabled:A,size:y,validateState:d,validateIcon:c,needStatusIcon:u});return t({focus:L,blur:j}),(be,De)=>(F(),K("div",{ref_key:"wrapperRef",ref:p,class:oe(C(Me)),style:Jt(C(Ae)),onMouseenter:C(G),onMouseleave:C(Z)},[C(i).prefix?(F(),K("div",{key:0,class:oe(C(ue).e("prefix"))},[pt(be.$slots,"prefix")],2)):xe("v-if",!0),x("div",{class:oe(C(ge))},[(F(!0),K(Nt,null,on(C(S),(pe,ie)=>(F(),mt(C(Ih),{key:ie,size:C(m),closable:C(w),type:be.tagType,effect:be.tagEffect,draggable:C(w)&&be.draggable,"disable-transitions":"",onClose:ce=>C(M)(ie),onDragstart:ce=>C(J)(ce,ie),onDragover:ce=>C(te)(ce,ie),onDragend:C(X),onDrop:Qt(()=>{},["stop"])},{default:nt(()=>[pt(be.$slots,"tag",{value:pe,index:ie},()=>[An(ze(pe),1)])]),_:2},1032,["size","closable","type","effect","draggable","onClose","onDragstart","onDragover","onDragend","onDrop"]))),128)),be.collapseTags&&be.modelValue&&be.modelValue.length>be.maxCollapseTags?(F(),mt(C(fs),{key:0,ref_key:"tagTooltipRef",ref:v,disabled:!be.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:be.tagEffect,placement:"bottom"},{default:nt(()=>[$e(C(Ih),{closable:!1,size:C(m),type:be.tagType,effect:be.tagEffect,"disable-transitions":""},{default:nt(()=>[An(" + "+ze(be.modelValue.length-be.maxCollapseTags),1)]),_:1},8,["size","type","effect"])]),content:nt(()=>[x("div",{class:oe(C(ue).e("input-tag-list"))},[(F(!0),K(Nt,null,on(C(k),(pe,ie)=>(F(),mt(C(Ih),{key:ie,size:C(m),closable:C(w),type:be.tagType,effect:be.tagEffect,"disable-transitions":"",onClose:ce=>C(M)(ie+be.maxCollapseTags)},{default:nt(()=>[pt(be.$slots,"tag",{value:pe,index:ie+be.maxCollapseTags},()=>[An(ze(pe),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):xe("v-if",!0),x("div",{class:oe(C(ue).e("input-wrapper"))},[an(x("input",pr({id:C(l),ref_key:"inputRef",ref:f,"onUpdate:modelValue":pe=>Ro(g)?g.value=pe:null},C(o),{type:"text",minlength:be.minlength,maxlength:be.maxlength,disabled:C(A),readonly:be.readonly,autocomplete:be.autocomplete,tabindex:be.tabindex,placeholder:C(b),autofocus:be.autofocus,ariaLabel:be.ariaLabel,class:C(ue).e("input"),style:C(U),onCompositionstart:C(R),onCompositionupdate:C(N),onCompositionend:C(V),onInput:C(I),onKeydown:C(P)}),null,16,["id","onUpdate:modelValue","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel","onCompositionstart","onCompositionupdate","onCompositionend","onInput","onKeydown"]),[[jr,C(g)]]),x("span",{ref_key:"calculatorRef",ref:z,"aria-hidden":"true",class:oe(C(ue).e("input-calculator")),textContent:ze(C(g))},null,10,["textContent"])],2),an(x("div",{ref_key:"dropIndicatorRef",ref:W,class:oe(C(ue).e("drop-indicator"))},null,2),[[Ar,C(re)]])],2),C(Q)?(F(),K("div",{key:1,class:oe(C(ue).e("suffix"))},[pt(be.$slots,"suffix"),C(_e)?(F(),mt(C(_n),{key:0,class:oe([C(ue).e("icon"),C(ue).e("clear")]),onMousedown:Qt(C(go),["prevent"]),onClick:C(_)},{default:nt(()=>[(F(),mt(hr(be.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):xe("v-if",!0),C(d)&&C(c)&&C(u)?(F(),mt(C(_n),{key:1,class:oe([C(me).e("icon"),C(me).e("validateIcon"),C(me).is("loading",C(d)==="validating")])},{default:nt(()=>[(F(),mt(hr(C(c))))]),_:1},8,["class"])):xe("v-if",!0)],2)):xe("v-if",!0)],46,["onMouseenter","onMouseleave"]))}});var UYe=en(FYe,[["__file","input-tag.vue"]]);const zYe=er(UYe),$Ye=Yt({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:vo}}),jYe={click:e=>e instanceof MouseEvent},HYe=et({name:"ElLink"}),WYe=et({...HYe,props:$Ye,emits:jYe,setup(e,{emit:t}){const n=e,r=Nb("link");Lf({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(()=>Co(n.underline)));const o=jt("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 Co(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)=>(F(),K("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?(F(),mt(C(_n),{key:0},{default:nt(()=>[(F(),mt(hr(l.icon)))]),_:1})):xe("v-if",!0),l.$slots.default?(F(),K("span",{key:1,class:oe(C(o).e("inner"))},[pt(l.$slots,"default")],2)):xe("v-if",!0),l.$slots.icon?pt(l.$slots,"icon",{key:2}):xe("v-if",!0)],10,["href","target"]))}});var VYe=en(WYe,[["__file","link.vue"]]);const qYe=er(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:{wS(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:{wS(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case gn.up:{wS(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case gn.tab:{wS(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=et({name:"ElMenuCollapseTransition"}),ZYe=et({...QYe,setup(e){const t=jt("menu"),n={onBeforeEnter:r=>r.style.opacity="0.2",onEnter(r,o){Nu(r,`${t.namespace.value}-opacity-transition`),r.style.opacity="1",o()},onAfterEnter(r){$s(r,`${t.namespace.value}-opacity-transition`),r.style.opacity=""},onBeforeLeave(r){r.dataset||(r.dataset={}),El(r,t.m("collapse"))?($s(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),Nu(r,t.m("collapse"))):(Nu(r,t.m("collapse")),r.dataset.oldOverflow=r.style.overflow,r.dataset.scrollWidth=r.clientWidth.toString(),$s(r,t.m("collapse"))),r.style.width=`${r.scrollWidth}px`,r.style.overflow="hidden"},onLeave(r){Nu(r,"horizontal-collapse-transition"),r.style.width=`${r.dataset.scrollWidth}px`}};return(r,o)=>(F(),mt(Wi,pr({mode:"out-in"},C(n)),{default:nt(()=>[pt(r.$slots,"default")]),_:3},16))}});var XYe=en(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 B1(n).shade(20).toString():""})}const cbe=(e,t)=>{const n=jt("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",kE="subMenu:",eQe=Yt({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:vo},expandOpenIcon:{type:vo},collapseCloseIcon:{type:vo},collapseOpenIcon:{type:vo}}),EI="ElSubMenu";var pW=et({name:EI,props:eQe,setup(e,{slots:t,expose:n}){const r=vr(),{indexPath:o,parentMenu:i}=ube(r,ee(()=>e.index)),a=jt("menu"),s=jt("sub-menu"),l=un(fW);l||Ji(EI,"can not inject root menu");const u=un(`${kE}${i.value.uid}`);u||Ji(EI,"can not inject sub menu");const d=Y({}),c=Y({});let f;const p=Y(!1),v=Y(),h=Y(),g=ee(()=>O.value==="horizontal"&&m.value?"bottom-start":"right-start"),y=ee(()=>O.value==="horizontal"&&m.value||O.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?S.value?e.expandOpenIcon:e.expandCloseIcon:Kc:e.collapseCloseIcon&&e.collapseOpenIcon?S.value?e.collapseOpenIcon:e.collapseCloseIcon:ka),m=ee(()=>u.level===0),b=ee(()=>{const z=e.teleported;return zr(z)?m.value:z}),w=ee(()=>l.props.collapse?`${a.namespace.value}-zoom-in-left`:`${a.namespace.value}-zoom-in-top`),A=ee(()=>O.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)),k=ee(()=>[...Object.values(d.value),...Object.values(c.value)].some(({active:z})=>z)),O=ee(()=>l.props.mode),I=ee(()=>l.props.persistent),P=Ur({index:e.index,indexPath:o,active:k}),M=cbe(l.props,u.level+1),_=ee(()=>{var z;return(z=e.popperOffset)!=null?z:l.props.popperOffset}),R=ee(()=>{var z;return(z=e.popperClass)!=null?z:l.props.popperClass}),N=ee(()=>{var z;return(z=e.showTimeout)!=null?z:l.props.showTimeout}),V=ee(()=>{var z;return(z=e.hideTimeout)!=null?z:l.props.hideTimeout}),L=()=>{var z,U,W;return(W=(U=(z=h.value)==null?void 0:z.popperRef)==null?void 0:U.popperInstanceRef)==null?void 0:W.destroy()},j=z=>{z||L()},H=()=>{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:k.value})},G=(z,U=N.value)=>{var W;if(z.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}=Tv(()=>{l.openMenu(e.index,o.value)},U),b.value&&((W=i.value.vnode.el)==null||W.dispatchEvent(new MouseEvent("mouseenter")))}},Z=(z=!1)=>{var U;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}=Tv(()=>!p.value&&l.closeMenu(e.index,o.value),V.value),b.value&&z&&((U=u.handleMouseleave)==null||U.call(u,!0))};Ct(()=>l.props.collapse,z=>j(!!z));{const z=W=>{c.value[W.index]=W},U=W=>{delete c.value[W.index]};Sr(`${kE}${r.uid}`,{addSubMenu:z,removeSubMenu:U,handleMouseleave:Z,mouseInChild:p,level:u.level+1})}return n({opened:S}),jn(()=>{l.addSubMenu(P),u.addSubMenu(P)}),Yr(()=>{u.removeSubMenu(P),l.removeSubMenu(P)}),()=>{var z;const U=[(z=t.title)==null?void 0:z.call(t),Fn(_n,{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:()=>Dn(y.value)?Fn(r.appContext.components[y.value]):Fn(y.value)})],W=l.isMenuPopup?Fn(fs,{ref:h,visible:S.value,effect:"light",pure:!0,offset:_.value,showArrow:!1,persistent:I.value,popperClass:R.value,placement:g.value,teleported:b.value,fallbackPlacements:A.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var re;return Fn("div",{class:[a.m(O.value),a.m("popup-container"),R.value],onMouseenter:J=>G(J,100),onMouseleave:()=>Z(!0),onFocus:J=>G(J,100)},[Fn("ul",{class:[a.b(),a.m("popup"),a.m(`popup-${g.value}`)],style:M.value},[(re=t.default)==null?void 0:re.call(t)])])},default:()=>Fn("div",{class:s.e("title"),onClick:H},U)}):Fn(Nt,{},[Fn("div",{class:s.e("title"),ref:v,onClick:H},U),Fn(cD,{},{default:()=>{var re;return an(Fn("ul",{role:"menu",class:[a.b(),a.m("inline")],style:M.value},[(re=t.default)==null?void 0:re.call(t)]),[[Ar,S.value]])}})]);return Fn("li",{class:[s.b(),s.is("active",k.value),s.is("opened",S.value),s.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:S.value,onMouseenter:G,onMouseleave:()=>Z(),onFocus:G},[W])}}});const tQe=Yt({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:lt(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:vo,default:()=>yLe},popperEffect:{type:lt(String),default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),kI=e=>qt(e)&&e.every(t=>Dn(t)),nQe={close:(e,t)=>Dn(e)&&kI(t),open:(e,t)=>Dn(e)&&kI(t),select:(e,t,n,r)=>Dn(e)&&kI(t)&&ar(n)&&(zr(r)||r instanceof Promise)};var rQe=et({name:"ElMenu",props:tQe,emits:nQe,setup(e,{emit:t,slots:n,expose:r}){const o=vr(),i=o.appContext.config.globalProperties.$router,a=Y(),s=Y(),l=jt("menu"),u=jt("sub-menu");let d=64;const c=Y(-1),f=Y(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),p=Y(e.defaultActive),v=Y({}),h=Y({}),g=ee(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),y=()=>{const j=p.value&&v.value[p.value];if(!j||e.mode==="horizontal"||e.collapse)return;j.indexPath.forEach(G=>{const Z=h.value[G];Z&&m(G,Z.indexPath)})},m=(j,H)=>{f.value.includes(j)||(e.uniqueOpened&&(f.value=f.value.filter(G=>H.includes(G))),f.value.push(j),t("open",j,H))},b=j=>{const H=f.value.indexOf(j);H!==-1&&f.value.splice(H,1)},w=(j,H)=>{b(j),t("close",j,H)},A=({index:j,indexPath:H})=>{f.value.includes(j)?w(j,H):m(j,H)},S=j=>{(e.mode==="horizontal"||e.collapse)&&(f.value=[]);const{index:H,indexPath:G}=j;if(!(Zi(H)||Zi(G)))if(e.router&&i){const Z=j.route||H,z=i.push(Z).then(U=>(U||(p.value=H),U));t("select",H,G,{index:H,indexPath:G,route:Z},z)}else p.value=H,t("select",H,G,{index:H,indexPath:G})},k=j=>{var H;const G=v.value,Z=G[j]||p.value&&G[p.value]||G[e.defaultActive];p.value=(H=Z?.index)!=null?H:j},O=j=>{const H=getComputedStyle(j),G=Number.parseInt(H.marginLeft,10),Z=Number.parseInt(H.marginRight,10);return j.offsetWidth+G+Z||0},I=()=>{var j,H;if(!a.value)return-1;const G=Array.from((H=(j=a.value)==null?void 0:j.childNodes)!=null?H:[]).filter(te=>te.nodeName!=="#comment"&&(te.nodeName!=="#text"||te.nodeValue)),Z=getComputedStyle(a.value),z=Number.parseInt(Z.paddingLeft,10),U=Number.parseInt(Z.paddingRight,10),W=a.value.clientWidth-z-U;let re=0,J=0;return G.forEach((te,X)=>{re+=O(te),re<=W-d&&(J=X+1)}),J===G.length?-1:J},P=j=>h.value[j].indexPath,M=(j,H=33.34)=>{let G;return()=>{G&&clearTimeout(G),G=setTimeout(()=>{j()},H)}};let _=!0;const R=()=>{const j=Sa(s);if(j&&(d=O(j)||64),c.value===I())return;const H=()=>{c.value=-1,Vt(()=>{c.value=I()})};_?H():M(H)(),_=!1};Ct(()=>e.defaultActive,j=>{v.value[j]||(p.value=""),k(j)}),Ct(()=>e.collapse,j=>{j&&(f.value=[])}),Ct(v.value,y);let N;Cs(()=>{e.mode==="horizontal"&&e.ellipsis?N=li(a,R).stop:N?.()});const V=Y(!1);{const j=z=>{h.value[z.index]=z},H=z=>{delete h.value[z.index]};Sr(fW,Ur({props:e,openedMenus:f,items:v,subMenus:h,activeIndex:p,isMenuPopup:g,addMenuItem:z=>{v.value[z.index]=z},removeMenuItem:z=>{delete v.value[z.index]},addSubMenu:j,removeSubMenu:H,openMenu:m,closeMenu:w,handleMenuItemClick:S,handleSubMenuClick:A})),Sr(`${kE}${o.uid}`,{addSubMenu:j,removeSubMenu:H,mouseInChild:V,level:0})}jn(()=>{e.mode==="horizontal"&&new YYe(o.vnode.el,l.namespace.value)}),r({open:H=>{const{indexPath:G}=h.value[H];G.forEach(Z=>m(Z,G))},close:b,updateActiveIndex:k,handleResize:R});const L=cbe(e,0);return()=>{var j,H;let G=(H=(j=n.default)==null?void 0:j.call(n))!=null?H:[];const Z=[];if(e.mode==="horizontal"&&a.value){const W=bd(G).filter(te=>te?.shapeFlag!==8),re=c.value===-1?W:W.slice(0,c.value),J=c.value===-1?[]:W.slice(c.value);J?.length&&e.ellipsis&&(G=re,Z.push(Fn(pW,{ref:s,index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>Fn(_n,{class:u.e("icon-more")},{default:()=>Fn(e.ellipsisIcon)}),default:()=>J})))}const z=e.closeOnClickOutside?[[Zf,()=>{f.value.length&&(V.value||(f.value.forEach(W=>t("close",W,P(W))),f.value=[]))}]]:[],U=an(Fn("ul",{key:String(e.collapse),role:"menubar",ref:a,style:L.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...G,...Z]),z);return e.collapseTransition&&e.mode==="vertical"?Fn(XYe,()=>U):U}}});const oQe=Yt({index:{type:lt([String,null]),default:null},route:{type:lt([String,Object])},disabled:Boolean}),iQe={click:e=>Dn(e.index)&&qt(e.indexPath)},UL="ElMenuItem",aQe=et({name:UL}),sQe=et({...aQe,props:oQe,emits:iQe,setup(e,{expose:t,emit:n}){const r=e;Il(r.index)&&void 0;const o=vr(),i=un(fW),a=jt("menu"),s=jt("menu-item");i||Ji(UL,"can not inject root menu");const{parentMenu:l,indexPath:u}=ube(o,ao(r,"index")),d=un(`${kE}${l.value.uid}`);d||Ji(UL,"can not inject sub menu");const c=ee(()=>r.index===i.activeIndex),f=Ur({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 jn(()=>{d.addSubMenu(f),i.addMenuItem(f)}),Yr(()=>{d.removeSubMenu(f),i.removeMenuItem(f)}),t({parentMenu:l,rootMenu:i,active:c,nsMenu:a,nsMenuItem:s,handleClick:p}),(v,h)=>(F(),K("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?(F(),mt(C(fs),{key:0,effect:C(i).props.popperEffect,placement:"right","fallback-placements":["left"],persistent:C(i).props.persistent},{content:nt(()=>[pt(v.$slots,"title")]),default:nt(()=>[x("div",{class:oe(C(a).be("tooltip","trigger"))},[pt(v.$slots,"default")],2)]),_:3},8,["effect","persistent"])):(F(),K(Nt,{key:1},[pt(v.$slots,"default"),pt(v.$slots,"title")],64))],2))}});var dbe=en(sQe,[["__file","menu-item.vue"]]);const lQe={title:String},uQe=et({name:"ElMenuItemGroup"}),cQe=et({...uQe,props:lQe,setup(e){const t=jt("menu-item-group");return(n,r)=>(F(),K("li",{class:oe(C(t).b())},[x("div",{class:oe(C(t).e("title"))},[n.$slots.title?pt(n.$slots,"title",{key:1}):(F(),K(Nt,{key:0},[An(ze(n.title),1)],64))],2),x("ul",null,[pt(n.$slots,"default")])],2))}});var fbe=en(cQe,[["__file","menu-item-group.vue"]]);const dQe=er(rQe,{MenuItem:dbe,MenuItemGroup:fbe,SubMenu:pW}),fQe=vi(dbe),pQe=vi(fbe),hQe=vi(pW),gQe=Yt({icon:{type:vo,default:()=>FBe},title:String,content:{type:String,default:""}}),vQe={back:()=>!0},mQe=et({name:"ElPageHeader"}),yQe=et({...mQe,props:gQe,emits:vQe,setup(e,{emit:t}){const{t:n}=Hr(),r=jt("page-header");function o(){t("back")}return(i,a)=>(F(),K("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?(F(),K("div",{key:0,class:oe(C(r).e("breadcrumb"))},[pt(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?(F(),K("div",{key:0,"aria-label":i.title||C(n)("el.pageHeader.title"),class:oe(C(r).e("icon"))},[pt(i.$slots,"icon",{},()=>[i.icon?(F(),mt(C(_n),{key:0},{default:nt(()=>[(F(),mt(hr(i.icon)))]),_:1})):xe("v-if",!0)])],10,["aria-label"])):xe("v-if",!0),x("div",{class:oe(C(r).e("title"))},[pt(i.$slots,"title",{},()=>[An(ze(i.title||C(n)("el.pageHeader.title")),1)])],2)],2),$e(C(Wye),{direction:"vertical"}),x("div",{class:oe(C(r).e("content"))},[pt(i.$slots,"content",{},()=>[An(ze(i.content),1)])],2)],2),i.$slots.extra?(F(),K("div",{key:0,class:oe(C(r).e("extra"))},[pt(i.$slots,"extra")],2)):xe("v-if",!0)],2),i.$slots.default?(F(),K("div",{key:1,class:oe(C(r).e("main"))},[pt(i.$slots,"default")],2)):xe("v-if",!0)],2))}});var bQe=en(yQe,[["__file","page-header.vue"]]);const wQe=er(bQe),pbe=Symbol("elPaginationKey"),AQe=Yt({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:vo}}),CQe={click:e=>e instanceof MouseEvent},xQe=et({name:"ElPaginationPrev"}),SQe=et({...xQe,props:AQe,emits:CQe,setup(e){const t=e,{t:n}=Hr(),r=ee(()=>t.disabled||t.currentPage<=1);return(o,i)=>(F(),K("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?(F(),K("span",{key:0},ze(o.prevText),1)):(F(),mt(C(_n),{key:1},{default:nt(()=>[(F(),mt(hr(o.prevIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var EQe=en(SQe,[["__file","prev.vue"]]);const kQe=Yt({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:vo}}),TQe=et({name:"ElPaginationNext"}),_Qe=et({...TQe,props:kQe,emits:["click"],setup(e){const t=e,{t:n}=Hr(),r=ee(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(o,i)=>(F(),K("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?(F(),K("span",{key:0},ze(o.nextText),1)):(F(),mt(C(_n),{key:1},{default:nt(()=>[(F(),mt(hr(o.nextIcon)))]),_:1}))],8,["disabled","aria-label","aria-disabled","onClick"]))}});var DQe=en(_Qe,[["__file","next.vue"]]);const hW={label:"label",value:"value",disabled:"disabled",options:"options"};function FC(e){const t=ee(()=>({...hW,...e.props}));return{aliasProps:t,getLabel:a=>Yi(a,t.value.label),getValue:a=>Yi(a,t.value.value),getDisabled:a=>Yi(a,t.value.disabled),getOptions:a=>Yi(a,t.value.options)}}const hbe=Symbol("ElSelectGroup"),Ub=Symbol("ElSelect"),zL="ElOption",IQe=Yt({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),gW=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),ch=e=>mC(e);function OQe(e,t){const n=un(Ub);n||Ji(zL,"usage: ");const r=un(hbe,{disabled:!1}),o=ee(()=>d(Ka(n.props.modelValue),e.value)),i=ee(()=>{var p;if(n.props.multiple){const v=Ka((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:ar(e.value)?"":e.value}),s=ee(()=>e.value||e.label||""),l=ee(()=>e.disabled||t.groupDisabled||i.value),u=vr(),d=(p=[],v)=>{if(ar(e.value)){const h=n.props.valueKey;return p&&p.some(g=>Oo(Yi(g,h))===Yi(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 Ct(()=>a.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),Ct(()=>e.value,(p,v)=>{const{remote:h,valueKey:g}=n.props;if((h?p!==v:!ca(p,v))&&(n.onOptionDestroy(v,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!h){if(g&&ar(p)&&ar(v)&&p[g]===v[g])return;n.setSelected()}}),Ct(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:a,currentValue:s,itemSelected:o,isDisabled:l,hoverItem:c,updateOption:f}}const MQe=et({name:zL,componentName:zL,props:IQe,setup(e){const t=jt("select"),n=ds(),r=ee(()=>[t.be("dropdown","item"),t.is("disabled",C(s)),t.is("selected",C(a)),t.is("hovering",C(f))]),o=Ur({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}=_a(o),p=vr().proxy;l.onOptionCreate(p),Yr(()=>{const h=p.value;Vt(()=>{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 an((F(),K("li",{id:e.id,class:oe(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMousemove:e.hoverItem,onClick:Qt(e.selectOptionClick,["stop"])},[pt(e.$slots,"default",{},()=>[x("span",null,ze(e.currentLabel),1)])],42,["id","aria-disabled","aria-selected","onMousemove","onClick"])),[[Ar,e.visible]])}var vW=en(MQe,[["render",PQe],["__file","option.vue"]]);const NQe=et({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=un(Ub),t=jt("select"),n=ee(()=>e.props.popperClass),r=ee(()=>e.props.multiple),o=ee(()=>e.props.fitInputWidth),i=Y("");function a(){var s;i.value=`${(s=e.selectRef)==null?void 0:s.offsetWidth}px`}return jn(()=>{a(),li(e.selectRef,a)}),{ns:t,minWidth:i,popperClass:n,isMultiple:r,isFitInputWidth:o}}});function RQe(e,t,n,r,o,i){return F(),K("div",{class:oe([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Jt({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(F(),K("div",{key:0,class:oe(e.ns.be("dropdown","header"))},[pt(e.$slots,"header")],2)):xe("v-if",!0),pt(e.$slots,"default"),e.$slots.footer?(F(),K("div",{key:1,class:oe(e.ns.be("dropdown","footer"))},[pt(e.$slots,"footer")],2)):xe("v-if",!0)],6)}var BQe=en(NQe,[["render",RQe],["__file","select-dropdown.vue"]]);const LQe=(e,t)=>{const{t:n}=Hr(),r=ds(),o=jt("select"),i=jt("input"),a=Ur({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=Y(),l=Y(),u=Y(),d=Y(),c=Y(),f=Y(),p=Y(),v=Y(),h=Y(),g=Y(),y=Y(),m=Y(!1),b=Y(),{form:w,formItem:A}=ks(),{inputId:S}=ac(e,{formItemContext:A}),{valueOnClear:k,isEmptyValue:O}=IC(e),{isComposing:I,handleCompositionStart:P,handleCompositionUpdate:M,handleCompositionEnd:_}=PC({afterComposition:xt=>Lt(xt)}),R=ee(()=>e.disabled||!!w?.disabled),{wrapperRef:N,isFocused:V,handleBlur:L}=vp(c,{disabled:R,afterFocus(){e.automaticDropdown&&!m.value&&(m.value=!0,a.menuVisibleOnFocus=!0)},beforeBlur(xt){var sn,vt;return((sn=u.value)==null?void 0:sn.isFocusInsideContent(xt))||((vt=d.value)==null?void 0:vt.isFocusInsideContent(xt))},afterBlur(){var xt;m.value=!1,a.menuVisibleOnFocus=!1,e.validateEvent&&((xt=A?.validate)==null||xt.call(A,"blur").catch(sn=>void 0))}}),j=ee(()=>qt(e.modelValue)?e.modelValue.length>0:!O(e.modelValue)),H=ee(()=>{var xt;return(xt=w?.statusIcon)!=null?xt:!1}),G=ee(()=>e.clearable&&!R.value&&j.value&&(V.value||a.inputHovering)),Z=ee(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),z=ee(()=>o.is("reverse",!!(Z.value&&m.value))),U=ee(()=>A?.validateState||""),W=ee(()=>U.value&&rD[U.value]),re=ee(()=>e.remote?300:0),J=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&&X.value===0?e.noMatchText||n("el.select.noMatch"):a.options.size===0?e.noDataText||n("el.select.noData"):null),X=ee(()=>ue.value.filter(xt=>xt.visible).length),ue=ee(()=>{const xt=Array.from(a.options.values()),sn=[];return a.optionValues.forEach(vt=>{const Bt=xt.findIndex(mn=>mn.value===vt);Bt>-1&&sn.push(xt[Bt])}),sn.length>=xt.length?sn:xt}),me=ee(()=>Array.from(a.cachedOptions.values())),Me=ee(()=>{const xt=ue.value.filter(sn=>!sn.created).some(sn=>sn.currentLabel===a.inputValue);return e.filterable&&e.allowCreate&&a.inputValue!==""&&!xt}),Ae=()=>{e.filterable&&Pn(e.filterMethod)||e.filterable&&e.remote&&Pn(e.remoteMethod)||ue.value.forEach(xt=>{var sn;(sn=xt.updateOption)==null||sn.call(xt,a.inputValue)})},ge=fa(),_e=ee(()=>["small"].includes(ge.value)?"small":"default"),Q=ee({get(){return m.value&&!J.value},set(xt){m.value=xt}}),be=ee(()=>{if(e.multiple&&!zr(e.modelValue))return Ka(e.modelValue).length===0&&!a.inputValue;const xt=qt(e.modelValue)?e.modelValue[0]:e.modelValue;return e.filterable||zr(xt)?!a.inputValue:!0}),De=ee(()=>{var xt;const sn=(xt=e.placeholder)!=null?xt:n("el.select.placeholder");return e.multiple||!j.value?sn:a.selectedLabel}),pe=ee(()=>yE?null:"mouseenter");Ct(()=>e.modelValue,(xt,sn)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(a.inputValue="",ie("")),Re(),!ca(xt,sn)&&e.validateEvent&&A?.validate("change").catch(vt=>void 0)},{flush:"post",deep:!0}),Ct(()=>m.value,xt=>{xt?ie(a.inputValue):(a.inputValue="",a.previousQuery=null,a.isBeforeHide=!0),t("visible-change",xt)}),Ct(()=>a.options.entries(),()=>{Kr&&(Re(),e.defaultFirstOption&&(e.filterable||e.remote)&&X.value&&ce())},{flush:"post"}),Ct([()=>a.hoveringIndex,ue],([xt])=>{Ln(xt)&&xt>-1?b.value=ue.value[xt]||{}:b.value={},ue.value.forEach(sn=>{sn.hover=b.value===sn})}),Cs(()=>{a.isBeforeHide||Ae()});const ie=xt=>{a.previousQuery===xt||I.value||(a.previousQuery=xt,e.filterable&&Pn(e.filterMethod)?e.filterMethod(xt):e.filterable&&e.remote&&Pn(e.remoteMethod)&&e.remoteMethod(xt),e.defaultFirstOption&&(e.filterable||e.remote)&&X.value?Vt(ce):Vt(Le))},ce=()=>{const xt=ue.value.filter(mn=>mn.visible&&!mn.disabled&&!mn.states.groupDisabled),sn=xt.find(mn=>mn.created),vt=xt[0],Bt=ue.value.map(mn=>mn.value);a.hoveringIndex=he(Bt,sn||vt)},Re=()=>{if(e.multiple)a.selectedLabel="";else{const sn=qt(e.modelValue)?e.modelValue[0]:e.modelValue,vt=Ee(sn);a.selectedLabel=vt.currentLabel,a.selected=[vt];return}const xt=[];zr(e.modelValue)||Ka(e.modelValue).forEach(sn=>{xt.push(Ee(sn))}),a.selected=xt},Ee=xt=>{let sn;const vt=D3(xt);for(let Mn=a.cachedOptions.size-1;Mn>=0;Mn--){const tr=me.value[Mn];if(vt?Yi(tr.value,e.valueKey)===Yi(xt,e.valueKey):tr.value===xt){sn={value:xt,currentLabel:tr.currentLabel,get isDisabled(){return tr.isDisabled}};break}}if(sn)return sn;const Bt=vt?xt.label:xt??"";return{value:xt,currentLabel:Bt}},Le=()=>{a.hoveringIndex=ue.value.findIndex(xt=>a.selected.some(sn=>He(sn)===He(xt)))},Fe=()=>{a.selectionWidth=Number.parseFloat(window.getComputedStyle(l.value).width)},Pe=()=>{a.collapseItemWidth=g.value.getBoundingClientRect().width},Ne=()=>{var xt,sn;(sn=(xt=u.value)==null?void 0:xt.updatePopper)==null||sn.call(xt)},ht=()=>{var xt,sn;(sn=(xt=d.value)==null?void 0:xt.updatePopper)==null||sn.call(xt)},Rt=()=>{a.inputValue.length>0&&!m.value&&(m.value=!0),ie(a.inputValue)},Lt=xt=>{if(a.inputValue=xt.target.value,e.remote)tn();else return Rt()},tn=Fl(()=>{Rt()},re.value),Wt=xt=>{ca(e.modelValue,xt)||t(Tr,xt)},zt=xt=>Ome(xt,sn=>{const vt=a.cachedOptions.get(sn);return vt&&!vt.disabled&&!vt.states.groupDisabled}),dt=xt=>{if(e.multiple&&xt.code!==gn.delete&&xt.target.value.length<=0){const sn=Ka(e.modelValue).slice(),vt=zt(sn);if(vt<0)return;const Bt=sn[vt];sn.splice(vt,1),t(Gn,sn),Wt(sn),t("remove-tag",Bt)}},_t=(xt,sn)=>{const vt=a.selected.indexOf(sn);if(vt>-1&&!R.value){const Bt=Ka(e.modelValue).slice();Bt.splice(vt,1),t(Gn,Bt),Wt(Bt),t("remove-tag",sn.value)}xt.stopPropagation(),je()},ut=xt=>{xt.stopPropagation();const sn=e.multiple?[]:k.value;if(e.multiple)for(const vt of a.selected)vt.isDisabled&&sn.push(vt.value);t(Gn,sn),Wt(sn),a.hoveringIndex=-1,m.value=!1,t("clear"),je()},rt=xt=>{var sn;if(e.multiple){const vt=Ka((sn=e.modelValue)!=null?sn:[]).slice(),Bt=he(vt,xt);Bt>-1?vt.splice(Bt,1):(e.multipleLimit<=0||vt.length{Je(xt)})},he=(xt,sn)=>zr(sn)?-1:ar(sn.value)?xt.findIndex(vt=>ca(Yi(vt,e.valueKey),He(sn))):xt.indexOf(sn.value),Je=xt=>{var sn,vt,Bt,mn,Mn;const tr=qt(xt)?xt[0]:xt;let cn=null;if(tr?.value){const qe=ue.value.filter(yt=>yt.value===tr.value);qe.length>0&&(cn=qe[0].$el)}if(u.value&&cn){const qe=(mn=(Bt=(vt=(sn=u.value)==null?void 0:sn.popperRef)==null?void 0:vt.contentRef)==null?void 0:Bt.querySelector)==null?void 0:mn.call(Bt,`.${o.be("dropdown","wrap")}`);qe&&CH(qe,cn)}(Mn=y.value)==null||Mn.handleScroll()},ct=xt=>{a.options.set(xt.value,xt),a.cachedOptions.set(xt.value,xt)},Ot=(xt,sn)=>{a.options.get(xt)===sn&&a.options.delete(xt)},Tn=ee(()=>{var xt,sn;return(sn=(xt=u.value)==null?void 0:xt.popperRef)==null?void 0:sn.contentRef}),In=()=>{a.isBeforeHide=!1,Vt(()=>{var xt;(xt=y.value)==null||xt.update(),Je(a.selected)})},je=()=>{var xt;(xt=c.value)==null||xt.focus()},ke=()=>{var xt;if(m.value){m.value=!1,Vt(()=>{var sn;return(sn=c.value)==null?void 0:sn.blur()});return}(xt=c.value)==null||xt.blur()},ye=xt=>{ut(xt)},Be=xt=>{if(m.value=!1,V.value){const sn=new FocusEvent("blur",xt);Vt(()=>L(sn))}},ot=()=>{a.inputValue.length>0?a.inputValue="":m.value=!1},gt=()=>{R.value||(yE&&(a.inputHovering=!0),a.menuVisibleOnFocus?a.menuVisibleOnFocus=!1:m.value=!m.value)},Ke=()=>{if(!m.value)gt();else{const xt=ue.value[a.hoveringIndex];xt&&!xt.isDisabled&&rt(xt)}},He=xt=>ar(xt.value)?Yi(xt.value,e.valueKey):xt.value,at=ee(()=>ue.value.filter(xt=>xt.visible).every(xt=>xt.isDisabled)),St=ee(()=>e.multiple?e.collapseTags?a.selected.slice(0,e.maxCollapseTags):a.selected:[]),tt=ee(()=>e.multiple?e.collapseTags?a.selected.slice(e.maxCollapseTags):[]:[]),Qe=xt=>{if(!m.value){m.value=!0;return}if(!(a.options.size===0||X.value===0||I.value)&&!at.value){xt==="next"?(a.hoveringIndex++,a.hoveringIndex===a.options.size&&(a.hoveringIndex=0)):xt==="prev"&&(a.hoveringIndex--,a.hoveringIndex<0&&(a.hoveringIndex=a.options.size-1));const sn=ue.value[a.hoveringIndex];(sn.isDisabled||!sn.visible)&&Qe(xt),Vt(()=>Je(b.value))}},it=()=>{if(!l.value)return 0;const xt=window.getComputedStyle(l.value);return Number.parseFloat(xt.gap||"6px")},Mt=ee(()=>{const xt=it(),sn=e.filterable?xt+cW:0;return{maxWidth:`${g.value&&e.maxCollapseTags===1?a.selectionWidth-a.collapseItemWidth-xt-sn:a.selectionWidth-sn}px`}}),Gt=ee(()=>({maxWidth:`${a.selectionWidth}px`})),En=xt=>{t("popup-scroll",xt)};li(l,Fe),li(N,Ne),li(h,ht),li(g,Pe);let Nn;return Ct(()=>Q.value,xt=>{xt?Nn=li(v,Ne).stop:(Nn?.(),Nn=void 0)}),jn(()=>{Re()}),{inputId:S,contentId:r,nsSelect:o,nsInput:i,states:a,isFocused:V,expanded:m,optionsArray:ue,hoverOption:b,selectSize:ge,filteredOptionsCount:X,updateTooltip:Ne,updateTagTooltip:ht,debouncedOnInputChange:tn,onInput:Lt,deletePrevTag:dt,deleteTag:_t,deleteSelected:ut,handleOptionSelect:rt,scrollToOption:Je,hasModelValue:j,shouldShowPlaceholder:be,currentPlaceholder:De,mouseEnterEventName:pe,needStatusIcon:H,showClearBtn:G,iconComponent:Z,iconReverse:z,validateState:U,validateIcon:W,showNewOption:Me,updateOptions:Ae,collapseTagSize:_e,setSelected:Re,selectDisabled:R,emptyText:te,handleCompositionStart:P,handleCompositionUpdate:M,handleCompositionEnd:_,onOptionCreate:ct,onOptionDestroy:Ot,handleMenuEnter:In,focus:je,blur:ke,handleClearClick:ye,handleClickOutside:Be,handleEsc:ot,toggleMenu:gt,selectOption:Ke,getValueKey:He,navigateOptions:Qe,dropdownMenuVisible:Q,showTagList:St,collapseTagList:tt,popupScroll:En,tagStyle:Mt,collapseTagStyle:Gt,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=et({name:"ElOptions",setup(e,{slots:t}){const n=un(Ub);let r=[];return()=>{var o,i;const a=(o=t.default)==null?void 0:o.call(t),s=[];function l(u){qt(u)&&u.forEach(d=>{var c,f,p,v;const h=(c=d?.type||{})==null?void 0:c.name;h==="ElOptionGroup"?l(!Dn(d.children)&&!qt(d.children)&&Pn((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):qt(d.children)&&l(d.children)})}return a.length&&l((i=a[0])==null?void 0:i.children),ca(s,r)||(r=s,n&&(n.states.optionValues=s)),a}}});const UQe=Yt({name:String,id:String,modelValue:{type:lt([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:ba,effect:{type:lt(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:lt([String,Object])},popperOptions:{type:lt(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:lt(Function)},filterMethod:{type:lt(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:vo,default:Qd},fitInputWidth:Boolean,suffixIcon:{type:vo,default:Kc},tagType:{...Qf.type,default:"info"},tagEffect:{...Qf.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:lt(String),values:mp,default:"bottom-start"},fallbackPlacements:{type:lt(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:oi.appendTo,options:{type:lt(Array)},props:{type:lt(Object),default:()=>hW},...rm,...Es(["ariaLabel"])});p1e.scroll;const zQe=et({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=jt("select"),n=Y(),r=vr(),o=Y([]);Sr(hbe,Ur({..._a(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=Ka(u),c=[];return d.forEach(f=>{var p;jo(f)&&(a(f)?c.push(f.component.proxy):qt(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 jn(()=>{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 an((F(),K("ul",{ref:"groupRef",class:oe(e.ns.be("group","wrap"))},[x("li",{class:oe(e.ns.be("group","title"))},ze(e.label),3),x("li",null,[x("ul",{class:oe(e.ns.b("group"))},[pt(e.$slots,"default")],2)])],2)),[[Ar,e.visible]])}var mW=en(zQe,[["render",$Qe],["__file","option-group.vue"]]);const see="ElSelect",jQe=et({name:see,componentName:see,components:{ElSelectMenu:BQe,ElOption:vW,ElOptions:FQe,ElOptionGroup:mW,ElTag:Ih,ElScrollbar:Lc,ElTooltip:fs,ElIcon:_n},directives:{ClickOutside:Zf},props:UQe,emits:[Gn,Tr,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(e,{emit:t,slots:n}){const r=vr();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 qt(y)?m?y:b:m?b:y}),i=Ur({..._a(e),modelValue:o}),a=LQe(i,t),{calculatorRef:s,inputStyle:l}=dW(),{getLabel:u,getValue:d,getOptions:c,getDisabled:f}=FC(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=>{bd(y||[]).forEach(b=>{var w;if(ar(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(O=>{O.currentLabel=O.label||(ar(O.value)?"":O.value),a.onOptionCreate(O)})}else if(A==="ElOption"){const S={...b.props};S.currentLabel=S.label||(ar(S.value)?"":S.value),a.onOptionCreate(S)}}})};Ct(()=>{var y;return(y=n.default)==null?void 0:y.call(n)},y=>{e.persistent||h(y)},{immediate:!0}),Sr(Ub,Ur({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 Yr(()=>{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=lr("el-tag"),r=lr("el-tooltip"),o=lr("el-icon"),i=lr("el-option"),a=lr("el-option-group"),s=lr("el-options"),l=lr("el-scrollbar"),u=lr("el-select-menu"),d=R_("click-outside");return an((F(),K("div",{ref:"selectRef",class:oe([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),[L4(e.mouseEnterEventName)]:c=>e.states.inputHovering=!0,onMouseleave:c=>e.states.inputHovering=!1},[$e(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:nt(()=>{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:Qt(e.toggleMenu,["prevent"])},[e.$slots.prefix?(F(),K("div",{key:0,ref:"prefixRef",class:oe(e.nsSelect.e("prefix"))},[pt(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?pt(e.$slots,"tag",{key:0,data:e.states.selected,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(F(!0),K(Nt,null,on(e.showTagList,f=>(F(),K("div",{key:e.getValueKey(f),class:oe(e.nsSelect.e("selected-item"))},[$e(n,{closable:!e.selectDisabled&&!f.isDisabled,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Jt(e.tagStyle),onClose:p=>e.deleteTag(p,f)},{default:nt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[pt(e.$slots,"label",{label:f.currentLabel,value:f.value},()=>[An(ze(f.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(F(),mt(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:nt(()=>[x("div",{ref:"collapseItemRef",class:oe(e.nsSelect.e("selected-item"))},[$e(n,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Jt(e.collapseTagStyle)},{default:nt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))}," + "+ze(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:nt(()=>[x("div",{ref:"tagMenuRef",class:oe(e.nsSelect.e("selection"))},[(F(!0),K(Nt,null,on(e.collapseTagList,f=>(F(),K("div",{key:e.getValueKey(f),class:oe(e.nsSelect.e("selected-item"))},[$e(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:nt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[pt(e.$slots,"label",{label:f.currentLabel,value:f.value},()=>[An(ze(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)])},[an(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:Jt(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:[Lr(Qt(f=>e.navigateOptions("next"),["stop","prevent"]),["down"]),Lr(Qt(f=>e.navigateOptions("prev"),["stop","prevent"]),["up"]),Lr(Qt(e.handleEsc,["stop","prevent"]),["esc"]),Lr(Qt(e.selectOption,["stop","prevent"]),["enter"]),Lr(Qt(e.deletePrevTag,["stop"]),["delete"])],onCompositionstart:e.handleCompositionStart,onCompositionupdate:e.handleCompositionUpdate,onCompositionend:e.handleCompositionEnd,onInput:e.onInput,onClick:Qt(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"]),[[jr,e.states.inputValue]]),e.filterable?(F(),K("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:oe(e.nsSelect.e("input-calculator")),textContent:ze(e.states.inputValue)},null,10,["textContent"])):xe("v-if",!0)],2),e.shouldShowPlaceholder?(F(),K("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?pt(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[x("span",null,ze(e.currentPlaceholder),1)]):(F(),K("span",{key:1},ze(e.currentPlaceholder),1))],2)):xe("v-if",!0)],2),x("div",{ref:"suffixRef",class:oe(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClearBtn?(F(),mt(o,{key:0,class:oe([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:nt(()=>[(F(),mt(hr(e.iconComponent)))]),_:1},8,["class"])):xe("v-if",!0),e.showClearBtn&&e.clearIcon?(F(),mt(o,{key:1,class:oe([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.nsSelect.e("clear")]),onClick:e.handleClearClick},{default:nt(()=>[(F(),mt(hr(e.clearIcon)))]),_:1},8,["class","onClick"])):xe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(F(),mt(o,{key:2,class:oe([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:nt(()=>[(F(),mt(hr(e.validateIcon)))]),_:1},8,["class"])):xe("v-if",!0)],2)],10,["onClick"])]}),content:nt(()=>[$e(u,{ref:"menuRef"},{default:nt(()=>[e.$slots.header?(F(),K("div",{key:0,class:oe(e.nsSelect.be("dropdown","header")),onClick:Qt(()=>{},["stop"])},[pt(e.$slots,"header")],10,["onClick"])):xe("v-if",!0),an($e(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:nt(()=>[e.showNewOption?(F(),mt(i,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):xe("v-if",!0),$e(s,null,{default:nt(()=>[pt(e.$slots,"default",{},()=>[(F(!0),K(Nt,null,on(e.options,(c,f)=>{var p;return F(),K(Nt,{key:f},[(p=e.getOptions(c))!=null&&p.length?(F(),mt(a,{key:0,label:e.getLabel(c),disabled:e.getDisabled(c)},{default:nt(()=>[(F(!0),K(Nt,null,on(e.getOptions(c),v=>(F(),mt(i,pr({key:e.getValue(v)},e.getOptionProps(v)),null,16))),128))]),_:2},1032,["label","disabled"])):(F(),mt(i,Sl(pr({key:1},e.getOptionProps(c))),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[Ar,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(F(),K("div",{key:1,class:oe(e.nsSelect.be("dropdown","loading"))},[pt(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(F(),K("div",{key:2,class:oe(e.nsSelect.be("dropdown","empty"))},[pt(e.$slots,"empty",{},()=>[x("span",null,ze(e.emptyText),1)])],2)):xe("v-if",!0),e.$slots.footer?(F(),K("div",{key:3,class:oe(e.nsSelect.be("dropdown","footer")),onClick:Qt(()=>{},["stop"])},[pt(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=en(jQe,[["render",HQe],["__file","select.vue"]]);const Dv=er(WQe,{Option:vW,OptionGroup:mW}),TE=vi(vW),VQe=vi(mW),yW=()=>un(pbe,{}),qQe=Yt({pageSize:{type:Number,required:!0},pageSizes:{type:lt(Array),default:()=>fi([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:Yd},appendSizeTo:String}),GQe=et({name:"ElPaginationSizes"}),KQe=et({...GQe,props:qQe,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=Hr(),o=jt("pagination"),i=yW(),a=Y(n.pageSize);Ct(()=>n.pageSizes,(u,d)=>{if(!ca(u,d)&&qt(u)){const c=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",c)}}),Ct(()=>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)=>(F(),K("span",{class:oe(C(o).e("sizes"))},[$e(C(Dv),{"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:nt(()=>[(F(!0),K(Nt,null,on(C(s),c=>(F(),mt(C(TE),{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=en(KQe,[["__file","sizes.vue"]]);const QQe=Yt({size:{type:String,values:Yd}}),ZQe=et({name:"ElPaginationJumper"}),XQe=et({...ZQe,props:QQe,setup(e){const{t}=Hr(),n=jt("pagination"),{pageCount:r,disabled:o,currentPage:i,changeEvent:a}=yW(),s=Y(),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)=>(F(),K("span",{class:oe(C(n).e("jump")),disabled:C(o)},[x("span",{class:oe([C(n).e("goto")])},ze(C(t)("el.pagination.goto")),3),$e(C(Us),{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")])},ze(C(t)("el.pagination.pageClassifier")),3)],10,["disabled"]))}});var JQe=en(XQe,[["__file","jumper.vue"]]);const eZe=Yt({total:{type:Number,default:1e3}}),tZe=et({name:"ElPaginationTotal"}),nZe=et({...tZe,props:eZe,setup(e){const{t}=Hr(),n=jt("pagination"),{disabled:r}=yW();return(o,i)=>(F(),K("span",{class:oe(C(n).e("total")),disabled:C(r)},ze(C(t)("el.pagination.total",{total:o.total})),11,["disabled"]))}});var rZe=en(nZe,[["__file","total.vue"]]);const oZe=Yt({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),iZe=et({name:"ElPaginationPager"}),aZe=et({...iZe,props:oZe,emits:[Tr],setup(e,{emit:t}){const n=e,r=jt("pager"),o=jt("icon"),{t:i}=Hr(),a=Y(!1),s=Y(!1),l=Y(!1),u=Y(!1),d=Y(!1),c=Y(!1),f=ee(()=>{const w=n.pagerCount,A=(w-1)/2,S=Number(n.currentPage),k=Number(n.pageCount);let O=!1,I=!1;k>w&&(S>w-A&&(O=!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);Ct(()=>[n.pageCount,n.pagerCount,n.currentPage],([w,A,S])=>{const k=(A-1)/2;let O=!1,I=!1;w>A&&(O=S>A-k,I=Sk&&(S=k)),S!==O&&t(Tr,S)}return(w,A)=>(F(),K("ul",{class:oe(C(r).b()),onClick:b,onKeyup:Lr(m,["enter"])},[w.pageCount>0?(F(),K("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?(F(),K("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?(F(),mt(C(o0),{key:0})):(F(),mt(C(JX),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):xe("v-if",!0),(F(!0),K(Nt,null,on(C(f),S=>(F(),K("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)},ze(S),11,["aria-current","aria-label","tabindex"]))),128)),s.value?(F(),K("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?(F(),mt(C(i0),{key:0})):(F(),mt(C(JX),{key:1}))],42,["tabindex","aria-label","onMouseenter","onMouseleave","onFocus","onBlur"])):xe("v-if",!0),w.pageCount>1?(F(),K("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)},ze(w.pageCount),11,["aria-current","aria-label","tabindex"])):xe("v-if",!0)],42,["onKeyup"]))}});var sZe=en(aZe,[["__file","pager.vue"]]);const Ys=e=>typeof e!="number",lZe=Yt({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>Ln(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:lt(Array),default:()=>fi([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:vo,default:()=>Kf},nextText:{type:String,default:""},nextIcon:{type:vo,default:()=>ka},teleported:{type:Boolean,default:!0},small:Boolean,size:ba,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),uZe={"update:current-page":e=>Ln(e),"update:page-size":e=>Ln(e),"size-change":e=>Ln(e),change:(e,t)=>Ln(e)&&Ln(t),"current-change":e=>Ln(e),"prev-click":e=>Ln(e),"next-click":e=>Ln(e)},lee="ElPagination";var cZe=et({name:lee,props:lZe,emits:uZe,setup(e,{emit:t,slots:n}){const{t:r}=Hr(),o=jt("pagination"),i=vr().vnode.props||{},a=Vme(),s=ee(()=>{var A;return e.small?"small":(A=e.size)!=null?A:a.value});Lf({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(Ys(e.total)&&Ys(e.pageCount)||!Ys(e.currentPage)&&!l)return!1;if(e.layout.includes("sizes")){if(Ys(e.pageCount)){if(!Ys(e.total)&&!Ys(e.pageSize)&&!u)return!1}else if(!u)return!1}return!0}),c=Y(Ys(e.defaultPageSize)?10:e.defaultPageSize),f=Y(Ys(e.defaultCurrentPage)?1:e.defaultCurrentPage),p=ee({get(){return Ys(e.pageSize)?c.value:e.pageSize},set(A){Ys(e.pageSize)&&(c.value=A),u&&(t("update:page-size",A),t("size-change",A))}}),v=ee(()=>{let A=0;return Ys(e.pageCount)?Ys(e.total)||(A=Math.max(1,Math.ceil(e.total/p.value))):A=e.pageCount,A}),h=ee({get(){return Ys(e.currentPage)?f.value:e.currentPage},set(A){let S=A;A<1?S=1:A>v.value&&(S=v.value),Ys(e.currentPage)&&(f.value=S),l&&(t("update:current-page",S),t("current-change",S))}});Ct(v,A=>{h.value>A&&(h.value=A)}),Ct([h,p],A=>{t(Tr,...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 Sr(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 k=[],O=[],I=Fn("div",{class:o.e("rightwrapper")},O),P={prev:Fn(EQe,{disabled:e.disabled,currentPage:h.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:m}),jumper:Fn(JQe,{size:s.value}),pager:Fn(sZe,{currentPage:h.value,pageCount:v.value,pagerCount:e.pagerCount,onChange:g,disabled:e.disabled}),next:Fn(DQe,{disabled:e.disabled,currentPage:h.value,pageCount:v.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:b}),sizes:Fn(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:Fn(rZe,{total:Ys(e.total)?0:e.total})},M=e.layout.split(",").map(R=>R.trim());let _=!1;return M.forEach(R=>{if(R==="->"){_=!0;return}_?O.push(P[R]):k.push(P[R])}),w(k[0],o.is("first")),w(k[k.length-1],o.is("last")),_&&O.length>0&&(w(O[0],o.is("first")),w(O[O.length-1],o.is("last")),k.push(I)),Fn("div",{class:[o.b(),o.is("background",e.background),o.m(s.value)]},k)}}});const dZe=er(cZe),fZe=Yt({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:CL,default:"primary"},cancelButtonType:{type:String,values:CL,default:"text"},icon:{type:vo,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=et({name:"ElPopconfirm"}),gZe=et({...hZe,props:fZe,emits:pZe,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Hr(),i=jt("popconfirm"),a=Y(),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)=>(F(),mt(C(fs),pr({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:nt(()=>[x("div",{class:oe(C(i).b())},[x("div",{class:oe(C(i).e("main"))},[!v.hideIcon&&v.icon?(F(),mt(C(_n),{key:0,class:oe(C(i).e("icon")),style:Jt({color:v.iconColor})},{default:nt(()=>[(F(),mt(hr(v.icon)))]),_:1},8,["class","style"])):xe("v-if",!0),An(" "+ze(v.title),1)],2),x("div",{class:oe(C(i).e("action"))},[pt(v.$slots,"actions",{confirm:d,cancel:c},()=>[$e(C(Za),{size:"small",type:v.cancelButtonType==="text"?"":v.cancelButtonType,text:v.cancelButtonType==="text",onClick:c},{default:nt(()=>[An(ze(C(p)),1)]),_:1},8,["type","text"]),$e(C(Za),{size:"small",type:v.confirmButtonType==="text"?"":v.confirmButtonType,text:v.confirmButtonType==="text",onClick:d},{default:nt(()=>[An(ze(C(f)),1)]),_:1},8,["type","text"])])],2)],2)]),default:nt(()=>[v.$slots.reference?pt(v.$slots,"reference",{key:0}):xe("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var vZe=en(gZe,[["__file","popconfirm.vue"]]);const mZe=er(vZe),yZe=Yt({trigger:J1.trigger,triggerKeys:J1.triggerKeys,placement:NS.placement,disabled:J1.disabled,visible:oi.visible,transition:oi.transition,popperOptions:NS.popperOptions,tabindex:NS.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=>Co(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},wZe="onUpdate:visible",AZe=et({name:"ElPopover"}),CZe=et({...AZe,props:yZe,emits:bZe,setup(e,{expose:t,emit:n}){const r=e,o=ee(()=>r[wZe]),i=jt("popover"),a=Y(),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)=>(F(),mt(C(fs),pr({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:nt(()=>[g.title?(F(),K("div",{key:0,class:oe(C(i).e("title")),role:"title"},ze(g.title),3)):xe("v-if",!0),pt(g.$slots,"default",{},()=>[An(ze(g.content),1)])]),default:nt(()=>[g.$slots.reference?pt(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=en(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=er(xZe,{directive:gbe}),TZe=Yt({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:lt(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:lt([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:lt(Function),default:e=>`${e}%`}}),_Ze=et({name:"ElProgress"}),DZe=et({..._Ze,props:TZe,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=jt("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"?Rb:t.type==="line"?t.status==="success"?xH:Qd:t.status==="success"?OC:cu),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,k)=>Dn(S)?{color:S,percentage:(k+1)*w}:S).sort((S,k)=>S.percentage-k.percentage)}const m=b=>{var w;const{color:A}=t;if(Pn(A))return A(b);if(Dn(A))return A;{const S=y(A);for(const k of S)if(k.percentage>b)return k.color;return(w=S[S.length-1])==null?void 0:w.color}};return(b,w)=>(F(),K("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"?(F(),K("div",{key:0,class:oe(C(r).b("bar"))},[x("div",{class:oe(C(r).be("bar","outer")),style:Jt({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:Jt(C(o))},[(b.showText||b.$slots.default)&&b.textInside?(F(),K("div",{key:0,class:oe(C(r).be("bar","innerText"))},[pt(b.$slots,"default",{percentage:b.percentage},()=>[x("span",null,ze(C(g)),1)])],2)):xe("v-if",!0)],6)],6)],2)):(F(),K("div",{key:1,class:oe(C(r).b("circle")),style:Jt({height:`${b.width}px`,width:`${b.width}px`})},[(F(),K("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:Jt(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:Jt(C(f))},null,14,["d","stroke","opacity","stroke-linecap","stroke-width"])]))],6)),(b.showText||b.$slots.default)&&!b.textInside?(F(),K("div",{key:2,class:oe(C(r).e("text")),style:Jt({fontSize:`${C(h)}px`})},[pt(b.$slots,"default",{percentage:b.percentage},()=>[b.status?(F(),mt(C(_n),{key:1},{default:nt(()=>[(F(),mt(hr(C(v))))]),_:1})):(F(),K("span",{key:0},ze(C(g)),1))])],6)):xe("v-if",!0)],10,["aria-valuenow"]))}});var IZe=en(DZe,[["__file","progress.vue"]]);const vbe=er(IZe),OZe=Yt({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:lt([Array,Object]),default:()=>fi(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:lt([Array,Object]),default:()=>[hx,hx,hx]},voidIcon:{type:vo,default:()=>FLe},disabledVoidIcon:{type:vo,default:()=>hx},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:lt(Array),default:()=>fi(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:ba,clearable:Boolean,...Es(["ariaLabel"])}),MZe={[Tr]:e=>Ln(e),[Gn]:e=>Ln(e)},PZe=et({name:"ElRate"}),NZe=et({...PZe,props:OZe,emits:MZe,setup(e,{expose:t,emit:n}){const r=e;function o(L,j){const H=z=>ar(z),G=Object.keys(j).map(z=>+z).filter(z=>{const U=j[z];return(H(U)?U.excluded:!1)?Lz-U),Z=j[G[0]];return H(Z)&&Z.value||Z}const i=un(om,void 0),a=un(Fd,void 0),s=fa(),l=jt("rate"),{inputId:u,isLabeledByFormItem:d}=ac(r,{formItemContext:a}),c=Y(r.modelValue),f=Y(-1),p=Y(!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 L="";return r.showScore?L=r.scoreTemplate.replace(/\{\s*value\s*\}/,h.value?`${r.modelValue}`:`${c.value}`):r.showText&&(L=r.texts[Math.ceil(c.value)-1]),L}),m=ee(()=>r.modelValue*100-Math.floor(r.modelValue)*100),b=ee(()=>qt(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 L=o(c.value,b.value);return ar(L)?"":L}),A=ee(()=>{let L="";return h.value?L=`${m.value}%`:r.allowHalf&&(L="50%"),{color:w.value,width:L}}),S=ee(()=>{let L=qt(r.icons)?[...r.icons]:{...r.icons};return L=Id(L),qt(L)?{[r.lowThreshold]:L[0],[r.highThreshold]:{value:L[1],excluded:!0},[r.max]:L[2]}:L}),k=ee(()=>o(r.modelValue,S.value)),O=ee(()=>h.value?Dn(r.disabledVoidIcon)?r.disabledVoidIcon:Id(r.disabledVoidIcon):Dn(r.voidIcon)?r.voidIcon:Id(r.voidIcon)),I=ee(()=>o(c.value,S.value));function P(L){const j=h.value&&m.value>0&&L-1r.modelValue,H=r.allowHalf&&p.value&&L-.5<=c.value&&L>c.value;return j||H}function M(L){r.clearable&&L===r.modelValue&&(L=0),n(Gn,L),r.modelValue!==L&&n(Tr,L)}function _(L){h.value||(r.allowHalf&&p.value?M(c.value):M(L))}function R(L){if(h.value)return;let j=c.value;const H=L.code;return H===gn.up||H===gn.right?(r.allowHalf?j+=.5:j+=1,L.stopPropagation(),L.preventDefault()):(H===gn.left||H===gn.down)&&(r.allowHalf?j-=.5:j-=1,L.stopPropagation(),L.preventDefault()),j=j<0?0:j,j=j>r.max?r.max:j,n(Gn,j),n(Tr,j),j}function N(L,j){if(!h.value){if(r.allowHalf&&j){let H=j.target;El(H,l.e("item"))&&(H=H.querySelector(`.${l.e("icon")}`)),(H.clientWidth===0||El(H,l.e("decimal")))&&(H=H.parentNode),p.value=j.offsetX*2<=H.clientWidth,c.value=p.value?L-.5:L}else c.value=L;f.value=L}}function V(){h.value||(r.allowHalf&&(p.value=r.modelValue!==Math.floor(r.modelValue)),c.value=r.modelValue,f.value=-1)}return Ct(()=>r.modelValue,L=>{c.value=L,p.value=r.modelValue!==Math.floor(r.modelValue)}),r.modelValue||n(Gn,0),t({setCurrentValue:N,resetCurrentValue:V}),(L,j)=>{var H;return F(),K("div",{id:C(u),class:oe([C(v),C(l).is("disabled",C(h))]),role:"slider","aria-label":C(d)?void 0:L.ariaLabel||"rating","aria-labelledby":C(d)?(H=C(a))==null?void 0:H.labelId:void 0,"aria-valuenow":c.value,"aria-valuetext":C(y)||void 0,"aria-valuemin":"0","aria-valuemax":L.max,tabindex:"0",style:Jt(C(g)),onKeydown:R},[(F(!0),K(Nt,null,on(L.max,(G,Z)=>(F(),K("span",{key:Z,class:oe(C(l).e("item")),onMousemove:z=>N(G,z),onMouseleave:V,onClick:z=>_(G)},[$e(C(_n),{class:oe([C(l).e("icon"),{hover:f.value===G},C(l).is("active",G<=c.value)])},{default:nt(()=>[P(G)?xe("v-if",!0):(F(),K(Nt,{key:0},[an((F(),mt(hr(C(I)),null,null,512)),[[Ar,G<=c.value]]),an((F(),mt(hr(C(O)),null,null,512)),[[Ar,!(G<=c.value)]])],64)),P(G)?(F(),K(Nt,{key:1},[(F(),mt(hr(C(O)),{class:oe([C(l).em("decimal","box")])},null,8,["class"])),$e(C(_n),{style:Jt(C(A)),class:oe([C(l).e("icon"),C(l).e("decimal")])},{default:nt(()=>[(F(),mt(hr(C(k))))]),_:1},8,["style","class"])],64)):xe("v-if",!0)]),_:2},1032,["class"])],42,["onMousemove","onClick"]))),128)),L.showText||L.showScore?(F(),K("span",{key:0,class:oe(C(l).e("text")),style:Jt({color:L.textColor})},ze(C(y)),7)):xe("v-if",!0)],46,["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"])}}});var RZe=en(NZe,[["__file","rate.vue"]]);const BZe=er(RZe),Sg={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},cee={[Sg.primary]:V3,[Sg.success]:qBe,[Sg.warning]:Rb,[Sg.error]:SH,[Sg.info]:V3},LZe=Yt({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}}),FZe=et({name:"ElResult"}),UZe=et({...FZe,props:LZe,setup(e){const t=e,n=jt("result"),r=ee(()=>{const o=t.icon,i=o&&Sg[o]?Sg[o]:"icon-info",a=cee[i]||cee["icon-info"];return{class:i,component:a}});return(o,i)=>(F(),K("div",{class:oe(C(n).b())},[x("div",{class:oe(C(n).e("icon"))},[pt(o.$slots,"icon",{},()=>[C(r).component?(F(),mt(hr(C(r).component),{key:0,class:oe(C(r).class)},null,8,["class"])):xe("v-if",!0)])],2),o.title||o.$slots.title?(F(),K("div",{key:0,class:oe(C(n).e("title"))},[pt(o.$slots,"title",{},()=>[x("p",null,ze(o.title),1)])],2)):xe("v-if",!0),o.subTitle||o.$slots["sub-title"]?(F(),K("div",{key:1,class:oe(C(n).e("subtitle"))},[pt(o.$slots,"sub-title",{},()=>[x("p",null,ze(o.subTitle),1)])],2)):xe("v-if",!0),o.$slots.extra?(F(),K("div",{key:2,class:oe(C(n).e("extra"))},[pt(o.$slots,"extra")],2)):xe("v-if",!0)],2))}});var zZe=en(UZe,[["__file","result.vue"]]);const $Ze=er(zZe),jZe=["start","center","end","space-around","space-between","space-evenly"],HZe=["top","middle","bottom"],WZe=Yt({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:jZe,default:"start"},align:{type:String,values:HZe}}),VZe=et({name:"ElRow"}),qZe=et({...VZe,props:WZe,setup(e){const t=e,n=jt("row"),r=ee(()=>t.gutter);Sr(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)=>(F(),mt(hr(a.tag),{class:oe(C(i)),style:Jt(C(o))},{default:nt(()=>[pt(a.$slots,"default")]),_:3},8,["class","style"]))}});var GZe=en(qZe,[["__file","row.vue"]]);const KZe=er(GZe),YZe=et({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:jt("select")}}});function QZe(e,t,n,r,o,i){return F(),K("div",{class:oe(e.ns.be("group","title")),style:Jt({...e.style,lineHeight:`${e.height}px`})},ze(e.item.label),7)}var ZZe=en(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=Yt({allowCreate:Boolean,autocomplete:{type:lt(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:vo,default:Qd},effect:{type:lt(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:lt(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:lt([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:lt(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:lt(Array),required:!0},placeholder:{type:String},teleported:oi.teleported,persistent:{type:Boolean,default:!0},popperClass:oi.popperClass,popperStyle:oi.popperStyle,popperOptions:{type:lt(Object),default:()=>({})},remote:Boolean,size:ba,props:{type:lt(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:lt(String),values:mp,default:"bottom-start"},fallbackPlacements:{type:lt(Array),default:["bottom-start","top-start","right","left"]},tagType:{...Qf.type,default:"info"},tagEffect:{...Qf.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:oi.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(e){return Co(e)||Ln(e)}},suffixIcon:{type:vo,default:Kc},...rm,...Es(["ariaLabel"])}),eXe=Yt({data:Array,disabled:Boolean,hovering:Boolean,item:{type:lt(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),tXe={[Gn]:e=>!0,[Tr]: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=>Ln(e),select:(e,t)=>!0},bW=Symbol("ElSelectV2Injection"),rXe=et({props:eXe,emits:nXe,setup(e,{emit:t}){const n=un(bW),r=jt("select"),{hoverItem:o,selectOptionClick:i}=XZe(e,{emit:t}),{getLabel:a}=FC(n.props);return{ns:r,hoverItem:o,selectOptionClick:i,getLabel:a}}});function oXe(e,t,n,r,o,i){return F(),K("li",{"aria-selected":e.selected,style:Jt(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:Qt(e.selectOptionClick,["stop"])},[pt(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[x("span",null,ze(e.getLabel(e.item)),1)])],46,["aria-selected","onMousemove","onClick"])}var iXe=en(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=vr().proxy.$props;return ee(()=>{const n=(r,o,i)=>({});return t.perfMode?X_(n):lXe(n)})},$L=50,_E="itemRendered",DE="scroll",L1="forward",IE="backward",Ru="auto",hD="smart",eA="start",wd="center",tA="end",Ly="horizontal",wW="vertical",uXe="ltr",ey="rtl",nA="negative",AW="positive-ascending",CW="positive-descending",cXe={[Ly]:"left",[wW]:"top"},dXe=20,fXe={[Ly]:"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=>{_v(o);const u=l[fXe[n.value]];a(i)&&a(i+u)||(i+=u,kH()||l.preventDefault(),o=r0(()=>{r(i),i=0}))}}},jL=Gc({type:lt([Number,Function]),required:!0}),HL=Gc({type:Number}),WL=Gc({type:Number,default:2}),hXe=Gc({type:String,values:["ltr","rtl"],default:"ltr"}),VL=Gc({type:Number,default:0}),OE=Gc({type:Number,required:!0}),ybe=Gc({type:String,values:["horizontal","vertical"],default:wW}),bbe=Yt({className:{type:String,default:""},containerElement:{type:lt([String,Object]),default:"div"},data:{type:lt(Array),default:()=>fi([])},direction:hXe,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:lt([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),wbe=Yt({cache:WL,estimatedItemSize:HL,layout:ybe,initScrollOffset:VL,total:OE,itemSize:jL,...bbe}),qL={type:Number,default:6},Abe={type:Number,default:0},Cbe={type:Number,default:2},Kg=Yt({columnCache:WL,columnWidth:jL,estimatedColumnWidth:HL,estimatedRowHeight:HL,initScrollLeft:VL,initScrollTop:VL,itemKey:{type:lt(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:WL,rowHeight:jL,totalColumn:OE,totalRow:OE,hScrollbarSize:qL,vScrollbarSize:qL,scrollbarStartGap:Abe,scrollbarEndGap:Cbe,role:String,...bbe}),xbe=Yt({alwaysOn:Boolean,class:String,layout:ybe,total:OE,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:qL,startGap:Abe,endGap:Cbe,visible:Boolean}),Bg=(e,t)=>ee===uXe||e===ey||e===Ly,fee=e=>e===ey;let Nm=null;function ME(e=!1){if(Nm===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?Nm=CW:(t.scrollLeft=1,t.scrollLeft===0?Nm=nA:Nm=AW),document.body.removeChild(t),Nm}return Nm}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=et({name:"ElVirtualScrollBar",props:xbe,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=ee(()=>e.startGap+e.endGap),r=jt("virtual-scrollbar"),o=jt("scrollbar"),i=Y(),a=Y();let s=null,l=null;const u=Ur({isDragging:!1,traveled:0}),d=ee(()=>f1e[e.layout]),c=ee(()=>e.clientSize-C(n)),f=ee(()=>({position:"absolute",width:`${Ly===e.layout?c.value:e.scrollbarSize}px`,height:`${Ly===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 k=c.value/3;return Math.floor(Math.min(Math.max(S*c.value/100,dXe),k))}),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:k}=u;if(!k||!a.value||!i.value)return;const O=u[d.value.axis];if(!O)return;_v(s);const I=(i.value.getBoundingClientRect()[d.value.direction]-S[d.value.client])*-1,P=a.value[d.value.offset]-O,M=I-P;s=r0(()=>{u.traveled=Math.max(0,Math.min(M,h.value)),t("scroll",M,h.value)})},A=S=>{const k=Math.abs(S.target.getBoundingClientRect()[d.value.direction]-S[d.value.client]),O=a.value[d.value.offset]/2,I=k-O;u.traveled=Math.max(0,Math.min(I,h.value)),t("scroll",I,h.value)};return Ct(()=>e.scrollFrom,S=>{u.isDragging||(u.traveled=Math.ceil(S*h.value))}),Yr(()=>{y()}),()=>Fn("div",{role:"presentation",ref:i,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:f.value,onMousedown:Qt(A,["stop","prevent"]),onTouchstartPrevent:m},Fn("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})=>et({name:e??"ElVirtualList",props:wbe,emits:[_E,DE],setup(d,{emit:c,expose:f}){u(d);const p=vr(),v=jt("vl"),h=Y(s(d,p)),g=mbe(),y=Y(),m=Y(),b=Y(),w=Y({isScrolling:!1,scrollDir:"forward",scrollOffset:Ln(d.initScrollOffset)?d.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:d.scrollbarAlwaysOn}),A=ee(()=>{const{total:W,cache:re}=d,{isScrolling:J,scrollDir:te,scrollOffset:X}=C(w);if(W===0)return[0,0,0,0];const ue=i(d,X,C(h)),me=a(d,ue,X,C(h)),Me=!J||te===IE?Math.max(1,re):1,Ae=!J||te===L1?Math.max(1,re):1;return[Math.max(0,ue-Me),Math.max(0,Math.min(W-1,me+Ae)),ue,me]}),S=ee(()=>o(d,C(h))),k=ee(()=>rA(d.layout)),O=ee(()=>[{position:"relative",[`overflow-${k.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:d.direction,height:Ln(d.height)?`${d.height}px`:d.height,width:Ln(d.width)?`${d.width}px`:d.width},d.style]),I=ee(()=>{const W=C(S),re=C(k);return{height:re?"100%":`${W}px`,pointerEvents:C(w).isScrolling?"none":void 0,width:re?`${W}px`:"100%"}}),P=ee(()=>k.value?d.width:d.height),{onWheel:M}=pXe({atStartEdge:ee(()=>w.value.scrollOffset<=0),atEndEdge:ee(()=>w.value.scrollOffset>=S.value),layout:ee(()=>d.layout)},W=>{var re,J;(J=(re=b.value).onMouseUp)==null||J.call(re),j(Math.min(w.value.scrollOffset+W,S.value-P.value))});Mo(y,"wheel",M,{passive:!1});const _=()=>{const{total:W}=d;if(W>0){const[X,ue,me,Me]=C(A);c(_E,X,ue,me,Me)}const{scrollDir:re,scrollOffset:J,updateRequested:te}=C(w);c(DE,re,J,te)},R=W=>{const{clientHeight:re,scrollHeight:J,scrollTop:te}=W.currentTarget,X=C(w);if(X.scrollOffset===te)return;const ue=Math.max(0,Math.min(te,J-re));w.value={...X,isScrolling:!0,scrollDir:Bg(X.scrollOffset,ue),scrollOffset:ue,updateRequested:!1},Vt(Z)},N=W=>{const{clientWidth:re,scrollLeft:J,scrollWidth:te}=W.currentTarget,X=C(w);if(X.scrollOffset===J)return;const{direction:ue}=d;let me=J;if(ue===ey)switch(ME()){case nA:{me=-J;break}case CW:{me=te-re-J;break}}me=Math.max(0,Math.min(me,te-re)),w.value={...X,isScrolling:!0,scrollDir:Bg(X.scrollOffset,me),scrollOffset:me,updateRequested:!1},Vt(Z)},V=W=>{C(k)?N(W):R(W),_()},L=(W,re)=>{const J=(S.value-P.value)/re*W;j(Math.min(S.value-P.value,J))},j=W=>{W=Math.max(W,0),W!==C(w).scrollOffset&&(w.value={...C(w),scrollOffset:W,scrollDir:Bg(C(w).scrollOffset,W),updateRequested:!0},Vt(Z))},H=(W,re=Ru)=>{const{scrollOffset:J}=C(w);W=Math.max(0,Math.min(W,d.total-1)),j(t(d,W,re,J,C(h)))},G=W=>{const{direction:re,itemSize:J,layout:te}=d,X=g.value(l&&J,l&&te,l&&re);let ue;if(Zr(X,String(W)))ue=X[W];else{const me=r(d,W,C(h)),Me=n(d,W,C(h)),Ae=C(k),ge=re===ey,_e=Ae?me:0;X[W]=ue={position:"absolute",left:ge?void 0:`${_e}px`,right:ge?`${_e}px`:void 0,top:Ae?0:`${me}px`,height:Ae?"100%":`${Me}px`,width:Ae?`${Me}px`:"100%"}}return ue},Z=()=>{w.value.isScrolling=!1,Vt(()=>{g.value(-1,null,null)})},z=()=>{const W=y.value;W&&(W.scrollTop=0)};jn(()=>{if(!Kr)return;const{initScrollOffset:W}=d,re=C(y);Ln(W)&&re&&(C(k)?re.scrollLeft=W:re.scrollTop=W),_()}),Wc(()=>{const{direction:W,layout:re}=d,{scrollOffset:J,updateRequested:te}=C(w),X=C(y);if(te&&X)if(re===Ly)if(W===ey)switch(ME()){case nA:{X.scrollLeft=-J;break}case AW:{X.scrollLeft=J;break}default:{const{clientWidth:ue,scrollWidth:me}=X;X.scrollLeft=me-ue-J;break}}else X.scrollLeft=J;else X.scrollTop=J}),Sb(()=>{C(y).scrollTop=C(w).scrollOffset});const U={ns:v,clientSize:P,estimatedTotalSize:S,windowStyle:O,windowRef:y,innerRef:m,innerStyle:I,itemsToRender:A,scrollbarRef:b,states:w,getItemStyle:G,onScroll:V,onScrollbarScroll:L,onWheel:M,scrollTo:j,scrollToItem:H,resetScrollTop:z};return f({windowRef:y,innerRef:m,getItemStyleCache:g,scrollTo:j,scrollToItem:H,resetScrollTop:z,states:w}),U},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:k,onScrollbarScroll:O,states:I,useIsScrolling:P,windowStyle:M,ns:_}=d,[R,N]=b,V=hr(h),L=hr(m),j=[];if(S>0)for(let z=R;z<=N;z++)j.push(Fn(Nt,{key:z},(c=f.default)==null?void 0:c.call(f,{data:g,index:z,isScrolling:P?I.isScrolling:void 0,style:y(z)})));const H=[Fn(L,{style:w,ref:"innerRef"},Dn(L)?j:{default:()=>j})],G=Fn(GL,{ref:"scrollbarRef",clientSize:v,layout:A,onScroll:O,ratio:v*100/this.estimatedTotalSize,scrollFrom:I.scrollOffset/(this.estimatedTotalSize-v),total:S,alwaysOn:I.scrollbarAlwaysOn}),Z=Fn(V,{class:[_.e("window"),p],style:M,onScroll:k,ref:"windowRef",key:0},Dn(V)?[H]:{default:()=>[H]});return Fn("div",{key:0,class:[_.e("wrapper"),I.scrollbarAlwaysOn?"always-on":""]},[Z,G])}}),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=rA(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===hD&&(s>=c-l&&s<=d+l?a=Ru:a=wd),a){case eA:return d;case tA:return c;case wd:{const f=Math.round(c+(d-c)/2);return fu+Math.floor(l/2)?u:f}case Ru: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=rA(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(){}}),F1=(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=F1(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)=>F1(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=rA(a)?s:i,u=F1(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===hD&&(r>=f-l&&r<=c+l?n=Ru:n=wd),n){case eA:return c;case tA:return f;case wd:return Math.round(f+(c-f)/2);case Ru: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=rA(a)?s:o,u=F1(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=et({name:"ElSelectDropdown",props:bXe,setup(e,{slots:t,expose:n}){const r=un(bW),o=jt("select"),{getLabel:i,getValue:a,getDisabled:s}=FC(r.props),l=Y([]),u=Y(),d=ee(()=>e.data.length);Ct(()=>d.value,()=>{var M,_;(_=(M=r.tooltipRef.value)==null?void 0:M.updatePopper)==null||_.call(M)});const c=ee(()=>zr(r.props.estimatedOptionHeight)),f=ee(()=>c.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:M=>l.value[M]}),p=(M=[],_)=>{const{props:{valueKey:R}}=r;return ar(_)?M&&M.some(N=>Oo(Yi(N,R))===Yi(_,R)):M.includes(_)},v=(M,_)=>{if(ar(_)){const{valueKey:R}=r.props;return Yi(M,R)===Yi(_,R)}else return M===_},h=(M,_)=>r.props.multiple?p(M,a(_)):v(M,a(_)),g=(M,_)=>{const{disabled:R,multiple:N,multipleLimit:V}=r.props;return R||!_&&(N?V>0&&M.length>=V:!1)},y=M=>e.hoveringIndex===M;n({listRef:u,isSized:c,isItemDisabled:g,isItemHovering:y,isItemSelected:h,scrollToItem:M=>{const _=u.value;_&&_.scrollToItem(M)},resetScrollTop:()=>{const M=u.value;M&&M.resetScrollTop()}});const A=M=>{const{index:_,data:R,style:N}=M,V=C(c),{itemSize:L,estimatedSize:j}=C(f),{modelValue:H}=r.props,{onSelect:G,onHover:Z}=r,z=R[_];if(z.type==="Group")return $e(ZZe,{item:z,style:N,height:V?L:j},null);const U=h(H,z),W=g(H,U),re=y(_);return $e(iXe,pr(M,{selected:U,disabled:s(z)||W,created:!!z.created,hovering:re,item:z,onSelect:G,onHover:Z}),{default:J=>{var te;return((te=t.default)==null?void 0:te.call(t,J))||$e("span",null,[i(z)])}})},{onKeyboardNavigate:S,onKeyboardSelect:k}=r,O=()=>{S("forward")},I=()=>{S("backward")},P=M=>{const{code:_}=M,{tab:R,esc:N,down:V,up:L,enter:j,numpadEnter:H}=gn;switch([N,V,L,j,H].includes(_)&&(M.preventDefault(),M.stopPropagation()),_){case R:case N:break;case V:O();break;case L:I();break;case j:case H:k();break}};return()=>{var M,_,R,N;const{data:V,width:L}=e,{height:j,multiple:H,scrollbarAlwaysOn:G}=r.props,Z=ee(()=>yE?!0:G),z=C(c)?Ebe:yXe;return $e("div",{class:[o.b("dropdown"),o.is("multiple",H)],style:{width:`${L}px`}},[(M=t.header)==null?void 0:M.call(t),((_=t.loading)==null?void 0:_.call(t))||((R=t.empty)==null?void 0:R.call(t))||$e(z,pr({ref:u},C(f),{className:o.be("dropdown","list"),scrollbarAlwaysOn:Z.value,data:V,height:j,width:L,total:V.length,onKeydown:P}),{default:U=>$e(A,U,null)}),(N=t.footer)==null?void 0:N.call(t)])}}});function AXe(e,t){const{aliasProps:n,getLabel:r,getValue:o}=FC(e),i=Y(0),a=Y(),s=ee(()=>e.allowCreate&&e.filterable);Ct(()=>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}=Hr(),r=jt("select"),o=jt("input"),{form:i,formItem:a}=ks(),{inputId:s}=ac(e,{formItemContext:a}),{aliasProps:l,getLabel:u,getValue:d,getDisabled:c,getOptions:f}=FC(e),{valueOnClear:p,isEmptyValue:v}=IC(e),h=Ur({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),g=Y(-1),y=Y(),m=Y(),b=Y(),w=Y(),A=Y(),S=Y(),k=Y(),O=Y(),I=Y(),P=Y(),{isComposing:M,handleCompositionStart:_,handleCompositionEnd:R,handleCompositionUpdate:N}=PC({afterComposition:bt=>Mn(bt)}),V=ee(()=>e.disabled||!!i?.disabled),{wrapperRef:L,isFocused:j,handleBlur:H}=vp(A,{disabled:V,afterFocus(){e.automaticDropdown&&!U.value&&(U.value=!0,h.menuVisibleOnFocus=!0)},beforeBlur(bt){var Kt,bn;return((Kt=b.value)==null?void 0:Kt.isFocusInsideContent(bt))||((bn=w.value)==null?void 0:bn.isFocusInsideContent(bt))},afterBlur(){var bt;U.value=!1,h.menuVisibleOnFocus=!1,e.validateEvent&&((bt=a?.validate)==null||bt.call(a,"blur").catch(Kt=>void 0))}}),G=ee(()=>be("")),Z=ee(()=>e.loading?!1:e.options.length>0||h.createdOptions.length>0),z=Y([]),U=Y(!1),W=ee(()=>{var bt;return(bt=i?.statusIcon)!=null?bt:!1}),re=ee(()=>{const bt=z.value.length*e.itemHeight;return bt>e.height?e.height:bt}),J=ee(()=>e.multiple?qt(e.modelValue)&&e.modelValue.length>0:!v(e.modelValue)),te=ee(()=>e.clearable&&!V.value&&J.value&&(j.value||h.inputHovering)),X=ee(()=>e.remote&&e.filterable?"":e.suffixIcon),ue=ee(()=>X.value&&r.is("reverse",U.value)),me=ee(()=>a?.validateState||""),Me=ee(()=>{if(me.value)return rD[me.value]}),Ae=ee(()=>e.remote?300:0),ge=ee(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!h.inputValue&&!Z.value?!1:e.filterable&&h.inputValue&&Z.value&&z.value.length===0?e.noMatchText||n("el.select.noMatch"):Z.value?null:e.noDataText||n("el.select.noData")),_e=ee(()=>e.filterable&&Pn(e.filterMethod)),Q=ee(()=>e.filterable&&e.remote&&Pn(e.remoteMethod)),be=bt=>{const Kt=new RegExp(gW(bt),"i"),bn=Rn=>_e.value||Q.value?!0:bt?Kt.test(u(Rn)||""):!0;return e.loading?[]:[...h.createdOptions,...e.options].reduce((Rn,Kn)=>{const Fr=f(Kn);if(qt(Fr)){const ho=Fr.filter(bn);ho.length>0&&Rn.push({label:u(Kn),type:"Group"},...ho)}else(e.remote||bn(Kn))&&Rn.push(Kn);return Rn},[])},De=()=>{z.value=be(h.inputValue)},pe=ee(()=>{const bt=new Map;return G.value.forEach((Kt,bn)=>{bt.set(ot(d(Kt)),{option:Kt,index:bn})}),bt}),ie=ee(()=>{const bt=new Map;return z.value.forEach((Kt,bn)=>{bt.set(ot(d(Kt)),{option:Kt,index:bn})}),bt}),ce=ee(()=>z.value.every(bt=>c(bt))),Re=fa(),Ee=ee(()=>Re.value==="small"?"small":"default"),Le=()=>{var bt;if(Ln(e.fitInputWidth)){g.value=e.fitInputWidth;return}const Kt=((bt=y.value)==null?void 0:bt.offsetWidth)||200;!e.fitInputWidth&&Z.value?Vt(()=>{g.value=Math.max(Kt,Fe())}):g.value=Kt},Fe=()=>{var bt,Kt;const Rn=document.createElement("canvas").getContext("2d"),Kn=r.be("dropdown","item"),ho=(((Kt=(bt=O.value)==null?void 0:bt.listRef)==null?void 0:Kt.innerRef)||document).querySelector(`.${Kn}`);if(ho===null||Rn===null)return 0;const Wr=getComputedStyle(ho),bo=Number.parseFloat(Wr.paddingLeft)+Number.parseFloat(Wr.paddingRight);return Rn.font=`bold ${Wr.font.replace(new RegExp(`\\b${Wr.fontWeight}\\b`),"")}`,z.value.reduce((br,Vr)=>{const wo=Rn.measureText(u(Vr));return Math.max(wo.width,br)},0)+bo},Pe=()=>{if(!m.value)return 0;const bt=window.getComputedStyle(m.value);return Number.parseFloat(bt.gap||"6px")},Ne=ee(()=>{const bt=Pe(),Kt=e.filterable?bt+cW:0;return{maxWidth:`${P.value&&e.maxCollapseTags===1?h.selectionWidth-h.collapseItemWidth-bt-Kt:h.selectionWidth-Kt}px`}}),ht=ee(()=>({maxWidth:`${h.selectionWidth}px`})),Rt=ee(()=>qt(e.modelValue)?e.modelValue.length===0&&!h.inputValue:e.filterable?!h.inputValue:!0),Lt=ee(()=>{var bt;const Kt=(bt=e.placeholder)!=null?bt:n("el.select.placeholder");return e.multiple||!J.value?Kt:h.selectedLabel}),tn=ee(()=>{var bt,Kt;return(Kt=(bt=b.value)==null?void 0:bt.popperRef)==null?void 0:Kt.contentRef}),Wt=ee(()=>{if(e.multiple){const bt=e.modelValue.length;if(e.modelValue.length>0&&ie.value.has(e.modelValue[bt-1])){const{index:Kt}=ie.value.get(e.modelValue[bt-1]);return Kt}}else if(!v(e.modelValue)&&ie.value.has(e.modelValue)){const{index:bt}=ie.value.get(e.modelValue);return bt}return-1}),zt=ee({get(){return U.value&&ge.value!==!1},set(bt){U.value=bt}}),dt=ee(()=>e.multiple?e.collapseTags?h.cachedOptions.slice(0,e.maxCollapseTags):h.cachedOptions:[]),_t=ee(()=>e.multiple?e.collapseTags?h.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:ut,removeNewOption:rt,selectNewOption:he,clearAllNewOption:Je}=AXe(e,h),ct=()=>{V.value||(h.menuVisibleOnFocus?h.menuVisibleOnFocus=!1:U.value=!U.value)},Ot=()=>{h.inputValue.length>0&&!U.value&&(U.value=!0),ut(h.inputValue),Vt(()=>{In(h.inputValue)})},Tn=Fl(Ot,Ae.value),In=bt=>{h.previousQuery===bt||M.value||(h.previousQuery=bt,e.filterable&&Pn(e.filterMethod)?e.filterMethod(bt):e.filterable&&e.remote&&Pn(e.remoteMethod)&&e.remoteMethod(bt),e.defaultFirstOption&&(e.filterable||e.remote)&&z.value.length?Vt(je):Vt(mn))},je=()=>{const bt=z.value.filter(Rn=>!Rn.disabled&&Rn.type!=="Group"),Kt=bt.find(Rn=>Rn.created),bn=bt[0];h.hoveringIndex=Be(z.value,Kt||bn)},ke=bt=>{ca(e.modelValue,bt)||t(Tr,bt)},ye=bt=>{t(Gn,bt),ke(bt),h.previousValue=e.multiple?String(bt):bt,Vt(()=>{if(e.multiple&&qt(e.modelValue)){const Kt=h.cachedOptions.slice(),bn=e.modelValue.map(Rn=>yt(Rn,Kt));ca(h.cachedOptions,bn)||(h.cachedOptions=bn)}else Zt(!0)})},Be=(bt=[],Kt)=>{if(!ar(Kt))return bt.indexOf(Kt);const bn=e.valueKey;let Rn=-1;return bt.some((Kn,Fr)=>Yi(Kn,bn)===Yi(Kt,bn)?(Rn=Fr,!0):!1),Rn},ot=bt=>ar(bt)?Yi(bt,e.valueKey):bt,gt=()=>{Le()},Ke=()=>{h.selectionWidth=Number.parseFloat(window.getComputedStyle(m.value).width)},He=()=>{h.collapseItemWidth=P.value.getBoundingClientRect().width},at=()=>{var bt,Kt;(Kt=(bt=b.value)==null?void 0:bt.updatePopper)==null||Kt.call(bt)},St=()=>{var bt,Kt;(Kt=(bt=w.value)==null?void 0:bt.updatePopper)==null||Kt.call(bt)},tt=bt=>{if(e.multiple){let Kt=e.modelValue.slice();const bn=Be(Kt,d(bt));bn>-1?(Kt=[...Kt.slice(0,bn),...Kt.slice(bn+1)],h.cachedOptions.splice(bn,1),rt(bt)):(e.multipleLimit<=0||Kt.length{let bn=e.modelValue.slice();const Rn=Be(bn,d(Kt));Rn>-1&&!V.value&&(bn=[...e.modelValue.slice(0,Rn),...e.modelValue.slice(Rn+1)],h.cachedOptions.splice(Rn,1),ye(bn),t("remove-tag",d(Kt)),rt(Kt)),bt.stopPropagation(),it()},it=()=>{var bt;(bt=A.value)==null||bt.focus()},Mt=()=>{var bt;if(U.value){U.value=!1,Vt(()=>{var Kt;return(Kt=A.value)==null?void 0:Kt.blur()});return}(bt=A.value)==null||bt.blur()},Gt=()=>{h.inputValue.length>0?h.inputValue="":U.value=!1},En=bt=>Ome(bt,Kt=>!h.cachedOptions.some(bn=>d(bn)===Kt&&c(bn))),Nn=bt=>{if(e.multiple&&bt.code!==gn.delete&&h.inputValue.length===0){bt.preventDefault();const Kt=e.modelValue.slice(),bn=En(Kt);if(bn<0)return;const Rn=Kt[bn];Kt.splice(bn,1);const Kn=h.cachedOptions[bn];h.cachedOptions.splice(bn,1),rt(Kn),ye(Kt),t("remove-tag",Rn)}},xt=()=>{let bt;qt(e.modelValue)?bt=[]:bt=p.value,h.selectedLabel="",U.value=!1,ye(bt),t("clear"),Je(),it()},sn=(bt,Kt=void 0)=>{const bn=z.value;if(!["forward","backward"].includes(bt)||V.value||bn.length<=0||ce.value||M.value)return;if(!U.value)return ct();zr(Kt)&&(Kt=h.hoveringIndex);let Rn=-1;bt==="forward"?(Rn=Kt+1,Rn>=bn.length&&(Rn=0)):bt==="backward"&&(Rn=Kt-1,(Rn<0||Rn>=bn.length)&&(Rn=bn.length-1));const Kn=bn[Rn];if(c(Kn)||Kn.type==="Group")return sn(bt,Rn);h.hoveringIndex=Rn,qe(Rn)},vt=()=>{if(U.value)~h.hoveringIndex&&z.value[h.hoveringIndex]&&tt(z.value[h.hoveringIndex]);else return ct()},Bt=bt=>{h.hoveringIndex=bt??-1},mn=()=>{e.multiple?h.hoveringIndex=z.value.findIndex(bt=>e.modelValue.some(Kt=>ot(Kt)===ot(d(bt)))):h.hoveringIndex=z.value.findIndex(bt=>ot(d(bt))===ot(e.modelValue))},Mn=bt=>{if(h.inputValue=bt.target.value,e.remote)Tn();else return Ot()},tr=bt=>{if(U.value=!1,j.value){const Kt=new FocusEvent("blur",bt);H(Kt)}},cn=()=>(h.isBeforeHide=!1,Vt(()=>{~Wt.value&&qe(h.hoveringIndex)})),qe=bt=>{O.value.scrollToItem(bt)},yt=(bt,Kt)=>{const bn=ot(bt);if(pe.value.has(bn)){const{option:Rn}=pe.value.get(bn);return Rn}if(Kt&&Kt.length){const Rn=Kt.find(Kn=>ot(d(Kn))===bn);if(Rn)return Rn}return{[l.value.value]:bt,[l.value.label]:bt}},Zt=(bt=!1)=>{if(e.multiple)if(e.modelValue.length>0){const Kt=h.cachedOptions.slice();h.cachedOptions.length=0,h.previousValue=e.modelValue.toString();for(const bn of e.modelValue){const Rn=yt(bn,Kt);h.cachedOptions.push(Rn)}}else h.cachedOptions=[],h.previousValue=void 0;else if(J.value){h.previousValue=e.modelValue;const Kt=z.value,bn=Kt.findIndex(Rn=>ot(d(Rn))===ot(e.modelValue));~bn?h.selectedLabel=u(Kt[bn]):(!h.selectedLabel||bt)&&(h.selectedLabel=ot(e.modelValue))}else h.selectedLabel="",h.previousValue=void 0;Je(),Le()};return Ct(()=>e.fitInputWidth,()=>{Le()}),Ct(U,bt=>{bt?(e.persistent||Le(),In("")):(h.inputValue="",h.previousQuery=null,h.isBeforeHide=!0,ut("")),t("visible-change",bt)}),Ct(()=>e.modelValue,(bt,Kt)=>{var bn;(!bt||qt(bt)&&bt.length===0||e.multiple&&!ca(bt.toString(),h.previousValue)||!e.multiple&&ot(bt)!==ot(h.previousValue))&&Zt(!0),!ca(bt,Kt)&&e.validateEvent&&((bn=a?.validate)==null||bn.call(a,"change").catch(Kn=>void 0))},{deep:!0}),Ct(()=>e.options,()=>{const bt=A.value;(!bt||bt&&document.activeElement!==bt)&&Zt()},{deep:!0,flush:"post"}),Ct(()=>z.value,()=>(Le(),O.value&&Vt(O.value.resetScrollTop))),Cs(()=>{h.isBeforeHide||De()}),Cs(()=>{const{valueKey:bt,options:Kt}=e,bn=new Map;for(const Rn of Kt){const Kn=d(Rn);let Fr=Kn;if(ar(Fr)&&(Fr=Yi(Kn,bt)),bn.get(Fr))break;bn.set(Fr,!0)}}),jn(()=>{Zt()}),li(y,gt),li(m,Ke),li(O,at),li(L,at),li(I,St),li(P,He),{inputId:s,collapseTagSize:Ee,currentPlaceholder:Lt,expanded:U,emptyText:ge,popupHeight:re,debounce:Ae,allOptions:G,filteredOptions:z,iconComponent:X,iconReverse:ue,tagStyle:Ne,collapseTagStyle:ht,popperSize:g,dropdownMenuVisible:zt,hasModelValue:J,shouldShowPlaceholder:Rt,selectDisabled:V,selectSize:Re,needStatusIcon:W,showClearBtn:te,states:h,isFocused:j,nsSelect:r,nsInput:o,inputRef:A,menuRef:O,tagMenuRef:I,tooltipRef:b,tagTooltipRef:w,selectRef:y,wrapperRef:L,selectionRef:m,prefixRef:S,suffixRef:k,collapseItemRef:P,popperRef:tn,validateState:me,validateIcon:Me,showTagList:dt,collapseTagList:_t,debouncedOnInputChange:Tn,deleteTag:Qe,getLabel:u,getValue:d,getDisabled:c,getValueKey:ot,handleClear:xt,handleClickOutside:tr,handleDel:Nn,handleEsc:Gt,focus:it,blur:Mt,handleMenuEnter:cn,handleResize:gt,resetSelectionWidth:Ke,updateTooltip:at,updateTagTooltip:St,updateOptions:De,toggleMenu:ct,scrollTo:qe,onInput:Mn,onKeyboardNavigate:sn,onKeyboardSelect:vt,onSelect:tt,onHover:Bt,handleCompositionStart:_,handleCompositionEnd:R,handleCompositionUpdate:N}},xXe=et({name:"ElSelectV2",components:{ElSelectMenu:wXe,ElTag:Ih,ElTooltip:fs,ElIcon:_n},directives:{ClickOutside:Zf},props:JZe,emits:tXe,setup(e,{emit:t}){const n=ee(()=>{const{modelValue:s,multiple:l}=e,u=l?[]:void 0;return qt(s)?l?s:u:l?u:s}),r=CXe(Ur({..._a(e),modelValue:n}),t),{calculatorRef:o,inputStyle:i}=dW();Sr(bW,{props:Ur({..._a(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=lr("el-tag"),s=lr("el-tooltip"),l=lr("el-icon"),u=lr("el-select-menu"),d=R_("click-outside");return an((F(),K("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},[$e(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:nt(()=>[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:Qt(e.toggleMenu,["prevent"])},[e.$slots.prefix?(F(),K("div",{key:0,ref:"prefixRef",class:oe(e.nsSelect.e("prefix"))},[pt(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?pt(e.$slots,"tag",{key:0,data:e.states.cachedOptions,deleteTag:e.deleteTag,selectDisabled:e.selectDisabled},()=>[(F(!0),K(Nt,null,on(e.showTagList,c=>(F(),K("div",{key:e.getValueKey(e.getValue(c)),class:oe(e.nsSelect.e("selected-item"))},[$e(a,{closable:!e.selectDisabled&&!e.getDisabled(c),size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,"disable-transitions":"",style:Jt(e.tagStyle),onClose:f=>e.deleteTag(f,c)},{default:nt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[pt(e.$slots,"label",{label:e.getLabel(c),value:e.getValue(c)},()=>[An(ze(e.getLabel(c)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(F(),mt(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:nt(()=>[x("div",{ref:"collapseItemRef",class:oe(e.nsSelect.e("selected-item"))},[$e(a,{closable:!1,size:e.collapseTagSize,type:e.tagType,effect:e.tagEffect,style:Jt(e.collapseTagStyle),"disable-transitions":""},{default:nt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))}," + "+ze(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:nt(()=>[x("div",{ref:"tagMenuRef",class:oe(e.nsSelect.e("selection"))},[(F(!0),K(Nt,null,on(e.collapseTagList,c=>(F(),K("div",{key:e.getValueKey(e.getValue(c)),class:oe(e.nsSelect.e("selected-item"))},[$e(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:nt(()=>[x("span",{class:oe(e.nsSelect.e("tags-text"))},[pt(e.$slots,"label",{label:e.getLabel(c),value:e.getValue(c)},()=>[An(ze(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)])},[an(x("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":c=>e.states.inputValue=c,style:Jt(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:[Lr(Qt(c=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"]),Lr(Qt(c=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"]),Lr(Qt(e.onKeyboardSelect,["stop","prevent"]),["enter"]),Lr(Qt(e.handleEsc,["stop","prevent"]),["esc"]),Lr(Qt(e.handleDel,["stop"]),["delete"])],onClick:Qt(e.toggleMenu,["stop"])},null,46,["id","onUpdate:modelValue","autocomplete","tabindex","aria-expanded","aria-label","disabled","readonly","name","onInput","onCompositionstart","onCompositionupdate","onCompositionend","onKeydown","onClick"]),[[jr,e.states.inputValue]]),e.filterable?(F(),K("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:oe(e.nsSelect.e("input-calculator")),textContent:ze(e.states.inputValue)},null,10,["textContent"])):xe("v-if",!0)],2),e.shouldShowPlaceholder?(F(),K("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?pt(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[x("span",null,ze(e.currentPlaceholder),1)]):(F(),K("span",{key:1},ze(e.currentPlaceholder),1))],2)):xe("v-if",!0)],2),x("div",{ref:"suffixRef",class:oe(e.nsSelect.e("suffix"))},[e.iconComponent?an((F(),mt(l,{key:0,class:oe([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:nt(()=>[(F(),mt(hr(e.iconComponent)))]),_:1},8,["class"])),[[Ar,!e.showClearBtn]]):xe("v-if",!0),e.showClearBtn&&e.clearIcon?(F(),mt(l,{key:1,class:oe([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.nsSelect.e("clear")]),onClick:Qt(e.handleClear,["prevent","stop"])},{default:nt(()=>[(F(),mt(hr(e.clearIcon)))]),_:1},8,["class","onClick"])):xe("v-if",!0),e.validateState&&e.validateIcon&&e.needStatusIcon?(F(),mt(l,{key:2,class:oe([e.nsInput.e("icon"),e.nsInput.e("validateIcon"),e.nsInput.is("loading",e.validateState==="validating")])},{default:nt(()=>[(F(),mt(hr(e.validateIcon)))]),_:1},8,["class"])):xe("v-if",!0)],2)],10,["onClick"])]),content:nt(()=>[$e(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},Ll({default:nt(c=>[pt(e.$slots,"default",Sl(Bd(c)))]),_:2},[e.$slots.header?{name:"header",fn:nt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","header")),onClick:Qt(()=>{},["stop"])},[pt(e.$slots,"header")],10,["onClick"])])}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:nt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","loading"))},[pt(e.$slots,"loading")],2)])}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:nt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","empty"))},[pt(e.$slots,"empty",{},()=>[x("span",null,ze(e.emptyText),1)])],2)])}:void 0,e.$slots.footer?{name:"footer",fn:nt(()=>[x("div",{class:oe(e.nsSelect.be("dropdown","footer")),onClick:Qt(()=>{},["stop"])},[pt(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=en(xXe,[["render",SXe],["__file","select.vue"]]);const kXe=er(EXe),TXe=Yt({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:lt([Number,Object])}}),_Xe=Yt({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),DXe=et({name:"ElSkeletonItem"}),IXe=et({...DXe,props:_Xe,setup(e){const t=jt("skeleton");return(n,r)=>(F(),K("div",{class:oe([C(t).e("item"),C(t).e(n.variant)])},[n.variant==="image"?(F(),mt(C(wLe),{key:0})):xe("v-if",!0)],2))}});var PE=en(IXe,[["__file","skeleton-item.vue"]]);const OXe=(e,t=0)=>{if(t===0)return e;const n=ar(t)&&!!t.initVal,r=Y(n);let o=null;const i=s=>{if(zr(s)){r.value=e.value;return}o&&clearTimeout(o),o=setTimeout(()=>{r.value=e.value},s)},a=s=>{s==="leading"?Ln(t)?i(t):i(t.leading):ar(t)?i(t.trailing):r.value=!1};return jn(()=>a("leading")),Ct(()=>e.value,s=>{a(s?"leading":"trailing")}),r},MXe=et({name:"ElSkeleton"}),PXe=et({...MXe,props:TXe,setup(e,{expose:t}){const n=e,r=jt("skeleton"),o=OXe(ao(n,"loading"),n.throttle);return t({uiLoading:o}),(i,a)=>C(o)?(F(),K("div",pr({key:0,class:[C(r).b(),C(r).is("animated",i.animated)]},i.$attrs),[(F(!0),K(Nt,null,on(i.count,s=>(F(),K(Nt,{key:s},[C(o)?pt(i.$slots,"template",{key:s},()=>[$e(PE,{class:oe(C(r).is("first")),variant:"p"},null,8,["class"]),(F(!0),K(Nt,null,on(i.rows,l=>(F(),mt(PE,{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)):pt(i.$slots,"default",Sl(pr({key:1},i.$attrs)))}});var NXe=en(PXe,[["__file","skeleton.vue"]]);const RXe=er(NXe,{SkeletonItem:PE}),BXe=vi(PE),Tbe=Symbol("sliderContextKey"),LXe=Yt({modelValue:{type:lt([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:ba,inputSize:ba,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:lt(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:lt(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:mp,default:"top"},marks:{type:lt(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...Es(["ariaLabel"])}),TI=e=>Ln(e)||qt(e)&&e.every(Ln),FXe={[Gn]:TI,[ma]:TI,[Tr]:TI},UXe=Yt({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:mp,default:"top"}}),zXe={[Gn]:e=>Ln(e)},$Xe=(e,t,n)=>{const r=Y(),o=Y(!1),i=ee(()=>t.value instanceof Function),a=ee(()=>i.value&&t.value(e.modelValue)||e.modelValue),s=Fl(()=>{n.value&&(o.value=!0)},50),l=Fl(()=>{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}=un(Tbe),{tooltip:h,tooltipVisible:g,formatValue:y,displayTooltip:m,hideTooltip:b}=$Xe(e,c,s),w=Y(),A=ee(()=>`${(e.modelValue-o.value)/(i.value-o.value)*100}%`),S=ee(()=>e.vertical?{bottom:A.value}:{left:A.value}),k=()=>{t.hovering=!0,m()},O=()=>{t.hovering=!1,t.dragging||b()},I=W=>{r.value||(W.preventDefault(),G(W),window.addEventListener("mousemove",Z),window.addEventListener("touchmove",Z),window.addEventListener("mouseup",z),window.addEventListener("touchend",z),window.addEventListener("contextmenu",z),w.value.focus())},P=W=>{r.value||(t.newPosition=Number.parseFloat(A.value)+W/(i.value-o.value)*100,U(t.newPosition),f())},M=()=>{P(-a.value)},_=()=>{P(a.value)},R=()=>{P(-a.value*4)},N=()=>{P(a.value*4)},V=()=>{r.value||(U(0),f())},L=()=>{r.value||(U(100),f())},j=W=>{let re=!0;switch(W.code){case gn.left:case gn.down:M();break;case gn.right:case gn.up:_();break;case gn.home:V();break;case gn.end:L();break;case gn.pageDown:R();break;case gn.pageUp:N();break;default:re=!1;break}re&&W.preventDefault()},H=W=>{let re,J;return W.type.startsWith("touch")?(J=W.touches[0].clientY,re=W.touches[0].clientX):(J=W.clientY,re=W.clientX),{clientX:re,clientY:J}},G=W=>{t.dragging=!0,t.isClick=!0;const{clientX:re,clientY:J}=H(W);e.vertical?t.startY=J:t.startX=re,t.startPosition=Number.parseFloat(A.value),t.newPosition=t.startPosition},Z=W=>{if(t.dragging){t.isClick=!1,m(),p();let re;const{clientX:J,clientY:te}=H(W);e.vertical?(t.currentY=te,re=(t.startY-t.currentY)/d.value*100):(t.currentX=J,re=(t.currentX-t.startX)/d.value*100),t.newPosition=t.startPosition+re,U(t.newPosition)}},z=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||b(),t.isClick||U(t.newPosition),f()},0),window.removeEventListener("mousemove",Z),window.removeEventListener("touchmove",Z),window.removeEventListener("mouseup",z),window.removeEventListener("touchend",z),window.removeEventListener("contextmenu",z))},U=async W=>{if(W===null||Number.isNaN(+W))return;W<0?W=0:W>100&&(W=100);const re=100/((i.value-o.value)/a.value);let te=Math.round(W/re)*re*(i.value-o.value)*.01+o.value;te=Number.parseFloat(te.toFixed(u.value)),te!==e.modelValue&&n(Gn,te),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await Vt(),t.dragging&&m(),h.value.updatePopper()};return Ct(()=>t.dragging,W=>{v(W)}),Mo(w,"touchstart",I,{passive:!1}),{disabled:r,button:w,tooltip:h,tooltipVisible:g,showTooltip:s,persistent:l,wrapperStyle:S,formatValue:y,handleMouseEnter:k,handleMouseLeave:O,onButtonDown:I,onKeyDown:j,setPosition:U}},HXe=et({name:"ElSliderButton"}),WXe=et({...HXe,props:UXe,emits:zXe,setup(e,{expose:t,emit:n}){const r=e,o=jt("slider"),i=Ur({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}=_a(i);return t({onButtonDown:y,onKeyDown:m,setPosition:b,hovering:w,dragging:A}),(S,k)=>(F(),K("div",{ref_key:"button",ref:l,class:oe([C(o).e("button-wrapper"),{hover:C(w),dragging:C(A)}]),style:Jt(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)},[$e(C(fs),{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:nt(()=>[x("span",null,ze(C(v)),1)]),default:nt(()=>[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=en(WXe,[["__file","button.vue"]]);const VXe=Yt({mark:{type:lt([String,Object]),default:void 0}});var qXe=et({name:"ElSliderMarker",props:VXe,setup(e){const t=jt("slider"),n=ee(()=>Dn(e.mark)?e.mark:e.mark.label),r=ee(()=>Dn(e.mark)?void 0:e.mark.style);return()=>Fn("div",{class:t.e("marks-text"),style:r.value},n.value)}});const GXe=(e,t,n)=>{const{form:r,formItem:o}=ks(),i=Uo(),a=Y(),s=Y(),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 _=i.value.getBoundingClientRect();t.sliderSize=_[e.vertical?"height":"width"]}},y=_=>{const R=e.min+_*(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=_=>{const R=y(_);return R.value.setPosition(_),R},b=_=>{t.firstValue=_??e.min,A(e.range?[d.value,c.value]:_??e.min)},w=_=>{t.secondValue=_,e.range&&A([d.value,c.value])},A=_=>{n(Gn,_),n(ma,_)},S=async()=>{await Vt(),n(Tr,e.range?[d.value,c.value]:e.modelValue)},k=_=>{var R,N,V,L,j,H;if(u.value||t.dragging)return;g();let G=0;if(e.vertical){const Z=(V=(N=(R=_.touches)==null?void 0:R.item(0))==null?void 0:N.clientY)!=null?V:_.clientY;G=(i.value.getBoundingClientRect().bottom-Z)/t.sliderSize*100}else{const Z=(H=(j=(L=_.touches)==null?void 0:L.item(0))==null?void 0:j.clientX)!=null?H:_.clientX,z=i.value.getBoundingClientRect().left;G=(Z-z)/t.sliderSize*100}if(!(G<0||G>100))return m(G)};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:_=>{var R,N;((R=l.firstButton.value)!=null&&R.dragging||(N=l.secondButton.value)!=null&&N.dragging)&&_.preventDefault()},onSliderClick:_=>{k(_)&&S()},onSliderDown:async _=>{const R=k(_);R&&(await Vt(),R.value.onButtonDown(_))},onSliderMarkerDown:_=>{if(u.value||t.dragging)return;m(_)&&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(Gn,u),o(ma,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&&Ji("Slider","min should not be greater than max.");const c=e.modelValue;e.range&&qt(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&&Ln(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(),Ct(()=>t.dragging,u=>{u||l()}),Ct(()=>e.modelValue,(u,d)=>{t.dragging||qt(u)&&qt(d)&&u.every((c,f)=>c===d[f])&&t.firstValue===u[0]&&t.secondValue===u[1]||l()},{deep:!0}),Ct(()=>[e.min,e.max],()=>{l()})},ZXe=(e,t,n)=>{const r=Y();return jn(async()=>{e.range?(qt(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]):(!Ln(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),Mo(window,"resize",n),await Vt(),n()}),{sliderWrapper:r}},XXe=et({name:"ElSlider"}),JXe=et({...XXe,props:LXe,emits:FXe,setup(e,{expose:t,emit:n}){const r=e,o=jt("slider"),{t:i}=Hr(),a=Ur({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:k}=GXe(r,a,n),{stops:O,getStopStyle:I}=KXe(r,a,f,p),{inputId:P,isLabeledByFormItem:M}=ac(r,{formItemContext:s}),_=fa(),R=ee(()=>r.inputSize||_.value),N=ee(()=>r.ariaLabel||i("el.slider.defaultLabel",{min:r.min,max:r.max})),V=ee(()=>r.range?r.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):N.value),L=ee(()=>r.formatValueText?r.formatValueText(W.value):`${W.value}`),j=ee(()=>r.rangeEndLabel||i("el.slider.defaultRangeEndLabel")),H=ee(()=>r.formatValueText?r.formatValueText(re.value):`${re.value}`),G=ee(()=>[o.b(),o.m(_.value),o.is("vertical",r.vertical),{[o.m("with-input")]:r.showInput}]),Z=YXe(r);QXe(r,a,f,p,n,s);const z=ee(()=>{const X=[r.min,r.max,r.step].map(ue=>{const me=`${ue}`.split(".")[1];return me?me.length:0});return Math.max.apply(null,X)}),{sliderWrapper:U}=ZXe(r,a,g),{firstValue:W,secondValue:re,sliderSize:J}=_a(a),te=X=>{a.dragging=X};return Mo(U,"touchstart",m,{passive:!1}),Mo(U,"touchmove",m,{passive:!1}),Sr(Tbe,{..._a(r),sliderSize:J,disabled:c,precision:z,emitChange:y,resetSize:g,updateDragging:te}),t({onSliderClick:b}),(X,ue)=>{var me,Me;return F(),K("div",{id:X.range?C(P):void 0,ref_key:"sliderWrapper",ref:U,class:oe(C(G)),role:X.range?"group":void 0,"aria-label":X.range&&!C(M)?C(N):void 0,"aria-labelledby":X.range&&C(M)?(me=C(s))==null?void 0:me.labelId:void 0},[x("div",{ref_key:"slider",ref:l,class:oe([C(o).e("runway"),{"show-input":X.showInput&&!X.range},C(o).is("disabled",C(c))]),style:Jt(C(v)),onMousedown:C(w),onTouchstartPassive:C(w)},[x("div",{class:oe(C(o).e("bar")),style:Jt(C(h))},null,6),$e(hee,{id:X.range?void 0:C(P),ref_key:"firstButton",ref:u,"model-value":C(W),vertical:X.vertical,"tooltip-class":X.tooltipClass,placement:X.placement,role:"slider","aria-label":X.range||!C(M)?C(V):void 0,"aria-labelledby":!X.range&&C(M)?(Me=C(s))==null?void 0:Me.labelId:void 0,"aria-valuemin":X.min,"aria-valuemax":X.range?C(re):X.max,"aria-valuenow":C(W),"aria-valuetext":C(L),"aria-orientation":X.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"]),X.range?(F(),mt(hee,{key:0,ref_key:"secondButton",ref:d,"model-value":C(re),vertical:X.vertical,"tooltip-class":X.tooltipClass,placement:X.placement,role:"slider","aria-label":C(j),"aria-valuemin":C(W),"aria-valuemax":X.max,"aria-valuenow":C(re),"aria-valuetext":C(H),"aria-orientation":X.vertical?"vertical":"horizontal","aria-disabled":C(c),"onUpdate:modelValue":C(k)},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),X.showStops?(F(),K("div",{key:1},[(F(!0),K(Nt,null,on(C(O),(Ae,ge)=>(F(),K("div",{key:ge,class:oe(C(o).e("stop")),style:Jt(C(I)(Ae))},null,6))),128))])):xe("v-if",!0),C(Z).length>0?(F(),K(Nt,{key:2},[x("div",null,[(F(!0),K(Nt,null,on(C(Z),(Ae,ge)=>(F(),K("div",{key:ge,style:Jt(C(I)(Ae.position)),class:oe([C(o).e("stop"),C(o).e("marks-stop")])},null,6))),128))]),x("div",{class:oe(C(o).e("marks"))},[(F(!0),K(Nt,null,on(C(Z),(Ae,ge)=>(F(),mt(C(qXe),{key:ge,mark:Ae.mark,style:Jt(C(I)(Ae.position)),onMousedown:Qt(_e=>C(A)(Ae.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):xe("v-if",!0)],46,["onMousedown","onTouchstartPassive"]),X.showInput&&!X.range?(F(),mt(C(lbe),{key:0,ref:"input","model-value":C(W),class:oe(C(o).e("input")),step:X.step,disabled:C(c),controls:X.showInputControls,min:X.min,max:X.max,precision:C(z),debounce:X.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=en(JXe,[["__file","slider.vue"]]);const tJe=er(eJe),nJe=Yt({prefixCls:{type:String}}),gee=et({name:"ElSpaceItem",props:nJe,setup(e,{slots:t}){const n=jt("space"),r=ee(()=>`${e.prefixCls||n.b()}__item`);return()=>Fn("div",{class:r.value},pt(t,"default"))}}),vee={small:8,default:12,large:16};function rJe(e){const t=jt("space"),n=ee(()=>[t.b(),t.m(e.direction),e.class]),r=Y(0),o=Y(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 Cs(()=>{const{size:s="small",wrap:l,direction:u,fill:d}=e;if(qt(s)){const[c=0,f=0]=s;r.value=c,o.value=f}else{let c;Ln(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=Yt({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:lt([String,Object,Array]),default:""},style:{type:lt([String,Array,Object]),default:""},alignment:{type:lt(String),default:"center"},prefixCls:{type:String},spacer:{type:lt([Object,String,Number,Array]),default:null,validator:e=>jo(e)||Ln(e)||Dn(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:Yd,validator:e=>Ln(e)||qt(e)&&e.length===2&&e.every(Ln)}}),iJe=et({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)?qt(d.children)&&d.children.forEach((f,p)=>{kL(f)&&qt(f.children)?i(f.children,`${s+p}-`,l):jo(f)&&f?.type===ua?l.push(f):l.push($e(gee,{style:o.value,prefixCls:u,key:`nested-${s+p}`},{default:()=>[f]},_u.PROPS|_u.STYLE,["style","prefixCls"]))}):mje(d)&&l.push($e(gee,{style:o.value,prefixCls:u,key:`LoopKey${s+c}`},{default:()=>[d]},_u.PROPS|_u.STYLE,["style","prefixCls"]))}),l}return()=>{var a;const{spacer:s,direction:l}=e,u=pt(t,"default",{key:0},()=>[]);if(((a=u.children)!=null?a:[]).length===0)return null;if(qt(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($e("span",{style:[o.value,l==="vertical"?"width: 100%":null],key:v},[jo(s)?s:An(s,_u.TEXT)],_u.STYLE)),h},[])}return $e("div",{class:n.value,style:r.value},d,_u.STYLE|_u.CLASS)}return u.children}}}),aJe=er(iJe),sJe=Yt({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:lt([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:lt([String,Object,Array])}}),lJe=et({name:"ElStatistic"}),uJe=et({...lJe,props:sJe,setup(e,{expose:t}){const n=e,r=jt("statistic"),o=ee(()=>{const{value:i,formatter:a,precision:s,decimalSeparator:l,groupSeparator:u}=n;if(Pn(a))return a(i);if(!Ln(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)=>(F(),K("div",{class:oe(C(r).b())},[i.$slots.title||i.title?(F(),K("div",{key:0,class:oe(C(r).e("head"))},[pt(i.$slots,"title",{},()=>[An(ze(i.title),1)])],2)):xe("v-if",!0),x("div",{class:oe(C(r).e("content"))},[i.$slots.prefix||i.prefix?(F(),K("div",{key:0,class:oe(C(r).e("prefix"))},[pt(i.$slots,"prefix",{},()=>[x("span",null,ze(i.prefix),1)])],2)):xe("v-if",!0),x("span",{class:oe(C(r).e("number")),style:Jt(i.valueStyle)},ze(C(o)),7),i.$slots.suffix||i.suffix?(F(),K("div",{key:1,class:oe(C(r).e("suffix"))},[pt(i.$slots,"suffix",{},()=>[x("span",null,ze(i.suffix),1)])],2)):xe("v-if",!0)],2)],2))}});var cJe=en(uJe,[["__file","statistic.vue"]]);const _be=er(cJe),dJe=Yt({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:lt([Number,Object]),default:0},valueStyle:{type:lt([String,Object,Array])}}),fJe={finish:()=>!0,[Tr]:e=>Ln(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=>Ln(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=et({name:"ElCountdown"}),gJe=et({...hJe,props:dJe,emits:fJe,setup(e,{expose:t,emit:n}){const r=e;let o;const i=Y(0),a=ee(()=>yee(i.value,r.format)),s=d=>yee(d,r.format),l=()=>{o&&(_v(o),o=void 0)},u=()=>{const d=mee(r.value),c=()=>{let f=d-Date.now();n(Tr,f),f<=0?(f=0,l(),n("finish")):o=r0(c),i.value=f};o=r0(c)};return jn(()=>{i.value=mee(r.value)-Date.now(),Ct(()=>[r.value,r.format],()=>{l(),u()},{immediate:!0})}),Yr(()=>{l()}),t({displayValue:a}),(d,c)=>(F(),mt(C(_be),{value:i.value,title:d.title,prefix:d.prefix,suffix:d.suffix,"value-style":d.valueStyle,formatter:s},Ll({_:2},[on(d.$slots,(f,p)=>({name:p,fn:nt(()=>[pt(d.$slots,p)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var vJe=en(gJe,[["__file","countdown.vue"]]);const mJe=er(vJe),yJe=Yt({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={[Tr]:(e,t)=>[e,t].every(Ln)},Dbe="ElSteps",wJe=et({name:"ElSteps"}),AJe=et({...wJe,props:yJe,emits:bJe,setup(e,{emit:t}){const n=e,r=jt("steps"),{children:o,addChild:i,removeChild:a,ChildrenSorter:s}=lD(vr(),"ElStep");return Ct(o,()=>{o.value.forEach((l,u)=>{l.setIndex(u)})}),Sr(Dbe,{props:n,steps:o,addStep:i,removeStep:a}),Ct(()=>n.active,(l,u)=>{t(Tr,l,u)}),(l,u)=>(F(),K("div",{class:oe([C(r).b(),C(r).m(l.simple?"simple":l.direction)])},[pt(l.$slots,"default"),$e(C(s))],2))}});var CJe=en(AJe,[["__file","steps.vue"]]);const xJe=Yt({title:{type:String,default:""},icon:{type:vo},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),SJe=et({name:"ElStep"}),EJe=et({...SJe,props:xJe,setup(e){const t=e,n=jt("step"),r=Y(-1),o=Y({}),i=Y(""),a=un(Dbe),s=vr();jn(()=>{Ct([()=>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:Ln(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 k=S==="wait",O={transitionDelay:`${k?"-":""}${150*r.value}ms`},I=S===a.props.processStatus||k?0:100;O.borderWidth=I&&!f.value?"1px":0,O[a.props.direction==="vertical"?"height":"width"]=`${I}%`,o.value=O},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 k=a.steps.value[r.value-1];k&&k.calcProgress(i.value)},A={uid:s.uid,getVnode:()=>s.vnode,currentStatus:l,internalStatus:i,setIndex:m,calcProgress:b};return a.addStep(A),Yr(()=>{a.removeStep(A)}),(S,k)=>(F(),K("div",{style:Jt(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):(F(),K("div",{key:0,class:oe(C(n).e("line"))},[x("i",{class:oe(C(n).e("line-inner")),style:Jt(o.value)},null,6)],2)),x("div",{class:oe([C(n).e("icon"),C(n).is(S.icon||S.$slots.icon?"icon":"text")])},[pt(S.$slots,"icon",{},()=>[S.icon?(F(),mt(C(_n),{key:0,class:oe(C(n).e("icon-inner"))},{default:nt(()=>[(F(),mt(hr(S.icon)))]),_:1},8,["class"])):C(l)==="success"?(F(),mt(C(_n),{key:1,class:oe([C(n).e("icon-inner"),C(n).is("status")])},{default:nt(()=>[$e(C(OC))]),_:1},8,["class"])):C(l)==="error"?(F(),mt(C(_n),{key:2,class:oe([C(n).e("icon-inner"),C(n).is("status")])},{default:nt(()=>[$e(C(cu))]),_:1},8,["class"])):C(f)?xe("v-if",!0):(F(),K("div",{key:3,class:oe(C(n).e("icon-inner"))},ze(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))])},[pt(S.$slots,"title",{},()=>[An(ze(S.title),1)])],2),C(f)?(F(),K("div",{key:0,class:oe(C(n).e("arrow"))},null,2)):(F(),K("div",{key:1,class:oe([C(n).e("description"),C(n).is(C(l))])},[pt(S.$slots,"description",{},()=>[An(ze(S.description),1)])],2))],2)],6))}});var Ibe=en(EJe,[["__file","item.vue"]]);const kJe=er(CJe,{Step:Ibe}),TJe=vi(Ibe),Obe=e=>["",...Yd].includes(e),_Je=Yt({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:vo},activeActionIcon:{type:vo},activeIcon:{type:vo},inactiveIcon:{type:vo},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:lt(Function)},id:String,tabindex:{type:[String,Number]},...Es(["ariaLabel"])}),DJe={[Gn]:e=>Co(e)||Dn(e)||Ln(e),[Tr]:e=>Co(e)||Dn(e)||Ln(e),[ma]:e=>Co(e)||Dn(e)||Ln(e)},Mbe="ElSwitch",IJe=et({name:Mbe}),OJe=et({...IJe,props:_Je,emits:DJe,setup(e,{expose:t,emit:n}){const r=e,{formItem:o}=ks(),i=fa(),a=jt("switch"),{inputId:s}=ac(r,{formItemContext:o}),l=Wa(ee(()=>r.loading)),u=Y(r.modelValue!==!1),d=Y(),c=Y(),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)}));Ct(()=>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(Gn,r.inactiveValue),n(Tr,r.inactiveValue),n(ma,r.inactiveValue)),Ct(y,A=>{var S;d.value.checked=A,r.validateEvent&&((S=o?.validate)==null||S.call(o,"change").catch(k=>void 0))});const m=()=>{const A=y.value?r.inactiveValue:r.activeValue;n(Gn,A),n(Tr,A),n(ma,A),Vt(()=>{d.value.checked=y.value})},b=()=>{if(l.value)return;const{beforeChange:A}=r;if(!A){m();return}const S=A();[Av(S),Co(S)].includes(!0)||Ji(Mbe,"beforeChange must return type `Promise` or `boolean`"),Av(S)?S.then(O=>{O&&m()}).catch(O=>{}):S&&m()},w=()=>{var A,S;(S=(A=d.value)==null?void 0:A.focus)==null||S.call(A)};return jn(()=>{d.value.checked=y.value}),t({focus:w,checked:y}),(A,S)=>(F(),K("div",{class:oe(C(f)),onClick:Qt(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:Lr(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)?(F(),K("span",{key:0,class:oe(C(p))},[A.inactiveIcon?(F(),mt(C(_n),{key:0},{default:nt(()=>[(F(),mt(hr(A.inactiveIcon)))]),_:1})):xe("v-if",!0),!A.inactiveIcon&&A.inactiveText?(F(),K("span",{key:1,"aria-hidden":C(y)},ze(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:Jt(C(h))},[A.inlinePrompt?(F(),K("div",{key:0,class:oe(C(a).e("inner"))},[A.activeIcon||A.inactiveIcon?(F(),mt(C(_n),{key:0,class:oe(C(a).is("icon"))},{default:nt(()=>[(F(),mt(hr(C(y)?A.activeIcon:A.inactiveIcon)))]),_:1},8,["class"])):A.activeText||A.inactiveText?(F(),K("span",{key:1,class:oe(C(a).is("text")),"aria-hidden":!C(y)},ze(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?(F(),mt(C(_n),{key:0,class:oe(C(a).is("loading"))},{default:nt(()=>[$e(C(Bc))]),_:1},8,["class"])):C(y)?pt(A.$slots,"active-action",{key:1},()=>[A.activeActionIcon?(F(),mt(C(_n),{key:0},{default:nt(()=>[(F(),mt(hr(A.activeActionIcon)))]),_:1})):xe("v-if",!0)]):C(y)?xe("v-if",!0):pt(A.$slots,"inactive-action",{key:2},()=>[A.inactiveActionIcon?(F(),mt(C(_n),{key:0},{default:nt(()=>[(F(),mt(hr(A.inactiveActionIcon)))]),_:1})):xe("v-if",!0)])],2)],6),!A.inlinePrompt&&(A.activeIcon||A.activeText)?(F(),K("span",{key:1,class:oe(C(v))},[A.activeIcon?(F(),mt(C(_n),{key:0},{default:nt(()=>[(F(),mt(hr(A.activeIcon)))]),_:1})):xe("v-if",!0),!A.activeIcon&&A.activeText?(F(),K("span",{key:1,"aria-hidden":!C(y)},ze(A.activeText),9,["aria-hidden"])):xe("v-if",!0)],2)):xe("v-if",!0)],10,["onClick"]))}});var MJe=en(OJe,[["__file","switch.vue"]]);const PJe=er(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||qt(o)&&!o.length))return e;Dn(n)?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const i=r?null:function(s,l){return o?Mme(Ka(o),u=>Dn(u)?Yi(s,u):u(s,l,e)):(t!=="$key"&&ar(s)&&"$value"in s&&(s=s.$value),[ar(s)?t?Yi(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(Dn(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(Pn(t))return t.call(null,e);return""},ty=function(e,t,n=!1,r="children"){const o=e||[],i={};return o.forEach((a,s)=>{if(i[bs(a,t)]={row:a,index:s},n){const l=a[r];qt(l)&&Object.assign(i,ty(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(Zr(t,r)){const o=t[r];zr(o)||(n[r]=o)}return n}function xW(e){return e===""||zr(e)||(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function Nbe(e){return e===""||zr(e)||(e=xW(e),Number.isNaN(e)&&(e=80)),e}function LJe(e){return Ln(e)?e:Dn(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 NE(e,t,n,r,o,i,a){let s=i??0,l=!1;const d=(()=>{if(!a)return e.indexOf(t);const h=bs(t,a);return e.findIndex(g=>bs(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&&qt(y)&&(g+=y.length,y.forEach(m=>{g+=v(m)})),g};return(!o||f)&&(Co(n)?n&&!c?p("add"):!n&&c&&p("remove"):p(c?"remove":"add")),!r?.checkStrictly&&r?.children&&qt(t[r.children])&&t[r.children].forEach(h=>{const g=NE(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=>!(qt(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=Pn(r?.tooltipFormatter)?r.tooltipFormatter({row:n,column:r,cellValue:Q4(n,r.property).value}):void 0;return jo(i)?{slotContent:i,content:null,...e,popperOptions:o}:{slotContent:null,content:i??t,...e,popperOptions:o}};let Os=null;function $Je(e,t,n,r,o,i){var a;const s=zJe(e,t,n,r),l={...s,slotContent:void 0};if(Os?.trigger===o){const v=(a=Os.vm)==null?void 0:a.component;Pme(v?.props,l),v&&s.slotContent&&(v.slots.content=()=>[s.slotContent]);return}Os?.();const u=i?.refs.tableWrapper,d=u?.dataset.prefix,c=$e(fs,{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");t0(c,f),c.component.exposed.onOpen();const p=u?.querySelector(`.${d}-scrollbar__wrap`);Os=()=>{var v,h;(h=(v=c.component)==null?void 0:v.exposed)!=null&&h.onClose&&c.component.exposed.onClose(),t0(null,f);const g=Os;p?.removeEventListener("scroll",g),g.trigger=void 0,g.vm=void 0,Os=null},Os.trigger=o??void 0,Os.vm=c,p?.addEventListener("scroll",Os)}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+(_C(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},Fy=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function jJe(e){const t=vr(),n=Y(!1),r=Y([]);return{updateExpandRows:()=>{const l=e.data.value||[],u=e.rowKey.value;if(n.value)r.value=l.slice();else if(u){const d=ty(r.value,u);r.value=l.reduce((c,f)=>{const p=bs(f,u);return d[p]&&c.push(f),c},[])}else r.value=[]},toggleRowExpansion:(l,u)=>{NE(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=ty(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?!!ty(r.value,u)[bs(l,u)]:r.value.includes(l)},states:{expandRows:r,defaultExpandAll:n}}}function HJe(e){const t=vr(),n=Y(null),r=Y(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=>bs(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=bs(c,u);a(f)}else r.value=null;_C(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=Y([]),n=Y({}),r=Y(16),o=Y(!1),i=Y({}),a=Y("hasChildren"),s=Y("children"),l=Y(!1),u=vr(),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(k=>{if(i.value[k].length){const O={children:[]};i.value[k].forEach(I=>{const P=bs(I,w);O.children.push(P),I[a.value]&&!S[P]&&(S[P]={children:[]})}),S[k]=O}}),S}),f=w=>{const A=e.rowKey.value,S={};return UJe(w,(k,O,I)=>{const P=bs(k,A);qt(O)?S[P]={children:O.map(M=>bs(M,A)),level:I}:o.value&&(S[P]={children:[],lazy:!0,level:I})},s.value,a.value,o.value),S},p=(w=!1,A)=>{var S,k;A||(A=(S=u.store)==null?void 0:S.states.defaultExpandAll.value);const O=d.value,I=c.value,P=Object.keys(O),M={};if(P.length){const _=C(n),R=[],N=(L,j)=>{if(w)return t.value?A||t.value.includes(j):!!(A||L?.expanded);{const H=A||t.value&&t.value.includes(j);return!!(L?.expanded||H)}};P.forEach(L=>{const j=_[L],H={...O[L]};if(H.expanded=N(j,L),H.lazy){const{loaded:G=!1,loading:Z=!1}=j||{};H.loaded=!!G,H.loading=!!Z,R.push(L)}M[L]=H});const V=Object.keys(I);o.value&&V.length&&R.length&&V.forEach(L=>{var j;const H=_[L],G=I[L].children;if(R.includes(L)){if(((j=M[L].children)==null?void 0:j.length)!==0)throw new Error("[ElTable]children must be an empty array.");M[L].children=G}else{const{loaded:Z=!1,loading:z=!1}=H||{};M[L]={lazy:!0,loaded:!!Z,loading:!!z,expanded:N(H,L),children:G,level:void 0}}})}n.value=M,(k=u.store)==null||k.updateTableScrollY()};Ct(()=>t.value,()=>{p(!0)}),Ct(()=>d.value,()=>{p()}),Ct(()=>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,k=bs(w,S),O=k&&n.value[k];if(k&&O&&"expanded"in O){const I=O.expanded;A=zr(A)?!O.expanded:A,n.value[k].expanded=A,I!==A&&u.emit("expand-change",w,A),h(O)&&m(w,k,O),u.store.updateTableScrollY()}},y=w=>{u.store.assertRowKey();const A=e.rowKey.value,S=bs(w,A),k=n.value[S];h(k)?m(w,S,k):g(w,void 0)},m=(w,A,S)=>{const{load:k}=u.props;k&&!n.value[A].loaded&&(n.value[A].loading=!0,k(w,S,O=>{if(!qt(O))throw new TypeError("[ElTable] data must be an array");n.value[A].loading=!1,n.value[A].loaded=!0,n.value[A].expanded=!0,O.length&&(i.value[A]=O),u.emit("expand-change",w,!0)}))};return{loadData:m,loadOrToggle:y,toggleTreeExpansion:g,updateTreeExpandKeys:v,updateTreeData:p,updateKeyChildren:(w,A)=>{const{lazy:S,rowKey:k}=u.props;if(S){if(!k)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||Dn(n.sortable)?e:NJe(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},BS=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,BS(n.children)):t.push(n)}),t};function qJe(){var e;const t=vr(),{size:n}=_a((e=t.proxy)==null?void 0:e.$props),r=Y(null),o=Y([]),i=Y([]),a=Y(!1),s=Y([]),l=Y([]),u=Y([]),d=Y([]),c=Y([]),f=Y([]),p=Y([]),v=Y([]),h=[],g=Y(0),y=Y(0),m=Y(0),b=Y(!1),w=Y([]),A=Y(!1),S=Y(!1),k=Y(null),O=Y({}),I=Y(null),P=Y(null),M=Y(null),_=Y(null),R=Y(null),N=ee(()=>r.value?ty(w.value,r.value):void 0);Ct(o,()=>{var zt;t.state&&(H(!1),t.props.tableLayout==="auto"&&((zt=t.refs.tableHeaderRef)==null||zt.updateFixedColumnStyle()))},{deep:!0});const V=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},L=zt=>{var dt;(dt=zt.children)==null||dt.forEach(_t=>{_t.fixed=zt.fixed,L(_t)})},j=()=>{s.value.forEach(Je=>{L(Je)}),d.value=s.value.filter(Je=>[!0,"left"].includes(Je.fixed));const zt=s.value.find(Je=>Je.type==="selection");let dt;zt&&zt.fixed!=="right"&&!d.value.includes(zt)&&s.value.indexOf(zt)===0&&d.value.length&&(d.value.unshift(zt),dt=!0),c.value=s.value.filter(Je=>Je.fixed==="right");const _t=s.value.filter(Je=>(dt?Je.type!=="selection":!0)&&!Je.fixed);l.value=Array.from(d.value).concat(_t).concat(c.value);const ut=BS(_t),rt=BS(d.value),he=BS(c.value);g.value=ut.length,y.value=rt.length,m.value=he.length,u.value=Array.from(rt).concat(ut).concat(he),a.value=d.value.length>0||c.value.length>0},H=(zt,dt=!1)=>{zt&&j(),dt?t.state.doLayout():t.state.debouncedUpdateLayout()},G=zt=>N.value?!!N.value[bs(zt,r.value)]:w.value.includes(zt),Z=()=>{b.value=!1;const zt=w.value;w.value=[],zt.length&&t.emit("selection-change",[])},z=()=>{var zt,dt;let _t;if(r.value){_t=[];const ut=(dt=(zt=t?.store)==null?void 0:zt.states)==null?void 0:dt.childrenColumnName.value,rt=ty(o.value,r.value,!0,ut);for(const he in N.value)Zr(N.value,he)&&!rt[he]&&_t.push(N.value[he].row)}else _t=w.value.filter(ut=>!o.value.includes(ut));if(_t.length){const ut=w.value.filter(rt=>!_t.includes(rt));w.value=ut,t.emit("selection-change",ut.slice())}},U=()=>(w.value||[]).slice(),W=(zt,dt,_t=!0,ut=!1)=>{var rt,he,Je,ct;const Ot={children:(he=(rt=t?.store)==null?void 0:rt.states)==null?void 0:he.childrenColumnName.value,checkStrictly:(ct=(Je=t?.store)==null?void 0:Je.states)==null?void 0:ct.checkStrictly.value};if(NE(w.value,zt,dt,Ot,ut?void 0:k.value,o.value.indexOf(zt),r.value)){const In=(w.value||[]).slice();_t&&t.emit("select",In,zt),t.emit("selection-change",In)}},re=()=>{var zt,dt;const _t=S.value?!b.value:!(b.value||w.value.length);b.value=_t;let ut=!1,rt=0;const he=(dt=(zt=t?.store)==null?void 0:zt.states)==null?void 0:dt.rowKey.value,{childrenColumnName:Je}=t.store.states,ct={children:Je.value,checkStrictly:!1};o.value.forEach((Ot,Tn)=>{const In=Tn+rt;NE(w.value,Ot,_t,ct,k.value,In,he)&&(ut=!0),rt+=te(bs(Ot,he))}),ut&&t.emit("selection-change",w.value?w.value.slice():[]),t.emit("select-all",(w.value||[]).slice())},J=()=>{var zt;if(((zt=o.value)==null?void 0:zt.length)===0){b.value=!1;return}const{childrenColumnName:dt}=t.store.states;let _t=0,ut=0;const rt=Je=>{var ct;for(const Ot of Je){const Tn=k.value&&k.value.call(null,Ot,_t);if(G(Ot))ut++;else if(!k.value||Tn)return!1;if(_t++,(ct=Ot[dt.value])!=null&&ct.length&&!rt(Ot[dt.value]))return!1}return!0},he=rt(o.value||[]);b.value=ut===0?!1:he},te=zt=>{var dt;if(!t||!t.store)return 0;const{treeData:_t}=t.store.states;let ut=0;const rt=(dt=_t.value[zt])==null?void 0:dt.children;return rt&&(ut+=rt.length,rt.forEach(he=>{ut+=te(he)})),ut},X=(zt,dt)=>{const _t={};return Ka(zt).forEach(ut=>{O.value[ut.id]=dt,_t[ut.columnKey||ut.id]=dt}),_t},ue=(zt,dt,_t)=>{P.value&&P.value!==zt&&(P.value.order=null),P.value=zt,M.value=dt,_.value=_t},me=()=>{let zt=C(i);Object.keys(O.value).forEach(dt=>{const _t=O.value[dt];if(!_t||_t.length===0)return;const ut=Pbe({columns:u.value},dt);ut&&ut.filterMethod&&(zt=zt.filter(rt=>_t.some(he=>ut.filterMethod.call(null,he,rt,ut))))}),I.value=zt},Me=()=>{var zt;o.value=VJe((zt=I.value)!=null?zt:[],{sortingColumn:P.value,sortProp:M.value,sortOrder:_.value})},Ae=(zt=void 0)=>{zt?.filter||me(),Me()},ge=zt=>{const{tableHeaderRef:dt}=t.refs;if(!dt)return;const _t=Object.assign({},dt.filterPanels),ut=Object.keys(_t);if(ut.length)if(Dn(zt)&&(zt=[zt]),qt(zt)){const rt=zt.map(he=>RJe({columns:u.value},he));ut.forEach(he=>{const Je=rt.find(ct=>ct.id===he);Je&&(Je.filteredValue=[])}),t.store.commit("filterChange",{column:rt,values:[],silent:!0,multi:!0})}else ut.forEach(rt=>{const he=u.value.find(Je=>Je.id===rt);he&&(he.filteredValue=[])}),O.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},_e=()=>{P.value&&(ue(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Q,toggleRowExpansion:be,updateExpandRows:De,states:pe,isRowExpanded:ie}=jJe({data:o,rowKey:r}),{updateTreeExpandKeys:ce,toggleTreeExpansion:Re,updateTreeData:Ee,updateKeyChildren:Le,loadOrToggle:Fe,states:Pe}=WJe({data:o,rowKey:r}),{updateCurrentRowData:Ne,updateCurrentRow:ht,setCurrentRowKey:Rt,states:Lt}=HJe({data:o,rowKey:r});return{assertRowKey:V,updateColumns:j,scheduleLayout:H,isSelected:G,clearSelection:Z,cleanSelection:z,getSelectionRows:U,toggleRowSelection:W,_toggleAllSelection:re,toggleAllSelection:null,updateAllSelected:J,updateFilters:X,updateCurrentRow:ht,updateSort:ue,execFilter:me,execSort:Me,execQuery:Ae,clearFilter:ge,clearSort:_e,toggleRowExpansion:be,setExpandRowKeysAdapter:zt=>{Q(zt),ce(zt)},setCurrentRowKey:Rt,toggleRowExpansionAdapter:(zt,dt)=>{u.value.some(({type:ut})=>ut==="expand")?be(zt,dt):Re(zt,dt)},isRowExpanded:ie,updateExpandRows:De,updateCurrentRowData:Ne,loadOrToggle:Fe,updateTreeData:Ee,updateKeyChildren:Le,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:k,filters:O,filteredData:I,sortingColumn:P,sortProp:M,sortOrder:_,hoverRow:R,...pe,...Pe,...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=vr(),t=qJe();return{ns:jt("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),Vt(()=>{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);_C(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(){Vt(()=>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=Fl(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=>{Ct(()=>Fbe(t,n),r=>{Lbe(r,n,e)})})}function Lbe(e,t,n){let r=e,o=kW[t];ar(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=Y(null),this.scrollX=Y(!1),this.scrollY=Y(!1),this.bodyWidth=Y(null),this.fixedWidth=Y(null),this.rightFixedWidth=Y(null),this.gutterWidth=0;for(const n in t)Zr(t,n)&&(Ro(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(_C(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(!Kr)return;const r=this.table.vnode.el;if(t=LJe(t),this.height.value=Number(t),!r&&(t||t===0)){Vt(()=>this.setHeight(t,n));return}r&&Ln(t)?(r.style[n]=`${t}px`,this.updateElsHeight()):r&&Dn(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(!Kr)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=>!Ln(u.width));if(i.forEach(u=>{Ln(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}=Yu,XJe=et({name:"ElTableFilterPanel",components:{ElCheckbox:Yu,ElCheckboxGroup:ZJe,ElScrollbar:Lc,ElTooltip:fs,ElIcon:_n,ArrowDown:Kc,ArrowUp:nD},directives:{ClickOutside:Zf},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:oi.appendTo},setup(e){const t=vr(),{t:n}=Hr(),r=jt("table-filter"),o=t?.parent;e.column&&!o.filterPanels.value[e.column.id]&&(o.filterPanels.value[e.column.id]=t);const i=Y(!1),a=Y(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&&(Il(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,Il(A)?b([]):b(d.value),p()},b=A=>{var S,k;(S=e.store)==null||S.commit("filterChange",{column:e.column,values:A}),(k=e.store)==null||k.updateAllSelected()};Ct(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:Il,isActive:f,t:n,ns:r,showFilterPanel:v,hideFilterPanel:h,popperPaneRef:w,tooltip:a}}});function JJe(e,t,n,r,o,i){const a=lr("el-checkbox"),s=lr("el-checkbox-group"),l=lr("el-scrollbar"),u=lr("arrow-up"),d=lr("arrow-down"),c=lr("el-icon"),f=lr("el-tooltip"),p=R_("click-outside");return F(),mt(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:nt(()=>[e.multiple?(F(),K("div",{key:0},[x("div",{class:oe(e.ns.e("content"))},[$e(l,{"wrap-class":e.ns.e("wrap")},{default:nt(()=>[$e(s,{modelValue:e.filteredValue,"onUpdate:modelValue":v=>e.filteredValue=v,class:oe(e.ns.e("checkbox-group"))},{default:nt(()=>[(F(!0),K(Nt,null,on(e.filters,v=>(F(),mt(a,{key:v.value,value:v.value},{default:nt(()=>[An(ze(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},ze(e.t("el.table.confirmFilter")),11,["disabled","onClick"]),x("button",{type:"button",onClick:e.handleReset},ze(e.t("el.table.resetFilter")),9,["onClick"])],2)])):(F(),K("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)},ze(e.t("el.table.clearFilter")),11,["onClick"]),(F(!0),K(Nt,null,on(e.filters,v=>(F(),K("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)},ze(v.text),11,["label","onClick"]))),128))],2))]),default:nt(()=>[an((F(),K("span",{class:oe([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:e.showFilterPanel},[$e(c,null,{default:nt(()=>[pt(e.$slots,"filter-icon",{},()=>{var v;return[(v=e.column)!=null&&v.filterOpened?(F(),mt(u,{key:0})):(F(),mt(d,{key:1}))]})]),_:3})],10,["onClick"])),[[p,e.hideFilterPanel,e.popperPaneRef]])]),_:3},8,["visible","placement","popper-class","append-to"])}var eet=en(XJe,[["render",JJe],["__file","filter-panel.vue"]]);function TW(e){const t=vr();N_(()=>{n.value.addObserver(t)}),jn(()=>{r(n.value),o(n.value)}),Wc(()=>{r(n.value),o(n.value)}),hl(()=>{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=Y(null),l=Y(!1),u=Y(),d=(h,g)=>{var y,m;if(Kr&&!(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}`),k=S.getBoundingClientRect(),O=k.left-A+30;Nu(S,"noclick"),u.value={startMouseLeft:h.clientX,startLeft:k.right-A,startColumnLeft:k.left-A,tableLeft:A};const I=b?.refs.resizeProxy;I.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const P=_=>{const R=_.clientX-u.value.startMouseLeft,N=u.value.startLeft+R;I.style.left=`${Math.max(O,N)}px`},M=()=>{if(l.value){const{startColumnLeft:_,startLeft:R}=u.value,V=Number.parseInt(I.style.left,10)-_;g.width=g.realWidth=V,b?.emit("header-dragend",g.width,R-_,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",P),document.removeEventListener("mouseup",M),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{$s(S,"noclick")},0)};document.addEventListener("mousemove",P),document.addEventListener("mouseup",M)}},c=(h,g)=>{var y;if(g.children&&g.children.length>0)return;const m=h.target;if(!al(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,k=e.allowDragLastColumn||!S;w.width>12&&w.right-h.clientX<8&&k?(A.cursor="col-resize",El(b,"is-sortable")&&(b.style.cursor="col-resize"),s.value=g):l.value||(A.cursor="",El(b,"is-sortable")&&(b.style.cursor="pointer"),s.value=null)}},f=()=>{Kr&&(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&&El(w,"noclick")){$s(w,"noclick");return}if(!g.sortable)return;const A=h.currentTarget;if(["ascending","descending"].some(P=>El(A,P)&&!g.sortOrders.includes(P)))return;const S=e.store.states;let k=S.sortProp.value,O;const I=S.sortingColumn.value;(I!==g||I===g&&_C(I.order))&&(I&&(I.order=null),S.sortingColumn.value=g,k=g.property),b?O=g.order=b:O=g.order=null,S.sortProp.value=k,S.sortOrder.value=O,r?.store.commit("changeSortCondition")};return{handleHeaderClick:i,handleHeaderContextMenu:a,handleMouseDown:d,handleMouseMove:c,handleMouseOut:f,handleSortClick:v,handleFilterClick:o}}function net(e){const t=un(Qc),n=jt("table");return{getHeaderRowStyle:s=>{const l=t?.props.headerRowStyle;return Pn(l)?l.call(null,{rowIndex:s}):l},getHeaderRowClass:s=>{const l=[],u=t?.props.headerRowClassName;return Dn(u)?l.push(u):Pn(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:{};Pn(f)&&(f=f.call(null,{rowIndex:s,columnIndex:l,row:u,column:d}));const p=EW(l,d.fixed,e.store,u);return Fy(p,"left"),Fy(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 Dn(p)?f.push(p):Pn(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=un(Qc),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=et({name:"ElTableHeader",components:{ElCheckbox:Yu},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=vr(),r=un(Qc),o=jt("table"),i=Y({}),{onColumnsChange:a,onScrollableChange:s}=TW(r),l=r?.props.tableLayout==="auto",u=Ur(new Map),d=Y();let c;const f=()=>{c=setTimeout(()=>{u.size>0&&(u.forEach((M,_)=>{const R=d.value.querySelector(`.${_.replace(/\s/g,".")}`);if(R){const N=R.getBoundingClientRect().width;M.width=N||M.width}}),u.clear())})};Ct(u,f),Yr(()=>{c&&(clearTimeout(c),c=void 0)}),jn(async()=>{await Vt(),await Vt();const{prop:M,order:_}=e.defaultSort;r?.store.commit("sort",{prop:M,order:_,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:k}=net(e),{isGroup:O,toggleAllSelection:I,columnRows:P}=ret(e);return n.state={onColumnsChange:a,onScrollableChange:s},n.filterPanels=i,{ns:o,filterPanels:i,onColumnsChange:a,onScrollableChange:s,columnRows:P,getHeaderRowClass:A,getHeaderRowStyle:w,getHeaderCellClass:k,getHeaderCellStyle:S,handleHeaderClick:p,handleHeaderContextMenu:v,handleMouseDown:h,handleMouseMove:g,handleMouseOut:y,handleSortClick:m,handleFilterClick:b,isGroup:O,toggleAllSelection:I,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 Fn("thead",{ref:"theadRef",class:{[e.is("group")]:t}},n.map((m,b)=>Fn("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),Fn("th",{class:S,colspan:w.colSpan,key:`${w.id}-thead`,rowspan:w.rowSpan,style:r(b,A,m,w),onClick:k=>{var O;(O=k.currentTarget)!=null&&O.classList.contains("noclick")||s(k,w)},onContextmenu:k=>l(k,w),onMousedown:k=>u(k,w),onMousemove:k=>d(k,w),onMouseout:f},[Fn("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&&Fn("span",{onClick:k=>c(k,w),class:"caret-wrapper"},[Fn("i",{onClick:k=>c(k,w,"ascending"),class:"sort-caret ascending"}),Fn("i",{onClick:k=>c(k,w,"descending"),class:"sort-caret descending"})]),w.filterable&&Fn(eet,{store:p,placement:w.filterPlacement||"bottom-start",appendTo:v?.appendFilterPanelTo,column:w,upDataColumn:(k,O)=>{w[k]=O}},{"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=un(Qc),n=Y(""),r=Y(Fn("div")),o=(v,h,g)=>{var y,m,b;const w=t,A=_I(v);let S=null;const k=(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,k),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=Fl(v=>{var h;(h=e.store)==null||h.commit("setHoverRow",v)},30),u=Fl(()=>{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,k,O;if(!t)return;const I=t,P=_I(v),M=(y=I?.vnode.el)==null?void 0:y.dataset.prefix;let _=null;if(P){if(_=bee({columns:(b=(m=e.store)==null?void 0:m.states.columns.value)!=null?b:[]},P,M),!_)return;P.rowSpan>1&&c(P.rowSpan,v,Nu);const J=I.hoverState={cell:P,column:_,row:h};I?.emit("cell-mouse-enter",J.row,J.column,J.cell,v)}if(!g){((w=Os)==null?void 0:w.trigger)===P&&((A=Os)==null||A());return}const R=v.target.querySelector(".cell");if(!(El(R,`${M}-tooltip`)&&R.childNodes.length))return;const N=document.createRange();N.setStart(R,0),N.setEnd(R,R.childNodes.length);const{width:V,height:L}=N.getBoundingClientRect(),{width:j,height:H}=R.getBoundingClientRect(),{top:G,left:Z,right:z,bottom:U}=d(R),W=Z+z,re=G+U;DI(V+W,j)||DI(L+re,H)||DI(R.scrollWidth,j)?$Je(g,(S=P?.innerText||P?.textContent)!=null?S:"",h,_,P,I):((k=Os)==null?void 0:k.trigger)===P&&((O=Os)==null||O())},handleCellMouseLeave:v=>{const h=_I(v);if(!h)return;h.rowSpan>1&&c(h.rowSpan,v,$s);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=un(Qc),n=jt("table");return{getRowStyle:(u,d)=>{const c=t?.props.rowStyle;return Pn(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 Dn(p)?f.push(p):Pn(p)&&f.push(p.call(null,{row:u,rowIndex:d})),f},getCellStyle:(u,d,c,f)=>{const p=t?.props.cellStyle;let v=p??{};Pn(p)&&(v=p.call(null,{rowIndex:u,columnIndex:d,row:c,column:f}));const h=EW(d,e?.fixed,e.store);return Fy(h,"left"),Fy(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 Dn(g)?h.push(g):Pn(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(Pn(h)){const g=h({row:u,column:d,rowIndex:c,columnIndex:f});qt(g)?(p=g[0],v=g[1]):ar(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=et({name:"TableTdWrapper"}),uet=et({...set,props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(e){return(t,n)=>(F(),K("td",{colspan:e.colspan,rowspan:e.rowspan},[pt(t.$slots,"default")],8,["colspan","rowspan"]))}});var cet=en(uet,[["__file","td-wrapper.vue"]]);function det(e){const t=un(Qc),n=jt("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 k;return(k=e.store)==null?void 0:k.states.columns.value.findIndex(({type:O})=>O==="default")}),b=(k,O)=>{var I;const P=(I=t?.props)==null?void 0:I.rowKey;return P?bs(k,P):O},w=(k,O,I,P=!1)=>{const{tooltipEffect:M,tooltipOptions:_,store:R}=e,{indent:N,columns:V}=R.states,L=p(k,O);let j=!0;return I&&(L.push(n.em("row",`level-${I.level}`)),j=!!I.display),Fn("tr",{style:[j?null:{display:"none"},f(k,O)],class:L,key:b(k,O),onDblclick:G=>r(G,k),onClick:G=>o(G,k),onContextmenu:G=>i(G,k),onMouseenter:()=>a(O),onMouseleave:s},V.value.map((G,Z)=>{const{rowspan:z,colspan:U}=g(k,G,O,Z);if(!z||!U)return null;const W=Object.assign({},G);W.realWidth=y(V.value,U,Z);const re={store:R,_self:e.context||t,column:W,row:k,$index:O,cellIndex:Z,expanded:P};Z===m.value&&I&&(re.treeNode={indent:I.level&&I.level*N.value,level:I.level},Co(I.expanded)&&(re.treeNode.expanded=I.expanded,"loading"in I&&(re.treeNode.loading=I.loading),"noLazyChildren"in I&&(re.treeNode.noLazyChildren=I.noLazyChildren)));const J=`${b(k,O)},${Z}`,te=W.columnKey||W.rawColumnKey||"",X=G.showOverflowTooltip&&Pme({effect:M},_,G.showOverflowTooltip);return Fn(cet,{style:v(O,Z,k,G),class:h(O,Z,k,G,U-1),key:`${te}${J}`,rowspan:z,colspan:U,onMouseenter:ue=>l(ue,k,X),onMouseleave:u},{default:()=>A(Z,G,re)})}))},A=(k,O,I)=>O.renderCell(I);return{wrappedRowRender:(k,O)=>{const I=e.store,{isRowExpanded:P,assertRowKey:M}=I,{treeData:_,lazyTreeNodeMap:R,childrenColumnName:N,rowKey:V}=I.states,L=I.states.columns.value;if(L.some(({type:H})=>H==="expand")){const H=P(k),G=w(k,O,void 0,H),Z=t?.renderExpanded;if(!Z)return console.error("[Element Error]renderExpanded is required."),G;const z=[[G]];return(t.props.preserveExpandedContent||H)&&z[0].push(Fn("tr",{key:`expanded-row__${G.key}`,style:{display:H?"":"none"}},[Fn("td",{colspan:L.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[Z({row:k,$index:O,store:I,expanded:H})])])),z}else if(Object.keys(_.value).length){M();const H=bs(k,V.value);let G=_.value[H],Z=null;G&&(Z={expanded:G.expanded,level:G.level,display:!0,noLazyChildren:void 0,loading:void 0},Co(G.lazy)&&(Z&&Co(G.loaded)&&G.loaded&&(Z.noLazyChildren=!(G.children&&G.children.length)),Z.loading=G.loading));const z=[w(k,O,Z??void 0)];if(G){let U=0;const W=(J,te)=>{J&&J.length&&te&&J.forEach(X=>{const ue={display:te.display&&te.expanded,level:te.level+1,expanded:!1,noLazyChildren:!1,loading:!1},me=bs(X,V.value);if(Il(me))throw new Error("For nested data item, row-key is required.");if(G={..._.value[me]},G&&(ue.expanded=G.expanded,G.level=G.level||ue.level,G.display=!!(G.expanded&&ue.display),Co(G.lazy)&&(Co(G.loaded)&&G.loaded&&(ue.noLazyChildren=!(G.children&&G.children.length)),ue.loading=G.loading)),U++,z.push(w(X,O+U,ue)),G){const Me=R.value[me]||X[N.value];W(Me,G)}})};G.display=!0;const re=R.value[H]||k[N.value];W(re,G)}return z}else return w(k,O,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=et({name:"ElTableBody",props:fet,setup(e){var t;const n=vr(),r=un(Qc),o=jt("table"),{wrappedRowRender:i,tooltipContent:a,tooltipTrigger:s}=det(e),{onColumnsChange:l,onScrollableChange:u}=TW(r),d=[];return Ct((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,k)=>{var O,I;return((O=m[k])==null?void 0:O.colSpan)>1&&(b=(I=m[k])==null?void 0:I.colSpan),S.nodeName!=="TD"&&b===0&&A.push(k),b>0&&b--,A},[]).forEach(A=>{var S;for(y=c;y>0;){const k=(S=g[y-1])==null?void 0:S.childNodes;if(k[A]&&k[A].nodeName==="TD"&&k[A].rowSpan>1){Nu(k[A],"hover-cell"),d.push(k[A]);break}y--}})}else d.forEach(b=>$s(b,"hover-cell")),d.length=0;!((v=e.store)!=null&&v.states.isComplex.value)||!Kr||r0(()=>{const b=g[f],w=g[c];b&&!b.classList.contains("hover-fixed-row")&&$s(b,"hover-row"),w&&Nu(w,"hover-row")})}),hl(()=>{var c;(c=Os)==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 Fn("tbody",{tabIndex:-1},[n.reduce((r,o)=>r.concat(e(o,r.length)),[])])}});function het(){const e=un(Qc),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=jt("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 Fy(s,"left"),Fy(s,"right"),s},columns:t}}var vet=et({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=un(Qc),n=jt("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)}),Fn(Fn("tfoot",[Fn("tr",{},[...e.map((s,l)=>Fn("td",{key:l,colspan:s.colSpan,rowspan:s.rowSpan,class:n(e,l),style:t(s,l)},[Fn("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=Y(!1),i=Y(null),a=Y(!1),s=j=>{a.value=j},l=Y({width:null,height:null,headerHeight:null}),u=Y(!1),d={display:"inline-block",verticalAlign:"middle"},c=Y(),f=Y(0),p=Y(0),v=Y(0),h=Y(0),g=Y(0);Cs(()=>{var j;t.setHeight((j=e.height)!=null?j:null)}),Cs(()=>{var j;t.setMaxHeight((j=e.maxHeight)!=null?j:null)}),Ct(()=>[e.currentRowKey,n.states.rowKey],([j,H])=>{!C(H)||!C(j)||n.setCurrentRowKey(`${j}`)},{immediate:!0}),Ct(()=>e.data,j=>{r.store.commit("setData",j)},{immediate:!0,deep:!0}),Cs(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const y=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},m=(j,H)=>{const{pixelX:G,pixelY:Z}=H;Math.abs(G)>=Math.abs(Z)&&(r.refs.bodyWrapper.scrollLeft+=H.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(I)};jn(async()=>{await Vt(),n.updateColumns(),P(),requestAnimationFrame(A);const j=r.vnode.el,H=r.refs.headerWrapper;e.flexible&&j&&j.parentElement&&(j.parentElement.style.minWidth="0"),l.value={width:c.value=j.offsetWidth,height:j.offsetHeight,headerHeight:e.showHeader&&H?H.offsetHeight:null},n.states.columns.value.forEach(G=>{G.filteredValue&&G.filteredValue.length&&r.store.commit("filterChange",{column:G,values:G.filteredValue,silent:!0})}),r.$ready=!0});const S=(j,H)=>{if(!j)return;const G=Array.from(j.classList).filter(Z=>!Z.startsWith("is-scrolling-"));G.push(t.scrollX.value?H:"is-scrolling-none"),j.className=G.join(" ")},k=j=>{const{tableWrapper:H}=r.refs;S(H,j)},O=j=>{const{tableWrapper:H}=r.refs;return!!(H&&H.classList.contains(j))},I=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const re="is-scrolling-none";O(re)||k(re);return}const j=r.refs.scrollBarRef.wrapRef;if(!j)return;const{scrollLeft:H,offsetWidth:G,scrollWidth:Z}=j,{headerWrapper:z,footerWrapper:U}=r.refs;z&&(z.scrollLeft=H),U&&(U.scrollLeft=H);const W=Z-G-1;H>=W?k("is-scrolling-right"):k(H===0?"is-scrolling-left":"is-scrolling-middle")},P=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&Mo(r.refs.scrollBarRef.wrapRef,"scroll",I,{passive:!0}),e.fit?li(r.vnode.el,M):Mo(window,"resize",M),li(r.refs.bodyWrapper,()=>{var j,H;M(),(H=(j=r.refs)==null?void 0:j.scrollBarRef)==null||H.update()}))},M=()=>{var j,H,G,Z;const z=r.vnode.el;if(!r.$ready||!z)return;let U=!1;const{width:W,height:re,headerHeight:J}=l.value,te=c.value=z.offsetWidth;W!==te&&(U=!0);const X=z.offsetHeight;(e.height||b.value)&&re!==X&&(U=!0);const ue=e.tableLayout==="fixed"?r.refs.headerWrapper:(j=r.refs.tableHeaderRef)==null?void 0:j.$el;e.showHeader&&ue?.offsetHeight!==J&&(U=!0),f.value=((H=r.refs.tableWrapper)==null?void 0:H.scrollHeight)||0,v.value=ue?.scrollHeight||0,h.value=((G=r.refs.footerWrapper)==null?void 0:G.offsetHeight)||0,g.value=((Z=r.refs.appendWrapper)==null?void 0:Z.offsetHeight)||0,p.value=f.value-v.value-h.value-g.value,U&&(l.value={width:te,height:X,headerHeight:e.showHeader&&ue?.offsetHeight||0},A())},_=fa(),R=ee(()=>{const{bodyWidth:j,scrollY:H,gutterWidth:G}=t;return j.value?`${j.value-(H.value?G:0)}px`:""}),N=ee(()=>e.maxHeight?"fixed":e.tableLayout),V=ee(()=>{if(e.data&&e.data.length)return;let j="100%";e.height&&p.value&&(j=`${p.value}px`);const H=c.value;return{width:H?`${H}px`:"",height:j}}),L=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:_,emptyBlockStyle:V,resizeProxyVisible:a,bodyWidth:R,resizeState:l,doLayout:A,tableBodyStyles:w,tableLayout:N,scrollbarViewStyle:d,scrollbarStyle:L}}function bet(e){const t=Y(),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)};jn(()=>{n()}),hl(()=>{var r;(r=t.value)==null||r.disconnect()})}var wet={data:{type:Array,default:()=>[]},size:ba,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})=>zr(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 Fn("colgroup",{},n.map(o=>Fn("col",r(o))))}$be.props=["columns","tableLayout"];const Aet=()=>{const e=Y(),t=(i,a)=>{const s=e.value;s&&s.scrollTo(i,a)},n=(i,a)=>{const s=e.value;s&&Ln(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,Eg,QL,ZL,LS,FS,jbe,US,XL,JL,eF,Hbe,tF,nF,Wbe,Vbe;function bl(){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){Eg=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Eg&&document&&document.documentMode&&(Eg=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);jbe=r?parseFloat(r[1])+4:Eg,QL=t[2]?parseFloat(t[2]):NaN,ZL=t[3]?parseFloat(t[3]):NaN,LS=t[4]?parseFloat(t[4]):NaN,LS?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),FS=t&&t[1]?parseFloat(t[1]):NaN):FS=NaN}else Eg=QL=ZL=FS=LS=NaN;if(n){if(n[1]){var o=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);US=o?parseFloat(o[1].replace("_",".")):!0}else US=!1;XL=!!n[2],JL=!!n[3]}else US=XL=JL=!1}}var rF={ie:function(){return bl()||Eg},ieCompatibilityMode:function(){return bl()||jbe>Eg},ie64:function(){return rF.ie()&&Hbe},firefox:function(){return bl()||QL},opera:function(){return bl()||ZL},webkit:function(){return bl()||LS},safari:function(){return rF.webkit()},chrome:function(){return bl()||FS},windows:function(){return bl()||XL},osx:function(){return bl()||US},linux:function(){return bl()||JL},iphone:function(){return bl()||tF},mobile:function(){return bl()||tF||nF||eF||Vbe},nativeApp:function(){return bl()||Wbe},android:function(){return bl()||eF},ipad:function(){return bl()||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=et({name:"ElTable",directives:{Mousewheel:Iet},components:{TableHeader:oet,TableBody:pet,TableFooter:vet,ElScrollbar:Lc,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}=Hr(),n=jt("table"),r=vr();Sr(Qc,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:k,emptyBlockStyle:O,resizeProxyVisible:I,bodyWidth:P,resizeState:M,doLayout:_,tableBodyStyles:R,tableLayout:N,scrollbarViewStyle:V,scrollbarStyle:L}=yet(e,i,o,r),{scrollBarRef:j,scrollTo:H,setScrollLeft:G,setScrollTop:Z}=Aet(),z=Fl(_,50),U=`${n.namespace.value}-table_${Oet++}`;r.tableId=U,r.state={isGroup:w,resizeState:M,doLayout:_,debouncedUpdateLayout:z};const W=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")}),J=ee(()=>zbe(o.states.originColumns.value)[0]);return bet(r),Yr(()=>{z.cancel()}),{ns:n,layout:i,store:o,columns:J,handleHeaderFooterMousewheel:S,handleMouseLeave:A,tableId:U,tableSize:k,isHidden:y,isEmpty:a,renderExpanded:m,resizeProxyVisible:I,resizeState:M,isGroup:w,bodyWidth:P,tableBodyStyles:R,emptyBlockStyle:O,debouncedUpdateLayout:z,setCurrentRow:s,getSelectionRows:l,toggleRowSelection:u,clearSelection:d,clearFilter:c,toggleAllSelection:f,toggleRowExpansion:p,clearSort:v,doLayout:_,sort:h,updateKeyChildren:g,t,setDragVisible:b,context:r,computedSumText:W,computedEmptyText:re,tableLayout:N,scrollbarViewStyle:V,scrollbarStyle:L,scrollBarRef:j,scrollTo:H,setScrollLeft:G,setScrollTop:Z,allowDragLastColumn:e.allowDragLastColumn}}});function Pet(e,t,n,r,o,i){const a=lr("hColgroup"),s=lr("table-header"),l=lr("table-body"),u=lr("table-footer"),d=lr("el-scrollbar"),c=R_("mousewheel");return F(),K("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:Jt(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"},[pt(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?an((F(),K("div",{key:0,ref:"headerWrapper",class:oe(e.ns.e("header-wrapper"))},[x("table",{ref:"tableHeader",class:oe(e.ns.e("header")),style:Jt(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[$e(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),$e(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"))},[$e(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:nt(()=>[x("table",{ref:"tableBody",class:oe(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Jt({width:e.bodyWidth,tableLayout:e.tableLayout})},[$e(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(F(),mt(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),$e(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"?(F(),mt(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?(F(),K("div",{key:0,ref:"emptyBlock",style:Jt(e.emptyBlockStyle),class:oe(e.ns.e("empty-block"))},[x("span",{class:oe(e.ns.e("empty-text"))},[pt(e.$slots,"empty",{},()=>[An(ze(e.computedEmptyText),1)])],2)],6)):xe("v-if",!0),e.$slots.append?(F(),K("div",{key:1,ref:"appendWrapper",class:oe(e.ns.e("append-wrapper"))},[pt(e.$slots,"append")],2)):xe("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native","onScroll"])],2),e.showSummary&&e.tableLayout==="fixed"?an((F(),K("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:Jt(e.tableBodyStyles)},[$e(a,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),$e(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)),[[Ar,!e.isEmpty],[c,e.handleHeaderFooterMousewheel]]):xe("v-if",!0),e.border||e.isGroup?(F(),K("div",{key:2,class:oe(e.ns.e("border-left-patch"))},null,2)):xe("v-if",!0)],2),an(x("div",{ref:"resizeProxy",class:oe(e.ns.e("column-resize-proxy"))},null,2),[[Ar,e.resizeProxyVisible]])],46,["data-prefix","onMouseleave"])}var Net=en(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 Fn(Yu,{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 Fn(Yu,{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 Ln(r)?n=t+r:Pn(r)&&(n=r(t)),Fn("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")),Fn("div",{class:i,onClick:function(s){s.stopPropagation(),n.toggleRowExpansion(t)}},{default:()=>e.renderExpand?[e.renderExpand({expanded:r})]:[Fn(_n,null,{default:()=>[Fn(ka)]})]})},sortable:!1,resizable:!1}};function Uet({row:e,column:t,$index:n}){var r;const o=t.property,i=o&&Q4(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?[Fn("span",{class:o.e("placeholder")})]:null;const i=[],a=function(s){s.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&i.push(Fn("span",{class:o.e("indent"),style:{"padding-left":`${t.indent}px`}})),Co(t.expanded)&&!t.noLazyChildren){const s=[o.e("expand-icon"),t.expanded?o.em("expand-icon","expanded"):""];let l=ka;t.loading&&(l=Bc),i.push(Fn("div",{class:s,onClick:a},{default:()=>[Fn(_n,{class:{[o.is("loading")]:t.loading}},{default:()=>[Fn(l)]})]}))}else i.push(Fn("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=vr();return{registerComplexWatchers:()=>{const i=["fixed"],a={realWidth:"width",realMinWidth:"minWidth"},s=kee(i,a);Object.keys(s).forEach(l=>{const u=a[l];Zr(t,u)&&Ct(()=>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];Zr(t,d)&&Ct(()=>t[d],c=>{n.columnConfig.value[u]=c})}),a.forEach(u=>{Zr(e.value.props,u)&&Ct(()=>e.value.props[u],d=>{n.columnConfig.value[u]=d})})}}}function jet(e,t,n){const r=vr(),o=Y(""),i=Y(!1),a=Y(),s=Y(),l=jt("table");Cs(()=>{a.value=e.align?`is-${e.align}`:null,a.value}),Cs(()=>{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=Y(xW(e.width)),f=Y(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(zr(w.width)?w.minWidth:w.width),w),v=w=>{const A=w.type,S=Fet[A]||{};Object.keys(S).forEach(O=>{const I=S[O];O!=="className"&&!zr(I)&&(w[O]=I)});const k=Let(A);if(k){const O=`${C(l.namespace)}-${k}`;w.className=w.className?`${w.className} ${O}`:O}return w},h=w=>{qt(w)?w.forEach(S=>A(S)):A(w);function A(S){var k;((k=S?.type)==null?void 0:k.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,pt(t,"header",S,()=>[w.label]))),t["filter-icon"]&&(w.renderFilterIcon=S=>pt(t,"filter-icon",S)),t.expand&&(w.renderExpand=S=>pt(t,"expand",S));let A=w.renderCell;return w.type==="expand"?(w.renderCell=S=>Fn("div",{class:"cell"},[A(S)]),n.value.renderExpanded=S=>t.default?t.default(S):t.default):(A=A||Uet,w.renderCell=S=>{let k=null;if(t.default){const R=t.default(S);k=R.some(N=>N.type!==ua)?R:A(S)}else k=A(S);const{columns:O}=n.value.store.states,I=O.value.findIndex(R=>R.type==="default"),P=d.value&&S.cellIndex===I,M=zet(S,P),_={class:"cell",style:{}};return w.showOverflowTooltip&&(_.class=`${_.class} ${C(l.namespace)}-tooltip`,_.style={width:`${(S.column.realWidth||Number(S.column.width))-1}px`}),h(k),Fn("div",_,[M,k])}),w},getPropsData:(...w)=>w.reduce((A,S)=>(qt(S)&&S.forEach(k=>{A[k]=e[k]}),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=et({name:"ElTableColumn",components:{ElCheckbox:Yu},props:Het,setup(e,{slots:t}){const n=vr(),r=Y({}),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++}`,N_(()=>{l.value=o.value!==m;const b=e.type||"default",w=e.sortable===""?!0:e.sortable,A=b==="selection"?!1:zr(e.showOverflowTooltip)?m.props.showOverflowTooltip:e.showOverflowTooltip,S=zr(e.tooltipFormatter)?m.props.tooltipFormatter:e.tooltipFormatter,k={...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 _=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);_=BJe(k,_),_=FJe(p,c,f)(_),r.value=_,i(),a()}),jn(()=>{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,k=()=>h(S||[],n.vnode.el);r.value.getColumnIndex=k,k()>-1&&o.value.store.commit("insertColumn",r.value,l.value?"columnConfig"in A&&A.columnConfig.value:null,y)}),Yr(()=>{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(qt(r))for(const a of r)((n=a.type)==null?void 0:n.name)==="ElTableColumn"||a.shapeFlag&2?o.push(a):a.type===Nt&&qt(a.children)&&a.children.forEach(s=>{s?.patchFlag!==1024&&!Dn(s?.children)&&o.push(s)});return Fn("div",o)}catch{return Fn("div",[])}}});const Vet=er(Net,{TableColumn:Ybe}),qet=vi(Ybe);var oA=(e=>(e.ASC="asc",e.DESC="desc",e))(oA||{}),iA=(e=>(e.CENTER="center",e.RIGHT="right",e))(iA||{}),Qbe=(e=>(e.LEFT="left",e.RIGHT="right",e))(Qbe||{});const oF={asc:"desc",desc:"asc"},aA=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:aA})}),C(s).forEach(y=>{g.push(y)}),C(a).forEach(y=>{g.push({...y,placeholderSign:aA})}),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=oA.ASC;ar(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=Y({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 Ct(()=>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=vr(),{emit:l}=s,u=Uo(!1),d=Y(e.defaultExpandedRowKeys||[]),c=Y(-1),f=Uo(null),p=Y({}),v=Y({}),h=Uo({}),g=Uo({}),y=Uo({}),m=ee(()=>Ln(e.estimatedRowHeight));function b(P){var M;(M=e.onRowsRendered)==null||M.call(e,P),P.rowCacheEnd>C(c)&&(c.value=P.rowCacheEnd)}function w({hovered:P,rowKey:M}){if(a.value)return;o.vnode.el.querySelectorAll(`[rowkey="${String(M)}"]`).forEach(N=>{P?N.classList.add(i.is("hovered")):N.classList.remove(i.is("hovered"))})}function A({expanded:P,rowData:M,rowIndex:_,rowKey:R}){var N,V;const L=[...C(d)],j=L.indexOf(R);P?j===-1&&L.push(R):j>-1&&L.splice(j,1),d.value=L,l("update:expandedRowKeys",L),(N=e.onRowExpand)==null||N.call(e,{expanded:P,rowData:M,rowIndex:_,rowKey:R}),(V=e.onExpandedRowsChange)==null||V.call(e,L),o.vnode.el.querySelector(`.${i.is("hovered")}[rowkey="${String(R)}"]`)&&Vt(()=>w({hovered:!0,rowKey:R}))}const S=Fl(()=>{var P,M,_,R;u.value=!0,p.value={...C(p),...C(v)},k(C(f),!1),v.value={},f.value=null,(P=t.value)==null||P.forceUpdate(),(M=n.value)==null||M.forceUpdate(),(_=r.value)==null||_.forceUpdate(),(R=s.proxy)==null||R.$forceUpdate(),u.value=!1},0);function k(P,M=!1){C(m)&&[t,n,r].forEach(_=>{const R=C(_);R&&R.resetAfterRowIndex(P,M)})}function O(P,M,_){const R=C(f);(R===null||R>_)&&(f.value=_),v.value[P]=M}function I({rowKey:P,height:M,rowIndex:_},R){R?R===Qbe.RIGHT?y.value[P]=M:h.value[P]=M:g.value[P]=M;const N=Math.max(...[h,y,g].map(V=>V.value[P]||0));C(p)[P]!==N&&(O(P,N,_),S())}return{expandedRowKeys:d,lastRenderedRowIndex:c,isDynamic:m,isResetting:u,rowHeights:p,resetAfterIndex:k,onRowExpanded:A,onRowHovered:w,onRowsRendered:b,onRowHeightChange:I}},Zet=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const o=Y({}),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])&&qt(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 Ct(a,(s,l)=>{s!==l&&(n.value=-1,r(0,!0))}),{data:a,depthMap:o}},Xet=(e,t)=>e+t,zS=e=>qt(e)?e.reduce(Xet,0):e,Iv=(e,t,n={})=>Pn(e)?e(t):e??n,vh=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=_i(e[t])}),e),Zbe=e=>jo(e)?t=>Fn(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),O=C(c)+A+S+w;return Math.min(O,m-b)}return y-b}),s=ee(()=>{const{maxHeight:y}=e,m=C(a);if(Ln(y)&&y>0)return m;const b=C(n)+C(c)+C(f);return Math.min(m,b)}),l=y=>y.width,u=ee(()=>zS(C(r).map(l))),d=ee(()=>zS(C(o).map(l))),c=ee(()=>zS(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 vh({...y,height:m,width:b})}),h=ee(()=>vh({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=Y(),n=Y(),r=Y(),{columns:o,columnsStyles:i,columnsTotalWidth:a,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,hasFixedColumns:u,mainColumns:d,onColumnSorted:c}=Ket(e,ao(e,"columns"),ao(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:_e}),b=jt("table-v2"),w=vr(),A=Uo(!1),{expandedRowKeys:S,lastRenderedRowIndex:k,isDynamic:O,isResetting:I,rowHeights:P,resetAfterIndex:M,onRowExpanded:_,onRowHeightChange:R,onRowHovered:N,onRowsRendered:V}=Qet(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:w,ns:b,isScrolling:A}),{data:L,depthMap:j}=Zet(e,{expandedRowKeys:S,lastRenderedRowIndex:k,resetAfterIndex:M}),H=ee(()=>{const{estimatedRowHeight:Q,rowHeight:be}=e,De=C(L);return Ln(Q)?Object.values(C(P)).reduce((pe,ie)=>pe+ie,0):De.length*be}),{bodyWidth:G,fixedTableHeight:Z,mainTableHeight:z,leftTableWidth:U,rightTableWidth:W,windowHeight:re,footerHeight:J,emptyStyle:te,rootStyle:X,headerHeight:ue}=Jet(e,{columnsTotalWidth:a,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,rowsHeight:H}),me=Y(),Me=ee(()=>{const Q=C(L).length===0;return qt(e.fixedData)?e.fixedData.length===0&&Q:Q});function Ae(Q){const{estimatedRowHeight:be,rowHeight:De,rowKey:pe}=e;return be?C(P)[C(L)[Q][pe]]||be:De}const ge=Y(!1);function _e(){const{onEndReached:Q}=e;if(!Q)return;const{scrollTop:be}=C(m),De=C(H),pe=C(re),ie=De-(be+pe)+e.hScrollbarSize;!ge.value&&C(k)>=0&&De<=be+C(z)-C(ue)?(ge.value=!0,Q(ie)):ge.value=!1}return Ct(()=>C(H),()=>ge.value=!1),Ct(()=>e.expandedRowKeys,Q=>S.value=Q,{deep:!0}),{columns:o,containerRef:me,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:O,isResetting:I,isScrolling:A,hasFixedColumns:u,columnsStyles:i,columnsTotalWidth:a,data:L,expandedRowKeys:S,depthMap:j,fixedColumnsOnLeft:s,fixedColumnsOnRight:l,mainColumns:d,bodyWidth:G,emptyStyle:te,rootStyle:X,footerHeight:J,mainTableHeight:z,fixedTableHeight:Z,leftTableWidth:U,rightTableWidth:W,showEmpty:Me,getRowHeight:Ae,onColumnSorted:c,onRowHovered:N,onRowExpanded:_,onRowsRendered:V,onRowHeightChange:R,scrollTo:f,scrollToLeft:p,scrollToTop:v,scrollToRow:h,onScroll:g,onVerticalScroll:y}}const _W=Symbol("tableV2"),Xbe="tableV2GridScrollLeft",Jbe=String,UC={type:lt(Array),required:!0},DW={type:lt(Array)},e2e={...DW,required:!0},ttt=String,Tee={type:lt(Array),default:()=>fi([])},kg={type:Number,required:!0},t2e={type:lt([String,Number,Symbol]),default:"id"},_ee={type:lt(Object)},Lg=Yt({class:String,columns:UC,columnsStyles:{type:lt(Object),required:!0},depth:Number,expandColumnKey:ttt,estimatedRowHeight:{...Kg.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:lt(Function)},onRowHover:{type:lt(Function)},onRowHeightChange:{type:lt(Function)},rowData:{type:lt(Object),required:!0},rowEventHandlers:{type:lt(Object)},rowIndex:{type:Number,required:!0},rowKey:t2e,style:{type:lt(Object)}}),II={type:Number,required:!0},IW=Yt({class:String,columns:UC,fixedHeaderData:{type:lt(Array)},headerData:{type:lt(Array),required:!0},headerHeight:{type:lt([Number,Array]),default:50},rowWidth:II,rowHeight:{type:Number,default:50},height:II,width:II}),$S=Yt({columns:UC,data:e2e,fixedData:DW,estimatedRowHeight:Lg.estimatedRowHeight,width:kg,height:kg,headerWidth:kg,headerHeight:IW.headerHeight,bodyWidth:kg,rowHeight:kg,cache:wbe.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:Kg.scrollbarAlwaysOn,scrollbarStartGap:Kg.scrollbarStartGap,scrollbarEndGap:Kg.scrollbarEndGap,class:Jbe,style:_ee,containerStyle:_ee,getRowHeight:{type:lt(Function),required:!0},rowKey:Lg.rowKey,onRowsRendered:{type:lt(Function)},onScroll:{type:lt(Function)}}),ntt=Yt({cache:$S.cache,estimatedRowHeight:Lg.estimatedRowHeight,rowKey:t2e,headerClass:{type:lt([String,Function])},headerProps:{type:lt([Object,Function])},headerCellProps:{type:lt([Object,Function])},headerHeight:IW.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:lt([String,Function])},rowProps:{type:lt([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:lt([Object,Function])},columns:UC,data:e2e,dataGetter:{type:lt(Function)},fixedData:DW,expandColumnKey:Lg.expandColumnKey,expandedRowKeys:Tee,defaultExpandedRowKeys:Tee,class:Jbe,fixed:Boolean,style:{type:lt(Object)},width:kg,height:kg,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:Kg.hScrollbarSize,vScrollbarSize:Kg.vScrollbarSize,scrollbarAlwaysOn:xbe.alwaysOn,sortBy:{type:lt(Object),default:()=>({})},sortState:{type:lt(Object),default:void 0},onColumnSort:{type:lt(Function)},onExpandedRowsChange:{type:lt(Function)},onEndReached:{type:lt(Function)},onRowExpand:Lg.onRowExpand,onScroll:$S.onScroll,onRowsRendered:$S.onRowsRendered,rowEventHandlers:Lg.rowEventHandlers}),rtt="ElTableV2Header",ott=et({name:rtt,props:IW,setup(e,{slots:t,expose:n}){const r=jt("table-v2"),o=un(Xbe),i=Y(),a=ee(()=>vh({width:e.width,height:e.height})),s=ee(()=>vh({width:e.rowWidth,height:e.height})),l=ee(()=>Ka(C(e.headerHeight))),u=f=>{const p=C(i);Vt(()=>{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=vh({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=vh({width:"100%",height:v});return(g=t.dynamic)==null?void 0:g.call(t,{class:f,columns:p,headerIndex:h,style:y})})};return Wc(()=>{o?.value&&u(o.value)}),n({scrollToLeft:u}),()=>{if(!(e.height<=0))return $e("div",{ref:i,class:e.class,style:C(a),role:"rowgroup"},[$e("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=>{_v(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=r0(()=>{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})=>et({name:e??"ElVirtualList",props:Kg,emits:[_E,DE],setup(h,{emit:g,expose:y,slots:m}){const b=jt("vl");v(h);const w=vr(),A=Y(f(h,w));p?.(w,A);const S=Y(),k=Y(),O=Y(),I=Y(null),P=Y({isScrolling:!1,scrollLeft:Ln(h.initScrollLeft)?h.initScrollLeft:0,scrollTop:Ln(h.initScrollTop)?h.initScrollTop:0,updateRequested:!1,xAxisScrollDir:L1,yAxisScrollDir:L1}),M=mbe(),_=ee(()=>Number.parseInt(`${h.height}`,10)),R=ee(()=>Number.parseInt(`${h.width}`,10)),N=ee(()=>{const{totalColumn:pe,totalRow:ie,columnCache:ce}=h,{isScrolling:Re,xAxisScrollDir:Ee,scrollLeft:Le}=C(P);if(pe===0||ie===0)return[0,0,0,0];const Fe=r(h,Le,C(A)),Pe=o(h,Fe,Le,C(A)),Ne=!Re||Ee===IE?Math.max(1,ce):1,ht=!Re||Ee===L1?Math.max(1,ce):1;return[Math.max(0,Fe-Ne),Math.max(0,Math.min(pe-1,Pe+ht)),Fe,Pe]}),V=ee(()=>{const{totalColumn:pe,totalRow:ie,rowCache:ce}=h,{isScrolling:Re,yAxisScrollDir:Ee,scrollTop:Le}=C(P);if(pe===0||ie===0)return[0,0,0,0];const Fe=d(h,Le,C(A)),Pe=c(h,Fe,Le,C(A)),Ne=!Re||Ee===IE?Math.max(1,ce):1,ht=!Re||Ee===L1?Math.max(1,ce):1;return[Math.max(0,Fe-Ne),Math.max(0,Math.min(ie-1,Pe+ht)),Fe,Pe]}),L=ee(()=>i(h,C(A))),j=ee(()=>a(h,C(A))),H=ee(()=>{var pe;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:h.direction,height:Ln(h.height)?`${h.height}px`:h.height,width:Ln(h.width)?`${h.width}px`:h.width},(pe=h.style)!=null?pe:{}]}),G=ee(()=>{const pe=`${C(j)}px`;return{height:`${C(L)}px`,pointerEvents:C(P).isScrolling?"none":void 0,width:pe}}),Z=()=>{const{totalColumn:pe,totalRow:ie}=h;if(pe>0&&ie>0){const[Pe,Ne,ht,Rt]=C(N),[Lt,tn,Wt,zt]=C(V);g(_E,{columnCacheStart:Pe,columnCacheEnd:Ne,rowCacheStart:Lt,rowCacheEnd:tn,columnVisibleStart:ht,columnVisibleEnd:Rt,rowVisibleStart:Wt,rowVisibleEnd:zt})}const{scrollLeft:ce,scrollTop:Re,updateRequested:Ee,xAxisScrollDir:Le,yAxisScrollDir:Fe}=C(P);g(DE,{xAxisScrollDir:Le,scrollLeft:ce,yAxisScrollDir:Fe,scrollTop:Re,updateRequested:Ee})},z=pe=>{const{clientHeight:ie,clientWidth:ce,scrollHeight:Re,scrollLeft:Ee,scrollTop:Le,scrollWidth:Fe}=pe.currentTarget,Pe=C(P);if(Pe.scrollTop===Le&&Pe.scrollLeft===Ee)return;let Ne=Ee;if(fee(h.direction))switch(ME()){case nA:Ne=-Ee;break;case CW:Ne=Fe-ce-Ee;break}P.value={...Pe,isScrolling:!0,scrollLeft:Ne,scrollTop:Math.max(0,Math.min(Le,Re-ie)),updateRequested:!0,xAxisScrollDir:Bg(Pe.scrollLeft,Ne),yAxisScrollDir:Bg(Pe.scrollTop,Le)},Vt(()=>ue()),me(),Z()},U=(pe,ie)=>{const ce=C(_),Re=(L.value-ce)/ie*pe;J({scrollTop:Math.min(L.value-ce,Re)})},W=(pe,ie)=>{const ce=C(R),Re=(j.value-ce)/ie*pe;J({scrollLeft:Math.min(j.value-ce,Re)})},{onWheel:re}=att({atXStartEdge:ee(()=>P.value.scrollLeft<=0),atXEndEdge:ee(()=>P.value.scrollLeft>=j.value-C(R)),atYStartEdge:ee(()=>P.value.scrollTop<=0),atYEndEdge:ee(()=>P.value.scrollTop>=L.value-C(_))},(pe,ie)=>{var ce,Re,Ee,Le;(Re=(ce=k.value)==null?void 0:ce.onMouseUp)==null||Re.call(ce),(Le=(Ee=O.value)==null?void 0:Ee.onMouseUp)==null||Le.call(Ee);const Fe=C(R),Pe=C(_);J({scrollLeft:Math.min(P.value.scrollLeft+pe,j.value-Fe),scrollTop:Math.min(P.value.scrollTop+ie,L.value-Pe)})});Mo(S,"wheel",re,{passive:!1});const J=({scrollLeft:pe=P.value.scrollLeft,scrollTop:ie=P.value.scrollTop})=>{pe=Math.max(pe,0),ie=Math.max(ie,0);const ce=C(P);ie===ce.scrollTop&&pe===ce.scrollLeft||(P.value={...ce,xAxisScrollDir:Bg(ce.scrollLeft,pe),yAxisScrollDir:Bg(ce.scrollTop,ie),scrollLeft:pe,scrollTop:ie,updateRequested:!0},Vt(()=>ue()),me(),Z())},te=(pe=0,ie=0,ce=Ru)=>{const Re=C(P);ie=Math.max(0,Math.min(ie,h.totalColumn-1)),pe=Math.max(0,Math.min(pe,h.totalRow-1));const Ee=Qme(b.namespace.value),Le=C(A),Fe=i(h,Le),Pe=a(h,Le);J({scrollLeft:s(h,ie,ce,Re.scrollLeft,Le,Pe>h.width?Ee:0),scrollTop:l(h,pe,ce,Re.scrollTop,Le,Fe>h.height?Ee:0)})},X=(pe,ie)=>{const{columnWidth:ce,direction:Re,rowHeight:Ee}=h,Le=M.value(t&&ce,t&&Ee,t&&Re),Fe=`${pe},${ie}`;if(Zr(Le,Fe))return Le[Fe];{const[,Pe]=n(h,ie,C(A)),Ne=C(A),ht=fee(Re),[Rt,Lt]=u(h,pe,Ne),[tn]=n(h,ie,Ne);return Le[Fe]={position:"absolute",left:ht?void 0:`${Pe}px`,right:ht?`${Pe}px`:void 0,top:`${Lt}px`,height:`${Rt}px`,width:`${tn}px`},Le[Fe]}},ue=()=>{P.value.isScrolling=!1,Vt(()=>{M.value(-1,null,null)})};jn(()=>{if(!Kr)return;const{initScrollLeft:pe,initScrollTop:ie}=h,ce=C(S);ce&&(Ln(pe)&&(ce.scrollLeft=pe),Ln(ie)&&(ce.scrollTop=ie)),Z()});const me=()=>{const{direction:pe}=h,{scrollLeft:ie,scrollTop:ce,updateRequested:Re}=C(P),Ee=C(S);if(Re&&Ee){if(pe===ey)switch(ME()){case nA:{Ee.scrollLeft=-ie;break}case AW:{Ee.scrollLeft=ie;break}default:{const{clientWidth:Le,scrollWidth:Fe}=Ee;Ee.scrollLeft=Fe-Le-ie;break}}else Ee.scrollLeft=Math.max(0,ie);Ee.scrollTop=Math.max(0,ce)}},{resetAfterColumnIndex:Me,resetAfterRowIndex:Ae,resetAfter:ge}=w.proxy;y({windowRef:S,innerRef:I,getItemStyleCache:M,scrollTo:J,scrollToItem:te,states:P,resetAfterColumnIndex:Me,resetAfterRowIndex:Ae,resetAfter:ge});const _e=()=>{const{scrollbarAlwaysOn:pe,scrollbarStartGap:ie,scrollbarEndGap:ce,totalColumn:Re,totalRow:Ee}=h,Le=C(R),Fe=C(_),Pe=C(j),Ne=C(L),{scrollLeft:ht,scrollTop:Rt}=C(P),Lt=Fn(GL,{ref:k,alwaysOn:pe,startGap:ie,endGap:ce,class:b.e("horizontal"),clientSize:Le,layout:"horizontal",onScroll:W,ratio:Le*100/Pe,scrollFrom:ht/(Pe-Le),total:Ee,visible:!0}),tn=Fn(GL,{ref:O,alwaysOn:pe,startGap:ie,endGap:ce,class:b.e("vertical"),clientSize:Fe,layout:"vertical",onScroll:U,ratio:Fe*100/Ne,scrollFrom:Rt/(Ne-Fe),total:Re,visible:!0});return{horizontalScrollbar:Lt,verticalScrollbar:tn}},Q=()=>{var pe;const[ie,ce]=C(N),[Re,Ee]=C(V),{data:Le,totalColumn:Fe,totalRow:Pe,useIsScrolling:Ne,itemKey:ht}=h,Rt=[];if(Pe>0&&Fe>0)for(let Lt=Re;Lt<=Ee;Lt++)for(let tn=ie;tn<=ce;tn++){const Wt=ht({columnIndex:tn,data:Le,rowIndex:Lt});Rt.push(Fn(Nt,{key:Wt},(pe=m.default)==null?void 0:pe.call(m,{columnIndex:tn,data:Le,isScrolling:Ne?C(P).isScrolling:void 0,style:X(Lt,tn),rowIndex:Lt})))}return Rt},be=()=>{const pe=hr(h.innerElement),ie=Q();return[Fn(pe,{style:C(G),ref:I},Dn(pe)?ie:{default:()=>ie})]};return()=>{const pe=hr(h.containerElement),{horizontalScrollbar:ie,verticalScrollbar:ce}=_e(),Re=be();return Fn("div",{key:0,class:b.e("wrapper"),role:h.role},[Fn(pe,{class:h.className,style:C(H),onScroll:z,ref:S},Dn(pe)?Re:{default:()=>Re}),ie,ce])}}}),{max:RE,min:r2e,floor:o2e}=Math,stt={column:"columnWidth",row:"rowHeight"},iF={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},wf=(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=wf(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,RE(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=wf(e,t,o,i),d=l(e,o),c=RE(0,r2e(d-s,u.offset)),f=RE(0,u.offset-s+a+u.size);switch(n===hD&&(r>=f-s&&r<=c+s?n=Ru:n=wd),n){case eA:return c;case tA:return f;case wd:return Math.round(f+(c-f)/2);case Ru:default:return r>=f&&r<=c?r:f>c||r{const r=wf(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=wf(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=wf(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=wf(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=zr(s)?!0:s,Ln(i)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,i-1)),Ln(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=Ru:o=wd),o){case eA:return u;case tA:return d;case wd:{const c=Math.round(d+(u-d)/2);return cl+Math.floor(n/2)?l:c}case Ru: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===hD&&(i>=d-t&&i<=u+t?o=Ru:o=wd),o){case eA:return u;case tA:return d;case wd:{const c=Math.round(d+(u-d)/2);return cl+Math.floor(t/2)?l:c}case Ru: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=Y(),n=Y(),r=Y(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(()=>zS(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);ar(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 Ct(()=>e.bodyWidth,()=>{var g;Ln(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=et({name:ftt,props:$S,setup(e,{slots:t,expose:n}){const{ns:r}=un(_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);Sr(Xbe,m),Sb(async()=>{var w;await Vt();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:k,useIsScrolling:O,scrollbarAlwaysOn:I,scrollbarEndGap:P,scrollbarStartGap:M,style:_,rowHeight:R,bodyWidth:N,estimatedRowHeight:V,headerWidth:L,height:j,width:H,getRowHeight:G,onScroll:Z}=e,z=Ln(V),U=z?ctt:dtt,W=C(u);return $e("div",{role:"table",class:[r.e("table"),e.class],style:_},[$e(U,{ref:o,data:S,useIsScrolling:O,itemKey:f,columnCache:0,columnWidth:z?b:N,totalColumn:1,totalRow:S.length,rowCache:w,rowHeight:z?G:R,width:H,height:C(a),class:r.e("body"),role:"rowgroup",scrollbarStartGap:M,scrollbarEndGap:P,scrollbarAlwaysOn:I,onScroll:Z,onItemRendered:p,perfMode:!1},{default:re=>{var J;const te=S[re.rowIndex];return(J=t.row)==null?void 0:J.call(t,{...re,columns:A,rowData:te})}}),C(s)&&$e(itt,{ref:l,class:r.e("header-wrapper"),columns:A,headerData:S,headerHeight:e.headerHeight,fixedHeaderData:k,rowWidth:L,rowHeight:R,width:H,height:Math.min(W+C(i),j)},{dynamic:t.header,fixed:t.row})])}}});var OW=htt;function gtt(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!jo(e)}const vtt=(e,{slots:t})=>{const{mainTableRef:n,...r}=e;return $e(OW,pr({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]"&&!jo(e)}const btt=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...r}=e;return $e(OW,pr({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]"&&!jo(e)}const Ctt=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...r}=e;return $e(OW,pr({ref:n},r),Att(t)?t:{default:()=>[t]})};var xtt=Ctt;const Stt=e=>{const{isScrolling:t}=un(_W),n=Y(!1),r=Y(),o=ee(()=>Ln(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,Vt(()=>{if(l||h!==Number.parseInt(v.height)){const g=d[0],y=g?.placeholderSign===aA;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])=>{Pn(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 jn(()=>{C(o)&&i(!0)}),{isScrolling:t,measurable:o,measured:n,rowRef:r,eventHandlers:a,onExpand:s}},Ett="ElTableV2TableRow",ktt=et({name:Ett,props:Lg,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=qt(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=>qt(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 $e("div",pr({ref:l,class:e.class,style:w?g:b,role:"row"},r,C(o)),[y])}return $e("div",pr(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]"&&!jo(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=Iv(v,{columns:n,rowData:u,rowIndex:d},""),A=Iv(p,{columns:n,rowData:u,rowIndex:d}),S=u[h],k=o[S]||0,O=!!i,I=d<0,P=[y.e("row"),w,{[y.e(`row-depth-${k}`)]:O&&d>=0,[y.is("expanded")]:O&&a.includes(S),[y.is("fixed")]:!k&&I,[y.is("customized")]:!!t.row}],M=l?m:void 0,_={...A,columns:n,columnsStyles:r,class:P,depth:k,expandColumnKey:i,estimatedRowHeight:I?void 0:s,isScrolling:f,rowIndex:d,rowData:u,rowKey:S,rowEventHandlers:g,style:c};return $e(Ttt,pr(_,{onRowExpand:b,onMouseenter:V=>{M?.({hovered:!0,rowKey:S,event:V,rowData:u,rowIndex:d})},onMouseleave:V=>{M?.({hovered:!1,rowKey:S,event:V,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=pt(t,"default",e,()=>[i]);return $e("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 $e(_n,pr(a,{size:i,style:o}),{default:()=>[$e(ka,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=vh(l);if(t.placeholderSign===aA)return $e("div",{class:d.em("row-cell","placeholder"),style:y},null);const{cellRenderer:m,dataKey:b,dataGetter:w}=t,A=Pn(w)?w({columns:e,column:t,columnIndex:n,rowData:a,rowIndex:s}):Yi(a,b??""),S=Iv(c,{cellData:A,columns:e,column:t,columnIndex:n,rowIndex:s,rowData:a}),k={class:d.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:A,isScrolling:i,rowData:a,rowIndex:s},O=Zbe(m),I=O?O(k):pt(g,"default",k,()=>[$e(Ott,k,null)]),P=[d.e("row-cell"),t.class,t.align===iA.CENTER&&d.is("align-center"),t.align===iA.RIGHT&&d.is("align-right")],M=s>=0&&f&&t.key===f,_=s>=0&&u.includes(a[h]);let R;const N=`margin-inline-start: ${r*p}px;`;return M&&(ar(o)?R=$e(Ptt,pr(o,{class:[d.e("expand-icon"),d.is("expanded",_)],size:v,expanded:_,style:N,expandable:!0}),null):R=$e("div",{style:[N,`width: ${v}px; height: ${v}px;`].join(" ")},null)),$e("div",pr({class:P,style:y},S,{role:"cell"}),[R,I])};l2e.inheritAttrs=!1;var Oee=l2e;const Ntt=Yt({class:String,columns:UC,columnsStyles:{type:lt(Object),required:!0},headerIndex:Number,style:{type:lt(Object)}}),Rtt=et({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=>qt(s)&&s.length===1?s[0]:s),columns:n,headerIndex:o})),$e("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]"&&!jo(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"),Iv(o,l,""),{[a.is("customized")]:!!s.header}],d={...Iv(i,l),columnsStyles:t,class:u,columns:e,headerIndex:n,style:r};return $e(Btt,d,Ltt(s)?s:{default:()=>[s]})};var Utt=Ftt;const PW=(e,{slots:t})=>pt(t,"default",e,()=>{var n,r;return[$e("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 $e(_n,{size:14,class:e.class},{default:()=>[t===oA.ASC?$e(RLe,null,null):$e(PLe,null,null)]})};var jtt=$tt;const Htt=(e,{slots:t})=>{const{column:n,ns:r,style:o,onColumnSorted:i}=e,a=vh(o);if(n.placeholderSign===aA)return $e("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):pt(t,"default",d,()=>[$e(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:oA.ASC}else g=n.key===p.key,y=g?p.order:oA.ASC;const m=[r.e("header-cell"),Iv(l,e,""),n.align===iA.CENTER&&r.is("align-center"),n.align===iA.RIGHT&&r.is("align-right"),u&&r.is("sortable")],b={...Iv(h,e),onClick:n.sortable?i:void 0,class:m,style:a,"data-key":n.key};return $e("div",pr(b,{role:"columnheader"}),[f,u&&$e(jtt,{class:[r.e("sort-icon"),g&&r.is("sorting")],sortOrder:y},null)])};var Mee=Htt;const u2e=(e,{slots:t})=>{var n;return $e("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=pt(t,"default",{},()=>[$e(obe,null,null)]);return $e("div",{class:e.class,style:e.style},[n])};c2e.displayName="ElTableV2Empty";var Vtt=c2e;const d2e=(e,{slots:t})=>{var n;return $e("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};d2e.displayName="ElTableV2Overlay";var qtt=d2e;function I2(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!jo(e)}const Gtt="ElTableV2",Ktt=et({name:Gtt,props:ntt,setup(e,{slots:t,expose:n}){const r=jt("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:k,rootStyle:O,footerHeight:I,showEmpty:P,scrollTo:M,scrollToLeft:_,scrollToTop:R,scrollToRow:N,getRowHeight:V,onColumnSorted:L,onRowHeightChange:j,onRowHovered:H,onRowExpanded:G,onRowsRendered:Z,onScroll:z,onVerticalScroll:U}=ett(e);return n({scrollTo:M,scrollToLeft:_,scrollToTop:R,scrollToRow:N}),Sr(_W,{ns:r,isResetting:w,isScrolling:A}),()=>{const{cache:W,cellProps:re,estimatedRowHeight:J,expandColumnKey:te,fixedData:X,headerHeight:ue,headerClass:me,headerProps:Me,headerCellProps:Ae,sortBy:ge,sortState:_e,rowHeight:Q,rowClass:be,rowEventHandlers:De,rowKey:pe,rowProps:ie,scrollbarAlwaysOn:ce,indentSize:Re,iconSize:Ee,useIsScrolling:Le,vScrollbarSize:Fe,width:Pe}=e,Ne=C(f),ht={cache:W,class:r.e("main"),columns:C(s),data:Ne,fixedData:X,estimatedRowHeight:J,bodyWidth:C(S),headerHeight:ue,headerWidth:C(S),height:C(l),mainTableRef:g,rowKey:pe,rowHeight:Q,scrollbarAlwaysOn:ce,scrollbarStartGap:2,scrollbarEndGap:Fe,useIsScrolling:Le,width:Pe,getRowHeight:V,onRowsRendered:Z,onScroll:z},Rt=C(d),Lt=C(u),tn={cache:W,class:r.e("left"),columns:C(i),data:Ne,fixedData:X,estimatedRowHeight:J,leftTableRef:y,rowHeight:Q,bodyWidth:Rt,headerWidth:Rt,headerHeight:ue,height:Lt,rowKey:pe,scrollbarAlwaysOn:ce,scrollbarStartGap:2,scrollbarEndGap:Fe,useIsScrolling:Le,width:Rt,getRowHeight:V,onScroll:U},Wt=C(c),zt={cache:W,class:r.e("right"),columns:C(a),data:Ne,fixedData:X,estimatedRowHeight:J,rightTableRef:m,rowHeight:Q,bodyWidth:Wt,headerWidth:Wt,headerHeight:ue,height:Lt,rowKey:pe,scrollbarAlwaysOn:ce,scrollbarStartGap:2,scrollbarEndGap:Fe,width:Wt,style:`--${C(r.namespace)}-table-scrollbar-size: ${Fe}px`,useIsScrolling:Le,getRowHeight:V,onScroll:U},dt=C(o),_t={ns:r,depthMap:C(p),columnsStyles:dt,expandColumnKey:te,expandedRowKeys:C(v),estimatedRowHeight:J,hasFixedColumns:C(h),rowProps:ie,rowClass:be,rowKey:pe,rowEventHandlers:De,onRowHovered:H,onRowExpanded:G,onRowHeightChange:j},ut={cellProps:re,expandColumnKey:te,indentSize:Re,iconSize:Ee,rowKey:pe,expandedRowKeys:C(v),ns:r},rt={ns:r,headerClass:me,headerProps:Me,columnsStyles:dt},he={ns:r,sortBy:ge,sortState:_e,headerCellProps:Ae,onColumnSorted:L},Je={row:Tn=>$e(Itt,pr(Tn,_t),{row:t.row,cell:In=>{let je;return t.cell?$e(Oee,pr(In,ut,{style:dt[In.column.key]}),I2(je=t.cell(In))?je:{default:()=>[je]}):$e(Oee,pr(In,ut,{style:dt[In.column.key]}),null)}}),header:Tn=>$e(Utt,pr(Tn,rt),{header:t.header,cell:In=>{let je;return t["header-cell"]?$e(Mee,pr(In,he,{style:dt[In.column.key]}),I2(je=t["header-cell"](In))?je:{default:()=>[je]}):$e(Mee,pr(In,he,{style:dt[In.column.key]}),null)}})},ct=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:C(b)}],Ot={class:r.e("footer"),style:C(I)};return $e("div",{class:ct,style:C(O)},[$e(mtt,ht,I2(Je)?Je:{default:()=>[Je]}),$e(wtt,tn,I2(Je)?Je:{default:()=>[Je]}),$e(xtt,zt,I2(Je)?Je:{default:()=>[Je]}),t.footer&&$e(Wtt,Ot,{default:t.footer}),C(P)&&$e(Vtt,{class:r.e("empty"),style:C(k)},{default:t.empty}),t.overlay&&$e(qtt,{class:r.e("overlay")},{default:t.overlay})])}}});var Ytt=Ktt;const Qtt=Yt({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:lt(Function)}}),Ztt=e=>{const t=Y(),n=Y(0),r=Y(0);let o;return jn(()=>{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}),Yr(()=>{o?.()}),Ct([n,r],([i,a])=>{var s;(s=e.onResize)==null||s.call(e,{width:i,height:a})}),{sizer:t,width:n,height:r}},Xtt=et({name:"ElAutoResizer",props:Qtt,setup(e,{slots:t}){const n=jt("auto-resizer"),{height:r,width:o,sizer:i}=Ztt(e),a={width:"100%",height:"100%"};return()=>{var s;return $e("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=er(Ytt),tnt=er(Jtt),gD=Symbol("tabsRootContextKey"),nnt=Yt({tabs:{type:lt(Array),default:()=>fi([])},tabRefs:{type:lt(Object),default:()=>fi({})}}),f2e="ElTabBar",rnt=et({name:f2e}),ont=et({...rnt,props:nnt,setup(e,{expose:t}){const n=e,r=un(gD);r||Ji(f2e,"");const o=jt("tabs"),i=Y(),a=Y(),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(zr(y.paneName))return!1;const m=n.tabRefs[y.paneName];if(!m)return!1;if(!y.active)return!0;f=m[`offset${ch(g)}`],p=m[`client${ch(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${ch(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))})};Ct(()=>n.tabs,async()=>{await Vt(),l(),d()},{immediate:!0});const c=li(i,()=>l());return Yr(()=>{u.forEach(f=>f.stop()),u.length=0,c.stop()}),t({ref:i,update:l}),(f,p)=>(F(),K("div",{ref_key:"barRef",ref:i,class:oe([C(o).e("active-bar"),C(o).is(C(r).props.tabPosition)]),style:Jt(a.value)},null,6))}});var int=en(ont,[["__file","tab-bar.vue"]]);const ant=Yt({panes:{type:lt(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=et({name:Pee,props:ant,emits:snt,setup(e,{expose:t,emit:n}){const r=un(gD);r||Ji(Pee,"");const o=jt("tabs"),i=GRe(),a=sBe(),s=Y(),l=Y(),u=Y(),d=Y({}),c=Y(),f=Y(!1),p=Y(0),v=Y(!1),h=Y(!0),g=Uo(),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 _=s.value[`offset${ch(y.value)}`],R=p.value;if(!R)return;const N=R>_?R-_:0;p.value=N},w=()=>{if(!s.value||!l.value)return;const _=l.value[`offset${ch(y.value)}`],R=s.value[`offset${ch(y.value)}`],N=p.value;if(_-N<=R)return;const V=_-N>R*2?N+R:_-R;p.value=V},A=async()=>{const _=l.value;if(!f.value||!u.value||!s.value||!_)return;await Vt();const R=d.value[e.currentName];if(!R)return;const N=s.value,V=["top","bottom"].includes(r.props.tabPosition),L=R.getBoundingClientRect(),j=N.getBoundingClientRect(),H=V?_.offsetWidth-j.width:_.offsetHeight-j.height,G=p.value;let Z=G;V?(L.leftj.right&&(Z=G+L.right-j.right)):(L.topj.bottom&&(Z=G+(L.bottom-j.bottom))),Z=Math.max(Z,0),p.value=Math.min(Z,H)},S=()=>{var _;if(!l.value||!s.value)return;e.stretch&&((_=c.value)==null||_.update());const R=l.value[`offset${ch(y.value)}`],N=s.value[`offset${ch(y.value)}`],V=p.value;N0&&(p.value=0))},k=_=>{let R=0;switch(_.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(_.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let L=N.indexOf(_.target)+R;L<0?L=N.length-1:L>=N.length&&(L=0),N[L].focus({preventScroll:!0}),N[L].click(),O()},O=()=>{h.value&&(v.value=!0)},I=()=>v.value=!1,P=(_,R)=>{d.value[R]=_},M=async()=>{await Vt();const _=d.value[e.currentName];_?.focus({preventScroll:!0})};return Ct(i,_=>{_==="hidden"?h.value=!1:_==="visible"&&setTimeout(()=>h.value=!0,50)}),Ct(a,_=>{_?setTimeout(()=>h.value=!0,50):h.value=!1}),li(u,S),jn(()=>setTimeout(()=>A(),0)),Wc(()=>S()),t({scrollToActiveTab:A,removeFocus:I,focusActiveTab:M,tabListRef:l,tabBarRef:c,scheduleRender:()=>dS(g)}),()=>{const _=f.value?[$e("span",{class:[o.e("nav-prev"),o.is("disabled",!f.value.prev)],onClick:b},[$e(_n,null,{default:()=>[$e(Kf,null,null)]})]),$e("span",{class:[o.e("nav-next"),o.is("disabled",!f.value.next)],onClick:w},[$e(_n,null,{default:()=>[$e(ka,null,null)]})])]:null,R=e.panes.map((N,V)=>{var L,j,H,G;const Z=N.uid,z=N.props.disabled,U=(j=(L=N.props.name)!=null?L:N.index)!=null?j:`${V}`,W=!z&&(N.isClosable||e.editable);N.index=`${V}`;const re=W?$e(_n,{class:"is-icon-close",onClick:X=>n("tabRemove",N,X)},{default:()=>[$e(cu,null,null)]}):null,J=((G=(H=N.slots).label)==null?void 0:G.call(H))||N.props.label,te=!z&&N.active?0:-1;return $e("div",{ref:X=>P(X,U),class:[o.e("item"),o.is(r.props.tabPosition),o.is("active",N.active),o.is("disabled",z),o.is("closable",W),o.is("focus",v.value)],id:`tab-${U}`,key:`tab-${Z}`,"aria-controls":`pane-${U}`,role:"tab","aria-selected":N.active,tabindex:te,onFocus:()=>O(),onBlur:()=>I(),onClick:X=>{I(),n("tabClick",N,U,X)},onKeydown:X=>{W&&(X.code===gn.delete||X.code===gn.backspace)&&n("tabRemove",N,X)}},[J,re])});return g.value,$e("div",{ref:u,class:[o.e("nav-wrap"),o.is("scrollable",!!f.value),o.is(r.props.tabPosition)]},[_,$e("div",{class:o.e("nav-scroll"),ref:s},[e.panes.length>0?$e("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:k},[e.type?null:$e(int,{ref:c,tabs:[...e.panes],tabRefs:d.value},null),R]):null])])}}}),unt=Yt({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:lt(Function),default:()=>!0},stretch:Boolean}),OI=e=>Dn(e)||Ln(e),cnt={[Gn]: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=et({name:"ElTabs",props:unt,emits:cnt,setup(e,{emit:t,slots:n,expose:r}){var o;const i=jt("tabs"),a=ee(()=>["left","right"].includes(e.tabPosition)),{children:s,addChild:l,removeChild:u,ChildrenSorter:d}=lD(vr(),"ElTabPane"),c=Y(),f=Y((o=e.modelValue)!=null?o:"0"),p=async(m,b=!1)=>{var w,A,S,k;if(!(f.value===m||zr(m)))try{let O;if(e.beforeLeave){const I=e.beforeLeave(m,f.value);O=I instanceof Promise?await I:I}else O=!0;if(O!==!1){const I=(w=s.value.find(P=>P.paneName===f.value))==null?void 0:w.isFocusInsidePane();f.value=m,b&&(t(Gn,m),t("tabChange",m)),(S=(A=c.value)==null?void 0:A.removeFocus)==null||S.call(A),I&&((k=c.value)==null||k.focusActiveTab())}}catch{}},v=(m,b,w)=>{m.props.disabled||(t("tabClick",m,w),p(b,!0))},h=(m,b)=>{m.props.disabled||zr(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 Ct(()=>e.modelValue,m=>p(m)),Ct(f,async()=>{var m;await Vt(),(m=c.value)==null||m.scrollToActiveTab()}),Sr(gD,{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?$e("div",{class:[i.e("new-tab"),a.value&&i.e("new-tab-vertical")],tabindex:"0",onClick:g,onKeydown:k=>{[gn.enter,gn.numpadEnter].includes(k.code)&&g()}},[m?pt(n,"add-icon"):$e(_n,{class:i.is("icon-plus")},{default:()=>[$e(o1e,null,null)]})]):null,w=()=>$e(lnt,{ref:c,currentName:f.value,editable:e.editable,type:e.type,panes:s.value,stretch:e.stretch,onTabClick:v,onTabRemove:h},null),A=$e("div",{class:[i.e("header"),a.value&&i.e("header-vertical"),i.is(e.tabPosition)]},[$e(d,null,{default:w,$stable:!0}),b]),S=$e("div",{class:i.e("content")},[pt(n,"default")]);return $e("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=Yt({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),p2e="ElTabPane",hnt=et({name:p2e}),gnt=et({...hnt,props:pnt,setup(e){const t=e,n=vr(),r=pa(),o=un(gD);o||Ji(p2e,"usage: ");const i=jt("tab-pane"),a=Y(),s=Y(),l=ee(()=>t.closable||o.props.closable),u=mE(()=>{var h;return o.currentName.value===((h=t.name)!=null?h:s.value)}),d=Y(u.value),c=ee(()=>{var h;return(h=t.name)!=null?h:s.value}),f=mE(()=>!t.lazy||d.value||u.value),p=()=>{var h;return(h=a.value)==null?void 0:h.contains(document.activeElement)};Ct(u,h=>{h&&(d.value=!0)});const v=Ur({uid:n.uid,getVnode:()=>n.vnode,slots:r,props:t,paneName:c,active:u,index:s,isClosable:l,isFocusInsidePane:p});return o.registerPane(v),Yr(()=>{o.unregisterPane(v)}),zj(()=>{var h;r.label&&((h=o.nav$.value)==null||h.scheduleRender())}),(h,g)=>C(f)?an((F(),K("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)}`},[pt(h.$slots,"default")],10,["id","aria-hidden","aria-labelledby"])),[[Ar,C(u)]]):xe("v-if",!0)}});var h2e=en(gnt,[["__file","tab-pane.vue"]]);const vnt=er(fnt,{TabPane:h2e}),mnt=vi(h2e),ynt=Yt({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:Yd,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),bnt=et({name:"ElText"}),wnt=et({...bnt,props:ynt,setup(e){const t=e,n=Y(),r=fa(),o=jt("text"),i=ee(()=>[o.b(),o.m(t.type),o.m(r.value),o.is("truncated",t.truncated),o.is("line-clamp",!zr(t.lineClamp))]),a=()=>{var s,l,u,d,c,f,p;if(pp().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(!zr(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 jn(a),Wc(a),(s,l)=>(F(),mt(hr(s.tag),{ref_key:"textRef",ref:n,class:oe(C(i)),style:Jt({"-webkit-line-clamp":s.lineClamp})},{default:nt(()=>[pt(s.$slots,"default")]),_:3},8,["class","style"]))}});var Ant=en(wnt,[["__file","text.vue"]]);const NW=er(Ant),Cnt=Yt({format:{type:String,default:"HH:mm"},modelValue:{type:lt(String)},disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:lt(String),default:"light"},clearable:{type:Boolean,default:!0},size:ba,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:lt(String)},maxTime:{type:lt(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:lt([String,Object]),default:()=>n1e},clearIcon:{type:lt([String,Object]),default:()=>Qd},...rm}),_f=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=_f(e);if(!n)return-1;const r=_f(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"),T1=e=>`${Nee(e.hours)}:${Nee(e.minutes)}`,xnt=(e,t)=>{const n=_f(e);if(!n)return"";const r=_f(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,T1(o)},Snt=et({name:"ElTimeSelect"}),Ent=et({...Snt,props:Cnt,emits:[Tr,"blur","focus","clear",Gn],setup(e,{expose:t}){const n=e;rr.extend(HH);const{Option:r}=Dv,o=jt("input"),i=Y(),a=Wa(),{lang:s}=Hr(),l=ee(()=>n.modelValue),u=ee(()=>{const y=_f(n.start);return y?T1(y):null}),d=ee(()=>{const y=_f(n.end);return y?T1(y):null}),c=ee(()=>{const y=_f(n.step);return y?T1(y):null}),f=ee(()=>{const y=_f(n.minTime||"");return y?T1(y):null}),p=ee(()=>{const y=_f(n.maxTime||"");return y?T1(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=rr(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=rr(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)=>(F(),mt(C(Dv),{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(Gn),b),onChange:b=>y.$emit(C(Tr),b),onBlur:b=>y.$emit("blur",b),onFocus:b=>y.$emit("focus",b),onClear:()=>y.$emit("clear")},{prefix:nt(()=>[y.prefixIcon?(F(),mt(C(_n),{key:0,class:oe(C(o).e("prefix-icon"))},{default:nt(()=>[(F(),mt(hr(y.prefixIcon)))]),_:1},8,["class"])):xe("v-if",!0)]),default:nt(()=>[(F(!0),K(Nt,null,on(C(v),b=>(F(),mt(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=en(Ent,[["__file","time-select.vue"]]);const Tnt=er(knt),_nt="timeline",Dnt=et({name:"ElTimeline",setup(e,{slots:t}){const n=jt("timeline");return Sr(_nt,t),()=>Fn("ul",{class:[n.b()]},[pt(t,"default")])}}),Int=Yt({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:vo},hollow:Boolean}),Ont=et({name:"ElTimelineItem"}),Mnt=et({...Ont,props:Int,setup(e){const t=e,n=jt("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)=>(F(),K("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):(F(),K("div",{key:0,class:oe(C(r)),style:Jt({backgroundColor:o.color})},[o.icon?(F(),mt(C(_n),{key:0,class:oe(C(n).e("icon"))},{default:nt(()=>[(F(),mt(hr(o.icon)))]),_:1},8,["class"])):xe("v-if",!0)],6)),o.$slots.dot?(F(),K("div",{key:1,class:oe(C(n).e("dot"))},[pt(o.$slots,"dot")],2)):xe("v-if",!0),x("div",{class:oe(C(n).e("wrapper"))},[!o.hideTimestamp&&o.placement==="top"?(F(),K("div",{key:0,class:oe([C(n).e("timestamp"),C(n).is("top")])},ze(o.timestamp),3)):xe("v-if",!0),x("div",{class:oe(C(n).e("content"))},[pt(o.$slots,"default")],2),!o.hideTimestamp&&o.placement==="bottom"?(F(),K("div",{key:1,class:oe([C(n).e("timestamp"),C(n).is("bottom")])},ze(o.timestamp),3)):xe("v-if",!0)],2)],2))}});var g2e=en(Mnt,[["__file","timeline-item.vue"]]);const Pnt=er(Dnt,{TimelineItem:g2e}),Nnt=vi(g2e),v2e=Yt({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=Yt({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:lt(Object),default:null}}),Bnt=Yt({side:{type:lt(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=Yt({arrowPadding:{type:lt(Number),default:5},effect:{type:lt(String),default:"light"},contentClass:String,placement:{type:lt(String),values:Fnt,default:"bottom"},reference:{type:lt(Object),default:null},offset:{type:Number,default:8},strategy:{type:lt(String),values:Lnt,default:"absolute"},showArrow:Boolean,...Es(["ariaLabel"])}),LW=Yt({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:lt(Function)},"onUpdate:open":{type:lt(Function)}}),Rm={type:lt(Function)},FW=Yt({onBlur:Rm,onClick:Rm,onFocus:Rm,onMouseDown:Rm,onMouseEnter:Rm,onMouseLeave:Rm}),Unt=Yt({...LW,...RW,...FW,...BW,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:lt(Object),default:null},teleported:Boolean,to:{type:lt([String,Object]),default:"body"}}),vD=Symbol("tooltipV2"),y2e=Symbol("tooltipV2Content"),PI="tooltip_v2.open",znt=et({name:"ElTooltipV2Root"}),$nt=et({...znt,props:LW,setup(e,{expose:t}){const n=e,r=Y(n.defaultOpen),o=Y(null),i=ee({get:()=>Il(n.open)?r.value:n.open,set:g=>{var y;r.value=g,(y=n["onUpdate:open"])==null||y.call(n,g)}}),a=ee(()=>Ln(n.delayDuration)&&n.delayDuration>0),{start:s,stop:l}=Tv(()=>{i.value=!0},ee(()=>n.delayDuration),{immediate:!1}),u=jt("tooltip-v2"),d=ds(),c=()=>{l(),i.value=!0},f=()=>{C(a)?s():c()},p=c,v=()=>{l(),i.value=!1};return Ct(i,g=>{var y;g&&(document.dispatchEvent(new CustomEvent(PI)),p()),(y=n.onOpenChange)==null||y.call(n,g)}),jn(()=>{document.addEventListener(PI,v)}),Yr(()=>{l(),document.removeEventListener(PI,v)}),Sr(vD,{contentId:d,triggerRef:o,ns:u,onClose:v,onDelayOpen:f,onOpen:p}),t({onOpen:p,onClose:v}),(g,y)=>pt(g.$slots,"default",{open:C(i)})}});var jnt=en($nt,[["__file","root.vue"]]);const Hnt=et({name:"ElTooltipV2Arrow"}),Wnt=et({...Hnt,props:{...RW,...Bnt},setup(e){const t=e,{ns:n}=un(vD),{arrowRef:r}=un(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)=>(F(),K("span",{ref_key:"arrowRef",ref:r,style:Jt(C(o)),class:oe(C(n).e("arrow"))},null,6))}});var Ree=en(Wnt,[["__file","arrow.vue"]]);const Uy=Math.min,Yg=Math.max,BE=Math.round,Ex=Math.floor,Md=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 Yg(e,Uy(t,n))}function zC(e,t){return typeof e=="function"?e(t):e}function Ov(e){return e.split("-")[0]}function $C(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 mh(e){return Gnt.has(Ov(e))?"y":"x"}function zW(e){return b2e(mh(e))}function Knt(e,t,n){n===void 0&&(n=!1);const r=$C(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=LE(a)),[a,LE(a)]}function Ynt(e){const t=LE(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=$C(e);let i=Xnt(Ov(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(sF)))),i}function LE(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 FE(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=mh(t),a=zW(t),s=UW(a),l=Ov(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($C(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}=zC(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 k=S?S[b]:0;(!k||!await(a.isElement==null?void 0:a.isElement(S)))&&(k=s.floating[b]||i.floating[v]);const O=w/2-A/2,I=k/2-h[v]/2-1,P=Uy(c[y],I),M=Uy(c[m],I),_=P,R=k-h[v]-M,N=k/2-h[v]/2+O,V=aF(_,N,R),L=!l.arrow&&$C(o)!=null&&N!==V&&i.reference[v]/2-(N<_?P:M)-h[v]/2<0,j=L?N<_?N-_:N-R:0;return{[p]:f[p]+j,data:{[p]:V,centerOffset:N-V-j,...L&&{alignmentOffset:j}},reset:L}}}),rrt=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...g}=zC(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=Ov(o),m=mh(s),b=Ov(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),A=f||(b||!h?[LE(s)]:Ynt(s)),S=v!=="none";!f&&S&&A.push(...Jnt(s,h,v,w));const k=[s,...A],O=await $W(t,g),I=[];let P=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&I.push(O[y]),c){const N=Knt(o,a,w);I.push(O[N[0]],O[N[1]])}if(P=[...P,{placement:o,overflows:I}],!I.every(N=>N<=0)){var M,_;const N=(((M=i.flip)==null?void 0:M.index)||0)+1,V=k[N];if(V&&(!(c==="alignment"?m!==mh(V):!1)||P.every(H=>mh(H.placement)===m?H.overflows[0]>0:!0)))return{data:{index:N,overflows:P},reset:{placement:V}};let L=(_=P.filter(j=>j.overflows[0]<=0).sort((j,H)=>j.overflows[1]-H.overflows[1])[0])==null?void 0:_.placement;if(!L)switch(p){case"bestFit":{var R;const j=(R=P.filter(H=>{if(S){const G=mh(H.placement);return G===m||G==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(G=>G>0).reduce((G,Z)=>G+Z,0)]).sort((H,G)=>H[1]-G[1])[0])==null?void 0:R[0];j&&(L=j);break}case"initialPlacement":L=s;break}if(o!==L)return{reset:{placement:L}}}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=Ov(n),s=$C(n),l=mh(n)==="y",u=ort.has(a)?-1:1,d=i&&l?-1:1,c=zC(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}=zC(e,t),u={x:n,y:r},d=await $W(t,l),c=mh(Ov(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 mD(){return typeof window<"u"}function zb(e){return A2e(e)?(e.nodeName||"").toLowerCase():"#document"}function iu(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Zd(e){var t;return(t=(A2e(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function A2e(e){return mD()?e instanceof Node||e instanceof iu(e).Node:!1}function Uc(e){return mD()?e instanceof Element||e instanceof iu(e).Element:!1}function zd(e){return mD()?e instanceof HTMLElement||e instanceof iu(e).HTMLElement:!1}function Uee(e){return!mD()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof iu(e).ShadowRoot}const lrt=new Set(["inline","contents"]);function jC(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=zc(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(zb(e))}const drt=[":popover-open",":modal"];function yD(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=Uc(e)?zc(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=s0(e);for(;zd(t)&&!zy(t);){if(jW(t))return t;if(yD(t))return null;t=s0(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 zy(e){return vrt.has(zb(e))}function zc(e){return iu(e).getComputedStyle(e)}function bD(e){return Uc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function s0(e){if(zb(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Uee(e)&&e.host||Zd(e);return Uee(t)?t.host:t}function C2e(e){const t=s0(e);return zy(t)?e.ownerDocument?e.ownerDocument.body:e.body:zd(t)&&jC(t)?t:C2e(t)}function sA(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=iu(o);if(i){const s=lF(a);return t.concat(a,a.visualViewport||[],jC(o)?o:[],s&&n?sA(s):[])}return t.concat(o,sA(o,[],n))}function lF(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function x2e(e){const t=zc(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=zd(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=BE(n)!==i||BE(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function WW(e){return Uc(e)?e:e.contextElement}function ny(e){const t=WW(e);if(!zd(t))return Md(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=x2e(t);let a=(i?BE(n.width):n.width)/r,s=(i?BE(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const mrt=Md(0);function S2e(e){const t=iu(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!==iu(e)?!1:t}function Mv(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=WW(e);let a=Md(1);t&&(r?Uc(r)&&(a=ny(r)):a=ny(e));const s=yrt(i,n,r)?S2e(i):Md(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=iu(i),p=r&&Uc(r)?iu(r):r;let v=f,h=lF(v);for(;h&&r&&p!==v;){const g=ny(h),y=h.getBoundingClientRect(),m=zc(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=iu(h),h=lF(v)}}return FE({width:d,height:c,x:l,y:u})}function wD(e,t){const n=bD(e).scrollLeft;return t?t.left+n:Mv(Zd(e)).left+n}function E2e(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-wD(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=Zd(r),s=t?yD(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Md(1);const d=Md(0),c=zd(r);if((c||!c&&!i)&&((zb(r)!=="body"||jC(a))&&(l=bD(r)),zd(r))){const p=Mv(r);u=ny(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const f=a&&!c&&!i?E2e(a,l):Md(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=Zd(e),n=bD(e),r=e.ownerDocument.body,o=Yg(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Yg(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+wD(e);const s=-n.scrollTop;return zc(r).direction==="rtl"&&(a+=Yg(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}const zee=25;function Crt(e,t){const n=iu(e),r=Zd(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=wD(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=Mv(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=zd(e)?ny(e):Md(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(Zd(e));else if(Uc(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 FE(r)}function k2e(e,t){const n=s0(e);return n===t||!Uc(n)||zy(n)?!1:zc(n).position==="fixed"||k2e(n,t)}function Ert(e,t){const n=t.get(e);if(n)return n;let r=sA(e,[],!1).filter(s=>Uc(s)&&zb(s)!=="body"),o=null;const i=zc(e).position==="fixed";let a=i?s0(e):e;for(;Uc(a)&&!zy(a);){const s=zc(a),l=jW(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&xrt.has(o.position)||jC(a)&&!l&&k2e(e,a))?r=r.filter(d=>d!==a):o=s,a=s0(a)}return t.set(e,r),r}function krt(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?yD(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=Yg(c.top,u.top),u.right=Uy(c.right,u.right),u.bottom=Uy(c.bottom,u.bottom),u.left=Yg(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=zd(t),o=Zd(t),i=n==="fixed",a=Mv(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Md(0);function u(){l.x=wD(o)}if(r||!r&&!i)if((zb(t)!=="body"||jC(o))&&(s=bD(t)),r){const p=Mv(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):Md(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 zc(e).position==="static"}function jee(e,t){if(!zd(e)||zc(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Zd(e)===n&&(n=n.ownerDocument.body),n}function T2e(e,t){const n=iu(e);if(yD(e))return n;if(!zd(e)){let o=s0(e);for(;o&&!zy(o);){if(Uc(o)&&!NI(o))return o;o=s0(o)}return n}let r=jee(e,t);for(;r&&crt(r)&&NI(r);)r=jee(r,t);return r&&zy(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 zc(e).direction==="rtl"}const Ort={convertOffsetParentRelativeRectToViewportRelativeRect:brt,getDocumentElement:Zd,getClippingRect:krt,getOffsetParent:T2e,getElementRects:Drt,getClientRects:wrt,getDimensions:Trt,getScale:ny,isElement:Uc,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=Zd(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=Ex(c),h=Ex(o.clientWidth-(d+f)),g=Ex(o.clientHeight-(c+p)),y=Ex(d),b={rootMargin:-v+"px "+-h+"px "+-g+"px "+-y+"px",threshold:Yg(0,Uy(1,l))||1};let w=!0;function A(S){const k=S[0].intersectionRatio;if(k!==l){if(!w)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}k===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?sA(u):[],...sA(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?Mv(e):null;l&&g();function g(){const y=Mv(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=Yt({style:{type:lt([String,Object,Array]),default:()=>({})}}),Frt=et({name:"ElVisuallyHidden"}),Urt=et({...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)=>(F(),K("span",pr(r.$attrs,{style:C(n)}),[pt(r.$slots,"default")],16))}});var zrt=en(Urt,[["__file","visual-hidden.vue"]]);Yt({});const $rt=e=>{if(!Kr)return;if(!e)return e;const t=Sa(e);return t||(Ro(e)?t:e)},jrt=({middleware:e,placement:t,strategy:n})=>{const r=Y(),o=Y(),i=Y(),a=Y(),s=Y({}),l={x:i,y:a,placement:t,strategy:n,middlewareData:s},u=async()=>{if(!Kr)return;const d=$rt(r),c=Sa(o);if(!d||!c)return;const f=await O2e(d,c,{placement:C(t),strategy:C(n),middleware:C(e)});Ty(l).forEach(p=>{l[p].value=f[p]})};return jn(()=>{Cs(()=>{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=et({name:"ElTooltipV2Content"}),Vrt=et({...Wrt,props:{...BW,...v2e},setup(e){const t=e,{triggerRef:n,contentId:r}=un(vD),o=Y(t.placement),i=Y(t.strategy),a=Y(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=Pb().nextZIndex(),v=jt("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 Ct(a,()=>f()),Ct(()=>t.placement,b=>o.value=b),jn(()=>{Ct(()=>t.reference||n.value,b=>{s.value=b||void 0},{immediate:!0})}),Sr(y2e,{arrowRef:a}),(b,w)=>(F(),K("div",{ref_key:"contentRef",ref:l,style:Jt(C(g)),"data-tooltip-v2-root":""},[b.nowrap?xe("v-if",!0):(F(),K("div",{key:0,"data-side":C(h),class:oe(C(m))},[pt(b.$slots,"default",{contentStyle:C(g),contentClass:C(m)}),$e(C(zrt),{id:C(r),role:"tooltip"},{default:nt(()=>[b.ariaLabel?(F(),K(Nt,{key:0},[An(ze(b.ariaLabel),1)],64)):pt(b.$slots,"default",{key:1})]),_:3},8,["id"]),pt(b.$slots,"arrow",{style:Jt(C(y)),side:C(h)})],10,["data-side"]))],4))}});var Hee=en(Vrt,[["__file","content.vue"]]);const qrt=Yt({setRef:{type:lt(Function),required:!0},onlyChild:Boolean});var Grt=et({props:qrt,setup(e,{slots:t}){const n=Y(),r=fD(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 $e(Nt,{ref:r},[a])}}});const Krt=et({name:"ElTooltipV2Trigger"}),Yrt=et({...Krt,props:{...v2e,...FW},setup(e){const t=e,{onClose:n,onOpen:r,onDelayOpen:o,triggerRef:i,contentId:a}=un(vD);let s=!1;const l=m=>{i.value=m},u=()=>{s=!1},d=Ni(t.onMouseEnter,o),c=Ni(t.onMouseLeave,n),f=Ni(t.onMouseDown,()=>{n(),s=!0,document.addEventListener("mouseup",u,{once:!0})}),p=Ni(t.onFocus,()=>{s||r()}),v=Ni(t.onBlur,n),h=Ni(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 Ct(i,(m,b)=>{y(m,g,"addEventListener"),y(b,g,"removeEventListener"),m&&m.setAttribute("aria-describedby",a.value)}),Yr(()=>{y(i.value,g,"removeEventListener"),document.removeEventListener("mouseup",u)}),(m,b)=>m.nowrap?(F(),mt(C(Grt),{key:0,"set-ref":l,"only-child":""},{default:nt(()=>[pt(m.$slots,"default")]),_:3})):(F(),K("button",pr({key:1,ref_key:"triggerRef",ref:i},m.$attrs),[pt(m.$slots,"default")],16))}});var Qrt=en(Yrt,[["__file","trigger.vue"]]);const Zrt=et({name:"ElTooltipV2"}),Xrt=et({...Zrt,props:Unt,setup(e){const n=_a(e),r=Ur(ru(n,Object.keys(RW))),o=Ur(ru(n,Object.keys(BW))),i=Ur(ru(n,Object.keys(LW))),a=Ur(ru(n,Object.keys(FW)));return(s,l)=>(F(),mt(jnt,Sl(Bd(i)),{default:nt(({open:u})=>[$e(Qrt,pr(a,{nowrap:""}),{default:nt(()=>[pt(s.$slots,"trigger")]),_:3},16),$e(C(Lb),{to:s.to,disabled:!s.teleported},{default:nt(()=>[s.fullTransition?(F(),mt(Wi,Sl(pr({key:0},s.transitionProps)),{default:nt(()=>[s.alwaysOn||u?(F(),mt(Hee,Sl(pr({key:0},o)),{arrow:nt(({style:d,side:c})=>[s.showArrow?(F(),mt(Ree,pr({key:0},r,{style:d,side:c}),null,16,["style","side"])):xe("v-if",!0)]),default:nt(()=>[pt(s.$slots,"default")]),_:3},16)):xe("v-if",!0)]),_:2},1040)):(F(),K(Nt,{key:1},[s.alwaysOn||u?(F(),mt(Hee,Sl(pr({key:0},o)),{arrow:nt(({style:d,side:c})=>[s.showArrow?(F(),mt(Ree,pr({key:0},r,{style:d,side:c}),null,16,["style","side"])):xe("v-if",!0)]),default:nt(()=>[pt(s.$slots,"default")]),_:3},16)):xe("v-if",!0)],64))]),_:2},1032,["to","disabled"])]),_:3},16))}});var Jrt=en(Xrt,[["__file","tooltip.vue"]]);const eot=er(Jrt),M2e="left-check-change",P2e="right-check-change",_1=Yt({data:{type:lt(Array),default:()=>[]},titles:{type:lt(Array),default:()=>[]},buttonTexts:{type:lt(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:lt(Function)},leftDefaultChecked:{type:lt(Array),default:()=>[]},rightDefaultChecked:{type:lt(Array),default:()=>[]},renderContent:{type:lt(Function)},modelValue:{type:lt(Array),default:()=>[]},format:{type:lt(Object),default:()=>({})},filterable:Boolean,props:{type:lt(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(qt)||qt(e)&&Zi(t),tot={[Tr]:(e,t,n)=>[e,n].every(qt)&&["left","right"].includes(t),[Gn]:e=>qt(e),[M2e]:uF,[P2e]:uF},cF="checked-change",not=Yt({data:_1.data,optionRender:{type:lt(Function)},placeholder:String,title:String,filterable:Boolean,format:_1.format,filterMethod:_1.filterMethod,defaultChecked:_1.leftDefaultChecked,props:_1.props}),rot={[cF]:uF},HC=e=>{const t={label:"label",key:"key",disabled:"disabled"};return ee(()=>({...t,...e.props}))},oot=(e,t,n)=>{const r=HC(e),o=ee(()=>e.data.filter(d=>Pn(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 Ct(()=>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}),Ct(i,()=>{l()}),Ct(()=>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}),Ct(()=>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=et({name:"ElTransferPanel"}),aot=et({...iot,props:not,emits:rot,setup(e,{expose:t,emit:n}){const r=e,o=pa(),i=({option:b})=>b,{t:a}=Hr(),s=jt("transfer"),l=Ur({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=HC(r),{filteredData:d,checkedSummary:c,isIndeterminate:f,handleAllCheckedChange:p}=oot(r,l,n),v=ee(()=>!Jl(l.query)&&Jl(d.value)),h=ee(()=>!Jl(o.default()[0].children)),{checked:g,allChecked:y,query:m}=_a(l);return t({query:m}),(b,w)=>(F(),K("div",{class:oe(C(s).b("panel"))},[x("p",{class:oe(C(s).be("panel","header"))},[$e(C(Yu),{modelValue:C(y),"onUpdate:modelValue":A=>Ro(y)?y.value=A:null,indeterminate:C(f),"validate-event":!1,onChange:C(p)},{default:nt(()=>[An(ze(b.title)+" ",1),x("span",null,ze(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?(F(),mt(C(Us),{key:0,modelValue:C(m),"onUpdate:modelValue":A=>Ro(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),an($e(C(rye),{modelValue:C(g),"onUpdate:modelValue":A=>Ro(g)?g.value=A:null,"validate-event":!1,class:oe([C(s).is("filterable",b.filterable),C(s).be("panel","list")])},{default:nt(()=>[(F(!0),K(Nt,null,on(C(d),A=>(F(),mt(C(Yu),{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:nt(()=>{var S;return[$e(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"]),[[Ar,!C(v)&&!C(Jl)(b.data)]]),an(x("div",{class:oe(C(s).be("panel","empty"))},[pt(b.$slots,"empty",{},()=>[An(ze(C(v)?C(a)("el.transfer.noMatch"):C(a)("el.transfer.noData")),1)])],2),[[Ar,C(v)||C(Jl)(b.data)]])],2),C(h)?(F(),K("p",{key:0,class:oe(C(s).be("panel","footer"))},[pt(b.$slots,"default")],2)):xe("v-if",!0)],2))}});var Wee=en(aot,[["__file","transfer-panel.vue"]]);const sot=e=>{const t=HC(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=HC(e),o=(s,l,u)=>{n(Gn,s),n(Tr,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=et({name:"ElTransfer"}),dot=et({...cot,props:_1,emits:tot,setup(e,{expose:t,emit:n}){const r=e,o=pa(),{t:i}=Hr(),a=jt("transfer"),{formItem:s}=ks(),l=Ur({leftChecked:[],rightChecked:[]}),u=HC(r),{sourceData:d,targetData:c}=sot(r),{onSourceCheckedChange:f,onTargetCheckedChange:p}=uot(l,n),{addToLeft:v,addToRight:h}=lot(r,l,n),g=Y(),y=Y(),m=O=>{switch(O){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"));Ct(()=>r.modelValue,()=>{var O;r.validateEvent&&((O=s?.validate)==null||O.call(s,"change").catch(I=>void 0))});const k=ee(()=>O=>{var I;if(r.renderContent)return r.renderContent(Fn,O);const P=(((I=o.default)==null?void 0:I.call(o,{option:O}))||[]).filter(M=>M.type!==ua);return P.length?P:Fn("span",O[u.value.label]||O[u.value.key])});return t({clearQuery:m,leftPanel:g,rightPanel:y}),(O,I)=>(F(),K("div",{class:oe(C(a).b())},[$e(Wee,{ref_key:"leftPanel",ref:g,data:C(d),"option-render":C(k),placeholder:C(S),title:C(w),filterable:O.filterable,format:O.format,"filter-method":O.filterMethod,"default-checked":O.leftDefaultChecked,props:r.props,onCheckedChange:C(f)},{empty:nt(()=>[pt(O.$slots,"left-empty")]),default:nt(()=>[pt(O.$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"))},[$e(C(Za),{type:"primary",class:oe([C(a).e("button"),C(a).is("with-texts",C(b))]),disabled:C(Jl)(l.rightChecked),onClick:C(v)},{default:nt(()=>[$e(C(_n),null,{default:nt(()=>[$e(C(Kf))]),_:1}),C(zr)(O.buttonTexts[0])?xe("v-if",!0):(F(),K("span",{key:0},ze(O.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),$e(C(Za),{type:"primary",class:oe([C(a).e("button"),C(a).is("with-texts",C(b))]),disabled:C(Jl)(l.leftChecked),onClick:C(h)},{default:nt(()=>[C(zr)(O.buttonTexts[1])?xe("v-if",!0):(F(),K("span",{key:0},ze(O.buttonTexts[1]),1)),$e(C(_n),null,{default:nt(()=>[$e(C(ka))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),$e(Wee,{ref_key:"rightPanel",ref:y,data:C(c),"option-render":C(k),placeholder:C(S),filterable:O.filterable,format:O.format,"filter-method":O.filterMethod,title:C(A),"default-checked":O.rightDefaultChecked,props:r.props,onCheckedChange:C(p)},{empty:nt(()=>[pt(O.$slots,"right-empty")]),default:nt(()=>[pt(O.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var fot=en(dot,[["__file","transfer.vue"]]);const pot=er(fot),ry="$treeNodeId",Vee=function(e,t){!t||t[ry]||Object.defineProperty(t,ry,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},VW=(e,t)=>t?.[e||ry],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 jS{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)Zr(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=kx(this,"isLeaf");Co(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(),qt(this.data)||Vee(this,this.data),!this.data)return;const o=n.defaultExpandedKeys,i=n.key;i&&!Zi(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){qt(t)||Vee(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&qt(this.data)?n=this.data:n=kx(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 jS)){if(!r){const o=this.getChildren(!0);o?.includes(t.data)||(zr(n)||n<0?o?.push(t.data):o?.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=Ur(new jS(t)),t instanceof jS&&t.initialize()}t.level=this.level+1,zr(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=>{qt(o)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||b4(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(),b4(this)},{checked:t!==!1});return}else l()}const i=this.parent;!i||i.level===0||r||b4(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"),zr(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[ry];!!s&&n.findIndex(u=>u?.[ry]===s)>=0?r[s]={index:a,data:i}:o.push({index:a,data:i})}),this.store.lazy||n.forEach(i=>{r[i?.[ry]]||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||b4(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)Zr(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()},go)}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 Vt(),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=ar(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=Il(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||[];!Zi(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;Zi(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)Zr(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,Il(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=et({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=jt("tree"),n=un(N2e),r=un(qW);return()=>{const o=e.node,{data:i,store:a}=o;return e.renderContent?e.renderContent(Fn,{_self:n,node:o,data:i,store:a}):pt(r.ctx.slots,"default",{node:o,data:i},()=>[Fn(NW,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[o.label])])}}});var mot=en(vot,[["__file","tree-node-content.vue"]]);function R2e(e){const t=un(qee,null),n={treeNodeExpand:r=>{var o;e.node!==r&&((o=e.node)==null||o.collapse())},children:[]};return t&&t.children.push(n),Sr(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=jt("tree"),a=Y({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Sr(B2e,{treeNodeDragStart:({event:d,treeNode:c})=>{if(d.dataTransfer){if(Pn(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&&$s(p.$el,i.is("drop-inner"));const v=a.value.draggingNode;if(!v||!f)return;let h=!0,g=!0,y=!0,m=!0;Pn(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 k=h?g?.25:y?.45:1:-1,O=y?g?.75:h?.55:0:1;let I=-9999;const P=d.clientY-w.top;Pw.height*O?S="after":g?S="inner":S="none";const M=b.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),_=r.value;S==="before"?I=M.top-A.top:S==="after"&&(I=M.bottom-A.top),_.style.top=`${I}px`,_.style.left=`${M.right-A.left}px`,S==="inner"?Nu(b,i.is("drop-inner")):$s(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)})),$s(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=et({name:"ElTreeNode",components:{ElCollapseTransition:cD,ElCheckbox:Yu,NodeContent:mot,ElIcon:_n,Loading:Bc},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=jt("tree"),{broadcastExpanded:r}=R2e(e),o=un(qW),i=Y(!1),a=Y(!1),s=Y(),l=Y(),u=Y(),d=un(B2e),c=vr();Sr(N2e,c),e.node.expanded&&(i.value=!0,a.value=!0);const f=o.props.props.children||"children";Ct(()=>{var I;const P=(I=e.node.data)==null?void 0:I[f];return P&&[...P]},()=>{e.node.updateChildren()}),Ct(()=>e.node.indeterminate,I=>{h(e.node.checked,I)}),Ct(()=>e.node.checked,I=>{h(I,e.node.indeterminate)}),Ct(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),Ct(()=>e.node.expanded,I=>{Vt(()=>i.value=I),I&&(a.value=!0)});const p=I=>VW(o.props.nodeKey,I.data),v=I=>{const P=e.props.class;if(!P)return{};let M;if(Pn(P)){const{data:_}=I;M=P(_,I)}else M=P;return Dn(M)?{[M]:!0}:M},h=(I,P)=>{(s.value!==I||l.value!==P)&&o.ctx.emit("check-change",e.node.data,I,P),s.value=I,l.value=P},g=I=>{dF(o.store,o.ctx.emit,()=>{var P;if((P=o?.props)==null?void 0:P.nodeKey){const _=p(e.node);o.store.value.setCurrentNodeKey(_)}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,I)},y=I=>{var P;(P=o.instance.vnode.props)!=null&&P.onNodeContextmenu&&(I.stopPropagation(),I.preventDefault()),o.ctx.emit("node-contextmenu",I,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=I=>{e.node.setChecked(I,!o?.props.checkStrictly),Vt(()=>{const P=o.store.value;o.ctx.emit("check",e.node.data,{checkedNodes:P.getCheckedNodes(),checkedKeys:P.getCheckedKeys(),halfCheckedNodes:P.getHalfCheckedNodes(),halfCheckedKeys:P.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:(I,P,M)=>{r(P),o.ctx.emit("node-expand",I,P,M)},handleDragStart:I=>{o.props.draggable&&d.treeNodeDragStart({event:I,treeNode:e})},handleDragOver:I=>{I.preventDefault(),o.props.draggable&&d.treeNodeDragOver({event:I,treeNode:{$el:u.value,node:e.node}})},handleDrop:I=>{I.preventDefault()},handleDragEnd:I=>{o.props.draggable&&d.treeNodeDragEnd(I)},CaretRight:t1e}}});function wot(e,t,n,r,o,i){const a=lr("el-icon"),s=lr("el-checkbox"),l=lr("loading"),u=lr("node-content"),d=lr("el-tree-node"),c=lr("el-collapse-transition");return an((F(),K("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:Qt(e.handleClick,["stop"]),onContextmenu:e.handleContextMenu,onDragstart:Qt(e.handleDragStart,["stop"]),onDragover:Qt(e.handleDragOver,["stop"]),onDragend:Qt(e.handleDragEnd,["stop"]),onDrop:Qt(e.handleDrop,["stop"])},[x("div",{class:oe(e.ns.be("node","content")),style:Jt({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(F(),mt(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:Qt(e.handleExpandIconClick,["stop"])},{default:nt(()=>[(F(),mt(hr(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):xe("v-if",!0),e.showCheckbox?(F(),mt(s,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:Qt(()=>{},["stop"]),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onClick","onChange"])):xe("v-if",!0),e.node.loading?(F(),mt(a,{key:2,class:oe([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:nt(()=>[$e(l)]),_:1},8,["class"])):xe("v-if",!0),$e(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),$e(c,null,{default:nt(()=>[!e.renderAfterExpand||e.childNodeRendered?an((F(),K("div",{key:0,class:oe(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded,onClick:Qt(()=>{},["stop"])},[(F(!0),K(Nt,null,on(e.node.childNodes,f=>(F(),mt(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"])),[[Ar,e.expanded]]):xe("v-if",!0)]),_:1})],42,["aria-expanded","aria-disabled","aria-checked","draggable","data-key","onClick","onContextmenu","onDragstart","onDragover","onDragend","onDrop"])),[[Ar,e.node.visible]])}var Aot=en(bot,[["render",wot],["__file","tree-node.vue"]]);function Cot({el$:e},t){const n=jt("tree");jn(()=>{i()}),Wc(()=>{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)}Mo(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=et({name:"ElTree",components:{ElTreeNode:Aot},props:{data:{type:lt(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:lt(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:lt(Function)},allowDrop:{type:lt(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:vo}},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}=Hr(),r=jt("tree"),o=un(Ub,null),i=Y(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=Y(i.value.root),s=Y(null),l=Y(null),u=Y(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:H}=a.value,G=o?o.hasFilteredOptions!==0:!1;return(!H||H.length===0||H.every(({visible:Z})=>!Z))&&!G});Ct(()=>e.currentNodeKey,H=>{i.value.setCurrentNodeKey(H??null)}),Ct(()=>e.defaultCheckedKeys,(H,G)=>{ca(H,G)||i.value.setDefaultCheckedKey(H??[])}),Ct(()=>e.defaultExpandedKeys,H=>{i.value.setDefaultExpandedKeys(H??[])}),Ct(()=>e.data,H=>{i.value.setData(H)},{deep:!0}),Ct(()=>e.checkStrictly,H=>{i.value.checkStrictly=H});const p=H=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");i.value.filter(H)},v=H=>VW(e.nodeKey,H.data),h=H=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const G=i.value.getNode(H);if(!G)return[];const Z=[G.data];let z=G.parent;for(;z&&z!==a.value;)Z.push(z.data),z=z.parent;return Z.reverse()},g=(H,G)=>i.value.getCheckedNodes(H,G),y=H=>i.value.getCheckedKeys(H),m=()=>{const H=i.value.getCurrentNode();return H?H.data:null},b=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const H=m();return H?H[e.nodeKey]:null},w=(H,G)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");i.value.setCheckedNodes(H,G)},A=(H,G)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");i.value.setCheckedKeys(H,G)},S=(H,G,Z)=>{i.value.setChecked(H,G,Z)},k=()=>i.value.getHalfCheckedNodes(),O=()=>i.value.getHalfCheckedKeys(),I=(H,G=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");dF(i,t.emit,()=>{d(H),i.value.setUserCurrentNode(H,G)})},P=(H,G=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");dF(i,t.emit,()=>{d(),i.value.setCurrentNodeKey(H??null,G)})},M=H=>i.value.getNode(H),_=H=>{i.value.remove(H)},R=(H,G)=>{i.value.append(H,G)},N=(H,G)=>{i.value.insertBefore(H,G)},V=(H,G)=>{i.value.insertAfter(H,G)},L=(H,G,Z)=>{d(G),t.emit("node-expand",H,G,Z)},j=(H,G)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");i.value.updateChildren(H,G)};return Sr(qW,{ctx:t,props:e,store:i,root:a,currentNode:s,instance:vr()}),Sr(Fd,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:k,getHalfCheckedKeys:O,setCurrentNode:I,setCurrentKey:P,t:n,getNode:M,remove:_,append:R,insertBefore:N,insertAfter:V,handleNodeExpand:L,updateKeyChildren:j}}});function Sot(e,t,n,r,o,i){const a=lr("el-tree-node");return F(),K("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"},[(F(!0),K(Nt,null,on(e.root.childNodes,s=>(F(),mt(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?(F(),K("div",{key:0,class:oe(e.ns.e("empty-block"))},[pt(e.$slots,"empty",{},()=>{var s;return[x("span",{class:oe(e.ns.e("empty-text"))},ze((s=e.emptyText)!=null?s:e.t("el.tree.emptyText")),3)]})],2)):xe("v-if",!0),an(x("div",{ref:"dropIndicator$",class:oe(e.ns.e("drop-indicator"))},null,2),[[Ar,e.dragState.showDropIndicator]])],2)}var Eot=en(xot,[["render",Sot],["__file","tree.vue"]]);const UE=er(Eot),kot=(e,{attrs:t,emit:n},{select:r,tree:o,key:i})=>{const a=jt("tree-select");return Ct(()=>e.data,()=>{e.filterable&&Vt(()=>{var l,u;(u=o.value)==null||u.filter((l=r.value)==null?void 0:l.states.inputValue)})},{flush:"post"}),{...ru(_a(e),Object.keys(Dv.props)),...t,class:ee(()=>t.class),style:ee(()=>t.style),"onUpdate:modelValue":l=>n(Gn,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=et({extends:TE,setup(e,t){const n=TE.setup(e,t);delete n.selectOptionClick;const r=vr().proxy;return Vt(()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)}),Ct(()=>t.attrs.visible,o=>{Vt(()=>{n.states.visible=o})},{immediate:!0}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function gF(e){return e||e===0}function GW(e){return qt(e)&&e.length}function Bm(e){return qt(e)?e:gF(e)?[e]:[]}function HS(e,t,n,r,o){for(let i=0;i{Ct([()=>e.modelValue,i],()=>{e.showCheckbox&&Vt(()=>{const f=i.value;f&&!ca(f.getCheckedKeys(),Bm(e.modelValue))&&f.setCheckedKeys(Bm(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 Pn(h)?h(p,(v=i.value)==null?void 0:v.getNode(l("value",p))):p[h]},u=Bm(e.modelValue).map(f=>HS(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 WS(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!Zi(h)&&Jl(h.childNodes)})};return{...ru(_a(e),Object.keys(UE.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={};WS([i.value.store.root],w=>g[w.key]=w,w=>w.childNodes);const y=p.checkedKeys,m=e.multiple?Bm(e.modelValue).filter(w=>!(w in g)&&!y.includes(w)):[],b=m.concat(y);if(e.checkStrictly)r(Gn,e.multiple?b:b.includes(h)?h:void 0);else if(e.multiple){const w=c();r(Gn,m.concat(w))}else{const w=HS([f],k=>!GW(l("children",k))&&!l("disabled",k),k=>l("children",k)),A=w?l("value",w):void 0,S=gF(e.modelValue)&&!!HS([f],k=>l("value",k)===e.modelValue,k=>l("children",k));r(Gn,A===e.modelValue||S?void 0:A)}Vt(()=>{var w;const A=Bm(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),Vt(()=>{if(!e.checkStrictly&&e.lazy&&e.multiple&&p.checked){const g={},y=i.value.getCheckedKeys();WS([i.value.store.root],w=>g[w.key]=w,w=>w.childNodes);const m=Bm(e.modelValue).filter(w=>!(w in g)&&!y.includes(w)),b=c();r(Gn,m.concat(b))}})},cacheOptions:d}};var Dot=et({props:{data:{type:Array,default:()=>[]}},setup(e){const t=un(Ub);return Ct(()=>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"))||[];Kr&&!Array.from(r).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const Iot=et({name:"ElTreeSelect",inheritAttrs:!1,props:{...Dv.props,...UE.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:r}=t,o=Y(),i=Y(),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=Ur({});return r(d),jn(()=>{Object.assign(d,{...ru(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...ru(o.value,["focus","blur","selectedLabel"])})}),()=>Fn(Dv,Ur({...s,ref:c=>o.value=c}),{...n,default:()=>[Fn(Dot,{data:l.value}),Fn(UE,Ur({...u,ref:c=>i.value=c}))]})}});var Oot=en(Iot,[["__file","tree-select.vue"]]);const Mot=er(Oot),KW=Symbol(),Pot={key:-1,level:-1,data:{}};var w4=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e.CLASS="",e))(w4||{}),vF=(e=>(e.ADD="add",e.DELETE="delete",e))(vF||{});const L2e={type:Number,default:26},Not=Yt({data:{type:lt(Array),default:()=>fi([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:lt(Object),default:()=>fi({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:lt(Array),default:()=>fi([])},checkStrictly:Boolean,defaultExpandedKeys:{type:lt(Array),default:()=>fi([])},indent:{type:Number,default:16},itemSize:L2e,icon:{type:vo},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:lt([String,Number])},accordion:Boolean,filterMethod:{type:lt(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),Rot=Yt({node:{type:lt(Object),default:()=>fi(Pot)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize:L2e}),Bot=Yt({node:{type:lt(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&&Co(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&&Co(t)};function Uot(e,t){const n=Y(new Set),r=Y(new Set),{emit:o}=vr();Ct([()=>t.value,()=>e.defaultCheckedKeys],()=>Vt(()=>{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 k=w-1;k>=1;--k){const O=b.get(k);O&&O.forEach(I=>{const P=I.children;if(P){let M=!0,_=!1;for(const R of P){const N=R.key;if(A.has(N))_=!0;else if(S.has(N)){M=!1,_=!0;break}else M=!1}M?A.add(I.key):_?(S.add(I.key),A.delete(I.key)):(A.delete(I.key),S.delete(I.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 k=n.value,O=(I,P)=>{k[P?vF.ADD:vF.DELETE](I.key);const M=I.children;!e.checkStrictly&&M&&M.forEach(_=>{_.disabled||O(_,P)})};O(b,w),S&&i(),A&&u(b,w)},u=(b,w)=>{const{checkedNodes:A,checkedKeys:S}=v(),{halfCheckedNodes:k,halfCheckedKeys:O}=h();o(H2e,b.data,{checkedKeys:S,checkedNodes:A,halfCheckedKeys:O,halfCheckedNodes:k}),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(k=>{const O=S.get(k);O&&(!b||b&&O.isLeaf)&&(A.push(k),w.push(O.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 k=A.get(S);k&&(w.push(S),b.push(k.data))})}return{halfCheckedNodes:b,halfCheckedKeys:w}}function g(b){n.value.clear(),r.value.clear(),Vt(()=>{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=Y(new Set([])),r=Y(new Set([])),o=ee(()=>Pn(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=Y(new Set),r=Y(),o=Uo(),i=Y(),{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)||w4.KEY}),b=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.children)||w4.CHILDREN}),w=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.disabled)||w4.DISABLED}),A=ee(()=>{var Ae;return((Ae=e.props)==null?void 0:Ae.label)||w4.LABEL}),S=ee(()=>{var Ae;const ge=n.value,_e=g.value,Q=[],be=((Ae=o.value)==null?void 0:Ae.treeNodes)||[],De=[];for(let pe=be.length-1;pe>=0;--pe)De.push(be[pe]);for(;De.length;){const pe=De.pop();if(!_e.has(pe.key)&&(Q.push(pe),pe.children&&ge.has(pe.key)))for(let ie=pe.children.length-1;ie>=0;--ie)De.push(pe.children[ie])}return Q}),k=ee(()=>S.value.length>0);function O(Ae){const ge=new Map,_e=new Map;let Q=1;function be(pe,ie=1,ce=void 0){var Re;const Ee=[];for(const Le of pe){const Fe=M(Le),Pe={level:ie,key:Fe,data:Le};Pe.label=R(Le),Pe.parent=ce;const Ne=P(Le);Pe.disabled=_(Le),Pe.isLeaf=!Ne||Ne.length===0,Pe.expanded=n.value.has(Fe),Ne&&Ne.length&&(Pe.children=be(Ne,ie+1,Pe)),Ee.push(Pe),ge.set(Fe,Pe),_e.has(ie)||_e.set(ie,[]),(Re=_e.get(ie))==null||Re.push(Pe)}return ie>Q&&(Q=ie),Ee}const De=be(Ae);return{treeNodeMap:ge,levelTreeNodeMap:_e,maxLevel:Q,treeNodes:De}}function I(Ae){const ge=h(Ae);ge&&(n.value=ge)}function P(Ae){return Ae[b.value]}function M(Ae){return Ae?Ae[m.value]:""}function _(Ae){return Ae[w.value]}function R(Ae){return Ae[A.value]}function N(Ae){n.value.has(Ae.key)?z(Ae):Z(Ae)}function V(Ae){const ge=new Set,_e=o.value.treeNodeMap;Ae.forEach(Q=>{let be=_e.get(Q);for(;be&&!ge.has(be.key);)ge.add(be.key),be.expanded=!0,be=be.parent}),n.value=ge}function L(Ae,ge){t(F2e,Ae.data,Ae,ge),H(Ae),e.expandOnClickNode&&N(Ae),e.showCheckbox&&(e.checkOnClickNode||Ae.isLeaf&&e.checkOnClickLeaf)&&!Ae.disabled&&l(Ae,!s(Ae),!0)}function j(Ae,ge){t(U2e,Ae.data,Ae,ge)}function H(Ae){W(Ae)||(r.value=Ae.key,t(j2e,Ae.data,Ae))}function G(Ae,ge){l(Ae,ge)}function Z(Ae){const ge=n.value;if(o.value&&e.accordion){const{treeNodeMap:_e}=o.value;ge.forEach(Q=>{const be=_e.get(Q);Ae&&Ae.level===be?.level&&(ge.delete(Q),be.expanded=!1)})}ge.add(Ae.key),Ae.expanded=!0,t(z2e,Ae.data,Ae)}function z(Ae){n.value.delete(Ae.key),Ae.expanded=!1,t($2e,Ae.data,Ae)}function U(Ae){return!!Ae.disabled}function W(Ae){const ge=r.value;return ge!==void 0&&ge===Ae.key}function re(){var Ae,ge;if(r.value)return(ge=(Ae=o.value)==null?void 0:Ae.treeNodeMap.get(r.value))==null?void 0:ge.data}function J(){return r.value}function te(Ae){r.value=Ae}function X(Ae){o.value=O(Ae)}function ue(Ae){var ge;const _e=ar(Ae)?M(Ae):Ae;return(ge=o.value)==null?void 0:ge.treeNodeMap.get(_e)}function me(Ae,ge="auto"){const _e=ue(Ae);_e&&i.value&&i.value.scrollToItem(S.value.indexOf(_e),ge)}function Me(Ae){var ge;(ge=i.value)==null||ge.scrollTo(Ae)}return Ct(()=>e.currentNodeKey,Ae=>{r.value=Ae},{immediate:!0}),Ct(()=>e.defaultExpandedKeys,Ae=>{n.value=new Set(Ae)},{immediate:!0}),Ct(()=>e.data,Ae=>{X(Ae)},{immediate:!0}),{tree:o,flattenTree:S,isNotEmpty:k,listRef:i,getKey:M,getChildren:P,toggleExpand:N,toggleCheckbox:l,isChecked:s,isIndeterminate:a,isDisabled:U,isCurrent:W,isForceHiddenExpandIcon:y,handleNodeClick:L,handleNodeDrop:j,handleNodeCheck:G,getCurrentNode:re,getCurrentKey:J,setCurrentKey:te,getCheckedKeys:u,getCheckedNodes:d,getHalfCheckedKeys:c,getHalfCheckedNodes:f,setChecked:p,setCheckedKeys:v,filter:I,setData:X,getNode:ue,expandNode:Z,collapseNode:z,setExpandedKeys:V,scrollToNode:me,scrollTo:Me}}var jot=et({name:"ElTreeNodeContent",props:Bot,setup(e){const t=un(KW),n=jt("tree");return()=>{const r=e.node,{data:o}=r;return t?.ctx.slots.default?t.ctx.slots.default({node:r,data:o}):Fn(NW,{tag:"span",truncated:!0,class:n.be("node","label")},()=>[r?.label])}}});const Hot=et({name:"ElTreeNode"}),Wot=et({...Hot,props:Rot,emits:Fot,setup(e,{emit:t}){const n=e,r=un(KW),o=jt("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(Pn(v)){const{data:g}=p;h=v(g,p)}else h=v;return Dn(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 F(),K("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:Qt(l,["stop"]),onContextmenu:f,onDragover:Qt(()=>{},["prevent"]),onDragenter:Qt(()=>{},["prevent"]),onDrop:Qt(u,["stop"])},[x("div",{class:oe(C(o).be("node","content")),style:Jt({paddingLeft:`${(p.node.level-1)*C(i)}px`,height:p.itemSize+"px"})},[C(a)?(F(),mt(C(_n),{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:Qt(d,["stop"])},{default:nt(()=>[(F(),mt(hr(C(a))))]),_:1},8,["class","onClick"])):xe("v-if",!0),p.showCheckbox?(F(),mt(C(Yu),{key:1,"model-value":p.checked,indeterminate:p.indeterminate,disabled:p.disabled,onChange:c,onClick:Qt(()=>{},["stop"])},null,8,["model-value","indeterminate","disabled","onClick"])):xe("v-if",!0),$e(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=en(Wot,[["__file","tree-node.vue"]]);const qot=et({name:"ElTreeV2"}),Got=et({...qot,props:Not,emits:Lot,setup(e,{expose:t,emit:n}){const r=e,o=pa(),i=ee(()=>r.itemSize);Sr(KW,{ctx:{emit:n,slots:o},props:r,instance:vr()}),Sr(Fd,void 0);const{t:a}=Hr(),s=jt("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:k,getCheckedKeys:O,getCheckedNodes:I,getHalfCheckedKeys:P,getHalfCheckedNodes:M,setChecked:_,setCheckedKeys:R,filter:N,setData:V,getNode:L,expandNode:j,collapseNode:H,setExpandedKeys:G,scrollToNode:Z,scrollTo:z}=$ot(r,n);return t({toggleCheckbox:w,getCurrentNode:A,getCurrentKey:S,setCurrentKey:k,getCheckedKeys:O,getCheckedNodes:I,getHalfCheckedKeys:P,getHalfCheckedNodes:M,setChecked:_,setCheckedKeys:R,filter:N,setData:V,getNode:L,expandNode:j,collapseNode:H,setExpandedKeys:G,scrollToNode:Z,scrollTo:z}),(U,W)=>(F(),K("div",{class:oe([C(s).b(),{[C(s).m("highlight-current")]:U.highlightCurrent}]),role:"tree"},[C(u)?(F(),mt(C(Ebe),{key:0,ref_key:"listRef",ref:d,"class-name":C(s).b("virtual-list"),data:C(l),total:C(l).length,height:U.height,"item-size":C(i),"perf-mode":U.perfMode,"scrollbar-always-on":U.scrollbarAlwaysOn},{default:nt(({data:re,index:J,style:te})=>[(F(),mt(Vot,{key:re[J].key,style:Jt(te),node:re[J],expanded:re[J].expanded,"show-checkbox":U.showCheckbox,checked:C(p)(re[J]),indeterminate:C(f)(re[J]),"item-size":C(i),disabled:C(v)(re[J]),current:C(h)(re[J]),"hidden-expand-icon":C(g)(re[J]),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"])):(F(),K("div",{key:1,class:oe(C(s).e("empty-block"))},[pt(U.$slots,"empty",{},()=>{var re;return[x("span",{class:oe(C(s).e("empty-text"))},ze((re=U.emptyText)!=null?re:C(a)("el.tree.emptyText")),3)]})],2))],2))}});var Kot=en(Got,[["__file","tree.vue"]]);const Yot=er(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"&&Ji(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))qt(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))Zi(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=Yt({action:{type:String,default:"#"},headers:{type:lt(Object)},method:{type:String,default:"post"},data:{type:lt([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:lt(Array),default:()=>fi([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:G2e,default:"text"},httpRequest:{type:lt(Function),default:Jot},disabled:Boolean,limit:Number}),tit=Yt({...K2e,beforeUpload:{type:lt(Function),default:go},beforeRemove:{type:lt(Function)},onRemove:{type:lt(Function),default:go},onChange:{type:lt(Function),default:go},onPreview:{type:lt(Function),default:go},onSuccess:{type:lt(Function),default:go},onProgress:{type:lt(Function),default:go},onError:{type:lt(Function),default:go},onExceed:{type:lt(Function),default:go},crossorigin:{type:lt(String)}}),nit=Yt({files:{type:lt(Array),default:()=>fi([])},disabled:Boolean,handlePreview:{type:lt(Function),default:go},listType:{type:String,values:G2e,default:"text"},crossorigin:{type:lt(String)}}),rit={remove:e=>!!e},oit=et({name:"ElUploadList"}),iit=et({...oit,props:nit,emits:rit,setup(e,{emit:t}){const n=e,{t:r}=Hr(),o=jt("upload"),i=jt("icon"),a=jt("list"),s=Wa(),l=Y(!1),u=ee(()=>[o.b("list"),o.bm("list",n.listType),o.is("disabled",n.disabled)]),d=c=>{t("remove",c)};return(c,f)=>(F(),mt(Qge,{tag:"ul",class:oe(C(u)),name:C(a).b()},{default:nt(()=>[(F(!0),K(Nt,null,on(c.files,(p,v)=>(F(),K("li",{key:p.uid||p.name,class:oe([C(o).be("list","item"),C(o).is(p.status),{focusing:l.value}]),tabindex:"0",onKeydown:Lr(h=>!C(s)&&d(p),["delete"]),onFocus:h=>l.value=!0,onBlur:h=>l.value=!1,onClick:h=>l.value=!1},[pt(c.$slots,"default",{file:p,index:v},()=>[c.listType==="picture"||p.status!=="uploading"&&c.listType==="picture-card"?(F(),K("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"?(F(),K("div",{key:1,class:oe(C(o).be("list","item-info"))},[x("a",{class:oe(C(o).be("list","item-name")),onClick:Qt(h=>c.handlePreview(p),["prevent"])},[$e(C(_n),{class:oe(C(i).m("document"))},{default:nt(()=>[$e(C(_y))]),_:1},8,["class"]),x("span",{class:oe(C(o).be("list","item-file-name")),title:p.name},ze(p.name),11,["title"])],10,["onClick"]),p.status==="uploading"?(F(),mt(C(vbe),{key:0,type:c.listType==="picture-card"?"circle":"line","stroke-width":c.listType==="picture-card"?6:2,percentage:Number(p.percentage),style:Jt(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"?(F(),mt(C(_n),{key:0,class:oe([C(i).m("upload-success"),C(i).m("circle-check")])},{default:nt(()=>[$e(C(xH))]),_:1},8,["class"])):["picture-card","picture"].includes(c.listType)?(F(),mt(C(_n),{key:1,class:oe([C(i).m("upload-success"),C(i).m("check")])},{default:nt(()=>[$e(C(OC))]),_:1},8,["class"])):xe("v-if",!0)],2),C(s)?xe("v-if",!0):(F(),mt(C(_n),{key:2,class:oe(C(i).m("close")),onClick:h=>d(p)},{default:nt(()=>[$e(C(cu))]),_: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):(F(),K("i",{key:3,class:oe(C(i).m("close-tip"))},ze(C(r)("el.upload.deleteTip")),3)),c.listType==="picture-card"?(F(),K("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)},[$e(C(_n),{class:oe(C(i).m("zoom-in"))},{default:nt(()=>[$e(C(s1e))]),_:1},8,["class"])],10,["onClick"]),C(s)?xe("v-if",!0):(F(),K("span",{key:0,class:oe(C(o).be("list","item-delete")),onClick:h=>d(p)},[$e(C(_n),{class:oe(C(i).m("delete"))},{default:nt(()=>[$e(C(rLe))]),_:1},8,["class"])],10,["onClick"]))],2)):xe("v-if",!0)])],42,["onKeydown","onFocus","onBlur","onClick"]))),128)),pt(c.$slots,"append")]),_:3},8,["class","name"]))}});var Kee=en(iit,[["__file","upload-list.vue"]]);const ait=Yt({disabled:Boolean}),sit={file:e=>qt(e)},Y2e="ElUploadDrag",lit=et({name:Y2e}),uit=et({...lit,props:ait,emits:sit,setup(e,{emit:t}){un(q2e)||Ji(Y2e,"usage: ");const r=jt("upload"),o=Y(!1),i=Wa(),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)=>(F(),K("div",{class:oe([C(r).b("dragger"),C(r).is("dragover",o.value)]),onDrop:Qt(a,["prevent"]),onDragover:Qt(s,["prevent"]),onDragleave:Qt(l,["prevent"])},[pt(u.$slots,"default")],42,["onDrop","onDragover","onDragleave"]))}});var cit=en(uit,[["__file","upload-dragger.vue"]]);const dit=Yt({...K2e,beforeUpload:{type:lt(Function),default:go},onRemove:{type:lt(Function),default:go},onStart:{type:lt(Function),default:go},onSuccess:{type:lt(Function),default:go},onProgress:{type:lt(Function),default:go},onError:{type:lt(Function),default:go},onExceed:{type:lt(Function),default:go}}),fit=et({name:"ElUploadContent",inheritAttrs:!1}),pit=et({...fit,props:dit,setup(e,{expose:t}){const n=e,r=jt("upload"),o=Wa(),i=Uo({}),a=Uo(),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 k=S;k.uid=mF(),w(k),g&&l(k)}},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=D3(n.data)?vE(n.data):n.data,g=await w,D3(n.data)&&ca(b,y)&&(y=vE(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)=>Pn(h)?h(g):h,d=async(h,g)=>{const{headers:y,data:m,method:b,withCredentials:w,name:A,action:S,onProgress:k,onSuccess:O,onError:I,httpRequest:P}=n;try{g=await u(g??m,h)}catch{n.onRemove(h);return}const{uid:M}=h,_={headers:y||{},withCredentials:w,file:h,data:g,method:b,filename:A,action:S,onProgress:N=>{k(N,h)},onSuccess:N=>{O(N,h),delete i.value[M]},onError:N=>{I(N,h),delete i.value[M]}},R=P(_);i.value[M]=R,R instanceof Promise&&R.then(_.onSuccess,_.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)=>(F(),K("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:Lr(Qt(p,["self"]),["enter","space"])},[h.drag?(F(),mt(cit,{key:0,disabled:C(o),onFile:s},{default:nt(()=>[pt(h.$slots,"default")]),_:3},8,["disabled"])):pt(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:Qt(()=>{},["stop"])},null,42,["name","disabled","multiple","accept","onClick"])],42,["tabindex","onKeydown"]))}});var Yee=en(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=>{Zi(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||Ji(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 Ct(()=>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}))}),Ct(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=et({name:"ElUpload"}),vit=et({...git,props:tit,setup(e,{expose:t}){const n=e,r=Wa(),o=Uo(),{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 Yr(()=>{l.value.forEach(v)}),Sr(q2e,{accept:ao(n,"accept")}),t({abort:i,submit:a,clearFiles:s,handleStart:u,handleRemove:c}),(y,m)=>(F(),K("div",null,[C(h)&&y.showFileList?(F(),mt(Kee,{key:0,disabled:C(r),"list-type":y.listType,files:C(l),crossorigin:y.crossorigin,"handle-preview":y.onPreview,onRemove:C(c)},Ll({append:nt(()=>[$e(Yee,pr({ref_key:"uploadRef",ref:o},C(g)),{default:nt(()=>[y.$slots.trigger?pt(y.$slots,"trigger",{key:0}):xe("v-if",!0),!y.$slots.trigger&&y.$slots.default?pt(y.$slots,"default",{key:1}):xe("v-if",!0)]),_:3},16)]),_:2},[y.$slots.file?{name:"default",fn:nt(({file:b,index:w})=>[pt(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?(F(),mt(Yee,pr({key:1,ref_key:"uploadRef",ref:o},C(g)),{default:nt(()=>[y.$slots.trigger?pt(y.$slots,"trigger",{key:0}):xe("v-if",!0),!y.$slots.trigger&&y.$slots.default?pt(y.$slots,"default",{key:1}):xe("v-if",!0)]),_:3},16)):xe("v-if",!0),y.$slots.trigger?pt(y.$slots,"default",{key:2}):xe("v-if",!0),pt(y.$slots,"tip"),!C(h)&&y.showFileList?(F(),mt(Kee,{key:3,disabled:C(r),"list-type":y.listType,files:C(l),crossorigin:y.crossorigin,"handle-preview":y.onPreview,onRemove:C(c)},Ll({_:2},[y.$slots.file?{name:"default",fn:nt(({file:b,index:w})=>[pt(y.$slots,"file",{file:b,index:w})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):xe("v-if",!0)]))}});var mit=en(vit,[["__file","upload.vue"]]);const yit=er(mit),bit=Yt({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:lt([String,Array]),default:"Element Plus"},font:{type:lt(Object)},gap:{type:lt(Array),default:()=>[100,100]},offset:{type:lt(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:U,fontSize:W,fontStyle:re,fontWeight:J,fontFamily:te,textAlign:X,textBaseline:ue}=a,me=Number(W)*r;d.font=`${re} normal ${J} ${me}px/${i}px ${te}`,d.fillStyle=U,d.textAlign=X,d.textBaseline=ue;const Me=qt(t)?t:[t];Me?.forEach((Ae,ge)=>{const[_e,Q]=Sit[X];d.fillText(Ae??"",f*_e+u*Q,ge*(me+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(U,W){const re=U*Math.cos(v)-W*Math.sin(v),J=U*Math.sin(v)+W*Math.cos(v);return[re,J]}let w=0,A=0,S=0,k=0;const O=f/2,I=p/2;[[0-O,0-I],[0+O,0-I],[0+O,0+I],[0-O,0+I]].forEach(([U,W])=>{const[re,J]=b(U,W);w=Math.min(w,re),A=Math.max(A,re),S=Math.min(S,J),k=Math.max(k,J)});const M=w+m/2,_=S+m/2,R=A-w,N=k-S,V=s*r,L=l*r,j=(R+V)*2,H=N+L,[G,Z]=RI(j,H);function z(U=0,W=0){G.drawImage(y,M,_,R,N,U,W,R,N)}return z(),z(R+V,-N/2-L/2),z(R+V,+N/2+L/2),[Z.toDataURL(),j/r,H/r]}return e}const kit=et({name:"ElWatermark"}),Tit=et({...kit,props:bit,setup(e){const t=e,n={position:"relative"},r=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.color)!=null?M:"rgba(0,0,0,.15)"}),o=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.fontSize)!=null?M:16}),i=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.fontWeight)!=null?M:"normal"}),a=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.fontStyle)!=null?M:"normal"}),s=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.fontFamily)!=null?M:"sans-serif"}),l=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.textAlign)!=null?M:"center"}),u=ee(()=>{var P,M;return(M=(P=t.font)==null?void 0:P.textBaseline)!=null?M:"hanging"}),d=ee(()=>t.gap[0]),c=ee(()=>t.gap[1]),f=ee(()=>d.value/2),p=ee(()=>c.value/2),v=ee(()=>{var P,M;return(M=(P=t.offset)==null?void 0:P[0])!=null?M:f.value}),h=ee(()=>{var P,M;return(M=(P=t.offset)==null?void 0:P[1])!=null?M:p.value}),g=()=>{const P={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let M=v.value-f.value,_=h.value-p.value;return M>0&&(P.left=`${M}px`,P.width=`calc(100% - ${M}px)`,M=0),_>0&&(P.top=`${_}px`,P.height=`calc(100% - ${_}px)`,_=0),P.backgroundPosition=`${M}px ${_}px`,P},y=Uo(null),m=Uo(),b=Y(!1),w=()=>{m.value&&(m.value.remove(),m.value=void 0)},A=(P,M)=>{var _;y.value&&m.value&&(b.value=!0,m.value.setAttribute("style",Ait({...g(),backgroundImage:`url('${P}')`,backgroundSize:`${Math.floor(M)}px`})),(_=y.value)==null||_.append(m.value),setTimeout(()=>{b.value=!1}))},S=P=>{let M=120,_=64,R=0;const{image:N,content:V,width:L,height:j,rotate:H}=t;if(!N&&P.measureText){P.font=`${Number(o.value)}px ${s.value}`;const G=qt(V)?V:[V];let Z=0,z=0;G.forEach(W=>{const{width:re,fontBoundingBoxAscent:J,fontBoundingBoxDescent:te,actualBoundingBoxAscent:X,actualBoundingBoxDescent:ue}=P.measureText(W),me=zr(J)?X+ue:J+te;re>Z&&(Z=Math.ceil(re)),me>z&&(z=Math.ceil(me))}),M=Z,_=z*G.length+(G.length-1)*Q2e;const U=Math.PI/180*Number(H);R=Math.ceil(Math.abs(Math.sin(U)*_)/2),M+=R}return[L??M,j??_,R]},k=Eit(),O=()=>{const M=document.createElement("canvas").getContext("2d"),_=t.image,R=t.content,N=t.rotate;if(M){m.value||(m.value=document.createElement("div"));const V=Cit(),[L,j,H]=S(M),G=Z=>{const[z,U]=k(Z||"",N,V,L,j,{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,H);A(z,U)};if(_){const Z=new Image;Z.onload=()=>{G(Z)},Z.onerror=()=>{G(R)},Z.crossOrigin="anonymous",Z.referrerPolicy="no-referrer",Z.src=_}else G(R)}};return jn(()=>{O()}),Ct(()=>t,()=>{O()},{deep:!0,flush:"post"}),Yr(()=>{w()}),Fme(y,P=>{b.value||P.forEach(M=>{xit(M,m.value)&&(w(),O())})},{attributes:!0,subtree:!0,childList:!0}),(P,M)=>(F(),K("div",{ref_key:"containerRef",ref:y,style:Jt([n])},[pt(P.$slots,"default")],4))}});var _it=en(Tit,[["__file","watermark.vue"]]);const Dit=er(_it),Iit=Yt({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:lt(Object)},targetAreaClickable:{type:Boolean,default:!0}}),Oit=(e,t,n,r,o)=>{const i=Y(null),a=()=>{let c;return Dn(e.value)?c=document.querySelector(e.value):Pn(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}};jn(()=>{Ct([t,e],()=>{s()},{immediate:!0}),window.addEventListener("resize",s)}),Yr(()=>{window.removeEventListener("resize",s)});const l=c=>{var f;return(f=qt(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}},AD=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=Y(),u=Y(),d=Y({}),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(!Kr)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)});Ty(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 jn(()=>{const y=C(e),m=C(t);y&&m&&(g=Prt(y,m,p)),Cs(()=>{p()})}),Yr(()=>{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=et({name:"ElTourMask",inheritAttrs:!1}),Bit=et({...Rit,props:Iit,setup(e){const t=e,{ns:n}=un(AD),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(ao(t,"visible"),{ns:n}),(l,u)=>l.visible?(F(),K("div",pr({key:0,class:C(n).e("mask"),style:C(a)},l.$attrs),[(F(),K("svg",{style:{width:"100%",height:"100%"}},[x("path",{class:oe(C(n).e("hollow")),style:Jt(C(s)),d:C(i)},null,14,["d"])]))],16)):xe("v-if",!0)}});var Lit=en(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=Yt({placement:{type:lt(String),values:Uit,default:"bottom"},reference:{type:lt(Object),default:null},strategy:{type:lt(String),values:Fit,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),zit={close:()=>!0},$it=et({name:"ElTourContent"}),jit=et({...$it,props:YW,emits:zit,setup(e,{emit:t}){const n=e,r=Y(n.placement),o=Y(n.strategy),i=Y(null),a=Y(null);Ct(()=>n.placement,()=>{r.value=n.placement});const{contentStyle:s,arrowStyle:l}=Pit(ao(n,"reference"),i,a,r,o,ao(n,"offset"),ao(n,"zIndex"),ao(n,"showArrow")),u=ee(()=>r.value.split("-")[0]),{ns:d}=un(AD),c=()=>{t("close")},f=p=>{p.detail.focusReason==="pointer"&&p.preventDefault()};return(p,v)=>(F(),K("div",{ref_key:"contentRef",ref:i,style:Jt(C(s)),class:oe(C(d).e("content")),"data-side":C(u),tabindex:"-1"},[$e(C(Bb),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":i.value||void 0,onReleaseRequested:c,onFocusoutPrevented:f},{default:nt(()=>[pt(p.$slots,"default")]),_:3},8,["focus-trap-el"]),p.showArrow?(F(),K("span",{key:0,ref_key:"arrowRef",ref:a,style:Jt(C(l)),class:oe(C(d).e("arrow"))},null,6)):xe("v-if",!0)],14,["data-side"]))}});var Hit=en(jit,[["__file","content.vue"]]),Wit=et({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){qt(d)&&d.forEach(c=>{var f;((f=c?.type||{})==null?void 0:f.name)==="ElTourStep"&&(s.push(c),l+=1)})}return a.length&&u(bd((i=a[0])==null?void 0:i.children)),r!==l&&(r=l,n("update-total",l)),s.length?s[e.current]:null}}});const Vit=Yt({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:vo},placement:YW.placement,contentStyle:{type:lt([Object])},mask:{type:lt([Boolean,Object]),default:!0},gap:{type:lt(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:lt([Boolean,Object]),default:()=>({block:"center"})},type:{type:lt(String)},appendTo:{type:sD.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),qit={[Gn]:e=>Co(e),"update:current":e=>Ln(e),close:e=>Ln(e),finish:()=>!0,change:e=>Ln(e)},Git=et({name:"ElTour"}),Kit=et({...Git,props:Vit,emits:qit,setup(e,{emit:t}){const n=e,r=jt("tour"),o=Y(0),i=Y(),a=Ume(n,"current",t,{passive:!0}),s=ee(()=>{var I;return(I=i.value)==null?void 0:I.target}),l=ee(()=>[r.b(),g.value==="primary"?r.m("primary"):""]),u=ee(()=>{var I;return((I=i.value)==null?void 0:I.placement)||n.placement}),d=ee(()=>{var I,P;return(P=(I=i.value)==null?void 0:I.contentStyle)!=null?P:n.contentStyle}),c=ee(()=>{var I,P;return(P=(I=i.value)==null?void 0:I.mask)!=null?P:n.mask}),f=ee(()=>!!c.value&&n.modelValue),p=ee(()=>Co(c.value)?void 0:c.value),v=ee(()=>{var I,P;return!!s.value&&((P=(I=i.value)==null?void 0:I.showArrow)!=null?P:n.showArrow)}),h=ee(()=>{var I,P;return(P=(I=i.value)==null?void 0:I.scrollIntoViewOptions)!=null?P:n.scrollIntoViewOptions}),g=ee(()=>{var I,P;return(P=(I=i.value)==null?void 0:I.type)!=null?P:n.type}),{nextZIndex:y}=Pb(),m=y(),b=ee(()=>{var I;return(I=n.zIndex)!=null?I:m}),{mergedPosInfo:w,triggerTarget:A}=Oit(s,ao(n,"modelValue"),ao(n,"gap"),c,h);Ct(()=>n.modelValue,I=>{I||(a.value=0)});const S=()=>{n.closeOnPressEscape&&(t(Gn,!1),t("close",a.value))},k=I=>{o.value=I},O=pa();return Sr(AD,{currentStep:i,current:a,total:o,showClose:ao(n,"showClose"),closeIcon:ao(n,"closeIcon"),mergedType:g,ns:r,slots:O,updateModelValue(I){t(Gn,I)},onClose(){t("close",a.value)},onFinish(){t("finish")},onChange(){t(Tr,a.value)}}),(I,P)=>(F(),K(Nt,null,[$e(C(Lb),{to:I.appendTo},{default:nt(()=>{var M,_;return[x("div",pr({class:C(l)},I.$attrs),[$e(Lit,{visible:C(f),fill:(M=C(p))==null?void 0:M.color,style:Jt((_=C(p))==null?void 0:_.style),pos:C(w),"z-index":C(b),"target-area-clickable":I.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),I.modelValue?(F(),mt(Hit,{key:C(a),reference:C(A),placement:C(u),"show-arrow":C(v),"z-index":C(b),style:Jt(C(d)),onClose:S},{default:nt(()=>[$e(C(Wit),{current:C(a),onUpdateTotal:k},{default:nt(()=>[pt(I.$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=en(Kit,[["__file","tour.vue"]]);const Qit=Yt({target:{type:lt([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:vo},showArrow:{type:Boolean,default:void 0},placement:YW.placement,mask:{type:lt([Boolean,Object]),default:void 0},contentStyle:{type:lt([Object])},prevButtonProps:{type:lt(Object)},nextButtonProps:{type:lt(Object)},scrollIntoViewOptions:{type:lt([Boolean,Object]),default:void 0},type:{type:lt(String)}}),Zit={close:()=>!0},Xit=et({name:"ElTourStep"}),Jit=et({...Xit,props:Qit,emits:Zit,setup(e,{emit:t}){const n=e,{Close:r}=l1e,{t:o}=Hr(),{currentStep:i,current:a,total:s,showClose:l,closeIcon:u,mergedType:d,ns:c,slots:f,updateModelValue:p,onClose:v,onFinish:h,onChange:g}=un(AD);Ct(n,I=>{i.value=I},{immediate:!0});const y=ee(()=>{var I;return(I=n.showClose)!=null?I:l.value}),m=ee(()=>{var I,P;return(P=(I=n.closeIcon)!=null?I:u.value)!=null?P:r}),b=I=>{if(I)return Nme(I,["children","onClick"])},w=()=>{var I,P;a.value-=1,(I=n.prevButtonProps)!=null&&I.onClick&&((P=n.prevButtonProps)==null||P.onClick()),g()},A=()=>{var I;a.value>=s.value-1?S():a.value+=1,(I=n.nextButtonProps)!=null&&I.onClick&&n.nextButtonProps.onClick(),g()},S=()=>{k(),h()},k=()=>{p(!1),v(),t("close")},O=I=>{const P=I.target;if(P?.isContentEditable)return;const _={[gn.left]:()=>a.value>0&&w(),[gn.right]:A}[I.code];_&&(I.preventDefault(),_())};return jn(()=>{window.addEventListener("keydown",O)}),Yr(()=>{window.removeEventListener("keydown",O)}),(I,P)=>(F(),K(Nt,null,[C(y)?(F(),K("button",{key:0,"aria-label":"Close",class:oe(C(c).e("closebtn")),type:"button",onClick:k},[$e(C(_n),{class:oe(C(c).e("close"))},{default:nt(()=>[(F(),mt(hr(C(m))))]),_:1},8,["class"])],2)):xe("v-if",!0),x("header",{class:oe([C(c).e("header"),{"show-close":C(l)}])},[pt(I.$slots,"header",{},()=>[x("span",{role:"heading",class:oe(C(c).e("title"))},ze(I.title),3)])],2),x("div",{class:oe(C(c).e("body"))},[pt(I.$slots,"default",{},()=>[x("span",null,ze(I.description),1)])],2),x("footer",{class:oe(C(c).e("footer"))},[x("div",{class:oe(C(c).b("indicators"))},[C(f).indicators?(F(),mt(hr(C(f).indicators),{key:0,current:C(a),total:C(s)},null,8,["current","total"])):(F(!0),K(Nt,{key:1},on(C(s),(M,_)=>(F(),K("span",{key:M,class:oe([C(c).b("indicator"),_===C(a)?"is-active":""])},null,2))),128))],2),x("div",{class:oe(C(c).b("buttons"))},[C(a)>0?(F(),mt(C(Za),pr({key:0,size:"small",type:C(d)},b(I.prevButtonProps),{onClick:w}),{default:nt(()=>{var M,_;return[An(ze((_=(M=I.prevButtonProps)==null?void 0:M.children)!=null?_:C(o)("el.tour.previous")),1)]}),_:1},16,["type"])):xe("v-if",!0),C(a)<=C(s)-1?(F(),mt(C(Za),pr({key:1,size:"small",type:C(d)==="primary"?"default":"primary"},b(I.nextButtonProps),{onClick:A}),{default:nt(()=>{var M,_;return[An(ze((_=(M=I.nextButtonProps)==null?void 0:M.children)!=null?_: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=en(Jit,[["__file","step.vue"]]);const eat=er(Yit,{TourStep:Z2e}),tat=vi(Z2e),nat=Yt({container:{type:lt([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:lt(String),default:"default"},direction:{type:lt(String),default:"vertical"},selectScrollTop:Boolean}),rat={change:e=>Dn(e),click:(e,t)=>e instanceof MouseEvent&&(Dn(t)||zr(t))},X2e=Symbol("anchor"),Tx=e=>{if(!Kr||e==="")return null;if(Dn(e))try{return document.querySelector(e)}catch{return null}return e};function oat(e){let t=0;const n=(...r)=>{t&&_v(t),t=r0(()=>{e(...r),t=0})};return n.cancel=()=>{_v(t),t=0},n}const iat=et({name:"ElAnchor"}),aat=et({...iat,props:nat,emits:rat,setup(e,{expose:t,emit:n}){const r=e,o=pa(),i=Y(""),a=Y({}),s=Y(null),l=Y(null),u=Y(),d={};let c=!1,f=0;const p=jt("anchor"),v=ee(()=>[p.b(),r.type==="underline"?p.m("underline"):"",p.m(r.direction)]),h=P=>{d[P.href]=P.el},g=P=>{delete d[P]},y=P=>{i.value!==P&&(i.value=P,n(Tr,P))};let m=null;const b=P=>{if(!u.value)return;const M=Tx(P);if(!M)return;m&&m(),c=!0;const _=QX(M,u.value),R=IL(M,_),N=_.scrollHeight-_.clientHeight,V=Math.min(R-r.offset,N);m=CBe(u.value,f,V,r.duration,()=>{setTimeout(()=>{c=!1},20)})},w=P=>{P&&(y(P),b(P))},A=(P,M)=>{n("click",P,M),w(M)},S=oat(()=>{u.value&&(f=ZX(u.value));const P=k();c||zr(P)||y(P)}),k=()=>{if(!u.value)return;const P=ZX(u.value),M=[];for(const _ of Object.keys(d)){const R=Tx(_);if(!R)continue;const N=QX(R,u.value),V=IL(R,N);M.push({top:V-r.offset-r.bound,href:_})}M.sort((_,R)=>_.top-R.top);for(let _=0;_P))return R.href}},O=()=>{const P=Tx(r.container);!P||DC(P)?u.value=window:u.value=P};Mo(u,"scroll",S);const I=()=>{Vt(()=>{if(!s.value||!l.value||!i.value){a.value={};return}const P=d[i.value];if(!P){a.value={};return}const M=s.value.getBoundingClientRect(),_=l.value.getBoundingClientRect(),R=P.getBoundingClientRect();if(r.direction==="horizontal"){const N=R.left-M.left;a.value={left:`${N}px`,width:`${R.width}px`,opacity:1}}else{const N=R.top-M.top+(R.height-_.height)/2;a.value={top:`${N}px`,opacity:1}}})};return Ct(i,I),Ct(()=>{var P;return(P=o.default)==null?void 0:P.call(o)},I),jn(()=>{O();const P=decodeURIComponent(window.location.hash);Tx(P)?w(P):S()}),Ct(()=>r.container,()=>{O()}),Sr(X2e,{ns:p,direction:r.direction,currentAnchor:i,addLink:h,removeLink:g,handleClick:A}),t({scrollTo:w}),(P,M)=>(F(),K("div",{ref_key:"anchorRef",ref:s,class:oe(C(v))},[P.marker?(F(),K("div",{key:0,ref_key:"markerRef",ref:l,class:oe(C(p).e("marker")),style:Jt(a.value)},null,6)):xe("v-if",!0),x("div",{class:oe(C(p).e("list"))},[pt(P.$slots,"default")],2)],2))}});var sat=en(aat,[["__file","anchor.vue"]]);const lat=Yt({title:String,href:String}),uat=et({name:"ElAnchorLink"}),cat=et({...uat,props:lat,setup(e){const t=e,n=Y(null),{ns:r,direction:o,currentAnchor:i,addLink:a,removeLink:s,handleClick:l}=un(X2e),u=ee(()=>[r.e("link"),r.is("active",i.value===t.href)]),d=c=>{l(c,t.href)};return Ct(()=>t.href,(c,f)=>{Vt(()=>{f&&s(f),c&&a({href:c,el:n.value})})}),jn(()=>{const{href:c}=t;c&&a({href:c,el:n.value})}),Yr(()=>{const{href:c}=t;c&&s(c)}),(c,f)=>(F(),K("div",{class:oe(C(r).e("item"))},[x("a",{ref_key:"linkRef",ref:n,class:oe(C(u)),href:c.href,onClick:d},[pt(c.$slots,"default",{},()=>[An(ze(c.title),1)])],10,["href"]),c.$slots["sub-link"]&&C(o)==="vertical"?(F(),K("div",{key:0,class:oe(C(r).e("list"))},[pt(c.$slots,"sub-link")],2)):xe("v-if",!0)],2))}});var J2e=en(cat,[["__file","anchor-link.vue"]]);const dat=er(sat,{AnchorLink:J2e}),fat=vi(J2e),ewe={label:"label",value:"value",disabled:"disabled"},pat=Yt({direction:{type:lt(String),default:"horizontal"},options:{type:lt(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:lt(Object),default:()=>ewe},block:Boolean,size:ba,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...Es(["ariaLabel"])}),hat={[Gn]:e=>Dn(e)||Ln(e)||Co(e),[Tr]:e=>Dn(e)||Ln(e)||Co(e)},gat=et({name:"ElSegmented"}),vat=et({...gat,props:pat,emits:hat,setup(e,{emit:t}){const n=e,r=jt("segmented"),o=ds(),i=fa(),a=Wa(),{formItem:s}=ks(),{inputId:l,isLabeledByFormItem:u}=ac(n,{formItemContext:s}),d=Y(null),c=WRe(),f=Ur({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),p=M=>{const _=g(M);t(Gn,_),t(Tr,_)},v=ee(()=>({...ewe,...n.props})),h=M=>M,g=M=>ar(M)?M[v.value.value]:M,y=M=>ar(M)?M[v.value.label]:M,m=M=>!!(a.value||ar(M)&&M[v.value.disabled]),b=M=>n.modelValue===g(M),w=M=>n.options.find(_=>g(_)===M),A=M=>[r.e("item"),r.is("selected",b(M)),r.is("disabled",m(M))],S=()=>{if(!d.value)return;const M=d.value.querySelector(".is-selected"),_=d.value.querySelector(".is-selected input");if(!M||!_){f.width=0,f.height=0,f.translateX=0,f.translateY=0,f.focusVisible=!1;return}f.isInit=!0,n.direction==="vertical"?(f.height=M.offsetHeight,f.translateY=M.offsetTop):(f.width=M.offsetWidth,f.translateX=M.offsetLeft);try{f.focusVisible=_.matches(":focus-visible")}catch{}},k=ee(()=>[r.b(),r.m(i.value),r.is("block",n.block)]),O=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"})),I=ee(()=>[r.e("item-selected"),r.is("disabled",m(w(n.modelValue))),r.is("focus-visible",f.focusVisible)]),P=ee(()=>n.name||o.value);return li(d,S),Ct(c,S),Ct(()=>n.modelValue,()=>{var M;S(),n.validateEvent&&((M=s?.validate)==null||M.call(s,"change").catch(_=>void 0))},{flush:"post"}),(M,_)=>M.options.length?(F(),K("div",{key:0,id:C(l),ref_key:"segmentedRef",ref:d,class:oe(C(k)),role:"radiogroup","aria-label":C(u)?void 0:M.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:Jt(C(O)),class:oe(C(I))},null,6),(F(!0),K(Nt,null,on(M.options,(R,N)=>(F(),K("label",{key:N,class:oe(A(R))},[x("input",{class:oe(C(r).e("item-input")),type:"radio",name:C(P),disabled:m(R),checked:b(R),onChange:V=>p(R)},null,42,["name","disabled","checked","onChange"]),x("div",{class:oe(C(r).e("item-label"))},[pt(M.$slots,"default",{item:h(R)},()=>[An(ze(y(R)),1)])],2)],2))),128))],2)],10,["id","aria-label","aria-labelledby"])):xe("v-if",!0)}});var mat=en(vat,[["__file","segmented.vue"]]);const yat=er(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=Ka(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=Yt({...MC,options:{type:lt(Array),default:()=>[]},prefix:{type:lt([String,Array]),default:"@",validator:e=>Dn(e)?e.length===1:e.every(t=>Dn(t)&&t.length===1)},split:{type:String,default:" ",validator:e=>e.length===1},filterOption:{type:lt([Boolean,Function]),default:()=>bat,validator:e=>e===!1?!0:Pn(e)},placement:{type:lt(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:lt(Function)},modelValue:String,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:lt(Object),default:()=>({})}}),xat={[Gn]:e=>Dn(e),"whole-remove":(e,t)=>Dn(e)&&Dn(t),input:e=>Dn(e),search:(e,t)=>Dn(e)&&Dn(t),select:(e,t)=>Dn(e.value)&&Dn(t),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Sat=Yt({options:{type:lt(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),Eat={select:e=>Dn(e.value)},kat=et({name:"ElMentionDropdown"}),Tat=et({...kat,props:Sat,emits:Eat,setup(e,{expose:t,emit:n}){const r=e,o=jt("mention"),{t:i}=Hr(),a=Y(-1),s=Y(),l=Y(),u=Y(),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}Vt(()=>y(A))},y=b=>{var w,A,S,k;const{options:O}=r,I=O.findIndex(M=>M.value===b.value),P=(w=l.value)==null?void 0:w[I];if(P){const M=(S=(A=u.value)==null?void 0:A.querySelector)==null?void 0:S.call(A,`.${o.be("dropdown","wrap")}`);M&&CH(M,P)}(k=s.value)==null||k.handleScroll()};return Ct(()=>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)=>(F(),K("div",{ref_key:"dropdownRef",ref:u,class:oe(C(o).b("dropdown"))},[b.$slots.header?(F(),K("div",{key:0,class:oe(C(o).be("dropdown","header"))},[pt(b.$slots,"header")],2)):xe("v-if",!0),an($e(C(Lc),{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:nt(()=>[(F(!0),K(Nt,null,on(b.options,(A,S)=>(F(),K("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:k=>f(S),onClick:Qt(k=>c(A),["stop"])},[pt(b.$slots,"label",{item:A,index:S},()=>{var k;return[x("span",null,ze((k=A.label)!=null?k:A.value),1)]})],42,["id","aria-disabled","aria-selected","onMousemove","onClick"]))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[Ar,b.options.length>0&&!b.loading]]),b.loading?(F(),K("div",{key:1,class:oe(C(o).be("dropdown","loading"))},[pt(b.$slots,"loading",{},()=>[An(ze(C(i)("el.mention.loading")),1)])],2)):xe("v-if",!0),b.$slots.footer?(F(),K("div",{key:2,class:oe(C(o).be("dropdown","footer"))},[pt(b.$slots,"footer")],2)):xe("v-if",!0)],2))}});var _at=en(Tat,[["__file","mention-dropdown.vue"]]);const Dat=et({name:"ElMention",inheritAttrs:!1}),Iat=et({...Dat,props:Cat,emits:xat,setup(e,{expose:t,emit:n}){const r=e,o=ee(()=>ru(r,Object.keys(MC))),i=jt("mention"),a=Wa(),s=ds(),l=Y(),u=Y(),d=Y(),c=Y(!1),f=Y(),p=Y(),v=ee(()=>r.showArrow?r.placement:`${r.placement}-start`),h=ee(()=>r.showArrow?["bottom","top"]:["bottom-start","top-start"]),g=ee(()=>{const{filterOption:_,options:R}=r;return!p.value||!_?R:R.filter(N=>_(p.value.pattern,N))}),y=ee(()=>c.value&&(!!g.value.length||r.loading)),m=ee(()=>{var _;return`${s.value}-${(_=d.value)==null?void 0:_.hoveringIndex}`}),b=_=>{n(Gn,_),n(ma,_),I()},w=_=>{var R,N,V,L;if(!(!("code"in _)||(R=l.value)!=null&&R.isComposing))switch(_.code){case gn.left:case gn.right:I();break;case gn.up:case gn.down:if(!c.value)return;_.preventDefault(),(N=d.value)==null||N.navigateOptions(_.code===gn.up?"prev":"next");break;case gn.enter:case gn.numpadEnter:if(!c.value)return;_.preventDefault(),(V=d.value)!=null&&V.hoverOption?(L=d.value)==null||L.selectHoverOption():c.value=!1;break;case gn.esc:if(!c.value)return;_.preventDefault(),c.value=!1;break;case gn.backspace:if(r.whole&&p.value){const{splitIndex:j,selectionEnd:H,pattern:G,prefixIndex:Z,prefix:z}=p.value,U=O();if(!U)return;const W=U.value,re=r.options.find(te=>te.value===G);if((Pn(r.checkIsWhole)?r.checkIsWhole(G,z):re)&&j!==-1&&j+1===H){_.preventDefault();const te=W.slice(0,Z)+W.slice(j+1);n(Gn,te),n(ma,te),n("whole-remove",G,z);const X=Z;Vt(()=>{U.selectionStart=X,U.selectionEnd=X,M()})}}}},{wrapperRef:A}=vp(l,{disabled:a,afterFocus(){I()},beforeBlur(_){var R;return(R=u.value)==null?void 0:R.isFocusInsideContent(_)},afterBlur(){c.value=!1}}),S=()=>{I()},k=_=>{if(!p.value)return;const R=O();if(!R)return;const N=R.value,{split:V}=r,L=N.slice(p.value.end),j=L.startsWith(V),H=`${_.value}${j?"":V}`,G=N.slice(0,p.value.start)+H+L;n(Gn,G),n(ma,G),n("select",_,p.value.prefix);const Z=p.value.start+H.length+(j?1:0);Vt(()=>{R.selectionStart=Z,R.selectionEnd=Z,R.focus(),M()})},O=()=>{var _,R;return r.type==="textarea"?(_=l.value)==null?void 0:_.textarea:(R=l.value)==null?void 0:R.input},I=()=>{setTimeout(()=>{P(),M(),Vt(()=>{var _;return(_=u.value)==null?void 0:_.updatePopper()})},0)},P=()=>{const _=O();if(!_)return;const R=Aat(_),N=_.getBoundingClientRect(),V=l.value.$el.getBoundingClientRect();f.value={position:"absolute",width:0,height:`${R.height}px`,left:`${R.left+N.left-V.left}px`,top:`${R.top+N.top-V.top}px`}},M=()=>{const _=O();if(document.activeElement!==_){c.value=!1;return}const{prefix:R,split:N}=r;if(p.value=wat(_,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}),(_,R)=>(F(),K("div",{ref_key:"wrapperRef",ref:A,class:oe(C(i).b())},[$e(C(Us),pr(pr(C(o),_.$attrs),{ref_key:"elInputRef",ref:l,"model-value":_.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":_.ariaLabel,"aria-autocomplete":C(y)?"none":void 0,"aria-haspopup":C(y)?"listbox":void 0,onInput:b,onKeydown:w,onMousedown:S}),Ll({_:2},[on(_.$slots,(N,V)=>({name:V,fn:nt(L=>[pt(_.$slots,V,Sl(Bd(L)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),$e(C(fs),{ref_key:"tooltipRef",ref:u,visible:C(y),"popper-class":[C(i).e("popper"),_.popperClass],"popper-options":_.popperOptions,placement:C(v),"fallback-placements":C(h),effect:"light",pure:"",offset:_.offset,"show-arrow":_.showArrow},{default:nt(()=>[x("div",{style:Jt(f.value)},null,4)]),content:nt(()=>{var N;return[$e(_at,{ref_key:"dropdownRef",ref:d,options:C(g),disabled:C(a),loading:_.loading,"content-id":C(s),"aria-label":_.ariaLabel,onSelect:k,onClick:Qt((N=l.value)==null?void 0:N.focus,["stop"])},Ll({_:2},[on(_.$slots,(V,L)=>({name:L,fn:nt(j=>[pt(_.$slots,L,Sl(Bd(j)))])}))]),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=en(Iat,[["__file","mention.vue"]]);const Mat=er(Oat);var Pat=[_Be,ZLe,$ze,tnt,Gze,e$e,U1e,f$e,p$e,Za,V1e,lje,pje,Ije,Oje,NHe,fye,zHe,Yu,Vje,rye,VHe,lWe,uWe,cD,wye,RWe,FWe,QWe,ZWe,XWe,JWe,eVe,Oqe,Nye,$qe,jqe,Hye,Wye,xGe,fKe,pKe,hKe,obe,pYe,hYe,_n,EYe,sbe,Us,lbe,zYe,qYe,dQe,fQe,pQe,hQe,wQe,dZe,mZe,kZe,R1e,vbe,cye,oHe,rHe,BZe,$Ze,KZe,Lc,Dv,TE,VQe,kXe,RXe,BXe,tJe,aJe,_be,mJe,kJe,TJe,PJe,Vet,qet,ent,vnt,mnt,Ih,NW,AVe,Tnt,Pnt,Nnt,fs,eot,pot,UE,Mot,Yot,yit,Dit,eat,tat,dat,fat,yat,Mat,Kye,PS];const Du="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[Du];t&&(t.disconnect(),delete e[Du].observer)},Fat=(e,t)=>{const{container:n,containerEl:r,instance:o,observer:i,lastScrollTop:a}=e[Du],{disabled:s,distance:l}=QW(e,o),{clientHeight:u,scrollHeight:d,scrollTop:c}=r,f=c-a;if(e[Du].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[Du],{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;Pn(r)||Ji(Du,"'v-infinite-scroll' binding value must be a function"),await Vt();const{delay:o,immediate:i}=QW(e,n),a=AH(e,!0),s=a===window?document.documentElement:a,l=qg(Fat.bind(null,e,r),o);if(a){if(e[Du]={instance:n,container:a,containerEl:s,delay:o,cb:r,onScroll:l,lastScrollTop:s.scrollTop},i){const u=new MutationObserver(qg(BI.bind(null,e,r),Nat));e[Du].observer=u,u.observe(e,{childList:!0,subtree:!0}),BI(e,r)}a.addEventListener("scroll",l)}},unmounted(e){if(!e[Du])return;const{container:t,onScroll:n}=e[Du];t?.removeEventListener("scroll",n),twe(e)},async updated(e){if(!e[Du])await Vt();else{const{containerEl:t,cb:n,observer:r}=e[Du];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=Y(!1),o=Ur({...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()):($s(p,v.bm("parent","relative")),p.removeAttribute("loading-number")),$s(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(et({name:"ElLoading",setup(p,{expose:v}){const{ns:h,zIndex:g}=tD("loading");return v({ns:h,zIndex:g}),()=>{const y=o.spinner||o.svg,m=Fn("svg",{class:"circular",viewBox:o.svgViewBox?o.svgViewBox:"0 0 50 50",...y?{innerHTML:y}:{}},[Fn("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),b=o.text?Fn("p",{class:h.b("text")},[o.text]):void 0;return Fn(Wi,{name:h.b("fade"),onAfterLeave:u},{default:nt(()=>[an($e("div",{style:{backgroundColor:o.background||""},class:[h.b("mask"),o.customClass,o.fullscreen?"is-fullscreen":""]},[Fn("div",{class:h.b("spinner")},[m,b])]),[[Ar,o.visible]])])})}}}));Object.assign(c._context,t??{});const f=c.mount(document.createElement("div"));return{..._a(o),setText:i,removeElLoadingChild:s,close:l,handleAfterLeave:u,vm:f,get $el(){return f.$el}}}let _x;const oy=function(e={}){if(!Kr)return;const t=jat(e);if(t.fullscreen&&_x)return _x;const n=$at({...t,closed:()=>{var o;(o=t.closed)==null||o.call(t),t.fullscreen&&(_x=void 0)}},oy._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),Vt(()=>n.visible.value=t.visible),t.fullscreen&&(_x=n),n},jat=e=>{var t,n,r,o;let i;return Dn(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=Tf(document.body,"position"),n.originalOverflow.value=Tf(document.body,"overflow"),o.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=Tf(document.body,"position"),await Vt();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(Tf(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])o[i]=`${e.target.getBoundingClientRect()[i]}px`}else n.originalPosition.value=Tf(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)?$s(t,r.bm("parent","relative")):Nu(t,r.bm("parent","relative")),e.fullscreen&&e.lock?Nu(t,r.bm("parent","hidden")):$s(t,r.bm("parent","hidden"))};oy._context=null;const A4=Symbol("ElLoading"),vg=e=>`element-loading-${dp(e)}`,Jee=(e,t)=>{var n,r,o,i;const a=t.instance,s=p=>ar(t.value)?t.value[p]:void 0,l=p=>{const v=Dn(p)&&a?.[p]||p;return Y(v)},u=p=>l(s(p)||e.getAttribute(vg(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=oy(c);f._context=e3._context,e[A4]={options:c,instance:f}},Wat=(e,t)=>{for(const n of Object.keys(e))Ro(e[n])&&(e[n].value=t[n])},e3={mounted(e,t){t.value&&Jee(e,t)},updated(e,t){const n=e[A4];if(!t.value){n?.instance.close(),e[A4]=null;return}n?Wat(n.options,ar(t.value)?t.value:{text:e.getAttribute(vg("text")),svg:e.getAttribute(vg("svg")),svgViewBox:e.getAttribute(vg("svgViewBox")),spinner:e.getAttribute(vg("spinner")),background:e.getAttribute(vg("background")),customClass:e.getAttribute(vg("customClass"))}):Jee(e,t)},unmounted(e){var t;(t=e[A4])==null||t.instance.close(),e[A4]=null}};e3._context=null;const Vat={install(e){oy._context=e._context,e3._context=e._context,e.directive("loading",e3),e.config.globalProperties.$loading=oy},directive:e3,service:oy},nwe=["primary","success","info","warning","error"],rwe=["top","top-left","top-right","bottom","bottom-left","bottom-right"],lA="top",Is=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:Kr?document.body:void 0}),qat=Yt({customClass:{type:String,default:Is.customClass},dangerouslyUseHTMLString:{type:Boolean,default:Is.dangerouslyUseHTMLString},duration:{type:Number,default:Is.duration},icon:{type:vo,default:Is.icon},id:{type:String,default:Is.id},message:{type:lt([String,Object,Function]),default:Is.message},onClose:{type:lt(Function),default:Is.onClose},showClose:{type:Boolean,default:Is.showClose},type:{type:String,values:nwe,default:Is.type},plain:{type:Boolean,default:Is.plain},offset:{type:Number,default:Is.offset},placement:{type:String,values:rwe,default:Is.placement},zIndex:{type:Number,default:Is.zIndex},grouping:{type:Boolean,default:Is.grouping},repeatNum:{type:Number,default:Is.repeatNum}}),Gat={destroy:()=>!0},kc=I_({}),Kat=e=>(kc[e]||(kc[e]=I_([])),kc[e]),Yat=(e,t)=>{const n=kc[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)=>(kc[n]||[]).findIndex(i=>i.id===e)>0?16:t,Xat=et({name:"ElMessage"}),Jat=et({...Xat,props:qat,emits:Gat,setup(e,{expose:t,emit:n}){const r=e,{Close:o}=EH,i=Y(!1),{ns:a,zIndex:s}=tD("message"),{currentZIndex:l,nextZIndex:u}=s,d=Y(),c=Y(!1),f=Y(0);let p;const v=ee(()=>r.type?r.type==="error"?"danger":r.type:"info"),h=ee(()=>{const _=r.type;return{[a.bm("icon",_)]:_&&a0[_]}}),g=ee(()=>r.icon||a0[r.type]||""),y=ee(()=>r.placement||lA),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"),k=ee(()=>({[S.value]:`${b.value}px`,zIndex:l.value}));function O(){r.duration!==0&&({stop:p}=Tv(()=>{P()},r.duration))}function I(){p?.()}function P(){c.value=!1,Vt(()=>{var _;i.value||((_=r.onClose)==null||_.call(r),n("destroy"))})}function M({code:_}){_===gn.esc&&P()}return jn(()=>{O(),u(),c.value=!0}),Ct(()=>r.repeatNum,()=>{I(),O()}),Mo(document,"keydown",M),li(d,()=>{f.value=d.value.getBoundingClientRect().height}),t({visible:c,bottom:w,close:P}),(_,R)=>(F(),mt(Wi,{name:C(a).b("fade"),onBeforeEnter:N=>i.value=!0,onBeforeLeave:_.onClose,onAfterLeave:N=>_.$emit("destroy"),persisted:""},{default:nt(()=>[an(x("div",{id:_.id,ref_key:"messageRef",ref:d,class:oe([C(a).b(),{[C(a).m(_.type)]:_.type},C(a).is("closable",_.showClose),C(a).is("plain",_.plain),C(a).is("bottom",C(S)==="bottom"),C(A),_.customClass]),style:Jt(C(k)),role:"alert",onMouseenter:I,onMouseleave:O},[_.repeatNum>1?(F(),mt(C(U1e),{key:0,value:_.repeatNum,type:C(v),class:oe(C(a).e("badge"))},null,8,["value","type","class"])):xe("v-if",!0),C(g)?(F(),mt(C(_n),{key:1,class:oe([C(a).e("icon"),C(h)])},{default:nt(()=>[(F(),mt(hr(C(g))))]),_:1},8,["class"])):xe("v-if",!0),pt(_.$slots,"default",{},()=>[_.dangerouslyUseHTMLString?(F(),K(Nt,{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:_.message},null,10,["innerHTML"])],2112)):(F(),K("p",{key:0,class:oe(C(a).e("content"))},ze(_.message),3))]),_.showClose?(F(),mt(C(_n),{key:2,class:oe(C(a).e("closeBtn")),onClick:Qt(P,["stop"])},{default:nt(()=>[$e(C(o))]),_:1},8,["class","onClick"])):xe("v-if",!0)],46,["id"]),[[Ar,c.value]])]),_:3},8,["name","onBeforeEnter","onBeforeLeave","onAfterLeave"]))}});var est=en(Jat,[["__file","message.vue"]]);let tst=1;const nst=e=>{if(!e.appendTo)e.appendTo=document.body;else if(Dn(e.appendTo)){let n=document.querySelector(e.appendTo);al(n)||(n=document.body),e.appendTo=n}},rst=e=>{!e.placement&&Dn(Ps.placement)&&Ps.placement&&(e.placement=Ps.placement),e.placement||(e.placement=lA),rwe.includes(e.placement)||(e.placement=lA)},owe=e=>{const t=!e||Dn(e)||jo(e)||Pn(e)?{message:e}:e,n={...Is,...t};return nst(n),rst(n),Co(Ps.grouping)&&!n.grouping&&(n.grouping=Ps.grouping),Ln(Ps.duration)&&n.duration===3e3&&(n.duration=Ps.duration),Ln(Ps.offset)&&n.offset===16&&(n.offset=Ps.offset),Co(Ps.showClose)&&!n.showClose&&(n.showClose=Ps.showClose),Co(Ps.plain)&&!n.plain&&(n.plain=Ps.plain),n},ost=e=>{const t=e.props.placement||lA,n=kc[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:()=>{t0(null,i)}},s=$e(est,a,Pn(a.message)||jo(a.message)?{default:Pn(a.message)?a.message:()=>a.message}:null);s.appContext=n||Pv._context,t0(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},Pv=(e={},t)=>{if(!Kr)return{close:()=>{}};const n=owe(e),r=Kat(n.placement||lA);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(Ln(Ps.max)&&r.length>=Ps.max)return{close:()=>{}};const o=ist(n,t);return r.push(o),o.handler};nwe.forEach(e=>{Pv[e]=(t={},n)=>{const r=owe(t);return Pv({...r,type:e},n)}});function ast(e){for(const t in kc)if(Zr(kc,t)){const n=[...kc[t]];for(const r of n)(!e||e===r.props.type)&&r.handler.close()}}function sst(e){if(!kc[e])return;[...kc[e]].forEach(n=>n.handler.close())}Pv.closeAll=ast;Pv.closeAllByPlacement=sst;Pv._context=null;const At=Xme(Pv,"$message"),bF="_trap-focus-children",Fg=[],ete=e=>{if(Fg.length===0)return;const t=Fg[Fg.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),Fg.push(e),Fg.length<=1&&document.addEventListener("keydown",ete)},updated(e){Vt(()=>{e[bF]=nJ(e)})},unmounted(){Fg.shift(),Fg.length===0&&document.removeEventListener("keydown",ete)}},ust=et({name:"ElMessageBox",directives:{TrapFocus:lst},components:{ElButton:Za,ElFocusTrap:Bb,ElInput:Us,ElOverlay:tW,ElIcon:_n,...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}=tD("message-box",ee(()=>e.buttonSize)),{t:a}=n,{nextZIndex:s}=r,l=Y(!1),u=Ur({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:Id(Bc),cancelButtonLoadingIcon:Id(Bc),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:s()}),d=ee(()=>{const j=u.type;return{[o.bm("icon",j)]:j&&a0[j]}}),c=ds(),f=ds(),p=ee(()=>{const j=u.type;return u.icon||j&&a0[j]||""}),v=ee(()=>!!u.message),h=Y(),g=Y(),y=Y(),m=Y(),b=Y(),w=ee(()=>u.confirmButtonClass);Ct(()=>u.inputValue,async j=>{await Vt(),e.boxType==="prompt"&&j&&R()},{immediate:!0}),Ct(()=>l.value,j=>{var H,G;j&&(e.boxType!=="prompt"&&(u.autofocus?y.value=(G=(H=b.value)==null?void 0:H.$el)!=null?G:h.value:y.value=h.value),u.zIndex=s()),e.boxType==="prompt"&&(j?Vt().then(()=>{var Z;m.value&&m.value.$el&&(u.autofocus?y.value=(Z=N())!=null?Z:h.value:y.value=h.value)}):(u.editorErrorMessage="",u.validateError=!1))});const A=ee(()=>e.draggable),S=ee(()=>e.overflow),{isDragging:k}=Uye(h,g,A,S);jn(async()=>{await Vt(),e.closeOnHashChange&&window.addEventListener("hashchange",O)}),Yr(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",O)});function O(){l.value&&(l.value=!1,Vt(()=>{u.action&&t("action",u.action)}))}const I=()=>{e.closeOnClickModal&&_(u.distinguishCancelAndClose?"close":"cancel")},P=eW(I),M=j=>{if(u.inputType!=="textarea")return j.preventDefault(),_("confirm")},_=j=>{var H;e.boxType==="prompt"&&j==="confirm"&&!R()||(u.action=j,u.beforeClose?(H=u.beforeClose)==null||H.call(u,j,u,O):O())},R=()=>{if(e.boxType==="prompt"){const j=u.inputPattern;if(j&&!j.test(u.inputValue||""))return u.editorErrorMessage=u.inputErrorMessage||a("el.messagebox.error"),u.validateError=!0,!1;const H=u.inputValidator;if(Pn(H)){const G=H(u.inputValue);if(G===!1)return u.editorErrorMessage=u.inputErrorMessage||a("el.messagebox.error"),u.validateError=!0,!1;if(Dn(G))return u.editorErrorMessage=G,u.validateError=!0,!1}}return u.editorErrorMessage="",u.validateError=!1,!0},N=()=>{var j,H;const G=(j=m.value)==null?void 0:j.$refs;return(H=G?.input)!=null?H:G?.textarea},V=()=>{_("close")},L=()=>{e.closeOnPressEscape&&V()};return e.lockScroll&&nW(l),{..._a(u),ns:o,overlayEvent:P,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:k,confirmRef:b,doClose:O,handleClose:V,onCloseRequested:L,handleWrapperClick:I,handleInputEnter:M,handleAction:_,t:a}}});function cst(e,t,n,r,o,i){const a=lr("el-icon"),s=lr("el-input"),l=lr("el-button"),u=lr("el-focus-trap"),d=lr("el-overlay");return F(),mt(Wi,{name:"fade-in-linear",onAfterLeave:c=>e.$emit("vanish"),persisted:""},{default:nt(()=>[an($e(d,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:nt(()=>[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},[$e(u,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:nt(()=>[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:Jt(e.customStyle),tabindex:"-1",onClick:Qt(()=>{},["stop"])},[e.title!==null&&e.title!==void 0?(F(),K("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?(F(),mt(a,{key:0,class:oe([e.ns.e("status"),e.typeClass])},{default:nt(()=>[(F(),mt(hr(e.iconComponent)))]),_:1},8,["class"])):xe("v-if",!0),x("span",null,ze(e.title),1)],2),e.showClose?(F(),K("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:Lr(Qt(c=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"])},[$e(a,{class:oe(e.ns.e("close"))},{default:nt(()=>[(F(),mt(hr(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?(F(),mt(a,{key:0,class:oe([e.ns.e("status"),e.typeClass])},{default:nt(()=>[(F(),mt(hr(e.iconComponent)))]),_:1},8,["class"])):xe("v-if",!0),e.hasMessage?(F(),K("div",{key:1,class:oe(e.ns.e("message"))},[pt(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(F(),mt(hr(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(F(),mt(hr(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0,textContent:ze(e.message)},null,8,["for","textContent"]))])],2)):xe("v-if",!0)],2),an(x("div",{class:oe(e.ns.e("input"))},[$e(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:Lr(e.handleInputEnter,["enter"])},null,8,["id","modelValue","onUpdate:modelValue","type","placeholder","aria-invalid","class","onKeydown"]),x("div",{class:oe(e.ns.e("errormsg")),style:Jt({visibility:e.editorErrorMessage?"visible":"hidden"})},ze(e.editorErrorMessage),7)],2),[[Ar,e.showInput]])],10,["id"]),x("div",{class:oe(e.ns.e("btns"))},[e.showCancelButton?(F(),mt(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:Lr(Qt(c=>e.handleAction("cancel"),["prevent"]),["enter"])},{default:nt(()=>[An(ze(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","loading-icon","class","round","size","onClick","onKeydown"])):xe("v-if",!0),an($e(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:Lr(Qt(c=>e.handleAction("confirm"),["prevent"]),["enter"])},{default:nt(()=>[An(ze(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","loading-icon","class","round","disabled","size","onClick","onKeydown"]),[[Ar,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"]),[[Ar,e.visible]])]),_:3},8,["onAfterLeave"])}var dst=en(ust,[["render",cst],["__file","index.vue"]]);const uA=new Map,fst=e=>{let t=document.body;return e.appendTo&&(Dn(e.appendTo)&&(t=document.querySelector(e.appendTo)),al(e.appendTo)&&(t=e.appendTo),al(t)||(t=document.body)),t},pst=(e,t,n=null)=>{const r=$e(dst,e,Pn(e.message)||jo(e.message)?{default:Pn(e.message)?e.message:()=>e.message}:null);return r.appContext=n,t0(r,t),fst(e).appendChild(t.firstElementChild),r.component},hst=()=>document.createElement("div"),gst=(e,t)=>{const n=hst();e.onVanish=()=>{t0(null,n),uA.delete(o)},e.onAction=i=>{const a=uA.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)Zr(e,i)&&!Zr(o.$props,i)&&(i==="closeIcon"&&ar(e[i])?o[i]=Id(e[i]):o[i]=e[i]);return o.visible=!0,o};function $b(e,t=null){if(!Kr)return Promise.reject();let n;return Dn(e)||jo(e)?e={message:e}:n=e.callback,new Promise((r,o)=>{const i=gst(e,t??$b._context);uA.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=>{$b[e]=yst(e)});function yst(e){return(t,n,r,o)=>{let i="";return ar(n)?(r=n,i=""):zr(n)?i="":i=n,$b(Object.assign({title:i,message:t,type:"",...mst[e]},r,{boxType:e}),o)}}$b.close=()=>{uA.forEach((e,t)=>{t.doClose()}),uA.clear()};$b._context=null;const rh=$b;rh.install=e=>{rh._context=e._context,e.config.globalProperties.$msgbox=rh,e.config.globalProperties.$messageBox=rh,e.config.globalProperties.$alert=rh.alert,e.config.globalProperties.$confirm=rh.confirm,e.config.globalProperties.$prompt=rh.prompt};const bst=rh,iwe=["primary","success","info","warning","error"],wst=Yt({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:vo},id:{type:String,default:""},message:{type:lt([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:lt(Function),default:()=>{}},onClose:{type:lt(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:vo,default:cu}}),Ast={destroy:()=>!0},Cst=et({name:"ElNotification"}),xst=et({...Cst,props:wst,emits:Ast,setup(e,{expose:t}){const n=e,{ns:r,zIndex:o}=tD("notification"),{nextZIndex:i,currentZIndex:a}=o,s=Y(!1);let l;const u=ee(()=>{const m=n.type;return m&&a0[n.type]?r.m(m):""}),d=ee(()=>n.type&&a0[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}=Tv(()=>{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 jn(()=>{v(),i(),s.value=!0}),Mo(document,"keydown",y),t({visible:s,close:g}),(m,b)=>(F(),mt(Wi,{name:C(r).b("fade"),onBeforeLeave:m.onClose,onAfterLeave:w=>m.$emit("destroy"),persisted:""},{default:nt(()=>[an(x("div",{id:m.id,class:oe([C(r).b(),m.customClass,C(c)]),style:Jt(C(p)),role:"alert",onMouseenter:h,onMouseleave:v,onClick:m.onClick},[C(d)?(F(),mt(C(_n),{key:0,class:oe([C(r).e("icon"),C(u)])},{default:nt(()=>[(F(),mt(hr(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:ze(m.title)},null,10,["textContent"]),an(x("div",{class:oe(C(r).e("content")),style:Jt(m.title?void 0:{margin:0})},[pt(m.$slots,"default",{},()=>[m.dangerouslyUseHTMLString?(F(),K(Nt,{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)):(F(),K("p",{key:0},ze(m.message),1))])],6),[[Ar,m.message]]),m.showClose?(F(),mt(C(_n),{key:0,class:oe(C(r).e("closeBtn")),onClick:Qt(g,["stop"])},{default:nt(()=>[(F(),mt(hr(m.closeIcon)))]),_:1},8,["class","onClick"])):xe("v-if",!0)],2)],46,["id","onClick"]),[[Ar,s.value]])]),_:3},8,["name","onBeforeLeave","onAfterLeave"]))}});var Sst=en(xst,[["__file","notification.vue"]]);const $y={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},zE=16;let Est=1;const Nv=function(e={},t){if(!Kr)return{close:()=>{}};(Dn(e)||jo(e))&&(e={message:e});const n=e.position||"top-right";let r=e.offset||0;$y[n].forEach(({vm:d})=>{var c;r+=(((c=d.el)==null?void 0:c.offsetHeight)||0)+zE}),r+=zE;const o=`notification_${Est++}`,i=e.onClose,a={...e,offset:r,id:o,onClose:()=>{kst(o,n,i)}};let s=document.body;al(e.appendTo)?s=e.appendTo:Dn(e.appendTo)&&(s=document.querySelector(e.appendTo)),al(s)||(s=document.body);const l=document.createElement("div"),u=$e(Sst,a,Pn(a.message)?a.message:jo(a.message)?()=>a.message:null);return u.appContext=zr(t)?Nv._context:t,u.props.onDestroy=()=>{t0(null,l)},t0(u,l),$y[n].push({vm:u}),s.appendChild(l.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};iwe.forEach(e=>{Nv[e]=(t={},n)=>((Dn(t)||jo(t))&&(t={message:t}),Nv({...t,type:e},n))});function kst(e,t,n){const r=$y[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=$y[e][0])==null?void 0:t.vm.props)==null?void 0:n.offset)||0;for(const{vm:i}of $y[e])i.component.props.offset=o,o+=(((r=i.el)==null?void 0:r.offsetHeight)||0)+zE}Nv.closeAll=Tst;Nv.updateOffsets=_st;Nv._context=null;const Dst=Xme(Nv,"$notify");var Ist=[zat,Vat,At,bst,Dst,gbe],Ost=mBe([...Pat,...Ist]);const Yo=(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=Y("function"),i=Y(""),a=Y(""),s=Y(null),l=Y([]);Y(!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){At.warning("最多只能上传3张图片");return}const b=5*1024*1024,w=m.filter(A=>A.size>b?(At.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 Bn.uploadImage(b);if(console.log("后端API响应:",w),w.statusCode===200){const A=w.fileUrl||w.fileURL;console.log("上传成功:",A);const S=l.value.findIndex(k=>k.file===y);S!==-1&&(l.value[S]={...m,url:A,uploading:!1,progress:100}),At.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),At.error(`图片 ${y.name} 上传失败: ${m.message}`)}},h=y=>{l.value.splice(y,1)},g=()=>{if(!i.value.trim()){At.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 Ct(()=>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=""}),hl(()=>{document.body.style.overflow="",document.body.style.paddingRight=""}),(y,m)=>e.visible?(F(),K("div",Mst,[x("div",{class:"modal-content",onClick:m[6]||(m[6]=Qt(()=>{},["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,[an(x("textarea",{class:"feedback-textarea",placeholder:"请详细描述您的问题或建议...","onUpdate:modelValue":m[4]||(m[4]=b=>i.value=b),maxlength:"200"},null,512),[[jr,i.value]]),x("div",Fst,ze(i.value.length)+"/200",1)])]),x("div",Ust,[l.value.length===0?(F(),K("div",{key:0,class:"upload-area",onClick:f},m[11]||(m[11]=[x("div",{class:"upload-icon"},[x("img",{src:cE,alt:"上传",class:"upload-img"})],-1),x("div",{class:"upload-text"}," 上传截图(选填,最多3张,每张不超过5M) ",-1)]))):xe("",!0),l.value.length>0?(F(),K("div",zst,[(F(!0),K(Nt,null,on(l.value,(b,w)=>(F(),K("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?(F(),K("div",Wst,[x("div",Vst,[x("div",{class:"progress-fill",style:Jt({width:b.progress+"%"})},null,4)]),x("span",qst,ze(b.progress)+"%",1)])):xe("",!0)]))),128)),l.value.length<3?(F(),K("div",{key:0,class:"continue-upload",onClick:f},m[13]||(m[13]=[x("div",{class:"upload-icon"},[x("img",{src:cE,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,[an(x("input",{type:"text",class:"contact-input",placeholder:"请留下您的联系方式(选填)","onUpdate:modelValue":m[5]||(m[5]=b=>a.value=b)},null,512),[[jr,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=Yo(Qst,[["__scopeId","data-v-1e1e6cd4"]]),Xst={},Jst="http://aqai.shudaodsj.com:22001";function elt(){if(!Xst?.VITE_AUDIO_API_BASE)return Jst}const awe=Xi.create({baseURL:elt(),timeout:12e4});awe.interceptors.request.use(e=>{const t=Gf(),n=Ev();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 WC=typeof window<"u",tte=WC?window.AudioContext||window.webkitAudioContext:null,rlt=WC?window.speechSynthesis:null;function T0(){const e=Y(!1),t=Y(!1),n=Y(!1),r=Y(""),o=Y(""),i=Y(!1);let a=null,s=null,l=[];const u=()=>{const k=WC&&typeof navigator<"u"&&!!navigator.mediaDevices&&typeof window.MediaRecorder<"u";return e.value=k,k},d=()=>{s&&(s.getTracks().forEach(k=>k.stop()),s=null)},c=(k=!1)=>{a&&(a.ondataavailable=null,a.onstop=null,a.onerror=null,a=null),d(),t.value=!1,k&&(l=[])},f=k=>{let O="无法访问麦克风,请检查设备设置";if(!k){o.value=O;return}switch(k.name){case"NotAllowedError":case"PermissionDeniedError":O="麦克风权限被拒绝,请允许浏览器访问麦克风";break;case"NotFoundError":case"DevicesNotFoundError":O="未检测到可用的麦克风设备";break;case"NotReadableError":case"TrackStartError":O="麦克风被占用或不可用,请检查是否有其他应用正在使用";break;case"OverconstrainedError":O="无法满足当前音频采集的约束条件";break;default:O=k.message||O}o.value=O},p=async(k,O)=>{if(!k||!k.size){o.value="未捕获到语音内容,请重新尝试";return}try{n.value=!0;let I=k;(!/wav/i.test(O||"")||k.type!=="audio/wav")&&(I=await alt(k));const P=I||k,M=new File([P],`audio_${Date.now()}.wav`,{type:"audio/wav"}),_=ilt(),{text:R}=await nlt({file:M,userId:_});r.value=R||"",o.value=""}catch(I){console.error("语音转写失败:",I),o.value=I?.message||"语音转写失败,请稍后重试"}finally{n.value=!1,l=[]}},v=()=>n.value?(o.value="上一段语音还在转写中,请稍候",!1):u()?(r.value="",o.value="",l=[],navigator.mediaDevices.getUserMedia({audio:!0}).then(k=>{s=k;const O=olt();try{a=O?new MediaRecorder(k,O):new MediaRecorder(k)}catch(I){console.error("MediaRecorder初始化失败:",I),o.value="无法启动录音,请检查浏览器是否支持录音功能",d();return}a.onstart=()=>{t.value=!0},a.ondataavailable=I=>{I.data&&I.data.size>0&&l.push(I.data)},a.onerror=I=>{console.error("MediaRecorder错误:",I.error||I),o.value="录音过程中出现问题,请重新尝试",c(!0)},a.onstop=async()=>{const I=a?.mimeType,P=new Blob(l,{type:I||"audio/webm"});c(),await p(P,I)},a.start()}).catch(k=>{console.error("获取麦克风权限失败:",k),f(k),c(!0)}),!0):(o.value="当前浏览器不支持语音输入,请更换浏览器",!1),h=()=>{if(a&&a.state!=="inactive")try{a.stop()}catch(k){console.error("停止录音失败:",k),c()}else c()},g=rlt,y=(k,O={})=>{if(!g)return o.value="浏览器不支持语音播放功能",!1;m();const I=new SpeechSynthesisUtterance(k);return I.lang=O.lang||"zh-CN",I.rate=O.rate||1,I.pitch=O.pitch||1,I.volume=O.volume||1,I.onstart=()=>{i.value=!0,o.value=""},I.onend=()=>{i.value=!1},I.onerror=P=>{let M="";switch(P.error){case"canceled":M="语音播放已取消";break;case"interrupted":M="语音播放被中断";break;case"audio-busy":M="音频设备忙,请稍后重试";break;case"audio-hardware":M="音频硬件错误";break;case"network":M="网络错误,请检查网络连接";break;case"synthesis-unavailable":M="语音播放服务不可用";break;case"synthesis-failed":M="语音播放失败";break;case"language-unavailable":M="不支持当前语言";break;case"voice-unavailable":M="当前语音不可用";break;case"text-too-long":M="文本过长,无法播放";break;case"invalid-argument":M="语音播放参数无效";break;case"not-allowed":M="语音播放权限被拒绝";break;default:M=`语音播放错误: ${P.error}`}o.value=M,i.value=!1},g.speak(I),!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(k=>k.lang.startsWith("zh")||k.lang.startsWith("en")):[],setVoice:k=>g?!!g.getVoices().find(P=>P.name===k):!1,checkSupport:u}}function olt(){if(!WC||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(!WC||!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 W=await Bn.getRecommendQuestion({limit:8});c.value=W.data,console.log("推荐问题数据结构:",c.value)}catch(W){console.error("获取推荐问题失败:",W)}},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 W=>{if(!W||W.trim().length===0){v.value=[],y.value=!1;return}if(d.value){console.log("正在发送消息,跳过推荐问题获取"),v.value=[],y.value=!1;return}try{console.log("开始获取用户推荐问题,用户输入:",W),h.value=!0;const re=await Bn.getUserRecommendQuestion({user_message:W.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}},k=W=>{console.log("选择用户推荐问题:",W),l.value=W,w()},O=()=>{if(console.log("点击语音按钮"),r.value){At.info("语音正在转写,请稍候...");return}n.value?P():I()},I=()=>{console.log("开始语音输入"),a()||At.error("语音识别启动失败,请检查麦克风权限")},P=()=>{console.log("停止语音输入"),s(),At.info("语音转写中,请稍候...")},M=async()=>{if(!l.value.trim()){At.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}}},_=()=>{u.value=!0},R=()=>{u.value=!1},N=async W=>{try{console.log("收到反馈数据:",W),console.log("feedback_img字段值:",W.feedback_img);let re=W.feedback_img||"";console.log("处理后的feedbackImg:",re);const J={feedback_type:V(W.type),feedback_content:W.content,feedback_user_phone:W.contact||"",feedback_img:re};console.log(J,"feedbackPayload");const te=await Bn.submitFeedback(J);console.log(te,"response"),At.success("反馈提交成功!感谢您的宝贵意见"),R()}catch(re){console.error("提交反馈失败:",re),At.error("提交反馈失败,请重试")}},V=W=>({function:1,interface:2,experience:3,other:4})[W]||1,L=W=>{console.log("点击问题:",W),t.push({path:"/chat",query:{autoMessage:W}})},j=()=>{t.push("/hazard-detection")},H=()=>{t.push("/safety-hazard")},G=()=>{t.push("/exam-workshop")},Z=()=>{t.push("/ai-writing")},z=()=>{t.push("/policy-document")};Ct(o,W=>{!W||n.value||(l.value=W)}),Ct(i,W=>{W&&(console.error("语音识别错误:",W),At.error(W))});const U=W=>{!W.target.closest(".user-recommend-questions")&&!W.target.closest(".search-box")&&w()};return jn(()=>{m();const W=Vve();f.value={username:W||"蜀道用户"},console.log("用户信息:",f.value),document.addEventListener("click",U)}),hl(()=>{document.removeEventListener("click",U),g.value&&clearTimeout(g.value)}),(W,re)=>(F(),K("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]=J=>p.value=!0),onMouseleave:re[1]||(re[1]=J=>p.value=!1)},[re[4]||(re[4]=x("div",{class:"user-avatar"},[x("div",{class:"avatar-icon"})],-1)),x("span",flt,ze(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,[an(x("input",{type:"text",placeholder:"请输入您想问的问题...",class:"search-input","onUpdate:modelValue":re[2]||(re[2]=J=>l.value=J),onKeyup:Lr(M,["enter"]),onInput:A},null,544),[[jr,l.value]]),x("button",{class:oe(["voice-btn",{recording:C(n)}]),onClick:O,disabled:d.value},[x("div",mlt,[x("img",{src:C(Xf),alt:"语音",class:"action-icon"},null,8,ylt),C(n)?(F(),K("div",blt)):xe("",!0)])],10,vlt),re[6]||(re[6]=x("div",{class:"divider"},null,-1)),x("button",{class:"send-btn",onClick:M,disabled:d.value||!l.value.trim()},[x("img",{src:l.value.trim()&&!d.value?C(ep):C(Jf),alt:"发送",class:"send-icon"},null,8,Alt)],8,wlt)]),y.value&&v.value.length>0?(F(),K("div",{key:0,class:"user-recommend-questions",onClick:re[3]||(re[3]=Qt(()=>{},["stop"]))},[x("div",Clt,[(F(!0),K(Nt,null,on(v.value,(J,te)=>(F(),K("div",{key:te,class:"recommend-item",onClick:X=>k(J)},ze(J),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,[(F(!0),K(Nt,null,on(c.value,(J,te)=>(F(),K("div",{class:"question-item",onClick:X=>L(J.question),key:te,title:J.question},ze(te+1)+". "+ze(J.question),9,Dlt))),128))])])])]),x("div",{class:"card-column"},[x("div",{class:"hazard-card",onClick:j},re[8]||(re[8]=[x("div",{class:"card-title"},"隐患提示",-1),x("div",{class:"card-description"},"图片智能识别,风险隐患提示",-1)])),x("div",{class:"training-card",onClick:H},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:G},re[10]||(re[10]=[ki('
考试工坊
考试工坊
让组卷更省心,让出题更精准
生成考题 ›
',3)])),x("div",{class:"service-card policy-document-card",onClick:z},re[11]||(re[11]=[ki('
政策文件
政策文件
汇集国家、行业及集团政策文件
了解更多 ›
',3)]))]),x("div",{class:"card-column"},[x("div",{class:"service-card ai-writing-card",onClick:Z},re[12]||(re[12]=[ki('
AI写作
AI写作
一键创作公文,让文案更专业
开始创作 ›
',3)])),x("div",{class:"service-card feedback-card",onClick:_},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)),$e(Zst,{visible:u.value,onClose:R,onSubmit:N},null,8,["visible"])]))}},Olt=Yo(Ilt,[["__scopeId","data-v-5ac77eb3"]]),wc="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=Hl(),n=z_(),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)=>(F(),K("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)])]))}},VC=Yo(Rlt,[["__scopeId","data-v-9f53bf3f"]]);var xu={},ZW="1.13.7",nte=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},CD=Array.prototype,XW=Object.prototype,rte=typeof Symbol<"u"?Symbol.prototype:null,Blt=CD.push,qC=CD.slice,cA=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 cl(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 $E=wwe("byteLength"),qlt=bwe($E);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)&&!dA(e):qlt(e)&&Glt.test(cA.call(e))}const sV=lwe?Klt:aV(!1),Ul=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=GC(t);var r=t.length;if(!r)return js(n)?n.call(e):n;for(var o=0;o1)sm(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=Hy()-o;t>d?r=setTimeout(l,t-d):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},u=cl(function(d){return s=this,i=d,o=Hy(),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 am(t,e)}function _D(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=am(CV,2);function xV(e,t,n){t=Wl(t,n);for(var r=ts(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(qC.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,KC(r,i,4),o,a)}}const iy=d4e(1),HE=d4e(-1);function l0(e,t,n){var r=[];return t=Wl(t,n),$c(e,function(o,i,a){t(o,i,a)&&r.push(o)}),r}function f4e(e,t,n){return l0(e,_D(Wl(t)),n)}function WE(e,t,n){t=Wl(t,n);for(var r=!yu(e)&&ts(e),o=(r||e).length,i=0;i=0}const p4e=cl(function(e,t,n){var r,o;return js(t)?o=t:(t=GC(t),r=t.slice(0,-1),t=t[t.length-1]),tp(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 ID(e,t){return tp(e,kD(t))}function h4e(e,t){return l0(e,Rv(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=yu(e)?e:im(e);for(var s=0,l=e.length;sr&&(r=i)}else t=Wl(t,n),$c(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=yu(e)?e:im(e);for(var s=0,l=e.length;ss||a===void 0)return 1;if(a1&&(r=KC(r,t[1])),t=jb(e)):(r=aut,t=sm(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o1&&(r=t[1])):(t=tp(sm(t,!1,!1),String),n=function(o,i){return!$u(t,i)}),IV(e,n,r)});function OV(e,t,n){return qC.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function ay(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 Qg(e,t,n){return qC.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]:Qg(e,Math.max(0,e.length-t))}function E4e(e){return l0(e,Boolean)}function k4e(e,t){return sm(e,t,!1)}const MV=cl(function(e,t){return t=sm(t,!0,!0),l0(e,function(n){return!$u(t,n)})}),T4e=cl(function(e,t){return MV(e,t)});function hA(e,t,n,r){eV(t)||(r=n,n=t,t=!1),n!=null&&(n=Wl(n,r));for(var o=[],i=[],a=0,s=Ul(e);a"u",r={e:{}},o,i=typeof self<"u"?self:typeof window<"u"?window:typeof zs<"u"?zs:O2!==void 0?O2:null;function a(){try{var W=o;return o=null,W.apply(this,arguments)}catch(re){return r.e=re,r}}function s(W){return o=W,a}var l=function(W,re){var J={}.hasOwnProperty;function te(){this.constructor=W,this.constructor$=re;for(var X in re.prototype)J.call(re.prototype,X)&&X.charAt(X.length-1)!=="$"&&(this[X+"$"]=re.prototype[X])}return te.prototype=re.prototype,W.prototype=new te,W.prototype};function u(W){return W==null||W===!0||W===!1||typeof W=="string"||typeof W=="number"}function d(W){return typeof W=="function"||typeof W=="object"&&W!==null}function c(W){return u(W)?new Error(k(W)):W}function f(W,re){var J=W.length,te=new Array(J+1),X;for(X=0;X1,te=re.length>0&&!(re.length===1&&re[0]==="constructor"),X=y.test(W+"")&&t.names(W).length>0;if(J||te||X)return!0}return!1}catch{return!1}}function b(W){return W}var w=/^[a-z$_][a-z$_0-9]*$/i;function A(W){return w.test(W)}function S(W,re,J){for(var te=new Array(W),X=0;X10||W[0]>0})(),U.isNode&&U.toFastProperties(process);try{throw new Error}catch(W){U.lastLineError=W}return O2=U,O2}var Mx={exports:{}},UI,fte;function uut(){if(fte)return UI;fte=1;var e=zi(),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=zs.setImmediate,i=process.nextTick;t=e.isRecentNode?function(s){o.call(zs,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},Mx.exports=o,Mx.exports.firstLineError=e,Mx.exports}var $I,gte;function u0(){if(gte)return $I;gte=1;var e=Hb(),t=e.freeze,n=zi(),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=u0().Warning,i=zi(),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 Fe=this._target();Fe._bitField=Fe._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){ge("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 Fe=this._settledValue();this._setUnhandledRejectionIsNotified(),ge("unhandledRejection",l,Fe,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(Fe,Pe,Ne){return re(Fe,Pe,Ne||this)},e.onPossiblyUnhandledRejection=function(Fe){var Pe=n();l=typeof Fe=="function"?Pe===null?Fe:i.domainBind(Pe,Fe):void 0},e.onUnhandledRejectionHandled=function(Fe){var Pe=n();s=typeof Fe=="function"?Pe===null?Fe:i.domainBind(Pe,Fe):void 0};var w=function(){};e.longStackTraces=function(){if(r.haveItemsQueued()&&!Le.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX `);if(!Le.longStackTraces&&be()){var Fe=e.prototype._captureStackTrace,Pe=e.prototype._attachExtraTrace;Le.longStackTraces=!0,w=function(){if(r.haveItemsQueued()&&!Le.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX `);e.prototype._captureStackTrace=Fe,e.prototype._attachExtraTrace=Pe,t.deactivateLongStackTraces(),r.enableTrampoline(),Le.longStackTraces=!1},e.prototype._captureStackTrace=Z,e.prototype._attachExtraTrace=z,t.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return Le.longStackTraces&&be()};var A=(function(){try{if(typeof CustomEvent=="function"){var Fe=new CustomEvent("CustomEvent");return i.global.dispatchEvent(Fe),function(Pe,Ne){var ht=new CustomEvent(Pe.toLowerCase(),{detail:Ne,cancelable:!0});return!i.global.dispatchEvent(ht)}}else if(typeof Event=="function"){var Fe=new Event("CustomEvent");return i.global.dispatchEvent(Fe),function(Ne,ht){var Rt=new Event(Ne.toLowerCase(),{cancelable:!0});return Rt.detail=ht,!i.global.dispatchEvent(Rt)}}else{var Fe=document.createEvent("CustomEvent");return Fe.initCustomEvent("testingtheevent",!1,!0,{}),i.global.dispatchEvent(Fe),function(Ne,ht){var Rt=document.createEvent("CustomEvent");return Rt.initCustomEvent(Ne.toLowerCase(),!1,!0,ht),!i.global.dispatchEvent(Rt)}}}catch{}return function(){return!1}})(),S=(function(){return i.isNode?function(){return process.emit.apply(process,arguments)}:i.global?function(Fe){var Pe="on"+Fe.toLowerCase(),Ne=i.global[Pe];return Ne?(Ne.apply(i.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}})();function k(Fe,Pe){return{promise:Pe}}var O={promiseCreated:k,promiseFulfilled:k,promiseRejected:k,promiseResolved:k,promiseCancelled:k,promiseChained:function(Fe,Pe,Ne){return{promise:Pe,child:Ne}},warning:function(Fe,Pe){return{warning:Pe}},unhandledRejection:function(Fe,Pe,Ne){return{reason:Pe,promise:Ne}},rejectionHandled:k},I=function(Fe){var Pe=!1;try{Pe=S.apply(null,arguments)}catch(ht){r.throwLater(ht),Pe=!0}var Ne=!1;try{Ne=A(Fe,O[Fe].apply(null,arguments))}catch(ht){r.throwLater(ht),Ne=!0}return Ne||Pe};e.config=function(Fe){if(Fe=Object(Fe),"longStackTraces"in Fe&&(Fe.longStackTraces?e.longStackTraces():!Fe.longStackTraces&&e.hasLongStackTraces()&&w()),"warnings"in Fe){var Pe=Fe.warnings;Le.warnings=!!Pe,b=Le.warnings,i.isObject(Pe)&&"wForgottenReturn"in Pe&&(b=!!Pe.wForgottenReturn)}if("cancellation"in Fe&&Fe.cancellation&&!Le.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=V,e.prototype._propagateFrom=L,e.prototype._onCancel=R,e.prototype._setOnCancel=N,e.prototype._attachCancellationCallback=_,e.prototype._execute=M,H=L,Le.cancellation=!0}return"monitoring"in Fe&&(Fe.monitoring&&!Le.monitoring?(Le.monitoring=!0,e.prototype._fireEvent=I):!Fe.monitoring&&Le.monitoring&&(Le.monitoring=!1,e.prototype._fireEvent=P)),e};function P(){return!1}e.prototype._fireEvent=P,e.prototype._execute=function(Fe,Pe,Ne){try{Fe(Pe,Ne)}catch(ht){return ht}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(Fe){},e.prototype._attachCancellationCallback=function(Fe){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(Fe,Pe){};function M(Fe,Pe,Ne){var ht=this;try{Fe(Pe,Ne,function(Rt){if(typeof Rt!="function")throw new TypeError("onCancel must be a function, got: "+i.toString(Rt));ht._attachCancellationCallback(Rt)})}catch(Rt){return Rt}}function _(Fe){if(!this._isCancellable())return this;var Pe=this._onCancel();Pe!==void 0?i.isArray(Pe)?Pe.push(Fe):this._setOnCancel([Pe,Fe]):this._setOnCancel(Fe)}function R(){return this._onCancelField}function N(Fe){this._onCancelField=Fe}function V(){this._cancellationParent=void 0,this._onCancelField=void 0}function L(Fe,Pe){if((Pe&1)!==0){this._cancellationParent=Fe;var Ne=Fe._branchesRemainingToCancel;Ne===void 0&&(Ne=0),Fe._branchesRemainingToCancel=Ne+1}(Pe&2)!==0&&Fe._isBound()&&this._setBoundTo(Fe._boundTo)}function j(Fe,Pe){(Pe&2)!==0&&Fe._isBound()&&this._setBoundTo(Fe._boundTo)}var H=j;function G(){var Fe=this._boundTo;return Fe!==void 0&&Fe instanceof e?Fe.isFulfilled()?Fe.value():void 0:Fe}function Z(){this._trace=new Re(this._peekContext())}function z(Fe,Pe){if(a(Fe)){var Ne=this._trace;if(Ne!==void 0&&Pe&&(Ne=Ne._parent),Ne!==void 0)Ne.attachExtraTrace(Fe);else if(!Fe.__stackCleaned__){var ht=Me(Fe);i.notEnumerableProp(Fe,"stack",ht.message+` `+ht.stack.join(` `)),i.notEnumerableProp(Fe,"__stackCleaned__",!0)}}}function U(Fe,Pe,Ne,ht,Rt){if(Fe===void 0&&Pe!==null&&b){if(Rt!==void 0&&Rt._returnedNonUndefined()||(ht._bitField&65535)===0)return;Ne&&(Ne=Ne+" ");var Lt="",tn="";if(Pe._trace){for(var Wt=Pe._trace.stack.split(` `),zt=ue(Wt),dt=zt.length-1;dt>=0;--dt){var _t=zt[dt];if(!d.test(_t)){var ut=_t.match(c);ut&&(Lt="at "+ut[1]+":"+ut[2]+":"+ut[3]+" ");break}}if(zt.length>0){for(var rt=zt[0],dt=0;dt0&&(tn=` `+Wt[dt-1]);break}}}var he="a promise was created in a "+Ne+"handler "+Lt+"but was not returned from it, see http://goo.gl/rRqMUw"+tn;ht._warn(he,!0,Pe)}}function W(Fe,Pe){var Ne=Fe+" is deprecated and will be removed in a future version.";return Pe&&(Ne+=" Use "+Pe+" instead."),re(Ne)}function re(Fe,Pe,Ne){if(Le.warnings){var ht=new o(Fe),Rt;if(Pe)Ne._attachExtraTrace(ht);else if(Le.longStackTraces&&(Rt=e._peekContext()))Rt.attachExtraTrace(ht);else{var Lt=Me(ht);ht.stack=Lt.message+` `+Lt.stack.join(` `)}I("warning",ht)||Ae(ht,"",!0)}}function J(Fe,Pe){for(var Ne=0;Ne=0;--Wt)if(ht[Wt]===Lt){tn=Wt;break}for(var Wt=tn;Wt>=0;--Wt){var zt=ht[Wt];if(Pe[Rt]===zt)Pe.pop(),Rt--;else break}Pe=ht}}function ue(Fe){for(var Pe=[],Ne=0;Ne0&&Fe.name!="SyntaxError"&&(Pe=Pe.slice(Ne)),Pe}function Me(Fe){var Pe=Fe.stack,Ne=Fe.toString();return Pe=typeof Pe=="string"&&Pe.length>0?me(Fe):[" (No stack trace)"],{message:Ne,stack:Fe.name=="SyntaxError"?Pe:ue(Pe)}}function Ae(Fe,Pe,Ne){if(typeof console<"u"){var ht;if(i.isObject(Fe)){var Rt=Fe.stack;ht=Pe+p(Rt,Fe)}else ht=Pe+String(Fe);typeof h=="function"?h(ht,Ne):(typeof console.log=="function"||typeof console.log=="object")&&console.log(ht)}}function ge(Fe,Pe,Ne,ht){var Rt=!1;try{typeof Pe=="function"&&(Rt=!0,Fe==="rejectionHandled"?Pe(ht):Pe(Ne,ht))}catch(Lt){r.throwLater(Lt)}Fe==="unhandledRejection"?!I(Fe,Ne,ht)&&!Rt&&Ae(Ne,"Unhandled rejection "):I(Fe,ht)}function _e(Fe){var Pe;if(typeof Fe=="function")Pe="[function "+(Fe.name||"anonymous")+"]";else{Pe=Fe&&typeof Fe.toString=="function"?Fe.toString():i.toString(Fe);var Ne=/\[object [a-zA-Z0-9$_]+\]/;if(Ne.test(Pe))try{var ht=JSON.stringify(Fe);Pe=ht}catch{}Pe.length===0&&(Pe="(empty array)")}return"(<"+Q(Pe)+">, no stack trace)"}function Q(Fe){var Pe=41;return Fe.length=Lt||(De=function(_t){if(u.test(_t))return!0;var ut=ie(_t);return!!(ut&&ut.fileName===tn&&Rt<=ut.line&&ut.line<=Lt)})}}function Re(Fe){this._parent=Fe,this._promisesCreated=0;var Pe=this._length=1+(Fe===void 0?0:Fe._length);Ee(this,Re),Pe>32&&this.uncycle()}i.inherits(Re,Error),t.CapturedTrace=Re,Re.prototype.uncycle=function(){var Fe=this._length;if(!(Fe<2)){for(var Pe=[],Ne={},ht=0,Rt=this;Rt!==void 0;++ht)Pe.push(Rt),Rt=Rt._parent;Fe=this._length=ht;for(var ht=Fe-1;ht>=0;--ht){var Lt=Pe[ht].stack;Ne[Lt]===void 0&&(Ne[Lt]=ht)}for(var ht=0;ht0&&(Pe[Wt-1]._parent=void 0,Pe[Wt-1]._length=1),Pe[ht]._parent=void 0,Pe[ht]._length=1;var zt=ht>0?Pe[ht-1]:this;Wt=0;--_t)Pe[_t]._length=dt,dt++;return}}}},Re.prototype.attachExtraTrace=function(Fe){if(!Fe.__stackCleaned__){this.uncycle();for(var Pe=Me(Fe),Ne=Pe.message,ht=[Pe.stack],Rt=this;Rt!==void 0;)ht.push(ue(Rt.stack.split(` `))),Rt=Rt._parent;X(ht),te(ht),i.notEnumerableProp(Fe,"stack",J(Ne,ht)),i.notEnumerableProp(Fe,"__stackCleaned__",!0)}};var Ee=(function(){var Pe=/^\s*at\s*/,Ne=function(tn,Wt){return typeof tn=="string"?tn:Wt.name!==void 0&&Wt.message!==void 0?Wt.toString():_e(Wt)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,f=Pe,p=Ne;var ht=Error.captureStackTrace;return De=function(tn){return u.test(tn)},function(tn,Wt){Error.stackTraceLimit+=6,ht(tn,Wt),Error.stackTraceLimit-=6}}var Rt=new Error;if(typeof Rt.stack=="string"&&Rt.stack.split(` `)[0].indexOf("stackDetection@")>=0)return f=/@/,p=Ne,v=!0,function(Wt){Wt.stack=new Error().stack};var Lt;try{throw new Error}catch(tn){Lt="stack"in tn}return!("stack"in Rt)&&Lt&&typeof Error.stackTraceLimit=="number"?(f=Pe,p=Ne,function(Wt){Error.stackTraceLimit+=6;try{throw new Error}catch(zt){Wt.stack=zt.stack}Error.stackTraceLimit-=6}):(p=function(tn,Wt){return typeof tn=="string"?tn:(typeof Wt=="object"||typeof Wt=="function")&&Wt.name!==void 0&&Wt.message!==void 0?Wt.toString():_e(Wt)},null)})();typeof console<"u"&&typeof console.warn<"u"&&(h=function(Fe){console.warn(Fe)},i.isNode&&process.stderr.isTTY?h=function(Fe,Pe){var Ne=Pe?"\x1B[33m":"\x1B[31m";console.warn(Ne+Fe+`\x1B[0m `)}:!i.isNode&&typeof new Error().stack=="string"&&(h=function(Fe,Pe){console.warn("%c"+Fe,Pe?"color: darkorange":"color: red")}));var Le={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return m&&e.longStackTraces(),{longStackTraces:function(){return Le.longStackTraces},warnings:function(){return Le.warnings},cancellation:function(){return Le.cancellation},monitoring:function(){return Le.monitoring},propagateFromFunction:function(){return H},boundValueFunction:function(){return G},checkForgottenReturns:U,setBounds:ce,warn:re,deprecated:W,CapturedTrace:Re,fireDomEvent:A,fireGlobalEvent:S}}),VI}var qI,wte;function vut(){return wte||(wte=1,qI=function(e,t){var n=zi(),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=zi(),n=Hb().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=zi(),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,k=0;k=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),k=b._popContext();if(i.checkForgottenReturns(S,k,y!==null?"Promise.filter":"Promise.map",b),S===u)return this._reject(S.e),!0;var O=r(S,this._promise);if(O instanceof e){O=O._target();var I=O._bitField;if((I&50397184)===0)return m>=1&&this._inFlight++,h[v]=O,O._proxy(this,(v+1)*-1),!1;if((I&33554432)!==0)S=O._value();else return(I&16777216)!==0?(this._reject(O._reason()),!0):(this._cancel(),!0)}h[v]=S}var P=++this._totalResolved;return P>=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=zi(),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 k._fulfill();var I=p(b[A++]);if(I instanceof e&&I._isDisposable()){try{I=n(I._getDisposer().tryDispose(w),b.promise)}catch(P){return f(P)}if(I instanceof e)return I._then(O,f,null,null,null)}O()}return O(),k}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=zi(),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=u0(),s=a.TypeError,l=zi(),u=l.errorObj,d=l.tryCatch,c=[];function f(v,h,g){for(var y=0;y=V;--L)N.push(L);for(var L=R+1;L<=3;++L)N.push(L);return N},S=function(R){return r.filledRange(R,"_arg","")},k=function(R){return r.filledRange(Math.max(R,3),"_arg","")},O=function(R){return typeof R.length=="number"?Math.max(Math.min(R.length,1024),0):0};w=function(R,N,V,L,j,H){var G=Math.max(0,O(L)-1),Z=A(G),z=typeof R=="string"||N===n;function U(te){var X=S(te).join(", "),ue=te>0?", ":"",me;return z?me=`ret = callback.call(this, {{args}}, nodeback); break; `:me=N===void 0?`ret = callback({{args}}, nodeback); break; `:`ret = callback.call(receiver, {{args}}, nodeback); break; `,me.replace("{{args}}",X).replace(", ",ue)}function W(){for(var te="",X=0;X=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=zi(),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=zi(),o=u0().RangeError,i=u0().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 _.PromiseInspection(this._target())},r=function(L){return _.reject(new f(L))};function o(){}var i={},a=zi(),s;a.isNode?s=function(){var L=process.domain;return L===void 0&&(L=null),L}:s=function(){return null},a.notEnumerableProp(_,"_getDomain",s);var l=Hb(),u=dut(),d=new u;l.defineProperty(_,"_async",{value:d});var c=u0(),f=_.TypeError=c.TypeError;_.RangeError=c.RangeError;var p=_.CancellationError=c.CancellationError;_.TimeoutError=c.TimeoutError,_.OperationalError=c.OperationalError,_.RejectionError=c.OperationalError,_.AggregateError=c.AggregateError;var v=function(){},h={},g={},y=fut()(_,v),m=put()(_,v,y,r,o),b=hut()(_),w=b.create,A=gut()(_,b);A.CapturedTrace;var S=vut()(_,y),k=mut()(g),O=N4e(),I=a.errorObj,P=a.tryCatch;function M(L,j){if(typeof j!="function")throw new f("expecting a function but got "+a.classString(j));if(L.constructor!==_)throw new f(`the promise constructor cannot be invoked directly See http://goo.gl/MqrFmX `)}function _(L){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,L!==v&&(M(this,L),this._resolveFromExecutor(L)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}_.prototype.toString=function(){return"[object Promise]"},_.prototype.caught=_.prototype.catch=function(L){var j=arguments.length;if(j>1){var H=new Array(j-1),G=0,Z;for(Z=0;Z0&&typeof L!="function"&&typeof j!="function"){var H=".then() only accepts functions but was passed: "+a.classString(L);arguments.length>1&&(H+=", "+a.classString(j)),this._warn(H)}return this._then(L,j,void 0,void 0,void 0)},_.prototype.done=function(L,j){var H=this._then(L,j,void 0,void 0,void 0);H._setIsFinal()},_.prototype.spread=function(L){return typeof L!="function"?r("expecting a function but got "+a.classString(L)):this.all()._then(L,void 0,void 0,h,void 0)},_.prototype.toJSON=function(){var L={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(L.fulfillmentValue=this.value(),L.isFulfilled=!0):this.isRejected()&&(L.rejectionReason=this.reason(),L.isRejected=!0),L},_.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new m(this).promise()},_.prototype.error=function(L){return this.caught(a.originatesFromRejection,L)},_.getNewLibraryCopy=e.exports,_.is=function(L){return L instanceof _},_.fromNode=_.fromCallback=function(L){var j=new _(v);j._captureStackTrace();var H=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,G=P(L)(O(j,H));return G===I&&j._rejectCallback(G.e,!0),j._isFateSealed()||j._setAsyncGuaranteed(),j},_.all=function(L){return new m(L).promise()},_.cast=function(L){var j=y(L);return j instanceof _||(j=new _(v),j._captureStackTrace(),j._setFulfilled(),j._rejectionHandler0=L),j},_.resolve=_.fulfilled=_.cast,_.reject=_.rejected=function(L){var j=new _(v);return j._captureStackTrace(),j._rejectCallback(L,!0),j},_.setScheduler=function(L){if(typeof L!="function")throw new f("expecting a function but got "+a.classString(L));return d.setScheduler(L)},_.prototype._then=function(L,j,H,G,Z){var z=Z!==void 0,U=z?Z:new _(v),W=this._target(),re=W._bitField;z||(U._propagateFrom(this,3),U._captureStackTrace(),G===void 0&&(this._bitField&2097152)!==0&&((re&50397184)!==0?G=this._boundValue():G=W===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,U));var J=s();if((re&50397184)!==0){var te,X,ue=W._settlePromiseCtx;(re&33554432)!==0?(X=W._rejectionHandler0,te=L):(re&16777216)!==0?(X=W._fulfillmentHandler0,te=j,W._unsetRejectionIsUnhandled()):(ue=W._settlePromiseLateCancellationObserver,X=new p("late cancellation observer"),W._attachExtraTrace(X),te=j),d.invoke(ue,W,{handler:J===null?te:typeof te=="function"&&a.domainBind(J,te),promise:U,receiver:G,value:X})}else W._addCallbacks(L,j,U,G,J);return U},_.prototype._length=function(){return this._bitField&65535},_.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},_.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},_.prototype._setLength=function(L){this._bitField=this._bitField&-65536|L&65535},_.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},_.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},_.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},_.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},_.prototype._isFinal=function(){return(this._bitField&4194304)>0},_.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},_.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},_.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},_.prototype._setAsyncGuaranteed=function(){d.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},_.prototype._receiverAt=function(L){var j=L===0?this._receiver0:this[L*4-4+3];if(j!==i)return j===void 0&&this._isBound()?this._boundValue():j},_.prototype._promiseAt=function(L){return this[L*4-4+2]},_.prototype._fulfillmentHandlerAt=function(L){return this[L*4-4+0]},_.prototype._rejectionHandlerAt=function(L){return this[L*4-4+1]},_.prototype._boundValue=function(){},_.prototype._migrateCallback0=function(L){L._bitField;var j=L._fulfillmentHandler0,H=L._rejectionHandler0,G=L._promise0,Z=L._receiverAt(0);Z===void 0&&(Z=i),this._addCallbacks(j,H,G,Z,null)},_.prototype._migrateCallbackAt=function(L,j){var H=L._fulfillmentHandlerAt(j),G=L._rejectionHandlerAt(j),Z=L._promiseAt(j),z=L._receiverAt(j);z===void 0&&(z=i),this._addCallbacks(H,G,Z,z,null)},_.prototype._addCallbacks=function(L,j,H,G,Z){var z=this._length();if(z>=65531&&(z=0,this._setLength(0)),z===0)this._promise0=H,this._receiver0=G,typeof L=="function"&&(this._fulfillmentHandler0=Z===null?L:a.domainBind(Z,L)),typeof j=="function"&&(this._rejectionHandler0=Z===null?j:a.domainBind(Z,j));else{var U=z*4-4;this[U+2]=H,this[U+3]=G,typeof L=="function"&&(this[U+0]=Z===null?L:a.domainBind(Z,L)),typeof j=="function"&&(this[U+1]=Z===null?j:a.domainBind(Z,j))}return this._setLength(z+1),z},_.prototype._proxy=function(L,j){this._addCallbacks(void 0,void 0,j,L,null)},_.prototype._resolveCallback=function(L,j){if((this._bitField&117506048)===0){if(L===this)return this._rejectCallback(t(),!1);var H=y(L,this);if(!(H instanceof _))return this._fulfill(L);j&&this._propagateFrom(H,2);var G=H._target();if(G===this){this._reject(t());return}var Z=G._bitField;if((Z&50397184)===0){var z=this._length();z>0&&G._migrateCallback0(this);for(var U=1;U>>16)){if(L===this){var H=t();return this._attachExtraTrace(H),this._reject(H)}this._setFulfilled(),this._rejectionHandler0=L,(j&65535)>0&&((j&134217728)!==0?this._settlePromises():d.settlePromises(this))}},_.prototype._reject=function(L){var j=this._bitField;if(!((j&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=L,this._isFinal())return d.fatalError(L,a.isNode);(j&65535)>0?d.settlePromises(this):this._ensurePossibleRejectionHandled()}},_.prototype._fulfillPromises=function(L,j){for(var H=1;H0){if((L&16842752)!==0){var H=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,H,L),this._rejectPromises(j,H)}else{var G=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,G,L),this._fulfillPromises(j,G)}this._setLength(0)}this._clearCancellationData()},_.prototype._settledValue=function(){var L=this._bitField;if((L&33554432)!==0)return this._rejectionHandler0;if((L&16777216)!==0)return this._fulfillmentHandler0};function R(L){this.promise._resolveCallback(L)}function N(L){this.promise._rejectCallback(L,!1)}_.defer=_.pending=function(){A.deprecated("Promise.defer","new Promise");var L=new _(v);return{promise:L,resolve:R,reject:N}},a.notEnumerableProp(_,"_makeSelfResolutionError",t),yut()(_,v,y,r,A),but()(_,v,y,A),wut()(_,m,r,A),Aut()(_),Cut()(_),xut()(_,m,y,v,d,s),_.Promise=_,_.version="3.4.7",Sut()(_,m,r,y,v,A),Eut()(_),kut()(_,r,y,w,v,A),Tut()(_,v,A),_ut()(_,r,v,y,o,A),Dut()(_),Iut()(_,v),Out()(_,m,y,r),Mut()(_,v,y,r),Put()(_,m,r,y,v,A),Nut()(_,m,A),Rut()(_,m,r),But()(_,v),Lut()(_,v),Fut()(_),a.toFastProperties(_),a.toFastProperties(_.prototype);function V(L){var j=new _(v);j._fulfillmentHandler0=L,j._rejectionHandler0=L,j._promise0=L,j._receiver0=L}return V({a:1}),V({b:2}),V({c:3}),V(1),V(function(){}),V(void 0),V(!1),V(new _(v)),A.setBounds(u.firstLineError,a.lastLineError),_}})(FI)),FI.exports}var Vte;function O0(){if(Vte)return Su;Vte=1;var e=Ia,t=Uut()();Su.defer=n,Su.when=t.resolve,Su.resolve=t.resolve,Su.all=t.all,Su.props=t.props,Su.reject=t.reject,Su.promisify=t.promisify,Su.mapSeries=t.mapSeries,Su.attempt=t.attempt,Su.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 Su}var ri={},qte;function lm(){if(qte)return ri;qte=1;var e=Ia,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,k){return k=k||{},{type:t.document,children:S,notes:k.notes||new c({}),comments:k.comments||[]}}function r(S,k){k=k||{};var O=k.indent||{};return{type:t.paragraph,children:S,styleId:k.styleId||null,styleName:k.styleName||null,numbering:k.numbering||null,alignment:k.alignment||null,indent:{start:O.start||null,end:O.end||null,firstLine:O.firstLine||null,hanging:O.hanging||null}}}function o(S,k){return k=k||{},{type:t.run,children:S,styleId:k.styleId||null,styleName:k.styleName||null,isBold:!!k.isBold,isUnderline:!!k.isUnderline,isItalic:!!k.isItalic,isStrikethrough:!!k.isStrikethrough,isAllCaps:!!k.isAllCaps,isSmallCaps:!!k.isSmallCaps,verticalAlignment:k.verticalAlignment||i.baseline,font:k.font||null,fontSize:k.fontSize||null,highlight:k.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,k){return{type:t.hyperlink,children:S,href:k.href,anchor:k.anchor,targetFrame:k.targetFrame}}function d(S){return{type:t.noteReference,noteType:S.noteType,noteId:S.noteId}}function c(S){this._notes=e.indexBy(S,function(k){return h(k.noteType,k.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,k){return S+"-"+k}function g(S){return{type:t.image,read:function(k){return k?S.readImage(k):S.readImage().then(function(O){return Buffer.from(O)})},readAsArrayBuffer:function(){return S.readImage()},readAsBase64String:function(){return S.readImage("base64")},readAsBuffer:function(){return S.readImage().then(function(k){return Buffer.from(k)})},altText:S.altText,contentType:S.contentType}}function y(S,k){return k=k||{},{type:t.table,children:S,styleId:k.styleId||null,styleName:k.styleName||null}}function m(S,k){return k=k||{},{type:t.tableRow,children:S,isHeader:k.isHeader||!1}}function b(S,k){return k=k||{},{type:t.tableCell,children:S,colSpan:k.colSpan==null?1:k.colSpan,rowSpan:k.rowSpan==null?1:k.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 Lm={},Gte;function np(){if(Gte)return Lm;Gte=1;var e=Ia;Lm.Result=t,Lm.success=n,Lm.warning=r,Lm.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 Lm}var M2={},P2={},Kte;function zut(){if(Kte)return P2;Kte=1,P2.byteLength=s,P2.toByteArray=u,P2.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 P2}function Px(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 Px=="function"&&Px;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 Px=="function"&&Px,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,k=m!==u.utf8encode,O=s.transformTo("string",m(A.name)),I=s.transformTo("string",u.utf8encode(A.name)),P=A.comment,M=s.transformTo("string",m(P)),_=s.transformTo("string",u.utf8encode(P)),R=I.length!==A.name.length,N=_.length!==P.length,V="",L="",j="",H=A.dir,G=A.date,Z={crc32:0,compressedSize:0,uncompressedSize:0};v&&!h||(Z.crc32=p.crc32,Z.compressedSize=p.compressedSize,Z.uncompressedSize=p.uncompressedSize);var z=0;v&&(z|=8),k||!R&&!N||(z|=2048);var U=0,W=0;H&&(U|=16),y==="UNIX"?(W=798,U|=(function(J,te){var X=J;return J||(X=te?16893:33204),(65535&X)<<16})(A.unixPermissions,H)):(W=20,U|=(function(J){return 63&(J||0)})(A.dosPermissions)),b=G.getUTCHours(),b<<=6,b|=G.getUTCMinutes(),b<<=5,b|=G.getUTCSeconds()/2,w=G.getUTCFullYear()-1980,w<<=4,w|=G.getUTCMonth()+1,w<<=5,w|=G.getUTCDate(),R&&(L=i(1,1)+i(d(O),4)+I,V+="up"+i(L.length,2)+L),N&&(j=i(1,1)+i(d(M),4)+_,V+="uc"+i(j.length,2)+j);var re="";return re+=` \0`,re+=i(z,2),re+=S.magic,re+=i(b,2),re+=i(w,2),re+=i(Z.crc32,4),re+=i(Z.compressedSize,4),re+=i(Z.uncompressedSize,4),re+=i(O.length,2),re+=i(V.length,2),{fileRecord:c.LOCAL_FILE_HEADER+re+O+V,dirRecord:c.CENTRAL_FILE_HEADER+i(W,2)+re+i(M.length,2)+"\0\0\0\0"+i(U,4)+i(g,4)+O+V+M}}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,k){m.push(S),h&&h(k)}).on("error",function(S){m=[],y(S)}).on("end",function(){try{var S=(function(k,O,I){switch(k){case"blob":return i.newBlob(i.transformTo("arraybuffer",O),I);case"base64":return l.encode(O);default:return i.transformTo(k,O)}})(w,(function(k,O){var I,P=0,M=null,_=0;for(I=0;I"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,k=2*w+1,O=15,I=3,P=258,M=P+I+1,_=42,R=113,N=1,V=2,L=3,j=4;function H(Q,be){return Q.msg=d[be],be}function G(Q){return(Q<<1)-(4Q.avail_out&&(De=Q.avail_out),De!==0&&(a.arraySet(Q.output,be.pending_buf,be.pending_out,De,Q.next_out),Q.next_out+=De,be.pending_out+=De,Q.total_out+=De,Q.avail_out-=De,be.pending-=De,be.pending===0&&(be.pending_out=0))}function U(Q,be){s._tr_flush_block(Q,0<=Q.block_start?Q.block_start:-1,Q.strstart-Q.block_start,be),Q.block_start=Q.strstart,z(Q.strm)}function W(Q,be){Q.pending_buf[Q.pending++]=be}function re(Q,be){Q.pending_buf[Q.pending++]=be>>>8&255,Q.pending_buf[Q.pending++]=255&be}function J(Q,be){var De,pe,ie=Q.max_chain_length,ce=Q.strstart,Re=Q.prev_length,Ee=Q.nice_match,Le=Q.strstart>Q.w_size-M?Q.strstart-(Q.w_size-M):0,Fe=Q.window,Pe=Q.w_mask,Ne=Q.prev,ht=Q.strstart+P,Rt=Fe[ce+Re-1],Lt=Fe[ce+Re];Q.prev_length>=Q.good_match&&(ie>>=2),Ee>Q.lookahead&&(Ee=Q.lookahead);do if(Fe[(De=be)+Re]===Lt&&Fe[De+Re-1]===Rt&&Fe[De]===Fe[ce]&&Fe[++De]===Fe[ce+1]){ce+=2,De++;do;while(Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&Fe[++ce]===Fe[++De]&&ceLe&&--ie!=0);return Re<=Q.lookahead?Re:Q.lookahead}function te(Q){var be,De,pe,ie,ce,Re,Ee,Le,Fe,Pe,Ne=Q.w_size;do{if(ie=Q.window_size-Q.lookahead-Q.strstart,Q.strstart>=Ne+(Ne-M)){for(a.arraySet(Q.window,Q.window,Ne,Ne,0),Q.match_start-=Ne,Q.strstart-=Ne,Q.block_start-=Ne,be=De=Q.hash_size;pe=Q.head[--be],Q.head[be]=Ne<=pe?pe-Ne:0,--De;);for(be=De=Ne;pe=Q.prev[--be],Q.prev[be]=Ne<=pe?pe-Ne:0,--De;);ie+=Ne}if(Q.strm.avail_in===0)break;if(Re=Q.strm,Ee=Q.window,Le=Q.strstart+Q.lookahead,Fe=ie,Pe=void 0,Pe=Re.avail_in,Fe=I)for(ce=Q.strstart-Q.insert,Q.ins_h=Q.window[ce],Q.ins_h=(Q.ins_h<=I&&(Q.ins_h=(Q.ins_h<=I)if(pe=s._tr_tally(Q,Q.strstart-Q.match_start,Q.match_length-I),Q.lookahead-=Q.match_length,Q.match_length<=Q.max_lazy_match&&Q.lookahead>=I){for(Q.match_length--;Q.strstart++,Q.ins_h=(Q.ins_h<=I&&(Q.ins_h=(Q.ins_h<=I&&Q.match_length<=Q.prev_length){for(ie=Q.strstart+Q.lookahead-I,pe=s._tr_tally(Q,Q.strstart-1-Q.prev_match,Q.prev_length-I),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&&be===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,U(Q,!1),Q.strm.avail_out===0)||Q.strstart-Q.block_start>=Q.w_size-M&&(U(Q,!1),Q.strm.avail_out===0))return N}return Q.insert=0,be===f?(U(Q,!0),Q.strm.avail_out===0?L:j):(Q.strstart>Q.block_start&&(U(Q,!1),Q.strm.avail_out),N)}),new me(4,4,8,4,X),new me(4,5,16,8,X),new me(4,6,32,32,X),new me(4,4,16,16,ue),new me(8,16,32,32,ue),new me(8,16,128,128,ue),new me(8,32,128,256,ue),new me(32,128,258,1024,ue),new me(32,258,258,4096,ue)],o.deflateInit=function(Q,be){return _e(Q,be,m,15,8,0)},o.deflateInit2=_e,o.deflateReset=ge,o.deflateResetKeep=Ae,o.deflateSetHeader=function(Q,be){return Q&&Q.state?Q.state.wrap!==2?v:(Q.state.gzhead=be,p):v},o.deflate=function(Q,be){var De,pe,ie,ce;if(!Q||!Q.state||5>8&255),W(pe,pe.gzhead.time>>16&255),W(pe,pe.gzhead.time>>24&255),W(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),W(pe,255&pe.gzhead.os),pe.gzhead.extra&&pe.gzhead.extra.length&&(W(pe,255&pe.gzhead.extra.length),W(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):(W(pe,0),W(pe,0),W(pe,0),W(pe,0),W(pe,0),W(pe,pe.level===9?2:2<=pe.strategy||pe.level<2?4:0),W(pe,3),pe.status=R);else{var Re=m+(pe.w_bits-8<<4)<<8;Re|=(2<=pe.strategy||pe.level<2?0:pe.level<6?1:pe.level===6?2:3)<<6,pe.strstart!==0&&(Re|=32),Re+=31-Re%31,pe.status=R,re(pe,Re),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)),z(Q),ie=pe.pending,pe.pending!==pe.pending_buf_size));)W(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)),z(Q),ie=pe.pending,pe.pending===pe.pending_buf_size)){ce=1;break}ce=pe.gzindexie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),ce===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)),z(Q),ie=pe.pending,pe.pending===pe.pending_buf_size)){ce=1;break}ce=pe.gzindexie&&(Q.adler=u(Q.adler,pe.pending_buf,pe.pending-ie,ie)),ce===0&&(pe.status=103)}else pe.status=103;if(pe.status===103&&(pe.gzhead.hcrc?(pe.pending+2>pe.pending_buf_size&&z(Q),pe.pending+2<=pe.pending_buf_size&&(W(pe,255&Q.adler),W(pe,Q.adler>>8&255),Q.adler=0,pe.status=R)):pe.status=R),pe.pending!==0){if(z(Q),Q.avail_out===0)return pe.last_flush=-1,p}else if(Q.avail_in===0&&G(be)<=G(De)&&be!==f)return H(Q,-5);if(pe.status===666&&Q.avail_in!==0)return H(Q,-5);if(Q.avail_in!==0||pe.lookahead!==0||be!==c&&pe.status!==666){var Ee=pe.strategy===2?(function(Le,Fe){for(var Pe;;){if(Le.lookahead===0&&(te(Le),Le.lookahead===0)){if(Fe===c)return N;break}if(Le.match_length=0,Pe=s._tr_tally(Le,0,Le.window[Le.strstart]),Le.lookahead--,Le.strstart++,Pe&&(U(Le,!1),Le.strm.avail_out===0))return N}return Le.insert=0,Fe===f?(U(Le,!0),Le.strm.avail_out===0?L:j):Le.last_lit&&(U(Le,!1),Le.strm.avail_out===0)?N:V})(pe,be):pe.strategy===3?(function(Le,Fe){for(var Pe,Ne,ht,Rt,Lt=Le.window;;){if(Le.lookahead<=P){if(te(Le),Le.lookahead<=P&&Fe===c)return N;if(Le.lookahead===0)break}if(Le.match_length=0,Le.lookahead>=I&&0Le.lookahead&&(Le.match_length=Le.lookahead)}if(Le.match_length>=I?(Pe=s._tr_tally(Le,1,Le.match_length-I),Le.lookahead-=Le.match_length,Le.strstart+=Le.match_length,Le.match_length=0):(Pe=s._tr_tally(Le,0,Le.window[Le.strstart]),Le.lookahead--,Le.strstart++),Pe&&(U(Le,!1),Le.strm.avail_out===0))return N}return Le.insert=0,Fe===f?(U(Le,!0),Le.strm.avail_out===0?L:j):Le.last_lit&&(U(Le,!1),Le.strm.avail_out===0)?N:V})(pe,be):i[pe.level].func(pe,be);if(Ee!==L&&Ee!==j||(pe.status=666),Ee===N||Ee===L)return Q.avail_out===0&&(pe.last_flush=-1),p;if(Ee===V&&(be===1?s._tr_align(pe):be!==5&&(s._tr_stored_block(pe,0,0,!1),be===3&&(Z(pe.head),pe.lookahead===0&&(pe.strstart=0,pe.block_start=0,pe.insert=0))),z(Q),Q.avail_out===0))return pe.last_flush=-1,p}return be!==f?p:pe.wrap<=0?1:(pe.wrap===2?(W(pe,255&Q.adler),W(pe,Q.adler>>8&255),W(pe,Q.adler>>16&255),W(pe,Q.adler>>24&255),W(pe,255&Q.total_in),W(pe,Q.total_in>>8&255),W(pe,Q.total_in>>16&255),W(pe,Q.total_in>>24&255)):(re(pe,Q.adler>>>16),re(pe,65535&Q.adler)),z(Q),0=De.w_size&&(ce===0&&(Z(De.head),De.strstart=0,De.block_start=0,De.insert=0),Fe=new a.Buf8(De.w_size),a.arraySet(Fe,be,Pe-De.w_size,De.w_size,0),be=Fe,Pe=De.w_size),Re=Q.avail_in,Ee=Q.next_in,Le=Q.input,Q.avail_in=Pe,Q.next_in=0,Q.input=be,te(De);De.lookahead>=I;){for(pe=De.strstart,ie=De.lookahead-(I-1);De.ins_h=(De.ins_h<>>=I=O>>>24,b-=I,(I=O>>>16&255)===0)V[d++]=65535&O;else{if(!(16&I)){if((64&I)==0){O=w[(65535&O)+(m&(1<>>=I,b-=I),b<15&&(m+=N[l++]<>>=I=O>>>24,b-=I,!(16&(I=O>>>16&255))){if((64&I)==0){O=A[(65535&O)+(m&(1<>>=I,b-=I,(I=d-c)>3,m&=(1<<(b-=P<<3))-1,i.next_in=l,i.next_out=d,i.avail_in=l>>24&255)+(_>>>8&65280)+((65280&_)<<8)+((255&_)<<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(_){var R;return _&&_.state?(R=_.state,_.total_in=_.total_out=R.total=0,_.msg="",R.wrap&&(_.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(_){var R;return _&&_.state?((R=_.state).wsize=0,R.whave=0,R.wnext=0,b(_)):p}function A(_,R){var N,V;return _&&_.state?(V=_.state,R<0?(N=0,R=-R):(N=1+(R>>4),R<48&&(R&=15)),R&&(R<8||15=j.wsize?(i.arraySet(j.window,R,N-j.wsize,j.wsize,0),j.wnext=0,j.whave=j.wsize):(V<(L=j.wsize-j.wnext)&&(L=V),i.arraySet(j.window,R,N-V,L,j.wnext),(V-=L)?(i.arraySet(j.window,R,N-V,V,0),j.wnext=V,j.whave=j.wsize):(j.wnext+=L,j.wnext===j.wsize&&(j.wnext=0),j.whave>>8&255,N.check=s(N.check,ce,2,0),U=z=0,N.mode=2;break}if(N.flags=0,N.head&&(N.head.done=!1),!(1&N.wrap)||(((255&z)<<8)+(z>>8))%31){_.msg="incorrect header check",N.mode=30;break}if((15&z)!=8){_.msg="unknown compression method",N.mode=30;break}if(U-=4,Q=8+(15&(z>>>=4)),N.wbits===0)N.wbits=Q;else if(Q>N.wbits){_.msg="invalid window size",N.mode=30;break}N.dmax=1<>8&1),512&N.flags&&(ce[0]=255&z,ce[1]=z>>>8&255,N.check=s(N.check,ce,2,0)),U=z=0,N.mode=3;case 3:for(;U<32;){if(G===0)break e;G--,z+=V[j++]<>>8&255,ce[2]=z>>>16&255,ce[3]=z>>>24&255,N.check=s(N.check,ce,4,0)),U=z=0,N.mode=4;case 4:for(;U<16;){if(G===0)break e;G--,z+=V[j++]<>8),512&N.flags&&(ce[0]=255&z,ce[1]=z>>>8&255,N.check=s(N.check,ce,2,0)),U=z=0,N.mode=5;case 5:if(1024&N.flags){for(;U<16;){if(G===0)break e;G--,z+=V[j++]<>>8&255,N.check=s(N.check,ce,2,0)),U=z=0}else N.head&&(N.head.extra=null);N.mode=6;case 6:if(1024&N.flags&&(G<(J=N.length)&&(J=G),J&&(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,V,j,J,Q)),512&N.flags&&(N.check=s(N.check,V,J,j)),G-=J,j+=J,N.length-=J),N.length))break e;N.length=0,N.mode=7;case 7:if(2048&N.flags){if(G===0)break e;for(J=0;Q=V[j+J++],N.head&&Q&&N.length<65536&&(N.head.name+=String.fromCharCode(Q)),Q&&J>9&1,N.head.done=!0),_.adler=N.check=0,N.mode=12;break;case 10:for(;U<32;){if(G===0)break e;G--,z+=V[j++]<>>=7&U,U-=7&U,N.mode=27;break}for(;U<3;){if(G===0)break e;G--,z+=V[j++]<>>=1)){case 0:N.mode=14;break;case 1:if(P(N),N.mode=20,R!==6)break;z>>>=2,U-=2;break e;case 2:N.mode=17;break;case 3:_.msg="invalid block type",N.mode=30}z>>>=2,U-=2;break;case 14:for(z>>>=7&U,U-=7&U;U<32;){if(G===0)break e;G--,z+=V[j++]<>>16^65535)){_.msg="invalid stored block lengths",N.mode=30;break}if(N.length=65535&z,U=z=0,N.mode=15,R===6)break e;case 15:N.mode=16;case 16:if(J=N.length){if(G>>=5,U-=5,N.ndist=1+(31&z),z>>>=5,U-=5,N.ncode=4+(15&z),z>>>=4,U-=4,286>>=3,U-=3}for(;N.have<19;)N.lens[Re[N.have++]]=0;if(N.lencode=N.lendyn,N.lenbits=7,De={bits:N.lenbits},be=u(0,N.lens,0,19,N.lencode,0,N.work,De),N.lenbits=De.bits,be){_.msg="invalid code lengths set",N.mode=30;break}N.have=0,N.mode=19;case 19:for(;N.have>>16&255,Me=65535&ie,!((ue=ie>>>24)<=U);){if(G===0)break e;G--,z+=V[j++]<>>=ue,U-=ue,N.lens[N.have++]=Me;else{if(Me===16){for(pe=ue+2;U>>=ue,U-=ue,N.have===0){_.msg="invalid bit length repeat",N.mode=30;break}Q=N.lens[N.have-1],J=3+(3&z),z>>>=2,U-=2}else if(Me===17){for(pe=ue+3;U>>=ue)),z>>>=3,U-=3}else{for(pe=ue+7;U>>=ue)),z>>>=7,U-=7}if(N.have+J>N.nlen+N.ndist){_.msg="invalid bit length repeat",N.mode=30;break}for(;J--;)N.lens[N.have++]=Q}}if(N.mode===30)break;if(N.lens[256]===0){_.msg="invalid code -- missing end-of-block",N.mode=30;break}if(N.lenbits=9,De={bits:N.lenbits},be=u(d,N.lens,0,N.nlen,N.lencode,0,N.work,De),N.lenbits=De.bits,be){_.msg="invalid literal/lengths set",N.mode=30;break}if(N.distbits=6,N.distcode=N.distdyn,De={bits:N.distbits},be=u(c,N.lens,N.nlen,N.ndist,N.distcode,0,N.work,De),N.distbits=De.bits,be){_.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<=G&&258<=Z){_.next_out=H,_.avail_out=Z,_.next_in=j,_.avail_in=G,N.hold=z,N.bits=U,l(_,re),H=_.next_out,L=_.output,Z=_.avail_out,j=_.next_in,V=_.input,G=_.avail_in,z=N.hold,U=N.bits,N.mode===12&&(N.back=-1);break}for(N.back=0;me=(ie=N.lencode[z&(1<>>16&255,Me=65535&ie,!((ue=ie>>>24)<=U);){if(G===0)break e;G--,z+=V[j++]<>Ae)])>>>16&255,Me=65535&ie,!(Ae+(ue=ie>>>24)<=U);){if(G===0)break e;G--,z+=V[j++]<>>=Ae,U-=Ae,N.back+=Ae}if(z>>>=ue,U-=ue,N.back+=ue,N.length=Me,me===0){N.mode=26;break}if(32&me){N.back=-1,N.mode=12;break}if(64&me){_.msg="invalid literal/length code",N.mode=30;break}N.extra=15&me,N.mode=22;case 22:if(N.extra){for(pe=N.extra;U>>=N.extra,U-=N.extra,N.back+=N.extra}N.was=N.length,N.mode=23;case 23:for(;me=(ie=N.distcode[z&(1<>>16&255,Me=65535&ie,!((ue=ie>>>24)<=U);){if(G===0)break e;G--,z+=V[j++]<>Ae)])>>>16&255,Me=65535&ie,!(Ae+(ue=ie>>>24)<=U);){if(G===0)break e;G--,z+=V[j++]<>>=Ae,U-=Ae,N.back+=Ae}if(z>>>=ue,U-=ue,N.back+=ue,64&me){_.msg="invalid distance code",N.mode=30;break}N.offset=Me,N.extra=15&me,N.mode=24;case 24:if(N.extra){for(pe=N.extra;U>>=N.extra,U-=N.extra,N.back+=N.extra}if(N.offset>N.dmax){_.msg="invalid distance too far back",N.mode=30;break}N.mode=25;case 25:if(Z===0)break e;if(J=re-Z,N.offset>J){if((J=N.offset-J)>N.whave&&N.sane){_.msg="invalid distance too far back",N.mode=30;break}te=J>N.wnext?(J-=N.wnext,N.wsize-J):N.wnext-J,J>N.length&&(J=N.length),X=N.window}else X=L,te=H-N.offset,J=N.length;for(Zk?(I=te[X+g[R]],U[W+g[R]]):(I=96,0),m=1<<_-H,N=b=1<>H)+(b-=m)]=O<<24|I<<16|P|0,b!==0;);for(m=1<<_-1;z&m;)m>>=1;if(m!==0?(z&=m-1,z+=m):z=0,R++,--re[_]==0){if(_===V)break;_=c[f+g[R]]}if(L<_&&(z&A)!==w){for(H===0&&(H=L),S+=N,G=1<<(j=_-H);j+H>>7)]}function W(ie,ce){ie.pending_buf[ie.pending++]=255&ce,ie.pending_buf[ie.pending++]=ce>>>8&255}function re(ie,ce,Re){ie.bi_valid>y-Re?(ie.bi_buf|=ce<>y-ie.bi_valid,ie.bi_valid+=Re-y):(ie.bi_buf|=ce<>>=1,Re<<=1,0<--ce;);return Re>>>1}function X(ie,ce,Re){var Ee,Le,Fe=new Array(g+1),Pe=0;for(Ee=1;Ee<=g;Ee++)Fe[Ee]=Pe=Pe+Re[Ee-1]<<1;for(Le=0;Le<=ce;Le++){var Ne=ie[2*Le+1];Ne!==0&&(ie[2*Le]=te(Fe[Ne]++,Ne))}}function ue(ie){var ce;for(ce=0;ce>1;1<=Re;Re--)Ae(ie,Fe,Re);for(Le=ht;Re=ie.heap[1],ie.heap[1]=ie.heap[ie.heap_len--],Ae(ie,Fe,1),Ee=ie.heap[1],ie.heap[--ie.heap_max]=Re,ie.heap[--ie.heap_max]=Ee,Fe[2*Le]=Fe[2*Re]+Fe[2*Ee],ie.depth[Le]=(ie.depth[Re]>=ie.depth[Ee]?ie.depth[Re]:ie.depth[Ee])+1,Fe[2*Re+1]=Fe[2*Ee+1]=Le,ie.heap[1]=Le++,Ae(ie,Fe,1),2<=ie.heap_len;);ie.heap[--ie.heap_max]=ie.heap[1],(function(Lt,tn){var Wt,zt,dt,_t,ut,rt,he=tn.dyn_tree,Je=tn.max_code,ct=tn.stat_desc.static_tree,Ot=tn.stat_desc.has_stree,Tn=tn.stat_desc.extra_bits,In=tn.stat_desc.extra_base,je=tn.stat_desc.max_length,ke=0;for(_t=0;_t<=g;_t++)Lt.bl_count[_t]=0;for(he[2*Lt.heap[Lt.heap_max]+1]=0,Wt=Lt.heap_max+1;Wt>=7;Le>>=1)if(1&Rt&&Ne.dyn_ltree[2*ht]!==0)return a;if(Ne.dyn_ltree[18]!==0||Ne.dyn_ltree[20]!==0||Ne.dyn_ltree[26]!==0)return s;for(ht=32;ht>>3,(Fe=ie.static_len+3+7>>>3)<=Le&&(Le=Fe)):Le=Fe=Re+5,Re+4<=Le&&ce!==-1?pe(ie,ce,Re,Ee):ie.strategy===4||Fe===Le?(re(ie,2+(Ee?1:0),3),ge(ie,M,_)):(re(ie,4+(Ee?1:0),3),(function(Ne,ht,Rt,Lt){var tn;for(re(Ne,ht-257,5),re(Ne,Rt-1,5),re(Ne,Lt-4,4),tn=0;tn>>8&255,ie.pending_buf[ie.d_buf+2*ie.last_lit+1]=255&ce,ie.pending_buf[ie.l_buf+ie.last_lit]=255&Re,ie.last_lit++,ce===0?ie.dyn_ltree[2*Re]++:(ie.matches++,ce--,ie.dyn_ltree[2*(N[Re]+c+1)]++,ie.dyn_dtree[2*U(ce)]++),ie.last_lit===ie.lit_bufsize-1},o._tr_align=function(ie){re(ie,2,3),J(ie,b,M),(function(ce){ce.bi_valid===16?(W(ce,ce.bi_buf),ce.bi_buf=0,ce.bi_valid=0):8<=ce.bi_valid&&(ce.pending_buf[ce.pending++]=255&ce.bi_buf,ce.bi_buf>>=8,ce.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 zs<"u"?zs:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(vO)),vO.exports}var Qte;function R4e(){if(Qte)return M2;Qte=1;var e=zut(),t=$ut();M2.openArrayBuffer=n,M2.splitPath=r,M2.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 M2}var Nx={},Op={},Fm={},Zte;function B4e(){if(Zte)return Fm;Zte=1;var e=Ia;Fm.Element=n,Fm.element=function(i,a,s){return new n(i,a,s)},Fm.text=function(i){return{type:"text",value:i}};var t=Fm.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 Fm}var mO={},Rx={},N2={},uf={},q0={},Xte;function MD(){if(Xte)return q0;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&&je=0){for(var ot=ke.length-1;Be0},lookupPrefix:function(je){for(var ke=this;ke;){var ye=ke._nsMap;if(ye){for(var Be in ye)if(Object.prototype.hasOwnProperty.call(ye,Be)&&ye[Be]===je)return Be}ke=ke.nodeType==f?ke.ownerDocument:ke.parentNode}return null},lookupNamespaceURI:function(je){for(var ke=this;ke;){var ye=ke._nsMap;if(ye&&Object.prototype.hasOwnProperty.call(ye,je))return ye[je];ke=ke.nodeType==f?ke.ownerDocument:ke.parentNode}return null},isDefaultNamespace:function(je){var ke=this.lookupPrefix(je);return ke==null}};function U(je){return je=="<"&&"<"||je==">"&&">"||je=="&"&&"&"||je=='"'&&"""||"&#"+je.charCodeAt()+";"}l(d,z),l(d,z.prototype);function W(je,ke){if(ke(je))return!0;if(je=je.firstChild)do if(W(je,ke))return!0;while(je=je.nextSibling)}function re(){this.ownerDocument=this}function J(je,ke,ye){je&&je._inc++;var Be=ye.namespaceURI;Be===n.XMLNS&&(ke._nsMap[ye.prefix?ye.localName:""]=ye.value)}function te(je,ke,ye,Be){je&&je._inc++;var ot=ye.namespaceURI;ot===n.XMLNS&&delete ke._nsMap[ye.prefix?ye.localName:""]}function X(je,ke,ye){if(je&&je._inc){je._inc++;var Be=ke.childNodes;if(ye)Be[Be.length++]=ye;else{for(var ot=ke.firstChild,gt=0;ot;)Be[gt++]=ot,ot=ot.nextSibling;Be.length=gt,delete Be[Be.length]}}}function ue(je,ke){var ye=ke.previousSibling,Be=ke.nextSibling;return ye?ye.nextSibling=Be:je.firstChild=Be,Be?Be.previousSibling=ye:je.lastChild=ye,ke.parentNode=null,ke.previousSibling=null,ke.nextSibling=null,X(je.ownerDocument,je),ke}function me(je){return je&&(je.nodeType===z.DOCUMENT_NODE||je.nodeType===z.DOCUMENT_FRAGMENT_NODE||je.nodeType===z.ELEMENT_NODE)}function Me(je){return je&&(ge(je)||_e(je)||Ae(je)||je.nodeType===z.DOCUMENT_FRAGMENT_NODE||je.nodeType===z.COMMENT_NODE||je.nodeType===z.PROCESSING_INSTRUCTION_NODE)}function Ae(je){return je&&je.nodeType===z.DOCUMENT_TYPE_NODE}function ge(je){return je&&je.nodeType===z.ELEMENT_NODE}function _e(je){return je&&je.nodeType===z.TEXT_NODE}function Q(je,ke){var ye=je.childNodes||[];if(t(ye,ge)||Ae(ke))return!1;var Be=t(ye,Ae);return!(ke&&Be&&ye.indexOf(Be)>ye.indexOf(ke))}function be(je,ke){var ye=je.childNodes||[];function Be(gt){return ge(gt)&>!==ke}if(t(ye,Be))return!1;var ot=t(ye,Ae);return!(ke&&ot&&ye.indexOf(ot)>ye.indexOf(ke))}function De(je,ke,ye){if(!me(je))throw new _(I,"Unexpected parent node type "+je.nodeType);if(ye&&ye.parentNode!==je)throw new _(P,"child not in parent");if(!Me(ke)||Ae(ke)&&je.nodeType!==z.DOCUMENT_NODE)throw new _(I,"Unexpected node type "+ke.nodeType+" for parent node type "+je.nodeType)}function pe(je,ke,ye){var Be=je.childNodes||[],ot=ke.childNodes||[];if(ke.nodeType===z.DOCUMENT_FRAGMENT_NODE){var gt=ot.filter(ge);if(gt.length>1||t(ot,_e))throw new _(I,"More than one element or text in fragment");if(gt.length===1&&!Q(je,ye))throw new _(I,"Element in fragment can not be inserted before doctype")}if(ge(ke)&&!Q(je,ye))throw new _(I,"Only one element can be added and only after doctype");if(Ae(ke)){if(t(Be,Ae))throw new _(I,"Only one doctype is allowed");var Ke=t(Be,ge);if(ye&&Be.indexOf(Ke)1||t(ot,_e))throw new _(I,"More than one element or text in fragment");if(gt.length===1&&!be(je,ye))throw new _(I,"Element in fragment can not be inserted before doctype")}if(ge(ke)&&!be(je,ye))throw new _(I,"Only one element can be added and only after doctype");if(Ae(ke)){if(t(Be,function(at){return Ae(at)&&at!==ye}))throw new _(I,"Only one doctype is allowed");var Ke=t(Be,ge);if(ye&&Be.indexOf(Ke)0&&W(ye.documentElement,function(ot){if(ot!==ye&&ot.nodeType===c){var gt=ot.getAttribute("class");if(gt){var Ke=je===gt;if(!Ke){var He=a(gt);Ke=ke.every(s(He))}Ke&&Be.push(ot)}}}),Be})},createElement:function(je){var ke=new Le;ke.ownerDocument=this,ke.nodeName=je,ke.tagName=je,ke.localName=je,ke.childNodes=new R;var ye=ke.attributes=new L;return ye._ownerElement=ke,ke},createDocumentFragment:function(){var je=new dt;return je.ownerDocument=this,je.childNodes=new R,je},createTextNode:function(je){var ke=new Ne;return ke.ownerDocument=this,ke.appendData(je),ke},createComment:function(je){var ke=new ht;return ke.ownerDocument=this,ke.appendData(je),ke},createCDATASection:function(je){var ke=new Rt;return ke.ownerDocument=this,ke.appendData(je),ke},createProcessingInstruction:function(je,ke){var ye=new _t;return ye.ownerDocument=this,ye.tagName=ye.nodeName=ye.target=je,ye.nodeValue=ye.data=ke,ye},createAttribute:function(je){var ke=new Fe;return ke.ownerDocument=this,ke.name=je,ke.nodeName=je,ke.localName=je,ke.specified=!0,ke},createEntityReference:function(je){var ke=new zt;return ke.ownerDocument=this,ke.nodeName=je,ke},createElementNS:function(je,ke){var ye=new Le,Be=ke.split(":"),ot=ye.attributes=new L;return ye.childNodes=new R,ye.ownerDocument=this,ye.nodeName=ke,ye.tagName=ke,ye.namespaceURI=je,Be.length==2?(ye.prefix=Be[0],ye.localName=Be[1]):ye.localName=ke,ot._ownerElement=ye,ye},createAttributeNS:function(je,ke){var ye=new Fe,Be=ke.split(":");return ye.ownerDocument=this,ye.nodeName=ke,ye.name=ke,ye.namespaceURI=je,ye.specified=!0,Be.length==2?(ye.prefix=Be[0],ye.localName=Be[1]):ye.localName=ke,ye}},u(re,z);function Le(){this._nsMap={}}Le.prototype={nodeType:c,hasAttribute:function(je){return this.getAttributeNode(je)!=null},getAttribute:function(je){var ke=this.getAttributeNode(je);return ke&&ke.value||""},getAttributeNode:function(je){return this.attributes.getNamedItem(je)},setAttribute:function(je,ke){var ye=this.ownerDocument.createAttribute(je);ye.value=ye.nodeValue=""+ke,this.setAttributeNode(ye)},removeAttribute:function(je){var ke=this.getAttributeNode(je);ke&&this.removeAttributeNode(ke)},appendChild:function(je){return je.nodeType===A?this.insertBefore(je,null):Ee(this,je)},setAttributeNode:function(je){return this.attributes.setNamedItem(je)},setAttributeNodeNS:function(je){return this.attributes.setNamedItemNS(je)},removeAttributeNode:function(je){return this.attributes.removeNamedItem(je.nodeName)},removeAttributeNS:function(je,ke){var ye=this.getAttributeNodeNS(je,ke);ye&&this.removeAttributeNode(ye)},hasAttributeNS:function(je,ke){return this.getAttributeNodeNS(je,ke)!=null},getAttributeNS:function(je,ke){var ye=this.getAttributeNodeNS(je,ke);return ye&&ye.value||""},setAttributeNS:function(je,ke,ye){var Be=this.ownerDocument.createAttributeNS(je,ke);Be.value=Be.nodeValue=""+ye,this.setAttributeNode(Be)},getAttributeNodeNS:function(je,ke){return this.attributes.getNamedItemNS(je,ke)},getElementsByTagName:function(je){return new N(this,function(ke){var ye=[];return W(ke,function(Be){Be!==ke&&Be.nodeType==c&&(je==="*"||Be.tagName==je)&&ye.push(Be)}),ye})},getElementsByTagNameNS:function(je,ke){return new N(this,function(ye){var Be=[];return W(ye,function(ot){ot!==ye&&ot.nodeType===c&&(je==="*"||ot.namespaceURI===je)&&(ke==="*"||ot.localName==ke)&&Be.push(ot)}),Be})}},re.prototype.getElementsByTagName=Le.prototype.getElementsByTagName,re.prototype.getElementsByTagNameNS=Le.prototype.getElementsByTagNameNS,u(Le,z);function Fe(){}Fe.prototype.nodeType=f,u(Fe,z);function Pe(){}Pe.prototype={data:"",substringData:function(je,ke){return this.data.substring(je,je+ke)},appendData:function(je){je=this.data+je,this.nodeValue=this.data=je,this.length=je.length},insertData:function(je,ke){this.replaceData(je,0,ke)},appendChild:function(je){throw new Error(O[I])},deleteData:function(je,ke){this.replaceData(je,ke,"")},replaceData:function(je,ke,ye){var Be=this.data.substring(0,je),ot=this.data.substring(je+ke);ye=Be+ye+ot,this.nodeValue=this.data=ye,this.length=ye.length}},u(Pe,z);function Ne(){}Ne.prototype={nodeName:"#text",nodeType:p,splitText:function(je){var ke=this.data,ye=ke.substring(je);ke=ke.substring(0,je),this.data=this.nodeValue=ke,this.length=ke.length;var Be=this.ownerDocument.createTextNode(ye);return this.parentNode&&this.parentNode.insertBefore(Be,this.nextSibling),Be}},u(Ne,Pe);function ht(){}ht.prototype={nodeName:"#comment",nodeType:m},u(ht,Pe);function Rt(){}Rt.prototype={nodeName:"#cdata-section",nodeType:v},u(Rt,Pe);function Lt(){}Lt.prototype.nodeType=w,u(Lt,z);function tn(){}tn.prototype.nodeType=S,u(tn,z);function Wt(){}Wt.prototype.nodeType=g,u(Wt,z);function zt(){}zt.prototype.nodeType=h,u(zt,z);function dt(){}dt.prototype.nodeName="#document-fragment",dt.prototype.nodeType=A,u(dt,z);function _t(){}_t.prototype.nodeType=y,u(_t,z);function ut(){}ut.prototype.serializeToString=function(je,ke,ye){return rt.call(je,ke,ye)},z.prototype.toString=rt;function rt(je,ke){var ye=[],Be=this.nodeType==9&&this.documentElement||this,ot=Be.prefix,gt=Be.namespaceURI;if(gt&&ot==null){var ot=Be.lookupPrefix(gt);if(ot==null)var Ke=[{namespace:gt,prefix:null}]}return ct(this,ye,je,ke,Ke),ye.join("")}function he(je,ke,ye){var Be=je.prefix||"",ot=je.namespaceURI;if(!ot||Be==="xml"&&ot===n.XML||ot===n.XMLNS)return!1;for(var gt=ye.length;gt--;){var Ke=ye[gt];if(Ke.prefix===Be)return Ke.namespace!==ot}return!0}function Je(je,ke,ye){je.push(" ",ke,'="',ye.replace(/[<>&"\t\n\r]/g,U),'"')}function ct(je,ke,ye,Be,ot){if(ot||(ot=[]),Be)if(je=Be(je),je){if(typeof je=="string"){ke.push(je);return}}else return;switch(je.nodeType){case c:var gt=je.attributes,Ke=gt.length,xt=je.firstChild,He=je.tagName;ye=n.isHTML(je.namespaceURI)||ye;var at=He;if(!ye&&!je.prefix&&je.namespaceURI){for(var St,tt=0;tt=0;Qe--){var it=ot[Qe];if(it.prefix===""&&it.namespace===je.namespaceURI){St=it.namespace;break}}if(St!==je.namespaceURI)for(var Qe=ot.length-1;Qe>=0;Qe--){var it=ot[Qe];if(it.namespace===je.namespaceURI){it.prefix&&(at=it.prefix+":"+He);break}}}ke.push("<",at);for(var Mt=0;Mt"),ye&&/^script$/i.test(He))for(;xt;)xt.data?ke.push(xt.data):ct(xt,ke,ye,Be,ot.slice()),xt=xt.nextSibling;else for(;xt;)ct(xt,ke,ye,Be,ot.slice()),xt=xt.nextSibling;ke.push("")}else ke.push("/>");return;case b:case A:for(var xt=je.firstChild;xt;)ct(xt,ke,ye,Be,ot.slice()),xt=xt.nextSibling;return;case f:return Je(ke,je.name,je.value);case p:return ke.push(je.data.replace(/[<&>]/g,U));case v:return ke.push("");case m:return ke.push("");case w:var sn=je.publicId,vt=je.systemId;if(ke.push("");else if(vt&&vt!=".")ke.push(" SYSTEM ",vt,">");else{var Bt=je.internalSubset;Bt&&ke.push(" [",Bt,"]"),ke.push(">")}return;case y:return ke.push("");case h:return ke.push("&",je.nodeName,";");default:ke.push("??",je.nodeName)}}function Ot(je,ke,ye){var Be;switch(ke.nodeType){case c:Be=ke.cloneNode(!1),Be.ownerDocument=je;case A:break;case f:ye=!0;break}if(Be||(Be=ke.cloneNode(!1)),Be.ownerDocument=je,Be.parentNode=null,ye)for(var ot=ke.firstChild;ot;)Be.appendChild(Ot(je,ot,ye)),ot=ot.nextSibling;return Be}function Tn(je,ke,ye){var Be=new ke.constructor;for(var ot in ke)if(Object.prototype.hasOwnProperty.call(ke,ot)){var gt=ke[ot];typeof gt!="object"&>!=Be[ot]&&(Be[ot]=gt)}switch(ke.childNodes&&(Be.childNodes=new R),Be.ownerDocument=je,Be.nodeType){case c:var Ke=ke.attributes,He=Be.attributes=new L,at=Ke.length;He._ownerElement=Be;for(var St=0;St",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 Bx={},tne;function Hut(){if(tne)return Bx;tne=1;var e=MD().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(I,P){this.message=I,this.locator=P,Error.captureStackTrace&&Error.captureStackTrace(this,f)}f.prototype=new Error,f.prototype.name=f.name;function p(){}p.prototype={parse:function(I,P,M){var _=this.domBuilder;_.startDocument(),w(P,P={}),v(I,P,M,_,this.errorHandler),_.endDocument()}};function v(I,P,M,_,R){function N(Ee){if(Ee>65535){Ee-=65536;var Le=55296+(Ee>>10),Fe=56320+(Ee&1023);return String.fromCharCode(Le,Fe)}else return String.fromCharCode(Ee)}function V(Ee){var Le=Ee.slice(1,-1);return Object.hasOwnProperty.call(M,Le)?M[Le]:Le.charAt(0)==="#"?N(parseInt(Le.substr(1).replace("x","0x"))):(R.error("entity not found:"+Ee),Ee)}function L(Ee){if(Ee>re){var Le=I.substring(re,Ee).replace(/&#?\w+;/g,V);z&&j(re),_.characters(Le,0,Ee-re),re=Ee}}function j(Ee,Le){for(;Ee>=G&&(Le=Z.exec(I));)H=Le.index,G=H+Le[0].length,z.lineNumber++;z.columnNumber=Ee-H+1}for(var H=0,G=0,Z=/.*(?:\r\n?|\n)|.*$/g,z=_.locator,U=[{currentNSMap:P}],W={},re=0;;){try{var J=I.indexOf("<",re);if(J<0){if(!I.substr(re).match(/^\s*$/)){var te=_.doc,X=te.createTextNode(I.substr(re));te.appendChild(X),_.currentElement=X}return}switch(J>re&&L(J),I.charAt(J+1)){case"/":var De=I.indexOf(">",J+3),ue=I.substring(J+2,De).replace(/[ \t\n\r]+$/g,""),me=U.pop();De<0?(ue=I.substring(J+2).replace(/[\s<].*/,""),R.error("end tag name: "+ue+" is not complete:"+me.tagName),De=J+1+ue.length):ue.match(/\sre?re=De:L(Math.max(J,re)+1)}}function h(I,P){return P.lineNumber=I.lineNumber,P.columnNumber=I.columnNumber,P}function g(I,P,M,_,R,N){function V(z,U,W){M.attributeNames.hasOwnProperty(z)&&N.fatalError("Attribute "+z+" redefined"),M.addValue(z,U.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,R),W)}for(var L,j,H=++P,G=o;;){var Z=I.charAt(H);switch(Z){case"=":if(G===i)L=I.slice(P,H),G=s;else if(G===a)G=s;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(G===s||G===i)if(G===i&&(N.warning('attribute value must after "="'),L=I.slice(P,H)),P=H+1,H=I.indexOf(Z,P),H>0)j=I.slice(P,H),V(L,j,P-1),G=u;else throw new Error("attribute value no end '"+Z+"' match");else if(G==l)j=I.slice(P,H),V(L,j,P),N.warning('attribute "'+L+'" missed start quot('+Z+")!!"),P=H+1,G=u;else throw new Error('attribute value must after "="');break;case"/":switch(G){case o:M.setTagName(I.slice(P,H));case u:case d:case c:G=c,M.closed=!0;case l:case i:break;case a:M.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return N.error("unexpected end of input"),G==o&&M.setTagName(I.slice(P,H)),H;case">":switch(G){case o:M.setTagName(I.slice(P,H));case u:case d:case c:break;case l:case i:j=I.slice(P,H),j.slice(-1)==="/"&&(M.closed=!0,j=j.slice(0,-1));case a:G===a&&(j=L),G==l?(N.warning('attribute "'+j+'" missed quot(")!'),V(L,j,P)):((!e.isHTML(_[""])||!j.match(/^(?:disabled|checked|selected)$/i))&&N.warning('attribute "'+j+'" missed value!! "'+j+'" instead!!'),V(j,j,P));break;case s:throw new Error("attribute value missed!!")}return H;case"€":Z=" ";default:if(Z<=" ")switch(G){case o:M.setTagName(I.slice(P,H)),G=d;break;case i:L=I.slice(P,H),G=a;break;case l:var j=I.slice(P,H);N.warning('attribute "'+j+'" missed quot(")!!'),V(L,j,P);case u:G=d;break}else switch(G){case a:M.tagName,(!e.isHTML(_[""])||!L.match(/^(?:disabled|checked|selected)$/i))&&N.warning('attribute "'+L+'" missed value!! "'+L+'" instead2!!'),V(L,L,P),P=H,G=i;break;case u:N.warning('attribute space is required"'+L+'"!!');case d:G=i,P=H;break;case s:G=l,P=H;break;case c:throw new Error("elements closed character '/' and '>' must be connected to")}}H++}}function y(I,P,M){for(var _=I.tagName,R=null,Z=I.length;Z--;){var N=I[Z],V=N.qName,L=N.value,z=V.indexOf(":");if(z>0)var j=N.prefix=V.slice(0,z),H=V.slice(z+1),G=j==="xmlns"&&H;else H=V,j=null,G=V==="xmlns"&&"";N.localName=H,G!==!1&&(R==null&&(R={},w(M,M={})),M[G]=R[G]=L,N.uri=e.XMLNS,P.startPrefixMapping(G,L))}for(var Z=I.length;Z--;){N=I[Z];var j=N.prefix;j&&(j==="xml"&&(N.uri=e.XML),j!=="xmlns"&&(N.uri=M[j||""]))}var z=_.indexOf(":");z>0?(j=I.prefix=_.slice(0,z),H=I.localName=_.slice(z+1)):(j=null,H=I.localName=_);var U=I.uri=M[j||""];if(P.startElement(U,H,_,I),I.closed){if(P.endElement(U,H,_),R)for(j in R)Object.prototype.hasOwnProperty.call(R,j)&&P.endPrefixMapping(j)}else return I.currentNSMap=M,I.localNSMap=R,!0}function m(I,P,M,_,R){if(/^(?:script|textarea)$/i.test(M)){var N=I.indexOf("",P),V=I.substring(P+1,N);if(/[&<]/.test(V))return/^script$/i.test(M)?(R.characters(V,0,V.length),N):(V=V.replace(/&#?\w+;/g,_),R.characters(V,0,V.length),N)}return P+1}function b(I,P,M,_){var R=_[M];return R==null&&(R=I.lastIndexOf(""),R",P+4);return N>P?(M.comment(I,P+4,N-P-4),N+3):(_.error("Unclosed comment"),-1)}else return-1;default:if(I.substr(P+3,6)=="CDATA["){var N=I.indexOf("]]>",P+9);return M.startCDATA(),M.characters(I,P+9,N-P-9),M.endCDATA(),N+3}var V=O(I,P),L=V.length;if(L>1&&/!doctype/i.test(V[0][0])){var j=V[1][0],H=!1,G=!1;L>3&&(/^public$/i.test(V[2][0])?(H=V[3][0],G=L>4&&V[4][0]):/^system$/i.test(V[2][0])&&(G=V[3][0]));var Z=V[L-1];return M.startDTD(j,H,G),M.endDTD(),Z.index+Z[0].length}}return-1}function S(I,P,M){var _=I.indexOf("?>",P);if(_){var R=I.substring(P,_).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return R?(R[0].length,M.processingInstruction(R[1],R[2]),_+2):-1}return-1}function k(){this.attributeNames={}}k.prototype={setTagName:function(I){if(!r.test(I))throw new Error("invalid tagName:"+I);this.tagName=I},addValue:function(I,P,M){if(!r.test(I))throw new Error("invalid attribute:"+I);this.attributeNames[I]=this.length,this[this.length++]={qName:I,value:P,offset:M}},length:0,getLocalName:function(I){return this[I].localName},getLocator:function(I){return this[I].locator},getQName:function(I){return this[I].qName},getURI:function(I){return this[I].uri},getValue:function(I){return this[I].value}};function O(I,P){var M,_=[],R=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(R.lastIndex=P,R.exec(I);M=R.exec(I);)if(_.push(M),M[1])return _}return Bx.XMLReader=p,Bx.ParseError=f,Bx}var nne;function Wut(){if(nne)return R2;nne=1;var e=MD(),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,k=m.xmlns||{},O=/\/x?html?$/.test(y),I=O?n.HTML_ENTITIES:n.XML_ENTITIES;S&&w.setDocumentLocator(S),b.errorHandler=d(A,w,S),b.domBuilder=m.domBuilder||w,O&&(k[""]=i.HTML),k.xml=k.xml||i.XML;var P=m.normalizeLineEndings||l;return g&&typeof g=="string"?b.parse(P(g),k,I):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 k=g[S];!k&&w&&(k=g.length==2?function(O){g(S,O)}:g),b[S]=k&&function(O){k("[xmldom "+S+"] "+O+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 k=0;k=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 R2.__DOMHandler=c,R2.normalizeLineEndings=l,R2.DOMParser=u,R2}var rne;function Vut(){if(rne)return N2;rne=1;var e=RV();return N2.DOMImplementation=e.DOMImplementation,N2.XMLSerializer=e.XMLSerializer,N2.DOMParser=Wut().DOMParser,N2}var one;function qut(){if(one)return Rx;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 Rx.parseFromString=n,Rx.Node=t.Node,Rx}var ine;function Gut(){if(ine)return mO;ine=1;var e=O0(),t=Ia,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={},G0={},nd={},ane;function M0(){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)),KS.exports}var Yut=GS.exports,lne;function PD(){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=M0(),o=i.isObject,r=i.isFunction,n=i.getValue,t=Vl(),e=L4e(),GS.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)),qS.exports}var s8={exports:{}},uct=s8.exports,Cne;function F4e(){return Cne||(Cne=1,(function(){var e=function(n,r){return function(){return n.apply(r,arguments)}},t={}.hasOwnProperty;s8.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)),u8.exports}var dct=l8.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=BD(),s=$D(),e=ND(),t=RD(),u=PD(),c=jD(),f=HD(),d=WD(),l=BV(),n=LD(),r=UD(),o=FD(),i=zD(),p=U4e(),l8.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,k;for(this.textispresent=!1,S="",k=m.children,w=0,A=k.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,k,O;if(b||(b=0),k=this.space(b),k+="0){for(k+=" [",k+=this.newline,O=m.children,A=0,S=O.length;A",k+=this.newline,k},y.prototype.element=function(m,b){var w,A,S,k,O,I,P,M,_,R,N,V,L;b||(b=0),L=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),V=this.space(b),M="",M+=V+"<"+m.name,_=m.attributes;for(P in _)h.call(_,P)&&(w=_[P],M+=this.attribute(w));if(m.children.length===0||m.children.every(function(j){return j.value===""}))this.allowEmpty?M+=">"+this.newline:M+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&m.children.length===1&&m.children[0].value!=null)M+=">",M+=m.children[0].value,M+=""+this.newline;else{if(this.dontprettytextnodes){for(R=m.children,S=0,O=R.length;S"+this.newline,N=m.children,k=0,I=N.length;k"+this.newline}return M},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,k;if(b||(b=0),m instanceof u){S=this.space(b)+"<"+m.name,k=m.attributes;for(A in k)h.call(k,A)&&(w=k[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)),l8.exports}var fct=VS.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=M0().isPlainObject,e=Vl(),n=F4e(),t=LV(),VS.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)),VS.exports}var c8={exports:{}},hct=c8.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=M0(),y=b.isObject,g=b.isFunction,m=b.isPlainObject,h=b.getValue,u=PD(),t=ND(),n=RD(),c=jD(),v=HD(),d=WD(),s=BD(),l=$D(),r=LD(),i=FD(),o=UD(),a=zD(),e=L4e(),p=F4e(),f=LV(),c8.exports=(function(){function A(S,k,O){var I;this.name="?xml",S||(S={}),S.writer?m(S.writer)&&(I=S.writer,S.writer=new f(I)):S.writer=new f(S),this.options=S,this.writer=S.writer,this.stringify=new p(S),this.onDataCallback=k||function(){},this.onEndCallback=O||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return A.prototype.node=function(S,k,O){var I,P;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),k===null&&O==null&&(I=[{},null],k=I[0],O=I[1]),k==null&&(k={}),k=h(k),y(k)||(P=[k,O],O=P[0],k=P[1]),this.currentNode=new u(this,S,k),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,O!=null&&this.text(O),this},A.prototype.element=function(S,k,O){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(S,k,O)},A.prototype.attribute=function(S,k){var O,I;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(O in S)w.call(S,O)&&(I=S[O],this.attribute(O,I));else g(k)&&(k=k.apply()),(!this.options.skipNullAttributes||k!=null)&&(this.currentNode.attributes[S]=new e(this,S,k));return this},A.prototype.text=function(S){var k;return this.openCurrent(),k=new v(this,S),this.onData(this.writer.text(k,this.currentLevel+1),this.currentLevel+1),this},A.prototype.cdata=function(S){var k;return this.openCurrent(),k=new t(this,S),this.onData(this.writer.cdata(k,this.currentLevel+1),this.currentLevel+1),this},A.prototype.comment=function(S){var k;return this.openCurrent(),k=new n(this,S),this.onData(this.writer.comment(k,this.currentLevel+1),this.currentLevel+1),this},A.prototype.raw=function(S){var k;return this.openCurrent(),k=new c(this,S),this.onData(this.writer.raw(k,this.currentLevel+1),this.currentLevel+1),this},A.prototype.instruction=function(S,k){var O,I,P,M,_;if(this.openCurrent(),S!=null&&(S=h(S)),k!=null&&(k=h(k)),Array.isArray(S))for(O=0,M=S.length;O=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,k){return this.documentStarted=!0,this.onDataCallback(S,k+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,k,O){return this.node(S,k,O)},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,k){return this.instruction(S,k)},A.prototype.dec=function(S,k,O){return this.declaration(S,k,O)},A.prototype.dtd=function(S,k,O){return this.doctype(S,k,O)},A.prototype.e=function(S,k,O){return this.element(S,k,O)},A.prototype.n=function(S,k,O){return this.node(S,k,O)},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,k){return this.instruction(S,k)},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,k){return this.entity(S,k)},A.prototype.pent=function(S,k){return this.pEntity(S,k)},A.prototype.not=function(S,k){return this.notation(S,k)},A})()}).call(hct)),c8.exports}var d8={exports:{}},vct=d8.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=BD(),s=$D(),e=ND(),t=RD(),u=PD(),c=jD(),f=HD(),d=WD(),l=BV(),n=LD(),r=UD(),o=FD(),i=zD(),p=U4e(),d8.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,k,O,I,P;for(O=m.children,w=0,S=O.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,k;if(b||(b=0),this.stream.write(this.space(b)),this.stream.write("0){for(this.stream.write(" ["),this.stream.write(this.endline(m)),k=m.children,A=0,S=k.length;A"),this.stream.write(this.endline(m))},y.prototype.element=function(m,b){var w,A,S,k,O,I,P,M;b||(b=0),M=this.space(b),this.stream.write(M+"<"+m.name),I=m.attributes;for(O in I)h.call(I,O)&&(w=I[O],this.attribute(w));if(m.children.length===0||m.children.every(function(_){return _.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),P=m.children,S=0,k=P.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)),d8.exports}var _ne;function yct(){return _ne||(_ne=1,(function(){var e,t,n,r,o,i,a;a=M0(),o=a.assign,i=a.isFunction,e=pct(),t=gct(),r=LV(),n=mct(),G0.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},G0.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)},G0.stringWriter=function(s){return new r(s)},G0.streamWriter=function(s,l){return new n(s,l)}}).call(G0)),G0}var Dne;function bct(){if(Dne)return bO;Dne=1;var e=Ia,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 Op;Ine=1;var e=B4e();return Op.Element=e.Element,Op.element=e.element,Op.emptyElement=e.emptyElement,Op.text=e.text,Op.readString=Gut().readString,Op.writeString=bct().writeString,Op}var One;function wct(){if(One)return Nx;One=1;var e=Ia,t=O0(),n=FV();Nx.read=o,Nx.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 Nx}var Lx={},uc={},Fx={},Mne;function Act(){if(Mne)return Fx;Mne=1,Object.defineProperty(Fx,"__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 Fx.default=e,Fx}var Pne;function Cct(){if(Pne)return uc;Pne=1;var e=uc&&uc.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(uc,"__esModule",{value:!0}),uc.hex=uc.dec=uc.codePoint=void 0;for(var t=e(Act()),n={},r=String.fromCodePoint?String.fromCodePoint:f,o=0,i=t.default;o0&&(rt=O.concat(rt),O=[]),y.map(j(_t),V(rt),function(he,Je){return new n.Paragraph(Je,he)}).insertExtra()},"w:r":function(dt){return y.map(G(dt.firstOrEmpty("w:rPr")),V(dt.children),function(_t,ut){var rt=me();return rt!==null&&(ut=[new n.Hyperlink(ut,rt)]),new n.Run(ut,_t)})},"w:fldChar":ue,"w:instrText":ge,"w:t":function(dt){return h(new n.Text(dt.text()))},"w:tab":function(dt){return h(new n.Tab)},"w:noBreakHyphen":function(){return h(new n.Text("‑"))},"w:softHyphen":function(dt){return h(new n.Text("­"))},"w:sym":_e,"w:hyperlink":function(dt){var _t=dt.attributes["r:id"],ut=dt.attributes["w:anchor"];return V(dt.children).map(function(rt){function he(ct){var Ot=dt.attributes["w:tgtFrame"]||null;return new n.Hyperlink(rt,t.extend({targetFrame:Ot},ct))}if(_t){var Je=I.findTargetByRelationshipId(_t);return ut&&(Je=s.replaceFragment(Je,ut)),he({href:Je})}else return ut?he({anchor:ut}):rt})},"w:tbl":ie,"w:tr":Re,"w:tc":Ee,"w:footnoteReference":Q("footnote"),"w:endnoteReference":Q("endnote"),"w:commentReference":be,"w:br":function(dt){var _t=dt.attributes["w:type"];return _t==null||_t==="textWrapping"?h(n.lineBreak):_t==="page"?h(n.pageBreak):_t==="column"?h(n.columnBreak):p([o("Unsupported break type: "+_t)])},"w:bookmarkStart":function(dt){var _t=dt.attributes["w:name"];return _t==="_GoBack"?v():h(new n.BookmarkStart({name:_t}))},"mc:AlternateContent":function(dt){return De(dt.firstOrEmpty("mc:Fallback"))},"w:sdt":function(dt){var _t=V(dt.firstOrEmpty("w:sdtContent").children);return _t.map(function(ut){var rt=dt.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(rt){var he=rt.first("wordml:checked"),Je=!!he&&U(he.attributes["wordml:val"]),ct=n.checkbox({checked:Je}),Ot=!1,Tn=ut.map(a._elementsOfType(n.types.text,function(In){return In.value.length>0&&!Ot?(Ot=!0,ct):In}));return Ot?Tn:ct}else return ut})},"w:ins":De,"w:object":De,"w:smartTag":De,"w:drawing":De,"w:pict":function(dt){return De(dt).toExtra()},"v:roundrect":De,"v:shape":De,"v:textbox":De,"w:txbxContent":De,"wp:inline":Pe,"wp:anchor":Pe,"v:imagedata":Lt,"v:group":De,"v:rect":De};return{readXmlElement:L,readXmlElements:V};function ie(dt){var _t=ce(dt.firstOrEmpty("w:tblPr"));return V(dt.children).flatMap(Fe).flatMap(function(ut){return _t.map(function(rt){return n.Table(ut,rt)})})}function ce(dt){return te(dt).map(function(_t){return{styleId:_t.styleId,styleName:_t.name}})}function Re(dt){var _t=dt.firstOrEmpty("w:trPr"),ut=!!_t.first("w:del");if(ut)return v();var rt=!!_t.first("w:tblHeader");return V(dt.children).map(function(he){return n.TableRow(he,{isHeader:rt})})}function Ee(dt){return V(dt.children).map(function(_t){var ut=dt.firstOrEmpty("w:tcPr"),rt=ut.firstOrEmpty("w:gridSpan").attributes["w:val"],he=rt?parseInt(rt,10):1,Je=n.TableCell(_t,{colSpan:he});return Je._vMerge=Le(ut),Je})}function Le(dt){var _t=dt.first("w:vMerge");if(_t){var ut=_t.attributes["w:val"];return ut==="continue"||!ut}else return null}function Fe(dt){var _t=t.any(dt,function(he){return he.type!==n.types.tableRow});if(_t)return g(dt,[o("unexpected non-row element in table, cell merging may be incorrect")]);var ut=t.any(dt,function(he){return t.any(he.children,function(Je){return Je.type!==n.types.tableCell})});if(ut)return g(dt,[o("unexpected non-cell element in table row, cell merging may be incorrect")]);var rt={};return dt.forEach(function(he){var Je=0;he.children.forEach(function(ct){ct._vMerge&&rt[Je]?rt[Je].rowSpan++:(rt[Je]=ct,ct._vMerge=!1),Je+=ct.colSpan})}),dt.forEach(function(he){he.children=he.children.filter(function(Je){return!Je._vMerge}),he.children.forEach(function(Je){delete Je._vMerge})}),h(dt)}function Pe(dt){var _t=dt.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return m(_t.map(Ne.bind(null,dt)))}function Ne(dt,_t){var ut=dt.first("wp:docPr").attributes,rt=ht(ut.descr)?ut.title:ut.descr,he=Rt(_t);return he===null?p([o("Could not find image file for a:blip element")]):Wt(he,rt)}function ht(dt){return dt==null||/^\s*$/.test(dt)}function Rt(dt){var _t=dt.attributes["r:embed"],ut=dt.attributes["r:link"];if(_t)return tn(_t);if(ut){var rt=I.findTargetByRelationshipId(ut);return{path:rt,read:_.read.bind(_,rt)}}else return null}function Lt(dt){var _t=dt.attributes["r:id"];return _t?Wt(tn(_t),dt.attributes["o:title"]):p([o("A v:imagedata element without a relationship ID was ignored")])}function tn(dt){var _t=s.uriToZipEntryName("word",I.findTargetByRelationshipId(dt));return{path:_t,read:M.read.bind(M,_t)}}function Wt(dt,_t){var ut=P.findContentType(dt.path),rt=n.Image({readImage:dt.read,altText:_t,contentType:ut}),he=c[ut]?[]:o("Image of type "+ut+" is unlikely to display in web browsers");return g(rt,he)}function zt(dt,_t){return o(dt+" style with ID "+_t+" was referenced but not defined in the document")}}function d(A,S,k){var O=S.firstOrEmpty("w:ilvl").attributes["w:val"],I=S.firstOrEmpty("w:numId").attributes["w:val"];if(O!==void 0&&I!==void 0)return k.findLevel(I,O);if(A!=null){var P=k.findLevelByParagraphStyleId(A);if(P!=null)return P}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,k){this.value=A||[],this.extra=S||[],this._result=new r({element:this.value,extra:S},k),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(k){return A(k.element)});return new y(S.value,this.extra,S.messages)},y.prototype.flatMap=function(A){var S=this._result.flatMap(function(k){return A(k.element)._result});return new y(S.value.element,b(this.extra,S.value.extra),S.messages)},y.map=function(A,S,k){return new y(k(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 Lx}var wO={},Lne;function Ect(){if(Lne)return wO;Lne=1,wO.DocumentXmlReader=n;var e=lm(),t=np().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 B2={},Fne;function kct(){if(Fne)return B2;Fne=1,B2.readRelationships=e,B2.defaultValue=new t([]),B2.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 B2}var zx={},Une;function Tct(){if(Une)return zx;Une=1,zx.readContentTypesFromXml=t;var e={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};zx.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 zx}var L2={},zne;function _ct(){if(zne)return L2;zne=1;var e=Ia;L2.readNumberingXml=n,L2.Numbering=t,L2.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 L2}var F2={},$ne;function Dct(){if($ne)return F2;$ne=1,F2.readStylesXml=t,F2.Styles=e,F2.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 F2}var Um={},jne;function Ict(){if(jne)return Um;jne=1;var e=lm(),t=np().Result;Um.createFootnotesReader=n.bind(Um,"footnote"),Um.createEndnotesReader=n.bind(Um,"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 Um}var AO={},Hne;function Oct(){if(Hne)return AO;Hne=1;var e=lm(),t=np().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=O0();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 Ix;Vne=1,Ix.read=v,Ix._findPartPaths=h;var e=O0(),t=lm(),n=np().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(I,P){return P=P||{},e.props({contentTypes:A(I),partPaths:h(I),docxFile:I,files:P.path?p.relativeToFile(P.path):new p(null)}).also(function(M){return{styles:k(I,M.partPaths.styles)}}).also(function(M){return{numbering:S(I,M.partPaths.numbering,M.styles)}}).also(function(M){return{footnotes:b(M.partPaths.footnotes,M,function(_,R){return R?c.createFootnotesReader(_)(R):new n([])}),endnotes:b(M.partPaths.endnotes,M,function(_,R){return R?c.createEndnotesReader(_)(R):new n([])}),comments:b(M.partPaths.comments,M,function(_,R){return R?f.createCommentsReader(_)(R):new n([])})}}).also(function(M){return{notes:M.footnotes.flatMap(function(_){return M.endnotes.map(function(R){return new t.Notes(_.concat(R))})})}}).then(function(M){return b(M.partPaths.mainDocument,M,function(_,R){return M.notes.flatMap(function(N){return M.comments.flatMap(function(V){var L=new a({bodyReader:_,notes:N,comments:V});return L.convertXmlToDocument(R)})})})})}function h(I){return O(I).then(function(P){var M=g({docxFile:I,relationships:P,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!I.exists(M))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return m({filename:w(M),readElement:s.readRelationships,defaultValue:s.defaultValue})(I).then(function(_){function R(N){return g({docxFile:I,relationships:_,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+N,basePath:r.splitPath(M).dirname,fallbackPath:"word/"+N+".xml"})}return{mainDocument:M,comments:R("comments"),endnotes:R("endnotes"),footnotes:R("footnotes"),numbering:R("numbering"),styles:R("styles")}})})}function g(I){var P=I.docxFile,M=I.relationships,_=I.relationshipType,R=I.basePath,N=I.fallbackPath,V=M.findTargetsByType(_),L=V.map(function(H){return y(r.joinPath(R,H),"/")}),j=L.filter(function(H){return P.exists(H)});return j.length===0?N:j[0]}function y(I,P){return I.substring(0,P.length)===P?I.substring(P.length):I}function m(I){return function(P){return o(P,I.filename).then(function(M){return M?I.readElement(M):I.defaultValue})}}function b(I,P,M){var _=m({filename:w(I),readElement:s.readRelationships,defaultValue:s.defaultValue});return _(P.docxFile).then(function(R){var N=new i({relationships:R,contentTypes:P.contentTypes,docxFile:P.docxFile,numbering:P.numbering,styles:P.styles,files:P.files});return o(P.docxFile,I).then(function(V){return M(N,V)})})}function w(I){var P=r.splitPath(I);return r.joinPath(P.dirname,"_rels",P.basename+".rels")}var A=m({filename:"[Content_Types].xml",readElement:l.readContentTypesFromXml,defaultValue:l.defaultContentTypes});function S(I,P,M){return m({filename:P,readElement:function(_){return u.readNumberingXml(_,{styles:M})},defaultValue:u.defaultNumbering})(I)}function k(I,P){return m({filename:P,readElement:d.readStylesXml,defaultValue:d.defaultStyles})(I)}var O=m({filename:"_rels/.rels",readElement:s.readRelationships,defaultValue:s.defaultValue});return Ix}var $x={},qne;function Nct(){if(qne)return $x;qne=1;var e=Ia,t=O0(),n=FV();$x.writeStyleMap=a,$x.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 $x}var jx={},K0={},cf={},Pp={},Gne;function $4e(){if(Gne)return Pp;Gne=1;var e=qD();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"};Pp.freshElement=n,Pp.nonFreshElement=t,Pp.elementWithTag=r,Pp.text=o,Pp.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 Pp.isVoidElement=s,Pp}var xO,Kne;function Rct(){if(Kne)return xO;Kne=1;var e=Ia,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 VD(){if(Yne)return cf;Yne=1;var e=$4e();cf.freshElement=e.freshElement,cf.nonFreshElement=e.nonFreshElement,cf.elementWithTag=e.elementWithTag,cf.text=e.text,cf.forceWrite=e.forceWrite,cf.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 cf.write=t,cf}var Qne;function qD(){if(Qne)return K0;Qne=1;var e=Ia,t=VD();K0.topLevelElement=n,K0.elements=r,K0.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)]},K0.empty=r([]),K0.ignore={wrap:function(){return[]}},K0}var SO={},Zne;function j4e(){return Zne||(Zne=1,(function(e){var t=Ia,n=O0(),r=VD();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=Ia;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=Ia;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 k=s[A]||function(){return{}},O=k(S,p,v);f.push({end:O.end,list:p}),O.list&&(p=O.list);var I=O.anchorPosition==="before";I&&g(S),c.push(O.start||""),I||g(S)}function g(A){A.id&&c.push('')}function y(A){var S=f.pop();p=S.list;var k=e.isFunction(S.end)?S.end():S.end;c.push(k||"")}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 jx;tre=1;var e=Ia,t=O0(),n=lm(),r=qD(),o=np(),i=j4e(),a=VD(),s=Fct();jx.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,k=r.topLevelElement("p"),O=g.styleMap||[];function I(Q){var be=[],De=M(Q,be,{}),pe=[];v(De,function(ce){ce.type==="deferred"&&pe.push(ce)});var ie={};return t.mapSeries(pe,function(ce){return ce.value().then(function(Re){ie[ce.id]=Re})}).then(function(){function ce(Ee){return p(Ee,function(Le){return Le.type==="deferred"?ie[Le.id]:Le.children?[e.extend({},Le,{children:ce(Le.children)})]:[Le]})}var Re=s.writer({prettyPrint:g.prettyPrint,outputFormat:g.outputFormat});return a.write(Re,a.simplify(ce(De))),new o.Result(Re.asString(),be)})}function P(Q,be,De){return p(Q,function(pe){return M(pe,be,De)})}function M(Q,be,De){if(!De)throw new Error("options not set");var pe=_e[Q.type];return pe?pe(Q,be,De):[]}function _(Q,be,De){return R(Q,be).wrap(function(){var pe=P(Q.children,be,De);return S?pe:[a.forceWrite].concat(pe)})}function R(Q,be){var De=j(Q);return De?De.to:(Q.styleId&&be.push(f("paragraph",Q)),k)}function N(Q,be,De){var pe=function(){return P(Q.children,be,De)},ie=[];if(Q.highlight!==null){var ce=L({type:"highlight",color:Q.highlight});ce&&ie.push(ce)}Q.isSmallCaps&&ie.push(V("smallCaps")),Q.isAllCaps&&ie.push(V("allCaps")),Q.isStrikethrough&&ie.push(V("strikethrough","s")),Q.isUnderline&&ie.push(V("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(V("italic","em")),Q.isBold&&ie.push(V("bold","strong"));var Re=r.empty,Ee=j(Q);return Ee?Re=Ee.to:Q.styleId&&be.push(f("run",Q)),ie.push(Re),ie.forEach(function(Le){pe=Le.wrap.bind(Le,pe)}),pe()}function V(Q,be){var De=L({type:Q});return De||(be?r.element(be,{},{fresh:!1}):r.empty)}function L(Q,be){var De=j(Q);return De?De.to:be}function j(Q){for(var be=0;bel){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,cc.Parser=jct().Parser,cc.rules=W4e(),cc.errors=H4e(),cc.results=UV(),cc.StringSource=V4e(),cc.Token=q4e(),cc.bottomUp=Vct(),cc.RegexTokeniser=qct().RegexTokeniser,cc.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}}),cc}var is={},gre;function Gct(){if(gre)return is;gre=1,is.paragraph=e,is.run=t,is.table=n,is.bold=new o("bold"),is.italic=new o("italic"),is.underline=new o("underline"),is.strikethrough=new o("strikethrough"),is.allCaps=new o("allCaps"),is.smallCaps=new o("smallCaps"),is.highlight=r,is.commentReference=new o("commentReference"),is.lineBreak=new a({breakType:"line"}),is.pageBreak=new a({breakType:"page"}),is.columnBreak=new a({breakType:"column"}),is.equalTo=l,is.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 is}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 U2;mre=1;var e=Ia,t=G4e(),n=Gct(),r=qD(),o=Kct().tokenise,i=np();U2.readHtmlPath=d,U2.readDocumentMatcher=l,U2.readStyle=a;function a(O){return w(k,O)}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(O,I){return{from:O,to:I.valueOrElse(r.empty)}})}function l(O){return w(u(),O)}function u(){var O=t.rules.sequence,I=function(Me,Ae){return t.rules.then(t.rules.token("identifier",Me),function(){return Ae})},P=I("p",n.paragraph),M=I("r",n.run),_=t.rules.firstOf("p or r or table",P,M),R=t.rules.sequence(t.rules.tokenOfType("dot"),t.rules.sequence.cut(),t.rules.sequence.capture(f)).map(function(Me){return{styleId:Me}}),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(Me){return{styleName:n.equalTo(Me)}}),t.rules.then(t.rules.sequence(t.rules.tokenOfType("startsWith"),t.rules.sequence.cut(),t.rules.sequence.capture(v)).head(),function(Me){return{styleName:n.startsWith(Me)}})),V=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(),L=t.rules.firstOf("list type",I("ordered-list",{isOrdered:!0}),I("unordered-list",{isOrdered:!1})),j=O(t.rules.tokenOfType("colon"),O.capture(L),O.cut(),t.rules.tokenOfType("open-paren"),O.capture(p),t.rules.tokenOfType("close-paren")).map(function(Me,Ae){return{list:{isOrdered:Me.isOrdered,levelIndex:Ae-1}}});function H(Me){var Ae=t.rules.firstOf.apply(t.rules.firstOf,["matcher suffix"].concat(Me)),ge=t.rules.zeroOrMore(Ae);return t.rules.then(ge,function(_e){var Q={};return _e.forEach(function(be){e.extend(Q,be)}),Q})}var G=O(O.capture(_),O.capture(H([R,V,j]))).map(function(Me,Ae){return Me(Ae)}),Z=O(t.rules.token("identifier","table"),O.capture(H([R,V]))).map(function(Me){return n.table(Me)}),z=I("b",n.bold),U=I("i",n.italic),W=I("u",n.underline),re=I("strike",n.strikethrough),J=I("all-caps",n.allCaps),te=I("small-caps",n.smallCaps),X=O(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(Me){return n.highlight({color:Me.valueOrElse(void 0)})}),ue=I("comment-reference",n.commentReference),me=O(t.rules.token("identifier","br"),O.cut(),t.rules.tokenOfType("open-square-bracket"),t.rules.token("identifier","type"),t.rules.tokenOfType("equals"),O.capture(v),t.rules.tokenOfType("close-square-bracket")).map(function(Me){switch(Me){case"line":return n.lineBreak;case"page":return n.pageBreak;case"column":return n.columnBreak}});return t.rules.firstOf("element type",G,Z,z,U,W,re,J,te,X,ue,me)}function d(O){return w(c(),O)}function c(){var O=t.rules.sequence.capture,I=t.rules.tokenOfType("whitespace"),P=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)}),M=t.rules.then(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("colon"),t.rules.token("identifier","separator"),t.rules.tokenOfType("open-paren"),O(v),t.rules.tokenOfType("close-paren")).head()),function(N){return N.valueOrElse("")}),_=t.rules.oneOrMoreWithSeparator(f,t.rules.tokenOfType("choice")),R=t.rules.sequence(O(_),O(t.rules.zeroOrMore(b)),O(P),O(M)).map(function(N,V,L,j){var H={},G={};return V.forEach(function(Z){Z.append&&H[Z.name]?H[Z.name]+=" "+Z.value:H[Z.name]=Z.value}),L&&(G.fresh=!0),j&&(G.separator=j),r.element(N,H,G)});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(I,t.rules.tokenOfType("gt"),I)),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(O){return O.replace(/\\(.)/g,function(I,P){return h[P]||P})}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(O,I){return{name:O,value:I,append:!1}}),m=t.rules.sequence(t.rules.tokenOfType("dot"),t.rules.sequence.cut(),t.rules.sequence.capture(f)).map(function(O){return{name:"class",value:O,append:!0}}),b=t.rules.firstOf("attribute or class",y,m);function w(O,I){var P=o(I),M=t.Parser(),_=M.parseTokens(O,P);return _.isSuccess()?i.success(_.value()):new i.Result(null,[i.warning(A(I,_))])}function A(O,I){return"Did not understand this style mapping, so ignored it: "+O+` `+I.errors().map(S).join(` `)}function S(O){return"Error was at character number "+O.characterNumber()+": Expected "+O.expected+" but got "+O.actual}var k=s();return U2}var z2={},yre;function Qct(){if(yre)return z2;yre=1,z2.readOptions=r;var e=Ia,t=z2._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=z2._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 z2}var $O={},bre;function Zct(){if(bre)return $O;bre=1;var e=O0(),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=qD(),t=VD();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 xu;Are=1;var e=Ia,t=Pct(),n=Nct(),r=Uct().DocumentConverter,o=zct().convertElementToRawText,i=Yct().readStyle,a=Qct().readOptions,s=Zct(),l=np().Result;xu.convertToHtml=u,xu.convertToMarkdown=d,xu.convert=c,xu.extractRawText=h,xu.images=j4e(),xu.transforms=z4e(),xu.underline=Xct(),xu.embedStyleMap=g,xu.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(k){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 xu.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")`)},xu}var zV=Jct();const edt=mu(zV),qE=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?(F(),K("div",{key:0,class:"delete-modal-overlay",onClick:r},[x("div",{class:"delete-modal",onClick:s[0]||(s[0]=Qt(()=>{},["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)}},c0=Yo(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=Y(!1);return t({show:()=>{r.value=!0,n.duration>0&&setTimeout(()=>{r.value=!1},n.duration)},hide:()=>{r.value=!1}}),(a,s)=>(F(),mt(Wi,{name:"toast-fade"},{default:nt(()=>[r.value?(F(),K("div",ndt,[x("div",rdt,[e.icon?(F(),K("div",odt,[x("img",{src:e.icon,alt:e.type,class:"icon-img"},null,8,idt)])):xe("",!0),x("span",adt,ze(e.message),1)])])):xe("",!0)]),_:1}))}},ldt=Yo(sdt,[["__scopeId","data-v-f0e7cdfe"]]),f8=Xi.create({baseURL:"/api",timeout:1e4,headers:{"Content-Type":"application/json"}});let HO=!1,WO=[];f8.interceptors.request.use(e=>{const t=Gf();return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>(console.error("请求错误:",e),Promise.reject(e)));f8.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 bS(),window.location.href="/#/login",Promise.reject(e);if(HO)return new Promise(r=>{WO.push(o=>{t.headers.Authorization=`Bearer ${o}`,r(f8(t))})});{HO=!0;const r=V9e();if(!r)return bS(),window.location.href="/#/login",Promise.reject(e);try{const o=await Xi.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=[],f8(t)}catch(o){return console.error("刷新token失败:",o),bS(),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 gd(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 um=HV();function Q4e(e){um=e}var t3={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(ol.caret,"$1"),n=n.replace(o,a),r},getRegex:()=>new RegExp(n,t)};return r}var ol={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|$)|$)/,YC=/^ {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(),GD="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",GD).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),J4e=ai(VV).replace("hr",YC).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",GD).getRegex(),ydt=ai(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",J4e).getRegex(),KV={blockquote:ydt,code:cdt,def:gdt,fences:ddt,heading:fdt,hr:YC,html:mdt,lheading:X4e,list:vdt,newline:udt,paragraph:J4e,table:t3,text:hdt},Cre=ai("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",YC).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",GD).getRegex(),bdt={...KV,lheading:pdt,table:Cre,paragraph:ai(VV).replace("hr",YC).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",GD).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:t3,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:ai(VV).replace("hr",YC).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,KD).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,KD).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,KD).getRegex(),Pdt=ai(/\\(punct)/,"gu").replace(/punct/g,KD).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(),GE=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ldt=ai(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",GE).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),i3e=ai(/^!?\[(label)\]\[(ref)\]/).replace("label",GE).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:t3,anyPunctuation:Pdt,autolink:Ndt,blockSkip:Tdt,br:e3e,code:Cdt,del:t3,emStrongLDelim:_dt,emStrongRDelimAst:Idt,emStrongRDelimUnd:Mdt,escape:Adt,link:Ldt,nolink:a3e,punctuation:Sdt,reflink:i3e,reflinkSearch:Fdt,tag:Bdt,text:xdt,url:t3},Udt={...QV,link:ai(/^!?\[(label)\]\((.*?)\)/).replace("label",GE).getRegex(),reflink:ai(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",GE).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 id(e,t){if(t){if(ol.escapeTest.test(e))return e.replace(ol.escapeReplace,Sre)}else if(ol.escapeTestNoEncode.test(e))return e.replace(ol.escapeReplaceNoEncode,Sre);return e}function Ere(e){try{e=encodeURI(e).replace(ol.percentDecode,"%")}catch{return null}return e}function kre(e,t){let n=e.replace(ol.findPipe,(i,a,s)=>{let l=!1,u=a;for(;--u>=0&&s[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(ol.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 KE=class{options;rules;lexer;constructor(t){this.options=t||um}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:j2(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=j2(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:j2(n[0],` `)}}blockquote(t){let n=this.rules.block.blockquote.exec(t);if(n){let r=j2(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 k=t.split(` `,1)[0],O;if(p=k,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),O=p):O=p.replace(this.rules.other.tabCharGlobal," "),w.test(p)||A.test(p)||S.test(p)||m.test(p)||b.test(p))break;if(O.search(this.rules.other.nonSpaceChar)>=h||!p.trim())c+=` `+O.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+=k+` `,t=t.substring(k.length+1),f=O.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=j2(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}}}},vc=class _F{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||um,this.options.tokenizer=this.options.tokenizer||new KE,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:ol,block:Hx.normal,inline:$2.normal};this.options.pedantic?(n.block=Hx.pedantic,n.inline=$2.pedantic):this.options.gfm&&(n.block=Hx.gfm,this.options.breaks?n.inline=$2.breaks:n.inline=$2.gfm),this.tokenizer.rules=n}static get rules(){return{block:Hx,inline:$2}}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(ol.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}},YE=class{options;parser;constructor(t){this.options=t||um}space(t){return""}code({text:t,lang:n,escaped:r}){let o=(n||"").match(ol.notSpaceStart)?.[0],i=t.replace(ol.endingNewline,"")+` `;return o?'
'+(r?i:id(i,!0))+`
`:"
"+(r?i:id(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+" "+id(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`${id(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 id(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 YE(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 KE(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 C4;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];C4.passThroughHooks.has(a)?i[s]=d=>{if(this.defaults.async&&C4.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 vc.lex(t,n??this.defaults)}parser(t,n){return mc.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?vc.lex:vc.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?mc.parse:mc.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?vc.lex:vc.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?mc.parse:mc.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:

    "+id(r.message+"",!0)+"
    ";return n?Promise.resolve(o):o}if(n)return Promise.reject(r);throw r}}},Bv=new Wdt;function ui(e,t){return Bv.parse(e,t)}ui.options=ui.setOptions=function(e){return Bv.setOptions(e),ui.defaults=Bv.defaults,Q4e(ui.defaults),ui};ui.getDefaults=HV;ui.defaults=um;ui.use=function(...e){return Bv.use(...e),ui.defaults=Bv.defaults,Q4e(ui.defaults),ui};ui.walkTokens=function(e,t){return Bv.walkTokens(e,t)};ui.parseInline=Bv.parseInline;ui.Parser=mc;ui.parser=mc.parse;ui.Renderer=YE;ui.TextRenderer=ZV;ui.Lexer=vc;ui.lexer=vc.lex;ui.Tokenizer=KE;ui.Hooks=C4;ui.parse=ui;ui.options;ui.setOptions;ui.use;ui.walkTokens;ui.parseInline;mc.parse;vc.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:dl,seal:Qu,create:IF}=Object,{apply:OF,construct:MF}=typeof Reflect<"u"&&Reflect;dl||(dl=function(t){return t});Qu||(Qu=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]:p8;_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=Qu(/\$\{[\w\W]*/gm),ift=Qu(/^data-[\-\w.\u00B7-\uFFFF]+$/),aft=Qu(/^aria-[\-\w]+$/),l3e=Qu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sft=Qu(/^(?:\w+script|data):/i),lft=Qu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),u3e=Qu(/^html$/i),uft=Qu(/^[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 G2={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=cn=>c3e(cn);if(t.version="3.3.0",t.removed=[],!e||!e.document||e.document.nodeType!==G2.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=q2(v,"cloneNode"),g=q2(v,"remove"),y=q2(v,"nextSibling"),m=q2(v,"childNodes"),b=q2(v,"parentNode");if(typeof a=="function"){const cn=n.createElement("template");cn.content&&cn.content.ownerDocument&&(n=cn.content.ownerDocument)}let w,A="";const{implementation:S,createNodeIterator:k,createDocumentFragment:O,getElementsByTagName:I}=n,{importNode:P}=r;let M=Rre();t.isSupported=typeof s3e=="function"&&typeof b=="function"&&S&&S.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:_,ERB_EXPR:R,TMPLIT_EXPR:N,DATA_ATTR:V,ARIA_ATTR:L,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:H,CUSTOM_ELEMENT:G}=Nre;let{IS_ALLOWED_URI:Z}=Nre,z=null;const U=No({},[...Ire,...GO,...KO,...YO,...Ore]);let W=null;const re=No({},[...Mre,...QO,...Pre,...Vx]);let J=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,X=null;const ue=Object.seal(IF(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let me=!0,Me=!0,Ae=!1,ge=!0,_e=!1,Q=!0,be=!1,De=!1,pe=!1,ie=!1,ce=!1,Re=!1,Ee=!0,Le=!1;const Fe="user-content-";let Pe=!0,Ne=!1,ht={},Rt=null;const Lt=No({},["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 tn=null;const Wt=No({},["audio","video","img","source","image","track"]);let zt=null;const dt=No({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_t="http://www.w3.org/1998/Math/MathML",ut="http://www.w3.org/2000/svg",rt="http://www.w3.org/1999/xhtml";let he=rt,Je=!1,ct=null;const Ot=No({},[_t,ut,rt],VO);let Tn=No({},["mi","mo","mn","ms","mtext"]),In=No({},["annotation-xml"]);const je=No({},["title","style","font","a","script"]);let ke=null;const ye=["application/xhtml+xml","text/html"],Be="text/html";let ot=null,gt=null;const Ke=n.createElement("form"),He=function(qe){return qe instanceof RegExp||qe instanceof Function},at=function(){let qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(gt&>===qe)){if((!qe||typeof qe!="object")&&(qe={}),qe=mf(qe),ke=ye.indexOf(qe.PARSER_MEDIA_TYPE)===-1?Be:qe.PARSER_MEDIA_TYPE,ot=ke==="application/xhtml+xml"?VO:p8,z=fc(qe,"ALLOWED_TAGS")?No({},qe.ALLOWED_TAGS,ot):U,W=fc(qe,"ALLOWED_ATTR")?No({},qe.ALLOWED_ATTR,ot):re,ct=fc(qe,"ALLOWED_NAMESPACES")?No({},qe.ALLOWED_NAMESPACES,VO):Ot,zt=fc(qe,"ADD_URI_SAFE_ATTR")?No(mf(dt),qe.ADD_URI_SAFE_ATTR,ot):dt,tn=fc(qe,"ADD_DATA_URI_TAGS")?No(mf(Wt),qe.ADD_DATA_URI_TAGS,ot):Wt,Rt=fc(qe,"FORBID_CONTENTS")?No({},qe.FORBID_CONTENTS,ot):Lt,te=fc(qe,"FORBID_TAGS")?No({},qe.FORBID_TAGS,ot):mf({}),X=fc(qe,"FORBID_ATTR")?No({},qe.FORBID_ATTR,ot):mf({}),ht=fc(qe,"USE_PROFILES")?qe.USE_PROFILES:!1,me=qe.ALLOW_ARIA_ATTR!==!1,Me=qe.ALLOW_DATA_ATTR!==!1,Ae=qe.ALLOW_UNKNOWN_PROTOCOLS||!1,ge=qe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,_e=qe.SAFE_FOR_TEMPLATES||!1,Q=qe.SAFE_FOR_XML!==!1,be=qe.WHOLE_DOCUMENT||!1,ie=qe.RETURN_DOM||!1,ce=qe.RETURN_DOM_FRAGMENT||!1,Re=qe.RETURN_TRUSTED_TYPE||!1,pe=qe.FORCE_BODY||!1,Ee=qe.SANITIZE_DOM!==!1,Le=qe.SANITIZE_NAMED_PROPS||!1,Pe=qe.KEEP_CONTENT!==!1,Ne=qe.IN_PLACE||!1,Z=qe.ALLOWED_URI_REGEXP||l3e,he=qe.NAMESPACE||rt,Tn=qe.MATHML_TEXT_INTEGRATION_POINTS||Tn,In=qe.HTML_INTEGRATION_POINTS||In,J=qe.CUSTOM_ELEMENT_HANDLING||{},qe.CUSTOM_ELEMENT_HANDLING&&He(qe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(J.tagNameCheck=qe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),qe.CUSTOM_ELEMENT_HANDLING&&He(qe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(J.attributeNameCheck=qe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),qe.CUSTOM_ELEMENT_HANDLING&&typeof qe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(J.allowCustomizedBuiltInElements=qe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),_e&&(Me=!1),ce&&(ie=!0),ht&&(z=No({},Ore),W=[],ht.html===!0&&(No(z,Ire),No(W,Mre)),ht.svg===!0&&(No(z,GO),No(W,QO),No(W,Vx)),ht.svgFilters===!0&&(No(z,KO),No(W,QO),No(W,Vx)),ht.mathMl===!0&&(No(z,YO),No(W,Pre),No(W,Vx))),qe.ADD_TAGS&&(typeof qe.ADD_TAGS=="function"?ue.tagCheck=qe.ADD_TAGS:(z===U&&(z=mf(z)),No(z,qe.ADD_TAGS,ot))),qe.ADD_ATTR&&(typeof qe.ADD_ATTR=="function"?ue.attributeCheck=qe.ADD_ATTR:(W===re&&(W=mf(W)),No(W,qe.ADD_ATTR,ot))),qe.ADD_URI_SAFE_ATTR&&No(zt,qe.ADD_URI_SAFE_ATTR,ot),qe.FORBID_CONTENTS&&(Rt===Lt&&(Rt=mf(Rt)),No(Rt,qe.FORBID_CONTENTS,ot)),Pe&&(z["#text"]=!0),be&&No(z,["html","head","body"]),z.table&&(No(z,["tbody"]),delete te.tbody),qe.TRUSTED_TYPES_POLICY){if(typeof qe.TRUSTED_TYPES_POLICY.createHTML!="function")throw V2('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof qe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw V2('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=qe.TRUSTED_TYPES_POLICY,A=w.createHTML("")}else w===void 0&&(w=dft(p,o)),w!==null&&typeof A=="string"&&(A=w.createHTML(""));dl&&dl(qe),gt=qe}},St=No({},[...GO,...KO,...eft]),tt=No({},[...YO,...tft]),Qe=function(qe){let yt=b(qe);(!yt||!yt.tagName)&&(yt={namespaceURI:he,tagName:"template"});const Zt=p8(qe.tagName),bt=p8(yt.tagName);return ct[qe.namespaceURI]?qe.namespaceURI===ut?yt.namespaceURI===rt?Zt==="svg":yt.namespaceURI===_t?Zt==="svg"&&(bt==="annotation-xml"||Tn[bt]):!!St[Zt]:qe.namespaceURI===_t?yt.namespaceURI===rt?Zt==="math":yt.namespaceURI===ut?Zt==="math"&&In[bt]:!!tt[Zt]:qe.namespaceURI===rt?yt.namespaceURI===ut&&!In[bt]||yt.namespaceURI===_t&&!Tn[bt]?!1:!tt[Zt]&&(je[Zt]||!St[Zt]):!!(ke==="application/xhtml+xml"&&ct[qe.namespaceURI]):!1},it=function(qe){H2(t.removed,{element:qe});try{b(qe).removeChild(qe)}catch{g(qe)}},Mt=function(qe,yt){try{H2(t.removed,{attribute:yt.getAttributeNode(qe),from:yt})}catch{H2(t.removed,{attribute:null,from:yt})}if(yt.removeAttribute(qe),qe==="is")if(ie||ce)try{it(yt)}catch{}else try{yt.setAttribute(qe,"")}catch{}},Gt=function(qe){let yt=null,Zt=null;if(pe)qe=""+qe;else{const bn=qO(qe,/^[\r\n\t ]+/);Zt=bn&&bn[0]}ke==="application/xhtml+xml"&&he===rt&&(qe=''+qe+"");const bt=w?w.createHTML(qe):qe;if(he===rt)try{yt=new f().parseFromString(bt,ke)}catch{}if(!yt||!yt.documentElement){yt=S.createDocument(he,"template",null);try{yt.documentElement.innerHTML=Je?A:bt}catch{}}const Kt=yt.body||yt.documentElement;return qe&&Zt&&Kt.insertBefore(n.createTextNode(Zt),Kt.childNodes[0]||null),he===rt?I.call(yt,be?"html":"body")[0]:be?yt.documentElement:Kt},En=function(qe){return k.call(qe.ownerDocument||qe,qe,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Nn=function(qe){return qe instanceof c&&(typeof qe.nodeName!="string"||typeof qe.textContent!="string"||typeof qe.removeChild!="function"||!(qe.attributes instanceof d)||typeof qe.removeAttribute!="function"||typeof qe.setAttribute!="function"||typeof qe.namespaceURI!="string"||typeof qe.insertBefore!="function"||typeof qe.hasChildNodes!="function")},xt=function(qe){return typeof s=="function"&&qe instanceof s};function sn(cn,qe,yt){Wx(cn,Zt=>{Zt.call(t,qe,yt,gt)})}const vt=function(qe){let yt=null;if(sn(M.beforeSanitizeElements,qe,null),Nn(qe))return it(qe),!0;const Zt=ot(qe.nodeName);if(sn(M.uponSanitizeElement,qe,{tagName:Zt,allowedTags:z}),Q&&qe.hasChildNodes()&&!xt(qe.firstElementChild)&&Qs(/<[/\w!]/g,qe.innerHTML)&&Qs(/<[/\w!]/g,qe.textContent)||qe.nodeType===G2.progressingInstruction||Q&&qe.nodeType===G2.comment&&Qs(/<[/\w]/g,qe.data))return it(qe),!0;if(!(ue.tagCheck instanceof Function&&ue.tagCheck(Zt))&&(!z[Zt]||te[Zt])){if(!te[Zt]&&mn(Zt)&&(J.tagNameCheck instanceof RegExp&&Qs(J.tagNameCheck,Zt)||J.tagNameCheck instanceof Function&&J.tagNameCheck(Zt)))return!1;if(Pe&&!Rt[Zt]){const bt=b(qe)||qe.parentNode,Kt=m(qe)||qe.childNodes;if(Kt&&bt){const bn=Kt.length;for(let Rn=bn-1;Rn>=0;--Rn){const Kn=h(Kt[Rn],!0);Kn.__removalCount=(qe.__removalCount||0)+1,bt.insertBefore(Kn,y(qe))}}}return it(qe),!0}return qe instanceof l&&!Qe(qe)||(Zt==="noscript"||Zt==="noembed"||Zt==="noframes")&&Qs(/<\/no(script|embed|frames)/i,qe.innerHTML)?(it(qe),!0):(_e&&qe.nodeType===G2.text&&(yt=qe.textContent,Wx([_,R,N],bt=>{yt=W2(yt,bt," ")}),qe.textContent!==yt&&(H2(t.removed,{element:qe.cloneNode()}),qe.textContent=yt)),sn(M.afterSanitizeElements,qe,null),!1)},Bt=function(qe,yt,Zt){if(Ee&&(yt==="id"||yt==="name")&&(Zt in n||Zt in Ke))return!1;if(!(Me&&!X[yt]&&Qs(V,yt))){if(!(me&&Qs(L,yt))){if(!(ue.attributeCheck instanceof Function&&ue.attributeCheck(yt,qe))){if(!W[yt]||X[yt]){if(!(mn(qe)&&(J.tagNameCheck instanceof RegExp&&Qs(J.tagNameCheck,qe)||J.tagNameCheck instanceof Function&&J.tagNameCheck(qe))&&(J.attributeNameCheck instanceof RegExp&&Qs(J.attributeNameCheck,yt)||J.attributeNameCheck instanceof Function&&J.attributeNameCheck(yt,qe))||yt==="is"&&J.allowCustomizedBuiltInElements&&(J.tagNameCheck instanceof RegExp&&Qs(J.tagNameCheck,Zt)||J.tagNameCheck instanceof Function&&J.tagNameCheck(Zt))))return!1}else if(!zt[yt]){if(!Qs(Z,W2(Zt,H,""))){if(!((yt==="src"||yt==="xlink:href"||yt==="href")&&qe!=="script"&&Qdt(Zt,"data:")===0&&tn[qe])){if(!(Ae&&!Qs(j,W2(Zt,H,"")))){if(Zt)return!1}}}}}}}return!0},mn=function(qe){return qe!=="annotation-xml"&&qO(qe,G)},Mn=function(qe){sn(M.beforeSanitizeAttributes,qe,null);const{attributes:yt}=qe;if(!yt||Nn(qe))return;const Zt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0};let bt=yt.length;for(;bt--;){const Kt=yt[bt],{name:bn,namespaceURI:Rn,value:Kn}=Kt,Fr=ot(bn),ho=Kn;let Wr=bn==="value"?ho:Zdt(ho);if(Zt.attrName=Fr,Zt.attrValue=Wr,Zt.keepAttr=!0,Zt.forceKeepAttr=void 0,sn(M.uponSanitizeAttribute,qe,Zt),Wr=Zt.attrValue,Le&&(Fr==="id"||Fr==="name")&&(Mt(bn,qe),Wr=Fe+Wr),Q&&Qs(/((--!?|])>)|<\/(style|title|textarea)/i,Wr)){Mt(bn,qe);continue}if(Fr==="attributename"&&qO(Wr,"href")){Mt(bn,qe);continue}if(Zt.forceKeepAttr)continue;if(!Zt.keepAttr){Mt(bn,qe);continue}if(!ge&&Qs(/\/>/i,Wr)){Mt(bn,qe);continue}_e&&Wx([_,R,N],Bo=>{Wr=W2(Wr,Bo," ")});const bo=ot(qe.nodeName);if(!Bt(bo,Fr,Wr)){Mt(bn,qe);continue}if(w&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!Rn)switch(p.getAttributeType(bo,Fr)){case"TrustedHTML":{Wr=w.createHTML(Wr);break}case"TrustedScriptURL":{Wr=w.createScriptURL(Wr);break}}if(Wr!==ho)try{Rn?qe.setAttributeNS(Rn,bn,Wr):qe.setAttribute(bn,Wr),Nn(qe)?it(qe):Dre(t.removed)}catch{Mt(bn,qe)}}sn(M.afterSanitizeAttributes,qe,null)},tr=function cn(qe){let yt=null;const Zt=En(qe);for(sn(M.beforeSanitizeShadowDOM,qe,null);yt=Zt.nextNode();)sn(M.uponSanitizeShadowNode,yt,null),vt(yt),Mn(yt),yt.content instanceof i&&cn(yt.content);sn(M.afterSanitizeShadowDOM,qe,null)};return t.sanitize=function(cn){let qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},yt=null,Zt=null,bt=null,Kt=null;if(Je=!cn,Je&&(cn=""),typeof cn!="string"&&!xt(cn))if(typeof cn.toString=="function"){if(cn=cn.toString(),typeof cn!="string")throw V2("dirty is not a string, aborting")}else throw V2("toString is not a function");if(!t.isSupported)return cn;if(De||at(qe),t.removed=[],typeof cn=="string"&&(Ne=!1),Ne){if(cn.nodeName){const Kn=ot(cn.nodeName);if(!z[Kn]||te[Kn])throw V2("root node is forbidden and cannot be sanitized in-place")}}else if(cn instanceof s)yt=Gt(""),Zt=yt.ownerDocument.importNode(cn,!0),Zt.nodeType===G2.element&&Zt.nodeName==="BODY"||Zt.nodeName==="HTML"?yt=Zt:yt.appendChild(Zt);else{if(!ie&&!_e&&!be&&cn.indexOf("<")===-1)return w&&Re?w.createHTML(cn):cn;if(yt=Gt(cn),!yt)return ie?null:Re?A:""}yt&&pe&&it(yt.firstChild);const bn=En(Ne?cn:yt);for(;bt=bn.nextNode();)vt(bt),Mn(bt),bt.content instanceof i&&tr(bt.content);if(Ne)return cn;if(ie){if(ce)for(Kt=O.call(yt.ownerDocument);yt.firstChild;)Kt.appendChild(yt.firstChild);else Kt=yt;return(W.shadowroot||W.shadowrootmode)&&(Kt=P.call(r,Kt,!0)),Kt}let Rn=be?yt.outerHTML:yt.innerHTML;return be&&z["!doctype"]&&yt.ownerDocument&&yt.ownerDocument.doctype&&yt.ownerDocument.doctype.name&&Qs(u3e,yt.ownerDocument.doctype.name)&&(Rn=" `+Rn),_e&&Wx([_,R,N],Kn=>{Rn=W2(Rn,Kn," ")}),w&&Re?w.createHTML(Rn):Rn},t.setConfig=function(){let cn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};at(cn),De=!0},t.clearConfig=function(){gt=null,De=!1},t.isValidAttribute=function(cn,qe,yt){gt||at({});const Zt=ot(cn),bt=ot(qe);return Bt(Zt,bt,yt)},t.addHook=function(cn,qe){typeof qe=="function"&&H2(M[cn],qe)},t.removeHook=function(cn,qe){if(qe!==void 0){const yt=Kdt(M[cn],qe);return yt===-1?void 0:Ydt(M[cn],yt,1)[0]}return Dre(M[cn])},t.removeHooks=function(cn){M[cn]=[]},t.removeAllHooks=function(){M=Rre()},t}var fft=c3e();class Al{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 Al(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class au{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 au(n,Al.range(this,t))}}class Hn{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"},Jo={deflt:pft,escape:yft,hyphenate:gft,getBaseElem:d3e,isCharacterBox:bft,protocolFromUrl:Aft},h8={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 h8)if(h8.hasOwnProperty(n)){var r=h8[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 Hn("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=Jo.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 Np{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 fd[xft[this.id]]}sub(){return fd[Sft[this.id]]}fracNum(){return fd[Eft[this.id]]}fracDen(){return fd[kft[this.id]]}cramp(){return fd[Tft[this.id]]}text(){return fd[_ft[this.id]]}isTight(){return this.size>=2}}var JV=0,QE=1,sy=2,Ff=3,vA=4,Bu=5,Wy=6,il=7,fd=[new Np(JV,0,!1),new Np(QE,0,!0),new Np(sy,1,!1),new Np(Ff,1,!0),new Np(vA,2,!1),new Np(Bu,2,!0),new Np(Wy,3,!1),new Np(il,3,!0)],xft=[vA,Bu,vA,Bu,Wy,il,Wy,il],Sft=[Bu,Bu,Bu,Bu,il,il,il,il],Eft=[sy,Ff,vA,Bu,Wy,il,Wy,il],kft=[Ff,Ff,Bu,Bu,il,il,il,il],Tft=[QE,QE,Ff,Ff,Bu,Bu,il,il],_ft=[JV,QE,sy,Ff,sy,Ff,sy,Ff],Gr={DISPLAY:fd[JV],TEXT:fd[sy],SCRIPT:fd[vA],SCRIPTSCRIPT:fd[Wy]},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 g8=[];PF.forEach(e=>e.blocks.forEach(t=>g8.push(...t)));function f3e(e){for(var t=0;t=g8[t]&&e<=g8[t+1])return!0;return!1}var zm=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,zm);break;case"sqrtSize1":o=Oft(n,zm);break;case"sqrtSize2":o=Mft(n,zm);break;case"sqrtSize3":o=Pft(n,zm);break;case"sqrtSize4":o=Nft(n,zm);break;case"sqrtTall":o=Bft(n,zm,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 QC{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 Ad={"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]}},qx={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){Ad[e]=t}function eq(e,t,n){if(!Ad[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),o=Ad[t][r];if(!o&&e[0]in Lre&&(r=Lre[e[0]].charCodeAt(0),o=Ad[t][r]),!o&&n==="text"&&f3e(r)&&(o=Ad[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:qx.quad[t]/18};for(var r in qx)qx.hasOwnProperty(r)&&(n[r]=qx[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 Af{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||Af.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 Af(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(Af.BASESIZE,t);return this.size===n&&this.textSize===Af.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!==Af.BASESIZE?["sizing","reset-size"+this.size,"size"+Af.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=$ft(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Af.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"},la=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 Hn("Invalid unit: '"+t.unit+"'");o!==n&&(r*=o.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Xn=function(t){return+t.toFixed(4)+"em"},d0=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=d0(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="'+Jo.escape(d0(this.classes))+'"');var r="";for(var o in this.style)this.style.hasOwnProperty(o)&&(r+=Jo.hyphenate(o)+":"+this.style[o]+";");r&&(n+=' style="'+Jo.escape(r)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(Wft.test(i))throw new Hn("Invalid attribute name '"+i+"'");n+=" "+i+'="'+Jo.escape(this.attributes[i])+'"'}n+=">";for(var a=0;a",n};class ZC{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=''+Jo.escape(this.alt)+'0&&(n=document.createElement("span"),n.style.marginRight=Xn(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=d0(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+=Jo.hyphenate(o)+":"+this.style[o]+";");r&&(t=!0,n+=' style="'+Jo.escape(r)+'"');var i=Jo.escape(this.text);return t?(n+=">",n+=i,n+="",n):i}}class rp{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},Li={math:{},text:{}};function ve(e,t,n,r,o,i){Li[e][o]={font:t,group:n,replace:r},i&&r&&(Li[e][r]=Li[e][o])}var Te="math",Un="text",Xe="main",kt="ams",ta="accent-token",yr="bin",gl="close",Wb="inner",qr="mathord",Va="op-token",bu="open",YD="punct",Dt="rel",yp="spacing",$t="textord";ve(Te,Xe,Dt,"≡","\\equiv",!0);ve(Te,Xe,Dt,"≺","\\prec",!0);ve(Te,Xe,Dt,"≻","\\succ",!0);ve(Te,Xe,Dt,"∼","\\sim",!0);ve(Te,Xe,Dt,"⊥","\\perp");ve(Te,Xe,Dt,"⪯","\\preceq",!0);ve(Te,Xe,Dt,"⪰","\\succeq",!0);ve(Te,Xe,Dt,"≃","\\simeq",!0);ve(Te,Xe,Dt,"∣","\\mid",!0);ve(Te,Xe,Dt,"≪","\\ll",!0);ve(Te,Xe,Dt,"≫","\\gg",!0);ve(Te,Xe,Dt,"≍","\\asymp",!0);ve(Te,Xe,Dt,"∥","\\parallel");ve(Te,Xe,Dt,"⋈","\\bowtie",!0);ve(Te,Xe,Dt,"⌣","\\smile",!0);ve(Te,Xe,Dt,"⊑","\\sqsubseteq",!0);ve(Te,Xe,Dt,"⊒","\\sqsupseteq",!0);ve(Te,Xe,Dt,"≐","\\doteq",!0);ve(Te,Xe,Dt,"⌢","\\frown",!0);ve(Te,Xe,Dt,"∋","\\ni",!0);ve(Te,Xe,Dt,"∝","\\propto",!0);ve(Te,Xe,Dt,"⊢","\\vdash",!0);ve(Te,Xe,Dt,"⊣","\\dashv",!0);ve(Te,Xe,Dt,"∋","\\owns");ve(Te,Xe,YD,".","\\ldotp");ve(Te,Xe,YD,"⋅","\\cdotp");ve(Te,Xe,$t,"#","\\#");ve(Un,Xe,$t,"#","\\#");ve(Te,Xe,$t,"&","\\&");ve(Un,Xe,$t,"&","\\&");ve(Te,Xe,$t,"ℵ","\\aleph",!0);ve(Te,Xe,$t,"∀","\\forall",!0);ve(Te,Xe,$t,"ℏ","\\hbar",!0);ve(Te,Xe,$t,"∃","\\exists",!0);ve(Te,Xe,$t,"∇","\\nabla",!0);ve(Te,Xe,$t,"♭","\\flat",!0);ve(Te,Xe,$t,"ℓ","\\ell",!0);ve(Te,Xe,$t,"♮","\\natural",!0);ve(Te,Xe,$t,"♣","\\clubsuit",!0);ve(Te,Xe,$t,"℘","\\wp",!0);ve(Te,Xe,$t,"♯","\\sharp",!0);ve(Te,Xe,$t,"♢","\\diamondsuit",!0);ve(Te,Xe,$t,"ℜ","\\Re",!0);ve(Te,Xe,$t,"♡","\\heartsuit",!0);ve(Te,Xe,$t,"ℑ","\\Im",!0);ve(Te,Xe,$t,"♠","\\spadesuit",!0);ve(Te,Xe,$t,"§","\\S",!0);ve(Un,Xe,$t,"§","\\S");ve(Te,Xe,$t,"¶","\\P",!0);ve(Un,Xe,$t,"¶","\\P");ve(Te,Xe,$t,"†","\\dag");ve(Un,Xe,$t,"†","\\dag");ve(Un,Xe,$t,"†","\\textdagger");ve(Te,Xe,$t,"‡","\\ddag");ve(Un,Xe,$t,"‡","\\ddag");ve(Un,Xe,$t,"‡","\\textdaggerdbl");ve(Te,Xe,gl,"⎱","\\rmoustache",!0);ve(Te,Xe,bu,"⎰","\\lmoustache",!0);ve(Te,Xe,gl,"⟯","\\rgroup",!0);ve(Te,Xe,bu,"⟮","\\lgroup",!0);ve(Te,Xe,yr,"∓","\\mp",!0);ve(Te,Xe,yr,"⊖","\\ominus",!0);ve(Te,Xe,yr,"⊎","\\uplus",!0);ve(Te,Xe,yr,"⊓","\\sqcap",!0);ve(Te,Xe,yr,"∗","\\ast");ve(Te,Xe,yr,"⊔","\\sqcup",!0);ve(Te,Xe,yr,"◯","\\bigcirc",!0);ve(Te,Xe,yr,"∙","\\bullet",!0);ve(Te,Xe,yr,"‡","\\ddagger");ve(Te,Xe,yr,"≀","\\wr",!0);ve(Te,Xe,yr,"⨿","\\amalg");ve(Te,Xe,yr,"&","\\And");ve(Te,Xe,Dt,"⟵","\\longleftarrow",!0);ve(Te,Xe,Dt,"⇐","\\Leftarrow",!0);ve(Te,Xe,Dt,"⟸","\\Longleftarrow",!0);ve(Te,Xe,Dt,"⟶","\\longrightarrow",!0);ve(Te,Xe,Dt,"⇒","\\Rightarrow",!0);ve(Te,Xe,Dt,"⟹","\\Longrightarrow",!0);ve(Te,Xe,Dt,"↔","\\leftrightarrow",!0);ve(Te,Xe,Dt,"⟷","\\longleftrightarrow",!0);ve(Te,Xe,Dt,"⇔","\\Leftrightarrow",!0);ve(Te,Xe,Dt,"⟺","\\Longleftrightarrow",!0);ve(Te,Xe,Dt,"↦","\\mapsto",!0);ve(Te,Xe,Dt,"⟼","\\longmapsto",!0);ve(Te,Xe,Dt,"↗","\\nearrow",!0);ve(Te,Xe,Dt,"↩","\\hookleftarrow",!0);ve(Te,Xe,Dt,"↪","\\hookrightarrow",!0);ve(Te,Xe,Dt,"↘","\\searrow",!0);ve(Te,Xe,Dt,"↼","\\leftharpoonup",!0);ve(Te,Xe,Dt,"⇀","\\rightharpoonup",!0);ve(Te,Xe,Dt,"↙","\\swarrow",!0);ve(Te,Xe,Dt,"↽","\\leftharpoondown",!0);ve(Te,Xe,Dt,"⇁","\\rightharpoondown",!0);ve(Te,Xe,Dt,"↖","\\nwarrow",!0);ve(Te,Xe,Dt,"⇌","\\rightleftharpoons",!0);ve(Te,kt,Dt,"≮","\\nless",!0);ve(Te,kt,Dt,"","\\@nleqslant");ve(Te,kt,Dt,"","\\@nleqq");ve(Te,kt,Dt,"⪇","\\lneq",!0);ve(Te,kt,Dt,"≨","\\lneqq",!0);ve(Te,kt,Dt,"","\\@lvertneqq");ve(Te,kt,Dt,"⋦","\\lnsim",!0);ve(Te,kt,Dt,"⪉","\\lnapprox",!0);ve(Te,kt,Dt,"⊀","\\nprec",!0);ve(Te,kt,Dt,"⋠","\\npreceq",!0);ve(Te,kt,Dt,"⋨","\\precnsim",!0);ve(Te,kt,Dt,"⪹","\\precnapprox",!0);ve(Te,kt,Dt,"≁","\\nsim",!0);ve(Te,kt,Dt,"","\\@nshortmid");ve(Te,kt,Dt,"∤","\\nmid",!0);ve(Te,kt,Dt,"⊬","\\nvdash",!0);ve(Te,kt,Dt,"⊭","\\nvDash",!0);ve(Te,kt,Dt,"⋪","\\ntriangleleft");ve(Te,kt,Dt,"⋬","\\ntrianglelefteq",!0);ve(Te,kt,Dt,"⊊","\\subsetneq",!0);ve(Te,kt,Dt,"","\\@varsubsetneq");ve(Te,kt,Dt,"⫋","\\subsetneqq",!0);ve(Te,kt,Dt,"","\\@varsubsetneqq");ve(Te,kt,Dt,"≯","\\ngtr",!0);ve(Te,kt,Dt,"","\\@ngeqslant");ve(Te,kt,Dt,"","\\@ngeqq");ve(Te,kt,Dt,"⪈","\\gneq",!0);ve(Te,kt,Dt,"≩","\\gneqq",!0);ve(Te,kt,Dt,"","\\@gvertneqq");ve(Te,kt,Dt,"⋧","\\gnsim",!0);ve(Te,kt,Dt,"⪊","\\gnapprox",!0);ve(Te,kt,Dt,"⊁","\\nsucc",!0);ve(Te,kt,Dt,"⋡","\\nsucceq",!0);ve(Te,kt,Dt,"⋩","\\succnsim",!0);ve(Te,kt,Dt,"⪺","\\succnapprox",!0);ve(Te,kt,Dt,"≆","\\ncong",!0);ve(Te,kt,Dt,"","\\@nshortparallel");ve(Te,kt,Dt,"∦","\\nparallel",!0);ve(Te,kt,Dt,"⊯","\\nVDash",!0);ve(Te,kt,Dt,"⋫","\\ntriangleright");ve(Te,kt,Dt,"⋭","\\ntrianglerighteq",!0);ve(Te,kt,Dt,"","\\@nsupseteqq");ve(Te,kt,Dt,"⊋","\\supsetneq",!0);ve(Te,kt,Dt,"","\\@varsupsetneq");ve(Te,kt,Dt,"⫌","\\supsetneqq",!0);ve(Te,kt,Dt,"","\\@varsupsetneqq");ve(Te,kt,Dt,"⊮","\\nVdash",!0);ve(Te,kt,Dt,"⪵","\\precneqq",!0);ve(Te,kt,Dt,"⪶","\\succneqq",!0);ve(Te,kt,Dt,"","\\@nsubseteqq");ve(Te,kt,yr,"⊴","\\unlhd");ve(Te,kt,yr,"⊵","\\unrhd");ve(Te,kt,Dt,"↚","\\nleftarrow",!0);ve(Te,kt,Dt,"↛","\\nrightarrow",!0);ve(Te,kt,Dt,"⇍","\\nLeftarrow",!0);ve(Te,kt,Dt,"⇏","\\nRightarrow",!0);ve(Te,kt,Dt,"↮","\\nleftrightarrow",!0);ve(Te,kt,Dt,"⇎","\\nLeftrightarrow",!0);ve(Te,kt,Dt,"△","\\vartriangle");ve(Te,kt,$t,"ℏ","\\hslash");ve(Te,kt,$t,"▽","\\triangledown");ve(Te,kt,$t,"◊","\\lozenge");ve(Te,kt,$t,"Ⓢ","\\circledS");ve(Te,kt,$t,"®","\\circledR");ve(Un,kt,$t,"®","\\circledR");ve(Te,kt,$t,"∡","\\measuredangle",!0);ve(Te,kt,$t,"∄","\\nexists");ve(Te,kt,$t,"℧","\\mho");ve(Te,kt,$t,"Ⅎ","\\Finv",!0);ve(Te,kt,$t,"⅁","\\Game",!0);ve(Te,kt,$t,"‵","\\backprime");ve(Te,kt,$t,"▲","\\blacktriangle");ve(Te,kt,$t,"▼","\\blacktriangledown");ve(Te,kt,$t,"■","\\blacksquare");ve(Te,kt,$t,"⧫","\\blacklozenge");ve(Te,kt,$t,"★","\\bigstar");ve(Te,kt,$t,"∢","\\sphericalangle",!0);ve(Te,kt,$t,"∁","\\complement",!0);ve(Te,kt,$t,"ð","\\eth",!0);ve(Un,Xe,$t,"ð","ð");ve(Te,kt,$t,"╱","\\diagup");ve(Te,kt,$t,"╲","\\diagdown");ve(Te,kt,$t,"□","\\square");ve(Te,kt,$t,"□","\\Box");ve(Te,kt,$t,"◊","\\Diamond");ve(Te,kt,$t,"¥","\\yen",!0);ve(Un,kt,$t,"¥","\\yen",!0);ve(Te,kt,$t,"✓","\\checkmark",!0);ve(Un,kt,$t,"✓","\\checkmark");ve(Te,kt,$t,"ℶ","\\beth",!0);ve(Te,kt,$t,"ℸ","\\daleth",!0);ve(Te,kt,$t,"ℷ","\\gimel",!0);ve(Te,kt,$t,"ϝ","\\digamma",!0);ve(Te,kt,$t,"ϰ","\\varkappa");ve(Te,kt,bu,"┌","\\@ulcorner",!0);ve(Te,kt,gl,"┐","\\@urcorner",!0);ve(Te,kt,bu,"└","\\@llcorner",!0);ve(Te,kt,gl,"┘","\\@lrcorner",!0);ve(Te,kt,Dt,"≦","\\leqq",!0);ve(Te,kt,Dt,"⩽","\\leqslant",!0);ve(Te,kt,Dt,"⪕","\\eqslantless",!0);ve(Te,kt,Dt,"≲","\\lesssim",!0);ve(Te,kt,Dt,"⪅","\\lessapprox",!0);ve(Te,kt,Dt,"≊","\\approxeq",!0);ve(Te,kt,yr,"⋖","\\lessdot");ve(Te,kt,Dt,"⋘","\\lll",!0);ve(Te,kt,Dt,"≶","\\lessgtr",!0);ve(Te,kt,Dt,"⋚","\\lesseqgtr",!0);ve(Te,kt,Dt,"⪋","\\lesseqqgtr",!0);ve(Te,kt,Dt,"≑","\\doteqdot");ve(Te,kt,Dt,"≓","\\risingdotseq",!0);ve(Te,kt,Dt,"≒","\\fallingdotseq",!0);ve(Te,kt,Dt,"∽","\\backsim",!0);ve(Te,kt,Dt,"⋍","\\backsimeq",!0);ve(Te,kt,Dt,"⫅","\\subseteqq",!0);ve(Te,kt,Dt,"⋐","\\Subset",!0);ve(Te,kt,Dt,"⊏","\\sqsubset",!0);ve(Te,kt,Dt,"≼","\\preccurlyeq",!0);ve(Te,kt,Dt,"⋞","\\curlyeqprec",!0);ve(Te,kt,Dt,"≾","\\precsim",!0);ve(Te,kt,Dt,"⪷","\\precapprox",!0);ve(Te,kt,Dt,"⊲","\\vartriangleleft");ve(Te,kt,Dt,"⊴","\\trianglelefteq");ve(Te,kt,Dt,"⊨","\\vDash",!0);ve(Te,kt,Dt,"⊪","\\Vvdash",!0);ve(Te,kt,Dt,"⌣","\\smallsmile");ve(Te,kt,Dt,"⌢","\\smallfrown");ve(Te,kt,Dt,"≏","\\bumpeq",!0);ve(Te,kt,Dt,"≎","\\Bumpeq",!0);ve(Te,kt,Dt,"≧","\\geqq",!0);ve(Te,kt,Dt,"⩾","\\geqslant",!0);ve(Te,kt,Dt,"⪖","\\eqslantgtr",!0);ve(Te,kt,Dt,"≳","\\gtrsim",!0);ve(Te,kt,Dt,"⪆","\\gtrapprox",!0);ve(Te,kt,yr,"⋗","\\gtrdot");ve(Te,kt,Dt,"⋙","\\ggg",!0);ve(Te,kt,Dt,"≷","\\gtrless",!0);ve(Te,kt,Dt,"⋛","\\gtreqless",!0);ve(Te,kt,Dt,"⪌","\\gtreqqless",!0);ve(Te,kt,Dt,"≖","\\eqcirc",!0);ve(Te,kt,Dt,"≗","\\circeq",!0);ve(Te,kt,Dt,"≜","\\triangleq",!0);ve(Te,kt,Dt,"∼","\\thicksim");ve(Te,kt,Dt,"≈","\\thickapprox");ve(Te,kt,Dt,"⫆","\\supseteqq",!0);ve(Te,kt,Dt,"⋑","\\Supset",!0);ve(Te,kt,Dt,"⊐","\\sqsupset",!0);ve(Te,kt,Dt,"≽","\\succcurlyeq",!0);ve(Te,kt,Dt,"⋟","\\curlyeqsucc",!0);ve(Te,kt,Dt,"≿","\\succsim",!0);ve(Te,kt,Dt,"⪸","\\succapprox",!0);ve(Te,kt,Dt,"⊳","\\vartriangleright");ve(Te,kt,Dt,"⊵","\\trianglerighteq");ve(Te,kt,Dt,"⊩","\\Vdash",!0);ve(Te,kt,Dt,"∣","\\shortmid");ve(Te,kt,Dt,"∥","\\shortparallel");ve(Te,kt,Dt,"≬","\\between",!0);ve(Te,kt,Dt,"⋔","\\pitchfork",!0);ve(Te,kt,Dt,"∝","\\varpropto");ve(Te,kt,Dt,"◀","\\blacktriangleleft");ve(Te,kt,Dt,"∴","\\therefore",!0);ve(Te,kt,Dt,"∍","\\backepsilon");ve(Te,kt,Dt,"▶","\\blacktriangleright");ve(Te,kt,Dt,"∵","\\because",!0);ve(Te,kt,Dt,"⋘","\\llless");ve(Te,kt,Dt,"⋙","\\gggtr");ve(Te,kt,yr,"⊲","\\lhd");ve(Te,kt,yr,"⊳","\\rhd");ve(Te,kt,Dt,"≂","\\eqsim",!0);ve(Te,Xe,Dt,"⋈","\\Join");ve(Te,kt,Dt,"≑","\\Doteq",!0);ve(Te,kt,yr,"∔","\\dotplus",!0);ve(Te,kt,yr,"∖","\\smallsetminus");ve(Te,kt,yr,"⋒","\\Cap",!0);ve(Te,kt,yr,"⋓","\\Cup",!0);ve(Te,kt,yr,"⩞","\\doublebarwedge",!0);ve(Te,kt,yr,"⊟","\\boxminus",!0);ve(Te,kt,yr,"⊞","\\boxplus",!0);ve(Te,kt,yr,"⋇","\\divideontimes",!0);ve(Te,kt,yr,"⋉","\\ltimes",!0);ve(Te,kt,yr,"⋊","\\rtimes",!0);ve(Te,kt,yr,"⋋","\\leftthreetimes",!0);ve(Te,kt,yr,"⋌","\\rightthreetimes",!0);ve(Te,kt,yr,"⋏","\\curlywedge",!0);ve(Te,kt,yr,"⋎","\\curlyvee",!0);ve(Te,kt,yr,"⊝","\\circleddash",!0);ve(Te,kt,yr,"⊛","\\circledast",!0);ve(Te,kt,yr,"⋅","\\centerdot");ve(Te,kt,yr,"⊺","\\intercal",!0);ve(Te,kt,yr,"⋒","\\doublecap");ve(Te,kt,yr,"⋓","\\doublecup");ve(Te,kt,yr,"⊠","\\boxtimes",!0);ve(Te,kt,Dt,"⇢","\\dashrightarrow",!0);ve(Te,kt,Dt,"⇠","\\dashleftarrow",!0);ve(Te,kt,Dt,"⇇","\\leftleftarrows",!0);ve(Te,kt,Dt,"⇆","\\leftrightarrows",!0);ve(Te,kt,Dt,"⇚","\\Lleftarrow",!0);ve(Te,kt,Dt,"↞","\\twoheadleftarrow",!0);ve(Te,kt,Dt,"↢","\\leftarrowtail",!0);ve(Te,kt,Dt,"↫","\\looparrowleft",!0);ve(Te,kt,Dt,"⇋","\\leftrightharpoons",!0);ve(Te,kt,Dt,"↶","\\curvearrowleft",!0);ve(Te,kt,Dt,"↺","\\circlearrowleft",!0);ve(Te,kt,Dt,"↰","\\Lsh",!0);ve(Te,kt,Dt,"⇈","\\upuparrows",!0);ve(Te,kt,Dt,"↿","\\upharpoonleft",!0);ve(Te,kt,Dt,"⇃","\\downharpoonleft",!0);ve(Te,Xe,Dt,"⊶","\\origof",!0);ve(Te,Xe,Dt,"⊷","\\imageof",!0);ve(Te,kt,Dt,"⊸","\\multimap",!0);ve(Te,kt,Dt,"↭","\\leftrightsquigarrow",!0);ve(Te,kt,Dt,"⇉","\\rightrightarrows",!0);ve(Te,kt,Dt,"⇄","\\rightleftarrows",!0);ve(Te,kt,Dt,"↠","\\twoheadrightarrow",!0);ve(Te,kt,Dt,"↣","\\rightarrowtail",!0);ve(Te,kt,Dt,"↬","\\looparrowright",!0);ve(Te,kt,Dt,"↷","\\curvearrowright",!0);ve(Te,kt,Dt,"↻","\\circlearrowright",!0);ve(Te,kt,Dt,"↱","\\Rsh",!0);ve(Te,kt,Dt,"⇊","\\downdownarrows",!0);ve(Te,kt,Dt,"↾","\\upharpoonright",!0);ve(Te,kt,Dt,"⇂","\\downharpoonright",!0);ve(Te,kt,Dt,"⇝","\\rightsquigarrow",!0);ve(Te,kt,Dt,"⇝","\\leadsto");ve(Te,kt,Dt,"⇛","\\Rrightarrow",!0);ve(Te,kt,Dt,"↾","\\restriction");ve(Te,Xe,$t,"‘","`");ve(Te,Xe,$t,"$","\\$");ve(Un,Xe,$t,"$","\\$");ve(Un,Xe,$t,"$","\\textdollar");ve(Te,Xe,$t,"%","\\%");ve(Un,Xe,$t,"%","\\%");ve(Te,Xe,$t,"_","\\_");ve(Un,Xe,$t,"_","\\_");ve(Un,Xe,$t,"_","\\textunderscore");ve(Te,Xe,$t,"∠","\\angle",!0);ve(Te,Xe,$t,"∞","\\infty",!0);ve(Te,Xe,$t,"′","\\prime");ve(Te,Xe,$t,"△","\\triangle");ve(Te,Xe,$t,"Γ","\\Gamma",!0);ve(Te,Xe,$t,"Δ","\\Delta",!0);ve(Te,Xe,$t,"Θ","\\Theta",!0);ve(Te,Xe,$t,"Λ","\\Lambda",!0);ve(Te,Xe,$t,"Ξ","\\Xi",!0);ve(Te,Xe,$t,"Π","\\Pi",!0);ve(Te,Xe,$t,"Σ","\\Sigma",!0);ve(Te,Xe,$t,"Υ","\\Upsilon",!0);ve(Te,Xe,$t,"Φ","\\Phi",!0);ve(Te,Xe,$t,"Ψ","\\Psi",!0);ve(Te,Xe,$t,"Ω","\\Omega",!0);ve(Te,Xe,$t,"A","Α");ve(Te,Xe,$t,"B","Β");ve(Te,Xe,$t,"E","Ε");ve(Te,Xe,$t,"Z","Ζ");ve(Te,Xe,$t,"H","Η");ve(Te,Xe,$t,"I","Ι");ve(Te,Xe,$t,"K","Κ");ve(Te,Xe,$t,"M","Μ");ve(Te,Xe,$t,"N","Ν");ve(Te,Xe,$t,"O","Ο");ve(Te,Xe,$t,"P","Ρ");ve(Te,Xe,$t,"T","Τ");ve(Te,Xe,$t,"X","Χ");ve(Te,Xe,$t,"¬","\\neg",!0);ve(Te,Xe,$t,"¬","\\lnot");ve(Te,Xe,$t,"⊤","\\top");ve(Te,Xe,$t,"⊥","\\bot");ve(Te,Xe,$t,"∅","\\emptyset");ve(Te,kt,$t,"∅","\\varnothing");ve(Te,Xe,qr,"α","\\alpha",!0);ve(Te,Xe,qr,"β","\\beta",!0);ve(Te,Xe,qr,"γ","\\gamma",!0);ve(Te,Xe,qr,"δ","\\delta",!0);ve(Te,Xe,qr,"ϵ","\\epsilon",!0);ve(Te,Xe,qr,"ζ","\\zeta",!0);ve(Te,Xe,qr,"η","\\eta",!0);ve(Te,Xe,qr,"θ","\\theta",!0);ve(Te,Xe,qr,"ι","\\iota",!0);ve(Te,Xe,qr,"κ","\\kappa",!0);ve(Te,Xe,qr,"λ","\\lambda",!0);ve(Te,Xe,qr,"μ","\\mu",!0);ve(Te,Xe,qr,"ν","\\nu",!0);ve(Te,Xe,qr,"ξ","\\xi",!0);ve(Te,Xe,qr,"ο","\\omicron",!0);ve(Te,Xe,qr,"π","\\pi",!0);ve(Te,Xe,qr,"ρ","\\rho",!0);ve(Te,Xe,qr,"σ","\\sigma",!0);ve(Te,Xe,qr,"τ","\\tau",!0);ve(Te,Xe,qr,"υ","\\upsilon",!0);ve(Te,Xe,qr,"ϕ","\\phi",!0);ve(Te,Xe,qr,"χ","\\chi",!0);ve(Te,Xe,qr,"ψ","\\psi",!0);ve(Te,Xe,qr,"ω","\\omega",!0);ve(Te,Xe,qr,"ε","\\varepsilon",!0);ve(Te,Xe,qr,"ϑ","\\vartheta",!0);ve(Te,Xe,qr,"ϖ","\\varpi",!0);ve(Te,Xe,qr,"ϱ","\\varrho",!0);ve(Te,Xe,qr,"ς","\\varsigma",!0);ve(Te,Xe,qr,"φ","\\varphi",!0);ve(Te,Xe,yr,"∗","*",!0);ve(Te,Xe,yr,"+","+");ve(Te,Xe,yr,"−","-",!0);ve(Te,Xe,yr,"⋅","\\cdot",!0);ve(Te,Xe,yr,"∘","\\circ",!0);ve(Te,Xe,yr,"÷","\\div",!0);ve(Te,Xe,yr,"±","\\pm",!0);ve(Te,Xe,yr,"×","\\times",!0);ve(Te,Xe,yr,"∩","\\cap",!0);ve(Te,Xe,yr,"∪","\\cup",!0);ve(Te,Xe,yr,"∖","\\setminus",!0);ve(Te,Xe,yr,"∧","\\land");ve(Te,Xe,yr,"∨","\\lor");ve(Te,Xe,yr,"∧","\\wedge",!0);ve(Te,Xe,yr,"∨","\\vee",!0);ve(Te,Xe,$t,"√","\\surd");ve(Te,Xe,bu,"⟨","\\langle",!0);ve(Te,Xe,bu,"∣","\\lvert");ve(Te,Xe,bu,"∥","\\lVert");ve(Te,Xe,gl,"?","?");ve(Te,Xe,gl,"!","!");ve(Te,Xe,gl,"⟩","\\rangle",!0);ve(Te,Xe,gl,"∣","\\rvert");ve(Te,Xe,gl,"∥","\\rVert");ve(Te,Xe,Dt,"=","=");ve(Te,Xe,Dt,":",":");ve(Te,Xe,Dt,"≈","\\approx",!0);ve(Te,Xe,Dt,"≅","\\cong",!0);ve(Te,Xe,Dt,"≥","\\ge");ve(Te,Xe,Dt,"≥","\\geq",!0);ve(Te,Xe,Dt,"←","\\gets");ve(Te,Xe,Dt,">","\\gt",!0);ve(Te,Xe,Dt,"∈","\\in",!0);ve(Te,Xe,Dt,"","\\@not");ve(Te,Xe,Dt,"⊂","\\subset",!0);ve(Te,Xe,Dt,"⊃","\\supset",!0);ve(Te,Xe,Dt,"⊆","\\subseteq",!0);ve(Te,Xe,Dt,"⊇","\\supseteq",!0);ve(Te,kt,Dt,"⊈","\\nsubseteq",!0);ve(Te,kt,Dt,"⊉","\\nsupseteq",!0);ve(Te,Xe,Dt,"⊨","\\models");ve(Te,Xe,Dt,"←","\\leftarrow",!0);ve(Te,Xe,Dt,"≤","\\le");ve(Te,Xe,Dt,"≤","\\leq",!0);ve(Te,Xe,Dt,"<","\\lt",!0);ve(Te,Xe,Dt,"→","\\rightarrow",!0);ve(Te,Xe,Dt,"→","\\to");ve(Te,kt,Dt,"≱","\\ngeq",!0);ve(Te,kt,Dt,"≰","\\nleq",!0);ve(Te,Xe,yp," ","\\ ");ve(Te,Xe,yp," ","\\space");ve(Te,Xe,yp," ","\\nobreakspace");ve(Un,Xe,yp," ","\\ ");ve(Un,Xe,yp," "," ");ve(Un,Xe,yp," ","\\space");ve(Un,Xe,yp," ","\\nobreakspace");ve(Te,Xe,yp,null,"\\nobreak");ve(Te,Xe,yp,null,"\\allowbreak");ve(Te,Xe,YD,",",",");ve(Te,Xe,YD,";",";");ve(Te,kt,yr,"⊼","\\barwedge",!0);ve(Te,kt,yr,"⊻","\\veebar",!0);ve(Te,Xe,yr,"⊙","\\odot",!0);ve(Te,Xe,yr,"⊕","\\oplus",!0);ve(Te,Xe,yr,"⊗","\\otimes",!0);ve(Te,Xe,$t,"∂","\\partial",!0);ve(Te,Xe,yr,"⊘","\\oslash",!0);ve(Te,kt,yr,"⊚","\\circledcirc",!0);ve(Te,kt,yr,"⊡","\\boxdot",!0);ve(Te,Xe,yr,"△","\\bigtriangleup");ve(Te,Xe,yr,"▽","\\bigtriangledown");ve(Te,Xe,yr,"†","\\dagger");ve(Te,Xe,yr,"⋄","\\diamond");ve(Te,Xe,yr,"⋆","\\star");ve(Te,Xe,yr,"◃","\\triangleleft");ve(Te,Xe,yr,"▹","\\triangleright");ve(Te,Xe,bu,"{","\\{");ve(Un,Xe,$t,"{","\\{");ve(Un,Xe,$t,"{","\\textbraceleft");ve(Te,Xe,gl,"}","\\}");ve(Un,Xe,$t,"}","\\}");ve(Un,Xe,$t,"}","\\textbraceright");ve(Te,Xe,bu,"{","\\lbrace");ve(Te,Xe,gl,"}","\\rbrace");ve(Te,Xe,bu,"[","\\lbrack",!0);ve(Un,Xe,$t,"[","\\lbrack",!0);ve(Te,Xe,gl,"]","\\rbrack",!0);ve(Un,Xe,$t,"]","\\rbrack",!0);ve(Te,Xe,bu,"(","\\lparen",!0);ve(Te,Xe,gl,")","\\rparen",!0);ve(Un,Xe,$t,"<","\\textless",!0);ve(Un,Xe,$t,">","\\textgreater",!0);ve(Te,Xe,bu,"⌊","\\lfloor",!0);ve(Te,Xe,gl,"⌋","\\rfloor",!0);ve(Te,Xe,bu,"⌈","\\lceil",!0);ve(Te,Xe,gl,"⌉","\\rceil",!0);ve(Te,Xe,$t,"\\","\\backslash");ve(Te,Xe,$t,"∣","|");ve(Te,Xe,$t,"∣","\\vert");ve(Un,Xe,$t,"|","\\textbar",!0);ve(Te,Xe,$t,"∥","\\|");ve(Te,Xe,$t,"∥","\\Vert");ve(Un,Xe,$t,"∥","\\textbardbl");ve(Un,Xe,$t,"~","\\textasciitilde");ve(Un,Xe,$t,"\\","\\textbackslash");ve(Un,Xe,$t,"^","\\textasciicircum");ve(Te,Xe,Dt,"↑","\\uparrow",!0);ve(Te,Xe,Dt,"⇑","\\Uparrow",!0);ve(Te,Xe,Dt,"↓","\\downarrow",!0);ve(Te,Xe,Dt,"⇓","\\Downarrow",!0);ve(Te,Xe,Dt,"↕","\\updownarrow",!0);ve(Te,Xe,Dt,"⇕","\\Updownarrow",!0);ve(Te,Xe,Va,"∐","\\coprod");ve(Te,Xe,Va,"⋁","\\bigvee");ve(Te,Xe,Va,"⋀","\\bigwedge");ve(Te,Xe,Va,"⨄","\\biguplus");ve(Te,Xe,Va,"⋂","\\bigcap");ve(Te,Xe,Va,"⋃","\\bigcup");ve(Te,Xe,Va,"∫","\\int");ve(Te,Xe,Va,"∫","\\intop");ve(Te,Xe,Va,"∬","\\iint");ve(Te,Xe,Va,"∭","\\iiint");ve(Te,Xe,Va,"∏","\\prod");ve(Te,Xe,Va,"∑","\\sum");ve(Te,Xe,Va,"⨂","\\bigotimes");ve(Te,Xe,Va,"⨁","\\bigoplus");ve(Te,Xe,Va,"⨀","\\bigodot");ve(Te,Xe,Va,"∮","\\oint");ve(Te,Xe,Va,"∯","\\oiint");ve(Te,Xe,Va,"∰","\\oiiint");ve(Te,Xe,Va,"⨆","\\bigsqcup");ve(Te,Xe,Va,"∫","\\smallint");ve(Un,Xe,Wb,"…","\\textellipsis");ve(Te,Xe,Wb,"…","\\mathellipsis");ve(Un,Xe,Wb,"…","\\ldots",!0);ve(Te,Xe,Wb,"…","\\ldots",!0);ve(Te,Xe,Wb,"⋯","\\@cdots",!0);ve(Te,Xe,Wb,"⋱","\\ddots",!0);ve(Te,Xe,$t,"⋮","\\varvdots");ve(Un,Xe,$t,"⋮","\\varvdots");ve(Te,Xe,ta,"ˊ","\\acute");ve(Te,Xe,ta,"ˋ","\\grave");ve(Te,Xe,ta,"¨","\\ddot");ve(Te,Xe,ta,"~","\\tilde");ve(Te,Xe,ta,"ˉ","\\bar");ve(Te,Xe,ta,"˘","\\breve");ve(Te,Xe,ta,"ˇ","\\check");ve(Te,Xe,ta,"^","\\hat");ve(Te,Xe,ta,"⃗","\\vec");ve(Te,Xe,ta,"˙","\\dot");ve(Te,Xe,ta,"˚","\\mathring");ve(Te,Xe,qr,"","\\@imath");ve(Te,Xe,qr,"","\\@jmath");ve(Te,Xe,$t,"ı","ı");ve(Te,Xe,$t,"ȷ","ȷ");ve(Un,Xe,$t,"ı","\\i",!0);ve(Un,Xe,$t,"ȷ","\\j",!0);ve(Un,Xe,$t,"ß","\\ss",!0);ve(Un,Xe,$t,"æ","\\ae",!0);ve(Un,Xe,$t,"œ","\\oe",!0);ve(Un,Xe,$t,"ø","\\o",!0);ve(Un,Xe,$t,"Æ","\\AE",!0);ve(Un,Xe,$t,"Œ","\\OE",!0);ve(Un,Xe,$t,"Ø","\\O",!0);ve(Un,Xe,ta,"ˊ","\\'");ve(Un,Xe,ta,"ˋ","\\`");ve(Un,Xe,ta,"ˆ","\\^");ve(Un,Xe,ta,"˜","\\~");ve(Un,Xe,ta,"ˉ","\\=");ve(Un,Xe,ta,"˘","\\u");ve(Un,Xe,ta,"˙","\\.");ve(Un,Xe,ta,"¸","\\c");ve(Un,Xe,ta,"˚","\\r");ve(Un,Xe,ta,"ˇ","\\v");ve(Un,Xe,ta,"¨",'\\"');ve(Un,Xe,ta,"˝","\\H");ve(Un,Xe,ta,"◯","\\textcircled");var m3e={"--":!0,"---":!0,"``":!0,"''":!0};ve(Un,Xe,$t,"–","--",!0);ve(Un,Xe,$t,"–","\\textendash");ve(Un,Xe,$t,"—","---",!0);ve(Un,Xe,$t,"—","\\textemdash");ve(Un,Xe,$t,"‘","`",!0);ve(Un,Xe,$t,"‘","\\textquoteleft");ve(Un,Xe,$t,"’","'",!0);ve(Un,Xe,$t,"’","\\textquoteright");ve(Un,Xe,$t,"“","``",!0);ve(Un,Xe,$t,"“","\\textquotedblleft");ve(Un,Xe,$t,"”","''",!0);ve(Un,Xe,$t,"”","\\textquotedblright");ve(Te,Xe,$t,"°","\\degree",!0);ve(Un,Xe,$t,"°","\\degree");ve(Un,Xe,$t,"°","\\textdegree",!0);ve(Te,Xe,$t,"£","\\pounds");ve(Te,Xe,$t,"£","\\mathsterling",!0);ve(Un,Xe,$t,"£","\\pounds");ve(Un,Xe,$t,"£","\\textsterling",!0);ve(Te,kt,$t,"✠","\\maltese");ve(Un,kt,$t,"✠","\\maltese");var $re='0123456789/@."';for(var XO=0;XO<$re.length;XO++){var jre=$re.charAt(XO);ve(Te,Xe,$t,jre,jre)}var Hre='0123456789!@*()-=+";:?/.,';for(var JO=0;JO0)return pc(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=Qx(l,n.fontWeight,n.fontShape),f=[l,n.fontWeight,n.fontShape]);if(QD(i,c,o).metrics)return pc(i,c,o,n,a.concat(f));if(m3e.hasOwnProperty(i)&&c.slice(0,10)==="Typewriter"){for(var v=[],h=0;h{if(d0(e.classes)!==d0(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},wl=function(t,n,r,o){var i=new ZC(t,n,r,o);return nq(i),i},y3e=(e,t,n,r)=>new ZC(e,t,n,r),npt=function(t,n,r){var o=wl([t],[],n);return o.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),o.style.borderBottomWidth=Xn(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 QC(t);return nq(n),n},opt=function(t,n){return t instanceof QC?wl([],[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=wl(["mspace"],[],t),r=la(e,t);return n.style.marginRight=Xn(r),n},Qx=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 f0(r),s=new rp([a],{width:Xn(o),height:Xn(i),style:"width:"+Xn(o),viewBox:"0 0 "+1e3*o+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=y3e(["overlay"],[s],n);return l.height=i,l.style.height=Xn(i),l.style.width=Xn(o),l},nn={fontMap:w3e,makeSymbol:pc,mathsym:Zft,makeSpan:wl,makeSvgSpan:y3e,makeLineSpan:npt,makeAnchor:rpt,makeFragment:b3e,wrapFragment:opt,makeVList:apt,makeOrd:Jft,makeGlue:spt,staticSvg:lpt,svgData:A3e,tryCombineChars:tpt},aa={number:3,unit:"mu"},Q0={number:4,unit:"mu"},df={number:5,unit:"mu"},upt={mord:{mop:aa,mbin:Q0,mrel:df,minner:aa},mop:{mord:aa,mop:aa,mrel:df,minner:aa},mbin:{mord:Q0,mop:Q0,mopen:Q0,minner:Q0},mrel:{mord:df,mop:df,mopen:df,minner:df},mopen:{},mclose:{mop:aa,mbin:Q0,mrel:df,minner:aa},mpunct:{mord:aa,mop:aa,mrel:df,mopen:aa,mclose:aa,mpunct:aa,minner:aa},minner:{mord:aa,mop:aa,mbin:Q0,mrel:df,mopen:aa,mpunct:aa,minner:aa}},cpt={mord:{mop:aa},mop:{mord:aa,mop:aa},mbin:{},mrel:{},mopen:{},mclose:{mop:aa},mpunct:{},minner:{mop:aa}},C3e={},XE={},JE={};function ur(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 nn.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 QC||t instanceof tq||t instanceof ZC&&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},mA=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return op(n.concat(r))},Zo=function(t,n,r){if(!t)return op();if(XE[t.type]){var o=XE[t.type](t,n);if(r&&n.size!==r.size){o=op(n.sizingClasses(r),[o],n);var i=n.sizeMultiplier/r.sizeMultiplier;o.height*=i,o.depth*=i}return o}else throw new Hn("Got group of unknown type: '"+t.type+"'")};function Zx(e,t){var n=op(["base"],e,t),r=op(["strut"]);return r.style.height=Xn(n.height+n.depth),n.depth&&(r.style.verticalAlign=Xn(-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=ns(e,t,"root"),o;r.length===2&&r[1].hasClass("tag")&&(o=r.pop());for(var i=[],a=[],s=0;s0&&(i.push(Zx(a,t)),a=[]),i.push(r[s]));a.length>0&&i.push(Zx(a,t));var u;n?(u=Zx(ns(n,t,!0)),u.classes=["tag"],i.push(u)):o&&i.push(o);var d=op(["katex-html"],i);if(d.setAttribute("aria-hidden","true"),u){var c=u.children[0];c.style.height=Xn(d.height+d.depth),d.depth&&(c.style.verticalAlign=Xn(-d.depth))}return d}function S3e(e){return new QC(e)}class eu{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=d0(this.classes));for(var r=0;r0&&(t+=' class ="'+Jo.escape(d0(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Cd{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Jo.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",Xn(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var $n={MathNode:eu,TextNode:Cd,SpaceNode:vpt,newDocumentFragment:S3e},Xu=function(t,n,r){return Li[n][t]&&Li[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=Li[n][t].replace),new $n.TextNode(t)},rq=function(t){return t.length===1?t[0]:new $n.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;Li[o][i]&&Li[o][i].replace&&(i=Li[o][i].replace);var a=nn.fontMap[r].fontName;return eq(i,a,o)?nn.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 Cd&&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 Cd&&n.text===","}else return!1}var ql=function(t,n,r){if(t.length===1){var o=Di(t[0],n);return r&&o instanceof eu&&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 eu&&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 Cd&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var c=l.children[0];c instanceof Cd&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(l),a=l}return i},p0=function(t,n,r){return rq(ql(t,n,r))},Di=function(t,n){if(!t)return new $n.MathNode("mrow");if(JE[t.type]){var r=JE[t.type](t,n);return r}else throw new Hn("Got group of unknown type: '"+t.type+"'")};function Gre(e,t,n,r,o){var i=ql(e,n),a;i.length===1&&i[0]instanceof eu&&["mrow","mtable"].includes(i[0].type)?a=i[0]:a=new $n.MathNode("mrow",i);var s=new $n.MathNode("annotation",[new $n.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new $n.MathNode("semantics",[a,s]),u=new $n.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 nn.makeSpan([d],[u])}var E3e=function(t){return new Af({style:t.displayMode?Gr.DISPLAY:Gr.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=nn.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=nn.makeSpan(["katex"],[a])}else{var s=Gre(t,n,o,r.displayMode,!1),l=FF(t,o);i=nn.makeSpan(["katex"],[s,l])}return k3e(i,r)},ypt=function(t,n,r){var o=E3e(r),i=FF(t,o),a=nn.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 $n.MathNode("mo",[new $n.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 f0(f),g=new rp([h],{width:"100%",height:Xn(p),viewBox:"0 0 "+s+" "+c,preserveAspectRatio:"none"});return{span:nn.makeSvgSpan([],[g],n),minWidth:0,height:p}}else{var y=[],m=Apt[l],[b,w,A]=m,S=A/1e3,k=b.length,O,I;if(k===1){var P=m[3];O=["hide-tail"],I=[P]}else if(k===2)O=["halfarrow-left","halfarrow-right"],I=["xMinYMin","xMaxYMin"];else if(k===3)O=["brace-left","brace-center","brace-right"],I=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+k+" children.");for(var M=0;M0&&(o.style.minWidth=Xn(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=nn.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 rp(u,{width:"100%",height:Xn(s)});a=nn.makeSvgSpan([],[d],i)}return a.height=s,a.style.height=Xn(s),a},ip={encloseSpan:Spt,mathMLnode:wpt,svgSpan:xpt};function Eo(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=ZD(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 ZD(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=Eo(e.base,"accent"),n=r.base,e.base=n,o=Gft(Zo(e,t)),e.base=r):(r=Eo(e,"accent"),n=r.base);var i=Zo(n,t.havingCrampedStyle()),a=r.isShifty&&Jo.isCharacterBox(n),s=0;if(a){var l=Jo.getBaseElem(n),u=Zo(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=ip.svgSpan(r,t),f=nn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+Xn(2*s)+")",marginLeft:Xn(2*s)}:void 0}]},t);else{var p,v;r.label==="\\vec"?(p=nn.staticSvg("vec",t),v=nn.svgData.vec[1]):(p=nn.makeOrd({mode:r.mode,text:r.label},t,"textord"),p=zre(p),p.italic=0,v=p.width,d&&(c+=p.depth)),f=nn.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=Xn(g),r.label==="\\textcircled"&&(f.style.top=".2em"),f=nn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:f}]},t)}var y=nn.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?ip.mathMLnode(e.label):new $n.MathNode("mo",[Xu(e.label,e.mode)]),r=new $n.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("|"));ur({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=ek(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});ur({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});ur({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=Zo(e.base,t),r=ip.svgSpan(e,t),o=e.label==="\\utilde"?.12:0,i=nn.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:n}]},t);return nn.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var n=ip.mathMLnode(e.label),r=new $n.MathNode("munder",[Di(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Xx=e=>{var t=new $n.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ur({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=nn.wrapFragment(Zo(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=nn.wrapFragment(Zo(e.below,r,t),t),a.classes.push(i+"-arrow-pad"));var s=ip.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=nn.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=nn.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"),nn.makeSpan(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var n=ip.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var o=Xx(Di(e.body,t));if(e.below){var i=Xx(Di(e.below,t));r=new $n.MathNode("munderover",[n,i,o])}else r=new $n.MathNode("mover",[n,o])}else if(e.below){var a=Xx(Di(e.below,t));r=new $n.MathNode("munder",[n,a])}else r=Xx(),r=new $n.MathNode("mover",[n,r]);return r}});var kpt=nn.makeSpan;function _3e(e,t){var n=ns(e.body,t,!0);return kpt([e.mclass],n,t)}function D3e(e,t){var n,r=ql(e.body,t);return e.mclass==="minner"?n=new $n.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new $n.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new $n.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}ur({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:Ea(o),isCharacterBox:Jo.isCharacterBox(o)}},htmlBuilder:_3e,mathmlBuilder:D3e});var XD=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"};ur({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:XD(t[0]),body:Ea(t[1]),isCharacterBox:Jo.isCharacterBox(t[1])}}});ur({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=XD(o):a="mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Ea(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:Jo.isCharacterBox(l)}},htmlBuilder:_3e,mathmlBuilder:D3e});ur({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:XD(t[0]),body:Ea(t[0])}},htmlBuilder(e,t){var n=ns(e.body,t,!0),r=nn.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=ql(e.body,t),r=new $n.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 Hn("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([])}}ur({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=nn.wrapFragment(Zo(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Xn(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new $n.MathNode("mrow",[Di(e.label,t)]);return n=new $n.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new $n.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ur({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=nn.wrapFragment(Zo(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new $n.MathNode("mrow",[Di(e.fragment,t)])}});ur({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Eo(t[0],"ordgroup"),o=r.body,i="",a=0;a=1114111)throw new Hn("\\@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=ns(e.body,t.withColor(e.color),!1);return nn.makeFragment(n)},O3e=(e,t)=>{var n=ql(e.body,t.withColor(e.color)),r=new $n.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};ur({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Eo(t[0],"color-token").color,o=t[1];return{type:"color",mode:n.mode,color:r,body:Ea(o)}},htmlBuilder:I3e,mathmlBuilder:O3e});ur({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,o=Eo(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});ur({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&&Eo(o,"size").value}},htmlBuilder(e,t){var n=nn.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Xn(la(e.size,t)))),n},mathmlBuilder(e,t){var n=new $n.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Xn(la(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 Hn("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)};ur({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]),Eo(t.parseFunction(),"internal");throw new Hn("Invalid token after macro prefix",r)}});ur({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 Hn("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 Hn('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==i+1)throw new Hn('Argument number "'+r.text+'" out of order');i++,s.push([])}else{if(r.text==="EOF")throw new Hn("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}}});ur({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}}});ur({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 x4=function(t,n,r){var o=Li.math[t]&&Li.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=nn.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=Xn(i),t.height-=i,t.depth+=i},Mpt=function(t,n,r,o,i,a){var s=nn.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 nn.makeSymbol(t,"Size"+n+"-Regular",r,o)},R3e=function(t,n,r,o,i,a){var s=Ppt(t,n,i,o),l=sq(nn.makeSpan(["delimsizing","size"+n],[s],o),Gr.TEXT,o,a);return r&&N3e(l,o,Gr.TEXT),l},rM=function(t,n,r){var o;n==="Size1-Regular"?o="delim-size1":o="delim-size4";var i=nn.makeSpan(["delimsizinginner",o],[nn.makeSpan([],[nn.makeSymbol(t,n,r)])]);return{type:"elem",elem:i}},oM=function(t,n,r){var o=Ad["Size4-Regular"][t.charCodeAt(0)]?Ad["Size4-Regular"][t.charCodeAt(0)][4]:Ad["Size1-Regular"][t.charCodeAt(0)][4],i=new f0("inner",Fft(t,Math.round(1e3*n))),a=new rp([i],{width:Xn(o),height:Xn(n),style:"width:"+Xn(o),viewBox:"0 0 "+1e3*o+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=nn.makeSvgSpan([],[a],r);return s.height=n,s.style.height=Xn(n),s.style.width=Xn(o),{type:"elem",elem:s}},zF=.008,Jx={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=x4(s,p,i),h=v.height+v.depth,g=x4(u,p,i),y=g.height+g.depth,m=x4(d,p,i),b=m.height+m.depth,w=0,A=1;if(l!==null){var S=x4(l,p,i);w=S.height+S.depth,A=2}var k=h+b+w,O=Math.max(0,Math.ceil((n-k)/(A*y))),I=k+O*A*y,P=o.fontMetrics().axisHeight;r&&(P*=o.sizeMultiplier);var M=I/2-P,_=[];if(c.length>0){var R=I-h-b,N=Math.round(I*1e3),V=Uft(c,Math.round(R*1e3)),L=new f0(c,V),j=(f/1e3).toFixed(3)+"em",H=(N/1e3).toFixed(3)+"em",G=new rp([L],{width:j,height:H,viewBox:"0 0 "+f+" "+N}),Z=nn.makeSvgSpan([],[G],o);Z.height=N/1e3,Z.style.width=j,Z.style.height=H,_.push({type:"elem",elem:Z})}else{if(_.push(rM(d,p,i)),_.push(Jx),l===null){var z=I-h-b+2*zF;_.push(oM(u,z,o))}else{var U=(I-h-b-w)/2+2*zF;_.push(oM(u,U,o)),_.push(Jx),_.push(rM(l,p,i)),_.push(Jx),_.push(oM(u,U,o))}_.push(Jx),_.push(rM(s,p,i))}var W=o.havingBaseStyle(Gr.TEXT),re=nn.makeVList({positionType:"bottom",positionData:M,children:_},W);return sq(nn.makeSpan(["delimsizing","mult"],[re],W),Gr.TEXT,o,a)},iM=80,aM=.08,sM=function(t,n,r,o,i){var a=Lft(t,o,r),s=new f0(t,a),l=new rp([s],{width:"400em",height:Xn(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return nn.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)*n3[o.size],u=(n3[o.size]+a)/i,l=(n3[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=Xn(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"],n3=[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,n3[n],!1,r,o,i);throw new Hn("Illegal delimiter: '"+t+"'")},Upt=[{type:"small",style:Gr.SCRIPTSCRIPT},{type:"small",style:Gr.SCRIPT},{type:"small",style:Gr.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zpt=[{type:"small",style:Gr.SCRIPTSCRIPT},{type:"small",style:Gr.SCRIPT},{type:"small",style:Gr.TEXT},{type:"stack"}],U3e=[{type:"small",style:Gr.SCRIPTSCRIPT},{type:"small",style:Gr.SCRIPT},{type:"small",style:Gr.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)},Uf={sqrtImage:Bpt,sizedDelim:Fpt,sizeToMaxHeight:n3,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 JD(e,t){var n=ZD(e);if(n&&Hpt.includes(n.text))return n;throw n?new Hn("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Hn("Invalid delimiter type '"+e.type+"'",e)}ur({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=JD(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==="."?nn.makeSpan([e.mclass]):Uf.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Xu(e.delim,e.mode));var n=new $n.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Xn(Uf.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.")}ur({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 Hn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:JD(t[0],e).text,color:n}}});ur({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=JD(t[0],e),r=e.parser;++r.leftrightDepth;var o=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=Eo(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=ns(e.body,t,!0,["mopen","mclose"]),r=0,o=0,i=!1,a=0;a{Zre(e);var n=ql(e.body,t);if(e.left!=="."){var r=new $n.MathNode("mo",[Xu(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var o=new $n.MathNode("mo",[Xu(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),n.push(o)}return rq(n)}});ur({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=JD(t[0],e);if(!e.parser.leftrightDepth)throw new Hn("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=mA(t,[]);else{n=Uf.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==="|"?Xu("|","text"):Xu(e.delim,e.mode),r=new $n.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=nn.wrapFragment(Zo(e.body,t),t),r=e.label.slice(1),o=t.sizeMultiplier,i,a=0,s=Jo.isCharacterBox(e.body);if(r==="sout")i=nn.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/o,a=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=la({number:.6,unit:"pt"},t),u=la({number:.35,unit:"ex"},t),d=t.havingBaseSizing();o=o/d.sizeMultiplier;var c=n.height+n.depth+l+u;n.style.paddingLeft=Xn(c/2+l);var f=Math.floor(1e3*c*o),p=Rft(f),v=new rp([new f0("phase",p)],{width:"400em",height:Xn(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});i=nn.makeSvgSpan(["hide-tail"],[v],t),i.style.height=Xn(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=ip.encloseSpan(n,r,h,g,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=Xn(y)):r==="angl"&&y!==.049&&(i.style.borderTopWidth=Xn(y),i.style.borderRightWidth=Xn(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=nn.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=nn.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?nn.makeSpan(["mord","cancel-lap"],[m],t):nn.makeSpan(["mord"],[m],t)},uq=(e,t)=>{var n=0,r=new $n.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};ur({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=Eo(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:r.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:lq,mathmlBuilder:uq});ur({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:o}=e,i=Eo(t[0],"color-token").color,a=Eo(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});ur({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]}}});ur({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});ur({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 Xd(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 Hn("{"+e.envName+"} can be used only in display mode.")};function cq(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function P0(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 Hn("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 au("\\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 Hn("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[ce]})}for(w(a[0]),r=0;r0&&(M+=m,kie))for(r=0;r=s)){var X=void 0;(o>0||t.hskipBeforeAndAfter)&&(X=Jo.deflt(U.pregap,f),X!==0&&(V=nn.makeSpan(["arraycolsep"],[]),V.style.width=Xn(X),N.push(V)));var ue=[];for(r=0;r0){for(var ge=nn.makeLineSpan("hline",n,d),_e=nn.makeLineSpan("hdashline",n,d),Q=[{type:"elem",elem:l,shift:0}];u.length>0;){var be=u.pop(),De=be.pos-_;be.isDashed?Q.push({type:"elem",elem:_e,shift:De}):Q.push({type:"elem",elem:ge,shift:De})}l=nn.makeVList({positionType:"individualShift",children:Q},n)}if(j.length===0)return nn.makeSpan(["mord"],[l],n);var pe=nn.makeVList({positionType:"individualShift",children:j},n);return pe=nn.makeSpan(["tag"],[pe],n),nn.makeFragment([l,pe])},Wpt={c:"center ",l:"left ",r:"right "},ef=function(t,n){for(var r=[],o=new $n.MathNode("mtd",[],["mtr-glue"]),i=new $n.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+=O[O.length-1].length>0?"right ":"";for(var I=1;I-1?"alignat":"align",i=t.envName==="split",a=P0(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};Xd({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=ZD(t[0]),r=n?[t[0]]:Eo(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 Hn("Unknown column alignment: "+l,a)}),i={cols:o,hskipBeforeAndAfter:!0,maxNumCols:o.length};return P0(e.parser,i,dq(e.envName))},htmlBuilder:Jd,mathmlBuilder:ef});Xd({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 Hn("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),r.cols=[{type:"align",align:n}]}}var i=P0(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:Jd,mathmlBuilder:ef});Xd({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=P0(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Jd,mathmlBuilder:ef});Xd({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=ZD(t[0]),r=n?[t[0]]:Eo(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 Hn("Unknown column alignment: "+l,a)});if(o.length>1)throw new Hn("{subarray} can contain only one column");var i={cols:o,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=P0(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new Hn("{subarray} can contain only one column");return i},htmlBuilder:Jd,mathmlBuilder:ef});Xd({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=P0(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:Jd,mathmlBuilder:ef});Xd({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:W3e,htmlBuilder:Jd,mathmlBuilder:ef});Xd({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&e7(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:cq(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return P0(e.parser,t,"display")},htmlBuilder:Jd,mathmlBuilder:ef});Xd({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:W3e,htmlBuilder:Jd,mathmlBuilder:ef});Xd({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){e7(e);var t={autoTag:cq(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return P0(e.parser,t,"display")},htmlBuilder:Jd,mathmlBuilder:ef});Xd({type:"array",names:["CD"],props:{numArgs:0},handler(e){return e7(e),Ipt(e.parser)},htmlBuilder:Jd,mathmlBuilder:ef});st("\\nonumber","\\gdef\\@eqnsw{0}");st("\\notag","\\nonumber");ur({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Hn(e.funcName+" valid only within array environment")}});var Jre=j3e;ur({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 Hn("Invalid environment name",o);for(var i="",a=0;a{var n=e.font,r=t.withFont(n);return Zo(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"};ur({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=ek(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});ur({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],o=Jo.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:XD(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:o}}});ur({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>=Gr.SCRIPT.id?n.text():Gr.DISPLAY:e==="text"&&n.size===Gr.DISPLAY.size?n=Gr.TEXT:e==="script"?n=Gr.SCRIPT:e==="scriptscript"&&(n=Gr.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=Zo(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 $n.MathNode("mfrac",[Di(e.numer,t),Di(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=la(e.barSize,t);n.setAttribute("linethickness",Xn(r))}var o=G3e(e.size,t.style);if(o.size!==t.style.size){n=new $n.MathNode("mstyle",[n]);var i=o.size===Gr.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 $n.MathNode("mo",[new $n.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),e.rightDelim!=null){var l=new $n.MathNode("mo",[new $n.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return rq(a)}return n};ur({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});ur({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}}});ur({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};ur({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=ek(t[0]),a=i.type==="atom"&&i.family==="open"?noe(i.text):null,s=ek(t[1]),l=s.type==="atom"&&s.family==="close"?noe(s.text):null,u=Eo(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=Eo(p.body[0],"textord");f=toe[Number(v.text)]}}else p=Eo(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});ur({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:Eo(t[0],"size").value,token:o}}});ur({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(Eo(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?Zo(e.sup,t.havingStyle(n.sup()),t):Zo(e.sub,t.havingStyle(n.sub()),t),o=Eo(e.base,"horizBrace")):o=Eo(e,"horizBrace");var i=Zo(o.base,t.havingBaseStyle(Gr.DISPLAY)),a=ip.svgSpan(o,t),s;if(o.isOver?(s=nn.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=nn.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=nn.makeSpan(["mord",o.isOver?"mover":"munder"],[s],t);o.isOver?s=nn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):s=nn.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 nn.makeSpan(["mord",o.isOver?"mover":"munder"],[s],t)},Vpt=(e,t)=>{var n=ip.mathMLnode(e.label);return new $n.MathNode(e.isOver?"mover":"munder",[Di(e.base,t),n])};ur({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});ur({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],o=Eo(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:n.mode,href:o,body:Ea(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=ns(e.body,t,!1);return nn.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=p0(e.body,t);return n instanceof eu||(n=new eu("mrow",[n])),n.setAttribute("href",e.href),n}});ur({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Eo(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=Eo(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=ns(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var o=nn.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)=>p0(e.body,t)});ur({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Ea(t[0]),mathml:Ea(t[1])}},htmlBuilder:(e,t)=>{var n=ns(e.html,t,!1);return nn.makeFragment(n)},mathmlBuilder:(e,t)=>p0(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 Hn("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!p3e(r))throw new Hn("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ur({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=Eo(n[0],"raw").string,u=l.split(","),d=0;d{var n=la(e.height,t),r=0;e.totalheight.number>0&&(r=la(e.totalheight,t)-n);var o=0;e.width.number>0&&(o=la(e.width,t));var i={height:Xn(n+r)};o>0&&(i.width=Xn(o)),r>0&&(i.verticalAlign=Xn(-r));var a=new Vft(e.src,e.alt,i);return a.height=n,a.depth=r,a},mathmlBuilder:(e,t)=>{var n=new $n.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=la(e.height,t),o=0;if(e.totalheight.number>0&&(o=la(e.totalheight,t)-r,n.setAttribute("valign",Xn(-o))),n.setAttribute("height",Xn(r+o)),e.width.number>0){var i=la(e.width,t);n.setAttribute("width",Xn(i))}return n.setAttribute("src",e.src),n}});ur({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=Eo(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 nn.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=la(e.dimension,t);return new $n.SpaceNode(n)}});ur({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=nn.makeSpan([],[Zo(e.body,t)]),n=nn.makeSpan(["inner"],[n],t)):n=nn.makeSpan(["inner"],[Zo(e.body,t)]);var r=nn.makeSpan(["fix"],[]),o=nn.makeSpan([e.alignment],[n,r],t),i=nn.makeSpan(["strut"]);return i.style.height=Xn(o.height+o.depth),o.depth&&(i.style.verticalAlign=Xn(-o.depth)),o.children.unshift(i),o=nn.makeSpan(["thinbox"],[o],t),nn.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var n=new $n.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}});ur({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}}});ur({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Hn("Mismatched "+e.funcName)}});var roe=(e,t)=>{switch(t.style.size){case Gr.DISPLAY.size:return e.display;case Gr.TEXT.size:return e.text;case Gr.SCRIPT.size:return e.script;case Gr.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ur({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Ea(t[0]),text:Ea(t[1]),script:Ea(t[2]),scriptscript:Ea(t[3])}},htmlBuilder:(e,t)=>{var n=roe(e,t),r=ns(n,t,!1);return nn.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=roe(e,t);return p0(n,t)}});var Y3e=(e,t,n,r,o,i,a)=>{e=nn.makeSpan([],[e]);var s=n&&Jo.isCharacterBox(n),l,u;if(t){var d=Zo(t,r.havingStyle(o.sup()),r);u={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var c=Zo(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=nn.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Xn(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Xn(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var v=e.height-a;f=nn.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Xn(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(u){var h=e.depth+a;f=nn.makeVList({positionType:"bottom",positionData:h,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Xn(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var g=[f];if(l&&i!==0&&!s){var y=nn.makeSpan(["mspace"],[],r);y.style.marginRight=Xn(i),g.unshift(y)}return nn.makeSpan(["mop","op-limits"],g,r)},Q3e=["\\smallint"],Vb=(e,t)=>{var n,r,o=!1,i;e.type==="supsub"?(n=e.sup,r=e.sub,i=Eo(e.base,"op"),o=!0):i=Eo(e,"op");var a=t.style,s=!1;a.size===Gr.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=nn.makeSymbol(i.name,u,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),d.length>0){var c=l.italic,f=nn.staticSvg(d+"Size"+(s?"2":"1"),t);l=nn.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=ns(i.body,t,!0);p.length===1&&p[0]instanceof Zu?(l=p[0],l.classes[0]="mop"):l=nn.makeSpan(["mop"],p,t)}else{for(var v=[],h=1;h{var n;if(e.symbol)n=new eu("mo",[Xu(e.name,e.mode)]),Q3e.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new eu("mo",ql(e.body,t));else{n=new eu("mi",[new Cd(e.name.slice(1))]);var r=new eu("mo",[Xu("⁡","text")]);e.parentIsSupSub?n=new eu("mrow",[n,r]):n=S3e([n,r])}return n},qpt={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ur({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:Vb,mathmlBuilder:XC});ur({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:Ea(r)}},htmlBuilder:Vb,mathmlBuilder:XC});var Gpt={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ur({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:Vb,mathmlBuilder:XC});ur({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:Vb,mathmlBuilder:XC});ur({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:Vb,mathmlBuilder:XC});var Z3e=(e,t)=>{var n,r,o=!1,i;e.type==="supsub"?(n=e.sup,r=e.sub,i=Eo(e.base,"operatorname"),o=!0):i=Eo(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=ns(s,t.withFont("mathrm"),!0),u=0;u{for(var n=ql(e.body,t.withFont("mathrm")),r=!0,o=0;od.toText()).join("");n=[new $n.TextNode(s)]}var l=new $n.MathNode("mi",n);l.setAttribute("mathvariant","normal");var u=new $n.MathNode("mo",[Xu("⁡","text")]);return e.parentIsSupSub?new $n.MathNode("mrow",[l,u]):$n.newDocumentFragment([l,u])};ur({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:Ea(o),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Z3e,mathmlBuilder:Kpt});st("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");cm({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?nn.makeFragment(ns(e.body,t,!1)):nn.makeSpan(["mord"],ns(e.body,t,!0),t)},mathmlBuilder(e,t){return p0(e.body,t,!0)}});ur({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=Zo(e.body,t.havingCrampedStyle()),r=nn.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=nn.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r},{type:"kern",size:o}]},t);return nn.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new $n.MathNode("mo",[new $n.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new $n.MathNode("mover",[Di(e.body,t),n]);return r.setAttribute("accent","true"),r}});ur({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:Ea(r)}},htmlBuilder:(e,t)=>{var n=ns(e.body,t.withPhantom(),!1);return nn.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=ql(e.body,t);return new $n.MathNode("mphantom",n)}});ur({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=nn.makeSpan([],[Zo(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=ql(Ea(e.body),t),r=new $n.MathNode("mphantom",n),o=new $n.MathNode("mpadded",[r]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}});ur({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=nn.makeSpan(["inner"],[Zo(e.body,t.withPhantom())]),r=nn.makeSpan(["fix"],[]);return nn.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=ql(Ea(e.body),t),r=new $n.MathNode("mphantom",n),o=new $n.MathNode("mpadded",[r]);return o.setAttribute("width","0px"),o}});ur({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Eo(t[0],"size").value,o=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:o}},htmlBuilder(e,t){var n=Zo(e.body,t),r=la(e.dy,t);return nn.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new $n.MathNode("mpadded",[Di(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});ur({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ur({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=Eo(t[0],"size"),a=Eo(t[1],"size");return{type:"rule",mode:r.mode,shift:o&&Eo(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var n=nn.makeSpan(["mord","rule"],[],t),r=la(e.width,t),o=la(e.height,t),i=e.shift?la(e.shift,t):0;return n.style.borderRightWidth=Xn(r),n.style.borderTopWidth=Xn(o),n.style.bottom=Xn(i),n.width=r,n.height=o+i,n.depth=-i,n.maxFontSize=o*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=la(e.width,t),r=la(e.height,t),o=e.shift?la(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new $n.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",Xn(n)),a.setAttribute("height",Xn(r));var s=new $n.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",Xn(o)):(s.setAttribute("height",Xn(o)),s.setAttribute("depth",Xn(-o))),s.setAttribute("voffset",Xn(o)),s}});function X3e(e,t,n){for(var r=ns(e,t,!1),o=t.sizeMultiplier/n.sizeMultiplier,i=0;i{var n=t.havingSize(e.size);return X3e(e.body,n,t)};ur({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=ql(e.body,n),o=new $n.MathNode("mstyle",r);return o.setAttribute("mathsize",Xn(n.sizeMultiplier)),o}});ur({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]&&Eo(n[0],"ordgroup");if(a)for(var s="",l=0;l{var n=nn.makeSpan([],[Zo(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 $n.MathNode("mpadded",[Di(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ur({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=Zo(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=nn.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=Xn(d);var p=nn.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(Gr.SCRIPTSCRIPT),h=Zo(e.index,v,t),g=.6*(p.height-p.depth),y=nn.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:h}]},t),m=nn.makeSpan(["root"],[y]);return nn.makeSpan(["mord","sqrt"],[m,p],t)}else return nn.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new $n.MathNode("mroot",[Di(n,t),Di(r,t)]):new $n.MathNode("msqrt",[Di(n,t)])}});var ioe={display:Gr.DISPLAY,text:Gr.TEXT,script:Gr.SCRIPT,scriptscript:Gr.SCRIPTSCRIPT};ur({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=ql(e.body,r),i=new $n.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===Gr.DISPLAY.size||r.alwaysHandleSupSub);return o?Vb:null}else if(r.type==="operatorname"){var i=r.alwaysHandleSupSub&&(n.style.size===Gr.DISPLAY.size||r.limits);return i?Z3e:null}else{if(r.type==="accent")return Jo.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};cm({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=Zo(r,t),s,l,u=t.fontMetrics(),d=0,c=0,f=r&&Jo.isCharacterBox(r);if(o){var p=t.havingStyle(t.style.sup());s=Zo(o,p,t),f||(d=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(i){var v=t.havingStyle(t.style.sub());l=Zo(i,v,t),f||(c=a.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var h;t.style===Gr.DISPLAY?h=u.sup1:t.style.cramped?h=u.sup3:h=u.sup2;var g=t.sizeMultiplier,y=Xn(.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 Zu||b)&&(m=Xn(-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+=k,c-=k)}var O=[{type:"elem",elem:l,shift:c,marginRight:y,marginLeft:m},{type:"elem",elem:s,shift:-d,marginRight:y}];w=nn.makeVList({positionType:"individualShift",children:O},t)}else if(l){c=Math.max(c,u.sub1,l.height-.8*u.xHeight);var I=[{type:"elem",elem:l,marginLeft:m,marginRight:y}];w=nn.makeVList({positionType:"shift",positionData:c,children:I},t)}else if(s)d=Math.max(d,h,s.depth+.25*u.xHeight),w=nn.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 P=LF(a,"right")||"mord";return nn.makeSpan([P],[a,nn.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===Gr.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===Gr.DISPLAY||u.limits)?a="munderover":a="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===Gr.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===Gr.DISPLAY)?a="munder":a="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===Gr.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===Gr.DISPLAY)?a="mover":a="msup"}return new $n.MathNode(a,i)}});cm({type:"atom",htmlBuilder(e,t){return nn.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new $n.MathNode("mo",[Xu(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"};cm({type:"mathord",htmlBuilder(e,t){return nn.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new $n.MathNode("mi",[Xu(e.text,e.mode,t)]),r=oq(e,t)||"italic";return r!==J3e[n.type]&&n.setAttribute("mathvariant",r),n}});cm({type:"textord",htmlBuilder(e,t){return nn.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=Xu(e.text,e.mode,t),r=oq(e,t)||"normal",o;return e.mode==="text"?o=new $n.MathNode("mtext",[n]):/[0-9]/.test(e.text)?o=new $n.MathNode("mn",[n]):e.text==="\\prime"?o=new $n.MathNode("mo",[n]):o=new $n.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"}};cm({type:"spacing",htmlBuilder(e,t){if(cM.hasOwnProperty(e.text)){var n=cM[e.text].className||"";if(e.mode==="text"){var r=nn.makeOrd(e,t,"textord");return r.classes.push(n),r}else return nn.makeSpan(["mspace",n],[nn.mathsym(e.text,e.mode,t)],t)}else{if(uM.hasOwnProperty(e.text))return nn.makeSpan(["mspace",uM[e.text]],[],t);throw new Hn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(cM.hasOwnProperty(e.text))n=new $n.MathNode("mtext",[new $n.TextNode(" ")]);else{if(uM.hasOwnProperty(e.text))return new $n.MathNode("mspace");throw new Hn('Unknown type of space "'+e.text+'"')}return n}});var aoe=()=>{var e=new $n.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};cm({type:"tag",mathmlBuilder(e,t){var n=new $n.MathNode("mtable",[new $n.MathNode("mtr",[aoe(),new $n.MathNode("mtd",[p0(e.body,t)]),aoe(),new $n.MathNode("mtd",[p0(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])};ur({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:Ea(o),font:r}},htmlBuilder(e,t){var n=uoe(e,t),r=ns(e.body,n,!0);return nn.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=uoe(e,t);return p0(e.body,n)}});ur({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=Zo(e.body,t),r=nn.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=nn.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 nn.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var n=new $n.MathNode("mo",[new $n.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new $n.MathNode("munder",[Di(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});ur({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=Zo(e.body,t),r=t.fontMetrics().axisHeight,o=.5*(n.height-r-(n.depth+r));return nn.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new $n.MathNode("mpadded",[Di(e.body,t)],["vcenter"])}});ur({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Hn("\\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?"␣":" "),yh=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 au("EOF",new Al(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Hn("Unexpected character: '"+t[n]+"'",new au(t[n],new Al(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 au(o,new Al(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 Hn("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;st("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});st("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});st("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});st("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});st("\\@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}});st("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");st("\\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};st("\\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 Hn("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=foe[t.text],r==null||r>=n)throw new Hn("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 Hn("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new Hn("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!n)throw new Hn("\\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 Hn("Invalid number of arguments: "+l);s=parseInt(l),o=e.consumeArg().tokens}return a&&r||e.macros.set(i,{tokens:o,numArgs:s}),""};st("\\newcommand",e=>hq(e,!1,!0,!1));st("\\renewcommand",e=>hq(e,!0,!1,!1));st("\\providecommand",e=>hq(e,!0,!0,!0));st("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});st("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});st("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),yh[n],Li.math[n],Li.text[n]),""});st("\\bgroup","{");st("\\egroup","}");st("~","\\nobreakspace");st("\\lq","`");st("\\rq","'");st("\\aa","\\r a");st("\\AA","\\r A");st("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");st("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");st("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");st("ℬ","\\mathscr{B}");st("ℰ","\\mathscr{E}");st("ℱ","\\mathscr{F}");st("ℋ","\\mathscr{H}");st("ℐ","\\mathscr{I}");st("ℒ","\\mathscr{L}");st("ℳ","\\mathscr{M}");st("ℛ","\\mathscr{R}");st("ℭ","\\mathfrak{C}");st("ℌ","\\mathfrak{H}");st("ℨ","\\mathfrak{Z}");st("\\Bbbk","\\Bbb{k}");st("·","\\cdotp");st("\\llap","\\mathllap{\\textrm{#1}}");st("\\rlap","\\mathrlap{\\textrm{#1}}");st("\\clap","\\mathclap{\\textrm{#1}}");st("\\mathstrut","\\vphantom{(}");st("\\underbar","\\underline{\\text{#1}}");st("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');st("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");st("\\ne","\\neq");st("≠","\\neq");st("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");st("∉","\\notin");st("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");st("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");st("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");st("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");st("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");st("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");st("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");st("⟂","\\perp");st("‼","\\mathclose{!\\mkern-0.8mu!}");st("∌","\\notni");st("⌜","\\ulcorner");st("⌝","\\urcorner");st("⌞","\\llcorner");st("⌟","\\lrcorner");st("©","\\copyright");st("®","\\textregistered");st("️","\\textregistered");st("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');st("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');st("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');st("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');st("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");st("⋮","\\vdots");st("\\varGamma","\\mathit{\\Gamma}");st("\\varDelta","\\mathit{\\Delta}");st("\\varTheta","\\mathit{\\Theta}");st("\\varLambda","\\mathit{\\Lambda}");st("\\varXi","\\mathit{\\Xi}");st("\\varPi","\\mathit{\\Pi}");st("\\varSigma","\\mathit{\\Sigma}");st("\\varUpsilon","\\mathit{\\Upsilon}");st("\\varPhi","\\mathit{\\Phi}");st("\\varPsi","\\mathit{\\Psi}");st("\\varOmega","\\mathit{\\Omega}");st("\\substack","\\begin{subarray}{c}#1\\end{subarray}");st("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");st("\\boxed","\\fbox{$\\displaystyle{#1}$}");st("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");st("\\implies","\\DOTSB\\;\\Longrightarrow\\;");st("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");st("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");st("\\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"};st("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in poe?t=poe[n]:(n.slice(0,4)==="\\not"||n in Li.math&&["bin","rel"].includes(Li.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};st("\\dotso",function(e){var t=e.future().text;return t in gq?"\\ldots\\,":"\\ldots"});st("\\dotsc",function(e){var t=e.future().text;return t in gq&&t!==","?"\\ldots\\,":"\\ldots"});st("\\cdots",function(e){var t=e.future().text;return t in gq?"\\@cdots\\,":"\\@cdots"});st("\\dotsb","\\cdots");st("\\dotsm","\\cdots");st("\\dotsi","\\!\\cdots");st("\\dotsx","\\ldots\\,");st("\\DOTSI","\\relax");st("\\DOTSB","\\relax");st("\\DOTSX","\\relax");st("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");st("\\,","\\tmspace+{3mu}{.1667em}");st("\\thinspace","\\,");st("\\>","\\mskip{4mu}");st("\\:","\\tmspace+{4mu}{.2222em}");st("\\medspace","\\:");st("\\;","\\tmspace+{5mu}{.2777em}");st("\\thickspace","\\;");st("\\!","\\tmspace-{3mu}{.1667em}");st("\\negthinspace","\\!");st("\\negmedspace","\\tmspace-{4mu}{.2222em}");st("\\negthickspace","\\tmspace-{5mu}{.277em}");st("\\enspace","\\kern.5em ");st("\\enskip","\\hskip.5em\\relax");st("\\quad","\\hskip1em\\relax");st("\\qquad","\\hskip2em\\relax");st("\\tag","\\@ifstar\\tag@literal\\tag@paren");st("\\tag@paren","\\tag@literal{({#1})}");st("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Hn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});st("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");st("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");st("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");st("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");st("\\newline","\\\\\\relax");st("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var tAe=Xn(Ad["Main-Regular"][84][1]-.7*Ad["Main-Regular"][65][1]);st("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+tAe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");st("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+tAe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");st("\\hspace","\\@ifstar\\@hspacer\\@hspace");st("\\@hspace","\\hskip #1\\relax");st("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");st("\\ordinarycolon",":");st("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");st("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');st("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');st("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');st("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');st("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');st("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');st("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');st("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');st("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');st("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');st("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');st("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');st("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');st("∷","\\dblcolon");st("∹","\\eqcolon");st("≔","\\coloneqq");st("≕","\\eqqcolon");st("⩴","\\Coloneqq");st("\\ratio","\\vcentcolon");st("\\coloncolon","\\dblcolon");st("\\colonequals","\\coloneqq");st("\\coloncolonequals","\\Coloneqq");st("\\equalscolon","\\eqqcolon");st("\\equalscoloncolon","\\Eqqcolon");st("\\colonminus","\\coloneq");st("\\coloncolonminus","\\Coloneq");st("\\minuscolon","\\eqcolon");st("\\minuscoloncolon","\\Eqcolon");st("\\coloncolonapprox","\\Colonapprox");st("\\coloncolonsim","\\Colonsim");st("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");st("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");st("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");st("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");st("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");st("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");st("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");st("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");st("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");st("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");st("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");st("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");st("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");st("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");st("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");st("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");st("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");st("\\nleqq","\\html@mathml{\\@nleqq}{≰}");st("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");st("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");st("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");st("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");st("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");st("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");st("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");st("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");st("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");st("\\imath","\\html@mathml{\\@imath}{ı}");st("\\jmath","\\html@mathml{\\@jmath}{ȷ}");st("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");st("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");st("⟦","\\llbracket");st("⟧","\\rrbracket");st("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");st("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");st("⦃","\\lBrace");st("⦄","\\rBrace");st("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");st("⦵","\\minuso");st("\\darr","\\downarrow");st("\\dArr","\\Downarrow");st("\\Darr","\\Downarrow");st("\\lang","\\langle");st("\\rang","\\rangle");st("\\uarr","\\uparrow");st("\\uArr","\\Uparrow");st("\\Uarr","\\Uparrow");st("\\N","\\mathbb{N}");st("\\R","\\mathbb{R}");st("\\Z","\\mathbb{Z}");st("\\alef","\\aleph");st("\\alefsym","\\aleph");st("\\Alpha","\\mathrm{A}");st("\\Beta","\\mathrm{B}");st("\\bull","\\bullet");st("\\Chi","\\mathrm{X}");st("\\clubs","\\clubsuit");st("\\cnums","\\mathbb{C}");st("\\Complex","\\mathbb{C}");st("\\Dagger","\\ddagger");st("\\diamonds","\\diamondsuit");st("\\empty","\\emptyset");st("\\Epsilon","\\mathrm{E}");st("\\Eta","\\mathrm{H}");st("\\exist","\\exists");st("\\harr","\\leftrightarrow");st("\\hArr","\\Leftrightarrow");st("\\Harr","\\Leftrightarrow");st("\\hearts","\\heartsuit");st("\\image","\\Im");st("\\infin","\\infty");st("\\Iota","\\mathrm{I}");st("\\isin","\\in");st("\\Kappa","\\mathrm{K}");st("\\larr","\\leftarrow");st("\\lArr","\\Leftarrow");st("\\Larr","\\Leftarrow");st("\\lrarr","\\leftrightarrow");st("\\lrArr","\\Leftrightarrow");st("\\Lrarr","\\Leftrightarrow");st("\\Mu","\\mathrm{M}");st("\\natnums","\\mathbb{N}");st("\\Nu","\\mathrm{N}");st("\\Omicron","\\mathrm{O}");st("\\plusmn","\\pm");st("\\rarr","\\rightarrow");st("\\rArr","\\Rightarrow");st("\\Rarr","\\Rightarrow");st("\\real","\\Re");st("\\reals","\\mathbb{R}");st("\\Reals","\\mathbb{R}");st("\\Rho","\\mathrm{P}");st("\\sdot","\\cdot");st("\\sect","\\S");st("\\spades","\\spadesuit");st("\\sub","\\subset");st("\\sube","\\subseteq");st("\\supe","\\supseteq");st("\\Tau","\\mathrm{T}");st("\\thetasym","\\vartheta");st("\\weierp","\\wp");st("\\Zeta","\\mathrm{Z}");st("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");st("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");st("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");st("\\bra","\\mathinner{\\langle{#1}|}");st("\\ket","\\mathinner{|{#1}\\rangle}");st("\\braket","\\mathinner{\\langle{#1}\\rangle}");st("\\Bra","\\left\\langle#1\\right|");st("\\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}};st("\\bra@ket",nAe(!1));st("\\bra@set",nAe(!0));st("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");st("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");st("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");st("\\angln","{\\angl n}");st("\\blue","\\textcolor{##6495ed}{#1}");st("\\orange","\\textcolor{##ffa500}{#1}");st("\\pink","\\textcolor{##ff00af}{#1}");st("\\red","\\textcolor{##df0030}{#1}");st("\\green","\\textcolor{##28ae7b}{#1}");st("\\gray","\\textcolor{gray}{#1}");st("\\purple","\\textcolor{##9d38bd}{#1}");st("\\blueA","\\textcolor{##ccfaff}{#1}");st("\\blueB","\\textcolor{##80f6ff}{#1}");st("\\blueC","\\textcolor{##63d9ea}{#1}");st("\\blueD","\\textcolor{##11accd}{#1}");st("\\blueE","\\textcolor{##0c7f99}{#1}");st("\\tealA","\\textcolor{##94fff5}{#1}");st("\\tealB","\\textcolor{##26edd5}{#1}");st("\\tealC","\\textcolor{##01d1c1}{#1}");st("\\tealD","\\textcolor{##01a995}{#1}");st("\\tealE","\\textcolor{##208170}{#1}");st("\\greenA","\\textcolor{##b6ffb0}{#1}");st("\\greenB","\\textcolor{##8af281}{#1}");st("\\greenC","\\textcolor{##74cf70}{#1}");st("\\greenD","\\textcolor{##1fab54}{#1}");st("\\greenE","\\textcolor{##0d923f}{#1}");st("\\goldA","\\textcolor{##ffd0a9}{#1}");st("\\goldB","\\textcolor{##ffbb71}{#1}");st("\\goldC","\\textcolor{##ff9c39}{#1}");st("\\goldD","\\textcolor{##e07d10}{#1}");st("\\goldE","\\textcolor{##a75a05}{#1}");st("\\redA","\\textcolor{##fca9a9}{#1}");st("\\redB","\\textcolor{##ff8482}{#1}");st("\\redC","\\textcolor{##f9685d}{#1}");st("\\redD","\\textcolor{##e84d39}{#1}");st("\\redE","\\textcolor{##bc2612}{#1}");st("\\maroonA","\\textcolor{##ffbde0}{#1}");st("\\maroonB","\\textcolor{##ff92c6}{#1}");st("\\maroonC","\\textcolor{##ed5fa6}{#1}");st("\\maroonD","\\textcolor{##ca337c}{#1}");st("\\maroonE","\\textcolor{##9e034e}{#1}");st("\\purpleA","\\textcolor{##ddd7ff}{#1}");st("\\purpleB","\\textcolor{##c6b9fc}{#1}");st("\\purpleC","\\textcolor{##aa87ff}{#1}");st("\\purpleD","\\textcolor{##7854ab}{#1}");st("\\purpleE","\\textcolor{##543b78}{#1}");st("\\mintA","\\textcolor{##f5f9e8}{#1}");st("\\mintB","\\textcolor{##edf2df}{#1}");st("\\mintC","\\textcolor{##e0e5cc}{#1}");st("\\grayA","\\textcolor{##f6f7f7}{#1}");st("\\grayB","\\textcolor{##f0f1f2}{#1}");st("\\grayC","\\textcolor{##e3e5e6}{#1}");st("\\grayD","\\textcolor{##d6d8da}{#1}");st("\\grayE","\\textcolor{##babec2}{#1}");st("\\grayF","\\textcolor{##888d93}{#1}");st("\\grayG","\\textcolor{##626569}{#1}");st("\\grayH","\\textcolor{##3b3e40}{#1}");st("\\grayI","\\textcolor{##21242c}{#1}");st("\\kaBlue","\\textcolor{##314453}{#1}");st("\\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 au("EOF",r.loc)),this.pushTokens(o),new au("",Al.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 Hn("Extra }",i)}else if(i.text==="EOF")throw new Hn("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 Hn("The length of delimiters doesn't match the number of args!");for(var r=n[0],o=0;othis.settings.maxExpand)throw new Hn("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 Hn("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 Hn("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 Hn("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 au(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)||yh.hasOwnProperty(t)||Li.math.hasOwnProperty(t)||Li.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:yh.hasOwnProperty(t)&&!yh[t].primitive}}var hoe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,e6=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 t7{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 Hn("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 au("}")),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(t7.endOfExpression.indexOf(o.text)!==-1||n&&o.text===n||t&&yh[o.text]&&yh[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=Li[this.mode][n].group,l=Al.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:Al.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`
    ${t6(o,!0)}
    `}),t=t.replace(new RegExp('(?.*)\\$([^\\$\\n]+?)\\$(?!.*<\\/div>)',"g"),(n,r)=>{const o=r.trim();return`${t6(o,!1)}`}),t=t.replace(/\\\((.+?)\\\)/g,(n,r)=>{const o=r.trim();return`${t6(o,!1)}`}),t=t.replace(/\\\[([\s\S]+?)\\\]/g,(n,r)=>{const o=r.trim();return`
    ${t6(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 Tg=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=Y(!0),i=()=>{o.value=!o.value,r("toggle",{category:n.category,expanded:o.value})};return jn(()=>{r("toggle",{category:n.category,expanded:!0})}),(a,s)=>{const l=lr("el-icon"),u=lr("el-tag");return F(),K("div",ght,[x("div",{class:"category-header",onClick:i},[x("div",vht,[$e(l,{class:oe(["expand-icon",{expanded:o.value}])},{default:nt(()=>[$e(C(ka))]),_:1},8,["class"]),x("span",mht,ze(e.category),1)]),$e(u,{type:"info",size:"small",class:"count-tag"},{default:nt(()=>[An(ze(e.count)+"个文件",1)]),_:1})])])}}},aAe=Yo(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=Y(""),r=Y(""),o=Y(0);let i=null;const a=()=>{if(o.value{i&&(clearTimeout(i),i=null)};return Ct(()=>t.content,l=>{r.value=l,t.streaming&&l.length>o.value?i||a():t.streaming||(s(),o.value=l.length,n.value=Tg(l))},{immediate:!0}),Ct(()=>t.streaming,l=>{l||(s(),o.value=r.value.length,n.value=Tg(r.value))}),jn(()=>{t.content&&(r.value=t.content,t.streaming?a():n.value=Tg(t.content))}),hl(()=>{s()}),(l,u)=>(F(),K("div",{class:"stream-markdown",innerHTML:n.value},null,8,bht))}},ly=Yo(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=Y(!1),i=Y(""),a=Y(""),s=Y(!0),l=Y(!0),u=Y(!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),At.success("报告已复制到剪贴板")}catch{At.error("复制失败")}},g=()=>{i.value&&window.open(i.value,"_blank")};return(y,m)=>{const b=lr("el-icon"),w=lr("el-tag"),A=lr("el-button"),S=lr("el-tooltip"),k=lr("el-alert"),O=lr("el-card");return F(),mt(O,{class:oe(["file-report-card",d.value]),shadow:"hover"},{header:nt(()=>[x("div",Aht,[x("div",Cht,[$e(b,{class:"file-icon"},{default:nt(()=>[$e(C(_y))]),_:1}),x("div",xht,[x("div",Sht,ze(e.report.report.display_name||e.report.source_file),1),x("div",Eht,[$e(w,{size:"small",type:"info"},{default:nt(()=>[An(" 文件 "+ze(e.report.file_index)+"/"+ze(e.report.total_files),1)]),_:1}),e.report.metadata?.primary_category?(F(),mt(w,{key:0,size:"small",type:"success"},{default:nt(()=>[An(ze(e.report.metadata.primary_category),1)]),_:1})):xe("",!0),e.report.metadata?.secondary_category?(F(),mt(w,{key:1,size:"small"},{default:nt(()=>[An(ze(e.report.metadata.secondary_category),1)]),_:1})):xe("",!0)]),c.value?(F(),K("div",{key:0,class:"file-source-link",onClick:p},[$e(b,{class:"link-icon"},{default:nt(()=>[$e(C(r1e))]),_:1}),x("span",kht,ze(f(c.value)),1)])):xe("",!0)])]),x("div",Tht,[e.report.file_path?(F(),mt(S,{key:0,content:"查看文件",placement:"top"},{default:nt(()=>[$e(A,{link:"",type:"primary",onClick:v},{default:nt(()=>[$e(b,null,{default:nt(()=>[$e(C(a1e))]),_:1})]),_:1})]),_:1})):xe("",!0),$e(S,{content:"复制报告",placement:"top"},{default:nt(()=>[$e(A,{link:"",type:"primary",onClick:h},{default:nt(()=>[$e(b,null,{default:nt(()=>[$e(C(JBe))]),_:1})]),_:1})]),_:1})])])]),default:nt(()=>[x("div",_ht,[e.report.status==="error"?(F(),K("div",Dht,[$e(k,{title:"生成报告时出错",type:"error",description:e.report.report.summary,closable:!1},null,8,["description"])])):(F(),K("div",Iht,[x("div",Oht,[x("h3",{class:"section-title collapsible",onClick:m[0]||(m[0]=I=>s.value=!s.value)},[$e(b,{class:oe(["collapse-icon",{collapsed:!s.value}])},{default:nt(()=>[$e(C(ka))]),_:1},8,["class"]),m[4]||(m[4]=x("span",null,"🔹文件分析总述",-1))]),$e(Wi,{name:"collapse"},{default:nt(()=>[an(x("div",Mht,[$e(ly,{content:e.report.report?.summary||"",streaming:e.report.status==="streaming"},null,8,["content","streaming"])],512),[[Ar,s.value]])]),_:1})]),x("div",Pht,[x("h3",{class:"section-title collapsible",onClick:m[1]||(m[1]=I=>l.value=!l.value)},[$e(b,{class:oe(["collapse-icon",{collapsed:!l.value}])},{default:nt(()=>[$e(C(ka))]),_:1},8,["class"]),m[5]||(m[5]=x("span",null,"🔹文件内容解读",-1))]),$e(Wi,{name:"collapse"},{default:nt(()=>[an(x("div",Nht,[$e(ly,{content:e.report.report?.analysis||"",streaming:e.report.status==="streaming"},null,8,["content","streaming"])],512),[[Ar,l.value]])]),_:1})]),e.report.report?.clauses?(F(),K("div",Rht,[x("h3",{class:"section-title collapsible",onClick:m[2]||(m[2]=I=>u.value=!u.value)},[$e(b,{class:oe(["collapse-icon",{collapsed:!u.value}])},{default:nt(()=>[$e(C(ka))]),_:1},8,["class"]),m[6]||(m[6]=x("span",null,"🔹相关条款提取",-1))]),$e(Wi,{name:"collapse"},{default:nt(()=>[an(x("div",Bht,[$e(ly,{content:e.report.report.clauses,streaming:e.report.status==="streaming"},null,8,["content","streaming"])],512),[[Ar,u.value]])]),_:1})])):xe("",!0)]))]),$e(C(Hye),{modelValue:o.value,"onUpdate:modelValue":m[3]||(m[3]=I=>o.value=I),title:a.value,width:"90%",top:"5vh","close-on-click-modal":!1,"append-to-body":""},{default:nt(()=>[x("div",Lht,[i.value?(F(),K("iframe",{key:0,src:i.value,frameborder:"0",class:"preview-iframe"},null,8,Fht)):(F(),K("div",Uht,[$e(b,{class:"error-icon"},{default:nt(()=>[$e(C(Rb))]),_:1}),m[8]||(m[8]=x("p",null,"无法加载网页预览",-1)),$e(A,{type:"primary",onClick:g},{default:nt(()=>m[7]||(m[7]=[An("在新标签页中打开",-1)])),_:1,__:[7]})]))])]),_:1},8,["modelValue","title"])]),_:1},8,["class"])}}},sAe=Yo(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=Y(!1),r=async o=>{if(!t.reports||t.reports.length===0){At.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),At.success(`报告已导出为${o.toUpperCase()}格式`)}catch(i){console.error("导出失败:",i),At.error(`导出失败: ${i.message}`)}finally{n.value=!1}};return(o,i)=>{const a=lr("el-icon"),s=lr("el-button"),l=lr("el-dropdown-item"),u=lr("el-dropdown-menu"),d=lr("el-dropdown");return F(),K("div",$ht,[$e(d,{onCommand:r,disabled:e.disabled||n.value},{dropdown:nt(()=>[$e(u,null,{default:nt(()=>[$e(l,{command:"pdf"},{default:nt(()=>[$e(a,null,{default:nt(()=>[$e(C(_y))]),_:1}),i[0]||(i[0]=An(" 导出为PDF ",-1))]),_:1,__:[0]}),$e(l,{command:"docx"},{default:nt(()=>[$e(a,null,{default:nt(()=>[$e(C(_y))]),_:1}),i[1]||(i[1]=An(" 导出为Word ",-1))]),_:1,__:[1]})]),_:1})]),default:nt(()=>[$e(s,{type:"success",loading:n.value,disabled:e.disabled},{default:nt(()=>[n.value?xe("",!0):(F(),mt(a,{key:0},{default:nt(()=>[$e(C(aLe))]),_:1})),An(" "+ze(n.value?"导出中...":"导出报告")+" ",1),$e(a,{class:"el-icon--right"},{default:nt(()=>[$e(C(Kc))]),_:1})]),_:1},8,["loading","disabled"])]),_:1},8,["disabled"])])}}},lAe=Yo(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=Y(n.modelValue),i=Y(""),a=Y(!1),s=Y(""),l=Y(!1),u=Y(null);let d=null;Ct(()=>n.modelValue,g=>{o.value=g,g&&n.filePath&&(console.log("📄 [Drawer] 打开预览,filePath:",n.filePath),f())}),Ct(()=>n.filePath,g=>{o.value&&g&&(console.log("📄 [Drawer] filePath 变化:",g),f())}),Ct(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 Yr(()=>{c()}),(g,y)=>{const m=lr("el-icon"),b=lr("el-tag"),w=lr("el-button"),A=lr("el-drawer");return F(),mt(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:nt(()=>[x("div",Hht,[x("div",Wht,[$e(m,{class:"file-icon"},{default:nt(()=>[$e(C(_y))]),_:1}),y[2]||(y[2]=x("span",{class:"title-text"},"文件预览",-1)),e.fileName?(F(),K("div",Vht,[$e(b,{type:"info",size:"large",effect:"plain"},{default:nt(()=>[An(ze(e.fileName),1)]),_:1})])):xe("",!0)])])]),footer:nt(()=>[x("div",Xht,[$e(w,{onClick:h},{default:nt(()=>y[5]||(y[5]=[An("关闭",-1)])),_:1,__:[5]})])]),default:nt(()=>[x("div",qht,[i.value?(F(),K("div",Ght,[x("div",{class:"iframe-overlay",onContextmenu:y[0]||(y[0]=Qt(()=>{},["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?(F(),K("div",Yht,[$e(m,{class:"is-loading",size:40,color:"#5b8def"},{default:nt(()=>[$e(C(Bc))]),_:1}),y[3]||(y[3]=x("p",null,"文件加载中,请稍候...",-1))])):xe("",!0),s.value?(F(),K("div",Qht,[$e(m,{size:40,color:"#f56c6c"},{default:nt(()=>[$e(C(Qd))]),_:1}),x("p",null,ze(s.value),1)])):xe("",!0),!i.value&&!l.value&&!s.value?(F(),K("div",Zht,[$e(m,{size:40,color:"#909399"},{default:nt(()=>[$e(C(_y))]),_:1}),y[4]||(y[4]=x("p",null,"暂无预览内容",-1))])):xe("",!0)])]),_:1},8,["modelValue"])}}},e0t=Yo(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=Y(!1),i=Y(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 Ct(()=>n.results,()=>{n.results.length>0&&(o.value=!1,i.value.clear(),l())},{immediate:!0}),jn(()=>{n.results.length>0&&l()}),(u,d)=>o.value?(F(),K("div",{key:0,class:"web-search-capsule",onClick:a},[x("div",t0t,[x("div",n0t,[(F(!0),K(Nt,null,on(s.value,(c,f)=>(F(),K("div",{key:f,class:oe(["preview-icon",`icon-position-${f}`]),style:Jt({backgroundImage:c.faviconLoaded?`url(${c.favicon})`:"none",zIndex:s.value.length-f})},[c.faviconLoaded?xe("",!0):(F(),K("span",r0t,ze(c.initial),1))],6))),128))]),d[0]||(d[0]=x("span",{class:"search-text"},"蜀安AI搜索引擎",-1)),e.total>8?(F(),K("span",o0t,"+"+ze(e.total-8),1)):xe("",!0)])])):xe("",!0)}},uAe=Yo(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=Y(!1),i=Y(""),a=Y(""),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 Ct(()=>n.visible,c=>{c||(o.value=!1)}),(c,f)=>{const p=lr("el-icon"),v=lr("el-button"),h=lr("el-dialog");return F(),mt(Wi,{name:"sidebar-slide"},{default:nt(()=>[e.visible?(F(),K("div",a0t,[x("div",s0t,[$e(p,{class:"close-icon",onClick:s},{default:nt(()=>[$e(C(cu))]),_:1})]),x("div",l0t,[x("div",u0t,[x("div",c0t,[(F(!0),K(Nt,null,on(e.results,(g,y)=>(F(),K("div",{key:y,class:"result-item",onClick:m=>l(g)},[x("div",f0t,[x("div",p0t,ze(y+1),1),x("div",h0t,ze(g.title),1)]),x("div",g0t,ze(g.content),1),x("div",v0t,[$e(p,{class:"link-icon"},{default:nt(()=>[$e(C(r1e))]),_:1}),x("span",m0t,ze(u(g.url)),1),x("span",y0t,ze((g.score*100).toFixed(1))+"%",1)])],8,d0t))),128))])])]),$e(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:nt(()=>[x("div",b0t,[i.value?(F(),K("iframe",{key:0,src:i.value,frameborder:"0",class:"preview-iframe"},null,8,w0t)):(F(),K("div",A0t,[$e(p,{class:"error-icon"},{default:nt(()=>[$e(C(Rb))]),_:1}),f[2]||(f[2]=x("p",null,"无法加载网页预览",-1)),$e(v,{type:"primary",onClick:d},{default:nt(()=>f[1]||(f[1]=[An("在新标签页中打开",-1)])),_:1,__:[1]})]))])]),_:1},8,["modelValue","title"])])):xe("",!0)]),_:1})}}},x0t=Yo(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=Y(!0),n=()=>{t.value=!t.value};return(r,o)=>{const i=lr("el-icon"),a=lr("el-tag");return F(),K("div",S0t,[x("div",{class:"summary-header",onClick:n},[x("div",E0t,[$e(i,{class:oe(["expand-icon",{expanded:t.value}])},{default:nt(()=>[$e(C(ka))]),_:1},8,["class"]),o[0]||(o[0]=x("span",{class:"header-title"},"外部数据",-1))]),$e(a,{type:"info",size:"small",class:"source-tag"},{default:nt(()=>o[1]||(o[1]=[An("数据来源于蜀安AI网络搜索引擎,内容仅供参考",-1)])),_:1,__:[1]})]),an(x("div",k0t,[$e(ly,{content:e.summary,streaming:!1},null,8,["content"])],512),[[Ar,t.value]])])}}},cAe=Yo(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)=>(F(),K("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=Yo(I0t,[["__scopeId","data-v-08478745"]]),fAe=(e,t={})=>{const n=Gf(),r=Ev();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},bh=e=>{e&&e.readyState!==EventSource.CLOSED&&e.close()},JC="/assets/2-G3awVIMi.png",e5="/assets/22-PHJtTrlQ.png",tk="/assets/29-B03QHNcz.png",nk="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=",rk="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=",ok="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",ik="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==",Lv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAEWSURBVFiF7ZZNbsJADIWfUVnDDchNOhyBE5BuO5HazgUwFwA2EUvoDXqEcJP2CF12U3dRgVASgT2EH4m8pTX2+2RbGgP3LtI+zF7ZCdEg1uhX5Hu54I8ogOfAKQGrWPOdBEU+5+F+qKPJI+DxZPP/Qq4cejAXEUrtzpLWmUcB5PPJuzXHB641B5QjOKcqHcgCswAvAPp1CT6wKGuv8xk/mQEEmCgNGtGhHfgEUETUTJsCKDQtLMsHNgFcfQlbgBagBWgB7PeAXs4H3l5R7hoACRT/wkVHQMC0HDtnB1T3wA0voSDxb9OxvaT2YDoGQHCAODuATdURSNQVVFMGG827Sge6gtGPwHWIerHmJPKVL7iIzb8v/QE/Jz7sdjN4KAAAAABJRU5ErkJggg==",t5="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==",n7="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=",Vy="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==",qy="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=",ak="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==",sk="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==",lk="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=z_(),n=Hl(),r=Y(""),o=Y(null),i=Y(!1),a=Y(!1),s=Y({}),l=Y("");let u=null;const d=Y(new Map),c=Y(!1),f=Y(null),p=Y(""),v=Y([]),h=Y([]),g=Y([]),y=Y({}),m=Y({}),b=Y(null),w=Y(""),A=Y("success"),S=Y(2e3),{isListening:k,transcript:O,error:I,startListening:P,stopListening:M}=T0(),_=Y(null),R=()=>{_.value&&(Bo(),_.value=null)},N=()=>{document.hidden&&_.value&&(Bo(),_.value=null)},V=Y(null),L=Y(null),j=Y(!1);Y("");const H=Y([]),G=Y(!1),Z=Y(null),z=Y([]),U=Y(!1),W=Y(null),re=Y(!0),J=Y(!0),te=Y({});Y(!1),Y(new Set);const X=Y({}),ue=Y({}),me=Y(!1),Me=Y({results:[],keywords:[],total:0}),Ae=Ur({maxSize:20*1024*1024,allowedTypes:[".docx"]}),ge=Y(!1),_e=Y(""),Q=Y(""),be=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"?"删除消息":"删除确认"),ce=ae=>{if(!ae)return ae;try{if(ae.includes("%")&&(ae=decodeURIComponent(ae)),ae.includes("\\u")&&(ae=ae.replace(/\\u[\dA-F]{4}/gi,fe=>String.fromCharCode(parseInt(fe.replace(/\\u/g,""),16)))),ae.includes("&")){const fe=document.createElement("textarea");fe.innerHTML=ae,ae=fe.value}return Rt(ae)}catch(fe){return console.warn("文本处理失败:",fe),ae}},Re=new Map,Ee=new Map,Le=(ae,fe,Ce,Ft=50)=>new Promise(Tt=>{const yn=`${ae.file_index}_${fe}`;Ee.has(yn)&&(clearInterval(Ee.get(yn)),Ee.delete(yn)),ae._typewriterStates||(ae._typewriterStates={});let Cn=0;ae._typewriterStates[fe]={currentIndex:0,isTyping:!0};const On=setInterval(()=>{if(Cn{Re.forEach((ae,fe)=>{clearInterval(ae)}),Re.clear(),Ee.forEach((ae,fe)=>{clearInterval(ae)}),Ee.clear()},Pe=(ae,fe)=>{if(!fe)return Ne(ae);const Ce=` 📄 文件信息: 文件名:${fe.name} 文件大小:${ha(fe.size)} 文件类型:${fe.type} 📝 文件内容: ${fe.content} --- `;return ae.replace(/.*?<\/word>/gs,Ce).replace(/.*?<\/filename>/g,"").replace(/.*?<\/filesize>/g,"")},Ne=ae=>{const fe=ae.match(/(.*?)<\/filename>/),Ce=fe?fe[1]:"未知文件",Ft=ae.match(/(.*?)<\/filesize>/),Tt=Ft?parseInt(Ft[1]):0,yn=ae.match(/(.*?)<\/word>/s),Cn=yn?yn[1].trim():"无内容",On=` 📄 文件信息: 文件名:${Ce} 文件大小:${ha(Tt)} 文件类型:${Ce.endsWith(".docx")?".docx":Ce.endsWith(".doc")?".doc":"未知"} 📝 文件内容: ${Cn} --- `;return ae.replace(/.*?<\/word>/gs,On).replace(/.*?<\/filename>/g,"").replace(/.*?<\/filesize>/g,"")},ht=ae=>{try{let fe=Tg(ae);return fe=Lt(fe),Vt(()=>{nr()}),fe}catch(fe){return console.error("Markdown渲染失败:",fe),ae.replace(/\n/g,"
    ")}},Rt=ae=>{if(!ae)return ae;let fe=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[Ft,Tt]of Object.entries(Ce)){const yn=new RegExp(Ft.replace(/\\/g,"\\\\"),"g");fe=fe.replace(yn,Tt)}return fe=fe.replace(/\\frac\{([^}]+)\}\{([^}]+)\}/g,"$1/$2"),fe=fe.replace(/\\sqrt\{([^}]+)\}/g,"√$1"),fe=fe.replace(/\\int/g,"∫"),fe=fe.replace(/\\sum/g,"∑"),fe=fe.replace(/\\prod/g,"∏"),fe=fe.replace(/\\partial/g,"∂"),fe=fe.replace(/\\nabla/g,"∇"),fe=fe.replace(/\\infty/g,"∞"),fe=fe.replace(/\\pm/g,"±"),fe=fe.replace(/\\times/g,"×"),fe=fe.replace(/\\div/g,"÷"),fe=fe.replace(/\\leq/g,"≤"),fe=fe.replace(/\\geq/g,"≥"),fe=fe.replace(/\\neq/g,"≠"),fe=fe.replace(/\\approx/g,"≈"),fe=fe.replace(/\\equiv/g,"≡"),fe=fe.replace(/\\propto/g,"∝"),fe=fe.replace(/\\in/g,"∈"),fe=fe.replace(/\\notin/g,"∉"),fe=fe.replace(/\\subset/g,"⊂"),fe=fe.replace(/\\supset/g,"⊃"),fe=fe.replace(/\\cup/g,"∪"),fe=fe.replace(/\\cap/g,"∩"),fe=fe.replace(/\\emptyset/g,"∅"),fe=fe.replace(/\\land/g,"∧"),fe=fe.replace(/\\lor/g,"∨"),fe=fe.replace(/\\neg/g,"¬"),fe=fe.replace(/\\rightarrow/g,"→"),fe=fe.replace(/\\leftarrow/g,"←"),fe=fe.replace(/\\leftrightarrow/g,"↔"),fe=fe.replace(/\\forall/g,"∀"),fe=fe.replace(/\\exists/g,"∃"),fe},Lt=ae=>{if(!ae)return ae;const fe="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,Ft)=>/^${Ft}`:`${Ft}`)},tn=Y([]),Wt=Y(0),zt=Y(!1),dt=async()=>{try{zt.value=!0;const ae=await Bn.getHistoryRecord({ai_conversation_id:0,business_type:0});ae.statusCode===200?(Wt.value=ae.total||0,tn.value=ae.data.map(fe=>({id:fe.id,title:fe.title||ut(fe.content),time:rt(fe.updated_at),businessType:fe.business_type,isActive:!1,rawData:fe}))):console.error("获取历史记录失败:",ae.statusCode)}catch(ae){console.error("获取历史记录失败:",ae)}finally{zt.value=!1}},_t=async ae=>{try{const fe=await Bn.getHistoryRecord({ai_conversation_id:ae,business_type:0});if(fe.statusCode===200){if(!fe.data||!Array.isArray(fe.data))return console.error("响应数据格式错误"),!1;const Ce=await Promise.all(fe.data.map(async(Tt,yn)=>{const Cn=he(Tt.user_feedback);let On=null,mr=Tt.content,Er=null;if(Tt.type==="ai"&&yn>0){const io=fe.data[yn-1];if(io&&io.type==="user")if(io.content.includes("
    ")){const Vo=io.content.split("
    ")[1];Er=Vo?Vo.trim():io.content}else Er=io.content}if(Tt.type==="user"&&Tt.content.includes("
    ")){const io=Tt.content.match(/(.*?)<\/filename>/),Vo=Tt.content.match(/(.*?)<\/filesize>/),Na=Tt.content.match(/(.*?)<\/word>/s);if(io&&Vo){const ml=io[1],Xc=parseInt(Vo[1]),h2=Na?Na[1].trim():"";On={name:ml,size:Xc,type:ml.endsWith(".docx")?".docx":ml.endsWith(".doc")?".doc":".docx",icon:_r(ml.endsWith(".docx")?".docx":ml.endsWith(".doc")?".doc":".docx"),content:h2};const xm=Tt.content.split("")[1];mr=xm?xm.trim():""}}let Wo=mr||"",Pr=[],Io=Tt.summary||"";if(Tt.type==="ai")try{const io=Tt.content||"";if(io.trim().startsWith("[")||io.trim().startsWith("{"))try{const Vo=JSON.parse(io);if(Vo.reports&&Array.isArray(Vo.reports))Pr=Vo.reports,Vo.webSearchRaw&&(Tt.webSearchRaw=Vo.webSearchRaw),Vo.webSearchSummary&&(Tt.webSearchSummary=Vo.webSearchSummary,Tt.hasWebSearchResults=Vo.hasWebSearchResults||!1),Vo.summary&&(Io=Vo.summary);else if(Array.isArray(Vo))Pr=Vo;else throw new Error("Not an array or valid format")}catch{let Na=io.replace(/\\n/g,` `).replace(/\\t/g," ").replace(/\\r/g,"\r");Wo=ht(Na)}else{let Vo=io.replace(/\\n/g,` `).replace(/\\t/g," ").replace(/\\r/g,"\r");Wo=ht(Vo)}}catch(io){console.error("历史记录处理失败:",io),Wo=Tt.content||""}let oo=0,ni=0,Oi=100;if(Pr.length>0){const io=Pr.filter(Vo=>Vo.type!=="category_title");oo=io.length,ni=io.filter(Vo=>Vo.status==="completed").length,Oi=oo>0?Math.round(ni/oo*100):100}return{type:Tt.type,content:mr,displayContent:Wo,reports:Pr,summary:Io,totalFiles:oo,completedCount:ni,progress:Oi,file:On,isTyping:!1,id:Tt.id,userFeedback:Cn,userQuestion:Er,searchSources:Tt.type==="ai"&&Tt.search_source?ct(Tt.search_source):null,rawData:Tt,webSearchRaw:Tt.webSearchRaw||null,webSearchSummary:Tt.webSearchSummary||null,hasWebSearchResults:Tt.hasWebSearchResults||!1,webSearchTotal:Tt.webSearchRaw?.total||0,showStats:oo>0,currentStatus:"completed",statusMessage:oo>0?Tt.webSearchRaw?.total>0?` 蜀道安全管理AI智能助手正在为您分析 ${oo} 个知识库文件,以及 ${Tt.webSearchRaw.total} 个相关网络资源`:` 蜀道安全管理AI智能助手正在为您分析 ${oo} 个知识库文件`:""}}));g.value=Ce,Ot.value=ae;const Ft=Ce.filter(Tt=>Tt.type==="ai").pop();return Ce.forEach((Tt,yn)=>{if(Tt.type==="ai"&&Tt.rawData){if(Tt.rawData.search_source)try{const Cn=JSON.parse(Tt.rawData.search_source);Array.isArray(Cn)&&Cn.length>0&&(te.value[Tt.id]=Cn)}catch(Cn){console.error("解析搜索结果失败:",Cn)}if(Tt.reports&&Tt.reports.length>0&&(s.value[yn]||(s.value[yn]={}),Tt.reports.filter(On=>On.type==="category_title").map(On=>On.category).forEach(On=>{s.value[yn][On]=!0})),Tt===Ft&&Tt.rawData.guess_you_want)try{const Cn=Tt.rawData.guess_you_want.trim().split(` `).map(On=>On.trim()).filter(On=>On.length>0).filter((On,mr,Er)=>Er.indexOf(On)===mr).slice(0,3);Cn.length>0&&(z.value=Cn,W.value=Tt.id)}catch(Cn){console.error("解析推荐问题失败:",Cn)}}}),await Vt(),setTimeout(()=>nr(),100),!0}else return console.error("获取对话消息失败:",fe.statusCode),!1}catch(fe){return console.error("获取对话消息失败:",fe),!1}},ut=ae=>{if(!ae)return"未知对话";if(ae.includes("")){const Ft=ae.split("")[1];if(Ft&&Ft.trim()){let yn=Ft.replace(/\s+/g," ").trim().split(/[。!?\n]/)[0];if(yn.includes("基于您好")||yn.includes("蜀道安全管理AI智能助手")){const Cn=yn.match(/问题描述[::](.+?)(?=分析结果|$)/);Cn?yn=Cn[1].trim():yn=yn.substring(0,20)}return yn.length>30?yn.substring(0,30)+"...":yn||"新对话"}}let fe=ae.replace(/<[^>]*>/g,"");fe=fe.replace(/\s+/g," ").trim();let Ce=fe.split(/[。!?\n]/)[0];if(Ce.includes("基于您好")||Ce.includes("蜀道安全管理AI智能助手")){const Ft=Ce.match(/问题描述[::](.+?)(?=查询结果|$)/);Ft?Ce=Ft[1].trim():Ce=Ce.substring(0,20)}return Ce.length>30?Ce.substring(0,30)+"...":Ce||"新对话"},rt=ae=>{if(!ae)return"未知时间";let fe;if(typeof ae=="string")fe=new Date(ae);else{let mr=ae;(ae.toString().length===10||ae.toString().length===11)&&(mr=ae*1e3),fe=new Date(mr)}const Ce=new Date,Ft=new Date(Ce.getFullYear(),Ce.getMonth(),Ce.getDate()),Tt=new Date(Ft.getTime()-1440*60*1e3);if(fe>=Ft)return fe.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"});if(fe>=Tt&&fe{switch(parseInt(ae)){case 2:return"like";case 3:return"dislike";default:return null}},Je=ae=>{switch(ae){case"like":return 2;case"dislike":return 3;default:return 0}},ct=ae=>{try{if(!ae||typeof ae!="string"||!ae.trim())return null;const fe=JSON.parse(ae);if(!Array.isArray(fe))return null;const Ce=fe.filter(Ft=>Ft&&typeof Ft=="object"&&Ft.title&&Ft.content);return Ce.length>0?Ce:null}catch(fe){return console.error("解析搜索来源失败:",fe),null}},Ot=Y(0);Y(0);const Tn=()=>{g.value.length===0&&(tn.value.forEach(ae=>ae.isActive=!1),X.value={},ue.value={},te.value={})},In=async()=>{!r.value.trim()||a.value||(ra(),z.value=[],W.value=null,a.value=!0,i.value=!0,Tn(),await Gt({question:r.value,windowSize:3,nResults:10}),r.value="",ra(),L.value&&Ho(),Si())};let je=0,ke=0;const ye=ae=>{const fe=[nk,rk,ok,ik],Ce=fe[je%fe.length];return je++,Ce},Be=ae=>{const fe=[ak,sk,lk],Ce=fe[ke%fe.length];return ke++,Ce},ot=(ae,fe)=>{s.value[ae]||(s.value[ae]={}),s.value[ae][fe.category]=fe.expanded},gt=(ae,fe)=>fe?s.value[ae]?s.value[ae][fe]!==!1:(s.value[ae]={},!0):!0,Ke=ae=>!ae||ae.length===0?!1:ae.every(fe=>fe.type==="category_title"),He=(ae,fe)=>{if(fe===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"}},at=(ae,fe,Ce=null)=>{const Tt={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}}[fe];if(Tt){if(ae.currentStatus=fe,fe==="data_retrieved"){const yn=ae.totalFiles||0,Cn=ae.webSearchTotal||0;Cn>0?ae.statusMessage=`蜀道安全管理AI智能助手正在为您分析 ${yn} 个知识库文件,以及 ${Cn} 个相关网络资源`:ae.statusMessage=`蜀道安全管理AI智能助手正在为您分析 ${yn} 个知识库文件`}else if(fe==="completed"){const yn=ae.totalFiles||0,Cn=ae.webSearchTotal||0;Cn>0?ae.statusMessage=`✅ 蜀道安全管理AI智能助手已为您检索到 ${yn} 个知识库文件,以及 ${Cn} 个相关网络资源`:ae.statusMessage=`✅ 蜀道安全管理AI智能助手已为您检索到 ${yn} 个知识库文件`}else ae.statusMessage=Ce||Tt.message;ae.progress=Tt.progress}},St=(ae,fe)=>{const Ce=g.value[fe];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 Ft=ae.conversation_id||ae.ai_conversation_id;Ft&&Ot.value===0&&(Ot.value=Ft,console.log("✅ SSE收到conversation_id并赋值:",Ft));const Tt=ae.message_id||ae.ai_message_id;switch(Tt&&(Ce.ai_message_id||(Ce.ai_message_id=Tt,console.log("✅ SSE收到message_id并赋值:",Tt),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=Tt,console.log(" - aiMessage.rawData.id:",Ce.rawData.id))),ae.type){case"intent":if(at(Ce,"querying_kb"),ae.is_professional_question===!1){const Pr=ae.summary||"抱歉,我暂时无法回答您的问题。";if(Ce.summary=Pr,Ce.isTyping=!1,Ce.ai_message_id&&gd(Ce.ai_message_id,Pr).catch(oo=>console.error("回写AI消息失败:",oo)),u&&(bh(u),u=null),a.value=!1,d.value.clear(),re.value=!0,Ot.value&&Ot.value!==0){tn.value.forEach(io=>{io.isActive=!1});const oo=g.value.find(io=>io.type==="user"),ni=oo?oo.content.substring(0,20)+"...":"新对话",Oi=tn.value.findIndex(io=>io.id===Ot.value);if(Oi===-1){const io={id:Ot.value,title:ni,time:rt(new Date().toISOString()),businessType:0,isActive:!0,rawData:{id:Ot.value,content:oo?.content||"",updated_at:new Date().toISOString()}};tn.value.unshift(io),console.log("✅ 非专业问题:已在列表最前面插入新历史记录")}else{const io=tn.value.splice(Oi,1)[0];io.isActive=!0,io.time=rt(new Date().toISOString()),tn.value.unshift(io),console.log("✅ 非专业问题:已将历史记录移到最前面")}Wt.value=tn.value.length}const Io=g.value.filter(oo=>oo.type==="user").pop();Io&&Ce.ai_message_id&&Pr&&mi(Io.content,Pr,Ce.ai_message_id);return}if(ae.summary){const Pr=ae.summary;Ce._fullSummary=Pr,Ce.summary="",Le({file_index:"summary",report:Ce,_typewriterStates:{}},"summary",Pr,50).catch(Io=>{console.error("问题总结打字机效果失败:",Io),Ce.summary=Pr})}break;case"documents":Ce.totalFiles=ae.total,Ce.completedCount=0,J.value?at(Ce,"web_searching"):at(Ce,"data_retrieved"),Vt(()=>{dr()});break;case"category_title":Ce.reports.length===0&&Ce.progress>=30&&at(Ce,"analyzing_files");const yn={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(yn),s.value[fe]||(s.value[fe]={}),s.value[fe][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 Cn={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(Cn),d.value.set(ae.file_index,Ce.reports.length-1);break;case"report_chunk":break;case"report":Ce.reports.filter(Pr=>Pr.status==="completed").length===0&&at(Ce,"deep_thinking");const On=ae.data||ae;console.log("🔍 [DEBUG] report 数据:",{file_index:On.file_index,source_file:On.source_file,file_path:On.file_path,metadata:On.metadata,完整reportData:On});const mr=d.value.get(On.file_index);let Er;if(mr!==void 0){const Pr=Ce.reports[mr].metadata?._displayCategory,Io=On.report?.summary||"",oo=On.report?.analysis||"",ni=On.report?.clauses||"",Oi=On.report?.display_name||"";Ce.reports[mr]={...On,report:{display_name:Oi,summary:"",analysis:"",clauses:""},status:"completed",metadata:{...On.metadata,_displayCategory:Pr||Ce.currentCategory},_fullContent:{display_name:Oi,summary:Io,analysis:oo,clauses:ni}},Er=Ce.reports[mr],d.value.delete(On.file_index)}else{const Pr=On.report?.summary||"",Io=On.report?.analysis||"",oo=On.report?.clauses||"",ni=On.report?.display_name||"",Oi={...On,report:{display_name:ni,summary:"",analysis:"",clauses:""},status:"completed",metadata:{...On.metadata,_displayCategory:Ce.currentCategory},_fullContent:{display_name:ni,summary:Pr,analysis:Io,clauses:oo}};Ce.reports.push(Oi),Er=Oi}Er._fullContent&&!Er._typewriterCompleted&&(Er._typewriterStarted=!0,Le(Er,"summary",Er._fullContent.summary||"",200).then(()=>Le(Er,"analysis",Er._fullContent.analysis||"",200)).then(()=>{if(Er._fullContent.clauses)return Le(Er,"clauses",Er._fullContent.clauses||"",200)}).then(()=>{Er._typewriterCompleted=!0}).catch(Pr=>{console.error("报告打字机效果失败:",Pr),Er.report.summary=Er._fullContent.summary||"",Er.report.analysis=Er._fullContent.analysis||"",Er.report.clauses=Er._fullContent.clauses||"",Er._typewriterCompleted=!0}),console.log("📝 [DEBUG] 报告打字机已启动:",{file_index:Er.file_index,summary_length:Er._fullContent.summary?.length||0,analysis_length:Er._fullContent.analysis?.length||0,clauses_length:Er._fullContent.clauses?.length||0})),Ce.completedCount=Ce.reports.filter(Pr=>Pr.status==="completed"&&Pr.type!=="category_title").length;const Wo=Ce.totalFiles>0?Ce.completedCount/Ce.totalFiles:0;if(Wo>=1)at(Ce,"outputting");else if(Wo>=.5)at(Ce,"deep_thinking");else{const Pr=30+Math.round(Wo*30);Ce.progress=Pr}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 Pr=`蜀道安全管理AI智能助手已为您检索到 ${Ce.totalFiles||0} 个知识库文件,以及 ${Ce.webSearchTotal} 个相关网络资源`;at(Ce,"data_retrieved",Pr),console.log(`[网络搜索] 收到原始数据: ${ae.total} 条结果`)}else{const Pr=`蜀道安全管理AI智能助手已为您检索到 ${Ce.totalFiles||0} 个知识库文件`;at(Ce,"data_retrieved",Pr),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,Le({file_index:"web_search_summary",report:Ce,_typewriterStates:{}},"webSearchSummary",ae.summary,200).then(()=>{Ce._webSearchSummaryCompleted=!0}).catch(Io=>{console.error("网络搜索总结打字机效果失败:",Io),Ce.webSearchSummary=ae.summary,Ce._webSearchSummaryCompleted=!0}),console.log("[网络搜索] 收到AI总结,长度:",ae.summary.length),at(Ce,"outputting"),Ce.ai_message_id){const Io={reports:Ce.reports||[],webSearchRaw:Ce.webSearchRaw||null,webSearchSummary:Ce._fullWebSearchSummary||ae.summary,hasWebSearchResults:!0,summary:Ce.summary||Ce._fullSummary||""},oo=JSON.stringify(Io);Ce.summary||Ce._fullSummary,gd(Ce.ai_message_id,oo).then(ni=>{console.log("[网络搜索] AI消息保存成功,更新为完成状态"),at(Ce,"completed"),Ce.isTyping=!1,a.value=!1,d.value.clear(),re.value=!0}).catch(ni=>{console.error("[网络搜索] AI消息保存失败:",ni),at(Ce,"completed"),Ce.isTyping=!1,a.value=!1})}else at(Ce,"completed"),Ce.isTyping=!1,a.value=!1}break;case"error":At.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&&at(Ce,"completed"),At.success("报告生成完成");break;case"interrupted":a.value=!1,d.value.clear(),Ce.isTyping=!1,At.warning(ae.message||"报告生成已中断");break}},tt=ae=>{console.error("❌ SSE连接异常断开:",ae),u&&(bh(u),u=null),a.value=!1,d.value.clear(),g.value.forEach(fe=>{fe.type==="ai"&&fe.isTyping&&(fe.isTyping=!1)}),re.value=!0,At.error("连接已断开")},Qe=()=>{if(a.value=!1,g.value.forEach(Ce=>{if(Ce.type==="ai"&&Ce.isTyping&&(Ce.isTyping=!1,Ce.ai_message_id)){const Ft={reports:Ce.reports||[],webSearchRaw:Ce.webSearchRaw||null,webSearchSummary:Ce._fullWebSearchSummary||Ce.webSearchSummary||null,hasWebSearchResults:Ce.hasWebSearchResults||!1,summary:Ce.summary||Ce._fullSummary||""},Tt=Ce.reports&&Ce.reports.length>0?JSON.stringify(Ft):Ce.content;Tt&&(Ce.summary||Ce._fullSummary,gd(Ce.ai_message_id,Tt).catch(yn=>console.error("回写AI消息失败:",yn)))}}),re.value=!0,console.log("📝 AI回复完成,准备更新历史记录"),console.log(" - ai_conversation_id:",Ot.value),Ot.value&&Ot.value!==0){console.log("✅ 开始更新历史记录列表"),tn.value.forEach(yn=>{yn.isActive=!1});const Ce=g.value.find(yn=>yn.type==="user"),Ft=Ce?Ce.content.substring(0,20)+"...":"新对话";console.log("📝 生成的标题:",Ft);const Tt=tn.value.findIndex(yn=>yn.id===Ot.value);if(console.log("🔍 检查是否已存在,索引:",Tt),Tt===-1){const yn={id:Ot.value,title:Ft,time:rt(new Date().toISOString()),businessType:0,isActive:!0,rawData:{id:Ot.value,content:Ce?.content||"",updated_at:new Date().toISOString()}};console.log("📦 准备插入的新项:",yn),tn.value.unshift(yn),console.log("✅ 已在列表最前面插入新历史记录并设为高亮"),console.log("📊 更新后的历史记录数量:",tn.value.length)}else{console.log("🔄 历史记录已存在,将其移到最前面");const yn=tn.value.splice(Tt,1)[0];yn.isActive=!0,yn.time=rt(new Date().toISOString()),tn.value.unshift(yn),console.log("✅ 已将现有历史记录移到最前面并设为高亮")}Wt.value=tn.value.length,console.log("📊 最终历史记录总数:",Wt.value)}else console.warn("⚠️ ai_conversation_id 为 0 或未设置,跳过历史记录更新");console.log("🎯 准备获取AI相关推荐问题");const ae=g.value.filter(Ce=>Ce.type==="user").pop(),fe=g.value.filter(Ce=>Ce.type==="ai").pop();if(ae&&fe&&fe.ai_message_id){console.log("📝 找到最后一条用户消息和AI消息"),console.log(" - 用户消息:",ae.content),console.log(" - AI消息ID:",fe.ai_message_id);let Ce="";fe.summary?Ce=fe.summary:fe.content?Ce=fe.content:fe.reports&&fe.reports.length>0&&(Ce=fe.reports.filter(Tt=>Tt.report&&Tt.report.summary).map(Tt=>Tt.report.summary).slice(0,3).join(` `)),Ce&&Ce.trim()?(console.log("📝 AI回复内容长度:",Ce.length),mi(ae.content,Ce,fe.ai_message_id)):console.warn("⚠️ AI回复内容为空,跳过推荐问题获取")}else console.warn("⚠️ 未找到有效的用户消息或AI消息,跳过推荐问题获取")},it=ae=>{u&&(bh(u),u=null),a.value=!1,d.value.clear(),g.value.forEach(fe=>{if(fe.type==="ai"&&fe.isTyping&&(fe.isTyping=!1,at(fe,"completed"),(fe.webSearchRaw||fe.webSearchSummary)&&console.log("✅ 保留已接收的网络搜索数据"),fe.ai_message_id)){const Ce={reports:fe.reports||[],webSearchRaw:fe.webSearchRaw||null,webSearchSummary:fe._fullWebSearchSummary||fe.webSearchSummary||null,hasWebSearchResults:fe.hasWebSearchResults||!1,summary:fe.summary||fe._fullSummary||""},Ft=fe.reports&&fe.reports.length>0?JSON.stringify(Ce):fe.content;Ft&&(fe.summary||fe._fullSummary,gd(fe.ai_message_id,Ft).catch(Tt=>console.error("回写AI消息失败:",Tt)))}}),re.value=!0,At.warning(ae.message||"报告生成已中断")},Mt=async()=>{!u||Ot.value===void 0||Ot.value===null||(u&&(bh(u),u=null),a.value=!1,d.value.clear(),g.value.forEach(ae=>{if(ae.type==="ai"&&ae.isTyping&&(ae.isTyping=!1,at(ae,"completed"),(ae.webSearchRaw||ae.webSearchSummary)&&console.log("✅ 停止时保留已接收的网络搜索数据"),ae.ai_message_id)){const fe={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(fe):ae.content;Ce&&(ae.summary||ae._fullSummary,gd(ae.ai_message_id,Ce).catch(Ft=>console.error("回写AI消息失败:",Ft)))}}),re.value=!0,At.success("已停止生成"),Y4e(null,Ot.value).catch(ae=>console.warn("停止请求失败:",ae)))},Gt=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 fe=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}),Vt(()=>{setTimeout(()=>{dr()},100)});try{const Ce=new URLSearchParams({user_question:ae.question,window_size:ae.windowSize,n_results:10,ai_conversation_id:Ot.value,is_network_search_enabled:J.value}),Tt=`${$V()}/report/complete-flow?${Ce.toString()}`;u=fAe(Tt,{onMessage:yn=>St(yn,fe),onError:tt,onComplete:Qe,onInterrupted:it})}catch(Ce){console.error("启动失败:",Ce),At.error(`启动失败: ${Ce.message}`),a.value=!1}},En=ae=>{Fe(),g.value=[],Ot.value=0,i.value=!0,Gt({question:`请详细介绍${ae}的相关内容`,windowSize:3,nResults:10})},Nn=ae=>{Fe(),g.value=[],Ot.value=0,i.value=!0,Gt({question:ae,windowSize:3,nResults:10})},xt=ae=>{ra(),Gt({question:ae,windowSize:3,nResults:10})},sn=async ae=>{if(a.value)return;_.value&&(Bo(),_.value=null),Fe(),X.value={},ue.value={},te.value={},re.value=!0,o.value=ae,l.value=ae.title,tn.value.forEach(Ce=>{Ce.isActive=Ce.id===ae.id}),i.value=!0;const fe={type:"ai",content:"正在加载历史对话...",displayContent:"正在加载历史对话...",isTyping:!0,id:Date.now()+1,userFeedback:null};g.value=[fe];try{await _t(ae.id)?(g.value=g.value.filter(Ft=>Ft.id!==fe.id),await Vt(),Si(),z.value.length>0&&setTimeout(()=>Si(),200)):(g.value=[{type:"ai",content:"抱歉,加载历史对话失败,请稍后重试。",displayContent:"抱歉,加载历史对话失败,请稍后重试。",isTyping:!1,id:Date.now()+1,userFeedback:null}],await Vt(),Si())}catch(Ce){console.error("加载历史对话失败:",Ce),g.value=[{type:"ai",content:"抱歉,加载历史对话时发生错误,请稍后重试。",displayContent:"抱歉,加载历史对话时发生错误,请稍后重试。",isTyping:!1,id:Date.now()+1,userFeedback:null}],await Vt(),Si()}},vt=(ae,fe)=>{f.value={item:ae,index:fe},p.value="history",c.value=!0},Bt=async()=>{f.value&&(p.value==="history"?await mn():p.value==="message"&&await Mn())},mn=async()=>{const{item:ae,index:fe}=f.value;try{const Ce=await Bn.deleteHistoryRecord({ai_conversation_id:ae.id});Ce.statusCode===200?(tn.value.splice(fe,1),Wt.value=tn.value.length,ae.isActive&&await cn(),At.success("删除成功")):At.error(Ce.msg||"删除失败")}catch(Ce){console.error("删除失败:",Ce),At.error("删除失败,请稍后重试")}finally{c.value=!1,f.value=null,p.value=""}},Mn=async()=>{const{messageIndex:ae}=f.value;try{const fe=g.value[ae],Ce=fe.ai_message_id||fe.rawData&&fe.rawData.id;fe&&Ce?(await Bn.deleteConversation({ai_message_id:Ce})).statusCode===200?(g.value.splice(ae,1),ae>0&&g.value.splice(ae-1,1),At.success("删除成功")):At.error("删除失败,请稍后重试"):(g.value.splice(ae,1),At.success("删除成功"))}catch(fe){console.error("删除失败:",fe),At.error("删除失败,请稍后重试")}finally{c.value=!1,f.value=null,p.value=""}},tr=()=>{c.value=!1,f.value=null,p.value=""},cn=async()=>{a.value||(_.value&&(Bo(),_.value=null),Fe(),Ot.value=0,g.value=[],r.value="",l.value="",L.value=null,i.value=!1,z.value=[],W.value=null,te.value={},ue.value={},X.value={},tn.value.forEach(ae=>ae.isActive=!1),await dt())},qe=()=>{k.value?Zt():yt()},yt=()=>{P()||At.error("语音识别启动失败,请检查麦克风权限")},Zt=()=>{M(),O.value.trim()&&(r.value=O.value)},bt=Y(null),Kt=Y([]),bn=Y(!1),Rn=()=>window.location.origin+"/tts/voice",Kn=async()=>{const ae=Rn();try{const fe=new AbortController,Ce=setTimeout(()=>fe.abort(),8e3),Ft={"Content-Type":"application/json"},Tt=Gf(),yn=Ev();if(Tt&&yn){const On=yn.charAt(0).toUpperCase()+yn.slice(1).toLowerCase();Ft.Authorization=`${On} ${Tt}`}const Cn=await fetch(ae,{method:"POST",headers:Ft,body:JSON.stringify({text:"测试"}),signal:fe.signal});return clearTimeout(Ce),Cn.ok?(await Cn.blob(),{success:!0,message:"TTS服务连接正常"}):{success:!1,message:`TTS服务响应错误: ${Cn.status}`}}catch(fe){let Ce="TTS服务连接失败";return fe.name==="AbortError"?Ce="TTS服务连接超时":fe.message.includes("Failed to fetch")&&(Ce="无法连接到TTS服务"),{success:!1,message:Ce}}},Fr=async(ae,fe=0)=>{const Ce=Rn(),Ft=2;try{const Tt=new AbortController,yn=setTimeout(()=>Tt.abort(),15e3),Cn={"Content-Type":"application/json"},On=Gf(),mr=Ev();if(On&&mr){const Pr=mr.charAt(0).toUpperCase()+mr.slice(1).toLowerCase();Cn.Authorization=`${Pr} ${On}`}const Er=await fetch(Ce,{method:"POST",headers:Cn,body:JSON.stringify({text:ae}),signal:Tt.signal});if(clearTimeout(yn),!Er.ok)throw new Error(`TTS接口调用失败: ${Er.status}`);const Wo=await Er.blob();if(Wo.size===0)throw new Error("TTS接口返回的音频数据为空");return URL.createObjectURL(Wo)}catch(Tt){if(fesetTimeout(On,(fe+1)*1e3)),Fr(ae,fe+1);let yn="语音合成失败";Tt.name==="AbortError"?yn="语音合成请求超时":Tt.message.includes("Failed to fetch")?yn="无法连接到语音合成服务":Tt.message.includes("TTS接口调用失败")&&(yn=Tt.message);const Cn=new Error(yn);throw Cn.originalError=Tt,Cn}},ho=ae=>{if(!ae)return"";let fe=ae.replace(/<[^>]*>/g,"");return fe=fe.replace(/\s+/g," ").trim(),fe=fe.replace(/[^\u4e00-\u9fa5a-zA-Z0-9\s,。!?、;:""''()【】《》]/g,""),fe},Wr=ae=>{if(ae.length<=60)return[ae];const fe=[];let Ce="",Ft=!0;const Tt=ae.split(/[。!?]/);for(const yn of Tt){if(yn.trim().length===0)continue;const Cn=yn+(yn.match(/[。!?]$/)?"":"。"),On=Ft?60:200;if(Ce.length+Cn.length<=On)Ce+=Cn;else if(Ce.length>0)fe.push(Ce.trim()),Ce=Cn,Ft=!1;else{const mr=Ft?60:200;fe.push(Cn.substring(0,mr)),Ce=Cn.substring(mr),Ft=!1}}return Ce.trim().length>0&&fe.push(Ce.trim()),fe},bo=ae=>new Promise((fe,Ce)=>{const Ft=new Audio(ae);bt.value=Ft,Ft.onended=()=>{bt.value=null,fe()},Ft.onerror=Tt=>{bt.value=null,Ce(Tt)},Ft.play().catch(Tt=>{bt.value=null,Ce(Tt)})}),Bo=()=>{try{bt.value&&(bt.value.pause(),bt.value.currentTime=0,bt.value=null),Kt.value=[],bn.value=!1,window.speechSynthesis&&window.speechSynthesis.cancel()}catch(ae){console.warn("停止音频播放失败:",ae)}},br=async(ae,fe)=>{if(_.value===fe)try{const Ce=await Fr(ae[0]);if(_.value!==fe){URL.revokeObjectURL(Ce);return}const Tt=ae.slice(1).map(async(Cn,On)=>{try{const mr=await Fr(Cn);return{index:On+1,audioUrl:mr}}catch{return{index:On+1,audioUrl:null}}});if(await bo(Ce),URL.revokeObjectURL(Ce),_.value!==fe){(await Promise.allSettled(Tt)).forEach(On=>{On.status==="fulfilled"&&On.value.audioUrl&&URL.revokeObjectURL(On.value.audioUrl)});return}const yn=await Promise.allSettled(Tt);if(_.value!==fe){yn.forEach(Cn=>{Cn.status==="fulfilled"&&Cn.value.audioUrl&&URL.revokeObjectURL(Cn.value.audioUrl)});return}bn.value=!0;for(const Cn of yn){if(_.value!==fe)break;if(Cn.status==="fulfilled"&&Cn.value.audioUrl)try{await bo(Cn.value.audioUrl),URL.revokeObjectURL(Cn.value.audioUrl)}catch(On){console.error("音频播放失败:",On)}}bn.value=!1}catch(Ce){console.error("音频队列播放失败:",Ce),bn.value=!1}},Vr=async ae=>{if(_.value===ae.id)Bo(),_.value=null;else{_.value&&(Bo(),_.value=null);const fe=ae.displayContent||ae.content;if(fe&&fe.trim())try{const Ce=ho(fe);if(Ce.length===0){At.warning("文本内容为空,无法进行语音合成");return}if(_.value=ae.id,Ce.length<=60){const Ft=await Fr(Ce);await bo(Ft),URL.revokeObjectURL(Ft)}else{const Ft=Wr(Ce);await br(Ft,ae.id)}}catch(Ce){console.error("语音合成失败:",Ce),At.error("语音合成失败,请稍后重试")}finally{_.value=null,bn.value=!1}}},wo=ae=>_.value===ae,Rr=ae=>{if(console.log("点击删除按钮,消息索引:",ae),g.value.length===2){At.warning("第一句话无法删除");return}p.value="message",f.value={messageIndex:ae},c.value=!0},Br=()=>{if(r.value.length>2e3&&(r.value=r.value.substring(0,2e3),At.warning("消息长度不能超过2000字")),Z.value&&clearTimeout(Z.value),!r.value.trim()){H.value=[];return}Z.value=setTimeout(()=>{xi(r.value)},100)},$r=()=>{if(L.value){At.warning("只能上传一个文件,请先删除当前文件");return}V.value?.click()},Ao=async ae=>{try{if(ae.size===0)throw new Error("Word文件为空");if(!qE)throw new Error("Word文档解析库未正确加载");const fe=ae.name.toLowerCase().split(".").pop(),Ce=await ae.arrayBuffer();if(fe==="docx"){const Tt=new Uint8Array(Ce.slice(0,2));if(Tt[0]!==80||Tt[1]!==75)throw new Error("文件不是有效的.docx格式,可能已损坏")}else if(fe==="doc")throw new Error("检测到.doc格式文件。请将文件另存为.docx格式后重新上传。");return(await zV.extractRawText({arrayBuffer:Ce})).value}catch(fe){throw console.error("Word文件读取失败:",fe),fe.message.includes("Can't find end of central directory")?new Error("文件格式错误:这不是一个有效的Word文档,或者文件已损坏。"):fe.message.includes("Invalid file format")?new Error("Word文件格式无效或已损坏"):fe}},Cr=async ae=>{const fe=ae.target.files[0];if(fe)try{const Ce=oa(fe);if(!qE)throw new Error("Word文档解析库未正确加载,请刷新页面重试");j.value=!0;const Ft=await Ao(fe);L.value={file:fe,name:fe.name,size:fe.size,type:Ce,icon:_r(Ce),content:Ft},At.success(`文件读取成功,共提取 ${Ft.length} 个字符`)}catch(Ce){console.error("文件读取失败:",Ce),At.error(Ce.message||"文件读取失败,请重试")}finally{j.value=!1,ae.target.value=""}},Ho=()=>{L.value&&(L.value=null)},Xo=async()=>{try{console.log("开始获取功能卡片...");const ae=await Bn.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)}},qi=async()=>{try{console.log("开始获取热点问题...");const ae=await Bn.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)}},ra=()=>{H.value=[],Z.value&&(clearTimeout(Z.value),Z.value=null)},ti=ae=>{ae.target.closest(".user-recommend-questions")||ra(),me.value&&!ae.target.closest(".web-search-capsule-outer")&&!ae.target.closest(".web-search-sidebar")&&(me.value=!1)},Lo=()=>{J.value=!J.value,At[J.value?"success":"info"](J.value?"联网搜索已启用":"联网搜索已关闭")},Qo=ae=>{X.value[ae]=!X.value[ae]},Ai=ae=>{if(!ae||typeof ae!="string"||!ae.trim()){At.warning("链接地址无效");return}try{let fe=ae.trim();!fe.startsWith("http://")&&!fe.startsWith("https://")&&(fe="https://"+fe),window.open(fe,"_blank","noopener,noreferrer")}catch(fe){console.error("打开链接失败:",fe),At.error("无法打开链接")}},Ci=ae=>{z.value=[],W.value=null,r.value=ae,In()},xi=async ae=>{if(!ae||!ae.trim()||a.value||be.value){H.value=[];return}try{G.value=!0;const fe=await Bn.getUserRecommendQuestion({user_message:ae.trim()});if(a.value||be.value){H.value=[];return}fe.statusCode===200&&fe.data&&fe.data.questions?H.value=fe.data.questions:H.value=[]}catch(fe){console.error("获取推荐问题失败:",fe),H.value=[]}finally{G.value=!1}},mi=async(ae,fe,Ce)=>{if(!ae||!fe||!Ce){console.log("参数不完整,跳过相关推荐问题获取");return}try{console.log("开始获取AI回复相关推荐问题"),console.log("用户问题:",ae),console.log("AI回复:",fe.substring(0,100)+"..."),console.log("消息ID:",Ce),U.value=!0;const Ft=`基于以下对话内容,直接生成3条相关的推荐问题。 【对话内容】 用户问题:${ae} AI回复:${fe} 【生成要求】 - 直接输出3个问题,每个问题一行 - 问题要与原问题相关但有所延伸 - 问题要具体、实用,符合中文表达习惯 - 不要包含任何编号、标题、说明文字 - 不要重复上述指令内容`,Tt=await Bn.guessYouWant({message:Ft,ai_message_id:Ce});if(console.log("AI相关推荐问题响应:",Tt),Tt.statusCode===200&&Tt.data&&Tt.data.reply){const Cn=Tt.data.reply.trim().split(` `).map(On=>On.trim()).filter(On=>On.length>0).filter(On=>!["请生成","推荐问题","相关问题","生成要求","对话内容","【","】","指令"].some(Er=>On.includes(Er))).filter(On=>!On.startsWith("-")&&!On.startsWith("•")&&!On.startsWith("*")).map(On=>On.replace(/^[0-9]+[\.\、]\s*/,"")).filter(On=>On.length>0).filter(On=>!On.includes(":")&&!On.includes(":")).filter((On,mr,Er)=>Er.indexOf(On)===mr).slice(0,3);Cn.length>0?(z.value=Cn,W.value=Ce,console.log("✅ AI相关推荐问题数据已设置:"),console.log(" - 推荐问题数量:",Cn.length),console.log(" - 推荐问题内容:",Cn),console.log(" - 关联消息ID:",Ce),await Vt(),console.log("✅ DOM已更新,推荐问题已显示")):(console.log("解析推荐问题失败,使用默认问题"),z.value=[],W.value=null)}else console.error("获取AI相关推荐问题失败:",Tt.statusCode),z.value=[],W.value=null}catch(Ft){console.error("获取AI相关推荐问题失败:",Ft),z.value=[],W.value=null}finally{U.value=!1}},oa=ae=>{if(ae.size>Ae.maxSize)throw new Error("文件大小不能超过20MB");const fe="."+ae.name.split(".").pop().toLowerCase();if(!Ae.allowedTypes.includes(fe))throw new Error("只支持.docx格式的Word文档。如果是.doc格式,请先另存为.docx格式。");return fe},_r=ae=>{switch(ae){case".doc":case".docx":return wq;default:return"📎"}},Si=()=>{Vt(()=>{const ae=document.querySelector(".chat-content");ae&&(ae.scrollTop=ae.scrollHeight)})},ha=ae=>{if(ae===0)return"0 B";const fe=1024,Ce=["B","KB","MB","GB"],Ft=Math.floor(Math.log(ae)/Math.log(fe));return parseFloat((ae/Math.pow(fe,Ft)).toFixed(2))+" "+Ce[Ft]},Ge=ae=>{console.log("编辑用户消息:",ae.content),r.value=ae.content,ae.file&&(L.value=ae.file,console.log("恢复文件信息:",ae.file.name));const fe=document.querySelector(".message-input");fe&&(fe.focus(),fe.setSelectionRange(fe.value.length,fe.value.length))},We=async ae=>{if(console.log("重新生成回复,消息索引:",ae),ae>0){const fe=g.value[ae-1];fe&&fe.type==="user"&&(console.log("重新发送用户消息:",fe.content),r.value=fe.content,fe.file&&(L.value=fe.file),await In())}},ne=async ae=>{try{await navigator.clipboard.writeText(ae),At.success("复制成功")}catch{const Ce=document.createElement("textarea");Ce.value=ae,document.body.appendChild(Ce),Ce.select(),document.execCommand("copy"),document.body.removeChild(Ce),At.success("复制成功")}},Ie=ae=>{ne(ae.content)},Ve=ae=>{let fe=ae.summary||ae.displayContent||ae.content;if(fe&&fe.includes("<")){const Ce=document.createElement("div");Ce.innerHTML=fe,fe=Ce.textContent||Ce.innerText||fe}!fe&&ae.reports&&ae.reports.length>0&&(fe=ae.reports.filter(Ce=>Ce.type!=="category_title").map(Ce=>Ce.report||"").join(` `)),ae.webSearchSummary&&(fe=fe?`${fe} 【网络搜索总结】 ${ae.webSearchSummary}`:ae.webSearchSummary),fe&&fe.trim()?ne(fe):At.warning("暂无可复制的内容")},Ut=async ae=>{console.log("点赞消息:",ae.id),ae.userFeedback==="like"?ae.userFeedback=null:ae.userFeedback="like",g.value=[...g.value],await rn(ae)},It=async ae=>{console.log("点踩消息:",ae.id),ae.userFeedback==="dislike"?ae.userFeedback=null:ae.userFeedback="dislike",g.value=[...g.value],await rn(ae)},rn=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 fe=ae.ai_message_id||ae.rawData&&ae.rawData.id;if(!fe){console.warn("❌ 消息缺少ID,无法同步反馈"),console.warn(" - message.ai_message_id:",ae.ai_message_id),console.warn(" - message.rawData:",ae.rawData);return}const Ce=Je(ae.userFeedback);console.log("✅ 同步反馈到后端:",{messageId:fe,feedback:Ce});const Ft=await Bn.likeAndDislike({id:fe,user_feedback:Ce});Ft.statusCode===200?(console.log("反馈同步成功"),Ce===2?At.success("点赞成功"):Ce===3?At.success("点踩成功"):At.success("已取消反馈")):(console.error("反馈同步失败:",Ft.msg),At.error("反馈提交失败,请稍后重试"))}catch(fe){console.error("同步反馈失败:",fe),At.error("反馈同步失败,请稍后重试")}},dn=async ae=>{!ae||!ae.trim()||(console.log("自动发送消息:",ae),i.value=!0,g.value.length===0&&(tn.value.forEach(fe=>{fe.isActive=!1}),console.log("自动发送新对话,清除所有历史记录的选中状态"),X.value={},ue.value={},te.value={}),z.value=[],W.value=null,await Gt({question:ae,windowSize:3,nResults:10}))},kn=()=>{try{const ae=window.devicePixelRatio||1;if(document.documentElement.style.setProperty("--system-zoom",ae),ae!==1){const Ce=1/ae,Ft=document.createElement("style");Ft.id="bracket-zoom-compensation";const Tt=document.getElementById("bracket-zoom-compensation");Tt&&Tt.remove(),document.head.appendChild(Ft)}const fe=()=>{setTimeout(()=>{kn()},100)};return window.addEventListener("resize",fe),()=>{window.removeEventListener("resize",fe);const Ce=document.getElementById("bracket-zoom-compensation");Ce&&Ce.remove()}}catch(ae){console.error("❌ 中括号缩放补偿初始化失败:",ae)}},or=async ae=>{const fe=ae.target,Ce=fe.closest(".link-capsule");if(Ce){ae.preventDefault(),ae.stopPropagation();const Tt=Ce.getAttribute("data-link")||Ce.getAttribute("href");Tt&&Tt!=="#"&&Vn(Tt);return}if(!fe.classList.contains("standard-reference"))return;ae.preventDefault(),ae.stopPropagation();const Ft=fe.getAttribute("data-standard")||fe.getAttribute("data-reference");if(Ft)try{const Tt=await Bn.getFileLink({fileName:Ft});Tt.statusCode===200&&Tt.data&&Tt.data?window.open(Tt.data,"_blank"):At.warning("暂无文件")}catch(Tt){console.error("获取文件失败:",Tt),At.error("获取文件失败,请稍后重试")}},Vn=ae=>{try{new URL(ae)}catch{At.error("无效的链接地址");return}const fe=document.createElement("div");fe.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 Ft=document.createElement("div");Ft.style.cssText=` padding: 16px 20px; background: #f5f5f5; border-bottom: 1px solid #e0e0e0; display: flex; align-items: center; justify-content: space-between; `;const Tt=document.createElement("div");Tt.style.cssText=` font-size: 14px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; margin-right: 16px; `,Tt.textContent=ae;const yn=document.createElement("button");yn.textContent="✕",yn.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; `,yn.onmouseover=()=>{yn.style.background="#e0e0e0"},yn.onmouseout=()=>{yn.style.background="none"},yn.onclick=()=>{document.body.removeChild(fe)};const Cn=document.createElement("iframe");Cn.src=ae,Cn.style.cssText=` width: 100%; height: 100%; border: none; `,Ft.appendChild(Tt),Ft.appendChild(yn),Ce.appendChild(Ft),Ce.appendChild(Cn),fe.appendChild(Ce),fe.onclick=On=>{On.target===fe&&document.body.removeChild(fe)},document.body.appendChild(fe)},xr=ae=>{typeof ae=="string"?(_e.value=ae,Q.value=""):(_e.value=ae.filePath,Q.value=ae.fileName||""),ge.value=!0},sr=ae=>{const fe=g.value[ae];fe&&fe.webSearchRaw&&(Me.value=fe.webSearchRaw,me.value=!me.value)};Ct(O,ae=>{!ae||k.value||(r.value=ae)}),Ct(I,ae=>{ae&&(console.error("语音识别错误:",ae),At.error(ae))}),Ct(me,ae=>{console.log("🔍 网络搜索侧边栏状态变化:",ae),requestAnimationFrame(()=>{setTimeout(()=>{we()},350)})});const nr=()=>{document.querySelectorAll(".standard-reference").forEach(fe=>{fe.removeEventListener("click",or),fe.addEventListener("click",or)})};let Or=null,cr=null;const dr=()=>{console.log("📜 handleProgressCardScroll 被触发");const ae=document.querySelector(".chat-header"),fe=ae?ae.getBoundingClientRect().bottom:0;console.log("📐 headerBottom:",fe),console.log("📊 messageContentRefs 数量:",Object.keys(y.value).length),Object.keys(y.value).forEach(Ce=>{const Ft=g.value[Ce];if(!Ft||Ft.type!=="ai"||!Ft.showStats){console.log(`⏭️ 跳过消息 ${Ce}:`,{exists:!!Ft,type:Ft?.type,showStats:Ft?.showStats});return}console.log(`✅ 处理消息 ${Ce}`);const Tt=y.value[Ce];if(!Tt){console.log(`❌ 消息 ${Ce} 没有找到 contentEl`);return}const yn=Tt.querySelector(".files-stats-white");if(!yn){console.log(`❌ 消息 ${Ce} 没有找到 .files-stats-white`);return}console.log(`✅ 消息 ${Ce} 找到进度卡片`);const Cn=yn.getBoundingClientRect(),On=Tt.getBoundingClientRect();if(!m.value[Ce]){m.value[Ce]={initialLeft:Cn.left,initialWidth:Cn.width,isSticky:!1,offsetTop:Cn.top-On.top,initialized:!1,isInitializing:!0,initStartTime:Date.now()},console.log(`[进度卡片] 开始初始化 - 消息${Ce}, left=${Cn.left}, width=${Cn.width}, offsetTop=${m.value[Ce].offsetTop}`),Vt(()=>{requestAnimationFrame(()=>{if(m.value[Ce]){const Pr=Tt.querySelector(".files-stats-white");if(Pr){const ni=Pr.getBoundingClientRect();m.value[Ce].initialLeft=ni.left,m.value[Ce].initialWidth=ni.width,console.log(`[进度卡片] 位置更新 - 消息${Ce}, left=${ni.left}, width=${ni.width}`)}const Io=Date.now()-m.value[Ce].initStartTime,oo=Math.max(0,100-Io);setTimeout(()=>{m.value[Ce]&&(m.value[Ce].initialized=!0,m.value[Ce].isInitializing=!1,console.log(`[进度卡片] 初始化完成 - 消息${Ce}`))},oo)}})});return}if(!m.value[Ce].initialized||m.value[Ce].isInitializing)return;const mr=Date.now()-m.value[Ce].initStartTime;if(mr<100){console.log(`⏱️ 消息 ${Ce} 初始化中,已过${mr}ms,跳过吸附判断`);return}const Er=On.top+m.value[Ce].offsetTop,Wo=Er<=fe&&On.bottom>fe+60;console.log(`📍 消息 ${Ce} 吸附判断:`,{naturalTop:Er,headerBottom:fe,"naturalTop <= headerBottom":Er<=fe,"contentRect.bottom":On.bottom,"headerBottom + 60":fe+60,shouldStick:Wo,currentlySticky:m.value[Ce].isSticky}),m.value[Ce].isSticky!==Wo&&(m.value[Ce].initialLeft=Cn.left,m.value[Ce].initialWidth=Cn.width),m.value[Ce].isSticky=Wo,m.value[Ce].stickyTop=fe})},we=()=>{const ae=window.getComputedStyle(document.documentElement).fontSize;cr&&ae!==cr&&console.log("🔍 检测到flexible fontSize变化:",cr,"->",ae),cr=ae,Or&&clearTimeout(Or),Or=setTimeout(()=>{console.log("🔍 检测到窗口大小变化,重新计算所有吸附卡片位置"),document.body.offsetHeight;const Ce={};Object.keys(m.value).forEach(Ft=>{const Tt=m.value[Ft];Tt&&Tt.isSticky&&(Ce[Ft]=!0,Tt.isSticky=!1)}),Vt(()=>{document.body.offsetHeight,Object.keys(m.value).forEach(Ft=>{const Tt=m.value[Ft];if(!Tt)return;const yn=y.value[Ft];if(!yn)return;const Cn=yn.querySelector(".files-stats-white");if(!Cn)return;const On=Cn.getBoundingClientRect(),mr=yn.getBoundingClientRect();Tt.initialLeft=On.left,Tt.initialWidth=On.width,Tt.offsetTop=On.top-mr.top,console.log(` - 更新消息${Ft}的位置: left=${On.left}, width=${On.width}`)}),Object.keys(Ce).forEach(Ft=>{m.value[Ft]&&(m.value[Ft].isSticky=!0)}),Vt(()=>{dr()})})},100)};return jn(async()=>{try{console.log("🚀 AI问答页面初始化开始,优先加载历史记录..."),zt.value=!0,window.addEventListener("error",Ft=>{console.error("全局错误:",Ft.error)}),window.addEventListener("unhandledrejection",Ft=>{console.error("未处理的Promise拒绝:",Ft.reason)}),document.removeEventListener("click",or),document.addEventListener("click",or);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",dr)):console.error("❌ 未找到 .chat-content 元素"),cr=window.getComputedStyle(document.documentElement).fontSize,console.log("📐 初始fontSize:",cr),window.addEventListener("resize",we),window.addEventListener("beforeunload",R),window.addEventListener("unload",R),document.addEventListener("visibilitychange",N),kn(),await dt(),console.log("✅ AI问答历史记录加载完成");try{const Ft=await Kn();Ft.success?console.log("✅ TTS服务连接正常"):console.warn("⚠️ TTS服务连接异常:",Ft.message)}catch(Ft){console.warn("⚠️ TTS服务连接测试失败:",Ft)}const fe=Promise.all([Xo(),qi()]);try{await fe,console.log("✅ AI问答其他数据加载完成")}catch(Ft){console.warn("⚠️ AI问答其他数据加载失败,但不影响主要功能:",Ft)}console.log("🎉 AI问答页面初始化完成");const Ce=t.query.autoMessage;Ce&&(console.log("检测到自动发送消息:",Ce),n.replace({path:t.path,query:{...t.query,autoMessage:void 0}}),dn(Ce))}catch(ae){console.error("组件初始化失败:",ae)}}),Yr(()=>{_.value&&(Bo(),_.value=null),Fe(),document.removeEventListener("click",or);const ae=document.querySelector(".chat-content");ae&&ae.removeEventListener("scroll",dr),window.removeEventListener("resize",we),Or&&(clearTimeout(Or),Or=null),window.removeEventListener("beforeunload",R),window.removeEventListener("unload",R),document.removeEventListener("visibilitychange",N)}),Sb(async()=>{console.log("页面重新激活,检查并重新渲染markdown内容"),await Vt();for(const ae of g.value)if(ae.type==="ai"&&ae.content&&!ae.isTyping)try{console.log("重新渲染AI消息markdown:",ae.id);const fe=ce(ae.content),Ce=Pe(fe,ae.file),Ft=ht(Ce);ae.displayContent=Ft,setTimeout(()=>{nr()},100)}catch(fe){console.error("重新渲染markdown失败:",fe)}g.value=[...g.value],console.log("页面重新激活完成,markdown内容已重新渲染")}),(ae,fe)=>(F(),K("div",{class:"chat-container",onClick:ti},[$e(VC),x("div",O0t,[x("div",M0t,[fe[12]||(fe[12]=x("span",{class:"section-title"},"历史记录",-1)),x("img",{src:C(JC),alt:"新建任务",class:oe(["new-chat-btn",{disabled:a.value}]),onClick:cn,style:Jt({cursor:a.value?"not-allowed":"pointer"})},null,14,P0t)]),x("div",N0t,[zt.value?(F(),K("div",R0t,fe[13]||(fe[13]=[x("div",{class:"loading-spinner"},null,-1),x("div",{class:"loading-text"},"正在加载历史记录...",-1)]))):Wt.value>0?(F(!0),K(Nt,{key:1},on(tn.value,(Ce,Ft)=>(F(),K("div",{key:Ft,class:oe(["history-item",{active:Ce.isActive}]),onClick:Tt=>Ce.isActive||a.value?null:sn(Ce),style:Jt({cursor:Ce.isActive?"default":a.value?"not-allowed":"pointer"})},[x("div",L0t,[x("div",F0t,ze(Ce.title),1),x("div",U0t,ze(Ce.time),1)]),x("div",{class:oe(["delete-btn",{"always-visible":Ce.isActive}]),onClick:Qt(Tt=>vt(Ce,Ft),["stop"])},fe[14]||(fe[14]=[x("img",{src:wc,alt:"删除",class:"delete-icon"},null,-1)]),10,z0t)],14,B0t))),128)):(F(),K("div",$0t,[x("img",{src:C(e5),alt:"暂无数据",class:"empty-icon"},null,8,j0t),fe[15]||(fe[15]=x("div",{class:"empty-text"},"暂无数据",-1))]))])]),x("div",{class:oe(["main-chat",{"sidebar-open":me.value}])},[x("div",H0t,[l.value?(F(),K("div",W0t,[x("h2",null,ze(l.value),1)])):(F(),K("h2",V0t,"AI问答"))]),x("div",q0t,[i.value?(F(),K("div",ggt,[(F(!0),K(Nt,null,on(g.value,(Ce,Ft)=>(F(),K("div",{key:Ft,class:oe(["message-item",Ce.type])},[Ce.type==="user"?(F(),K("div",vgt,[x("div",mgt,[Ce.file?(F(),K("div",ygt,[x("div",bgt,[x("div",wgt,[Ce.file.type===".doc"||Ce.file.type===".docx"?(F(),K("img",{key:0,src:Ce.file.icon,alt:"文档图标",class:"file-icon-img"},null,8,Agt)):(F(),K("span",Cgt,ze(Ce.file.icon),1))]),x("div",xgt,[x("div",Sgt,ze(Ce.file.name),1),x("div",Egt,ze(ha(Ce.file.size)),1)])])])):xe("",!0),Ce.content?(F(),K("div",kgt,ze(Ce.content),1)):xe("",!0)]),x("div",Tgt,[x("button",{class:"action-btn copy-btn",onClick:Tt=>Ie(Ce)},[x("img",{src:C(Lv),alt:"复制",class:"action-icon"},null,8,Dgt),fe[25]||(fe[25]=An(" 复制 ",-1))],8,_gt),x("button",{class:"action-btn edit-btn",onClick:Tt=>Ge(Ce)},[x("img",{src:C(t5),alt:"编辑",class:"action-icon"},null,8,Ogt),fe[26]||(fe[26]=An(" 编辑 ",-1))],8,Igt)])])):Ce.type==="ai"?(F(),K("div",Mgt,[Ce.webSearchRaw&&Ce.webSearchRaw.total>0?(F(),K("div",Pgt,[$e(uAe,{total:Ce.webSearchRaw.total,results:Ce.webSearchRaw.results,isExpanded:me.value,onToggle:Tt=>sr(Ft)},null,8,["total","results","isExpanded","onToggle"])])):xe("",!0),x("div",Ngt,[x("div",Rgt,[x("img",{src:C(tk),alt:"AI",class:"ai-icon"},null,8,Bgt)]),x("div",{class:"message-content","data-message-index":Ft,ref_for:!0,ref:Tt=>y.value[Ft]=Tt},[x("div",Fgt,[Ce.showStats?(F(),K("div",{key:0,class:oe(["files-stats-white",{sticky:m.value[Ft]?.isSticky&&m.value[Ft]?.initialized&&!m.value[Ft]?.isInitializing}]),style:Jt(m.value[Ft]?.isSticky&&m.value[Ft]?.initialized&&!m.value[Ft]?.isInitializing&&m.value[Ft]?.initialLeft>0&&m.value[Ft]?.initialWidth>0?{position:"fixed",top:"56px",left:m.value[Ft].initialLeft+"px",width:m.value[Ft].initialWidth+"px",zIndex:999}:{}),"data-message-index":Ft},[x("div",zgt,[$e(dAe,{status:He(Ce.currentStatus,Ce.progress),size:36,class:"stats-avatar"},null,8,["status"]),x("span",{innerHTML:Ce.statusMessage},null,8,$gt)]),Ce.progress<100?(F(),K("div",jgt,[x("div",Hgt,[x("div",{class:"progress-fill",style:Jt({width:Ce.progress+"%"})},null,4),x("div",{class:"progress-dot",style:Jt({left:Ce.progress+"%"})},null,4)]),x("span",Wgt,ze(Ce.progress)+"%",1)])):xe("",!0),Ce.progress===100&&Ce.reports&&Ce.reports.length>0?(F(),K("div",Vgt,[$e(lAe,{reports:Ce.reports.filter(Tt=>Tt.status==="completed"&&Tt.type!=="category_title"),disabled:!1,title:De.value},null,8,["reports","title"])])):xe("",!0)],14,Ugt)):xe("",!0),Ce.summary?(F(),K("div",qgt,[$e(ly,{content:Ce.summary,streaming:!1},null,8,["content"])])):xe("",!0),Ce.isTyping&&(!Ce.reports||Ce.reports.length===0)&&Ce.progress<100?(F(),K("div",Ggt,fe[27]||(fe[27]=[ki('AI正在思考中...
    ',2)]))):xe("",!0),Ce.reports&&Ce.reports.length>0?(F(),K("div",Kgt,[(F(!0),K(Nt,null,on(Ce.reports,(Tt,yn)=>(F(),K(Nt,{key:`${Tt.source_file}-${Tt.file_index}-${yn}`},[Tt.type==="category_title"?(F(),mt(aAe,{key:0,category:Tt.category,number:Tt.number,count:Tt.count,onToggle:Cn=>ot(Ft,Cn)},null,8,["category","number","count","onToggle"])):!Tt.type||Tt.type!=="category_title"?an((F(),mt(sAe,{key:1,report:Tt,onPreviewFile:xr},null,8,["report"])),[[Ar,gt(Ft,Tt.metadata?._displayCategory||Tt.metadata?.primary_category)]]):xe("",!0)],64))),128)),Ce.isTyping&&Ce.progress<100&&Ke(Ce.reports)?(F(),K("div",Ygt,fe[28]||(fe[28]=[ki('AI正在思考中...
    ',2)]))):xe("",!0)])):xe("",!0),Ce.hasWebSearchResults&&Ce.webSearchSummary?(F(),K("div",Qgt,[$e(cAe,{summary:Ce.webSearchSummary},null,8,["summary"])])):xe("",!0),!Ce.reports||Ce.reports.length===0?(F(),K("div",Zgt,[Ce.displayContent&&Ce.displayContent.length>0?(F(),K("div",Xgt,[x("div",{innerHTML:Ce.displayContent},null,8,Jgt)])):xe("",!0)])):xe("",!0)]),an(x("div",evt,null,512),[[Ar,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)]]),an(x("div",tvt,[x("div",nvt,[x("button",{class:"action-btn copy-btn",onClick:Tt=>Ve(Ce)},[x("img",{src:C(Lv),alt:"复制",class:"action-icon"},null,8,ovt),fe[29]||(fe[29]=An(" 复制 ",-1))],8,rvt),x("button",{class:"action-btn regenerate-btn",onClick:Tt=>We(Ft),disabled:be.value},[x("img",{src:C(yq),alt:"重新生成",class:"action-icon"},null,8,avt),fe[30]||(fe[30]=An(" 重新生成 ",-1))],8,ivt),x("button",{class:"action-btn delete-btn",onClick:Tt=>Rr(Ft)},fe[31]||(fe[31]=[x("img",{src:wc,alt:"删除",class:"action-icon"},null,-1),An(" 删除 ",-1)]),8,svt),x("button",{class:oe(["action-btn voice-btn",{speaking:wo(Ce.id)}]),onClick:Tt=>Vr(Ce)},[x("img",{src:C(n7),alt:"语音朗读",class:"action-icon"},null,8,uvt),An(" "+ze(wo(Ce.id)?"停止朗读":"语音朗读"),1)],10,lvt)]),x("div",cvt,[x("button",{class:oe(["action-btn thumbs-up-btn",{active:Ce.userFeedback==="like"}]),onClick:Tt=>Ut(Ce),title:Ce.userFeedback==="like"?"取消点赞":"点赞"},[x("img",{src:C(Vy),alt:"点赞",class:"action-icon"},null,8,fvt)],10,dvt),x("button",{class:oe(["action-btn thumbs-down-btn",{active:Ce.userFeedback==="dislike"}]),onClick:Tt=>It(Ce),title:Ce.userFeedback==="dislike"?"取消点踩":"点踩"},[x("img",{src:C(qy),alt:"踩",class:"action-icon"},null,8,hvt)],10,pvt)])],512),[[Ar,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)]])],8,Lgt)]),an(x("div",gvt,[x("div",{class:"search-sources-header",onClick:Tt=>Qo(Ce.id)},[x("span",null,"基于"+ze(Ce.searchSources?.length||0)+"个搜索来源",1),x("div",{class:oe(["expand-icon",{expanded:X.value[Ce.id]}])},fe[32]||(fe[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),an(x("div",mvt,[x("div",yvt,[x("div",bvt,[(F(!0),K(Nt,null,on(Ce.searchSources||[],(Tt,yn)=>(F(),K("div",{class:"source-card",key:yn,onClick:Cn=>C(Ai)(Tt.url)},[x("div",Avt,ze(Tt.title),1),x("div",Cvt,ze(Tt.content),1),x("div",xvt,ze(yn+1),1)],8,wvt))),128))])])],512),[[Ar,X.value[Ce.id]]])],512),[[Ar,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)&&Ce.searchSources&&Ce.searchSources.length>0&&!te.value[Ce.id]]]),an(x("div",Svt,fe[33]||(fe[33]=[x("div",{class:"thinking-animation"},[x("span",{class:"dot"}),x("span",{class:"dot"}),x("span",{class:"dot"})],-1)]),512),[[Ar,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)&&U.value&&(W.value===Ce.id||W.value===Ce.ai_message_id)&&z.value.length===0]]),an(x("div",Evt,[(F(!0),K(Nt,null,on(z.value,(Tt,yn)=>(F(),K("div",{key:yn,class:"related-question-item",onClick:Cn=>Ci(Tt)},[x("span",null,ze(Tt),1),fe[34]||(fe[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),[[Ar,!Ce.isTyping&&(Ce.displayContent&&Ce.displayContent.length>0||Ce.summary)&&(W.value===Ce.id||W.value===Ce.ai_message_id)&&z.value.length>0]])])):xe("",!0)],2))),128))])):(F(),K("div",G0t,[x("div",K0t,[x("div",Y0t,[x("img",{src:C(tk),alt:"AI头像",class:"ai-avatar-img"},null,8,Q0t)]),fe[16]||(fe[16]=x("div",{class:"ai-greeting"},[x("h3",null,"我是蜀道安全管理AI智能助手,您的得力帮手"),x("p",null,"我可以帮您处理这些事情")],-1))]),x("div",Z0t,[(F(!0),K(Nt,null,on(v.value,(Ce,Ft)=>(F(),K("div",{key:Ce.id||Ft,class:"function-card",onClick:Tt=>En(Ce.function_title)},[x("div",J0t,[x("div",egt,[x("img",{src:ye(Ce.function_title),alt:Ce.function_title,class:"card-icon-img"},null,8,tgt)]),x("h4",null,ze(Ce.function_title),1)]),x("div",ngt,[x("p",null,ze(Ce.function_content),1)])],8,X0t))),128)),v.value.length===0?(F(),K("div",{key:0,class:"function-card",onClick:fe[0]||(fe[0]=Ce=>En("桥梁结构设计问题"))},[x("div",rgt,[x("div",ogt,[x("img",{src:C(nk),alt:"桥梁结构设计问题",class:"card-icon-img"},null,8,igt)]),fe[17]||(fe[17]=x("h4",null,"桥梁结构设计问题",-1))]),fe[18]||(fe[18]=x("div",{class:"card-description"},[x("p",null,"各类桥梁结构设计,计算与分析")],-1))])):xe("",!0),v.value.length===0?(F(),K("div",{key:1,class:"function-card",onClick:fe[1]||(fe[1]=Ce=>En("桥梁施工技术咨询"))},[x("div",agt,[x("div",sgt,[x("img",{src:C(rk),alt:"施工技术咨询",class:"card-icon-img"},null,8,lgt)]),fe[19]||(fe[19]=x("h4",null,"施工技术咨询",-1))]),fe[20]||(fe[20]=x("div",{class:"card-description"},[x("p",null,"桥梁施工方法,工艺与技术要点")],-1))])):xe("",!0),v.value.length===0?(F(),K("div",{key:2,class:"function-card",onClick:fe[2]||(fe[2]=Ce=>En("材料与力学问题"))},[x("div",ugt,[x("div",cgt,[x("img",{src:C(ok),alt:"材料与力学问题",class:"card-icon-img"},null,8,dgt)]),fe[21]||(fe[21]=x("h4",null,"材料与力学问题",-1))]),fe[22]||(fe[22]=x("div",{class:"card-description"},[x("p",null,"建筑材料性能与结构力学分析")],-1))])):xe("",!0),v.value.length===0?(F(),K("div",{key:3,class:"function-card",onClick:fe[3]||(fe[3]=Ce=>En("规范标准查询"))},[x("div",fgt,[x("div",pgt,[x("img",{src:C(ik),alt:"规范标准查询",class:"card-icon-img"},null,8,hgt)]),fe[23]||(fe[23]=x("h4",null,"规范标准查询",-1))]),fe[24]||(fe[24]=x("div",{class:"card-description"},[x("p",null,"行业规范,标准解读与应用")],-1))])):xe("",!0)])]))]),!i.value&&!L.value?(F(),K("div",Tvt,[(F(!0),K(Nt,null,on(h.value,(Ce,Ft)=>(F(),K("div",{key:Ce.id||Ft,class:"question-tag",onClick:Tt=>Nn(Ce.question)},[x("img",{src:Be(Ce.question),alt:"问题",class:"question-icon"},null,8,Dvt),An(" "+ze(Ce.question),1)],8,_vt))),128)),h.value.length===0?(F(),K("div",{key:0,class:"question-tag",onClick:fe[4]||(fe[4]=Ce=>Nn("施工安全生产责任的规定"))},[x("img",{src:C(ak),alt:"问题",class:"question-icon"},null,8,Ivt),fe[35]||(fe[35]=An(" 施工安全生产责任的规定 ",-1))])):xe("",!0),h.value.length===0?(F(),K("div",{key:1,class:"question-tag",onClick:fe[5]||(fe[5]=Ce=>Nn("工程建设质量的要求"))},[x("img",{src:C(sk),alt:"问题",class:"question-icon"},null,8,Ovt),fe[36]||(fe[36]=An(" 工程建设质量的要求 ",-1))])):xe("",!0),h.value.length===0?(F(),K("div",{key:2,class:"question-tag",onClick:fe[6]||(fe[6]=Ce=>Nn("公路桥梁加固设计规范"))},[x("img",{src:C(lk),alt:"文档",class:"question-icon"},null,8,Mvt),fe[37]||(fe[37]=An(" 公路桥梁加固设计规范 ",-1))])):xe("",!0)])):xe("",!0),H.value.length>0?(F(),K("div",{key:1,class:"user-recommend-questions",onClick:fe[7]||(fe[7]=Qt(()=>{},["stop"]))},[x("div",Pvt,[(F(!0),K(Nt,null,on(H.value,(Ce,Ft)=>(F(),K("div",{key:Ft,class:"recommend-item",onClick:Tt=>xt(Ce)},ze(Ce),9,Nvt))),128))])])):xe("",!0),x("div",Rvt,[x("div",Bvt,[L.value?(F(),K("div",Lvt,[x("div",Fvt,[x("div",Uvt,[L.value.type===".doc"||L.value.type===".docx"?(F(),K("img",{key:0,src:L.value.icon,alt:"文档图标",class:"file-icon-img"},null,8,zvt)):(F(),K("span",$vt,ze(L.value.icon),1))]),x("div",jvt,[x("div",Hvt,ze(L.value.name),1),x("div",Wvt,ze(ha(L.value.size)),1)]),x("button",{class:"remove-file-btn",onClick:Ho},fe[38]||(fe[38]=[x("span",{class:"remove-icon"},"×",-1)]))])])):xe("",!0),x("div",Vvt,[x("button",{class:oe(["network-search-btn",{active:J.value}]),onClick:Lo,title:J.value?"关闭联网搜索":"启用联网搜索",disabled:be.value},[x("div",Gvt,[x("img",{src:J.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:$r,disabled:be.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),an(x("input",{type:"text",placeholder:"请在此处发送消息 (Enter键可立即发送)",class:"message-input","onUpdate:modelValue":fe[8]||(fe[8]=Ce=>r.value=Ce),onKeyup:Lr(In,["enter"]),onInput:Br,disabled:be.value,maxlength:"2000"},null,40,Xvt),[[jr,r.value]]),x("button",{class:oe(["voice-btn",{recording:C(k)}]),onClick:qe,disabled:be.value},[x("div",emt,[x("img",{src:C(Xf),alt:"语音",class:"action-icon",style:{width:"20px",height:"20px","max-width":"20px","max-height":"20px"}},null,8,tmt),C(k)?(F(),K("div",nmt)):xe("",!0)])],10,Jvt),fe[39]||(fe[39]=x("div",{class:"divider"},null,-1)),x("button",{class:"send-btn",onClick:fe[9]||(fe[9]=Ce=>a.value?Mt():In()),disabled:!a.value&&(be.value||!r.value.trim())},[a.value?(F(),K("span",omt,"停止")):(F(),K("img",{key:1,src:r.value.trim()&&!be.value?C(ep):C(Jf),alt:"发送",class:"send-icon"},null,8,imt))],8,rmt)])])])],2),x("input",{ref_key:"fileInput",ref:V,type:"file",accept:".docx",style:{display:"none"},onChange:Cr},null,544),$e(ldt,{ref_key:"toastRef",ref:b,message:w.value,type:A.value,duration:S.value},null,8,["message","type","duration"]),$e(c0,{visible:c.value,title:ie.value,message:pe.value,onConfirm:Bt,onCancel:tr,onClose:tr},null,8,["visible","title","message"]),$e(e0t,{modelValue:ge.value,"onUpdate:modelValue":fe[10]||(fe[10]=Ce=>ge.value=Ce),"file-path":_e.value,"file-name":Q.value},null,8,["modelValue","file-path","file-name"]),$e(x0t,{visible:me.value,results:Me.value.results,keywords:Me.value.keywords,total:Me.value.total,"onUpdate:visible":fe[11]||(fe[11]=Ce=>me.value=Ce)},null,8,["visible","results","keywords","total"])]))}},smt=Yo(amt,[["__scopeId","data-v-53f29151"]]),lmt="modulepreload",umt=function(e){return"/"+e},voe={},Mf=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==",r7="/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=",r3="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 bi=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 dm(e){var t={exports:{}};return e(t,t.exports),t.exports}var Bp,v8,n6=function(e){return e&&e.Math==Math&&e},po=n6(typeof globalThis=="object"&&globalThis)||n6(typeof window=="object"&&window)||n6(typeof self=="object"&&self)||n6(typeof bi=="object"&&bi)||(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),Fi=jF?function(e){return e&&hmt(HF,e)}:function(e){return e&&function(){return HF.apply(e,arguments)}},Ss=function(e){return typeof e=="function"},zl=function(e){try{return!!e()}catch{return!0}},Pl=!zl((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})),K2=Function.prototype.call,su=K2.bind?K2.bind(K2):function(){return K2.apply(K2,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},Tc=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},vmt=Fi({}.toString),mmt=Fi("".slice),Zg=function(e){return mmt(vmt(e),8,-1)},fM=po.Object,ymt=Fi("".split),yAe=zl((function(){return!fM("z").propertyIsEnumerable(0)}))?function(e){return Zg(e)=="String"?ymt(e,""):fM(e)}:fM,bmt=po.TypeError,Sq=function(e){if(e==null)throw bmt("Can't call method on "+e);return e},tf=function(e){return yAe(Sq(e))},Lu=function(e){return typeof e=="object"?e!==null:Ss(e)},Xl={},Coe=function(e){return Ss(e)?e:void 0},qb=function(e,t){return arguments.length<2?Coe(Xl[e])||Coe(po[e]):Xl[e]&&Xl[e][t]||po[e]&&po[e][t]},yA=Fi({}.isPrototypeOf),pM=qb("navigator","userAgent")||"",xoe=po.process,Soe=po.Deno,Eoe=xoe&&xoe.versions||Soe&&Soe.version,koe=Eoe&&Eoe.v8;koe&&(v8=(Bp=koe.split("."))[0]>0&&Bp[0]<4?1:+(Bp[0]+Bp[1])),!v8&&pM&&(!(Bp=pM.match(/Edge\/(\d+)/))||Bp[1]>=74)&&(Bp=pM.match(/Chrome\/(\d+)/))&&(v8=+Bp[1]);var r6,uk=v8,ud=!!Object.getOwnPropertySymbols&&!zl((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&uk&&uk<41})),Eq=ud&&!Symbol.sham&&typeof Symbol.iterator=="symbol",wmt=po.Object,uy=Eq?function(e){return typeof e=="symbol"}:function(e){var t=qb("Symbol");return Ss(t)&&yA(t.prototype,wmt(e))},Amt=po.String,WF=function(e){try{return Amt(e)}catch{return"Object"}},Cmt=po.TypeError,kq=function(e){if(Ss(e))return e;throw Cmt(WF(e)+" is not a function")},ck=function(e,t){var n=e[t];return n==null?void 0:kq(n)},xmt=po.TypeError,Smt=Object.defineProperty,Oh=po["__core-js_shared__"]||(function(e,t){try{Smt(po,e,{value:t,configurable:!0,writable:!0})}catch{po[e]=t}return t})("__core-js_shared__",{}),fm=dm((function(e){(e.exports=function(t,n){return Oh[t]||(Oh[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),Emt=po.Object,n5=function(e){return Emt(Sq(e))},kmt=Fi({}.hasOwnProperty),$o=Object.hasOwn||function(e,t){return kmt(n5(e),t)},Tmt=0,_mt=Math.random(),Dmt=Fi(1 .toString),dk=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Dmt(++Tmt+_mt,36)},Y2=fm("wks"),Xg=po.Symbol,Toe=Xg&&Xg.for,Imt=Eq?Xg:Xg&&Xg.withoutSetter||dk,Ks=function(e){if(!$o(Y2,e)||!ud&&typeof Y2[e]!="string"){var t="Symbol."+e;ud&&$o(Xg,e)?Y2[e]=Xg[e]:Y2[e]=Eq&&Toe?Toe(t):Imt(t)}return Y2[e]},Omt=po.TypeError,Mmt=Ks("toPrimitive"),Pmt=function(e,t){if(!Lu(e)||uy(e))return e;var n,r=ck(e,Mmt);if(r){if(n=su(r,e,t),!Lu(n)||uy(n))return n;throw Omt("Can't convert object to primitive value")}return(function(o,i){var a,s;if(Ss(a=o.toString)&&!Lu(s=su(a,o))||Ss(a=o.valueOf)&&!Lu(s=su(a,o)))return s;throw xmt("Can't convert object to primitive value")})(e)},Gb=function(e){var t=Pmt(e,"string");return uy(t)?t:t+""},VF=po.document,Nmt=Lu(VF)&&Lu(VF.createElement),bAe=function(e){return Nmt?VF.createElement(e):{}},wAe=!Pl&&!zl((function(){return Object.defineProperty(bAe("div"),"a",{get:function(){return 7}}).a!=7})),_oe=Object.getOwnPropertyDescriptor,Rmt=Pl?_oe:function(e,t){if(e=tf(e),t=Gb(t),wAe)try{return _oe(e,t)}catch{}if($o(e,t))return Tc(!su(xq.f,e,t),e[t])},o7={f:Rmt},Bmt=/#|\.prototype\./,r5=function(e,t){var n=Fmt[Lmt(e)];return n==zmt||n!=Umt&&(Ss(t)?zl(t):!!t)},Lmt=r5.normalize=function(e){return String(e).replace(Bmt,".").toLowerCase()},Fmt=r5.data={},Umt=r5.NATIVE="N",zmt=r5.POLYFILL="P",$mt=r5,Doe=Fi(Fi.bind),Tq=function(e,t){return kq(e),t===void 0?e:Doe?Doe(e,t):function(){return e.apply(t,arguments)}},jmt=po.String,Hmt=po.TypeError,du=function(e){if(Lu(e))return e;throw Hmt(jmt(e)+" is not an object")},Wmt=po.TypeError,Ioe=Object.defineProperty,Vmt=Pl?Ioe:function(e,t,n){if(du(e),t=Gb(t),du(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},N0={f:Vmt},tl=Pl?function(e,t,n){return N0.f(e,t,Tc(1,n))}:function(e,t,n){return e[t]=n,e},qmt=o7.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},Cf=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?po:f?po[d]:(po[d]||{}).prototype,h=c?Xl:Xl[d]||tl(Xl,d,{})[d],g=h.prototype;for(o in t)n=!$mt(c?o:d+(f?".":"#")+o,e.forced)&&v&&$o(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,po):e.wrap&&n?Gmt(i):p&&Ss(i)?Fi(i):i,(e.sham||i&&i.sham||a&&a.sham)&&tl(l,"sham",!0),tl(h,o,l),p&&($o(Xl,r=d+"Prototype")||tl(Xl,r,{}),tl(Xl[r],o,i),e.real&&g&&!g[o]&&tl(g,o,i)))},Ooe=fm("keys"),i7=function(e){return Ooe[e]||(Ooe[e]=dk(e))},Kmt=!zl((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Moe=i7("IE_PROTO"),qF=po.Object,Ymt=qF.prototype,fk=Kmt?qF.getPrototypeOf:function(e){var t=n5(e);if($o(t,Moe))return t[Moe];var n=t.constructor;return Ss(n)&&t instanceof n?n.prototype:t instanceof qF?Ymt:null},Qmt=po.String,Zmt=po.TypeError,pk=Object.setPrototypeOf||("__proto__"in{}?(function(){var e,t=!1,n={};try{(e=Fi(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch{}return function(r,o){return du(r),(function(i){if(typeof i=="object"||Ss(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,o5=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=tf(t),a=o5(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)},i5={},i1t=o1t.indexOf,Poe=Fi([].push),AAe=function(e,t){var n,r=tf(e),o=0,i=[];for(n in r)!$o(i5,n)&&$o(r,n)&&Poe(i,n);for(;t.length>o;)$o(r,n=t[o++])&&(~i1t(i,n)||Poe(i,n));return i},hk=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],a1t=hk.concat("length","prototype"),s1t=Object.getOwnPropertyNames||function(e){return AAe(e,a1t)},Dq={f:s1t},m8={f:Object.getOwnPropertySymbols},l1t=Fi([].concat),u1t=qb("Reflect","ownKeys")||function(e){var t=Dq.f(du(e)),n=m8.f;return n?l1t(t,n(e)):t},Iq=Object.keys||function(e){return AAe(e,hk)},c1t=Pl?Object.defineProperties:function(e,t){du(e);for(var n,r=tf(t),o=Iq(t),i=o.length,a=0;i>a;)N0.f(e,n=o[a++],r[n]);return e},d1t=qb("document","documentElement"),CAe=i7("IE_PROTO"),hM=function(){},xAe=function(e){return"