diff --git a/assets/index-Bp7Br-wu.js b/assets/index-CtPaZKbP.js similarity index 59% rename from assets/index-Bp7Br-wu.js rename to assets/index-CtPaZKbP.js index b454e2a0..ceb225fb 100644 --- a/assets/index-Bp7Br-wu.js +++ b/assets/index-CtPaZKbP.js @@ -6,23 +6,23 @@ var cue=Object.defineProperty;var fue=(e,t,n)=>t in e?cue(e,t,{enumerable:!0,con * @vue/reactivity v3.4.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Oa;class Q_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oa,!t&&Oa&&(this.index=(Oa.scopes||(Oa.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Oa;try{return Oa=this,t()}finally{Oa=n}}}on(){Oa=this}off(){Oa=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),od()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Of,n=xh;try{return Of=!0,xh=this,this._runnings++,IN(this),this.fn()}finally{NN(this),this._runnings--,xh=n,Of=t}}stop(){this.active&&(IN(this),NN(this),this.onStop&&this.onStop(),this.active=!1)}}function _ue(e){return e.value}function IN(e){e._trackId++,e._depsLength=0}function NN(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Vr(n,t),t.scope&&_B(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function kue(e){e.effect.stop()}let Of=!0,x8=0;const PB=[];function id(){PB.push(Of),Of=!1}function od(){const e=PB.pop();Of=e===void 0?!0:e}function G_(){x8++}function z_(){for(x8--;!x8&&S8.length;)S8.shift()()}function CB(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&kB(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const S8=[];function IB(e,t,n){G_();for(const r of e.keys()){let i;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Qb=new WeakMap,Sh=Symbol(""),w8=Symbol("");function ca(e,t,n){if(Of&&xh){let r=Qb.get(e);r||Qb.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=NB(()=>r.delete(n))),CB(xh,i)}}function rc(e,t,n,r,i,o){const a=Qb.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&kt(e)){const l=Number(r);a.forEach((u,c)=>{(c==="length"||!cu(c)&&c>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":kt(e)?Z_(n)&&s.push(a.get("length")):(s.push(a.get(Sh)),Bp(e)&&s.push(a.get(w8)));break;case"delete":kt(e)||(s.push(a.get(Sh)),Bp(e)&&s.push(a.get(w8)));break;case"set":Bp(e)&&s.push(a.get(Sh));break}G_();for(const l of s)l&&IB(l,4);z_()}function Pue(e,t){const n=Qb.get(e);return n&&n.get(t)}const Cue=TS("__proto__,__v_isRef,__isVue"),FB=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cu)),FN=Iue();function Iue(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=kn(this);for(let o=0,a=this.length;o{e[t]=function(...n){id(),G_();const r=kn(this)[t].apply(this,n);return z_(),od(),r}}),e}function Nue(e){cu(e)||(e=String(e));const t=kn(this);return ca(t,"has",e),t.hasOwnProperty(e)}class EB{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?BB:UB:o?DB:VB).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=kt(t);if(!i){if(a&&Wn(FN,n))return Reflect.get(FN,n,r);if(n==="hasOwnProperty")return Nue}const s=Reflect.get(t,n,r);return(cu(n)?FB.has(n):Cue(n))||(i||ca(t,"get",n),o)?s:Cr(s)?a&&Z_(n)?s:s.value:lr(s)?i?$_(s):P2(s):s}}class XB extends EB{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const l=Uf(o);if(!Dh(r)&&!Uf(r)&&(o=kn(o),r=kn(r)),!kt(t)&&Cr(o)&&!Cr(r))return l?!1:(o.value=r,!0)}const a=kt(t)&&Z_(n)?Number(n)e,kS=e=>Reflect.getPrototypeOf(e);function dA(e,t,n=!1,r=!1){e=e.__v_raw;const i=kn(e),o=kn(t);n||(Oo(t,o)&&ca(i,"get",t),ca(i,"get",o));const{has:a}=kS(i),s=r?J_:n?q_:Nm;if(a.call(i,t))return s(e.get(t));if(a.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function hA(e,t=!1){const n=this.__v_raw,r=kn(n),i=kn(e);return t||(Oo(e,i)&&ca(r,"has",e),ca(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function pA(e,t=!1){return e=e.__v_raw,!t&&ca(kn(e),"iterate",Sh),Reflect.get(e,"size",e)}function EN(e,t=!1){!t&&!Dh(e)&&!Uf(e)&&(e=kn(e));const n=kn(this);return kS(n).has.call(n,e)||(n.add(e),rc(n,"add",e,e)),this}function XN(e,t,n=!1){!n&&!Dh(t)&&!Uf(t)&&(t=kn(t));const r=kn(this),{has:i,get:o}=kS(r);let a=i.call(r,e);a||(e=kn(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,t),a?Oo(t,s)&&rc(r,"set",e,t):rc(r,"add",e,t),this}function WN(e){const t=kn(this),{has:n,get:r}=kS(t);let i=n.call(t,e);i||(e=kn(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&rc(t,"delete",e,void 0),o}function VN(){const e=kn(this),t=e.size!==0,n=e.clear();return t&&rc(e,"clear",void 0,void 0),n}function vA(e,t){return function(r,i){const o=this,a=o.__v_raw,s=kn(a),l=t?J_:e?q_:Nm;return!e&&ca(s,"iterate",Sh),a.forEach((u,c)=>r.call(i,l(u),l(c),o))}}function gA(e,t,n){return function(...r){const i=this.__v_raw,o=kn(i),a=Bp(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),c=n?J_:t?q_:Nm;return!t&&ca(o,"iterate",l?w8:Sh),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:s?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Pc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vue(){const e={get(o){return dA(this,o)},get size(){return pA(this)},has:hA,add:EN,set:XN,delete:WN,clear:VN,forEach:vA(!1,!1)},t={get(o){return dA(this,o,!1,!0)},get size(){return pA(this)},has:hA,add(o){return EN.call(this,o,!0)},set(o,a){return XN.call(this,o,a,!0)},delete:WN,clear:VN,forEach:vA(!1,!0)},n={get(o){return dA(this,o,!0)},get size(){return pA(this,!0)},has(o){return hA.call(this,o,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:vA(!0,!1)},r={get(o){return dA(this,o,!0,!0)},get size(){return pA(this,!0)},has(o){return hA.call(this,o,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:vA(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gA(o,!1,!1),n[o]=gA(o,!0,!1),t[o]=gA(o,!1,!0),r[o]=gA(o,!0,!0)}),[e,n,t,r]}const[Due,Uue,Bue,Yue]=Vue();function PS(e,t){const n=t?e?Yue:Bue:e?Uue:Due;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Wn(n,i)&&i in r?n:r,i,o)}const Zue={get:PS(!1,!1)},Que={get:PS(!1,!0)},Hue={get:PS(!0,!1)},Kue={get:PS(!0,!0)},VB=new WeakMap,DB=new WeakMap,UB=new WeakMap,BB=new WeakMap;function Gue(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zue(e){return e.__v_skip||!Object.isExtensible(e)?0:Gue(vue(e))}function P2(e){return Uf(e)?e:CS(e,!1,Fue,Zue,VB)}function YB(e){return CS(e,!1,Xue,Que,DB)}function $_(e){return CS(e,!0,Eue,Hue,UB)}function Jue(e){return CS(e,!0,Wue,Kue,BB)}function CS(e,t,n,r,i){if(!lr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=zue(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function nu(e){return Uf(e)?nu(e.__v_raw):!!(e&&e.__v_isReactive)}function Uf(e){return!!(e&&e.__v_isReadonly)}function Dh(e){return!!(e&&e.__v_isShallow)}function j_(e){return e?!!e.__v_raw:!1}function kn(e){const t=e&&e.__v_raw;return t?kn(t):e}function IS(e){return Object.isExtensible(e)&&SB(e,"__v_skip",!0),e}const Nm=e=>lr(e)?P2(e):e,q_=e=>lr(e)?$_(e):e;class ZB{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fv(()=>t(this._value),()=>Qp(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=kn(this);return(!t._cacheable||t.effect.dirty)&&Oo(t._value,t._value=t.effect.run())&&Qp(t,4),eO(t),t.effect._dirtyLevel>=2&&Qp(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function $ue(e,t,n=!1){let r,i;const o=Gt(e);return o?(r=e,i=ta):(r=e.get,i=e.set),new ZB(r,i,o||!i,n)}function eO(e){var t;Of&&xh&&(e=kn(e),CB(xh,(t=e.dep)!=null?t:e.dep=NB(()=>e.dep=void 0,e instanceof ZB?e:void 0)))}function Qp(e,t=4,n,r){e=kn(e);const i=e.dep;i&&IB(i,t)}function Cr(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return QB(e,!1)}function jue(e){return QB(e,!0)}function QB(e,t){return Cr(e)?e:new que(e,t)}class que{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:kn(t),this._value=n?t:Nm(t)}get value(){return eO(this),this._value}set value(t){const n=this.__v_isShallow||Dh(t)||Uf(t);t=n?t:kn(t),Oo(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Nm(t),Qp(this,4))}}function ece(e){Qp(e,4)}function z(e){return Cr(e)?e.value:e}function tce(e){return Gt(e)?e():z(e)}const nce={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Cr(i)&&!Cr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function tO(e){return nu(e)?e:new Proxy(e,nce)}class rce{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>eO(this),()=>Qp(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function HB(e){return new rce(e)}function KB(e){const t=kt(e)?new Array(e.length):{};for(const n in e)t[n]=GB(e,n);return t}class ice{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Pue(kn(this._object),this._key)}}class oce{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ev(e,t,n){return Cr(e)?e:Gt(e)?new oce(e):lr(e)&&arguments.length>1?GB(e,t,n):ve(e)}function GB(e,t,n){const r=e[t];return Cr(r)?r:new ice(e,t,n)}const ace={GET:"get",HAS:"has",ITERATE:"iterate"},sce={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** +**/let Oa;class Q_{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oa,!t&&Oa&&(this.index=(Oa.scopes||(Oa.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Oa;try{return Oa=this,t()}finally{Oa=n}}}on(){Oa=this}off(){Oa=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),od()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Of,n=xh;try{return Of=!0,xh=this,this._runnings++,IN(this),this.fn()}finally{NN(this),this._runnings--,xh=n,Of=t}}stop(){this.active&&(IN(this),NN(this),this.onStop&&this.onStop(),this.active=!1)}}function _ue(e){return e.value}function IN(e){e._trackId++,e._depsLength=0}function NN(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{n.dirty&&n.run()});t&&(Vr(n,t),t.scope&&_B(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function kue(e){e.effect.stop()}let Of=!0,x8=0;const PB=[];function id(){PB.push(Of),Of=!1}function od(){const e=PB.pop();Of=e===void 0?!0:e}function G_(){x8++}function z_(){for(x8--;!x8&&S8.length;)S8.shift()()}function CB(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&kB(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const S8=[];function IB(e,t,n){G_();for(const r of e.keys()){let i;r._dirtyLevel{const n=new Map;return n.cleanup=e,n.computed=t,n},Qb=new WeakMap,Sh=Symbol(""),w8=Symbol("");function ca(e,t,n){if(Of&&xh){let r=Qb.get(e);r||Qb.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=NB(()=>r.delete(n))),CB(xh,i)}}function rc(e,t,n,r,i,o){const a=Qb.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&kt(e)){const l=Number(r);a.forEach((u,c)=>{(c==="length"||!cu(c)&&c>=l)&&s.push(u)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":kt(e)?Z_(n)&&s.push(a.get("length")):(s.push(a.get(Sh)),Bp(e)&&s.push(a.get(w8)));break;case"delete":kt(e)||(s.push(a.get(Sh)),Bp(e)&&s.push(a.get(w8)));break;case"set":Bp(e)&&s.push(a.get(Sh));break}G_();for(const l of s)l&&IB(l,4);z_()}function Pue(e,t){const n=Qb.get(e);return n&&n.get(t)}const Cue=TS("__proto__,__v_isRef,__isVue"),FB=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cu)),FN=Iue();function Iue(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=kn(this);for(let o=0,a=this.length;o{e[t]=function(...n){id(),G_();const r=kn(this)[t].apply(this,n);return z_(),od(),r}}),e}function Nue(e){cu(e)||(e=String(e));const t=kn(this);return ca(t,"has",e),t.hasOwnProperty(e)}class EB{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?BB:UB:o?DB:VB).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=kt(t);if(!i){if(a&&Wn(FN,n))return Reflect.get(FN,n,r);if(n==="hasOwnProperty")return Nue}const s=Reflect.get(t,n,r);return(cu(n)?FB.has(n):Cue(n))||(i||ca(t,"get",n),o)?s:Cr(s)?a&&Z_(n)?s:s.value:lr(s)?i?$_(s):P2(s):s}}class XB extends EB{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(!this._isShallow){const l=Uf(o);if(!Dh(r)&&!Uf(r)&&(o=kn(o),r=kn(r)),!kt(t)&&Cr(o)&&!Cr(r))return l?!1:(o.value=r,!0)}const a=kt(t)&&Z_(n)?Number(n)e,kS=e=>Reflect.getPrototypeOf(e);function dA(e,t,n=!1,r=!1){e=e.__v_raw;const i=kn(e),o=kn(t);n||(Oo(t,o)&&ca(i,"get",t),ca(i,"get",o));const{has:a}=kS(i),s=r?J_:n?q_:Nm;if(a.call(i,t))return s(e.get(t));if(a.call(i,o))return s(e.get(o));e!==i&&e.get(t)}function hA(e,t=!1){const n=this.__v_raw,r=kn(n),i=kn(e);return t||(Oo(e,i)&&ca(r,"has",e),ca(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function pA(e,t=!1){return e=e.__v_raw,!t&&ca(kn(e),"iterate",Sh),Reflect.get(e,"size",e)}function EN(e,t=!1){!t&&!Dh(e)&&!Uf(e)&&(e=kn(e));const n=kn(this);return kS(n).has.call(n,e)||(n.add(e),rc(n,"add",e,e)),this}function XN(e,t,n=!1){!n&&!Dh(t)&&!Uf(t)&&(t=kn(t));const r=kn(this),{has:i,get:o}=kS(r);let a=i.call(r,e);a||(e=kn(e),a=i.call(r,e));const s=o.call(r,e);return r.set(e,t),a?Oo(t,s)&&rc(r,"set",e,t):rc(r,"add",e,t),this}function WN(e){const t=kn(this),{has:n,get:r}=kS(t);let i=n.call(t,e);i||(e=kn(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&rc(t,"delete",e,void 0),o}function VN(){const e=kn(this),t=e.size!==0,n=e.clear();return t&&rc(e,"clear",void 0,void 0),n}function vA(e,t){return function(r,i){const o=this,a=o.__v_raw,s=kn(a),l=t?J_:e?q_:Nm;return!e&&ca(s,"iterate",Sh),a.forEach((u,c)=>r.call(i,l(u),l(c),o))}}function gA(e,t,n){return function(...r){const i=this.__v_raw,o=kn(i),a=Bp(o),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=i[e](...r),c=n?J_:t?q_:Nm;return!t&&ca(o,"iterate",l?w8:Sh),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:s?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Pc(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vue(){const e={get(o){return dA(this,o)},get size(){return pA(this)},has:hA,add:EN,set:XN,delete:WN,clear:VN,forEach:vA(!1,!1)},t={get(o){return dA(this,o,!1,!0)},get size(){return pA(this)},has:hA,add(o){return EN.call(this,o,!0)},set(o,a){return XN.call(this,o,a,!0)},delete:WN,clear:VN,forEach:vA(!1,!0)},n={get(o){return dA(this,o,!0)},get size(){return pA(this,!0)},has(o){return hA.call(this,o,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:vA(!0,!1)},r={get(o){return dA(this,o,!0,!0)},get size(){return pA(this,!0)},has(o){return hA.call(this,o,!0)},add:Pc("add"),set:Pc("set"),delete:Pc("delete"),clear:Pc("clear"),forEach:vA(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=gA(o,!1,!1),n[o]=gA(o,!0,!1),t[o]=gA(o,!1,!0),r[o]=gA(o,!0,!0)}),[e,n,t,r]}const[Due,Uue,Bue,Yue]=Vue();function PS(e,t){const n=t?e?Yue:Bue:e?Uue:Due;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Wn(n,i)&&i in r?n:r,i,o)}const Zue={get:PS(!1,!1)},Que={get:PS(!1,!0)},Hue={get:PS(!0,!1)},Kue={get:PS(!0,!0)},VB=new WeakMap,DB=new WeakMap,UB=new WeakMap,BB=new WeakMap;function Gue(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zue(e){return e.__v_skip||!Object.isExtensible(e)?0:Gue(vue(e))}function P2(e){return Uf(e)?e:CS(e,!1,Fue,Zue,VB)}function YB(e){return CS(e,!1,Xue,Que,DB)}function $_(e){return CS(e,!0,Eue,Hue,UB)}function Jue(e){return CS(e,!0,Wue,Kue,BB)}function CS(e,t,n,r,i){if(!lr(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=zue(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function nu(e){return Uf(e)?nu(e.__v_raw):!!(e&&e.__v_isReactive)}function Uf(e){return!!(e&&e.__v_isReadonly)}function Dh(e){return!!(e&&e.__v_isShallow)}function j_(e){return e?!!e.__v_raw:!1}function kn(e){const t=e&&e.__v_raw;return t?kn(t):e}function IS(e){return Object.isExtensible(e)&&SB(e,"__v_skip",!0),e}const Nm=e=>lr(e)?P2(e):e,q_=e=>lr(e)?$_(e):e;class ZB{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new fv(()=>t(this._value),()=>Qp(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=kn(this);return(!t._cacheable||t.effect.dirty)&&Oo(t._value,t._value=t.effect.run())&&Qp(t,4),eO(t),t.effect._dirtyLevel>=2&&Qp(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function $ue(e,t,n=!1){let r,i;const o=Gt(e);return o?(r=e,i=ta):(r=e.get,i=e.set),new ZB(r,i,o||!i,n)}function eO(e){var t;Of&&xh&&(e=kn(e),CB(xh,(t=e.dep)!=null?t:e.dep=NB(()=>e.dep=void 0,e instanceof ZB?e:void 0)))}function Qp(e,t=4,n,r){e=kn(e);const i=e.dep;i&&IB(i,t)}function Cr(e){return!!(e&&e.__v_isRef===!0)}function pe(e){return QB(e,!1)}function jue(e){return QB(e,!0)}function QB(e,t){return Cr(e)?e:new que(e,t)}class que{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:kn(t),this._value=n?t:Nm(t)}get value(){return eO(this),this._value}set value(t){const n=this.__v_isShallow||Dh(t)||Uf(t);t=n?t:kn(t),Oo(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Nm(t),Qp(this,4))}}function ece(e){Qp(e,4)}function z(e){return Cr(e)?e.value:e}function tce(e){return Gt(e)?e():z(e)}const nce={get:(e,t,n)=>z(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Cr(i)&&!Cr(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function tO(e){return nu(e)?e:new Proxy(e,nce)}class rce{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>eO(this),()=>Qp(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function HB(e){return new rce(e)}function KB(e){const t=kt(e)?new Array(e.length):{};for(const n in e)t[n]=GB(e,n);return t}class ice{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Pue(kn(this._object),this._key)}}class oce{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ev(e,t,n){return Cr(e)?e:Gt(e)?new oce(e):lr(e)&&arguments.length>1?GB(e,t,n):pe(e)}function GB(e,t,n){const r=e[t];return Cr(r)?r:new ice(e,t,n)}const ace={GET:"get",HAS:"has",ITERATE:"iterate"},sce={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** * @vue/runtime-core v3.4.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function lce(e,t){}const uce={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},cce={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function ic(e,t,n,r){try{return r?e(...r):e()}catch(i){i0(i,t,n)}}function Va(e,t,n,r){if(Gt(e)){const i=ic(e,t,n,r);return i&&Y_(i)&&i.catch(o=>{i0(o,t,n)}),i}if(kt(e)){const i=[];for(let o=0;o>>1,i=so[r],o=Em(i);oQl&&so.splice(t,1)}function Hb(e){kt(e)?Hp.push(...e):(!rf||!rf.includes(e,e.allowRecurse?ah+1:ah))&&Hp.push(e),JB()}function DN(e,t,n=Fm?Ql+1:0){for(;nEm(n)-Em(r));if(Hp.length=0,rf){rf.push(...t);return}for(rf=t,ah=0;ahe.id==null?1/0:e.id,pce=(e,t)=>{const n=Em(e)-Em(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $B(e){M8=!1,Fm=!0,so.sort(pce);try{for(Ql=0;Qlup.emit(i,...o)),mA=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{jB(o,t)}),setTimeout(()=>{up||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,mA=[])},3e3)):mA=[]}let mi=null,FS=null;function Xm(e){const t=mi;return mi=e,FS=e&&e.type.__scopeId||null,t}function en(e){FS=e}function tn(){FS=null}const vce=e=>ie;function ie(e,t=mi,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&N8(-1);const o=Xm(t);let a;try{a=e(...i)}finally{Xm(o),r._d&&N8(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function ze(e,t){if(mi===null)return e;const n=F2(mi),r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),o0(()=>{e.isUnmounting=!0}),e}const ns=[Function,Array],iO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ns,onEnter:ns,onAfterEnter:ns,onEnterCancelled:ns,onBeforeLeave:ns,onLeave:ns,onAfterLeave:ns,onLeaveCancelled:ns,onBeforeAppear:ns,onAppear:ns,onAfterAppear:ns,onAppearCancelled:ns},qB=e=>{const t=e.subTree;return t.component?qB(t.component):t},gce={name:"BaseTransition",props:iO,setup(e,{slots:t}){const n=vc(),r=rO();return()=>{const i=t.default&&ES(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const d of i)if(d.type!==Li){o=d;break}}const a=kn(e),{mode:s}=a;if(r.isLeaving)return Cw(o);const l=UN(o);if(!l)return Cw(o);let u=dv(l,a,r,n,d=>u=d);Bf(l,u);const c=n.subTree,f=c&&UN(c);if(f&&f.type!==Li&&!il(l,f)&&qB(n).type!==Li){const d=dv(f,a,r,n);if(Bf(f,d),s==="out-in"&&l.type!==Li)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Cw(o);s==="in-out"&&l.type!==Li&&(d.delayLeave=(h,p,v)=>{const g=tY(r,f);g[String(f.key)]=f,h[of]=()=>{p(),h[of]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return o}}},eY=gce;function tY(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 dv(e,t,n,r,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:R}=t,A=String(e.key),x=tY(n,e),S=(M,_)=>{M&&Va(M,r,9,_)},L=(M,_)=>{const P=_[1];S(M,_),kt(M)?M.every(k=>k.length<=1)&&P():M.length<=1&&P()},w={mode:a,persisted:s,beforeEnter(M){let _=l;if(!n.isMounted)if(o)_=g||l;else return;M[of]&&M[of](!0);const P=x[A];P&&il(e,P)&&P.el[of]&&P.el[of](),S(_,[M])},enter(M){let _=u,P=c,k=f;if(!n.isMounted)if(o)_=m||u,P=y||c,k=R||f;else return;let F=!1;const C=M[yA]=N=>{F||(F=!0,N?S(k,[M]):S(P,[M]),w.delayedLeave&&w.delayedLeave(),M[yA]=void 0)};_?L(_,[M,C]):C()},leave(M,_){const P=String(e.key);if(M[yA]&&M[yA](!0),n.isUnmounting)return _();S(d,[M]);let k=!1;const F=M[of]=C=>{k||(k=!0,_(),C?S(v,[M]):S(p,[M]),M[of]=void 0,x[P]===e&&delete x[P])};x[P]=e,h?L(h,[M,F]):F()},clone(M){const _=dv(M,t,n,r,i);return i&&i(_),_}};return w}function Cw(e){if(C2(e))return e=fu(e),e.children=null,e}function UN(e){if(!C2(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Gt(n.default))return n.default()}}function Bf(e,t){e.shapeFlag&6&&e.component?Bf(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 ES(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function mce(e){Gt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=e;let l=null,u,c=0;const f=()=>(c++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,g)=>{s(p,()=>v(f()),()=>g(p),c+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Xe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=vi;if(u)return()=>Iw(u,h);const p=y=>{l=null,i0(y,h,13,!r)};if(a&&h.suspense||N2)return d().then(y=>()=>Iw(y,h)).catch(y=>(p(y),()=>r?O(r,{error:y}):null));const v=ve(!1),g=ve(),m=ve(!!i);return i&&setTimeout(()=>{m.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!g.value){const y=new Error(`Async component timed out after ${o}ms.`);p(y),g.value=y}},o),d().then(()=>{v.value=!0,h.parent&&C2(h.parent.vnode)&&(h.parent.effect.dirty=!0,NS(h.parent.update))}).catch(y=>{p(y),g.value=y}),()=>{if(v.value&&u)return Iw(u,h);if(g.value&&r)return O(r,{error:g.value});if(n&&!m.value)return O(n)}}})}function Iw(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=O(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const C2=e=>e.type.__isKeepAlive,yce={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=vc(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,R,A,x,S)=>{const L=y.component;u(y,R,A,0,s),l(L.vnode,y,R,A,L,s,x,y.slotScopeIds,S),wi(()=>{L.isDeactivated=!1,L.a&&Zp(L.a);const w=y.props&&y.props.onVnodeMounted;w&&Qo(w,L.parent,y)},s)},r.deactivate=y=>{const R=y.component;Jb(R.m),Jb(R.a),u(y,d,null,1,s),wi(()=>{R.da&&Zp(R.da);const A=y.props&&y.props.onVnodeUnmounted;A&&Qo(A,R.parent,y),R.isDeactivated=!0},s)};function h(y){Nw(y),c(y,n,s,!0)}function p(y){i.forEach((R,A)=>{const x=V8(R.type);x&&(!y||!y(x))&&v(A)})}function v(y){const R=i.get(y);!a||!il(R,a)?h(R):a&&Nw(a),i.delete(y),o.delete(y)}Ot(()=>[e.include,e.exclude],([y,R])=>{y&&p(A=>ig(y,A)),R&&p(A=>!ig(R,A))},{flush:"post",deep:!0});let g=null;const m=()=>{g!=null&&(C8(n.subTree.type)?wi(()=>{i.set(g,AA(n.subTree))},n.subTree.suspense):i.set(g,AA(n.subTree)))};return Ht(m),WS(m),o0(()=>{i.forEach(y=>{const{subTree:R,suspense:A}=n,x=AA(R);if(y.type===x.type&&y.key===x.key){Nw(x);const S=x.component.da;S&&wi(S,A);return}h(y)})}),()=>{if(g=null,!t.default)return null;const y=t.default(),R=y[0];if(y.length>1)return a=null,y;if(!Yf(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let A=AA(R);const x=A.type,S=V8(wh(A)?A.type.__asyncResolved||{}:x),{include:L,exclude:w,max:M}=e;if(L&&(!S||!ig(L,S))||w&&S&&ig(w,S))return a=A,R;const _=A.key==null?x:A.key,P=i.get(_);return A.el&&(A=fu(A),R.shapeFlag&128&&(R.ssContent=A)),g=_,P?(A.el=P.el,A.component=P.component,A.transition&&Bf(A,A.transition),A.shapeFlag|=512,o.delete(_),o.add(_)):(o.add(_),M&&o.size>parseInt(M,10)&&v(o.values().next().value)),A.shapeFlag|=256,a=A,C8(R.type)?R:A}}},Ace=yce;function ig(e,t){return kt(e)?e.some(n=>ig(n,t)):Pr(e)?e.split(",").includes(t):pue(e)?e.test(t):!1}function nY(e,t){iY(e,"a",t)}function rY(e,t){iY(e,"da",t)}function iY(e,t,n=vi){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(XS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)C2(i.parent.vnode)&&Rce(r,t,n,i),i=i.parent}}function Rce(e,t,n,r){const i=XS(t,e,r,!0);Nn(()=>{B_(r[t],i)},n)}function Nw(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function AA(e){return e.shapeFlag&128?e.ssContent:e}function XS(e,t,n=vi,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{id();const s=Bh(n),l=Va(t,n,e,a);return s(),od(),l});return r?i.unshift(o):i.push(o),o}}const pc=e=>(t,n=vi)=>{(!N2||e==="sp")&&XS(e,(...r)=>t(...r),n)},oO=pc("bm"),Ht=pc("m"),oY=pc("bu"),WS=pc("u"),o0=pc("bum"),Nn=pc("um"),aY=pc("sp"),sY=pc("rtg"),lY=pc("rtc");function uY(e,t=vi){XS("ec",e,t)}const aO="components",bce="directives";function Se(e,t){return sO(aO,e,!0,t)||e}const cY=Symbol.for("v-ndc");function Ru(e){return Pr(e)?sO(aO,e,!1)||e:e||cY}function Fn(e){return sO(bce,e)}function sO(e,t,n=!0,r=!1){const i=mi||vi;if(i){const o=i.type;if(e===aO){const s=V8(o,!1);if(s&&(s===t||s===po(t)||s===k2(po(t))))return o}const a=BN(i[e]||o[e],t)||BN(i.appContext[e],t);return!a&&r?o:a}}function BN(e,t){return e&&(e[t]||e[po(t)]||e[k2(po(t))])}function tt(e,t,n,r){let i;const o=n&&n[r];if(kt(e)||Pr(e)){i=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,o&&o[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;s{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function ar(e,t,n={},r,i){if(mi.isCE||mi.parent&&wh(mi.parent)&&mi.parent.isCE)return t!=="default"&&(n.name=t),O("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),U();const a=o&&fY(o(n)),s=_e(We,{key:(n.key||a&&a.key||`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function fY(e){return e.some(t=>Yf(t)?!(t.type===Li||t.type===We&&!fY(t.children)):!0)?e:null}function Sce(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Dg(r)]=e[r];return n}const L8=e=>e?KY(e)?F2(e):L8(e.parent):null,Ug=Vr(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=>L8(e.parent),$root:e=>L8(e.root),$emit:e=>e.emit,$options:e=>lO(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,NS(e.update)}),$nextTick:e=>e.n||(e.n=Ir.bind(e.proxy)),$watch:e=>ife.bind(e)}),Fw=(e,t)=>e!==Kn&&!e.__isScriptSetup&&Wn(e,t),T8={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Fw(r,t))return a[t]=1,r[t];if(i!==Kn&&Wn(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&Wn(u,t))return a[t]=3,o[t];if(n!==Kn&&Wn(n,t))return a[t]=4,n[t];_8&&(a[t]=0)}}const c=Ug[t];let f,d;if(c)return t==="$attrs"&&ca(e.attrs,"get",""),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Kn&&Wn(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,Wn(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Fw(i,t)?(i[t]=n,!0):r!==Kn&&Wn(r,t)?(r[t]=n,!0):Wn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==Kn&&Wn(e,a)||Fw(t,a)||(s=o[0])&&Wn(s,a)||Wn(r,a)||Wn(Ug,a)||Wn(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Wn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},wce=Vr({},T8,{get(e,t){if(t!==Symbol.unscopables)return T8.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Aue(t)}});function Mce(){return null}function Lce(){return null}function Tce(e){}function _ce(e){}function Oce(){return null}function kce(){}function Pce(e,t){return null}function Cce(){return dY().slots}function Ice(){return dY().attrs}function dY(){const e=vc();return e.setupContext||(e.setupContext=JY(e))}function Wm(e){return kt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Nce(e,t){const n=Wm(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?kt(i)||Gt(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function Fce(e,t){return!e||!t?e||t:kt(e)&&kt(t)?e.concat(t):Vr({},Wm(e),Wm(t))}function Ece(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Xce(e){const t=vc();let n=e();return E8(),Y_(n)&&(n=n.catch(r=>{throw Bh(t),r})),[n,()=>Bh(t)]}let _8=!0;function Wce(e){const t=lO(e),n=e.proxy,r=e.ctx;_8=!1,t.beforeCreate&&YN(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:R,unmounted:A,render:x,renderTracked:S,renderTriggered:L,errorCaptured:w,serverPrefetch:M,expose:_,inheritAttrs:P,components:k,directives:F,filters:C}=t;if(u&&Vce(u,r,null),a)for(const W in a){const D=a[W];Gt(D)&&(r[W]=D.bind(n))}if(i){const W=i.call(n,n);lr(W)&&(e.data=P2(W))}if(_8=!0,o)for(const W in o){const D=o[W],Y=Gt(D)?D.bind(n,n):Gt(D.get)?D.get.bind(n,n):ta,re=!Gt(D)&&Gt(D.set)?D.set.bind(n):ta,B=we({get:Y,set:re});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>B.value,set:Z=>B.value=Z})}if(s)for(const W in s)hY(s[W],r,n,W);if(l){const W=Gt(l)?l.call(n):l;Reflect.ownKeys(W).forEach(D=>{a0(D,W[D])})}c&&YN(c,e,"c");function I(W,D){kt(D)?D.forEach(Y=>W(Y.bind(n))):D&&W(D.bind(n))}if(I(oO,f),I(Ht,d),I(oY,h),I(WS,p),I(nY,v),I(rY,g),I(uY,w),I(lY,S),I(sY,L),I(o0,y),I(Nn,A),I(aY,M),kt(_))if(_.length){const W=e.exposed||(e.exposed={});_.forEach(D=>{Object.defineProperty(W,D,{get:()=>n[D],set:Y=>n[D]=Y})})}else e.exposed||(e.exposed={});x&&e.render===ta&&(e.render=x),P!=null&&(e.inheritAttrs=P),k&&(e.components=k),F&&(e.directives=F)}function Vce(e,t,n=ta){kt(e)&&(e=O8(e));for(const r in e){const i=e[r];let o;lr(i)?"default"in i?o=bs(i.from||r,i.default,!0):o=bs(i.from||r):o=bs(i),Cr(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function YN(e,t,n){Va(kt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hY(e,t,n,r){const i=r.includes(".")?EY(n,r):()=>n[r];if(Pr(e)){const o=t[e];Gt(o)&&Ot(i,o)}else if(Gt(e))Ot(i,e.bind(n));else if(lr(e))if(kt(e))e.forEach(o=>hY(o,t,n,r));else{const o=Gt(e.handler)?e.handler.bind(n):t[e.handler];Gt(o)&&Ot(i,o,e)}}function lO(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Gb(l,u,a,!0)),Gb(l,t,a)),lr(t)&&o.set(t,l),l}function Gb(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Gb(e,o,n,!0),i&&i.forEach(a=>Gb(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=Dce[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Dce={data:ZN,props:QN,emits:QN,methods:og,computed:og,beforeCreate:So,created:So,beforeMount:So,mounted:So,beforeUpdate:So,updated:So,beforeDestroy:So,beforeUnmount:So,destroyed:So,unmounted:So,activated:So,deactivated:So,errorCaptured:So,serverPrefetch:So,components:og,directives:og,watch:Bce,provide:ZN,inject:Uce};function ZN(e,t){return t?e?function(){return Vr(Gt(e)?e.call(this,this):e,Gt(t)?t.call(this,this):t)}:t:e}function Uce(e,t){return og(O8(e),O8(t))}function O8(e){if(kt(e)){const t={};for(let n=0;n1)return n&&Gt(t)?t.call(r&&r.proxy):t}}function vY(){return!!(vi||mi||Kp)}const gY={},mY=()=>Object.create(gY),yY=e=>Object.getPrototypeOf(e)===gY;function Qce(e,t,n,r=!1){const i={},o=mY();e.propsDefaults=Object.create(null),AY(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:YB(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Hce(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=kn(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=RY(f,t,!0);Vr(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return lr(e)&&r.set(e,Up),Up;if(kt(o))for(let c=0;c-1,h[1]=v<0||p-1||Wn(h,"default"))&&s.push(f)}}}const u=[a,s];return lr(e)&&r.set(e,u),u}function HN(e){return e[0]!=="$"&&!Yp(e)}function KN(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function GN(e,t){return KN(e)===KN(t)}function zN(e,t){return kt(t)?t.findIndex(n=>GN(n,e)):Gt(t)&&GN(t,e)?0:-1}const bY=e=>e[0]==="_"||e==="$stable",uO=e=>kt(e)?e.map(Go):[Go(e)],Gce=(e,t,n)=>{if(t._n)return t;const r=ie((...i)=>uO(t(...i)),n);return r._c=!1,r},xY=(e,t,n)=>{const r=e._ctx;for(const i in e){if(bY(i))continue;const o=e[i];if(Gt(o))t[i]=Gce(i,o,r);else if(o!=null){const a=uO(o);t[i]=()=>a}}},SY=(e,t)=>{const n=uO(t);e.slots.default=()=>n},wY=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},zce=(e,t,n)=>{const r=e.slots=mY();if(e.vnode.shapeFlag&32){const i=t._;i?(wY(r,t,n),n&&SB(r,"_",i,!0)):xY(t,r)}else t&&SY(e,t)},Jce=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=Kn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:wY(i,t,n):(o=!t.$stable,xY(t,i)),a=t}else t&&(SY(e,t),a={default:1});if(o)for(const s in i)!bY(s)&&a[s]==null&&delete i[s]};function zb(e,t,n,r,i=!1){if(kt(e)){e.forEach((d,h)=>zb(d,t&&(kt(t)?t[h]:t),n,r,i));return}if(wh(r)&&!i)return;const o=r.shapeFlag&4?F2(r.component):r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Kn?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(Pr(u)?(c[u]=null,Wn(f,u)&&(f[u]=null)):Cr(u)&&(u.value=null)),Gt(l))ic(l,s,12,[a,c]);else{const d=Pr(l),h=Cr(l);if(d||h){const p=()=>{if(e.f){const v=d?Wn(f,l)?f[l]:c[l]:l.value;i?kt(v)&&B_(v,o):kt(v)?v.includes(o)||v.push(o):d?(c[l]=[o],Wn(f,l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else d?(c[l]=a,Wn(f,l)&&(f[l]=a)):h&&(l.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,wi(p,n)):p()}}}const MY=Symbol("_vte"),$ce=e=>e.__isTeleport,Bg=e=>e&&(e.disabled||e.disabled===""),JN=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$N=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,P8=(e,t)=>{const n=e&&e.to;return Pr(n)?t?t(n):null:n},jce={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:g}}=u,m=Bg(t.props);let{shapeFlag:y,children:R,dynamicChildren:A}=t;if(e==null){const x=t.el=v(""),S=t.anchor=v(""),L=t.target=P8(t.props,p),w=t.targetStart=v(""),M=t.targetAnchor=v("");h(x,n,r),h(S,n,r),w[MY]=M,L&&(h(w,L),h(M,L),a==="svg"||JN(L)?a="svg":(a==="mathml"||$N(L))&&(a="mathml"));const _=(P,k)=>{y&16&&c(R,P,k,i,o,a,s,l)};m?_(n,S):L&&_(L,M)}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,S=t.target=e.target,L=t.targetAnchor=e.targetAnchor,w=Bg(e.props),M=w?n:S,_=w?x:L;if(a==="svg"||JN(S)?a="svg":(a==="mathml"||$N(S))&&(a="mathml"),A?(d(e.dynamicChildren,A,M,i,o,a,s),fO(e,t,!0)):l||f(e,t,M,_,i,o,a,s,!1),m)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):RA(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=P8(t.props,p);P&&RA(t,P,null,u,0)}else w&&RA(t,S,L,u,1)}LY(t)},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(i(u),i(c)),o&&i(l),a&16){const h=o||!Bg(d);for(let p=0;p{jN||(console.error("Hydration completed but contains mismatches."),jN=!0)},efe=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",tfe=e=>e.namespaceURI.includes("MathML"),bA=e=>{if(efe(e))return"svg";if(tfe(e))return"mathml"},xA=e=>e.nodeType===8;function nfe(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,c=(R,A)=>{if(!A.hasChildNodes()){n(null,R,A),Kb(),A._vnode=R;return}f(A.firstChild,R,null,null,null),Kb(),A._vnode=R},f=(R,A,x,S,L,w=!1)=>{w=w||!!A.dynamicChildren;const M=xA(R)&&R.data==="[",_=()=>v(R,A,x,S,L,M),{type:P,ref:k,shapeFlag:F,patchFlag:C}=A;let N=R.nodeType;A.el=R,C===-2&&(w=!1,A.dynamicChildren=null);let I=null;switch(P){case kf:N!==3?A.children===""?(l(A.el=i(""),a(R),R),I=R):I=_():(R.data!==A.children&&(N0(),R.data=A.children),I=o(R));break;case Li:y(R)?(I=o(R),m(A.el=R.content.firstChild,R,x)):N!==8||M?I=_():I=o(R);break;case Mh:if(M&&(R=o(R),N=R.nodeType),N===1||N===3){I=R;const W=!A.children.length;for(let D=0;D{w=w||!!A.dynamicChildren;const{type:M,props:_,patchFlag:P,shapeFlag:k,dirs:F,transition:C}=A,N=M==="input"||M==="option";if(N||P!==-1){F&&Ul(A,null,x,"created");let I=!1;if(y(R)){I=kY(S,C)&&x&&x.vnode.props&&x.vnode.props.appear;const D=R.content.firstChild;I&&C.beforeEnter(D),m(D,R,x),A.el=R=D}if(k&16&&!(_&&(_.innerHTML||_.textContent))){let D=h(R.firstChild,A,R,x,S,L,w);for(;D;){N0();const Y=D;D=D.nextSibling,s(Y)}}else k&8&&R.textContent!==A.children&&(N0(),R.textContent=A.children);if(_){if(N||!w||P&48)for(const D in _)(N&&(D.endsWith("value")||D==="indeterminate")||O2(D)&&!Yp(D)||D[0]===".")&&r(R,D,null,_[D],void 0,x);else if(_.onClick)r(R,"onClick",null,_.onClick,void 0,x);else if(P&4&&nu(_.style))for(const D in _.style)_.style[D]}let W;(W=_&&_.onVnodeBeforeMount)&&Qo(W,x,A),F&&Ul(A,null,x,"beforeMount"),((W=_&&_.onVnodeMounted)||F||I)&&DY(()=>{W&&Qo(W,x,A),I&&C.enter(R),F&&Ul(A,null,x,"mounted")},S)}return R.nextSibling},h=(R,A,x,S,L,w,M)=>{M=M||!!A.dynamicChildren;const _=A.children,P=_.length;for(let k=0;k{const{slotScopeIds:M}=A;M&&(L=L?L.concat(M):M);const _=a(R),P=h(o(R),A,_,x,S,L,w);return P&&xA(P)&&P.data==="]"?o(A.anchor=P):(N0(),l(A.anchor=u("]"),_,P),P)},v=(R,A,x,S,L,w)=>{if(N0(),A.el=null,w){const P=g(R);for(;;){const k=o(R);if(k&&k!==P)s(k);else break}}const M=o(R),_=a(R);return s(R),n(null,A,_,M,x,S,bA(_),L),M},g=(R,A="[",x="]")=>{let S=0;for(;R;)if(R=o(R),R&&xA(R)&&(R.data===A&&S++,R.data===x)){if(S===0)return o(R);S--}return R},m=(R,A,x)=>{const S=A.parentNode;S&&S.replaceChild(R,A);let L=x;for(;L;)L.vnode.el===A&&(L.vnode.el=L.subTree.el=R),L=L.parent},y=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[c,f]}const wi=DY;function TY(e){return OY(e)}function _Y(e){return OY(e,nfe)}function OY(e,t){const n=wB();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=ta,insertStaticContent:p}=e,v=(j,X,J,se=null,q=null,ne=null,oe=void 0,he=null,ue=!!X.dynamicChildren)=>{if(j===X)return;j&&!il(j,X)&&(se=de(j),Z(j,q,ne,!0),j=null),X.patchFlag===-2&&(ue=!1,X.dynamicChildren=null);const{type:ge,ref:Re,shapeFlag:Ee}=X;switch(ge){case kf:g(j,X,J,se);break;case Li:m(j,X,J,se);break;case Mh:j==null&&y(X,J,se,oe);break;case We:k(j,X,J,se,q,ne,oe,he,ue);break;default:Ee&1?x(j,X,J,se,q,ne,oe,he,ue):Ee&6?F(j,X,J,se,q,ne,oe,he,ue):(Ee&64||Ee&128)&&ge.process(j,X,J,se,q,ne,oe,he,ue,ce)}Re!=null&&q&&zb(Re,j&&j.ref,ne,X||j,!X)},g=(j,X,J,se)=>{if(j==null)r(X.el=s(X.children),J,se);else{const q=X.el=j.el;X.children!==j.children&&u(q,X.children)}},m=(j,X,J,se)=>{j==null?r(X.el=l(X.children||""),J,se):X.el=j.el},y=(j,X,J,se)=>{[j.el,j.anchor]=p(j.children,X,J,se,j.el,j.anchor)},R=({el:j,anchor:X},J,se)=>{let q;for(;j&&j!==X;)q=d(j),r(j,J,se),j=q;r(X,J,se)},A=({el:j,anchor:X})=>{let J;for(;j&&j!==X;)J=d(j),i(j),j=J;i(X)},x=(j,X,J,se,q,ne,oe,he,ue)=>{X.type==="svg"?oe="svg":X.type==="math"&&(oe="mathml"),j==null?S(X,J,se,q,ne,oe,he,ue):M(j,X,q,ne,oe,he,ue)},S=(j,X,J,se,q,ne,oe,he)=>{let ue,ge;const{props:Re,shapeFlag:Ee,transition:Ne,dirs:He}=j;if(ue=j.el=a(j.type,ne,Re&&Re.is,Re),Ee&8?c(ue,j.children):Ee&16&&w(j.children,ue,null,se,q,Ew(j,ne),oe,he),He&&Ul(j,null,se,"created"),L(ue,j,j.scopeId,oe,se),Re){for(const xe in Re)xe!=="value"&&!Yp(xe)&&o(ue,xe,null,Re[xe],ne,se);"value"in Re&&o(ue,"value",null,Re.value,ne),(ge=Re.onVnodeBeforeMount)&&Qo(ge,se,j)}He&&Ul(j,null,se,"beforeMount");const Ve=kY(q,Ne);Ve&&Ne.beforeEnter(ue),r(ue,X,J),((ge=Re&&Re.onVnodeMounted)||Ve||He)&&wi(()=>{ge&&Qo(ge,se,j),Ve&&Ne.enter(ue),He&&Ul(j,null,se,"mounted")},q)},L=(j,X,J,se,q)=>{if(J&&h(j,J),se)for(let ne=0;ne{for(let ge=ue;ge{const he=X.el=j.el;let{patchFlag:ue,dynamicChildren:ge,dirs:Re}=X;ue|=j.patchFlag&16;const Ee=j.props||Kn,Ne=X.props||Kn;let He;if(J&&Md(J,!1),(He=Ne.onVnodeBeforeUpdate)&&Qo(He,J,X,j),Re&&Ul(X,j,J,"beforeUpdate"),J&&Md(J,!0),(Ee.innerHTML&&Ne.innerHTML==null||Ee.textContent&&Ne.textContent==null)&&c(he,""),ge?_(j.dynamicChildren,ge,he,J,se,Ew(X,q),ne):oe||D(j,X,he,null,J,se,Ew(X,q),ne,!1),ue>0){if(ue&16)P(he,Ee,Ne,J,q);else if(ue&2&&Ee.class!==Ne.class&&o(he,"class",null,Ne.class,q),ue&4&&o(he,"style",Ee.style,Ne.style,q),ue&8){const Ve=X.dynamicProps;for(let xe=0;xe{He&&Qo(He,J,X,j),Re&&Ul(X,j,J,"updated")},se)},_=(j,X,J,se,q,ne,oe)=>{for(let he=0;he{if(X!==J){if(X!==Kn)for(const ne in X)!Yp(ne)&&!(ne in J)&&o(j,ne,X[ne],null,q,se);for(const ne in J){if(Yp(ne))continue;const oe=J[ne],he=X[ne];oe!==he&&ne!=="value"&&o(j,ne,he,oe,q,se)}"value"in J&&o(j,"value",X.value,J.value,q)}},k=(j,X,J,se,q,ne,oe,he,ue)=>{const ge=X.el=j?j.el:s(""),Re=X.anchor=j?j.anchor:s("");let{patchFlag:Ee,dynamicChildren:Ne,slotScopeIds:He}=X;He&&(he=he?he.concat(He):He),j==null?(r(ge,J,se),r(Re,J,se),w(X.children||[],J,Re,q,ne,oe,he,ue)):Ee>0&&Ee&64&&Ne&&j.dynamicChildren?(_(j.dynamicChildren,Ne,J,q,ne,oe,he),(X.key!=null||q&&X===q.subTree)&&fO(j,X,!0)):D(j,X,J,Re,q,ne,oe,he,ue)},F=(j,X,J,se,q,ne,oe,he,ue)=>{X.slotScopeIds=he,j==null?X.shapeFlag&512?q.ctx.activate(X,J,se,oe,ue):C(X,J,se,q,ne,oe,ue):N(j,X,ue)},C=(j,X,J,se,q,ne,oe)=>{const he=j.component=HY(j,se,q);if(C2(j)&&(he.ctx.renderer=ce),GY(he,!1,oe),he.asyncDep){if(q&&q.registerDep(he,I,oe),!j.el){const ue=he.subTree=O(Li);m(null,ue,X,J)}}else I(he,j,X,J,q,ne,oe)},N=(j,X,J)=>{const se=X.component=j.component;if(cfe(j,X,J))if(se.asyncDep&&!se.asyncResolved){W(se,X,J);return}else se.next=X,hce(se.update),se.effect.dirty=!0,se.update();else X.el=j.el,se.vnode=X},I=(j,X,J,se,q,ne,oe)=>{const he=()=>{if(j.isMounted){let{next:Re,bu:Ee,u:Ne,parent:He,vnode:Ve}=j;{const Ye=PY(j);if(Ye){Re&&(Re.el=Ve.el,W(j,Re,oe)),Ye.asyncDep.then(()=>{j.isUnmounted||he()});return}}let xe=Re,ye;Md(j,!1),Re?(Re.el=Ve.el,W(j,Re,oe)):Re=Ve,Ee&&Zp(Ee),(ye=Re.props&&Re.props.onVnodeBeforeUpdate)&&Qo(ye,He,Re,Ve),Md(j,!0);const Me=KR(j),Ce=j.subTree;j.subTree=Me,v(Ce,Me,f(Ce.el),de(Ce),j,q,ne),Re.el=Me.el,xe===null&&dO(j,Me.el),Ne&&wi(Ne,q),(ye=Re.props&&Re.props.onVnodeUpdated)&&wi(()=>Qo(ye,He,Re,Ve),q)}else{let Re;const{el:Ee,props:Ne}=X,{bm:He,m:Ve,parent:xe}=j,ye=wh(X);if(Md(j,!1),He&&Zp(He),!ye&&(Re=Ne&&Ne.onVnodeBeforeMount)&&Qo(Re,xe,X),Md(j,!0),Ee&&le){const Me=()=>{j.subTree=KR(j),le(Ee,j.subTree,j,q,null)};ye?X.type.__asyncLoader().then(()=>!j.isUnmounted&&Me()):Me()}else{const Me=j.subTree=KR(j);v(null,Me,J,se,j,q,ne),X.el=Me.el}if(Ve&&wi(Ve,q),!ye&&(Re=Ne&&Ne.onVnodeMounted)){const Me=X;wi(()=>Qo(Re,xe,Me),q)}(X.shapeFlag&256||xe&&wh(xe.vnode)&&xe.vnode.shapeFlag&256)&&j.a&&wi(j.a,q),j.isMounted=!0,X=J=se=null}},ue=j.effect=new fv(he,ta,()=>NS(ge),j.scope),ge=j.update=()=>{ue.dirty&&ue.run()};ge.i=j,ge.id=j.uid,Md(j,!0),ge()},W=(j,X,J)=>{X.component=j;const se=j.vnode.props;j.vnode=X,j.next=null,Hce(j,X.props,se,J),Jce(j,X.children,J),id(),DN(j),od()},D=(j,X,J,se,q,ne,oe,he,ue=!1)=>{const ge=j&&j.children,Re=j?j.shapeFlag:0,Ee=X.children,{patchFlag:Ne,shapeFlag:He}=X;if(Ne>0){if(Ne&128){re(ge,Ee,J,se,q,ne,oe,he,ue);return}else if(Ne&256){Y(ge,Ee,J,se,q,ne,oe,he,ue);return}}He&8?(Re&16&&$(ge,q,ne),Ee!==ge&&c(J,Ee)):Re&16?He&16?re(ge,Ee,J,se,q,ne,oe,he,ue):$(ge,q,ne,!0):(Re&8&&c(J,""),He&16&&w(Ee,J,se,q,ne,oe,he,ue))},Y=(j,X,J,se,q,ne,oe,he,ue)=>{j=j||Up,X=X||Up;const ge=j.length,Re=X.length,Ee=Math.min(ge,Re);let Ne;for(Ne=0;NeRe?$(j,q,ne,!0,!1,Ee):w(X,J,se,q,ne,oe,he,ue,Ee)},re=(j,X,J,se,q,ne,oe,he,ue)=>{let ge=0;const Re=X.length;let Ee=j.length-1,Ne=Re-1;for(;ge<=Ee&&ge<=Ne;){const He=j[ge],Ve=X[ge]=ue?af(X[ge]):Go(X[ge]);if(il(He,Ve))v(He,Ve,J,null,q,ne,oe,he,ue);else break;ge++}for(;ge<=Ee&&ge<=Ne;){const He=j[Ee],Ve=X[Ne]=ue?af(X[Ne]):Go(X[Ne]);if(il(He,Ve))v(He,Ve,J,null,q,ne,oe,he,ue);else break;Ee--,Ne--}if(ge>Ee){if(ge<=Ne){const He=Ne+1,Ve=HeNe)for(;ge<=Ee;)Z(j[ge],q,ne,!0),ge++;else{const He=ge,Ve=ge,xe=new Map;for(ge=Ve;ge<=Ne;ge++){const rt=X[ge]=ue?af(X[ge]):Go(X[ge]);rt.key!=null&&xe.set(rt.key,ge)}let ye,Me=0;const Ce=Ne-Ve+1;let Ye=!1,ot=0;const ke=new Array(Ce);for(ge=0;ge=Ce){Z(rt,q,ne,!0);continue}let bt;if(rt.key!=null)bt=xe.get(rt.key);else for(ye=Ve;ye<=Ne;ye++)if(ke[ye-Ve]===0&&il(rt,X[ye])){bt=ye;break}bt===void 0?Z(rt,q,ne,!0):(ke[bt-Ve]=ge+1,bt>=ot?ot=bt:Ye=!0,v(rt,X[bt],J,null,q,ne,oe,he,ue),Me++)}const Ge=Ye?rfe(ke):Up;for(ye=Ge.length-1,ge=Ce-1;ge>=0;ge--){const rt=Ve+ge,bt=X[rt],dt=rt+1{const{el:ne,type:oe,transition:he,children:ue,shapeFlag:ge}=j;if(ge&6){B(j.component.subTree,X,J,se);return}if(ge&128){j.suspense.move(X,J,se);return}if(ge&64){oe.move(j,X,J,ce);return}if(oe===We){r(ne,X,J);for(let Ee=0;Eehe.enter(ne),q);else{const{leave:Ee,delayLeave:Ne,afterLeave:He}=he,Ve=()=>r(ne,X,J),xe=()=>{Ee(ne,()=>{Ve(),He&&He()})};Ne?Ne(ne,Ve,xe):xe()}else r(ne,X,J)},Z=(j,X,J,se=!1,q=!1)=>{const{type:ne,props:oe,ref:he,children:ue,dynamicChildren:ge,shapeFlag:Re,patchFlag:Ee,dirs:Ne,cacheIndex:He}=j;if(Ee===-2&&(q=!1),he!=null&&zb(he,null,J,j,!0),He!=null&&(X.renderCache[He]=void 0),Re&256){X.ctx.deactivate(j);return}const Ve=Re&1&&Ne,xe=!wh(j);let ye;if(xe&&(ye=oe&&oe.onVnodeBeforeUnmount)&&Qo(ye,X,j),Re&6)ee(j.component,J,se);else{if(Re&128){j.suspense.unmount(J,se);return}Ve&&Ul(j,null,X,"beforeUnmount"),Re&64?j.type.remove(j,X,J,ce,se):ge&&!ge.hasOnce&&(ne!==We||Ee>0&&Ee&64)?$(ge,X,J,!1,!0):(ne===We&&Ee&384||!q&&Re&16)&&$(ue,X,J),se&&Q(j)}(xe&&(ye=oe&&oe.onVnodeUnmounted)||Ve)&&wi(()=>{ye&&Qo(ye,X,j),Ve&&Ul(j,null,X,"unmounted")},J)},Q=j=>{const{type:X,el:J,anchor:se,transition:q}=j;if(X===We){G(J,se);return}if(X===Mh){A(j);return}const ne=()=>{i(J),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(j.shapeFlag&1&&q&&!q.persisted){const{leave:oe,delayLeave:he}=q,ue=()=>oe(J,ne);he?he(j.el,ne,ue):ue()}else ne()},G=(j,X)=>{let J;for(;j!==X;)J=d(j),i(j),j=J;i(X)},ee=(j,X,J)=>{const{bum:se,scope:q,update:ne,subTree:oe,um:he,m:ue,a:ge}=j;Jb(ue),Jb(ge),se&&Zp(se),q.stop(),ne&&(ne.active=!1,Z(oe,j,X,J)),he&&wi(he,X),wi(()=>{j.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},$=(j,X,J,se=!1,q=!1,ne=0)=>{for(let oe=ne;oe{if(j.shapeFlag&6)return de(j.component.subTree);if(j.shapeFlag&128)return j.suspense.next();const X=d(j.anchor||j.el),J=X&&X[MY];return J?d(J):X};let K=!1;const Ae=(j,X,J)=>{j==null?X._vnode&&Z(X._vnode,null,null,!0):v(X._vnode||null,j,X,null,null,null,J),K||(K=!0,DN(),Kb(),K=!1),X._vnode=j},ce={p:v,um:Z,m:B,r:Q,mt:C,mc:w,pc:D,pbc:_,n:de,o:e};let fe,le;return t&&([fe,le]=t(ce)),{render:Ae,hydrate:fe,createApp:Zce(Ae,fe)}}function Ew({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 Md({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kY(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fO(e,t,n=!1){const r=e.children,i=t.children;if(kt(r)&&kt(i))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function PY(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:PY(t)}function Jb(e){if(e)for(let t=0;tbs(CY);function Xv(e,t){return I2(e,null,t)}function NY(e,t){return I2(e,null,{flush:"post"})}function FY(e,t){return I2(e,null,{flush:"sync"})}const SA={};function Ot(e,t,n){return I2(e,t,n)}function I2(e,t,{immediate:n,deep:r,flush:i,once:o,onTrack:a,onTrigger:s}=Kn){if(t&&o){const S=t;t=(...L)=>{S(...L),x()}}const l=vi,u=S=>r===!0?S:vf(S,r===!1?1:void 0);let c,f=!1,d=!1;if(Cr(e)?(c=()=>e.value,f=Dh(e)):nu(e)?(c=()=>u(e),f=!0):kt(e)?(d=!0,f=e.some(S=>nu(S)||Dh(S)),c=()=>e.map(S=>{if(Cr(S))return S.value;if(nu(S))return u(S);if(Gt(S))return ic(S,l,2)})):Gt(e)?t?c=()=>ic(e,l,2):c=()=>(h&&h(),Va(e,l,3,[p])):c=ta,t&&r){const S=c;c=()=>vf(S())}let h,p=S=>{h=R.onStop=()=>{ic(S,l,4),h=R.onStop=void 0}},v;if(N2)if(p=ta,t?n&&Va(t,l,3,[c(),d?[]:void 0,p]):c(),i==="sync"){const S=IY();v=S.__watcherHandles||(S.__watcherHandles=[])}else return ta;let g=d?new Array(e.length).fill(SA):SA;const m=()=>{if(!(!R.active||!R.dirty))if(t){const S=R.run();(r||f||(d?S.some((L,w)=>Oo(L,g[w])):Oo(S,g)))&&(h&&h(),Va(t,l,3,[S,g===SA?void 0:d&&g[0]===SA?[]:g,p]),g=S)}else R.run()};m.allowRecurse=!!t;let y;i==="sync"?y=m:i==="post"?y=()=>wi(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),y=()=>NS(m));const R=new fv(c,ta,y),A=K_(),x=()=>{R.stop(),A&&B_(A.effects,R)};return t?n?m():g=R.run():i==="post"?wi(R.run.bind(R),l&&l.suspense):R.run(),v&&v.push(x),x}function ife(e,t,n){const r=this.proxy,i=Pr(e)?e.includes(".")?EY(r,e):()=>r[e]:e.bind(r,r);let o;Gt(t)?o=t:(o=t.handler,n=t);const a=Bh(this),s=I2(i,o.bind(r),n);return a(),s}function EY(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{vf(r,t,n)});else if(xB(e)){for(const r in e)vf(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vf(e[r],t,n)}return e}function ofe(e,t,n=Kn){const r=vc(),i=po(t),o=$o(t),a=XY(e,t),s=HB((l,u)=>{let c,f=Kn,d;return FY(()=>{const h=e[t];Oo(c,h)&&(c=h,u())}),{get(){return l(),n.get?n.get(c):c},set(h){if(!Oo(h,c)&&!(f!==Kn&&Oo(h,f)))return;const p=r.vnode.props;p&&(t in p||i in p||o in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${o}`in p)||(c=h,u());const v=n.set?n.set(h):h;r.emit(`update:${t}`,v),Oo(h,v)&&Oo(h,f)&&!Oo(v,d)&&u(),f=h,d=v}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||Kn:s,done:!1}:{done:!0}}}},s}const XY=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${po(t)}Modifiers`]||e[`${$o(t)}Modifiers`];function afe(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Kn;let i=n;const o=t.startsWith("update:"),a=o&&XY(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Pr(c)?c.trim():c)),a.number&&(i=n.map(Yb)));let s,l=r[s=Dg(t)]||r[s=Dg(po(t))];!l&&o&&(l=r[s=Dg($o(t))]),l&&Va(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Va(u,e,6,i)}}function WY(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!Gt(e)){const l=u=>{const c=WY(u,t,!0);c&&(s=!0,Vr(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(lr(e)&&r.set(e,null),null):(kt(o)?o.forEach(l=>a[l]=null):Vr(a,o),lr(e)&&r.set(e,a),a)}function VS(e,t){return!e||!O2(t)?!1:(t=t.slice(2).replace(/Once$/,""),Wn(e,t[0].toLowerCase()+t.slice(1))||Wn(e,$o(t))||Wn(e,t))}function KR(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e,g=Xm(e);let m,y;try{if(n.shapeFlag&4){const A=i||r,x=A;m=Go(u.call(x,A,c,f,h,d,p)),y=s}else{const A=t;m=Go(A.length>1?A(f,{attrs:s,slots:a,emit:l}):A(f,null)),y=t.props?s:lfe(s)}}catch(A){Yg.length=0,i0(A,e,1),m=O(Li)}let R=m;if(y&&v!==!1){const A=Object.keys(y),{shapeFlag:x}=R;A.length&&x&7&&(o&&A.some(U_)&&(y=ufe(y,o)),R=fu(R,y,!1,!0))}return n.dirs&&(R=fu(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),m=R,Xm(g),m}function sfe(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||O2(n))&&((t||(t={}))[n]=e[n]);return t},ufe=(e,t)=>{const n={};for(const r in e)(!U_(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cfe(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?qN(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let I8=0;const ffe={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){if(e==null)hfe(t,n,r,i,o,a,s,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}pfe(e,t,n,r,i,a,s,l,u)}},hydrate:vfe,normalize:gfe},dfe=ffe;function Vm(e,t){const n=e.props&&e.props[t];Gt(n)&&n()}function hfe(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=VY(e,i,r,t,f,n,o,a,s,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,a),d.deps>0?(Vm(e,"onPending"),Vm(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),Gp(d,e.ssFallback)):d.resolve(!1,!0)}function pfe(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:g,isHydrating:m}=f;if(v)f.pendingBranch=d,il(d,v)?(l(v,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():g&&(m||(l(p,h,n,r,i,null,o,a,s),Gp(f,h)))):(f.pendingId=I8++,m?(f.isHydrating=!1,f.activeBranch=v):u(v,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():(l(p,h,n,r,i,null,o,a,s),Gp(f,h))):p&&il(d,p)?(l(p,d,n,r,i,f,o,a,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0&&f.resolve()));else if(p&&il(d,p))l(p,d,n,r,i,f,o,a,s),Gp(f,d);else if(Vm(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=I8++,l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:R}=f;y>0?setTimeout(()=>{f.pendingId===R&&f.fallback(h)},y):y===0&&f.fallback(h)}}function VY(e,t,n,r,i,o,a,s,l,u,c=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:g}}=u;let m;const y=mfe(e);y&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const R=e.props?Zb(e.props.timeout):void 0,A=o,x={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:I8++,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(S=!1,L=!1){const{vnode:w,activeBranch:M,pendingBranch:_,pendingId:P,effects:k,parentComponent:F,container:C}=x;let N=!1;x.isHydrating?x.isHydrating=!1:S||(N=M&&_.transition&&_.transition.mode==="out-in",N&&(M.transition.afterLeave=()=>{P===x.pendingId&&(d(_,C,o===A?p(M):o,0),Hb(k))}),M&&(v(M.el)!==x.hiddenContainer&&(o=p(M)),h(M,F,x,!0)),N||d(_,C,o,0)),Gp(x,_),x.pendingBranch=null,x.isInFallback=!1;let I=x.parent,W=!1;for(;I;){if(I.pendingBranch){I.effects.push(...k),W=!0;break}I=I.parent}!W&&!N&&Hb(k),x.effects=[],y&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Vm(w,"onResolve")},fallback(S){if(!x.pendingBranch)return;const{vnode:L,activeBranch:w,parentComponent:M,container:_,namespace:P}=x;Vm(L,"onFallback");const k=p(w),F=()=>{x.isInFallback&&(f(null,S,_,k,M,null,P,s,l),Gp(x,S))},C=S.transition&&S.transition.mode==="out-in";C&&(w.transition.afterLeave=F),x.isInFallback=!0,h(w,M,null,!0),C||F()},move(S,L,w){x.activeBranch&&d(x.activeBranch,S,L,w),x.container=S},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(S,L,w){const M=!!x.pendingBranch;M&&x.deps++;const _=S.vnode.el;S.asyncDep.catch(P=>{i0(P,S,0)}).then(P=>{if(S.isUnmounted||x.isUnmounted||x.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:k}=S;X8(S,P,!1),_&&(k.el=_);const F=!_&&S.subTree.el;L(S,k,v(_||S.subTree.el),_?null:p(S.subTree),x,a,w),F&&g(F),dO(S,k.el),M&&--x.deps===0&&x.resolve()})},unmount(S,L){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,S,L),x.pendingBranch&&h(x.pendingBranch,n,S,L)}};return x}function vfe(e,t,n,r,i,o,a,s,l){const u=t.suspense=VY(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),c}function gfe(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=e7(r?n.default:n),e.ssFallback=r?e7(n.fallback):O(Li)}function e7(e){let t;if(Gt(e)){const n=Uh&&e._c;n&&(e._d=!1,U()),e=e(),n&&(e._d=!0,t=fo,UY())}return kt(e)&&(e=sfe(e)),e=Go(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function DY(e,t){t&&t.pendingBranch?kt(e)?t.effects.push(...e):t.effects.push(e):Hb(e)}function Gp(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,dO(r,i))}function mfe(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const We=Symbol.for("v-fgt"),kf=Symbol.for("v-txt"),Li=Symbol.for("v-cmt"),Mh=Symbol.for("v-stc"),Yg=[];let fo=null;function U(e=!1){Yg.push(fo=e?null:[])}function UY(){Yg.pop(),fo=Yg[Yg.length-1]||null}let Uh=1;function N8(e){Uh+=e,e<0&&fo&&(fo.hasOnce=!0)}function BY(e){return e.dynamicChildren=Uh>0?fo||Up:null,UY(),Uh>0&&fo&&fo.push(e),e}function te(e,t,n,r,i,o){return BY(V(e,t,n,r,i,o,!0))}function _e(e,t,n,r,i){return BY(O(e,t,n,r,i,!0))}function Yf(e){return e?e.__v_isVNode===!0:!1}function il(e,t){return e.type===t.type&&e.key===t.key}function yfe(e){}const YY=({key:e})=>e??null,GR=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pr(e)||Cr(e)||Gt(e)?{i:mi,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,r=0,i=null,o=e===We?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&YY(t),ref:t&&GR(t),scopeId:FS,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:mi};return s?(hO(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Pr(n)?8:16),Uh>0&&!a&&fo&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&fo.push(l),l}const O=Afe;function Afe(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===cY)&&(e=Li),Yf(e)){const s=fu(e,t,!0);return n&&hO(s,n),Uh>0&&!o&&fo&&(s.shapeFlag&6?fo[fo.indexOf(e)]=s:fo.push(s)),s.patchFlag=-2,s}if(Tfe(e)&&(e=e.__vccOpts),t){t=ZY(t);let{class:s,style:l}=t;s&&!Pr(s)&&(t.class=$e(s)),lr(l)&&(j_(l)&&!kt(l)&&(l=Vr({},l)),t.style=Le(l))}const a=Pr(e)?1:C8(e)?128:$ce(e)?64:lr(e)?4:Gt(e)?2:0;return V(e,t,n,r,i,a,o,!0)}function ZY(e){return e?j_(e)||yY(e)?Vr({},e):e:null}function fu(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:l}=e,u=t?QY(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&YY(u),ref:t&&t.ref?n&&o?kt(o)?o.concat(GR(t)):[o,GR(t)]:GR(t):o,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!==We?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&&fu(e.ssContent),ssFallback:e.ssFallback&&fu(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Bf(c,l.clone(c)),c}function Ue(e=" ",t=0){return O(kf,null,e,t)}function Rfe(e,t){const n=O(Mh,null,e);return n.staticCount=t,n}function Ze(e="",t=!1){return t?(U(),_e(Li,null,e)):O(Li,null,e)}function Go(e){return e==null||typeof e=="boolean"?O(Li):kt(e)?O(We,null,e.slice()):typeof e=="object"?af(e):O(kf,null,String(e))}function af(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fu(e)}function hO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(kt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),hO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!yY(t)?t._ctx=mi:i===3&&mi&&(mi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Gt(t)?(t={default:t,_ctx:mi},n=32):(t=String(t),r&64?(n=16,t=[Ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function QY(...e){const t={};for(let n=0;nvi||mi;let $b,F8;{const e=wB(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};$b=t("__VUE_INSTANCE_SETTERS__",n=>vi=n),F8=t("__VUE_SSR_SETTERS__",n=>N2=n)}const Bh=e=>{const t=vi;return $b(e),e.scope.on(),()=>{e.scope.off(),$b(t)}},E8=()=>{vi&&vi.scope.off(),$b(null)};function KY(e){return e.vnode.shapeFlag&4}let N2=!1;function GY(e,t=!1,n=!1){t&&F8(t);const{props:r,children:i}=e.vnode,o=KY(e);Qce(e,r,o,t),zce(e,i,n);const a=o?Sfe(e,t):void 0;return t&&F8(!1),a}function Sfe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,T8);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?JY(e):null,o=Bh(e);id();const a=ic(r,e,0,[e.props,i]);if(od(),o(),Y_(a)){if(a.then(E8,E8),t)return a.then(s=>{X8(e,s,t)}).catch(s=>{i0(s,e,0)});e.asyncDep=a}else X8(e,a,t)}else zY(e,t)}function X8(e,t,n){Gt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:lr(t)&&(e.setupState=tO(t)),zY(e,n)}let jb,W8;function wfe(e){jb=e,W8=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,wce))}}const Mfe=()=>!jb;function zY(e,t,n){const r=e.type;if(!e.render){if(!t&&jb&&!r.render){const i=r.template||lO(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Vr(Vr({isCustomElement:o,delimiters:s},a),l);r.render=jb(i,u)}}e.render=r.render||ta,W8&&W8(e)}{const i=Bh(e);id();try{Wce(e)}finally{od(),i()}}}const Lfe={get(e,t){return ca(e,"get",""),e[t]}};function JY(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lfe),slots:e.slots,emit:e.emit,expose:t}}function F2(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tO(IS(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ug)return Ug[n](e)},has(t,n){return n in t||n in Ug}})):e.proxy}function V8(e,t=!0){return Gt(e)?e.displayName||e.name:e.name||t&&e.__name}function Tfe(e){return Gt(e)&&"__vccOpts"in e}const we=(e,t)=>$ue(e,t,N2);function $Y(e,t,n){const r=arguments.length;return r===2?lr(t)&&!kt(t)?Yf(t)?O(e,null,[t]):O(e,t):O(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yf(n)&&(n=[n]),O(e,t,n))}function _fe(){}function Ofe(e,t,n,r){const i=n[r];if(i&&jY(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function jY(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&fo&&fo.push(e),!0}const qY="3.4.34",kfe=ta,Pfe=cce,Cfe=up,Ife=jB,Nfe={createComponentInstance:HY,setupComponent:GY,renderComponentRoot:KR,setCurrentRenderingInstance:Xm,isVNode:Yf,normalizeVNode:Go,getComponentPublicInstance:F2},Ffe=Nfe,Efe=null,Xfe=null,Wfe=null;/** +**/function lce(e,t){}const uce={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},cce={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update"};function ic(e,t,n,r){try{return r?e(...r):e()}catch(i){i0(i,t,n)}}function Va(e,t,n,r){if(Gt(e)){const i=ic(e,t,n,r);return i&&Y_(i)&&i.catch(o=>{i0(o,t,n)}),i}if(kt(e)){const i=[];for(let o=0;o>>1,i=so[r],o=Em(i);oQl&&so.splice(t,1)}function Hb(e){kt(e)?Hp.push(...e):(!rf||!rf.includes(e,e.allowRecurse?ah+1:ah))&&Hp.push(e),JB()}function DN(e,t,n=Fm?Ql+1:0){for(;nEm(n)-Em(r));if(Hp.length=0,rf){rf.push(...t);return}for(rf=t,ah=0;ahe.id==null?1/0:e.id,pce=(e,t)=>{const n=Em(e)-Em(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function $B(e){M8=!1,Fm=!0,so.sort(pce);try{for(Ql=0;Qlup.emit(i,...o)),mA=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{jB(o,t)}),setTimeout(()=>{up||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,mA=[])},3e3)):mA=[]}let mi=null,FS=null;function Xm(e){const t=mi;return mi=e,FS=e&&e.type.__scopeId||null,t}function en(e){FS=e}function tn(){FS=null}const vce=e=>ie;function ie(e,t=mi,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&N8(-1);const o=Xm(t);let a;try{a=e(...i)}finally{Xm(o),r._d&&N8(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function ze(e,t){if(mi===null)return e;const n=F2(mi),r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),o0(()=>{e.isUnmounting=!0}),e}const ns=[Function,Array],iO={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ns,onEnter:ns,onAfterEnter:ns,onEnterCancelled:ns,onBeforeLeave:ns,onLeave:ns,onAfterLeave:ns,onLeaveCancelled:ns,onBeforeAppear:ns,onAppear:ns,onAfterAppear:ns,onAppearCancelled:ns},qB=e=>{const t=e.subTree;return t.component?qB(t.component):t},gce={name:"BaseTransition",props:iO,setup(e,{slots:t}){const n=vc(),r=rO();return()=>{const i=t.default&&ES(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const d of i)if(d.type!==Li){o=d;break}}const a=kn(e),{mode:s}=a;if(r.isLeaving)return Cw(o);const l=UN(o);if(!l)return Cw(o);let u=dv(l,a,r,n,d=>u=d);Bf(l,u);const c=n.subTree,f=c&&UN(c);if(f&&f.type!==Li&&!il(l,f)&&qB(n).type!==Li){const d=dv(f,a,r,n);if(Bf(f,d),s==="out-in"&&l.type!==Li)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Cw(o);s==="in-out"&&l.type!==Li&&(d.delayLeave=(h,p,v)=>{const g=tY(r,f);g[String(f.key)]=f,h[of]=()=>{p(),h[of]=void 0,delete u.delayedLeave},u.delayedLeave=v})}return o}}},eY=gce;function tY(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 dv(e,t,n,r,i){const{appear:o,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:p,onLeaveCancelled:v,onBeforeAppear:g,onAppear:m,onAfterAppear:y,onAppearCancelled:R}=t,A=String(e.key),x=tY(n,e),S=(M,_)=>{M&&Va(M,r,9,_)},L=(M,_)=>{const k=_[1];S(M,_),kt(M)?M.every(P=>P.length<=1)&&k():M.length<=1&&k()},w={mode:a,persisted:s,beforeEnter(M){let _=l;if(!n.isMounted)if(o)_=g||l;else return;M[of]&&M[of](!0);const k=x[A];k&&il(e,k)&&k.el[of]&&k.el[of](),S(_,[M])},enter(M){let _=u,k=c,P=f;if(!n.isMounted)if(o)_=m||u,k=y||c,P=R||f;else return;let N=!1;const C=M[yA]=F=>{N||(N=!0,F?S(P,[M]):S(k,[M]),w.delayedLeave&&w.delayedLeave(),M[yA]=void 0)};_?L(_,[M,C]):C()},leave(M,_){const k=String(e.key);if(M[yA]&&M[yA](!0),n.isUnmounting)return _();S(d,[M]);let P=!1;const N=M[of]=C=>{P||(P=!0,_(),C?S(v,[M]):S(p,[M]),M[of]=void 0,x[k]===e&&delete x[k])};x[k]=e,h?L(h,[M,N]):N()},clone(M){const _=dv(M,t,n,r,i);return i&&i(_),_}};return w}function Cw(e){if(C2(e))return e=fu(e),e.children=null,e}function UN(e){if(!C2(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Gt(n.default))return n.default()}}function Bf(e,t){e.shapeFlag&6&&e.component?Bf(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 ES(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function mce(e){Gt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:o,suspensible:a=!0,onError:s}=e;let l=null,u,c=0;const f=()=>(c++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),s)return new Promise((v,g)=>{s(p,()=>v(f()),()=>g(p),c+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),u=p,p)))};return Xe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return u},setup(){const h=vi;if(u)return()=>Iw(u,h);const p=y=>{l=null,i0(y,h,13,!r)};if(a&&h.suspense||N2)return d().then(y=>()=>Iw(y,h)).catch(y=>(p(y),()=>r?O(r,{error:y}):null));const v=pe(!1),g=pe(),m=pe(!!i);return i&&setTimeout(()=>{m.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!g.value){const y=new Error(`Async component timed out after ${o}ms.`);p(y),g.value=y}},o),d().then(()=>{v.value=!0,h.parent&&C2(h.parent.vnode)&&(h.parent.effect.dirty=!0,NS(h.parent.update))}).catch(y=>{p(y),g.value=y}),()=>{if(v.value&&u)return Iw(u,h);if(g.value&&r)return O(r,{error:g.value});if(n&&!m.value)return O(n)}}})}function Iw(e,t){const{ref:n,props:r,children:i,ce:o}=t.vnode,a=O(e,r,i);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const C2=e=>e.type.__isKeepAlive,yce={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=vc(),r=n.ctx;if(!r.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const i=new Map,o=new Set;let a=null;const s=n.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:f}}}=r,d=f("div");r.activate=(y,R,A,x,S)=>{const L=y.component;u(y,R,A,0,s),l(L.vnode,y,R,A,L,s,x,y.slotScopeIds,S),wi(()=>{L.isDeactivated=!1,L.a&&Zp(L.a);const w=y.props&&y.props.onVnodeMounted;w&&Qo(w,L.parent,y)},s)},r.deactivate=y=>{const R=y.component;Jb(R.m),Jb(R.a),u(y,d,null,1,s),wi(()=>{R.da&&Zp(R.da);const A=y.props&&y.props.onVnodeUnmounted;A&&Qo(A,R.parent,y),R.isDeactivated=!0},s)};function h(y){Nw(y),c(y,n,s,!0)}function p(y){i.forEach((R,A)=>{const x=V8(R.type);x&&(!y||!y(x))&&v(A)})}function v(y){const R=i.get(y);!a||!il(R,a)?h(R):a&&Nw(a),i.delete(y),o.delete(y)}Ot(()=>[e.include,e.exclude],([y,R])=>{y&&p(A=>ig(y,A)),R&&p(A=>!ig(R,A))},{flush:"post",deep:!0});let g=null;const m=()=>{g!=null&&(C8(n.subTree.type)?wi(()=>{i.set(g,AA(n.subTree))},n.subTree.suspense):i.set(g,AA(n.subTree)))};return Ht(m),WS(m),o0(()=>{i.forEach(y=>{const{subTree:R,suspense:A}=n,x=AA(R);if(y.type===x.type&&y.key===x.key){Nw(x);const S=x.component.da;S&&wi(S,A);return}h(y)})}),()=>{if(g=null,!t.default)return null;const y=t.default(),R=y[0];if(y.length>1)return a=null,y;if(!Yf(R)||!(R.shapeFlag&4)&&!(R.shapeFlag&128))return a=null,R;let A=AA(R);const x=A.type,S=V8(wh(A)?A.type.__asyncResolved||{}:x),{include:L,exclude:w,max:M}=e;if(L&&(!S||!ig(L,S))||w&&S&&ig(w,S))return a=A,R;const _=A.key==null?x:A.key,k=i.get(_);return A.el&&(A=fu(A),R.shapeFlag&128&&(R.ssContent=A)),g=_,k?(A.el=k.el,A.component=k.component,A.transition&&Bf(A,A.transition),A.shapeFlag|=512,o.delete(_),o.add(_)):(o.add(_),M&&o.size>parseInt(M,10)&&v(o.values().next().value)),A.shapeFlag|=256,a=A,C8(R.type)?R:A}}},Ace=yce;function ig(e,t){return kt(e)?e.some(n=>ig(n,t)):Pr(e)?e.split(",").includes(t):pue(e)?e.test(t):!1}function nY(e,t){iY(e,"a",t)}function rY(e,t){iY(e,"da",t)}function iY(e,t,n=vi){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(XS(t,r,n),n){let i=n.parent;for(;i&&i.parent;)C2(i.parent.vnode)&&Rce(r,t,n,i),i=i.parent}}function Rce(e,t,n,r){const i=XS(t,e,r,!0);Nn(()=>{B_(r[t],i)},n)}function Nw(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function AA(e){return e.shapeFlag&128?e.ssContent:e}function XS(e,t,n=vi,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{id();const s=Bh(n),l=Va(t,n,e,a);return s(),od(),l});return r?i.unshift(o):i.push(o),o}}const pc=e=>(t,n=vi)=>{(!N2||e==="sp")&&XS(e,(...r)=>t(...r),n)},oO=pc("bm"),Ht=pc("m"),oY=pc("bu"),WS=pc("u"),o0=pc("bum"),Nn=pc("um"),aY=pc("sp"),sY=pc("rtg"),lY=pc("rtc");function uY(e,t=vi){XS("ec",e,t)}const aO="components",bce="directives";function Se(e,t){return sO(aO,e,!0,t)||e}const cY=Symbol.for("v-ndc");function Ru(e){return Pr(e)?sO(aO,e,!1)||e:e||cY}function Fn(e){return sO(bce,e)}function sO(e,t,n=!0,r=!1){const i=mi||vi;if(i){const o=i.type;if(e===aO){const s=V8(o,!1);if(s&&(s===t||s===po(t)||s===k2(po(t))))return o}const a=BN(i[e]||o[e],t)||BN(i.appContext[e],t);return!a&&r?o:a}}function BN(e,t){return e&&(e[t]||e[po(t)]||e[k2(po(t))])}function tt(e,t,n,r){let i;const o=n&&n[r];if(kt(e)||Pr(e)){i=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,o&&o[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;s{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function ar(e,t,n={},r,i){if(mi.isCE||mi.parent&&wh(mi.parent)&&mi.parent.isCE)return t!=="default"&&(n.name=t),O("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),U();const a=o&&fY(o(n)),s=_e(We,{key:(n.key||a&&a.key||`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function fY(e){return e.some(t=>Yf(t)?!(t.type===Li||t.type===We&&!fY(t.children)):!0)?e:null}function Sce(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Dg(r)]=e[r];return n}const L8=e=>e?KY(e)?F2(e):L8(e.parent):null,Ug=Vr(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=>L8(e.parent),$root:e=>L8(e.root),$emit:e=>e.emit,$options:e=>lO(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,NS(e.update)}),$nextTick:e=>e.n||(e.n=Ir.bind(e.proxy)),$watch:e=>ife.bind(e)}),Fw=(e,t)=>e!==Kn&&!e.__isScriptSetup&&Wn(e,t),T8={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Fw(r,t))return a[t]=1,r[t];if(i!==Kn&&Wn(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&Wn(u,t))return a[t]=3,o[t];if(n!==Kn&&Wn(n,t))return a[t]=4,n[t];_8&&(a[t]=0)}}const c=Ug[t];let f,d;if(c)return t==="$attrs"&&ca(e.attrs,"get",""),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Kn&&Wn(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,Wn(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Fw(i,t)?(i[t]=n,!0):r!==Kn&&Wn(r,t)?(r[t]=n,!0):Wn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:o}},a){let s;return!!n[a]||e!==Kn&&Wn(e,a)||Fw(t,a)||(s=o[0])&&Wn(s,a)||Wn(r,a)||Wn(Ug,a)||Wn(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Wn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},wce=Vr({},T8,{get(e,t){if(t!==Symbol.unscopables)return T8.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Aue(t)}});function Mce(){return null}function Lce(){return null}function Tce(e){}function _ce(e){}function Oce(){return null}function kce(){}function Pce(e,t){return null}function Cce(){return dY().slots}function Ice(){return dY().attrs}function dY(){const e=vc();return e.setupContext||(e.setupContext=JY(e))}function Wm(e){return kt(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Nce(e,t){const n=Wm(e);for(const r in t){if(r.startsWith("__skip"))continue;let i=n[r];i?kt(i)||Gt(i)?i=n[r]={type:i,default:t[r]}:i.default=t[r]:i===null&&(i=n[r]={default:t[r]}),i&&t[`__skip_${r}`]&&(i.skipFactory=!0)}return n}function Fce(e,t){return!e||!t?e||t:kt(e)&&kt(t)?e.concat(t):Vr({},Wm(e),Wm(t))}function Ece(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Xce(e){const t=vc();let n=e();return E8(),Y_(n)&&(n=n.catch(r=>{throw Bh(t),r})),[n,()=>Bh(t)]}let _8=!0;function Wce(e){const t=lO(e),n=e.proxy,r=e.ctx;_8=!1,t.beforeCreate&&YN(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:R,unmounted:A,render:x,renderTracked:S,renderTriggered:L,errorCaptured:w,serverPrefetch:M,expose:_,inheritAttrs:k,components:P,directives:N,filters:C}=t;if(u&&Vce(u,r,null),a)for(const W in a){const D=a[W];Gt(D)&&(r[W]=D.bind(n))}if(i){const W=i.call(n,n);lr(W)&&(e.data=P2(W))}if(_8=!0,o)for(const W in o){const D=o[W],Z=Gt(D)?D.bind(n,n):Gt(D.get)?D.get.bind(n,n):ta,re=!Gt(D)&&Gt(D.set)?D.set.bind(n):ta,B=we({get:Z,set:re});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>B.value,set:Y=>B.value=Y})}if(s)for(const W in s)hY(s[W],r,n,W);if(l){const W=Gt(l)?l.call(n):l;Reflect.ownKeys(W).forEach(D=>{a0(D,W[D])})}c&&YN(c,e,"c");function I(W,D){kt(D)?D.forEach(Z=>W(Z.bind(n))):D&&W(D.bind(n))}if(I(oO,f),I(Ht,d),I(oY,h),I(WS,p),I(nY,v),I(rY,g),I(uY,w),I(lY,S),I(sY,L),I(o0,y),I(Nn,A),I(aY,M),kt(_))if(_.length){const W=e.exposed||(e.exposed={});_.forEach(D=>{Object.defineProperty(W,D,{get:()=>n[D],set:Z=>n[D]=Z})})}else e.exposed||(e.exposed={});x&&e.render===ta&&(e.render=x),k!=null&&(e.inheritAttrs=k),P&&(e.components=P),N&&(e.directives=N)}function Vce(e,t,n=ta){kt(e)&&(e=O8(e));for(const r in e){const i=e[r];let o;lr(i)?"default"in i?o=bs(i.from||r,i.default,!0):o=bs(i.from||r):o=bs(i),Cr(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function YN(e,t,n){Va(kt(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hY(e,t,n,r){const i=r.includes(".")?EY(n,r):()=>n[r];if(Pr(e)){const o=t[e];Gt(o)&&Ot(i,o)}else if(Gt(e))Ot(i,e.bind(n));else if(lr(e))if(kt(e))e.forEach(o=>hY(o,t,n,r));else{const o=Gt(e.handler)?e.handler.bind(n):t[e.handler];Gt(o)&&Ot(i,o,e)}}function lO(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,s=o.get(t);let l;return s?l=s:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(u=>Gb(l,u,a,!0)),Gb(l,t,a)),lr(t)&&o.set(t,l),l}function Gb(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Gb(e,o,n,!0),i&&i.forEach(a=>Gb(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=Dce[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Dce={data:ZN,props:QN,emits:QN,methods:og,computed:og,beforeCreate:So,created:So,beforeMount:So,mounted:So,beforeUpdate:So,updated:So,beforeDestroy:So,beforeUnmount:So,destroyed:So,unmounted:So,activated:So,deactivated:So,errorCaptured:So,serverPrefetch:So,components:og,directives:og,watch:Bce,provide:ZN,inject:Uce};function ZN(e,t){return t?e?function(){return Vr(Gt(e)?e.call(this,this):e,Gt(t)?t.call(this,this):t)}:t:e}function Uce(e,t){return og(O8(e),O8(t))}function O8(e){if(kt(e)){const t={};for(let n=0;n1)return n&&Gt(t)?t.call(r&&r.proxy):t}}function vY(){return!!(vi||mi||Kp)}const gY={},mY=()=>Object.create(gY),yY=e=>Object.getPrototypeOf(e)===gY;function Qce(e,t,n,r=!1){const i={},o=mY();e.propsDefaults=Object.create(null),AY(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=r?i:YB(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Hce(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,s=kn(i),[l]=e.propsOptions;let u=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=RY(f,t,!0);Vr(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!l)return lr(e)&&r.set(e,Up),Up;if(kt(o))for(let c=0;c-1,h[1]=v<0||p-1||Wn(h,"default"))&&s.push(f)}}}const u=[a,s];return lr(e)&&r.set(e,u),u}function HN(e){return e[0]!=="$"&&!Yp(e)}function KN(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function GN(e,t){return KN(e)===KN(t)}function zN(e,t){return kt(t)?t.findIndex(n=>GN(n,e)):Gt(t)&&GN(t,e)?0:-1}const bY=e=>e[0]==="_"||e==="$stable",uO=e=>kt(e)?e.map(Go):[Go(e)],Gce=(e,t,n)=>{if(t._n)return t;const r=ie((...i)=>uO(t(...i)),n);return r._c=!1,r},xY=(e,t,n)=>{const r=e._ctx;for(const i in e){if(bY(i))continue;const o=e[i];if(Gt(o))t[i]=Gce(i,o,r);else if(o!=null){const a=uO(o);t[i]=()=>a}}},SY=(e,t)=>{const n=uO(t);e.slots.default=()=>n},wY=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},zce=(e,t,n)=>{const r=e.slots=mY();if(e.vnode.shapeFlag&32){const i=t._;i?(wY(r,t,n),n&&SB(r,"_",i,!0)):xY(t,r)}else t&&SY(e,t)},Jce=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,a=Kn;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:wY(i,t,n):(o=!t.$stable,xY(t,i)),a=t}else t&&(SY(e,t),a={default:1});if(o)for(const s in i)!bY(s)&&a[s]==null&&delete i[s]};function zb(e,t,n,r,i=!1){if(kt(e)){e.forEach((d,h)=>zb(d,t&&(kt(t)?t[h]:t),n,r,i));return}if(wh(r)&&!i)return;const o=r.shapeFlag&4?F2(r.component):r.el,a=i?null:o,{i:s,r:l}=e,u=t&&t.r,c=s.refs===Kn?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(Pr(u)?(c[u]=null,Wn(f,u)&&(f[u]=null)):Cr(u)&&(u.value=null)),Gt(l))ic(l,s,12,[a,c]);else{const d=Pr(l),h=Cr(l);if(d||h){const p=()=>{if(e.f){const v=d?Wn(f,l)?f[l]:c[l]:l.value;i?kt(v)&&B_(v,o):kt(v)?v.includes(o)||v.push(o):d?(c[l]=[o],Wn(f,l)&&(f[l]=c[l])):(l.value=[o],e.k&&(c[e.k]=l.value))}else d?(c[l]=a,Wn(f,l)&&(f[l]=a)):h&&(l.value=a,e.k&&(c[e.k]=a))};a?(p.id=-1,wi(p,n)):p()}}}const MY=Symbol("_vte"),$ce=e=>e.__isTeleport,Bg=e=>e&&(e.disabled||e.disabled===""),JN=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$N=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,P8=(e,t)=>{const n=e&&e.to;return Pr(n)?t?t(n):null:n},jce={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,a,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:v,createComment:g}}=u,m=Bg(t.props);let{shapeFlag:y,children:R,dynamicChildren:A}=t;if(e==null){const x=t.el=v(""),S=t.anchor=v(""),L=t.target=P8(t.props,p),w=t.targetStart=v(""),M=t.targetAnchor=v("");h(x,n,r),h(S,n,r),w[MY]=M,L&&(h(w,L),h(M,L),a==="svg"||JN(L)?a="svg":(a==="mathml"||$N(L))&&(a="mathml"));const _=(k,P)=>{y&16&&c(R,k,P,i,o,a,s,l)};m?_(n,S):L&&_(L,M)}else{t.el=e.el,t.targetStart=e.targetStart;const x=t.anchor=e.anchor,S=t.target=e.target,L=t.targetAnchor=e.targetAnchor,w=Bg(e.props),M=w?n:S,_=w?x:L;if(a==="svg"||JN(S)?a="svg":(a==="mathml"||$N(S))&&(a="mathml"),A?(d(e.dynamicChildren,A,M,i,o,a,s),fO(e,t,!0)):l||f(e,t,M,_,i,o,a,s,!1),m)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):RA(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=P8(t.props,p);k&&RA(t,k,null,u,0)}else w&&RA(t,S,L,u,1)}LY(t)},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:a,children:s,anchor:l,targetStart:u,targetAnchor:c,target:f,props:d}=e;if(f&&(i(u),i(c)),o&&i(l),a&16){const h=o||!Bg(d);for(let p=0;p{jN||(console.error("Hydration completed but contains mismatches."),jN=!0)},efe=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",tfe=e=>e.namespaceURI.includes("MathML"),bA=e=>{if(efe(e))return"svg";if(tfe(e))return"mathml"},xA=e=>e.nodeType===8;function nfe(e){const{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:a,remove:s,insert:l,createComment:u}}=e,c=(R,A)=>{if(!A.hasChildNodes()){n(null,R,A),Kb(),A._vnode=R;return}f(A.firstChild,R,null,null,null),Kb(),A._vnode=R},f=(R,A,x,S,L,w=!1)=>{w=w||!!A.dynamicChildren;const M=xA(R)&&R.data==="[",_=()=>v(R,A,x,S,L,M),{type:k,ref:P,shapeFlag:N,patchFlag:C}=A;let F=R.nodeType;A.el=R,C===-2&&(w=!1,A.dynamicChildren=null);let I=null;switch(k){case kf:F!==3?A.children===""?(l(A.el=i(""),a(R),R),I=R):I=_():(R.data!==A.children&&(N0(),R.data=A.children),I=o(R));break;case Li:y(R)?(I=o(R),m(A.el=R.content.firstChild,R,x)):F!==8||M?I=_():I=o(R);break;case Mh:if(M&&(R=o(R),F=R.nodeType),F===1||F===3){I=R;const W=!A.children.length;for(let D=0;D{w=w||!!A.dynamicChildren;const{type:M,props:_,patchFlag:k,shapeFlag:P,dirs:N,transition:C}=A,F=M==="input"||M==="option";if(F||k!==-1){N&&Ul(A,null,x,"created");let I=!1;if(y(R)){I=kY(S,C)&&x&&x.vnode.props&&x.vnode.props.appear;const D=R.content.firstChild;I&&C.beforeEnter(D),m(D,R,x),A.el=R=D}if(P&16&&!(_&&(_.innerHTML||_.textContent))){let D=h(R.firstChild,A,R,x,S,L,w);for(;D;){N0();const Z=D;D=D.nextSibling,s(Z)}}else P&8&&R.textContent!==A.children&&(N0(),R.textContent=A.children);if(_){if(F||!w||k&48)for(const D in _)(F&&(D.endsWith("value")||D==="indeterminate")||O2(D)&&!Yp(D)||D[0]===".")&&r(R,D,null,_[D],void 0,x);else if(_.onClick)r(R,"onClick",null,_.onClick,void 0,x);else if(k&4&&nu(_.style))for(const D in _.style)_.style[D]}let W;(W=_&&_.onVnodeBeforeMount)&&Qo(W,x,A),N&&Ul(A,null,x,"beforeMount"),((W=_&&_.onVnodeMounted)||N||I)&&DY(()=>{W&&Qo(W,x,A),I&&C.enter(R),N&&Ul(A,null,x,"mounted")},S)}return R.nextSibling},h=(R,A,x,S,L,w,M)=>{M=M||!!A.dynamicChildren;const _=A.children,k=_.length;for(let P=0;P{const{slotScopeIds:M}=A;M&&(L=L?L.concat(M):M);const _=a(R),k=h(o(R),A,_,x,S,L,w);return k&&xA(k)&&k.data==="]"?o(A.anchor=k):(N0(),l(A.anchor=u("]"),_,k),k)},v=(R,A,x,S,L,w)=>{if(N0(),A.el=null,w){const k=g(R);for(;;){const P=o(R);if(P&&P!==k)s(P);else break}}const M=o(R),_=a(R);return s(R),n(null,A,_,M,x,S,bA(_),L),M},g=(R,A="[",x="]")=>{let S=0;for(;R;)if(R=o(R),R&&xA(R)&&(R.data===A&&S++,R.data===x)){if(S===0)return o(R);S--}return R},m=(R,A,x)=>{const S=A.parentNode;S&&S.replaceChild(R,A);let L=x;for(;L;)L.vnode.el===A&&(L.vnode.el=L.subTree.el=R),L=L.parent},y=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[c,f]}const wi=DY;function TY(e){return OY(e)}function _Y(e){return OY(e,nfe)}function OY(e,t){const n=wB();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=ta,insertStaticContent:p}=e,v=(j,X,J,se=null,ee=null,ne=null,oe=void 0,he=null,ue=!!X.dynamicChildren)=>{if(j===X)return;j&&!il(j,X)&&(se=de(j),Y(j,ee,ne,!0),j=null),X.patchFlag===-2&&(ue=!1,X.dynamicChildren=null);const{type:ge,ref:Re,shapeFlag:Ee}=X;switch(ge){case kf:g(j,X,J,se);break;case Li:m(j,X,J,se);break;case Mh:j==null&&y(X,J,se,oe);break;case We:P(j,X,J,se,ee,ne,oe,he,ue);break;default:Ee&1?x(j,X,J,se,ee,ne,oe,he,ue):Ee&6?N(j,X,J,se,ee,ne,oe,he,ue):(Ee&64||Ee&128)&&ge.process(j,X,J,se,ee,ne,oe,he,ue,ce)}Re!=null&&ee&&zb(Re,j&&j.ref,ne,X||j,!X)},g=(j,X,J,se)=>{if(j==null)r(X.el=s(X.children),J,se);else{const ee=X.el=j.el;X.children!==j.children&&u(ee,X.children)}},m=(j,X,J,se)=>{j==null?r(X.el=l(X.children||""),J,se):X.el=j.el},y=(j,X,J,se)=>{[j.el,j.anchor]=p(j.children,X,J,se,j.el,j.anchor)},R=({el:j,anchor:X},J,se)=>{let ee;for(;j&&j!==X;)ee=d(j),r(j,J,se),j=ee;r(X,J,se)},A=({el:j,anchor:X})=>{let J;for(;j&&j!==X;)J=d(j),i(j),j=J;i(X)},x=(j,X,J,se,ee,ne,oe,he,ue)=>{X.type==="svg"?oe="svg":X.type==="math"&&(oe="mathml"),j==null?S(X,J,se,ee,ne,oe,he,ue):M(j,X,ee,ne,oe,he,ue)},S=(j,X,J,se,ee,ne,oe,he)=>{let ue,ge;const{props:Re,shapeFlag:Ee,transition:Ne,dirs:He}=j;if(ue=j.el=a(j.type,ne,Re&&Re.is,Re),Ee&8?c(ue,j.children):Ee&16&&w(j.children,ue,null,se,ee,Ew(j,ne),oe,he),He&&Ul(j,null,se,"created"),L(ue,j,j.scopeId,oe,se),Re){for(const xe in Re)xe!=="value"&&!Yp(xe)&&o(ue,xe,null,Re[xe],ne,se);"value"in Re&&o(ue,"value",null,Re.value,ne),(ge=Re.onVnodeBeforeMount)&&Qo(ge,se,j)}He&&Ul(j,null,se,"beforeMount");const Ve=kY(ee,Ne);Ve&&Ne.beforeEnter(ue),r(ue,X,J),((ge=Re&&Re.onVnodeMounted)||Ve||He)&&wi(()=>{ge&&Qo(ge,se,j),Ve&&Ne.enter(ue),He&&Ul(j,null,se,"mounted")},ee)},L=(j,X,J,se,ee)=>{if(J&&h(j,J),se)for(let ne=0;ne{for(let ge=ue;ge{const he=X.el=j.el;let{patchFlag:ue,dynamicChildren:ge,dirs:Re}=X;ue|=j.patchFlag&16;const Ee=j.props||Kn,Ne=X.props||Kn;let He;if(J&&Md(J,!1),(He=Ne.onVnodeBeforeUpdate)&&Qo(He,J,X,j),Re&&Ul(X,j,J,"beforeUpdate"),J&&Md(J,!0),(Ee.innerHTML&&Ne.innerHTML==null||Ee.textContent&&Ne.textContent==null)&&c(he,""),ge?_(j.dynamicChildren,ge,he,J,se,Ew(X,ee),ne):oe||D(j,X,he,null,J,se,Ew(X,ee),ne,!1),ue>0){if(ue&16)k(he,Ee,Ne,J,ee);else if(ue&2&&Ee.class!==Ne.class&&o(he,"class",null,Ne.class,ee),ue&4&&o(he,"style",Ee.style,Ne.style,ee),ue&8){const Ve=X.dynamicProps;for(let xe=0;xe{He&&Qo(He,J,X,j),Re&&Ul(X,j,J,"updated")},se)},_=(j,X,J,se,ee,ne,oe)=>{for(let he=0;he{if(X!==J){if(X!==Kn)for(const ne in X)!Yp(ne)&&!(ne in J)&&o(j,ne,X[ne],null,ee,se);for(const ne in J){if(Yp(ne))continue;const oe=J[ne],he=X[ne];oe!==he&&ne!=="value"&&o(j,ne,he,oe,ee,se)}"value"in J&&o(j,"value",X.value,J.value,ee)}},P=(j,X,J,se,ee,ne,oe,he,ue)=>{const ge=X.el=j?j.el:s(""),Re=X.anchor=j?j.anchor:s("");let{patchFlag:Ee,dynamicChildren:Ne,slotScopeIds:He}=X;He&&(he=he?he.concat(He):He),j==null?(r(ge,J,se),r(Re,J,se),w(X.children||[],J,Re,ee,ne,oe,he,ue)):Ee>0&&Ee&64&&Ne&&j.dynamicChildren?(_(j.dynamicChildren,Ne,J,ee,ne,oe,he),(X.key!=null||ee&&X===ee.subTree)&&fO(j,X,!0)):D(j,X,J,Re,ee,ne,oe,he,ue)},N=(j,X,J,se,ee,ne,oe,he,ue)=>{X.slotScopeIds=he,j==null?X.shapeFlag&512?ee.ctx.activate(X,J,se,oe,ue):C(X,J,se,ee,ne,oe,ue):F(j,X,ue)},C=(j,X,J,se,ee,ne,oe)=>{const he=j.component=HY(j,se,ee);if(C2(j)&&(he.ctx.renderer=ce),GY(he,!1,oe),he.asyncDep){if(ee&&ee.registerDep(he,I,oe),!j.el){const ue=he.subTree=O(Li);m(null,ue,X,J)}}else I(he,j,X,J,ee,ne,oe)},F=(j,X,J)=>{const se=X.component=j.component;if(cfe(j,X,J))if(se.asyncDep&&!se.asyncResolved){W(se,X,J);return}else se.next=X,hce(se.update),se.effect.dirty=!0,se.update();else X.el=j.el,se.vnode=X},I=(j,X,J,se,ee,ne,oe)=>{const he=()=>{if(j.isMounted){let{next:Re,bu:Ee,u:Ne,parent:He,vnode:Ve}=j;{const Ye=PY(j);if(Ye){Re&&(Re.el=Ve.el,W(j,Re,oe)),Ye.asyncDep.then(()=>{j.isUnmounted||he()});return}}let xe=Re,ye;Md(j,!1),Re?(Re.el=Ve.el,W(j,Re,oe)):Re=Ve,Ee&&Zp(Ee),(ye=Re.props&&Re.props.onVnodeBeforeUpdate)&&Qo(ye,He,Re,Ve),Md(j,!0);const Me=KR(j),Ce=j.subTree;j.subTree=Me,v(Ce,Me,f(Ce.el),de(Ce),j,ee,ne),Re.el=Me.el,xe===null&&dO(j,Me.el),Ne&&wi(Ne,ee),(ye=Re.props&&Re.props.onVnodeUpdated)&&wi(()=>Qo(ye,He,Re,Ve),ee)}else{let Re;const{el:Ee,props:Ne}=X,{bm:He,m:Ve,parent:xe}=j,ye=wh(X);if(Md(j,!1),He&&Zp(He),!ye&&(Re=Ne&&Ne.onVnodeBeforeMount)&&Qo(Re,xe,X),Md(j,!0),Ee&&le){const Me=()=>{j.subTree=KR(j),le(Ee,j.subTree,j,ee,null)};ye?X.type.__asyncLoader().then(()=>!j.isUnmounted&&Me()):Me()}else{const Me=j.subTree=KR(j);v(null,Me,J,se,j,ee,ne),X.el=Me.el}if(Ve&&wi(Ve,ee),!ye&&(Re=Ne&&Ne.onVnodeMounted)){const Me=X;wi(()=>Qo(Re,xe,Me),ee)}(X.shapeFlag&256||xe&&wh(xe.vnode)&&xe.vnode.shapeFlag&256)&&j.a&&wi(j.a,ee),j.isMounted=!0,X=J=se=null}},ue=j.effect=new fv(he,ta,()=>NS(ge),j.scope),ge=j.update=()=>{ue.dirty&&ue.run()};ge.i=j,ge.id=j.uid,Md(j,!0),ge()},W=(j,X,J)=>{X.component=j;const se=j.vnode.props;j.vnode=X,j.next=null,Hce(j,X.props,se,J),Jce(j,X.children,J),id(),DN(j),od()},D=(j,X,J,se,ee,ne,oe,he,ue=!1)=>{const ge=j&&j.children,Re=j?j.shapeFlag:0,Ee=X.children,{patchFlag:Ne,shapeFlag:He}=X;if(Ne>0){if(Ne&128){re(ge,Ee,J,se,ee,ne,oe,he,ue);return}else if(Ne&256){Z(ge,Ee,J,se,ee,ne,oe,he,ue);return}}He&8?(Re&16&&$(ge,ee,ne),Ee!==ge&&c(J,Ee)):Re&16?He&16?re(ge,Ee,J,se,ee,ne,oe,he,ue):$(ge,ee,ne,!0):(Re&8&&c(J,""),He&16&&w(Ee,J,se,ee,ne,oe,he,ue))},Z=(j,X,J,se,ee,ne,oe,he,ue)=>{j=j||Up,X=X||Up;const ge=j.length,Re=X.length,Ee=Math.min(ge,Re);let Ne;for(Ne=0;NeRe?$(j,ee,ne,!0,!1,Ee):w(X,J,se,ee,ne,oe,he,ue,Ee)},re=(j,X,J,se,ee,ne,oe,he,ue)=>{let ge=0;const Re=X.length;let Ee=j.length-1,Ne=Re-1;for(;ge<=Ee&&ge<=Ne;){const He=j[ge],Ve=X[ge]=ue?af(X[ge]):Go(X[ge]);if(il(He,Ve))v(He,Ve,J,null,ee,ne,oe,he,ue);else break;ge++}for(;ge<=Ee&&ge<=Ne;){const He=j[Ee],Ve=X[Ne]=ue?af(X[Ne]):Go(X[Ne]);if(il(He,Ve))v(He,Ve,J,null,ee,ne,oe,he,ue);else break;Ee--,Ne--}if(ge>Ee){if(ge<=Ne){const He=Ne+1,Ve=HeNe)for(;ge<=Ee;)Y(j[ge],ee,ne,!0),ge++;else{const He=ge,Ve=ge,xe=new Map;for(ge=Ve;ge<=Ne;ge++){const rt=X[ge]=ue?af(X[ge]):Go(X[ge]);rt.key!=null&&xe.set(rt.key,ge)}let ye,Me=0;const Ce=Ne-Ve+1;let Ye=!1,ot=0;const ke=new Array(Ce);for(ge=0;ge=Ce){Y(rt,ee,ne,!0);continue}let bt;if(rt.key!=null)bt=xe.get(rt.key);else for(ye=Ve;ye<=Ne;ye++)if(ke[ye-Ve]===0&&il(rt,X[ye])){bt=ye;break}bt===void 0?Y(rt,ee,ne,!0):(ke[bt-Ve]=ge+1,bt>=ot?ot=bt:Ye=!0,v(rt,X[bt],J,null,ee,ne,oe,he,ue),Me++)}const Ge=Ye?rfe(ke):Up;for(ye=Ge.length-1,ge=Ce-1;ge>=0;ge--){const rt=Ve+ge,bt=X[rt],dt=rt+1{const{el:ne,type:oe,transition:he,children:ue,shapeFlag:ge}=j;if(ge&6){B(j.component.subTree,X,J,se);return}if(ge&128){j.suspense.move(X,J,se);return}if(ge&64){oe.move(j,X,J,ce);return}if(oe===We){r(ne,X,J);for(let Ee=0;Eehe.enter(ne),ee);else{const{leave:Ee,delayLeave:Ne,afterLeave:He}=he,Ve=()=>r(ne,X,J),xe=()=>{Ee(ne,()=>{Ve(),He&&He()})};Ne?Ne(ne,Ve,xe):xe()}else r(ne,X,J)},Y=(j,X,J,se=!1,ee=!1)=>{const{type:ne,props:oe,ref:he,children:ue,dynamicChildren:ge,shapeFlag:Re,patchFlag:Ee,dirs:Ne,cacheIndex:He}=j;if(Ee===-2&&(ee=!1),he!=null&&zb(he,null,J,j,!0),He!=null&&(X.renderCache[He]=void 0),Re&256){X.ctx.deactivate(j);return}const Ve=Re&1&&Ne,xe=!wh(j);let ye;if(xe&&(ye=oe&&oe.onVnodeBeforeUnmount)&&Qo(ye,X,j),Re&6)q(j.component,J,se);else{if(Re&128){j.suspense.unmount(J,se);return}Ve&&Ul(j,null,X,"beforeUnmount"),Re&64?j.type.remove(j,X,J,ce,se):ge&&!ge.hasOnce&&(ne!==We||Ee>0&&Ee&64)?$(ge,X,J,!1,!0):(ne===We&&Ee&384||!ee&&Re&16)&&$(ue,X,J),se&&Q(j)}(xe&&(ye=oe&&oe.onVnodeUnmounted)||Ve)&&wi(()=>{ye&&Qo(ye,X,j),Ve&&Ul(j,null,X,"unmounted")},J)},Q=j=>{const{type:X,el:J,anchor:se,transition:ee}=j;if(X===We){K(J,se);return}if(X===Mh){A(j);return}const ne=()=>{i(J),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(j.shapeFlag&1&&ee&&!ee.persisted){const{leave:oe,delayLeave:he}=ee,ue=()=>oe(J,ne);he?he(j.el,ne,ue):ue()}else ne()},K=(j,X)=>{let J;for(;j!==X;)J=d(j),i(j),j=J;i(X)},q=(j,X,J)=>{const{bum:se,scope:ee,update:ne,subTree:oe,um:he,m:ue,a:ge}=j;Jb(ue),Jb(ge),se&&Zp(se),ee.stop(),ne&&(ne.active=!1,Y(oe,j,X,J)),he&&wi(he,X),wi(()=>{j.isUnmounted=!0},X),X&&X.pendingBranch&&!X.isUnmounted&&j.asyncDep&&!j.asyncResolved&&j.suspenseId===X.pendingId&&(X.deps--,X.deps===0&&X.resolve())},$=(j,X,J,se=!1,ee=!1,ne=0)=>{for(let oe=ne;oe{if(j.shapeFlag&6)return de(j.component.subTree);if(j.shapeFlag&128)return j.suspense.next();const X=d(j.anchor||j.el),J=X&&X[MY];return J?d(J):X};let G=!1;const Ae=(j,X,J)=>{j==null?X._vnode&&Y(X._vnode,null,null,!0):v(X._vnode||null,j,X,null,null,null,J),G||(G=!0,DN(),Kb(),G=!1),X._vnode=j},ce={p:v,um:Y,m:B,r:Q,mt:C,mc:w,pc:D,pbc:_,n:de,o:e};let fe,le;return t&&([fe,le]=t(ce)),{render:Ae,hydrate:fe,createApp:Zce(Ae,fe)}}function Ew({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 Md({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function kY(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fO(e,t,n=!1){const r=e.children,i=t.children;if(kt(r)&&kt(i))for(let o=0;o>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function PY(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:PY(t)}function Jb(e){if(e)for(let t=0;tbs(CY);function Xv(e,t){return I2(e,null,t)}function NY(e,t){return I2(e,null,{flush:"post"})}function FY(e,t){return I2(e,null,{flush:"sync"})}const SA={};function Ot(e,t,n){return I2(e,t,n)}function I2(e,t,{immediate:n,deep:r,flush:i,once:o,onTrack:a,onTrigger:s}=Kn){if(t&&o){const S=t;t=(...L)=>{S(...L),x()}}const l=vi,u=S=>r===!0?S:vf(S,r===!1?1:void 0);let c,f=!1,d=!1;if(Cr(e)?(c=()=>e.value,f=Dh(e)):nu(e)?(c=()=>u(e),f=!0):kt(e)?(d=!0,f=e.some(S=>nu(S)||Dh(S)),c=()=>e.map(S=>{if(Cr(S))return S.value;if(nu(S))return u(S);if(Gt(S))return ic(S,l,2)})):Gt(e)?t?c=()=>ic(e,l,2):c=()=>(h&&h(),Va(e,l,3,[p])):c=ta,t&&r){const S=c;c=()=>vf(S())}let h,p=S=>{h=R.onStop=()=>{ic(S,l,4),h=R.onStop=void 0}},v;if(N2)if(p=ta,t?n&&Va(t,l,3,[c(),d?[]:void 0,p]):c(),i==="sync"){const S=IY();v=S.__watcherHandles||(S.__watcherHandles=[])}else return ta;let g=d?new Array(e.length).fill(SA):SA;const m=()=>{if(!(!R.active||!R.dirty))if(t){const S=R.run();(r||f||(d?S.some((L,w)=>Oo(L,g[w])):Oo(S,g)))&&(h&&h(),Va(t,l,3,[S,g===SA?void 0:d&&g[0]===SA?[]:g,p]),g=S)}else R.run()};m.allowRecurse=!!t;let y;i==="sync"?y=m:i==="post"?y=()=>wi(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),y=()=>NS(m));const R=new fv(c,ta,y),A=K_(),x=()=>{R.stop(),A&&B_(A.effects,R)};return t?n?m():g=R.run():i==="post"?wi(R.run.bind(R),l&&l.suspense):R.run(),v&&v.push(x),x}function ife(e,t,n){const r=this.proxy,i=Pr(e)?e.includes(".")?EY(r,e):()=>r[e]:e.bind(r,r);let o;Gt(t)?o=t:(o=t.handler,n=t);const a=Bh(this),s=I2(i,o.bind(r),n);return a(),s}function EY(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{vf(r,t,n)});else if(xB(e)){for(const r in e)vf(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&vf(e[r],t,n)}return e}function ofe(e,t,n=Kn){const r=vc(),i=po(t),o=$o(t),a=XY(e,t),s=HB((l,u)=>{let c,f=Kn,d;return FY(()=>{const h=e[t];Oo(c,h)&&(c=h,u())}),{get(){return l(),n.get?n.get(c):c},set(h){if(!Oo(h,c)&&!(f!==Kn&&Oo(h,f)))return;const p=r.vnode.props;p&&(t in p||i in p||o in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${o}`in p)||(c=h,u());const v=n.set?n.set(h):h;r.emit(`update:${t}`,v),Oo(h,v)&&Oo(h,f)&&!Oo(v,d)&&u(),f=h,d=v}}});return s[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?a||Kn:s,done:!1}:{done:!0}}}},s}const XY=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${po(t)}Modifiers`]||e[`${$o(t)}Modifiers`];function afe(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Kn;let i=n;const o=t.startsWith("update:"),a=o&&XY(r,t.slice(7));a&&(a.trim&&(i=n.map(c=>Pr(c)?c.trim():c)),a.number&&(i=n.map(Yb)));let s,l=r[s=Dg(t)]||r[s=Dg(po(t))];!l&&o&&(l=r[s=Dg($o(t))]),l&&Va(l,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Va(u,e,6,i)}}function WY(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let a={},s=!1;if(!Gt(e)){const l=u=>{const c=WY(u,t,!0);c&&(s=!0,Vr(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!s?(lr(e)&&r.set(e,null),null):(kt(o)?o.forEach(l=>a[l]=null):Vr(a,o),lr(e)&&r.set(e,a),a)}function VS(e,t){return!e||!O2(t)?!1:(t=t.slice(2).replace(/Once$/,""),Wn(e,t[0].toLowerCase()+t.slice(1))||Wn(e,$o(t))||Wn(e,t))}function KR(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:a,attrs:s,emit:l,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:p,inheritAttrs:v}=e,g=Xm(e);let m,y;try{if(n.shapeFlag&4){const A=i||r,x=A;m=Go(u.call(x,A,c,f,h,d,p)),y=s}else{const A=t;m=Go(A.length>1?A(f,{attrs:s,slots:a,emit:l}):A(f,null)),y=t.props?s:lfe(s)}}catch(A){Yg.length=0,i0(A,e,1),m=O(Li)}let R=m;if(y&&v!==!1){const A=Object.keys(y),{shapeFlag:x}=R;A.length&&x&7&&(o&&A.some(U_)&&(y=ufe(y,o)),R=fu(R,y,!1,!0))}return n.dirs&&(R=fu(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),m=R,Xm(g),m}function sfe(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||O2(n))&&((t||(t={}))[n]=e[n]);return t},ufe=(e,t)=>{const n={};for(const r in e)(!U_(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cfe(e,t,n){const{props:r,children:i,component:o}=e,{props:a,children:s,patchFlag:l}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?qN(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;let I8=0;const ffe={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,o,a,s,l,u){if(e==null)hfe(t,n,r,i,o,a,s,l,u);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}pfe(e,t,n,r,i,a,s,l,u)}},hydrate:vfe,normalize:gfe},dfe=ffe;function Vm(e,t){const n=e.props&&e.props[t];Gt(n)&&n()}function hfe(e,t,n,r,i,o,a,s,l){const{p:u,o:{createElement:c}}=l,f=c("div"),d=e.suspense=VY(e,i,r,t,f,n,o,a,s,l);u(null,d.pendingBranch=e.ssContent,f,null,r,d,o,a),d.deps>0?(Vm(e,"onPending"),Vm(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,o,a),Gp(d,e.ssFallback)):d.resolve(!1,!0)}function pfe(e,t,n,r,i,o,a,s,{p:l,um:u,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:g,isHydrating:m}=f;if(v)f.pendingBranch=d,il(d,v)?(l(v,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():g&&(m||(l(p,h,n,r,i,null,o,a,s),Gp(f,h)))):(f.pendingId=I8++,m?(f.isHydrating=!1,f.activeBranch=v):u(v,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),g?(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0?f.resolve():(l(p,h,n,r,i,null,o,a,s),Gp(f,h))):p&&il(d,p)?(l(p,d,n,r,i,f,o,a,s),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0&&f.resolve()));else if(p&&il(d,p))l(p,d,n,r,i,f,o,a,s),Gp(f,d);else if(Vm(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=I8++,l(null,d,f.hiddenContainer,null,i,f,o,a,s),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:R}=f;y>0?setTimeout(()=>{f.pendingId===R&&f.fallback(h)},y):y===0&&f.fallback(h)}}function VY(e,t,n,r,i,o,a,s,l,u,c=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:v,remove:g}}=u;let m;const y=mfe(e);y&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const R=e.props?Zb(e.props.timeout):void 0,A=o,x={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:i,deps:0,pendingId:I8++,timeout:typeof R=="number"?R:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(S=!1,L=!1){const{vnode:w,activeBranch:M,pendingBranch:_,pendingId:k,effects:P,parentComponent:N,container:C}=x;let F=!1;x.isHydrating?x.isHydrating=!1:S||(F=M&&_.transition&&_.transition.mode==="out-in",F&&(M.transition.afterLeave=()=>{k===x.pendingId&&(d(_,C,o===A?p(M):o,0),Hb(P))}),M&&(v(M.el)!==x.hiddenContainer&&(o=p(M)),h(M,N,x,!0)),F||d(_,C,o,0)),Gp(x,_),x.pendingBranch=null,x.isInFallback=!1;let I=x.parent,W=!1;for(;I;){if(I.pendingBranch){I.effects.push(...P),W=!0;break}I=I.parent}!W&&!F&&Hb(P),x.effects=[],y&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Vm(w,"onResolve")},fallback(S){if(!x.pendingBranch)return;const{vnode:L,activeBranch:w,parentComponent:M,container:_,namespace:k}=x;Vm(L,"onFallback");const P=p(w),N=()=>{x.isInFallback&&(f(null,S,_,P,M,null,k,s,l),Gp(x,S))},C=S.transition&&S.transition.mode==="out-in";C&&(w.transition.afterLeave=N),x.isInFallback=!0,h(w,M,null,!0),C||N()},move(S,L,w){x.activeBranch&&d(x.activeBranch,S,L,w),x.container=S},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(S,L,w){const M=!!x.pendingBranch;M&&x.deps++;const _=S.vnode.el;S.asyncDep.catch(k=>{i0(k,S,0)}).then(k=>{if(S.isUnmounted||x.isUnmounted||x.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:P}=S;X8(S,k,!1),_&&(P.el=_);const N=!_&&S.subTree.el;L(S,P,v(_||S.subTree.el),_?null:p(S.subTree),x,a,w),N&&g(N),dO(S,P.el),M&&--x.deps===0&&x.resolve()})},unmount(S,L){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,n,S,L),x.pendingBranch&&h(x.pendingBranch,n,S,L)}};return x}function vfe(e,t,n,r,i,o,a,s,l){const u=t.suspense=VY(t,r,n,e.parentNode,document.createElement("div"),null,i,o,a,s,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,o,a);return u.deps===0&&u.resolve(!1,!0),c}function gfe(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=e7(r?n.default:n),e.ssFallback=r?e7(n.fallback):O(Li)}function e7(e){let t;if(Gt(e)){const n=Uh&&e._c;n&&(e._d=!1,U()),e=e(),n&&(e._d=!0,t=fo,UY())}return kt(e)&&(e=sfe(e)),e=Go(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function DY(e,t){t&&t.pendingBranch?kt(e)?t.effects.push(...e):t.effects.push(e):Hb(e)}function Gp(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,dO(r,i))}function mfe(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const We=Symbol.for("v-fgt"),kf=Symbol.for("v-txt"),Li=Symbol.for("v-cmt"),Mh=Symbol.for("v-stc"),Yg=[];let fo=null;function U(e=!1){Yg.push(fo=e?null:[])}function UY(){Yg.pop(),fo=Yg[Yg.length-1]||null}let Uh=1;function N8(e){Uh+=e,e<0&&fo&&(fo.hasOnce=!0)}function BY(e){return e.dynamicChildren=Uh>0?fo||Up:null,UY(),Uh>0&&fo&&fo.push(e),e}function te(e,t,n,r,i,o){return BY(V(e,t,n,r,i,o,!0))}function _e(e,t,n,r,i){return BY(O(e,t,n,r,i,!0))}function Yf(e){return e?e.__v_isVNode===!0:!1}function il(e,t){return e.type===t.type&&e.key===t.key}function yfe(e){}const YY=({key:e})=>e??null,GR=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pr(e)||Cr(e)||Gt(e)?{i:mi,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,r=0,i=null,o=e===We?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&YY(t),ref:t&&GR(t),scopeId:FS,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:mi};return s?(hO(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Pr(n)?8:16),Uh>0&&!a&&fo&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&fo.push(l),l}const O=Afe;function Afe(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===cY)&&(e=Li),Yf(e)){const s=fu(e,t,!0);return n&&hO(s,n),Uh>0&&!o&&fo&&(s.shapeFlag&6?fo[fo.indexOf(e)]=s:fo.push(s)),s.patchFlag=-2,s}if(Tfe(e)&&(e=e.__vccOpts),t){t=ZY(t);let{class:s,style:l}=t;s&&!Pr(s)&&(t.class=$e(s)),lr(l)&&(j_(l)&&!kt(l)&&(l=Vr({},l)),t.style=Le(l))}const a=Pr(e)?1:C8(e)?128:$ce(e)?64:lr(e)?4:Gt(e)?2:0;return V(e,t,n,r,i,a,o,!0)}function ZY(e){return e?j_(e)||yY(e)?Vr({},e):e:null}function fu(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:a,children:s,transition:l}=e,u=t?QY(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&YY(u),ref:t&&t.ref?n&&o?kt(o)?o.concat(GR(t)):[o,GR(t)]:GR(t):o,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!==We?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&&fu(e.ssContent),ssFallback:e.ssFallback&&fu(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Bf(c,l.clone(c)),c}function Ue(e=" ",t=0){return O(kf,null,e,t)}function Rfe(e,t){const n=O(Mh,null,e);return n.staticCount=t,n}function Ze(e="",t=!1){return t?(U(),_e(Li,null,e)):O(Li,null,e)}function Go(e){return e==null||typeof e=="boolean"?O(Li):kt(e)?O(We,null,e.slice()):typeof e=="object"?af(e):O(kf,null,String(e))}function af(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fu(e)}function hO(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(kt(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),hO(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!yY(t)?t._ctx=mi:i===3&&mi&&(mi.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Gt(t)?(t={default:t,_ctx:mi},n=32):(t=String(t),r&64?(n=16,t=[Ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function QY(...e){const t={};for(let n=0;nvi||mi;let $b,F8;{const e=wB(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};$b=t("__VUE_INSTANCE_SETTERS__",n=>vi=n),F8=t("__VUE_SSR_SETTERS__",n=>N2=n)}const Bh=e=>{const t=vi;return $b(e),e.scope.on(),()=>{e.scope.off(),$b(t)}},E8=()=>{vi&&vi.scope.off(),$b(null)};function KY(e){return e.vnode.shapeFlag&4}let N2=!1;function GY(e,t=!1,n=!1){t&&F8(t);const{props:r,children:i}=e.vnode,o=KY(e);Qce(e,r,o,t),zce(e,i,n);const a=o?Sfe(e,t):void 0;return t&&F8(!1),a}function Sfe(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,T8);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?JY(e):null,o=Bh(e);id();const a=ic(r,e,0,[e.props,i]);if(od(),o(),Y_(a)){if(a.then(E8,E8),t)return a.then(s=>{X8(e,s,t)}).catch(s=>{i0(s,e,0)});e.asyncDep=a}else X8(e,a,t)}else zY(e,t)}function X8(e,t,n){Gt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:lr(t)&&(e.setupState=tO(t)),zY(e,n)}let jb,W8;function wfe(e){jb=e,W8=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,wce))}}const Mfe=()=>!jb;function zY(e,t,n){const r=e.type;if(!e.render){if(!t&&jb&&!r.render){const i=r.template||lO(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Vr(Vr({isCustomElement:o,delimiters:s},a),l);r.render=jb(i,u)}}e.render=r.render||ta,W8&&W8(e)}{const i=Bh(e);id();try{Wce(e)}finally{od(),i()}}}const Lfe={get(e,t){return ca(e,"get",""),e[t]}};function JY(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lfe),slots:e.slots,emit:e.emit,expose:t}}function F2(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tO(IS(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ug)return Ug[n](e)},has(t,n){return n in t||n in Ug}})):e.proxy}function V8(e,t=!0){return Gt(e)?e.displayName||e.name:e.name||t&&e.__name}function Tfe(e){return Gt(e)&&"__vccOpts"in e}const we=(e,t)=>$ue(e,t,N2);function $Y(e,t,n){const r=arguments.length;return r===2?lr(t)&&!kt(t)?Yf(t)?O(e,null,[t]):O(e,t):O(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yf(n)&&(n=[n]),O(e,t,n))}function _fe(){}function Ofe(e,t,n,r){const i=n[r];if(i&&jY(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=r,n[r]=o}function jY(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&fo&&fo.push(e),!0}const qY="3.4.34",kfe=ta,Pfe=cce,Cfe=up,Ife=jB,Nfe={createComponentInstance:HY,setupComponent:GY,renderComponentRoot:KR,setCurrentRenderingInstance:Xm,isVNode:Yf,normalizeVNode:Go,getComponentPublicInstance:F2},Ffe=Nfe,Efe=null,Xfe=null,Wfe=null;/** * @vue/runtime-dom v3.4.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Vfe="http://www.w3.org/2000/svg",Dfe="http://www.w3.org/1998/Math/MathML",Zu=typeof document<"u"?document:null,t7=Zu&&Zu.createElement("template"),Ufe={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 i=t==="svg"?Zu.createElementNS(Vfe,e):t==="mathml"?Zu.createElementNS(Dfe,e):n?Zu.createElement(e,{is:n}):Zu.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Zu.createTextNode(e),createComment:e=>Zu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{t7.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const s=t7.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]}},Cc="transition",b1="animation",hv=Symbol("_vtc"),Yh=(e,{slots:t})=>$Y(eY,tZ(e),t);Yh.displayName="Transition";const eZ={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},Bfe=Yh.props=Vr({},iO,eZ),Ld=(e,t=[])=>{kt(e)?e.forEach(n=>n(...t)):e&&e(...t)},n7=e=>e?kt(e)?e.some(t=>t.length>1):e.length>1:!1;function tZ(e){const t={};for(const k in e)k in eZ||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Yfe(i),v=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:R,onLeave:A,onLeaveCancelled:x,onBeforeAppear:S=m,onAppear:L=y,onAppearCancelled:w=R}=t,M=(k,F,C)=>{Kc(k,F?c:s),Kc(k,F?u:a),C&&C()},_=(k,F)=>{k._isLeaving=!1,Kc(k,f),Kc(k,h),Kc(k,d),F&&F()},P=k=>(F,C)=>{const N=k?L:y,I=()=>M(F,k,C);Ld(N,[F,I]),r7(()=>{Kc(F,k?l:o),Bu(F,k?c:s),n7(N)||i7(F,r,v,I)})};return Vr(t,{onBeforeEnter(k){Ld(m,[k]),Bu(k,o),Bu(k,a)},onBeforeAppear(k){Ld(S,[k]),Bu(k,l),Bu(k,u)},onEnter:P(!1),onAppear:P(!0),onLeave(k,F){k._isLeaving=!0;const C=()=>_(k,F);Bu(k,f),Bu(k,d),rZ(),r7(()=>{k._isLeaving&&(Kc(k,f),Bu(k,h),n7(A)||i7(k,r,g,C))}),Ld(A,[k,C])},onEnterCancelled(k){M(k,!1),Ld(R,[k])},onAppearCancelled(k){M(k,!0),Ld(w,[k])},onLeaveCancelled(k){_(k),Ld(x,[k])}})}function Yfe(e){if(e==null)return null;if(lr(e))return[Xw(e.enter),Xw(e.leave)];{const t=Xw(e);return[t,t]}}function Xw(e){return Zb(e)}function Bu(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[hv]||(e[hv]=new Set)).add(t)}function Kc(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[hv];n&&(n.delete(t),n.size||(e[hv]=void 0))}function r7(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zfe=0;function i7(e,t,n,r){const i=e._endId=++Zfe,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=nZ(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[p]||"").split(", "),i=r(`${Cc}Delay`),o=r(`${Cc}Duration`),a=o7(i,o),s=r(`${b1}Delay`),l=r(`${b1}Duration`),u=o7(s,l);let c=null,f=0,d=0;t===Cc?a>0&&(c=Cc,f=a,d=o.length):t===b1?u>0&&(c=b1,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?Cc:b1:null,d=c?c===Cc?o.length:l.length:0);const h=c===Cc&&/\b(transform|all)(,|$)/.test(r(`${Cc}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function o7(e,t){for(;e.lengtha7(n)+a7(e[r])))}function a7(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function rZ(){return document.body.offsetHeight}function Qfe(e,t,n){const r=e[hv];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qb=Symbol("_vod"),iZ=Symbol("_vsh"),uc={beforeMount(e,{value:t},{transition:n}){e[qb]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):x1(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),x1(e,!0),r.enter(e)):r.leave(e,()=>{x1(e,!1)}):x1(e,t))},beforeUnmount(e,{value:t}){x1(e,t)}};function x1(e,t){e.style.display=t?e[qb]:"none",e[iZ]=!t}function Hfe(){uc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const oZ=Symbol("");function Kfe(e){const t=vc();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>U8(o,i))},r=()=>{const i=e(t.proxy);D8(t.subTree,i),n(i)};Ht(()=>{NY(r);const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Nn(()=>i.disconnect())})}function D8(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{D8(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)U8(e.el,t);else if(e.type===We)e.children.forEach(n=>D8(n,t));else if(e.type===Mh){let{el:n,anchor:r}=e;for(;n&&(U8(n,t),n!==r);)n=n.nextSibling}}function U8(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[oZ]=r}}const Gfe=/(^|;)\s*display\s*:/;function zfe(e,t,n){const r=e.style,i=Pr(n);let o=!1;if(n&&!i){if(t)if(Pr(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&zR(r,s,"")}else for(const a in t)n[a]==null&&zR(r,a,"");for(const a in n)a==="display"&&(o=!0),zR(r,a,n[a])}else if(i){if(t!==n){const a=r[oZ];a&&(n+=";"+a),r.cssText=n,o=Gfe.test(n)}}else t&&e.removeAttribute("style");qb in e&&(e[qb]=o?r.display:"",e[iZ]&&(r.display="none"))}const s7=/\s*!important$/;function zR(e,t,n){if(kt(n))n.forEach(r=>zR(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jfe(e,t);s7.test(n)?e.setProperty($o(r),n.replace(s7,""),"important"):e[r]=n}}const l7=["Webkit","Moz","ms"],Ww={};function Jfe(e,t){const n=Ww[t];if(n)return n;let r=po(t);if(r!=="filter"&&r in e)return Ww[t]=r;r=k2(r);for(let i=0;iVw||(tde.then(()=>Vw=0),Vw=Date.now());function rde(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Va(ide(r,n.value),t,5,[r])};return n.value=e,n.attached=nde(),n}function ide(e,t){if(kt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const h7=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ode=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?Qfe(e,r,a):t==="style"?zfe(e,n,r):O2(t)?U_(t)||qfe(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ade(e,t,r,a))?($fe(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&c7(e,t,r,a,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),c7(e,t,r,a))};function ade(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&h7(t)&&Gt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return h7(t)&&Pr(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function aZ(e,t,n){const r=Xe(e,t);class i extends DS{constructor(a){super(r,a,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const sde=(e,t)=>aZ(e,t,mZ),lde=typeof HTMLElement<"u"?HTMLElement:class{};class DS extends lde{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Ir(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),vv(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:o,styles:a}=r;let s;if(o&&!kt(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Zb(this._props[l])),(s||(s=Object.create(null)))[po(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=kt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(po))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=po(t);this._numberProps&&this._numberProps[r]&&(n=Zb(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute($o(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute($o(t),n+""):n||this.removeAttribute($o(t))))}_update(){vv(this._createVNode(),this.shadowRoot)}_createVNode(){const t=O(this._def,Vr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),$o(o)!==o&&r($o(o),a)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof DS){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function ude(e="$style"){{const t=vc();if(!t)return Kn;const n=t.type.__cssModules;if(!n)return Kn;const r=n[e];return r||Kn}}const sZ=new WeakMap,lZ=new WeakMap,ex=Symbol("_moveCb"),p7=Symbol("_enterCb"),uZ={name:"TransitionGroup",props:Vr({},Bfe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vc(),r=rO();let i,o;return WS(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!vde(i[0].el,n.vnode.el,a))return;i.forEach(dde),i.forEach(hde);const s=i.filter(pde);rZ(),s.forEach(l=>{const u=l.el,c=u.style;Bu(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[ex]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[ex]=null,Kc(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=kn(e),s=tZ(a);let l=a.tag||We;if(i=[],o)for(let u=0;udelete e.mode;uZ.props;const fde=uZ;function dde(e){const t=e.el;t[ex]&&t[ex](),t[p7]&&t[p7]()}function hde(e){lZ.set(e,e.el.getBoundingClientRect())}function pde(e){const t=sZ.get(e),n=lZ.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function vde(e,t,n){const r=e.cloneNode(),i=e[hv];i&&i.forEach(s=>{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 o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=nZ(r);return o.removeChild(r),a}const Zf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return kt(t)?n=>Zp(t,n):t};function gde(e){e.target.composing=!0}function v7(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xs=Symbol("_assign"),Dm={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[xs]=Zf(i);const o=r||i.props&&i.props.type==="number";zu(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Yb(s)),e[xs](s)}),n&&zu(e,"change",()=>{e.value=e.value.trim()}),t||(zu(e,"compositionstart",gde),zu(e,"compositionend",v7),zu(e,"change",v7))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[xs]=Zf(a),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?Yb(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},pO={deep:!0,created(e,t,n){e[xs]=Zf(n),zu(e,"change",()=>{const r=e._modelValue,i=pv(e),o=e.checked,a=e[xs];if(kt(r)){const s=OS(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(r0(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(fZ(e,o))})},mounted:g7,beforeUpdate(e,t,n){e[xs]=Zf(n),g7(e,t,n)}};function g7(e,{value:t,oldValue:n},r){e._modelValue=t,kt(t)?e.checked=OS(t,r.props.value)>-1:r0(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Df(t,fZ(e,!0)))}const vO={created(e,{value:t},n){e.checked=Df(t,n.props.value),e[xs]=Zf(n),zu(e,"change",()=>{e[xs](pv(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[xs]=Zf(r),t!==n&&(e.checked=Df(t,r.props.value))}},cZ={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=r0(t);zu(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Yb(pv(a)):pv(a));e[xs](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Ir(()=>{e._assigning=!1})}),e[xs]=Zf(r)},mounted(e,{value:t,modifiers:{number:n}}){m7(e,t)},beforeUpdate(e,t,n){e[xs]=Zf(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||m7(e,t)}};function m7(e,t,n){const r=e.multiple,i=kt(t);if(!(r&&!i&&!r0(t))){for(let o=0,a=e.options.length;oString(c)===String(l)):s.selected=OS(t,l)>-1}else s.selected=t.has(l);else if(Df(pv(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function pv(e){return"_value"in e?e._value:e.value}function fZ(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const dZ={created(e,t,n){wA(e,t,n,null,"created")},mounted(e,t,n){wA(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){wA(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){wA(e,t,n,r,"updated")}};function hZ(e,t){switch(e){case"SELECT":return cZ;case"TEXTAREA":return Dm;default:switch(t){case"checkbox":return pO;case"radio":return vO;default:return Dm}}}function wA(e,t,n,r,i){const a=hZ(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function mde(){Dm.getSSRProps=({value:e})=>({value:e}),vO.getSSRProps=({value:e},t)=>{if(t.props&&Df(t.props.value,e))return{checked:!0}},pO.getSSRProps=({value:e},t)=>{if(kt(e)){if(t.props&&OS(e,t.props.value)>-1)return{checked:!0}}else if(r0(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},dZ.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=hZ(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const yde=["ctrl","shift","alt","meta"],Ade={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)=>yde.some(n=>e[`${n}Key`]&&!t.includes(n))},Ft=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=$o(i.key);if(t.some(a=>a===o||Rde[a]===o))return e(i)})},pZ=Vr({patchProp:ode},Ufe);let Zg,y7=!1;function vZ(){return Zg||(Zg=TY(pZ))}function gZ(){return Zg=y7?Zg:_Y(pZ),y7=!0,Zg}const vv=(...e)=>{vZ().render(...e)},mZ=(...e)=>{gZ().hydrate(...e)},yZ=(...e)=>{const t=vZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RZ(r);if(!i)return;const o=t._component;!Gt(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,AZ(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},bde=(...e)=>{const t=gZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RZ(r);if(i)return n(i,!0,AZ(i))},t};function AZ(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function RZ(e){return Pr(e)?document.querySelector(e):e}let A7=!1;const xde=()=>{A7||(A7=!0,mde(),Hfe())};/** +**/const Vfe="http://www.w3.org/2000/svg",Dfe="http://www.w3.org/1998/Math/MathML",Zu=typeof document<"u"?document:null,t7=Zu&&Zu.createElement("template"),Ufe={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 i=t==="svg"?Zu.createElementNS(Vfe,e):t==="mathml"?Zu.createElementNS(Dfe,e):n?Zu.createElement(e,{is:n}):Zu.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Zu.createTextNode(e),createComment:e=>Zu.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Zu.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const a=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{t7.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const s=t7.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]}},Cc="transition",b1="animation",hv=Symbol("_vtc"),Yh=(e,{slots:t})=>$Y(eY,tZ(e),t);Yh.displayName="Transition";const eZ={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},Bfe=Yh.props=Vr({},iO,eZ),Ld=(e,t=[])=>{kt(e)?e.forEach(n=>n(...t)):e&&e(...t)},n7=e=>e?kt(e)?e.some(t=>t.length>1):e.length>1:!1;function tZ(e){const t={};for(const P in e)P in eZ||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Yfe(i),v=p&&p[0],g=p&&p[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:R,onLeave:A,onLeaveCancelled:x,onBeforeAppear:S=m,onAppear:L=y,onAppearCancelled:w=R}=t,M=(P,N,C)=>{Kc(P,N?c:s),Kc(P,N?u:a),C&&C()},_=(P,N)=>{P._isLeaving=!1,Kc(P,f),Kc(P,h),Kc(P,d),N&&N()},k=P=>(N,C)=>{const F=P?L:y,I=()=>M(N,P,C);Ld(F,[N,I]),r7(()=>{Kc(N,P?l:o),Bu(N,P?c:s),n7(F)||i7(N,r,v,I)})};return Vr(t,{onBeforeEnter(P){Ld(m,[P]),Bu(P,o),Bu(P,a)},onBeforeAppear(P){Ld(S,[P]),Bu(P,l),Bu(P,u)},onEnter:k(!1),onAppear:k(!0),onLeave(P,N){P._isLeaving=!0;const C=()=>_(P,N);Bu(P,f),Bu(P,d),rZ(),r7(()=>{P._isLeaving&&(Kc(P,f),Bu(P,h),n7(A)||i7(P,r,g,C))}),Ld(A,[P,C])},onEnterCancelled(P){M(P,!1),Ld(R,[P])},onAppearCancelled(P){M(P,!0),Ld(w,[P])},onLeaveCancelled(P){_(P),Ld(x,[P])}})}function Yfe(e){if(e==null)return null;if(lr(e))return[Xw(e.enter),Xw(e.leave)];{const t=Xw(e);return[t,t]}}function Xw(e){return Zb(e)}function Bu(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[hv]||(e[hv]=new Set)).add(t)}function Kc(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[hv];n&&(n.delete(t),n.size||(e[hv]=void 0))}function r7(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zfe=0;function i7(e,t,n,r){const i=e._endId=++Zfe,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:s,propCount:l}=nZ(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),o()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[p]||"").split(", "),i=r(`${Cc}Delay`),o=r(`${Cc}Duration`),a=o7(i,o),s=r(`${b1}Delay`),l=r(`${b1}Duration`),u=o7(s,l);let c=null,f=0,d=0;t===Cc?a>0&&(c=Cc,f=a,d=o.length):t===b1?u>0&&(c=b1,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?Cc:b1:null,d=c?c===Cc?o.length:l.length:0);const h=c===Cc&&/\b(transform|all)(,|$)/.test(r(`${Cc}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function o7(e,t){for(;e.lengtha7(n)+a7(e[r])))}function a7(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function rZ(){return document.body.offsetHeight}function Qfe(e,t,n){const r=e[hv];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const qb=Symbol("_vod"),iZ=Symbol("_vsh"),uc={beforeMount(e,{value:t},{transition:n}){e[qb]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):x1(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),x1(e,!0),r.enter(e)):r.leave(e,()=>{x1(e,!1)}):x1(e,t))},beforeUnmount(e,{value:t}){x1(e,t)}};function x1(e,t){e.style.display=t?e[qb]:"none",e[iZ]=!t}function Hfe(){uc.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const oZ=Symbol("");function Kfe(e){const t=vc();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>U8(o,i))},r=()=>{const i=e(t.proxy);D8(t.subTree,i),n(i)};Ht(()=>{NY(r);const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Nn(()=>i.disconnect())})}function D8(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{D8(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)U8(e.el,t);else if(e.type===We)e.children.forEach(n=>D8(n,t));else if(e.type===Mh){let{el:n,anchor:r}=e;for(;n&&(U8(n,t),n!==r);)n=n.nextSibling}}function U8(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[oZ]=r}}const Gfe=/(^|;)\s*display\s*:/;function zfe(e,t,n){const r=e.style,i=Pr(n);let o=!1;if(n&&!i){if(t)if(Pr(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&zR(r,s,"")}else for(const a in t)n[a]==null&&zR(r,a,"");for(const a in n)a==="display"&&(o=!0),zR(r,a,n[a])}else if(i){if(t!==n){const a=r[oZ];a&&(n+=";"+a),r.cssText=n,o=Gfe.test(n)}}else t&&e.removeAttribute("style");qb in e&&(e[qb]=o?r.display:"",e[iZ]&&(r.display="none"))}const s7=/\s*!important$/;function zR(e,t,n){if(kt(n))n.forEach(r=>zR(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jfe(e,t);s7.test(n)?e.setProperty($o(r),n.replace(s7,""),"important"):e[r]=n}}const l7=["Webkit","Moz","ms"],Ww={};function Jfe(e,t){const n=Ww[t];if(n)return n;let r=po(t);if(r!=="filter"&&r in e)return Ww[t]=r;r=k2(r);for(let i=0;iVw||(tde.then(()=>Vw=0),Vw=Date.now());function rde(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Va(ide(r,n.value),t,5,[r])};return n.value=e,n.attached=nde(),n}function ide(e,t){if(kt(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const h7=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ode=(e,t,n,r,i,o)=>{const a=i==="svg";t==="class"?Qfe(e,r,a):t==="style"?zfe(e,n,r):O2(t)?U_(t)||qfe(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ade(e,t,r,a))?($fe(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&c7(e,t,r,a,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),c7(e,t,r,a))};function ade(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&h7(t)&&Gt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return h7(t)&&Pr(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function aZ(e,t,n){const r=Xe(e,t);class i extends DS{constructor(a){super(r,a,n)}}return i.def=r,i}/*! #__NO_SIDE_EFFECTS__ */const sde=(e,t)=>aZ(e,t,mZ),lde=typeof HTMLElement<"u"?HTMLElement:class{};class DS extends lde{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,Ir(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),vv(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r{for(const i of r)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,i=!1)=>{const{props:o,styles:a}=r;let s;if(o&&!kt(o))for(const l in o){const u=o[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=Zb(this._props[l])),(s||(s=Object.create(null)))[po(l)]=!0)}this._numberProps=s,i&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=kt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&r.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of r.map(po))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o)}})}_setAttr(t){let n=this.hasAttribute(t)?this.getAttribute(t):void 0;const r=po(t);this._numberProps&&this._numberProps[r]&&(n=Zb(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,i=!0){n!==this._props[t]&&(this._props[t]=n,i&&this._instance&&this._update(),r&&(n===!0?this.setAttribute($o(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute($o(t),n+""):n||this.removeAttribute($o(t))))}_update(){vv(this._createVNode(),this.shadowRoot)}_createVNode(){const t=O(this._def,Vr({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),$o(o)!==o&&r($o(o),a)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof DS){n.parent=i._instance,n.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function ude(e="$style"){{const t=vc();if(!t)return Kn;const n=t.type.__cssModules;if(!n)return Kn;const r=n[e];return r||Kn}}const sZ=new WeakMap,lZ=new WeakMap,ex=Symbol("_moveCb"),p7=Symbol("_enterCb"),uZ={name:"TransitionGroup",props:Vr({},Bfe,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=vc(),r=rO();let i,o;return WS(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!vde(i[0].el,n.vnode.el,a))return;i.forEach(dde),i.forEach(hde);const s=i.filter(pde);rZ(),s.forEach(l=>{const u=l.el,c=u.style;Bu(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[ex]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[ex]=null,Kc(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=kn(e),s=tZ(a);let l=a.tag||We;if(i=[],o)for(let u=0;udelete e.mode;uZ.props;const fde=uZ;function dde(e){const t=e.el;t[ex]&&t[ex](),t[p7]&&t[p7]()}function hde(e){lZ.set(e,e.el.getBoundingClientRect())}function pde(e){const t=sZ.get(e),n=lZ.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${i}px)`,o.transitionDuration="0s",e}}function vde(e,t,n){const r=e.cloneNode(),i=e[hv];i&&i.forEach(s=>{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 o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=nZ(r);return o.removeChild(r),a}const Zf=e=>{const t=e.props["onUpdate:modelValue"]||!1;return kt(t)?n=>Zp(t,n):t};function gde(e){e.target.composing=!0}function v7(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xs=Symbol("_assign"),Dm={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[xs]=Zf(i);const o=r||i.props&&i.props.type==="number";zu(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),o&&(s=Yb(s)),e[xs](s)}),n&&zu(e,"change",()=>{e.value=e.value.trim()}),t||(zu(e,"compositionstart",gde),zu(e,"compositionend",v7),zu(e,"change",v7))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:o}},a){if(e[xs]=Zf(a),e.composing)return;const s=(o||e.type==="number")&&!/^0\d/.test(e.value)?Yb(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},pO={deep:!0,created(e,t,n){e[xs]=Zf(n),zu(e,"change",()=>{const r=e._modelValue,i=pv(e),o=e.checked,a=e[xs];if(kt(r)){const s=OS(r,i),l=s!==-1;if(o&&!l)a(r.concat(i));else if(!o&&l){const u=[...r];u.splice(s,1),a(u)}}else if(r0(r)){const s=new Set(r);o?s.add(i):s.delete(i),a(s)}else a(fZ(e,o))})},mounted:g7,beforeUpdate(e,t,n){e[xs]=Zf(n),g7(e,t,n)}};function g7(e,{value:t,oldValue:n},r){e._modelValue=t,kt(t)?e.checked=OS(t,r.props.value)>-1:r0(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Df(t,fZ(e,!0)))}const vO={created(e,{value:t},n){e.checked=Df(t,n.props.value),e[xs]=Zf(n),zu(e,"change",()=>{e[xs](pv(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[xs]=Zf(r),t!==n&&(e.checked=Df(t,r.props.value))}},cZ={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=r0(t);zu(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Yb(pv(a)):pv(a));e[xs](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Ir(()=>{e._assigning=!1})}),e[xs]=Zf(r)},mounted(e,{value:t,modifiers:{number:n}}){m7(e,t)},beforeUpdate(e,t,n){e[xs]=Zf(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||m7(e,t)}};function m7(e,t,n){const r=e.multiple,i=kt(t);if(!(r&&!i&&!r0(t))){for(let o=0,a=e.options.length;oString(c)===String(l)):s.selected=OS(t,l)>-1}else s.selected=t.has(l);else if(Df(pv(s),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function pv(e){return"_value"in e?e._value:e.value}function fZ(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const dZ={created(e,t,n){wA(e,t,n,null,"created")},mounted(e,t,n){wA(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){wA(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){wA(e,t,n,r,"updated")}};function hZ(e,t){switch(e){case"SELECT":return cZ;case"TEXTAREA":return Dm;default:switch(t){case"checkbox":return pO;case"radio":return vO;default:return Dm}}}function wA(e,t,n,r,i){const a=hZ(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function mde(){Dm.getSSRProps=({value:e})=>({value:e}),vO.getSSRProps=({value:e},t)=>{if(t.props&&Df(t.props.value,e))return{checked:!0}},pO.getSSRProps=({value:e},t)=>{if(kt(e)){if(t.props&&OS(e,t.props.value)>-1)return{checked:!0}}else if(r0(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},dZ.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=hZ(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const yde=["ctrl","shift","alt","meta"],Ade={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)=>yde.some(n=>e[`${n}Key`]&&!t.includes(n))},Ft=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const o=$o(i.key);if(t.some(a=>a===o||Rde[a]===o))return e(i)})},pZ=Vr({patchProp:ode},Ufe);let Zg,y7=!1;function vZ(){return Zg||(Zg=TY(pZ))}function gZ(){return Zg=y7?Zg:_Y(pZ),y7=!0,Zg}const vv=(...e)=>{vZ().render(...e)},mZ=(...e)=>{gZ().hydrate(...e)},yZ=(...e)=>{const t=vZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RZ(r);if(!i)return;const o=t._component;!Gt(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,AZ(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},bde=(...e)=>{const t=gZ().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=RZ(r);if(i)return n(i,!0,AZ(i))},t};function AZ(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function RZ(e){return Pr(e)?document.querySelector(e):e}let A7=!1;const xde=()=>{A7||(A7=!0,mde(),Hfe())};/** * vue v3.4.34 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const Sde=()=>{},wde=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:eY,BaseTransitionPropsValidators:iO,Comment:Li,DeprecationTypes:Wfe,EffectScope:Q_,ErrorCodes:uce,ErrorTypeStrings:Pfe,Fragment:We,KeepAlive:Ace,ReactiveEffect:fv,Static:Mh,Suspense:dfe,Teleport:cO,Text:kf,TrackOpTypes:ace,Transition:Yh,TransitionGroup:fde,TriggerOpTypes:sce,VueElement:DS,assertNumber:lce,callWithAsyncErrorHandling:Va,callWithErrorHandling:ic,camelize:po,capitalize:k2,cloneVNode:fu,compatUtils:Xfe,compile:Sde,computed:we,createApp:yZ,createBlock:_e,createCommentVNode:Ze,createElementBlock:te,createElementVNode:V,createHydrationRenderer:_Y,createPropsRestProxy:Ece,createRenderer:TY,createSSRApp:bde,createSlots:xce,createStaticVNode:Rfe,createTextVNode:Ue,createVNode:O,customRef:HB,defineAsyncComponent:mce,defineComponent:Xe,defineCustomElement:aZ,defineEmits:Lce,defineExpose:Tce,defineModel:kce,defineOptions:_ce,defineProps:Mce,defineSSRCustomElement:sde,defineSlots:Oce,devtools:Cfe,effect:Oue,effectScope:H_,getCurrentInstance:vc,getCurrentScope:K_,getTransitionRawChildren:ES,guardReactiveProps:ZY,h:$Y,handleError:i0,hasInjectionContext:vY,hydrate:mZ,initCustomFormatter:_fe,initDirectivesForSSR:xde,inject:bs,isMemoSame:jY,isProxy:j_,isReactive:nu,isReadonly:Uf,isRef:Cr,isRuntimeOnly:Mfe,isShallow:Dh,isVNode:Yf,markRaw:IS,mergeDefaults:Nce,mergeModels:Fce,mergeProps:QY,nextTick:Ir,normalizeClass:$e,normalizeProps:wue,normalizeStyle:Le,onActivated:nY,onBeforeMount:oO,onBeforeUnmount:o0,onBeforeUpdate:oY,onDeactivated:rY,onErrorCaptured:uY,onMounted:Ht,onRenderTracked:lY,onRenderTriggered:sY,onScopeDispose:OB,onServerPrefetch:aY,onUnmounted:Nn,onUpdated:WS,openBlock:U,popScopeId:tn,provide:a0,proxyRefs:tO,pushScopeId:en,queuePostFlushCb:Hb,reactive:P2,readonly:$_,ref:ve,registerRuntimeCompiler:wfe,render:vv,renderList:tt,renderSlot:ar,resolveComponent:Se,resolveDirective:Fn,resolveDynamicComponent:Ru,resolveFilter:Efe,resolveTransitionHooks:dv,setBlockTracking:N8,setDevtoolsHook:Ife,setTransitionHooks:Bf,shallowReactive:YB,shallowReadonly:Jue,shallowRef:jue,ssrContextKey:CY,ssrUtils:Ffe,stop:kue,toDisplayString:vt,toHandlerKey:Dg,toHandlers:Sce,toRaw:kn,toRef:Ev,toRefs:KB,toValue:tce,transformVNodeArgs:yfe,triggerRef:ece,unref:z,useAttrs:Ice,useCssModule:ude,useCssVars:Kfe,useModel:ofe,useSSRContext:IY,useSlots:Cce,useTransitionState:rO,vModelCheckbox:pO,vModelDynamic:dZ,vModelRadio:vO,vModelSelect:cZ,vModelText:Dm,vShow:uc,version:qY,warn:kfe,watch:Ot,watchEffect:Xv,watchPostEffect:NY,watchSyncEffect:FY,withAsyncContext:Xce,withCtx:ie,withDefaults:Pce,withDirectives:ze,withKeys:du,withMemo:Ofe,withModifiers:Ft,withScopeId:vce},Symbol.toStringTag,{value:"Module"}));var Mde=!1;/*! +**/const Sde=()=>{},wde=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:eY,BaseTransitionPropsValidators:iO,Comment:Li,DeprecationTypes:Wfe,EffectScope:Q_,ErrorCodes:uce,ErrorTypeStrings:Pfe,Fragment:We,KeepAlive:Ace,ReactiveEffect:fv,Static:Mh,Suspense:dfe,Teleport:cO,Text:kf,TrackOpTypes:ace,Transition:Yh,TransitionGroup:fde,TriggerOpTypes:sce,VueElement:DS,assertNumber:lce,callWithAsyncErrorHandling:Va,callWithErrorHandling:ic,camelize:po,capitalize:k2,cloneVNode:fu,compatUtils:Xfe,compile:Sde,computed:we,createApp:yZ,createBlock:_e,createCommentVNode:Ze,createElementBlock:te,createElementVNode:V,createHydrationRenderer:_Y,createPropsRestProxy:Ece,createRenderer:TY,createSSRApp:bde,createSlots:xce,createStaticVNode:Rfe,createTextVNode:Ue,createVNode:O,customRef:HB,defineAsyncComponent:mce,defineComponent:Xe,defineCustomElement:aZ,defineEmits:Lce,defineExpose:Tce,defineModel:kce,defineOptions:_ce,defineProps:Mce,defineSSRCustomElement:sde,defineSlots:Oce,devtools:Cfe,effect:Oue,effectScope:H_,getCurrentInstance:vc,getCurrentScope:K_,getTransitionRawChildren:ES,guardReactiveProps:ZY,h:$Y,handleError:i0,hasInjectionContext:vY,hydrate:mZ,initCustomFormatter:_fe,initDirectivesForSSR:xde,inject:bs,isMemoSame:jY,isProxy:j_,isReactive:nu,isReadonly:Uf,isRef:Cr,isRuntimeOnly:Mfe,isShallow:Dh,isVNode:Yf,markRaw:IS,mergeDefaults:Nce,mergeModels:Fce,mergeProps:QY,nextTick:Ir,normalizeClass:$e,normalizeProps:wue,normalizeStyle:Le,onActivated:nY,onBeforeMount:oO,onBeforeUnmount:o0,onBeforeUpdate:oY,onDeactivated:rY,onErrorCaptured:uY,onMounted:Ht,onRenderTracked:lY,onRenderTriggered:sY,onScopeDispose:OB,onServerPrefetch:aY,onUnmounted:Nn,onUpdated:WS,openBlock:U,popScopeId:tn,provide:a0,proxyRefs:tO,pushScopeId:en,queuePostFlushCb:Hb,reactive:P2,readonly:$_,ref:pe,registerRuntimeCompiler:wfe,render:vv,renderList:tt,renderSlot:ar,resolveComponent:Se,resolveDirective:Fn,resolveDynamicComponent:Ru,resolveFilter:Efe,resolveTransitionHooks:dv,setBlockTracking:N8,setDevtoolsHook:Ife,setTransitionHooks:Bf,shallowReactive:YB,shallowReadonly:Jue,shallowRef:jue,ssrContextKey:CY,ssrUtils:Ffe,stop:kue,toDisplayString:vt,toHandlerKey:Dg,toHandlers:Sce,toRaw:kn,toRef:Ev,toRefs:KB,toValue:tce,transformVNodeArgs:yfe,triggerRef:ece,unref:z,useAttrs:Ice,useCssModule:ude,useCssVars:Kfe,useModel:ofe,useSSRContext:IY,useSlots:Cce,useTransitionState:rO,vModelCheckbox:pO,vModelDynamic:dZ,vModelRadio:vO,vModelSelect:cZ,vModelText:Dm,vShow:uc,version:qY,warn:kfe,watch:Ot,watchEffect:Xv,watchPostEffect:NY,watchSyncEffect:FY,withAsyncContext:Xce,withCtx:ie,withDefaults:Pce,withDirectives:ze,withKeys:du,withMemo:Ofe,withModifiers:Ft,withScopeId:vce},Symbol.toStringTag,{value:"Module"}));var Mde=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let bZ;const US=e=>bZ=e,xZ=Symbol();function B8(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Qg;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Qg||(Qg={}));function Lde(){const e=H_(!0),t=e.run(()=>ve({}));let n=[],r=[];const i=IS({install(o){US(i),i._a=o,o.provide(xZ,i),o.config.globalProperties.$pinia=i,r.forEach(a=>n.push(a)),r=[]},use(o){return!this._a&&!Mde?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const SZ=()=>{};function R7(e,t,n,r=SZ){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&K_()&&OB(i),i}function F0(e,...t){e.slice().forEach(n=>{n(...t)})}const Tde=e=>e();function Y8(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];B8(i)&&B8(r)&&e.hasOwnProperty(n)&&!Cr(r)&&!nu(r)?e[n]=Y8(i,r):e[n]=r}return e}const _de=Symbol();function Ode(e){return!B8(e)||!e.hasOwnProperty(_de)}const{assign:Gc}=Object;function kde(e){return!!(Cr(e)&&e.effect)}function Pde(e,t,n,r){const{state:i,actions:o,getters:a}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=i?i():{});const c=KB(n.state.value[e]);return Gc(c,o,Object.keys(a||{}).reduce((f,d)=>(f[d]=IS(we(()=>{US(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return l=wZ(e,u,t,n,r,!0),l}function wZ(e,t,n={},r,i,o){let a;const s=Gc({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),ve({});let v;function g(w){let M;u=c=!1,typeof w=="function"?(w(r.state.value[e]),M={type:Qg.patchFunction,storeId:e,events:h}):(Y8(r.state.value[e],w),M={type:Qg.patchObject,payload:w,storeId:e,events:h});const _=v=Symbol();Ir().then(()=>{v===_&&(u=!0)}),c=!0,F0(f,M,r.state.value[e])}const m=o?function(){const{state:M}=n,_=M?M():{};this.$patch(P=>{Gc(P,_)})}:SZ;function y(){a.stop(),f=[],d=[],r._s.delete(e)}function R(w,M){return function(){US(r);const _=Array.from(arguments),P=[],k=[];function F(I){P.push(I)}function C(I){k.push(I)}F0(d,{args:_,name:w,store:x,after:F,onError:C});let N;try{N=M.apply(this&&this.$id===e?this:x,_)}catch(I){throw F0(k,I),I}return N instanceof Promise?N.then(I=>(F0(P,I),I)).catch(I=>(F0(k,I),Promise.reject(I))):(F0(P,N),N)}}const A={_p:r,$id:e,$onAction:R7.bind(null,d),$patch:g,$reset:m,$subscribe(w,M={}){const _=R7(f,w,M.detached,()=>P()),P=a.run(()=>Ot(()=>r.state.value[e],k=>{(M.flush==="sync"?c:u)&&w({storeId:e,type:Qg.direct,events:h},k)},Gc({},l,M)));return _},$dispose:y},x=P2(A);r._s.set(e,x);const L=(r._a&&r._a.runWithContext||Tde)(()=>r._e.run(()=>(a=H_()).run(t)));for(const w in L){const M=L[w];if(Cr(M)&&!kde(M)||nu(M))o||(p&&Ode(M)&&(Cr(M)?M.value=p[w]:Y8(M,p[w])),r.state.value[e][w]=M);else if(typeof M=="function"){const _=R(w,M);L[w]=_,s.actions[w]=M}}return Gc(x,L),Gc(kn(x),L),Object.defineProperty(x,"$state",{get:()=>r.state.value[e],set:w=>{g(M=>{Gc(M,w)})}}),r._p.forEach(w=>{Gc(x,a.run(()=>w({store:x,app:r._a,pinia:r,options:s})))}),p&&o&&n.hydrate&&n.hydrate(x.$state,p),u=!0,c=!0,x}function E2(e,t,n){let r,i;const o=typeof t=="function";typeof e=="string"?(r=e,i=o?n:t):(i=e,r=e.id);function a(s,l){const u=vY();return s=s||(u?bs(xZ,null):null),s&&US(s),s=bZ,s._s.has(r)||(o?wZ(r,t,i,s):Pde(r,i,s)),s._s.get(r)}return a.$id=r,a}function De(e){{e=kn(e);const t={};for(const n in e){const r=e[n];(Cr(r)||nu(r))&&(t[n]=Ev(e,n))}return t}}const Cde="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Ide=e=>crypto.getRandomValues(new Uint8Array(e)),Nde=(e,t,n)=>{let r=(2<{let a="";for(;;){let s=n(i),l=i;for(;l--;)if(a+=e[s[l]&r]||"",a.length===o)return a}}},Fde=(e,t=21)=>Nde(e,t,Ide),on=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=Cde[n[e]&63];return t};var qr=(e=>(e.SYMBOL="symbol",e.EL_ANIMATION="elAnimation",e.EL_STYLE="elStyle",e.EL_POSITION="elPosition",e.SLIDE_DESIGN="slideDesign",e.SLIDE_ANIMATION="slideAnimation",e.MULTI_POSITION="multiPosition",e))(qr||{});function Wi(e){this.content=e}Wi.prototype={constructor:Wi,find:function(e){for(var t=0;t>1}};Wi.from=function(e){if(e instanceof Wi)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new Wi(t)};function MZ(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=MZ(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function LZ(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=e.child(--i),s=t.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let u=0,c=Math.min(a.text.length,s.text.length);for(;ut&&r(l,i+s,o||null,a)!==!1&&l.content.size){let c=s+1;l.nodesBetween(Math.max(0,t-c),Math.min(l.content.size,n-c),r,i+c)}s=u}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,i){let o="",a=!0;return this.nodesBetween(t,n,(s,l)=>{let u=s.isText?s.text.slice(Math.max(t,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&u||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=u},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);ot)for(let o=0,a=0;at&&((an)&&(s.isText?s=s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new ft(r,i)}cutByIndex(t,n){return t==n?ft.empty:t==0&&n==this.content.length?this:new ft(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new ft(i,o)}addToStart(t){return new ft([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new ft(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;nthis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=t)return a==t||n>0?MA(r+1,a):MA(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return ft.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new ft(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return ft.empty;let n,r=0;for(let i=0;ithis.type.rank&&(n||(n=t.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;nr.type.rank-i.type.rank),n}}Gn.none=[];class nx extends Error{}class Mt{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=_Z(this.content,t+this.openStart,n);return r&&new Mt(r,this.openStart,this.openEnd)}removeBetween(t,n){return new Mt(TZ(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return Mt.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Mt(ft.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let o=t.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=t.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new Mt(t,r,i)}}Mt.empty=new Mt(ft.empty,0,0);function TZ(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(i==t||o.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(TZ(o.content,t-i-1,n-i-1)))}function _Z(e,t,n,r){let{index:i,offset:o}=e.findIndex(t),a=e.maybeChild(i);if(o==t||a.isText)return e.cut(0,t).append(n).append(e.cut(t));let s=_Z(a.content,t-o-1,n);return s&&e.replaceChild(i,a.copy(s))}function Ede(e,t,n){if(n.openStart>e.depth)throw new nx("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new nx("Inconsistent open depths");return OZ(e,t,n,0)}function OZ(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Hg(e,t,n,r){let i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(Lh(e.nodeAfter,r),o++));for(let s=o;si&&Z8(e,t,i+1),a=r.depth>i&&Z8(n,r,i+1),s=[];return Hg(null,e,i,s),o&&a&&t.index(i)==n.index(i)?(kZ(o,a),Lh(Th(o,PZ(e,t,n,r,i+1)),s)):(o&&Lh(Th(o,rx(e,t,i+1)),s),Hg(t,n,i,s),a&&Lh(Th(a,rx(n,r,i+1)),s)),Hg(r,null,i,s),new ft(s)}function rx(e,t,n){let r=[];if(Hg(null,e,n,r),e.depth>n){let i=Z8(e,t,n+1);Lh(Th(i,rx(e,t,n+1)),r)}return Hg(t,null,n,r),new ft(r)}function Xde(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)i=t.node(o).copy(ft.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}class Um{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=t.child(n);return r?t.child(n).cut(r):i}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new ix(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=t;;){let{index:s,offset:l}=a.content.findIndex(o),u=o-l;if(r.push(a,s,i+l),!u||(a=a.child(s),a.isText))break;o=u-1,i+=l+1}return new Um(n,r,o)}static resolveCached(t,n){let r=b7.get(t);if(r)for(let o=0;ot&&this.nodesBetween(t,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),CZ(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=ft.empty,i=0,o=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;ln.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let i=ft.fromJSON(t,n.content),o=t.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}ru.prototype.text=void 0;class ox extends ru{constructor(t,n,r,i){if(super(t,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):CZ(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new ox(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new ox(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function CZ(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Zh{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new Ude(t,n);if(r.next==null)return Zh.empty;let i=IZ(r);r.next&&r.err("Unexpected trailing text");let o=Gde(Kde(i));return zde(o,r),o}matchType(t){for(let n=0;nu.createAndFill()));for(let u=0;u=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+t.indexOf(r.next[a].next);return o}).join(` + */let bZ;const US=e=>bZ=e,xZ=Symbol();function B8(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Qg;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Qg||(Qg={}));function Lde(){const e=H_(!0),t=e.run(()=>pe({}));let n=[],r=[];const i=IS({install(o){US(i),i._a=o,o.provide(xZ,i),o.config.globalProperties.$pinia=i,r.forEach(a=>n.push(a)),r=[]},use(o){return!this._a&&!Mde?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const SZ=()=>{};function R7(e,t,n,r=SZ){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&K_()&&OB(i),i}function F0(e,...t){e.slice().forEach(n=>{n(...t)})}const Tde=e=>e();function Y8(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];B8(i)&&B8(r)&&e.hasOwnProperty(n)&&!Cr(r)&&!nu(r)?e[n]=Y8(i,r):e[n]=r}return e}const _de=Symbol();function Ode(e){return!B8(e)||!e.hasOwnProperty(_de)}const{assign:Gc}=Object;function kde(e){return!!(Cr(e)&&e.effect)}function Pde(e,t,n,r){const{state:i,actions:o,getters:a}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=i?i():{});const c=KB(n.state.value[e]);return Gc(c,o,Object.keys(a||{}).reduce((f,d)=>(f[d]=IS(we(()=>{US(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return l=wZ(e,u,t,n,r,!0),l}function wZ(e,t,n={},r,i,o){let a;const s=Gc({actions:{}},n),l={deep:!0};let u,c,f=[],d=[],h;const p=r.state.value[e];!o&&!p&&(r.state.value[e]={}),pe({});let v;function g(w){let M;u=c=!1,typeof w=="function"?(w(r.state.value[e]),M={type:Qg.patchFunction,storeId:e,events:h}):(Y8(r.state.value[e],w),M={type:Qg.patchObject,payload:w,storeId:e,events:h});const _=v=Symbol();Ir().then(()=>{v===_&&(u=!0)}),c=!0,F0(f,M,r.state.value[e])}const m=o?function(){const{state:M}=n,_=M?M():{};this.$patch(k=>{Gc(k,_)})}:SZ;function y(){a.stop(),f=[],d=[],r._s.delete(e)}function R(w,M){return function(){US(r);const _=Array.from(arguments),k=[],P=[];function N(I){k.push(I)}function C(I){P.push(I)}F0(d,{args:_,name:w,store:x,after:N,onError:C});let F;try{F=M.apply(this&&this.$id===e?this:x,_)}catch(I){throw F0(P,I),I}return F instanceof Promise?F.then(I=>(F0(k,I),I)).catch(I=>(F0(P,I),Promise.reject(I))):(F0(k,F),F)}}const A={_p:r,$id:e,$onAction:R7.bind(null,d),$patch:g,$reset:m,$subscribe(w,M={}){const _=R7(f,w,M.detached,()=>k()),k=a.run(()=>Ot(()=>r.state.value[e],P=>{(M.flush==="sync"?c:u)&&w({storeId:e,type:Qg.direct,events:h},P)},Gc({},l,M)));return _},$dispose:y},x=P2(A);r._s.set(e,x);const L=(r._a&&r._a.runWithContext||Tde)(()=>r._e.run(()=>(a=H_()).run(t)));for(const w in L){const M=L[w];if(Cr(M)&&!kde(M)||nu(M))o||(p&&Ode(M)&&(Cr(M)?M.value=p[w]:Y8(M,p[w])),r.state.value[e][w]=M);else if(typeof M=="function"){const _=R(w,M);L[w]=_,s.actions[w]=M}}return Gc(x,L),Gc(kn(x),L),Object.defineProperty(x,"$state",{get:()=>r.state.value[e],set:w=>{g(M=>{Gc(M,w)})}}),r._p.forEach(w=>{Gc(x,a.run(()=>w({store:x,app:r._a,pinia:r,options:s})))}),p&&o&&n.hydrate&&n.hydrate(x.$state,p),u=!0,c=!0,x}function E2(e,t,n){let r,i;const o=typeof t=="function";typeof e=="string"?(r=e,i=o?n:t):(i=e,r=e.id);function a(s,l){const u=vY();return s=s||(u?bs(xZ,null):null),s&&US(s),s=bZ,s._s.has(r)||(o?wZ(r,t,i,s):Pde(r,i,s)),s._s.get(r)}return a.$id=r,a}function De(e){{e=kn(e);const t={};for(const n in e){const r=e[n];(Cr(r)||nu(r))&&(t[n]=Ev(e,n))}return t}}const Cde="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let Ide=e=>crypto.getRandomValues(new Uint8Array(e)),Nde=(e,t,n)=>{let r=(2<{let a="";for(;;){let s=n(i),l=i;for(;l--;)if(a+=e[s[l]&r]||"",a.length===o)return a}}},Fde=(e,t=21)=>Nde(e,t,Ide),on=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+=Cde[n[e]&63];return t};var qr=(e=>(e.SYMBOL="symbol",e.EL_ANIMATION="elAnimation",e.EL_STYLE="elStyle",e.EL_POSITION="elPosition",e.SLIDE_DESIGN="slideDesign",e.SLIDE_ANIMATION="slideAnimation",e.MULTI_POSITION="multiPosition",e))(qr||{});function Wi(e){this.content=e}Wi.prototype={constructor:Wi,find:function(e){for(var t=0;t>1}};Wi.from=function(e){if(e instanceof Wi)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new Wi(t)};function MZ(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=MZ(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function LZ(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=e.child(--i),s=t.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let u=0,c=Math.min(a.text.length,s.text.length);for(;ut&&r(l,i+s,o||null,a)!==!1&&l.content.size){let c=s+1;l.nodesBetween(Math.max(0,t-c),Math.min(l.content.size,n-c),r,i+c)}s=u}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,i){let o="",a=!0;return this.nodesBetween(t,n,(s,l)=>{let u=s.isText?s.text.slice(Math.max(t,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&u||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=u},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);ot)for(let o=0,a=0;at&&((an)&&(s.isText?s=s.cut(Math.max(0,t-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,t-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new ft(r,i)}cutByIndex(t,n){return t==n?ft.empty:t==0&&n==this.content.length?this:new ft(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new ft(i,o)}addToStart(t){return new ft([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new ft(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;nthis.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=t)return a==t||n>0?MA(r+1,a):MA(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return ft.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new ft(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return ft.empty;let n,r=0;for(let i=0;ithis.type.rank&&(n||(n=t.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;nr.type.rank-i.type.rank),n}}Gn.none=[];class nx extends Error{}class Mt{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=_Z(this.content,t+this.openStart,n);return r&&new Mt(r,this.openStart,this.openEnd)}removeBetween(t,n){return new Mt(TZ(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return Mt.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Mt(ft.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let o=t.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=t.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new Mt(t,r,i)}}Mt.empty=new Mt(ft.empty,0,0);function TZ(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:a,offset:s}=e.findIndex(n);if(i==t||o.isText){if(s!=n&&!e.child(a).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(TZ(o.content,t-i-1,n-i-1)))}function _Z(e,t,n,r){let{index:i,offset:o}=e.findIndex(t),a=e.maybeChild(i);if(o==t||a.isText)return e.cut(0,t).append(n).append(e.cut(t));let s=_Z(a.content,t-o-1,n);return s&&e.replaceChild(i,a.copy(s))}function Ede(e,t,n){if(n.openStart>e.depth)throw new nx("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new nx("Inconsistent open depths");return OZ(e,t,n,0)}function OZ(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Hg(e,t,n,r){let i=(t||e).node(n),o=0,a=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(Lh(e.nodeAfter,r),o++));for(let s=o;si&&Z8(e,t,i+1),a=r.depth>i&&Z8(n,r,i+1),s=[];return Hg(null,e,i,s),o&&a&&t.index(i)==n.index(i)?(kZ(o,a),Lh(Th(o,PZ(e,t,n,r,i+1)),s)):(o&&Lh(Th(o,rx(e,t,i+1)),s),Hg(t,n,i,s),a&&Lh(Th(a,rx(n,r,i+1)),s)),Hg(r,null,i,s),new ft(s)}function rx(e,t,n){let r=[];if(Hg(null,e,n,r),e.depth>n){let i=Z8(e,t,n+1);Lh(Th(i,rx(e,t,n+1)),r)}return Hg(t,null,n,r),new ft(r)}function Xde(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)i=t.node(o).copy(ft.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}class Um{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=t.child(n);return r?t.child(n).cut(r):i}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new ix(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=t;;){let{index:s,offset:l}=a.content.findIndex(o),u=o-l;if(r.push(a,s,i+l),!u||(a=a.child(s),a.isText))break;o=u-1,i+=l+1}return new Um(n,r,o)}static resolveCached(t,n){let r=b7.get(t);if(r)for(let o=0;ot&&this.nodesBetween(t,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),CZ(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=ft.empty,i=0,o=r.childCount){let a=this.contentMatchAt(t).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;ln.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let i=ft.fromJSON(t,n.content),o=t.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}ru.prototype.text=void 0;class ox extends ru{constructor(t,n,r,i){if(super(t,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):CZ(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new ox(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new ox(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}}function CZ(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}class Zh{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new Ude(t,n);if(r.next==null)return Zh.empty;let i=IZ(r);r.next&&r.err("Unexpected trailing text");let o=Gde(Kde(i));return zde(o,r),o}matchType(t){for(let n=0;nu.createAndFill()));for(let u=0;u=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+t.indexOf(r.next[a].next);return o}).join(` `)}}Zh.empty=new Zh(!0);class Ude{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function IZ(e){let t=[];do t.push(Bde(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function Bde(e){let t=[];do t.push(Yde(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function Yde(e){let t=Hde(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=Zde(e,t);else break;return t}function x7(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Zde(e,t){let n=x7(e),r=n;return e.eat(",")&&(e.next!="}"?r=x7(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function Qde(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.groups.indexOf(t)>-1&&i.push(a)}return i.length==0&&e.err("No node type or group '"+t+"' found"),i}function Hde(e){if(e.eat("(")){let t=IZ(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=Qde(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function Kde(e){let t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(a,s,l){let u={term:l,to:s};return t[a].push(u),u}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,u)=>l.concat(o(u,s)),[]);if(a.type=="seq")for(let l=0;;l++){let u=o(a.exprs[l],s);if(l==a.exprs.length-1)return u;i(u,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let u=0;u{e[a].forEach(({term:s,to:l})=>{if(!s)return;let u;for(let c=0;c{u||i.push([s,u=[]]),u.indexOf(c)==-1&&u.push(c)})})});let o=t[r.join(",")]=new Zh(r.indexOf(e.length-1)>-1);for(let a=0;a-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;nr[o]=new VZ(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function Jde(e,t,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${o}`)}}class $de{constructor(t,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?Jde(t,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class BS{constructor(t,n,r,i){this.name=t,this.rank=n,this.schema=r,this.spec=i,this.attrs=WZ(t,i.attrs),this.excluded=null;let o=FZ(this.attrs);this.instance=o?new Gn(this,o):null}create(t=null){return!t&&this.instance?this.instance:new Gn(this,EZ(this.attrs,t))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((o,a)=>r[o]=new BS(o,i++,n,a)),r}removeFromSet(t){for(var n=0;n-1}}class DZ{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in t)n[i]=t[i];n.nodes=Wi.from(t.nodes),n.marks=Wi.from(t.marks||{}),this.nodes=w7.compile(this.spec.nodes,this),this.marks=BS.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;if(o.contentMatch=r[a]||(r[a]=Zh.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=s=="_"?null:s?M7(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:M7(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,r,i){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof w7){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,r,i)}text(t,n){let r=this.nodes.text;return new ox(r,r.defaultAttrs,t,Gn.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeFromJSON(t){return ru.fromJSON(this,t)}markFromJSON(t){return Gn.fromJSON(this,t)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}}function M7(e,t){let n=[];for(let r=0;r-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}function jde(e){return e.tag!=null}function qde(e){return e.style!=null}let gO=class Q8{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(jde(i))this.tags.push(i);else if(qde(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=t.nodes[i.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new T7(this,n,!1);return r.addAll(t,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new T7(this,n,!0);return r.addAll(t,n.from,n.to),Mt.maxOpen(r.finish())}matchTag(t,n,r){for(let i=r?this.tags.indexOf(r)+1:0;it.length&&(s.charCodeAt(t.length)!=61||s.slice(t.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(t){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a{r(a=_7(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in t.nodes){let o=t.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=_7(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new Q8(t,Q8.schemaRules(t)))}};const UZ={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},ehe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},BZ={ol:!0,ul:!0},ax=1,sx=2,Kg=4;function L7(e,t,n){return t!=null?(t?ax:0)|(t==="full"?sx:0):e&&e.whitespace=="pre"?ax|sx:n&~Kg}class LA{constructor(t,n,r,i,o,a,s){this.type=t,this.attrs=n,this.marks=r,this.pendingMarks=i,this.solid=o,this.options=s,this.content=[],this.activeMarks=Gn.none,this.stashMarks=[],this.match=a||(s&Kg?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(ft.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(t.type))?(this.match=r,i):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&ax)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=ft.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(ft.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}popFromStashMark(t){for(let n=this.stashMarks.length-1;n>=0;n--)if(t.eq(this.stashMarks[n]))return this.stashMarks.splice(n,1)[0]}applyPending(t){for(let n=0,r=this.pendingMarks;nthis.addAll(t)),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(t,()=>{this.addElementByRule(t,o,o.consuming===!1?i:void 0)})}leafFallback(t){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(` `))}ignoreFallback(t){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(t){let n=Gn.none,r=Gn.none;if(t.length)for(let i=0;i{l.clearMark(u)&&(r=u.addToSet(r))}):n=this.parser.schema.marks[l.mark].create(l.attrs).addToSet(n),l.consuming===!1)s=l;else break}}return[n,r]}addElementByRule(t,n,r){let i,o,a;n.node?(o=this.parser.schema.nodes[n.node],o.isLeaf?this.insertNode(o.create(n.attrs))||this.leafFallback(t):i=this.enter(o,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(o&&o.isLeaf)this.findInside(t);else if(r)this.addElement(t,r);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=t;typeof n.contentElement=="string"?l=t.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(t):n.contentElement&&(l=n.contentElement),this.findAround(t,l,!0),this.addAll(l)}i&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(t,n,r){let i=n||0;for(let o=n?t.childNodes[n]:t.firstChild,a=r==null?null:t.childNodes[r];o!=a;o=o.nextSibling,++i)this.findAtPoint(t,i),this.addDOM(o);this.findAtPoint(t,i)}findPlace(t){let n,r;for(let i=this.open;i>=0;i--){let o=this.nodes[i],a=o.findWrapping(t);if(a&&(!n||n.length>a.length)&&(n=a,r=o,!a.length)||o.solid)break}if(!n)return!1;this.sync(r);for(let i=0;ithis.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(t){for(let n=this.open;n>=0;n--)if(this.nodes[n]==t)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)t+=r[i].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,l)=>{for(;s>=0;s--){let u=n[s];if(u==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let c=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!c||c.name!=u&&c.groups.indexOf(u)==-1)return!1;l--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(t){let n=ihe(t,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=t.addToSet(this.top.pendingMarks)}removePendingMark(t,n){for(let r=this.open;r>=0;r--){let i=this.nodes[r];if(i.pendingMarks.lastIndexOf(t)>-1)i.pendingMarks=t.removeFromSet(i.pendingMarks);else{i.activeMarks=t.removeFromSet(i.activeMarks);let a=i.popFromStashMark(t);a&&i.type&&i.type.allowsMarkType(a.type)&&(i.activeMarks=a.addToSet(i.activeMarks))}if(i==n)break}}}function the(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&BZ.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function nhe(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function _7(e){let t={};for(let n in e)t[n]=e[n];return t}function rhe(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;i--){let o=this.serializeMark(t.marks[i],t.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(t,n,r={}){let i=this.marks[t.type.name];return i&&JR(Uw(r),i(t,n),null,t.attrs)}static renderSpec(t,n,r=null,i){return JR(t,n,r,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Wv(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=O7(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return O7(t.marks)}}function O7(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function Uw(e){return e.document||window.document}const k7=new WeakMap;function ohe(e){let t=k7.get(e);return t===void 0&&k7.set(e,t=ahe(e)),t}function ahe(e){let t=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")t||(t=[]),t.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let s,l=n?e.createElementNS(n,i):e.createElement(i),u=t[1],c=1;if(u&&typeof u=="object"&&u.nodeType==null&&!Array.isArray(u)){c=2;for(let f in u)if(u[f]!=null){let d=f.indexOf(" ");d>0?l.setAttributeNS(f.slice(0,d),f.slice(d+1),u[f]):l.setAttribute(f,u[f])}}for(let f=c;fc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:h,contentDOM:p}=JR(e,d,n,r);if(l.appendChild(h),p){if(s)throw new RangeError("Multiple content holes");s=p}}}return{dom:l,contentDOM:s}}const YZ=65535,ZZ=Math.pow(2,16);function she(e,t){return e+t*ZZ}function P7(e){return e&YZ}function lhe(e){return(e-(e&YZ))/ZZ}const QZ=1,HZ=2,$R=4,KZ=8;class H8{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&KZ)>0}get deletedBefore(){return(this.delInfo&(QZ|$R))>0}get deletedAfter(){return(this.delInfo&(HZ|$R))>0}get deletedAcross(){return(this.delInfo&$R)>0}}class Na{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&Na.empty)return Na.empty}recover(t){let n=0,r=P7(t);if(!this.inverted)for(let i=0;it)break;let u=this.ranges[s+o],c=this.ranges[s+a],f=l+u;if(t<=f){let d=u?t==l?-1:t==f?1:n:n,h=l+i+(d<0?0:c);if(r)return h;let p=t==(n<0?l:f)?null:she(s/3,t-l),v=t==l?HZ:t==f?QZ:$R;return(n<0?t!=l:t!=f)&&(v|=KZ),new H8(h,v,p)}i+=c-u}return r?t+i:new H8(t+i,0,null)}touches(t,n){let r=0,i=P7(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;st)break;let u=this.ranges[s+o],c=l+u;if(t<=c&&s==i*3)return!0;r+=this.ranges[s+a]-u}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i=0;n--){let i=t.getMirror(n);this.appendMap(t.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let t=new zp;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let r=this.from;ro&&l!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return li.fromReplace(t,this.from,this.to,o)}invert(){return new ql(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Af(n.pos,r.pos,this.mark)}merge(t){return t instanceof Af&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Af(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Af(n.from,n.to,t.markFromJSON(n.mark))}}mo.jsonID("addMark",Af);class ql extends mo{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=new Mt(mO(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),t),n.openStart,n.openEnd);return li.fromReplace(t,this.from,this.to,r)}invert(){return new Af(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new ql(n.pos,r.pos,this.mark)}merge(t){return t instanceof ql&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new ql(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new ql(n.from,n.to,t.markFromJSON(n.mark))}}mo.jsonID("removeMark",ql);class Rf extends mo{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return li.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return li.fromReplace(t,this.pos,this.pos+1,new Mt(ft.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new Gi(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Gi(n.from,n.to,n.gapFrom,n.gapTo,Mt.fromJSON(t,n.slice),n.insert,!!n.structure)}}mo.jsonID("replaceAround",Gi);function K8(e,t,n){let r=e.resolve(t),i=n-t,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function uhe(e,t,n,r){let i=[],o=[],a,s;e.doc.nodesBetween(t,n,(l,u,c)=>{if(!l.isInline)return;let f=l.marks;if(!r.isInSet(f)&&c.type.allowsMarkType(r.type)){let d=Math.max(u,t),h=Math.min(u+l.nodeSize,n),p=r.addToSet(f);for(let v=0;ve.step(l)),o.forEach(l=>e.step(l))}function che(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof BS){let u=a.marks,c;for(;c=r.isInSet(u);)(l||(l=[])).push(c),u=c.removeFromSet(u)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let u=Math.min(s+a.nodeSize,n);for(let c=0;ce.step(new ql(a.from,a.to,a.style)))}function fhe(e,t,n,r=n.contentMatch){let i=e.doc.nodeAt(t),o=[],a=t+1;for(let s=0;s=0;s--)e.step(o[s])}function dhe(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function X2(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth;;--r){let i=e.$from.node(r),o=e.$from.index(r),a=e.$to.indexAfter(r);if(rn;p--)v||r.index(p)>0?(v=!0,c=ft.from(r.node(p).copy(c)),f++):l--;let d=ft.empty,h=0;for(let p=o,v=!1;p>n;p--)v||i.after(p+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=ft.from(n[a].type.create(n[a].attrs,r))}let i=t.start,o=t.end;e.step(new Gi(i,o,i,o,new Mt(r,0,0),n.length,!0))}function mhe(e,t,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,i)&&yhe(e.doc,e.mapping.slice(o).map(s),r)){e.clearIncompatible(e.mapping.slice(o).map(s,1),r);let l=e.mapping.slice(o),u=l.map(s,1),c=l.map(s+a.nodeSize,1);return e.step(new Gi(u,c,u+1,c-1,new Mt(ft.from(r.create(i,null,a.marks)),0,0),1,!0)),!1}})}function yhe(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function Ahe(e,t,n,r,i){let o=e.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new Gi(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new Mt(ft.from(a),0,0),1,!0))}function Jp(e,t,n=1,r){let i=e.resolve(t),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let u=i.depth-1,c=n-2;u>o;u--,c--){let f=i.node(u),d=i.index(u);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[c+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let v=r&&r[c]||f;if(!f.canReplace(d+1,f.childCount)||!v.type.validContent(h))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function Rhe(e,t,n=1,r){let i=e.doc.resolve(t),o=ft.empty,a=ft.empty;for(let s=i.depth,l=i.depth-n,u=n-1;s>l;s--,u--){o=ft.from(i.node(s).copy(o));let c=r&&r[u];a=ft.from(c?c.type.create(c.attrs,a):i.node(s).copy(a))}e.step(new oo(t,t,new Mt(o.append(a),n,n),!0))}function Vv(e,t){let n=e.resolve(t),r=n.index();return GZ(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function GZ(e,t){return!!(e&&t&&!e.isLeaf&&e.canAppend(t))}function zZ(e,t,n=-1){let r=e.resolve(t);for(let i=r.depth;;i--){let o,a,s=r.index(i);if(i==r.depth?(o=r.nodeBefore,a=r.nodeAfter):n>0?(o=r.node(i+1),s++,a=r.node(i).maybeChild(s)):(o=r.node(i).maybeChild(s-1),a=r.node(i+1)),o&&!o.isTextblock&&GZ(o,a)&&r.node(i).canReplace(s,s+1))return t;if(i==0)break;t=n<0?r.before(i):r.after(i)}}function bhe(e,t,n){let r=new oo(t-n,t+n,Mt.empty,!0);e.step(r)}function xhe(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,l=r.index(a)+(s>0?1:0),u=r.node(a),c=!1;if(o==1)c=u.canReplace(l,l,i);else{let f=u.contentMatchAt(l).findWrapping(i.firstChild.type);c=f&&u.canReplaceWith(l,l,f[0])}if(c)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function AO(e,t,n=t,r=Mt.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),o=e.resolve(n);return $Z(i,o,r)?new oo(t,n,r):new She(i,o,r).fit()}function $Z(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class She{constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=ft.empty;for(let i=0;i<=t.depth;i++){let o=t.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(i))})}for(let i=t.depth;i>0;i--)this.placed=ft.from(t.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let u=this.findFittable();u?this.placeNodes(u):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(t<0?this.$to:r.doc.resolve(t));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let l=new Mt(o,a,s);return t>-1?new Gi(r.pos,t,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new oo(r.pos,i.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),o.type.spec.isolating&&i<=r){t=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?t:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=Yw(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:u}=this.frontier[s],c,f=null;if(n==1&&(a?u.matchType(a.type)||(f=u.fillBefore(ft.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:f};if(n==2&&a&&(c=u.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:c};if(o&&u.matchType(o.type))break}}}openMore(){let{content:t,openStart:n,openEnd:r}=this.unplaced,i=Yw(t,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new Mt(t,n+1,Math.max(r,i.size+n>=t.size-r?n+1:0)),!0)}dropNode(){let{content:t,openStart:n,openEnd:r}=this.unplaced,i=Yw(t,n);if(i.childCount<=1&&n>0){let o=t.size-n<=n+i.size;this.unplaced=new Mt(ag(t,n-1,1),n-1,o?n-1:r)}else this.unplaced=new Mt(ag(t,n,1),n,r)}placeNodes({sliceDepth:t,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let v=0;v1||l==0||v.content.size)&&(f=g,c.push(jZ(v.mark(d.allowedMarks(v.marks)),u==1?l:0,u==s.childCount?h:-1)))}let p=u==s.childCount;p||(h=-1),this.placed=sg(this.placed,n,ft.from(c)),this.frontier[n].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let v=0,g=s;v1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(t){e:for(let n=Math.min(this.depth,t.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n=0;s--){let{match:l,type:u}=this.frontier[s],c=Zw(t,s,u,l,!0);if(!c||c.childCount)continue e}return{depth:n,fit:a,move:o?t.doc.resolve(t.after(n+1)):t}}}}close(t){let n=this.findCloseLevel(t);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=sg(this.placed,n.depth,n.fit)),t=n.move;for(let r=n.depth+1;r<=t.depth;r++){let i=t.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,t.index(r));this.openFrontierNode(i.type,i.attrs,o)}return t}openFrontierNode(t,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(t),this.placed=sg(this.placed,this.depth,ft.from(t.create(n,r))),this.frontier.push({type:t,match:t.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(ft.empty,!0);n.childCount&&(this.placed=sg(this.placed,this.frontier.length,n))}}function ag(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(ag(e.firstChild.content,t-1,n)))}function sg(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(sg(e.lastChild.content,t-1,n)))}function Yw(e,t){for(let n=0;n1&&(r=r.replaceChild(0,jZ(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(ft.empty,!0)))),e.copy(r)}function Zw(e,t,n,r,i){let o=e.node(t),a=i?e.indexAfter(t):e.index(t);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!whe(n,o.content,a)?s:null}function whe(e,t,n){for(let r=n;r0;d--,h--){let p=i.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:i.before(d)==h&&a.splice(1,0,-d)}let l=a.indexOf(s),u=[],c=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(u.push(p),h==r.openStart)break;d=p.content}for(let d=c-1;d>=0;d--){let h=u[d],p=Mhe(h.type);if(p&&!h.sameMarkup(i.node(Math.abs(s)-1)))c=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+c+1)%(r.openStart+1),p=u[h];if(p)for(let v=0;v=0&&(e.replace(t,n,r),!(e.steps.length>f));d--){let h=a[d];h<0||(t=i.before(h),n=o.after(h))}}function qZ(e,t,n,r,i){if(tr){let o=i.contentMatchAt(0),a=o.fillBefore(e).append(e);e=a.append(o.matchFragment(a).fillBefore(ft.empty,!0))}return e}function The(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=xhe(e.doc,t,r.type);i!=null&&(t=n=i)}e.replaceRange(t,n,new Mt(ft.from(r),0,0))}function _he(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n),o=eQ(r,i);for(let a=0;a0&&(l||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return e.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a)return e.delete(r.before(a),n);e.delete(t,n)}function eQ(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let o=e.start(i);if(ot.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(o==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==o-1)&&n.push(i)}return n}class $p extends mo{constructor(t,n,r){super(),this.pos=t,this.attr=n,this.value=r}apply(t){let n=t.nodeAt(this.pos);if(!n)return li.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return li.fromReplace(t,this.pos,this.pos+1,new Mt(ft.from(i),0,n.isLeaf?0:1))}getMap(){return Na.empty}invert(t){return new $p(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new $p(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new $p(n.pos,n.attr,n.value)}}mo.jsonID("attr",$p);class Bm extends mo{constructor(t,n){super(),this.attr=t,this.value=n}apply(t){let n=Object.create(null);for(let i in t.attrs)n[i]=t.attrs[i];n[this.attr]=this.value;let r=t.type.create(n,t.content,t.marks);return li.ok(r)}getMap(){return Na.empty}invert(t){return new Bm(this.attr,t.attrs[this.attr])}map(t){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Bm(n.attr,n.value)}}mo.jsonID("docAttr",Bm);let mv=class extends Error{};mv=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n};mv.prototype=Object.create(Error.prototype);mv.prototype.constructor=mv;mv.prototype.name="TransformError";let Ohe=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new zp}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let n=this.maybeStep(t);if(n.failed)throw new mv(n.failed);return this}maybeStep(t){let n=t.apply(this.doc);return n.failed||this.addStep(t,n.doc),n}get docChanged(){return this.steps.length>0}addStep(t,n){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=n}replace(t,n=t,r=Mt.empty){let i=AO(this.doc,t,n,r);return i&&this.step(i),this}replaceWith(t,n,r){return this.replace(t,n,new Mt(ft.from(r),0,0))}delete(t,n){return this.replace(t,n,Mt.empty)}insert(t,n){return this.replaceWith(t,t,n)}replaceRange(t,n,r){return Lhe(this,t,n,r),this}replaceRangeWith(t,n,r){return The(this,t,n,r),this}deleteRange(t,n){return _he(this,t,n),this}lift(t,n){return hhe(this,t,n),this}join(t,n=1){return bhe(this,t,n),this}wrap(t,n){return ghe(this,t,n),this}setBlockType(t,n=t,r,i=null){return mhe(this,t,n,r,i),this}setNodeMarkup(t,n,r=null,i){return Ahe(this,t,n,r,i),this}setNodeAttribute(t,n,r){return this.step(new $p(t,n,r)),this}setDocAttribute(t,n){return this.step(new Bm(t,n)),this}addNodeMark(t,n){return this.step(new Rf(t,n)),this}removeNodeMark(t,n){if(!(n instanceof Gn)){let r=this.doc.nodeAt(t);if(!r)throw new RangeError("No node at position "+t);if(n=n.isInSet(r.marks),!n)return this}return this.step(new gv(t,n)),this}split(t,n=1,r){return Rhe(this,t,n,r),this}addMark(t,n,r){return uhe(this,t,n,r),this}removeMark(t,n,r){return che(this,t,n,r),this}clearIncompatible(t,n,r){return fhe(this,t,n,r),this}};const Qw=Object.create(null);class In{constructor(t,n,r){this.$anchor=t,this.$head=n,this.ranges=r||[new khe(t.min(n),t.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let t=this.ranges;for(let n=0;n=0;o--){let a=n<0?cp(t.node(0),t.node(o),t.before(o+1),t.index(o),n,r):cp(t.node(0),t.node(o),t.after(o+1),t.index(o)+1,n,r);if(a)return a}return null}static near(t,n=1){return this.findFrom(t,n)||this.findFrom(t,-n)||new na(t.node(0))}static atStart(t){return cp(t,t,0,0,1)||new na(t)}static atEnd(t){return cp(t,t,t.content.size,t.childCount,-1)||new na(t)}static fromJSON(t,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Qw[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in Qw)throw new RangeError("Duplicate use of selection JSON ID "+t);return Qw[t]=n,n.prototype.jsonID=t,n}getBookmark(){return er.between(this.$anchor,this.$head).getBookmark()}}In.prototype.visible=!0;class khe{constructor(t,n){this.$from=t,this.$to=n}}let I7=!1;function N7(e){!I7&&!e.parent.inlineContent&&(I7=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+e.parent.type.name+")"))}class er extends In{constructor(t,n=t){N7(t),N7(n),super(t,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return In.near(r);let i=t.resolve(n.map(this.anchor));return new er(i.parent.inlineContent?i:r,r)}replace(t,n=Mt.empty){if(super.replace(t,n),n==Mt.empty){let r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}}eq(t){return t instanceof er&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new YS(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new er(t.resolve(n.anchor),t.resolve(n.head))}static create(t,n,r=n){let i=t.resolve(n);return new this(i,r==n?i:t.resolve(r))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=In.findFrom(n,r,!0)||In.findFrom(n,-r,!0);if(o)n=o.$head;else return In.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(In.findFrom(t,-r,!0)||In.findFrom(t,r,!0)).$anchor,t.pos0?0:1);i>0?a=0;a+=i){let s=t.child(a);if(s.isAtom){if(!o&&zt.isSelectable(s))return zt.create(e,n-(i<0?s.nodeSize:0))}else{let l=cp(e,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function F7(e,t,n){let r=e.steps.length-1;if(r{a==null&&(a=c)}),e.setSelection(In.near(e.doc.resolve(a),n))}const E7=1,TA=2,X7=4;let Che=class extends Ohe{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(t){return this.storedMarks=t,this.updated|=TA,this}ensureMarks(t){return Gn.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&TA)>0}addStep(t,n){super.addStep(t,n),this.updated=this.updated&~TA,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,n=!0){let r=this.selection;return n&&(t=t.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Gn.none))),r.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,n,r){let i=this.doc.type.schema;if(n==null)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!t)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(t,o)),this.selection.empty||this.setSelection(In.near(this.selection.$to)),this}}setMeta(t,n){return this.meta[typeof t=="string"?t:t.key]=n,this}getMeta(t){return this.meta[typeof t=="string"?t:t.key]}get isGeneric(){for(let t in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=X7,this}get scrolledIntoView(){return(this.updated&X7)>0}};function W7(e,t){return!t||!e?e:e.bind(t)}class lg{constructor(t,n,r){this.name=t,this.init=W7(n.init,r),this.apply=W7(n.apply,r)}}const Ihe=[new lg("doc",{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new lg("selection",{init(e,t){return e.selection||In.atStart(t.doc)},apply(e){return e.selection}}),new lg("storedMarks",{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new lg("scrollToSelection",{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})];class Hw{constructor(t,n){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Ihe.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new lg(r.key,r.spec.state,r))})}}class Mp{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,n=-1){for(let r=0;rr.toJSON())),t&&typeof t=="object")for(let r in t){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=t[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(t,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!t.schema)throw new RangeError("Required config field 'schema' missing");let i=new Hw(t.schema,t.plugins),o=new Mp(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=ru.fromJSON(t.schema,n.doc);else if(a.name=="selection")o.selection=In.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],u=l.spec.state;if(l.key==a.name&&u&&u.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=u.fromJSON.call(l,t,n[s],o);return}}o[a.name]=a.init(t,o)}}),o}}function tQ(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r=="handleDOMEvents"&&(i=tQ(i,t,{})),n[r]=i}return n}class Dv{constructor(t){this.spec=t,this.props={},t.props&&tQ(t.props,this,this.props),this.key=t.key?t.key.key:nQ("plugin")}getState(t){return t[this.key]}}const Kw=Object.create(null);function nQ(e){return e in Kw?e+"$"+ ++Kw[e]:(Kw[e]=0,e+"$")}class rQ{constructor(t="key"){this.key=nQ(t)}get(t){return t.config.pluginsByKey[this.key]}getState(t){return t[this.key]}}const iQ=(e,t)=>e.selection.empty?!1:(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function Nhe(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("backward",e):n.parentOffset>0)?null:n}const Fhe=(e,t,n)=>{let r=Nhe(e,n);if(!r)return!1;let i=oQ(r);if(!i){let a=r.blockRange(),s=a&&X2(a);return s==null?!1:(t&&t(e.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(dQ(e,i,t,-1))return!0;if(r.parent.content.size==0&&(yv(o,"end")||zt.isSelectable(o)))for(let a=r.depth;;a--){let s=AO(e.doc,r.before(a),r.after(a),Mt.empty);if(s&&s.slice.size1)break}return o.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1};function yv(e,t,n=!1){for(let r=e;r;r=t=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const Ehe=(e,t,n)=>{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",e):r.parentOffset>0)return!1;o=oQ(r)}let a=o&&o.nodeBefore;return!a||!zt.isSelectable(a)?!1:(t&&t(e.tr.setSelection(zt.create(e.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function oQ(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function Xhe(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock("forward",e):n.parentOffset{let r=Xhe(e,n);if(!r)return!1;let i=aQ(r);if(!i)return!1;let o=i.nodeAfter;if(dQ(e,i,t,1))return!0;if(r.parent.content.size==0&&(yv(o,"start")||zt.isSelectable(o))){let a=AO(e.doc,r.before(),r.after(),Mt.empty);if(a&&a.slice.size{let{$head:r,empty:i}=e.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",e):r.parentOffset=0;t--){let n=e.node(t);if(e.index(t)+1{let n=e.selection,r=n instanceof zt,i;if(r){if(n.node.isTextblock||!Vv(e.doc,n.from))return!1;i=n.from}else if(i=zZ(e.doc,n.from,-1),i==null)return!1;if(t){let o=e.tr.join(i);r&&o.setSelection(zt.create(o.doc,i-e.doc.resolve(i).nodeBefore.nodeSize)),t(o.scrollIntoView())}return!0},Uhe=(e,t)=>{let n=e.selection,r;if(n instanceof zt){if(n.node.isTextblock||!Vv(e.doc,n.to))return!1;r=n.to}else if(r=zZ(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},Bhe=(e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),o=i&&X2(i);return o==null?!1:(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)},sQ=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(` @@ -33,9 +33,9 @@ var cue=Object.defineProperty;var fue=(e,t,n)=>t in e?cue(e,t,{enumerable:!0,con * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */cx.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,c="__lodash_placeholder__",f=1,d=2,h=4,p=1,v=2,g=1,m=2,y=4,R=8,A=16,x=32,S=64,L=128,w=256,M=512,_=30,P="...",k=800,F=16,C=1,N=2,I=3,W=1/0,D=9007199254740991,Y=17976931348623157e292,re=NaN,B=4294967295,Z=B-1,Q=B>>>1,G=[["ary",L],["bind",g],["bindKey",m],["curry",R],["curryRight",A],["flip",M],["partial",x],["partialRight",S],["rearg",w]],ee="[object Arguments]",$="[object Array]",de="[object AsyncFunction]",K="[object Boolean]",Ae="[object Date]",ce="[object DOMException]",fe="[object Error]",le="[object Function]",j="[object GeneratorFunction]",X="[object Map]",J="[object Number]",se="[object Null]",q="[object Object]",ne="[object Promise]",oe="[object Proxy]",he="[object RegExp]",ue="[object Set]",ge="[object String]",Re="[object Symbol]",Ee="[object Undefined]",Ne="[object WeakMap]",He="[object WeakSet]",Ve="[object ArrayBuffer]",xe="[object DataView]",ye="[object Float32Array]",Me="[object Float64Array]",Ce="[object Int8Array]",Ye="[object Int16Array]",ot="[object Int32Array]",ke="[object Uint8Array]",Ge="[object Uint8ClampedArray]",rt="[object Uint16Array]",bt="[object Uint32Array]",dt=/\b__p \+= '';/g,gt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Dt=/&(?:amp|lt|gt|quot|#39);/g,Jt=/[&<>"']/g,Zn=RegExp(Dt.source),Fs=RegExp(Jt.source),xl=/<%-([\s\S]+?)%>/g,Ji=/<%([\s\S]+?)%>/g,y0=/<%=([\s\S]+?)%>/g,vd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wu=/^\w*$/,A4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A0=/[\\^$.*+?()[\]{}|]/g,yo=RegExp(A0.source),Ka=/^\s+/,Sy=/\s/,R4=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Zte=/\{\n\/\* \[wrapped with (.+)\] \*/,Qte=/,? & /,Hte=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Kte=/[()=,{}\[\]\/\s]/,Gte=/\\(\\)?/g,zte=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,oC=/\w*$/,Jte=/^[-+]0x[0-9a-f]+$/i,$te=/^0b[01]+$/i,jte=/^\[object .+?Constructor\]$/,qte=/^0o[0-7]+$/i,ene=/^(?:0|[1-9]\d*)$/,tne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wy=/($^)/,nne=/['\n\r\u2028\u2029\\]/g,My="\\ud800-\\udfff",rne="\\u0300-\\u036f",ine="\\ufe20-\\ufe2f",one="\\u20d0-\\u20ff",aC=rne+ine+one,sC="\\u2700-\\u27bf",lC="a-z\\xdf-\\xf6\\xf8-\\xff",ane="\\xac\\xb1\\xd7\\xf7",sne="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",lne="\\u2000-\\u206f",une=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",uC="A-Z\\xc0-\\xd6\\xd8-\\xde",cC="\\ufe0e\\ufe0f",fC=ane+sne+lne+une,b4="['’]",cne="["+My+"]",dC="["+fC+"]",Ly="["+aC+"]",hC="\\d+",fne="["+sC+"]",pC="["+lC+"]",vC="[^"+My+fC+hC+sC+lC+uC+"]",x4="\\ud83c[\\udffb-\\udfff]",dne="(?:"+Ly+"|"+x4+")",gC="[^"+My+"]",S4="(?:\\ud83c[\\udde6-\\uddff]){2}",w4="[\\ud800-\\udbff][\\udc00-\\udfff]",R0="["+uC+"]",mC="\\u200d",yC="(?:"+pC+"|"+vC+")",hne="(?:"+R0+"|"+vC+")",AC="(?:"+b4+"(?:d|ll|m|re|s|t|ve))?",RC="(?:"+b4+"(?:D|LL|M|RE|S|T|VE))?",bC=dne+"?",xC="["+cC+"]?",pne="(?:"+mC+"(?:"+[gC,S4,w4].join("|")+")"+xC+bC+")*",vne="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gne="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",SC=xC+bC+pne,mne="(?:"+[fne,S4,w4].join("|")+")"+SC,yne="(?:"+[gC+Ly+"?",Ly,S4,w4,cne].join("|")+")",Ane=RegExp(b4,"g"),Rne=RegExp(Ly,"g"),M4=RegExp(x4+"(?="+x4+")|"+yne+SC,"g"),bne=RegExp([R0+"?"+pC+"+"+AC+"(?="+[dC,R0,"$"].join("|")+")",hne+"+"+RC+"(?="+[dC,R0+yC,"$"].join("|")+")",R0+"?"+yC+"+"+AC,R0+"+"+RC,gne,vne,hC,mne].join("|"),"g"),xne=RegExp("["+mC+My+aC+cC+"]"),Sne=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mne=-1,Rr={};Rr[ye]=Rr[Me]=Rr[Ce]=Rr[Ye]=Rr[ot]=Rr[ke]=Rr[Ge]=Rr[rt]=Rr[bt]=!0,Rr[ee]=Rr[$]=Rr[Ve]=Rr[K]=Rr[xe]=Rr[Ae]=Rr[fe]=Rr[le]=Rr[X]=Rr[J]=Rr[q]=Rr[he]=Rr[ue]=Rr[ge]=Rr[Ne]=!1;var hr={};hr[ee]=hr[$]=hr[Ve]=hr[xe]=hr[K]=hr[Ae]=hr[ye]=hr[Me]=hr[Ce]=hr[Ye]=hr[ot]=hr[X]=hr[J]=hr[q]=hr[he]=hr[ue]=hr[ge]=hr[Re]=hr[ke]=hr[Ge]=hr[rt]=hr[bt]=!0,hr[fe]=hr[le]=hr[Ne]=!1;var Lne={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Tne={"&":"&","<":"<",">":">",'"':""","'":"'"},_ne={"&":"&","<":"<",">":">",""":'"',"'":"'"},One={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kne=parseFloat,Pne=parseInt,wC=typeof Xt=="object"&&Xt&&Xt.Object===Object&&Xt,Cne=typeof self=="object"&&self&&self.Object===Object&&self,Ni=wC||Cne||Function("return this")(),L4=t&&!t.nodeType&&t,gd=L4&&!0&&e&&!e.nodeType&&e,MC=gd&&gd.exports===L4,T4=MC&&wC.process,Ga=function(){try{var Ie=gd&&gd.require&&gd.require("util").types;return Ie||T4&&T4.binding&&T4.binding("util")}catch{}}(),LC=Ga&&Ga.isArrayBuffer,TC=Ga&&Ga.isDate,_C=Ga&&Ga.isMap,OC=Ga&&Ga.isRegExp,kC=Ga&&Ga.isSet,PC=Ga&&Ga.isTypedArray;function va(Ie,Je,Qe){switch(Qe.length){case 0:return Ie.call(Je);case 1:return Ie.call(Je,Qe[0]);case 2:return Ie.call(Je,Qe[0],Qe[1]);case 3:return Ie.call(Je,Qe[0],Qe[1],Qe[2])}return Ie.apply(Je,Qe)}function Ine(Ie,Je,Qe,Lt){for(var ln=-1,Qn=Ie==null?0:Ie.length;++ln-1}function _4(Ie,Je,Qe){for(var Lt=-1,ln=Ie==null?0:Ie.length;++Lt-1;);return Qe}function VC(Ie,Je){for(var Qe=Ie.length;Qe--&&b0(Je,Ie[Qe],0)>-1;);return Qe}function Bne(Ie,Je){for(var Qe=Ie.length,Lt=0;Qe--;)Ie[Qe]===Je&&++Lt;return Lt}var Yne=C4(Lne),Zne=C4(Tne);function Qne(Ie){return"\\"+One[Ie]}function Hne(Ie,Je){return Ie==null?n:Ie[Je]}function x0(Ie){return xne.test(Ie)}function Kne(Ie){return Sne.test(Ie)}function Gne(Ie){for(var Je,Qe=[];!(Je=Ie.next()).done;)Qe.push(Je.value);return Qe}function E4(Ie){var Je=-1,Qe=Array(Ie.size);return Ie.forEach(function(Lt,ln){Qe[++Je]=[ln,Lt]}),Qe}function DC(Ie,Je){return function(Qe){return Ie(Je(Qe))}}function wc(Ie,Je){for(var Qe=-1,Lt=Ie.length,ln=0,Qn=[];++Qe-1}function Fre(b,T){var E=this.__data__,H=Zy(E,b);return H<0?(++this.size,E.push([b,T])):E[H][1]=T,this}Mu.prototype.clear=Pre,Mu.prototype.delete=Cre,Mu.prototype.get=Ire,Mu.prototype.has=Nre,Mu.prototype.set=Fre;function Lu(b){var T=-1,E=b==null?0:b.length;for(this.clear();++T=T?b:T)),b}function ja(b,T,E,H,ae,me){var be,Te=T&f,Fe=T&d,nt=T&h;if(E&&(be=ae?E(b,H,ae,me):E(b)),be!==n)return be;if(!Nr(b))return b;var it=fn(b);if(it){if(be=Vie(b),!Te)return Eo(b,be)}else{var st=ji(b),xt=st==le||st==j;if(kc(b))return xI(b,Te);if(st==q||st==ee||xt&&!ae){if(be=Fe||xt?{}:UI(b),!Te)return Fe?_ie(b,$re(be,b)):Tie(b,jC(be,b))}else{if(!hr[st])return ae?b:{};be=Die(b,st,Te)}}me||(me=new Xs);var Ct=me.get(b);if(Ct)return Ct;me.set(b,be),gN(b)?b.forEach(function(Bt){be.add(ja(Bt,T,E,Bt,b,me))}):pN(b)&&b.forEach(function(Bt,wn){be.set(wn,ja(Bt,T,E,wn,b,me))});var Ut=nt?Fe?lw:sw:Fe?Wo:bi,yn=it?n:Ut(b);return za(yn||b,function(Bt,wn){yn&&(wn=Bt,Bt=b[wn]),d1(be,wn,ja(Bt,T,E,wn,b,me))}),be}function jre(b){var T=bi(b);return function(E){return qC(E,b,T)}}function qC(b,T,E){var H=E.length;if(b==null)return!H;for(b=ur(b);H--;){var ae=E[H],me=T[ae],be=b[ae];if(be===n&&!(ae in b)||!me(be))return!1}return!0}function eI(b,T,E){if(typeof b!="function")throw new Ja(a);return A1(function(){b.apply(n,E)},T)}function h1(b,T,E,H){var ae=-1,me=Ty,be=!0,Te=b.length,Fe=[],nt=T.length;if(!Te)return Fe;E&&(T=Mr(T,ga(E))),H?(me=_4,be=!1):T.length>=i&&(me=a1,be=!1,T=new Ad(T));e:for(;++aeae?0:ae+E),H=H===n||H>ae?ae:mn(H),H<0&&(H+=ae),H=E>H?0:yN(H);E0&&E(Te)?T>1?Fi(Te,T-1,E,H,ae):Sc(ae,Te):H||(ae[ae.length]=Te)}return ae}var Y4=_I(),rI=_I(!0);function Sl(b,T){return b&&Y4(b,T,bi)}function Z4(b,T){return b&&rI(b,T,bi)}function Hy(b,T){return xc(T,function(E){return Pu(b[E])})}function bd(b,T){T=_c(T,b);for(var E=0,H=T.length;b!=null&&ET}function tie(b,T){return b!=null&&nr.call(b,T)}function nie(b,T){return b!=null&&T in ur(b)}function rie(b,T,E){return b>=$i(T,E)&&b=120&&it.length>=120)?new Ad(be&&it):n}it=b[0];var st=-1,xt=Te[0];e:for(;++st-1;)Te!==b&&Xy.call(Te,Fe,1),Xy.call(b,Fe,1);return b}function pI(b,T){for(var E=b?T.length:0,H=E-1;E--;){var ae=T[E];if(E==H||ae!==me){var me=ae;ku(ae)?Xy.call(b,ae,1):ew(b,ae)}}return b}function $4(b,T){return b+Dy(GC()*(T-b+1))}function gie(b,T,E,H){for(var ae=-1,me=di(Vy((T-b)/(E||1)),0),be=Qe(me);me--;)be[H?me:++ae]=b,b+=E;return be}function j4(b,T){var E="";if(!b||T<1||T>D)return E;do T%2&&(E+=b),T=Dy(T/2),T&&(b+=b);while(T);return E}function Rn(b,T){return vw(ZI(b,T,Vo),b+"")}function mie(b){return $C(I0(b))}function yie(b,T){var E=I0(b);return rA(E,Rd(T,0,E.length))}function g1(b,T,E,H){if(!Nr(b))return b;T=_c(T,b);for(var ae=-1,me=T.length,be=me-1,Te=b;Te!=null&&++aeae?0:ae+T),E=E>ae?ae:E,E<0&&(E+=ae),ae=T>E?0:E-T>>>0,T>>>=0;for(var me=Qe(ae);++H>>1,be=b[me];be!==null&&!ya(be)&&(E?be<=T:be=i){var nt=T?null:Cie(b);if(nt)return Oy(nt);be=!1,ae=a1,Fe=new Ad}else Fe=T?[]:Te;e:for(;++H=H?b:qa(b,T,E)}var bI=ure||function(b){return Ni.clearTimeout(b)};function xI(b,T){if(T)return b.slice();var E=b.length,H=YC?YC(E):new b.constructor(E);return b.copy(H),H}function iw(b){var T=new b.constructor(b.byteLength);return new Fy(T).set(new Fy(b)),T}function Sie(b,T){var E=T?iw(b.buffer):b.buffer;return new b.constructor(E,b.byteOffset,b.byteLength)}function wie(b){var T=new b.constructor(b.source,oC.exec(b));return T.lastIndex=b.lastIndex,T}function Mie(b){return f1?ur(f1.call(b)):{}}function SI(b,T){var E=T?iw(b.buffer):b.buffer;return new b.constructor(E,b.byteOffset,b.length)}function wI(b,T){if(b!==T){var E=b!==n,H=b===null,ae=b===b,me=ya(b),be=T!==n,Te=T===null,Fe=T===T,nt=ya(T);if(!Te&&!nt&&!me&&b>T||me&&be&&Fe&&!Te&&!nt||H&&be&&Fe||!E&&Fe||!ae)return 1;if(!H&&!me&&!nt&&b=Te)return Fe;var nt=E[H];return Fe*(nt=="desc"?-1:1)}}return b.index-T.index}function MI(b,T,E,H){for(var ae=-1,me=b.length,be=E.length,Te=-1,Fe=T.length,nt=di(me-be,0),it=Qe(Fe+nt),st=!H;++Te1?E[ae-1]:n,be=ae>2?E[2]:n;for(me=b.length>3&&typeof me=="function"?(ae--,me):n,be&&Ro(E[0],E[1],be)&&(me=ae<3?n:me,ae=1),T=ur(T);++H-1?ae[me?T[be]:be]:n}}function PI(b){return Ou(function(T){var E=T.length,H=E,ae=$a.prototype.thru;for(b&&T.reverse();H--;){var me=T[H];if(typeof me!="function")throw new Ja(a);if(ae&&!be&&tA(me)=="wrapper")var be=new $a([],!0)}for(H=be?H:E;++H1&&Pn.reverse(),it&&FeTe))return!1;var nt=me.get(b),it=me.get(T);if(nt&&it)return nt==T&&it==b;var st=-1,xt=!0,Ct=E&v?new Ad:n;for(me.set(b,T),me.set(T,b);++st1?"& ":"")+T[H],T=T.join(E>2?", ":" "),b.replace(R4,`{ + */cx.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",s="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,c="__lodash_placeholder__",f=1,d=2,h=4,p=1,v=2,g=1,m=2,y=4,R=8,A=16,x=32,S=64,L=128,w=256,M=512,_=30,k="...",P=800,N=16,C=1,F=2,I=3,W=1/0,D=9007199254740991,Z=17976931348623157e292,re=NaN,B=4294967295,Y=B-1,Q=B>>>1,K=[["ary",L],["bind",g],["bindKey",m],["curry",R],["curryRight",A],["flip",M],["partial",x],["partialRight",S],["rearg",w]],q="[object Arguments]",$="[object Array]",de="[object AsyncFunction]",G="[object Boolean]",Ae="[object Date]",ce="[object DOMException]",fe="[object Error]",le="[object Function]",j="[object GeneratorFunction]",X="[object Map]",J="[object Number]",se="[object Null]",ee="[object Object]",ne="[object Promise]",oe="[object Proxy]",he="[object RegExp]",ue="[object Set]",ge="[object String]",Re="[object Symbol]",Ee="[object Undefined]",Ne="[object WeakMap]",He="[object WeakSet]",Ve="[object ArrayBuffer]",xe="[object DataView]",ye="[object Float32Array]",Me="[object Float64Array]",Ce="[object Int8Array]",Ye="[object Int16Array]",ot="[object Int32Array]",ke="[object Uint8Array]",Ge="[object Uint8ClampedArray]",rt="[object Uint16Array]",bt="[object Uint32Array]",dt=/\b__p \+= '';/g,gt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Dt=/&(?:amp|lt|gt|quot|#39);/g,Jt=/[&<>"']/g,Zn=RegExp(Dt.source),Fs=RegExp(Jt.source),xl=/<%-([\s\S]+?)%>/g,Ji=/<%([\s\S]+?)%>/g,y0=/<%=([\s\S]+?)%>/g,vd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wu=/^\w*$/,A4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,A0=/[\\^$.*+?()[\]{}|]/g,yo=RegExp(A0.source),Ka=/^\s+/,Sy=/\s/,R4=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Zte=/\{\n\/\* \[wrapped with (.+)\] \*/,Qte=/,? & /,Hte=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Kte=/[()=,{}\[\]\/\s]/,Gte=/\\(\\)?/g,zte=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,oC=/\w*$/,Jte=/^[-+]0x[0-9a-f]+$/i,$te=/^0b[01]+$/i,jte=/^\[object .+?Constructor\]$/,qte=/^0o[0-7]+$/i,ene=/^(?:0|[1-9]\d*)$/,tne=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wy=/($^)/,nne=/['\n\r\u2028\u2029\\]/g,My="\\ud800-\\udfff",rne="\\u0300-\\u036f",ine="\\ufe20-\\ufe2f",one="\\u20d0-\\u20ff",aC=rne+ine+one,sC="\\u2700-\\u27bf",lC="a-z\\xdf-\\xf6\\xf8-\\xff",ane="\\xac\\xb1\\xd7\\xf7",sne="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",lne="\\u2000-\\u206f",une=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",uC="A-Z\\xc0-\\xd6\\xd8-\\xde",cC="\\ufe0e\\ufe0f",fC=ane+sne+lne+une,b4="['’]",cne="["+My+"]",dC="["+fC+"]",Ly="["+aC+"]",hC="\\d+",fne="["+sC+"]",pC="["+lC+"]",vC="[^"+My+fC+hC+sC+lC+uC+"]",x4="\\ud83c[\\udffb-\\udfff]",dne="(?:"+Ly+"|"+x4+")",gC="[^"+My+"]",S4="(?:\\ud83c[\\udde6-\\uddff]){2}",w4="[\\ud800-\\udbff][\\udc00-\\udfff]",R0="["+uC+"]",mC="\\u200d",yC="(?:"+pC+"|"+vC+")",hne="(?:"+R0+"|"+vC+")",AC="(?:"+b4+"(?:d|ll|m|re|s|t|ve))?",RC="(?:"+b4+"(?:D|LL|M|RE|S|T|VE))?",bC=dne+"?",xC="["+cC+"]?",pne="(?:"+mC+"(?:"+[gC,S4,w4].join("|")+")"+xC+bC+")*",vne="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gne="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",SC=xC+bC+pne,mne="(?:"+[fne,S4,w4].join("|")+")"+SC,yne="(?:"+[gC+Ly+"?",Ly,S4,w4,cne].join("|")+")",Ane=RegExp(b4,"g"),Rne=RegExp(Ly,"g"),M4=RegExp(x4+"(?="+x4+")|"+yne+SC,"g"),bne=RegExp([R0+"?"+pC+"+"+AC+"(?="+[dC,R0,"$"].join("|")+")",hne+"+"+RC+"(?="+[dC,R0+yC,"$"].join("|")+")",R0+"?"+yC+"+"+AC,R0+"+"+RC,gne,vne,hC,mne].join("|"),"g"),xne=RegExp("["+mC+My+aC+cC+"]"),Sne=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,wne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Mne=-1,Rr={};Rr[ye]=Rr[Me]=Rr[Ce]=Rr[Ye]=Rr[ot]=Rr[ke]=Rr[Ge]=Rr[rt]=Rr[bt]=!0,Rr[q]=Rr[$]=Rr[Ve]=Rr[G]=Rr[xe]=Rr[Ae]=Rr[fe]=Rr[le]=Rr[X]=Rr[J]=Rr[ee]=Rr[he]=Rr[ue]=Rr[ge]=Rr[Ne]=!1;var hr={};hr[q]=hr[$]=hr[Ve]=hr[xe]=hr[G]=hr[Ae]=hr[ye]=hr[Me]=hr[Ce]=hr[Ye]=hr[ot]=hr[X]=hr[J]=hr[ee]=hr[he]=hr[ue]=hr[ge]=hr[Re]=hr[ke]=hr[Ge]=hr[rt]=hr[bt]=!0,hr[fe]=hr[le]=hr[Ne]=!1;var Lne={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Tne={"&":"&","<":"<",">":">",'"':""","'":"'"},_ne={"&":"&","<":"<",">":">",""":'"',"'":"'"},One={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kne=parseFloat,Pne=parseInt,wC=typeof Xt=="object"&&Xt&&Xt.Object===Object&&Xt,Cne=typeof self=="object"&&self&&self.Object===Object&&self,Ni=wC||Cne||Function("return this")(),L4=t&&!t.nodeType&&t,gd=L4&&!0&&e&&!e.nodeType&&e,MC=gd&&gd.exports===L4,T4=MC&&wC.process,Ga=function(){try{var Ie=gd&&gd.require&&gd.require("util").types;return Ie||T4&&T4.binding&&T4.binding("util")}catch{}}(),LC=Ga&&Ga.isArrayBuffer,TC=Ga&&Ga.isDate,_C=Ga&&Ga.isMap,OC=Ga&&Ga.isRegExp,kC=Ga&&Ga.isSet,PC=Ga&&Ga.isTypedArray;function va(Ie,Je,Qe){switch(Qe.length){case 0:return Ie.call(Je);case 1:return Ie.call(Je,Qe[0]);case 2:return Ie.call(Je,Qe[0],Qe[1]);case 3:return Ie.call(Je,Qe[0],Qe[1],Qe[2])}return Ie.apply(Je,Qe)}function Ine(Ie,Je,Qe,Lt){for(var ln=-1,Qn=Ie==null?0:Ie.length;++ln-1}function _4(Ie,Je,Qe){for(var Lt=-1,ln=Ie==null?0:Ie.length;++Lt-1;);return Qe}function VC(Ie,Je){for(var Qe=Ie.length;Qe--&&b0(Je,Ie[Qe],0)>-1;);return Qe}function Bne(Ie,Je){for(var Qe=Ie.length,Lt=0;Qe--;)Ie[Qe]===Je&&++Lt;return Lt}var Yne=C4(Lne),Zne=C4(Tne);function Qne(Ie){return"\\"+One[Ie]}function Hne(Ie,Je){return Ie==null?n:Ie[Je]}function x0(Ie){return xne.test(Ie)}function Kne(Ie){return Sne.test(Ie)}function Gne(Ie){for(var Je,Qe=[];!(Je=Ie.next()).done;)Qe.push(Je.value);return Qe}function E4(Ie){var Je=-1,Qe=Array(Ie.size);return Ie.forEach(function(Lt,ln){Qe[++Je]=[ln,Lt]}),Qe}function DC(Ie,Je){return function(Qe){return Ie(Je(Qe))}}function wc(Ie,Je){for(var Qe=-1,Lt=Ie.length,ln=0,Qn=[];++Qe-1}function Fre(b,T){var E=this.__data__,H=Zy(E,b);return H<0?(++this.size,E.push([b,T])):E[H][1]=T,this}Mu.prototype.clear=Pre,Mu.prototype.delete=Cre,Mu.prototype.get=Ire,Mu.prototype.has=Nre,Mu.prototype.set=Fre;function Lu(b){var T=-1,E=b==null?0:b.length;for(this.clear();++T=T?b:T)),b}function ja(b,T,E,H,ae,me){var be,Te=T&f,Fe=T&d,nt=T&h;if(E&&(be=ae?E(b,H,ae,me):E(b)),be!==n)return be;if(!Nr(b))return b;var it=fn(b);if(it){if(be=Vie(b),!Te)return Eo(b,be)}else{var st=ji(b),xt=st==le||st==j;if(kc(b))return xI(b,Te);if(st==ee||st==q||xt&&!ae){if(be=Fe||xt?{}:UI(b),!Te)return Fe?_ie(b,$re(be,b)):Tie(b,jC(be,b))}else{if(!hr[st])return ae?b:{};be=Die(b,st,Te)}}me||(me=new Xs);var Ct=me.get(b);if(Ct)return Ct;me.set(b,be),gN(b)?b.forEach(function(Bt){be.add(ja(Bt,T,E,Bt,b,me))}):pN(b)&&b.forEach(function(Bt,wn){be.set(wn,ja(Bt,T,E,wn,b,me))});var Ut=nt?Fe?lw:sw:Fe?Wo:bi,yn=it?n:Ut(b);return za(yn||b,function(Bt,wn){yn&&(wn=Bt,Bt=b[wn]),d1(be,wn,ja(Bt,T,E,wn,b,me))}),be}function jre(b){var T=bi(b);return function(E){return qC(E,b,T)}}function qC(b,T,E){var H=E.length;if(b==null)return!H;for(b=ur(b);H--;){var ae=E[H],me=T[ae],be=b[ae];if(be===n&&!(ae in b)||!me(be))return!1}return!0}function eI(b,T,E){if(typeof b!="function")throw new Ja(a);return A1(function(){b.apply(n,E)},T)}function h1(b,T,E,H){var ae=-1,me=Ty,be=!0,Te=b.length,Fe=[],nt=T.length;if(!Te)return Fe;E&&(T=Mr(T,ga(E))),H?(me=_4,be=!1):T.length>=i&&(me=a1,be=!1,T=new Ad(T));e:for(;++aeae?0:ae+E),H=H===n||H>ae?ae:mn(H),H<0&&(H+=ae),H=E>H?0:yN(H);E0&&E(Te)?T>1?Fi(Te,T-1,E,H,ae):Sc(ae,Te):H||(ae[ae.length]=Te)}return ae}var Y4=_I(),rI=_I(!0);function Sl(b,T){return b&&Y4(b,T,bi)}function Z4(b,T){return b&&rI(b,T,bi)}function Hy(b,T){return xc(T,function(E){return Pu(b[E])})}function bd(b,T){T=_c(T,b);for(var E=0,H=T.length;b!=null&&ET}function tie(b,T){return b!=null&&nr.call(b,T)}function nie(b,T){return b!=null&&T in ur(b)}function rie(b,T,E){return b>=$i(T,E)&&b=120&&it.length>=120)?new Ad(be&&it):n}it=b[0];var st=-1,xt=Te[0];e:for(;++st-1;)Te!==b&&Xy.call(Te,Fe,1),Xy.call(b,Fe,1);return b}function pI(b,T){for(var E=b?T.length:0,H=E-1;E--;){var ae=T[E];if(E==H||ae!==me){var me=ae;ku(ae)?Xy.call(b,ae,1):ew(b,ae)}}return b}function $4(b,T){return b+Dy(GC()*(T-b+1))}function gie(b,T,E,H){for(var ae=-1,me=di(Vy((T-b)/(E||1)),0),be=Qe(me);me--;)be[H?me:++ae]=b,b+=E;return be}function j4(b,T){var E="";if(!b||T<1||T>D)return E;do T%2&&(E+=b),T=Dy(T/2),T&&(b+=b);while(T);return E}function Rn(b,T){return vw(ZI(b,T,Vo),b+"")}function mie(b){return $C(I0(b))}function yie(b,T){var E=I0(b);return rA(E,Rd(T,0,E.length))}function g1(b,T,E,H){if(!Nr(b))return b;T=_c(T,b);for(var ae=-1,me=T.length,be=me-1,Te=b;Te!=null&&++aeae?0:ae+T),E=E>ae?ae:E,E<0&&(E+=ae),ae=T>E?0:E-T>>>0,T>>>=0;for(var me=Qe(ae);++H>>1,be=b[me];be!==null&&!ya(be)&&(E?be<=T:be=i){var nt=T?null:Cie(b);if(nt)return Oy(nt);be=!1,ae=a1,Fe=new Ad}else Fe=T?[]:Te;e:for(;++H=H?b:qa(b,T,E)}var bI=ure||function(b){return Ni.clearTimeout(b)};function xI(b,T){if(T)return b.slice();var E=b.length,H=YC?YC(E):new b.constructor(E);return b.copy(H),H}function iw(b){var T=new b.constructor(b.byteLength);return new Fy(T).set(new Fy(b)),T}function Sie(b,T){var E=T?iw(b.buffer):b.buffer;return new b.constructor(E,b.byteOffset,b.byteLength)}function wie(b){var T=new b.constructor(b.source,oC.exec(b));return T.lastIndex=b.lastIndex,T}function Mie(b){return f1?ur(f1.call(b)):{}}function SI(b,T){var E=T?iw(b.buffer):b.buffer;return new b.constructor(E,b.byteOffset,b.length)}function wI(b,T){if(b!==T){var E=b!==n,H=b===null,ae=b===b,me=ya(b),be=T!==n,Te=T===null,Fe=T===T,nt=ya(T);if(!Te&&!nt&&!me&&b>T||me&&be&&Fe&&!Te&&!nt||H&&be&&Fe||!E&&Fe||!ae)return 1;if(!H&&!me&&!nt&&b=Te)return Fe;var nt=E[H];return Fe*(nt=="desc"?-1:1)}}return b.index-T.index}function MI(b,T,E,H){for(var ae=-1,me=b.length,be=E.length,Te=-1,Fe=T.length,nt=di(me-be,0),it=Qe(Fe+nt),st=!H;++Te1?E[ae-1]:n,be=ae>2?E[2]:n;for(me=b.length>3&&typeof me=="function"?(ae--,me):n,be&&Ro(E[0],E[1],be)&&(me=ae<3?n:me,ae=1),T=ur(T);++H-1?ae[me?T[be]:be]:n}}function PI(b){return Ou(function(T){var E=T.length,H=E,ae=$a.prototype.thru;for(b&&T.reverse();H--;){var me=T[H];if(typeof me!="function")throw new Ja(a);if(ae&&!be&&tA(me)=="wrapper")var be=new $a([],!0)}for(H=be?H:E;++H1&&Pn.reverse(),it&&FeTe))return!1;var nt=me.get(b),it=me.get(T);if(nt&&it)return nt==T&&it==b;var st=-1,xt=!0,Ct=E&v?new Ad:n;for(me.set(b,T),me.set(T,b);++st1?"& ":"")+T[H],T=T.join(E>2?", ":" "),b.replace(R4,`{ /* [wrapped with `+T+`] */ -`)}function Bie(b){return fn(b)||wd(b)||!!(HC&&b&&b[HC])}function ku(b,T){var E=typeof b;return T=T??D,!!T&&(E=="number"||E!="symbol"&&ene.test(b))&&b>-1&&b%1==0&&b0){if(++T>=k)return arguments[0]}else T=0;return b.apply(n,arguments)}}function rA(b,T){var E=-1,H=b.length,ae=H-1;for(T=T===n?H:T;++E1?b[T-1]:n;return E=typeof E=="function"?(b.pop(),E):n,nN(b,E)});function rN(b){var T=pe(b);return T.__chain__=!0,T}function qoe(b,T){return T(b),b}function iA(b,T){return T(b)}var eae=Ou(function(b){var T=b.length,E=T?b[0]:0,H=this.__wrapped__,ae=function(me){return B4(me,b)};return T>1||this.__actions__.length||!(H instanceof Tn)||!ku(E)?this.thru(ae):(H=H.slice(E,+E+(T?1:0)),H.__actions__.push({func:iA,args:[ae],thisArg:n}),new $a(H,this.__chain__).thru(function(me){return T&&!me.length&&me.push(n),me}))});function tae(){return rN(this)}function nae(){return new $a(this.value(),this.__chain__)}function rae(){this.__values__===n&&(this.__values__=mN(this.value()));var b=this.__index__>=this.__values__.length,T=b?n:this.__values__[this.__index__++];return{done:b,value:T}}function iae(){return this}function oae(b){for(var T,E=this;E instanceof Yy;){var H=JI(E);H.__index__=0,H.__values__=n,T?ae.__wrapped__=H:T=H;var ae=H;E=E.__wrapped__}return ae.__wrapped__=b,T}function aae(){var b=this.__wrapped__;if(b instanceof Tn){var T=b;return this.__actions__.length&&(T=new Tn(this)),T=T.reverse(),T.__actions__.push({func:iA,args:[gw],thisArg:n}),new $a(T,this.__chain__)}return this.thru(gw)}function sae(){return AI(this.__wrapped__,this.__actions__)}var lae=Jy(function(b,T,E){nr.call(b,E)?++b[E]:Tu(b,E,1)});function uae(b,T,E){var H=fn(b)?CC:qre;return E&&Ro(b,T,E)&&(T=n),H(b,Vt(T,3))}function cae(b,T){var E=fn(b)?xc:nI;return E(b,Vt(T,3))}var fae=kI($I),dae=kI(jI);function hae(b,T){return Fi(oA(b,T),1)}function pae(b,T){return Fi(oA(b,T),W)}function vae(b,T,E){return E=E===n?1:mn(E),Fi(oA(b,T),E)}function iN(b,T){var E=fn(b)?za:Lc;return E(b,Vt(T,3))}function oN(b,T){var E=fn(b)?Nne:tI;return E(b,Vt(T,3))}var gae=Jy(function(b,T,E){nr.call(b,E)?b[E].push(T):Tu(b,E,[T])});function mae(b,T,E,H){b=Xo(b)?b:I0(b),E=E&&!H?mn(E):0;var ae=b.length;return E<0&&(E=di(ae+E,0)),cA(b)?E<=ae&&b.indexOf(T,E)>-1:!!ae&&b0(b,T,E)>-1}var yae=Rn(function(b,T,E){var H=-1,ae=typeof T=="function",me=Xo(b)?Qe(b.length):[];return Lc(b,function(be){me[++H]=ae?va(T,be,E):p1(be,T,E)}),me}),Aae=Jy(function(b,T,E){Tu(b,E,T)});function oA(b,T){var E=fn(b)?Mr:lI;return E(b,Vt(T,3))}function Rae(b,T,E,H){return b==null?[]:(fn(T)||(T=T==null?[]:[T]),E=H?n:E,fn(E)||(E=E==null?[]:[E]),dI(b,T,E))}var bae=Jy(function(b,T,E){b[E?0:1].push(T)},function(){return[[],[]]});function xae(b,T,E){var H=fn(b)?O4:EC,ae=arguments.length<3;return H(b,Vt(T,4),E,ae,Lc)}function Sae(b,T,E){var H=fn(b)?Fne:EC,ae=arguments.length<3;return H(b,Vt(T,4),E,ae,tI)}function wae(b,T){var E=fn(b)?xc:nI;return E(b,lA(Vt(T,3)))}function Mae(b){var T=fn(b)?$C:mie;return T(b)}function Lae(b,T,E){(E?Ro(b,T,E):T===n)?T=1:T=mn(T);var H=fn(b)?Gre:yie;return H(b,T)}function Tae(b){var T=fn(b)?zre:Rie;return T(b)}function _ae(b){if(b==null)return 0;if(Xo(b))return cA(b)?S0(b):b.length;var T=ji(b);return T==X||T==ue?b.size:G4(b).length}function Oae(b,T,E){var H=fn(b)?k4:bie;return E&&Ro(b,T,E)&&(T=n),H(b,Vt(T,3))}var kae=Rn(function(b,T){if(b==null)return[];var E=T.length;return E>1&&Ro(b,T[0],T[1])?T=[]:E>2&&Ro(T[0],T[1],T[2])&&(T=[T[0]]),dI(b,Fi(T,1),[])}),aA=cre||function(){return Ni.Date.now()};function Pae(b,T){if(typeof T!="function")throw new Ja(a);return b=mn(b),function(){if(--b<1)return T.apply(this,arguments)}}function aN(b,T,E){return T=E?n:T,T=b&&T==null?b.length:T,_u(b,L,n,n,n,n,T)}function sN(b,T){var E;if(typeof T!="function")throw new Ja(a);return b=mn(b),function(){return--b>0&&(E=T.apply(this,arguments)),b<=1&&(T=n),E}}var yw=Rn(function(b,T,E){var H=g;if(E.length){var ae=wc(E,P0(yw));H|=x}return _u(b,H,T,E,ae)}),lN=Rn(function(b,T,E){var H=g|m;if(E.length){var ae=wc(E,P0(lN));H|=x}return _u(T,H,b,E,ae)});function uN(b,T,E){T=E?n:T;var H=_u(b,R,n,n,n,n,n,T);return H.placeholder=uN.placeholder,H}function cN(b,T,E){T=E?n:T;var H=_u(b,A,n,n,n,n,n,T);return H.placeholder=cN.placeholder,H}function fN(b,T,E){var H,ae,me,be,Te,Fe,nt=0,it=!1,st=!1,xt=!0;if(typeof b!="function")throw new Ja(a);T=ts(T)||0,Nr(E)&&(it=!!E.leading,st="maxWait"in E,me=st?di(ts(E.maxWait)||0,T):me,xt="trailing"in E?!!E.trailing:xt);function Ct(jr){var Vs=H,Iu=ae;return H=ae=n,nt=jr,be=b.apply(Iu,Vs),be}function Ut(jr){return nt=jr,Te=A1(wn,T),it?Ct(jr):be}function yn(jr){var Vs=jr-Fe,Iu=jr-nt,kN=T-Vs;return st?$i(kN,me-Iu):kN}function Bt(jr){var Vs=jr-Fe,Iu=jr-nt;return Fe===n||Vs>=T||Vs<0||st&&Iu>=me}function wn(){var jr=aA();if(Bt(jr))return Pn(jr);Te=A1(wn,yn(jr))}function Pn(jr){return Te=n,xt&&H?Ct(jr):(H=ae=n,be)}function Aa(){Te!==n&&bI(Te),nt=0,H=Fe=ae=Te=n}function bo(){return Te===n?be:Pn(aA())}function Ra(){var jr=aA(),Vs=Bt(jr);if(H=arguments,ae=this,Fe=jr,Vs){if(Te===n)return Ut(Fe);if(st)return bI(Te),Te=A1(wn,T),Ct(Fe)}return Te===n&&(Te=A1(wn,T)),be}return Ra.cancel=Aa,Ra.flush=bo,Ra}var Cae=Rn(function(b,T){return eI(b,1,T)}),Iae=Rn(function(b,T,E){return eI(b,ts(T)||0,E)});function Nae(b){return _u(b,M)}function sA(b,T){if(typeof b!="function"||T!=null&&typeof T!="function")throw new Ja(a);var E=function(){var H=arguments,ae=T?T.apply(this,H):H[0],me=E.cache;if(me.has(ae))return me.get(ae);var be=b.apply(this,H);return E.cache=me.set(ae,be)||me,be};return E.cache=new(sA.Cache||Lu),E}sA.Cache=Lu;function lA(b){if(typeof b!="function")throw new Ja(a);return function(){var T=arguments;switch(T.length){case 0:return!b.call(this);case 1:return!b.call(this,T[0]);case 2:return!b.call(this,T[0],T[1]);case 3:return!b.call(this,T[0],T[1],T[2])}return!b.apply(this,T)}}function Fae(b){return sN(2,b)}var Eae=xie(function(b,T){T=T.length==1&&fn(T[0])?Mr(T[0],ga(Vt())):Mr(Fi(T,1),ga(Vt()));var E=T.length;return Rn(function(H){for(var ae=-1,me=$i(H.length,E);++ae=T}),wd=oI(function(){return arguments}())?oI:function(b){return Dr(b)&&nr.call(b,"callee")&&!QC.call(b,"callee")},fn=Qe.isArray,$ae=LC?ga(LC):oie;function Xo(b){return b!=null&&uA(b.length)&&!Pu(b)}function $r(b){return Dr(b)&&Xo(b)}function jae(b){return b===!0||b===!1||Dr(b)&&Ao(b)==K}var kc=dre||kw,qae=TC?ga(TC):aie;function ese(b){return Dr(b)&&b.nodeType===1&&!R1(b)}function tse(b){if(b==null)return!0;if(Xo(b)&&(fn(b)||typeof b=="string"||typeof b.splice=="function"||kc(b)||C0(b)||wd(b)))return!b.length;var T=ji(b);if(T==X||T==ue)return!b.size;if(y1(b))return!G4(b).length;for(var E in b)if(nr.call(b,E))return!1;return!0}function nse(b,T){return v1(b,T)}function rse(b,T,E){E=typeof E=="function"?E:n;var H=E?E(b,T):n;return H===n?v1(b,T,n,E):!!H}function Rw(b){if(!Dr(b))return!1;var T=Ao(b);return T==fe||T==ce||typeof b.message=="string"&&typeof b.name=="string"&&!R1(b)}function ise(b){return typeof b=="number"&&KC(b)}function Pu(b){if(!Nr(b))return!1;var T=Ao(b);return T==le||T==j||T==de||T==oe}function hN(b){return typeof b=="number"&&b==mn(b)}function uA(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=D}function Nr(b){var T=typeof b;return b!=null&&(T=="object"||T=="function")}function Dr(b){return b!=null&&typeof b=="object"}var pN=_C?ga(_C):lie;function ose(b,T){return b===T||K4(b,T,cw(T))}function ase(b,T,E){return E=typeof E=="function"?E:n,K4(b,T,cw(T),E)}function sse(b){return vN(b)&&b!=+b}function lse(b){if(Qie(b))throw new ln(o);return aI(b)}function use(b){return b===null}function cse(b){return b==null}function vN(b){return typeof b=="number"||Dr(b)&&Ao(b)==J}function R1(b){if(!Dr(b)||Ao(b)!=q)return!1;var T=Ey(b);if(T===null)return!0;var E=nr.call(T,"constructor")&&T.constructor;return typeof E=="function"&&E instanceof E&&Cy.call(E)==are}var bw=OC?ga(OC):uie;function fse(b){return hN(b)&&b>=-D&&b<=D}var gN=kC?ga(kC):cie;function cA(b){return typeof b=="string"||!fn(b)&&Dr(b)&&Ao(b)==ge}function ya(b){return typeof b=="symbol"||Dr(b)&&Ao(b)==Re}var C0=PC?ga(PC):fie;function dse(b){return b===n}function hse(b){return Dr(b)&&ji(b)==Ne}function pse(b){return Dr(b)&&Ao(b)==He}var vse=eA(z4),gse=eA(function(b,T){return b<=T});function mN(b){if(!b)return[];if(Xo(b))return cA(b)?Es(b):Eo(b);if(s1&&b[s1])return Gne(b[s1]());var T=ji(b),E=T==X?E4:T==ue?Oy:I0;return E(b)}function Cu(b){if(!b)return b===0?b:0;if(b=ts(b),b===W||b===-W){var T=b<0?-1:1;return T*Y}return b===b?b:0}function mn(b){var T=Cu(b),E=T%1;return T===T?E?T-E:T:0}function yN(b){return b?Rd(mn(b),0,B):0}function ts(b){if(typeof b=="number")return b;if(ya(b))return re;if(Nr(b)){var T=typeof b.valueOf=="function"?b.valueOf():b;b=Nr(T)?T+"":T}if(typeof b!="string")return b===0?b:+b;b=XC(b);var E=$te.test(b);return E||qte.test(b)?Pne(b.slice(2),E?2:8):Jte.test(b)?re:+b}function AN(b){return wl(b,Wo(b))}function mse(b){return b?Rd(mn(b),-D,D):b===0?b:0}function $n(b){return b==null?"":ma(b)}var yse=O0(function(b,T){if(y1(T)||Xo(T)){wl(T,bi(T),b);return}for(var E in T)nr.call(T,E)&&d1(b,E,T[E])}),RN=O0(function(b,T){wl(T,Wo(T),b)}),fA=O0(function(b,T,E,H){wl(T,Wo(T),b,H)}),Ase=O0(function(b,T,E,H){wl(T,bi(T),b,H)}),Rse=Ou(B4);function bse(b,T){var E=_0(b);return T==null?E:jC(E,T)}var xse=Rn(function(b,T){b=ur(b);var E=-1,H=T.length,ae=H>2?T[2]:n;for(ae&&Ro(T[0],T[1],ae)&&(H=1);++E1),me}),wl(b,lw(b),E),H&&(E=ja(E,f|d|h,Iie));for(var ae=T.length;ae--;)ew(E,T[ae]);return E});function Dse(b,T){return xN(b,lA(Vt(T)))}var Use=Ou(function(b,T){return b==null?{}:pie(b,T)});function xN(b,T){if(b==null)return{};var E=Mr(lw(b),function(H){return[H]});return T=Vt(T),hI(b,E,function(H,ae){return T(H,ae[0])})}function Bse(b,T,E){T=_c(T,b);var H=-1,ae=T.length;for(ae||(ae=1,b=n);++HT){var H=b;b=T,T=H}if(E||b%1||T%1){var ae=GC();return $i(b+ae*(T-b+kne("1e-"+((ae+"").length-1))),T)}return $4(b,T)}var qse=k0(function(b,T,E){return T=T.toLowerCase(),b+(E?MN(T):T)});function MN(b){return ww($n(b).toLowerCase())}function LN(b){return b=$n(b),b&&b.replace(tne,Yne).replace(Rne,"")}function ele(b,T,E){b=$n(b),T=ma(T);var H=b.length;E=E===n?H:Rd(mn(E),0,H);var ae=E;return E-=T.length,E>=0&&b.slice(E,ae)==T}function tle(b){return b=$n(b),b&&Fs.test(b)?b.replace(Jt,Zne):b}function nle(b){return b=$n(b),b&&yo.test(b)?b.replace(A0,"\\$&"):b}var rle=k0(function(b,T,E){return b+(E?"-":"")+T.toLowerCase()}),ile=k0(function(b,T,E){return b+(E?" ":"")+T.toLowerCase()}),ole=OI("toLowerCase");function ale(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;if(!T||H>=T)return b;var ae=(T-H)/2;return qy(Dy(ae),E)+b+qy(Vy(ae),E)}function sle(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;return T&&H>>0,E?(b=$n(b),b&&(typeof T=="string"||T!=null&&!bw(T))&&(T=ma(T),!T&&x0(b))?Oc(Es(b),0,E):b.split(T,E)):[]}var ple=k0(function(b,T,E){return b+(E?" ":"")+ww(T)});function vle(b,T,E){return b=$n(b),E=E==null?0:Rd(mn(E),0,b.length),T=ma(T),b.slice(E,E+T.length)==T}function gle(b,T,E){var H=pe.templateSettings;E&&Ro(b,T,E)&&(T=n),b=$n(b),T=fA({},T,H,EI);var ae=fA({},T.imports,H.imports,EI),me=bi(ae),be=F4(ae,me),Te,Fe,nt=0,it=T.interpolate||wy,st="__p += '",xt=X4((T.escape||wy).source+"|"+it.source+"|"+(it===y0?zte:wy).source+"|"+(T.evaluate||wy).source+"|$","g"),Ct="//# sourceURL="+(nr.call(T,"sourceURL")?(T.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mne+"]")+` +`)}function Bie(b){return fn(b)||wd(b)||!!(HC&&b&&b[HC])}function ku(b,T){var E=typeof b;return T=T??D,!!T&&(E=="number"||E!="symbol"&&ene.test(b))&&b>-1&&b%1==0&&b0){if(++T>=P)return arguments[0]}else T=0;return b.apply(n,arguments)}}function rA(b,T){var E=-1,H=b.length,ae=H-1;for(T=T===n?H:T;++E1?b[T-1]:n;return E=typeof E=="function"?(b.pop(),E):n,nN(b,E)});function rN(b){var T=ve(b);return T.__chain__=!0,T}function qoe(b,T){return T(b),b}function iA(b,T){return T(b)}var eae=Ou(function(b){var T=b.length,E=T?b[0]:0,H=this.__wrapped__,ae=function(me){return B4(me,b)};return T>1||this.__actions__.length||!(H instanceof Tn)||!ku(E)?this.thru(ae):(H=H.slice(E,+E+(T?1:0)),H.__actions__.push({func:iA,args:[ae],thisArg:n}),new $a(H,this.__chain__).thru(function(me){return T&&!me.length&&me.push(n),me}))});function tae(){return rN(this)}function nae(){return new $a(this.value(),this.__chain__)}function rae(){this.__values__===n&&(this.__values__=mN(this.value()));var b=this.__index__>=this.__values__.length,T=b?n:this.__values__[this.__index__++];return{done:b,value:T}}function iae(){return this}function oae(b){for(var T,E=this;E instanceof Yy;){var H=JI(E);H.__index__=0,H.__values__=n,T?ae.__wrapped__=H:T=H;var ae=H;E=E.__wrapped__}return ae.__wrapped__=b,T}function aae(){var b=this.__wrapped__;if(b instanceof Tn){var T=b;return this.__actions__.length&&(T=new Tn(this)),T=T.reverse(),T.__actions__.push({func:iA,args:[gw],thisArg:n}),new $a(T,this.__chain__)}return this.thru(gw)}function sae(){return AI(this.__wrapped__,this.__actions__)}var lae=Jy(function(b,T,E){nr.call(b,E)?++b[E]:Tu(b,E,1)});function uae(b,T,E){var H=fn(b)?CC:qre;return E&&Ro(b,T,E)&&(T=n),H(b,Vt(T,3))}function cae(b,T){var E=fn(b)?xc:nI;return E(b,Vt(T,3))}var fae=kI($I),dae=kI(jI);function hae(b,T){return Fi(oA(b,T),1)}function pae(b,T){return Fi(oA(b,T),W)}function vae(b,T,E){return E=E===n?1:mn(E),Fi(oA(b,T),E)}function iN(b,T){var E=fn(b)?za:Lc;return E(b,Vt(T,3))}function oN(b,T){var E=fn(b)?Nne:tI;return E(b,Vt(T,3))}var gae=Jy(function(b,T,E){nr.call(b,E)?b[E].push(T):Tu(b,E,[T])});function mae(b,T,E,H){b=Xo(b)?b:I0(b),E=E&&!H?mn(E):0;var ae=b.length;return E<0&&(E=di(ae+E,0)),cA(b)?E<=ae&&b.indexOf(T,E)>-1:!!ae&&b0(b,T,E)>-1}var yae=Rn(function(b,T,E){var H=-1,ae=typeof T=="function",me=Xo(b)?Qe(b.length):[];return Lc(b,function(be){me[++H]=ae?va(T,be,E):p1(be,T,E)}),me}),Aae=Jy(function(b,T,E){Tu(b,E,T)});function oA(b,T){var E=fn(b)?Mr:lI;return E(b,Vt(T,3))}function Rae(b,T,E,H){return b==null?[]:(fn(T)||(T=T==null?[]:[T]),E=H?n:E,fn(E)||(E=E==null?[]:[E]),dI(b,T,E))}var bae=Jy(function(b,T,E){b[E?0:1].push(T)},function(){return[[],[]]});function xae(b,T,E){var H=fn(b)?O4:EC,ae=arguments.length<3;return H(b,Vt(T,4),E,ae,Lc)}function Sae(b,T,E){var H=fn(b)?Fne:EC,ae=arguments.length<3;return H(b,Vt(T,4),E,ae,tI)}function wae(b,T){var E=fn(b)?xc:nI;return E(b,lA(Vt(T,3)))}function Mae(b){var T=fn(b)?$C:mie;return T(b)}function Lae(b,T,E){(E?Ro(b,T,E):T===n)?T=1:T=mn(T);var H=fn(b)?Gre:yie;return H(b,T)}function Tae(b){var T=fn(b)?zre:Rie;return T(b)}function _ae(b){if(b==null)return 0;if(Xo(b))return cA(b)?S0(b):b.length;var T=ji(b);return T==X||T==ue?b.size:G4(b).length}function Oae(b,T,E){var H=fn(b)?k4:bie;return E&&Ro(b,T,E)&&(T=n),H(b,Vt(T,3))}var kae=Rn(function(b,T){if(b==null)return[];var E=T.length;return E>1&&Ro(b,T[0],T[1])?T=[]:E>2&&Ro(T[0],T[1],T[2])&&(T=[T[0]]),dI(b,Fi(T,1),[])}),aA=cre||function(){return Ni.Date.now()};function Pae(b,T){if(typeof T!="function")throw new Ja(a);return b=mn(b),function(){if(--b<1)return T.apply(this,arguments)}}function aN(b,T,E){return T=E?n:T,T=b&&T==null?b.length:T,_u(b,L,n,n,n,n,T)}function sN(b,T){var E;if(typeof T!="function")throw new Ja(a);return b=mn(b),function(){return--b>0&&(E=T.apply(this,arguments)),b<=1&&(T=n),E}}var yw=Rn(function(b,T,E){var H=g;if(E.length){var ae=wc(E,P0(yw));H|=x}return _u(b,H,T,E,ae)}),lN=Rn(function(b,T,E){var H=g|m;if(E.length){var ae=wc(E,P0(lN));H|=x}return _u(T,H,b,E,ae)});function uN(b,T,E){T=E?n:T;var H=_u(b,R,n,n,n,n,n,T);return H.placeholder=uN.placeholder,H}function cN(b,T,E){T=E?n:T;var H=_u(b,A,n,n,n,n,n,T);return H.placeholder=cN.placeholder,H}function fN(b,T,E){var H,ae,me,be,Te,Fe,nt=0,it=!1,st=!1,xt=!0;if(typeof b!="function")throw new Ja(a);T=ts(T)||0,Nr(E)&&(it=!!E.leading,st="maxWait"in E,me=st?di(ts(E.maxWait)||0,T):me,xt="trailing"in E?!!E.trailing:xt);function Ct(jr){var Vs=H,Iu=ae;return H=ae=n,nt=jr,be=b.apply(Iu,Vs),be}function Ut(jr){return nt=jr,Te=A1(wn,T),it?Ct(jr):be}function yn(jr){var Vs=jr-Fe,Iu=jr-nt,kN=T-Vs;return st?$i(kN,me-Iu):kN}function Bt(jr){var Vs=jr-Fe,Iu=jr-nt;return Fe===n||Vs>=T||Vs<0||st&&Iu>=me}function wn(){var jr=aA();if(Bt(jr))return Pn(jr);Te=A1(wn,yn(jr))}function Pn(jr){return Te=n,xt&&H?Ct(jr):(H=ae=n,be)}function Aa(){Te!==n&&bI(Te),nt=0,H=Fe=ae=Te=n}function bo(){return Te===n?be:Pn(aA())}function Ra(){var jr=aA(),Vs=Bt(jr);if(H=arguments,ae=this,Fe=jr,Vs){if(Te===n)return Ut(Fe);if(st)return bI(Te),Te=A1(wn,T),Ct(Fe)}return Te===n&&(Te=A1(wn,T)),be}return Ra.cancel=Aa,Ra.flush=bo,Ra}var Cae=Rn(function(b,T){return eI(b,1,T)}),Iae=Rn(function(b,T,E){return eI(b,ts(T)||0,E)});function Nae(b){return _u(b,M)}function sA(b,T){if(typeof b!="function"||T!=null&&typeof T!="function")throw new Ja(a);var E=function(){var H=arguments,ae=T?T.apply(this,H):H[0],me=E.cache;if(me.has(ae))return me.get(ae);var be=b.apply(this,H);return E.cache=me.set(ae,be)||me,be};return E.cache=new(sA.Cache||Lu),E}sA.Cache=Lu;function lA(b){if(typeof b!="function")throw new Ja(a);return function(){var T=arguments;switch(T.length){case 0:return!b.call(this);case 1:return!b.call(this,T[0]);case 2:return!b.call(this,T[0],T[1]);case 3:return!b.call(this,T[0],T[1],T[2])}return!b.apply(this,T)}}function Fae(b){return sN(2,b)}var Eae=xie(function(b,T){T=T.length==1&&fn(T[0])?Mr(T[0],ga(Vt())):Mr(Fi(T,1),ga(Vt()));var E=T.length;return Rn(function(H){for(var ae=-1,me=$i(H.length,E);++ae=T}),wd=oI(function(){return arguments}())?oI:function(b){return Dr(b)&&nr.call(b,"callee")&&!QC.call(b,"callee")},fn=Qe.isArray,$ae=LC?ga(LC):oie;function Xo(b){return b!=null&&uA(b.length)&&!Pu(b)}function $r(b){return Dr(b)&&Xo(b)}function jae(b){return b===!0||b===!1||Dr(b)&&Ao(b)==G}var kc=dre||kw,qae=TC?ga(TC):aie;function ese(b){return Dr(b)&&b.nodeType===1&&!R1(b)}function tse(b){if(b==null)return!0;if(Xo(b)&&(fn(b)||typeof b=="string"||typeof b.splice=="function"||kc(b)||C0(b)||wd(b)))return!b.length;var T=ji(b);if(T==X||T==ue)return!b.size;if(y1(b))return!G4(b).length;for(var E in b)if(nr.call(b,E))return!1;return!0}function nse(b,T){return v1(b,T)}function rse(b,T,E){E=typeof E=="function"?E:n;var H=E?E(b,T):n;return H===n?v1(b,T,n,E):!!H}function Rw(b){if(!Dr(b))return!1;var T=Ao(b);return T==fe||T==ce||typeof b.message=="string"&&typeof b.name=="string"&&!R1(b)}function ise(b){return typeof b=="number"&&KC(b)}function Pu(b){if(!Nr(b))return!1;var T=Ao(b);return T==le||T==j||T==de||T==oe}function hN(b){return typeof b=="number"&&b==mn(b)}function uA(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=D}function Nr(b){var T=typeof b;return b!=null&&(T=="object"||T=="function")}function Dr(b){return b!=null&&typeof b=="object"}var pN=_C?ga(_C):lie;function ose(b,T){return b===T||K4(b,T,cw(T))}function ase(b,T,E){return E=typeof E=="function"?E:n,K4(b,T,cw(T),E)}function sse(b){return vN(b)&&b!=+b}function lse(b){if(Qie(b))throw new ln(o);return aI(b)}function use(b){return b===null}function cse(b){return b==null}function vN(b){return typeof b=="number"||Dr(b)&&Ao(b)==J}function R1(b){if(!Dr(b)||Ao(b)!=ee)return!1;var T=Ey(b);if(T===null)return!0;var E=nr.call(T,"constructor")&&T.constructor;return typeof E=="function"&&E instanceof E&&Cy.call(E)==are}var bw=OC?ga(OC):uie;function fse(b){return hN(b)&&b>=-D&&b<=D}var gN=kC?ga(kC):cie;function cA(b){return typeof b=="string"||!fn(b)&&Dr(b)&&Ao(b)==ge}function ya(b){return typeof b=="symbol"||Dr(b)&&Ao(b)==Re}var C0=PC?ga(PC):fie;function dse(b){return b===n}function hse(b){return Dr(b)&&ji(b)==Ne}function pse(b){return Dr(b)&&Ao(b)==He}var vse=eA(z4),gse=eA(function(b,T){return b<=T});function mN(b){if(!b)return[];if(Xo(b))return cA(b)?Es(b):Eo(b);if(s1&&b[s1])return Gne(b[s1]());var T=ji(b),E=T==X?E4:T==ue?Oy:I0;return E(b)}function Cu(b){if(!b)return b===0?b:0;if(b=ts(b),b===W||b===-W){var T=b<0?-1:1;return T*Z}return b===b?b:0}function mn(b){var T=Cu(b),E=T%1;return T===T?E?T-E:T:0}function yN(b){return b?Rd(mn(b),0,B):0}function ts(b){if(typeof b=="number")return b;if(ya(b))return re;if(Nr(b)){var T=typeof b.valueOf=="function"?b.valueOf():b;b=Nr(T)?T+"":T}if(typeof b!="string")return b===0?b:+b;b=XC(b);var E=$te.test(b);return E||qte.test(b)?Pne(b.slice(2),E?2:8):Jte.test(b)?re:+b}function AN(b){return wl(b,Wo(b))}function mse(b){return b?Rd(mn(b),-D,D):b===0?b:0}function $n(b){return b==null?"":ma(b)}var yse=O0(function(b,T){if(y1(T)||Xo(T)){wl(T,bi(T),b);return}for(var E in T)nr.call(T,E)&&d1(b,E,T[E])}),RN=O0(function(b,T){wl(T,Wo(T),b)}),fA=O0(function(b,T,E,H){wl(T,Wo(T),b,H)}),Ase=O0(function(b,T,E,H){wl(T,bi(T),b,H)}),Rse=Ou(B4);function bse(b,T){var E=_0(b);return T==null?E:jC(E,T)}var xse=Rn(function(b,T){b=ur(b);var E=-1,H=T.length,ae=H>2?T[2]:n;for(ae&&Ro(T[0],T[1],ae)&&(H=1);++E1),me}),wl(b,lw(b),E),H&&(E=ja(E,f|d|h,Iie));for(var ae=T.length;ae--;)ew(E,T[ae]);return E});function Dse(b,T){return xN(b,lA(Vt(T)))}var Use=Ou(function(b,T){return b==null?{}:pie(b,T)});function xN(b,T){if(b==null)return{};var E=Mr(lw(b),function(H){return[H]});return T=Vt(T),hI(b,E,function(H,ae){return T(H,ae[0])})}function Bse(b,T,E){T=_c(T,b);var H=-1,ae=T.length;for(ae||(ae=1,b=n);++HT){var H=b;b=T,T=H}if(E||b%1||T%1){var ae=GC();return $i(b+ae*(T-b+kne("1e-"+((ae+"").length-1))),T)}return $4(b,T)}var qse=k0(function(b,T,E){return T=T.toLowerCase(),b+(E?MN(T):T)});function MN(b){return ww($n(b).toLowerCase())}function LN(b){return b=$n(b),b&&b.replace(tne,Yne).replace(Rne,"")}function ele(b,T,E){b=$n(b),T=ma(T);var H=b.length;E=E===n?H:Rd(mn(E),0,H);var ae=E;return E-=T.length,E>=0&&b.slice(E,ae)==T}function tle(b){return b=$n(b),b&&Fs.test(b)?b.replace(Jt,Zne):b}function nle(b){return b=$n(b),b&&yo.test(b)?b.replace(A0,"\\$&"):b}var rle=k0(function(b,T,E){return b+(E?"-":"")+T.toLowerCase()}),ile=k0(function(b,T,E){return b+(E?" ":"")+T.toLowerCase()}),ole=OI("toLowerCase");function ale(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;if(!T||H>=T)return b;var ae=(T-H)/2;return qy(Dy(ae),E)+b+qy(Vy(ae),E)}function sle(b,T,E){b=$n(b),T=mn(T);var H=T?S0(b):0;return T&&H>>0,E?(b=$n(b),b&&(typeof T=="string"||T!=null&&!bw(T))&&(T=ma(T),!T&&x0(b))?Oc(Es(b),0,E):b.split(T,E)):[]}var ple=k0(function(b,T,E){return b+(E?" ":"")+ww(T)});function vle(b,T,E){return b=$n(b),E=E==null?0:Rd(mn(E),0,b.length),T=ma(T),b.slice(E,E+T.length)==T}function gle(b,T,E){var H=ve.templateSettings;E&&Ro(b,T,E)&&(T=n),b=$n(b),T=fA({},T,H,EI);var ae=fA({},T.imports,H.imports,EI),me=bi(ae),be=F4(ae,me),Te,Fe,nt=0,it=T.interpolate||wy,st="__p += '",xt=X4((T.escape||wy).source+"|"+it.source+"|"+(it===y0?zte:wy).source+"|"+(T.evaluate||wy).source+"|$","g"),Ct="//# sourceURL="+(nr.call(T,"sourceURL")?(T.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Mne+"]")+` `;b.replace(xt,function(Bt,wn,Pn,Aa,bo,Ra){return Pn||(Pn=Aa),st+=b.slice(nt,Ra).replace(nne,Qne),wn&&(Te=!0,st+=`' + __e(`+wn+`) + '`),bo&&(Fe=!0,st+=`'; @@ -52,18 +52,18 @@ __p += '`),Pn&&(st+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+st+`return __p -}`;var yn=_N(function(){return Qn(me,Ct+"return "+st).apply(n,be)});if(yn.source=st,Rw(yn))throw yn;return yn}function mle(b){return $n(b).toLowerCase()}function yle(b){return $n(b).toUpperCase()}function Ale(b,T,E){if(b=$n(b),b&&(E||T===n))return XC(b);if(!b||!(T=ma(T)))return b;var H=Es(b),ae=Es(T),me=WC(H,ae),be=VC(H,ae)+1;return Oc(H,me,be).join("")}function Rle(b,T,E){if(b=$n(b),b&&(E||T===n))return b.slice(0,UC(b)+1);if(!b||!(T=ma(T)))return b;var H=Es(b),ae=VC(H,Es(T))+1;return Oc(H,0,ae).join("")}function ble(b,T,E){if(b=$n(b),b&&(E||T===n))return b.replace(Ka,"");if(!b||!(T=ma(T)))return b;var H=Es(b),ae=WC(H,Es(T));return Oc(H,ae).join("")}function xle(b,T){var E=_,H=P;if(Nr(T)){var ae="separator"in T?T.separator:ae;E="length"in T?mn(T.length):E,H="omission"in T?ma(T.omission):H}b=$n(b);var me=b.length;if(x0(b)){var be=Es(b);me=be.length}if(E>=me)return b;var Te=E-S0(H);if(Te<1)return H;var Fe=be?Oc(be,0,Te).join(""):b.slice(0,Te);if(ae===n)return Fe+H;if(be&&(Te+=Fe.length-Te),bw(ae)){if(b.slice(Te).search(ae)){var nt,it=Fe;for(ae.global||(ae=X4(ae.source,$n(oC.exec(ae))+"g")),ae.lastIndex=0;nt=ae.exec(it);)var st=nt.index;Fe=Fe.slice(0,st===n?Te:st)}}else if(b.indexOf(ma(ae),Te)!=Te){var xt=Fe.lastIndexOf(ae);xt>-1&&(Fe=Fe.slice(0,xt))}return Fe+H}function Sle(b){return b=$n(b),b&&Zn.test(b)?b.replace(Dt,jne):b}var wle=k0(function(b,T,E){return b+(E?" ":"")+T.toUpperCase()}),ww=OI("toUpperCase");function TN(b,T,E){return b=$n(b),T=E?n:T,T===n?Kne(b)?tre(b):Wne(b):b.match(T)||[]}var _N=Rn(function(b,T){try{return va(b,n,T)}catch(E){return Rw(E)?E:new ln(E)}}),Mle=Ou(function(b,T){return za(T,function(E){E=Ml(E),Tu(b,E,yw(b[E],b))}),b});function Lle(b){var T=b==null?0:b.length,E=Vt();return b=T?Mr(b,function(H){if(typeof H[1]!="function")throw new Ja(a);return[E(H[0]),H[1]]}):[],Rn(function(H){for(var ae=-1;++aeD)return[];var E=B,H=$i(b,B);T=Vt(T),b-=B;for(var ae=N4(H,T);++E0||T<0)?new Tn(E):(b<0?E=E.takeRight(-b):b&&(E=E.drop(b)),T!==n&&(T=mn(T),E=T<0?E.dropRight(-T):E.take(T-b)),E)},Tn.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},Tn.prototype.toArray=function(){return this.take(B)},Sl(Tn.prototype,function(b,T){var E=/^(?:filter|find|map|reject)|While$/.test(T),H=/^(?:head|last)$/.test(T),ae=pe[H?"take"+(T=="last"?"Right":""):T],me=H||/^find/.test(T);ae&&(pe.prototype[T]=function(){var be=this.__wrapped__,Te=H?[1]:arguments,Fe=be instanceof Tn,nt=Te[0],it=Fe||fn(be),st=function(wn){var Pn=ae.apply(pe,Sc([wn],Te));return H&&xt?Pn[0]:Pn};it&&E&&typeof nt=="function"&&nt.length!=1&&(Fe=it=!1);var xt=this.__chain__,Ct=!!this.__actions__.length,Ut=me&&!xt,yn=Fe&&!Ct;if(!me&&it){be=yn?be:new Tn(this);var Bt=b.apply(be,Te);return Bt.__actions__.push({func:iA,args:[st],thisArg:n}),new $a(Bt,xt)}return Ut&&yn?b.apply(this,Te):(Bt=this.thru(st),Ut?H?Bt.value()[0]:Bt.value():Bt)})}),za(["pop","push","shift","sort","splice","unshift"],function(b){var T=ky[b],E=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",H=/^(?:pop|shift)$/.test(b);pe.prototype[b]=function(){var ae=arguments;if(H&&!this.__chain__){var me=this.value();return T.apply(fn(me)?me:[],ae)}return this[E](function(be){return T.apply(fn(be)?be:[],ae)})}}),Sl(Tn.prototype,function(b,T){var E=pe[T];if(E){var H=E.name+"";nr.call(T0,H)||(T0[H]=[]),T0[H].push({name:T,func:E})}}),T0[$y(n,m).name]=[{name:"wrapper",func:n}],Tn.prototype.clone=Sre,Tn.prototype.reverse=wre,Tn.prototype.value=Mre,pe.prototype.at=eae,pe.prototype.chain=tae,pe.prototype.commit=nae,pe.prototype.next=rae,pe.prototype.plant=oae,pe.prototype.reverse=aae,pe.prototype.toJSON=pe.prototype.valueOf=pe.prototype.value=sae,pe.prototype.first=pe.prototype.head,s1&&(pe.prototype[s1]=iae),pe},w0=nre();gd?((gd.exports=w0)._=w0,L4._=w0):Ni._=w0}).call(Xt)})(cx,cx.exports);var Yn=cx.exports;const ut=E2("slides",{state:()=>({title:"未命名演示文稿",theme:{themeColor:"#5b9bd5",fontColor:"#333",fontName:"",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},slides:[],slideIndex:0,viewportSize:1e3,viewportRatio:.5625,_layouts:[]}),getters:{currentSlide(e){return e.slides[e.slideIndex]},currentSlideAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(i=>i.id);return t.animations.filter(i=>r.includes(i.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),i=t.animations.filter(a=>r.includes(a.elId)),o=[];for(const a of i)if(a.trigger==="click"||!o.length)o.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=o[o.length-1];s.animations=s.animations.filter(l=>l.elId!==a.elId),s.animations.push(a),o[o.length-1]=s}else if(a.trigger==="auto"){const s=o[o.length-1];s.autoNext=!0,o[o.length-1]=s,o.push({animations:[a],autoNext:!1})}return o},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:i}=e.theme,o=at(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(e._layouts).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,i).replace(/{{subColor}}/g,o);return JSON.parse(a)}},actions:{setTitle(e){e?this.title=e:this.title="未命名演示文稿"},setTheme(e){this.theme={...this.theme,...e}},setViewportSize(e){this.viewportSize=e},setViewportRatio(e){this.viewportRatio=e},setSlides(e){this.slides=e},setLayouts(e){this._layouts=e},addSlide(e){const t=Array.isArray(e)?e:[e];for(const r of t)r.sectionTag&&delete r.sectionTag;const n=this.slideIndex+1;this.slides.splice(n,0,...t),this.slideIndex=n},updateSlide(e,t){const n=t?this.slides.findIndex(r=>r.id===t):this.slideIndex;this.slides[n]={...this.slides[n],...e}},removeSlideProps(e){const{id:t,propName:n}=e,r=this.slides.map(i=>i.id===t?Yn.omit(i,n):i);this.slides=r},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=JSON.parse(JSON.stringify(this.slides)),r=[];for(const a of t){const s=n.findIndex(u=>u.id===a);r.push(s);const l=n[s].sectionTag;if(l){const u=n[s+1];u&&!u.sectionTag&&(delete n[s].sectionTag,n[s+1].sectionTag=l)}n.splice(s,1)}let i=Math.min(...r);const o=n.length-1;i>o&&(i=o),this.slideIndex=i,this.slides=n},updateSlideIndex(e){this.slideIndex=e},addElement(e){const t=Array.isArray(e)?e:[e],r=[...this.slides[this.slideIndex].elements,...t];this.slides[this.slideIndex].elements=r},deleteElement(e){const t=Array.isArray(e)?e:[e],r=this.slides[this.slideIndex].elements.filter(i=>!t.includes(i.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,i=typeof t=="string"?[t]:t,o=r?this.slides.findIndex(l=>l.id===r):this.slideIndex,s=this.slides[o].elements.map(l=>i.includes(l.id)?{...l,...n}:l);this.slides[o].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,i=this.slideIndex,a=this.slides[i].elements.map(s=>s.id===t?Yn.omit(s,r):s);this.slides[i].elements=a}}}),P0e=Fde("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),bQ=P0e(10),ht=E2("main",{state:()=>({activeElementIdList:[],handleElementId:"",activeGroupElementId:"",hiddenElementIdList:[],canvasPercentage:90,canvasScale:1,canvasDragged:!1,thumbnailsFocus:!1,editorAreaFocus:!1,disableHotkeys:!1,gridLineSize:0,showRuler:!1,creatingElement:null,creatingCustomShape:!1,toolbarState:qr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:a0e,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:bQ,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1,showMarkupPanel:!1,showAIPPTDialog:!1}),getters:{activeElementList(e){const n=ut().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=ut().currentSlide;return!n||!n.elements?null:n.elements.find(r=>e.handleElementId===r.id)||null}},actions:{setActiveElementIdList(e){e.length===1?this.handleElementId=e[0]:this.handleElementId="",this.activeElementIdList=e},setHandleElementId(e){this.handleElementId=e},setActiveGroupElementId(e){this.activeGroupElementId=e},setHiddenElementIdList(e){this.hiddenElementIdList=e},setCanvasPercentage(e){this.canvasPercentage=e},setCanvasScale(e){this.canvasScale=e},setCanvasDragged(e){this.canvasDragged=e},setThumbnailsFocus(e){this.thumbnailsFocus=e},setEditorareaFocus(e){this.editorAreaFocus=e},setDisableHotkeysState(e){this.disableHotkeys=e},setGridLineSize(e){this.gridLineSize=e},setRulerState(e){this.showRuler=e},setCreatingElement(e){this.creatingElement=e},setCreatingCustomShapeState(e){this.creatingCustomShape=e},setToolbarState(e){this.toolbarState=e},setClipingImageElementId(e){this.clipingImageElementId=e},setRichtextAttrs(e){this.richTextAttrs=e},setSelectedTableCells(e){this.selectedTableCells=e},setScalingState(e){this.isScaling=e},updateSelectedSlidesIndex(e){this.selectedSlidesIndex=e},setDialogForExport(e){this.dialogForExport=e},setTextFormatPainter(e){this.textFormatPainter=e},setShapeFormatPainter(e){this.shapeFormatPainter=e},setSelectPanelState(e){this.showSelectPanel=e},setSearchPanelState(e){this.showSearchPanel=e},setNotesPanelState(e){this.showNotesPanel=e},setMarkupPanelState(e){this.showMarkupPanel=e},setAIPPTDialogState(e){this.showAIPPTDialog=e}}});var gr=function(){return gr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var i in e)Ts(e,i)&&(t[i]=Zm(e[i]))}return t}var V0e={}.toString;function $8(e){return V0e.call(e).slice(8,-1)}var j8=function(e,t){return t==="Array"?""+e.map(function(n){return j8(n,$8(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function wO(e,t,n,r){return n=n||{},r=r||"",zi(e).forEach(function(i){if(!Ts(t,i))n[r+i]=void 0;else{var o=e[i],a=t[i];if(typeof o=="object"&&typeof a=="object"&&o&&a){var s=$8(o),l=$8(a);s===l?W0e[s]?j8(o,s)!==j8(a,l)&&(n[r+i]=t[i]):wO(o,a,n,r+i+"."):n[r+i]=t[i]}else o!==a&&(n[r+i]=t[i])}}),zi(t).forEach(function(i){Ts(e,i)||(n[r+i]=t[i])}),n}var K7=typeof Symbol<"u"&&Symbol.iterator,D0e=K7?function(e){var t;return e!=null&&(t=e[K7])&&t.apply(e)}:function(){return null},dp={};function Ju(e){var t,n,r,i;if(arguments.length===1){if(Po(e))return e.slice();if(this===dp&&typeof e=="string")return[e];if(i=D0e(e)){for(n=[];r=i.next(),!r.done;)n.push(r.value);return n}if(e==null)return[e];if(t=e.length,typeof t=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var PQ=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},bu=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function CQ(e,t){bu=e,IQ=t}var IQ=function(){return!0},U0e=!new Error("").stack;function Bv(){if(U0e)try{throw new Error}catch(e){return e}return new Error}function q8(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` +}`;var yn=_N(function(){return Qn(me,Ct+"return "+st).apply(n,be)});if(yn.source=st,Rw(yn))throw yn;return yn}function mle(b){return $n(b).toLowerCase()}function yle(b){return $n(b).toUpperCase()}function Ale(b,T,E){if(b=$n(b),b&&(E||T===n))return XC(b);if(!b||!(T=ma(T)))return b;var H=Es(b),ae=Es(T),me=WC(H,ae),be=VC(H,ae)+1;return Oc(H,me,be).join("")}function Rle(b,T,E){if(b=$n(b),b&&(E||T===n))return b.slice(0,UC(b)+1);if(!b||!(T=ma(T)))return b;var H=Es(b),ae=VC(H,Es(T))+1;return Oc(H,0,ae).join("")}function ble(b,T,E){if(b=$n(b),b&&(E||T===n))return b.replace(Ka,"");if(!b||!(T=ma(T)))return b;var H=Es(b),ae=WC(H,Es(T));return Oc(H,ae).join("")}function xle(b,T){var E=_,H=k;if(Nr(T)){var ae="separator"in T?T.separator:ae;E="length"in T?mn(T.length):E,H="omission"in T?ma(T.omission):H}b=$n(b);var me=b.length;if(x0(b)){var be=Es(b);me=be.length}if(E>=me)return b;var Te=E-S0(H);if(Te<1)return H;var Fe=be?Oc(be,0,Te).join(""):b.slice(0,Te);if(ae===n)return Fe+H;if(be&&(Te+=Fe.length-Te),bw(ae)){if(b.slice(Te).search(ae)){var nt,it=Fe;for(ae.global||(ae=X4(ae.source,$n(oC.exec(ae))+"g")),ae.lastIndex=0;nt=ae.exec(it);)var st=nt.index;Fe=Fe.slice(0,st===n?Te:st)}}else if(b.indexOf(ma(ae),Te)!=Te){var xt=Fe.lastIndexOf(ae);xt>-1&&(Fe=Fe.slice(0,xt))}return Fe+H}function Sle(b){return b=$n(b),b&&Zn.test(b)?b.replace(Dt,jne):b}var wle=k0(function(b,T,E){return b+(E?" ":"")+T.toUpperCase()}),ww=OI("toUpperCase");function TN(b,T,E){return b=$n(b),T=E?n:T,T===n?Kne(b)?tre(b):Wne(b):b.match(T)||[]}var _N=Rn(function(b,T){try{return va(b,n,T)}catch(E){return Rw(E)?E:new ln(E)}}),Mle=Ou(function(b,T){return za(T,function(E){E=Ml(E),Tu(b,E,yw(b[E],b))}),b});function Lle(b){var T=b==null?0:b.length,E=Vt();return b=T?Mr(b,function(H){if(typeof H[1]!="function")throw new Ja(a);return[E(H[0]),H[1]]}):[],Rn(function(H){for(var ae=-1;++aeD)return[];var E=B,H=$i(b,B);T=Vt(T),b-=B;for(var ae=N4(H,T);++E0||T<0)?new Tn(E):(b<0?E=E.takeRight(-b):b&&(E=E.drop(b)),T!==n&&(T=mn(T),E=T<0?E.dropRight(-T):E.take(T-b)),E)},Tn.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},Tn.prototype.toArray=function(){return this.take(B)},Sl(Tn.prototype,function(b,T){var E=/^(?:filter|find|map|reject)|While$/.test(T),H=/^(?:head|last)$/.test(T),ae=ve[H?"take"+(T=="last"?"Right":""):T],me=H||/^find/.test(T);ae&&(ve.prototype[T]=function(){var be=this.__wrapped__,Te=H?[1]:arguments,Fe=be instanceof Tn,nt=Te[0],it=Fe||fn(be),st=function(wn){var Pn=ae.apply(ve,Sc([wn],Te));return H&&xt?Pn[0]:Pn};it&&E&&typeof nt=="function"&&nt.length!=1&&(Fe=it=!1);var xt=this.__chain__,Ct=!!this.__actions__.length,Ut=me&&!xt,yn=Fe&&!Ct;if(!me&&it){be=yn?be:new Tn(this);var Bt=b.apply(be,Te);return Bt.__actions__.push({func:iA,args:[st],thisArg:n}),new $a(Bt,xt)}return Ut&&yn?b.apply(this,Te):(Bt=this.thru(st),Ut?H?Bt.value()[0]:Bt.value():Bt)})}),za(["pop","push","shift","sort","splice","unshift"],function(b){var T=ky[b],E=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",H=/^(?:pop|shift)$/.test(b);ve.prototype[b]=function(){var ae=arguments;if(H&&!this.__chain__){var me=this.value();return T.apply(fn(me)?me:[],ae)}return this[E](function(be){return T.apply(fn(be)?be:[],ae)})}}),Sl(Tn.prototype,function(b,T){var E=ve[T];if(E){var H=E.name+"";nr.call(T0,H)||(T0[H]=[]),T0[H].push({name:T,func:E})}}),T0[$y(n,m).name]=[{name:"wrapper",func:n}],Tn.prototype.clone=Sre,Tn.prototype.reverse=wre,Tn.prototype.value=Mre,ve.prototype.at=eae,ve.prototype.chain=tae,ve.prototype.commit=nae,ve.prototype.next=rae,ve.prototype.plant=oae,ve.prototype.reverse=aae,ve.prototype.toJSON=ve.prototype.valueOf=ve.prototype.value=sae,ve.prototype.first=ve.prototype.head,s1&&(ve.prototype[s1]=iae),ve},w0=nre();gd?((gd.exports=w0)._=w0,L4._=w0):Ni._=w0}).call(Xt)})(cx,cx.exports);var Yn=cx.exports;const ut=E2("slides",{state:()=>({title:"未命名演示文稿",theme:{themeColor:"#5b9bd5",fontColor:"#333",fontName:"",backgroundColor:"#fff",shadow:{h:3,v:3,blur:2,color:"#808080"},outline:{width:2,color:"#525252",style:"solid"}},slides:[],slideIndex:0,viewportSize:1e3,viewportRatio:.5625,_layouts:[]}),getters:{currentSlide(e){return e.slides[e.slideIndex]},currentSlideAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(i=>i.id);return t.animations.filter(i=>r.includes(i.elId))},formatedAnimations(e){const t=e.slides[e.slideIndex];if(!(t!=null&&t.animations))return[];const r=t.elements.map(a=>a.id),i=t.animations.filter(a=>r.includes(a.elId)),o=[];for(const a of i)if(a.trigger==="click"||!o.length)o.push({animations:[a],autoNext:!1});else if(a.trigger==="meantime"){const s=o[o.length-1];s.animations=s.animations.filter(l=>l.elId!==a.elId),s.animations.push(a),o[o.length-1]=s}else if(a.trigger==="auto"){const s=o[o.length-1];s.autoNext=!0,o[o.length-1]=s,o.push({animations:[a],autoNext:!1})}return o},layouts(e){const{themeColor:t,fontColor:n,fontName:r,backgroundColor:i}=e.theme,o=at(n).isDark()?"rgba(230, 230, 230, 0.5)":"rgba(180, 180, 180, 0.5)",a=JSON.stringify(e._layouts).replace(/{{themeColor}}/g,t).replace(/{{fontColor}}/g,n).replace(/{{fontName}}/g,r).replace(/{{backgroundColor}}/g,i).replace(/{{subColor}}/g,o);return JSON.parse(a)}},actions:{setTitle(e){e?this.title=e:this.title="未命名演示文稿"},setTheme(e){this.theme={...this.theme,...e}},setViewportSize(e){this.viewportSize=e},setViewportRatio(e){this.viewportRatio=e},setSlides(e){this.slides=e},setLayouts(e){this._layouts=e},addSlide(e){const t=Array.isArray(e)?e:[e];for(const r of t)r.sectionTag&&delete r.sectionTag;const n=this.slideIndex+1;this.slides.splice(n,0,...t),this.slideIndex=n},updateSlide(e,t){const n=t?this.slides.findIndex(r=>r.id===t):this.slideIndex;this.slides[n]={...this.slides[n],...e}},removeSlideProps(e){const{id:t,propName:n}=e,r=this.slides.map(i=>i.id===t?Yn.omit(i,n):i);this.slides=r},deleteSlide(e){const t=Array.isArray(e)?e:[e],n=JSON.parse(JSON.stringify(this.slides)),r=[];for(const a of t){const s=n.findIndex(u=>u.id===a);r.push(s);const l=n[s].sectionTag;if(l){const u=n[s+1];u&&!u.sectionTag&&(delete n[s].sectionTag,n[s+1].sectionTag=l)}n.splice(s,1)}let i=Math.min(...r);const o=n.length-1;i>o&&(i=o),this.slideIndex=i,this.slides=n},updateSlideIndex(e){this.slideIndex=e},addElement(e){const t=Array.isArray(e)?e:[e],r=[...this.slides[this.slideIndex].elements,...t];this.slides[this.slideIndex].elements=r},deleteElement(e){const t=Array.isArray(e)?e:[e],r=this.slides[this.slideIndex].elements.filter(i=>!t.includes(i.id));this.slides[this.slideIndex].elements=r},updateElement(e){const{id:t,props:n,slideId:r}=e,i=typeof t=="string"?[t]:t,o=r?this.slides.findIndex(l=>l.id===r):this.slideIndex,s=this.slides[o].elements.map(l=>i.includes(l.id)?{...l,...n}:l);this.slides[o].elements=s},removeElementProps(e){const{id:t,propName:n}=e,r=typeof n=="string"?[n]:n,i=this.slideIndex,a=this.slides[i].elements.map(s=>s.id===t?Yn.omit(s,r):s);this.slides[i].elements=a}}}),P0e=Fde("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),bQ=P0e(10),ht=E2("main",{state:()=>({activeElementIdList:[],handleElementId:"",activeGroupElementId:"",hiddenElementIdList:[],canvasPercentage:90,canvasScale:1,canvasDragged:!1,thumbnailsFocus:!1,editorAreaFocus:!1,disableHotkeys:!1,gridLineSize:0,showRuler:!1,creatingElement:null,creatingCustomShape:!1,toolbarState:qr.SLIDE_DESIGN,clipingImageElementId:"",richTextAttrs:a0e,selectedTableCells:[],isScaling:!1,selectedSlidesIndex:[],dialogForExport:"",databaseId:bQ,textFormatPainter:null,shapeFormatPainter:null,showSelectPanel:!1,showSearchPanel:!1,showNotesPanel:!1,showMarkupPanel:!1,showAIPPTDialog:!1}),getters:{activeElementList(e){const n=ut().currentSlide;return!n||!n.elements?[]:n.elements.filter(r=>e.activeElementIdList.includes(r.id))},handleElement(e){const n=ut().currentSlide;return!n||!n.elements?null:n.elements.find(r=>e.handleElementId===r.id)||null}},actions:{setActiveElementIdList(e){e.length===1?this.handleElementId=e[0]:this.handleElementId="",this.activeElementIdList=e},setHandleElementId(e){this.handleElementId=e},setActiveGroupElementId(e){this.activeGroupElementId=e},setHiddenElementIdList(e){this.hiddenElementIdList=e},setCanvasPercentage(e){this.canvasPercentage=e},setCanvasScale(e){this.canvasScale=e},setCanvasDragged(e){this.canvasDragged=e},setThumbnailsFocus(e){this.thumbnailsFocus=e},setEditorareaFocus(e){this.editorAreaFocus=e},setDisableHotkeysState(e){this.disableHotkeys=e},setGridLineSize(e){this.gridLineSize=e},setRulerState(e){this.showRuler=e},setCreatingElement(e){this.creatingElement=e},setCreatingCustomShapeState(e){this.creatingCustomShape=e},setToolbarState(e){this.toolbarState=e},setClipingImageElementId(e){this.clipingImageElementId=e},setRichtextAttrs(e){this.richTextAttrs=e},setSelectedTableCells(e){this.selectedTableCells=e},setScalingState(e){this.isScaling=e},updateSelectedSlidesIndex(e){this.selectedSlidesIndex=e},setDialogForExport(e){this.dialogForExport=e},setTextFormatPainter(e){this.textFormatPainter=e},setShapeFormatPainter(e){this.shapeFormatPainter=e},setSelectPanelState(e){this.showSelectPanel=e},setSearchPanelState(e){this.showSearchPanel=e},setNotesPanelState(e){this.showNotesPanel=e},setMarkupPanelState(e){this.showMarkupPanel=e},setAIPPTDialogState(e){this.showAIPPTDialog=e}}});var gr=function(){return gr=Object.assign||function(t){for(var n,r=1,i=arguments.length;r=0)t=e;else{t=e.constructor?Object.create(e.constructor.prototype):{};for(var i in e)Ts(e,i)&&(t[i]=Zm(e[i]))}return t}var V0e={}.toString;function $8(e){return V0e.call(e).slice(8,-1)}var j8=function(e,t){return t==="Array"?""+e.map(function(n){return j8(n,$8(n))}):t==="ArrayBuffer"?""+new Uint8Array(e):t==="Date"?e.getTime():ArrayBuffer.isView(e)?""+new Uint8Array(e.buffer):e};function wO(e,t,n,r){return n=n||{},r=r||"",zi(e).forEach(function(i){if(!Ts(t,i))n[r+i]=void 0;else{var o=e[i],a=t[i];if(typeof o=="object"&&typeof a=="object"&&o&&a){var s=$8(o),l=$8(a);s===l?W0e[s]?j8(o,s)!==j8(a,l)&&(n[r+i]=t[i]):wO(o,a,n,r+i+"."):n[r+i]=t[i]}else o!==a&&(n[r+i]=t[i])}}),zi(t).forEach(function(i){Ts(e,i)||(n[r+i]=t[i])}),n}var K7=typeof Symbol<"u"&&Symbol.iterator,D0e=K7?function(e){var t;return e!=null&&(t=e[K7])&&t.apply(e)}:function(){return null},dp={};function Ju(e){var t,n,r,i;if(arguments.length===1){if(Po(e))return e.slice();if(this===dp&&typeof e=="string")return[e];if(i=D0e(e)){for(n=[];r=i.next(),!r.done;)n.push(r.value);return n}if(e==null)return[e];if(t=e.length,typeof t=="number"){for(n=new Array(t);t--;)n[t]=e[t];return n}return[e]}for(t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return n}var PQ=typeof Symbol<"u"?function(e){return e[Symbol.toStringTag]==="AsyncFunction"}:function(){return!1},bu=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function CQ(e,t){bu=e,IQ=t}var IQ=function(){return!0},U0e=!new Error("").stack;function Bv(){if(U0e)try{throw new Error}catch(e){return e}return new Error}function q8(e,t){var n=e.stack;return n?(t=t||0,n.indexOf(e.name)===0&&(t+=(e.name+e.message).split(` `).length),n.split(` `).slice(t).filter(IQ).map(function(r){return` `+r}).join("")):""}var B0e=["Modify","Bulk","OpenFailed","VersionChange","Schema","Upgrade","InvalidTable","MissingAPI","NoSuchDatabase","InvalidArgument","SubTransaction","Unsupported","Internal","DatabaseClosed","PrematureCommit","ForeignAwait"],NQ=["Unknown","Constraint","Data","TransactionInactive","ReadOnly","Version","NotFound","InvalidState","InvalidAccess","Abort","Timeout","QuotaExceeded","Syntax","DataClone"],MO=B0e.concat(NQ),Y0e={VersionChanged:"Database version changed by other database connection",DatabaseClosed:"Database has been closed",Abort:"Transaction aborted",TransactionInactive:"Transaction has already completed or failed"};function Yv(e,t){this._e=Bv(),this.name=e,this.message=t}Uv(Yv).from(Error).extend({stack:{get:function(){return this._stack||(this._stack=this.name+": "+this.message+q8(this._e,2))}},toString:function(){return this.name+": "+this.message}});function FQ(e,t){return e+". Errors: "+Object.keys(t).map(function(n){return t[n].toString()}).filter(function(n,r,i){return i.indexOf(n)===r}).join(` `)}function fx(e,t,n,r){this._e=Bv(),this.failures=t,this.failedKeys=r,this.successCount=n,this.message=FQ(e,t)}Uv(fx).from(Yv);function Gg(e,t){this._e=Bv(),this.name="BulkError",this.failures=t,this.message=FQ(e,t)}Uv(Gg).from(Yv);var Z0e=MO.reduce(function(e,t){return e[t]=t+"Error",e},{}),Q0e=Yv,an=MO.reduce(function(e,t){var n=t+"Error";function r(i,o){this._e=Bv(),this.name=n,i?typeof i=="string"?(this.message=""+i+(o?` `+o:""),this.inner=o||null):typeof i=="object"&&(this.message=i.name+" "+i.message,this.inner=i):(this.message=Y0e[t]||n,this.inner=null)}return Uv(r).from(Q0e),e[t]=r,e},{});an.Syntax=SyntaxError;an.Type=TypeError;an.Range=RangeError;var G7=NQ.reduce(function(e,t){return e[t+"Error"]=an[t],e},{});function H0e(e,t){if(!e||e instanceof Yv||e instanceof TypeError||e instanceof SyntaxError||!e.name||!G7[e.name])return e;var n=new G7[e.name](t||e.message,e);return"stack"in e&&cc(n,"stack",{get:function(){return this.inner.stack}}),n}var GS=MO.reduce(function(e,t){return["Syntax","Type","Range"].indexOf(t)===-1&&(e[t+"Error"]=an[t]),e},{});GS.ModifyError=fx;GS.DexieError=Yv;GS.BulkError=Gg;function yr(){}function W2(e){return e}function K0e(e,t){return e==null||e===W2?t:function(n){return t(e(n))}}function Qh(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function G0e(e,t){return e===yr?t:function(){var n=e.apply(this,arguments);n!==void 0&&(arguments[0]=n);var r=this.onsuccess,i=this.onerror;this.onsuccess=null,this.onerror=null;var o=t.apply(this,arguments);return r&&(this.onsuccess=this.onsuccess?Qh(r,this.onsuccess):r),i&&(this.onerror=this.onerror?Qh(i,this.onerror):i),o!==void 0?o:n}}function z0e(e,t){return e===yr?t:function(){e.apply(this,arguments);var n=this.onsuccess,r=this.onerror;this.onsuccess=this.onerror=null,t.apply(this,arguments),n&&(this.onsuccess=this.onsuccess?Qh(n,this.onsuccess):n),r&&(this.onerror=this.onerror?Qh(r,this.onerror):r)}}function J0e(e,t){return e===yr?t:function(n){var r=e.apply(this,arguments);Ls(n,r);var i=this.onsuccess,o=this.onerror;this.onsuccess=null,this.onerror=null;var a=t.apply(this,arguments);return i&&(this.onsuccess=this.onsuccess?Qh(i,this.onsuccess):i),o&&(this.onerror=this.onerror?Qh(o,this.onerror):o),r===void 0?a===void 0?void 0:a:Ls(r,a)}}function $0e(e,t){return e===yr?t:function(){return t.apply(this,arguments)===!1?!1:e.apply(this,arguments)}}function EQ(e,t){return e===yr?t:function(){var n=e.apply(this,arguments);if(n&&typeof n.then=="function"){for(var r=this,i=arguments.length,o=new Array(i);i--;)o[i]=arguments[i];return n.then(function(){return t.apply(r,o)})}return t.apply(this,arguments)}}var Qm={},j0e=100,q0e=20,XQ=100,LO=typeof Promise>"u"?[]:function(){var e=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[e,e.__proto__,e];var t=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[t,t.__proto__,e]}(),eT=LO[0],dx=LO[1],tT=LO[2],WQ=dx&&dx.then,qR=eT&&eT.constructor,TO=!!tT,nT=!1,epe=tT?function(){tT.then(_A)}:xr.setImmediate?setImmediate.bind(null,_A):xr.MutationObserver?function(){var e=document.createElement("div");new MutationObserver(function(){_A(),e=null}).observe(e,{attributes:!0}),e.setAttribute("i","1")}:function(){setTimeout(_A,0)},Hm=function(e,t){fg.push([e,t]),hx&&(epe(),hx=!1)},rT=!0,hx=!0,_h=[],eb=[],iT=null,oT=W2,jp={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:$7,pgp:!1,env:{},finalize:function(){this.unhandleds.forEach(function(e){try{$7(e[0],e[1])}catch{}})}},Yt=jp,fg=[],Oh=0,tb=[];function Tt(e){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this.onuncatched=yr,this._lib=!1;var t=this._PSD=Yt;if(bu&&(this._stackHolder=Bv(),this._prev=null,this._numPrev=0),typeof e!="function"){if(e!==Qm)throw new TypeError("Not a function");this._state=arguments[1],this._value=arguments[2],this._state===!1&&sT(this,this._value);return}this._state=null,this._value=null,++t.ref,DQ(this,e)}var aT={get:function(){var e=Yt,t=px;function n(r,i){var o=this,a=!e.global&&(e!==Yt||t!==px),s=a&&!Kh(),l=new Tt(function(u,c){_O(o,new VQ(gx(r,e,a,s),gx(i,e,a,s),u,c,e))});return bu&&YQ(l,this),l}return n.prototype=Qm,n},set:function(e){cc(this,"then",e&&e.prototype===Qm?aT:{get:function(){return e},set:aT.set})}};Ym(Tt.prototype,{then:aT,_then:function(e,t){_O(this,new VQ(null,null,e,t,Yt))},catch:function(e){if(arguments.length===1)return this.then(null,e);var t=arguments[0],n=arguments[1];return typeof t=="function"?this.then(null,function(r){return r instanceof t?n(r):nb(r)}):this.then(null,function(r){return r&&r.name===t?n(r):nb(r)})},finally:function(e){return this.then(function(t){return e(),t},function(t){return e(),nb(t)})},stack:{get:function(){if(this._stack)return this._stack;try{nT=!0;var e=BQ(this,[],q0e),t=e.join(` -From previous: `);return this._state!==null&&(this._stack=t),t}finally{nT=!1}}},timeout:function(e,t){var n=this;return e<1/0?new Tt(function(r,i){var o=setTimeout(function(){return i(new an.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,o))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&cc(Tt.prototype,Symbol.toStringTag,"Dexie.Promise");jp.env=ZQ();function VQ(e,t,n,r,i){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=i}Ym(Tt,{all:function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(i,o){return Tt.resolve(i).then(function(a){e[o]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof Tt)return e;if(e&&typeof e.then=="function")return new Tt(function(n,r){e.then(n,r)});var t=new Tt(Qm,!0,e);return YQ(t,iT),t},reject:nb,race:function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.map(function(r){return Tt.resolve(r).then(t,n)})})},PSD:{get:function(){return Yt},set:function(e){return Yt=e}},totalEchoes:{get:function(){return px}},newPSD:Hh,usePSD:B2,scheduler:{get:function(){return Hm},set:function(e){Hm=e}},rejectionMapper:{get:function(){return oT},set:function(e){oT=e}},follow:function(e,t){return new Tt(function(n,r){return Hh(function(i,o){var a=Yt;a.unhandleds=[],a.onunhandled=o,a.finalize=Qh(function(){var s=this;npe(function(){s.unhandleds.length===0?i():o(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});qR&&(qR.allSettled&&cc(Tt,"allSettled",function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(i,o){return Tt.resolve(i).then(function(a){return r[o]={status:"fulfilled",value:a}},function(a){return r[o]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),qR.any&&typeof AggregateError<"u"&&cc(Tt,"any",function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,i=new Array(r);e.forEach(function(o,a){return Tt.resolve(o).then(function(s){return t(s)},function(s){i[a]=s,--r||n(new AggregateError(i))})})})}));function DQ(e,t){try{t(function(n){if(e._state===null){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&V2();n&&typeof n.then=="function"?DQ(e,function(i,o){n instanceof Tt?n._then(i,o):n.then(i,o)}):(e._state=!0,e._value=n,UQ(e)),r&&D2()}},sT.bind(null,e))}catch(n){sT(e,n)}}function sT(e,t){if(eb.push(t),e._state===null){var n=e._lib&&V2();t=oT(t),e._state=!1,e._value=t,bu&&t!==null&&typeof t=="object"&&!t._promise&&F0e(function(){var r=SO(t,"stack");t._promise=e,cc(t,"stack",{get:function(){return nT?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),rpe(e),UQ(e),n&&D2()}}function UQ(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=fg,fg=[],n=e.length,t=0;t0);rT=!0,hx=!0}function OO(){var e=_h;_h=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=tb.slice(0),n=t.length;n;)t[--n]()}function npe(e){function t(){e(),tb.splice(tb.indexOf(t),1)}tb.push(t),++Oh,Hm(function(){--Oh===0&&OO()},[])}function rpe(e){_h.some(function(t){return t._value===e._value})||_h.push(e)}function ipe(e){for(var t=_h.length;t;)if(_h[--t]._value===e._value){_h.splice(t,1);return}}function nb(e){return new Tt(Qm,!1,e)}function Xr(e,t){var n=Yt;return function(){var r=V2(),i=Yt;try{return Qf(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Qf(i,!1),r&&D2()}}}var lo={awaits:0,echoes:0,id:0},ope=0,rb=[],zw=0,px=0,ape=0;function Hh(e,t,n,r){var i=Yt,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++ape;var a=jp.env;o.env=TO?{Promise:Tt,PromiseProp:{value:Tt,configurable:!0,writable:!0},all:Tt.all,race:Tt.race,allSettled:Tt.allSettled,any:Tt.any,resolve:Tt.resolve,reject:Tt.reject,nthen:z7(a.nthen,o),gthen:z7(a.gthen,o)}:{},t&&Ls(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=B2(o,e,n,r);return o.ref===0&&o.finalize(),s}function U2(){return lo.id||(lo.id=++ope),++lo.awaits,lo.echoes+=XQ,lo.id}function Kh(){return lo.awaits?(--lo.awaits===0&&(lo.id=0),lo.echoes=lo.awaits*XQ,!0):!1}(""+WQ).indexOf("[native code]")===-1&&(U2=Kh=yr);function vx(e){return lo.echoes&&e&&e.constructor===qR?(U2(),e.then(function(t){return Kh(),t},function(t){return Kh(),vo(t)})):e}function spe(e){++px,(!lo.echoes||--lo.echoes===0)&&(lo.echoes=lo.id=0),rb.push(Yt),Qf(e,!0)}function lpe(){var e=rb[rb.length-1];rb.pop(),Qf(e,!1)}function Qf(e,t){var n=Yt;if((t?lo.echoes&&(!zw++||e!==Yt):zw&&(!--zw||e!==Yt))&&QQ(t?spe.bind(null,e):lpe),e!==Yt&&(Yt=e,n===jp&&(jp.env=ZQ()),TO)){var r=jp.env.Promise,i=e.env;dx.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(xr,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function ZQ(){var e=xr.Promise;return TO?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(xr,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:dx.then,gthen:e.prototype.then}:{}}function B2(e,t,n,r,i){var o=Yt;try{return Qf(e,!0),t(n,r,i)}finally{Qf(o,!1)}}function QQ(e){WQ.call(eT,e)}function gx(e,t,n,r){return typeof e!="function"?e:function(){var i=Yt;n&&U2(),Qf(t,!0);try{return e.apply(this,arguments)}finally{Qf(i,!1),r&&QQ(Kh)}}}function z7(e,t){return function(n,r){return e.call(this,gx(n,t),gx(r,t))}}var J7="unhandledrejection";function $7(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,i={promise:t,reason:e};if(xr.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(J7,!0,!0),Ls(r,i)):xr.CustomEvent&&(r=new CustomEvent(J7,{detail:i}),Ls(r,i)),r&&xr.dispatchEvent&&(dispatchEvent(r),!xr.PromiseRejectionEvent&&xr.onunhandledrejection))try{xr.onunhandledrejection(r)}catch{}bu&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var vo=Tt.reject;function HQ(e,t,n,r){if(!e._state.openComplete&&!Yt.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return vo(new an.DatabaseClosed);e.open().catch(yr)}return e._state.dbReadyPromise.then(function(){return HQ(e,t,n,r)})}else{var i=e._createTransaction(t,n,e._dbSchema);try{i.create()}catch(o){return vo(o)}return i._promise(t,function(o,a){return Hh(function(){return Yt.trans=i,r(o,a,i)})}).then(function(o){return i._completion.then(function(){return o})})}}var j7="3.0.3",Lp="￿",lT=-1/0,Fu="Invalid key provided. Keys must be of type string, number, Date or Array.",KQ="String expected.",zg=[],kO=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),upe=kO,cpe=kO,GQ=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},OA="__dbnames",Jw="readonly",$w="readwrite";function Gh(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var zQ={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function kA(e){return function(t){return iu(t,e)===void 0&&(t=Zm(t),TQ(t,e)),t}}var fpe=function(){function e(){}return e.prototype._trans=function(t,n,r){var i=this._tx||Yt.trans,o=this.name;function a(l,u,c){if(!c.schema[o])throw new an.NotFound("Table "+o+" not part of transaction");return n(c.idbtrans,c)}var s=V2();try{return i&&i.db===this.db?i===Yt.trans?i._promise(t,a,r):Hh(function(){return i._promise(t,a,r)},{trans:i,transless:Yt.transless||Yt}):HQ(this.db,t,[this.name],a)}finally{s&&D2()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(i){return r.core.get({trans:i,key:t}).then(function(o){return r.hook.reading.fire(o)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Po(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=zi(t);if(n.length===1)return this.where(n[0]).equals(t[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(c){return c.compound&&n.every(function(f){return c.keyPath.indexOf(f)>=0})&&c.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Lp)return this.where(r.name).equals(r.keyPath.map(function(c){return t[c]}));!r&&bu&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var i=this.schema.idxByName,o=this.db._deps.indexedDB;function a(c,f){try{return o.cmp(c,f)===0}catch{return!1}}var s=n.reduce(function(c,f){var d=c[0],h=c[1],p=i[f],v=t[f];return[d||p,d||!p?Gh(h,p&&p.multi?function(g){var m=iu(g,f);return Po(m)&&m.some(function(y){return a(v,y)})}:function(g){return a(v,iu(g,f))}):h]},[null,null]),l=s[0],u=s[1];return l?this.where(l.name).equals(t[l.keyPath]).filter(u):r?this.filter(u):this.where(n).equals("")},e.prototype.filter=function(t){return this.toCollection().and(t)},e.prototype.count=function(t){return this.toCollection().count(t)},e.prototype.offset=function(t){return this.toCollection().offset(t)},e.prototype.limit=function(t){return this.toCollection().limit(t)},e.prototype.each=function(t){return this.toCollection().each(t)},e.prototype.toArray=function(t){return this.toCollection().toArray(t)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,Po(t)?"["+t.join("+")+"]":t))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(t){this.schema.mappedClass=t;var n=function(r){if(!r)return r;var i=Object.create(t.prototype);for(var o in r)if(Ts(r,o))try{i[o]=r[o]}catch{}return i};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t},e.prototype.defineClass=function(){function t(n){Ls(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,a=i.keyPath,s=t;return a&&o&&(s=kA(a)(t)),this._trans("readwrite",function(l){return r.core.mutate({trans:l,type:"add",keys:n!=null?[n]:null,values:[s]})}).then(function(l){return l.numFailures?Tt.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{cl(t,a,l)}catch{}return l})},e.prototype.update=function(t,n){if(typeof n!="object"||Po(n))throw new an.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Po(t)){zi(n).forEach(function(i){cl(t,i,n[i])});var r=iu(t,this.schema.primKey.keyPath);return r===void 0?vo(new an.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(r).modify(n)}else return this.where(":id").equals(t).modify(n)},e.prototype.put=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,a=i.keyPath,s=t;return a&&o&&(s=kA(a)(t)),this._trans("readwrite",function(l){return r.core.mutate({trans:l,type:"put",values:[s],keys:n!=null?[n]:null})}).then(function(l){return l.numFailures?Tt.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{cl(t,a,l)}catch{}return l})},e.prototype.delete=function(t){var n=this;return this._trans("readwrite",function(r){return n.core.mutate({trans:r,type:"delete",keys:[t]})}).then(function(r){return r.numFailures?Tt.reject(r.failures[0]):void 0})},e.prototype.clear=function(){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"deleteRange",range:zQ})}).then(function(n){return n.numFailures?Tt.reject(n.failures[0]):void 0})},e.prototype.bulkGet=function(t){var n=this;return this._trans("readonly",function(r){return n.core.getMany({keys:t,trans:r}).then(function(i){return i.map(function(o){return n.hook.reading.fire(o)})})})},e.prototype.bulkAdd=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=i.schema.primKey,u=l.auto,c=l.keyPath;if(c&&o)throw new an.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new an.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=c&&u?t.map(kA(c)):t;return i.core.mutate({trans:s,type:"add",keys:o,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,g=h.lastResult,m=h.failures,y=a?v:g;if(p===0)return y;throw new Gg(i.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(m).map(function(R){return m[R]}))})})},e.prototype.bulkPut=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=i.schema.primKey,u=l.auto,c=l.keyPath;if(c&&o)throw new an.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new an.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=c&&u?t.map(kA(c)):t;return i.core.mutate({trans:s,type:"put",keys:o,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,g=h.lastResult,m=h.failures,y=a?v:g;if(p===0)return y;throw new Gg(i.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(m).map(function(R){return m[R]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(i){return n.core.mutate({trans:i,type:"delete",keys:t})}).then(function(i){var o=i.numFailures,a=i.lastResult,s=i.failures;if(o===0)return a;throw new Gg(n.name+".bulkDelete(): "+o+" of "+r+" operations failed",s)})},e}();function zS(e){var t={},n=function(s,l){if(l){for(var u=arguments.length,c=new Array(u-1);--u;)c[u-1]=arguments[u];return t[s].subscribe.apply(null,c),e}else if(typeof s=="string")return t[s]};n.addEventType=o;for(var r=1,i=arguments.length;rd?s:0}return this.toArray(function(u){return u.sort(l)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var i=n._ctx;if(i.dir==="next"&&S1(i,!0)&&i.limit>0){var o=i.valueMapper,a=ib(i,i.table.core.schema);return i.table.core.query({trans:r,limit:i.limit,values:!0,query:{index:a,range:i.range}}).then(function(l){var u=l.result;return o?u.map(o):u})}else{var s=[];return PA(i,function(l){return s.push(l)},r,i.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,S1(n)?qw(n,function(){var r=t;return function(i,o){return r===0?!0:r===1?(--r,!1):(o(function(){i.advance(r),r=0}),!1)}}):qw(n,function(){var r=t;return function(){return--r<0}}),this)},e.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),qw(this._ctx,function(){var n=t;return function(r,i,o){return--n<=0&&i(o),n>=0}},!0),this},e.prototype.until=function(t,n){return jw(this._ctx,function(r,i,o){return t(r.value)?(i(o),n):!0}),this},e.prototype.first=function(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)},e.prototype.last=function(t){return this.reverse().first(t)},e.prototype.filter=function(t){return jw(this._ctx,function(n){return t(n.value)}),hpe(this._ctx,t),this},e.prototype.and=function(t){return this.filter(t)},e.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.key,i)})},e.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},e.prototype.eachPrimaryKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.primaryKey,i)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&S1(n,!0)&&n.limit>0)return this._read(function(i){var o=ib(n,n.table.core.schema);return n.table.core.query({trans:i,values:!1,limit:n.limit,query:{index:o,range:n.range}})}).then(function(i){var o=i.result;return o}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.primaryKey)}).then(function(){return r}).then(t)},e.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},e.prototype.firstKey=function(t){return this.limit(1).keys(function(n){return n[0]}).then(t)},e.prototype.lastKey=function(t){return this.reverse().firstKey(t)},e.prototype.distinct=function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return jw(this._ctx,function(i){var o=i.primaryKey.toString(),a=Ts(r,o);return r[o]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(i){var o;if(typeof t=="function")o=t;else{var a=zi(t),s=a.length;o=function(y){for(var R=!1,A=0;A0&&l.mutate({trans:i,type:"add",values:L}).then(function(C){for(var N in C.failures)_.splice(parseInt(N),1);m(L.length,C)})).then(function(C){return w.length>0&&l.mutate({trans:i,type:"put",keys:M,values:w}).then(function(N){return m(w.length,N)})}).then(function(){return _.length>0&&l.mutate({trans:i,type:"delete",keys:_}).then(function(C){return m(_.length,C)})}).then(function(){return y.length>A+x&&R(A+d)})})};return R(0).then(function(){if(p.length>0)throw new fx("Error modifying one or more objects",p,v,g);return y.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return S1(t)&&(t.isPrimKey&&!cpe||n.type===3)?this._write(function(r){var i=t.table.core.schema.primaryKey,o=n;return t.table.core.count({trans:r,query:{index:i,range:o}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:o}).then(function(s){var l=s.failures;s.lastResult,s.results;var u=s.numFailures;if(u)throw new fx("Could not delete some values",Object.keys(l).map(function(c){return l[c]}),a-u);return a-u})})}):this.modify(function(r,i){return i.value=null})},e}();function vpe(e){return Y2(ppe.prototype,function(n,r){this.db=e;var i=zQ,o=null;if(r)try{i=r()}catch(u){o=u}var a=n._ctx,s=a.table,l=s.hook.reading.fire;this._ctx={table:s,index:a.index,isPrimKey:!a.index||s.schema.primKey.keyPath&&a.index===s.schema.primKey.name,range:i,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:o,or:a.or,valueMapper:l!==W2?l:null}})}function gpe(e,t){return et?-1:e===t?0:1}function Sa(e,t,n){var r=e instanceof $Q?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function E0(e){return new e.Collection(e,function(){return JQ("")}).limit(0)}function ype(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function Ape(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function Rpe(e,t,n,r,i,o){for(var a=Math.min(e.length,r.length),s=-1,l=0;l=0?e.substr(0,s)+t[s]+n.substr(s+1):null;i(e[l],u)<0&&(s=l)}return a0)&&(A=S)}return g(A!==null?function(){v.continue(A+c)}:m),!1}),h}function zc(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function JQ(e){return{type:1,lower:e,upper:e}}var $Q=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(t,n,r,i){r=r!==!1,i=i===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||i)&&!(r&&i)?E0(this):new this.Collection(this,function(){return zc(t,n,!r,!i)})}catch{return Sa(this,Fu)}},e.prototype.equals=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return JQ(t)})},e.prototype.above=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(t,void 0,!1)})},e.prototype.below=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?Sa(this,KQ):this.between(t,t+Lp,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):CA(this,function(n,r){return n.indexOf(r[0])===0},[t],Lp)},e.prototype.equalsIgnoreCase=function(t){return CA(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Ju.apply(dp,arguments);return t.length===0?E0(this):CA(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Ju.apply(dp,arguments);return t.length===0?E0(this):CA(this,function(n,r){return r.some(function(i){return n.indexOf(i)===0})},t,Lp)},e.prototype.anyOf=function(){var t=this,n=Ju.apply(dp,arguments),r=this._cmp;try{n.sort(r)}catch{return Sa(this,Fu)}if(n.length===0)return E0(this);var i=new this.Collection(this,function(){return zc(n[0],n[n.length-1])});i._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var o=0;return i._addAlgorithm(function(a,s,l){for(var u=a.key;r(u,n[o])>0;)if(++o,o===n.length)return s(l),!1;return r(u,n[o])===0?!0:(s(function(){a.continue(n[o])}),!1)}),i},e.prototype.notEqual=function(t){return this.inAnyRange([[lT,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Ju.apply(dp,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return Sa(this,Fu)}var n=t.reduce(function(r,i){return r?r.concat([[r[r.length-1][1],i]]):[[lT,i]]},null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(t,n){var r=this,i=this._cmp,o=this._ascending,a=this._descending,s=this._min,l=this._max;if(t.length===0)return E0(this);if(!t.every(function(x){return x[0]!==void 0&&x[1]!==void 0&&o(x[0],x[1])<=0}))return Sa(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",an.InvalidArgument);var u=!n||n.includeLowers!==!1,c=n&&n.includeUppers===!0;function f(x,S){for(var L=0,w=x.length;L0){M[0]=s(M[0],S[0]),M[1]=l(M[1],S[1]);break}}return L===w&&x.push(S),x}var d=o;function h(x,S){return d(x[0],S[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return Sa(this,Fu)}var v=0,g=c?function(x){return o(x,p[v][1])>0}:function(x){return o(x,p[v][1])>=0},m=u?function(x){return a(x,p[v][0])>0}:function(x){return a(x,p[v][0])>=0};function y(x){return!g(x)&&!m(x)}var R=g,A=new this.Collection(this,function(){return zc(p[0][0],p[p.length-1][1],!u,!c)});return A._ondirectionchange=function(x){x==="next"?(R=g,d=o):(R=m,d=a),p.sort(h)},A._addAlgorithm(function(x,S,L){for(var w=x.key;R(w);)if(++v,v===p.length)return S(L),!1;return y(w)?!0:(r._cmp(w,p[v][1])===0||r._cmp(w,p[v][0])===0||S(function(){d===o?x.continue(p[v][0]):x.continue(p[v][1])}),!1)}),A},e.prototype.startsWithAnyOf=function(){var t=Ju.apply(dp,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?E0(this):this.inAnyRange(t.map(function(n){return[n,n+Lp]})):Sa(this,"startsWithAnyOf() only works with strings")},e}();function bpe(e){return Y2($Q.prototype,function(n,r,i){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:i};var o=e._deps.indexedDB;if(!o)throw new an.MissingAPI("indexedDB API missing");this._cmp=this._ascending=o.cmp.bind(o),this._descending=function(a,s){return o.cmp(s,a)},this._max=function(a,s){return o.cmp(a,s)>0?a:s},this._min=function(a,s){return o.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function jQ(e){return e.length===1?e[0]:e}function PO(e){try{return e.only([[]]),[[]]}catch{return Lp}}function Bl(e){return Xr(function(t){return Km(t),e(t.target.error),!1})}function Km(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var xpe=function(){function e(){}return e.prototype._lock=function(){return cg(!Yt.global),++this._reculock,this._reculock===1&&!Yt.global&&(Yt.lockOwnerFor=this),this},e.prototype._unlock=function(){if(cg(!Yt.global),--this._reculock===0)for(Yt.global||(Yt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{B2(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Yt.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,i=this.db._state.dbOpenError;if(cg(!this.idbtrans),!t&&!r)switch(i&&i.name){case"DatabaseClosedError":throw new an.DatabaseClosed(i);case"MissingAPIError":throw new an.MissingAPI(i.message,i);default:throw new an.OpenFailed(i)}if(!this.active)throw new an.TransactionInactive;return cg(this._completion._state===null),t=this.idbtrans=t||r.transaction(jQ(this.storeNames),this.mode),t.onerror=Xr(function(o){Km(o),n._reject(t.error)}),t.onabort=Xr(function(o){Km(o),n.active&&n._reject(new an.Abort(t.error)),n.active=!1,n.on("abort").fire(o)}),t.oncomplete=Xr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var i=this;if(t==="readwrite"&&this.mode!=="readwrite")return vo(new an.ReadOnly("Transaction is readonly"));if(!this.active)return vo(new an.TransactionInactive);if(this._locked())return new Tt(function(a,s){i._blockedFuncs.push([function(){i._promise(t,n,r).then(a,s)},Yt])});if(r)return Hh(function(){var a=new Tt(function(s,l){i._lock();var u=n(s,l,i);u&&u.then&&u.then(s,l)});return a.finally(function(){return i._unlock()}),a._lib=!0,a});var o=new Tt(function(a,s){var l=n(a,s,i);l&&l.then&&l.then(a,s)});return o._lib=!0,o},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=Tt.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var i=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(i.get(-1/0).onsuccess=a)})()}var o=n._waitingFor;return new Tt(function(a,s){r.then(function(l){return n._waitingQueue.push(Xr(a.bind(null,l)))},function(l){return n._waitingQueue.push(Xr(s.bind(null,l)))}).finally(function(){n._waitingFor===o&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new an.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(Ts(n,t))return n[t];var r=this.schema[t];if(!r)throw new an.NotFound("Table "+t+" not part of transaction");var i=new this.db.Table(t,r,this);return i.core=this.db.core.table(t),n[t]=i,i},e}();function Spe(e){return Y2(xpe.prototype,function(n,r,i,o){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=i,this.idbtrans=null,this.on=zS(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Tt(function(s,l){a._resolve=s,a._reject=l}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(s){var l=a.active;return a.active=!1,a.on.error.fire(s),a.parent?a.parent._reject(s):l&&a.idbtrans&&a.idbtrans.abort(),vo(s)})})}function uT(e,t,n,r,i,o,a){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+qQ(t)}}function qQ(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function eH(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:LQ(n,function(r){return[r.name,r]})}}function cT(e){return e==null?function(){}:typeof e=="string"?wpe(e):function(t){return iu(t,e)}}function wpe(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return iu(n,e)}}function tH(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function Mpe(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function t9(e){return[].slice.call(e)}var Lpe=0;function Jg(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function Tpe(e,t,n,r){var i=t.cmp.bind(t);function o(h,p){var v=t9(h.objectStoreNames);return{schema:{name:h.name,tables:v.map(function(g){return p.objectStore(g)}).map(function(g){var m=g.keyPath,y=g.autoIncrement,R=Po(m),A=m==null,x={},S={name:g.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:A,compound:R,keyPath:m,autoIncrement:y,unique:!0,extractKey:cT(m)},indexes:t9(g.indexNames).map(function(L){return g.index(L)}).map(function(L){var w=L.name,M=L.unique,_=L.multiEntry,P=L.keyPath,k=Po(P),F={name:w,compound:k,keyPath:P,unique:M,multiEntry:_,extractKey:cT(P)};return x[Jg(P)]=F,F}),getIndexByKeyPath:function(L){return x[Jg(L)]}};return x[":id"]=S.primaryKey,m!=null&&(x[Jg(m)]=S.primaryKey),S})},hasGetAll:v.length>0&&"getAll"in p.objectStore(v[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function a(h){if(h.type===3)return null;if(h.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var p=h.lower,v=h.upper,g=h.lowerOpen,m=h.upperOpen,y=p===void 0?v===void 0?null:n.upperBound(v,!!m):v===void 0?n.lowerBound(p,!!g):n.bound(p,v,!!g,!!m);return y}function s(h){var p=h.name;function v(y){var R=y.trans,A=y.type,x=y.keys,S=y.values,L=y.range,w=y.wantResults;return new Promise(function(M,_){M=Xr(M);var P=R.objectStore(p),k=P.keyPath==null,F=A==="put"||A==="add";if(!F&&A!=="delete"&&A!=="deleteRange")throw new Error("Invalid operation type: "+A);var C=(x||S||{length:1}).length;if(x&&S&&x.length!==S.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return M({numFailures:0,failures:{},results:[],lastResult:void 0});var N=w&&J8(x||tH(h.primaryKey,{type:A,keys:x,values:S})),I,W=[],D=0,Y=function($){++D,Km($),N&&(N[$.target._reqno]=void 0),W[$.target._reqno]=$.target.error},re=function($){var de=$.target;N[de._reqno]=de.result};if(A==="deleteRange"){if(L.type===4)return M({numFailures:D,failures:W,results:N,lastResult:void 0});L.type===3?I=P.clear():I=P.delete(a(L))}else{var B=F?k?[S,x]:[S,null]:[x,null],Z=B[0],Q=B[1];if(F)for(var G=0;G=t});l.forEach(function(c){i.push(function(){var f=a,d=c._cfg.dbschema;hT(e,f,r),hT(e,d,r),a=e._dbSchema=d;var h=nH(f,d);h.add.forEach(function(R){IO(r,R[0],R[1].primKey,R[1].indexes)}),h.change.forEach(function(R){if(R.recreate)throw new an.Upgrade("Not yet support for changing primary key");var A=r.objectStore(R.name);R.add.forEach(function(x){return dT(A,x)}),R.change.forEach(function(x){A.deleteIndex(x.name),dT(A,x)}),R.del.forEach(function(x){return A.deleteIndex(x)})});var p=c._cfg.contentUpgrade;if(p&&c._cfg.version>t){CO(e,r),n._memoizedTables={},s=!0;var v=_Q(d);h.del.forEach(function(R){v[R]=f[R]}),fT(e,[e.Transaction.prototype]),mx(e,[e.Transaction.prototype],zi(v),v),n.schema=v;var g=PQ(p);g&&U2();var m,y=Tt.follow(function(){if(m=p(n),m&&g){var R=Kh.bind(null,null);m.then(R,R)}});return m&&typeof m.then=="function"?Tt.resolve(m):y.then(function(){return m})}}),i.push(function(f){if(!s||!upe){var d=c._cfg.dbschema;Npe(d,f)}fT(e,[e.Transaction.prototype]),mx(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function u(){return i.length?Tt.resolve(i.shift()(n.idbtrans)).then(u):Tt.resolve()}return u().then(function(){Ipe(a,r)})}function nH(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var i=e[r],o=t[r];if(!i)n.add.push([r,o]);else{var a={name:r,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto&&!kO)a.recreate=!0,n.change.push(a);else{var s=i.idxByName,l=o.idxByName,u=void 0;for(u in s)l[u]||a.del.push(u);for(u in l){var c=s[u],f=l[u];c?c.src!==f.src&&a.change.push(f):a.add.push(f)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}}return n}function IO(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(o){return dT(i,o)}),i}function Ipe(e,t){zi(e).forEach(function(n){t.db.objectStoreNames.contains(n)||IO(t,n,e[n].primKey,e[n].indexes)})}function Npe(e,t){for(var n=0;nMath.pow(2,62)?0:u.oldVersion;e.idbdb=l.result,Ppe(e,f/10,i,a)}},a),l.onsuccess=Xr(function(){i=null;var u=e.idbdb=l.result,c=KS(u.objectStoreNames);if(c.length>0)try{var f=u.transaction(jQ(c),"readonly");t.autoSchema?Fpe(e,u,f):(hT(e,e._dbSchema,f),Epe(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),CO(e,f)}catch{}zg.push(e),u.onversionchange=Xr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),Gm.add(s),o()},a)})]).then(function(){return t.onReadyBeingFired=[],Tt.resolve(pT(e.on.ready.fire)).then(function o(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(EQ,yr);return t.onReadyBeingFired=[],Tt.resolve(pT(a)).then(o)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(o){try{i&&i.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=o,vo(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function vT(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=o(t),i=o(n);function o(a){return function(s){var l=a(s),u=l.value;return l.done?u:!u||typeof u.then!="function"?Po(u)?Promise.all(u).then(r,i):r(u):u.then(r,i)}}return o(t)()}function Ype(e,t,n){var r=arguments.length;if(r<2)throw new an.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];n=i.pop();var o=OQ(i);return[e,o,n]}function Zpe(e,t,n,r,i){return Tt.resolve().then(function(){var o=Yt.transless||Yt,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:o};r?a.idbtrans=r.idbtrans:a.create();var l=PQ(i);l&&U2();var u,c=Tt.follow(function(){if(u=i.call(a,a),u)if(l){var f=Kh.bind(null,null);u.then(f,f)}else typeof u.next=="function"&&typeof u.throw=="function"&&(u=vT(u))},s);return(u&&typeof u.then=="function"?Tt.resolve(u).then(function(f){return a.active?f:vo(new an.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):c.then(function(){return u})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),vo(f)})})}function w1(e,t,n){for(var r=Po(e)?e.slice():[e],i=0;i0,S=gr(gr({},m),{isVirtual:x,isPrimaryKey:!x&&m.isPrimaryKey,keyTail:g,keyLength:A,extractKey:cT(v),unique:!x&&m.unique});if(R.push(S),S.isPrimaryKey||o.push(S),A>1){var L=A===2?v[0]:v.slice(0,A-1);a(L,g+1,m)}return R.sort(function(w,M){return w.keyTail-M.keyTail}),S}var s=a(r.primaryKey.keyPath,0,r.primaryKey);i[":id"]=[s];for(var l=0,u=r.indexes;l0?Promise.reject(R.failures[0]):y.length0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()}),this.on("blocked",function(s){!s.newVersion||s.newVersion=0&&zg.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new an.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new Tt(function(r){n.dbReadyResolve=r}),n.openCanceller=new Tt(function(r,i){n.cancelOpen=i})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new Tt(function(i,o){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=Xr(function(){Gm.remove(t.name),i()}),s.onerror=Bl(o),s.onblocked=t._fireOnBlocked};if(n)throw new an.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return this.idbdb!==null},e.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"},e.prototype.hasFailed=function(){return this._state.dbOpenError!==null},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var t=this;return zi(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=Ype.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var i=this,o=Yt.trans;(!o||o.db!==this||t.indexOf("!")!==-1)&&(o=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,l;try{if(l=n.map(function(c){var f=c instanceof i.Table?c.name:c;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===Jw)s=Jw;else if(t=="rw"||t==$w)s=$w;else throw new an.InvalidArgument("Invalid transaction mode: "+t);if(o){if(o.mode===Jw&&s===$w)if(a)o=null;else throw new an.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o&&l.forEach(function(c){if(o&&o.storeNames.indexOf(c)===-1)if(a)o=null;else throw new an.SubTransaction("Table "+c+" not included in parent transaction.")}),a&&o&&!o.active&&(o=null)}}catch(c){return o?o._promise(null,function(f,d){d(c)}):vo(c)}var u=Zpe.bind(null,this,s,l,o,r);return o?o._promise(s,u,"lock"):Yt.trans?B2(Yt.transless,function(){return i._whenReady(u)}):this._whenReady(u)},e.prototype.table=function(t){if(!Ts(this._allTables,t))throw new an.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),sf=zh;Ym(sf,gr(gr({},GS),{delete:function(e){var t=new sf(e);return t.delete()},exists:function(e){return new sf(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return Gm?Gm.getDatabaseNames().then(e):Tt.resolve([])},defineClass:function(){function e(t){Ls(this,t)}return e},ignoreTransaction:function(e){return Yt.trans?B2(Yt.transless,e):e()},vip:pT,async:function(e){return function(){try{var t=vT(e.apply(this,arguments));return!t||typeof t.then!="function"?Tt.resolve(t):t}catch(n){return vo(n)}}},spawn:function(e,t,n){try{var r=vT(e.apply(n,t||[]));return!r||typeof r.then!="function"?Tt.resolve(r):r}catch(i){return vo(i)}},currentTransaction:{get:function(){return Yt.trans||null}},waitFor:function(e,t){var n=Tt.resolve(typeof e=="function"?sf.ignoreTransaction(e):e).timeout(t||6e4);return Yt.trans?Yt.trans.waitFor(n):n},Promise:Tt,debug:{get:function(){return bu},set:function(e){CQ(e,e==="dexie"?function(){return!0}:GQ)}},derive:Uv,extend:Ls,props:Ym,override:wQ,Events:zS,getByKeyPath:iu,setByKeyPath:cl,delByKeyPath:TQ,shallowClone:_Q,deepClone:Zm,getObjectDiff:wO,asap:MQ,minKey:lT,addons:[],connections:zg,errnames:Z0e,dependencies:function(){try{return{indexedDB:xr.indexedDB||xr.mozIndexedDB||xr.webkitIndexedDB||xr.msIndexedDB,IDBKeyRange:xr.IDBKeyRange||xr.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:j7,version:j7.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:sf,Dexie:sf}));sf.maxKey=PO(sf.dependencies.IDBKeyRange);Upe(zh.dependencies.indexedDB);Tt.rejectionMapper=H0e;CQ(bu,GQ);const yx="PPTIST_DISCARDED_DB",gT="PPTist",Gpe=async()=>{const e=new Date().getTime(),t=localStorage.getItem(yx),n=t?JSON.parse(t):[],i=(await zh.getDatabaseNames()).filter(o=>{if(o.indexOf(gT)===-1)return!1;const[a,s,l]=o.split("_");return!!(a!==gT||!s||!l||n.includes(s)||e-+l>=1e3*60*60*12)});for(const o of i)zh.delete(o);localStorage.removeItem(yx)};class zpe extends zh{constructor(){super(`${gT}_${bQ}_${new Date().getTime()}`);Lr(this,"snapshots");Lr(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const el=new zpe,JS=E2("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0}),getters:{canUndo(e){return e.snapshotCursor>0},canRedo(e){return e.snapshotCursor=0&&this.snapshotCursor20&&(n.push(t[0]),i--),i>=2&&el.snapshots.update(t[i-2],{index:e.slideIndex}),await el.snapshots.bulkDelete(n),this.setSnapshotCursor(i-1),this.setSnapshotLength(i)},async unDo(){if(this.snapshotCursor<=0)return;const e=ut(),t=ht(),n=this.snapshotCursor-1,i=(await el.snapshots.orderBy("id").toArray())[n],{index:o,slides:a}=i,s=o>a.length-1?a.length-1:o;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=ut(),t=ht(),n=this.snapshotCursor+1,i=(await el.snapshots.orderBy("id").toArray())[n],{index:o,slides:a}=i,s=o>a.length-1?a.length-1:o;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),pl=E2("keyboard",{state:()=>({ctrlKeyState:!1,shiftKeyState:!1,spaceKeyState:!1}),getters:{ctrlOrShiftKeyActive(e){return e.ctrlKeyState||e.shiftKeyState}},actions:{setCtrlKeyState(e){this.ctrlKeyState=e},setShiftKeyState(e){this.shiftKeyState=e},setSpaceKeyState(e){this.spaceKeyState=e}}}),rH=E2("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),dg=(e,t)=>Yn.padStart(""+e,t,"0"),Jpe=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i),$pe=e=>/^(https?:\/\/)([\w-]+\.)+[\w-]{2,}(\/[\w-./?%&=]*)?$/i.test(e);function iH(e,t){return function(){return e.apply(t,arguments)}}const{toString:jpe}=Object.prototype,{getPrototypeOf:FO}=Object,$S=(e=>t=>{const n=jpe.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),vl=e=>(e=e.toLowerCase(),t=>$S(t)===e),jS=e=>t=>typeof t===e,{isArray:Zv}=Array,zm=jS("undefined");function qpe(e){return e!==null&&!zm(e)&&e.constructor!==null&&!zm(e.constructor)&&Da(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const oH=vl("ArrayBuffer");function eve(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&oH(e.buffer),t}const tve=jS("string"),Da=jS("function"),aH=jS("number"),qS=e=>e!==null&&typeof e=="object",nve=e=>e===!0||e===!1,ob=e=>{if($S(e)!=="object")return!1;const t=FO(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rve=vl("Date"),ive=vl("File"),ove=vl("Blob"),ave=vl("FileList"),sve=e=>qS(e)&&Da(e.pipe),lve=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Da(e.append)&&((t=$S(e))==="formdata"||t==="object"&&Da(e.toString)&&e.toString()==="[object FormData]"))},uve=vl("URLSearchParams"),[cve,fve,dve,hve]=["ReadableStream","Request","Response","Headers"].map(vl),pve=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Z2(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Zv(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const fh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lH=e=>!zm(e)&&e!==fh;function mT(){const{caseless:e}=lH(this)&&this||{},t={},n=(r,i)=>{const o=e&&sH(t,i)||i;ob(t[o])&&ob(r)?t[o]=mT(t[o],r):ob(r)?t[o]=mT({},r):Zv(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Z2(t,(i,o)=>{n&&Da(i)?e[o]=iH(i,n):e[o]=i},{allOwnKeys:r}),e),gve=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mve=(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)},yve=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&FO(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ave=(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},Rve=e=>{if(!e)return null;if(Zv(e))return e;let t=e.length;if(!aH(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},bve=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&FO(Uint8Array)),xve=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Sve=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},wve=vl("HTMLFormElement"),Mve=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),n9=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Lve=vl("RegExp"),uH=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Z2(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Tve=e=>{uH(e,(t,n)=>{if(Da(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Da(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+"'")})}})},_ve=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Zv(e)?r(e):r(String(e).split(t)),n},Ove=()=>{},kve=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,eM="abcdefghijklmnopqrstuvwxyz",r9="0123456789",cH={DIGIT:r9,ALPHA:eM,ALPHA_DIGIT:eM+eM.toUpperCase()+r9},Pve=(e=16,t=cH.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Cve(e){return!!(e&&Da(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ive=e=>{const t=new Array(10),n=(r,i)=>{if(qS(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=Zv(r)?[]:{};return Z2(r,(a,s)=>{const l=n(a,i+1);!zm(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},Nve=vl("AsyncFunction"),Fve=e=>e&&(qS(e)||Da(e))&&Da(e.then)&&Da(e.catch),fH=((e,t)=>e?setImmediate:t?((n,r)=>(fh.addEventListener("message",({source:i,data:o})=>{i===fh&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),fh.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Da(fh.postMessage)),Eve=typeof queueMicrotask<"u"?queueMicrotask.bind(fh):typeof process<"u"&&process.nextTick||fH,Ke={isArray:Zv,isArrayBuffer:oH,isBuffer:qpe,isFormData:lve,isArrayBufferView:eve,isString:tve,isNumber:aH,isBoolean:nve,isObject:qS,isPlainObject:ob,isReadableStream:cve,isRequest:fve,isResponse:dve,isHeaders:hve,isUndefined:zm,isDate:rve,isFile:ive,isBlob:ove,isRegExp:Lve,isFunction:Da,isStream:sve,isURLSearchParams:uve,isTypedArray:bve,isFileList:ave,forEach:Z2,merge:mT,extend:vve,trim:pve,stripBOM:gve,inherits:mve,toFlatObject:yve,kindOf:$S,kindOfTest:vl,endsWith:Ave,toArray:Rve,forEachEntry:xve,matchAll:Sve,isHTMLForm:wve,hasOwnProperty:n9,hasOwnProp:n9,reduceDescriptors:uH,freezeMethods:Tve,toObjectSet:_ve,toCamelCase:Mve,noop:Ove,toFiniteNumber:kve,findKey:sH,global:fh,isContextDefined:lH,ALPHABET:cH,generateString:Pve,isSpecCompliantForm:Cve,toJSONObject:Ive,isAsyncFn:Nve,isThenable:Fve,setImmediate:fH,asap:Eve};function vn(e,t,n,r,i){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),i&&(this.response=i,this.status=i.status?i.status:null)}Ke.inherits(vn,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:Ke.toJSONObject(this.config),code:this.code,status:this.status}}});const dH=vn.prototype,hH={};["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=>{hH[e]={value:e}});Object.defineProperties(vn,hH);Object.defineProperty(dH,"isAxiosError",{value:!0});vn.from=(e,t,n,r,i,o)=>{const a=Object.create(dH);return Ke.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),vn.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Xve=null;function yT(e){return Ke.isPlainObject(e)||Ke.isArray(e)}function pH(e){return Ke.endsWith(e,"[]")?e.slice(0,-2):e}function i9(e,t,n){return e?e.concat(t).map(function(i,o){return i=pH(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Wve(e){return Ke.isArray(e)&&!e.some(yT)}const Vve=Ke.toFlatObject(Ke,{},null,function(t){return/^is[A-Z]/.test(t)});function e3(e,t,n){if(!Ke.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ke.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,g){return!Ke.isUndefined(g[v])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ke.isSpecCompliantForm(t);if(!Ke.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(Ke.isDate(p))return p.toISOString();if(!l&&Ke.isBlob(p))throw new vn("Blob is not supported. Use a Buffer instead.");return Ke.isArrayBuffer(p)||Ke.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,g){let m=p;if(p&&!g&&typeof p=="object"){if(Ke.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(Ke.isArray(p)&&Wve(p)||(Ke.isFileList(p)||Ke.endsWith(v,"[]"))&&(m=Ke.toArray(p)))return v=pH(v),m.forEach(function(R,A){!(Ke.isUndefined(R)||R===null)&&t.append(a===!0?i9([v],A,o):a===null?v:v+"[]",u(R))}),!1}return yT(p)?!0:(t.append(i9(g,v,o),u(p)),!1)}const f=[],d=Object.assign(Vve,{defaultVisitor:c,convertValue:u,isVisitable:yT});function h(p,v){if(!Ke.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),Ke.forEach(p,function(m,y){(!(Ke.isUndefined(m)||m===null)&&i.call(t,m,Ke.isString(y)?y.trim():y,v,d))===!0&&h(m,v?v.concat(y):[y])}),f.pop()}}if(!Ke.isObject(e))throw new TypeError("data must be an object");return h(e),t}function o9(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function EO(e,t){this._pairs=[],e&&e3(e,this,t)}const vH=EO.prototype;vH.append=function(t,n){this._pairs.push([t,n])};vH.toString=function(t){const n=t?function(r){return t.call(this,r,o9)}:o9;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Dve(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gH(e,t,n){if(!t)return e;const r=n&&n.encode||Dve;Ke.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=Ke.isURLSearchParams(t)?t.toString():new EO(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class a9{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){Ke.forEach(this.handlers,function(r){r!==null&&t(r)})}}const mH={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Uve=typeof URLSearchParams<"u"?URLSearchParams:EO,Bve=typeof FormData<"u"?FormData:null,Yve=typeof Blob<"u"?Blob:null,Zve={isBrowser:!0,classes:{URLSearchParams:Uve,FormData:Bve,Blob:Yve},protocols:["http","https","file","blob","url","data"]},XO=typeof window<"u"&&typeof document<"u",AT=typeof navigator=="object"&&navigator||void 0,Qve=XO&&(!AT||["ReactNative","NativeScript","NS"].indexOf(AT.product)<0),Hve=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Kve=XO&&window.location.href||"http://localhost",Gve=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:XO,hasStandardBrowserEnv:Qve,hasStandardBrowserWebWorkerEnv:Hve,navigator:AT,origin:Kve},Symbol.toStringTag,{value:"Module"})),uo={...Gve,...Zve};function zve(e,t){return e3(e,new uo.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return uo.isNode&&Ke.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Jve(e){return Ke.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $ve(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&Ke.isArray(i)?i.length:a,l?(Ke.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!Ke.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Ke.isArray(i[a])&&(i[a]=$ve(i[a])),!s)}if(Ke.isFormData(e)&&Ke.isFunction(e.entries)){const n={};return Ke.forEachEntry(e,(r,i)=>{t(Jve(r),i,n,0)}),n}return null}function jve(e,t,n){if(Ke.isString(e))try{return(t||JSON.parse)(e),Ke.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Q2={transitional:mH,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Ke.isObject(t);if(o&&Ke.isHTMLForm(t)&&(t=new FormData(t)),Ke.isFormData(t))return i?JSON.stringify(yH(t)):t;if(Ke.isArrayBuffer(t)||Ke.isBuffer(t)||Ke.isStream(t)||Ke.isFile(t)||Ke.isBlob(t)||Ke.isReadableStream(t))return t;if(Ke.isArrayBufferView(t))return t.buffer;if(Ke.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return zve(t,this.formSerializer).toString();if((s=Ke.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return e3(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),jve(t)):t}],transformResponse:[function(t){const n=this.transitional||Q2.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Ke.isResponse(t)||Ke.isReadableStream(t))return t;if(t&&Ke.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?vn.from(s,vn.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:uo.classes.FormData,Blob:uo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ke.forEach(["delete","get","head","post","put","patch"],e=>{Q2.headers[e]={}});const qve=Ke.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"]),e1e=e=>{const t={};let n,r,i;return e&&e.split(` +From previous: `);return this._state!==null&&(this._stack=t),t}finally{nT=!1}}},timeout:function(e,t){var n=this;return e<1/0?new Tt(function(r,i){var o=setTimeout(function(){return i(new an.Timeout(t))},e);n.then(r,i).finally(clearTimeout.bind(null,o))}):this}});typeof Symbol<"u"&&Symbol.toStringTag&&cc(Tt.prototype,Symbol.toStringTag,"Dexie.Promise");jp.env=ZQ();function VQ(e,t,n,r,i){this.onFulfilled=typeof e=="function"?e:null,this.onRejected=typeof t=="function"?t:null,this.resolve=n,this.reject=r,this.psd=i}Ym(Tt,{all:function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.length===0&&t([]);var r=e.length;e.forEach(function(i,o){return Tt.resolve(i).then(function(a){e[o]=a,--r||t(e)},n)})})},resolve:function(e){if(e instanceof Tt)return e;if(e&&typeof e.then=="function")return new Tt(function(n,r){e.then(n,r)});var t=new Tt(Qm,!0,e);return YQ(t,iT),t},reject:nb,race:function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.map(function(r){return Tt.resolve(r).then(t,n)})})},PSD:{get:function(){return Yt},set:function(e){return Yt=e}},totalEchoes:{get:function(){return px}},newPSD:Hh,usePSD:B2,scheduler:{get:function(){return Hm},set:function(e){Hm=e}},rejectionMapper:{get:function(){return oT},set:function(e){oT=e}},follow:function(e,t){return new Tt(function(n,r){return Hh(function(i,o){var a=Yt;a.unhandleds=[],a.onunhandled=o,a.finalize=Qh(function(){var s=this;npe(function(){s.unhandleds.length===0?i():o(s.unhandleds[0])})},a.finalize),e()},t,n,r)})}});qR&&(qR.allSettled&&cc(Tt,"allSettled",function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t){e.length===0&&t([]);var n=e.length,r=new Array(n);e.forEach(function(i,o){return Tt.resolve(i).then(function(a){return r[o]={status:"fulfilled",value:a}},function(a){return r[o]={status:"rejected",reason:a}}).then(function(){return--n||t(r)})})})}),qR.any&&typeof AggregateError<"u"&&cc(Tt,"any",function(){var e=Ju.apply(null,arguments).map(vx);return new Tt(function(t,n){e.length===0&&n(new AggregateError([]));var r=e.length,i=new Array(r);e.forEach(function(o,a){return Tt.resolve(o).then(function(s){return t(s)},function(s){i[a]=s,--r||n(new AggregateError(i))})})})}));function DQ(e,t){try{t(function(n){if(e._state===null){if(n===e)throw new TypeError("A promise cannot be resolved with itself.");var r=e._lib&&V2();n&&typeof n.then=="function"?DQ(e,function(i,o){n instanceof Tt?n._then(i,o):n.then(i,o)}):(e._state=!0,e._value=n,UQ(e)),r&&D2()}},sT.bind(null,e))}catch(n){sT(e,n)}}function sT(e,t){if(eb.push(t),e._state===null){var n=e._lib&&V2();t=oT(t),e._state=!1,e._value=t,bu&&t!==null&&typeof t=="object"&&!t._promise&&F0e(function(){var r=SO(t,"stack");t._promise=e,cc(t,"stack",{get:function(){return nT?r&&(r.get?r.get.apply(t):r.value):e.stack}})}),rpe(e),UQ(e),n&&D2()}}function UQ(e){var t=e._listeners;e._listeners=[];for(var n=0,r=t.length;n0;)for(e=fg,fg=[],n=e.length,t=0;t0);rT=!0,hx=!0}function OO(){var e=_h;_h=[],e.forEach(function(r){r._PSD.onunhandled.call(null,r._value,r)});for(var t=tb.slice(0),n=t.length;n;)t[--n]()}function npe(e){function t(){e(),tb.splice(tb.indexOf(t),1)}tb.push(t),++Oh,Hm(function(){--Oh===0&&OO()},[])}function rpe(e){_h.some(function(t){return t._value===e._value})||_h.push(e)}function ipe(e){for(var t=_h.length;t;)if(_h[--t]._value===e._value){_h.splice(t,1);return}}function nb(e){return new Tt(Qm,!1,e)}function Xr(e,t){var n=Yt;return function(){var r=V2(),i=Yt;try{return Qf(n,!0),e.apply(this,arguments)}catch(o){t&&t(o)}finally{Qf(i,!1),r&&D2()}}}var lo={awaits:0,echoes:0,id:0},ope=0,rb=[],zw=0,px=0,ape=0;function Hh(e,t,n,r){var i=Yt,o=Object.create(i);o.parent=i,o.ref=0,o.global=!1,o.id=++ape;var a=jp.env;o.env=TO?{Promise:Tt,PromiseProp:{value:Tt,configurable:!0,writable:!0},all:Tt.all,race:Tt.race,allSettled:Tt.allSettled,any:Tt.any,resolve:Tt.resolve,reject:Tt.reject,nthen:z7(a.nthen,o),gthen:z7(a.gthen,o)}:{},t&&Ls(o,t),++i.ref,o.finalize=function(){--this.parent.ref||this.parent.finalize()};var s=B2(o,e,n,r);return o.ref===0&&o.finalize(),s}function U2(){return lo.id||(lo.id=++ope),++lo.awaits,lo.echoes+=XQ,lo.id}function Kh(){return lo.awaits?(--lo.awaits===0&&(lo.id=0),lo.echoes=lo.awaits*XQ,!0):!1}(""+WQ).indexOf("[native code]")===-1&&(U2=Kh=yr);function vx(e){return lo.echoes&&e&&e.constructor===qR?(U2(),e.then(function(t){return Kh(),t},function(t){return Kh(),vo(t)})):e}function spe(e){++px,(!lo.echoes||--lo.echoes===0)&&(lo.echoes=lo.id=0),rb.push(Yt),Qf(e,!0)}function lpe(){var e=rb[rb.length-1];rb.pop(),Qf(e,!1)}function Qf(e,t){var n=Yt;if((t?lo.echoes&&(!zw++||e!==Yt):zw&&(!--zw||e!==Yt))&&QQ(t?spe.bind(null,e):lpe),e!==Yt&&(Yt=e,n===jp&&(jp.env=ZQ()),TO)){var r=jp.env.Promise,i=e.env;dx.then=i.nthen,r.prototype.then=i.gthen,(n.global||e.global)&&(Object.defineProperty(xr,"Promise",i.PromiseProp),r.all=i.all,r.race=i.race,r.resolve=i.resolve,r.reject=i.reject,i.allSettled&&(r.allSettled=i.allSettled),i.any&&(r.any=i.any))}}function ZQ(){var e=xr.Promise;return TO?{Promise:e,PromiseProp:Object.getOwnPropertyDescriptor(xr,"Promise"),all:e.all,race:e.race,allSettled:e.allSettled,any:e.any,resolve:e.resolve,reject:e.reject,nthen:dx.then,gthen:e.prototype.then}:{}}function B2(e,t,n,r,i){var o=Yt;try{return Qf(e,!0),t(n,r,i)}finally{Qf(o,!1)}}function QQ(e){WQ.call(eT,e)}function gx(e,t,n,r){return typeof e!="function"?e:function(){var i=Yt;n&&U2(),Qf(t,!0);try{return e.apply(this,arguments)}finally{Qf(i,!1),r&&QQ(Kh)}}}function z7(e,t){return function(n,r){return e.call(this,gx(n,t),gx(r,t))}}var J7="unhandledrejection";function $7(e,t){var n;try{n=t.onuncatched(e)}catch{}if(n!==!1)try{var r,i={promise:t,reason:e};if(xr.document&&document.createEvent?(r=document.createEvent("Event"),r.initEvent(J7,!0,!0),Ls(r,i)):xr.CustomEvent&&(r=new CustomEvent(J7,{detail:i}),Ls(r,i)),r&&xr.dispatchEvent&&(dispatchEvent(r),!xr.PromiseRejectionEvent&&xr.onunhandledrejection))try{xr.onunhandledrejection(r)}catch{}bu&&r&&!r.defaultPrevented&&console.warn("Unhandled rejection: "+(e.stack||e))}catch{}}var vo=Tt.reject;function HQ(e,t,n,r){if(!e._state.openComplete&&!Yt.letThrough){if(!e._state.isBeingOpened){if(!e._options.autoOpen)return vo(new an.DatabaseClosed);e.open().catch(yr)}return e._state.dbReadyPromise.then(function(){return HQ(e,t,n,r)})}else{var i=e._createTransaction(t,n,e._dbSchema);try{i.create()}catch(o){return vo(o)}return i._promise(t,function(o,a){return Hh(function(){return Yt.trans=i,r(o,a,i)})}).then(function(o){return i._completion.then(function(){return o})})}}var j7="3.0.3",Lp="￿",lT=-1/0,Fu="Invalid key provided. Keys must be of type string, number, Date or Array.",KQ="String expected.",zg=[],kO=typeof navigator<"u"&&/(MSIE|Trident|Edge)/.test(navigator.userAgent),upe=kO,cpe=kO,GQ=function(e){return!/(dexie\.js|dexie\.min\.js)/.test(e)},OA="__dbnames",Jw="readonly",$w="readwrite";function Gh(e,t){return e?t?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:e:t}var zQ={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function kA(e){return function(t){return iu(t,e)===void 0&&(t=Zm(t),TQ(t,e)),t}}var fpe=function(){function e(){}return e.prototype._trans=function(t,n,r){var i=this._tx||Yt.trans,o=this.name;function a(l,u,c){if(!c.schema[o])throw new an.NotFound("Table "+o+" not part of transaction");return n(c.idbtrans,c)}var s=V2();try{return i&&i.db===this.db?i===Yt.trans?i._promise(t,a,r):Hh(function(){return i._promise(t,a,r)},{trans:i,transless:Yt.transless||Yt}):HQ(this.db,t,[this.name],a)}finally{s&&D2()}},e.prototype.get=function(t,n){var r=this;return t&&t.constructor===Object?this.where(t).first(n):this._trans("readonly",function(i){return r.core.get({trans:i,key:t}).then(function(o){return r.hook.reading.fire(o)})}).then(n)},e.prototype.where=function(t){if(typeof t=="string")return new this.db.WhereClause(this,t);if(Po(t))return new this.db.WhereClause(this,"["+t.join("+")+"]");var n=zi(t);if(n.length===1)return this.where(n[0]).equals(t[n[0]]);var r=this.schema.indexes.concat(this.schema.primKey).filter(function(c){return c.compound&&n.every(function(f){return c.keyPath.indexOf(f)>=0})&&c.keyPath.every(function(f){return n.indexOf(f)>=0})})[0];if(r&&this.db._maxKey!==Lp)return this.where(r.name).equals(r.keyPath.map(function(c){return t[c]}));!r&&bu&&console.warn("The query "+JSON.stringify(t)+" on "+this.name+" would benefit of a "+("compound index ["+n.join("+")+"]"));var i=this.schema.idxByName,o=this.db._deps.indexedDB;function a(c,f){try{return o.cmp(c,f)===0}catch{return!1}}var s=n.reduce(function(c,f){var d=c[0],h=c[1],p=i[f],v=t[f];return[d||p,d||!p?Gh(h,p&&p.multi?function(g){var m=iu(g,f);return Po(m)&&m.some(function(y){return a(v,y)})}:function(g){return a(v,iu(g,f))}):h]},[null,null]),l=s[0],u=s[1];return l?this.where(l.name).equals(t[l.keyPath]).filter(u):r?this.filter(u):this.where(n).equals("")},e.prototype.filter=function(t){return this.toCollection().and(t)},e.prototype.count=function(t){return this.toCollection().count(t)},e.prototype.offset=function(t){return this.toCollection().offset(t)},e.prototype.limit=function(t){return this.toCollection().limit(t)},e.prototype.each=function(t){return this.toCollection().each(t)},e.prototype.toArray=function(t){return this.toCollection().toArray(t)},e.prototype.toCollection=function(){return new this.db.Collection(new this.db.WhereClause(this))},e.prototype.orderBy=function(t){return new this.db.Collection(new this.db.WhereClause(this,Po(t)?"["+t.join("+")+"]":t))},e.prototype.reverse=function(){return this.toCollection().reverse()},e.prototype.mapToClass=function(t){this.schema.mappedClass=t;var n=function(r){if(!r)return r;var i=Object.create(t.prototype);for(var o in r)if(Ts(r,o))try{i[o]=r[o]}catch{}return i};return this.schema.readHook&&this.hook.reading.unsubscribe(this.schema.readHook),this.schema.readHook=n,this.hook("reading",n),t},e.prototype.defineClass=function(){function t(n){Ls(this,n)}return this.mapToClass(t)},e.prototype.add=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,a=i.keyPath,s=t;return a&&o&&(s=kA(a)(t)),this._trans("readwrite",function(l){return r.core.mutate({trans:l,type:"add",keys:n!=null?[n]:null,values:[s]})}).then(function(l){return l.numFailures?Tt.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{cl(t,a,l)}catch{}return l})},e.prototype.update=function(t,n){if(typeof n!="object"||Po(n))throw new an.InvalidArgument("Modifications must be an object.");if(typeof t=="object"&&!Po(t)){zi(n).forEach(function(i){cl(t,i,n[i])});var r=iu(t,this.schema.primKey.keyPath);return r===void 0?vo(new an.InvalidArgument("Given object does not contain its primary key")):this.where(":id").equals(r).modify(n)}else return this.where(":id").equals(t).modify(n)},e.prototype.put=function(t,n){var r=this,i=this.schema.primKey,o=i.auto,a=i.keyPath,s=t;return a&&o&&(s=kA(a)(t)),this._trans("readwrite",function(l){return r.core.mutate({trans:l,type:"put",values:[s],keys:n!=null?[n]:null})}).then(function(l){return l.numFailures?Tt.reject(l.failures[0]):l.lastResult}).then(function(l){if(a)try{cl(t,a,l)}catch{}return l})},e.prototype.delete=function(t){var n=this;return this._trans("readwrite",function(r){return n.core.mutate({trans:r,type:"delete",keys:[t]})}).then(function(r){return r.numFailures?Tt.reject(r.failures[0]):void 0})},e.prototype.clear=function(){var t=this;return this._trans("readwrite",function(n){return t.core.mutate({trans:n,type:"deleteRange",range:zQ})}).then(function(n){return n.numFailures?Tt.reject(n.failures[0]):void 0})},e.prototype.bulkGet=function(t){var n=this;return this._trans("readonly",function(r){return n.core.getMany({keys:t,trans:r}).then(function(i){return i.map(function(o){return n.hook.reading.fire(o)})})})},e.prototype.bulkAdd=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=i.schema.primKey,u=l.auto,c=l.keyPath;if(c&&o)throw new an.InvalidArgument("bulkAdd(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new an.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=c&&u?t.map(kA(c)):t;return i.core.mutate({trans:s,type:"add",keys:o,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,g=h.lastResult,m=h.failures,y=a?v:g;if(p===0)return y;throw new Gg(i.name+".bulkAdd(): "+p+" of "+f+" operations failed",Object.keys(m).map(function(R){return m[R]}))})})},e.prototype.bulkPut=function(t,n,r){var i=this,o=Array.isArray(n)?n:void 0;r=r||(o?void 0:n);var a=r?r.allKeys:void 0;return this._trans("readwrite",function(s){var l=i.schema.primKey,u=l.auto,c=l.keyPath;if(c&&o)throw new an.InvalidArgument("bulkPut(): keys argument invalid on tables with inbound keys");if(o&&o.length!==t.length)throw new an.InvalidArgument("Arguments objects and keys must have the same length");var f=t.length,d=c&&u?t.map(kA(c)):t;return i.core.mutate({trans:s,type:"put",keys:o,values:d,wantResults:a}).then(function(h){var p=h.numFailures,v=h.results,g=h.lastResult,m=h.failures,y=a?v:g;if(p===0)return y;throw new Gg(i.name+".bulkPut(): "+p+" of "+f+" operations failed",Object.keys(m).map(function(R){return m[R]}))})})},e.prototype.bulkDelete=function(t){var n=this,r=t.length;return this._trans("readwrite",function(i){return n.core.mutate({trans:i,type:"delete",keys:t})}).then(function(i){var o=i.numFailures,a=i.lastResult,s=i.failures;if(o===0)return a;throw new Gg(n.name+".bulkDelete(): "+o+" of "+r+" operations failed",s)})},e}();function zS(e){var t={},n=function(s,l){if(l){for(var u=arguments.length,c=new Array(u-1);--u;)c[u-1]=arguments[u];return t[s].subscribe.apply(null,c),e}else if(typeof s=="string")return t[s]};n.addEventType=o;for(var r=1,i=arguments.length;rd?s:0}return this.toArray(function(u){return u.sort(l)}).then(n)},e.prototype.toArray=function(t){var n=this;return this._read(function(r){var i=n._ctx;if(i.dir==="next"&&S1(i,!0)&&i.limit>0){var o=i.valueMapper,a=ib(i,i.table.core.schema);return i.table.core.query({trans:r,limit:i.limit,values:!0,query:{index:a,range:i.range}}).then(function(l){var u=l.result;return o?u.map(o):u})}else{var s=[];return PA(i,function(l){return s.push(l)},r,i.table.core).then(function(){return s})}},t)},e.prototype.offset=function(t){var n=this._ctx;return t<=0?this:(n.offset+=t,S1(n)?qw(n,function(){var r=t;return function(i,o){return r===0?!0:r===1?(--r,!1):(o(function(){i.advance(r),r=0}),!1)}}):qw(n,function(){var r=t;return function(){return--r<0}}),this)},e.prototype.limit=function(t){return this._ctx.limit=Math.min(this._ctx.limit,t),qw(this._ctx,function(){var n=t;return function(r,i,o){return--n<=0&&i(o),n>=0}},!0),this},e.prototype.until=function(t,n){return jw(this._ctx,function(r,i,o){return t(r.value)?(i(o),n):!0}),this},e.prototype.first=function(t){return this.limit(1).toArray(function(n){return n[0]}).then(t)},e.prototype.last=function(t){return this.reverse().first(t)},e.prototype.filter=function(t){return jw(this._ctx,function(n){return t(n.value)}),hpe(this._ctx,t),this},e.prototype.and=function(t){return this.filter(t)},e.prototype.or=function(t){return new this.db.WhereClause(this._ctx.table,t,this)},e.prototype.reverse=function(){return this._ctx.dir=this._ctx.dir==="prev"?"next":"prev",this._ondirectionchange&&this._ondirectionchange(this._ctx.dir),this},e.prototype.desc=function(){return this.reverse()},e.prototype.eachKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.key,i)})},e.prototype.eachUniqueKey=function(t){return this._ctx.unique="unique",this.eachKey(t)},e.prototype.eachPrimaryKey=function(t){var n=this._ctx;return n.keysOnly=!n.isMatch,this.each(function(r,i){t(i.primaryKey,i)})},e.prototype.keys=function(t){var n=this._ctx;n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.key)}).then(function(){return r}).then(t)},e.prototype.primaryKeys=function(t){var n=this._ctx;if(n.dir==="next"&&S1(n,!0)&&n.limit>0)return this._read(function(i){var o=ib(n,n.table.core.schema);return n.table.core.query({trans:i,values:!1,limit:n.limit,query:{index:o,range:n.range}})}).then(function(i){var o=i.result;return o}).then(t);n.keysOnly=!n.isMatch;var r=[];return this.each(function(i,o){r.push(o.primaryKey)}).then(function(){return r}).then(t)},e.prototype.uniqueKeys=function(t){return this._ctx.unique="unique",this.keys(t)},e.prototype.firstKey=function(t){return this.limit(1).keys(function(n){return n[0]}).then(t)},e.prototype.lastKey=function(t){return this.reverse().firstKey(t)},e.prototype.distinct=function(){var t=this._ctx,n=t.index&&t.table.schema.idxByName[t.index];if(!n||!n.multi)return this;var r={};return jw(this._ctx,function(i){var o=i.primaryKey.toString(),a=Ts(r,o);return r[o]=!0,!a}),this},e.prototype.modify=function(t){var n=this,r=this._ctx;return this._write(function(i){var o;if(typeof t=="function")o=t;else{var a=zi(t),s=a.length;o=function(y){for(var R=!1,A=0;A0&&l.mutate({trans:i,type:"add",values:L}).then(function(C){for(var F in C.failures)_.splice(parseInt(F),1);m(L.length,C)})).then(function(C){return w.length>0&&l.mutate({trans:i,type:"put",keys:M,values:w}).then(function(F){return m(w.length,F)})}).then(function(){return _.length>0&&l.mutate({trans:i,type:"delete",keys:_}).then(function(C){return m(_.length,C)})}).then(function(){return y.length>A+x&&R(A+d)})})};return R(0).then(function(){if(p.length>0)throw new fx("Error modifying one or more objects",p,v,g);return y.length})})})},e.prototype.delete=function(){var t=this._ctx,n=t.range;return S1(t)&&(t.isPrimKey&&!cpe||n.type===3)?this._write(function(r){var i=t.table.core.schema.primaryKey,o=n;return t.table.core.count({trans:r,query:{index:i,range:o}}).then(function(a){return t.table.core.mutate({trans:r,type:"deleteRange",range:o}).then(function(s){var l=s.failures;s.lastResult,s.results;var u=s.numFailures;if(u)throw new fx("Could not delete some values",Object.keys(l).map(function(c){return l[c]}),a-u);return a-u})})}):this.modify(function(r,i){return i.value=null})},e}();function vpe(e){return Y2(ppe.prototype,function(n,r){this.db=e;var i=zQ,o=null;if(r)try{i=r()}catch(u){o=u}var a=n._ctx,s=a.table,l=s.hook.reading.fire;this._ctx={table:s,index:a.index,isPrimKey:!a.index||s.schema.primKey.keyPath&&a.index===s.schema.primKey.name,range:i,keysOnly:!1,dir:"next",unique:"",algorithm:null,filter:null,replayFilter:null,justLimit:!0,isMatch:null,offset:0,limit:1/0,error:o,or:a.or,valueMapper:l!==W2?l:null}})}function gpe(e,t){return et?-1:e===t?0:1}function Sa(e,t,n){var r=e instanceof $Q?new e.Collection(e):e;return r._ctx.error=n?new n(t):new TypeError(t),r}function E0(e){return new e.Collection(e,function(){return JQ("")}).limit(0)}function ype(e){return e==="next"?function(t){return t.toUpperCase()}:function(t){return t.toLowerCase()}}function Ape(e){return e==="next"?function(t){return t.toLowerCase()}:function(t){return t.toUpperCase()}}function Rpe(e,t,n,r,i,o){for(var a=Math.min(e.length,r.length),s=-1,l=0;l=0?e.substr(0,s)+t[s]+n.substr(s+1):null;i(e[l],u)<0&&(s=l)}return a0)&&(A=S)}return g(A!==null?function(){v.continue(A+c)}:m),!1}),h}function zc(e,t,n,r){return{type:2,lower:e,upper:t,lowerOpen:n,upperOpen:r}}function JQ(e){return{type:1,lower:e,upper:e}}var $Q=function(){function e(){}return Object.defineProperty(e.prototype,"Collection",{get:function(){return this._ctx.table.db.Collection},enumerable:!0,configurable:!0}),e.prototype.between=function(t,n,r,i){r=r!==!1,i=i===!0;try{return this._cmp(t,n)>0||this._cmp(t,n)===0&&(r||i)&&!(r&&i)?E0(this):new this.Collection(this,function(){return zc(t,n,!r,!i)})}catch{return Sa(this,Fu)}},e.prototype.equals=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return JQ(t)})},e.prototype.above=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(t,void 0,!0)})},e.prototype.aboveOrEqual=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(t,void 0,!1)})},e.prototype.below=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(void 0,t,!1,!0)})},e.prototype.belowOrEqual=function(t){return t==null?Sa(this,Fu):new this.Collection(this,function(){return zc(void 0,t)})},e.prototype.startsWith=function(t){return typeof t!="string"?Sa(this,KQ):this.between(t,t+Lp,!0,!0)},e.prototype.startsWithIgnoreCase=function(t){return t===""?this.startsWith(t):CA(this,function(n,r){return n.indexOf(r[0])===0},[t],Lp)},e.prototype.equalsIgnoreCase=function(t){return CA(this,function(n,r){return n===r[0]},[t],"")},e.prototype.anyOfIgnoreCase=function(){var t=Ju.apply(dp,arguments);return t.length===0?E0(this):CA(this,function(n,r){return r.indexOf(n)!==-1},t,"")},e.prototype.startsWithAnyOfIgnoreCase=function(){var t=Ju.apply(dp,arguments);return t.length===0?E0(this):CA(this,function(n,r){return r.some(function(i){return n.indexOf(i)===0})},t,Lp)},e.prototype.anyOf=function(){var t=this,n=Ju.apply(dp,arguments),r=this._cmp;try{n.sort(r)}catch{return Sa(this,Fu)}if(n.length===0)return E0(this);var i=new this.Collection(this,function(){return zc(n[0],n[n.length-1])});i._ondirectionchange=function(a){r=a==="next"?t._ascending:t._descending,n.sort(r)};var o=0;return i._addAlgorithm(function(a,s,l){for(var u=a.key;r(u,n[o])>0;)if(++o,o===n.length)return s(l),!1;return r(u,n[o])===0?!0:(s(function(){a.continue(n[o])}),!1)}),i},e.prototype.notEqual=function(t){return this.inAnyRange([[lT,t],[t,this.db._maxKey]],{includeLowers:!1,includeUppers:!1})},e.prototype.noneOf=function(){var t=Ju.apply(dp,arguments);if(t.length===0)return new this.Collection(this);try{t.sort(this._ascending)}catch{return Sa(this,Fu)}var n=t.reduce(function(r,i){return r?r.concat([[r[r.length-1][1],i]]):[[lT,i]]},null);return n.push([t[t.length-1],this.db._maxKey]),this.inAnyRange(n,{includeLowers:!1,includeUppers:!1})},e.prototype.inAnyRange=function(t,n){var r=this,i=this._cmp,o=this._ascending,a=this._descending,s=this._min,l=this._max;if(t.length===0)return E0(this);if(!t.every(function(x){return x[0]!==void 0&&x[1]!==void 0&&o(x[0],x[1])<=0}))return Sa(this,"First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower",an.InvalidArgument);var u=!n||n.includeLowers!==!1,c=n&&n.includeUppers===!0;function f(x,S){for(var L=0,w=x.length;L0){M[0]=s(M[0],S[0]),M[1]=l(M[1],S[1]);break}}return L===w&&x.push(S),x}var d=o;function h(x,S){return d(x[0],S[0])}var p;try{p=t.reduce(f,[]),p.sort(h)}catch{return Sa(this,Fu)}var v=0,g=c?function(x){return o(x,p[v][1])>0}:function(x){return o(x,p[v][1])>=0},m=u?function(x){return a(x,p[v][0])>0}:function(x){return a(x,p[v][0])>=0};function y(x){return!g(x)&&!m(x)}var R=g,A=new this.Collection(this,function(){return zc(p[0][0],p[p.length-1][1],!u,!c)});return A._ondirectionchange=function(x){x==="next"?(R=g,d=o):(R=m,d=a),p.sort(h)},A._addAlgorithm(function(x,S,L){for(var w=x.key;R(w);)if(++v,v===p.length)return S(L),!1;return y(w)?!0:(r._cmp(w,p[v][1])===0||r._cmp(w,p[v][0])===0||S(function(){d===o?x.continue(p[v][0]):x.continue(p[v][1])}),!1)}),A},e.prototype.startsWithAnyOf=function(){var t=Ju.apply(dp,arguments);return t.every(function(n){return typeof n=="string"})?t.length===0?E0(this):this.inAnyRange(t.map(function(n){return[n,n+Lp]})):Sa(this,"startsWithAnyOf() only works with strings")},e}();function bpe(e){return Y2($Q.prototype,function(n,r,i){this.db=e,this._ctx={table:n,index:r===":id"?null:r,or:i};var o=e._deps.indexedDB;if(!o)throw new an.MissingAPI("indexedDB API missing");this._cmp=this._ascending=o.cmp.bind(o),this._descending=function(a,s){return o.cmp(s,a)},this._max=function(a,s){return o.cmp(a,s)>0?a:s},this._min=function(a,s){return o.cmp(a,s)<0?a:s},this._IDBKeyRange=e._deps.IDBKeyRange})}function jQ(e){return e.length===1?e[0]:e}function PO(e){try{return e.only([[]]),[[]]}catch{return Lp}}function Bl(e){return Xr(function(t){return Km(t),e(t.target.error),!1})}function Km(e){e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault()}var xpe=function(){function e(){}return e.prototype._lock=function(){return cg(!Yt.global),++this._reculock,this._reculock===1&&!Yt.global&&(Yt.lockOwnerFor=this),this},e.prototype._unlock=function(){if(cg(!Yt.global),--this._reculock===0)for(Yt.global||(Yt.lockOwnerFor=null);this._blockedFuncs.length>0&&!this._locked();){var t=this._blockedFuncs.shift();try{B2(t[1],t[0])}catch{}}return this},e.prototype._locked=function(){return this._reculock&&Yt.lockOwnerFor!==this},e.prototype.create=function(t){var n=this;if(!this.mode)return this;var r=this.db.idbdb,i=this.db._state.dbOpenError;if(cg(!this.idbtrans),!t&&!r)switch(i&&i.name){case"DatabaseClosedError":throw new an.DatabaseClosed(i);case"MissingAPIError":throw new an.MissingAPI(i.message,i);default:throw new an.OpenFailed(i)}if(!this.active)throw new an.TransactionInactive;return cg(this._completion._state===null),t=this.idbtrans=t||r.transaction(jQ(this.storeNames),this.mode),t.onerror=Xr(function(o){Km(o),n._reject(t.error)}),t.onabort=Xr(function(o){Km(o),n.active&&n._reject(new an.Abort(t.error)),n.active=!1,n.on("abort").fire(o)}),t.oncomplete=Xr(function(){n.active=!1,n._resolve()}),this},e.prototype._promise=function(t,n,r){var i=this;if(t==="readwrite"&&this.mode!=="readwrite")return vo(new an.ReadOnly("Transaction is readonly"));if(!this.active)return vo(new an.TransactionInactive);if(this._locked())return new Tt(function(a,s){i._blockedFuncs.push([function(){i._promise(t,n,r).then(a,s)},Yt])});if(r)return Hh(function(){var a=new Tt(function(s,l){i._lock();var u=n(s,l,i);u&&u.then&&u.then(s,l)});return a.finally(function(){return i._unlock()}),a._lib=!0,a});var o=new Tt(function(a,s){var l=n(a,s,i);l&&l.then&&l.then(a,s)});return o._lib=!0,o},e.prototype._root=function(){return this.parent?this.parent._root():this},e.prototype.waitFor=function(t){var n=this._root(),r=Tt.resolve(t);if(n._waitingFor)n._waitingFor=n._waitingFor.then(function(){return r});else{n._waitingFor=r,n._waitingQueue=[];var i=n.idbtrans.objectStore(n.storeNames[0]);(function a(){for(++n._spinCount;n._waitingQueue.length;)n._waitingQueue.shift()();n._waitingFor&&(i.get(-1/0).onsuccess=a)})()}var o=n._waitingFor;return new Tt(function(a,s){r.then(function(l){return n._waitingQueue.push(Xr(a.bind(null,l)))},function(l){return n._waitingQueue.push(Xr(s.bind(null,l)))}).finally(function(){n._waitingFor===o&&(n._waitingFor=null)})})},e.prototype.abort=function(){this.active&&this._reject(new an.Abort),this.active=!1},e.prototype.table=function(t){var n=this._memoizedTables||(this._memoizedTables={});if(Ts(n,t))return n[t];var r=this.schema[t];if(!r)throw new an.NotFound("Table "+t+" not part of transaction");var i=new this.db.Table(t,r,this);return i.core=this.db.core.table(t),n[t]=i,i},e}();function Spe(e){return Y2(xpe.prototype,function(n,r,i,o){var a=this;this.db=e,this.mode=n,this.storeNames=r,this.schema=i,this.idbtrans=null,this.on=zS(this,"complete","error","abort"),this.parent=o||null,this.active=!0,this._reculock=0,this._blockedFuncs=[],this._resolve=null,this._reject=null,this._waitingFor=null,this._waitingQueue=null,this._spinCount=0,this._completion=new Tt(function(s,l){a._resolve=s,a._reject=l}),this._completion.then(function(){a.active=!1,a.on.complete.fire()},function(s){var l=a.active;return a.active=!1,a.on.error.fire(s),a.parent?a.parent._reject(s):l&&a.idbtrans&&a.idbtrans.abort(),vo(s)})})}function uT(e,t,n,r,i,o,a){return{name:e,keyPath:t,unique:n,multi:r,auto:i,compound:o,src:(n&&!a?"&":"")+(r?"*":"")+(i?"++":"")+qQ(t)}}function qQ(e){return typeof e=="string"?e:e?"["+[].join.call(e,"+")+"]":""}function eH(e,t,n){return{name:e,primKey:t,indexes:n,mappedClass:null,idxByName:LQ(n,function(r){return[r.name,r]})}}function cT(e){return e==null?function(){}:typeof e=="string"?wpe(e):function(t){return iu(t,e)}}function wpe(e){var t=e.split(".");return t.length===1?function(n){return n[e]}:function(n){return iu(n,e)}}function tH(e,t){return t.type==="delete"?t.keys:t.keys||t.values.map(e.extractKey)}function Mpe(e,t,n){return t.type==="add"?Promise.resolve(new Array(t.values.length)):e.getMany({trans:t.trans,keys:n})}function t9(e){return[].slice.call(e)}var Lpe=0;function Jg(e){return e==null?":id":typeof e=="string"?e:"["+e.join("+")+"]"}function Tpe(e,t,n,r){var i=t.cmp.bind(t);function o(h,p){var v=t9(h.objectStoreNames);return{schema:{name:h.name,tables:v.map(function(g){return p.objectStore(g)}).map(function(g){var m=g.keyPath,y=g.autoIncrement,R=Po(m),A=m==null,x={},S={name:g.name,primaryKey:{name:null,isPrimaryKey:!0,outbound:A,compound:R,keyPath:m,autoIncrement:y,unique:!0,extractKey:cT(m)},indexes:t9(g.indexNames).map(function(L){return g.index(L)}).map(function(L){var w=L.name,M=L.unique,_=L.multiEntry,k=L.keyPath,P=Po(k),N={name:w,compound:P,keyPath:k,unique:M,multiEntry:_,extractKey:cT(k)};return x[Jg(k)]=N,N}),getIndexByKeyPath:function(L){return x[Jg(L)]}};return x[":id"]=S.primaryKey,m!=null&&(x[Jg(m)]=S.primaryKey),S})},hasGetAll:v.length>0&&"getAll"in p.objectStore(v[0])&&!(typeof navigator<"u"&&/Safari/.test(navigator.userAgent)&&!/(Chrome\/|Edge\/)/.test(navigator.userAgent)&&[].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1]<604)}}function a(h){if(h.type===3)return null;if(h.type===4)throw new Error("Cannot convert never type to IDBKeyRange");var p=h.lower,v=h.upper,g=h.lowerOpen,m=h.upperOpen,y=p===void 0?v===void 0?null:n.upperBound(v,!!m):v===void 0?n.lowerBound(p,!!g):n.bound(p,v,!!g,!!m);return y}function s(h){var p=h.name;function v(y){var R=y.trans,A=y.type,x=y.keys,S=y.values,L=y.range,w=y.wantResults;return new Promise(function(M,_){M=Xr(M);var k=R.objectStore(p),P=k.keyPath==null,N=A==="put"||A==="add";if(!N&&A!=="delete"&&A!=="deleteRange")throw new Error("Invalid operation type: "+A);var C=(x||S||{length:1}).length;if(x&&S&&x.length!==S.length)throw new Error("Given keys array must have same length as given values array.");if(C===0)return M({numFailures:0,failures:{},results:[],lastResult:void 0});var F=w&&J8(x||tH(h.primaryKey,{type:A,keys:x,values:S})),I,W=[],D=0,Z=function($){++D,Km($),F&&(F[$.target._reqno]=void 0),W[$.target._reqno]=$.target.error},re=function($){var de=$.target;F[de._reqno]=de.result};if(A==="deleteRange"){if(L.type===4)return M({numFailures:D,failures:W,results:F,lastResult:void 0});L.type===3?I=k.clear():I=k.delete(a(L))}else{var B=N?P?[S,x]:[S,null]:[x,null],Y=B[0],Q=B[1];if(N)for(var K=0;K=t});l.forEach(function(c){i.push(function(){var f=a,d=c._cfg.dbschema;hT(e,f,r),hT(e,d,r),a=e._dbSchema=d;var h=nH(f,d);h.add.forEach(function(R){IO(r,R[0],R[1].primKey,R[1].indexes)}),h.change.forEach(function(R){if(R.recreate)throw new an.Upgrade("Not yet support for changing primary key");var A=r.objectStore(R.name);R.add.forEach(function(x){return dT(A,x)}),R.change.forEach(function(x){A.deleteIndex(x.name),dT(A,x)}),R.del.forEach(function(x){return A.deleteIndex(x)})});var p=c._cfg.contentUpgrade;if(p&&c._cfg.version>t){CO(e,r),n._memoizedTables={},s=!0;var v=_Q(d);h.del.forEach(function(R){v[R]=f[R]}),fT(e,[e.Transaction.prototype]),mx(e,[e.Transaction.prototype],zi(v),v),n.schema=v;var g=PQ(p);g&&U2();var m,y=Tt.follow(function(){if(m=p(n),m&&g){var R=Kh.bind(null,null);m.then(R,R)}});return m&&typeof m.then=="function"?Tt.resolve(m):y.then(function(){return m})}}),i.push(function(f){if(!s||!upe){var d=c._cfg.dbschema;Npe(d,f)}fT(e,[e.Transaction.prototype]),mx(e,[e.Transaction.prototype],e._storeNames,e._dbSchema),n.schema=e._dbSchema})});function u(){return i.length?Tt.resolve(i.shift()(n.idbtrans)).then(u):Tt.resolve()}return u().then(function(){Ipe(a,r)})}function nH(e,t){var n={del:[],add:[],change:[]},r;for(r in e)t[r]||n.del.push(r);for(r in t){var i=e[r],o=t[r];if(!i)n.add.push([r,o]);else{var a={name:r,def:o,recreate:!1,del:[],add:[],change:[]};if(""+(i.primKey.keyPath||"")!=""+(o.primKey.keyPath||"")||i.primKey.auto!==o.primKey.auto&&!kO)a.recreate=!0,n.change.push(a);else{var s=i.idxByName,l=o.idxByName,u=void 0;for(u in s)l[u]||a.del.push(u);for(u in l){var c=s[u],f=l[u];c?c.src!==f.src&&a.change.push(f):a.add.push(f)}(a.del.length>0||a.add.length>0||a.change.length>0)&&n.change.push(a)}}}return n}function IO(e,t,n,r){var i=e.db.createObjectStore(t,n.keyPath?{keyPath:n.keyPath,autoIncrement:n.auto}:{autoIncrement:n.auto});return r.forEach(function(o){return dT(i,o)}),i}function Ipe(e,t){zi(e).forEach(function(n){t.db.objectStoreNames.contains(n)||IO(t,n,e[n].primKey,e[n].indexes)})}function Npe(e,t){for(var n=0;nMath.pow(2,62)?0:u.oldVersion;e.idbdb=l.result,Ppe(e,f/10,i,a)}},a),l.onsuccess=Xr(function(){i=null;var u=e.idbdb=l.result,c=KS(u.objectStoreNames);if(c.length>0)try{var f=u.transaction(jQ(c),"readonly");t.autoSchema?Fpe(e,u,f):(hT(e,e._dbSchema,f),Epe(e,f)||console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")),CO(e,f)}catch{}zg.push(e),u.onversionchange=Xr(function(d){t.vcFired=!0,e.on("versionchange").fire(d)}),Gm.add(s),o()},a)})]).then(function(){return t.onReadyBeingFired=[],Tt.resolve(pT(e.on.ready.fire)).then(function o(){if(t.onReadyBeingFired.length>0){var a=t.onReadyBeingFired.reduce(EQ,yr);return t.onReadyBeingFired=[],Tt.resolve(pT(a)).then(o)}})}).finally(function(){t.onReadyBeingFired=null}).then(function(){return t.isBeingOpened=!1,e}).catch(function(o){try{i&&i.abort()}catch{}return t.isBeingOpened=!1,e.close(),t.dbOpenError=o,vo(t.dbOpenError)}).finally(function(){t.openComplete=!0,r()})}function vT(e){var t=function(a){return e.next(a)},n=function(a){return e.throw(a)},r=o(t),i=o(n);function o(a){return function(s){var l=a(s),u=l.value;return l.done?u:!u||typeof u.then!="function"?Po(u)?Promise.all(u).then(r,i):r(u):u.then(r,i)}}return o(t)()}function Ype(e,t,n){var r=arguments.length;if(r<2)throw new an.InvalidArgument("Too few arguments");for(var i=new Array(r-1);--r;)i[r-1]=arguments[r];n=i.pop();var o=OQ(i);return[e,o,n]}function Zpe(e,t,n,r,i){return Tt.resolve().then(function(){var o=Yt.transless||Yt,a=e._createTransaction(t,n,e._dbSchema,r),s={trans:a,transless:o};r?a.idbtrans=r.idbtrans:a.create();var l=PQ(i);l&&U2();var u,c=Tt.follow(function(){if(u=i.call(a,a),u)if(l){var f=Kh.bind(null,null);u.then(f,f)}else typeof u.next=="function"&&typeof u.throw=="function"&&(u=vT(u))},s);return(u&&typeof u.then=="function"?Tt.resolve(u).then(function(f){return a.active?f:vo(new an.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))}):c.then(function(){return u})).then(function(f){return r&&a._resolve(),a._completion.then(function(){return f})}).catch(function(f){return a._reject(f),vo(f)})})}function w1(e,t,n){for(var r=Po(e)?e.slice():[e],i=0;i0,S=gr(gr({},m),{isVirtual:x,isPrimaryKey:!x&&m.isPrimaryKey,keyTail:g,keyLength:A,extractKey:cT(v),unique:!x&&m.unique});if(R.push(S),S.isPrimaryKey||o.push(S),A>1){var L=A===2?v[0]:v.slice(0,A-1);a(L,g+1,m)}return R.sort(function(w,M){return w.keyTail-M.keyTail}),S}var s=a(r.primaryKey.keyPath,0,r.primaryKey);i[":id"]=[s];for(var l=0,u=r.indexes;l0?Promise.reject(R.failures[0]):y.length0?console.warn("Another connection wants to upgrade database '"+r.name+"'. Closing db now to resume the upgrade."):console.warn("Another connection wants to delete database '"+r.name+"'. Closing db now to resume the delete request."),r.close()}),this.on("blocked",function(s){!s.newVersion||s.newVersion=0&&zg.splice(t,1),this.idbdb){try{this.idbdb.close()}catch{}this.idbdb=null}this._options.autoOpen=!1,n.dbOpenError=new an.DatabaseClosed,n.isBeingOpened&&n.cancelOpen(n.dbOpenError),n.dbReadyPromise=new Tt(function(r){n.dbReadyResolve=r}),n.openCanceller=new Tt(function(r,i){n.cancelOpen=i})},e.prototype.delete=function(){var t=this,n=arguments.length>0,r=this._state;return new Tt(function(i,o){var a=function(){t.close();var s=t._deps.indexedDB.deleteDatabase(t.name);s.onsuccess=Xr(function(){Gm.remove(t.name),i()}),s.onerror=Bl(o),s.onblocked=t._fireOnBlocked};if(n)throw new an.InvalidArgument("Arguments not allowed in db.delete()");r.isBeingOpened?r.dbReadyPromise.then(a):a()})},e.prototype.backendDB=function(){return this.idbdb},e.prototype.isOpen=function(){return this.idbdb!==null},e.prototype.hasBeenClosed=function(){var t=this._state.dbOpenError;return t&&t.name==="DatabaseClosed"},e.prototype.hasFailed=function(){return this._state.dbOpenError!==null},e.prototype.dynamicallyOpened=function(){return this._state.autoSchema},Object.defineProperty(e.prototype,"tables",{get:function(){var t=this;return zi(this._allTables).map(function(n){return t._allTables[n]})},enumerable:!0,configurable:!0}),e.prototype.transaction=function(){var t=Ype.apply(this,arguments);return this._transaction.apply(this,t)},e.prototype._transaction=function(t,n,r){var i=this,o=Yt.trans;(!o||o.db!==this||t.indexOf("!")!==-1)&&(o=null);var a=t.indexOf("?")!==-1;t=t.replace("!","").replace("?","");var s,l;try{if(l=n.map(function(c){var f=c instanceof i.Table?c.name:c;if(typeof f!="string")throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");return f}),t=="r"||t===Jw)s=Jw;else if(t=="rw"||t==$w)s=$w;else throw new an.InvalidArgument("Invalid transaction mode: "+t);if(o){if(o.mode===Jw&&s===$w)if(a)o=null;else throw new an.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");o&&l.forEach(function(c){if(o&&o.storeNames.indexOf(c)===-1)if(a)o=null;else throw new an.SubTransaction("Table "+c+" not included in parent transaction.")}),a&&o&&!o.active&&(o=null)}}catch(c){return o?o._promise(null,function(f,d){d(c)}):vo(c)}var u=Zpe.bind(null,this,s,l,o,r);return o?o._promise(s,u,"lock"):Yt.trans?B2(Yt.transless,function(){return i._whenReady(u)}):this._whenReady(u)},e.prototype.table=function(t){if(!Ts(this._allTables,t))throw new an.InvalidTable("Table "+t+" does not exist");return this._allTables[t]},e}(),sf=zh;Ym(sf,gr(gr({},GS),{delete:function(e){var t=new sf(e);return t.delete()},exists:function(e){return new sf(e,{addons:[]}).open().then(function(t){return t.close(),!0}).catch("NoSuchDatabaseError",function(){return!1})},getDatabaseNames:function(e){return Gm?Gm.getDatabaseNames().then(e):Tt.resolve([])},defineClass:function(){function e(t){Ls(this,t)}return e},ignoreTransaction:function(e){return Yt.trans?B2(Yt.transless,e):e()},vip:pT,async:function(e){return function(){try{var t=vT(e.apply(this,arguments));return!t||typeof t.then!="function"?Tt.resolve(t):t}catch(n){return vo(n)}}},spawn:function(e,t,n){try{var r=vT(e.apply(n,t||[]));return!r||typeof r.then!="function"?Tt.resolve(r):r}catch(i){return vo(i)}},currentTransaction:{get:function(){return Yt.trans||null}},waitFor:function(e,t){var n=Tt.resolve(typeof e=="function"?sf.ignoreTransaction(e):e).timeout(t||6e4);return Yt.trans?Yt.trans.waitFor(n):n},Promise:Tt,debug:{get:function(){return bu},set:function(e){CQ(e,e==="dexie"?function(){return!0}:GQ)}},derive:Uv,extend:Ls,props:Ym,override:wQ,Events:zS,getByKeyPath:iu,setByKeyPath:cl,delByKeyPath:TQ,shallowClone:_Q,deepClone:Zm,getObjectDiff:wO,asap:MQ,minKey:lT,addons:[],connections:zg,errnames:Z0e,dependencies:function(){try{return{indexedDB:xr.indexedDB||xr.mozIndexedDB||xr.webkitIndexedDB||xr.msIndexedDB,IDBKeyRange:xr.IDBKeyRange||xr.webkitIDBKeyRange}}catch{return{indexedDB:null,IDBKeyRange:null}}}(),semVer:j7,version:j7.split(".").map(function(e){return parseInt(e)}).reduce(function(e,t,n){return e+t/Math.pow(10,n*2)}),default:sf,Dexie:sf}));sf.maxKey=PO(sf.dependencies.IDBKeyRange);Upe(zh.dependencies.indexedDB);Tt.rejectionMapper=H0e;CQ(bu,GQ);const yx="PPTIST_DISCARDED_DB",gT="PPTist",Gpe=async()=>{const e=new Date().getTime(),t=localStorage.getItem(yx),n=t?JSON.parse(t):[],i=(await zh.getDatabaseNames()).filter(o=>{if(o.indexOf(gT)===-1)return!1;const[a,s,l]=o.split("_");return!!(a!==gT||!s||!l||n.includes(s)||e-+l>=1e3*60*60*12)});for(const o of i)zh.delete(o);localStorage.removeItem(yx)};class zpe extends zh{constructor(){super(`${gT}_${bQ}_${new Date().getTime()}`);Lr(this,"snapshots");Lr(this,"writingBoardImgs");this.version(1).stores({snapshots:"++id",writingBoardImgs:"++id"}),this.snapshots=this.table("snapshots"),this.writingBoardImgs=this.table("writingBoardImgs")}}const el=new zpe,JS=E2("snapshot",{state:()=>({snapshotCursor:-1,snapshotLength:0}),getters:{canUndo(e){return e.snapshotCursor>0},canRedo(e){return e.snapshotCursor=0&&this.snapshotCursor20&&(n.push(t[0]),i--),i>=2&&el.snapshots.update(t[i-2],{index:e.slideIndex}),await el.snapshots.bulkDelete(n),this.setSnapshotCursor(i-1),this.setSnapshotLength(i)},async unDo(){if(this.snapshotCursor<=0)return;const e=ut(),t=ht(),n=this.snapshotCursor-1,i=(await el.snapshots.orderBy("id").toArray())[n],{index:o,slides:a}=i,s=o>a.length-1?a.length-1:o;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])},async reDo(){if(this.snapshotCursor>=this.snapshotLength-1)return;const e=ut(),t=ht(),n=this.snapshotCursor+1,i=(await el.snapshots.orderBy("id").toArray())[n],{index:o,slides:a}=i,s=o>a.length-1?a.length-1:o;e.setSlides(a),e.updateSlideIndex(s),this.setSnapshotCursor(n),t.setActiveElementIdList([])}}}),pl=E2("keyboard",{state:()=>({ctrlKeyState:!1,shiftKeyState:!1,spaceKeyState:!1}),getters:{ctrlOrShiftKeyActive(e){return e.ctrlKeyState||e.shiftKeyState}},actions:{setCtrlKeyState(e){this.ctrlKeyState=e},setShiftKeyState(e){this.shiftKeyState=e},setSpaceKeyState(e){this.spaceKeyState=e}}}),rH=E2("screen",{state:()=>({screening:!1}),actions:{setScreening(e){this.screening=e}}}),dg=(e,t)=>Yn.padStart(""+e,t,"0"),Jpe=()=>!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|Mobile|BlackBerry|Symbian|Windows Phone)/i),$pe=e=>/^(https?:\/\/)([\w-]+\.)+[\w-]{2,}(\/[\w-./?%&=]*)?$/i.test(e);function iH(e,t){return function(){return e.apply(t,arguments)}}const{toString:jpe}=Object.prototype,{getPrototypeOf:FO}=Object,$S=(e=>t=>{const n=jpe.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),vl=e=>(e=e.toLowerCase(),t=>$S(t)===e),jS=e=>t=>typeof t===e,{isArray:Zv}=Array,zm=jS("undefined");function qpe(e){return e!==null&&!zm(e)&&e.constructor!==null&&!zm(e.constructor)&&Da(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const oH=vl("ArrayBuffer");function eve(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&oH(e.buffer),t}const tve=jS("string"),Da=jS("function"),aH=jS("number"),qS=e=>e!==null&&typeof e=="object",nve=e=>e===!0||e===!1,ob=e=>{if($S(e)!=="object")return!1;const t=FO(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rve=vl("Date"),ive=vl("File"),ove=vl("Blob"),ave=vl("FileList"),sve=e=>qS(e)&&Da(e.pipe),lve=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Da(e.append)&&((t=$S(e))==="formdata"||t==="object"&&Da(e.toString)&&e.toString()==="[object FormData]"))},uve=vl("URLSearchParams"),[cve,fve,dve,hve]=["ReadableStream","Request","Response","Headers"].map(vl),pve=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Z2(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Zv(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const fh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lH=e=>!zm(e)&&e!==fh;function mT(){const{caseless:e}=lH(this)&&this||{},t={},n=(r,i)=>{const o=e&&sH(t,i)||i;ob(t[o])&&ob(r)?t[o]=mT(t[o],r):ob(r)?t[o]=mT({},r):Zv(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Z2(t,(i,o)=>{n&&Da(i)?e[o]=iH(i,n):e[o]=i},{allOwnKeys:r}),e),gve=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mve=(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)},yve=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&FO(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ave=(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},Rve=e=>{if(!e)return null;if(Zv(e))return e;let t=e.length;if(!aH(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},bve=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&FO(Uint8Array)),xve=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},Sve=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},wve=vl("HTMLFormElement"),Mve=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),n9=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Lve=vl("RegExp"),uH=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Z2(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},Tve=e=>{uH(e,(t,n)=>{if(Da(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Da(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+"'")})}})},_ve=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Zv(e)?r(e):r(String(e).split(t)),n},Ove=()=>{},kve=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,eM="abcdefghijklmnopqrstuvwxyz",r9="0123456789",cH={DIGIT:r9,ALPHA:eM,ALPHA_DIGIT:eM+eM.toUpperCase()+r9},Pve=(e=16,t=cH.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Cve(e){return!!(e&&Da(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ive=e=>{const t=new Array(10),n=(r,i)=>{if(qS(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=Zv(r)?[]:{};return Z2(r,(a,s)=>{const l=n(a,i+1);!zm(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},Nve=vl("AsyncFunction"),Fve=e=>e&&(qS(e)||Da(e))&&Da(e.then)&&Da(e.catch),fH=((e,t)=>e?setImmediate:t?((n,r)=>(fh.addEventListener("message",({source:i,data:o})=>{i===fh&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),fh.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Da(fh.postMessage)),Eve=typeof queueMicrotask<"u"?queueMicrotask.bind(fh):typeof process<"u"&&process.nextTick||fH,Ke={isArray:Zv,isArrayBuffer:oH,isBuffer:qpe,isFormData:lve,isArrayBufferView:eve,isString:tve,isNumber:aH,isBoolean:nve,isObject:qS,isPlainObject:ob,isReadableStream:cve,isRequest:fve,isResponse:dve,isHeaders:hve,isUndefined:zm,isDate:rve,isFile:ive,isBlob:ove,isRegExp:Lve,isFunction:Da,isStream:sve,isURLSearchParams:uve,isTypedArray:bve,isFileList:ave,forEach:Z2,merge:mT,extend:vve,trim:pve,stripBOM:gve,inherits:mve,toFlatObject:yve,kindOf:$S,kindOfTest:vl,endsWith:Ave,toArray:Rve,forEachEntry:xve,matchAll:Sve,isHTMLForm:wve,hasOwnProperty:n9,hasOwnProp:n9,reduceDescriptors:uH,freezeMethods:Tve,toObjectSet:_ve,toCamelCase:Mve,noop:Ove,toFiniteNumber:kve,findKey:sH,global:fh,isContextDefined:lH,ALPHABET:cH,generateString:Pve,isSpecCompliantForm:Cve,toJSONObject:Ive,isAsyncFn:Nve,isThenable:Fve,setImmediate:fH,asap:Eve};function vn(e,t,n,r,i){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),i&&(this.response=i,this.status=i.status?i.status:null)}Ke.inherits(vn,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:Ke.toJSONObject(this.config),code:this.code,status:this.status}}});const dH=vn.prototype,hH={};["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=>{hH[e]={value:e}});Object.defineProperties(vn,hH);Object.defineProperty(dH,"isAxiosError",{value:!0});vn.from=(e,t,n,r,i,o)=>{const a=Object.create(dH);return Ke.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),vn.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Xve=null;function yT(e){return Ke.isPlainObject(e)||Ke.isArray(e)}function pH(e){return Ke.endsWith(e,"[]")?e.slice(0,-2):e}function i9(e,t,n){return e?e.concat(t).map(function(i,o){return i=pH(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function Wve(e){return Ke.isArray(e)&&!e.some(yT)}const Vve=Ke.toFlatObject(Ke,{},null,function(t){return/^is[A-Z]/.test(t)});function e3(e,t,n){if(!Ke.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ke.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,g){return!Ke.isUndefined(g[v])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ke.isSpecCompliantForm(t);if(!Ke.isFunction(i))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(Ke.isDate(p))return p.toISOString();if(!l&&Ke.isBlob(p))throw new vn("Blob is not supported. Use a Buffer instead.");return Ke.isArrayBuffer(p)||Ke.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,v,g){let m=p;if(p&&!g&&typeof p=="object"){if(Ke.endsWith(v,"{}"))v=r?v:v.slice(0,-2),p=JSON.stringify(p);else if(Ke.isArray(p)&&Wve(p)||(Ke.isFileList(p)||Ke.endsWith(v,"[]"))&&(m=Ke.toArray(p)))return v=pH(v),m.forEach(function(R,A){!(Ke.isUndefined(R)||R===null)&&t.append(a===!0?i9([v],A,o):a===null?v:v+"[]",u(R))}),!1}return yT(p)?!0:(t.append(i9(g,v,o),u(p)),!1)}const f=[],d=Object.assign(Vve,{defaultVisitor:c,convertValue:u,isVisitable:yT});function h(p,v){if(!Ke.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(p),Ke.forEach(p,function(m,y){(!(Ke.isUndefined(m)||m===null)&&i.call(t,m,Ke.isString(y)?y.trim():y,v,d))===!0&&h(m,v?v.concat(y):[y])}),f.pop()}}if(!Ke.isObject(e))throw new TypeError("data must be an object");return h(e),t}function o9(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function EO(e,t){this._pairs=[],e&&e3(e,this,t)}const vH=EO.prototype;vH.append=function(t,n){this._pairs.push([t,n])};vH.toString=function(t){const n=t?function(r){return t.call(this,r,o9)}:o9;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function Dve(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gH(e,t,n){if(!t)return e;const r=n&&n.encode||Dve;Ke.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=Ke.isURLSearchParams(t)?t.toString():new EO(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class a9{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){Ke.forEach(this.handlers,function(r){r!==null&&t(r)})}}const mH={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Uve=typeof URLSearchParams<"u"?URLSearchParams:EO,Bve=typeof FormData<"u"?FormData:null,Yve=typeof Blob<"u"?Blob:null,Zve={isBrowser:!0,classes:{URLSearchParams:Uve,FormData:Bve,Blob:Yve},protocols:["http","https","file","blob","url","data"]},XO=typeof window<"u"&&typeof document<"u",AT=typeof navigator=="object"&&navigator||void 0,Qve=XO&&(!AT||["ReactNative","NativeScript","NS"].indexOf(AT.product)<0),Hve=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Kve=XO&&window.location.href||"http://localhost",Gve=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:XO,hasStandardBrowserEnv:Qve,hasStandardBrowserWebWorkerEnv:Hve,navigator:AT,origin:Kve},Symbol.toStringTag,{value:"Module"})),uo={...Gve,...Zve};function zve(e,t){return e3(e,new uo.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return uo.isNode&&Ke.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Jve(e){return Ke.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $ve(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&Ke.isArray(i)?i.length:a,l?(Ke.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!Ke.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&Ke.isArray(i[a])&&(i[a]=$ve(i[a])),!s)}if(Ke.isFormData(e)&&Ke.isFunction(e.entries)){const n={};return Ke.forEachEntry(e,(r,i)=>{t(Jve(r),i,n,0)}),n}return null}function jve(e,t,n){if(Ke.isString(e))try{return(t||JSON.parse)(e),Ke.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Q2={transitional:mH,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=Ke.isObject(t);if(o&&Ke.isHTMLForm(t)&&(t=new FormData(t)),Ke.isFormData(t))return i?JSON.stringify(yH(t)):t;if(Ke.isArrayBuffer(t)||Ke.isBuffer(t)||Ke.isStream(t)||Ke.isFile(t)||Ke.isBlob(t)||Ke.isReadableStream(t))return t;if(Ke.isArrayBufferView(t))return t.buffer;if(Ke.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return zve(t,this.formSerializer).toString();if((s=Ke.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return e3(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),jve(t)):t}],transformResponse:[function(t){const n=this.transitional||Q2.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Ke.isResponse(t)||Ke.isReadableStream(t))return t;if(t&&Ke.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?vn.from(s,vn.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:uo.classes.FormData,Blob:uo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ke.forEach(["delete","get","head","post","put","patch"],e=>{Q2.headers[e]={}});const qve=Ke.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"]),e1e=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&qve[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},s9=Symbol("internals");function M1(e){return e&&String(e).trim().toLowerCase()}function ab(e){return e===!1||e==null?e:Ke.isArray(e)?e.map(ab):String(e)}function t1e(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 n1e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function tM(e,t,n,r,i){if(Ke.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!Ke.isString(t)){if(Ke.isString(r))return t.indexOf(r)!==-1;if(Ke.isRegExp(r))return r.test(t)}}function r1e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function i1e(e,t){const n=Ke.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class ra{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,u){const c=M1(l);if(!c)throw new Error("header name must be a non-empty string");const f=Ke.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=ab(s))}const a=(s,l)=>Ke.forEach(s,(u,c)=>o(u,c,l));if(Ke.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Ke.isString(t)&&(t=t.trim())&&!n1e(t))a(e1e(t),n);else if(Ke.isHeaders(t))for(const[s,l]of t.entries())o(l,s,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=M1(t),t){const r=Ke.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return t1e(i);if(Ke.isFunction(n))return n.call(this,i,r);if(Ke.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=M1(t),t){const r=Ke.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||tM(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=M1(a),a){const s=Ke.findKey(r,a);s&&(!n||tM(r,r[s],s,n))&&(delete r[s],i=!0)}}return Ke.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||tM(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return Ke.forEach(this,(i,o)=>{const a=Ke.findKey(r,o);if(a){n[a]=ab(i),delete n[o];return}const s=t?r1e(o):String(o).trim();s!==o&&delete n[o],n[s]=ab(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ke.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&Ke.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(` `)}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(i=>r.set(i)),r}static accessor(t){const r=(this[s9]=this[s9]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=M1(a);r[s]||(i1e(i,a),r[s]=!0)}return Ke.isArray(t)?t.forEach(o):o(t),this}}ra.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ke.reduceDescriptors(ra.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});Ke.freezeMethods(ra);function nM(e,t){const n=this||Q2,r=t||n,i=ra.from(r.headers);let o=r.data;return Ke.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function AH(e){return!!(e&&e.__CANCEL__)}function Qv(e,t,n){vn.call(this,e??"canceled",vn.ERR_CANCELED,t,n),this.name="CanceledError"}Ke.inherits(Qv,vn,{__CANCEL__:!0});function RH(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new vn("Request failed with status code "+n.status,[vn.ERR_BAD_REQUEST,vn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function o1e(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function a1e(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];a||(a=u),n[i]=l,r[i]=u;let f=o,d=0;for(;f!==i;)d+=n[f++],f=f%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-a{n=c,i=null,o&&(clearTimeout(o),o=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-n;f>=r?a(u,c):(i=u,o||(o=setTimeout(()=>{o=null,a(i)},r-f)))},()=>i&&a(i)]}const Ax=(e,t,n=3)=>{let r=0;const i=a1e(50,250);return s1e(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-r,u=i(l),c=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&c?(s-a)/u:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},l9=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},u9=e=>(...t)=>Ke.asap(()=>e(...t)),l1e=uo.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,uo.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(uo.origin),uo.navigator&&/(msie|trident)/i.test(uo.navigator.userAgent)):()=>!0,u1e=uo.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];Ke.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ke.isString(r)&&a.push("path="+r),Ke.isString(i)&&a.push("domain="+i),o===!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 c1e(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function f1e(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function bH(e,t){return e&&!c1e(t)?f1e(e,t):t}const c9=e=>e instanceof ra?{...e}:e;function Jh(e,t){t=t||{};const n={};function r(u,c,f,d){return Ke.isPlainObject(u)&&Ke.isPlainObject(c)?Ke.merge.call({caseless:d},u,c):Ke.isPlainObject(c)?Ke.merge({},c):Ke.isArray(c)?c.slice():c}function i(u,c,f,d){if(Ke.isUndefined(c)){if(!Ke.isUndefined(u))return r(void 0,u,f,d)}else return r(u,c,f,d)}function o(u,c){if(!Ke.isUndefined(c))return r(void 0,c)}function a(u,c){if(Ke.isUndefined(c)){if(!Ke.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const l={url:o,method:o,data:o,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,c,f)=>i(c9(u),c9(c),f,!0)};return Ke.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=l[c]||i,d=f(e[c],t[c],c);Ke.isUndefined(d)&&f!==s||(n[c]=d)}),n}const xH=e=>{const t=Jh({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=ra.from(a),t.url=gH(bH(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Ke.isFormData(n)){if(uo.hasStandardBrowserEnv||uo.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...c].join("; "))}}if(uo.hasStandardBrowserEnv&&(r&&Ke.isFunction(r)&&(r=r(t)),r||r!==!1&&l1e(t.url))){const u=i&&o&&u1e.read(o);u&&a.set(i,u)}return t},d1e=typeof XMLHttpRequest<"u",h1e=d1e&&function(e){return new Promise(function(n,r){const i=xH(e);let o=i.data;const a=ra.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=i,c,f,d,h,p;function v(){h&&h(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(c),i.signal&&i.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout;function m(){if(!g)return;const R=ra.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),x={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:R,config:e,request:g};RH(function(L){n(L),v()},function(L){r(L),v()},x),g=null}"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(m)},g.onabort=function(){g&&(r(new vn("Request aborted",vn.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new vn("Network Error",vn.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let A=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const x=i.transitional||mH;i.timeoutErrorMessage&&(A=i.timeoutErrorMessage),r(new vn(A,x.clarifyTimeoutError?vn.ETIMEDOUT:vn.ECONNABORTED,e,g)),g=null},o===void 0&&a.setContentType(null),"setRequestHeader"in g&&Ke.forEach(a.toJSON(),function(A,x){g.setRequestHeader(x,A)}),Ke.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),s&&s!=="json"&&(g.responseType=i.responseType),u&&([d,p]=Ax(u,!0),g.addEventListener("progress",d)),l&&g.upload&&([f,h]=Ax(l),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(c=R=>{g&&(r(!R||R.type?new Qv(null,e,g):R),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(c),i.signal&&(i.signal.aborted?c():i.signal.addEventListener("abort",c)));const y=o1e(i.url);if(y&&uo.protocols.indexOf(y)===-1){r(new vn("Unsupported protocol "+y+":",vn.ERR_BAD_REQUEST,e));return}g.send(o||null)})},p1e=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,s();const c=u instanceof Error?u:this.reason;r.abort(c instanceof vn?c:new Qv(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,o(new vn(`timeout ${t} of ms exceeded`,vn.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>Ke.asap(s),l}},v1e=function*(e,t){let n=e.byteLength;if(!t||n{const i=g1e(e,t);let o=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await i.next();if(u){s(),l.close();return}let f=c.byteLength;if(n){let d=o+=f;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw s(u),u}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},t3=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",SH=t3&&typeof ReadableStream=="function",y1e=t3&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),wH=(e,...t)=>{try{return!!e(...t)}catch{return!1}},A1e=SH&&wH(()=>{let e=!1;const t=new Request(uo.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d9=64*1024,RT=SH&&wH(()=>Ke.isReadableStream(new Response("").body)),Rx={stream:RT&&(e=>e.body)};t3&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Rx[t]&&(Rx[t]=Ke.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new vn(`Response type '${t}' is not supported`,vn.ERR_NOT_SUPPORT,r)})})})(new Response);const R1e=async e=>{if(e==null)return 0;if(Ke.isBlob(e))return e.size;if(Ke.isSpecCompliantForm(e))return(await new Request(uo.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(Ke.isArrayBufferView(e)||Ke.isArrayBuffer(e))return e.byteLength;if(Ke.isURLSearchParams(e)&&(e=e+""),Ke.isString(e))return(await y1e(e)).byteLength},b1e=async(e,t)=>{const n=Ke.toFiniteNumber(e.getContentLength());return n??R1e(t)},x1e=t3&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=xH(e);u=u?(u+"").toLowerCase():"text";let h=p1e([i,o&&o.toAbortSignal()],a),p;const v=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(l&&A1e&&n!=="get"&&n!=="head"&&(g=await b1e(c,r))!==0){let x=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(Ke.isFormData(r)&&(S=x.headers.get("content-type"))&&c.setContentType(S),x.body){const[L,w]=l9(g,Ax(u9(l)));r=f9(x.body,d9,L,w)}}Ke.isString(f)||(f=f?"include":"omit");const m="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:m?f:void 0});let y=await fetch(p);const R=RT&&(u==="stream"||u==="response");if(RT&&(s||R&&v)){const x={};["status","statusText","headers"].forEach(M=>{x[M]=y[M]});const S=Ke.toFiniteNumber(y.headers.get("content-length")),[L,w]=s&&l9(S,Ax(u9(s),!0))||[];y=new Response(f9(y.body,d9,L,()=>{w&&w(),v&&v()}),x)}u=u||"text";let A=await Rx[Ke.findKey(Rx,u)||"text"](y,e);return!R&&v&&v(),await new Promise((x,S)=>{RH(x,S,{data:A,headers:ra.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:p})})}catch(m){throw v&&v(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new vn("Network Error",vn.ERR_NETWORK,e,p),{cause:m.cause||m}):vn.from(m,m&&m.code,e,p)}}),bT={http:Xve,xhr:h1e,fetch:x1e};Ke.forEach(bT,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const h9=e=>`- ${e}`,S1e=e=>Ke.isFunction(e)||e===null||e===!1,MH={getAdapter:e=>{e=Ke.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : `+o.map(h9).join(` `):" "+h9(o[0]):"as no adapter specified";throw new vn("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:bT};function rM(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Qv(null,e)}function p9(e){return rM(e),e.headers=ra.from(e.headers),e.data=nM.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),MH.getAdapter(e.adapter||Q2.adapter)(e).then(function(r){return rM(e),r.data=nM.call(e,e.transformResponse,r),r.headers=ra.from(r.headers),r},function(r){return AH(r)||(rM(e),r&&r.response&&(r.response.data=nM.call(e,e.transformResponse,r.response),r.response.headers=ra.from(r.response.headers))),Promise.reject(r)})}const LH="1.7.9",n3={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{n3[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const v9={};n3.transitional=function(t,n,r){function i(o,a){return"[Axios v"+LH+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new vn(i(a," has been removed"+(n?" in "+n:"")),vn.ERR_DEPRECATED);return n&&!v9[a]&&(v9[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};n3.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function w1e(e,t,n){if(typeof e!="object")throw new vn("options must be an object",vn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new vn("option "+o+" must be "+l,vn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new vn("Unknown option "+o,vn.ERR_BAD_OPTION)}}const sb={assertOptions:w1e,validators:n3},Ll=sb.validators;class kh{constructor(t){this.defaults=t,this.interceptors={request:new a9,response:new a9}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Jh(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&sb.assertOptions(r,{silentJSONParsing:Ll.transitional(Ll.boolean),forcedJSONParsing:Ll.transitional(Ll.boolean),clarifyTimeoutError:Ll.transitional(Ll.boolean)},!1),i!=null&&(Ke.isFunction(i)?n.paramsSerializer={serialize:i}:sb.assertOptions(i,{encode:Ll.function,serialize:Ll.function},!0)),sb.assertOptions(n,{baseUrl:Ll.spelling("baseURL"),withXsrfToken:Ll.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Ke.merge(o.common,o[n.method]);o&&Ke.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=ra.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,d;if(!l){const p=[p9.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Qv(o,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 WO(function(i){t=i}),cancel:t}}}function M1e(e){return function(n){return e.apply(null,n)}}function L1e(e){return Ke.isObject(e)&&e.isAxiosError===!0}const xT={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(xT).forEach(([e,t])=>{xT[t]=e});function TH(e){const t=new kh(e),n=iH(kh.prototype.request,t);return Ke.extend(n,kh.prototype,t,{allOwnKeys:!0}),Ke.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return TH(Jh(e,i))},n}const ci=TH(Q2);ci.Axios=kh;ci.CanceledError=Qv;ci.CancelToken=WO;ci.isCancel=AH;ci.VERSION=LH;ci.toFormData=e3;ci.AxiosError=vn;ci.Cancel=ci.CanceledError;ci.all=function(t){return Promise.all(t)};ci.spread=M1e;ci.isAxiosError=L1e;ci.mergeConfig=Jh;ci.AxiosHeaders=ra;ci.formToJSON=e=>yH(Ke.isHTMLForm(e)?new FormData(e):e);ci.getAdapter=MH.getAdapter;ci.HttpStatusCode=xT;ci.default=ci;var T1e={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function _1e(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function O1e(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],i=[],o=t.theme||n.theme;switch(o){case"outline":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none");break;case"filled":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),i.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),i.push(typeof r[3]=="string"?r[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}var k1e=Symbol("icon-context");function je(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(o){var a=_1e(),s=bs(k1e,T1e);return function(){var l=o.size,u=o.strokeWidth,c=o.strokeLinecap,f=o.strokeLinejoin,d=o.theme,h=o.fill,p=o.spin,v=O1e(a,{size:l,strokeWidth:u,strokeLinecap:c,strokeLinejoin:f,theme:d,fill:h},s),g=[s.prefix+"-icon"];return g.push(s.prefix+"-icon-"+e),t&&s.rtl&&g.push(s.prefix+"-icon-rtl"),p&&g.push(s.prefix+"-icon-spin"),O("span",{class:g.join(" ")},[n(v)])}}};return r}const P1e=je("add-text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),C1e=je("align-bottom",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"6",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),I1e=je("align-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"17",width:"34",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),N1e=je("align-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"14.5",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),F1e=je("align-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),E1e=je("align-text-both",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),X1e=je("align-text-bottom-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),W1e=je("align-text-center",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),V1e=je("align-text-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),D1e=je("align-text-middle-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),U1e=je("align-text-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),B1e=je("align-text-top-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Y1e=je("align-top",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"14.5",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Z1e=je("align-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"7",width:"14",height:"34",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Q1e=je("arrow-circle-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.4917 15.5L14.4917 24.5L23.4917 33.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),H1e=je("attention",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:e.colors[2]},null),O("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),K1e=je("back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),G1e=je("background-color",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 37C39.2091 37 41 35.2091 41 33C41 31.5272 39.6667 29.5272 37 27C34.3333 29.5272 33 31.5272 33 33C33 35.2091 34.7909 37 37 37Z",fill:e.colors[0]},null),O("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M23.6818 8.33281L8.12549 23.8892L19.4392 35.2029L34.9955 19.6465L23.6818 8.33281Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),z1e=je("bring-to-front",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M41 18H19C18.4477 18 18 18.4477 18 19V41C18 41.5523 18.4477 42 19 42H41C41.5523 42 42 41.5523 42 41V19C42 18.4477 41.5523 18 41 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 16C6 18.6536 6 19.9869 6 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16C30 18.6765 30 19.3456 30 18.0074",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),J1e=je("bring-to-front-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 21V5H21V21H5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 43V27H43V43H27Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$1e=je("chart-histogram",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),j1e=je("chart-histogram-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),q1e=je("chart-line",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ege=je("chart-line-area",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),tge=je("chart-pie",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4V24H44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0844 18H30V4.91553C36.2202 6.86917 41.1308 11.7798 43.0844 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nge=je("chart-proportion",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16.3446 5.51758C13.9 6.53124 11.7001 8.01574 9.85786 9.85797C6.23858 13.4773 4 18.4773 4 24.0001C4 35.0458 12.9543 44.0001 24 44.0001V44.0001C29.5228 44.0001 34.5228 41.7615 38.1421 38.1422C39.9844 36.3 41.4689 34.1001 42.4825 31.6555",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24H44C44 12.9543 35.0457 4 24 4L24 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),rge=je("chart-ring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43.7756 20.9938C42.4735 12.3555 35.6463 5.5277 27.0084 4.22461M20.9757 4.22702C11.3651 5.68478 4 13.9822 4 23.9998C4 34.0212 11.3705 42.321 20.9863 43.7743C21.9692 43.9228 22.9756 43.9998 24 43.9998C25.0209 43.9998 26.024 43.9233 27.0038 43.7758C35.6458 42.4741 42.4762 35.6427 43.7764 27.0003",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 16C19.5817 16 16 19.5817 16 24C16 28.4183 19.5817 32 24 32C28.4183 32 32 28.4183 32 24C32 19.5817 28.4183 16 24 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),ige=je("chart-scatter",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 24C22.2091 24 24 22.2091 24 20C24 17.7909 22.2091 16 20 16C17.7909 16 16 17.7909 16 20C16 22.2091 17.7909 24 20 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 16C39.7614 16 42 13.7614 42 11C42 8.23858 39.7614 6 37 6C34.2386 6 32 8.23858 32 11C32 13.7614 34.2386 16 37 16Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.6569 36 18 34.6569 18 33C18 31.3431 16.6569 30 15 30C13.3431 30 12 31.3431 12 33C12 34.6569 13.3431 36 15 36Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 32C34.6569 32 36 30.6569 36 29C36 27.3431 34.6569 26 33 26C31.3431 26 30 27.3431 30 29C30 30.6569 31.3431 32 33 32Z",fill:e.colors[0]},null)])}),oge=je("check-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),age=je("clear",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 5.91406H28V13.9141H43V21.9141H5V13.9141H20V5.91406Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),sge=je("click",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 22L42 26L36 30L42 36L36 42L30 36L26 42L22 22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.1421 9.85789L32.4853 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85787 38.1421L15.5147 32.4853",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85795 9.85787L15.5148 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lge=je("close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uge=je("close-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cge=je("close-small",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fge=je("code",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),dge=je("color-filter",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 40.9444C26.123 42.8446 28.9266 44 32 44C38.6274 44 44 38.6274 44 32C44 26.4085 40.1757 21.7102 35 20.3781",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M13 20.3781C7.82432 21.7102 4 26.4085 4 32C4 38.6274 9.37258 44 16 44C22.6274 44 28 38.6274 28 32C28 30.4506 27.7063 28.9697 27.1716 27.6101",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 28C30.6274 28 36 22.6274 36 16C36 9.37258 30.6274 4 24 4C17.3726 4 12 9.37258 12 16C12 22.6274 17.3726 28 24 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),hge=je("comment",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 6H4V36H13V41L23 36H44V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pge=je("connection",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8L20 8C22.2091 8 24 9.79086 24 12V35C24 37.2091 25.7909 39 28 39H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vge=je("copy",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),gge=je("delete",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),mge=je("down",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yge=je("download",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Age=je("edit",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Rge=je("effects",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.9507 42.3603L30.4164 30.3695L43.1046 26.6501L33.3383 17.7699L33.7059 4.60732L22.2044 11.1099L9.74329 6.69439L12.4013 19.5934L4.33228 30.027L17.4766 31.4965L24.9507 42.3603Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36.1777 36.0537L44.1777 44.0179",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bge=je("erase",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 4L7 28L13 34H21L41 14L31 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),xge=je("fill",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("rect",{x:"14",y:"14",width:"20",height:"20",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sge=je("flip-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),wge=je("flip-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Mge=je("font-size",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Lge=je("format",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"8",y:"24",width:"32",height:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 13H18V6H30V13H44V24H4V13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Tge=je("format-brush",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.0251 12H43V28.1014L19 31.2004V43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_ge=je("formula",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M40 9L37 6H8L26 24L8 42H37L40 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Oge=je("full-screen",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kge=je("full-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Pge=je("full-screen-play",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H26C24.8954 24 24 24.8954 24 26V38C24 39.1046 24.8954 40 26 40H42C43.1046 40 44 39.1046 44 38V26C44 24.8954 43.1046 24 42 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Cge=je("fullwidth",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 6V42M17 19L12 24M12 24L17 29M12 24H36M31 19L36 24M36 24L31 29M6 6L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ige=je("github",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1833 45.4716C18.9898 45.2219 18.9898 42.9973 19.1833 38.798C17.1114 38.8696 15.8024 38.7258 15.2563 38.3667C14.437 37.828 13.6169 36.1667 12.8891 34.9959C12.1614 33.8251 10.5463 33.64 9.89405 33.3783C9.24182 33.1165 9.07809 32.0496 11.6913 32.8565C14.3044 33.6634 14.4319 35.8607 15.2563 36.3745C16.0806 36.8883 18.0515 36.6635 18.9448 36.2519C19.8382 35.8403 19.7724 34.3078 19.9317 33.7007C20.1331 33.134 19.4233 33.0083 19.4077 33.0037C18.5355 33.0037 13.9539 32.0073 12.6955 27.5706C11.437 23.134 13.0581 20.2341 13.9229 18.9875C14.4995 18.1564 14.4485 16.3852 13.7699 13.6737C16.2335 13.3589 18.1347 14.1343 19.4734 16.0001C19.4747 16.0108 21.2285 14.9572 24.0003 14.9572C26.772 14.9572 27.7553 15.8154 28.5142 16.0001C29.2731 16.1848 29.88 12.7341 34.5668 13.6737C33.5883 15.5969 32.7689 18.0001 33.3943 18.9875C34.0198 19.9749 36.4745 23.1147 34.9666 27.5706C33.9614 30.5413 31.9853 32.3523 29.0384 33.0037C28.7005 33.1115 28.5315 33.2855 28.5315 33.5255C28.5315 33.8856 28.9884 33.9249 29.6465 35.6117C30.0853 36.7362 30.117 39.948 29.7416 45.247C28.7906 45.4891 28.0508 45.6516 27.5221 45.7347C26.5847 45.882 25.5669 45.9646 24.5669 45.9965C23.5669 46.0284 23.2196 46.0248 21.837 45.8961C20.9154 45.8103 20.0308 45.6688 19.1833 45.4716Z",fill:e.colors[0]},null)])}),Nge=je("graphic-design",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 32C11.268 32 5 25.732 5 18C5 10.268 11.268 4 19 4C26.732 4 33 10.268 33 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Fge=je("group",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 16H25.6V22.4H32V32H22.4V25.6H16V16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ege=je("hamburger-button",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xge=je("high-light",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Wge=je("indent-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Vge=je("indent-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dge=je("info",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:e.colors[2]},null),O("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uge=je("insert-table",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth},null),O("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Bge=je("left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yge=je("left-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 5L6 24L24 43L24 31L42 31V17H24V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Zge=je("link-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M26.2401 16.373L17.1001 7.23303C14.4388 4.57168 10.0653 4.6303 7.33158 7.36397C4.59791 10.0976 4.53929 14.4712 7.20064 17.1325L15.1359 25.0678",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.9027 23.0031L40.838 30.9384C43.4994 33.5998 43.4407 37.9733 40.7071 40.707C37.9734 43.4407 33.5999 43.4993 30.9385 40.8379L21.7985 31.6979",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.1093 26.1416C28.843 23.4079 28.9016 19.0344 26.2403 16.373",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21.7989 21.7984C19.0652 24.5321 19.0066 28.9056 21.6679 31.5669",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qge=je("list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hge=je("list-view",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"4",y:"6",width:"40",height:"36",rx:"3",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Kge=je("lock",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"22",width:"36",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14C14 8.47715 18.4772 4 24 4C29.5228 4 34 8.47715 34 14V22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gge=je("logout",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zge=je("magic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20.1005 8.1005L24.3431 12.3431M30 4V10V4ZM39.8995 8.1005L35.6569 12.3431L39.8995 8.1005ZM44 18H38H44ZM39.8995 27.8995L35.6569 23.6569L39.8995 27.8995ZM30 32V26V32ZM20.1005 27.8995L24.3431 23.6569L20.1005 27.8995ZM16 18H22H16Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.5856 18.4143L5.54395 42.4559",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jge=je("minus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$ge=je("more",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"12",cy:"24",r:"3",fill:e.colors[0]},null),O("circle",{cx:"24",cy:"24",r:"3",fill:e.colors[0]},null),O("circle",{cx:"36",cy:"24",r:"3",fill:e.colors[0]},null)])}),jge=je("move-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6L43 25L24 27L13.9948 44L8 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),qge=je("needle",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[O("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.999 18.999L39.999 13.999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.999 12.999L33.999 7.99902",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9999 12.0001L11.9999 27.9998L10.9999 37L19.9999 35.9998L35.9999 20.0001L27.9999 12.0001Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)]),O("defs",null,[O("clipPath",{id:e.id+"3d50a8e2"},[O("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),eme=je("next",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 40.8361C8.89307 34.8632 13.2383 31.4739 17.0356 30.6682C20.8329 29.8625 24.4483 29.7408 27.8818 30.303V41L44 23.5453L27.8818 7V17.167C21.5333 17.2172 16.1362 19.4948 11.6905 24C7.24474 28.5052 4.68126 34.1172 4 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),tme=je("off-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nme=je("ordered-list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 19.9998C6 19.9998 9 16.9998 11 19.9998C13 22.9999 6 26.9998 6 26.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.00016 34.5001C6.00016 34.5001 8.00016 31.5 11.0002 33.5C14.0002 35.5 11.0002 38 11.0002 38C11.0002 38 14.0002 40.5 11.0002 42.5C8.00015 44.5 6.00015 41.5 6.00015 41.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),rme=je("pause",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ime=je("picture",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 23C20.7614 23 23 20.7614 23 18C23 15.2386 20.7614 13 18 13C15.2386 13 13 15.2386 13 18C13 20.7614 15.2386 23 18 23Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.7901 26.2194C28.6064 25.1269 30.2528 25.1538 31.0329 26.2725L39.8077 38.8561C40.7322 40.182 39.7835 42.0001 38.1671 42.0001H16L27.7901 26.2194Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ome=je("platte",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.9601 44 26.3359 35.136 30 31C33.1264 27.4709 44 29.0856 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 17C29.6569 17 31 15.6569 31 14C31 12.3431 29.6569 11 28 11C26.3431 11 25 12.3431 25 14C25 15.6569 26.3431 17 28 17Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 21C17.6569 21 19 19.6569 19 18C19 16.3431 17.6569 15 16 15C14.3431 15 13 16.3431 13 18C13 19.6569 14.3431 21 16 21Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 34C18.6569 34 20 32.6569 20 31C20 29.3431 18.6569 28 17 28C15.3431 28 14 29.3431 14 31C14 32.6569 15.3431 34 17 34Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),ame=je("play-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),sme=je("plus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lme=je("power",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14.5 8C13.8406 8.37652 13.2062 8.79103 12.6 9.24051C11.5625 10.0097 10.6074 10.8814 9.75 11.8402C6.79377 15.1463 5 19.4891 5 24.2455C5 34.6033 13.5066 43 24 43C34.4934 43 43 34.6033 43 24.2455C43 19.4891 41.2062 15.1463 38.25 11.8402C37.3926 10.8814 36.4375 10.0097 35.4 9.24051C34.7938 8.79103 34.1594 8.37652 33.5 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ume=je("ppt",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 8H40V34H8V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cme=je("preview-close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 16C6.63472 17.2193 7.59646 18.3504 8.82276 19.3554C12.261 22.1733 17.779 24 24 24C30.221 24 35.739 22.1733 39.1772 19.3554C40.4035 18.3504 41.3653 17.2193 42 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.9775 24L31.048 31.7274",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37.3535 21.3536L43.0103 27.0104",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5.00004 27.0103L10.6569 21.3534",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.9278 31.7276L18.9983 24.0001",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fme=je("preview-open",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 36C35.0457 36 44 24 44 24C44 24 35.0457 12 24 12C12.9543 12 4 24 4 24C4 24 12.9543 36 24 36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),dme=je("quote",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.8533 9.11587C11.3227 13.9521 7.13913 19.5811 6.30256 26.0028C5.00021 35.9999 13.9404 40.8932 18.4703 36.4966C23.0002 32.1 20.2848 26.5195 17.0047 24.9941C13.7246 23.4686 11.7187 23.9999 12.0686 21.9614C12.4185 19.923 17.0851 14.2712 21.1849 11.6391C21.4569 11.4078 21.5604 10.959 21.2985 10.6185C21.1262 10.3946 20.7883 9.95545 20.2848 9.30102C19.8445 8.72875 19.4227 8.75017 18.8533 9.11587Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.6789 9.11587C31.1484 13.9521 26.9648 19.5811 26.1282 26.0028C24.8259 35.9999 33.7661 40.8932 38.296 36.4966C42.8259 32.1 40.1105 26.5195 36.8304 24.9941C33.5503 23.4686 31.5443 23.9999 31.8943 21.9614C32.2442 19.923 36.9108 14.2712 41.0106 11.6391C41.2826 11.4078 41.3861 10.959 41.1241 10.6185C40.9519 10.3946 40.614 9.95545 40.1105 9.30102C39.6702 8.72875 39.2484 8.75017 38.6789 9.11587Z",fill:e.colors[0]},null)])}),hme=je("radar-chart",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9998 3L45.8741 18.8926L38 45H10L2.12549 18.8926L23.9998 3Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 45L31 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 45L17 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M2 19L12 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M46 19L36 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 3V13",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 13L30.0073 17.5706L36 22L31 37H17L12 22L17.9927 17.5706L24 13Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.59406 14.9194L2.12549 18.8926L4.09412 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8.03125 38.4731L9.99988 45H16.9999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 45H38L39.9685 38.4731",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.4053 14.9194L45.8738 18.8926L43.9053 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.4684 6.97315L23.9998 3L18.5312 6.97315",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),pme=je("right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vme=je("right-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 43L42 24L24 5L24 17L6 17V31H24V43Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gme=je("rotate",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.4747 13.2985C35.1956 8.87049 29.933 6 24 6C18.1788 6 13.0029 8.76334 9.71272 13.0498L6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),mme=je("round",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),yme=je("row-height",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ame=je("search",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Rme=je("send",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0001 5L22.1001 25.9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bme=je("send-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),xme=je("sent-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M30 18H41C41.5523 18 42 18.4477 42 19V41C42 41.5523 41.5523 42 41 42H19C18.4477 42 18 41.5523 18 41V30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sme=je("square",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),wme=je("stopwatch-start",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C33.3888 44 41 36.3888 41 27C41 17.6112 33.3888 10 24 10C14.6112 10 7 17.6112 7 27C7 36.3888 14.6112 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Mme=je("strikethrough",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24C40 30 34 44 24 44C13.9999 44 12 36 12 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M35.9999 12C35.9999 12 33 4 23.9999 4C14.9999 4 11.4359 11.5995 15.6096 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36C12 36 15.9999 44 24 44C32 44 36.564 36.4005 32.3903 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Lme=je("switch",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H5.99998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 7L42 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.79897 29H42.799",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.79895 29L18.799 41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Tme=je("tailoring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),_me=je("text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ome=je("text-bold",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 24C29.5056 24 33.9688 19.5228 33.9688 14C33.9688 8.47715 29.5056 4 24 4H11V24H24Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.0312 44C33.5368 44 38 39.5228 38 34C38 28.4772 33.5368 24 28.0312 24H11V44H28.0312Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kme=je("text-italic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Pme=je("text-rotation-down",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M29 35L21 31.3333M29 13L21 16.6667M21 16.6667L17 18.5L5 24L17 29.5L21 31.3333M21 16.6667V31.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Cme=je("text-rotation-none",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 29L16.6667 21M35 29L31.3333 21M31.3333 21L29.5 17L24 5L18.5 17L16.6667 21M31.3333 21H16.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ime=je("text-underline",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6.09717C37 12.7638 37 15.3335 37 22.0002C37 29.1799 31.1797 35.0002 24 35.0002C16.8203 35.0002 11 29.1799 11 22.0002C11 15.3335 11 12.7638 11 6.09717",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Nme=je("theme",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M18 6C18 9.31371 20.6863 12 24 12C27.3137 12 30 9.31371 30 6H35.4545L42 15.8182L36.2727 20.7273V42H11.7273V20.7273L6 15.8182L12.5455 6H18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Fme=je("transform",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"13.7146",cy:"13.7141",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("circle",{cx:"34.2859",cy:"34.2854",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 44C12.9553 44 4.00098 35.0457 4.00098 24L10.6676 27.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 4C35.0467 4 44.001 12.9543 44.001 24L37.3343 20.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Eme=je("undo",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2721 36.7279C14.5294 39.9853 19.0294 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C19.0294 6 14.5294 8.01472 11.2721 11.2721C9.61407 12.9301 6 17 6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xme=je("ungroup",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 36.7271H36.7271V43.9998H43.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9998 36.7271H16.7271V43.9998H23.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 16.7271H36.7271V23.9998H43.9998V16.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 27.6366H27.6366V11.2729",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.8275 20.3633H36.7269M20.3633 36.7269V27.6282V36.7269Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Wme=je("unlock",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"22.0476",width:"34",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Vme=je("up",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dme=je("user",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ume=je("vertical-spacing-between-items",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Bme=je("video-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20.5 28V21.9378L25.75 24.9689L31 28L25.75 31.0311L20.5 34.0622V28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yme=je("volume-mute",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),O("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[O("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),O("g",{mask:"url(#"+e.id+"603476ab)"},[O("path",{d:"M40.7348 20.2858L32.2495 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.2496 20.2858L40.7349 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)]),O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Zme=je("volume-notice",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.2359 41.1857C40.0836 37.6953 44 31.305 44 24C44 16.8085 40.2043 10.5035 34.507 6.97906",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Qme=je("volume-small",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hme=je("write",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5.32497 43.4996L13.81 43.4998L44.9227 12.3871L36.4374 3.90186L5.32471 35.0146L5.32497 43.4996Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9521 12.3872L36.4374 20.8725",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bx={IconPlayOne:ame,IconFullScreenPlay:Pge,IconLock:Kge,IconUnlock:Wme,IconPpt:ume,IconFormat:Lge,IconPicture:ime,IconFullScreen:Oge,IconList:Qge,IconOrderedList:nme,IconFlipVertically:wge,IconFlipHorizontally:Sge,IconFontSize:Mge,IconCode:fge,IconTextBold:Ome,IconTextItalic:kme,IconTextUnderline:Ime,IconStrikethrough:Mme,IconEdit:Age,IconQuote:dme,IconBackgroundColor:G1e,IconGroup:Fge,IconUngroup:Xme,IconBack:K1e,IconNext:eme,IconFullwidth:Cge,IconAlignTop:Y1e,IconAlignLeft:N1e,IconAlignRight:F1e,IconAlignBottom:C1e,IconAlignVertically:Z1e,IconAlignHorizontally:I1e,IconBringToFront:z1e,IconSendToBack:bme,IconSend:Rme,IconAlignTextLeft:V1e,IconAlignTextRight:U1e,IconAlignTextCenter:W1e,IconAlignTextBoth:E1e,IconRowHeight:yme,IconWrite:Hme,IconInsertTable:Uge,IconAddText:P1e,IconFill:xge,IconTailoring:Tme,IconEffects:Rge,IconColorFilter:dge,IconUp:Vme,IconDown:mge,IconPlus:sme,IconMinus:Jge,IconConnection:pge,IconBringToFrontOne:J1e,IconSentToBack:xme,IconGithub:Ige,IconChartProportion:nge,IconChartHistogram:$1e,IconChartHistogramOne:j1e,IconChartLineArea:ege,IconChartRing:rge,IconChartScatter:ige,IconChartLine:q1e,IconChartPie:tge,IconRadarChart:hme,IconText:_me,IconRotate:gme,IconLeftTwo:Yge,IconRightTwo:vme,IconPlatte:ome,IconClose:lge,IconCloseSmall:cge,IconUndo:Eme,IconTransform:Fme,IconClick:sge,IconTheme:Nme,IconArrowCircleLeft:Q1e,IconGraphicDesign:Nge,IconLogout:Gge,IconErase:bge,IconClear:age,IconAlignTextTopOne:B1e,IconAlignTextBottomOne:X1e,IconAlignTextMiddleOne:D1e,IconPause:rme,IconVolumeMute:Yme,IconVolumeNotice:Zme,IconVolumeSmall:Qme,IconVideoTwo:Bme,IconFormula:_ge,IconLinkOne:Zge,IconFullScreenOne:kge,IconOffScreenOne:tme,IconPower:lme,IconListView:Hge,IconMagic:zge,IconHighLight:Xge,IconDownload:yge,IconIndentLeft:Wge,IconIndentRight:Vge,IconVerticalSpacingBetweenItems:Ume,IconCopy:vge,IconDelete:gge,IconSquare:Sme,IconRound:mme,IconNeedle:qge,IconTextRotationNone:Cme,IconTextRotationDown:Pme,IconFormatBrush:Tge,IconPreviewOpen:fme,IconPreviewClose:cme,IconStopwatchStart:wme,IconSearch:Ame,IconLeft:Bge,IconRight:pme,IconMoveOne:jge,IconHamburgerButton:Ege,IconAttention:H1e,IconCheckOne:oge,IconCloseOne:uge,IconInfo:Dge,IconComment:hge,IconUser:Dme,IconSwitch:Lme,IconMore:$ge},Kme={install(e){for(const t of Object.keys(bx))e.component(t,bx[t])}},Gme=["id"],zme={class:"icons"},Jme={class:"content"},$me={key:0,class:"title"},jme={class:"description"},qme={key:0,class:"control"},e2e=Xe({__name:"Message",props:{id:{},message:{},type:{default:"success"},title:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!1}},emits:["close","destroy"],setup(e,{expose:t,emit:n}){const{IconAttention:r,IconCheckOne:i,IconCloseOne:o,IconInfo:a,IconCloseSmall:s}=bx,l=e,u=n,c=ve(!0),f=ve(null),d=()=>{l.duration<=0||(f.value=setTimeout(p,l.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>c.value=!1;return oO(()=>{h()}),Ht(()=>{d()}),t({close:p}),(v,g)=>(U(),_e(Yh,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:g[3]||(g[3]=m=>u("close")),onAfterLeave:g[4]||(g[4]=m=>u("destroy"))},{default:ie(()=>[c.value?(U(),te("div",{key:0,class:"message",id:v.id},[V("div",{class:"message-container",onMouseenter:g[1]||(g[1]=m=>h()),onMouseleave:g[2]||(g[2]=m=>d())},[V("div",zme,[v.type==="warning"?(U(),_e(z(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Ze("",!0),v.type==="success"?(U(),_e(z(i),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Ze("",!0),v.type==="error"?(U(),_e(z(o),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Ze("",!0),v.type==="info"?(U(),_e(z(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Ze("",!0)]),V("div",Jme,[v.title?(U(),te("div",$me,vt(v.title),1)):Ze("",!0),V("div",jme,vt(v.message),1)]),v.closable?(U(),te("div",qme,[V("span",{class:"close-btn",onClick:g[0]||(g[0]=m=>p())},[O(z(s))])])):Ze("",!0)],32)],8,Gme)):Ze("",!0)]),_:1}))}}),Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},t2e=Be(e2e,[["__scopeId","data-v-5f638602"]]),ST=[];let Tl=null,n2e=0;const r2e={duration:3e3},gn=e=>{const t="message-"+n2e++,n={...r2e,...e,id:t};Tl||(Tl=document.createElement("div"),Tl.className="message-wrap",Tl.style.cssText=` +`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Jh(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&sb.assertOptions(r,{silentJSONParsing:Ll.transitional(Ll.boolean),forcedJSONParsing:Ll.transitional(Ll.boolean),clarifyTimeoutError:Ll.transitional(Ll.boolean)},!1),i!=null&&(Ke.isFunction(i)?n.paramsSerializer={serialize:i}:sb.assertOptions(i,{encode:Ll.function,serialize:Ll.function},!0)),sb.assertOptions(n,{baseUrl:Ll.spelling("baseURL"),withXsrfToken:Ll.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&Ke.merge(o.common,o[n.method]);o&&Ke.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=ra.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let c,f=0,d;if(!l){const p=[p9.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),d=p.length,c=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new Qv(o,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 WO(function(i){t=i}),cancel:t}}}function M1e(e){return function(n){return e.apply(null,n)}}function L1e(e){return Ke.isObject(e)&&e.isAxiosError===!0}const xT={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(xT).forEach(([e,t])=>{xT[t]=e});function TH(e){const t=new kh(e),n=iH(kh.prototype.request,t);return Ke.extend(n,kh.prototype,t,{allOwnKeys:!0}),Ke.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return TH(Jh(e,i))},n}const ci=TH(Q2);ci.Axios=kh;ci.CanceledError=Qv;ci.CancelToken=WO;ci.isCancel=AH;ci.VERSION=LH;ci.toFormData=e3;ci.AxiosError=vn;ci.Cancel=ci.CanceledError;ci.all=function(t){return Promise.all(t)};ci.spread=M1e;ci.isAxiosError=L1e;ci.mergeConfig=Jh;ci.AxiosHeaders=ra;ci.formToJSON=e=>yH(Ke.isHTMLForm(e)?new FormData(e):e);ci.getAdapter=MH.getAdapter;ci.HttpStatusCode=xT;ci.default=ci;var T1e={size:"1em",strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{fill:"#333",background:"transparent"},filled:{fill:"#333",background:"#FFF"},twoTone:{fill:"#333",twoTone:"#2F88FF"},multiColor:{outStrokeColor:"#333",outFillColor:"#2F88FF",innerStrokeColor:"#FFF",innerFillColor:"#43CCF8"}},prefix:"i"};function _1e(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)}function O1e(e,t,n){var r=typeof t.fill=="string"?[t.fill]:t.fill||[],i=[],o=t.theme||n.theme;switch(o){case"outline":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("none");break;case"filled":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push("#FFF"),i.push("#FFF");break;case"two-tone":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone),i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.twoTone.twoTone);break;case"multi-color":i.push(typeof r[0]=="string"?r[0]:"currentColor"),i.push(typeof r[1]=="string"?r[1]:n.colors.multiColor.outFillColor),i.push(typeof r[2]=="string"?r[2]:n.colors.multiColor.innerStrokeColor),i.push(typeof r[3]=="string"?r[3]:n.colors.multiColor.innerFillColor);break}return{size:t.size||n.size,strokeWidth:t.strokeWidth||n.strokeWidth,strokeLinecap:t.strokeLinecap||n.strokeLinecap,strokeLinejoin:t.strokeLinejoin||n.strokeLinejoin,colors:i,id:e}}var k1e=Symbol("icon-context");function je(e,t,n){var r={name:"icon-"+e,props:["size","strokeWidth","strokeLinecap","strokeLinejoin","theme","fill","spin"],setup:function(o){var a=_1e(),s=bs(k1e,T1e);return function(){var l=o.size,u=o.strokeWidth,c=o.strokeLinecap,f=o.strokeLinejoin,d=o.theme,h=o.fill,p=o.spin,v=O1e(a,{size:l,strokeWidth:u,strokeLinecap:c,strokeLinejoin:f,theme:d,fill:h},s),g=[s.prefix+"-icon"];return g.push(s.prefix+"-icon-"+e),t&&s.rtl&&g.push(s.prefix+"-icon-rtl"),p&&g.push(s.prefix+"-icon-spin"),O("span",{class:g.join(" ")},[n(v)])}}};return r}const P1e=je("add-text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M28 21H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M18 42L18 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 42L36 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),C1e=je("align-bottom",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"6",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 42H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),I1e=je("align-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"17",width:"34",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),N1e=je("align-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"14.5",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.5 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),F1e=je("align-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"17",width:"28",height:"14",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),E1e=je("align-text-both",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),X1e=je("align-text-bottom-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 34H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),W1e=je("align-text-center",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 19H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),V1e=je("align-text-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),D1e=je("align-text-middle-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 27H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),U1e=je("align-text-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 19H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),B1e=je("align-text-top-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 20H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 13H14",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Y1e=je("align-top",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"14.5",width:"14",height:"28",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 6.5H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Z1e=je("align-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"17",y:"7",width:"14",height:"34",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Q1e=je("arrow-circle-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.4917 24.5H14.4917",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.4917 15.5L14.4917 24.5L23.4917 33.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),H1e=je("attention",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 37C25.3807 37 26.5 35.8807 26.5 34.5C26.5 33.1193 25.3807 32 24 32C22.6193 32 21.5 33.1193 21.5 34.5C21.5 35.8807 22.6193 37 24 37Z",fill:e.colors[2]},null),O("path",{d:"M24 12V28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),K1e=je("back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M44 40.8361C39.1069 34.8632 34.7617 31.4739 30.9644 30.6682C27.1671 29.8625 23.5517 29.7408 20.1182 30.303V41L4 23.5453L20.1182 7V17.167C26.4667 17.2172 31.8638 19.4948 36.3095 24C40.7553 28.5052 43.3187 34.1172 44 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),G1e=je("background-color",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 37C39.2091 37 41 35.2091 41 33C41 31.5272 39.6667 29.5272 37 27C34.3333 29.5272 33 31.5272 33 33C33 35.2091 34.7909 37 37 37Z",fill:e.colors[0]},null),O("path",{d:"M20.8535 5.50439L24.389 9.03993",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M23.6818 8.33281L8.12549 23.8892L19.4392 35.2029L34.9955 19.6465L23.6818 8.33281Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 20.0732L28.961 25.6496",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M4 43H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),z1e=je("bring-to-front",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M41 18H19C18.4477 18 18 18.4477 18 19V41C18 41.5523 18.4477 42 19 42H41C41.5523 42 42 41.5523 42 41V19C42 18.4477 41.5523 18 41 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V10.0152",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 16C6 18.6536 6 19.9869 6 20",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16C30 18.6765 30 19.3456 30 18.0074",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H17.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),J1e=je("bring-to-front-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21V34H27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 14H34V27",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 21V5H21V21H5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27 43V27H43V43H27Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$1e=je("chart-histogram",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 30V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 22V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 6V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 14V34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),j1e=je("chart-histogram-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 34H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 26H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 18H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 10L14 10",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),q1e=je("chart-line",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ege=je("chart-line-area",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L22 18L32 27L42 6V34H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),tge=je("chart-pie",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 24C44 35.0457 35.0457 44 24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4V24H44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0844 18H30V4.91553C36.2202 6.86917 41.1308 11.7798 43.0844 18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nge=je("chart-proportion",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16.3446 5.51758C13.9 6.53124 11.7001 8.01574 9.85786 9.85797C6.23858 13.4773 4 18.4773 4 24.0001C4 35.0458 12.9543 44.0001 24 44.0001V44.0001C29.5228 44.0001 34.5228 41.7615 38.1421 38.1422C39.9844 36.3 41.4689 34.1001 42.4825 31.6555",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24H44C44 12.9543 35.0457 4 24 4L24 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),rge=je("chart-ring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43.7756 20.9938C42.4735 12.3555 35.6463 5.5277 27.0084 4.22461M20.9757 4.22702C11.3651 5.68478 4 13.9822 4 23.9998C4 34.0212 11.3705 42.321 20.9863 43.7743C21.9692 43.9228 22.9756 43.9998 24 43.9998C25.0209 43.9998 26.024 43.9233 27.0038 43.7758C35.6458 42.4741 42.4762 35.6427 43.7764 27.0003",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 16C19.5817 16 16 19.5817 16 24C16 28.4183 19.5817 32 24 32C28.4183 32 32 28.4183 32 24C32 19.5817 28.4183 16 24 16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),ige=je("chart-scatter",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6V42H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 24C22.2091 24 24 22.2091 24 20C24 17.7909 22.2091 16 20 16C17.7909 16 16 17.7909 16 20C16 22.2091 17.7909 24 20 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M37 16C39.7614 16 42 13.7614 42 11C42 8.23858 39.7614 6 37 6C34.2386 6 32 8.23858 32 11C32 13.7614 34.2386 16 37 16Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15 36C16.6569 36 18 34.6569 18 33C18 31.3431 16.6569 30 15 30C13.3431 30 12 31.3431 12 33C12 34.6569 13.3431 36 15 36Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33 32C34.6569 32 36 30.6569 36 29C36 27.3431 34.6569 26 33 26C31.3431 26 30 27.3431 30 29C30 30.6569 31.3431 32 33 32Z",fill:e.colors[0]},null)])}),oge=je("check-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 24L22 30L34 18",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),age=je("clear",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M20 5.91406H28V13.9141H43V21.9141H5V13.9141H20V5.91406Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40H40V22H8V40Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 39.8977V33.8977",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 39.8976V33.9141",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),sge=je("click",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 4V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22 22L42 26L36 30L42 36L36 42L30 36L26 42L22 22Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.1421 9.85789L32.4853 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85787 38.1421L15.5147 32.4853",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 24H12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.85795 9.85787L15.5148 15.5147",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lge=je("close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 8L40 40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 40L40 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),uge=je("close-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.6567 18.3432L18.343 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18.3433 18.3432L29.657 29.6569",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cge=je("close-small",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 14L34 34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 34L34 14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fge=je("code",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 13L4 25.4322L16 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 13L44 25.4322L32 37",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 4L21 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),dge=je("color-filter",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 40.9444C26.123 42.8446 28.9266 44 32 44C38.6274 44 44 38.6274 44 32C44 26.4085 40.1757 21.7102 35 20.3781",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M13 20.3781C7.82432 21.7102 4 26.4085 4 32C4 38.6274 9.37258 44 16 44C22.6274 44 28 38.6274 28 32C28 30.4506 27.7063 28.9697 27.1716 27.6101",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 28C30.6274 28 36 22.6274 36 16C36 9.37258 30.6274 4 24 4C17.3726 4 12 9.37258 12 16C12 22.6274 17.3726 28 24 28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),hge=je("comment",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M44 6H4V36H13V41L23 36H44V6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 19.5V22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),pge=je("connection",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 34L44 39L39 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 12C10.2091 12 12 10.2091 12 8C12 5.79086 10.2091 4 8 4C5.79086 4 4 5.79086 4 8C4 10.2091 5.79086 12 8 12Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8L20 8C22.2091 8 24 9.79086 24 12V35C24 37.2091 25.7909 39 28 39H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vge=je("copy",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),gge=je("delete",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 10V44H39V10H9Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 20V33",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 10H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),mge=je("down",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M36 18L24 30L12 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),yge=je("download",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 24.0083V42H42V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 23L24 32L15 23",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9917 6V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Age=je("edit",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7 42H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Rge=je("effects",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.9507 42.3603L30.4164 30.3695L43.1046 26.6501L33.3383 17.7699L33.7059 4.60732L22.2044 11.1099L9.74329 6.69439L12.4013 19.5934L4.33228 30.027L17.4766 31.4965L24.9507 42.3603Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36.1777 36.0537L44.1777 44.0179",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bge=je("erase",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 42H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 4L7 28L13 34H21L41 14L31 4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),xge=je("fill",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("rect",{x:"14",y:"14",width:"20",height:"20",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 23L23 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M25 14L14 25",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34 14L14 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 14H34V26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sge=je("flip-horizontally",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 34L16 12V34H4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 34H32V12L44 34Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),wge=je("flip-vertically",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 24L6 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 4L36 16H14V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 44V32H36L14 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Mge=je("font-size",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 10.9333L8 6H40V10.9333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42H32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Lge=je("format",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"8",y:"24",width:"32",height:"18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 13H18V6H30V13H44V24H4V13Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 32L16 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Tge=je("format-brush",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M34 5H6V20H34V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.0251 12H43V28.1014L19 31.2004V43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),_ge=je("formula",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M40 9L37 6H8L26 24L8 42H37L40 39",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Oge=je("full-screen",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kge=je("full-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6H42V15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 33V42H33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15 42H6V33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15V6H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Pge=je("full-screen-play",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 40H6C4.89543 40 4 39.1046 4 38V10C4 8.89543 4.89543 8 6 8H42C43.1046 8 44 8.89543 44 10V16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 24H26C24.8954 24 24 24.8954 24 26V38C24 39.1046 24.8954 40 26 40H42C43.1046 40 44 39.1046 44 38V26C44 24.8954 43.1046 24 42 24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Cge=je("fullwidth",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 6V42M17 19L12 24M12 24L17 29M12 24H36M31 19L36 24M36 24L31 29M6 6L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ige=je("github",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4ZM0 24C0 10.7452 10.7452 0 24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.1833 45.4716C18.9898 45.2219 18.9898 42.9973 19.1833 38.798C17.1114 38.8696 15.8024 38.7258 15.2563 38.3667C14.437 37.828 13.6169 36.1667 12.8891 34.9959C12.1614 33.8251 10.5463 33.64 9.89405 33.3783C9.24182 33.1165 9.07809 32.0496 11.6913 32.8565C14.3044 33.6634 14.4319 35.8607 15.2563 36.3745C16.0806 36.8883 18.0515 36.6635 18.9448 36.2519C19.8382 35.8403 19.7724 34.3078 19.9317 33.7007C20.1331 33.134 19.4233 33.0083 19.4077 33.0037C18.5355 33.0037 13.9539 32.0073 12.6955 27.5706C11.437 23.134 13.0581 20.2341 13.9229 18.9875C14.4995 18.1564 14.4485 16.3852 13.7699 13.6737C16.2335 13.3589 18.1347 14.1343 19.4734 16.0001C19.4747 16.0108 21.2285 14.9572 24.0003 14.9572C26.772 14.9572 27.7553 15.8154 28.5142 16.0001C29.2731 16.1848 29.88 12.7341 34.5668 13.6737C33.5883 15.5969 32.7689 18.0001 33.3943 18.9875C34.0198 19.9749 36.4745 23.1147 34.9666 27.5706C33.9614 30.5413 31.9853 32.3523 29.0384 33.0037C28.7005 33.1115 28.5315 33.2855 28.5315 33.5255C28.5315 33.8856 28.9884 33.9249 29.6465 35.6117C30.0853 36.7362 30.117 39.948 29.7416 45.247C28.7906 45.4891 28.0508 45.6516 27.5221 45.7347C26.5847 45.882 25.5669 45.9646 24.5669 45.9965C23.5669 46.0284 23.2196 46.0248 21.837 45.8961C20.9154 45.8103 20.0308 45.6688 19.1833 45.4716Z",fill:e.colors[0]},null)])}),Nge=je("graphic-design",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 32C11.268 32 5 25.732 5 18C5 10.268 11.268 4 19 4C26.732 4 33 10.268 33 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 18H18V44H44V18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Fge=je("group",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4H4V12H12V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 36H36V44H44V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36H4V44H12V36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 4H36V12H44V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40 36V12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 8H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 40H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 16H25.6V22.4H32V32H22.4V25.6H16V16Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ege=je("hamburger-button",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M7.94971 11.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 23.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.94971 35.9497H39.9497",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xge=je("high-light",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 44L6 25H12V17H36V25H42V44H6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 17V8L31 4V17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Wge=je("indent-left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 9H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 19H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M19 29H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 19L6 24L11 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 39H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Vge=je("indent-right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 9H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 19H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 29H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 19L42 24L37 29",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 39H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dge=je("info",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.5228 44 34.5228 41.7614 38.1421 38.1421C41.7614 34.5228 44 29.5228 44 24C44 18.4772 41.7614 13.4772 38.1421 9.85786C34.5228 6.23858 29.5228 4 24 4C18.4772 4 13.4772 6.23858 9.85786 9.85786C6.23858 13.4772 4 18.4772 4 24C4 29.5228 6.23858 34.5228 9.85786 38.1421C13.4772 41.7614 18.4772 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 11C25.3807 11 26.5 12.1193 26.5 13.5C26.5 14.8807 25.3807 16 24 16C22.6193 16 21.5 14.8807 21.5 13.5C21.5 12.1193 22.6193 11 24 11Z",fill:e.colors[2]},null),O("path",{d:"M24.5 34V20H23.5H22.5",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 34H28",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Uge=je("insert-table",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39.3 6H8.7C7.20883 6 6 7.20883 6 8.7V39.3C6 40.7912 7.20883 42 8.7 42H39.3C40.7912 42 42 40.7912 42 39.3V8.7C42 7.20883 40.7912 6 39.3 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth},null),O("path",{d:"M18 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M30 6V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 18H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 30H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Bge=je("left",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M31 36L19 24L31 12",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yge=je("left-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 5L6 24L24 43L24 31L42 31V17H24V5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Zge=je("link-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M26.2401 16.373L17.1001 7.23303C14.4388 4.57168 10.0653 4.6303 7.33158 7.36397C4.59791 10.0976 4.53929 14.4712 7.20064 17.1325L15.1359 25.0678",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.9027 23.0031L40.838 30.9384C43.4994 33.5998 43.4407 37.9733 40.7071 40.707C37.9734 43.4407 33.5999 43.4993 30.9385 40.8379L21.7985 31.6979",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.1093 26.1416C28.843 23.4079 28.9016 19.0344 26.2403 16.373",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21.7989 21.7984C19.0652 24.5321 19.0066 28.9056 21.6679 31.5669",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Qge=je("list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 10L8 13L14 7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 24L8 27L14 21",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5 38L8 41L14 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hge=je("list-view",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"4",y:"6",width:"40",height:"36",rx:"3",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M4 14H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 24H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 32H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 24H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 32H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Kge=je("lock",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"22",width:"36",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14C14 8.47715 18.4772 4 24 4C29.5228 4 34 8.47715 34 14V22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Gge=je("logout",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9917 6H6V42H24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 33L42 24L33 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 23.9917H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),zge=je("magic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20.1005 8.1005L24.3431 12.3431M30 4V10V4ZM39.8995 8.1005L35.6569 12.3431L39.8995 8.1005ZM44 18H38H44ZM39.8995 27.8995L35.6569 23.6569L39.8995 27.8995ZM30 32V26V32ZM20.1005 27.8995L24.3431 23.6569L20.1005 27.8995ZM16 18H22H16Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.5856 18.4143L5.54395 42.4559",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Jge=je("minus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M10.5 24L38.5 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),$ge=je("more",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"12",cy:"24",r:"3",fill:e.colors[0]},null),O("circle",{cx:"24",cy:"24",r:"3",fill:e.colors[0]},null),O("circle",{cx:"36",cy:"24",r:"3",fill:e.colors[0]},null)])}),jge=je("move-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6L43 25L24 27L13.9948 44L8 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),qge=je("needle",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("g",{"clip-path":"url(#"+e.id+"3d50a8e2)"},[O("path",{d:"M39 23L25 9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9995 17L30.9995 4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.999 18.999L39.999 13.999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.999 12.999L33.999 7.99902",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 37L6 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9999 12.0001L11.9999 27.9998L10.9999 37L19.9999 35.9998L35.9999 20.0001L27.9999 12.0001Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)]),O("defs",null,[O("clipPath",{id:e.id+"3d50a8e2"},[O("rect",{width:"48",height:"48",fill:e.colors[2]},null)])])])}),eme=je("next",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 40.8361C8.89307 34.8632 13.2383 31.4739 17.0356 30.6682C20.8329 29.8625 24.4483 29.7408 27.8818 30.303V41L44 23.5453L27.8818 7V17.167C21.5333 17.2172 16.1362 19.4948 11.6905 24C7.24474 28.5052 4.68126 34.1172 4 40.8361Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),tme=je("off-screen-one",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 6L16 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 41.8995L16 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42.0001 41.8995L32.1006 32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M41.8995 6L32 15.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 7V16H41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 7V16H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 41V32H7",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 41V32H40.8995",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),nme=je("ordered-list",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M9 4V13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 13H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 27H6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 19.9998C6 19.9998 9 16.9998 11 19.9998C13 22.9999 6 26.9998 6 26.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.00016 34.5001C6.00016 34.5001 8.00016 31.5 11.0002 33.5C14.0002 35.5 11.0002 38 11.0002 38C11.0002 38 14.0002 40.5 11.0002 42.5C8.00015 44.5 6.00015 41.5 6.00015 41.5",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11 38H9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9 4L6 6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 38H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 10H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),rme=je("pause",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 12V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ime=je("picture",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 23C20.7614 23 23 20.7614 23 18C23 15.2386 20.7614 13 18 13C15.2386 13 13 15.2386 13 18C13 20.7614 15.2386 23 18 23Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.7901 26.2194C28.6064 25.1269 30.2528 25.1538 31.0329 26.2725L39.8077 38.8561C40.7322 40.182 39.7835 42.0001 38.1671 42.0001H16L27.7901 26.2194Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ome=je("platte",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C29.9601 44 26.3359 35.136 30 31C33.1264 27.4709 44 29.0856 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28 17C29.6569 17 31 15.6569 31 14C31 12.3431 29.6569 11 28 11C26.3431 11 25 12.3431 25 14C25 15.6569 26.3431 17 28 17Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 21C17.6569 21 19 19.6569 19 18C19 16.3431 17.6569 15 16 15C14.3431 15 13 16.3431 13 18C13 19.6569 14.3431 21 16 21Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M17 34C18.6569 34 20 32.6569 20 31C20 29.3431 18.6569 28 17 28C15.3431 28 14 29.3431 14 31C14 32.6569 15.3431 34 17 34Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),ame=je("play-one",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),sme=je("plus",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24.0605 10L24.0239 38",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 24L38 24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),lme=je("power",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14.5 8C13.8406 8.37652 13.2062 8.79103 12.6 9.24051C11.5625 10.0097 10.6074 10.8814 9.75 11.8402C6.79377 15.1463 5 19.4891 5 24.2455C5 34.6033 13.5066 43 24 43C34.4934 43 43 34.6033 43 24.2455C43 19.4891 41.2062 15.1463 38.25 11.8402C37.3926 10.8814 36.4375 10.0097 35.4 9.24051C34.7938 8.79103 34.1594 8.37652 33.5 8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V24",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),ume=je("ppt",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M4 8H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 8H40V34H8V8Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 16L27 21L22 26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 42L24 34L32 42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),cme=je("preview-close",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M6 16C6.63472 17.2193 7.59646 18.3504 8.82276 19.3554C12.261 22.1733 17.779 24 24 24C30.221 24 35.739 22.1733 39.1772 19.3554C40.4035 18.3504 41.3653 17.2193 42 16",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.9775 24L31.048 31.7274",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37.3535 21.3536L43.0103 27.0104",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M5.00004 27.0103L10.6569 21.3534",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.9278 31.7276L18.9983 24.0001",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),fme=je("preview-open",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 36C35.0457 36 44 24 44 24C44 24 35.0457 12 24 12C12.9543 12 4 24 4 24C4 24 12.9543 36 24 36Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 29C26.7614 29 29 26.7614 29 24C29 21.2386 26.7614 19 24 19C21.2386 19 19 21.2386 19 24C19 26.7614 21.2386 29 24 29Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),dme=je("quote",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18.8533 9.11587C11.3227 13.9521 7.13913 19.5811 6.30256 26.0028C5.00021 35.9999 13.9404 40.8932 18.4703 36.4966C23.0002 32.1 20.2848 26.5195 17.0047 24.9941C13.7246 23.4686 11.7187 23.9999 12.0686 21.9614C12.4185 19.923 17.0851 14.2712 21.1849 11.6391C21.4569 11.4078 21.5604 10.959 21.2985 10.6185C21.1262 10.3946 20.7883 9.95545 20.2848 9.30102C19.8445 8.72875 19.4227 8.75017 18.8533 9.11587Z",fill:e.colors[0]},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M38.6789 9.11587C31.1484 13.9521 26.9648 19.5811 26.1282 26.0028C24.8259 35.9999 33.7661 40.8932 38.296 36.4966C42.8259 32.1 40.1105 26.5195 36.8304 24.9941C33.5503 23.4686 31.5443 23.9999 31.8943 21.9614C32.2442 19.923 36.9108 14.2712 41.0106 11.6391C41.2826 11.4078 41.3861 10.959 41.1241 10.6185C40.9519 10.3946 40.614 9.95545 40.1105 9.30102C39.6702 8.72875 39.2484 8.75017 38.6789 9.11587Z",fill:e.colors[0]},null)])}),hme=je("radar-chart",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M23.9998 3L45.8741 18.8926L38 45H10L2.12549 18.8926L23.9998 3Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38 45L31 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 45L17 37",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M2 19L12 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M46 19L36 22",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 3V13",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 13L30.0073 17.5706L36 22L31 37H17L12 22L17.9927 17.5706L24 13Z",fill:e.colors[3],stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.59406 14.9194L2.12549 18.8926L4.09412 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M8.03125 38.4731L9.99988 45H16.9999",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31 45H38L39.9685 38.4731",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.4053 14.9194L45.8738 18.8926L43.9053 25.4194",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29.4684 6.97315L23.9998 3L18.5312 6.97315",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),pme=je("right",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M19 12L31 24L19 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),vme=je("right-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 43L42 24L24 5L24 17L6 17V31H24V43Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),gme=je("rotate",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 24H42V42H12V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 8V17H15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M38.4747 13.2985C35.1956 8.87049 29.933 6 24 6C18.1788 6 13.0029 8.76334 9.71272 13.0498L6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),mme=je("round",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"24",r:"20",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),yme=je("row-height",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M16 35L10 41L4 35",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 13L10 7L4 13",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M10 7V41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 9H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 19H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M44 29H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M36 39H22",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ame=je("search",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Rme=je("send",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.0001 5L22.1001 25.9",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bme=je("send-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M14 21H5V5H21V14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H43V43H27V32",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 32V14H32V32H14Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),xme=je("sent-to-back",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M30 18H41C41.5523 18 42 18.4477 42 19V41C42 41.5523 41.5523 42 41 42H19C18.4477 42 18 41.5523 18 41V30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.96906 6H6V10.0336",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M9.99705 30H6V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26 30H29.9971V26.012",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M26.0023 6H30V9.99785",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16.0283 6H20.0083",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M6 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 16V20.0148",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M15.9922 30H19.9996",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Sme=je("square",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth},null)])}),wme=je("stopwatch-start",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 44C33.3888 44 41 36.3888 41 27C41 17.6112 33.3888 10 24 10C14.6112 10 7 17.6112 7 27C7 36.3888 14.6112 44 24 44Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M18 4H30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 19V27",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 27H24",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 4V8",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Mme=je("strikethrough",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5 24H43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 24C40 30 34 44 24 44C13.9999 44 12 36 12 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M35.9999 12C35.9999 12 33 4 23.9999 4C14.9999 4 11.4359 11.5995 15.6096 18",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 36C12 36 15.9999 44 24 44C32 44 36.564 36.4005 32.3903 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Lme=je("switch",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M42 19H5.99998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M30 7L42 19",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.79897 29H42.799",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6.79895 29L18.799 41",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Tme=je("tailoring",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M12 4V36H44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20 12H36V28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 12H4",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M36 44V36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),_me=je("text",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"6",y:"6",width:"36",height:"36",rx:"3",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M16 19V16H32V19",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M22 34H26",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 18L24 34",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ome=je("text-bold",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 24C29.5056 24 33.9688 19.5228 33.9688 14C33.9688 8.47715 29.5056 4 24 4H11V24H24Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.0312 44C33.5368 44 38 39.5228 38 34C38 28.4772 33.5368 24 28.0312 24H11V44H28.0312Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),kme=je("text-italic",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M20 6H36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M12 42H28",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M29 5.95215L19 41.9998",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Pme=je("text-rotation-down",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M29 35L21 31.3333M29 13L21 16.6667M21 16.6667L17 18.5L5 24L17 29.5L21 31.3333M21 16.6667V31.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6V42L43 36",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Cme=je("text-rotation-none",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 29L16.6667 21M35 29L31.3333 21M31.3333 21L29.5 17L24 5L18.5 17L16.6667 21M31.3333 21H16.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 37H42L36 43",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ime=je("text-underline",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 44H40",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M37 6.09717C37 12.7638 37 15.3335 37 22.0002C37 29.1799 31.1797 35.0002 24 35.0002C16.8203 35.0002 11 29.1799 11 22.0002C11 15.3335 11 12.7638 11 6.09717",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Nme=je("theme",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M18 6C18 9.31371 20.6863 12 24 12C27.3137 12 30 9.31371 30 6H35.4545L42 15.8182L36.2727 20.7273V42H11.7273V20.7273L6 15.8182L12.5455 6H18Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Fme=je("transform",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"13.7146",cy:"13.7141",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("circle",{cx:"34.2859",cy:"34.2854",r:"6.85714",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 44C12.9553 44 4.00098 35.0457 4.00098 24L10.6676 27.3333",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24.001 4C35.0467 4 44.001 12.9543 44.001 24L37.3343 20.6667",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Eme=je("undo",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2721 36.7279C14.5294 39.9853 19.0294 42 24 42C33.9411 42 42 33.9411 42 24C42 14.0589 33.9411 6 24 6C19.0294 6 14.5294 8.01472 11.2721 11.2721C9.61407 12.9301 6 17 6 17",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 9V17H14",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Xme=je("ungroup",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M11.2727 4H4V11.2727H11.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 36.7271H36.7271V43.9998H43.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2727 24H4V31.2727H11.2727V24Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M23.9998 36.7271H16.7271V43.9998H23.9998V36.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M31.2727 4H24V11.2727H31.2727V4Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M43.9998 16.7271H36.7271V23.9998H43.9998V16.7271Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 7.63623H24.0002",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 40.3638H36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M11.2729 27.6366H27.6366V11.2729",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M28.8275 20.3633H36.7269M20.3633 36.7269V27.6282V36.7269Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M7.63672 11.2725V23.9997",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M40.3633 24V36.7273",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Wme=je("unlock",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{x:"7",y:"22.0476",width:"34",height:"22",rx:"2",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M24 30V36",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Vme=je("up",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M13 30L25 18L37 30",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Dme=je("user",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("circle",{cx:"24",cy:"12",r:"8",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Ume=je("vertical-spacing-between-items",!1,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M8 6V12H40V6",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M14 24H34",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null),O("path",{d:"M8 42V36H40V42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Bme=je("video-two",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M20.5 28V21.9378L25.75 24.9689L31 28L25.75 31.0311L20.5 34.0622V28Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M6 15H42",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M33 6L27 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M21 6L15 15",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Yme=je("volume-mute",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("rect",{opacity:"0.01",x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null),O("mask",{id:e.id+"603476ab",maskUnits:"userSpaceOnUse",x:"30",y:"18",width:"13",height:"13",style:{maskType:"alpha"}},[O("rect",{x:"30",y:"18",width:"13",height:"13",fill:e.colors[2]},null)]),O("g",{mask:"url(#"+e.id+"603476ab)"},[O("path",{d:"M40.7348 20.2858L32.2495 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32.2496 20.2858L40.7349 28.7711",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)]),O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])}),Zme=je("volume-notice",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M34.2359 41.1857C40.0836 37.6953 44 31.305 44 24C44 16.8085 40.2043 10.5035 34.507 6.97906",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap},null)])}),Qme=je("volume-small",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M24 6V42C17 42 11.7985 32.8391 11.7985 32.8391H6C4.89543 32.8391 4 31.9437 4 30.8391V17.0108C4 15.9062 4.89543 15.0108 6 15.0108H11.7985C11.7985 15.0108 17 6 24 6Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M32 15L32 15C32.6232 15.5565 33.1881 16.1797 33.6841 16.8588C35.1387 18.8504 36 21.3223 36 24C36 26.6545 35.1535 29.1067 33.7218 31.0893C33.2168 31.7885 32.6391 32.4293 32 33",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),Hme=je("write",!0,function(e){return O("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[O("path",{d:"M5.32497 43.4996L13.81 43.4998L44.9227 12.3871L36.4374 3.90186L5.32471 35.0146L5.32497 43.4996Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),O("path",{d:"M27.9521 12.3872L36.4374 20.8725",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),bx={IconPlayOne:ame,IconFullScreenPlay:Pge,IconLock:Kge,IconUnlock:Wme,IconPpt:ume,IconFormat:Lge,IconPicture:ime,IconFullScreen:Oge,IconList:Qge,IconOrderedList:nme,IconFlipVertically:wge,IconFlipHorizontally:Sge,IconFontSize:Mge,IconCode:fge,IconTextBold:Ome,IconTextItalic:kme,IconTextUnderline:Ime,IconStrikethrough:Mme,IconEdit:Age,IconQuote:dme,IconBackgroundColor:G1e,IconGroup:Fge,IconUngroup:Xme,IconBack:K1e,IconNext:eme,IconFullwidth:Cge,IconAlignTop:Y1e,IconAlignLeft:N1e,IconAlignRight:F1e,IconAlignBottom:C1e,IconAlignVertically:Z1e,IconAlignHorizontally:I1e,IconBringToFront:z1e,IconSendToBack:bme,IconSend:Rme,IconAlignTextLeft:V1e,IconAlignTextRight:U1e,IconAlignTextCenter:W1e,IconAlignTextBoth:E1e,IconRowHeight:yme,IconWrite:Hme,IconInsertTable:Uge,IconAddText:P1e,IconFill:xge,IconTailoring:Tme,IconEffects:Rge,IconColorFilter:dge,IconUp:Vme,IconDown:mge,IconPlus:sme,IconMinus:Jge,IconConnection:pge,IconBringToFrontOne:J1e,IconSentToBack:xme,IconGithub:Ige,IconChartProportion:nge,IconChartHistogram:$1e,IconChartHistogramOne:j1e,IconChartLineArea:ege,IconChartRing:rge,IconChartScatter:ige,IconChartLine:q1e,IconChartPie:tge,IconRadarChart:hme,IconText:_me,IconRotate:gme,IconLeftTwo:Yge,IconRightTwo:vme,IconPlatte:ome,IconClose:lge,IconCloseSmall:cge,IconUndo:Eme,IconTransform:Fme,IconClick:sge,IconTheme:Nme,IconArrowCircleLeft:Q1e,IconGraphicDesign:Nge,IconLogout:Gge,IconErase:bge,IconClear:age,IconAlignTextTopOne:B1e,IconAlignTextBottomOne:X1e,IconAlignTextMiddleOne:D1e,IconPause:rme,IconVolumeMute:Yme,IconVolumeNotice:Zme,IconVolumeSmall:Qme,IconVideoTwo:Bme,IconFormula:_ge,IconLinkOne:Zge,IconFullScreenOne:kge,IconOffScreenOne:tme,IconPower:lme,IconListView:Hge,IconMagic:zge,IconHighLight:Xge,IconDownload:yge,IconIndentLeft:Wge,IconIndentRight:Vge,IconVerticalSpacingBetweenItems:Ume,IconCopy:vge,IconDelete:gge,IconSquare:Sme,IconRound:mme,IconNeedle:qge,IconTextRotationNone:Cme,IconTextRotationDown:Pme,IconFormatBrush:Tge,IconPreviewOpen:fme,IconPreviewClose:cme,IconStopwatchStart:wme,IconSearch:Ame,IconLeft:Bge,IconRight:pme,IconMoveOne:jge,IconHamburgerButton:Ege,IconAttention:H1e,IconCheckOne:oge,IconCloseOne:uge,IconInfo:Dge,IconComment:hge,IconUser:Dme,IconSwitch:Lme,IconMore:$ge},Kme={install(e){for(const t of Object.keys(bx))e.component(t,bx[t])}},Gme=["id"],zme={class:"icons"},Jme={class:"content"},$me={key:0,class:"title"},jme={class:"description"},qme={key:0,class:"control"},e2e=Xe({__name:"Message",props:{id:{},message:{},type:{default:"success"},title:{default:""},duration:{default:3e3},closable:{type:Boolean,default:!1}},emits:["close","destroy"],setup(e,{expose:t,emit:n}){const{IconAttention:r,IconCheckOne:i,IconCloseOne:o,IconInfo:a,IconCloseSmall:s}=bx,l=e,u=n,c=pe(!0),f=pe(null),d=()=>{l.duration<=0||(f.value=setTimeout(p,l.duration))},h=()=>{f.value&&clearTimeout(f.value)},p=()=>c.value=!1;return oO(()=>{h()}),Ht(()=>{d()}),t({close:p}),(v,g)=>(U(),_e(Yh,{name:"message-fade",appear:"",mode:"in-out",onBeforeLeave:g[3]||(g[3]=m=>u("close")),onAfterLeave:g[4]||(g[4]=m=>u("destroy"))},{default:ie(()=>[c.value?(U(),te("div",{key:0,class:"message",id:v.id},[V("div",{class:"message-container",onMouseenter:g[1]||(g[1]=m=>h()),onMouseleave:g[2]||(g[2]=m=>d())},[V("div",zme,[v.type==="warning"?(U(),_e(z(r),{key:0,theme:"filled",size:"18",fill:"#faad14"})):Ze("",!0),v.type==="success"?(U(),_e(z(i),{key:1,theme:"filled",size:"18",fill:"#52c41a"})):Ze("",!0),v.type==="error"?(U(),_e(z(o),{key:2,theme:"filled",size:"18",fill:"#ff4d4f"})):Ze("",!0),v.type==="info"?(U(),_e(z(a),{key:3,theme:"filled",size:"18",fill:"#1677ff"})):Ze("",!0)]),V("div",Jme,[v.title?(U(),te("div",$me,vt(v.title),1)):Ze("",!0),V("div",jme,vt(v.message),1)]),v.closable?(U(),te("div",qme,[V("span",{class:"close-btn",onClick:g[0]||(g[0]=m=>p())},[O(z(s))])])):Ze("",!0)],32)],8,Gme)):Ze("",!0)]),_:1}))}}),Be=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},t2e=Be(e2e,[["__scopeId","data-v-5f638602"]]),ST=[];let Tl=null,n2e=0;const r2e={duration:3e3},gn=e=>{const t="message-"+n2e++,n={...r2e,...e,id:t};Tl||(Tl=document.createElement("div"),Tl.className="message-wrap",Tl.style.cssText=` width: 100%; position: fixed; top: 0; @@ -82,7 +82,7 @@ From previous: `);return this._state!==null&&(this._stack=t),t}finally{nT=!1}}}, * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha - */(function(e,t){(function(r,i){e.exports=i()})(Xt,function(){return function(){var n={686:function(o,a,s){s.d(a,{default:function(){return B}});var l=s(279),u=s.n(l),c=s(370),f=s.n(c),d=s(817),h=s.n(d);function p(Z){try{return document.execCommand(Z)}catch{return!1}}var v=function(Q){var G=h()(Q);return p("cut"),G},g=v;function m(Z){var Q=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[Q?"right":"left"]="-9999px";var ee=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(ee,"px"),G.setAttribute("readonly",""),G.value=Z,G}var y=function(Q,G){var ee=m(Q);G.container.appendChild(ee);var $=h()(ee);return p("copy"),ee.remove(),$},R=function(Q){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ee="";return typeof Q=="string"?ee=y(Q,G):Q instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(Q==null?void 0:Q.type)?ee=y(Q.value,G):(ee=h()(Q),p("copy")),ee},A=R;function x(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(G){return typeof G}:x=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},x(Z)}var S=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=Q.action,ee=G===void 0?"copy":G,$=Q.container,de=Q.target,K=Q.text;if(ee!=="copy"&&ee!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(de!==void 0)if(de&&x(de)==="object"&&de.nodeType===1){if(ee==="copy"&&de.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ee==="cut"&&(de.hasAttribute("readonly")||de.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(K)return A(K,{container:$});if(de)return ee==="cut"?g(de):A(de,{container:$})},L=S;function w(Z){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(G){return typeof G}:w=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},w(Z)}function M(Z,Q){if(!(Z instanceof Q))throw new TypeError("Cannot call a class as a function")}function _(Z,Q){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function D(Z){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},D(Z)}function Y(Z,Q){var G="data-clipboard-".concat(Z);if(Q.hasAttribute(G))return Q.getAttribute(G)}var re=function(Z){k(G,Z);var Q=C(G);function G(ee,$){var de;return M(this,G),de=Q.call(this),de.resolveOptions($),de.listenClick(ee),de}return P(G,[{key:"resolveOptions",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof $.action=="function"?$.action:this.defaultAction,this.target=typeof $.target=="function"?$.target:this.defaultTarget,this.text=typeof $.text=="function"?$.text:this.defaultText,this.container=w($.container)==="object"?$.container:document.body}},{key:"listenClick",value:function($){var de=this;this.listener=f()($,"click",function(K){return de.onClick(K)})}},{key:"onClick",value:function($){var de=$.delegateTarget||$.currentTarget,K=this.action(de)||"copy",Ae=L({action:K,container:this.container,target:this.target(de),text:this.text(de)});this.emit(Ae?"success":"error",{action:K,text:Ae,trigger:de,clearSelection:function(){de&&de.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function($){return Y("action",$)}},{key:"defaultTarget",value:function($){var de=Y("target",$);if(de)return document.querySelector(de)}},{key:"defaultText",value:function($){return Y("text",$)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function($){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A($,de)}},{key:"cut",value:function($){return g($)}},{key:"isSupported",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],de=typeof $=="string"?[$]:$,K=!!document.queryCommandSupported;return de.forEach(function(Ae){K=K&&!!document.queryCommandSupported(Ae)}),K}}]),G}(u()),B=re},828:function(o){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(u,c){for(;u&&u.nodeType!==a;){if(typeof u.matches=="function"&&u.matches(c))return u;u=u.parentNode}}o.exports=l},438:function(o,a,s){var l=s(828);function u(d,h,p,v,g){var m=f.apply(this,arguments);return d.addEventListener(p,m,g),{destroy:function(){d.removeEventListener(p,m,g)}}}function c(d,h,p,v,g){return typeof d.addEventListener=="function"?u.apply(null,arguments):typeof p=="function"?u.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(m){return u(m,h,p,v,g)}))}function f(d,h,p,v){return function(g){g.delegateTarget=l(g.target,h),g.delegateTarget&&v.call(d,g)}}o.exports=c},879:function(o,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(o,a,s){var l=s(879),u=s(438);function c(p,v,g){if(!p&&!v&&!g)throw new Error("Missing required arguments");if(!l.string(v))throw new TypeError("Second argument must be a String");if(!l.fn(g))throw new TypeError("Third argument must be a Function");if(l.node(p))return f(p,v,g);if(l.nodeList(p))return d(p,v,g);if(l.string(p))return h(p,v,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,v,g){return p.addEventListener(v,g),{destroy:function(){p.removeEventListener(v,g)}}}function d(p,v,g){return Array.prototype.forEach.call(p,function(m){m.addEventListener(v,g)}),{destroy:function(){Array.prototype.forEach.call(p,function(m){m.removeEventListener(v,g)})}}}function h(p,v,g){return u(document.body,p,v,g)}o.exports=c},817:function(o){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var c=window.getSelection(),f=document.createRange();f.selectNodeContents(s),c.removeAllRanges(),c.addRange(f),l=c.toString()}return l}o.exports=a},279:function(o){function a(){}a.prototype={on:function(s,l,u){var c=this.e||(this.e={});return(c[s]||(c[s]=[])).push({fn:l,ctx:u}),this},once:function(s,l,u){var c=this;function f(){c.off(s,f),l.apply(u,arguments)}return f._=l,this.on(s,f,u)},emit:function(s){var l=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),c=0,f=u.length;for(c;c>>2]>>>24-L%4*8&255;R[x+L>>>2]|=w<<24-(x+L)%4*8}else for(var M=0;M>>2]=A[M>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,R=this.sigBytes;y[R>>>2]&=4294967295<<32-R%4*8,y.length=r.ceil(R/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var R=[],A=0;A>>2]>>>24-S%4*8&255;x.push((L>>>4).toString(16)),x.push((L&15).toString(16))}return x.join("")},parse:function(y){for(var R=y.length,A=[],x=0;x>>3]|=parseInt(y.substr(x,2),16)<<24-x%8*4;return new f.init(A,R/2)}},p=d.Latin1={stringify:function(y){for(var R=y.words,A=y.sigBytes,x=[],S=0;S>>2]>>>24-S%4*8&255;x.push(String.fromCharCode(L))}return x.join("")},parse:function(y){for(var R=y.length,A=[],x=0;x>>2]|=(y.charCodeAt(x)&255)<<24-x%4*8;return new f.init(A,R)}},v=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},g=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var R,A=this._data,x=A.words,S=A.sigBytes,L=this.blockSize,w=L*4,M=S/w;y?M=r.ceil(M):M=r.max((M|0)-this._minBufferSize,0);var _=M*L,P=r.min(_*4,S);if(_){for(var k=0;k<_;k+=L)this._doProcessBlock(x,k);R=x.splice(0,_),A.sigBytes-=P}return new f.init(R,P)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});u.Hasher=g.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var R=this._doFinalize();return R},blockSize:16,_createHelper:function(y){return function(R,A){return new y.init(A).finalize(R)}},_createHmacHelper:function(y){return function(R,A){return new m.HMAC.init(y,A).finalize(R)}}});var m=l.algo={};return l}(Math);return n})}(iM)),iM.exports}var oM={exports:{}},y9;function r3(){return y9||(y9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.Base,s=o.WordArray,l=i.x64={};l.Word=a.extend({init:function(u,c){this.high=u,this.low=c}}),l.WordArray=a.extend({init:function(u,c){u=this.words=u||[],c!=r?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,f=[],d=0;d>>2]|=l[f]<<24-f%4*8;a.call(this,c,u)}else a.apply(this,arguments)};s.prototype=o}}(),n.lib.WordArray})}(aM)),aM.exports}var sM={exports:{}},R9;function d2e(){return R9||(R9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(c,u*2)}},a.Utf16LE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return o.create(c,u*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(sM)),sM.exports}var lM={exports:{}},b9;function s0(){return b9||(b9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,v=u[h+1>>>2]>>>24-(h+1)%4*8&255,g=u[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|v<<8|g,y=0;y<4&&h+y*.75>>6*(3-y)&63));var R=f.charAt(64);if(R)for(;d.length%4;)d.push(R);return d.join("")},parse:function(l){var u=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,g=p|v;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64})}(lM)),lM.exports}var uM={exports:{}},x9;function h2e(){return x9||(x9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64url={stringify:function(l,u){u===void 0&&(u=!0);var c=l.words,f=l.sigBytes,d=u?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,g=c[p+1>>>2]>>>24-(p+1)%4*8&255,m=c[p+2>>>2]>>>24-(p+2)%4*8&255,y=v<<16|g<<8|m,R=0;R<4&&p+R*.75>>6*(3-R)&63));var A=d.charAt(64);if(A)for(;h.length%4;)h.push(A);return h.join("")},parse:function(l,u){u===void 0&&(u=!0);var c=l.length,f=u?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-h%4*2,g=p|v;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64url})}(uM)),uM.exports}var cM={exports:{}},S9;function l0(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=[];(function(){for(var v=0;v<64;v++)u[v]=r.abs(r.sin(v+1))*4294967296|0})();var c=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,g){for(var m=0;m<16;m++){var y=g+m,R=v[y];v[y]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}var A=this._hash.words,x=v[g+0],S=v[g+1],L=v[g+2],w=v[g+3],M=v[g+4],_=v[g+5],P=v[g+6],k=v[g+7],F=v[g+8],C=v[g+9],N=v[g+10],I=v[g+11],W=v[g+12],D=v[g+13],Y=v[g+14],re=v[g+15],B=A[0],Z=A[1],Q=A[2],G=A[3];B=f(B,Z,Q,G,x,7,u[0]),G=f(G,B,Z,Q,S,12,u[1]),Q=f(Q,G,B,Z,L,17,u[2]),Z=f(Z,Q,G,B,w,22,u[3]),B=f(B,Z,Q,G,M,7,u[4]),G=f(G,B,Z,Q,_,12,u[5]),Q=f(Q,G,B,Z,P,17,u[6]),Z=f(Z,Q,G,B,k,22,u[7]),B=f(B,Z,Q,G,F,7,u[8]),G=f(G,B,Z,Q,C,12,u[9]),Q=f(Q,G,B,Z,N,17,u[10]),Z=f(Z,Q,G,B,I,22,u[11]),B=f(B,Z,Q,G,W,7,u[12]),G=f(G,B,Z,Q,D,12,u[13]),Q=f(Q,G,B,Z,Y,17,u[14]),Z=f(Z,Q,G,B,re,22,u[15]),B=d(B,Z,Q,G,S,5,u[16]),G=d(G,B,Z,Q,P,9,u[17]),Q=d(Q,G,B,Z,I,14,u[18]),Z=d(Z,Q,G,B,x,20,u[19]),B=d(B,Z,Q,G,_,5,u[20]),G=d(G,B,Z,Q,N,9,u[21]),Q=d(Q,G,B,Z,re,14,u[22]),Z=d(Z,Q,G,B,M,20,u[23]),B=d(B,Z,Q,G,C,5,u[24]),G=d(G,B,Z,Q,Y,9,u[25]),Q=d(Q,G,B,Z,w,14,u[26]),Z=d(Z,Q,G,B,F,20,u[27]),B=d(B,Z,Q,G,D,5,u[28]),G=d(G,B,Z,Q,L,9,u[29]),Q=d(Q,G,B,Z,k,14,u[30]),Z=d(Z,Q,G,B,W,20,u[31]),B=h(B,Z,Q,G,_,4,u[32]),G=h(G,B,Z,Q,F,11,u[33]),Q=h(Q,G,B,Z,I,16,u[34]),Z=h(Z,Q,G,B,Y,23,u[35]),B=h(B,Z,Q,G,S,4,u[36]),G=h(G,B,Z,Q,M,11,u[37]),Q=h(Q,G,B,Z,k,16,u[38]),Z=h(Z,Q,G,B,N,23,u[39]),B=h(B,Z,Q,G,D,4,u[40]),G=h(G,B,Z,Q,x,11,u[41]),Q=h(Q,G,B,Z,w,16,u[42]),Z=h(Z,Q,G,B,P,23,u[43]),B=h(B,Z,Q,G,C,4,u[44]),G=h(G,B,Z,Q,W,11,u[45]),Q=h(Q,G,B,Z,re,16,u[46]),Z=h(Z,Q,G,B,L,23,u[47]),B=p(B,Z,Q,G,x,6,u[48]),G=p(G,B,Z,Q,k,10,u[49]),Q=p(Q,G,B,Z,Y,15,u[50]),Z=p(Z,Q,G,B,_,21,u[51]),B=p(B,Z,Q,G,W,6,u[52]),G=p(G,B,Z,Q,w,10,u[53]),Q=p(Q,G,B,Z,N,15,u[54]),Z=p(Z,Q,G,B,S,21,u[55]),B=p(B,Z,Q,G,F,6,u[56]),G=p(G,B,Z,Q,re,10,u[57]),Q=p(Q,G,B,Z,P,15,u[58]),Z=p(Z,Q,G,B,D,21,u[59]),B=p(B,Z,Q,G,M,6,u[60]),G=p(G,B,Z,Q,I,10,u[61]),Q=p(Q,G,B,Z,L,15,u[62]),Z=p(Z,Q,G,B,C,21,u[63]),A[0]=A[0]+B|0,A[1]=A[1]+Z|0,A[2]=A[2]+Q|0,A[3]=A[3]+G|0},_doFinalize:function(){var v=this._data,g=v.words,m=this._nDataBytes*8,y=v.sigBytes*8;g[y>>>5]|=128<<24-y%32;var R=r.floor(m/4294967296),A=m;g[(y+64>>>9<<4)+15]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,g[(y+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,v.sigBytes=(g.length+1)*4,this._process();for(var x=this._hash,S=x.words,L=0;L<4;L++){var w=S[L];S[L]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return x},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,g,m,y,R,A,x){var S=v+(g&m|~g&y)+R+x;return(S<>>32-A)+g}function d(v,g,m,y,R,A,x){var S=v+(g&y|m&~y)+R+x;return(S<>>32-A)+g}function h(v,g,m,y,R,A,x){var S=v+(g^m^y)+R+x;return(S<>>32-A)+g}function p(v,g,m,y,R,A,x){var S=v+(m^(g|~y))+R+x;return(S<>>32-A)+g}i.MD5=s._createHelper(c),i.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(cM)),cM.exports}var fM={exports:{}},w9;function kH(){return w9||(w9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=i.Hasher,s=r.algo,l=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var d=this._hash.words,h=d[0],p=d[1],v=d[2],g=d[3],m=d[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var R=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=R<<1|R>>>31}var A=(h<<5|h>>>27)+m+l[y];y<20?A+=(p&v|~p&g)+1518500249:y<40?A+=(p^v^g)+1859775393:y<60?A+=(p&v|p&g|v&g)-1894007588:A+=(p^v^g)-899497514,m=g,g=v,v=p<<30|p>>>2,p=h,h=A}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+v|0,d[3]=d[3]+g|0,d[4]=d[4]+m|0},_doFinalize:function(){var c=this._data,f=c.words,d=this._nDataBytes*8,h=c.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(h+64>>>9<<4)+15]=d,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=a.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u)}(),n.SHA1})}(fM)),fM.exports}var dM={exports:{}},M9;function VO(){return M9||(M9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=[],c=[];(function(){function h(m){for(var y=r.sqrt(m),R=2;R<=y;R++)if(!(m%R))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var v=2,g=0;g<64;)h(v)&&(g<8&&(u[g]=p(r.pow(v,1/2))),c[g]=p(r.pow(v,1/3)),g++),v++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(u.slice(0))},_doProcessBlock:function(h,p){for(var v=this._hash.words,g=v[0],m=v[1],y=v[2],R=v[3],A=v[4],x=v[5],S=v[6],L=v[7],w=0;w<64;w++){if(w<16)f[w]=h[p+w]|0;else{var M=f[w-15],_=(M<<25|M>>>7)^(M<<14|M>>>18)^M>>>3,P=f[w-2],k=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;f[w]=_+f[w-7]+k+f[w-16]}var F=A&x^~A&S,C=g&m^g&y^m&y,N=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),I=(A<<26|A>>>6)^(A<<21|A>>>11)^(A<<7|A>>>25),W=L+I+F+c[w]+f[w],D=N+C;L=S,S=x,x=A,A=R+W|0,R=y,y=m,m=g,g=W+D|0}v[0]=v[0]+g|0,v[1]=v[1]+m|0,v[2]=v[2]+y|0,v[3]=v[3]+R|0,v[4]=v[4]+A|0,v[5]=v[5]+x|0,v[6]=v[6]+S|0,v[7]=v[7]+L|0},_doFinalize:function(){var h=this._data,p=h.words,v=this._nDataBytes*8,g=h.sigBytes*8;return p[g>>>5]|=128<<24-g%32,p[(g+64>>>9<<4)+14]=r.floor(v/4294967296),p[(g+64>>>9<<4)+15]=v,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(dM)),dM.exports}var hM={exports:{}},L9;function p2e(){return L9||(L9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),VO())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=s._createHelper(l),r.HmacSHA224=s._createHmacHelper(l)}(),n.SHA224})}(hM)),hM.exports}var pM={exports:{}},T9;function PH(){return T9||(T9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.Hasher,a=r.x64,s=a.Word,l=a.WordArray,u=r.algo;function c(){return s.create.apply(s,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=c()})();var h=u.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,v){for(var g=this._hash.words,m=g[0],y=g[1],R=g[2],A=g[3],x=g[4],S=g[5],L=g[6],w=g[7],M=m.high,_=m.low,P=y.high,k=y.low,F=R.high,C=R.low,N=A.high,I=A.low,W=x.high,D=x.low,Y=S.high,re=S.low,B=L.high,Z=L.low,Q=w.high,G=w.low,ee=M,$=_,de=P,K=k,Ae=F,ce=C,fe=N,le=I,j=W,X=D,J=Y,se=re,q=B,ne=Z,oe=Q,he=G,ue=0;ue<80;ue++){var ge,Re,Ee=d[ue];if(ue<16)Re=Ee.high=p[v+ue*2]|0,ge=Ee.low=p[v+ue*2+1]|0;else{var Ne=d[ue-15],He=Ne.high,Ve=Ne.low,xe=(He>>>1|Ve<<31)^(He>>>8|Ve<<24)^He>>>7,ye=(Ve>>>1|He<<31)^(Ve>>>8|He<<24)^(Ve>>>7|He<<25),Me=d[ue-2],Ce=Me.high,Ye=Me.low,ot=(Ce>>>19|Ye<<13)^(Ce<<3|Ye>>>29)^Ce>>>6,ke=(Ye>>>19|Ce<<13)^(Ye<<3|Ce>>>29)^(Ye>>>6|Ce<<26),Ge=d[ue-7],rt=Ge.high,bt=Ge.low,dt=d[ue-16],gt=dt.high,wt=dt.low;ge=ye+bt,Re=xe+rt+(ge>>>0>>0?1:0),ge=ge+ke,Re=Re+ot+(ge>>>0>>0?1:0),ge=ge+wt,Re=Re+gt+(ge>>>0>>0?1:0),Ee.high=Re,Ee.low=ge}var Dt=j&J^~j&q,Jt=X&se^~X&ne,Zn=ee&de^ee&Ae^de&Ae,Fs=$&K^$&ce^K&ce,xl=(ee>>>28|$<<4)^(ee<<30|$>>>2)^(ee<<25|$>>>7),Ji=($>>>28|ee<<4)^($<<30|ee>>>2)^($<<25|ee>>>7),y0=(j>>>14|X<<18)^(j>>>18|X<<14)^(j<<23|X>>>9),vd=(X>>>14|j<<18)^(X>>>18|j<<14)^(X<<23|j>>>9),wu=f[ue],A4=wu.high,A0=wu.low,yo=he+vd,Ka=oe+y0+(yo>>>0>>0?1:0),yo=yo+Jt,Ka=Ka+Dt+(yo>>>0>>0?1:0),yo=yo+A0,Ka=Ka+A4+(yo>>>0>>0?1:0),yo=yo+ge,Ka=Ka+Re+(yo>>>0>>0?1:0),Sy=Ji+Fs,R4=xl+Zn+(Sy>>>0>>0?1:0);oe=q,he=ne,q=J,ne=se,J=j,se=X,X=le+yo|0,j=fe+Ka+(X>>>0>>0?1:0)|0,fe=Ae,le=ce,Ae=de,ce=K,de=ee,K=$,$=yo+Sy|0,ee=Ka+R4+($>>>0>>0?1:0)|0}_=m.low=_+$,m.high=M+ee+(_>>>0<$>>>0?1:0),k=y.low=k+K,y.high=P+de+(k>>>0>>0?1:0),C=R.low=C+ce,R.high=F+Ae+(C>>>0>>0?1:0),I=A.low=I+le,A.high=N+fe+(I>>>0>>0?1:0),D=x.low=D+X,x.high=W+j+(D>>>0>>0?1:0),re=S.low=re+se,S.high=Y+J+(re>>>0>>0?1:0),Z=L.low=Z+ne,L.high=B+q+(Z>>>0>>0?1:0),G=w.low=G+he,w.high=Q+oe+(G>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,g=this._nDataBytes*8,m=p.sigBytes*8;v[m>>>5]|=128<<24-m%32,v[(m+128>>>10<<5)+30]=Math.floor(g/4294967296),v[(m+128>>>10<<5)+31]=g,p.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=o._createHelper(h),r.HmacSHA512=o._createHmacHelper(h)}(),n.SHA512})}(pM)),pM.exports}var vM={exports:{}},_9;function v2e(){return _9||(_9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3(),PH())})(Xt,function(n){return function(){var r=n,i=r.x64,o=i.Word,a=i.WordArray,s=r.algo,l=s.SHA512,u=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(u),r.HmacSHA384=l._createHmacHelper(u)}(),n.SHA384})}(vM)),vM.exports}var gM={exports:{}},O9;function g2e(){return O9||(O9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.x64,u=l.Word,c=i.algo,f=[],d=[],h=[];(function(){for(var g=1,m=0,y=0;y<24;y++){f[g+5*m]=(y+1)*(y+2)/2%64;var R=m%5,A=(2*g+3*m)%5;g=R,m=A}for(var g=0;g<5;g++)for(var m=0;m<5;m++)d[g+5*m]=m+(2*g+3*m)%5*5;for(var x=1,S=0;S<24;S++){for(var L=0,w=0,M=0;M<7;M++){if(x&1){var _=(1<>>24)&16711935|(x<<24|x>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var L=y[A];L.high^=S,L.low^=x}for(var w=0;w<24;w++){for(var M=0;M<5;M++){for(var _=0,P=0,k=0;k<5;k++){var L=y[M+5*k];_^=L.high,P^=L.low}var F=p[M];F.high=_,F.low=P}for(var M=0;M<5;M++)for(var C=p[(M+4)%5],N=p[(M+1)%5],I=N.high,W=N.low,_=C.high^(I<<1|W>>>31),P=C.low^(W<<1|I>>>31),k=0;k<5;k++){var L=y[M+5*k];L.high^=_,L.low^=P}for(var D=1;D<25;D++){var _,P,L=y[D],Y=L.high,re=L.low,B=f[D];B<32?(_=Y<>>32-B,P=re<>>32-B):(_=re<>>64-B,P=Y<>>64-B);var Z=p[d[D]];Z.high=_,Z.low=P}var Q=p[0],G=y[0];Q.high=G.high,Q.low=G.low;for(var M=0;M<5;M++)for(var k=0;k<5;k++){var D=M+5*k,L=y[D],ee=p[D],$=p[(M+1)%5+5*k],de=p[(M+2)%5+5*k];L.high=ee.high^~$.high&de.high,L.low=ee.low^~$.low&de.low}var L=y[0],K=h[w];L.high^=K.high,L.low^=K.low}},_doFinalize:function(){var g=this._data,m=g.words;this._nDataBytes*8;var y=g.sigBytes*8,R=this.blockSize*32;m[y>>>5]|=1<<24-y%32,m[(r.ceil((y+1)/R)*R>>>5)-1]|=128,g.sigBytes=m.length*4,this._process();for(var A=this._state,x=this.cfg.outputLength/8,S=x/8,L=[],w=0;w>>24)&16711935|(_<<24|_>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,L.push(P),L.push(_)}return new a.init(L,x)},clone:function(){for(var g=s.clone.call(this),m=g._state=this._state.slice(0),y=0;y<25;y++)m[y]=m[y].clone();return g}});i.SHA3=s._createHelper(v),i.HmacSHA3=s._createHmacHelper(v)}(Math),n.SHA3})}(gM)),gM.exports}var mM={exports:{}},k9;function m2e(){return k9||(k9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){/** @preserve + */(function(e,t){(function(r,i){e.exports=i()})(Xt,function(){return function(){var n={686:function(o,a,s){s.d(a,{default:function(){return B}});var l=s(279),u=s.n(l),c=s(370),f=s.n(c),d=s(817),h=s.n(d);function p(Y){try{return document.execCommand(Y)}catch{return!1}}var v=function(Q){var K=h()(Q);return p("cut"),K},g=v;function m(Y){var Q=document.documentElement.getAttribute("dir")==="rtl",K=document.createElement("textarea");K.style.fontSize="12pt",K.style.border="0",K.style.padding="0",K.style.margin="0",K.style.position="absolute",K.style[Q?"right":"left"]="-9999px";var q=window.pageYOffset||document.documentElement.scrollTop;return K.style.top="".concat(q,"px"),K.setAttribute("readonly",""),K.value=Y,K}var y=function(Q,K){var q=m(Q);K.container.appendChild(q);var $=h()(q);return p("copy"),q.remove(),$},R=function(Q){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},q="";return typeof Q=="string"?q=y(Q,K):Q instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(Q==null?void 0:Q.type)?q=y(Q.value,K):(q=h()(Q),p("copy")),q},A=R;function x(Y){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(K){return typeof K}:x=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},x(Y)}var S=function(){var Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=Q.action,q=K===void 0?"copy":K,$=Q.container,de=Q.target,G=Q.text;if(q!=="copy"&&q!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(de!==void 0)if(de&&x(de)==="object"&&de.nodeType===1){if(q==="copy"&&de.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(q==="cut"&&(de.hasAttribute("readonly")||de.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(G)return A(G,{container:$});if(de)return q==="cut"?g(de):A(de,{container:$})},L=S;function w(Y){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(K){return typeof K}:w=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},w(Y)}function M(Y,Q){if(!(Y instanceof Q))throw new TypeError("Cannot call a class as a function")}function _(Y,Q){for(var K=0;K"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function D(Y){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},D(Y)}function Z(Y,Q){var K="data-clipboard-".concat(Y);if(Q.hasAttribute(K))return Q.getAttribute(K)}var re=function(Y){P(K,Y);var Q=C(K);function K(q,$){var de;return M(this,K),de=Q.call(this),de.resolveOptions($),de.listenClick(q),de}return k(K,[{key:"resolveOptions",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof $.action=="function"?$.action:this.defaultAction,this.target=typeof $.target=="function"?$.target:this.defaultTarget,this.text=typeof $.text=="function"?$.text:this.defaultText,this.container=w($.container)==="object"?$.container:document.body}},{key:"listenClick",value:function($){var de=this;this.listener=f()($,"click",function(G){return de.onClick(G)})}},{key:"onClick",value:function($){var de=$.delegateTarget||$.currentTarget,G=this.action(de)||"copy",Ae=L({action:G,container:this.container,target:this.target(de),text:this.text(de)});this.emit(Ae?"success":"error",{action:G,text:Ae,trigger:de,clearSelection:function(){de&&de.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function($){return Z("action",$)}},{key:"defaultTarget",value:function($){var de=Z("target",$);if(de)return document.querySelector(de)}},{key:"defaultText",value:function($){return Z("text",$)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function($){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A($,de)}},{key:"cut",value:function($){return g($)}},{key:"isSupported",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],de=typeof $=="string"?[$]:$,G=!!document.queryCommandSupported;return de.forEach(function(Ae){G=G&&!!document.queryCommandSupported(Ae)}),G}}]),K}(u()),B=re},828:function(o){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(u,c){for(;u&&u.nodeType!==a;){if(typeof u.matches=="function"&&u.matches(c))return u;u=u.parentNode}}o.exports=l},438:function(o,a,s){var l=s(828);function u(d,h,p,v,g){var m=f.apply(this,arguments);return d.addEventListener(p,m,g),{destroy:function(){d.removeEventListener(p,m,g)}}}function c(d,h,p,v,g){return typeof d.addEventListener=="function"?u.apply(null,arguments):typeof p=="function"?u.bind(null,document).apply(null,arguments):(typeof d=="string"&&(d=document.querySelectorAll(d)),Array.prototype.map.call(d,function(m){return u(m,h,p,v,g)}))}function f(d,h,p,v){return function(g){g.delegateTarget=l(g.target,h),g.delegateTarget&&v.call(d,g)}}o.exports=c},879:function(o,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(o,a,s){var l=s(879),u=s(438);function c(p,v,g){if(!p&&!v&&!g)throw new Error("Missing required arguments");if(!l.string(v))throw new TypeError("Second argument must be a String");if(!l.fn(g))throw new TypeError("Third argument must be a Function");if(l.node(p))return f(p,v,g);if(l.nodeList(p))return d(p,v,g);if(l.string(p))return h(p,v,g);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(p,v,g){return p.addEventListener(v,g),{destroy:function(){p.removeEventListener(v,g)}}}function d(p,v,g){return Array.prototype.forEach.call(p,function(m){m.addEventListener(v,g)}),{destroy:function(){Array.prototype.forEach.call(p,function(m){m.removeEventListener(v,g)})}}}function h(p,v,g){return u(document.body,p,v,g)}o.exports=c},817:function(o){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var u=s.hasAttribute("readonly");u||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),u||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var c=window.getSelection(),f=document.createRange();f.selectNodeContents(s),c.removeAllRanges(),c.addRange(f),l=c.toString()}return l}o.exports=a},279:function(o){function a(){}a.prototype={on:function(s,l,u){var c=this.e||(this.e={});return(c[s]||(c[s]=[])).push({fn:l,ctx:u}),this},once:function(s,l,u){var c=this;function f(){c.off(s,f),l.apply(u,arguments)}return f._=l,this.on(s,f,u)},emit:function(s){var l=[].slice.call(arguments,1),u=((this.e||(this.e={}))[s]||[]).slice(),c=0,f=u.length;for(c;c>>2]>>>24-L%4*8&255;R[x+L>>>2]|=w<<24-(x+L)%4*8}else for(var M=0;M>>2]=A[M>>>2];return this.sigBytes+=S,this},clamp:function(){var y=this.words,R=this.sigBytes;y[R>>>2]&=4294967295<<32-R%4*8,y.length=r.ceil(R/4)},clone:function(){var y=c.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var R=[],A=0;A>>2]>>>24-S%4*8&255;x.push((L>>>4).toString(16)),x.push((L&15).toString(16))}return x.join("")},parse:function(y){for(var R=y.length,A=[],x=0;x>>3]|=parseInt(y.substr(x,2),16)<<24-x%8*4;return new f.init(A,R/2)}},p=d.Latin1={stringify:function(y){for(var R=y.words,A=y.sigBytes,x=[],S=0;S>>2]>>>24-S%4*8&255;x.push(String.fromCharCode(L))}return x.join("")},parse:function(y){for(var R=y.length,A=[],x=0;x>>2]|=(y.charCodeAt(x)&255)<<24-x%4*8;return new f.init(A,R)}},v=d.Utf8={stringify:function(y){try{return decodeURIComponent(escape(p.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return p.parse(unescape(encodeURIComponent(y)))}},g=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new f.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=v.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var R,A=this._data,x=A.words,S=A.sigBytes,L=this.blockSize,w=L*4,M=S/w;y?M=r.ceil(M):M=r.max((M|0)-this._minBufferSize,0);var _=M*L,k=r.min(_*4,S);if(_){for(var P=0;P<_;P+=L)this._doProcessBlock(x,P);R=x.splice(0,_),A.sigBytes-=k}return new f.init(R,k)},clone:function(){var y=c.clone.call(this);return y._data=this._data.clone(),y},_minBufferSize:0});u.Hasher=g.extend({cfg:c.extend(),init:function(y){this.cfg=this.cfg.extend(y),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(y){return this._append(y),this._process(),this},finalize:function(y){y&&this._append(y);var R=this._doFinalize();return R},blockSize:16,_createHelper:function(y){return function(R,A){return new y.init(A).finalize(R)}},_createHmacHelper:function(y){return function(R,A){return new m.HMAC.init(y,A).finalize(R)}}});var m=l.algo={};return l}(Math);return n})}(iM)),iM.exports}var oM={exports:{}},y9;function r3(){return y9||(y9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.Base,s=o.WordArray,l=i.x64={};l.Word=a.extend({init:function(u,c){this.high=u,this.low=c}}),l.WordArray=a.extend({init:function(u,c){u=this.words=u||[],c!=r?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,f=[],d=0;d>>2]|=l[f]<<24-f%4*8;a.call(this,c,u)}else a.apply(this,arguments)};s.prototype=o}}(),n.lib.WordArray})}(aM)),aM.exports}var sM={exports:{}},R9;function d2e(){return R9||(R9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Utf16=a.Utf16BE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535;f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f>>1]|=l.charCodeAt(f)<<16-f%2*16;return o.create(c,u*2)}},a.Utf16LE={stringify:function(l){for(var u=l.words,c=l.sigBytes,f=[],d=0;d>>2]>>>16-d%4*8&65535);f.push(String.fromCharCode(h))}return f.join("")},parse:function(l){for(var u=l.length,c=[],f=0;f>>1]|=s(l.charCodeAt(f)<<16-f%2*16);return o.create(c,u*2)}};function s(l){return l<<8&4278255360|l>>>8&16711935}}(),n.enc.Utf16})}(sM)),sM.exports}var lM={exports:{}},b9;function s0(){return b9||(b9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64={stringify:function(l){var u=l.words,c=l.sigBytes,f=this._map;l.clamp();for(var d=[],h=0;h>>2]>>>24-h%4*8&255,v=u[h+1>>>2]>>>24-(h+1)%4*8&255,g=u[h+2>>>2]>>>24-(h+2)%4*8&255,m=p<<16|v<<8|g,y=0;y<4&&h+y*.75>>6*(3-y)&63));var R=f.charAt(64);if(R)for(;d.length%4;)d.push(R);return d.join("")},parse:function(l){var u=l.length,c=this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var d=0;d>>6-h%4*2,g=p|v;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64})}(lM)),lM.exports}var uM={exports:{}},x9;function h2e(){return x9||(x9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.enc;a.Base64url={stringify:function(l,u){u===void 0&&(u=!0);var c=l.words,f=l.sigBytes,d=u?this._safe_map:this._map;l.clamp();for(var h=[],p=0;p>>2]>>>24-p%4*8&255,g=c[p+1>>>2]>>>24-(p+1)%4*8&255,m=c[p+2>>>2]>>>24-(p+2)%4*8&255,y=v<<16|g<<8|m,R=0;R<4&&p+R*.75>>6*(3-R)&63));var A=d.charAt(64);if(A)for(;h.length%4;)h.push(A);return h.join("")},parse:function(l,u){u===void 0&&(u=!0);var c=l.length,f=u?this._safe_map:this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var h=0;h>>6-h%4*2,g=p|v;f[d>>>2]|=g<<24-d%4*8,d++}return o.create(f,d)}}(),n.enc.Base64url})}(uM)),uM.exports}var cM={exports:{}},S9;function l0(){return S9||(S9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=[];(function(){for(var v=0;v<64;v++)u[v]=r.abs(r.sin(v+1))*4294967296|0})();var c=l.MD5=s.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(v,g){for(var m=0;m<16;m++){var y=g+m,R=v[y];v[y]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360}var A=this._hash.words,x=v[g+0],S=v[g+1],L=v[g+2],w=v[g+3],M=v[g+4],_=v[g+5],k=v[g+6],P=v[g+7],N=v[g+8],C=v[g+9],F=v[g+10],I=v[g+11],W=v[g+12],D=v[g+13],Z=v[g+14],re=v[g+15],B=A[0],Y=A[1],Q=A[2],K=A[3];B=f(B,Y,Q,K,x,7,u[0]),K=f(K,B,Y,Q,S,12,u[1]),Q=f(Q,K,B,Y,L,17,u[2]),Y=f(Y,Q,K,B,w,22,u[3]),B=f(B,Y,Q,K,M,7,u[4]),K=f(K,B,Y,Q,_,12,u[5]),Q=f(Q,K,B,Y,k,17,u[6]),Y=f(Y,Q,K,B,P,22,u[7]),B=f(B,Y,Q,K,N,7,u[8]),K=f(K,B,Y,Q,C,12,u[9]),Q=f(Q,K,B,Y,F,17,u[10]),Y=f(Y,Q,K,B,I,22,u[11]),B=f(B,Y,Q,K,W,7,u[12]),K=f(K,B,Y,Q,D,12,u[13]),Q=f(Q,K,B,Y,Z,17,u[14]),Y=f(Y,Q,K,B,re,22,u[15]),B=d(B,Y,Q,K,S,5,u[16]),K=d(K,B,Y,Q,k,9,u[17]),Q=d(Q,K,B,Y,I,14,u[18]),Y=d(Y,Q,K,B,x,20,u[19]),B=d(B,Y,Q,K,_,5,u[20]),K=d(K,B,Y,Q,F,9,u[21]),Q=d(Q,K,B,Y,re,14,u[22]),Y=d(Y,Q,K,B,M,20,u[23]),B=d(B,Y,Q,K,C,5,u[24]),K=d(K,B,Y,Q,Z,9,u[25]),Q=d(Q,K,B,Y,w,14,u[26]),Y=d(Y,Q,K,B,N,20,u[27]),B=d(B,Y,Q,K,D,5,u[28]),K=d(K,B,Y,Q,L,9,u[29]),Q=d(Q,K,B,Y,P,14,u[30]),Y=d(Y,Q,K,B,W,20,u[31]),B=h(B,Y,Q,K,_,4,u[32]),K=h(K,B,Y,Q,N,11,u[33]),Q=h(Q,K,B,Y,I,16,u[34]),Y=h(Y,Q,K,B,Z,23,u[35]),B=h(B,Y,Q,K,S,4,u[36]),K=h(K,B,Y,Q,M,11,u[37]),Q=h(Q,K,B,Y,P,16,u[38]),Y=h(Y,Q,K,B,F,23,u[39]),B=h(B,Y,Q,K,D,4,u[40]),K=h(K,B,Y,Q,x,11,u[41]),Q=h(Q,K,B,Y,w,16,u[42]),Y=h(Y,Q,K,B,k,23,u[43]),B=h(B,Y,Q,K,C,4,u[44]),K=h(K,B,Y,Q,W,11,u[45]),Q=h(Q,K,B,Y,re,16,u[46]),Y=h(Y,Q,K,B,L,23,u[47]),B=p(B,Y,Q,K,x,6,u[48]),K=p(K,B,Y,Q,P,10,u[49]),Q=p(Q,K,B,Y,Z,15,u[50]),Y=p(Y,Q,K,B,_,21,u[51]),B=p(B,Y,Q,K,W,6,u[52]),K=p(K,B,Y,Q,w,10,u[53]),Q=p(Q,K,B,Y,F,15,u[54]),Y=p(Y,Q,K,B,S,21,u[55]),B=p(B,Y,Q,K,N,6,u[56]),K=p(K,B,Y,Q,re,10,u[57]),Q=p(Q,K,B,Y,k,15,u[58]),Y=p(Y,Q,K,B,D,21,u[59]),B=p(B,Y,Q,K,M,6,u[60]),K=p(K,B,Y,Q,I,10,u[61]),Q=p(Q,K,B,Y,L,15,u[62]),Y=p(Y,Q,K,B,C,21,u[63]),A[0]=A[0]+B|0,A[1]=A[1]+Y|0,A[2]=A[2]+Q|0,A[3]=A[3]+K|0},_doFinalize:function(){var v=this._data,g=v.words,m=this._nDataBytes*8,y=v.sigBytes*8;g[y>>>5]|=128<<24-y%32;var R=r.floor(m/4294967296),A=m;g[(y+64>>>9<<4)+15]=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,g[(y+64>>>9<<4)+14]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,v.sigBytes=(g.length+1)*4,this._process();for(var x=this._hash,S=x.words,L=0;L<4;L++){var w=S[L];S[L]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return x},clone:function(){var v=s.clone.call(this);return v._hash=this._hash.clone(),v}});function f(v,g,m,y,R,A,x){var S=v+(g&m|~g&y)+R+x;return(S<>>32-A)+g}function d(v,g,m,y,R,A,x){var S=v+(g&y|m&~y)+R+x;return(S<>>32-A)+g}function h(v,g,m,y,R,A,x){var S=v+(g^m^y)+R+x;return(S<>>32-A)+g}function p(v,g,m,y,R,A,x){var S=v+(m^(g|~y))+R+x;return(S<>>32-A)+g}i.MD5=s._createHelper(c),i.HmacMD5=s._createHmacHelper(c)}(Math),n.MD5})}(cM)),cM.exports}var fM={exports:{}},w9;function kH(){return w9||(w9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=i.Hasher,s=r.algo,l=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,f){for(var d=this._hash.words,h=d[0],p=d[1],v=d[2],g=d[3],m=d[4],y=0;y<80;y++){if(y<16)l[y]=c[f+y]|0;else{var R=l[y-3]^l[y-8]^l[y-14]^l[y-16];l[y]=R<<1|R>>>31}var A=(h<<5|h>>>27)+m+l[y];y<20?A+=(p&v|~p&g)+1518500249:y<40?A+=(p^v^g)+1859775393:y<60?A+=(p&v|p&g|v&g)-1894007588:A+=(p^v^g)-899497514,m=g,g=v,v=p<<30|p>>>2,p=h,h=A}d[0]=d[0]+h|0,d[1]=d[1]+p|0,d[2]=d[2]+v|0,d[3]=d[3]+g|0,d[4]=d[4]+m|0},_doFinalize:function(){var c=this._data,f=c.words,d=this._nDataBytes*8,h=c.sigBytes*8;return f[h>>>5]|=128<<24-h%32,f[(h+64>>>9<<4)+14]=Math.floor(d/4294967296),f[(h+64>>>9<<4)+15]=d,c.sigBytes=f.length*4,this._process(),this._hash},clone:function(){var c=a.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=a._createHelper(u),r.HmacSHA1=a._createHmacHelper(u)}(),n.SHA1})}(fM)),fM.exports}var dM={exports:{}},M9;function VO(){return M9||(M9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=[],c=[];(function(){function h(m){for(var y=r.sqrt(m),R=2;R<=y;R++)if(!(m%R))return!1;return!0}function p(m){return(m-(m|0))*4294967296|0}for(var v=2,g=0;g<64;)h(v)&&(g<8&&(u[g]=p(r.pow(v,1/2))),c[g]=p(r.pow(v,1/3)),g++),v++})();var f=[],d=l.SHA256=s.extend({_doReset:function(){this._hash=new a.init(u.slice(0))},_doProcessBlock:function(h,p){for(var v=this._hash.words,g=v[0],m=v[1],y=v[2],R=v[3],A=v[4],x=v[5],S=v[6],L=v[7],w=0;w<64;w++){if(w<16)f[w]=h[p+w]|0;else{var M=f[w-15],_=(M<<25|M>>>7)^(M<<14|M>>>18)^M>>>3,k=f[w-2],P=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;f[w]=_+f[w-7]+P+f[w-16]}var N=A&x^~A&S,C=g&m^g&y^m&y,F=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),I=(A<<26|A>>>6)^(A<<21|A>>>11)^(A<<7|A>>>25),W=L+I+N+c[w]+f[w],D=F+C;L=S,S=x,x=A,A=R+W|0,R=y,y=m,m=g,g=W+D|0}v[0]=v[0]+g|0,v[1]=v[1]+m|0,v[2]=v[2]+y|0,v[3]=v[3]+R|0,v[4]=v[4]+A|0,v[5]=v[5]+x|0,v[6]=v[6]+S|0,v[7]=v[7]+L|0},_doFinalize:function(){var h=this._data,p=h.words,v=this._nDataBytes*8,g=h.sigBytes*8;return p[g>>>5]|=128<<24-g%32,p[(g+64>>>9<<4)+14]=r.floor(v/4294967296),p[(g+64>>>9<<4)+15]=v,h.sigBytes=p.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(d),i.HmacSHA256=s._createHmacHelper(d)}(Math),n.SHA256})}(dM)),dM.exports}var hM={exports:{}},L9;function p2e(){return L9||(L9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),VO())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=r.algo,s=a.SHA256,l=a.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=s._createHelper(l),r.HmacSHA224=s._createHmacHelper(l)}(),n.SHA224})}(hM)),hM.exports}var pM={exports:{}},T9;function PH(){return T9||(T9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.Hasher,a=r.x64,s=a.Word,l=a.WordArray,u=r.algo;function c(){return s.create.apply(s,arguments)}var f=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],d=[];(function(){for(var p=0;p<80;p++)d[p]=c()})();var h=u.SHA512=o.extend({_doReset:function(){this._hash=new l.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(p,v){for(var g=this._hash.words,m=g[0],y=g[1],R=g[2],A=g[3],x=g[4],S=g[5],L=g[6],w=g[7],M=m.high,_=m.low,k=y.high,P=y.low,N=R.high,C=R.low,F=A.high,I=A.low,W=x.high,D=x.low,Z=S.high,re=S.low,B=L.high,Y=L.low,Q=w.high,K=w.low,q=M,$=_,de=k,G=P,Ae=N,ce=C,fe=F,le=I,j=W,X=D,J=Z,se=re,ee=B,ne=Y,oe=Q,he=K,ue=0;ue<80;ue++){var ge,Re,Ee=d[ue];if(ue<16)Re=Ee.high=p[v+ue*2]|0,ge=Ee.low=p[v+ue*2+1]|0;else{var Ne=d[ue-15],He=Ne.high,Ve=Ne.low,xe=(He>>>1|Ve<<31)^(He>>>8|Ve<<24)^He>>>7,ye=(Ve>>>1|He<<31)^(Ve>>>8|He<<24)^(Ve>>>7|He<<25),Me=d[ue-2],Ce=Me.high,Ye=Me.low,ot=(Ce>>>19|Ye<<13)^(Ce<<3|Ye>>>29)^Ce>>>6,ke=(Ye>>>19|Ce<<13)^(Ye<<3|Ce>>>29)^(Ye>>>6|Ce<<26),Ge=d[ue-7],rt=Ge.high,bt=Ge.low,dt=d[ue-16],gt=dt.high,wt=dt.low;ge=ye+bt,Re=xe+rt+(ge>>>0>>0?1:0),ge=ge+ke,Re=Re+ot+(ge>>>0>>0?1:0),ge=ge+wt,Re=Re+gt+(ge>>>0>>0?1:0),Ee.high=Re,Ee.low=ge}var Dt=j&J^~j&ee,Jt=X&se^~X&ne,Zn=q&de^q&Ae^de&Ae,Fs=$&G^$&ce^G&ce,xl=(q>>>28|$<<4)^(q<<30|$>>>2)^(q<<25|$>>>7),Ji=($>>>28|q<<4)^($<<30|q>>>2)^($<<25|q>>>7),y0=(j>>>14|X<<18)^(j>>>18|X<<14)^(j<<23|X>>>9),vd=(X>>>14|j<<18)^(X>>>18|j<<14)^(X<<23|j>>>9),wu=f[ue],A4=wu.high,A0=wu.low,yo=he+vd,Ka=oe+y0+(yo>>>0>>0?1:0),yo=yo+Jt,Ka=Ka+Dt+(yo>>>0>>0?1:0),yo=yo+A0,Ka=Ka+A4+(yo>>>0>>0?1:0),yo=yo+ge,Ka=Ka+Re+(yo>>>0>>0?1:0),Sy=Ji+Fs,R4=xl+Zn+(Sy>>>0>>0?1:0);oe=ee,he=ne,ee=J,ne=se,J=j,se=X,X=le+yo|0,j=fe+Ka+(X>>>0>>0?1:0)|0,fe=Ae,le=ce,Ae=de,ce=G,de=q,G=$,$=yo+Sy|0,q=Ka+R4+($>>>0>>0?1:0)|0}_=m.low=_+$,m.high=M+q+(_>>>0<$>>>0?1:0),P=y.low=P+G,y.high=k+de+(P>>>0>>0?1:0),C=R.low=C+ce,R.high=N+Ae+(C>>>0>>0?1:0),I=A.low=I+le,A.high=F+fe+(I>>>0>>0?1:0),D=x.low=D+X,x.high=W+j+(D>>>0>>0?1:0),re=S.low=re+se,S.high=Z+J+(re>>>0>>0?1:0),Y=L.low=Y+ne,L.high=B+ee+(Y>>>0>>0?1:0),K=w.low=K+he,w.high=Q+oe+(K>>>0>>0?1:0)},_doFinalize:function(){var p=this._data,v=p.words,g=this._nDataBytes*8,m=p.sigBytes*8;v[m>>>5]|=128<<24-m%32,v[(m+128>>>10<<5)+30]=Math.floor(g/4294967296),v[(m+128>>>10<<5)+31]=g,p.sigBytes=v.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var p=o.clone.call(this);return p._hash=this._hash.clone(),p},blockSize:1024/32});r.SHA512=o._createHelper(h),r.HmacSHA512=o._createHmacHelper(h)}(),n.SHA512})}(pM)),pM.exports}var vM={exports:{}},_9;function v2e(){return _9||(_9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3(),PH())})(Xt,function(n){return function(){var r=n,i=r.x64,o=i.Word,a=i.WordArray,s=r.algo,l=s.SHA512,u=s.SHA384=l.extend({_doReset:function(){this._hash=new a.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=l._createHelper(u),r.HmacSHA384=l._createHmacHelper(u)}(),n.SHA384})}(vM)),vM.exports}var gM={exports:{}},O9;function g2e(){return O9||(O9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),r3())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.x64,u=l.Word,c=i.algo,f=[],d=[],h=[];(function(){for(var g=1,m=0,y=0;y<24;y++){f[g+5*m]=(y+1)*(y+2)/2%64;var R=m%5,A=(2*g+3*m)%5;g=R,m=A}for(var g=0;g<5;g++)for(var m=0;m<5;m++)d[g+5*m]=m+(2*g+3*m)%5*5;for(var x=1,S=0;S<24;S++){for(var L=0,w=0,M=0;M<7;M++){if(x&1){var _=(1<>>24)&16711935|(x<<24|x>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var L=y[A];L.high^=S,L.low^=x}for(var w=0;w<24;w++){for(var M=0;M<5;M++){for(var _=0,k=0,P=0;P<5;P++){var L=y[M+5*P];_^=L.high,k^=L.low}var N=p[M];N.high=_,N.low=k}for(var M=0;M<5;M++)for(var C=p[(M+4)%5],F=p[(M+1)%5],I=F.high,W=F.low,_=C.high^(I<<1|W>>>31),k=C.low^(W<<1|I>>>31),P=0;P<5;P++){var L=y[M+5*P];L.high^=_,L.low^=k}for(var D=1;D<25;D++){var _,k,L=y[D],Z=L.high,re=L.low,B=f[D];B<32?(_=Z<>>32-B,k=re<>>32-B):(_=re<>>64-B,k=Z<>>64-B);var Y=p[d[D]];Y.high=_,Y.low=k}var Q=p[0],K=y[0];Q.high=K.high,Q.low=K.low;for(var M=0;M<5;M++)for(var P=0;P<5;P++){var D=M+5*P,L=y[D],q=p[D],$=p[(M+1)%5+5*P],de=p[(M+2)%5+5*P];L.high=q.high^~$.high&de.high,L.low=q.low^~$.low&de.low}var L=y[0],G=h[w];L.high^=G.high,L.low^=G.low}},_doFinalize:function(){var g=this._data,m=g.words;this._nDataBytes*8;var y=g.sigBytes*8,R=this.blockSize*32;m[y>>>5]|=1<<24-y%32,m[(r.ceil((y+1)/R)*R>>>5)-1]|=128,g.sigBytes=m.length*4,this._process();for(var A=this._state,x=this.cfg.outputLength/8,S=x/8,L=[],w=0;w>>24)&16711935|(_<<24|_>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,L.push(k),L.push(_)}return new a.init(L,x)},clone:function(){for(var g=s.clone.call(this),m=g._state=this._state.slice(0),y=0;y<25;y++)m[y]=m[y].clone();return g}});i.SHA3=s._createHelper(v),i.HmacSHA3=s._createHmacHelper(v)}(Math),n.SHA3})}(gM)),gM.exports}var mM={exports:{}},k9;function m2e(){return k9||(k9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -91,12 +91,12 @@ From previous: `);return this._state!==null&&(this._stack=t),t}finally{nT=!1}}}, - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(r){var i=n,o=i.lib,a=o.WordArray,s=o.Hasher,l=i.algo,u=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),h=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),v=l.RIPEMD160=s.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(S,L){for(var w=0;w<16;w++){var M=L+w,_=S[M];S[M]=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360}var P=this._hash.words,k=h.words,F=p.words,C=u.words,N=c.words,I=f.words,W=d.words,D,Y,re,B,Z,Q,G,ee,$,de;Q=D=P[0],G=Y=P[1],ee=re=P[2],$=B=P[3],de=Z=P[4];for(var K,w=0;w<80;w+=1)K=D+S[L+C[w]]|0,w<16?K+=g(Y,re,B)+k[0]:w<32?K+=m(Y,re,B)+k[1]:w<48?K+=y(Y,re,B)+k[2]:w<64?K+=R(Y,re,B)+k[3]:K+=A(Y,re,B)+k[4],K=K|0,K=x(K,I[w]),K=K+Z|0,D=Z,Z=B,B=x(re,10),re=Y,Y=K,K=Q+S[L+N[w]]|0,w<16?K+=A(G,ee,$)+F[0]:w<32?K+=R(G,ee,$)+F[1]:w<48?K+=y(G,ee,$)+F[2]:w<64?K+=m(G,ee,$)+F[3]:K+=g(G,ee,$)+F[4],K=K|0,K=x(K,W[w]),K=K+de|0,Q=de,de=$,$=x(ee,10),ee=G,G=K;K=P[1]+re+$|0,P[1]=P[2]+B+de|0,P[2]=P[3]+Z+Q|0,P[3]=P[4]+D+G|0,P[4]=P[0]+Y+ee|0,P[0]=K},_doFinalize:function(){var S=this._data,L=S.words,w=this._nDataBytes*8,M=S.sigBytes*8;L[M>>>5]|=128<<24-M%32,L[(M+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,S.sigBytes=(L.length+1)*4,this._process();for(var _=this._hash,P=_.words,k=0;k<5;k++){var F=P[k];P[k]=(F<<8|F>>>24)&16711935|(F<<24|F>>>8)&4278255360}return _},clone:function(){var S=s.clone.call(this);return S._hash=this._hash.clone(),S}});function g(S,L,w){return S^L^w}function m(S,L,w){return S&L|~S&w}function y(S,L,w){return(S|~L)^w}function R(S,L,w){return S&w|L&~w}function A(S,L,w){return S^(L|~w)}function x(S,L){return S<>>32-L}i.RIPEMD160=s._createHelper(v),i.HmacRIPEMD160=s._createHmacHelper(v)}(),n.RIPEMD160})}(mM)),mM.exports}var yM={exports:{}},P9;function DO(){return P9||(P9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=s.parse(c));var f=u.blockSize,d=f*4;c.sigBytes>d&&(c=u.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),p=this._iKey=c.clone(),v=h.words,g=p.words,m=0;m>>2]&255;_.sigBytes-=P}};o.BlockCipher=h.extend({cfg:h.cfg.extend({mode:g,padding:y}),reset:function(){var _;h.reset.call(this);var P=this.cfg,k=P.iv,F=P.mode;this._xformMode==this._ENC_XFORM_MODE?_=F.createEncryptor:(_=F.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==_?this._mode.init(this,k&&k.words):(this._mode=_.call(F,this,k&&k.words),this._mode.__creator=_)},_doProcessBlock:function(_,P){this._mode.processBlock(_,P)},_doFinalize:function(){var _,P=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(P.pad(this._data,this.blockSize),_=this._process(!0)):(_=this._process(!0),P.unpad(_)),_},blockSize:128/32});var R=o.CipherParams=a.extend({init:function(_){this.mixIn(_)},toString:function(_){return(_||this.formatter).stringify(this)}}),A=i.format={},x=A.OpenSSL={stringify:function(_){var P,k=_.ciphertext,F=_.salt;return F?P=s.create([1398893684,1701076831]).concat(F).concat(k):P=k,P.toString(c)},parse:function(_){var P,k=c.parse(_),F=k.words;return F[0]==1398893684&&F[1]==1701076831&&(P=s.create(F.slice(2,4)),F.splice(0,4),k.sigBytes-=16),R.create({ciphertext:k,salt:P})}},S=o.SerializableCipher=a.extend({cfg:a.extend({format:x}),encrypt:function(_,P,k,F){F=this.cfg.extend(F);var C=_.createEncryptor(k,F),N=C.finalize(P),I=C.cfg;return R.create({ciphertext:N,key:k,iv:I.iv,algorithm:_,mode:I.mode,padding:I.padding,blockSize:_.blockSize,formatter:F.format})},decrypt:function(_,P,k,F){F=this.cfg.extend(F),P=this._parse(P,F.format);var C=_.createDecryptor(k,F).finalize(P.ciphertext);return C},_parse:function(_,P){return typeof _=="string"?P.parse(_,this):_}}),L=i.kdf={},w=L.OpenSSL={execute:function(_,P,k,F,C){if(F||(F=s.random(64/8)),C)var N=d.create({keySize:P+k,hasher:C}).compute(_,F);else var N=d.create({keySize:P+k}).compute(_,F);var I=s.create(N.words.slice(P),k*4);return N.sigBytes=P*4,R.create({key:N,iv:I,salt:F})}},M=o.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:w}),encrypt:function(_,P,k,F){F=this.cfg.extend(F);var C=F.kdf.execute(k,_.keySize,_.ivSize,F.salt,F.hasher);F.iv=C.iv;var N=S.encrypt.call(this,_,P,C.key,F);return N.mixIn(C),N},decrypt:function(_,P,k,F){F=this.cfg.extend(F),P=this._parse(P,F.format);var C=F.kdf.execute(k,_.keySize,_.ivSize,P.salt,F.hasher);F.iv=C.iv;var N=S.decrypt.call(this,_,P,C.key,F);return N}})}()})}(bM)),bM.exports}var xM={exports:{}},F9;function A2e(){return F9||(F9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize;i.call(this,o,a,l,s),this._prevBlock=o.slice(a,a+l)}}),r.Decryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,u=o.slice(a,a+l);i.call(this,o,a,l,s),this._prevBlock=u}});function i(o,a,s,l){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,l.encryptBlock(u,0);for(var f=0;f>>24)&16711935|(_<<24|_>>>8)&4278255360}var k=this._hash.words,P=h.words,N=p.words,C=u.words,F=c.words,I=f.words,W=d.words,D,Z,re,B,Y,Q,K,q,$,de;Q=D=k[0],K=Z=k[1],q=re=k[2],$=B=k[3],de=Y=k[4];for(var G,w=0;w<80;w+=1)G=D+S[L+C[w]]|0,w<16?G+=g(Z,re,B)+P[0]:w<32?G+=m(Z,re,B)+P[1]:w<48?G+=y(Z,re,B)+P[2]:w<64?G+=R(Z,re,B)+P[3]:G+=A(Z,re,B)+P[4],G=G|0,G=x(G,I[w]),G=G+Y|0,D=Y,Y=B,B=x(re,10),re=Z,Z=G,G=Q+S[L+F[w]]|0,w<16?G+=A(K,q,$)+N[0]:w<32?G+=R(K,q,$)+N[1]:w<48?G+=y(K,q,$)+N[2]:w<64?G+=m(K,q,$)+N[3]:G+=g(K,q,$)+N[4],G=G|0,G=x(G,W[w]),G=G+de|0,Q=de,de=$,$=x(q,10),q=K,K=G;G=k[1]+re+$|0,k[1]=k[2]+B+de|0,k[2]=k[3]+Y+Q|0,k[3]=k[4]+D+K|0,k[4]=k[0]+Z+q|0,k[0]=G},_doFinalize:function(){var S=this._data,L=S.words,w=this._nDataBytes*8,M=S.sigBytes*8;L[M>>>5]|=128<<24-M%32,L[(M+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,S.sigBytes=(L.length+1)*4,this._process();for(var _=this._hash,k=_.words,P=0;P<5;P++){var N=k[P];k[P]=(N<<8|N>>>24)&16711935|(N<<24|N>>>8)&4278255360}return _},clone:function(){var S=s.clone.call(this);return S._hash=this._hash.clone(),S}});function g(S,L,w){return S^L^w}function m(S,L,w){return S&L|~S&w}function y(S,L,w){return(S|~L)^w}function R(S,L,w){return S&w|L&~w}function A(S,L,w){return S^(L|~w)}function x(S,L){return S<>>32-L}i.RIPEMD160=s._createHelper(v),i.HmacRIPEMD160=s._createHmacHelper(v)}(),n.RIPEMD160})}(mM)),mM.exports}var yM={exports:{}},P9;function DO(){return P9||(P9=1,function(e,t){(function(n,r){e.exports=r(Xn())})(Xt,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=s.parse(c));var f=u.blockSize,d=f*4;c.sigBytes>d&&(c=u.finalize(c)),c.clamp();for(var h=this._oKey=c.clone(),p=this._iKey=c.clone(),v=h.words,g=p.words,m=0;m>>2]&255;_.sigBytes-=k}};o.BlockCipher=h.extend({cfg:h.cfg.extend({mode:g,padding:y}),reset:function(){var _;h.reset.call(this);var k=this.cfg,P=k.iv,N=k.mode;this._xformMode==this._ENC_XFORM_MODE?_=N.createEncryptor:(_=N.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==_?this._mode.init(this,P&&P.words):(this._mode=_.call(N,this,P&&P.words),this._mode.__creator=_)},_doProcessBlock:function(_,k){this._mode.processBlock(_,k)},_doFinalize:function(){var _,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),_=this._process(!0)):(_=this._process(!0),k.unpad(_)),_},blockSize:128/32});var R=o.CipherParams=a.extend({init:function(_){this.mixIn(_)},toString:function(_){return(_||this.formatter).stringify(this)}}),A=i.format={},x=A.OpenSSL={stringify:function(_){var k,P=_.ciphertext,N=_.salt;return N?k=s.create([1398893684,1701076831]).concat(N).concat(P):k=P,k.toString(c)},parse:function(_){var k,P=c.parse(_),N=P.words;return N[0]==1398893684&&N[1]==1701076831&&(k=s.create(N.slice(2,4)),N.splice(0,4),P.sigBytes-=16),R.create({ciphertext:P,salt:k})}},S=o.SerializableCipher=a.extend({cfg:a.extend({format:x}),encrypt:function(_,k,P,N){N=this.cfg.extend(N);var C=_.createEncryptor(P,N),F=C.finalize(k),I=C.cfg;return R.create({ciphertext:F,key:P,iv:I.iv,algorithm:_,mode:I.mode,padding:I.padding,blockSize:_.blockSize,formatter:N.format})},decrypt:function(_,k,P,N){N=this.cfg.extend(N),k=this._parse(k,N.format);var C=_.createDecryptor(P,N).finalize(k.ciphertext);return C},_parse:function(_,k){return typeof _=="string"?k.parse(_,this):_}}),L=i.kdf={},w=L.OpenSSL={execute:function(_,k,P,N,C){if(N||(N=s.random(64/8)),C)var F=d.create({keySize:k+P,hasher:C}).compute(_,N);else var F=d.create({keySize:k+P}).compute(_,N);var I=s.create(F.words.slice(k),P*4);return F.sigBytes=k*4,R.create({key:F,iv:I,salt:N})}},M=o.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:w}),encrypt:function(_,k,P,N){N=this.cfg.extend(N);var C=N.kdf.execute(P,_.keySize,_.ivSize,N.salt,N.hasher);N.iv=C.iv;var F=S.encrypt.call(this,_,k,C.key,N);return F.mixIn(C),F},decrypt:function(_,k,P,N){N=this.cfg.extend(N),k=this._parse(k,N.format);var C=N.kdf.execute(P,_.keySize,_.ivSize,k.salt,N.hasher);N.iv=C.iv;var F=S.decrypt.call(this,_,k,C.key,N);return F}})}()})}(bM)),bM.exports}var xM={exports:{}},F9;function A2e(){return F9||(F9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.mode.CFB=function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize;i.call(this,o,a,l,s),this._prevBlock=o.slice(a,a+l)}}),r.Decryptor=r.extend({processBlock:function(o,a){var s=this._cipher,l=s.blockSize,u=o.slice(a,a+l);i.call(this,o,a,l,s),this._prevBlock=u}});function i(o,a,s,l){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,l.encryptBlock(u,0);for(var f=0;f>24&255)===255){var l=s>>16&255,u=s>>8&255,c=s&255;l===255?(l=0,u===255?(u=0,c===255?c=0:++c):++u):++l,s=0,s+=l<<16,s+=u<<8,s+=c}else s+=1<<24;return s}function o(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,l){var u=this._cipher,c=u.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var h=d.slice(0);u.encryptBlock(h,0);for(var p=0;p>>2]|=s<<24-l%4*8,r.sigBytes+=s},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(TM)),TM.exports}var _M={exports:{}},U9;function M2e(){return U9||(U9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,a=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(_M)),_M.exports}var OM={exports:{}},B9;function L2e(){return B9||(B9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(OM)),OM.exports}var kM={exports:{}},Y9;function T2e(){return Y9||(Y9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(kM)),kM.exports}var PM={exports:{}},Z9;function _2e(){return Z9||(Z9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(PM)),PM.exports}var CM={exports:{}},Q9;function O2e(){return Q9||(Q9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.CipherParams,s=i.enc,l=s.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var f=l.parse(c);return a.create({ciphertext:f})}}}(),n.format.Hex})}(CM)),CM.exports}var IM={exports:{}},H9;function k2e(){return H9||(H9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo,s=[],l=[],u=[],c=[],f=[],d=[],h=[],p=[],v=[],g=[];(function(){for(var R=[],A=0;A<256;A++)A<128?R[A]=A<<1:R[A]=A<<1^283;for(var x=0,S=0,A=0;A<256;A++){var L=S^S<<1^S<<2^S<<3^S<<4;L=L>>>8^L&255^99,s[x]=L,l[L]=x;var w=R[x],M=R[w],_=R[M],P=R[L]*257^L*16843008;u[x]=P<<24|P>>>8,c[x]=P<<16|P>>>16,f[x]=P<<8|P>>>24,d[x]=P;var P=_*16843009^M*65537^w*257^x*16843008;h[L]=P<<24|P>>>8,p[L]=P<<16|P>>>16,v[L]=P<<8|P>>>24,g[L]=P,x?(x=w^R[R[R[_^w]]],S^=R[R[S]]):x=S=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=o.extend({_doReset:function(){var R;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var A=this._keyPriorReset=this._key,x=A.words,S=A.sigBytes/4,L=this._nRounds=S+6,w=(L+1)*4,M=this._keySchedule=[],_=0;_6&&_%S==4&&(R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255]):(R=R<<8|R>>>24,R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255],R^=m[_/S|0]<<24),M[_]=M[_-S]^R);for(var P=this._invKeySchedule=[],k=0;k>>24]]^p[s[R>>>16&255]]^v[s[R>>>8&255]]^g[s[R&255]]}}},encryptBlock:function(R,A){this._doCryptBlock(R,A,this._keySchedule,u,c,f,d,s)},decryptBlock:function(R,A){var x=R[A+1];R[A+1]=R[A+3],R[A+3]=x,this._doCryptBlock(R,A,this._invKeySchedule,h,p,v,g,l);var x=R[A+1];R[A+1]=R[A+3],R[A+3]=x},_doCryptBlock:function(R,A,x,S,L,w,M,_){for(var P=this._nRounds,k=R[A]^x[0],F=R[A+1]^x[1],C=R[A+2]^x[2],N=R[A+3]^x[3],I=4,W=1;W>>24]^L[F>>>16&255]^w[C>>>8&255]^M[N&255]^x[I++],Y=S[F>>>24]^L[C>>>16&255]^w[N>>>8&255]^M[k&255]^x[I++],re=S[C>>>24]^L[N>>>16&255]^w[k>>>8&255]^M[F&255]^x[I++],B=S[N>>>24]^L[k>>>16&255]^w[F>>>8&255]^M[C&255]^x[I++];k=D,F=Y,C=re,N=B}var D=(_[k>>>24]<<24|_[F>>>16&255]<<16|_[C>>>8&255]<<8|_[N&255])^x[I++],Y=(_[F>>>24]<<24|_[C>>>16&255]<<16|_[N>>>8&255]<<8|_[k&255])^x[I++],re=(_[C>>>24]<<24|_[N>>>16&255]<<16|_[k>>>8&255]<<8|_[F&255])^x[I++],B=(_[N>>>24]<<24|_[k>>>16&255]<<16|_[F>>>8&255]<<8|_[C&255])^x[I++];R[A]=D,R[A+1]=Y,R[A+2]=re,R[A+3]=B},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(IM)),IM.exports}var NM={exports:{}},K9;function P2e(){return K9||(K9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=i.BlockCipher,s=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=a.extend({_doReset:function(){for(var m=this._key,y=m.words,R=[],A=0;A<56;A++){var x=l[A]-1;R[A]=y[x>>>5]>>>31-x%32&1}for(var S=this._subKeys=[],L=0;L<16;L++){for(var w=S[L]=[],M=c[L],A=0;A<24;A++)w[A/6|0]|=R[(u[A]-1+M)%28]<<31-A%6,w[4+(A/6|0)]|=R[28+(u[A+24]-1+M)%28]<<31-A%6;w[0]=w[0]<<1|w[0]>>>31;for(var A=1;A<7;A++)w[A]=w[A]>>>(A-1)*4+3;w[7]=w[7]<<5|w[7]>>>27}for(var _=this._invSubKeys=[],A=0;A<16;A++)_[A]=S[15-A]},encryptBlock:function(m,y){this._doCryptBlock(m,y,this._subKeys)},decryptBlock:function(m,y){this._doCryptBlock(m,y,this._invSubKeys)},_doCryptBlock:function(m,y,R){this._lBlock=m[y],this._rBlock=m[y+1],p.call(this,4,252645135),p.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),p.call(this,1,1431655765);for(var A=0;A<16;A++){for(var x=R[A],S=this._lBlock,L=this._rBlock,w=0,M=0;M<8;M++)w|=f[M][((L^x[M])&d[M])>>>0];this._lBlock=L,this._rBlock=S^w}var _=this._lBlock;this._lBlock=this._rBlock,this._rBlock=_,p.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[y]=this._lBlock,m[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,y){var R=(this._lBlock>>>m^this._rBlock)&y;this._rBlock^=R,this._lBlock^=R<>>m^this._lBlock)&y;this._lBlock^=R,this._rBlock^=R<192.");var R=y.slice(0,2),A=y.length<4?y.slice(0,2):y.slice(2,4),x=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=h.createEncryptor(o.create(R)),this._des2=h.createEncryptor(o.create(A)),this._des3=h.createEncryptor(o.create(x))},encryptBlock:function(m,y){this._des1.encryptBlock(m,y),this._des2.decryptBlock(m,y),this._des3.encryptBlock(m,y)},decryptBlock:function(m,y){this._des3.decryptBlock(m,y),this._des2.encryptBlock(m,y),this._des1.decryptBlock(m,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(g)}(),n.TripleDES})}(NM)),NM.exports}var FM={exports:{}},G9;function C2e(){return G9||(G9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=a.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,d=c.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,v=0;p<256;p++){var g=p%d,m=f[g>>>2]>>>24-g%4*8&255;v=(v+h[p]+m)%256;var y=h[p];h[p]=h[v],h[v]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+c[f])%256;var v=c[f];c[f]=c[d],c[d]=v,h|=c[(c[f]+c[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=o._createHelper(s);var u=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});r.RC4Drop=o._createHelper(u)}(),n.RC4})}(FM)),FM.exports}var EM={exports:{}},z9;function I2e(){return z9||(z9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=[],l=[],u=[],c=a.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var v=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],g=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)g[p]^=v[p+4&7];if(h){var m=h.words,y=m[0],R=m[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=A>>>16|x&4294901760,L=x<<16|A&65535;g[0]^=A,g[1]^=S,g[2]^=x,g[3]^=L,g[4]^=A,g[5]^=S,g[6]^=x,g[7]^=L;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[h+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],g=v&65535,m=v>>>16,y=((g*g>>>17)+g*m>>>15)+m*m,R=((v&4294901760)*v|0)+((v&65535)*v|0);u[p]=y^R}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(EM)),EM.exports}var XM={exports:{}},J9;function N2e(){return J9||(J9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=[],l=[],u=[],c=a.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=p[g+4&7];if(h){var m=h.words,y=m[0],R=m[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=A>>>16|x&4294901760,L=x<<16|A&65535;v[0]^=A,v[1]^=S,v[2]^=x,v[3]^=L,v[4]^=A,v[5]^=S,v[6]^=x,v[7]^=L;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[h+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],g=v&65535,m=v>>>16,y=((g*g>>>17)+g*m>>>15)+m*m,R=((v&4294901760)*v|0)+((v&65535)*v|0);u[p]=y^R}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(XM)),XM.exports}var WM={exports:{}},$9;function F2e(){return $9||($9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo;const s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(g,m){let y=m>>24&255,R=m>>16&255,A=m>>8&255,x=m&255,S=g.sbox[0][y]+g.sbox[1][R];return S=S^g.sbox[2][A],S=S+g.sbox[3][x],S}function d(g,m,y){let R=m,A=y,x;for(let S=0;S1;--S)R=R^g.pbox[S],A=f(g,R)^A,x=R,R=A,A=x;return x=R,R=A,A=x,A=A^g.pbox[1],R=R^g.pbox[0],{left:R,right:A}}function p(g,m,y){for(let L=0;L<4;L++){g.sbox[L]=[];for(let w=0;w<256;w++)g.sbox[L][w]=u[L][w]}let R=0;for(let L=0;L=y&&(R=0);let A=0,x=0,S=0;for(let L=0;LwT.AES.encrypt(e,CH).toString(),IH=e=>wT.AES.decrypt(e,CH).toString(wT.enc.Utf8),NH=e=>new Promise((t,n)=>{const r=document.createElement("button"),i=new s2e(r,{text:()=>e,action:()=>"copy",container:document.body});i.on("success",o=>{i.destroy(),t(o)}),i.on("error",o=>{i.destroy(),n(o)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),FH=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),BO=e=>{let t;try{t=JSON.parse(IH(e))}catch{t=e}return t},EH=e=>{const t=e.split(`\r -`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const i in t){if(r[i]=t[i].split(" "),r[i].length===1)return null;if(n===-1)n=r[i].length;else if(n!==r[i].length)return null}return r},qp=e=>{const{left:t,top:n,width:r,height:i,rotate:o=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(i,2))/2,s=Math.atan(i/r)*180/Math.PI,l=(180-o-s)*Math.PI/180,u=(s-o)*Math.PI/180,c=t+r/2,f=n+i/2,d=[c+a*Math.cos(l),c+a*Math.cos(u),c-a*Math.cos(l),c-a*Math.cos(u)],h=[f-a*Math.sin(l),f-a*Math.sin(u),f+a*Math.sin(l),f+a*Math.sin(u)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},Tp=e=>{const{xRange:t,yRange:n}=qp({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:i}=qp({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:i[0]-n[0]}},hs=e=>{let t,n,r,i;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,i=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:o,top:a,width:s,height:l,rotate:u}=e,{xRange:c,yRange:f}=qp({left:o,top:a,width:s,height:l,rotate:u});t=c[0],n=c[1],r=f[0],i=f[1]}else t=e.left,n=e.left+e.width,r=e.top,i=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:i}},ju=e=>{const t=[],n=[],r=[],i=[];e.forEach(u=>{const{minX:c,maxX:f,minY:d,maxY:h}=hs(u);t.push(c),n.push(d),r.push(f),i.push(h)});const o=Math.min(...t),a=Math.max(...r),s=Math.min(...n),l=Math.max(...i);return{minX:o,maxX:a,minY:s,maxY:l}},xx=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(i=>i.value===n.value);if(r===-1)t.push(n);else{const i=t[r],o=Math.min(i.range[0],n.range[0]),a=Math.max(i.range[1],n.range[1]),s=[o,a],l={value:n.value,range:s};t[r]=l}}),t},X2e=e=>{const t={};for(const n of e)t[n.id]=on(10);return t},MT=e=>{const t={},n={};for(const r of e){const i=r.groupId;i&&!t[i]&&(t[i]=on(10)),n[r.id]=on(10)}return{groupIdMap:t,elIdMap:n}},XH=e=>{const t=at(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},YO=e=>{const t=e.start.join(","),n=e.end.join(",");if(e.broken){const r=e.broken.join(",");return`M${t} L${r} L${n}`}else if(e.broken2){const{minX:r,maxX:i,minY:o,maxY:a}=hs(e);return i-r>=a-o?`M${t} L${e.broken2[0]},${e.start[1]} L${e.broken2[0]},${e.end[1]} ${n}`:`M${t} L${e.start[0]},${e.broken2[1]} L${e.end[0]},${e.broken2[1]} ${n}`}else if(e.curve){const r=e.curve.join(",");return`M${t} Q${r} ${n}`}else if(e.cubic){const[r,i]=e.cubic,o=r.join(","),a=i.join(",");return`M${t} C${o} ${a} ${n}`}return`M${t} L${n}`},W2e=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom},Sx=e=>{const n=e.replace(/[\n\r]+/g,"
").split("
");let r="";for(const i of n)i&&(r+=`
${i}
`);return r},WH=e=>new Promise(t=>{const n=document.createElement("img");n.src=e,n.style.opacity="0",document.body.appendChild(n),n.onload=()=>{const r=n.clientWidth,i=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:i})},n.onerror=()=>{n.onload=null,n.onerror=null}}),sd=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),V2e=e=>{if(!/[\s\S]*?<\/svg>/i.test(e))return!1;try{return new DOMParser().parseFromString(e,"image/svg+xml").documentElement.nodeName==="svg"}catch{return!1}},D2e=e=>{const t=new Blob([e],{type:"image/svg+xml"});return new File([t],`${Date.now()}.svg`,{type:"image/svg+xml"})};var bn=(e=>(e.ROUND_RECT="roundRect",e.ROUND_RECT_DIAGONAL="roundRectDiagonal",e.ROUND_RECT_SINGLE="roundRectSingle",e.ROUND_RECT_SAMESIDE="roundRectSameSide",e.CUT_RECT_DIAGONAL="cutRectDiagonal",e.CUT_RECT_SINGLE="cutRectSingle",e.CUT_RECT_SAMESIDE="cutRectSameSide",e.CUT_ROUND_RECT="cutRoundRect",e.MESSAGE="message",e.ROUND_MESSAGE="roundMessage",e.L="L",e.RING_RECT="ringRect",e.PLUS="plus",e.TRIANGLE="triangle",e.PARALLELOGRAM_LEFT="parallelogramLeft",e.PARALLELOGRAM_RIGHT="parallelogramRight",e.TRAPEZOID="trapezoid",e.BULLET="bullet",e.INDICATOR="indicator",e))(bn||{}),Et=(e=>(e.TEXT="text",e.IMAGE="image",e.SHAPE="shape",e.LINE="line",e.CHART="chart",e.TABLE="table",e.LATEX="latex",e.VIDEO="video",e.AUDIO="audio",e))(Et||{});const u0={[bn.ROUND_RECT]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L ${r} ${t} Q 0 ${t} 0 ${t-r} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.CUT_RECT_DIAGONAL]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${t-r} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L ${r} ${t} Z`}},[bn.CUT_RECT_SINGLE]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${t} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} Z`}},[bn.CUT_RECT_SAMESIDE]:{editable:!0,defaultValue:[.2],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${r} L ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[bn.ROUND_RECT_DIAGONAL]:{editable:!0,defaultValue:[.125],range:[[0,1]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e} 0 L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.ROUND_RECT_SINGLE]:{editable:!0,defaultValue:[.125],range:[[0,1]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} L 0 0 Z`}},[bn.ROUND_RECT_SAMESIDE]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${r} Q 0 0 ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[bn.CUT_ROUND_RECT]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.MESSAGE]:{editable:!0,range:[[0,.8],[.1,.3]],defaultValue:[.3,.2],relative:["left_bottom","bottom"],getBaseSize:[e=>e,(e,t)=>t],formula:(e,t,n)=>{const r=e*n[0],i=e*.2,o=t*n[1];return`M 0 0 L ${e} 0 L ${e} ${t-o} L ${r+i} ${t-o} L ${r} ${t} L ${r} ${t-o} L 0 ${t-o} Z`}},[bn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=Math.min(e,t)*.2,i=Math.min(e,t)*.2;return`M 0 ${n} Q 0 0 ${n} 0 L ${e-n} 0 Q ${e} 0 ${e} ${n} L ${e} ${t-n-i} Q ${e} ${t-i} ${e-n} ${t-i} L ${e/2} ${t-i} L ${e/2-r} ${t} L ${e/2-r} ${t-i} L ${n} ${t-i} Q 0 ${t-i} 0 ${t-n-i} L 0 ${n} Z`}},[bn.L]:{editable:!0,defaultValue:[.25],range:[[.1,.9]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 L 0 ${t} L ${e} ${t} L ${e} ${t-r} L ${r} ${t-r} L ${r} 0 Z`}},[bn.RING_RECT]:{editable:!0,defaultValue:[.25],range:[[.1,.45]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 ${e} 0 ${e} ${t} L 0 ${t} L 0 0 Z M ${r} ${r} L ${r} ${t-r} L ${e-r} ${t-r} L ${e-r} ${r} Z`}},[bn.PLUS]:{editable:!0,defaultValue:[.25],range:[[.1,.9]],relative:["center"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${e/2-r/2} 0 L ${e/2-r/2} ${t/2-r/2} L 0 ${t/2-r/2} L 0 ${t/2+r/2} L ${e/2-r/2} ${t/2+r/2} L ${e/2-r/2} ${t} L ${e/2+r/2} ${t} L ${e/2+r/2} ${t/2+r/2} L ${e} ${t/2+r/2} L ${e} ${t/2-r/2} L ${e/2+r/2} ${t/2-r/2} L ${e/2+r/2} 0 Z`}},[bn.TRIANGLE]:{editable:!0,defaultValue:[.5],range:[[0,1]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>`M ${e*n[0]} 0 L 0 ${t} L ${e} ${t} Z`},[bn.PARALLELOGRAM_LEFT]:{editable:!0,defaultValue:[.25],range:[[0,.9]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${r} 0 L ${e} 0 L ${e-r} ${t} L 0 ${t} Z`}},[bn.PARALLELOGRAM_RIGHT]:{editable:!0,defaultValue:[.25],range:[[0,.9]],relative:["right"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M 0 0 L ${e-r} 0 L ${e} ${t} L ${r} ${t} Z`}},[bn.TRAPEZOID]:{editable:!0,defaultValue:[.25],range:[[0,.5]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${r} 0 L ${e-r} 0 L ${e} ${t} L 0 ${t} Z`}},[bn.BULLET]:{editable:!0,defaultValue:[.2],range:[[0,1]],relative:["top"],getBaseSize:[(e,t)=>t],formula:(e,t,n)=>{const r=t*n[0];return`M ${e/2} 0 L 0 ${r} L 0 ${t} L ${e} ${t} L ${e} ${r} Z`}},[bn.INDICATOR]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${e} ${t/2} L ${e-r} 0 L 0 0 L ${r} ${t/2} L 0 ${t} L ${e-r} ${t} Z`}}},ZO=[{type:"矩形",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",pptxShapeType:"rect"},{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.ROUND_RECT,pptxShapeType:"roundRect"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",pathFormula:bn.CUT_RECT_SINGLE,pptxShapeType:"snip1Rect"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",pathFormula:bn.CUT_RECT_SAMESIDE,pptxShapeType:"snip2SameRect"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",pathFormula:bn.CUT_RECT_DIAGONAL,pptxShapeType:"snip2DiagRect"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 50 L 200 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.CUT_ROUND_RECT,pptxShapeType:"snipRoundRect"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",pathFormula:bn.ROUND_RECT_SINGLE,pptxShapeType:"round1Rect"},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",pathFormula:bn.ROUND_RECT_SAMESIDE,pptxShapeType:"round2SameRect"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 200 150 Q 200 200 150 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.ROUND_RECT_DIAGONAL,pptxShapeType:"round2DiagRect"}]},{type:"常用形状",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",pptxShapeType:"ellipse"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:bn.TRIANGLE,pptxShapeType:"triangle"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 70 20 L 0 160 Q 0 200 40 200 L 160 200 Q 200 200 200 160 L 130 20 Q 100 -20 70 20 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:bn.PARALLELOGRAM_LEFT,pptxShapeType:"parallelogram"},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:bn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:bn.TRAPEZOID,pptxShapeType:"trapezoid"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",pptxShapeType:"diamond"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:bn.BULLET},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:bn.INDICATOR},{viewBox:[200,200],path:"M 0 0 C 80 20 120 20 200 0 C 180 80 180 120 200 200 C 80 180 120 180 0 200 C 20 120 20 80 0 0 Z"},{viewBox:[200,200],path:"M 10 10 C 60 0 140 0 190 10 C 200 60 200 140 190 190 C 140 200 60 200 10 190 C 0 140 0 60 10 10 Z"},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",pptxShapeType:"pie"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",pptxShapeType:"chord"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",pptxShapeType:"teardrop"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M100,0 L200,76.6 L161.8,200 L38.2,200 L0,76.6 Z",pptxShapeType:"pentagon"},{viewBox:[200,200],path:"M 40 0 L 160 0 L 200 100 L 160 200 L 40 200 L 0 100 Z",pptxShapeType:"hexagon"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M100,0 L170.71,29.29 L200,100 L170.71,170.71 L100,200 L29.29,170.71 L0,100 L29.29,29.29 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",pptxShapeType:"octagon"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z",pptxShapeType:"dodecagon"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z",pptxShapeType:"flowChartManualInput"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 150 C 110 140 110 240 0 180 Z",pptxShapeType:"flowChartDocument"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z",pptxShapeType:"diagStripe"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:bn.L,pptxShapeType:"corner"},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:bn.RING_RECT,pptxShapeType:"frame"},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z",pptxShapeType:"donut"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:bn.PLUS,pptxShapeType:"mathPlus"},{viewBox:[200,200],path:"M 0 70 L 200 70 L 200 130 L 0 130 Z",pptxShapeType:"mathMinus"},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z",pptxShapeType:"mathMultiply"},{viewBox:[200,200],path:"M 0 80 L 200 80 L 200 120 L 0 120 Z M 100 0 A 25 25 0 1 1 100 50 A 25 25 0 1 1 100 0 M 100 200 A 25 25 0 1 1 100 150 A 25 25 0 1 1 100 200",pptxShapeType:"mathDivide"},{viewBox:[200,200],path:"M 0 30 L 200 30 L 200 80 L 0 80 Z M 0 120 L 200 120 L 200 170 L 0 170 Z",pptxShapeType:"mathEqual"},{viewBox:[200,200],path:"M 120 0 L 170 0 L 150 40 L 200 40 L 200 80 L 130 80 L 110 120 L 200 120 L 200 160 L 90 160 L 70 200 L 20 200 L 40 160 L 0 160 L 0 120 L 60 120 L 80 80 L 0 80 L 0 40 L 100 40 Z",pptxShapeType:"mathNotEqual"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:bn.MESSAGE,pptxShapeType:"wedgeRectCallout"},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:bn.ROUND_MESSAGE,pptxShapeType:"wedgeRoundRectCallout"},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z",pptxShapeType:"flowChartMagneticTape"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z",pptxShapeType:"flowChartCollate"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z",pptxShapeType:"wave"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",pptxShapeType:"doubleWave"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 120 80 L 200 100 L 120 120 L 100 200 L 80 120 L 0 100 L 80 80 L 100 0 Z",pptxShapeType:"star4"},{viewBox:[1024,1024],path:"M1018.67652554 400.05983681l-382.95318779-5.89158658L512 34.78141155 388.27666225 394.16825023l-382.95318779 5.89158658L311.68602415 629.83174977l-117.83174978 365.27842665 312.25413766-223.88032637 312.25413904 223.88032637-117.83175116-365.27842665 318.14572563-229.77191296z",pptxShapeType:"star5",special:!0},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 140 60 L 200 60 L 160 100 L 200 140 L 140 140 L 100 200 L 60 140 L 0 140 L 40 100 L 0 60 L 60 60 L 100 0 Z",pptxShapeType:"star6"},{viewBox:[200,200],path:"M 100 0 L 130 30 L 170 30 L 170 70 L 200 100 L 170 130 L 170 170 L 130 170 L 100 200 L 70 170 L 30 170 L 30 130 L 0 100 L 30 70 L 30 30 L 70 30 L 100 0",pptxShapeType:"star8"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 0 200 120 A 100 100 0 1 1 100 0 Z"},{viewBox:[200,200],path:"M 120 0 L 100 80 L 200 80 L 80 200 L 100 120 L 0 120 L 120 0 Z"},{viewBox:[200,200],path:"M 30 50 Q 40 -20 120 10 Q 180 -10 180 40 Q 210 70 190 100 C 210 140 180 170 160 170 Q 140 210 100 180 C 70 210 20 190 30 150 C -10 140 -10 80 30 50",pptxShapeType:"cloud"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z M 200 100 L 0 100",withborder:!0,pptxShapeType:"flowChartSort"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 170 30 L 30 170",withborder:!0},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 30 30 L 170 170",withborder:!0},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 170 30 L 30 170 M 30 30 L 170 170",withborder:!0,pptxShapeType:"flowChartSummingJunction"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 200 100 L 0 100 M 100 0 L 100 200",withborder:!0,pptxShapeType:"flowChartOr"},{viewBox:[200,200],path:"M 160 0 A 40 100 0 1 1 160 200 L 40 200 A 40 100 0 1 1 40 0 L 160 0 Z M 160 200 A 40 100 0 1 1 160 0",withborder:!0,pptxShapeType:"flowChartMagneticDrum"},{viewBox:[200,200],path:"M 0 40 A 50 20 0 1 1 200 40 L 200 160 A 50 20 0 1 1 0 160 L 0 40 Z M 200 40 A 50 20 0 1 1 0 40",withborder:!0,pptxShapeType:"can"},{viewBox:[200,200],path:"M 200 0 L 50 0 L 0 50 L 0 200 L 150 200 L 200 150 L 200 0 Z M 200 0 L 150 50 M 150 50 L 0 50 M 150 50 L 150 200",withborder:!0,pptxShapeType:"cube"}]},{type:"箭头",children:[{viewBox:[200,200],path:"M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",pptxShapeType:"upArrow"},{viewBox:[200,200],path:"M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",pptxShapeType:"downArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",pptxShapeType:"leftArrow"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"rightArrow"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",pptxShapeType:"upDownArrow"},{viewBox:[200,200],path:"M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",pptxShapeType:"leftRightArrow"},{viewBox:[200,200],path:"M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z",pptxShapeType:"quadArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"notchedRightArrow"},{viewBox:[200,200],path:"M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z",pptxShapeType:"leftArrowCallout"},{viewBox:[200,200],path:"M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z",pptxShapeType:"rightArrowCallout"},{viewBox:[200,200],path:"M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",pptxShapeType:"chevron"},{viewBox:[200,200],path:"M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z"},{viewBox:[200,200],path:"M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",pptxShapeType:"homePlate"},{viewBox:[200,200],path:"M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z",pptxShapeType:"bentUpArrow"},{viewBox:[200,200],path:"M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z",pptxShapeType:"leftUpArrow"},{viewBox:[1024,1024],path:"M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",special:!0},{viewBox:[1024,1024],path:"M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",special:!0}]},{type:"其他形状",children:[{viewBox:[1024,1024],path:"M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",special:!0},{viewBox:[1024,1024],path:"M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",special:!0},{viewBox:[1024,1024],path:"M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",special:!0},{viewBox:[1024,1024],path:"M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",special:!0},{viewBox:[1024,1024],path:"M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",special:!0},{viewBox:[1024,1024],path:"M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",special:!0},{viewBox:[1024,1024],path:"M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",special:!0},{viewBox:[1024,1024],path:"M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",special:!0},{viewBox:[1024,1024],path:"M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",special:!0},{viewBox:[1024,1024],path:"M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",special:!0},{viewBox:[1024,1024],path:"M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",special:!0},{viewBox:[1024,1024],path:"M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",special:!0},{viewBox:[1024,1024],path:"M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",special:!0},{viewBox:[1024,1024],path:"M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",special:!0},{viewBox:[1024,1024],path:"M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",special:!0},{viewBox:[1024,1024],path:"M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",special:!0},{viewBox:[1024,1024],path:"M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",special:!0},{viewBox:[1024,1024],path:"M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",special:!0},{viewBox:[1024,1024],path:"M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m220.16 343.26755556l-239.616 332.23111111c-14.44977778 20.13866667-44.37333333 20.13866667-58.82311111 0L291.84 481.16622222c-4.32355555-6.03022222 0-14.44977778 7.39555555-14.44977777h53.36177778c11.60533333 0 22.64177778 5.57511111 29.46844445 15.13244444l81.00977777 112.41244444 178.85866667-248.03555555c6.82666667-9.44355555 17.74933333-15.13244445 29.46844445-15.13244445H724.76444445c7.39555555 0 11.71911111 8.41955555 7.39555555 14.44977778z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h418.70222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m188.18844445 703.37422223l-75.09333334-0.34133333L512 570.48177778l-112.98133333 134.71288889-75.20711112 0.34133333c-5.00622222 0-9.10222222-3.98222222-9.10222222-9.10222222 0-2.16177778 0.79644445-4.20977778 2.16177778-5.91644445l148.02488889-176.35555555L316.87111111 337.92c-1.36533333-1.70666667-2.16177778-3.75466667-2.16177778-5.91644445 0-5.00622222 4.096-9.10222222 9.10222222-9.10222222l75.20711112 0.34133334L512 458.06933333l112.98133333-134.71288888 75.09333334-0.34133334c5.00622222 0 9.10222222 3.98222222 9.10222222 9.10222222 0 2.16177778-0.79644445 4.20977778-2.16177778 5.91644445L559.21777778 514.27555555l147.91111111 176.35555556c1.36533333 1.70666667 2.16177778 3.75466667 2.16177778 5.91644444 0 5.00622222-4.096 9.10222222-9.10222222 9.10222223z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H548.40888889v172.94222222c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222h-54.61333334c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V548.40888889H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h172.94222222V302.64888889c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h54.61333334c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v172.94222222h172.94222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m163.95377778 517.57511112L427.46311111 700.64355555c-1.59288889 1.13777778-3.41333333 1.70666667-5.34755556 1.70666667-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V331.88977778c0-1.93422222 0.56888889-3.75466667 1.70666667-5.34755556 2.95822222-4.096 8.64711111-5.00622222 12.74311111-2.048L675.95377778 505.17333333c0.79644445 0.56888889 1.47911111 1.25155555 2.048 2.048 2.95822222 3.98222222 2.048 9.67111111-2.048 12.62933334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m200.81777778 666.39644445l-32.54044445 44.37333333c-2.95822222 4.096-8.64711111 4.89244445-12.74311111 1.93422222L479.34577778 577.76355555c-2.38933333-1.70666667-3.75466667-4.43733333-3.75466667-7.39555555V257.13777778c0-5.00622222 4.096-9.10222222 9.10222222-9.10222223h54.72711112c5.00622222 0 9.10222222 4.096 9.10222222 9.10222223v281.6l162.24711111 117.30488889c4.096 2.84444445 5.00622222 8.53333333 2.048 12.62933333z",special:!0},{viewBox:[1024,1024],path:"M981.10577778 314.48177778c-25.6-61.09866667-62.464-115.93955555-109.34044445-163.04355556-46.87644445-46.99022222-101.60355555-83.968-162.70222222-109.568C646.59911111 15.58755555 580.38044445 2.27555555 512 2.27555555h-2.27555555c-68.83555555 0.34133333-135.39555555 13.99466667-198.08711112 40.84622223-60.52977778 25.94133333-114.80177778 62.80533333-161.22311111 109.79555555-46.42133333 46.99022222-82.83022222 101.60355555-108.08888889 162.47466667C16.27022222 378.42488889 3.072 445.44 3.41333333 514.38933333c0.34133333 78.96177778 19.22844445 157.35466667 54.49955556 227.44177778v172.94222222c0 28.89955555 23.43822222 52.33777778 52.224 52.33777778h172.71466666c69.97333333 35.38488889 148.13866667 54.272 226.98666667 54.61333334h2.38933333c68.03911111 0 133.91644445-13.19822222 196.03911112-39.02577778 60.75733333-25.37244445 115.37066667-61.78133333 162.13333333-108.31644445 46.87644445-46.53511111 83.74044445-100.92088889 109.568-161.56444444 26.73777778-62.80533333 40.39111111-129.59288889 40.73244445-198.54222223 0.22755555-69.29066667-13.19822222-136.53333333-39.59466667-199.79377777zM284.89955555 566.61333333c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955556 54.61333333-24.34844445 54.61333333-54.49955556 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955556-54.61333333s24.46222222-54.61333333 54.49955556-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM745.4750693 325.8561164l-267.95558363 371.52436096c-16.15876501 22.52048353-49.62140436 22.52048353-65.78016939 0L253.07805667 477.51948567c-4.83490607-6.74342161 0-16.15876501 8.27023406-16.15876499h59.67291961c12.97790576 0 25.31963967 6.23448413 32.95370188 16.92217123l90.59087157 125.70755774 200.01242995-277.37092701c7.63406221-10.56045272 19.84856175-16.92217125 32.95370189-16.92217124H737.20483524c8.27023407 0 13.10514012 9.41534338 8.27023406 16.158765z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h468.2224823c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM720.79160148 697.63494611c5.59831228 6.61618726 0.8906406 16.6677025-7.76129658 16.66770249h-74.94104404c-5.98001539 0-11.70556205-2.67192177-15.64982754-7.25235911L512 575.36271635l-110.43943332 131.68757314c-3.81703111 4.58043732-9.54257777 7.25235911-15.64982754 7.25235911H310.9696951c-8.65193717 0-13.35960887-10.05151525-7.76129658-16.66770249L458.81603326 512 303.20839852 326.36505389c-5.59831228-6.61618726-0.8906406-16.6677025 7.76129658-16.66770249h74.94104404c5.98001539 0 11.70556205 2.67192177 15.64982754 7.25235911L512 448.63728365l110.43943332-131.68757314c3.81703111-4.58043732 9.54257777-7.25235911 15.64982754-7.25235911H713.0303049c8.65193717 0 13.35960887 10.05151525 7.76129658 16.66770249L565.18396674 512l155.60763474 185.63494611z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM677.02297814 523.19662459L423.31764398 722.70011704c-9.41534338 7.37959347-23.28388974 0.76340622-23.28388975-11.19662459V312.62374191c0-11.9600308 13.86854636-18.70345241 23.28388975-11.19662457l253.70533416 199.37625807c7.25235911 5.72554666 7.25235911 16.6677025 0 22.39324918z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H552.71499847v193.39624268c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962h-61.0724977c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962V552.71499847H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h193.39624268V277.88875885c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h61.0724977c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v193.39624268h193.39624268c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M902.67315697 135.41705551L528.62204754 7.94466448C524.10877635 6.40354749 518.05438818 5.63298899 512 5.63298899s-12.10877635 0.7705585-16.62204754 2.31167549L121.32684303 135.41705551c-9.13662215 3.08223399-16.62204754 13.64989334-16.62204753 23.33691443v531.02488283c0 9.68702108 6.27454775 22.45627614 13.87005291 28.51066431L498.0198673 1013.9638196c3.85279247 2.9721542 8.8063828 4.51327118 13.87005291 4.51327118s10.12734022-1.54111698 13.87005291-4.51327118l379.4450189-295.67430252c7.59550517-5.94430839 13.87005291-18.71356345 13.87005291-28.51066431V158.75396994c0.22015956-9.68702108-7.26526581-20.14460066-16.40188796-23.33691443zM712.89560763 323.43332829L478.86598471 645.63685899c-7.04510625 9.68702108-21.57563786 9.68702108-28.6207441 0l-139.14084824-191.5388259c-4.18303182-5.8342286 0-13.9801327 7.15518603-13.9801327h60.76404132c5.61406904 0 11.0079785 2.75199463 14.31037204 7.26526582l71.22162091 97.97100864 166.11039557-228.74579323c3.30239355-4.51327118 8.58622323-7.26526581 14.31037204-7.26526581H705.7404216c7.15518602 0.11007979 11.33821785 8.25598388 7.15518603 14.09021248z",special:!0},{viewBox:[1024,1024],path:"M959.86498307 186.28001231H797.00498922v-101.78749614c0-44.91373267-36.51626425-81.42999692-81.42999691-81.42999693H308.42500769c-44.91373267 0-81.42999692 36.51626425-81.42999691 81.42999693v101.78749614H64.13501693c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499847v40.71499845c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874962h76.8495596l31.42688945 665.43575611c2.03574992 43.38692024 37.91584233 77.61296581 81.30276254 77.6129658h577.64404066c43.5141546 0 79.26701262-34.09881122 81.30276254-77.6129658l31.42688945-665.43575611H990.40123192c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874962v-40.71499845c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499847z m-254.46874039 0H318.60375732v-91.60874653h386.79248536v91.60874653z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 248.62485371H654.50249462V104.85001539c0-22.52048353-18.19451494-40.71499847-40.71499847-40.71499846H94.67126578v-50.89374808c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-71.25124732c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v997.5174623c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h71.25124732c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961V674.85999383h315.54123807v143.77483833c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h529.29497999c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V289.33985217c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846z",special:!0},{viewBox:[1024,1024],path:"M804.63905145 265.16532183V94.67126578h109.42155836c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961H109.93939019c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h109.42155836v170.49405605c0 103.6960117 53.94737296 194.92305513 135.3773699 246.83467817-81.42999692 51.91162303-135.37736988 143.13866646-135.3773699 246.83467817v170.49405605h-109.42155836c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h804.12121962c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-109.42155836V758.83467817c0-103.6960117-53.94737296-194.92305513-135.3773699-246.83467817 81.42999692-51.91162303 135.37736988-143.13866646 135.3773699-246.83467817z",special:!0},{viewBox:[1024,1024],path:"M1020.928 448.44373333l-35.36213334-373.4528c-1.79200001-19.3536-17.2032-34.64533332-36.55679999-36.55679999L575.55626667 3.072h-0.47786666c-3.82293334 0-6.8096 1.19466667-9.07946669 3.46453333L6.53653333 565.99893332c-4.65919999 4.65919999-4.65919999 12.1856 0 16.84480001l434.61973334 434.61973334c2.26986667 2.26986667 5.25653333 3.46453333 8.48213333 3.46453333s6.21226667-1.19466667 8.48213333-3.46453333l559.46239999-559.46239999c2.38933332-2.5088 3.584-5.97333334 3.34506668-9.55733335zM735.40266668 362.66666667c-42.17173333 0-76.45866667-34.28693333-76.45866667-76.45866667s34.28693333-76.45866667 76.45866667-76.45866667 76.45866667 34.28693333 76.45866665 76.45866667-34.28693333 76.45866667-76.45866665 76.45866667z",special:!0}]},{type:"线性",children:[{viewBox:[1024,1024],path:"M1009.55537674 75.96950982l-61.38012212-61.38012214c-4.48769762-4.48769762-11.870684-4.48769762-16.3583816 0L14.44462326 931.67210859c-4.48769762 4.48769762-4.48769762 11.870684 0 16.35838159l61.38012212 61.38012214c4.48769762 4.48769762 11.870684 4.48769762 16.3583816 0L1009.41061232 92.18312698c4.63246205-4.34293316 4.63246205-11.72591956 0.14476442-16.21361716zM210.88996692 419.35075905c114.94296453 0 208.46079213-93.51782759 208.46079213-208.46079213s-93.51782759-208.46079213-208.46079213-208.4607921-208.46079213 93.51782759-208.4607921 208.4607921 93.51782759 208.46079213 208.4607921 208.46079213z m0-312.69118816c57.47148228 0 104.23039605 46.75891379 104.23039607 104.23039603s-46.75891379 104.23039605-104.23039607 104.23039607-104.23039605-46.75891379-104.23039603-104.23039607 46.75891379-104.23039605 104.23039603-104.23039603zM813.11003308 604.64924095c-114.94296453 0-208.46079213 93.51782759-208.46079213 208.46079213s93.51782759 208.46079213 208.46079213 208.4607921 208.46079213-93.51782759 208.4607921-208.4607921-93.51782759-208.46079213-208.4607921-208.46079213z m0 312.69118816c-57.47148228 0-104.23039605-46.75891379-104.23039607-104.23039603s46.75891379-104.23039605 104.23039607-104.23039607 104.23039605 46.75891379 104.23039603 104.23039607-46.75891379 104.23039605-104.23039603 104.23039603z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1004.96017383 478.58365209L483.27851088 25.80594621c-4.00443838-3.45210207-9.11354943-5.3852792-14.49882864-5.38527921h-122.20441284c-10.21822208 0-14.91308089 12.70373557-7.18037228 19.33177152l483.57045622 419.77561022H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672657v82.85044938c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672657h807.92996557L339.25681303 984.24756148c-7.7327086 6.76612003-3.0378498 19.33177153 7.18037229 19.33177152h126.34693531c2.62359757 0 5.24719513-0.96658859 7.18037228-2.76168164L1004.96017383 545.41634791c20.2983601-17.67476253 20.2983601-49.1579333 0-66.83269582z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1011.38217956 558.9924242L545.80649025 22.43713295c-17.81503843-20.62055629-49.79794206-20.62055629-67.75325638 0L12.61782044 558.9924242c-6.31241519 7.29434645-1.12220714 18.51641789 8.41655359 18.51641789h113.62347344c6.45269109 0 12.62483038-2.80551785 16.97338308-7.71517411L458.69516062 215.87758959V1005.77114384c0 6.1721393 5.04993216 11.22207145 11.22207144 11.22207145h84.16553588c6.1721393 0 11.22207145-5.04993216 11.22207144-11.22207145V215.87758959l307.06393007 353.91607839c4.20827679 4.90965626 10.38041608 7.71517413 16.97338308 7.71517411h113.62347344c9.53876074 0 14.72896878-11.22207145 8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1009.1026963 459.52804874H201.17273073l483.57045624-419.77561022c7.7327086-6.76612003 3.0378498-19.33177153-7.18037229-19.33177152h-122.20441283c-5.3852792 0-10.49439025 1.93317715-14.49882866 5.38527921L19.03982617 478.58365209c-20.2983601 17.67476253-20.2983601 49.1579333 0 66.69461175L543.89742302 1000.81765136c2.07126124 1.79509307 4.55677472 2.76168163 7.18037228 2.76168164h126.3469353c10.21822208 0 14.91308089-12.70373557 7.18037228-19.33177152L201.17273073 564.47195126H1009.1026963c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672657v-82.85044938c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672657z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1002.96562597 446.49115791h-113.62347344c-6.45269109 0-12.62483038 2.80551785-16.97338308 7.71517411L565.30483938 808.12241041V18.22885616c0-6.1721393-5.04993216-11.22207145-11.22207144-11.22207145h-84.16553588c-6.1721393 0-11.22207145 5.04993216-11.22207144 11.22207145v789.89355425L151.63123055 454.20633202c-4.20827679-4.90965626-10.38041608-7.71517413-16.97338308-7.71517411h-113.62347344c-9.53876074 0-14.72896878 11.36234735-8.41655359 18.51641789L478.19350975 1001.56286705c17.81503843 20.62055629 49.79794206 20.62055629 67.75325638 0L1011.38217956 465.0075758c6.31241519-7.29434645 1.12220714-18.51641789-8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M975.82443246 622.46726585H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672658v82.85044937c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672659h835.6848661L651.32683905 980.10503902c-5.66144737 7.18037229-0.55233633 17.9509307 8.69929718 17.9509307h100.11095967c6.76612003 0 13.11798782-3.0378498 17.39859437-8.42312903l233.08593092-295.63802022c22.78387358-28.99765728 2.20934532-71.52755463-34.79718873-71.52755462zM1009.1026963 296.58883161H173.4178302l199.25533075-252.69387063c5.66144737-7.18037229 0.55233633-17.9509307-8.69929718-17.9509307h-100.11095967c-6.76612003 0-13.11798782 3.0378498-17.39859437 8.42312903L13.37837881 330.00517953c-22.78387358 28.99765728-2.20934532 71.52755463 34.65910466 71.52755462h961.06521283c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672658v-82.85044937c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672659z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1010.75873115 64.13501693H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874964h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874964v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961zM1010.75873115 858.07748691H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874964v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874964zM1010.75873115 461.10625194H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874959v81.42999694c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874959h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874959v-81.42999694c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874959z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",special:!0,outlined:!0}]}],LT={bar:"柱状图",column:"条形图",line:"折线图",area:"面积图",scatter:"散点图",pie:"饼图",ring:"环形图",radar:"雷达图"},U2e={bar:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},column:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},line:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},pie:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["值"],series:[[12,19,5,2,18]]},ring:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["值"],series:[[12,19,5,2,18]]},area:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},radar:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},scatter:{labels:["坐标1","坐标2","坐标3","坐标4","坐标5"],legends:["X","Y"],series:[[12,19,5,2,18],[7,11,13,21,9]]}},B2e=[["#d87c7c","#919e8b","#d7ab82","#6e7074","#61a0a8","#efa18d"],["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78"],["#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],["#893448","#d95850","#eb8146","#ffb248","#f2d643","#ebdba4"],["#4ea397","#22c3aa","#7bd9a5","#d0648a","#f58db2","#f2b3c9"],["#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463"],["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3"],["#e01f54","#001852","#f5e8c8","#b8d2c7","#c6b38e","#a4d8c2"],["#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8"],["#8a7ca8","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc"]],nn=()=>{const e=JS(),t=Yn.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=Yn.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=Yn.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},c0=()=>{const e=ht(),t=ut(),{creatingElement:n}=De(e),{theme:r,viewportRatio:i,viewportSize:o}=De(t),{addHistorySnapshot:a}=nn(),s=(m,y)=>{t.addElement(m),e.setActiveElementIdList([m.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),y&&y(),a()};return{createImageElement:m=>{WH(m).then(({width:y,height:R})=>{const A=R/y;Ao.value?(y=o.value,R=y*A):R>o.value*i.value&&(R=o.value*i.value,y=R/A),s({type:"image",id:on(10),src:m,width:y,height:R,left:(o.value-y)/2,top:(o.value*i.value-R)/2,fixedRatio:!0,rotate:0})})},createChartElement:m=>{s({type:"chart",id:on(10),chartType:m,left:300,top:81.25,width:400,height:400,rotate:0,themeColors:[r.value.themeColor],textColor:r.value.fontColor,data:U2e[m]})},createTableElement:(m,y)=>{const R={fontname:r.value.fontName,color:r.value.fontColor},A=[];for(let _=0;_{const{left:R,top:A,width:x,height:S}=m,L=(y==null?void 0:y.content)||"",w=(y==null?void 0:y.vertical)||!1,M=on(10);s({type:"text",id:M,left:R,top:A,width:x,height:S,content:L,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:w},()=>{setTimeout(()=>{const _=document.querySelector(`#editable-element-${M} .ProseMirror`);_&&_.focus()},0)})},createShapeElement:(m,y,R={})=>{const{left:A,top:x,width:S,height:L}=m,w={type:"shape",id:on(10),left:A,top:x,width:S,height:L,viewBox:y.viewBox,path:y.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...R};if(y.withborder&&(w.outline=r.value.outline),y.special&&(w.special=!0),y.pathFormula){w.pathFormula=y.pathFormula,w.viewBox=[S,L];const M=u0[y.pathFormula];"editable"in M&&M.editable?(w.path=M.formula(S,L,M.defaultValue),w.keypoints=M.defaultValue):w.path=M.formula(S,L)}s(w)},createLineElement:(m,y)=>{const{left:R,top:A,start:x,end:S}=m,L={type:"line",id:on(10),left:R,top:A,start:x,end:S,points:y.points,color:r.value.themeColor,style:y.style,width:2};y.isBroken&&(L.broken=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isBroken2&&(L.broken2=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isCurve&&(L.curve=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isCubic&&(L.cubic=[[(x[0]+S[0])/2,(x[1]+S[1])/2],[(x[0]+S[0])/2,(x[1]+S[1])/2]]),s(L)},createLatexElement:m=>{s({type:"latex",id:on(10),width:m.w,height:m.h,rotate:0,left:(o.value-m.w)/2,top:(o.value*i.value-m.h)/2,path:m.path,latex:m.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[m.w,m.h],fixedRatio:!0})},createVideoElement:m=>{s({type:"video",id:on(10),width:500,height:300,rotate:0,left:(o.value-500)/2,top:(o.value*i.value-300)/2,src:m,autoplay:!1})},createAudioElement:m=>{s({type:"audio",id:on(10),width:50,height:50,rotate:0,left:(o.value-50)/2,top:(o.value*i.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:m})}}},H2=()=>{const e=ht(),t=ut(),{currentSlide:n}=De(t),{addHistorySnapshot:r}=nn();return{addElementsFromData:a=>{const{groupIdMap:s,elIdMap:l}=MT(a),u=a[0];let c=0,f;do f=n.value.elements.find(d=>{if(d.type!==u.type)return!1;const{minX:h,maxX:p,minY:v,maxY:g}=hs(d),{minX:m,maxX:y,minY:R,maxY:A}=hs({...u,left:u.left+c,top:u.top+c});return h===m&&p===y&&v===R&&g===A}),f&&(c+=10);while(f);for(const d of a)d.id=l[d.id],d.left=d.left+c,d.top=d.top+c,d.groupId&&(d.groupId=s[d.groupId]);t.addElement(a),e.setActiveElementIdList(Object.values(l)),r()},addSlidesFromData:a=>{const s=X2e(a),l=a.map(u=>{const{groupIdMap:c,elIdMap:f}=MT(u.elements);for(const d of u.elements)d.id=f[d.id],d.groupId&&(d.groupId=c[d.groupId]),d.link&&d.link.type==="slide"&&(s[d.link.target]?d.link.target=s[d.link.target]:delete d.link);if(u.animations)for(const d of u.animations)d.id=on(10),d.elId=f[d.elId];return{...u,id:s[u.id]}});t.addSlide(l),r()}}},Y2e=e=>{const t=/^https?:\/\/(?:[a-zA-Z0-9-]+\.)*pexels\.com\/[^\s]+\.(?:jpg|jpeg|png|svg|webp)(?:\?.*)?$/i.test(e),n=/^https?:\/\/(?:[a-zA-Z0-9-]+\.)*pptist\.cn\/[^\s]+\.(?:jpg|jpeg|png|svg|webp)(?:\?.*)?$/i.test(e);return t||n},QO=()=>{const{shiftKeyState:e}=De(pl()),{createTextElement:t,createImageElement:n}=c0(),{addElementsFromData:r,addSlidesFromData:i}=H2(),o=s=>{t({left:0,top:0,width:600,height:50},{content:s})};return{pasteTextClipboardData:(s,l)=>{const u=(l==null?void 0:l.onlySlide)||!1,c=(l==null?void 0:l.onlyElements)||!1,f=BO(s);if(typeof f=="object"){const{type:d,data:h}=f;d==="elements"&&!u?r(h):d==="slides"&&!c&&i(h)}else if(!c&&!u)if(e.value){const d=Sx(f);o(d)}else if(Y2e(f))n(f);else if($pe(f))o(`${f}`);else if(V2e(f)){const d=D2e(f);sd(d).then(h=>n(h))}else{const d=Sx(f);o(d)}}}},gc=()=>{const e=ht(),t=ut(),{selectedSlidesIndex:n,activeElementIdList:r}=De(e),{currentSlide:i,slides:o,theme:a,slideIndex:s}=De(t),l=we(()=>[...n.value,s.value]),u=we(()=>o.value.filter((_,P)=>l.value.includes(P))),c=we(()=>u.value.map(_=>_.id)),{pasteTextClipboardData:f}=QO(),{addSlidesFromData:d}=H2(),{addHistorySnapshot:h}=nn(),p=()=>{const _={id:on(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([_])},v=_=>{_===At.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):_===At.DOWN&&s.value{const _=UO(JSON.stringify({type:"slides",data:u.value}));NH(_).then(()=>{e.setThumbnailsFocus(!0)})},m=()=>{FH().then(_=>{f(_,{onlySlide:!0})}).catch(_=>gn.warning(_))},y=()=>{const _={id:on(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(_),h()},R=_=>{const{groupIdMap:P,elIdMap:k}=MT(_.elements);for(const C of _.elements)C.id=k[C.id],C.groupId&&(C.groupId=P[C.groupId]);const F={..._,id:on(10)};e.setActiveElementIdList([]),t.addSlide(F),h()},A=()=>{const _=JSON.parse(JSON.stringify(i.value));d([_])},x=(_=c.value)=>{o.value.length===_.length?p():t.deleteSlide(_),e.updateSelectedSlidesIndex([]),h()},S=()=>{const _=[...c.value];g(),x(_)},L=()=>{const _=Array.from(Array(o.value.length),(P,k)=>k);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(_)},w=(_,P)=>{if(P===_)return;const k=JSON.parse(JSON.stringify(o.value)),F=k[P],C=F.sectionTag;if(C){const I=k[P+1];delete F.sectionTag,I&&!I.sectionTag&&(I.sectionTag=C)}if(_===0){const I=k[0].sectionTag;I&&(delete k[0].sectionTag,F.sectionTag=I)}const N=k[P];k.splice(P,1),k.splice(_,0,N),t.setSlides(k),t.updateSlideIndex(_)},M=we(()=>!(o.value.length>1||o.value[0].elements.length>0));return{resetSlides:p,updateSlideIndex:v,copySlide:g,pasteSlide:m,createSlide:y,createSlideByTemplate:R,copyAndPasteSlide:A,deleteSlide:x,cutSlide:S,selectAllSlide:L,sortSlides:w,isEmptySlide:M}},VH=()=>{const e=ht(),t=ut(),{activeElementIdList:n}=De(e),{currentSlide:r}=De(t),{addHistorySnapshot:i}=nn();return{lockElement:()=>{const s=JSON.parse(JSON.stringify(r.value.elements));for(const l of s)n.value.includes(l.id)&&(l.lock=!0);t.updateSlide({elements:s}),e.setActiveElementIdList([]),i()},unlockElement:s=>{const l=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const u=[];for(const c of l)c.groupId===s.groupId&&(c.lock=!1,u.push(c.id));t.updateSlide({elements:l}),e.setActiveElementIdList(u)}else{for(const u of l)if(u.id===s.id){u.lock=!1;break}t.updateSlide({elements:l}),e.setActiveElementIdList([s.id])}i()}}},K2=()=>{const e=ht(),t=ut(),{activeElementIdList:n,activeGroupElementId:r}=De(e),{currentSlide:i}=De(t),{addHistorySnapshot:o}=nn();return{deleteElement:()=>{if(!n.value.length)return;let l=[];r.value?l=i.value.elements.filter(u=>u.id!==r.value):l=i.value.elements.filter(u=>!n.value.includes(u.id)),e.setActiveElementIdList([]),t.updateSlide({elements:l}),o()},deleteAllElements:()=>{i.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),o())}}},HO=()=>{const e=ht(),t=ut(),{activeElementIdList:n,activeElementList:r,handleElementId:i}=De(e),{currentSlide:o}=De(t),{addHistorySnapshot:a}=nn();return{canCombine:we(()=>{if(r.value.length<2)return!1;const c=r.value[0].groupId;return c?!r.value.every(d=>(d.groupId&&d.groupId)===c):!0}),combineElements:()=>{if(!r.value.length)return;let c=JSON.parse(JSON.stringify(o.value.elements));const f=on(10),d=[];for(const g of c)n.value.includes(g.id)&&(g.groupId=f,d.push(g));const h=c.findIndex(g=>g.id===d[d.length-1].id),p=d.map(g=>g.id);c=c.filter(g=>!p.includes(g.id));const v=h-d.length+1;c.splice(v,0,...d),t.updateSlide({elements:c}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(o.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=i.value?[i.value]:[];e.setActiveElementIdList(d),a()}}},KO=()=>{const e=ht(),{activeElementIdList:t,activeElementList:n}=De(e),{pasteTextClipboardData:r}=QO(),{deleteElement:i}=K2(),o=()=>{if(!t.value.length)return;const u=UO(JSON.stringify({type:"elements",data:n.value}));NH(u).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{o(),i()},s=()=>{FH().then(u=>{r(u)}).catch(u=>gn.warning(u))};return{copyElement:o,cutElement:a,pasteElement:s,quickCopyElement:()=>{o(),s()}}},i3=()=>{const e=ht(),{currentSlide:t}=De(ut()),{hiddenElementIdList:n,handleElementId:r}=De(e);return{selectAllElements:()=>{const s=t.value.elements.filter(l=>!l.lock&&!n.value.includes(l.id)).map(l=>l.id);e.setActiveElementIdList(s)},selectElement:a=>{r.value===a||n.value.includes(a)||t.value.elements.filter(l=>l.lock).some(l=>l.id===a)||e.setActiveElementIdList([a])}}},Z2e=()=>{const e=ut(),{activeElementIdList:t,activeGroupElementId:n}=De(ht()),{currentSlide:r}=De(e),{addHistorySnapshot:i}=nn();return{moveElement:(a,s=1)=>{let l=[];const u=c=>{let{left:f,top:d}=c;switch(a){case At.LEFT:f=f-s;break;case At.RIGHT:f=f+s;break;case At.UP:d=d-s;break;case At.DOWN:d=d+s;break}return{...c,left:f,top:d}};n.value?l=r.value.elements.map(c=>n.value===c.id?u(c):c):l=r.value.elements.map(c=>t.value.includes(c.id)?u(c):c),e.updateSlide({elements:l}),i()}}},G2=()=>{const e=ut(),{currentSlide:t}=De(e),{addHistorySnapshot:n}=nn(),r=(u,c)=>({minLevel:u.findIndex(f=>f.id===c[0].id),maxLevel:u.findIndex(f=>f.id===c[c.length-1].id)}),i=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(m=>m.groupId===c.groupId),{minLevel:h,maxLevel:p}=r(u,d);if(p===u.length-1)return;const v=f[p+1],g=f.splice(h,d.length);if(v.groupId){const m=f.filter(y=>y.groupId===v.groupId);f.splice(h+m.length,0,...g)}else f.splice(h+1,0,...g)}else{const d=u.findIndex(v=>v.id===c.id);if(d===u.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(g=>g.groupId===h.groupId);f.splice(d+v.length,0,p)}else f.splice(d+1,0,p)}return f},o=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(g=>g.groupId===c.groupId),{minLevel:h}=r(u,d);if(h===0)return;const p=f[h-1],v=f.splice(h,d.length);if(p.groupId){const g=f.filter(m=>m.groupId===p.groupId);f.splice(h-g.length,0,...v)}else f.splice(h-1,0,...v)}else{const d=u.findIndex(v=>v.id===c.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(g=>g.groupId===h.groupId);f.splice(d-v.length,0,p)}else f.splice(d-1,0,p)}return f},a=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(g=>g.groupId===c.groupId),{minLevel:h,maxLevel:p}=r(u,d);if(p===u.length-1)return null;const v=f.splice(h,d.length);f.push(...v)}else{const d=u.findIndex(h=>h.id===c.id);if(d===u.length-1)return null;f.splice(d,1),f.push(c)}return f},s=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(v=>v.groupId===c.groupId),{minLevel:h}=r(u,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=u.findIndex(h=>h.id===c.id);if(d===0)return;f.splice(d,1),f.unshift(c)}return f};return{orderElement:(u,c)=>{let f;c===Wr.UP?f=i(t.value.elements,u):c===Wr.DOWN?f=o(t.value.elements,u):c===Wr.TOP?f=a(t.value.elements,u):c===Wr.BOTTOM&&(f=s(t.value.elements,u)),f&&(e.updateSlide({elements:f}),n())}}},GO=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},DH=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},TT=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),ld=()=>{const e=rH(),t=ut(),n=()=>{GO(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),TT()&&DH()}}},zO=()=>{const e=ht(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=De(e);return{canvasScalePercentage:we(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:l=>{const u=Math.round(l/n.value*t.value)/100;e.setCanvasPercentage(u)},scaleCanvas:l=>{let u=t.value;const c=5,f=200,d=30;l==="+"&&u<=f&&(u+=c),l==="-"&&u>=d&&(u-=c),e.setCanvasPercentage(u)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},Q2e=()=>{const e=ht(),t=pl(),{activeElementIdList:n,disableHotkeys:r,handleElement:i,handleElementId:o,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:l}=De(e),{currentSlide:u}=De(ut()),{ctrlKeyState:c,shiftKeyState:f,spaceKeyState:d}=De(t),{updateSlideIndex:h,copySlide:p,createSlide:v,deleteSlide:g,cutSlide:m,copyAndPasteSlide:y,selectAllSlide:R}=gc(),{combineElements:A,uncombineElements:x}=HO(),{deleteElement:S}=K2(),{lockElement:L}=VH(),{copyElement:w,cutElement:M,quickCopyElement:_}=KO(),{selectAllElements:P}=i3(),{moveElement:k}=Z2e(),{orderElement:F}=G2(),{redo:C,undo:N}=nn(),{enterScreening:I,enterScreeningFromStart:W}=ld(),{scaleCanvas:D,resetCanvas:Y}=zO(),re=()=>{n.value.length?w():s.value&&p()},B=()=>{n.value.length?M():s.value&&m()},Z=()=>{n.value.length?_():s.value&&y()},Q=()=>{a.value&&P(),s.value&&R()},G=()=>{a.value&&L()},ee=()=>{a.value&&A()},$=()=>{a.value&&x()},de=()=>{n.value.length?S():s.value&&g()},K=J=>{n.value.length?k(J):(J===At.UP||J===At.DOWN)&&h(J)},Ae=J=>{J===At.PAGEUP?h(At.UP):J===At.PAGEDOWN&&h(At.DOWN)},ce=J=>{i.value&&F(i.value,J)},fe=()=>{s.value&&v()},le=()=>{if(!u.value.elements.length)return;if(!o.value){const ne=u.value.elements[0];e.setActiveElementIdList([ne.id]);return}const J=u.value.elements.findIndex(ne=>ne.id===o.value),se=J>=u.value.elements.length-1?0:J+1,q=u.value.elements[se].id;e.setActiveElementIdList([q])},j=J=>{const{ctrlKey:se,shiftKey:q,altKey:ne,metaKey:oe}=J,he=se||oe,ue=J.key.toUpperCase();if(he&&!c.value&&t.setCtrlKeyState(!0),q&&!f.value&&t.setShiftKeyState(!0),!r.value&&ue===At.SPACE&&t.setSpaceKeyState(!0),he&&ue===At.P){J.preventDefault(),e.setDialogForExport("pdf");return}if(q&&ue===At.F5){J.preventDefault(),I(),t.setShiftKeyState(!1);return}if(ue===At.F5){J.preventDefault(),W();return}if(se&&ue===At.F){J.preventDefault(),e.setSearchPanelState(!l.value);return}if(!(!a.value&&!s.value)){if(he&&ue===At.C){if(r.value)return;J.preventDefault(),re()}if(he&&ue===At.X){if(r.value)return;J.preventDefault(),B()}if(he&&ue===At.D){if(r.value)return;J.preventDefault(),Z()}if(he&&ue===At.Z){if(r.value)return;J.preventDefault(),N()}if(he&&ue===At.Y){if(r.value)return;J.preventDefault(),C()}if(he&&ue===At.A){if(r.value)return;J.preventDefault(),Q()}if(he&&ue===At.L){if(r.value)return;J.preventDefault(),G()}if(!q&&he&&ue===At.G){if(r.value)return;J.preventDefault(),ee()}if(q&&he&&ue===At.G){if(r.value)return;J.preventDefault(),$()}if(ne&&ue===At.F){if(r.value)return;J.preventDefault(),ce(Wr.TOP)}if(ne&&ue===At.B){if(r.value)return;J.preventDefault(),ce(Wr.BOTTOM)}if(ue===At.DELETE||ue===At.BACKSPACE){if(r.value)return;J.preventDefault(),de()}if(ue===At.UP){if(r.value)return;J.preventDefault(),K(At.UP)}if(ue===At.DOWN){if(r.value)return;J.preventDefault(),K(At.DOWN)}if(ue===At.LEFT){if(r.value)return;J.preventDefault(),K(At.LEFT)}if(ue===At.RIGHT){if(r.value)return;J.preventDefault(),K(At.RIGHT)}if(ue===At.PAGEUP){if(r.value)return;J.preventDefault(),Ae(At.PAGEUP)}if(ue===At.PAGEDOWN){if(r.value)return;J.preventDefault(),Ae(At.PAGEDOWN)}if(ue===At.ENTER){if(r.value)return;J.preventDefault(),fe()}if(ue===At.MINUS){if(r.value)return;J.preventDefault(),D("-")}if(ue===At.EQUAL){if(r.value)return;J.preventDefault(),D("+")}if(ue===At.DIGIT_0){if(r.value)return;J.preventDefault(),Y()}if(ue===At.TAB){if(r.value)return;J.preventDefault(),le()}a.value&&!q&&!he&&!r.value&&(ue===At.T?e.setCreatingElement({type:"text"}):ue===At.R?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"}}):ue===At.O?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}}):ue===At.L&&e.setCreatingElement({type:"line",data:{path:"M 0 0 L 20 20",style:"solid",points:["",""]}}))}},X=()=>{c.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Ht(()=>{document.addEventListener("keydown",j),document.addEventListener("keyup",X),window.addEventListener("blur",X)}),Nn(()=>{document.removeEventListener("keydown",j),document.removeEventListener("keyup",X),window.removeEventListener("blur",X)})},H2e=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=De(ht()),{pasteTextClipboardData:r}=QO(),{createImageElement:i}=c0(),o=s=>{sd(s).then(l=>i(l))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const l=s.clipboardData.items,u=l[0];if(u){for(const c of l)if(c.kind==="file"&&c.type.indexOf("image")!==-1){const f=c.getAsFile();f&&o(f);return}u.kind==="string"&&u.type==="text/plain"&&u.getAsString(c=>r(c))}};Ht(()=>{document.addEventListener("paste",a)}),Nn(()=>{document.removeEventListener("paste",a)})};function UH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j9(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function pa(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(l){j9(o,r,i,a,s,"next",l)}function s(l){j9(o,r,i,a,s,"throw",l)}a(void 0)})}}var Ta=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function o3(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var BH={exports:{}},q9={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(q9),function(e){var t=q9.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a=Object.defineProperty||function(N,I,W){N[I]=W.value},s=typeof Symbol=="function"?Symbol:{},l=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function f(N,I,W){return Object.defineProperty(N,I,{value:W,enumerable:!0,configurable:!0,writable:!0}),N[I]}try{f({},"")}catch{f=function(I,W,D){return I[W]=D}}function d(N,I,W,D){var Y=I&&I.prototype instanceof v?I:v,re=Object.create(Y.prototype),B=new k(D||[]);return a(re,"_invoke",{value:w(N,W,B)}),re}function h(N,I,W){try{return{type:"normal",arg:N.call(I,W)}}catch(D){return{type:"throw",arg:D}}}r.wrap=d;var p={};function v(){}function g(){}function m(){}var y={};f(y,l,function(){return this});var R=Object.getPrototypeOf,A=R&&R(R(F([])));A&&A!==i&&o.call(A,l)&&(y=A);var x=m.prototype=v.prototype=Object.create(y);function S(N){["next","throw","return"].forEach(function(I){f(N,I,function(W){return this._invoke(I,W)})})}function L(N,I){function W(Y,re,B,Z){var Q=h(N[Y],N,re);if(Q.type!=="throw"){var G=Q.arg,ee=G.value;return ee&&t(ee)=="object"&&o.call(ee,"__await")?I.resolve(ee.__await).then(function($){W("next",$,B,Z)},function($){W("throw",$,B,Z)}):I.resolve(ee).then(function($){G.value=$,B(G)},function($){return W("throw",$,B,Z)})}Z(Q.arg)}var D;a(this,"_invoke",{value:function(Y,re){function B(){return new I(function(Z,Q){W(Y,re,Z,Q)})}return D=D?D.then(B,B):B()}})}function w(N,I,W){var D="suspendedStart";return function(Y,re){if(D==="executing")throw new Error("Generator is already running");if(D==="completed"){if(Y==="throw")throw re;return C()}for(W.method=Y,W.arg=re;;){var B=W.delegate;if(B){var Z=M(B,W);if(Z){if(Z===p)continue;return Z}}if(W.method==="next")W.sent=W._sent=W.arg;else if(W.method==="throw"){if(D==="suspendedStart")throw D="completed",W.arg;W.dispatchException(W.arg)}else W.method==="return"&&W.abrupt("return",W.arg);D="executing";var Q=h(N,I,W);if(Q.type==="normal"){if(D=W.done?"completed":"suspendedYield",Q.arg===p)continue;return{value:Q.arg,done:W.done}}Q.type==="throw"&&(D="completed",W.method="throw",W.arg=Q.arg)}}}function M(N,I){var W=N.iterator[I.method];if(W===void 0){if(I.delegate=null,I.method==="throw"){if(N.iterator.return&&(I.method="return",I.arg=void 0,M(N,I),I.method==="throw"))return p;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var D=h(W,N.iterator,I.arg);if(D.type==="throw")return I.method="throw",I.arg=D.arg,I.delegate=null,p;var Y=D.arg;return Y?Y.done?(I[N.resultName]=Y.value,I.next=N.nextLoc,I.method!=="return"&&(I.method="next",I.arg=void 0),I.delegate=null,p):Y:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,p)}function _(N){var I={tryLoc:N[0]};1 in N&&(I.catchLoc=N[1]),2 in N&&(I.finallyLoc=N[2],I.afterLoc=N[3]),this.tryEntries.push(I)}function P(N){var I=N.completion||{};I.type="normal",delete I.arg,N.completion=I}function k(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(_,this),this.reset(!0)}function F(N){if(N){var I=N[l];if(I)return I.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var W=-1,D=function Y(){for(;++W=0;--D){var Y=this.tryEntries[D],re=Y.completion;if(Y.tryLoc==="root")return W("end");if(Y.tryLoc<=this.prev){var B=o.call(Y,"catchLoc"),Z=o.call(Y,"finallyLoc");if(B&&Z){if(this.prev=0;--W){var D=this.tryEntries[W];if(D.tryLoc<=this.prev&&o.call(D,"finallyLoc")&&this.prev=0;--I){var W=this.tryEntries[I];if(W.finallyLoc===N)return this.complete(W.completion,W.afterLoc),P(W),p}},catch:function(N){for(var I=this.tryEntries.length-1;I>=0;--I){var W=this.tryEntries[I];if(W.tryLoc===N){var D=W.completion;if(D.type==="throw"){var Y=D.arg;P(W)}return Y}}throw new Error("illegal catch attempt")},delegateYield:function(N,I,W){return this.delegate={iterator:F(N),resultName:I,nextLoc:W},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(BH);var lb=BH.exports(),tr=lb;try{regeneratorRuntime=lb}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=lb:Function("r","regeneratorRuntime = r")(lb)}var Hv={},eF={},Av=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},Hl=[],ls=[],K2e=typeof Uint8Array<"u"?Uint8Array:Array,JO=!1;function YH(){JO=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+Hl[i>>12&63]+Hl[i>>6&63]+Hl[63&i]);return o.join("")}function tF(e){var t;JO||YH();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;sl?l:s+a));return r===1?(t=e[n-1],i+=Hl[t>>2],i+=Hl[t<<4&63],i+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=Hl[t>>10],i+=Hl[t>>4&63],i+=Hl[t<<2&63],i+="="),o.push(i),o.join("")}function IA(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(o===0)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)}function ZH(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*v}var z2e={}.toString,QH=Array.isArray||function(e){return z2e.call(e)=="[object Array]"};qe.TYPED_ARRAY_SUPPORT=Av.TYPED_ARRAY_SUPPORT===void 0||Av.TYPED_ARRAY_SUPPORT;var J2e=Mx();function Mx(){return qe.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qu(e,t){if(Mx()=Mx())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Mx().toString(16)+" bytes");return 0|e}function Kl(e){return!(e==null||!e._isBuffer)}function GH(e,t){if(Kl(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Lx(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return jH(e).length;default:if(r)return Lx(e).length;t=(""+t).toLowerCase(),r=!0}}function $2e(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return aye(this,t,n);case"utf8":case"utf-8":return JH(this,t,n);case"ascii":return iye(this,t,n);case"latin1":case"binary":return oye(this,t,n);case"base64":return rye(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return sye(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function nF(e,t,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if(typeof t=="string"&&(t=qe.from(t,r)),Kl(t))return t.length===0?-1:rF(e,t,n,r,i);if(typeof t=="number")return t&=255,qe.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):rF(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function rF(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,l=a%256,u.push(l),u.push(s);return u}(t,e.length-n),e,n,r)}function rye(e,t,n){return t===0&&n===e.length?tF(e):tF(e.slice(t,n))}function JH(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}c===null?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",v=0;v0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},qe.prototype.compare=function(e,t,n,r,i){if(!Kl(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return j2e(this,e,t,n);case"utf8":case"utf-8":return q2e(this,e,t,n);case"ascii":return zH(this,e,t,n);case"latin1":case"binary":return eye(this,e,t,n);case"base64":return tye(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nye(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},qe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function iye(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function Do(e,t,n,r,i,o){if(!Kl(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function NA(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function FA(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function $H(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function iF(e,t,n,r,i){return i||$H(e,0,n,4),ZH(e,t,n,r,23,4),n+4}function oF(e,t,n,r,i){return i||$H(e,0,n,8),ZH(e,t,n,r,52,8),n+8}qe.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},qe.prototype.readUInt8=function(e,t){return t||xi(e,1,this.length),this[e]},qe.prototype.readUInt16LE=function(e,t){return t||xi(e,2,this.length),this[e]|this[e+1]<<8},qe.prototype.readUInt16BE=function(e,t){return t||xi(e,2,this.length),this[e]<<8|this[e+1]},qe.prototype.readUInt32LE=function(e,t){return t||xi(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},qe.prototype.readUInt32BE=function(e,t){return t||xi(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},qe.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},qe.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},qe.prototype.readInt8=function(e,t){return t||xi(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},qe.prototype.readInt16LE=function(e,t){t||xi(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},qe.prototype.readInt16BE=function(e,t){t||xi(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},qe.prototype.readInt32LE=function(e,t){return t||xi(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},qe.prototype.readInt32BE=function(e,t){return t||xi(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},qe.prototype.readFloatLE=function(e,t){return t||xi(e,4,this.length),IA(this,e,!0,23,4)},qe.prototype.readFloatBE=function(e,t){return t||xi(e,4,this.length),IA(this,e,!1,23,4)},qe.prototype.readDoubleLE=function(e,t){return t||xi(e,8,this.length),IA(this,e,!0,52,8)},qe.prototype.readDoubleBE=function(e,t){return t||xi(e,8,this.length),IA(this,e,!1,52,8)},qe.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Do(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},qe.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,1,255,0),qe.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},qe.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,65535,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):NA(this,e,t,!0),t+2},qe.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,65535,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):NA(this,e,t,!1),t+2},qe.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,4294967295,0),qe.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):FA(this,e,t,!0),t+4},qe.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,4294967295,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):FA(this,e,t,!1),t+4},qe.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Do(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},qe.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Do(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},qe.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,1,127,-128),qe.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},qe.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,32767,-32768),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):NA(this,e,t,!0),t+2},qe.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,32767,-32768),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):NA(this,e,t,!1),t+2},qe.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,2147483647,-2147483648),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):FA(this,e,t,!0),t+4},qe.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):FA(this,e,t,!1),t+4},qe.prototype.writeFloatLE=function(e,t,n){return iF(this,e,t,!0,n)},qe.prototype.writeFloatBE=function(e,t,n){return iF(this,e,t,!1,n)},qe.prototype.writeDoubleLE=function(e,t,n){return oF(this,e,t,!0,n)},qe.prototype.writeDoubleBE=function(e,t,n){return oF(this,e,t,!1,n)},qe.prototype.copy=function(e,t,n,r){if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!qe.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function jH(e){return function(t){var n,r,i,o,a,s;JO||YH();var l=t.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[l-2]==="="?2:t[l-1]==="="?1:0,s=new K2e(3*l/4-a),i=a>0?l-4:l;var u=0;for(n=0,r=0;n>16&255,s[u++]=o>>8&255,s[u++]=255&o;return a===2?(o=ls[t.charCodeAt(n)]<<2|ls[t.charCodeAt(n+1)]>>4,s[u++]=255&o):a===1&&(o=ls[t.charCodeAt(n)]<<10|ls[t.charCodeAt(n+1)]<<4|ls[t.charCodeAt(n+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(lye,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function a3(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function z2(e){return e!=null&&(!!e._isBuffer||aF(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&aF(t.slice(0,0))}(e))}function aF(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var cye=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:J2e,Buffer:qe,SlowBuffer:function(e){return+e!=e&&(e=0),qe.alloc(+e)},isBuffer:z2}),oi={};function qH(){throw new Error("setTimeout has not been defined")}function eK(){throw new Error("clearTimeout has not been defined")}var Jc=qH,$c=eK;function tK(e){if(Jc===setTimeout)return setTimeout(e,0);if((Jc===qH||!Jc)&&setTimeout)return Jc=setTimeout,setTimeout(e,0);try{return Jc(e,0)}catch{try{return Jc.call(null,e,0)}catch{return Jc.call(this,e,0)}}}typeof Av.setTimeout=="function"&&(Jc=setTimeout),typeof Av.clearTimeout=="function"&&($c=clearTimeout);var dh,ec=[],ev=!1,ub=-1;function fye(){ev&&dh&&(ev=!1,dh.length?ec=dh.concat(ec):ub=-1,ec.length&&nK())}function nK(){if(!ev){var e=tK(fye);ev=!0;for(var t=ec.length;t;){for(dh=ec,ec=[];++ub1)for(var n=1;n0&&a.length>i){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,typeof console.warn=="function"?console.warn(s):console.log(s)}}else a=o[t]=n,++e._eventsCount;return e}function lF(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function uF(e){var t=this._events;if(t){var n=t[e];if(typeof n=="function")return 1;if(n)return n.length}return 0}function J2(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}jc.prototype=Object.create(null),_n.EventEmitter=_n,_n.usingDomains=!1,_n.prototype.domain=void 0,_n.prototype._events=void 0,_n.prototype._maxListeners=void 0,_n.defaultMaxListeners=10,_n.init=function(){this.domain=null,_n.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new jc,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_n.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},_n.prototype.getMaxListeners=function(){return iK(this)},_n.prototype.emit=function(e){var t,n,r,i,o,a,s,l=e==="error";if(a=this._events)l=l&&a.error==null;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var c=typeof n=="function";switch(r=arguments.length){case 1:bye(n,c,this);break;case 2:xye(n,c,this,arguments[1]);break;case 3:Sye(n,c,this,arguments[1],arguments[2]);break;case 4:wye(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new jc,this;delete r[e]}else(function(s,l){for(var u=l,c=u+1,f=s.length;c0?Reflect.ownKeys(this._events):[]};var Lye=Object.freeze({__proto__:null,default:_n,EventEmitter:_n}),Pf=typeof Object.create=="function"?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Tye=/%[sdj%]/g;function s3(e){if(!Jm(e)){for(var t=[],n=0;n=i)return s;switch(s){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch{return"[Circular]"}default:return s}}),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),u3(t)?n.showHidden=t:t&&nk(n,t),eu(n.showHidden)&&(n.showHidden=!1),eu(n.depth)&&(n.depth=2),eu(n.colors)&&(n.colors=!1),eu(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=_ye),Tx(n,e,n.depth)}function _ye(e,t){var n=ou.styles[t];return n?"\x1B["+ou.colors[n][0]+"m"+e+"\x1B["+ou.colors[n][1]+"m":e}function Oye(e,t){return e}function Tx(e,t,n){if(e.customInspect&&t&&em(t.inspect)&&t.inspect!==ou&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Jm(r)||(r=Tx(e,r,n)),r}var i=function(d,h){if(eu(h))return d.stylize("undefined","undefined");if(Jm(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(ek(h))return d.stylize(""+h,"number");if(u3(h))return d.stylize(""+h,"boolean");if($2(h))return d.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,v){h[p]=!0}),h}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),qg(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return BM(t);if(o.length===0){if(em(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(jg(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_x(t))return e.stylize(Date.prototype.toString.call(t),"date");if(qg(t))return BM(t)}var l,u="",c=!1,f=["{","}"];return qO(t)&&(c=!0,f=["[","]"]),em(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),jg(t)&&(u=" "+RegExp.prototype.toString.call(t)),_x(t)&&(u=" "+Date.prototype.toUTCString.call(t)),qg(t)&&(u=" "+BM(t)),o.length!==0||c&&t.length!=0?n<0?jg(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=c?function(d,h,p,v,g){for(var m=[],y=0,R=h.length;y>24&255)===255){var l=s>>16&255,u=s>>8&255,c=s&255;l===255?(l=0,u===255?(u=0,c===255?c=0:++c):++u):++l,s=0,s+=l<<16,s+=u<<8,s+=c}else s+=1<<24;return s}function o(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var a=r.Encryptor=r.extend({processBlock:function(s,l){var u=this._cipher,c=u.blockSize,f=this._iv,d=this._counter;f&&(d=this._counter=f.slice(0),this._iv=void 0),o(d);var h=d.slice(0);u.encryptBlock(h,0);for(var p=0;p>>2]|=s<<24-l%4*8,r.sigBytes+=s},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})}(TM)),TM.exports}var _M={exports:{}},U9;function M2e(){return U9||(U9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,a=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(a-1)).concat(n.lib.WordArray.create([a<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})}(_M)),_M.exports}var OM={exports:{}},B9;function L2e(){return B9||(B9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})}(OM)),OM.exports}var kM={exports:{}},Y9;function T2e(){return Y9||(Y9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})}(kM)),kM.exports}var PM={exports:{}},Z9;function _2e(){return Z9||(Z9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})}(PM)),PM.exports}var CM={exports:{}},Q9;function O2e(){return Q9||(Q9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),Ci())})(Xt,function(n){return function(r){var i=n,o=i.lib,a=o.CipherParams,s=i.enc,l=s.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(l)},parse:function(c){var f=l.parse(c);return a.create({ciphertext:f})}}}(),n.format.Hex})}(CM)),CM.exports}var IM={exports:{}},H9;function k2e(){return H9||(H9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo,s=[],l=[],u=[],c=[],f=[],d=[],h=[],p=[],v=[],g=[];(function(){for(var R=[],A=0;A<256;A++)A<128?R[A]=A<<1:R[A]=A<<1^283;for(var x=0,S=0,A=0;A<256;A++){var L=S^S<<1^S<<2^S<<3^S<<4;L=L>>>8^L&255^99,s[x]=L,l[L]=x;var w=R[x],M=R[w],_=R[M],k=R[L]*257^L*16843008;u[x]=k<<24|k>>>8,c[x]=k<<16|k>>>16,f[x]=k<<8|k>>>24,d[x]=k;var k=_*16843009^M*65537^w*257^x*16843008;h[L]=k<<24|k>>>8,p[L]=k<<16|k>>>16,v[L]=k<<8|k>>>24,g[L]=k,x?(x=w^R[R[R[_^w]]],S^=R[R[S]]):x=S=1}})();var m=[0,1,2,4,8,16,32,64,128,27,54],y=a.AES=o.extend({_doReset:function(){var R;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var A=this._keyPriorReset=this._key,x=A.words,S=A.sigBytes/4,L=this._nRounds=S+6,w=(L+1)*4,M=this._keySchedule=[],_=0;_6&&_%S==4&&(R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255]):(R=R<<8|R>>>24,R=s[R>>>24]<<24|s[R>>>16&255]<<16|s[R>>>8&255]<<8|s[R&255],R^=m[_/S|0]<<24),M[_]=M[_-S]^R);for(var k=this._invKeySchedule=[],P=0;P>>24]]^p[s[R>>>16&255]]^v[s[R>>>8&255]]^g[s[R&255]]}}},encryptBlock:function(R,A){this._doCryptBlock(R,A,this._keySchedule,u,c,f,d,s)},decryptBlock:function(R,A){var x=R[A+1];R[A+1]=R[A+3],R[A+3]=x,this._doCryptBlock(R,A,this._invKeySchedule,h,p,v,g,l);var x=R[A+1];R[A+1]=R[A+3],R[A+3]=x},_doCryptBlock:function(R,A,x,S,L,w,M,_){for(var k=this._nRounds,P=R[A]^x[0],N=R[A+1]^x[1],C=R[A+2]^x[2],F=R[A+3]^x[3],I=4,W=1;W>>24]^L[N>>>16&255]^w[C>>>8&255]^M[F&255]^x[I++],Z=S[N>>>24]^L[C>>>16&255]^w[F>>>8&255]^M[P&255]^x[I++],re=S[C>>>24]^L[F>>>16&255]^w[P>>>8&255]^M[N&255]^x[I++],B=S[F>>>24]^L[P>>>16&255]^w[N>>>8&255]^M[C&255]^x[I++];P=D,N=Z,C=re,F=B}var D=(_[P>>>24]<<24|_[N>>>16&255]<<16|_[C>>>8&255]<<8|_[F&255])^x[I++],Z=(_[N>>>24]<<24|_[C>>>16&255]<<16|_[F>>>8&255]<<8|_[P&255])^x[I++],re=(_[C>>>24]<<24|_[F>>>16&255]<<16|_[P>>>8&255]<<8|_[N&255])^x[I++],B=(_[F>>>24]<<24|_[P>>>16&255]<<16|_[N>>>8&255]<<8|_[C&255])^x[I++];R[A]=D,R[A+1]=Z,R[A+2]=re,R[A+3]=B},keySize:256/32});r.AES=o._createHelper(y)}(),n.AES})}(IM)),IM.exports}var NM={exports:{}},K9;function P2e(){return K9||(K9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.WordArray,a=i.BlockCipher,s=r.algo,l=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],d=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=s.DES=a.extend({_doReset:function(){for(var m=this._key,y=m.words,R=[],A=0;A<56;A++){var x=l[A]-1;R[A]=y[x>>>5]>>>31-x%32&1}for(var S=this._subKeys=[],L=0;L<16;L++){for(var w=S[L]=[],M=c[L],A=0;A<24;A++)w[A/6|0]|=R[(u[A]-1+M)%28]<<31-A%6,w[4+(A/6|0)]|=R[28+(u[A+24]-1+M)%28]<<31-A%6;w[0]=w[0]<<1|w[0]>>>31;for(var A=1;A<7;A++)w[A]=w[A]>>>(A-1)*4+3;w[7]=w[7]<<5|w[7]>>>27}for(var _=this._invSubKeys=[],A=0;A<16;A++)_[A]=S[15-A]},encryptBlock:function(m,y){this._doCryptBlock(m,y,this._subKeys)},decryptBlock:function(m,y){this._doCryptBlock(m,y,this._invSubKeys)},_doCryptBlock:function(m,y,R){this._lBlock=m[y],this._rBlock=m[y+1],p.call(this,4,252645135),p.call(this,16,65535),v.call(this,2,858993459),v.call(this,8,16711935),p.call(this,1,1431655765);for(var A=0;A<16;A++){for(var x=R[A],S=this._lBlock,L=this._rBlock,w=0,M=0;M<8;M++)w|=f[M][((L^x[M])&d[M])>>>0];this._lBlock=L,this._rBlock=S^w}var _=this._lBlock;this._lBlock=this._rBlock,this._rBlock=_,p.call(this,1,1431655765),v.call(this,8,16711935),v.call(this,2,858993459),p.call(this,16,65535),p.call(this,4,252645135),m[y]=this._lBlock,m[y+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function p(m,y){var R=(this._lBlock>>>m^this._rBlock)&y;this._rBlock^=R,this._lBlock^=R<>>m^this._lBlock)&y;this._lBlock^=R,this._rBlock^=R<192.");var R=y.slice(0,2),A=y.length<4?y.slice(0,2):y.slice(2,4),x=y.length<6?y.slice(0,2):y.slice(4,6);this._des1=h.createEncryptor(o.create(R)),this._des2=h.createEncryptor(o.create(A)),this._des3=h.createEncryptor(o.create(x))},encryptBlock:function(m,y){this._des1.encryptBlock(m,y),this._des2.decryptBlock(m,y),this._des3.encryptBlock(m,y)},decryptBlock:function(m,y){this._des3.decryptBlock(m,y),this._des2.encryptBlock(m,y),this._des1.decryptBlock(m,y)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=a._createHelper(g)}(),n.TripleDES})}(NM)),NM.exports}var FM={exports:{}},G9;function C2e(){return G9||(G9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=a.RC4=o.extend({_doReset:function(){for(var c=this._key,f=c.words,d=c.sigBytes,h=this._S=[],p=0;p<256;p++)h[p]=p;for(var p=0,v=0;p<256;p++){var g=p%d,m=f[g>>>2]>>>24-g%4*8&255;v=(v+h[p]+m)%256;var y=h[p];h[p]=h[v],h[v]=y}this._i=this._j=0},_doProcessBlock:function(c,f){c[f]^=l.call(this)},keySize:256/32,ivSize:0});function l(){for(var c=this._S,f=this._i,d=this._j,h=0,p=0;p<4;p++){f=(f+1)%256,d=(d+c[f])%256;var v=c[f];c[f]=c[d],c[d]=v,h|=c[(c[f]+c[d])%256]<<24-p*8}return this._i=f,this._j=d,h}r.RC4=o._createHelper(s);var u=a.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)l.call(this)}});r.RC4Drop=o._createHelper(u)}(),n.RC4})}(FM)),FM.exports}var EM={exports:{}},z9;function I2e(){return z9||(z9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=[],l=[],u=[],c=a.Rabbit=o.extend({_doReset:function(){for(var d=this._key.words,h=this.cfg.iv,p=0;p<4;p++)d[p]=(d[p]<<8|d[p]>>>24)&16711935|(d[p]<<24|d[p]>>>8)&4278255360;var v=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],g=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var p=0;p<4;p++)f.call(this);for(var p=0;p<8;p++)g[p]^=v[p+4&7];if(h){var m=h.words,y=m[0],R=m[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=A>>>16|x&4294901760,L=x<<16|A&65535;g[0]^=A,g[1]^=S,g[2]^=x,g[3]^=L,g[4]^=A,g[5]^=S,g[6]^=x,g[7]^=L;for(var p=0;p<4;p++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[h+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],g=v&65535,m=v>>>16,y=((g*g>>>17)+g*m>>>15)+m*m,R=((v&4294901760)*v|0)+((v&65535)*v|0);u[p]=y^R}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=o._createHelper(c)}(),n.Rabbit})}(EM)),EM.exports}var XM={exports:{}},J9;function N2e(){return J9||(J9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.StreamCipher,a=r.algo,s=[],l=[],u=[],c=a.RabbitLegacy=o.extend({_doReset:function(){var d=this._key.words,h=this.cfg.iv,p=this._X=[d[0],d[3]<<16|d[2]>>>16,d[1],d[0]<<16|d[3]>>>16,d[2],d[1]<<16|d[0]>>>16,d[3],d[2]<<16|d[1]>>>16],v=this._C=[d[2]<<16|d[2]>>>16,d[0]&4294901760|d[1]&65535,d[3]<<16|d[3]>>>16,d[1]&4294901760|d[2]&65535,d[0]<<16|d[0]>>>16,d[2]&4294901760|d[3]&65535,d[1]<<16|d[1]>>>16,d[3]&4294901760|d[0]&65535];this._b=0;for(var g=0;g<4;g++)f.call(this);for(var g=0;g<8;g++)v[g]^=p[g+4&7];if(h){var m=h.words,y=m[0],R=m[1],A=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,x=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,S=A>>>16|x&4294901760,L=x<<16|A&65535;v[0]^=A,v[1]^=S,v[2]^=x,v[3]^=L,v[4]^=A,v[5]^=S,v[6]^=x,v[7]^=L;for(var g=0;g<4;g++)f.call(this)}},_doProcessBlock:function(d,h){var p=this._X;f.call(this),s[0]=p[0]^p[5]>>>16^p[3]<<16,s[1]=p[2]^p[7]>>>16^p[5]<<16,s[2]=p[4]^p[1]>>>16^p[7]<<16,s[3]=p[6]^p[3]>>>16^p[1]<<16;for(var v=0;v<4;v++)s[v]=(s[v]<<8|s[v]>>>24)&16711935|(s[v]<<24|s[v]>>>8)&4278255360,d[h+v]^=s[v]},blockSize:128/32,ivSize:64/32});function f(){for(var d=this._X,h=this._C,p=0;p<8;p++)l[p]=h[p];h[0]=h[0]+1295307597+this._b|0,h[1]=h[1]+3545052371+(h[0]>>>0>>0?1:0)|0,h[2]=h[2]+886263092+(h[1]>>>0>>0?1:0)|0,h[3]=h[3]+1295307597+(h[2]>>>0>>0?1:0)|0,h[4]=h[4]+3545052371+(h[3]>>>0>>0?1:0)|0,h[5]=h[5]+886263092+(h[4]>>>0>>0?1:0)|0,h[6]=h[6]+1295307597+(h[5]>>>0>>0?1:0)|0,h[7]=h[7]+3545052371+(h[6]>>>0>>0?1:0)|0,this._b=h[7]>>>0>>0?1:0;for(var p=0;p<8;p++){var v=d[p]+h[p],g=v&65535,m=v>>>16,y=((g*g>>>17)+g*m>>>15)+m*m,R=((v&4294901760)*v|0)+((v&65535)*v|0);u[p]=y^R}d[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,d[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,d[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,d[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,d[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,d[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,d[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,d[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=o._createHelper(c)}(),n.RabbitLegacy})}(XM)),XM.exports}var WM={exports:{}},$9;function F2e(){return $9||($9=1,function(e,t){(function(n,r,i){e.exports=r(Xn(),s0(),l0(),ad(),Ci())})(Xt,function(n){return function(){var r=n,i=r.lib,o=i.BlockCipher,a=r.algo;const s=16,l=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function f(g,m){let y=m>>24&255,R=m>>16&255,A=m>>8&255,x=m&255,S=g.sbox[0][y]+g.sbox[1][R];return S=S^g.sbox[2][A],S=S+g.sbox[3][x],S}function d(g,m,y){let R=m,A=y,x;for(let S=0;S1;--S)R=R^g.pbox[S],A=f(g,R)^A,x=R,R=A,A=x;return x=R,R=A,A=x,A=A^g.pbox[1],R=R^g.pbox[0],{left:R,right:A}}function p(g,m,y){for(let L=0;L<4;L++){g.sbox[L]=[];for(let w=0;w<256;w++)g.sbox[L][w]=u[L][w]}let R=0;for(let L=0;L=y&&(R=0);let A=0,x=0,S=0;for(let L=0;LwT.AES.encrypt(e,CH).toString(),IH=e=>wT.AES.decrypt(e,CH).toString(wT.enc.Utf8),NH=e=>new Promise((t,n)=>{const r=document.createElement("button"),i=new s2e(r,{text:()=>e,action:()=>"copy",container:document.body});i.on("success",o=>{i.destroy(),t(o)}),i.on("error",o=>{i.destroy(),n(o)}),document.body.appendChild(r),r.click(),document.body.removeChild(r)}),FH=()=>new Promise((e,t)=>{var n;(n=navigator.clipboard)!=null&&n.readText?navigator.clipboard.readText().then(r=>(r||t("剪贴板为空或者不包含文本"),e(r))):t("浏览器不支持或禁止访问剪贴板,请使用快捷键 Ctrl + V")}),BO=e=>{let t;try{t=JSON.parse(IH(e))}catch{t=e}return t},EH=e=>{const t=e.split(`\r +`);t[t.length-1]===""&&t.pop();let n=-1;const r=[];for(const i in t){if(r[i]=t[i].split(" "),r[i].length===1)return null;if(n===-1)n=r[i].length;else if(n!==r[i].length)return null}return r},qp=e=>{const{left:t,top:n,width:r,height:i,rotate:o=0}=e,a=Math.sqrt(Math.pow(r,2)+Math.pow(i,2))/2,s=Math.atan(i/r)*180/Math.PI,l=(180-o-s)*Math.PI/180,u=(s-o)*Math.PI/180,c=t+r/2,f=n+i/2,d=[c+a*Math.cos(l),c+a*Math.cos(u),c-a*Math.cos(l),c-a*Math.cos(u)],h=[f-a*Math.sin(l),f-a*Math.sin(u),f+a*Math.sin(l),f+a*Math.sin(u)];return{xRange:[Math.min(...d),Math.max(...d)],yRange:[Math.min(...h),Math.max(...h)]}},Tp=e=>{const{xRange:t,yRange:n}=qp({left:e.left,top:e.top,width:e.width,height:e.height,rotate:0}),{xRange:r,yRange:i}=qp({left:e.left,top:e.top,width:e.width,height:e.height,rotate:e.rotate});return{offsetX:r[0]-t[0],offsetY:i[0]-n[0]}},hs=e=>{let t,n,r,i;if(e.type==="line")t=e.left,n=e.left+Math.max(e.start[0],e.end[0]),r=e.top,i=e.top+Math.max(e.start[1],e.end[1]);else if("rotate"in e&&e.rotate){const{left:o,top:a,width:s,height:l,rotate:u}=e,{xRange:c,yRange:f}=qp({left:o,top:a,width:s,height:l,rotate:u});t=c[0],n=c[1],r=f[0],i=f[1]}else t=e.left,n=e.left+e.width,r=e.top,i=e.top+e.height;return{minX:t,maxX:n,minY:r,maxY:i}},ju=e=>{const t=[],n=[],r=[],i=[];e.forEach(u=>{const{minX:c,maxX:f,minY:d,maxY:h}=hs(u);t.push(c),n.push(d),r.push(f),i.push(h)});const o=Math.min(...t),a=Math.max(...r),s=Math.min(...n),l=Math.max(...i);return{minX:o,maxX:a,minY:s,maxY:l}},xx=e=>{const t=[];return e.forEach(n=>{const r=t.findIndex(i=>i.value===n.value);if(r===-1)t.push(n);else{const i=t[r],o=Math.min(i.range[0],n.range[0]),a=Math.max(i.range[1],n.range[1]),s=[o,a],l={value:n.value,range:s};t[r]=l}}),t},X2e=e=>{const t={};for(const n of e)t[n.id]=on(10);return t},MT=e=>{const t={},n={};for(const r of e){const i=r.groupId;i&&!t[i]&&(t[i]=on(10)),n[r.id]=on(10)}return{groupIdMap:t,elIdMap:n}},XH=e=>{const t=at(e);return[t.setAlpha(.3).toRgbString(),t.setAlpha(.1).toRgbString()]},YO=e=>{const t=e.start.join(","),n=e.end.join(",");if(e.broken){const r=e.broken.join(",");return`M${t} L${r} L${n}`}else if(e.broken2){const{minX:r,maxX:i,minY:o,maxY:a}=hs(e);return i-r>=a-o?`M${t} L${e.broken2[0]},${e.start[1]} L${e.broken2[0]},${e.end[1]} ${n}`:`M${t} L${e.start[0]},${e.broken2[1]} L${e.end[0]},${e.broken2[1]} ${n}`}else if(e.curve){const r=e.curve.join(",");return`M${t} Q${r} ${n}`}else if(e.cubic){const[r,i]=e.cubic,o=r.join(","),a=i.join(",");return`M${t} C${o} ${a} ${n}`}return`M${t} L${n}`},W2e=(e,t)=>{const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>=r.top&&n.bottom<=r.bottom},Sx=e=>{const n=e.replace(/[\n\r]+/g,"
").split("
");let r="";for(const i of n)i&&(r+=`
${i}
`);return r},WH=e=>new Promise(t=>{const n=document.createElement("img");n.src=e,n.style.opacity="0",document.body.appendChild(n),n.onload=()=>{const r=n.clientWidth,i=n.clientHeight;n.onload=null,n.onerror=null,document.body.removeChild(n),t({width:r,height:i})},n.onerror=()=>{n.onload=null,n.onerror=null}}),sd=e=>new Promise(t=>{const n=new FileReader;n.addEventListener("load",()=>{t(n.result)}),n.readAsDataURL(e)}),V2e=e=>{if(!/[\s\S]*?<\/svg>/i.test(e))return!1;try{return new DOMParser().parseFromString(e,"image/svg+xml").documentElement.nodeName==="svg"}catch{return!1}},D2e=e=>{const t=new Blob([e],{type:"image/svg+xml"});return new File([t],`${Date.now()}.svg`,{type:"image/svg+xml"})};var bn=(e=>(e.ROUND_RECT="roundRect",e.ROUND_RECT_DIAGONAL="roundRectDiagonal",e.ROUND_RECT_SINGLE="roundRectSingle",e.ROUND_RECT_SAMESIDE="roundRectSameSide",e.CUT_RECT_DIAGONAL="cutRectDiagonal",e.CUT_RECT_SINGLE="cutRectSingle",e.CUT_RECT_SAMESIDE="cutRectSameSide",e.CUT_ROUND_RECT="cutRoundRect",e.MESSAGE="message",e.ROUND_MESSAGE="roundMessage",e.L="L",e.RING_RECT="ringRect",e.PLUS="plus",e.TRIANGLE="triangle",e.PARALLELOGRAM_LEFT="parallelogramLeft",e.PARALLELOGRAM_RIGHT="parallelogramRight",e.TRAPEZOID="trapezoid",e.BULLET="bullet",e.INDICATOR="indicator",e))(bn||{}),Et=(e=>(e.TEXT="text",e.IMAGE="image",e.SHAPE="shape",e.LINE="line",e.CHART="chart",e.TABLE="table",e.LATEX="latex",e.VIDEO="video",e.AUDIO="audio",e))(Et||{});const u0={[bn.ROUND_RECT]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L ${r} ${t} Q 0 ${t} 0 ${t-r} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.CUT_RECT_DIAGONAL]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${t-r} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L ${r} ${t} Z`}},[bn.CUT_RECT_SINGLE]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${t} L 0 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} Z`}},[bn.CUT_RECT_SAMESIDE]:{editable:!0,defaultValue:[.2],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${r} L ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[bn.ROUND_RECT_DIAGONAL]:{editable:!0,defaultValue:[.125],range:[[0,1]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e} 0 L ${e} ${t-r} Q ${e} ${t} ${e-r} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.ROUND_RECT_SINGLE]:{editable:!0,defaultValue:[.125],range:[[0,1]],relative:["right"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} L 0 0 Z`}},[bn.ROUND_RECT_SAMESIDE]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 ${r} Q 0 0 ${r} 0 L ${e-r} 0 Q ${e} 0 ${e} ${r} L ${e} ${t} L 0 ${t} Z`}},[bn.CUT_ROUND_RECT]:{editable:!0,defaultValue:[.125],range:[[0,.5]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${r} 0 L ${e-r} 0 L ${e} ${r} L ${e} ${t} L 0 ${t} L 0 ${r} Q 0 0 ${r} 0 Z`}},[bn.MESSAGE]:{editable:!0,range:[[0,.8],[.1,.3]],defaultValue:[.3,.2],relative:["left_bottom","bottom"],getBaseSize:[e=>e,(e,t)=>t],formula:(e,t,n)=>{const r=e*n[0],i=e*.2,o=t*n[1];return`M 0 0 L ${e} 0 L ${e} ${t-o} L ${r+i} ${t-o} L ${r} ${t} L ${r} ${t-o} L 0 ${t-o} Z`}},[bn.ROUND_MESSAGE]:{formula:(e,t)=>{const n=Math.min(e,t)*.125,r=Math.min(e,t)*.2,i=Math.min(e,t)*.2;return`M 0 ${n} Q 0 0 ${n} 0 L ${e-n} 0 Q ${e} 0 ${e} ${n} L ${e} ${t-n-i} Q ${e} ${t-i} ${e-n} ${t-i} L ${e/2} ${t-i} L ${e/2-r} ${t} L ${e/2-r} ${t-i} L ${n} ${t-i} Q 0 ${t-i} 0 ${t-n-i} L 0 ${n} Z`}},[bn.L]:{editable:!0,defaultValue:[.25],range:[[.1,.9]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 L 0 ${t} L ${e} ${t} L ${e} ${t-r} L ${r} ${t-r} L ${r} 0 Z`}},[bn.RING_RECT]:{editable:!0,defaultValue:[.25],range:[[.1,.45]],relative:["left"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M 0 0 ${e} 0 ${e} ${t} L 0 ${t} L 0 0 Z M ${r} ${r} L ${r} ${t-r} L ${e-r} ${t-r} L ${e-r} ${r} Z`}},[bn.PLUS]:{editable:!0,defaultValue:[.25],range:[[.1,.9]],relative:["center"],getBaseSize:[(e,t)=>Math.min(e,t)],formula:(e,t,n)=>{const r=Math.min(e,t)*n[0];return`M ${e/2-r/2} 0 L ${e/2-r/2} ${t/2-r/2} L 0 ${t/2-r/2} L 0 ${t/2+r/2} L ${e/2-r/2} ${t/2+r/2} L ${e/2-r/2} ${t} L ${e/2+r/2} ${t} L ${e/2+r/2} ${t/2+r/2} L ${e} ${t/2+r/2} L ${e} ${t/2-r/2} L ${e/2+r/2} ${t/2-r/2} L ${e/2+r/2} 0 Z`}},[bn.TRIANGLE]:{editable:!0,defaultValue:[.5],range:[[0,1]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>`M ${e*n[0]} 0 L 0 ${t} L ${e} ${t} Z`},[bn.PARALLELOGRAM_LEFT]:{editable:!0,defaultValue:[.25],range:[[0,.9]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${r} 0 L ${e} 0 L ${e-r} ${t} L 0 ${t} Z`}},[bn.PARALLELOGRAM_RIGHT]:{editable:!0,defaultValue:[.25],range:[[0,.9]],relative:["right"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M 0 0 L ${e-r} 0 L ${e} ${t} L ${r} ${t} Z`}},[bn.TRAPEZOID]:{editable:!0,defaultValue:[.25],range:[[0,.5]],relative:["left"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${r} 0 L ${e-r} 0 L ${e} ${t} L 0 ${t} Z`}},[bn.BULLET]:{editable:!0,defaultValue:[.2],range:[[0,1]],relative:["top"],getBaseSize:[(e,t)=>t],formula:(e,t,n)=>{const r=t*n[0];return`M ${e/2} 0 L 0 ${r} L 0 ${t} L ${e} ${t} L ${e} ${r} Z`}},[bn.INDICATOR]:{editable:!0,defaultValue:[.2],range:[[0,.9]],relative:["right"],getBaseSize:[e=>e],formula:(e,t,n)=>{const r=e*n[0];return`M ${e} ${t/2} L ${e-r} 0 L 0 0 L ${r} ${t/2} L 0 ${t} L ${e-r} ${t} Z`}}},ZO=[{type:"矩形",children:[{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",pptxShapeType:"rect"},{viewBox:[200,200],path:"M 50 0 L 150 0 Q 200 0 200 50 L 200 150 Q 200 200 150 200 L 50 200 Q 0 200 0 150 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.ROUND_RECT,pptxShapeType:"roundRect"},{viewBox:[200,200],path:"M 0 200 L 0 0 L 150 0 L 200 50 L 200 200 Z",pathFormula:bn.CUT_RECT_SINGLE,pptxShapeType:"snip1Rect"},{viewBox:[200,200],path:"M 0 50 L 50 0 L 150 0 L 200 50 L 200 200 L 0 200 Z",pathFormula:bn.CUT_RECT_SAMESIDE,pptxShapeType:"snip2SameRect"},{viewBox:[200,200],path:"M 0 150 L 0 0 L 150 0 L 200 50 L 200 200 L 50 200 Z",pathFormula:bn.CUT_RECT_DIAGONAL,pptxShapeType:"snip2DiagRect"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 50 L 200 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.CUT_ROUND_RECT,pptxShapeType:"snipRoundRect"},{viewBox:[200,200],path:"M 0 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 L 0 0 Z",pathFormula:bn.ROUND_RECT_SINGLE,pptxShapeType:"round1Rect"},{viewBox:[200,200],path:"M 0 50 Q 0 0 50 0 L 150 0 Q 200 0 200 50 L 200 200 L 0 200 Z",pathFormula:bn.ROUND_RECT_SAMESIDE,pptxShapeType:"round2SameRect"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 200 150 Q 200 200 150 200 L 0 200 L 0 50 Q 0 0 50 0 Z",pathFormula:bn.ROUND_RECT_DIAGONAL,pptxShapeType:"round2DiagRect"}]},{type:"常用形状",children:[{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z",pptxShapeType:"ellipse"},{viewBox:[200,200],path:"M 100 0 L 0 200 L 200 200 L 100 0 Z",pathFormula:bn.TRIANGLE,pptxShapeType:"triangle"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 Z"},{viewBox:[200,200],path:"M 70 20 L 0 160 Q 0 200 40 200 L 160 200 Q 200 200 200 160 L 130 20 Q 100 -20 70 20 Z"},{viewBox:[200,200],path:"M 50 0 L 200 0 L 150 200 L 0 200 L 50 0 Z",pathFormula:bn.PARALLELOGRAM_LEFT,pptxShapeType:"parallelogram"},{viewBox:[200,200],path:"M 0 0 L 150 0 L 200 200 L 50 200 L 0 0 Z",pathFormula:bn.PARALLELOGRAM_RIGHT},{viewBox:[200,200],path:"M 50 0 L 150 0 L 200 200 L 0 200 L 50 0 Z",pathFormula:bn.TRAPEZOID,pptxShapeType:"trapezoid"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z",pptxShapeType:"diamond"},{viewBox:[200,200],path:"M 100 0 L 0 50 L 0 200 L 200 200 L 200 50 L 100 0 Z",pathFormula:bn.BULLET},{viewBox:[200,200],path:"M 200 100 L 150 0 L 0 0 L 50 100 L 0 200 L 150 200 L 200 100 Z",pathFormula:bn.INDICATOR},{viewBox:[200,200],path:"M 0 0 C 80 20 120 20 200 0 C 180 80 180 120 200 200 C 80 180 120 180 0 200 C 20 120 20 80 0 0 Z"},{viewBox:[200,200],path:"M 10 10 C 60 0 140 0 190 10 C 200 60 200 140 190 190 C 140 200 60 200 10 190 C 0 140 0 60 10 10 Z"},{viewBox:[200,200],path:"M 0 200 A 50 100 0 1 1 200 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 20 A 100 100 0 1 0 200 100 L 100 100 L 40 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 100 L 100 0 Z",pptxShapeType:"pie"},{viewBox:[200,200],path:"M 160 20 A 100 100 0 1 0 200 100 L 100 100 L 160 20 Z"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 100 0 Z",pptxShapeType:"chord"},{viewBox:[200,200],path:"M 100 0 A 100 100 102 1 0 200 100 L 200 0 L 100 0 Z",pptxShapeType:"teardrop"},{viewBox:[200,200],path:"M 0 0 L 200 0 Q 200 200 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M100,0 L200,76.6 L161.8,200 L38.2,200 L0,76.6 Z",pptxShapeType:"pentagon"},{viewBox:[200,200],path:"M 40 0 L 160 0 L 200 100 L 160 200 L 40 200 L 0 100 Z",pptxShapeType:"hexagon"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 0 140 L 100 200 L 200 140 L 200 60 L 100 0 Z"},{viewBox:[200,200],path:"M100,0 L170.71,29.29 L200,100 L170.71,170.71 L100,200 L29.29,170.71 L0,100 L29.29,29.29 Z"},{viewBox:[200,200],path:"M 60 0 L 140 0 L 200 60 L 200 140 L 140 200 L 60 200 L 0 140 L 0 60 L 60 0 Z",pptxShapeType:"octagon"},{viewBox:[200,200],path:"M 75 0 L 125 0 L 175 25 L 200 75 L 200 125 L 175 175 L 125 200 L 75 200 L 25 175 L 0 125 L 0 75 L 25 25 L 75 0 Z",pptxShapeType:"dodecagon"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 L 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 50 0 A 25 50 0 1 0 50 200 L 150 200 A 25 50 0 1 0 150 0 L 50 0 Z"},{viewBox:[200,200],path:"M 150 0 A 50 100 0 1 1 150 200 L 0 200 A 50 100 0 0 0 0 0 L 150 0 Z"},{viewBox:[200,200],path:"M 200 0 L 200 200 L 0 200 L 0 100 L 200 0 Z",pptxShapeType:"flowChartManualInput"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 200 200 L 0 200 L 0 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 150 C 110 140 110 240 0 180 Z",pptxShapeType:"flowChartDocument"},{viewBox:[200,200],path:"M 200 0 L 100 0 L 0 100 L 0 200 L 200 0 Z",pptxShapeType:"diagStripe"},{viewBox:[200,200],path:"M 50 0 L 150 0 L 150 50 L 200 50 L 200 150 L 150 150 L 150 200 L 50 200 L 50 150 L 0 150 L 0 50 L 50 50 L 50 0 Z"},{viewBox:[200,200],path:"M 0 0 L 0 200 L 200 200 L 200 140 L 60 140 L 60 0 L 0 0 Z",pathFormula:bn.L,pptxShapeType:"corner"},{viewBox:[200,200],path:"M0 0 L200 0 L200 200 L0 200 L0 0 Z M50 50 L50 150 L150 150 L150 50 Z",pathFormula:bn.RING_RECT,pptxShapeType:"frame"},{viewBox:[200,200],path:"M0 100 A100 100 0 1 1 0 101 Z M150 100 A50 50 0 1 0 150 101 Z",pptxShapeType:"donut"},{viewBox:[200,200],path:"M 70 0 L 70 70 L 0 70 L 0 130 L 70 130 L 70 200 L 130 200 L 130 130 L 200 130 L 200 70 L 130 70 L 130 0 L 70 0 Z",pathFormula:bn.PLUS,pptxShapeType:"mathPlus"},{viewBox:[200,200],path:"M 0 70 L 200 70 L 200 130 L 0 130 Z",pptxShapeType:"mathMinus"},{viewBox:[200,200],path:"M 40 0 L 0 40 L 60 100 L 0 160 L 40 200 L 100 140 L 160 200 L 200 160 L 140 100 L 200 40 L 160 0 L 100 60 L 40 0 Z",pptxShapeType:"mathMultiply"},{viewBox:[200,200],path:"M 0 80 L 200 80 L 200 120 L 0 120 Z M 100 0 A 25 25 0 1 1 100 50 A 25 25 0 1 1 100 0 M 100 200 A 25 25 0 1 1 100 150 A 25 25 0 1 1 100 200",pptxShapeType:"mathDivide"},{viewBox:[200,200],path:"M 0 30 L 200 30 L 200 80 L 0 80 Z M 0 120 L 200 120 L 200 170 L 0 170 Z",pptxShapeType:"mathEqual"},{viewBox:[200,200],path:"M 120 0 L 170 0 L 150 40 L 200 40 L 200 80 L 130 80 L 110 120 L 200 120 L 200 160 L 90 160 L 70 200 L 20 200 L 40 160 L 0 160 L 0 120 L 60 120 L 80 80 L 0 80 L 0 40 L 100 40 Z",pptxShapeType:"mathNotEqual"},{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 160 L 100 160 L 60 200 L 60 160 L 0 160 Z",pathFormula:bn.MESSAGE,pptxShapeType:"wedgeRectCallout"},{viewBox:[200,200],path:"M 0 40 Q 0 0 40 0 L 160 0 Q 200 0 200 40 L 200 120 Q 200 160 160 160 L 100 160 L 60 200 L 60 160 L 40 160 Q 0 160 0 120 L 0 40 Z",pathFormula:bn.ROUND_MESSAGE,pptxShapeType:"wedgeRoundRectCallout"},{viewBox:[200,200],path:"M 180 160 A 100 100 0 1 0 100 200 L 200 200 L 200 160 L 180 160 Z",pptxShapeType:"flowChartMagneticTape"},{viewBox:[200,200],path:"M 200 0 L 0 0 L 200 200 L 0 200 L 200 0 Z",pptxShapeType:"flowChartCollate"},{viewBox:[200,200],path:"M 0 20 C 60 60 140 -40 200 20 L 200 180 C 140 140 60 240 0 180 L 0 20 Z",pptxShapeType:"wave"},{viewBox:[200,200],path:"M 0 20 C 40 -40 60 60 100 20 C 140 -40 160 60 200 20 L 200 180 C 140 240 160 140 100 180 C 40 240 60 140 0 180 L 0 20 Z",pptxShapeType:"doubleWave"},{viewBox:[200,200],path:"M 100 0 Q 0 50 0 175 Q 100 225 200 175 Q 200 50 100 0 Z"},{viewBox:[200,200],path:"M 0 100 A 50 50 0 1 1 200 100 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 100 0 L 120 80 L 200 100 L 120 120 L 100 200 L 80 120 L 0 100 L 80 80 L 100 0 Z",pptxShapeType:"star4"},{viewBox:[1024,1024],path:"M1018.67652554 400.05983681l-382.95318779-5.89158658L512 34.78141155 388.27666225 394.16825023l-382.95318779 5.89158658L311.68602415 629.83174977l-117.83174978 365.27842665 312.25413766-223.88032637 312.25413904 223.88032637-117.83175116-365.27842665 318.14572563-229.77191296z",pptxShapeType:"star5",special:!0},{viewBox:[200,200],path:"M 100 0 L 60 60 L 0 100 L 60 140 L 100 200 L 140 140 L 200 100 L 140 60 L 100 0 Z"},{viewBox:[200,200],path:"M 100 0 L 140 60 L 200 60 L 160 100 L 200 140 L 140 140 L 100 200 L 60 140 L 0 140 L 40 100 L 0 60 L 60 60 L 100 0 Z",pptxShapeType:"star6"},{viewBox:[200,200],path:"M 100 0 L 130 30 L 170 30 L 170 70 L 200 100 L 170 130 L 170 170 L 130 170 L 100 200 L 70 170 L 30 170 L 30 130 L 0 100 L 30 70 L 30 30 L 70 30 L 100 0",pptxShapeType:"star8"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 0 200 120 A 100 100 0 1 1 100 0 Z"},{viewBox:[200,200],path:"M 120 0 L 100 80 L 200 80 L 80 200 L 100 120 L 0 120 L 120 0 Z"},{viewBox:[200,200],path:"M 30 50 Q 40 -20 120 10 Q 180 -10 180 40 Q 210 70 190 100 C 210 140 180 170 160 170 Q 140 210 100 180 C 70 210 20 190 30 150 C -10 140 -10 80 30 50",pptxShapeType:"cloud"},{viewBox:[200,200],path:"M 100 0 L 0 100 L 100 200 L 200 100 L 100 0 Z M 200 100 L 0 100",withborder:!0,pptxShapeType:"flowChartSort"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 170 30 L 30 170",withborder:!0},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 30 30 L 170 170",withborder:!0},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 170 30 L 30 170 M 30 30 L 170 170",withborder:!0,pptxShapeType:"flowChartSummingJunction"},{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z M 200 100 L 0 100 M 100 0 L 100 200",withborder:!0,pptxShapeType:"flowChartOr"},{viewBox:[200,200],path:"M 160 0 A 40 100 0 1 1 160 200 L 40 200 A 40 100 0 1 1 40 0 L 160 0 Z M 160 200 A 40 100 0 1 1 160 0",withborder:!0,pptxShapeType:"flowChartMagneticDrum"},{viewBox:[200,200],path:"M 0 40 A 50 20 0 1 1 200 40 L 200 160 A 50 20 0 1 1 0 160 L 0 40 Z M 200 40 A 50 20 0 1 1 0 40",withborder:!0,pptxShapeType:"can"},{viewBox:[200,200],path:"M 200 0 L 50 0 L 0 50 L 0 200 L 150 200 L 200 150 L 200 0 Z M 200 0 L 150 50 M 150 50 L 0 50 M 150 50 L 150 200",withborder:!0,pptxShapeType:"cube"}]},{type:"箭头",children:[{viewBox:[200,200],path:"M 100 0 L 0 100 L 50 100 L 50 200 L 150 200 L 150 100 L 200 100 L 100 0 Z",pptxShapeType:"upArrow"},{viewBox:[200,200],path:"M 100 200 L 200 100 L 150 100 L 150 0 L 50 0 L 50 100 L 0 100 L 100 200 Z",pptxShapeType:"downArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 200 150 L 100 150 L 100 200 L 0 100 Z",pptxShapeType:"leftArrow"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"rightArrow"},{viewBox:[200,200],path:"M 100 0 L 0 60 L 60 60 L 60 140 L 0 140 L 100 200 L 200 140 L 140 140 L 140 60 L 200 60 L 100 0 Z",pptxShapeType:"upDownArrow"},{viewBox:[200,200],path:"M 0 100 L 60 0 L 60 60 L 140 60 L 140 0 L 200 100 L 140 200 L 140 140 L 60 140 L 60 200 L 0 100 Z",pptxShapeType:"leftRightArrow"},{viewBox:[200,200],path:"M 100 0 L 60 40 L 80 40 L 80 80 L 40 80 L 40 60 L 0 100 L 40 140 L 40 120 L 80 120 L 80 160 L 60 160 L 100 200 L 140 160 L 120 160 L 120 120 L 160 120 L 160 140 L 200 100 L 160 60 L 160 80 L 120 80 L 120 40 L 140 40 L 100 0 Z",pptxShapeType:"quadArrow"},{viewBox:[200,200],path:"M 0 100 L 100 0 L 100 50 L 200 50 L 150 100 L 200 150 L 100 150 L 100 200 L 0 100 Z"},{viewBox:[200,200],path:"M 200 100 L 100 0 L 100 50 L 0 50 L 50 100 L 0 150 L 100 150 L 100 200 L 200 100 Z",pptxShapeType:"notchedRightArrow"},{viewBox:[200,200],path:"M 0 100 L 80 20 L 80 80 L 120 80 L 120 0 L 200 0 L 200 200 L 120 200 L 120 120 L 80 120 L 80 180 L 0 100 Z",pptxShapeType:"leftArrowCallout"},{viewBox:[200,200],path:"M 200 100 L 120 20 L 120 80 L 80 80 L 80 0 L 0 0 L 0 200 L 80 200 L 80 120 L 120 120 L 120 180 L 200 100 Z",pptxShapeType:"rightArrowCallout"},{viewBox:[200,200],path:"M 0 0 L 120 0 L 200 100 L 120 200 L 0 200 L 80 100 L 0 0 Z",pptxShapeType:"chevron"},{viewBox:[200,200],path:"M 80 0 L 200 0 L 120 100 L 200 200 L 80 200 L 0 100 L 80 0 Z"},{viewBox:[200,200],path:"M 0 0 L 140 0 L 200 100 L 140 200 L 0 200 L 0 100 L 0 0 Z",pptxShapeType:"homePlate"},{viewBox:[200,200],path:"M 60 0 L 200 0 L 200 100 L 200 200 L 60 200 L 0 100 L 60 0 Z"},{viewBox:[200,200],path:"M 0 0 L 200 100 L 0 200 L 60 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 0 100 L 200 200 L 140 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 0 L 80 0 L 200 100 L 80 200 L 0 200 L 120 100 L 0 0 Z"},{viewBox:[200,200],path:"M 200 0 L 120 0 L 0 100 L 120 200 L 200 200 L 80 100 L 200 0 Z"},{viewBox:[200,200],path:"M 0 200 L 180 200 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 160 L 0 160 L 0 200 Z",pptxShapeType:"bentUpArrow"},{viewBox:[200,200],path:"M 0 200 L 0 20 L 160 20 L 160 0 L 200 40 L 160 80 L 160 60 L 40 60 L 40 200 L 0 200 Z"},{viewBox:[200,200],path:"M 40 180 L 180 180 L 180 40 L 200 40 L 160 0 L 120 40 L 140 40 L 140 140 L 40 140 L 40 120 L 0 160 L 40 200 L 40 180 Z",pptxShapeType:"leftUpArrow"},{viewBox:[1024,1024],path:"M398.208 302.912V64L0 482.112l398.208 418.176V655.36c284.48 0 483.584 95.552 625.792 304.64-56.896-298.688-227.584-597.312-625.792-657.088z",special:!0},{viewBox:[1024,1024],path:"M625.792 302.912V64L1024 482.112l-398.208 418.176V655.36C341.312 655.36 142.208 750.912 0 960c56.896-298.688 227.584-597.312 625.792-657.088z",special:!0}]},{type:"其他形状",children:[{viewBox:[1024,1024],path:"M995.336 243.4016c-15.7584-36.5736-38.3376-69.26639999-66.91440001-97.37280001-28.5768-27.98879999-61.73999999-49.8624-98.78399999-65.26799998-38.22-15.876-78.6744-23.8728-120.4224-23.87280001-57.97680001 0-114.5424 15.876-163.69919999 45.864-11.76 7.17360001-22.932 15.05279999-33.51600001 23.63760001-10.584-8.5848-21.75600001-16.46400001-33.51600001-23.63760001-49.1568-29.98799999-105.7224-45.86399999-163.69919999-45.864-41.74799999 0-82.2024 7.9968-120.4224 23.87280001-36.9264 15.28799999-70.2072 37.27919999-98.78399999 65.26799998-28.6944 28.10640001-51.156 60.79919999-66.91440001 97.37280001-16.34639999 37.9848-24.696 78.3216-24.696 119.83439999 0 39.1608 7.9968 79.96800001 23.8728 121.48080001 13.28880001 34.692 32.34000001 70.67760001 56.6832 107.016 38.57279999 57.5064 91.61040001 117.4824 157.4664 178.28160001 109.1328 100.78319999 217.2072 170.4024 221.79359999 173.22479998l27.87120001 17.8752c12.348 7.8792 28.224 7.8792 40.572 0l27.87119999-17.8752c4.58639999-2.94 112.54319999-72.44159999 221.79360001-173.22479998 65.85599999-60.79919999 118.89359999-120.7752 157.4664-178.28160001 24.3432-36.33839999 43.512-72.324 56.68319999-107.016 15.876-41.5128 23.8728-82.32 23.87280001-121.48080001 0.1176-41.5128-8.232-81.8496-24.5784-119.83439999z",special:!0},{viewBox:[1024,1024],path:"M985.20746667 343.50079998l-303.32586667-44.08319999L546.28693333 24.5248c-3.70346666-7.5264-9.79626667-13.6192-17.32266665-17.32266668-18.87573334-9.3184-41.81333333-1.55306667-51.25120001 17.32266668L342.1184 299.41759999l-303.32586667 44.08319999c-8.36266667 1.19466667-16.00853333 5.13706667-21.8624 11.11040001-14.69440001 15.17226667-14.45546667 39.30453334 0.71679999 54.1184l219.46026668 213.9648-51.84853333 302.1312c-1.43359999 8.24320001-0.11946667 16.8448 3.82293333 24.25173333 9.79626667 18.6368 32.9728 25.92426667 51.6096 16.00853334L512 822.44266665l271.3088 142.64320001c7.40693333 3.9424 16.00853333 5.25653333 24.25173333 3.82293333 20.78719999-3.584 34.7648-23.296 31.1808-44.0832l-51.84853333-302.1312 219.46026668-213.9648c5.97333334-5.85386666 9.91573333-13.49973334 11.11039999-21.8624 3.2256-20.90666667-11.34933333-40.26026667-32.256-43.36640001z",special:!0},{viewBox:[1024,1024],path:"M852.65066667 405.84533333C800.54044445 268.40177778 667.76177778 170.66666667 512.22755555 170.66666667S223.91466667 268.288 171.80444445 405.73155555C74.29688889 431.33155555 2.27555555 520.07822222 2.27555555 625.77777778c0 125.72444445 101.83111111 227.55555555 227.44177778 227.55555555h564.56533334C919.89333333 853.33333333 1021.72444445 751.50222222 1021.72444445 625.77777778c0-105.472-71.79377778-194.21866667-169.07377778-219.93244445z",special:!0},{viewBox:[1024,1024],path:"M926.25224691 323.7371485H654.6457886L898.88200917 15.14388241c5.05486373-6.53433603 0.49315743-16.02761669-7.76722963-16.02761668H418.30008701c-3.45210206 0-6.78091476 1.84934039-8.50696579 4.93157436L90.35039154 555.76772251c-3.82197013 6.53433603 0.86302552 14.7947231 8.50696578 14.79472311h215.01664245l-110.22068713 440.88274851c-2.34249783 9.61657002 9.24670194 16.39748478 16.39748477 9.49328065L933.03316167 340.62779071c6.41104668-6.0411786 2.09591911-16.8906422-6.78091476-16.89064221z",special:!0},{viewBox:[1024,1024],path:"M878.47822222 463.30311111c-22.18666667-49.83466667-53.93066667-93.98044445-94.32177777-131.072l-33.10933334-30.37866666c-4.89244445-4.32355555-12.62933333-2.38933333-14.79111111 3.75466666l-14.79111111 42.43911111c-9.216 26.624-26.16888889 53.81688889-50.176 80.55466667-1.59288889 1.70666667-3.41333333 2.16177778-4.66488889 2.27555556-1.25155555 0.11377778-3.18577778-0.11377778-4.89244445-1.70666667-1.59288889-1.36533333-2.38933333-3.41333333-2.27555555-5.46133333 4.20977778-68.49422222-16.27022222-145.74933333-61.09866667-229.83111112C561.26577778 124.01777778 509.72444445 69.51822222 445.32622222 31.51644445l-46.99022222-27.648c-6.144-3.64088889-13.99466667 1.13777778-13.65333333 8.30577777l2.50311111 54.61333333c1.70666667 37.31911111-2.61688889 70.31466667-12.85688889 97.73511112-12.51555555 33.56444445-30.49244445 64.73955555-53.47555556 92.72888888-16.15644445 19.56977778-34.24711111 37.20533333-54.04444444 52.45155556-47.90044445 36.75022222-87.38133333 84.65066667-114.11911111 138.24C125.72444445 502.10133333 111.50222222 562.74488889 111.50222222 623.50222222c0 53.70311111 10.58133333 105.69955555 31.51644445 154.73777778 20.25244445 47.21777778 49.152 89.77066667 85.90222222 126.17955555 36.864 36.40888889 79.64444445 65.08088889 127.31733333 84.992C405.61777778 1010.11911111 457.95555555 1020.58666667 512 1020.58666667s106.38222222-10.46755555 155.76177778-31.06133334c47.67288889-19.91111111 90.56711111-48.46933333 127.31733333-84.992 36.864-36.40888889 65.76355555-78.96177778 85.90222222-126.17955555 20.93511111-49.03822222 31.51644445-101.03466667 31.51644445-154.73777778 0-55.52355555-11.37777778-109.45422222-34.01955556-160.31288889z",special:!0},{viewBox:[1024,1024],path:"M968.20337778 20.11591112H705.44042667c-22.17301333 0-41.92483556 15.16430222-47.14951111 37.33731555C642.36202666 124.73685332 582.08711111 173.03324444 512 173.03324444s-130.36202666-48.29639112-146.29091556-115.58001777c-5.22467555-22.17301333-24.84906667-37.33731556-47.14951111-37.33731555H55.79662222c-30.96576 0-56.06968889 25.10392889-56.06968888 56.06968888v321.12639999c0 30.96576 25.10392889 56.06968889 56.06968888 56.06968889h95.57333334v494.43271112c0 30.96576 25.10392889 56.06968889 56.06968889 56.06968888h609.1207111c30.96576 0 56.06968889-25.10392889 56.06968889-56.06968888V453.38168888h95.57333334c30.96576 0 56.06968889-25.10392889 56.06968888-56.06968889V76.1856c0-30.96576-25.10392889-56.06968889-56.06968888-56.06968888z",special:!0},{viewBox:[1024,1024],path:"M980.94648889 239.80714666H523.46880001L373.99210666 96.82944c-1.91146667-1.78403556-4.46008889-2.80348444-7.00871111-2.80348445H43.05351111c-22.55530667 0-40.77795555 18.22264888-40.77795555 40.77795557v754.39217776c0 22.55530667 18.22264888 40.77795555 40.77795555 40.77795557h937.89297778c22.55530667 0 40.77795555-18.22264888 40.77795555-40.77795557V280.58510222c0-22.55530667-18.22264888-40.77795555-40.77795555-40.77795556z",special:!0},{viewBox:[1024,1024],path:"M972.60904597 164.57058577L841.30587843 33.39070759c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480282-29.3428675-26.75379095 0-51.90482023 10.47959553-70.76809219 29.3428675L558.60337778 174.68031322c-18.86327195 18.86327195-29.34286748 44.1375906-29.34286749 70.64480283 0 26.75379095 10.47959553 51.90482023 29.34286749 70.76809218l103.31648301 103.31648302c-24.28800376 53.50758189-57.69942011 101.59043198-99.24793416 143.13894603-41.42522469 41.67180341-89.63136414 75.08321976-143.13894603 99.61780223L316.21649759 558.84995649c-18.86327195-18.86327195-44.1375906-29.34286748-70.64480283-29.34286747-26.75379095 0-51.90482023 10.47959553-70.76809217 29.34286747L33.39070759 700.01627278c-18.86327195 18.86327195-29.34286748 44.1375906-29.3428675 70.76809217 0 26.75379095 10.47959553 51.90482023 29.3428675 70.76809219l131.05658883 131.05658883c30.08260365 30.205893 71.63111769 47.34311394 114.28923598 47.34311394 9.00012323 0 17.63037836-0.73973616 26.13734414-2.21920846 166.19405621-27.37023774 331.03192945-115.76870829 464.06114804-248.67463751C901.84095379 636.27567408 990.11613498 471.56109018 1017.85624079 304.87387654c8.38367642-50.91850535-8.50696579-103.31648302-45.24719482-140.30329077z",special:!0},{viewBox:[1024,1024],path:"M910.60451556 640.96028445c-20.38897778-65.49959112-43.83630221-120.54983112-79.89930667-210.64362666C836.31217778 193.67708444 737.93535999 2.27555556 511.36284444 2.27555556 282.24170667 2.27555556 186.03121778 197.50001778 192.14791111 430.31665779c-36.19043555 90.22122667-59.51032888 144.88917333-79.89930667 210.64362666-43.32657778 139.53706668-29.30915556 197.26336001-18.60494222 198.53767111 22.9376 2.80348444 89.32920888-105.00323556 89.32920889-105.00323556 0 62.44124445 32.11264001 143.86972444 101.69002667 202.61546667-33.64181333 10.32192-109.20846222 38.10190221-91.24067556 68.55793777 14.52714667 24.59420444 250.01984 15.67402668 317.94062222 8.02816 67.92078222 7.64586667 303.41347556 16.56604444 317.94062223-8.02816 17.96778667-30.32860444-57.72629333-58.23601779-91.24067555-68.55793777 69.57738667-58.87317334 101.69002667-140.30165333 101.69002667-202.61546667 0 0 66.39160889 107.80672 89.32920888 105.00323556 10.83164445-1.40174222 24.84906667-59.12803556-18.47751111-198.53767111z",special:!0},{viewBox:[1024,1024],path:"M1016.86992592 199.24764445c-37.13706667 16.01991111-77.55093333 27.54939259-119.17842962 32.03982222 42.96248889-25.60758518 75.60912592-66.02145185 91.02222222-114.08118519-39.68568889 23.66577778-84.58998518 41.02068148-131.31472593 50.00154074C819.53374815 126.79395555 765.76995555 101.79318518 706.18074075 101.79318518c-114.688 0-206.92385185 92.96402963-206.92385186 207.04521482 0 16.01991111 1.94180741 32.03982222 5.09724444 47.45291852-171.72859259-8.98085925-324.88865185-91.02222222-426.71217778-216.63288889-17.96171852 30.82619259-28.15620741 66.02145185-28.1562074 104.49351112 0 71.84687408 36.53025185 135.19834075 92.23585185 172.45677036-33.98162963-1.33499259-66.02145185-10.92266667-93.57084445-26.33576296v2.54862222c0 100.6098963 71.1186963 183.98625185 165.90317037 203.1616-17.3549037 4.49042963-35.92343703 7.03905185-54.49197037 7.03905185-13.47128889 0-26.2144-1.33499259-39.07887407-3.15543704C146.69748148 681.90814815 223.03478518 741.49736297 313.93564445 743.43917037c-71.1186963 55.7056-160.19911111 88.4736-256.9253926 88.4736-17.3549037 0-33.37481482-0.60681482-50.00154074-2.54862222C98.75911111 888.22518518 207.62168889 922.20681482 324.85831111 922.20681482 705.45256297 922.20681482 913.71140741 606.90583703 913.71140741 333.23235555c0-8.98085925 0-17.96171852-0.60681482-26.94257777 40.2925037-29.4912 75.60912592-66.02145185 103.76533333-107.04213333z",special:!0},{viewBox:[1024,1024],path:"M917.96720197 1.08889505H106.03279803C53.56084718 1.08889505 9.37393998 45.27580225 9.37393998 97.74775309v5.52336372c0 19.33177108 8.28504494 41.42522469 22.0934536 55.23363205l331.40179753 392.15879462v325.87843379c0 16.57008987 8.28504494 30.37849854 22.09345359 35.90186098l209.88780469 104.94390299 2.76168121 2.76168121c27.61681602 11.04672615 55.23363335-8.28504494 55.23363335-38.66354218V550.66354348l331.40179753-392.15879462c35.90186097-41.42522469 30.37849854-102.18222047-11.04672616-135.32240022-11.04672615-13.80840865-33.14017975-22.0934536-55.23363335-22.09345359z",special:!0},{viewBox:[1024,1024],path:"M491.70164031 97.48884502a25.89076502 25.89076502 0 0 1 40.59671938 0L745.66415762 367.01171317a25.89076502 25.89076502 0 0 0 30.49932208 7.72839349l208.00640948-89.14190458a25.89076502 25.89076502 0 0 1 35.56096592 29.06238339l-115.18801541 554.96855704A103.56306132 103.56306132 0 0 1 803.14165689 952.14301275H220.85834311a103.56306132 103.56306132 0 0 1-101.4011828-82.51387024l-115.18801541-554.96855704a25.89076502 25.89076502 0 0 1 35.54802012-29.06238339l208.01935528 89.14190458a25.89076502 25.89076502 0 0 0 30.49932208-7.72839349l213.36579793-269.52286815z",special:!0},{viewBox:[1024,1024],path:"M643.02466884 387.7801525c19.85376751-88.69205333 33.718272-152.84087467 41.61900049-192.57389433C704.52292267 95.17283515 652.90057916 2.27555515 550.58614084 2.27555515c-92.26012484 0-138.59407685 45.84971417-165.91530666 137.49816969l-0.70087152 2.67605334c-16.40038399 74.13942085-41.47882668 131.61085116-74.6746315 172.73287031a189.06953915 189.06953915 0 0 1-143.04142182 70.44391902l-26.17434983 0.5606965C77.66380049 387.52529067 27.76177817 438.90551468 27.76177817 501.84374084V881.55022182c0 77.4144 62.25009818 140.17422182 139.05282766 140.17422303h492.82707951c101.23127467 0 191.59267516-63.995904 225.93535999-159.98976l102.37815468-286.22301868c26.04691951-72.82688-11.39234134-153.15945284-83.63303784-179.42300483a138.04612267 138.04612267 0 0 0-47.17499733-8.30850884H643.02466884z",special:!0},{viewBox:[1024,1024],path:"M512 512c140.82958222 0 254.86222222-114.03264 254.86222222-254.86222222S652.82958222 2.27555555 512 2.27555555a254.78940445 254.78940445 0 0 0-254.86222222 254.86222223C257.13777778 397.96736 371.17041778 512 512 512z m0 72.81777778c-170.10232889 0-509.72444445 97.57582222-509.72444445 291.27111111v145.63555556h1019.4488889v-145.63555556c0-193.69528889-339.62211555-291.27111111-509.72444445-291.27111111z",special:!0},{viewBox:[1024,1024],path:"M1019.81297778 564.50161779l-138.89991111-472.51456c-8.66531556-25.99594668-29.43658667-43.45400889-57.21656889-43.45400891s-50.33528889 15.67402668-59.00060446 41.66997334l-92.00526221 274.48661334H351.69166222L259.6864 90.33045333c-8.66531556-25.99594668-31.22062222-41.66997333-59.00060444-41.66997332s-50.33528889 17.33063112-57.2165689 43.45400887L4.69674667 564.50161779c-5.22467555 17.33063112 1.78403556 36.44529778 15.67402667 46.89464887l491.11950221 368.27591113 492.77610666-368.27591113c13.76256-10.32192 20.77127111-29.43658667 15.54659557-46.89464887z",special:!0},{viewBox:[1024,1024],path:"M927.78951111 340.39277037c-12.01493333-47.81700741 12.01493333-124.03294815 89.08041481-150.97552592l-82.40545184-4.36906667s-31.19028148-109.22666667-174.27721483-118.9357037c-143.08693333-9.8304-236.65777778-3.64088889-236.65777777-3.6408889s106.07122963 67.47780741 63.5941926 187.74850371c-31.06891852 63.71555555-79.85682963 116.02299259-132.04290371 175.61220741-1.57771852 1.57771852-3.03407408 3.15543703-4.2477037 4.49042962C278.25493333 624.86755555 7.13007408 934.34311111 7.13007408 934.34311111c298.43152592 78.15774815 498.43768889-7.64586667 616.76657777-110.56165926 24.87940741-0.24272592 43.5693037-0.36408889 56.19105185-0.36408888 164.8109037 0 304.13558518-142.72284445 298.43152593-301.4656-3.88361482-109.1053037-38.71478518-133.74198518-50.72971852-181.5589926z",special:!0},{viewBox:[1024,1024],path:"M997.8886764 504.17210418L537.2729208 43.89182982c-13.97838539-13.97838539-36.56745619-13.97838539-50.5458416 0L26.1113236 504.17210418c-13.41924998 13.41924998-21.02349164 31.64706454-21.02349163 50.65766867 0 39.47496036 32.09437288 71.56933323 71.56933324 71.56933323h48.53295408V954.83524937c0 19.79339373 15.99127289 35.78466661 35.78466663 35.78466662H440.43066677V740.12724968h125.24633315v250.49266631h297.34821416c19.79339373 0 35.78466661-15.99127289 35.78466663-35.78466662V626.39910608h48.53295408c19.01060414 0 37.23841869-7.49241457 50.65766869-21.02349163 27.84494371-27.95677079 27.84494371-73.24673948-0.11182708-101.20351027z",special:!0},{viewBox:[1024,1024],path:"M1009.13013121 349.27572283L674.72427717 14.86986879c-8.82158299-8.82158299-20.35749924-13.16451618-31.89341544-13.16451618s-23.07183245 4.34293316-31.89341547 13.16451618L392.29790453 233.6451272c-16.5574327-1.90003326-33.25058207-2.71433322-49.94373146-2.71433324-99.34459624 0-198.68919249 32.70771543-280.25490606 98.12314628-20.90036589 16.69314938-22.52896582 48.04369819-3.66434987 67.04403081l246.59717401 246.59717401-292.33368895 292.06225564c-3.52863319 3.52863319-5.83581644 8.27871636-6.24296642 13.30023282l-4.61436649 50.48659809c-1.22144996 12.75736619 8.95729967 23.6146991 21.57894918 23.6146991 0.6785833 0 1.35716662 0 2.03574992-0.13571666l50.48659809-4.61436649c5.02151649-0.40714999 9.77159962-2.71433322 13.30023282-6.24296643l292.33368896-292.33368896 246.59717402 246.59717401c8.82158299 8.82158299 20.35749924 13.16451618 31.89341544 13.16451618 13.16451618 0 26.19331567-5.70009979 35.15061536-16.82886604 76.40848044-95.40881307 108.16617924-214.83947521 95.27309638-330.33435417l218.63954175-218.63954173c17.50744934-17.37173267 17.50744934-45.8722316 0-63.51539759z",special:!0},{viewBox:[1024,1024],path:"M976.62005979 160.47737905c-0.39452595-0.39452595-80.35178503 78.64217259-239.47725131 237.50462156l-111.6508437-111.65084369 237.89914752-237.89914752c-125.19623464-75.35445635-286.03131335-56.02268482-390.31767264 48.26367449-81.92988882 81.92988882-112.57140424 200.15616502-83.37648398 310.09739626l2.36715569 8.81107954-372.82702222 372.69551356c-8.15353628 8.15353628-8.15353628 21.56741857 0 29.72095487l185.95323084 185.95323084c8.15353628 8.15353628 21.56741857 8.15353628 29.72095485 0l372.56400493-372.56400493 8.81107953 2.3671557c110.07273989 29.32642892 228.29901608-1.18357785 310.36041356-83.24497533 104.41786795-104.2863593 123.74963948-265.12143802 49.97328693-390.05465535z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m220.16 343.26755556l-239.616 332.23111111c-14.44977778 20.13866667-44.37333333 20.13866667-58.82311111 0L291.84 481.16622222c-4.32355555-6.03022222 0-14.44977778 7.39555555-14.44977777h53.36177778c11.60533333 0 22.64177778 5.57511111 29.46844445 15.13244444l81.00977777 112.41244444 178.85866667-248.03555555c6.82666667-9.44355555 17.74933333-15.13244445 29.46844445-15.13244445H724.76444445c7.39555555 0 11.71911111 8.41955555 7.39555555 14.44977778z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h418.70222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m188.18844445 703.37422223l-75.09333334-0.34133333L512 570.48177778l-112.98133333 134.71288889-75.20711112 0.34133333c-5.00622222 0-9.10222222-3.98222222-9.10222222-9.10222222 0-2.16177778 0.79644445-4.20977778 2.16177778-5.91644445l148.02488889-176.35555555L316.87111111 337.92c-1.36533333-1.70666667-2.16177778-3.75466667-2.16177778-5.91644445 0-5.00622222 4.096-9.10222222 9.10222222-9.10222222l75.20711112 0.34133334L512 458.06933333l112.98133333-134.71288888 75.09333334-0.34133334c5.00622222 0 9.10222222 3.98222222 9.10222222 9.10222222 0 2.16177778-0.79644445 4.20977778-2.16177778 5.91644445L559.21777778 514.27555555l147.91111111 176.35555556c1.36533333 1.70666667 2.16177778 3.75466667 2.16177778 5.91644444 0 5.00622222-4.096 9.10222222-9.10222222 9.10222223z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m218.45333333 537.03111112c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222H548.40888889v172.94222222c0 5.00622222-4.096 9.10222222-9.10222222 9.10222222h-54.61333334c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V548.40888889H302.64888889c-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222v-54.61333334c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h172.94222222V302.64888889c0-5.00622222 4.096-9.10222222 9.10222222-9.10222222h54.61333334c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v172.94222222h172.94222222c5.00622222 0 9.10222222 4.096 9.10222222 9.10222222v54.61333334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m163.95377778 517.57511112L427.46311111 700.64355555c-1.59288889 1.13777778-3.41333333 1.70666667-5.34755556 1.70666667-5.00622222 0-9.10222222-4.096-9.10222222-9.10222222V331.88977778c0-1.93422222 0.56888889-3.75466667 1.70666667-5.34755556 2.95822222-4.096 8.64711111-5.00622222 12.74311111-2.048L675.95377778 505.17333333c0.79644445 0.56888889 1.47911111 1.25155555 2.048 2.048 2.95822222 3.98222222 2.048 9.67111111-2.048 12.62933334z",special:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m200.81777778 666.39644445l-32.54044445 44.37333333c-2.95822222 4.096-8.64711111 4.89244445-12.74311111 1.93422222L479.34577778 577.76355555c-2.38933333-1.70666667-3.75466667-4.43733333-3.75466667-7.39555555V257.13777778c0-5.00622222 4.096-9.10222222 9.10222222-9.10222223h54.72711112c5.00622222 0 9.10222222 4.096 9.10222222 9.10222223v281.6l162.24711111 117.30488889c4.096 2.84444445 5.00622222 8.53333333 2.048 12.62933333z",special:!0},{viewBox:[1024,1024],path:"M981.10577778 314.48177778c-25.6-61.09866667-62.464-115.93955555-109.34044445-163.04355556-46.87644445-46.99022222-101.60355555-83.968-162.70222222-109.568C646.59911111 15.58755555 580.38044445 2.27555555 512 2.27555555h-2.27555555c-68.83555555 0.34133333-135.39555555 13.99466667-198.08711112 40.84622223-60.52977778 25.94133333-114.80177778 62.80533333-161.22311111 109.79555555-46.42133333 46.99022222-82.83022222 101.60355555-108.08888889 162.47466667C16.27022222 378.42488889 3.072 445.44 3.41333333 514.38933333c0.34133333 78.96177778 19.22844445 157.35466667 54.49955556 227.44177778v172.94222222c0 28.89955555 23.43822222 52.33777778 52.224 52.33777778h172.71466666c69.97333333 35.38488889 148.13866667 54.272 226.98666667 54.61333334h2.38933333c68.03911111 0 133.91644445-13.19822222 196.03911112-39.02577778 60.75733333-25.37244445 115.37066667-61.78133333 162.13333333-108.31644445 46.87644445-46.53511111 83.74044445-100.92088889 109.568-161.56444444 26.73777778-62.80533333 40.39111111-129.59288889 40.73244445-198.54222223 0.22755555-69.29066667-13.19822222-136.53333333-39.59466667-199.79377777zM284.89955555 566.61333333c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955556 54.61333333-24.34844445 54.61333333-54.49955556 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955555-54.61333333s24.46222222-54.61333333 54.49955555-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z m227.10044445 0c-30.03733333 0-54.49955555-24.46222222-54.49955556-54.61333333s24.46222222-54.61333333 54.49955556-54.61333333 54.49955555 24.46222222 54.49955555 54.61333333-24.46222222 54.61333333-54.49955555 54.61333333z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM745.4750693 325.8561164l-267.95558363 371.52436096c-16.15876501 22.52048353-49.62140436 22.52048353-65.78016939 0L253.07805667 477.51948567c-4.83490607-6.74342161 0-16.15876501 8.27023406-16.15876499h59.67291961c12.97790576 0 25.31963967 6.23448413 32.95370188 16.92217123l90.59087157 125.70755774 200.01242995-277.37092701c7.63406221-10.56045272 19.84856175-16.92217125 32.95370189-16.92217124H737.20483524c8.27023407 0 13.10514012 9.41534338 8.27023406 16.158765z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h468.2224823c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM720.79160148 697.63494611c5.59831228 6.61618726 0.8906406 16.6677025-7.76129658 16.66770249h-74.94104404c-5.98001539 0-11.70556205-2.67192177-15.64982754-7.25235911L512 575.36271635l-110.43943332 131.68757314c-3.81703111 4.58043732-9.54257777 7.25235911-15.64982754 7.25235911H310.9696951c-8.65193717 0-13.35960887-10.05151525-7.76129658-16.66770249L458.81603326 512 303.20839852 326.36505389c-5.59831228-6.61618726-0.8906406-16.6677025 7.76129658-16.66770249h74.94104404c5.98001539 0 11.70556205 2.67192177 15.64982754 7.25235911L512 448.63728365l110.43943332-131.68757314c3.81703111-4.58043732 9.54257777-7.25235911 15.64982754-7.25235911H713.0303049c8.65193717 0 13.35960887 10.05151525 7.76129658 16.66770249L565.18396674 512l155.60763474 185.63494611z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM677.02297814 523.19662459L423.31764398 722.70011704c-9.41534338 7.37959347-23.28388974 0.76340622-23.28388975-11.19662459V312.62374191c0-11.9600308 13.86854636-18.70345241 23.28388975-11.19662457l253.70533416 199.37625807c7.25235911 5.72554666 7.25235911 16.6677025 0 22.39324918z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 3.06251924H43.7775177c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499846v936.4449646c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h936.4449646c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V43.7775177c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846zM756.28999077 542.53624885c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962H552.71499847v193.39624268c0 5.59831228-4.58043732 10.17874961-10.17874962 10.17874962h-61.0724977c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962V552.71499847H277.88875885c-5.59831228 0-10.17874961-4.58043732-10.17874962-10.17874962v-61.0724977c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h193.39624268V277.88875885c0-5.59831228 4.58043732-10.17874961 10.17874962-10.17874962h61.0724977c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v193.39624268h193.39624268c5.59831228 0 10.17874961 4.58043732 10.17874962 10.17874962v61.0724977z",special:!0},{viewBox:[1024,1024],path:"M902.67315697 135.41705551L528.62204754 7.94466448C524.10877635 6.40354749 518.05438818 5.63298899 512 5.63298899s-12.10877635 0.7705585-16.62204754 2.31167549L121.32684303 135.41705551c-9.13662215 3.08223399-16.62204754 13.64989334-16.62204753 23.33691443v531.02488283c0 9.68702108 6.27454775 22.45627614 13.87005291 28.51066431L498.0198673 1013.9638196c3.85279247 2.9721542 8.8063828 4.51327118 13.87005291 4.51327118s10.12734022-1.54111698 13.87005291-4.51327118l379.4450189-295.67430252c7.59550517-5.94430839 13.87005291-18.71356345 13.87005291-28.51066431V158.75396994c0.22015956-9.68702108-7.26526581-20.14460066-16.40188796-23.33691443zM712.89560763 323.43332829L478.86598471 645.63685899c-7.04510625 9.68702108-21.57563786 9.68702108-28.6207441 0l-139.14084824-191.5388259c-4.18303182-5.8342286 0-13.9801327 7.15518603-13.9801327h60.76404132c5.61406904 0 11.0079785 2.75199463 14.31037204 7.26526582l71.22162091 97.97100864 166.11039557-228.74579323c3.30239355-4.51327118 8.58622323-7.26526581 14.31037204-7.26526581H705.7404216c7.15518602 0.11007979 11.33821785 8.25598388 7.15518603 14.09021248z",special:!0},{viewBox:[1024,1024],path:"M959.86498307 186.28001231H797.00498922v-101.78749614c0-44.91373267-36.51626425-81.42999692-81.42999691-81.42999693H308.42500769c-44.91373267 0-81.42999692 36.51626425-81.42999691 81.42999693v101.78749614H64.13501693c-22.52048353 0-40.71499847 18.19451494-40.71499846 40.71499847v40.71499845c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874962h76.8495596l31.42688945 665.43575611c2.03574992 43.38692024 37.91584233 77.61296581 81.30276254 77.6129658h577.64404066c43.5141546 0 79.26701262-34.09881122 81.30276254-77.6129658l31.42688945-665.43575611H990.40123192c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874962v-40.71499845c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499847z m-254.46874039 0H318.60375732v-91.60874653h386.79248536v91.60874653z",special:!0},{viewBox:[1024,1024],path:"M980.2224823 248.62485371H654.50249462V104.85001539c0-22.52048353-18.19451494-40.71499847-40.71499847-40.71499846H94.67126578v-50.89374808c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-71.25124732c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v997.5174623c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h71.25124732c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961V674.85999383h315.54123807v143.77483833c0 22.52048353 18.19451494 40.71499847 40.71499846 40.71499846h529.29497999c22.52048353 0 40.71499847-18.19451494 40.71499846-40.71499846V289.33985217c0-22.52048353-18.19451494-40.71499847-40.71499846-40.71499846z",special:!0},{viewBox:[1024,1024],path:"M804.63905145 265.16532183V94.67126578h109.42155836c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961H109.93939019c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h109.42155836v170.49405605c0 103.6960117 53.94737296 194.92305513 135.3773699 246.83467817-81.42999692 51.91162303-135.37736988 143.13866646-135.3773699 246.83467817v170.49405605h-109.42155836c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v71.25124732c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h804.12121962c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-71.25124732c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961h-109.42155836V758.83467817c0-103.6960117-53.94737296-194.92305513-135.3773699-246.83467817 81.42999692-51.91162303 135.37736988-143.13866646 135.3773699-246.83467817z",special:!0},{viewBox:[1024,1024],path:"M1020.928 448.44373333l-35.36213334-373.4528c-1.79200001-19.3536-17.2032-34.64533332-36.55679999-36.55679999L575.55626667 3.072h-0.47786666c-3.82293334 0-6.8096 1.19466667-9.07946669 3.46453333L6.53653333 565.99893332c-4.65919999 4.65919999-4.65919999 12.1856 0 16.84480001l434.61973334 434.61973334c2.26986667 2.26986667 5.25653333 3.46453333 8.48213333 3.46453333s6.21226667-1.19466667 8.48213333-3.46453333l559.46239999-559.46239999c2.38933332-2.5088 3.584-5.97333334 3.34506668-9.55733335zM735.40266668 362.66666667c-42.17173333 0-76.45866667-34.28693333-76.45866667-76.45866667s34.28693333-76.45866667 76.45866667-76.45866667 76.45866667 34.28693333 76.45866665 76.45866667-34.28693333 76.45866667-76.45866665 76.45866667z",special:!0}]},{type:"线性",children:[{viewBox:[1024,1024],path:"M1009.55537674 75.96950982l-61.38012212-61.38012214c-4.48769762-4.48769762-11.870684-4.48769762-16.3583816 0L14.44462326 931.67210859c-4.48769762 4.48769762-4.48769762 11.870684 0 16.35838159l61.38012212 61.38012214c4.48769762 4.48769762 11.870684 4.48769762 16.3583816 0L1009.41061232 92.18312698c4.63246205-4.34293316 4.63246205-11.72591956 0.14476442-16.21361716zM210.88996692 419.35075905c114.94296453 0 208.46079213-93.51782759 208.46079213-208.46079213s-93.51782759-208.46079213-208.46079213-208.4607921-208.46079213 93.51782759-208.4607921 208.4607921 93.51782759 208.46079213 208.4607921 208.46079213z m0-312.69118816c57.47148228 0 104.23039605 46.75891379 104.23039607 104.23039603s-46.75891379 104.23039605-104.23039607 104.23039607-104.23039605-46.75891379-104.23039603-104.23039607 46.75891379-104.23039605 104.23039603-104.23039603zM813.11003308 604.64924095c-114.94296453 0-208.46079213 93.51782759-208.46079213 208.46079213s93.51782759 208.46079213 208.46079213 208.4607921 208.46079213-93.51782759 208.4607921-208.4607921-93.51782759-208.46079213-208.4607921-208.46079213z m0 312.69118816c-57.47148228 0-104.23039605-46.75891379-104.23039607-104.23039603s46.75891379-104.23039605 104.23039607-104.23039607 104.23039605 46.75891379 104.23039603 104.23039607-46.75891379 104.23039605-104.23039603 104.23039603z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1004.96017383 478.58365209L483.27851088 25.80594621c-4.00443838-3.45210207-9.11354943-5.3852792-14.49882864-5.38527921h-122.20441284c-10.21822208 0-14.91308089 12.70373557-7.18037228 19.33177152l483.57045622 419.77561022H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672657v82.85044938c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672657h807.92996557L339.25681303 984.24756148c-7.7327086 6.76612003-3.0378498 19.33177153 7.18037229 19.33177152h126.34693531c2.62359757 0 5.24719513-0.96658859 7.18037228-2.76168164L1004.96017383 545.41634791c20.2983601-17.67476253 20.2983601-49.1579333 0-66.83269582z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1011.38217956 558.9924242L545.80649025 22.43713295c-17.81503843-20.62055629-49.79794206-20.62055629-67.75325638 0L12.61782044 558.9924242c-6.31241519 7.29434645-1.12220714 18.51641789 8.41655359 18.51641789h113.62347344c6.45269109 0 12.62483038-2.80551785 16.97338308-7.71517411L458.69516062 215.87758959V1005.77114384c0 6.1721393 5.04993216 11.22207145 11.22207144 11.22207145h84.16553588c6.1721393 0 11.22207145-5.04993216 11.22207144-11.22207145V215.87758959l307.06393007 353.91607839c4.20827679 4.90965626 10.38041608 7.71517413 16.97338308 7.71517411h113.62347344c9.53876074 0 14.72896878-11.22207145 8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1009.1026963 459.52804874H201.17273073l483.57045624-419.77561022c7.7327086-6.76612003 3.0378498-19.33177153-7.18037229-19.33177152h-122.20441283c-5.3852792 0-10.49439025 1.93317715-14.49882866 5.38527921L19.03982617 478.58365209c-20.2983601 17.67476253-20.2983601 49.1579333 0 66.69461175L543.89742302 1000.81765136c2.07126124 1.79509307 4.55677472 2.76168163 7.18037228 2.76168164h126.3469353c10.21822208 0 14.91308089-12.70373557 7.18037228-19.33177152L201.17273073 564.47195126H1009.1026963c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672657v-82.85044938c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672657z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1002.96562597 446.49115791h-113.62347344c-6.45269109 0-12.62483038 2.80551785-16.97338308 7.71517411L565.30483938 808.12241041V18.22885616c0-6.1721393-5.04993216-11.22207145-11.22207144-11.22207145h-84.16553588c-6.1721393 0-11.22207145 5.04993216-11.22207144 11.22207145v789.89355425L151.63123055 454.20633202c-4.20827679-4.90965626-10.38041608-7.71517413-16.97338308-7.71517411h-113.62347344c-9.53876074 0-14.72896878 11.36234735-8.41655359 18.51641789L478.19350975 1001.56286705c17.81503843 20.62055629 49.79794206 20.62055629 67.75325638 0L1011.38217956 465.0075758c6.31241519-7.29434645 1.12220714-18.51641789-8.41655359-18.51641789z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M975.82443246 622.46726585H14.8973037c-6.07569962 0-11.04672658 4.97102697-11.04672658 11.04672658v82.85044937c0 6.07569962 4.97102697 11.04672658 11.04672658 11.04672659h835.6848661L651.32683905 980.10503902c-5.66144737 7.18037229-0.55233633 17.9509307 8.69929718 17.9509307h100.11095967c6.76612003 0 13.11798782-3.0378498 17.39859437-8.42312903l233.08593092-295.63802022c22.78387358-28.99765728 2.20934532-71.52755463-34.79718873-71.52755462zM1009.1026963 296.58883161H173.4178302l199.25533075-252.69387063c5.66144737-7.18037229 0.55233633-17.9509307-8.69929718-17.9509307h-100.11095967c-6.76612003 0-13.11798782 3.0378498-17.39859437 8.42312903L13.37837881 330.00517953c-22.78387358 28.99765728-2.20934532 71.52755463 34.65910466 71.52755462h961.06521283c6.07569962 0 11.04672658-4.97102697 11.04672658-11.04672658v-82.85044937c0-6.07569962-4.97102697-11.04672658-11.04672658-11.04672659z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M1010.75873115 64.13501693H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874961v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874964h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874964v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874961zM1010.75873115 858.07748691H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874964v81.42999691c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874961h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874961v-81.42999691c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874964zM1010.75873115 461.10625194H13.24126885c-5.59831228 0-10.17874961 4.58043732-10.17874961 10.17874959v81.42999694c0 5.59831228 4.58043732 10.17874961 10.17874961 10.17874959h997.5174623c5.59831228 0 10.17874961-4.58043732 10.17874961-10.17874959v-81.42999694c0-5.59831228-4.58043732-10.17874961-10.17874961-10.17874959z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M591.98717801 512l405.34042913-483.16579151c6.79427767-8.02960089 1.08090782-20.22841761-9.41933951-20.2284176h-123.22349044c-7.25752386 0-14.20621693 3.24272343-18.99309439 8.80167789L511.38233839 415.95362022 177.07299399 17.40746878c-4.63246205-5.55895447-11.58115512-8.80167789-18.99309439-8.80167789H34.85640916c-10.50024731 0-16.21361717 12.19881672-9.41933952 20.2284176L430.77749876 512 25.43706964 995.16579151c-6.79427767 8.02960089-1.08090782 20.22841761 9.41933952 20.2284176h123.22349044c7.25752386 0 14.20621693-3.24272343 18.99309439-8.80167789l334.3093444-398.54615144 334.30934441 398.54615144c4.63246205 5.55895447 11.58115512 8.80167789 18.99309439 8.80167789h123.22349044c10.50024731 0 16.21361717-12.19881672 9.41933951-20.2284176L591.98717801 512z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M953.5488 832.61667556c-24.08448-57.08913778-58.74574221-108.31644445-102.70947556-152.28017777-43.96373333-43.96373333-95.19104-78.49756444-152.28017777-102.70947558-0.50972445-0.25486222-1.01944888-0.38229333-1.52917334-0.63715555C776.41955556 519.64586667 828.02915556 426.23886221 828.02915556 320.85333332c0-174.58062221-141.44853334-316.02915556-316.02915556-316.02915554S195.97084444 146.27271111 195.97084444 320.85333332c0 105.38552889 51.6096 198.79253333 130.99918223 256.26396447-0.50972445 0.25486222-1.01944888 0.38229333-1.52917334 0.63715555-57.08913778 24.08448-108.31644445 58.61831112-152.28017777 102.70947554-43.96373333 43.96373333-78.49756444 95.19104-102.70947556 152.28017779C46.74901333 888.55893332 34.13333334 947.8144 32.85902222 1008.72647111c-0.12743111 5.7344 4.46008889 10.44935111 10.19448889 10.44935111h76.45866667c5.60696888 0 10.06705778-4.46008889 10.19448889-9.93962666 2.54862221-98.37681778 42.05226667-190.50951112 111.88451555-260.34176001 72.25344-72.25344 168.20906666-112.01194667 270.40881778-112.01194667s198.15537778 39.75850667 270.40881778 112.01194667C852.24106667 818.72668444 891.74471111 910.85937779 894.29333333 1009.23619556c0.12743111 5.60696888 4.58752 9.93962667 10.19448889 9.93962666h76.45866667c5.7344 0 10.32192-4.71495112 10.19448889-10.44935111-1.27431111-60.91207112-13.88999112-120.16753779-37.59217778-176.10979555zM512 540.03484444c-58.49088 0-113.54112-22.81016889-154.95623111-64.22527999S292.81848888 379.34421333 292.81848888 320.85333332c0-58.49088 22.81016889-113.54112 64.22528001-154.9562311S453.50912 101.67182221 512 101.67182221s113.54112 22.81016889 154.95623111 64.22528001S731.18151112 262.36245333 731.18151112 320.85333332c0 58.49088-22.81016889 113.54112-64.22528001 154.95623113S570.49088 540.03484444 512 540.03484444z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 111.50222222H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888889v728.17777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h946.6311111c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V147.91111111c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888889z m-45.5111111 126.06577778V830.57777778H84.19555555V237.568l-31.40266666-24.46222222 44.71466666-57.45777778 48.6968889 37.888h731.70488888l48.69688889-37.888 44.71466667 57.45777778-31.51644444 24.46222222z M877.90933333 193.42222222L512 477.86666667 146.09066667 193.42222222l-48.69688889-37.888-44.71466667 57.45777778 31.40266667 24.46222222 388.66488889 302.19377778c22.98311111 17.86311111 55.18222222 17.86311111 78.16533333 0L939.80444445 237.568l31.40266666-24.46222222-44.71466666-57.45777778-48.58311112 37.77422222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M985.31555555 88.74666667H38.68444445c-20.13866667 0-36.40888889 16.27022222-36.4088889 36.40888888v564.33777778c0 20.13866667 16.27022222 36.40888889 36.4088889 36.40888889h432.35555555v127.43111111H275.34222222c-10.01244445 0-18.20444445 8.192-18.20444444 18.20444445v54.61333333c0 5.00622222 4.096 9.10222222 9.10222222 9.10222222h491.52c5.00622222 0 9.10222222-4.096 9.10222222-9.10222222v-54.61333333c0-10.01244445-8.192-18.20444445-18.20444444-18.20444445H552.96V725.90222222h432.35555555c20.13866667 0 36.40888889-16.27022222 36.4088889-36.40888889V125.15555555c0-20.13866667-16.27022222-36.40888889-36.4088889-36.40888888z m-45.5111111 555.23555555H84.19555555V170.66666667h855.6088889v473.31555555z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M512 2.27555555C230.51377778 2.27555555 2.27555555 230.51377778 2.27555555 512s228.23822222 509.72444445 509.72444445 509.72444445 509.72444445-228.23822222 509.72444445-509.72444445S793.48622222 2.27555555 512 2.27555555z m0 932.97777778c-233.69955555 0-423.25333333-189.55377778-423.25333333-423.25333333 0-101.26222222 35.61244445-194.33244445 95.00444444-267.15022222l595.39911111 595.39911111C706.33244445 899.64088889 613.26222222 935.25333333 512 935.25333333z m328.24888889-156.10311111L244.84977778 183.75111111C317.66755555 124.35911111 410.73777778 88.74666667 512 88.74666667c233.69955555 0 423.25333333 189.55377778 423.25333333 423.25333333 0 101.26222222-35.61244445 194.33244445-95.00444444 267.15022222z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M901.80266667 257.82044445L656.95288889 12.97066667c-6.82666667-6.82666667-16.04266667-10.69511111-25.71377778-10.69511112H147.91111111c-20.13866667 0-36.40888889 16.27022222-36.40888889 36.4088889v946.6311111c0 20.13866667 16.27022222 36.40888889 36.40888889 36.4088889h728.17777778c20.13866667 0 36.40888889-16.27022222 36.40888889-36.4088889V283.648c0-9.67111111-3.86844445-19.00088889-10.69511111-25.82755555zM828.52977778 300.37333333H614.4V86.24355555L828.52977778 300.37333333z m2.048 639.43111112H193.42222222V84.19555555h343.60888889v245.76c0 26.39644445 21.39022222 47.78666667 47.78666667 47.78666667h245.76v562.06222223z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M981.07392 55.79662222H42.92608c-31.22062222 0-50.71758221 34.02410666-35.04355556 61.16693334L304.28728889 620.82616888V927.42542221c0 22.55530667 18.09521779 40.77795555 40.52309333 40.77795557h334.37923556c22.42787556 0 40.52309333-18.22264888 40.52309333-40.77795557V620.82616888L1016.24490667 116.96355556c15.54659555-27.14282666-3.95036444-61.16693333-35.17098667-61.16693334zM628.47203556 876.45297779H395.52796444V677.66044445h233.07150222v198.79253334z m12.23338666-301.50200891l-12.10595556 21.15356445h-233.19893332l-12.10595556-21.15356445L130.59868445 147.54702221h762.8026311L640.70542222 574.95096888z",special:!0,outlined:!0},{viewBox:[1024,1024],path:"M980.62285431 4.54099753H654.39920987c-4.2719763 0-7.76722963 3.49525333-7.76722962 7.76722964v72.4941432c0 4.2719763 3.49525333 7.76722963 7.76722962 7.76722963h207.64393877L604.04167111 350.57107753c-64.72691358-49.83972347-143.69374815-76.7661195-226.67365136-76.7661195-99.54999309 0-193.27456395 38.83614815-263.5679921 109.25903012S4.54099753 547.08198717 4.54099753 646.63198025s38.83614815 193.27456395 109.25903012 263.5679921C184.09345581 980.62285431 277.81802667 1019.45900247 377.36801975 1019.45900247s193.27456395-38.83614815 263.5679921-109.25903012C711.35889383 839.90654419 750.19504197 746.18197333 750.19504197 646.63198025c0-82.9799032-26.92639605-161.68783013-76.63666567-226.41474372L931.4304 162.34521283V369.60079013c0 4.2719763 3.49525333 7.76722963 7.76722963 7.76722962h72.4941432c4.2719763 0 7.76722963-3.49525333 7.76722964-7.76722962V43.37714569c0-21.35988148-17.47626667-38.83614815-38.83614816-38.83614816zM377.36801975 921.07409383c-151.33152395 0-274.44211358-123.11058963-274.44211358-274.44211358s123.11058963-274.44211358 274.44211358-274.44211358 274.44211358 123.11058963 274.44211358 274.44211358-123.11058963 274.44211358-274.44211358 274.44211358z",special:!0,outlined:!0}]}],LT={bar:"柱状图",column:"条形图",line:"折线图",area:"面积图",scatter:"散点图",pie:"饼图",ring:"环形图",radar:"雷达图"},U2e={bar:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},column:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},line:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},pie:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["值"],series:[[12,19,5,2,18]]},ring:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["值"],series:[[12,19,5,2,18]]},area:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},radar:{labels:["类别1","类别2","类别3","类别4","类别5"],legends:["系列1","系列2"],series:[[12,19,5,2,18],[7,11,13,21,9]]},scatter:{labels:["坐标1","坐标2","坐标3","坐标4","坐标5"],legends:["X","Y"],series:[[12,19,5,2,18],[7,11,13,21,9]]}},B2e=[["#d87c7c","#919e8b","#d7ab82","#6e7074","#61a0a8","#efa18d"],["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78"],["#516b91","#59c4e6","#edafda","#93b7e3","#a5e7f0","#cbb0e3"],["#893448","#d95850","#eb8146","#ffb248","#f2d643","#ebdba4"],["#4ea397","#22c3aa","#7bd9a5","#d0648a","#f58db2","#f2b3c9"],["#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463"],["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3"],["#e01f54","#001852","#f5e8c8","#b8d2c7","#c6b38e","#a4d8c2"],["#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8"],["#8a7ca8","#e098c7","#8fd3e8","#71669e","#cc70af","#7cb4cc"]],nn=()=>{const e=JS(),t=Yn.debounce(function(){e.addSnapshot()},300,{trailing:!0}),n=Yn.throttle(function(){e.reDo()},100,{leading:!0,trailing:!1}),r=Yn.throttle(function(){e.unDo()},100,{leading:!0,trailing:!1});return{addHistorySnapshot:t,redo:n,undo:r}},c0=()=>{const e=ht(),t=ut(),{creatingElement:n}=De(e),{theme:r,viewportRatio:i,viewportSize:o}=De(t),{addHistorySnapshot:a}=nn(),s=(m,y)=>{t.addElement(m),e.setActiveElementIdList([m.id]),n.value&&e.setCreatingElement(null),setTimeout(()=>{e.setEditorareaFocus(!0)},0),y&&y(),a()};return{createImageElement:m=>{WH(m).then(({width:y,height:R})=>{const A=R/y;Ao.value?(y=o.value,R=y*A):R>o.value*i.value&&(R=o.value*i.value,y=R/A),s({type:"image",id:on(10),src:m,width:y,height:R,left:(o.value-y)/2,top:(o.value*i.value-R)/2,fixedRatio:!0,rotate:0})})},createChartElement:m=>{s({type:"chart",id:on(10),chartType:m,left:300,top:81.25,width:400,height:400,rotate:0,themeColors:[r.value.themeColor],textColor:r.value.fontColor,data:U2e[m]})},createTableElement:(m,y)=>{const R={fontname:r.value.fontName,color:r.value.fontColor},A=[];for(let _=0;_{const{left:R,top:A,width:x,height:S}=m,L=(y==null?void 0:y.content)||"",w=(y==null?void 0:y.vertical)||!1,M=on(10);s({type:"text",id:M,left:R,top:A,width:x,height:S,content:L,rotate:0,defaultFontName:r.value.fontName,defaultColor:r.value.fontColor,vertical:w},()=>{setTimeout(()=>{const _=document.querySelector(`#editable-element-${M} .ProseMirror`);_&&_.focus()},0)})},createShapeElement:(m,y,R={})=>{const{left:A,top:x,width:S,height:L}=m,w={type:"shape",id:on(10),left:A,top:x,width:S,height:L,viewBox:y.viewBox,path:y.path,fill:r.value.themeColor,fixedRatio:!1,rotate:0,...R};if(y.withborder&&(w.outline=r.value.outline),y.special&&(w.special=!0),y.pathFormula){w.pathFormula=y.pathFormula,w.viewBox=[S,L];const M=u0[y.pathFormula];"editable"in M&&M.editable?(w.path=M.formula(S,L,M.defaultValue),w.keypoints=M.defaultValue):w.path=M.formula(S,L)}s(w)},createLineElement:(m,y)=>{const{left:R,top:A,start:x,end:S}=m,L={type:"line",id:on(10),left:R,top:A,start:x,end:S,points:y.points,color:r.value.themeColor,style:y.style,width:2};y.isBroken&&(L.broken=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isBroken2&&(L.broken2=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isCurve&&(L.curve=[(x[0]+S[0])/2,(x[1]+S[1])/2]),y.isCubic&&(L.cubic=[[(x[0]+S[0])/2,(x[1]+S[1])/2],[(x[0]+S[0])/2,(x[1]+S[1])/2]]),s(L)},createLatexElement:m=>{s({type:"latex",id:on(10),width:m.w,height:m.h,rotate:0,left:(o.value-m.w)/2,top:(o.value*i.value-m.h)/2,path:m.path,latex:m.latex,color:r.value.fontColor,strokeWidth:2,viewBox:[m.w,m.h],fixedRatio:!0})},createVideoElement:m=>{s({type:"video",id:on(10),width:500,height:300,rotate:0,left:(o.value-500)/2,top:(o.value*i.value-300)/2,src:m,autoplay:!1})},createAudioElement:m=>{s({type:"audio",id:on(10),width:50,height:50,rotate:0,left:(o.value-50)/2,top:(o.value*i.value-50)/2,loop:!1,autoplay:!1,fixedRatio:!0,color:r.value.themeColor,src:m})}}},H2=()=>{const e=ht(),t=ut(),{currentSlide:n}=De(t),{addHistorySnapshot:r}=nn();return{addElementsFromData:a=>{const{groupIdMap:s,elIdMap:l}=MT(a),u=a[0];let c=0,f;do f=n.value.elements.find(d=>{if(d.type!==u.type)return!1;const{minX:h,maxX:p,minY:v,maxY:g}=hs(d),{minX:m,maxX:y,minY:R,maxY:A}=hs({...u,left:u.left+c,top:u.top+c});return h===m&&p===y&&v===R&&g===A}),f&&(c+=10);while(f);for(const d of a)d.id=l[d.id],d.left=d.left+c,d.top=d.top+c,d.groupId&&(d.groupId=s[d.groupId]);t.addElement(a),e.setActiveElementIdList(Object.values(l)),r()},addSlidesFromData:a=>{const s=X2e(a),l=a.map(u=>{const{groupIdMap:c,elIdMap:f}=MT(u.elements);for(const d of u.elements)d.id=f[d.id],d.groupId&&(d.groupId=c[d.groupId]),d.link&&d.link.type==="slide"&&(s[d.link.target]?d.link.target=s[d.link.target]:delete d.link);if(u.animations)for(const d of u.animations)d.id=on(10),d.elId=f[d.elId];return{...u,id:s[u.id]}});t.addSlide(l),r()}}},Y2e=e=>{const t=/^https?:\/\/(?:[a-zA-Z0-9-]+\.)*pexels\.com\/[^\s]+\.(?:jpg|jpeg|png|svg|webp)(?:\?.*)?$/i.test(e),n=/^https?:\/\/(?:[a-zA-Z0-9-]+\.)*pptist\.cn\/[^\s]+\.(?:jpg|jpeg|png|svg|webp)(?:\?.*)?$/i.test(e);return t||n},QO=()=>{const{shiftKeyState:e}=De(pl()),{createTextElement:t,createImageElement:n}=c0(),{addElementsFromData:r,addSlidesFromData:i}=H2(),o=s=>{t({left:0,top:0,width:600,height:50},{content:s})};return{pasteTextClipboardData:(s,l)=>{const u=(l==null?void 0:l.onlySlide)||!1,c=(l==null?void 0:l.onlyElements)||!1,f=BO(s);if(typeof f=="object"){const{type:d,data:h}=f;d==="elements"&&!u?r(h):d==="slides"&&!c&&i(h)}else if(!c&&!u)if(e.value){const d=Sx(f);o(d)}else if(Y2e(f))n(f);else if($pe(f))o(`${f}`);else if(V2e(f)){const d=D2e(f);sd(d).then(h=>n(h))}else{const d=Sx(f);o(d)}}}},gc=()=>{const e=ht(),t=ut(),{selectedSlidesIndex:n,activeElementIdList:r}=De(e),{currentSlide:i,slides:o,theme:a,slideIndex:s}=De(t),l=we(()=>[...n.value,s.value]),u=we(()=>o.value.filter((_,k)=>l.value.includes(k))),c=we(()=>u.value.map(_=>_.id)),{pasteTextClipboardData:f}=QO(),{addSlidesFromData:d}=H2(),{addHistorySnapshot:h}=nn(),p=()=>{const _={id:on(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};t.updateSlideIndex(0),e.setActiveElementIdList([]),t.setSlides([_])},v=_=>{_===At.UP&&s.value>0?(r.value.length&&e.setActiveElementIdList([]),t.updateSlideIndex(s.value-1)):_===At.DOWN&&s.value{const _=UO(JSON.stringify({type:"slides",data:u.value}));NH(_).then(()=>{e.setThumbnailsFocus(!0)})},m=()=>{FH().then(_=>{f(_,{onlySlide:!0})}).catch(_=>gn.warning(_))},y=()=>{const _={id:on(10),elements:[],background:{type:"solid",color:a.value.backgroundColor}};e.setActiveElementIdList([]),t.addSlide(_),h()},R=_=>{const{groupIdMap:k,elIdMap:P}=MT(_.elements);for(const C of _.elements)C.id=P[C.id],C.groupId&&(C.groupId=k[C.groupId]);const N={..._,id:on(10)};e.setActiveElementIdList([]),t.addSlide(N),h()},A=()=>{const _=JSON.parse(JSON.stringify(i.value));d([_])},x=(_=c.value)=>{o.value.length===_.length?p():t.deleteSlide(_),e.updateSelectedSlidesIndex([]),h()},S=()=>{const _=[...c.value];g(),x(_)},L=()=>{const _=Array.from(Array(o.value.length),(k,P)=>P);e.setActiveElementIdList([]),e.updateSelectedSlidesIndex(_)},w=(_,k)=>{if(k===_)return;const P=JSON.parse(JSON.stringify(o.value)),N=P[k],C=N.sectionTag;if(C){const I=P[k+1];delete N.sectionTag,I&&!I.sectionTag&&(I.sectionTag=C)}if(_===0){const I=P[0].sectionTag;I&&(delete P[0].sectionTag,N.sectionTag=I)}const F=P[k];P.splice(k,1),P.splice(_,0,F),t.setSlides(P),t.updateSlideIndex(_)},M=we(()=>!(o.value.length>1||o.value[0].elements.length>0));return{resetSlides:p,updateSlideIndex:v,copySlide:g,pasteSlide:m,createSlide:y,createSlideByTemplate:R,copyAndPasteSlide:A,deleteSlide:x,cutSlide:S,selectAllSlide:L,sortSlides:w,isEmptySlide:M}},VH=()=>{const e=ht(),t=ut(),{activeElementIdList:n}=De(e),{currentSlide:r}=De(t),{addHistorySnapshot:i}=nn();return{lockElement:()=>{const s=JSON.parse(JSON.stringify(r.value.elements));for(const l of s)n.value.includes(l.id)&&(l.lock=!0);t.updateSlide({elements:s}),e.setActiveElementIdList([]),i()},unlockElement:s=>{const l=JSON.parse(JSON.stringify(r.value.elements));if(s.groupId){const u=[];for(const c of l)c.groupId===s.groupId&&(c.lock=!1,u.push(c.id));t.updateSlide({elements:l}),e.setActiveElementIdList(u)}else{for(const u of l)if(u.id===s.id){u.lock=!1;break}t.updateSlide({elements:l}),e.setActiveElementIdList([s.id])}i()}}},K2=()=>{const e=ht(),t=ut(),{activeElementIdList:n,activeGroupElementId:r}=De(e),{currentSlide:i}=De(t),{addHistorySnapshot:o}=nn();return{deleteElement:()=>{if(!n.value.length)return;let l=[];r.value?l=i.value.elements.filter(u=>u.id!==r.value):l=i.value.elements.filter(u=>!n.value.includes(u.id)),e.setActiveElementIdList([]),t.updateSlide({elements:l}),o()},deleteAllElements:()=>{i.value.elements.length&&(e.setActiveElementIdList([]),t.updateSlide({elements:[]}),o())}}},HO=()=>{const e=ht(),t=ut(),{activeElementIdList:n,activeElementList:r,handleElementId:i}=De(e),{currentSlide:o}=De(t),{addHistorySnapshot:a}=nn();return{canCombine:we(()=>{if(r.value.length<2)return!1;const c=r.value[0].groupId;return c?!r.value.every(d=>(d.groupId&&d.groupId)===c):!0}),combineElements:()=>{if(!r.value.length)return;let c=JSON.parse(JSON.stringify(o.value.elements));const f=on(10),d=[];for(const g of c)n.value.includes(g.id)&&(g.groupId=f,d.push(g));const h=c.findIndex(g=>g.id===d[d.length-1].id),p=d.map(g=>g.id);c=c.filter(g=>!p.includes(g.id));const v=h-d.length+1;c.splice(v,0,...d),t.updateSlide({elements:c}),a()},uncombineElements:()=>{if(!r.value.length||!r.value.some(h=>h.groupId))return;const f=JSON.parse(JSON.stringify(o.value.elements));for(const h of f)n.value.includes(h.id)&&h.groupId&&delete h.groupId;t.updateSlide({elements:f});const d=i.value?[i.value]:[];e.setActiveElementIdList(d),a()}}},KO=()=>{const e=ht(),{activeElementIdList:t,activeElementList:n}=De(e),{pasteTextClipboardData:r}=QO(),{deleteElement:i}=K2(),o=()=>{if(!t.value.length)return;const u=UO(JSON.stringify({type:"elements",data:n.value}));NH(u).then(()=>{e.setEditorareaFocus(!0)})},a=()=>{o(),i()},s=()=>{FH().then(u=>{r(u)}).catch(u=>gn.warning(u))};return{copyElement:o,cutElement:a,pasteElement:s,quickCopyElement:()=>{o(),s()}}},i3=()=>{const e=ht(),{currentSlide:t}=De(ut()),{hiddenElementIdList:n,handleElementId:r}=De(e);return{selectAllElements:()=>{const s=t.value.elements.filter(l=>!l.lock&&!n.value.includes(l.id)).map(l=>l.id);e.setActiveElementIdList(s)},selectElement:a=>{r.value===a||n.value.includes(a)||t.value.elements.filter(l=>l.lock).some(l=>l.id===a)||e.setActiveElementIdList([a])}}},Z2e=()=>{const e=ut(),{activeElementIdList:t,activeGroupElementId:n}=De(ht()),{currentSlide:r}=De(e),{addHistorySnapshot:i}=nn();return{moveElement:(a,s=1)=>{let l=[];const u=c=>{let{left:f,top:d}=c;switch(a){case At.LEFT:f=f-s;break;case At.RIGHT:f=f+s;break;case At.UP:d=d-s;break;case At.DOWN:d=d+s;break}return{...c,left:f,top:d}};n.value?l=r.value.elements.map(c=>n.value===c.id?u(c):c):l=r.value.elements.map(c=>t.value.includes(c.id)?u(c):c),e.updateSlide({elements:l}),i()}}},G2=()=>{const e=ut(),{currentSlide:t}=De(e),{addHistorySnapshot:n}=nn(),r=(u,c)=>({minLevel:u.findIndex(f=>f.id===c[0].id),maxLevel:u.findIndex(f=>f.id===c[c.length-1].id)}),i=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(m=>m.groupId===c.groupId),{minLevel:h,maxLevel:p}=r(u,d);if(p===u.length-1)return;const v=f[p+1],g=f.splice(h,d.length);if(v.groupId){const m=f.filter(y=>y.groupId===v.groupId);f.splice(h+m.length,0,...g)}else f.splice(h+1,0,...g)}else{const d=u.findIndex(v=>v.id===c.id);if(d===u.length-1)return;const h=f[d+1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(g=>g.groupId===h.groupId);f.splice(d+v.length,0,p)}else f.splice(d+1,0,p)}return f},o=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(g=>g.groupId===c.groupId),{minLevel:h}=r(u,d);if(h===0)return;const p=f[h-1],v=f.splice(h,d.length);if(p.groupId){const g=f.filter(m=>m.groupId===p.groupId);f.splice(h-g.length,0,...v)}else f.splice(h-1,0,...v)}else{const d=u.findIndex(v=>v.id===c.id);if(d===0)return;const h=f[d-1],p=f.splice(d,1)[0];if(h.groupId){const v=f.filter(g=>g.groupId===h.groupId);f.splice(d-v.length,0,p)}else f.splice(d-1,0,p)}return f},a=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(g=>g.groupId===c.groupId),{minLevel:h,maxLevel:p}=r(u,d);if(p===u.length-1)return null;const v=f.splice(h,d.length);f.push(...v)}else{const d=u.findIndex(h=>h.id===c.id);if(d===u.length-1)return null;f.splice(d,1),f.push(c)}return f},s=(u,c)=>{const f=JSON.parse(JSON.stringify(u));if(c.groupId){const d=f.filter(v=>v.groupId===c.groupId),{minLevel:h}=r(u,d);if(h===0)return;const p=f.splice(h,d.length);f.unshift(...p)}else{const d=u.findIndex(h=>h.id===c.id);if(d===0)return;f.splice(d,1),f.unshift(c)}return f};return{orderElement:(u,c)=>{let f;c===Wr.UP?f=i(t.value.elements,u):c===Wr.DOWN?f=o(t.value.elements,u):c===Wr.TOP?f=a(t.value.elements,u):c===Wr.BOTTOM&&(f=s(t.value.elements,u)),f&&(e.updateSlide({elements:f}),n())}}},GO=()=>{const e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen?e.webkitRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},DH=()=>{document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},TT=()=>!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement),ld=()=>{const e=rH(),t=ut(),n=()=>{GO(),e.setScreening(!0)};return{enterScreening:n,enterScreeningFromStart:()=>{t.updateSlideIndex(0),n()},exitScreening:()=>{e.setScreening(!1),TT()&&DH()}}},zO=()=>{const e=ht(),{canvasPercentage:t,canvasScale:n,canvasDragged:r}=De(e);return{canvasScalePercentage:we(()=>Math.round(n.value*100)+"%"),setCanvasScalePercentage:l=>{const u=Math.round(l/n.value*t.value)/100;e.setCanvasPercentage(u)},scaleCanvas:l=>{let u=t.value;const c=5,f=200,d=30;l==="+"&&u<=f&&(u+=c),l==="-"&&u>=d&&(u-=c),e.setCanvasPercentage(u)},resetCanvas:()=>{e.setCanvasPercentage(90),r&&e.setCanvasDragged(!1)}}},Q2e=()=>{const e=ht(),t=pl(),{activeElementIdList:n,disableHotkeys:r,handleElement:i,handleElementId:o,editorAreaFocus:a,thumbnailsFocus:s,showSearchPanel:l}=De(e),{currentSlide:u}=De(ut()),{ctrlKeyState:c,shiftKeyState:f,spaceKeyState:d}=De(t),{updateSlideIndex:h,copySlide:p,createSlide:v,deleteSlide:g,cutSlide:m,copyAndPasteSlide:y,selectAllSlide:R}=gc(),{combineElements:A,uncombineElements:x}=HO(),{deleteElement:S}=K2(),{lockElement:L}=VH(),{copyElement:w,cutElement:M,quickCopyElement:_}=KO(),{selectAllElements:k}=i3(),{moveElement:P}=Z2e(),{orderElement:N}=G2(),{redo:C,undo:F}=nn(),{enterScreening:I,enterScreeningFromStart:W}=ld(),{scaleCanvas:D,resetCanvas:Z}=zO(),re=()=>{n.value.length?w():s.value&&p()},B=()=>{n.value.length?M():s.value&&m()},Y=()=>{n.value.length?_():s.value&&y()},Q=()=>{a.value&&k(),s.value&&R()},K=()=>{a.value&&L()},q=()=>{a.value&&A()},$=()=>{a.value&&x()},de=()=>{n.value.length?S():s.value&&g()},G=J=>{n.value.length?P(J):(J===At.UP||J===At.DOWN)&&h(J)},Ae=J=>{J===At.PAGEUP?h(At.UP):J===At.PAGEDOWN&&h(At.DOWN)},ce=J=>{i.value&&N(i.value,J)},fe=()=>{s.value&&v()},le=()=>{if(!u.value.elements.length)return;if(!o.value){const ne=u.value.elements[0];e.setActiveElementIdList([ne.id]);return}const J=u.value.elements.findIndex(ne=>ne.id===o.value),se=J>=u.value.elements.length-1?0:J+1,ee=u.value.elements[se].id;e.setActiveElementIdList([ee])},j=J=>{const{ctrlKey:se,shiftKey:ee,altKey:ne,metaKey:oe}=J,he=se||oe,ue=J.key.toUpperCase();if(he&&!c.value&&t.setCtrlKeyState(!0),ee&&!f.value&&t.setShiftKeyState(!0),!r.value&&ue===At.SPACE&&t.setSpaceKeyState(!0),he&&ue===At.P){J.preventDefault(),e.setDialogForExport("pdf");return}if(ee&&ue===At.F5){J.preventDefault(),I(),t.setShiftKeyState(!1);return}if(ue===At.F5){J.preventDefault(),W();return}if(se&&ue===At.F){J.preventDefault(),e.setSearchPanelState(!l.value);return}if(!(!a.value&&!s.value)){if(he&&ue===At.C){if(r.value)return;J.preventDefault(),re()}if(he&&ue===At.X){if(r.value)return;J.preventDefault(),B()}if(he&&ue===At.D){if(r.value)return;J.preventDefault(),Y()}if(he&&ue===At.Z){if(r.value)return;J.preventDefault(),F()}if(he&&ue===At.Y){if(r.value)return;J.preventDefault(),C()}if(he&&ue===At.A){if(r.value)return;J.preventDefault(),Q()}if(he&&ue===At.L){if(r.value)return;J.preventDefault(),K()}if(!ee&&he&&ue===At.G){if(r.value)return;J.preventDefault(),q()}if(ee&&he&&ue===At.G){if(r.value)return;J.preventDefault(),$()}if(ne&&ue===At.F){if(r.value)return;J.preventDefault(),ce(Wr.TOP)}if(ne&&ue===At.B){if(r.value)return;J.preventDefault(),ce(Wr.BOTTOM)}if(ue===At.DELETE||ue===At.BACKSPACE){if(r.value)return;J.preventDefault(),de()}if(ue===At.UP){if(r.value)return;J.preventDefault(),G(At.UP)}if(ue===At.DOWN){if(r.value)return;J.preventDefault(),G(At.DOWN)}if(ue===At.LEFT){if(r.value)return;J.preventDefault(),G(At.LEFT)}if(ue===At.RIGHT){if(r.value)return;J.preventDefault(),G(At.RIGHT)}if(ue===At.PAGEUP){if(r.value)return;J.preventDefault(),Ae(At.PAGEUP)}if(ue===At.PAGEDOWN){if(r.value)return;J.preventDefault(),Ae(At.PAGEDOWN)}if(ue===At.ENTER){if(r.value)return;J.preventDefault(),fe()}if(ue===At.MINUS){if(r.value)return;J.preventDefault(),D("-")}if(ue===At.EQUAL){if(r.value)return;J.preventDefault(),D("+")}if(ue===At.DIGIT_0){if(r.value)return;J.preventDefault(),Z()}if(ue===At.TAB){if(r.value)return;J.preventDefault(),le()}a.value&&!ee&&!he&&!r.value&&(ue===At.T?e.setCreatingElement({type:"text"}):ue===At.R?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z"}}):ue===At.O?e.setCreatingElement({type:"shape",data:{viewBox:[200,200],path:"M 100 0 A 50 50 0 1 1 100 200 A 50 50 0 1 1 100 0 Z"}}):ue===At.L&&e.setCreatingElement({type:"line",data:{path:"M 0 0 L 20 20",style:"solid",points:["",""]}}))}},X=()=>{c.value&&t.setCtrlKeyState(!1),f.value&&t.setShiftKeyState(!1),d.value&&t.setSpaceKeyState(!1)};Ht(()=>{document.addEventListener("keydown",j),document.addEventListener("keyup",X),window.addEventListener("blur",X)}),Nn(()=>{document.removeEventListener("keydown",j),document.removeEventListener("keyup",X),window.removeEventListener("blur",X)})},H2e=()=>{const{editorAreaFocus:e,thumbnailsFocus:t,disableHotkeys:n}=De(ht()),{pasteTextClipboardData:r}=QO(),{createImageElement:i}=c0(),o=s=>{sd(s).then(l=>i(l))},a=s=>{if(!e.value&&!t.value||n.value||!s.clipboardData)return;const l=s.clipboardData.items,u=l[0];if(u){for(const c of l)if(c.kind==="file"&&c.type.indexOf("image")!==-1){const f=c.getAsFile();f&&o(f);return}u.kind==="string"&&u.type==="text/plain"&&u.getAsString(c=>r(c))}};Ht(()=>{document.addEventListener("paste",a)}),Nn(()=>{document.removeEventListener("paste",a)})};function UH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j9(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function pa(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(l){j9(o,r,i,a,s,"next",l)}function s(l){j9(o,r,i,a,s,"throw",l)}a(void 0)})}}var Ta=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function o3(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var BH={exports:{}},q9={exports:{}};(function(e){function t(n){return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(q9),function(e){var t=q9.exports.default;function n(){e.exports=n=function(){return r},e.exports.__esModule=!0,e.exports.default=e.exports;var r={},i=Object.prototype,o=i.hasOwnProperty,a=Object.defineProperty||function(F,I,W){F[I]=W.value},s=typeof Symbol=="function"?Symbol:{},l=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function f(F,I,W){return Object.defineProperty(F,I,{value:W,enumerable:!0,configurable:!0,writable:!0}),F[I]}try{f({},"")}catch{f=function(I,W,D){return I[W]=D}}function d(F,I,W,D){var Z=I&&I.prototype instanceof v?I:v,re=Object.create(Z.prototype),B=new P(D||[]);return a(re,"_invoke",{value:w(F,W,B)}),re}function h(F,I,W){try{return{type:"normal",arg:F.call(I,W)}}catch(D){return{type:"throw",arg:D}}}r.wrap=d;var p={};function v(){}function g(){}function m(){}var y={};f(y,l,function(){return this});var R=Object.getPrototypeOf,A=R&&R(R(N([])));A&&A!==i&&o.call(A,l)&&(y=A);var x=m.prototype=v.prototype=Object.create(y);function S(F){["next","throw","return"].forEach(function(I){f(F,I,function(W){return this._invoke(I,W)})})}function L(F,I){function W(Z,re,B,Y){var Q=h(F[Z],F,re);if(Q.type!=="throw"){var K=Q.arg,q=K.value;return q&&t(q)=="object"&&o.call(q,"__await")?I.resolve(q.__await).then(function($){W("next",$,B,Y)},function($){W("throw",$,B,Y)}):I.resolve(q).then(function($){K.value=$,B(K)},function($){return W("throw",$,B,Y)})}Y(Q.arg)}var D;a(this,"_invoke",{value:function(Z,re){function B(){return new I(function(Y,Q){W(Z,re,Y,Q)})}return D=D?D.then(B,B):B()}})}function w(F,I,W){var D="suspendedStart";return function(Z,re){if(D==="executing")throw new Error("Generator is already running");if(D==="completed"){if(Z==="throw")throw re;return C()}for(W.method=Z,W.arg=re;;){var B=W.delegate;if(B){var Y=M(B,W);if(Y){if(Y===p)continue;return Y}}if(W.method==="next")W.sent=W._sent=W.arg;else if(W.method==="throw"){if(D==="suspendedStart")throw D="completed",W.arg;W.dispatchException(W.arg)}else W.method==="return"&&W.abrupt("return",W.arg);D="executing";var Q=h(F,I,W);if(Q.type==="normal"){if(D=W.done?"completed":"suspendedYield",Q.arg===p)continue;return{value:Q.arg,done:W.done}}Q.type==="throw"&&(D="completed",W.method="throw",W.arg=Q.arg)}}}function M(F,I){var W=F.iterator[I.method];if(W===void 0){if(I.delegate=null,I.method==="throw"){if(F.iterator.return&&(I.method="return",I.arg=void 0,M(F,I),I.method==="throw"))return p;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var D=h(W,F.iterator,I.arg);if(D.type==="throw")return I.method="throw",I.arg=D.arg,I.delegate=null,p;var Z=D.arg;return Z?Z.done?(I[F.resultName]=Z.value,I.next=F.nextLoc,I.method!=="return"&&(I.method="next",I.arg=void 0),I.delegate=null,p):Z:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,p)}function _(F){var I={tryLoc:F[0]};1 in F&&(I.catchLoc=F[1]),2 in F&&(I.finallyLoc=F[2],I.afterLoc=F[3]),this.tryEntries.push(I)}function k(F){var I=F.completion||{};I.type="normal",delete I.arg,F.completion=I}function P(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(_,this),this.reset(!0)}function N(F){if(F){var I=F[l];if(I)return I.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var W=-1,D=function Z(){for(;++W=0;--D){var Z=this.tryEntries[D],re=Z.completion;if(Z.tryLoc==="root")return W("end");if(Z.tryLoc<=this.prev){var B=o.call(Z,"catchLoc"),Y=o.call(Z,"finallyLoc");if(B&&Y){if(this.prev=0;--W){var D=this.tryEntries[W];if(D.tryLoc<=this.prev&&o.call(D,"finallyLoc")&&this.prev=0;--I){var W=this.tryEntries[I];if(W.finallyLoc===F)return this.complete(W.completion,W.afterLoc),k(W),p}},catch:function(F){for(var I=this.tryEntries.length-1;I>=0;--I){var W=this.tryEntries[I];if(W.tryLoc===F){var D=W.completion;if(D.type==="throw"){var Z=D.arg;k(W)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(F,I,W){return this.delegate={iterator:N(F),resultName:I,nextLoc:W},this.method==="next"&&(this.arg=void 0),p}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(BH);var lb=BH.exports(),tr=lb;try{regeneratorRuntime=lb}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=lb:Function("r","regeneratorRuntime = r")(lb)}var Hv={},eF={},Av=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{},Hl=[],ls=[],K2e=typeof Uint8Array<"u"?Uint8Array:Array,JO=!1;function YH(){JO=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+Hl[i>>12&63]+Hl[i>>6&63]+Hl[63&i]);return o.join("")}function tF(e){var t;JO||YH();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;sl?l:s+a));return r===1?(t=e[n-1],i+=Hl[t>>2],i+=Hl[t<<4&63],i+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],i+=Hl[t>>10],i+=Hl[t>>4&63],i+=Hl[t<<2&63],i+="="),o.push(i),o.join("")}function IA(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(o===0)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)}function ZH(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,d=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+f>=1?d/l:d*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*l-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,u-=8);e[n+h-p]|=128*v}var z2e={}.toString,QH=Array.isArray||function(e){return z2e.call(e)=="[object Array]"};qe.TYPED_ARRAY_SUPPORT=Av.TYPED_ARRAY_SUPPORT===void 0||Av.TYPED_ARRAY_SUPPORT;var J2e=Mx();function Mx(){return qe.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function qu(e,t){if(Mx()=Mx())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Mx().toString(16)+" bytes");return 0|e}function Kl(e){return!(e==null||!e._isBuffer)}function GH(e,t){if(Kl(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Lx(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return jH(e).length;default:if(r)return Lx(e).length;t=(""+t).toLowerCase(),r=!0}}function $2e(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return aye(this,t,n);case"utf8":case"utf-8":return JH(this,t,n);case"ascii":return iye(this,t,n);case"latin1":case"binary":return oye(this,t,n);case"base64":return rye(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return sye(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function _d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function nF(e,t,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if(typeof t=="string"&&(t=qe.from(t,r)),Kl(t))return t.length===0?-1:rF(e,t,n,r,i);if(typeof t=="number")return t&=255,qe.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):rF(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function rF(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(h,p){return a===1?h[p]:h.readUInt16BE(p*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a>8,l=a%256,u.push(l),u.push(s);return u}(t,e.length-n),e,n,r)}function rye(e,t,n){return t===0&&n===e.length?tF(e):tF(e.slice(t,n))}function JH(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}c===null?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(d){var h=d.length;if(h<=4096)return String.fromCharCode.apply(String,d);for(var p="",v=0;v0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},qe.prototype.compare=function(e,t,n,r,i){if(!Kl(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),u=e.slice(t,n),c=0;ci)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return j2e(this,e,t,n);case"utf8":case"utf-8":return q2e(this,e,t,n);case"ascii":return zH(this,e,t,n);case"latin1":case"binary":return eye(this,e,t,n);case"base64":return tye(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return nye(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},qe.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function iye(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function Do(e,t,n,r,i,o){if(!Kl(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function NA(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function FA(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function $H(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function iF(e,t,n,r,i){return i||$H(e,0,n,4),ZH(e,t,n,r,23,4),n+4}function oF(e,t,n,r,i){return i||$H(e,0,n,8),ZH(e,t,n,r,52,8),n+8}qe.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},qe.prototype.readUInt8=function(e,t){return t||xi(e,1,this.length),this[e]},qe.prototype.readUInt16LE=function(e,t){return t||xi(e,2,this.length),this[e]|this[e+1]<<8},qe.prototype.readUInt16BE=function(e,t){return t||xi(e,2,this.length),this[e]<<8|this[e+1]},qe.prototype.readUInt32LE=function(e,t){return t||xi(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},qe.prototype.readUInt32BE=function(e,t){return t||xi(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},qe.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},qe.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||xi(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},qe.prototype.readInt8=function(e,t){return t||xi(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},qe.prototype.readInt16LE=function(e,t){t||xi(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},qe.prototype.readInt16BE=function(e,t){t||xi(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},qe.prototype.readInt32LE=function(e,t){return t||xi(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},qe.prototype.readInt32BE=function(e,t){return t||xi(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},qe.prototype.readFloatLE=function(e,t){return t||xi(e,4,this.length),IA(this,e,!0,23,4)},qe.prototype.readFloatBE=function(e,t){return t||xi(e,4,this.length),IA(this,e,!1,23,4)},qe.prototype.readDoubleLE=function(e,t){return t||xi(e,8,this.length),IA(this,e,!0,52,8)},qe.prototype.readDoubleBE=function(e,t){return t||xi(e,8,this.length),IA(this,e,!1,52,8)},qe.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||Do(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},qe.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,1,255,0),qe.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},qe.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,65535,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):NA(this,e,t,!0),t+2},qe.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,65535,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):NA(this,e,t,!1),t+2},qe.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,4294967295,0),qe.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):FA(this,e,t,!0),t+4},qe.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,4294967295,0),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):FA(this,e,t,!1),t+4},qe.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Do(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},qe.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Do(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},qe.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,1,127,-128),qe.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},qe.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,32767,-32768),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):NA(this,e,t,!0),t+2},qe.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,2,32767,-32768),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):NA(this,e,t,!1),t+2},qe.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,2147483647,-2147483648),qe.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):FA(this,e,t,!0),t+4},qe.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Do(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),qe.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):FA(this,e,t,!1),t+4},qe.prototype.writeFloatLE=function(e,t,n){return iF(this,e,t,!0,n)},qe.prototype.writeFloatBE=function(e,t,n){return iF(this,e,t,!1,n)},qe.prototype.writeDoubleLE=function(e,t,n){return oF(this,e,t,!0,n)},qe.prototype.writeDoubleBE=function(e,t,n){return oF(this,e,t,!1,n)},qe.prototype.copy=function(e,t,n,r){if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!qe.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function jH(e){return function(t){var n,r,i,o,a,s;JO||YH();var l=t.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a=t[l-2]==="="?2:t[l-1]==="="?1:0,s=new K2e(3*l/4-a),i=a>0?l-4:l;var u=0;for(n=0,r=0;n>16&255,s[u++]=o>>8&255,s[u++]=255&o;return a===2?(o=ls[t.charCodeAt(n)]<<2|ls[t.charCodeAt(n+1)]>>4,s[u++]=255&o):a===1&&(o=ls[t.charCodeAt(n)]<<10|ls[t.charCodeAt(n+1)]<<4|ls[t.charCodeAt(n+2)]>>2,s[u++]=o>>8&255,s[u++]=255&o),s}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(lye,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function a3(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function z2(e){return e!=null&&(!!e._isBuffer||aF(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&aF(t.slice(0,0))}(e))}function aF(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var cye=Object.freeze({__proto__:null,INSPECT_MAX_BYTES:50,kMaxLength:J2e,Buffer:qe,SlowBuffer:function(e){return+e!=e&&(e=0),qe.alloc(+e)},isBuffer:z2}),oi={};function qH(){throw new Error("setTimeout has not been defined")}function eK(){throw new Error("clearTimeout has not been defined")}var Jc=qH,$c=eK;function tK(e){if(Jc===setTimeout)return setTimeout(e,0);if((Jc===qH||!Jc)&&setTimeout)return Jc=setTimeout,setTimeout(e,0);try{return Jc(e,0)}catch{try{return Jc.call(null,e,0)}catch{return Jc.call(this,e,0)}}}typeof Av.setTimeout=="function"&&(Jc=setTimeout),typeof Av.clearTimeout=="function"&&($c=clearTimeout);var dh,ec=[],ev=!1,ub=-1;function fye(){ev&&dh&&(ev=!1,dh.length?ec=dh.concat(ec):ub=-1,ec.length&&nK())}function nK(){if(!ev){var e=tK(fye);ev=!0;for(var t=ec.length;t;){for(dh=ec,ec=[];++ub1)for(var n=1;n0&&a.length>i){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,typeof console.warn=="function"?console.warn(s):console.log(s)}}else a=o[t]=n,++e._eventsCount;return e}function lF(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function uF(e){var t=this._events;if(t){var n=t[e];if(typeof n=="function")return 1;if(n)return n.length}return 0}function J2(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}jc.prototype=Object.create(null),_n.EventEmitter=_n,_n.usingDomains=!1,_n.prototype.domain=void 0,_n.prototype._events=void 0,_n.prototype._maxListeners=void 0,_n.defaultMaxListeners=10,_n.init=function(){this.domain=null,_n.usingDomains&&(void 0).active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new jc,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_n.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},_n.prototype.getMaxListeners=function(){return iK(this)},_n.prototype.emit=function(e){var t,n,r,i,o,a,s,l=e==="error";if(a=this._events)l=l&&a.error==null;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var c=typeof n=="function";switch(r=arguments.length){case 1:bye(n,c,this);break;case 2:xye(n,c,this,arguments[1]);break;case 3:Sye(n,c,this,arguments[1],arguments[2]);break;case 4:wye(n,c,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(n.length===1){if(n[0]=void 0,--this._eventsCount==0)return this._events=new jc,this;delete r[e]}else(function(s,l){for(var u=l,c=u+1,f=s.length;c0?Reflect.ownKeys(this._events):[]};var Lye=Object.freeze({__proto__:null,default:_n,EventEmitter:_n}),Pf=typeof Object.create=="function"?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Tye=/%[sdj%]/g;function s3(e){if(!Jm(e)){for(var t=[],n=0;n=i)return s;switch(s){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch{return"[Circular]"}default:return s}}),a=r[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),u3(t)?n.showHidden=t:t&&nk(n,t),eu(n.showHidden)&&(n.showHidden=!1),eu(n.depth)&&(n.depth=2),eu(n.colors)&&(n.colors=!1),eu(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=_ye),Tx(n,e,n.depth)}function _ye(e,t){var n=ou.styles[t];return n?"\x1B["+ou.colors[n][0]+"m"+e+"\x1B["+ou.colors[n][1]+"m":e}function Oye(e,t){return e}function Tx(e,t,n){if(e.customInspect&&t&&em(t.inspect)&&t.inspect!==ou&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Jm(r)||(r=Tx(e,r,n)),r}var i=function(d,h){if(eu(h))return d.stylize("undefined","undefined");if(Jm(h)){var p="'"+JSON.stringify(h).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return d.stylize(p,"string")}if(ek(h))return d.stylize(""+h,"number");if(u3(h))return d.stylize(""+h,"boolean");if($2(h))return d.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(d){var h={};return d.forEach(function(p,v){h[p]=!0}),h}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),qg(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return BM(t);if(o.length===0){if(em(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(jg(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(_x(t))return e.stylize(Date.prototype.toString.call(t),"date");if(qg(t))return BM(t)}var l,u="",c=!1,f=["{","}"];return qO(t)&&(c=!0,f=["[","]"]),em(t)&&(u=" [Function"+(t.name?": "+t.name:"")+"]"),jg(t)&&(u=" "+RegExp.prototype.toString.call(t)),_x(t)&&(u=" "+Date.prototype.toUTCString.call(t)),qg(t)&&(u=" "+BM(t)),o.length!==0||c&&t.length!=0?n<0?jg(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=c?function(d,h,p,v,g){for(var m=[],y=0,R=h.length;y60?p[0]+(h===""?"":h+` `)+" "+d.join(`, `)+" "+p[1]:p[0]+h+" "+d.join(", ")+" "+p[1]}(l,u,f)):f[0]+u+f[1]}function BM(e){return"["+Error.prototype.toString.call(e)+"]"}function YM(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),cK(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=$2(n)?Tx(e,l.value,null):Tx(e,l.value,n-1)).indexOf(` @@ -105,23 +105,23 @@ From previous: `);return this._state!==null&&(this._stack=t),t}finally{nT=!1}}}, `).substr(2):` `+s.split(` `).map(function(u){return" "+u}).join(` -`)):s=e.stylize("[Circular]","special")),eu(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function qO(e){return Array.isArray(e)}function u3(e){return typeof e=="boolean"}function $2(e){return e===null}function oK(e){return e==null}function ek(e){return typeof e=="number"}function Jm(e){return typeof e=="string"}function aK(e){return typeof e=="symbol"}function eu(e){return e===void 0}function jg(e){return d0(e)&&tk(e)==="[object RegExp]"}function d0(e){return typeof e=="object"&&e!==null}function _x(e){return d0(e)&&tk(e)==="[object Date]"}function qg(e){return d0(e)&&(tk(e)==="[object Error]"||e instanceof Error)}function em(e){return typeof e=="function"}function sK(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function lK(e){return z2(e)}function tk(e){return Object.prototype.toString.call(e)}function ZM(e){return e<10?"0"+e.toString(10):e.toString(10)}ou.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ou.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var kye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Pye(){var e=new Date,t=[ZM(e.getHours()),ZM(e.getMinutes()),ZM(e.getSeconds())].join(":");return[e.getDate(),kye[e.getMonth()],t].join(" ")}function uK(){console.log("%s - %s",Pye(),s3.apply(null,arguments))}function nk(e,t){if(!t||!d0(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function cK(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Cye={inherits:Pf,_extend:nk,log:uK,isBuffer:lK,isPrimitive:sK,isFunction:em,isError:qg,isDate:_x,isObject:d0,isRegExp:jg,isUndefined:eu,isSymbol:aK,isString:Jm,isNumber:ek,isNullOrUndefined:oK,isNull:$2,isBoolean:u3,isArray:qO,inspect:ou,deprecate:l3,format:s3,debuglog:jO},Iye=Object.freeze({__proto__:null,format:s3,deprecate:l3,debuglog:jO,inspect:ou,isArray:qO,isBoolean:u3,isNull:$2,isNullOrUndefined:oK,isNumber:ek,isString:Jm,isSymbol:aK,isUndefined:eu,isRegExp:jg,isObject:d0,isDate:_x,isError:qg,isFunction:em,isPrimitive:sK,isBuffer:lK,log:uK,inherits:Pf,_extend:nk,default:Cye});function nh(){this.head=null,this.tail=null,this.length=0}nh.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},nh.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},nh.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},nh.prototype.clear=function(){this.head=this.tail=null,this.length=0},nh.prototype.join=function(e){if(this.length===0)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},nh.prototype.concat=function(e){if(this.length===0)return qe.alloc(0);if(this.length===1)return this.head.data;for(var t=qe.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var Nye=qe.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function tm(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Nye(t))throw new Error("Unknown encoding: "+t)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Eye;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Xye;break;default:return void(this.write=Fye)}this.charBuffer=new qe(6),this.charReceived=0,this.charLength=0}function Fye(e){return e.toString(this.encoding)}function Eye(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function Xye(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}tm.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&i<=56319)){if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var i;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},tm.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},tm.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t},Fr.ReadableState=fK;var rr=jO("stream");function fK(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Ua&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new nh,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new tm(e.encoding),this.encoding=e.encoding)}function Fr(e){if(!(this instanceof Fr))return new Fr(e);this._readableState=new fK(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),_n.call(this)}function cF(e,t,n,r,i){var o=function(u,c){var f=null;return z2(c)||typeof c=="string"||c==null||u.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(o)e.emit("error",o);else if(n===null)t.reading=!1,function(u,c){if(!c.ended){if(c.decoder){var f=c.decoder.end();f&&f.length&&(c.buffer.push(f),c.length+=c.objectMode?1:f.length)}c.ended=!0,Ox(u)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||i||r||(n=t.decoder.write(n),l=!t.objectMode&&n.length===0),i||(t.reading=!1),l||(t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Ox(e))),function(u,c){c.readingMore||(c.readingMore=!0,pi(Wye,u,c))}(e,t)}else i||(t.reading=!1);return function(u){return!u.ended&&(u.needReadable||u.lengtht.highWaterMark&&(t.highWaterMark=function(n){return n>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Ox(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(rr("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?pi(dF,e):dF(e))}function dF(e){rr("emit readable"),e.emit("readable"),rk(e)}function Wye(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(r,i,o){var a;return rd.length?d.length:s;if(h===d.length?f+=d:f+=d.slice(0,s),(s-=h)===0){h===d.length?(++c,u.next?l.head=u.next:l.head=l.tail=null):(l.head=u,u.data=d.slice(h));break}++c}return l.length-=c,f}(r,i):function(s,l){var u=qe.allocUnsafe(s),c=l.head,f=1;for(c.data.copy(u),s-=c.data.length;c=c.next;){var d=c.data,h=s>d.length?d.length:s;if(d.copy(u,u.length-s,0,h),(s-=h)===0){h===d.length?(++f,c.next?l.head=c.next:l.head=l.tail=null):(l.head=c,c.data=d.slice(h));break}++f}return l.length-=f,u}(r,i),a}(e,t.buffer,t.decoder),n);var n}function QM(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,pi(Uye,t,e))}function Uye(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function pF(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return rr("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?QM(this):Ox(this),null;if((e=fF(e,t))===0&&t.ended)return t.length===0&&QM(this),null;var r,i=t.needReadable;return rr("need readable",i),(t.length===0||t.length-e0?hF(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&QM(this)),r!==null&&this.emit("data",r),r},Fr.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Fr.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,rr("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||t.end!==!1?a:u;function o(g){rr("onunpipe"),g===n&&u()}function a(){rr("onend"),e.end()}r.endEmitted?pi(i):n.once("end",i),e.on("unpipe",o);var s=function(g){return function(){var m=g._readableState;rr("pipeOnDrain",m.awaitDrain),m.awaitDrain&&m.awaitDrain--,m.awaitDrain===0&&g.listeners("data").length&&(m.flowing=!0,rk(g))}}(n);e.on("drain",s);var l=!1;function u(){rr("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",u),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var c=!1;function f(g){rr("ondata"),c=!1,e.write(g)!==!1||c||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&pF(r.pipes,e)!==-1)&&!l&&(rr("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function d(g){var m;rr("onerror",g),v(),e.removeListener("error",d),m="error",e.listeners(m).length===0&&e.emit("error",g)}function h(){e.removeListener("finish",p),v()}function p(){rr("onfinish"),e.removeListener("close",h),v()}function v(){rr("unpipe"),n.unpipe(e)}return n.on("data",f),function(g,m,y){if(typeof g.prependListener=="function")return g.prependListener(m,y);g._events&&g._events[m]?Array.isArray(g._events[m])?g._events[m].unshift(y):g._events[m]=[y,g._events[m]]:g.on(m,y)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(rr("pipe resume"),n.resume()),e},Fr.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Di.prototype._write=function(e,t,n){n(new Error("not implemented"))},Di.prototype._writev=null,Di.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(i,o,a){o.ending=!0,pK(i,o),a&&(o.finished?pi(a):i.once("finish",a)),o.ended=!0,i.writable=!1}(this,r,n)},Pf(Ua,Fr);for(var mF=Object.keys(Di.prototype),HM=0;HM0?this.tail.next=o:this.head=o,this.tail=o,++this.length},r.prototype.unshift=function(i){var o={data:i,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length},r.prototype.shift=function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(i){if(this.length===0)return"";for(var o=this.head,a=""+o.data;o=o.next;)a+=i+o.data;return a},r.prototype.concat=function(i){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var o,a,s,l=t.allocUnsafe(i>>>0),u=this.head,c=0;u;)o=u.data,a=l,s=c,o.copy(a,s),c+=u.data.length,u=u.next;return l},r}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var r=n.inspect({length:this.length});return this.constructor.name+" "+r})}(FF)),FF.exports}function AK(){if(kF)return JM;kF=1;var e=c3();function t(n,r){n.emit("error",r)}return JM={destroy:function(n,r){var i=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(r?r(n):!n||this._writableState&&this._writableState.errorEmitted||e.nextTick(t,this,n),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(s){!r&&s?(e.nextTick(t,i,s),i._writableState&&(i._writableState.errorEmitted=!0)):r&&r(s)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},JM}function RK(){if(IF)return $M;IF=1;var e=c3();function t(A){var x=this;this.next=null,this.entry=null,this.finish=function(){(function(S,L,w){var M=S.entry;for(S.entry=null;M;){var _=M.callback;L.pendingcb--,_(w),M=M.next}L.corkedRequestsFree?L.corkedRequestsFree.next=S:L.corkedRequestsFree=S})(x,A)}}$M=h;var n,r=e.nextTick;h.WritableState=d;var i=Object.create(j2());i.inherits=q2();var o={deprecate:CF?PF:(CF=1,PF=d3.deprecate)},a=mK(),s=f3().Buffer,l=Ta.Uint8Array||function(){},u,c=AK();function f(){}function d(A,x){n=n||Rv(),A=A||{};var S=x instanceof n;this.objectMode=!!A.objectMode,S&&(this.objectMode=this.objectMode||!!A.writableObjectMode);var L=A.highWaterMark,w=A.writableHighWaterMark,M=this.objectMode?16:16384;this.highWaterMark=L||L===0?L:S&&(w||w===0)?w:M,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=A.decodeStrings===!1;this.decodeStrings=!_,this.defaultEncoding=A.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(P){(function(k,F){var C=k._writableState,N=C.sync,I=C.writecb;if(function(D){D.writing=!1,D.writecb=null,D.length-=D.writelen,D.writelen=0}(C),F)(function(D,Y,re,B,Z){--Y.pendingcb,re?(e.nextTick(Z,B),e.nextTick(R,D,Y),D._writableState.errorEmitted=!0,D.emit("error",B)):(Z(B),D._writableState.errorEmitted=!0,D.emit("error",B),R(D,Y))})(k,C,N,F,I);else{var W=m(C);W||C.corked||C.bufferProcessing||!C.bufferedRequest||g(k,C),N?r(v,k,C,W,I):v(k,C,W,I)}})(x,P)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function h(A){if(n=n||Rv(),!(u.call(h,this)||this instanceof n))return new h(A);this._writableState=new d(A,this),this.writable=!0,A&&(typeof A.write=="function"&&(this._write=A.write),typeof A.writev=="function"&&(this._writev=A.writev),typeof A.destroy=="function"&&(this._destroy=A.destroy),typeof A.final=="function"&&(this._final=A.final)),a.call(this)}function p(A,x,S,L,w,M,_){x.writelen=L,x.writecb=_,x.writing=!0,x.sync=!0,S?A._writev(w,x.onwrite):A._write(w,M,x.onwrite),x.sync=!1}function v(A,x,S,L){S||function(w,M){M.length===0&&M.needDrain&&(M.needDrain=!1,w.emit("drain"))}(A,x),x.pendingcb--,L(),R(A,x)}function g(A,x){x.bufferProcessing=!0;var S=x.bufferedRequest;if(A._writev&&S&&S.next){var L=x.bufferedRequestCount,w=new Array(L),M=x.corkedRequestsFree;M.entry=S;for(var _=0,P=!0;S;)w[_]=S,S.isBuf||(P=!1),S=S.next,_+=1;w.allBuffers=P,p(A,x,!0,x.length,w,"",M.finish),x.pendingcb++,x.lastBufferedRequest=null,M.next?(x.corkedRequestsFree=M.next,M.next=null):x.corkedRequestsFree=new t(x),x.bufferedRequestCount=0}else{for(;S;){var k=S.chunk,F=S.encoding,C=S.callback;if(p(A,x,!1,x.objectMode?1:k.length,k,F,C),S=S.next,x.bufferedRequestCount--,x.writing)break}S===null&&(x.lastBufferedRequest=null)}x.bufferedRequest=S,x.bufferProcessing=!1}function m(A){return A.ending&&A.length===0&&A.bufferedRequest===null&&!A.finished&&!A.writing}function y(A,x){A._final(function(S){x.pendingcb--,S&&A.emit("error",S),x.prefinished=!0,A.emit("prefinish"),R(A,x)})}function R(A,x){var S=m(x);return S&&(function(L,w){w.prefinished||w.finalCalled||(typeof L._final=="function"?(w.pendingcb++,w.finalCalled=!0,e.nextTick(y,L,w)):(w.prefinished=!0,L.emit("prefinish")))}(A,x),x.pendingcb===0&&(x.finished=!0,A.emit("finish"))),S}return i.inherits(h,a),d.prototype.getBuffer=function(){for(var A=this.bufferedRequest,x=[];A;)x.push(A),A=A.next;return x},function(){try{Object.defineProperty(d.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(A){return!!u.call(this,A)||this===h&&A&&A._writableState instanceof d}})):u=function(A){return A instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(A,x,S){var L,w=this._writableState,M=!1,_=!w.objectMode&&(L=A,s.isBuffer(L)||L instanceof l);return _&&!s.isBuffer(A)&&(A=function(P){return s.from(P)}(A)),typeof x=="function"&&(S=x,x=null),_?x="buffer":x||(x=w.defaultEncoding),typeof S!="function"&&(S=f),w.ended?function(P,k){var F=new Error("write after end");P.emit("error",F),e.nextTick(k,F)}(this,S):(_||function(P,k,F,C){var N=!0,I=!1;return F===null?I=new TypeError("May not write null values to stream"):typeof F=="string"||F===void 0||k.objectMode||(I=new TypeError("Invalid non-string/buffer chunk")),I&&(P.emit("error",I),e.nextTick(C,I),N=!1),N}(this,w,A,S))&&(w.pendingcb++,M=function(P,k,F,C,N,I){if(!F){var W=function(B,Z,Q){return B.objectMode||B.decodeStrings===!1||typeof Z!="string"||(Z=s.from(Z,Q)),Z}(k,C,N);C!==W&&(F=!0,N="buffer",C=W)}var D=k.objectMode?1:C.length;k.length+=D;var Y=k.length-1))throw new TypeError("Unknown encoding: "+A);return this._writableState.defaultEncoding=A,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(A,x,S){S(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(A,x,S){var L=this._writableState;typeof A=="function"?(S=A,A=null,x=null):typeof x=="function"&&(S=x,x=null),A!=null&&this.write(A,x),L.corked&&(L.corked=1,this.uncork()),L.ending||L.finished||function(w,M,_){M.ending=!0,R(w,M),_&&(M.finished?e.nextTick(_):w.once("finish",_)),M.ended=!0,w.writable=!1}(this,L,S)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(A){this._writableState&&(this._writableState.destroyed=A)}}),h.prototype.destroy=c.destroy,h.prototype._undestroy=c.undestroy,h.prototype._destroy=function(A,x){this.end(),x(A)},$M}function Rv(){if(NF)return jM;NF=1;var e=c3(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};jM=l;var n=Object.create(j2());n.inherits=q2();var r=bK(),i=RK();n.inherits(l,r);for(var o=t(i.prototype),a=0;a>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function i(f){var d=this.lastTotal-this.lastNeed,h=function(p,v,g){if((192&v[0])!=128)return p.lastNeed=0,"�";if(p.lastNeed>1&&v.length>1){if((192&v[1])!=128)return p.lastNeed=1,"�";if(p.lastNeed>2&&v.length>2&&(192&v[2])!=128)return p.lastNeed=2,"�"}}(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,d,0,f.length),void(this.lastNeed-=f.length))}function o(f,d){if((f.length-d)%2==0){var h=f.toString("utf16le",d);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",d,f.length-1)}function a(f){var d=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,h)}return d}function s(f,d){var h=(f.length-d)%3;return h===0?f.toString("base64",d):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",d,f.length-h))}function l(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function u(f){return f.toString(this.encoding)}function c(f){return f&&f.length?this.write(f):""}return n5.StringDecoder=n,n.prototype.write=function(f){if(f.length===0)return"";var d,h;if(this.lastNeed){if((d=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h=0?(R>0&&(v.lastNeed=R-1),R):--y=0?(R>0&&(v.lastNeed=R-2),R):--y=0?(R>0&&(R===2?R=0:v.lastNeed=R-3),R):0}(this,f,d);if(!this.lastNeed)return f.toString("utf8",d);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",d,p)},n.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},n5}function bK(){if(XF)return qM;XF=1;var e=c3();qM=v;var t,n=function(){if(bF)return RF;bF=1;var N={}.toString;return RF=Array.isArray||function(I){return N.call(I)=="[object Array]"}}();v.ReadableState=p,Kye.EventEmitter;var r=function(N,I){return N.listeners(I).length},i=mK(),o=f3().Buffer,a=Ta.Uint8Array||function(){},s=Object.create(j2());s.inherits=q2();var l=d3,u=void 0;u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f=Gye(),d=AK();s.inherits(v,i);var h=["error","close","destroy","pause","resume"];function p(N,I){N=N||{};var W=I instanceof(t=t||Rv());this.objectMode=!!N.objectMode,W&&(this.objectMode=this.objectMode||!!N.readableObjectMode);var D=N.highWaterMark,Y=N.readableHighWaterMark,re=this.objectMode?16:16384;this.highWaterMark=D||D===0?D:W&&(Y||Y===0)?Y:re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=N.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,N.encoding&&(c||(c=UF().StringDecoder),this.decoder=new c(N.encoding),this.encoding=N.encoding)}function v(N){if(t=t||Rv(),!(this instanceof v))return new v(N);this._readableState=new p(N,this),this.readable=!0,N&&(typeof N.read=="function"&&(this._read=N.read),typeof N.destroy=="function"&&(this._destroy=N.destroy)),i.call(this)}function g(N,I,W,D,Y){var re,B=N._readableState;return I===null?(B.reading=!1,function(Z,Q){if(!Q.ended){if(Q.decoder){var G=Q.decoder.end();G&&G.length&&(Q.buffer.push(G),Q.length+=Q.objectMode?1:G.length)}Q.ended=!0,A(Z)}}(N,B)):(Y||(re=function(Z,Q){var G;ee=Q,o.isBuffer(ee)||ee instanceof a||typeof Q=="string"||Q===void 0||Z.objectMode||(G=new TypeError("Invalid non-string/buffer chunk"));var ee;return G}(B,I)),re?N.emit("error",re):B.objectMode||I&&I.length>0?(typeof I=="string"||B.objectMode||Object.getPrototypeOf(I)===o.prototype||(I=function(Z){return o.from(Z)}(I)),D?B.endEmitted?N.emit("error",new Error("stream.unshift() after end event")):m(N,B,I,!0):B.ended?N.emit("error",new Error("stream.push() after EOF")):(B.reading=!1,B.decoder&&!W?(I=B.decoder.write(I),B.objectMode||I.length!==0?m(N,B,I,!1):S(N,B)):m(N,B,I,!1))):D||(B.reading=!1)),function(Z){return!Z.ended&&(Z.needReadable||Z.lengthI.highWaterMark&&(I.highWaterMark=function(W){return W>=y?W=y:(W--,W|=W>>>1,W|=W>>>2,W|=W>>>4,W|=W>>>8,W|=W>>>16,W++),W}(N)),N<=I.length?N:I.ended?I.length:(I.needReadable=!0,0))}function A(N){var I=N._readableState;I.needReadable=!1,I.emittedReadable||(u("emitReadable",I.flowing),I.emittedReadable=!0,I.sync?e.nextTick(x,N):x(N))}function x(N){u("emit readable"),N.emit("readable"),_(N)}function S(N,I){I.readingMore||(I.readingMore=!0,e.nextTick(L,N,I))}function L(N,I){for(var W=I.length;!I.reading&&!I.flowing&&!I.ended&&I.length=I.length?(W=I.decoder?I.buffer.join(""):I.buffer.length===1?I.buffer.head.data:I.buffer.concat(I.length),I.buffer.clear()):W=function(D,Y,re){var B;return Dde.length?de.length:Z;if(K===de.length?$+=de:$+=de.slice(0,Z),(Z-=K)===0){K===de.length?(++ee,G.next?Q.head=G.next:Q.head=Q.tail=null):(Q.head=G,G.data=de.slice(K));break}++ee}return Q.length-=ee,$}(D,Y):function(Z,Q){var G=o.allocUnsafe(Z),ee=Q.head,$=1;for(ee.data.copy(G),Z-=ee.data.length;ee=ee.next;){var de=ee.data,K=Z>de.length?de.length:Z;if(de.copy(G,G.length-Z,0,K),(Z-=K)===0){K===de.length?(++$,ee.next?Q.head=ee.next:Q.head=Q.tail=null):(Q.head=ee,ee.data=de.slice(K));break}++$}return Q.length-=$,G}(D,Y),B}(N,I.buffer,I.decoder),W);var W}function k(N){var I=N._readableState;if(I.length>0)throw new Error('"endReadable()" called on non-empty stream');I.endEmitted||(I.ended=!0,e.nextTick(F,I,N))}function F(N,I){N.endEmitted||N.length!==0||(N.endEmitted=!0,I.readable=!1,I.emit("end"))}function C(N,I){for(var W=0,D=N.length;W=I.highWaterMark||I.ended))return u("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?k(this):A(this),null;if((N=R(N,I))===0&&I.ended)return I.length===0&&k(this),null;var D,Y=I.needReadable;return u("need readable",Y),(I.length===0||I.length-N0?P(N,I):null)===null?(I.needReadable=!0,N=0):I.length-=N,I.length===0&&(I.ended||(I.needReadable=!0),W!==N&&I.ended&&k(this)),D!==null&&this.emit("data",D),D},v.prototype._read=function(N){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(N,I){var W=this,D=this._readableState;switch(D.pipesCount){case 0:D.pipes=N;break;case 1:D.pipes=[D.pipes,N];break;default:D.pipes.push(N)}D.pipesCount+=1,u("pipe count=%d opts=%j",D.pipesCount,I);var Y=(!I||I.end!==!1)&&N!==Ca.stdout&&N!==Ca.stderr?B:Ae;function re(ce,fe){u("onunpipe"),ce===W&&fe&&fe.hasUnpiped===!1&&(fe.hasUnpiped=!0,u("cleanup"),N.removeListener("close",de),N.removeListener("finish",K),N.removeListener("drain",Z),N.removeListener("error",$),N.removeListener("unpipe",re),W.removeListener("end",B),W.removeListener("end",Ae),W.removeListener("data",ee),Q=!0,!D.awaitDrain||N._writableState&&!N._writableState.needDrain||Z())}function B(){u("onend"),N.end()}D.endEmitted?e.nextTick(Y):W.once("end",Y),N.on("unpipe",re);var Z=function(ce){return function(){var fe=ce._readableState;u("pipeOnDrain",fe.awaitDrain),fe.awaitDrain&&fe.awaitDrain--,fe.awaitDrain===0&&r(ce,"data")&&(fe.flowing=!0,_(ce))}}(W);N.on("drain",Z);var Q=!1,G=!1;function ee(ce){u("ondata"),G=!1,N.write(ce)!==!1||G||((D.pipesCount===1&&D.pipes===N||D.pipesCount>1&&C(D.pipes,N)!==-1)&&!Q&&(u("false write response, pause",W._readableState.awaitDrain),W._readableState.awaitDrain++,G=!0),W.pause())}function $(ce){u("onerror",ce),Ae(),N.removeListener("error",$),r(N,"error")===0&&N.emit("error",ce)}function de(){N.removeListener("finish",K),Ae()}function K(){u("onfinish"),N.removeListener("close",de),Ae()}function Ae(){u("unpipe"),W.unpipe(N)}return W.on("data",ee),function(ce,fe,le){if(typeof ce.prependListener=="function")return ce.prependListener(fe,le);ce._events&&ce._events[fe]?n(ce._events[fe])?ce._events[fe].unshift(le):ce._events[fe]=[le,ce._events[fe]]:ce.on(fe,le)}(N,"error",$),N.once("close",de),N.once("finish",K),N.emit("pipe",W),D.flowing||(u("pipe resume"),W.resume()),N},v.prototype.unpipe=function(N){var I=this._readableState,W={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return N&&N!==I.pipes||(N||(N=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,N&&N.emit("unpipe",this,W)),this;if(!N){var D=I.pipes,Y=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var re=0;re"u")oi.blob=!1;else{var YF=new ArrayBuffer(0);try{oi.blob=new Blob([YF],{type:"application/zip"}).size===0}catch{try{var ZF=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);ZF.append(YF),oi.blob=ZF.getBlob("application/zip").size===0}catch{oi.blob=!1}}}try{oi.nodestream=!!xK().Readable}catch{oi.nodestream=!1}var QF,WA={};function SK(){if(QF)return WA;QF=1;var e=Jr(),t=oi,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return WA.encode=function(r){for(var i,o,a,s,l,u,c,f=[],d=0,h=r.length,p=h,v=e.getTypeOf(r)!=="string";d>2,l=(3&i)<<4|o>>4,u=p>1?(15&o)<<2|a>>6:64,c=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(l)+n.charAt(u)+n.charAt(c));return f.join("")},WA.decode=function(r){var i,o,a,s,l,u,c=0,f=0,d="data:";if(r.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(r=r.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(r.charAt(r.length-1)===n.charAt(64)&&p--,r.charAt(r.length-2)===n.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|p):new Array(0|p);c>4,o=(15&s)<<4|(l=n.indexOf(r.charAt(c++)))>>2,a=(3&l)<<6|(u=n.indexOf(r.charAt(c++))),h[f++]=i,l!==64&&(h[f++]=o),u!==64&&(h[f++]=a);return h},WA}var HF,KF,r5,GF,h3={isNode:!0,newBufferFrom:function(e,t){if(qe.from&&qe.from!==Uint8Array.from)return qe.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new qe(e,t)},allocBuffer:function(e){if(qe.alloc)return qe.alloc(e);var t=new qe(e);return t.fill(0),t},isBuffer:function(e){return z2(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},wK=null;wK=typeof Promise<"u"?Promise:function(){if(GF)return r5;GF=1;var e=function(){if(KF)return HF;KF=1;var d,h,p=Ta.MutationObserver||Ta.WebKitMutationObserver;if(p){var v=0,g=new p(A),m=Ta.document.createTextNode("");g.observe(m,{characterData:!0}),d=function(){m.data=v=++v%2}}else if(Ta.setImmediate||Ta.MessageChannel===void 0)d="document"in Ta&&"onreadystatechange"in Ta.document.createElement("script")?function(){var x=Ta.document.createElement("script");x.onreadystatechange=function(){A(),x.onreadystatechange=null,x.parentNode.removeChild(x),x=null},Ta.document.documentElement.appendChild(x)}:function(){setTimeout(A,0)};else{var y=new Ta.MessageChannel;y.port1.onmessage=A,d=function(){y.port2.postMessage(0)}}var R=[];function A(){var x,S;h=!0;for(var L=R.length;L;){for(S=R,R=[],x=-1;++x1;)try{return s.stringifyByChunk(f,h,d)}catch{d=Math.floor(d/2)}return s.stringifyByChar(f)}function u(f,d){for(var h=0;h"u"?Ta:self),MK.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}};var Is=MK;(function(e){for(var t=Jr(),n=oi,r=h3,i=Is,o=new Array(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;o[254]=o[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function l(){i.call(this,"utf-8 encode")}e.utf8encode=function(u){return n.nodebuffer?r.newBufferFrom(u,"utf-8"):function(c){var f,d,h,p,v,g=c.length,m=0;for(p=0;p>>6,f[v++]=128|63&d):d<65536?(f[v++]=224|d>>>12,f[v++]=128|d>>>6&63,f[v++]=128|63&d):(f[v++]=240|d>>>18,f[v++]=128|d>>>12&63,f[v++]=128|d>>>6&63,f[v++]=128|63&d);return f}(u)},e.utf8decode=function(u){return n.nodebuffer?t.transformTo("nodebuffer",u).toString("utf-8"):function(c){var f,d,h,p,v=c.length,g=new Array(2*v);for(d=0,f=0;f4)g[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f1?g[d++]=65533:h<65536?g[d++]=h:(h-=65536,g[d++]=55296|h>>10&1023,g[d++]=56320|1023&h)}return g.length!==d&&(g.subarray?g=g.subarray(0,d):g.length=d),t.applyFromCharCode(g)}(u=t.transformTo(n.uint8array?"uint8array":"array",u))},t.inherits(s,i),s.prototype.processChunk=function(u){var c=t.transformTo(n.uint8array?"uint8array":"array",u.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=c;(c=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),c.set(f,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var d=function(p,v){var g;for((v=v||p.length)>p.length&&(v=p.length),g=v-1;g>=0&&(192&p[g])==128;)g--;return g<0||g===0?v:g+o[p[g]]>v?g:v}(c),h=c;d!==c.length&&(n.uint8array?(h=c.subarray(0,d),this.leftOver=c.subarray(d,c.length)):(h=c.slice(0,d),this.leftOver=c.slice(d,c.length))),this.push({data:e.utf8decode(h),meta:u.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(l,i),l.prototype.processChunk=function(u){this.push({data:e.utf8encode(u.data),meta:u.meta})},e.Utf8EncodeWorker=l})(Hv);var LK=Is,JF=Jr();function PT(e){LK.call(this,"ConvertWorker to "+e),this.destType=e}JF.inherits(PT,LK),PT.prototype.processChunk=function(e){this.push({data:JF.transformTo(this.destType,e.data),meta:e.meta})};var $F,jF,zye=PT,Ph=Jr(),Jye=zye,$ye=Is,jye=SK(),qye=ey,TK=null;if(oi.nodestream)try{TK=function(){if(jF)return $F;jF=1;var e=xK().Readable;function t(n,r,i){e.call(this,r),this._helper=n;var o=this;n.on("data",function(a,s){o.push(a)||o._helper.pause(),i&&i(s)}).on("error",function(a){o.emit("error",a)}).on("end",function(){o.push(null)})}return Jr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},$F=t}()}catch{}function eAe(e,t){return new qye.Promise(function(n,r){var i=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(l,u){i.push(l),t&&t(u)}).on("error",function(l){i=[],r(l)}).on("end",function(){try{var l=function(u,c,f){switch(u){case"blob":return Ph.newBlob(Ph.transformTo("arraybuffer",c),f);case"base64":return jye.encode(c);default:return Ph.transformTo(u,c)}}(a,function(u,c){var f,d=0,h=null,p=0;for(f=0;f=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var PK=pp,tAe=Jr(),qF=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),ik=function(e,t){return e!==void 0&&e.length?tAe.getTypeOf(e)!=="string"?function(n,r,i,o){var a=qF,s=o+i;n^=-1;for(var l=o;l>>8^a[255&(n^r[l])];return-1^n}(0|t,e,e.length,0):function(n,r,i,o){var a=qF,s=o+i;n^=-1;for(var l=o;l>>8^a[255&(n^r.charCodeAt(l))];return-1^n}(0|t,e,e.length,0):0},CK=Is,nAe=ik;function CT(){CK.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Jr().inherits(CT,CK),CT.prototype.processChunk=function(e){this.streamInfo.crc32=nAe(e.data,this.streamInfo.crc32||0),this.push(e)};var IK=CT,rAe=Jr(),IT=Is;function NT(e){IT.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}rAe.inherits(NT,IT),NT.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}IT.prototype.processChunk.call(this,e)};var eE=ey,tE=PK,iAe=IK,i5=NT;function FT(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}FT.prototype={getContentWorker:function(){var e=new tE(eE.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i5("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new tE(eE.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},FT.createWorkerFrom=function(e,t,n){return e.pipe(new iAe).pipe(new i5("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new i5("compressedSize")).withStreamInfo("compression",t)};var ok=FT,oAe=OK,aAe=PK,o5=Hv,a5=ok,nE=Is,ak=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};ak.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r=(n=e.toLowerCase())==="string"||n==="text";n!=="binarystring"&&n!=="text"||(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new o5.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new o5.Utf8DecodeWorker))}catch(o){(t=new nE("error")).error(o)}return new oAe(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a5&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o5.Utf8EncodeWorker)),a5.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a5?this._data.getContentWorker():this._data instanceof nE?this._data:new aAe(this._data)}};for(var rE=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],sAe=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},s5=0;s5=0;)e[t]=0}var ET=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],hb=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],cAe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],iE=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Yu=new Array(576);Kv(Yu);var mg=new Array(60);Kv(mg);var $m=new Array(512);Kv($m);var nm=new Array(256);Kv(nm);var sk=new Array(29);Kv(sk);var oE,aE,sE,Px=new Array(30);function l5(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function u5(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function FK(e){return e<256?$m[e]:$m[256+(e>>>7)]}function jm(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Ko(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1;while(--t>0);return n>>>1}function XK(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=EK(o[s]++,s))}}function lE(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function WK(e){e.bi_valid>8?jm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function uE(e,t,n,r){var i=2*t,o=2*n;return e[i]>1;n>=1;n--)c5(e,o,n);i=l;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],c5(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,c5(e,o,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(c,f){var d,h,p,v,g,m,y=f.dyn_tree,R=f.max_code,A=f.stat_desc.static_tree,x=f.stat_desc.has_stree,S=f.stat_desc.extra_bits,L=f.stat_desc.extra_base,w=f.stat_desc.max_length,M=0;for(v=0;v<=15;v++)c.bl_count[v]=0;for(y[2*c.heap[c.heap_max]+1]=0,d=c.heap_max+1;d<573;d++)(v=y[2*y[2*(h=c.heap[d])+1]+1]+1)>w&&(v=w,M++),y[2*h+1]=v,h>R||(c.bl_count[v]++,g=0,h>=L&&(g=S[h-L]),m=y[2*h],c.opt_len+=m*(v+g),x&&(c.static_len+=m*(A[2*h+1]+g)));if(M!==0){do{for(v=w-1;c.bl_count[v]===0;)v--;c.bl_count[v]--,c.bl_count[v+1]+=2,c.bl_count[w]--,M-=2}while(M>0);for(v=w;v!==0;v--)for(h=c.bl_count[v];h!==0;)(p=c.heap[--d])>R||(y[2*p+1]!==v&&(c.opt_len+=(v-y[2*p+1])*y[2*p],y[2*p+1]=v),h--)}}(e,t),XK(o,u,e.bl_count)}function fE(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(a===0&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s>=7;i<30;i++)for(Px[i]=o<<7,t=0;t<1<0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var l,u=4093624447;for(l=0;l<=31;l++,u>>>=1)if(1&u&&s.dyn_ltree[2*l]!==0)return 0;if(s.dyn_ltree[18]!==0||s.dyn_ltree[20]!==0||s.dyn_ltree[26]!==0)return 1;for(l=32;l<256;l++)if(s.dyn_ltree[2*l]!==0)return 1;return 0}(e)),f5(e,e.l_desc),f5(e,e.d_desc),a=function(s){var l;for(fE(s,s.dyn_ltree,s.l_desc.max_code),fE(s,s.dyn_dtree,s.d_desc.max_code),f5(s,s.bl_desc),l=18;l>=3&&s.bl_tree[2*iE[l]+1]===0;l--);return s.opt_len+=3*(l+1)+5+5+4,l}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&t!==-1?pE(e,t,n,r):e.strategy===4||o===i?(Ko(e,2+(r?1:0),3),cE(e,Yu,mg)):(Ko(e,4+(r?1:0),3),function(s,l,u,c){var f;for(Ko(s,l-257,5),Ko(s,u-1,5),Ko(s,c-4,4),f=0;f>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(nm[n]+256+1)]++,e.dyn_dtree[2*FK(t)]++),e.last_lit===e.lit_bufsize-1},vp._tr_align=function(e){Ko(e,2,3),Gl(e,256,Yu),function(t){t.bi_valid===16?(jm(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)};var VK=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do o=o+(i=i+t[r++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16|0},fAe=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),_p,DK=function(e,t,n,r){var i=fAe,o=r+n;e^=-1;for(var a=r;a>>8^i[255&(e^t[a])];return-1^e},lk={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ko=mc,ys=vp,UK=VK,qc=DK,dAe=lk;function lf(e,t){return e.msg=dAe[t],t}function vE(e){return(e<<1)-(e>4?9:0)}function gf(e){for(var t=e.length;--t>=0;)e[t]=0}function ef(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(ko.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function Ui(e,t){ys._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ef(e.strm)}function Un(e,t){e.pending_buf[e.pending++]=t}function L1(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function BK(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+258,h=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(u[(n=t)+a]===p&&u[n+a-1]===h&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do;while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&oa){if(e.match_start=t,a=r,r>=s)break;h=u[o+a-1],p=u[o+a]}}while((t=f[t&c])>l&&--i!=0);return a<=e.lookahead?a:e.lookahead}function sh(e){var t,n,r,i,o,a,s,l,u,c,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){ko.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=f?r-f:0;while(--n);t=n=f;do r=e.prev[--t],e.prev[t]=r>=f?r-f:0;while(--n);i+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=a.avail_in)>u&&(c=u),n=c===0?0:(a.avail_in-=c,ko.arraySet(s,a.input,a.next_in,c,l),a.state.wrap===1?a.adler=UK(a.adler,s,c,l):a.state.wrap===2&&(a.adler=qc(a.adler,s,c,l)),a.next_in+=c,a.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=ys._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=ys._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(a=2,r-=16),i<1||i>9||n!==8||r<8||r>15||t<0||t>9||o<0||o>4)return lf(e,-2);r===8&&(r=9);var s=new hAe;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(sh(e),e.lookahead===0&&t===0)return 1;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Ui(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(Ui(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(Ui(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(Ui(e,!1),e.strm.avail_out),1)}),new _l(4,4,8,4,d5),new _l(4,5,16,8,d5),new _l(4,6,32,32,d5),new _l(4,4,16,16,X0),new _l(8,16,32,32,X0),new _l(8,16,128,128,X0),new _l(8,32,128,256,X0),new _l(32,128,258,1024,X0),new _l(32,258,258,4096,X0)],Fl.deflateInit=function(e,t){return gE(e,t,8,15,8,0)},Fl.deflateInit2=gE,Fl.deflateReset=ZK,Fl.deflateResetKeep=YK,Fl.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Fl.deflate=function(e,t){var n,r,i,o;if(!e||!e.state||t>5||t<0)return e?lf(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return lf(e,e.avail_out===0?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===42)if(r.wrap===2)e.adler=0,Un(r,31),Un(r,139),Un(r,8),r.gzhead?(Un(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Un(r,255&r.gzhead.time),Un(r,r.gzhead.time>>8&255),Un(r,r.gzhead.time>>16&255),Un(r,r.gzhead.time>>24&255),Un(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),Un(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Un(r,255&r.gzhead.extra.length),Un(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=qc(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Un(r,0),Un(r,0),Un(r,0),Un(r,0),Un(r,0),Un(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),Un(r,3),r.status=113);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(a|=32),a+=31-a%31,r.status=113,L1(r,a),r.strstart!==0&&(L1(r,e.adler>>>16),L1(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending!==r.pending_buf_size));)Un(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindexi&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),o===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindexi&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),o===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ef(e),r.pending+2<=r.pending_buf_size&&(Un(r,255&e.adler),Un(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(ef(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&vE(t)<=vE(n)&&t!==4)return lf(e,-5);if(r.status===666&&e.avail_in!==0)return lf(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(l,u){for(var c;;){if(l.lookahead===0&&(sh(l),l.lookahead===0)){if(u===0)return 1;break}if(l.match_length=0,c=ys._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++,c&&(Ui(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,u===4?(Ui(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(Ui(l,!1),l.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(l,u){for(var c,f,d,h,p=l.window;;){if(l.lookahead<=258){if(sh(l),l.lookahead<=258&&u===0)return 1;if(l.lookahead===0)break}if(l.match_length=0,l.lookahead>=3&&l.strstart>0&&(f=p[d=l.strstart-1])===p[++d]&&f===p[++d]&&f===p[++d]){h=l.strstart+258;do;while(f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&dl.lookahead&&(l.match_length=l.lookahead)}if(l.match_length>=3?(c=ys._tr_tally(l,1,l.match_length-3),l.lookahead-=l.match_length,l.strstart+=l.match_length,l.match_length=0):(c=ys._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++),c&&(Ui(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,u===4?(Ui(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(Ui(l,!1),l.strm.avail_out===0)?1:2}(r,t):_p[r.level].func(r,t);if(s!==3&&s!==4||(r.status=666),s===1||s===3)return e.avail_out===0&&(r.last_flush=-1),0;if(s===2&&(t===1?ys._tr_align(r):t!==5&&(ys._tr_stored_block(r,0,0,!1),t===3&&(gf(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),ef(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(Un(r,255&e.adler),Un(r,e.adler>>8&255),Un(r,e.adler>>16&255),Un(r,e.adler>>24&255),Un(r,255&e.total_in),Un(r,e.total_in>>8&255),Un(r,e.total_in>>16&255),Un(r,e.total_in>>24&255)):(L1(r,e.adler>>>16),L1(r,65535&e.adler)),ef(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Fl.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?lf(e,-2):(e.state=null,t===113?lf(e,-3):0):-2},Fl.deflateSetDictionary=function(e,t){var n,r,i,o,a,s,l,u,c=t.length;if(!e||!e.state||(o=(n=e.state).wrap)===2||o===1&&n.status!==42||n.lookahead)return-2;for(o===1&&(e.adler=UK(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(o===0&&(gf(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new ko.Buf8(n.w_size),ko.arraySet(u,t,c-n.w_size,n.w_size,0),t=u,c=n.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,sh(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do n.ins_h=(n.ins_h<=252?6:Ic>=248?5:Ic>=240?4:Ic>=224?3:Ic>=192?2:1;function mE(e,t){if(t<65534&&(e.subarray&&HK||!e.subarray&&QK))return String.fromCharCode.apply(null,Cx.shrinkBuf(e,t));for(var n="",r=0;r>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},lh.buf2binstring=function(e){return mE(e,e.length)},lh.binstring2buf=function(e){for(var t=new Cx.Buf8(e.length),n=0,r=t.length;n4)s[r++]=65533,n+=o-1;else{for(i&=o===2?31:o===3?15:7;o>1&&n1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return mE(s,r)},lh.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&(192&e[n])==128;)n--;return n<0||n===0?t:n+yg[e[n]]>t?n:t};var KK=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},rm=Fl,Ag=mc,XT=lh,WT=lk,pAe=KK,GK=Object.prototype.toString;function hh(e){if(!(this instanceof hh))return new hh(e);this.options=Ag.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pAe,this.strm.avail_out=0;var n=rm.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(WT[n]);if(t.header&&rm.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?XT.string2buf(t.dictionary):GK.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=rm.deflateSetDictionary(this.strm,r))!==0)throw new Error(WT[n]);this._dict_set=!0}}function h5(e,t){var n=new hh(t);if(n.push(e,!0),n.err)throw n.msg||WT[n.err];return n.result}hh.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?i.input=XT.string2buf(e):GK.call(e)==="[object ArrayBuffer]"?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(i.avail_out===0&&(i.output=new Ag.Buf8(o),i.next_out=0,i.avail_out=o),(n=rm.deflate(i,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;i.avail_out!==0&&(i.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(XT.buf2binstring(Ag.shrinkBuf(i.output,i.next_out))):this.onData(Ag.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||i.avail_out===0)&&n!==1);return r===4?(n=rm.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),i.avail_out=0,!0)},hh.prototype.onData=function(e){this.chunks.push(e)},hh.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ag.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},gg.Deflate=hh,gg.deflate=h5,gg.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h5(e,t)},gg.gzip=function(e,t){return(t=t||{}).gzip=!0,h5(e,t)};var Rg={},Hs={},yE=mc,vAe=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],gAe=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],mAe=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],yAe=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Xa=mc,p5=VK,Ol=DK,AAe=function(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,L,w,M,_;n=e.state,r=e.next_in,M=e.input,i=r+(e.avail_in-5),o=e.next_out,_=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<>>=A=R>>>24,p-=A,(A=R>>>16&255)===0)_[o++]=65535&R;else{if(!(16&A)){if(!(64&A)){R=v[(65535&R)+(h&(1<>>=A,p-=A),p<15&&(h+=M[r++]<>>=A=R>>>24,p-=A,!(16&(A=R>>>16&255))){if(!(64&A)){R=g[(65535&R)+(h&(1<l){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=A,p-=A,S>(A=o-a)){if((A=S-A)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(L=0,w=d,f===0){if(L+=u-A,A2;)_[o++]=w[L++],_[o++]=w[L++],_[o++]=w[L++],x-=3;x&&(_[o++]=w[L++],x>1&&(_[o++]=w[L++]))}else{L=o-S;do _[o++]=_[L++],_[o++]=_[L++],_[o++]=_[L++],x-=3;while(x>2);x&&(_[o++]=_[L++],x>1&&(_[o++]=_[L++]))}break}}break}}while(r>3,h&=(1<<(p-=x<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r=1&&C[x]===0;x--);if(S>x&&(S=x),x===0)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(A=1;A0&&(e===0||x!==1))return-1;for(N[1]=0,y=1;y<15;y++)N[y+1]=N[y]+C[y];for(R=0;R852||e===2&&_>592)return 1;for(;;){p=y-w,a[R]h?(v=I[W+a[R]],g=k[F+a[R]]):(v=96,g=0),l=1<>w)+(u-=l)]=p<<24|v<<16|g|0;while(u!==0);for(l=1<>=1;if(l!==0?(P&=l-1,P+=l):P=0,R++,--C[y]==0){if(y===x)break;y=t[n+a[R]]}if(y>S&&(P&f)!==c){for(w===0&&(w=S),d+=A,M=1<<(L=y-w);L+w852||e===2&&_>592)return 1;i[c=P&f]=S<<24|L<<16|d-o|0}}return P!==0&&(i[d+P]=y-w<<24|64<<16|0),s.bits=S,0};function AE(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function RAe(){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 Xa.Buf16(320),this.work=new Xa.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function zK(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Xa.Buf32(852),t.distcode=t.distdyn=new Xa.Buf32(592),t.sane=1,t.back=-1,0):-2}function JK(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,zK(e)):-2}function $K(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,JK(e))):-2}function RE(e,t){var n,r;return e?(r=new RAe,e.state=r,r.window=null,(n=$K(e,t))!==0&&(e.state=null),n):-2}var v5,g5,bE=!0;function bAe(e){if(bE){var t;for(v5=new Xa.Buf32(512),g5=new Xa.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(im(1,e.lens,0,288,v5,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;im(2,e.lens,0,32,g5,0,e.work,{bits:5}),bE=!1}e.lencode=v5,e.lenbits=9,e.distcode=g5,e.distbits=5}function xE(e,t,n,r){var i,o=e.state;return o.window===null&&(o.wsize=1<=o.wsize?(Xa.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),Xa.arraySet(o.window,t,n-r,i,o.wnext),(r-=i)?(Xa.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=Ol(n.check,P,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&u)!=8){e.msg="unknown compression method",n.mode=30;break}if(c-=4,S=8+(15&(u>>>=4)),n.wbits===0)n.wbits=S;else if(S>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(P[0]=255&u,P[1]=u>>>8&255,n.check=Ol(n.check,P,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(s===0)break e;s--,u+=r[o++]<>>8&255,P[2]=u>>>16&255,P[3]=u>>>24&255,n.check=Ol(n.check,P,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(s===0)break e;s--,u+=r[o++]<>8),512&n.flags&&(P[0]=255&u,P[1]=u>>>8&255,n.check=Ol(n.check,P,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Ol(n.check,P,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(S=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Xa.arraySet(n.head.extra,r,o,h,S)),512&n.flags&&(n.check=Ol(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(s===0)break e;h=0;do S=r[o+h++],n.head&&S&&n.length<65536&&(n.head.name+=String.fromCharCode(S));while(S&&h>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;c<32;){if(s===0)break e;s--,u+=r[o++]<>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(s===0)break e;s--,u+=r[o++]<>>=1)){case 0:n.mode=14;break;case 1:if(bAe(n),n.mode=20,t===6){u>>>=2,c-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(s===0)break e;s--,u+=r[o++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&u,u=0,c=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>l&&(h=l),h===0)break e;Xa.arraySet(i,r,o,h,a),s-=h,o+=h,l-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;c<14;){if(s===0)break e;s--,u+=r[o++]<>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,c-=3}for(;n.have<19;)n.lens[k[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},L=im(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,L){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,y=65535&_,!((g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>>=g,c-=g,n.lens[n.have++]=y;else{if(y===16){for(M=g+2;c>>=g,c-=g,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}S=n.lens[n.have-1],h=3+(3&u),u>>>=2,c-=2}else if(y===17){for(M=g+3;c>>=g)),u>>>=3,c-=3}else{for(M=g+7;c>>=g)),u>>>=7,c-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=S}}if(n.mode===30)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,w={bits:n.lenbits},L=im(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,L){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},L=im(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,L){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=c,AAe(e,d),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;m=(_=n.lencode[u&(1<>>16&255,y=65535&_,!((g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>R)])>>>16&255,y=65535&_,!(R+(g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>>=R,c-=R,n.back+=R}if(u>>>=g,c-=g,n.back+=g,n.length=y,m===0){n.mode=26;break}if(32&m){n.back=-1,n.mode=12;break}if(64&m){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(M=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(_=n.distcode[u&(1<>>16&255,y=65535&_,!((g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>R)])>>>16&255,y=65535&_,!(R+(g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>>=R,c-=R,n.back+=R}if(u>>>=g,c-=g,n.back+=g,64&m){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(M=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(l===0)break e;if(h=d-l,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}h>n.wnext?(h-=n.wnext,p=n.wsize-h):p=n.wnext-h,h>n.length&&(h=n.length),v=n.window}else v=i,p=a-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do i[a++]=v[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(l===0)break e;i[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(s===0)break e;s--,u|=r[o++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new xAe,this.strm.avail_out=0;var n=nv.inflateInit2(this.strm,t.windowBits);if(n!==ei.Z_OK)throw new Error(VT[n]);if(this.header=new SAe,nv.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=pb.string2buf(t.dictionary):qK.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=nv.inflateSetDictionary(this.strm,t.dictionary))!==ei.Z_OK))throw new Error(VT[n])}function m5(e,t){var n=new ph(t);if(n.push(e,!0),n.err)throw n.msg||VT[n.err];return n.result}ph.prototype.push=function(e,t){var n,r,i,o,a,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?ei.Z_FINISH:ei.Z_NO_FLUSH,typeof e=="string"?s.input=pb.binstring2buf(e):qK.call(e)==="[object ArrayBuffer]"?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new bg.Buf8(l),s.next_out=0,s.avail_out=l),(n=nv.inflate(s,ei.Z_NO_FLUSH))===ei.Z_NEED_DICT&&u&&(n=nv.inflateSetDictionary(this.strm,u)),n===ei.Z_BUF_ERROR&&c===!0&&(n=ei.Z_OK,c=!1),n!==ei.Z_STREAM_END&&n!==ei.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==ei.Z_STREAM_END&&(s.avail_in!==0||r!==ei.Z_FINISH&&r!==ei.Z_SYNC_FLUSH)||(this.options.to==="string"?(i=pb.utf8border(s.output,s.next_out),o=s.next_out-i,a=pb.buf2string(s.output,i),s.next_out=o,s.avail_out=l-o,o&&bg.arraySet(s.output,s.output,i,o,0),this.onData(a)):this.onData(bg.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(c=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==ei.Z_STREAM_END);return n===ei.Z_STREAM_END&&(r=ei.Z_FINISH),r===ei.Z_FINISH?(n=nv.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===ei.Z_OK):r!==ei.Z_SYNC_FLUSH||(this.onEnd(ei.Z_OK),s.avail_out=0,!0)},ph.prototype.onData=function(e){this.chunks.push(e)},ph.prototype.onEnd=function(e){e===ei.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=bg.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Rg.Inflate=ph,Rg.inflate=m5,Rg.inflateRaw=function(e,t){return(t=t||{}).raw=!0,m5(e,t)},Rg.ungzip=m5;var eG={};(0,mc.assign)(eG,gg,Rg,jK);var wAe=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",MAe=eG,SE=Jr(),vb=Is,LAe=wAe?"uint8array":"array";function Od(e,t){vb.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}db.magic="\b\0",SE.inherits(Od,vb),Od.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(SE.transformTo(LAe,e.data),!1)},Od.prototype.flush=function(){vb.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Od.prototype.cleanUp=function(){vb.prototype.cleanUp.call(this),this._pako=null},Od.prototype._createPako=function(){this._pako=new MAe[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},db.compressWorker=function(e){return new Od("Deflate",e)},db.uncompressWorker=function(){return new Od("Inflate",{})};var wE=Is;kx.STORE={magic:"\0\0",compressWorker:function(){return new wE("STORE compression")},uncompressWorker:function(){return new wE("STORE decompression")}},kx.DEFLATE=db;var tG={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK\x07",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\x07\b"},Op=Jr(),gp=Is,y5=Hv,ME=ik,Ix=tG,vr=function(e,t){var n,r="";for(n=0;n>>=8;return r},LE=function(e,t,n,r,i,o){var a,s,l=e.file,u=e.compression,c=o!==y5.utf8encode,f=Op.transformTo("string",o(l.name)),d=Op.transformTo("string",y5.utf8encode(l.name)),h=l.comment,p=Op.transformTo("string",o(h)),v=Op.transformTo("string",y5.utf8encode(h)),g=d.length!==l.name.length,m=v.length!==h.length,y="",R="",A="",x=l.dir,S=l.date,L={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(L.crc32=e.crc32,L.compressedSize=e.compressedSize,L.uncompressedSize=e.uncompressedSize);var w=0;t&&(w|=8),c||!g&&!m||(w|=2048);var M,_,P,k=0,F=0;x&&(k|=16),i==="UNIX"?(F=798,k|=(M=l.unixPermissions,_=x,P=M,M||(P=_?16893:33204),(65535&P)<<16)):(F=20,k|=63&(l.dosPermissions||0)),a=S.getUTCHours(),a<<=6,a|=S.getUTCMinutes(),a<<=5,a|=S.getUTCSeconds()/2,s=S.getUTCFullYear()-1980,s<<=4,s|=S.getUTCMonth()+1,s<<=5,s|=S.getUTCDate(),g&&(R=vr(1,1)+vr(ME(f),4)+d,y+="up"+vr(R.length,2)+R),m&&(A=vr(1,1)+vr(ME(p),4)+v,y+="uc"+vr(A.length,2)+A);var C="";return C+=` -\0`,C+=vr(w,2),C+=u.magic,C+=vr(a,2),C+=vr(s,2),C+=vr(L.crc32,4),C+=vr(L.compressedSize,4),C+=vr(L.uncompressedSize,4),C+=vr(f.length,2),C+=vr(y.length,2),{fileRecord:Ix.LOCAL_FILE_HEADER+C+f+y,dirRecord:Ix.CENTRAL_FILE_HEADER+vr(F,2)+C+vr(p.length,2)+"\0\0\0\0"+vr(k,4)+vr(r,4)+f+y+p}},TAe=function(e){return Ix.DATA_DESCRIPTOR+vr(e.crc32,4)+vr(e.compressedSize,4)+vr(e.uncompressedSize,4)};function Ks(e,t,n,r){gp.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Op.inherits(Ks,gp),Ks.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,gp.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},Ks.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=LE(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Ks.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=LE(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:TAe(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Ks.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t0?e.substring(0,t):""},oG=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},aG=function(e,t){return t=t!==void 0?t:rG.createFolders,e=oG(e),this.files[e]||iG.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function OE(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var WAe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1){if(OE(e)){var r=e;return this.filter(function(o,a){return!a.dir&&r.test(o)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,iG.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(OE(e))return this.filter(function(i,o){return o.dir&&e.test(i)});var t=this.root+e,n=aG.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(i,o){return o.name.slice(0,e.length)===e}),r=0;r=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return DAe.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var lG=sG,uG=lG;function mp(e){uG.call(this,e);for(var t=0;t=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},mp.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},mp.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var cG=mp,fG=lG;function yp(e){fG.call(this,e)}Jr().inherits(yp,fG),yp.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},yp.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},yp.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},yp.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var UAe=yp,dG=cG;function DT(e){dG.call(this,e)}Jr().inherits(DT,dG),DT.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var hG=DT,pG=hG;function UT(e){pG.call(this,e)}Jr().inherits(UT,pG),UT.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var BAe=UT,VA=Jr(),kE=oi,YAe=cG,ZAe=UAe,QAe=BAe,HAe=hG,vG=function(e){var t=VA.getTypeOf(e);return VA.checkSupport(t),t!=="string"||kE.uint8array?t==="nodebuffer"?new QAe(e):kE.uint8array?new HAe(VA.transformTo("uint8array",e)):new YAe(VA.transformTo("array",e)):new ZAe(e)},A5=vG,Nc=Jr(),KAe=ok,PE=ik,DA=Hv,UA=kx,GAe=oi;function gG(e,t){this.options=e,this.loadOptions=t}gG.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(r){for(var i in UA)if(Object.prototype.hasOwnProperty.call(UA,i)&&UA[i].magic===r)return UA[i];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Nc.pretty(this.compressionMethod)+" unknown (inner file : "+Nc.transformTo("string",this.fileName)+")");this.decompressed=new KAe(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e===0&&(this.dosPermissions=63&this.externalFileAttributes),e===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=A5(this.extraFields[1].value);this.uncompressedSize===Nc.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Nc.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Nc.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Nc.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+41)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e0)this.isSignature(t,Ds.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=JAe(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var qAe=mG,R5=Jr(),mb=ey,eRe=Hv,tRe=qAe,nRe=IK,CE=h3;function rRe(e){return new mb.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new nRe);r.on("error",function(i){n(i)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function cs(){if(!(this instanceof cs))return new cs;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new cs;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}cs.prototype=VAe,cs.prototype.loadAsync=function(e,t){var n=this;return t=R5.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:eRe.utf8decode}),CE.isNode&&CE.isStream(e)?mb.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):R5.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new tRe(t);return i.load(r),i}).then(function(r){var i=[mb.Promise.resolve(r)],o=r.files;if(t.checkCRC32)for(var a=0;a",n),e.substring(w,n).indexOf(S)==-1){var M=e.substring(0,n).split(` +`)):s=e.stylize("[Circular]","special")),eu(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function qO(e){return Array.isArray(e)}function u3(e){return typeof e=="boolean"}function $2(e){return e===null}function oK(e){return e==null}function ek(e){return typeof e=="number"}function Jm(e){return typeof e=="string"}function aK(e){return typeof e=="symbol"}function eu(e){return e===void 0}function jg(e){return d0(e)&&tk(e)==="[object RegExp]"}function d0(e){return typeof e=="object"&&e!==null}function _x(e){return d0(e)&&tk(e)==="[object Date]"}function qg(e){return d0(e)&&(tk(e)==="[object Error]"||e instanceof Error)}function em(e){return typeof e=="function"}function sK(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}function lK(e){return z2(e)}function tk(e){return Object.prototype.toString.call(e)}function ZM(e){return e<10?"0"+e.toString(10):e.toString(10)}ou.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},ou.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var kye=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Pye(){var e=new Date,t=[ZM(e.getHours()),ZM(e.getMinutes()),ZM(e.getSeconds())].join(":");return[e.getDate(),kye[e.getMonth()],t].join(" ")}function uK(){console.log("%s - %s",Pye(),s3.apply(null,arguments))}function nk(e,t){if(!t||!d0(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function cK(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Cye={inherits:Pf,_extend:nk,log:uK,isBuffer:lK,isPrimitive:sK,isFunction:em,isError:qg,isDate:_x,isObject:d0,isRegExp:jg,isUndefined:eu,isSymbol:aK,isString:Jm,isNumber:ek,isNullOrUndefined:oK,isNull:$2,isBoolean:u3,isArray:qO,inspect:ou,deprecate:l3,format:s3,debuglog:jO},Iye=Object.freeze({__proto__:null,format:s3,deprecate:l3,debuglog:jO,inspect:ou,isArray:qO,isBoolean:u3,isNull:$2,isNullOrUndefined:oK,isNumber:ek,isString:Jm,isSymbol:aK,isUndefined:eu,isRegExp:jg,isObject:d0,isDate:_x,isError:qg,isFunction:em,isPrimitive:sK,isBuffer:lK,log:uK,inherits:Pf,_extend:nk,default:Cye});function nh(){this.head=null,this.tail=null,this.length=0}nh.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},nh.prototype.unshift=function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length},nh.prototype.shift=function(){if(this.length!==0){var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},nh.prototype.clear=function(){this.head=this.tail=null,this.length=0},nh.prototype.join=function(e){if(this.length===0)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},nh.prototype.concat=function(e){if(this.length===0)return qe.alloc(0);if(this.length===1)return this.head.data;for(var t=qe.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var Nye=qe.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function tm(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(t){if(t&&!Nye(t))throw new Error("Unknown encoding: "+t)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Eye;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Xye;break;default:return void(this.write=Fye)}this.charBuffer=new qe(6),this.charReceived=0,this.charLength=0}function Fye(e){return e.toString(this.encoding)}function Eye(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function Xye(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}tm.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&i<=56319)){if(this.charReceived=this.charLength=0,e.length===0)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var i;if(r=(t+=e.toString(this.encoding,0,r)).length-1,(i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},tm.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(t==1&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},tm.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t},Fr.ReadableState=fK;var rr=jO("stream");function fK(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Ua&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||n===0?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new nh,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new tm(e.encoding),this.encoding=e.encoding)}function Fr(e){if(!(this instanceof Fr))return new Fr(e);this._readableState=new fK(e,this),this.readable=!0,e&&typeof e.read=="function"&&(this._read=e.read),_n.call(this)}function cF(e,t,n,r,i){var o=function(u,c){var f=null;return z2(c)||typeof c=="string"||c==null||u.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f}(t,n);if(o)e.emit("error",o);else if(n===null)t.reading=!1,function(u,c){if(!c.ended){if(c.decoder){var f=c.decoder.end();f&&f.length&&(c.buffer.push(f),c.length+=c.objectMode?1:f.length)}c.ended=!0,Ox(u)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||i||r||(n=t.decoder.write(n),l=!t.objectMode&&n.length===0),i||(t.reading=!1),l||(t.flowing&&t.length===0&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Ox(e))),function(u,c){c.readingMore||(c.readingMore=!0,pi(Wye,u,c))}(e,t)}else i||(t.reading=!1);return function(u){return!u.ended&&(u.needReadable||u.lengtht.highWaterMark&&(t.highWaterMark=function(n){return n>=8388608?n=8388608:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function Ox(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(rr("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?pi(dF,e):dF(e))}function dF(e){rr("emit readable"),e.emit("readable"),rk(e)}function Wye(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):t.buffer.length===1?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(r,i,o){var a;return rd.length?d.length:s;if(h===d.length?f+=d:f+=d.slice(0,s),(s-=h)===0){h===d.length?(++c,u.next?l.head=u.next:l.head=l.tail=null):(l.head=u,u.data=d.slice(h));break}++c}return l.length-=c,f}(r,i):function(s,l){var u=qe.allocUnsafe(s),c=l.head,f=1;for(c.data.copy(u),s-=c.data.length;c=c.next;){var d=c.data,h=s>d.length?d.length:s;if(d.copy(u,u.length-s,0,h),(s-=h)===0){h===d.length?(++f,c.next?l.head=c.next:l.head=l.tail=null):(l.head=c,c.data=d.slice(h));break}++f}return l.length-=f,u}(r,i),a}(e,t.buffer,t.decoder),n);var n}function QM(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,pi(Uye,t,e))}function Uye(e,t){e.endEmitted||e.length!==0||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function pF(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return rr("read: emitReadable",t.length,t.ended),t.length===0&&t.ended?QM(this):Ox(this),null;if((e=fF(e,t))===0&&t.ended)return t.length===0&&QM(this),null;var r,i=t.needReadable;return rr("need readable",i),(t.length===0||t.length-e0?hF(e,t):null)===null?(t.needReadable=!0,e=0):t.length-=e,t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&QM(this)),r!==null&&this.emit("data",r),r},Fr.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Fr.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,rr("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||t.end!==!1?a:u;function o(g){rr("onunpipe"),g===n&&u()}function a(){rr("onend"),e.end()}r.endEmitted?pi(i):n.once("end",i),e.on("unpipe",o);var s=function(g){return function(){var m=g._readableState;rr("pipeOnDrain",m.awaitDrain),m.awaitDrain&&m.awaitDrain--,m.awaitDrain===0&&g.listeners("data").length&&(m.flowing=!0,rk(g))}}(n);e.on("drain",s);var l=!1;function u(){rr("cleanup"),e.removeListener("close",h),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",d),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",u),n.removeListener("data",f),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var c=!1;function f(g){rr("ondata"),c=!1,e.write(g)!==!1||c||((r.pipesCount===1&&r.pipes===e||r.pipesCount>1&&pF(r.pipes,e)!==-1)&&!l&&(rr("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,c=!0),n.pause())}function d(g){var m;rr("onerror",g),v(),e.removeListener("error",d),m="error",e.listeners(m).length===0&&e.emit("error",g)}function h(){e.removeListener("finish",p),v()}function p(){rr("onfinish"),e.removeListener("close",h),v()}function v(){rr("unpipe"),n.unpipe(e)}return n.on("data",f),function(g,m,y){if(typeof g.prependListener=="function")return g.prependListener(m,y);g._events&&g._events[m]?Array.isArray(g._events[m])?g._events[m].unshift(y):g._events[m]=[y,g._events[m]]:g.on(m,y)}(e,"error",d),e.once("close",h),e.once("finish",p),e.emit("pipe",n),r.flowing||(rr("pipe resume"),n.resume()),e},Fr.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Di.prototype._write=function(e,t,n){n(new Error("not implemented"))},Di.prototype._writev=null,Di.prototype.end=function(e,t,n){var r=this._writableState;typeof e=="function"?(n=e,e=null,t=null):typeof t=="function"&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(i,o,a){o.ending=!0,pK(i,o),a&&(o.finished?pi(a):i.once("finish",a)),o.ended=!0,i.writable=!1}(this,r,n)},Pf(Ua,Fr);for(var mF=Object.keys(Di.prototype),HM=0;HM0?this.tail.next=o:this.head=o,this.tail=o,++this.length},r.prototype.unshift=function(i){var o={data:i,next:this.head};this.length===0&&(this.tail=o),this.head=o,++this.length},r.prototype.shift=function(){if(this.length!==0){var i=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,i}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(i){if(this.length===0)return"";for(var o=this.head,a=""+o.data;o=o.next;)a+=i+o.data;return a},r.prototype.concat=function(i){if(this.length===0)return t.alloc(0);if(this.length===1)return this.head.data;for(var o,a,s,l=t.allocUnsafe(i>>>0),u=this.head,c=0;u;)o=u.data,a=l,s=c,o.copy(a,s),c+=u.data.length,u=u.next;return l},r}(),n&&n.inspect&&n.inspect.custom&&(e.exports.prototype[n.inspect.custom]=function(){var r=n.inspect({length:this.length});return this.constructor.name+" "+r})}(FF)),FF.exports}function AK(){if(kF)return JM;kF=1;var e=c3();function t(n,r){n.emit("error",r)}return JM={destroy:function(n,r){var i=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(r?r(n):!n||this._writableState&&this._writableState.errorEmitted||e.nextTick(t,this,n),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(s){!r&&s?(e.nextTick(t,i,s),i._writableState&&(i._writableState.errorEmitted=!0)):r&&r(s)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}},JM}function RK(){if(IF)return $M;IF=1;var e=c3();function t(A){var x=this;this.next=null,this.entry=null,this.finish=function(){(function(S,L,w){var M=S.entry;for(S.entry=null;M;){var _=M.callback;L.pendingcb--,_(w),M=M.next}L.corkedRequestsFree?L.corkedRequestsFree.next=S:L.corkedRequestsFree=S})(x,A)}}$M=h;var n,r=e.nextTick;h.WritableState=d;var i=Object.create(j2());i.inherits=q2();var o={deprecate:CF?PF:(CF=1,PF=d3.deprecate)},a=mK(),s=f3().Buffer,l=Ta.Uint8Array||function(){},u,c=AK();function f(){}function d(A,x){n=n||Rv(),A=A||{};var S=x instanceof n;this.objectMode=!!A.objectMode,S&&(this.objectMode=this.objectMode||!!A.writableObjectMode);var L=A.highWaterMark,w=A.writableHighWaterMark,M=this.objectMode?16:16384;this.highWaterMark=L||L===0?L:S&&(w||w===0)?w:M,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var _=A.decodeStrings===!1;this.decodeStrings=!_,this.defaultEncoding=A.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(k){(function(P,N){var C=P._writableState,F=C.sync,I=C.writecb;if(function(D){D.writing=!1,D.writecb=null,D.length-=D.writelen,D.writelen=0}(C),N)(function(D,Z,re,B,Y){--Z.pendingcb,re?(e.nextTick(Y,B),e.nextTick(R,D,Z),D._writableState.errorEmitted=!0,D.emit("error",B)):(Y(B),D._writableState.errorEmitted=!0,D.emit("error",B),R(D,Z))})(P,C,F,N,I);else{var W=m(C);W||C.corked||C.bufferProcessing||!C.bufferedRequest||g(P,C),F?r(v,P,C,W,I):v(P,C,W,I)}})(x,k)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}function h(A){if(n=n||Rv(),!(u.call(h,this)||this instanceof n))return new h(A);this._writableState=new d(A,this),this.writable=!0,A&&(typeof A.write=="function"&&(this._write=A.write),typeof A.writev=="function"&&(this._writev=A.writev),typeof A.destroy=="function"&&(this._destroy=A.destroy),typeof A.final=="function"&&(this._final=A.final)),a.call(this)}function p(A,x,S,L,w,M,_){x.writelen=L,x.writecb=_,x.writing=!0,x.sync=!0,S?A._writev(w,x.onwrite):A._write(w,M,x.onwrite),x.sync=!1}function v(A,x,S,L){S||function(w,M){M.length===0&&M.needDrain&&(M.needDrain=!1,w.emit("drain"))}(A,x),x.pendingcb--,L(),R(A,x)}function g(A,x){x.bufferProcessing=!0;var S=x.bufferedRequest;if(A._writev&&S&&S.next){var L=x.bufferedRequestCount,w=new Array(L),M=x.corkedRequestsFree;M.entry=S;for(var _=0,k=!0;S;)w[_]=S,S.isBuf||(k=!1),S=S.next,_+=1;w.allBuffers=k,p(A,x,!0,x.length,w,"",M.finish),x.pendingcb++,x.lastBufferedRequest=null,M.next?(x.corkedRequestsFree=M.next,M.next=null):x.corkedRequestsFree=new t(x),x.bufferedRequestCount=0}else{for(;S;){var P=S.chunk,N=S.encoding,C=S.callback;if(p(A,x,!1,x.objectMode?1:P.length,P,N,C),S=S.next,x.bufferedRequestCount--,x.writing)break}S===null&&(x.lastBufferedRequest=null)}x.bufferedRequest=S,x.bufferProcessing=!1}function m(A){return A.ending&&A.length===0&&A.bufferedRequest===null&&!A.finished&&!A.writing}function y(A,x){A._final(function(S){x.pendingcb--,S&&A.emit("error",S),x.prefinished=!0,A.emit("prefinish"),R(A,x)})}function R(A,x){var S=m(x);return S&&(function(L,w){w.prefinished||w.finalCalled||(typeof L._final=="function"?(w.pendingcb++,w.finalCalled=!0,e.nextTick(y,L,w)):(w.prefinished=!0,L.emit("prefinish")))}(A,x),x.pendingcb===0&&(x.finished=!0,A.emit("finish"))),S}return i.inherits(h,a),d.prototype.getBuffer=function(){for(var A=this.bufferedRequest,x=[];A;)x.push(A),A=A.next;return x},function(){try{Object.defineProperty(d.prototype,"buffer",{get:o.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(A){return!!u.call(this,A)||this===h&&A&&A._writableState instanceof d}})):u=function(A){return A instanceof this},h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},h.prototype.write=function(A,x,S){var L,w=this._writableState,M=!1,_=!w.objectMode&&(L=A,s.isBuffer(L)||L instanceof l);return _&&!s.isBuffer(A)&&(A=function(k){return s.from(k)}(A)),typeof x=="function"&&(S=x,x=null),_?x="buffer":x||(x=w.defaultEncoding),typeof S!="function"&&(S=f),w.ended?function(k,P){var N=new Error("write after end");k.emit("error",N),e.nextTick(P,N)}(this,S):(_||function(k,P,N,C){var F=!0,I=!1;return N===null?I=new TypeError("May not write null values to stream"):typeof N=="string"||N===void 0||P.objectMode||(I=new TypeError("Invalid non-string/buffer chunk")),I&&(k.emit("error",I),e.nextTick(C,I),F=!1),F}(this,w,A,S))&&(w.pendingcb++,M=function(k,P,N,C,F,I){if(!N){var W=function(B,Y,Q){return B.objectMode||B.decodeStrings===!1||typeof Y!="string"||(Y=s.from(Y,Q)),Y}(P,C,F);C!==W&&(N=!0,F="buffer",C=W)}var D=P.objectMode?1:C.length;P.length+=D;var Z=P.length-1))throw new TypeError("Unknown encoding: "+A);return this._writableState.defaultEncoding=A,this},Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(A,x,S){S(new Error("_write() is not implemented"))},h.prototype._writev=null,h.prototype.end=function(A,x,S){var L=this._writableState;typeof A=="function"?(S=A,A=null,x=null):typeof x=="function"&&(S=x,x=null),A!=null&&this.write(A,x),L.corked&&(L.corked=1,this.uncork()),L.ending||L.finished||function(w,M,_){M.ending=!0,R(w,M),_&&(M.finished?e.nextTick(_):w.once("finish",_)),M.ended=!0,w.writable=!1}(this,L,S)},Object.defineProperty(h.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(A){this._writableState&&(this._writableState.destroyed=A)}}),h.prototype.destroy=c.destroy,h.prototype._undestroy=c.undestroy,h.prototype._destroy=function(A,x){this.end(),x(A)},$M}function Rv(){if(NF)return jM;NF=1;var e=c3(),t=Object.keys||function(f){var d=[];for(var h in f)d.push(h);return d};jM=l;var n=Object.create(j2());n.inherits=q2();var r=bK(),i=RK();n.inherits(l,r);for(var o=t(i.prototype),a=0;a>5==6?2:f>>4==14?3:f>>3==30?4:f>>6==2?-1:-2}function i(f){var d=this.lastTotal-this.lastNeed,h=function(p,v,g){if((192&v[0])!=128)return p.lastNeed=0,"�";if(p.lastNeed>1&&v.length>1){if((192&v[1])!=128)return p.lastNeed=1,"�";if(p.lastNeed>2&&v.length>2&&(192&v[2])!=128)return p.lastNeed=2,"�"}}(this,f);return h!==void 0?h:this.lastNeed<=f.length?(f.copy(this.lastChar,d,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(f.copy(this.lastChar,d,0,f.length),void(this.lastNeed-=f.length))}function o(f,d){if((f.length-d)%2==0){var h=f.toString("utf16le",d);if(h){var p=h.charCodeAt(h.length-1);if(p>=55296&&p<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],h.slice(0,-1)}return h}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",d,f.length-1)}function a(f){var d=f&&f.length?this.write(f):"";if(this.lastNeed){var h=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,h)}return d}function s(f,d){var h=(f.length-d)%3;return h===0?f.toString("base64",d):(this.lastNeed=3-h,this.lastTotal=3,h===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",d,f.length-h))}function l(f){var d=f&&f.length?this.write(f):"";return this.lastNeed?d+this.lastChar.toString("base64",0,3-this.lastNeed):d}function u(f){return f.toString(this.encoding)}function c(f){return f&&f.length?this.write(f):""}return n5.StringDecoder=n,n.prototype.write=function(f){if(f.length===0)return"";var d,h;if(this.lastNeed){if((d=this.fillLast(f))===void 0)return"";h=this.lastNeed,this.lastNeed=0}else h=0;return h=0?(R>0&&(v.lastNeed=R-1),R):--y=0?(R>0&&(v.lastNeed=R-2),R):--y=0?(R>0&&(R===2?R=0:v.lastNeed=R-3),R):0}(this,f,d);if(!this.lastNeed)return f.toString("utf8",d);this.lastTotal=h;var p=f.length-(h-this.lastNeed);return f.copy(this.lastChar,0,p),f.toString("utf8",d,p)},n.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length},n5}function bK(){if(XF)return qM;XF=1;var e=c3();qM=v;var t,n=function(){if(bF)return RF;bF=1;var F={}.toString;return RF=Array.isArray||function(I){return F.call(I)=="[object Array]"}}();v.ReadableState=p,Kye.EventEmitter;var r=function(F,I){return F.listeners(I).length},i=mK(),o=f3().Buffer,a=Ta.Uint8Array||function(){},s=Object.create(j2());s.inherits=q2();var l=d3,u=void 0;u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,f=Gye(),d=AK();s.inherits(v,i);var h=["error","close","destroy","pause","resume"];function p(F,I){F=F||{};var W=I instanceof(t=t||Rv());this.objectMode=!!F.objectMode,W&&(this.objectMode=this.objectMode||!!F.readableObjectMode);var D=F.highWaterMark,Z=F.readableHighWaterMark,re=this.objectMode?16:16384;this.highWaterMark=D||D===0?D:W&&(Z||Z===0)?Z:re,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=F.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,F.encoding&&(c||(c=UF().StringDecoder),this.decoder=new c(F.encoding),this.encoding=F.encoding)}function v(F){if(t=t||Rv(),!(this instanceof v))return new v(F);this._readableState=new p(F,this),this.readable=!0,F&&(typeof F.read=="function"&&(this._read=F.read),typeof F.destroy=="function"&&(this._destroy=F.destroy)),i.call(this)}function g(F,I,W,D,Z){var re,B=F._readableState;return I===null?(B.reading=!1,function(Y,Q){if(!Q.ended){if(Q.decoder){var K=Q.decoder.end();K&&K.length&&(Q.buffer.push(K),Q.length+=Q.objectMode?1:K.length)}Q.ended=!0,A(Y)}}(F,B)):(Z||(re=function(Y,Q){var K;q=Q,o.isBuffer(q)||q instanceof a||typeof Q=="string"||Q===void 0||Y.objectMode||(K=new TypeError("Invalid non-string/buffer chunk"));var q;return K}(B,I)),re?F.emit("error",re):B.objectMode||I&&I.length>0?(typeof I=="string"||B.objectMode||Object.getPrototypeOf(I)===o.prototype||(I=function(Y){return o.from(Y)}(I)),D?B.endEmitted?F.emit("error",new Error("stream.unshift() after end event")):m(F,B,I,!0):B.ended?F.emit("error",new Error("stream.push() after EOF")):(B.reading=!1,B.decoder&&!W?(I=B.decoder.write(I),B.objectMode||I.length!==0?m(F,B,I,!1):S(F,B)):m(F,B,I,!1))):D||(B.reading=!1)),function(Y){return!Y.ended&&(Y.needReadable||Y.lengthI.highWaterMark&&(I.highWaterMark=function(W){return W>=y?W=y:(W--,W|=W>>>1,W|=W>>>2,W|=W>>>4,W|=W>>>8,W|=W>>>16,W++),W}(F)),F<=I.length?F:I.ended?I.length:(I.needReadable=!0,0))}function A(F){var I=F._readableState;I.needReadable=!1,I.emittedReadable||(u("emitReadable",I.flowing),I.emittedReadable=!0,I.sync?e.nextTick(x,F):x(F))}function x(F){u("emit readable"),F.emit("readable"),_(F)}function S(F,I){I.readingMore||(I.readingMore=!0,e.nextTick(L,F,I))}function L(F,I){for(var W=I.length;!I.reading&&!I.flowing&&!I.ended&&I.length=I.length?(W=I.decoder?I.buffer.join(""):I.buffer.length===1?I.buffer.head.data:I.buffer.concat(I.length),I.buffer.clear()):W=function(D,Z,re){var B;return Dde.length?de.length:Y;if(G===de.length?$+=de:$+=de.slice(0,Y),(Y-=G)===0){G===de.length?(++q,K.next?Q.head=K.next:Q.head=Q.tail=null):(Q.head=K,K.data=de.slice(G));break}++q}return Q.length-=q,$}(D,Z):function(Y,Q){var K=o.allocUnsafe(Y),q=Q.head,$=1;for(q.data.copy(K),Y-=q.data.length;q=q.next;){var de=q.data,G=Y>de.length?de.length:Y;if(de.copy(K,K.length-Y,0,G),(Y-=G)===0){G===de.length?(++$,q.next?Q.head=q.next:Q.head=Q.tail=null):(Q.head=q,q.data=de.slice(G));break}++$}return Q.length-=$,K}(D,Z),B}(F,I.buffer,I.decoder),W);var W}function P(F){var I=F._readableState;if(I.length>0)throw new Error('"endReadable()" called on non-empty stream');I.endEmitted||(I.ended=!0,e.nextTick(N,I,F))}function N(F,I){F.endEmitted||F.length!==0||(F.endEmitted=!0,I.readable=!1,I.emit("end"))}function C(F,I){for(var W=0,D=F.length;W=I.highWaterMark||I.ended))return u("read: emitReadable",I.length,I.ended),I.length===0&&I.ended?P(this):A(this),null;if((F=R(F,I))===0&&I.ended)return I.length===0&&P(this),null;var D,Z=I.needReadable;return u("need readable",Z),(I.length===0||I.length-F0?k(F,I):null)===null?(I.needReadable=!0,F=0):I.length-=F,I.length===0&&(I.ended||(I.needReadable=!0),W!==F&&I.ended&&P(this)),D!==null&&this.emit("data",D),D},v.prototype._read=function(F){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(F,I){var W=this,D=this._readableState;switch(D.pipesCount){case 0:D.pipes=F;break;case 1:D.pipes=[D.pipes,F];break;default:D.pipes.push(F)}D.pipesCount+=1,u("pipe count=%d opts=%j",D.pipesCount,I);var Z=(!I||I.end!==!1)&&F!==Ca.stdout&&F!==Ca.stderr?B:Ae;function re(ce,fe){u("onunpipe"),ce===W&&fe&&fe.hasUnpiped===!1&&(fe.hasUnpiped=!0,u("cleanup"),F.removeListener("close",de),F.removeListener("finish",G),F.removeListener("drain",Y),F.removeListener("error",$),F.removeListener("unpipe",re),W.removeListener("end",B),W.removeListener("end",Ae),W.removeListener("data",q),Q=!0,!D.awaitDrain||F._writableState&&!F._writableState.needDrain||Y())}function B(){u("onend"),F.end()}D.endEmitted?e.nextTick(Z):W.once("end",Z),F.on("unpipe",re);var Y=function(ce){return function(){var fe=ce._readableState;u("pipeOnDrain",fe.awaitDrain),fe.awaitDrain&&fe.awaitDrain--,fe.awaitDrain===0&&r(ce,"data")&&(fe.flowing=!0,_(ce))}}(W);F.on("drain",Y);var Q=!1,K=!1;function q(ce){u("ondata"),K=!1,F.write(ce)!==!1||K||((D.pipesCount===1&&D.pipes===F||D.pipesCount>1&&C(D.pipes,F)!==-1)&&!Q&&(u("false write response, pause",W._readableState.awaitDrain),W._readableState.awaitDrain++,K=!0),W.pause())}function $(ce){u("onerror",ce),Ae(),F.removeListener("error",$),r(F,"error")===0&&F.emit("error",ce)}function de(){F.removeListener("finish",G),Ae()}function G(){u("onfinish"),F.removeListener("close",de),Ae()}function Ae(){u("unpipe"),W.unpipe(F)}return W.on("data",q),function(ce,fe,le){if(typeof ce.prependListener=="function")return ce.prependListener(fe,le);ce._events&&ce._events[fe]?n(ce._events[fe])?ce._events[fe].unshift(le):ce._events[fe]=[le,ce._events[fe]]:ce.on(fe,le)}(F,"error",$),F.once("close",de),F.once("finish",G),F.emit("pipe",W),D.flowing||(u("pipe resume"),W.resume()),F},v.prototype.unpipe=function(F){var I=this._readableState,W={hasUnpiped:!1};if(I.pipesCount===0)return this;if(I.pipesCount===1)return F&&F!==I.pipes||(F||(F=I.pipes),I.pipes=null,I.pipesCount=0,I.flowing=!1,F&&F.emit("unpipe",this,W)),this;if(!F){var D=I.pipes,Z=I.pipesCount;I.pipes=null,I.pipesCount=0,I.flowing=!1;for(var re=0;re"u")oi.blob=!1;else{var YF=new ArrayBuffer(0);try{oi.blob=new Blob([YF],{type:"application/zip"}).size===0}catch{try{var ZF=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);ZF.append(YF),oi.blob=ZF.getBlob("application/zip").size===0}catch{oi.blob=!1}}}try{oi.nodestream=!!xK().Readable}catch{oi.nodestream=!1}var QF,WA={};function SK(){if(QF)return WA;QF=1;var e=Jr(),t=oi,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return WA.encode=function(r){for(var i,o,a,s,l,u,c,f=[],d=0,h=r.length,p=h,v=e.getTypeOf(r)!=="string";d>2,l=(3&i)<<4|o>>4,u=p>1?(15&o)<<2|a>>6:64,c=p>2?63&a:64,f.push(n.charAt(s)+n.charAt(l)+n.charAt(u)+n.charAt(c));return f.join("")},WA.decode=function(r){var i,o,a,s,l,u,c=0,f=0,d="data:";if(r.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var h,p=3*(r=r.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(r.charAt(r.length-1)===n.charAt(64)&&p--,r.charAt(r.length-2)===n.charAt(64)&&p--,p%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=t.uint8array?new Uint8Array(0|p):new Array(0|p);c>4,o=(15&s)<<4|(l=n.indexOf(r.charAt(c++)))>>2,a=(3&l)<<6|(u=n.indexOf(r.charAt(c++))),h[f++]=i,l!==64&&(h[f++]=o),u!==64&&(h[f++]=a);return h},WA}var HF,KF,r5,GF,h3={isNode:!0,newBufferFrom:function(e,t){if(qe.from&&qe.from!==Uint8Array.from)return qe.from(e,t);if(typeof e=="number")throw new Error('The "data" argument must not be a number');return new qe(e,t)},allocBuffer:function(e){if(qe.alloc)return qe.alloc(e);var t=new qe(e);return t.fill(0),t},isBuffer:function(e){return z2(e)},isStream:function(e){return e&&typeof e.on=="function"&&typeof e.pause=="function"&&typeof e.resume=="function"}},wK=null;wK=typeof Promise<"u"?Promise:function(){if(GF)return r5;GF=1;var e=function(){if(KF)return HF;KF=1;var d,h,p=Ta.MutationObserver||Ta.WebKitMutationObserver;if(p){var v=0,g=new p(A),m=Ta.document.createTextNode("");g.observe(m,{characterData:!0}),d=function(){m.data=v=++v%2}}else if(Ta.setImmediate||Ta.MessageChannel===void 0)d="document"in Ta&&"onreadystatechange"in Ta.document.createElement("script")?function(){var x=Ta.document.createElement("script");x.onreadystatechange=function(){A(),x.onreadystatechange=null,x.parentNode.removeChild(x),x=null},Ta.document.documentElement.appendChild(x)}:function(){setTimeout(A,0)};else{var y=new Ta.MessageChannel;y.port1.onmessage=A,d=function(){y.port2.postMessage(0)}}var R=[];function A(){var x,S;h=!0;for(var L=R.length;L;){for(S=R,R=[],x=-1;++x1;)try{return s.stringifyByChunk(f,h,d)}catch{d=Math.floor(d/2)}return s.stringifyByChar(f)}function u(f,d){for(var h=0;h"u"?Ta:self),MK.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}};var Is=MK;(function(e){for(var t=Jr(),n=oi,r=h3,i=Is,o=new Array(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;o[254]=o[254]=1;function s(){i.call(this,"utf-8 decode"),this.leftOver=null}function l(){i.call(this,"utf-8 encode")}e.utf8encode=function(u){return n.nodebuffer?r.newBufferFrom(u,"utf-8"):function(c){var f,d,h,p,v,g=c.length,m=0;for(p=0;p>>6,f[v++]=128|63&d):d<65536?(f[v++]=224|d>>>12,f[v++]=128|d>>>6&63,f[v++]=128|63&d):(f[v++]=240|d>>>18,f[v++]=128|d>>>12&63,f[v++]=128|d>>>6&63,f[v++]=128|63&d);return f}(u)},e.utf8decode=function(u){return n.nodebuffer?t.transformTo("nodebuffer",u).toString("utf-8"):function(c){var f,d,h,p,v=c.length,g=new Array(2*v);for(d=0,f=0;f4)g[d++]=65533,f+=p-1;else{for(h&=p===2?31:p===3?15:7;p>1&&f1?g[d++]=65533:h<65536?g[d++]=h:(h-=65536,g[d++]=55296|h>>10&1023,g[d++]=56320|1023&h)}return g.length!==d&&(g.subarray?g=g.subarray(0,d):g.length=d),t.applyFromCharCode(g)}(u=t.transformTo(n.uint8array?"uint8array":"array",u))},t.inherits(s,i),s.prototype.processChunk=function(u){var c=t.transformTo(n.uint8array?"uint8array":"array",u.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var f=c;(c=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),c.set(f,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var d=function(p,v){var g;for((v=v||p.length)>p.length&&(v=p.length),g=v-1;g>=0&&(192&p[g])==128;)g--;return g<0||g===0?v:g+o[p[g]]>v?g:v}(c),h=c;d!==c.length&&(n.uint8array?(h=c.subarray(0,d),this.leftOver=c.subarray(d,c.length)):(h=c.slice(0,d),this.leftOver=c.slice(d,c.length))),this.push({data:e.utf8decode(h),meta:u.meta})},s.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=s,t.inherits(l,i),l.prototype.processChunk=function(u){this.push({data:e.utf8encode(u.data),meta:u.meta})},e.Utf8EncodeWorker=l})(Hv);var LK=Is,JF=Jr();function PT(e){LK.call(this,"ConvertWorker to "+e),this.destType=e}JF.inherits(PT,LK),PT.prototype.processChunk=function(e){this.push({data:JF.transformTo(this.destType,e.data),meta:e.meta})};var $F,jF,zye=PT,Ph=Jr(),Jye=zye,$ye=Is,jye=SK(),qye=ey,TK=null;if(oi.nodestream)try{TK=function(){if(jF)return $F;jF=1;var e=xK().Readable;function t(n,r,i){e.call(this,r),this._helper=n;var o=this;n.on("data",function(a,s){o.push(a)||o._helper.pause(),i&&i(s)}).on("error",function(a){o.emit("error",a)}).on("end",function(){o.push(null)})}return Jr().inherits(t,e),t.prototype._read=function(){this._helper.resume()},$F=t}()}catch{}function eAe(e,t){return new qye.Promise(function(n,r){var i=[],o=e._internalType,a=e._outputType,s=e._mimeType;e.on("data",function(l,u){i.push(l),t&&t(u)}).on("error",function(l){i=[],r(l)}).on("end",function(){try{var l=function(u,c,f){switch(u){case"blob":return Ph.newBlob(Ph.transformTo("arraybuffer",c),f);case"base64":return jye.encode(c);default:return Ph.transformTo(u,c)}}(a,function(u,c){var f,d=0,h=null,p=0;for(f=0;f=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})};var PK=pp,tAe=Jr(),qF=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),ik=function(e,t){return e!==void 0&&e.length?tAe.getTypeOf(e)!=="string"?function(n,r,i,o){var a=qF,s=o+i;n^=-1;for(var l=o;l>>8^a[255&(n^r[l])];return-1^n}(0|t,e,e.length,0):function(n,r,i,o){var a=qF,s=o+i;n^=-1;for(var l=o;l>>8^a[255&(n^r.charCodeAt(l))];return-1^n}(0|t,e,e.length,0):0},CK=Is,nAe=ik;function CT(){CK.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}Jr().inherits(CT,CK),CT.prototype.processChunk=function(e){this.streamInfo.crc32=nAe(e.data,this.streamInfo.crc32||0),this.push(e)};var IK=CT,rAe=Jr(),IT=Is;function NT(e){IT.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}rAe.inherits(NT,IT),NT.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}IT.prototype.processChunk.call(this,e)};var eE=ey,tE=PK,iAe=IK,i5=NT;function FT(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}FT.prototype={getContentWorker:function(){var e=new tE(eE.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i5("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new tE(eE.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},FT.createWorkerFrom=function(e,t,n){return e.pipe(new iAe).pipe(new i5("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new i5("compressedSize")).withStreamInfo("compression",t)};var ok=FT,oAe=OK,aAe=PK,o5=Hv,a5=ok,nE=Is,ak=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};ak.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r=(n=e.toLowerCase())==="string"||n==="text";n!=="binarystring"&&n!=="text"||(n="string"),t=this._decompressWorker();var i=!this._dataBinary;i&&!r&&(t=t.pipe(new o5.Utf8EncodeWorker)),!i&&r&&(t=t.pipe(new o5.Utf8DecodeWorker))}catch(o){(t=new nE("error")).error(o)}return new oAe(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a5&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o5.Utf8EncodeWorker)),a5.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a5?this._data.getContentWorker():this._data instanceof nE?this._data:new aAe(this._data)}};for(var rE=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],sAe=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},s5=0;s5=0;)e[t]=0}var ET=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],hb=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],cAe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],iE=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Yu=new Array(576);Kv(Yu);var mg=new Array(60);Kv(mg);var $m=new Array(512);Kv($m);var nm=new Array(256);Kv(nm);var sk=new Array(29);Kv(sk);var oE,aE,sE,Px=new Array(30);function l5(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function u5(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function FK(e){return e<256?$m[e]:$m[256+(e>>>7)]}function jm(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Ko(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1;while(--t>0);return n>>>1}function XK(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];s!==0&&(e[2*i]=EK(o[s]++,s))}}function lE(e){var t;for(t=0;t<286;t++)e.dyn_ltree[2*t]=0;for(t=0;t<30;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function WK(e){e.bi_valid>8?jm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function uE(e,t,n,r){var i=2*t,o=2*n;return e[i]>1;n>=1;n--)c5(e,o,n);i=l;do n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],c5(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,c5(e,o,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(c,f){var d,h,p,v,g,m,y=f.dyn_tree,R=f.max_code,A=f.stat_desc.static_tree,x=f.stat_desc.has_stree,S=f.stat_desc.extra_bits,L=f.stat_desc.extra_base,w=f.stat_desc.max_length,M=0;for(v=0;v<=15;v++)c.bl_count[v]=0;for(y[2*c.heap[c.heap_max]+1]=0,d=c.heap_max+1;d<573;d++)(v=y[2*y[2*(h=c.heap[d])+1]+1]+1)>w&&(v=w,M++),y[2*h+1]=v,h>R||(c.bl_count[v]++,g=0,h>=L&&(g=S[h-L]),m=y[2*h],c.opt_len+=m*(v+g),x&&(c.static_len+=m*(A[2*h+1]+g)));if(M!==0){do{for(v=w-1;c.bl_count[v]===0;)v--;c.bl_count[v]--,c.bl_count[v+1]+=2,c.bl_count[w]--,M-=2}while(M>0);for(v=w;v!==0;v--)for(h=c.bl_count[v];h!==0;)(p=c.heap[--d])>R||(y[2*p+1]!==v&&(c.opt_len+=(v-y[2*p+1])*y[2*p],y[2*p+1]=v),h--)}}(e,t),XK(o,u,e.bl_count)}function fE(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,u=4;for(a===0&&(l=138,u=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s>=7;i<30;i++)for(Px[i]=o<<7,t=0;t<1<0?(e.strm.data_type===2&&(e.strm.data_type=function(s){var l,u=4093624447;for(l=0;l<=31;l++,u>>>=1)if(1&u&&s.dyn_ltree[2*l]!==0)return 0;if(s.dyn_ltree[18]!==0||s.dyn_ltree[20]!==0||s.dyn_ltree[26]!==0)return 1;for(l=32;l<256;l++)if(s.dyn_ltree[2*l]!==0)return 1;return 0}(e)),f5(e,e.l_desc),f5(e,e.d_desc),a=function(s){var l;for(fE(s,s.dyn_ltree,s.l_desc.max_code),fE(s,s.dyn_dtree,s.d_desc.max_code),f5(s,s.bl_desc),l=18;l>=3&&s.bl_tree[2*iE[l]+1]===0;l--);return s.opt_len+=3*(l+1)+5+5+4,l}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&t!==-1?pE(e,t,n,r):e.strategy===4||o===i?(Ko(e,2+(r?1:0),3),cE(e,Yu,mg)):(Ko(e,4+(r?1:0),3),function(s,l,u,c){var f;for(Ko(s,l-257,5),Ko(s,u-1,5),Ko(s,c-4,4),f=0;f>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,t===0?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(nm[n]+256+1)]++,e.dyn_dtree[2*FK(t)]++),e.last_lit===e.lit_bufsize-1},vp._tr_align=function(e){Ko(e,2,3),Gl(e,256,Yu),function(t){t.bi_valid===16?(jm(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(e)};var VK=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;n!==0;){n-=a=n>2e3?2e3:n;do o=o+(i=i+t[r++]|0)|0;while(--a);i%=65521,o%=65521}return i|o<<16|0},fAe=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}(),_p,DK=function(e,t,n,r){var i=fAe,o=r+n;e^=-1;for(var a=r;a>>8^i[255&(e^t[a])];return-1^e},lk={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ko=mc,ys=vp,UK=VK,qc=DK,dAe=lk;function lf(e,t){return e.msg=dAe[t],t}function vE(e){return(e<<1)-(e>4?9:0)}function gf(e){for(var t=e.length;--t>=0;)e[t]=0}function ef(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(ko.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function Ui(e,t){ys._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ef(e.strm)}function Un(e,t){e.pending_buf[e.pending++]=t}function L1(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function BK(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-262?e.strstart-(e.w_size-262):0,u=e.window,c=e.w_mask,f=e.prev,d=e.strstart+258,h=u[o+a-1],p=u[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do if(u[(n=t)+a]===p&&u[n+a-1]===h&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do;while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&oa){if(e.match_start=t,a=r,r>=s)break;h=u[o+a-1],p=u[o+a]}}while((t=f[t&c])>l&&--i!=0);return a<=e.lookahead?a:e.lookahead}function sh(e){var t,n,r,i,o,a,s,l,u,c,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-262)){ko.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=n=e.hash_size;do r=e.head[--t],e.head[t]=r>=f?r-f:0;while(--n);t=n=f;do r=e.prev[--t],e.prev[t]=r>=f?r-f:0;while(--n);i+=f}if(e.strm.avail_in===0)break;if(a=e.strm,s=e.window,l=e.strstart+e.lookahead,u=i,c=void 0,(c=a.avail_in)>u&&(c=u),n=c===0?0:(a.avail_in-=c,ko.arraySet(s,a.input,a.next_in,c,l),a.state.wrap===1?a.adler=UK(a.adler,s,c,l):a.state.wrap===2&&(a.adler=qc(a.adler,s,c,l)),a.next_in+=c,a.total_in+=c,c),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=ys._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=ys._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<15&&(a=2,r-=16),i<1||i>9||n!==8||r<8||r>15||t<0||t>9||o<0||o>4)return lf(e,-2);r===8&&(r=9);var s=new hAe;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(sh(e),e.lookahead===0&&t===0)return 1;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Ui(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-262&&(Ui(e,!1),e.strm.avail_out===0))return 1}return e.insert=0,t===4?(Ui(e,!0),e.strm.avail_out===0?3:4):(e.strstart>e.block_start&&(Ui(e,!1),e.strm.avail_out),1)}),new _l(4,4,8,4,d5),new _l(4,5,16,8,d5),new _l(4,6,32,32,d5),new _l(4,4,16,16,X0),new _l(8,16,32,32,X0),new _l(8,16,128,128,X0),new _l(8,32,128,256,X0),new _l(32,128,258,1024,X0),new _l(32,258,258,4096,X0)],Fl.deflateInit=function(e,t){return gE(e,t,8,15,8,0)},Fl.deflateInit2=gE,Fl.deflateReset=ZK,Fl.deflateResetKeep=YK,Fl.deflateSetHeader=function(e,t){return e&&e.state?e.state.wrap!==2?-2:(e.state.gzhead=t,0):-2},Fl.deflate=function(e,t){var n,r,i,o;if(!e||!e.state||t>5||t<0)return e?lf(e,-2):-2;if(r=e.state,!e.output||!e.input&&e.avail_in!==0||r.status===666&&t!==4)return lf(e,e.avail_out===0?-5:-2);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===42)if(r.wrap===2)e.adler=0,Un(r,31),Un(r,139),Un(r,8),r.gzhead?(Un(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Un(r,255&r.gzhead.time),Un(r,r.gzhead.time>>8&255),Un(r,r.gzhead.time>>16&255),Un(r,r.gzhead.time>>24&255),Un(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),Un(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Un(r,255&r.gzhead.extra.length),Un(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=qc(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Un(r,0),Un(r,0),Un(r,0),Un(r,0),Un(r,0),Un(r,r.level===9?2:r.strategy>=2||r.level<2?4:0),Un(r,3),r.status=113);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:r.level===6?2:3)<<6,r.strstart!==0&&(a|=32),a+=31-a%31,r.status=113,L1(r,a),r.strstart!==0&&(L1(r,e.adler>>>16),L1(r,65535&e.adler)),e.adler=1}if(r.status===69)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending!==r.pending_buf_size));)Un(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(r.status===73)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindexi&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),o===0&&(r.gzindex=0,r.status=91)}else r.status=91;if(r.status===91)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),ef(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindexi&&(e.adler=qc(e.adler,r.pending_buf,r.pending-i,i)),o===0&&(r.status=103)}else r.status=103;if(r.status===103&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ef(e),r.pending+2<=r.pending_buf_size&&(Un(r,255&e.adler),Un(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),r.pending!==0){if(ef(e),e.avail_out===0)return r.last_flush=-1,0}else if(e.avail_in===0&&vE(t)<=vE(n)&&t!==4)return lf(e,-5);if(r.status===666&&e.avail_in!==0)return lf(e,-5);if(e.avail_in!==0||r.lookahead!==0||t!==0&&r.status!==666){var s=r.strategy===2?function(l,u){for(var c;;){if(l.lookahead===0&&(sh(l),l.lookahead===0)){if(u===0)return 1;break}if(l.match_length=0,c=ys._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++,c&&(Ui(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,u===4?(Ui(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(Ui(l,!1),l.strm.avail_out===0)?1:2}(r,t):r.strategy===3?function(l,u){for(var c,f,d,h,p=l.window;;){if(l.lookahead<=258){if(sh(l),l.lookahead<=258&&u===0)return 1;if(l.lookahead===0)break}if(l.match_length=0,l.lookahead>=3&&l.strstart>0&&(f=p[d=l.strstart-1])===p[++d]&&f===p[++d]&&f===p[++d]){h=l.strstart+258;do;while(f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&f===p[++d]&&dl.lookahead&&(l.match_length=l.lookahead)}if(l.match_length>=3?(c=ys._tr_tally(l,1,l.match_length-3),l.lookahead-=l.match_length,l.strstart+=l.match_length,l.match_length=0):(c=ys._tr_tally(l,0,l.window[l.strstart]),l.lookahead--,l.strstart++),c&&(Ui(l,!1),l.strm.avail_out===0))return 1}return l.insert=0,u===4?(Ui(l,!0),l.strm.avail_out===0?3:4):l.last_lit&&(Ui(l,!1),l.strm.avail_out===0)?1:2}(r,t):_p[r.level].func(r,t);if(s!==3&&s!==4||(r.status=666),s===1||s===3)return e.avail_out===0&&(r.last_flush=-1),0;if(s===2&&(t===1?ys._tr_align(r):t!==5&&(ys._tr_stored_block(r,0,0,!1),t===3&&(gf(r.head),r.lookahead===0&&(r.strstart=0,r.block_start=0,r.insert=0))),ef(e),e.avail_out===0))return r.last_flush=-1,0}return t!==4?0:r.wrap<=0?1:(r.wrap===2?(Un(r,255&e.adler),Un(r,e.adler>>8&255),Un(r,e.adler>>16&255),Un(r,e.adler>>24&255),Un(r,255&e.total_in),Un(r,e.total_in>>8&255),Un(r,e.total_in>>16&255),Un(r,e.total_in>>24&255)):(L1(r,e.adler>>>16),L1(r,65535&e.adler)),ef(e),r.wrap>0&&(r.wrap=-r.wrap),r.pending!==0?0:1)},Fl.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==42&&t!==69&&t!==73&&t!==91&&t!==103&&t!==113&&t!==666?lf(e,-2):(e.state=null,t===113?lf(e,-3):0):-2},Fl.deflateSetDictionary=function(e,t){var n,r,i,o,a,s,l,u,c=t.length;if(!e||!e.state||(o=(n=e.state).wrap)===2||o===1&&n.status!==42||n.lookahead)return-2;for(o===1&&(e.adler=UK(e.adler,t,c,0)),n.wrap=0,c>=n.w_size&&(o===0&&(gf(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new ko.Buf8(n.w_size),ko.arraySet(u,t,c-n.w_size,n.w_size,0),t=u,c=n.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=c,e.next_in=0,e.input=t,sh(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do n.ins_h=(n.ins_h<=252?6:Ic>=248?5:Ic>=240?4:Ic>=224?3:Ic>=192?2:1;function mE(e,t){if(t<65534&&(e.subarray&&HK||!e.subarray&&QK))return String.fromCharCode.apply(null,Cx.shrinkBuf(e,t));for(var n="",r=0;r>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},lh.buf2binstring=function(e){return mE(e,e.length)},lh.binstring2buf=function(e){for(var t=new Cx.Buf8(e.length),n=0,r=t.length;n4)s[r++]=65533,n+=o-1;else{for(i&=o===2?31:o===3?15:7;o>1&&n1?s[r++]=65533:i<65536?s[r++]=i:(i-=65536,s[r++]=55296|i>>10&1023,s[r++]=56320|1023&i)}return mE(s,r)},lh.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&(192&e[n])==128;)n--;return n<0||n===0?t:n+yg[e[n]]>t?n:t};var KK=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},rm=Fl,Ag=mc,XT=lh,WT=lk,pAe=KK,GK=Object.prototype.toString;function hh(e){if(!(this instanceof hh))return new hh(e);this.options=Ag.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new pAe,this.strm.avail_out=0;var n=rm.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==0)throw new Error(WT[n]);if(t.header&&rm.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r=typeof t.dictionary=="string"?XT.string2buf(t.dictionary):GK.call(t.dictionary)==="[object ArrayBuffer]"?new Uint8Array(t.dictionary):t.dictionary,(n=rm.deflateSetDictionary(this.strm,r))!==0)throw new Error(WT[n]);this._dict_set=!0}}function h5(e,t){var n=new hh(t);if(n.push(e,!0),n.err)throw n.msg||WT[n.err];return n.result}hh.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:t===!0?4:0,typeof e=="string"?i.input=XT.string2buf(e):GK.call(e)==="[object ArrayBuffer]"?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(i.avail_out===0&&(i.output=new Ag.Buf8(o),i.next_out=0,i.avail_out=o),(n=rm.deflate(i,r))!==1&&n!==0)return this.onEnd(n),this.ended=!0,!1;i.avail_out!==0&&(i.avail_in!==0||r!==4&&r!==2)||(this.options.to==="string"?this.onData(XT.buf2binstring(Ag.shrinkBuf(i.output,i.next_out))):this.onData(Ag.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||i.avail_out===0)&&n!==1);return r===4?(n=rm.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===0):r!==2||(this.onEnd(0),i.avail_out=0,!0)},hh.prototype.onData=function(e){this.chunks.push(e)},hh.prototype.onEnd=function(e){e===0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ag.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},gg.Deflate=hh,gg.deflate=h5,gg.deflateRaw=function(e,t){return(t=t||{}).raw=!0,h5(e,t)},gg.gzip=function(e,t){return(t=t||{}).gzip=!0,h5(e,t)};var Rg={},Hs={},yE=mc,vAe=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],gAe=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],mAe=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],yAe=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],Xa=mc,p5=VK,Ol=DK,AAe=function(e,t){var n,r,i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S,L,w,M,_;n=e.state,r=e.next_in,M=e.input,i=r+(e.avail_in-5),o=e.next_out,_=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,u=n.wsize,c=n.whave,f=n.wnext,d=n.window,h=n.hold,p=n.bits,v=n.lencode,g=n.distcode,m=(1<>>=A=R>>>24,p-=A,(A=R>>>16&255)===0)_[o++]=65535&R;else{if(!(16&A)){if(!(64&A)){R=v[(65535&R)+(h&(1<>>=A,p-=A),p<15&&(h+=M[r++]<>>=A=R>>>24,p-=A,!(16&(A=R>>>16&255))){if(!(64&A)){R=g[(65535&R)+(h&(1<l){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=A,p-=A,S>(A=o-a)){if((A=S-A)>c&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(L=0,w=d,f===0){if(L+=u-A,A2;)_[o++]=w[L++],_[o++]=w[L++],_[o++]=w[L++],x-=3;x&&(_[o++]=w[L++],x>1&&(_[o++]=w[L++]))}else{L=o-S;do _[o++]=_[L++],_[o++]=_[L++],_[o++]=_[L++],x-=3;while(x>2);x&&(_[o++]=_[L++],x>1&&(_[o++]=_[L++]))}break}}break}}while(r>3,h&=(1<<(p-=x<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r=1&&C[x]===0;x--);if(S>x&&(S=x),x===0)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(A=1;A0&&(e===0||x!==1))return-1;for(F[1]=0,y=1;y<15;y++)F[y+1]=F[y]+C[y];for(R=0;R852||e===2&&_>592)return 1;for(;;){p=y-w,a[R]h?(v=I[W+a[R]],g=P[N+a[R]]):(v=96,g=0),l=1<>w)+(u-=l)]=p<<24|v<<16|g|0;while(u!==0);for(l=1<>=1;if(l!==0?(k&=l-1,k+=l):k=0,R++,--C[y]==0){if(y===x)break;y=t[n+a[R]]}if(y>S&&(k&f)!==c){for(w===0&&(w=S),d+=A,M=1<<(L=y-w);L+w852||e===2&&_>592)return 1;i[c=k&f]=S<<24|L<<16|d-o|0}}return k!==0&&(i[d+k]=y-w<<24|64<<16|0),s.bits=S,0};function AE(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function RAe(){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 Xa.Buf16(320),this.work=new Xa.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function zK(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Xa.Buf32(852),t.distcode=t.distdyn=new Xa.Buf32(592),t.sane=1,t.back=-1,0):-2}function JK(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,zK(e)):-2}function $K(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?-2:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,JK(e))):-2}function RE(e,t){var n,r;return e?(r=new RAe,e.state=r,r.window=null,(n=$K(e,t))!==0&&(e.state=null),n):-2}var v5,g5,bE=!0;function bAe(e){if(bE){var t;for(v5=new Xa.Buf32(512),g5=new Xa.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(im(1,e.lens,0,288,v5,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;im(2,e.lens,0,32,g5,0,e.work,{bits:5}),bE=!1}e.lencode=v5,e.lenbits=9,e.distcode=g5,e.distbits=5}function xE(e,t,n,r){var i,o=e.state;return o.window===null&&(o.wsize=1<=o.wsize?(Xa.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),Xa.arraySet(o.window,t,n-r,i,o.wnext),(r-=i)?(Xa.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=Ol(n.check,k,2,0),u=0,c=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=30;break}if((15&u)!=8){e.msg="unknown compression method",n.mode=30;break}if(c-=4,S=8+(15&(u>>>=4)),n.wbits===0)n.wbits=S;else if(S>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(k[0]=255&u,k[1]=u>>>8&255,n.check=Ol(n.check,k,2,0)),u=0,c=0,n.mode=3;case 3:for(;c<32;){if(s===0)break e;s--,u+=r[o++]<>>8&255,k[2]=u>>>16&255,k[3]=u>>>24&255,n.check=Ol(n.check,k,4,0)),u=0,c=0,n.mode=4;case 4:for(;c<16;){if(s===0)break e;s--,u+=r[o++]<>8),512&n.flags&&(k[0]=255&u,k[1]=u>>>8&255,n.check=Ol(n.check,k,2,0)),u=0,c=0,n.mode=5;case 5:if(1024&n.flags){for(;c<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Ol(n.check,k,2,0)),u=0,c=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(S=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Xa.arraySet(n.head.extra,r,o,h,S)),512&n.flags&&(n.check=Ol(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(s===0)break e;h=0;do S=r[o+h++],n.head&&S&&n.length<65536&&(n.head.name+=String.fromCharCode(S));while(S&&h>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;c<32;){if(s===0)break e;s--,u+=r[o++]<>>=7&c,c-=7&c,n.mode=27;break}for(;c<3;){if(s===0)break e;s--,u+=r[o++]<>>=1)){case 0:n.mode=14;break;case 1:if(bAe(n),n.mode=20,t===6){u>>>=2,c-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}u>>>=2,c-=2;break;case 14:for(u>>>=7&c,c-=7&c;c<32;){if(s===0)break e;s--,u+=r[o++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&u,u=0,c=0,n.mode=15,t===6)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>l&&(h=l),h===0)break e;Xa.arraySet(i,r,o,h,a),s-=h,o+=h,l-=h,a+=h,n.length-=h;break}n.mode=12;break;case 17:for(;c<14;){if(s===0)break e;s--,u+=r[o++]<>>=5,c-=5,n.ndist=1+(31&u),u>>>=5,c-=5,n.ncode=4+(15&u),u>>>=4,c-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have>>=3,c-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},L=im(0,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,L){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,y=65535&_,!((g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>>=g,c-=g,n.lens[n.have++]=y;else{if(y===16){for(M=g+2;c>>=g,c-=g,n.have===0){e.msg="invalid bit length repeat",n.mode=30;break}S=n.lens[n.have-1],h=3+(3&u),u>>>=2,c-=2}else if(y===17){for(M=g+3;c>>=g)),u>>>=3,c-=3}else{for(M=g+7;c>>=g)),u>>>=7,c-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;h--;)n.lens[n.have++]=S}}if(n.mode===30)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,w={bits:n.lenbits},L=im(1,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,L){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},L=im(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,L){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,t===6)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=c,AAe(e,d),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,c=n.bits,n.mode===12&&(n.back=-1);break}for(n.back=0;m=(_=n.lencode[u&(1<>>16&255,y=65535&_,!((g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>R)])>>>16&255,y=65535&_,!(R+(g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>>=R,c-=R,n.back+=R}if(u>>>=g,c-=g,n.back+=g,n.length=y,m===0){n.mode=26;break}if(32&m){n.back=-1,n.mode=12;break}if(64&m){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&m,n.mode=22;case 22:if(n.extra){for(M=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;m=(_=n.distcode[u&(1<>>16&255,y=65535&_,!((g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>R)])>>>16&255,y=65535&_,!(R+(g=_>>>24)<=c);){if(s===0)break e;s--,u+=r[o++]<>>=R,c-=R,n.back+=R}if(u>>>=g,c-=g,n.back+=g,64&m){e.msg="invalid distance code",n.mode=30;break}n.offset=y,n.extra=15&m,n.mode=24;case 24:if(n.extra){for(M=n.extra;c>>=n.extra,c-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(l===0)break e;if(h=d-l,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}h>n.wnext?(h-=n.wnext,p=n.wsize-h):p=n.wnext-h,h>n.length&&(h=n.length),v=n.window}else v=i,p=a-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do i[a++]=v[p++];while(--h);n.length===0&&(n.mode=21);break;case 26:if(l===0)break e;i[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;c<32;){if(s===0)break e;s--,u|=r[o++]<=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new xAe,this.strm.avail_out=0;var n=nv.inflateInit2(this.strm,t.windowBits);if(n!==ei.Z_OK)throw new Error(VT[n]);if(this.header=new SAe,nv.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=pb.string2buf(t.dictionary):qK.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=nv.inflateSetDictionary(this.strm,t.dictionary))!==ei.Z_OK))throw new Error(VT[n])}function m5(e,t){var n=new ph(t);if(n.push(e,!0),n.err)throw n.msg||VT[n.err];return n.result}ph.prototype.push=function(e,t){var n,r,i,o,a,s=this.strm,l=this.options.chunkSize,u=this.options.dictionary,c=!1;if(this.ended)return!1;r=t===~~t?t:t===!0?ei.Z_FINISH:ei.Z_NO_FLUSH,typeof e=="string"?s.input=pb.binstring2buf(e):qK.call(e)==="[object ArrayBuffer]"?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(s.avail_out===0&&(s.output=new bg.Buf8(l),s.next_out=0,s.avail_out=l),(n=nv.inflate(s,ei.Z_NO_FLUSH))===ei.Z_NEED_DICT&&u&&(n=nv.inflateSetDictionary(this.strm,u)),n===ei.Z_BUF_ERROR&&c===!0&&(n=ei.Z_OK,c=!1),n!==ei.Z_STREAM_END&&n!==ei.Z_OK)return this.onEnd(n),this.ended=!0,!1;s.next_out&&(s.avail_out!==0&&n!==ei.Z_STREAM_END&&(s.avail_in!==0||r!==ei.Z_FINISH&&r!==ei.Z_SYNC_FLUSH)||(this.options.to==="string"?(i=pb.utf8border(s.output,s.next_out),o=s.next_out-i,a=pb.buf2string(s.output,i),s.next_out=o,s.avail_out=l-o,o&&bg.arraySet(s.output,s.output,i,o,0),this.onData(a)):this.onData(bg.shrinkBuf(s.output,s.next_out)))),s.avail_in===0&&s.avail_out===0&&(c=!0)}while((s.avail_in>0||s.avail_out===0)&&n!==ei.Z_STREAM_END);return n===ei.Z_STREAM_END&&(r=ei.Z_FINISH),r===ei.Z_FINISH?(n=nv.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===ei.Z_OK):r!==ei.Z_SYNC_FLUSH||(this.onEnd(ei.Z_OK),s.avail_out=0,!0)},ph.prototype.onData=function(e){this.chunks.push(e)},ph.prototype.onEnd=function(e){e===ei.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=bg.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},Rg.Inflate=ph,Rg.inflate=m5,Rg.inflateRaw=function(e,t){return(t=t||{}).raw=!0,m5(e,t)},Rg.ungzip=m5;var eG={};(0,mc.assign)(eG,gg,Rg,jK);var wAe=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",MAe=eG,SE=Jr(),vb=Is,LAe=wAe?"uint8array":"array";function Od(e,t){vb.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}db.magic="\b\0",SE.inherits(Od,vb),Od.prototype.processChunk=function(e){this.meta=e.meta,this._pako===null&&this._createPako(),this._pako.push(SE.transformTo(LAe,e.data),!1)},Od.prototype.flush=function(){vb.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},Od.prototype.cleanUp=function(){vb.prototype.cleanUp.call(this),this._pako=null},Od.prototype._createPako=function(){this._pako=new MAe[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},db.compressWorker=function(e){return new Od("Deflate",e)},db.uncompressWorker=function(){return new Od("Inflate",{})};var wE=Is;kx.STORE={magic:"\0\0",compressWorker:function(){return new wE("STORE compression")},uncompressWorker:function(){return new wE("STORE decompression")}},kx.DEFLATE=db;var tG={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK\x07",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\x07\b"},Op=Jr(),gp=Is,y5=Hv,ME=ik,Ix=tG,vr=function(e,t){var n,r="";for(n=0;n>>=8;return r},LE=function(e,t,n,r,i,o){var a,s,l=e.file,u=e.compression,c=o!==y5.utf8encode,f=Op.transformTo("string",o(l.name)),d=Op.transformTo("string",y5.utf8encode(l.name)),h=l.comment,p=Op.transformTo("string",o(h)),v=Op.transformTo("string",y5.utf8encode(h)),g=d.length!==l.name.length,m=v.length!==h.length,y="",R="",A="",x=l.dir,S=l.date,L={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(L.crc32=e.crc32,L.compressedSize=e.compressedSize,L.uncompressedSize=e.uncompressedSize);var w=0;t&&(w|=8),c||!g&&!m||(w|=2048);var M,_,k,P=0,N=0;x&&(P|=16),i==="UNIX"?(N=798,P|=(M=l.unixPermissions,_=x,k=M,M||(k=_?16893:33204),(65535&k)<<16)):(N=20,P|=63&(l.dosPermissions||0)),a=S.getUTCHours(),a<<=6,a|=S.getUTCMinutes(),a<<=5,a|=S.getUTCSeconds()/2,s=S.getUTCFullYear()-1980,s<<=4,s|=S.getUTCMonth()+1,s<<=5,s|=S.getUTCDate(),g&&(R=vr(1,1)+vr(ME(f),4)+d,y+="up"+vr(R.length,2)+R),m&&(A=vr(1,1)+vr(ME(p),4)+v,y+="uc"+vr(A.length,2)+A);var C="";return C+=` +\0`,C+=vr(w,2),C+=u.magic,C+=vr(a,2),C+=vr(s,2),C+=vr(L.crc32,4),C+=vr(L.compressedSize,4),C+=vr(L.uncompressedSize,4),C+=vr(f.length,2),C+=vr(y.length,2),{fileRecord:Ix.LOCAL_FILE_HEADER+C+f+y,dirRecord:Ix.CENTRAL_FILE_HEADER+vr(N,2)+C+vr(p.length,2)+"\0\0\0\0"+vr(P,4)+vr(r,4)+f+y+p}},TAe=function(e){return Ix.DATA_DESCRIPTOR+vr(e.crc32,4)+vr(e.compressedSize,4)+vr(e.uncompressedSize,4)};function Ks(e,t,n,r){gp.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}Op.inherits(Ks,gp),Ks.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,gp.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},Ks.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=LE(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},Ks.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=LE(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:TAe(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},Ks.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t0?e.substring(0,t):""},oG=function(e){return e.slice(-1)!=="/"&&(e+="/"),e},aG=function(e,t){return t=t!==void 0?t:rG.createFolders,e=oG(e),this.files[e]||iG.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function OE(e){return Object.prototype.toString.call(e)==="[object RegExp]"}var WAe={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(arguments.length===1){if(OE(e)){var r=e;return this.filter(function(o,a){return!a.dir&&r.test(o)})}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,iG.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(OE(e))return this.filter(function(i,o){return o.dir&&e.test(i)});var t=this.root+e,n=aG.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(e.slice(-1)!=="/"&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(i,o){return o.name.slice(0,e.length)===e}),r=0;r=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return DAe.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}};var lG=sG,uG=lG;function mp(e){uG.call(this,e);for(var t=0;t=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},mp.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},mp.prototype.readData=function(e){if(this.checkOffset(e),e===0)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var cG=mp,fG=lG;function yp(e){fG.call(this,e)}Jr().inherits(yp,fG),yp.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},yp.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},yp.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},yp.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var UAe=yp,dG=cG;function DT(e){dG.call(this,e)}Jr().inherits(DT,dG),DT.prototype.readData=function(e){if(this.checkOffset(e),e===0)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var hG=DT,pG=hG;function UT(e){pG.call(this,e)}Jr().inherits(UT,pG),UT.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t};var BAe=UT,VA=Jr(),kE=oi,YAe=cG,ZAe=UAe,QAe=BAe,HAe=hG,vG=function(e){var t=VA.getTypeOf(e);return VA.checkSupport(t),t!=="string"||kE.uint8array?t==="nodebuffer"?new QAe(e):kE.uint8array?new HAe(VA.transformTo("uint8array",e)):new YAe(VA.transformTo("array",e)):new ZAe(e)},A5=vG,Nc=Jr(),KAe=ok,PE=ik,DA=Hv,UA=kx,GAe=oi;function gG(e,t){this.options=e,this.loadOptions=t}gG.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(t=function(r){for(var i in UA)if(Object.prototype.hasOwnProperty.call(UA,i)&&UA[i].magic===r)return UA[i];return null}(this.compressionMethod),t===null)throw new Error("Corrupted zip : compression "+Nc.pretty(this.compressionMethod)+" unknown (inner file : "+Nc.transformTo("string",this.fileName)+")");this.decompressed=new KAe(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),e===0&&(this.dosPermissions=63&this.externalFileAttributes),e===3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=A5(this.extraFields[1].value);this.uncompressedSize===Nc.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===Nc.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===Nc.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===Nc.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+41)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e0)this.isSignature(t,Ds.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=JAe(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};var qAe=mG,R5=Jr(),mb=ey,eRe=Hv,tRe=qAe,nRe=IK,CE=h3;function rRe(e){return new mb.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new nRe);r.on("error",function(i){n(i)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}function cs(){if(!(this instanceof cs))return new cs;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new cs;for(var t in this)typeof this[t]!="function"&&(e[t]=this[t]);return e}}cs.prototype=VAe,cs.prototype.loadAsync=function(e,t){var n=this;return t=R5.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:eRe.utf8decode}),CE.isNode&&CE.isStream(e)?mb.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):R5.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then(function(r){var i=new tRe(t);return i.load(r),i}).then(function(r){var i=[mb.Promise.resolve(r)],o=r.files;if(t.checkCRC32)for(var a=0;a",n),e.substring(w,n).indexOf(S)==-1){var M=e.substring(0,n).split(` `);throw new Error(`Unexpected close tag Line: `+(M.length-1)+` Column: `+(M[M.length-1].length+1)+` -Char: `+e[n])}return n+1&&(n+=1),L}if(e.charCodeAt(n+1)===u){if(e.charCodeAt(n+2)==s){const N=n;for(;n!==-1&&(e.charCodeAt(n)!==a||e.charCodeAt(n-1)!=s||e.charCodeAt(n-2)!=s||n==-1);)n=e.indexOf(">",n+1);n===-1&&(n=e.length),r&&L.push(e.substring(N,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var _=e.indexOf("]]>",n);_==-1?(L.push(e.substr(n+9)),n=e.length):(L.push(e.substring(n+9,_)),n=_+3);continue}{const N=n+1;n+=2;for(var P=!1;(e.charCodeAt(n)!==a||P===!0)&&e[n];)e.charCodeAt(n)===d?P=!0:P===!0&&e.charCodeAt(n)===h&&(P=!1),n++;L.push(e.substring(N,n))}}n++;continue}var k=y();L.push(k),k.tagName[0]==="?"&&(L.push(...k.children),k.children=[])}else{var F=v();if(i)F.length>0&&L.push(F);else{var C=F.trim();C.length>0&&L.push(C)}n++}return L}function v(){var S=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(S,n+1)}function g(){for(var S=n;`\r - >/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(S,n)}var m=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){n++;const S=g(),L={};let w=[];for(;e.charCodeAt(n)!==a&&e[n];){var M=e.charCodeAt(n);if(M>64&&M<91||M>96&&M<123){for(var _=g(),P=e.charCodeAt(n);P&&P!==c&&P!==f&&!(P>64&&P<91||P>96&&P<123)&&P!==a;)n++,P=e.charCodeAt(n);if(P===c||P===f){var k=R();if(n===-1)return{tagName:S,attributes:L,children:w}}else k=null,n--;L[_]=k}n++}if(e.charCodeAt(n-1)!==l)if(S=="script"){var F=n+1;n=e.indexOf("<\/script>",n),w=[e.slice(F,n)],n+=9}else S=="style"?(F=n+1,n=e.indexOf("",n),w=[e.slice(F,n)],n+=8):m.indexOf(S)===-1?(n++,w=p(S)):n++;else n++;return{tagName:S,attributes:L,children:w}}function R(){var S=e[n],L=n+1;return n=e.indexOf(S,L),e.slice(L,n)}var A,x=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",x=[];A=void 0,A=new RegExp("\\s"+t.attrName+`\\s*=['"]`+t.attrValue+`['"]`).exec(e),(n=A?A.index:-1)!==-1;)(n=e.lastIndexOf("<",n))!==-1&&x.push(y()),e=e.substr(n),n=0;else x=t.parseNode?y():p("");return t.filter&&(x=AG(x,t.filter)),t.simplify?yG(Array.isArray(x)?x:[x]):(t.setPos&&(x.pos=n),x)}function yG(e){var t={};if(!e.length)return"";if(e.length===1&&typeof e[0]=="string")return e[0];for(var n in e.forEach(function(r){if(typeof r=="object"){t[r.tagName]||(t[r.tagName]=[]);var i=yG(r.children);t[r.tagName].push(i),Object.keys(r.attributes).length&&typeof i!="string"&&(i._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function AG(e,t,n=0,r=""){var i=[];return e.forEach(function(o,a){if(typeof o=="object"&&t(o,a,n,r)&&i.push(o),o.children){var s=AG(o.children,t,n+1,(r?r+".":"")+a+"."+o.tagName);i=i.concat(s)}}),i}function aRe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return IE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return IE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +Char: `+e[n])}return n+1&&(n+=1),L}if(e.charCodeAt(n+1)===u){if(e.charCodeAt(n+2)==s){const F=n;for(;n!==-1&&(e.charCodeAt(n)!==a||e.charCodeAt(n-1)!=s||e.charCodeAt(n-2)!=s||n==-1);)n=e.indexOf(">",n+1);n===-1&&(n=e.length),r&&L.push(e.substring(F,n+1))}else{if(e.charCodeAt(n+2)===d&&e.charCodeAt(n+8)===d&&e.substr(n+3,5).toLowerCase()==="cdata"){var _=e.indexOf("]]>",n);_==-1?(L.push(e.substr(n+9)),n=e.length):(L.push(e.substring(n+9,_)),n=_+3);continue}{const F=n+1;n+=2;for(var k=!1;(e.charCodeAt(n)!==a||k===!0)&&e[n];)e.charCodeAt(n)===d?k=!0:k===!0&&e.charCodeAt(n)===h&&(k=!1),n++;L.push(e.substring(F,n))}}n++;continue}var P=y();L.push(P),P.tagName[0]==="?"&&(L.push(...P.children),P.children=[])}else{var N=v();if(i)N.length>0&&L.push(N);else{var C=N.trim();C.length>0&&L.push(C)}n++}return L}function v(){var S=n;return(n=e.indexOf("<",n)-1)===-2&&(n=e.length),e.slice(S,n+1)}function g(){for(var S=n;`\r + >/= `.indexOf(e[n])===-1&&e[n];)n++;return e.slice(S,n)}var m=t.noChildNodes||["img","br","input","meta","link","hr"];function y(){n++;const S=g(),L={};let w=[];for(;e.charCodeAt(n)!==a&&e[n];){var M=e.charCodeAt(n);if(M>64&&M<91||M>96&&M<123){for(var _=g(),k=e.charCodeAt(n);k&&k!==c&&k!==f&&!(k>64&&k<91||k>96&&k<123)&&k!==a;)n++,k=e.charCodeAt(n);if(k===c||k===f){var P=R();if(n===-1)return{tagName:S,attributes:L,children:w}}else P=null,n--;L[_]=P}n++}if(e.charCodeAt(n-1)!==l)if(S=="script"){var N=n+1;n=e.indexOf("<\/script>",n),w=[e.slice(N,n)],n+=9}else S=="style"?(N=n+1,n=e.indexOf("",n),w=[e.slice(N,n)],n+=8):m.indexOf(S)===-1?(n++,w=p(S)):n++;else n++;return{tagName:S,attributes:L,children:w}}function R(){var S=e[n],L=n+1;return n=e.indexOf(S,L),e.slice(L,n)}var A,x=null;if(t.attrValue!==void 0)for(t.attrName=t.attrName||"id",x=[];A=void 0,A=new RegExp("\\s"+t.attrName+`\\s*=['"]`+t.attrValue+`['"]`).exec(e),(n=A?A.index:-1)!==-1;)(n=e.lastIndexOf("<",n))!==-1&&x.push(y()),e=e.substr(n),n=0;else x=t.parseNode?y():p("");return t.filter&&(x=AG(x,t.filter)),t.simplify?yG(Array.isArray(x)?x:[x]):(t.setPos&&(x.pos=n),x)}function yG(e){var t={};if(!e.length)return"";if(e.length===1&&typeof e[0]=="string")return e[0];for(var n in e.forEach(function(r){if(typeof r=="object"){t[r.tagName]||(t[r.tagName]=[]);var i=yG(r.children);t[r.tagName].push(i),Object.keys(r.attributes).length&&typeof i!="string"&&(i._attributes=r.attributes)}}),t)t[n].length==1&&(t[n]=t[n][0]);return t}function AG(e,t,n=0,r=""){var i=[];return e.forEach(function(o,a){if(typeof o=="object"&&t(o,a,n,r)&&i.push(o),o.children){var s=AG(o.children,t,n+1,(r?r+".":"")+a+"."+o.tagName);i=i.concat(s)}}),i}function aRe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return IE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return IE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function IE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n={};if(!e.length)return n;if(e.length===1&&typeof e[0]=="string")return Object.keys(t).length?{attrs:FE({order:EE++},t),value:e[0]}:e[0];var r,i=aRe(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(qm(o)!=="object")return;if(o.tagName!=="?xml"){n[o.tagName]||(n[o.tagName]=[]);var a=RG(o.children||[],o.attributes);n[o.tagName].push(a),Object.keys(o.attributes).length&&(a.attrs=FE({order:EE++},o.attributes))}}}catch(l){i.e(l)}finally{i.f()}for(var s in n)n[s].length===1&&(n[s]=n[s][0]);return n}function no(e,t){return bG.apply(this,arguments)}function bG(){return(bG=pa(tr.mark(function e(t,n){var r;return tr.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,t.file(n).async("string");case 3:return r=i.sent,i.abrupt("return",RG(oRe(r)));case 7:return i.prev=7,i.t0=i.catch(0),i.abrupt("return",null);case 10:case"end":return i.stop()}},e,null,[[0,7]])}))).apply(this,arguments)}function Nx(e){return Nx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nx(e)}var sRe=/^\s+/,lRe=/\s+$/;function yt(e,t){if(t=t||{},(e=e||"")instanceof yt)return e;if(!(this instanceof yt))return new yt(e,t);var n=function(r){var i={r:0,g:0,b:0},o=1,a=null,s=null,l=null,u=!1,c=!1;typeof r=="string"&&(r=function(p){p=p.replace(sRe,"").replace(lRe,"").toLowerCase();var v,g=!1;if(BT[p])p=BT[p],g=!0;else if(p=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(v=Gs.rgb.exec(p))?{r:v[1],g:v[2],b:v[3]}:(v=Gs.rgba.exec(p))?{r:v[1],g:v[2],b:v[3],a:v[4]}:(v=Gs.hsl.exec(p))?{h:v[1],s:v[2],l:v[3]}:(v=Gs.hsla.exec(p))?{h:v[1],s:v[2],l:v[3],a:v[4]}:(v=Gs.hsv.exec(p))?{h:v[1],s:v[2],v:v[3]}:(v=Gs.hsva.exec(p))?{h:v[1],s:v[2],v:v[3],a:v[4]}:(v=Gs.hex8.exec(p))?{r:wa(v[1]),g:wa(v[2]),b:wa(v[3]),a:BE(v[4]),format:g?"name":"hex8"}:(v=Gs.hex6.exec(p))?{r:wa(v[1]),g:wa(v[2]),b:wa(v[3]),format:g?"name":"hex"}:(v=Gs.hex4.exec(p))?{r:wa(v[1]+""+v[1]),g:wa(v[2]+""+v[2]),b:wa(v[3]+""+v[3]),a:BE(v[4]+""+v[4]),format:g?"name":"hex8"}:(v=Gs.hex3.exec(p))?{r:wa(v[1]+""+v[1]),g:wa(v[2]+""+v[2]),b:wa(v[3]+""+v[3]),format:g?"name":"hex"}:!1}(r)),Nx(r)=="object"&&(Xu(r.r)&&Xu(r.g)&&Xu(r.b)?(f=r.r,d=r.g,h=r.b,i={r:255*Or(f,255),g:255*Or(d,255),b:255*Or(h,255)},u=!0,c=String(r.r).substr(-1)==="%"?"prgb":"rgb"):Xu(r.h)&&Xu(r.s)&&Xu(r.v)?(a=Sg(r.s),s=Sg(r.v),i=function(p,v,g){p=6*Or(p,360),v=Or(v,100),g=Or(g,100);var m=Math.floor(p),y=p-m,R=g*(1-v),A=g*(1-y*v),x=g*(1-(1-y)*v),S=m%6;return{r:255*[g,A,R,R,x,g][S],g:255*[x,g,g,A,R,R][S],b:255*[R,R,x,g,g,A][S]}}(r.h,a,s),u=!0,c="hsv"):Xu(r.h)&&Xu(r.s)&&Xu(r.l)&&(a=Sg(r.s),l=Sg(r.l),i=function(p,v,g){var m,y,R;function A(L,w,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?L+6*(w-L)*M:M<.5?w:M<2/3?L+(w-L)*(2/3-M)*6:L}if(p=Or(p,360),v=Or(v,100),g=Or(g,100),v===0)m=y=R=g;else{var x=g<.5?g*(1+v):g+v-g*v,S=2*g-x;m=A(S,x,p+1/3),y=A(S,x,p),R=A(S,x,p-1/3)}return{r:255*m,g:255*y,b:255*R}}(r.h,a,l),u=!0,c="hsl"),r.hasOwnProperty("a")&&(o=r.a));var f,d,h;return o=xG(o),{ok:u,format:r.format||c,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:o}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.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._ok=n.ok}function XE(e,t,n){e=Or(e,255),t=Or(t,255),n=Or(n,255);var r,i,o=Math.max(e,t,n),a=Math.min(e,t,n),s=(o+a)/2;if(o==a)r=i=0;else{var l=o-a;switch(i=s>.5?l/(2-o-a):l/(o+a),o){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(yt(r));return o}function ARe(e,t){t=t||6;for(var n=yt(e).toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(yt({h:r,s:i,v:o})),o=(o+s)%1;return a}yt.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=xG(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=WE(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=WE(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return this._a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=XE(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=XE(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return this._a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return VE(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(t,n,r,i,o){var a=[sl(Math.round(t).toString(16)),sl(Math.round(n).toString(16)),sl(Math.round(r).toString(16)),sl(SG(i))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*Or(this._r,255))+"%",g:Math.round(100*Or(this._g,255))+"%",b:Math.round(100*Or(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*Or(this._r,255))+"%, "+Math.round(100*Or(this._g,255))+"%, "+Math.round(100*Or(this._b,255))+"%)":"rgba("+Math.round(100*Or(this._r,255))+"%, "+Math.round(100*Or(this._g,255))+"%, "+Math.round(100*Or(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(RRe[VE(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+DE(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=yt(e);n="#"+DE(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return yt(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(dRe,arguments)},brighten:function(){return this._applyModification(hRe,arguments)},darken:function(){return this._applyModification(pRe,arguments)},desaturate:function(){return this._applyModification(uRe,arguments)},saturate:function(){return this._applyModification(cRe,arguments)},greyscale:function(){return this._applyModification(fRe,arguments)},spin:function(){return this._applyModification(vRe,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(yRe,arguments)},complement:function(){return this._applyCombination(gRe,arguments)},monochromatic:function(){return this._applyCombination(ARe,arguments)},splitcomplement:function(){return this._applyCombination(mRe,arguments)},triad:function(){return this._applyCombination(UE,[3])},tetrad:function(){return this._applyCombination(UE,[4])}},yt.fromRatio=function(e,t){if(Nx(e)=="object"){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=r==="a"?e[r]:Sg(e[r]));e=n}return yt(e,t)},yt.equals=function(e,t){return!(!e||!t)&&yt(e).toRgbString()==yt(t).toRgbString()},yt.random=function(){return yt.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},yt.mix=function(e,t,n){n=n===0?0:n||50;var r=yt(e).toRgb(),i=yt(t).toRgb(),o=n/100;return yt({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},yt.readability=function(e,t){var n=yt(e),r=yt(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},yt.isReadable=function(e,t,n){var r,i,o=yt.readability(e,t);switch(i=!1,(r=function(a){var s,l;return s=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase(),l=(a.size||"small").toLowerCase(),s!=="AA"&&s!=="AAA"&&(s="AA"),l!=="small"&&l!=="large"&&(l="small"),{level:s,size:l}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},yt.mostReadable=function(e,t,n){var r,i,o,a,s=null,l=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var u=0;ul&&(l=r,s=yt(t[u]));return yt.isReadable(e,s,{level:o,size:a})||!i?s:(n.includeFallbackColors=!1,yt.mostReadable(e,["#fff","#000"],n))};var BT=yt.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",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:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",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:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",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:"f00",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:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},RRe=yt.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(BT);function xG(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Or(e,t){(function(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1})(e)&&(e="100%");var n=function(r){return typeof r=="string"&&r.indexOf("%")!=-1}(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function p3(e){return Math.min(1,Math.max(0,e))}function wa(e){return parseInt(e,16)}function sl(e){return e.length==1?"0"+e:""+e}function Sg(e){return e<=1&&(e=100*e+"%"),e}function SG(e){return Math.round(255*parseFloat(e)).toString(16)}function BE(e){return wa(e)/255}var Fc,BA,YA,Gs=(BA="[\\s|\\(]+("+(Fc="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+Fc+")[,|\\s]+("+Fc+")\\s*\\)?",YA="[\\s|\\(]+("+Fc+")[,|\\s]+("+Fc+")[,|\\s]+("+Fc+")[,|\\s]+("+Fc+")\\s*\\)?",{CSS_UNIT:new RegExp(Fc),rgb:new RegExp("rgb"+BA),rgba:new RegExp("rgba"+YA),hsl:new RegExp("hsl"+BA),hsla:new RegExp("hsla"+YA),hsv:new RegExp("hsv"+BA),hsva:new RegExp("hsva"+YA),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 Xu(e){return!!Gs.CSS_UNIT.exec(e)}function bRe(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return YE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return YE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function YE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return o===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":o===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function b5(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function W0(e,t){if(!e)return e;var n="";if(e.constructor===Array)for(var r=0;r":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function YT(e){var t="";switch(e.toLowerCase()){case"jpg":case"jpeg":t="image/jpeg";break;case"png":t="image/png";break;case"gif":t="image/gif";break;case"emf":t="image/x-emf";break;case"wmf":t="image/x-wmf";break;case"svg":t="image/svg+xml";break;case"mp4":t="video/mp4";break;case"webm":t="video/webm";break;case"ogg":t="video/ogg";break;case"avi":t="video/avi";break;case"mpg":t="video/mpg";break;case"wmv":t="video/wmv";break;case"mp3":t="audio/mpeg";break;case"wav":t="audio/wav";break;case"tif":case"tiff":t="image/tiff"}return t}function xRe(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)}function V0(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function t2(e,t,n,r){var i,o;if(n)o=n;else{var a=Oe(t.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);o=a||(a=Oe(t.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||Oe(t.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}var s=e.substr(2);if(s==="phClr"&&r)i=r;else{if(o)switch(s){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+o[s]}else switch(e){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2"}var l=Oe(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]);!(i=Oe(l,["a:srgbClr","attrs","val"]))&&l&&(i=Oe(l,["a:sysClr","attrs","lastClr"]))}return i}function wg(e,t,n){var r=e["p:spPr"]["a:ln"],i=parseInt(Oe(r,["attrs","w"]))/12700;isNaN(i)&&(i=r||t!=="obj"?0:1);var o=Oe(r,["a:solidFill","a:srgbClr","attrs","val"]);if(!o){var a=Oe(r,["a:solidFill","a:schemeClr"]);o=t2("a:"+Oe(a,["attrs","val"]),n)}if(!o){var s=Oe(e,["p:style","a:lnRef","a:schemeClr"]);if(o=t2("a:"+Oe(s,["attrs","val"]),n)){var l=Oe(s,["a:shade","attrs","val"]);if(l){l=parseInt(l)/1e5;var u=yt("#"+o).toHsl();o=yt({h:u.h,s:u.s,l:u.l*l,a:u.a}).toHex()}}}o=o?"#".concat(o):"#000";var c="solid",f="0";switch(Oe(r,["a:prstDash","attrs","val"])){case"solid":c="solid",f="0";break;case"dash":c="dashed",f="5";break;case"dashDot":c="dashed",f="5, 5, 1, 5";break;case"dot":c="dotted",f="1, 5";break;case"lgDash":c="dashed",f="10, 5";break;case"lgDashDotDot":c="dotted",f="10, 5, 1, 5, 1, 5";break;case"sysDash":c="dashed",f="5, 2";break;case"sysDashDot":c="dotted",f="5, 2, 1, 5";break;case"sysDashDotDot":c="dotted",f="5, 2, 1, 5, 1, 5";break;case"sysDot":c="dotted",f="2, 5"}return{borderColor:o,borderWidth:i,borderType:c,strokeDasharray:f}}function x5(e,t,n){return n<0&&(n+=6),n>=6&&(n-=6),n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e}function uf(e){var t="";return e["a:noFill"]&&(t="NO_FILL"),e["a:solidFill"]&&(t="SOLID_FILL"),e["a:gradFill"]&&(t="GRADIENT_FILL"),e["a:pattFill"]&&(t="PATTERN_FILL"),e["a:blipFill"]&&(t="PIC_FILL"),e["a:grpFill"]&&(t="GROUP_FILL"),t}function SRe(e,t,n){return ZT.apply(this,arguments)}function ZT(){return ZT=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u;return tr.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(o=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Oe(r,["slideResObj",o,"target"]):t==="slideLayoutBg"?a=Oe(r,["layoutResObj",o,"target"]):t==="slideMasterBg"?a=Oe(r,["masterResObj",o,"target"]):t==="themeBg"?a=Oe(r,["themeResObj",o,"target"]):t==="diagramBg"&&(a=Oe(r,["diagramResObj",o,"target"])),a){c.next=4;break}return c.abrupt("return",a);case 4:if(i=Oe(r,["loaded-images",a])){c.next=15;break}if(a=MG(a),(s=a.split(".").pop())!=="xml"){c.next=10;break}return c.abrupt("return",void 0);case 10:return c.next=12,r.zip.file(a).async("arraybuffer");case 12:l=c.sent,u=YT(s),i="data:".concat(u,";base64,").concat(wG(l));case 15:return c.abrupt("return",i);case 16:case"end":return c.stop()}},e)})),ZT.apply(this,arguments)}function T1(e,t,n){return LG.apply(this,arguments)}function LG(){return(LG=pa(tr.mark(function e(t,n,r){var i,o,a,s;return tr.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,SRe(n,t["a:blipFill"],r);case 2:return i=l.sent,o=t["a:blipFill"]["a:blip"],a=Oe(o,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),l.abrupt("return",{picBase64:i,opacity:s});case 8:case"end":return l.stop()}},e)}))).apply(this,arguments)}function D0(e,t,n,r){if(e){for(var i=e["a:gradFill"],o=i["a:gsLst"]["a:gs"],a=[],s=0;s1e3&&(x=A-1e3,S=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],L=[],Object.keys(S).forEach(function(xe){var ye=S[xe];if(xe!=="attrs")if(ye.constructor===Array)for(var Me=0;Me1e3)){Ve.next=89;break}if(Z=B-1e3,Q=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],G=[],Object.keys(Q).forEach(function(xe){var ye=Q[xe];if(xe!=="attrs")if(ye.constructor===Array)for(var Me=0;Me1e3)){Ve.next=142;break}if(ne=q-1e3,oe=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],he=[],Object.keys(oe).forEach(function(xe){var ye=oe[xe];if(xe!=="attrs")if(ye.constructor===Array)for(var Me=0;Me=360&&(F-=360),P?yt({h:F,s:k.s,l:k.l,a:k.a}).toHex8():yt({h:F,s:k.s,l:k.l,a:k.a}).toHex()}(s,R,g));var A=parseInt(Oe(i,["a:lumMod","attrs","val"]))/1e5;isNaN(A)||(s=function(M,_,P){var k=yt(M).toHsl(),F=k.l*_;return F>=1&&(F=1),P?yt({h:k.h,s:k.s,l:F,a:k.a}).toHex8():yt({h:k.h,s:k.s,l:F,a:k.a}).toHex()}(s,A,g));var x=parseInt(Oe(i,["a:lumOff","attrs","val"]))/1e5;isNaN(x)||(s=function(M,_,P){var k=yt(M).toHsl(),F=_+k.l;return F>=1?P?yt({h:k.h,s:k.s,l:1,a:k.a}).toHex8():yt({h:k.h,s:k.s,l:1,a:k.a}).toHex():P?yt({h:k.h,s:k.s,l:F,a:k.a}).toHex8():yt({h:k.h,s:k.s,l:F,a:k.a}).toHex()}(s,x,g));var S=parseInt(Oe(i,["a:satMod","attrs","val"]))/1e5;isNaN(S)||(s=function(M,_,P){var k=yt(M).toHsl(),F=k.s*_;return F>=1&&(F=1),P?yt({h:k.h,s:F,l:k.l,a:k.a}).toHex8():yt({h:k.h,s:F,l:k.l,a:k.a}).toHex()}(s,S,g));var L=parseInt(Oe(i,["a:shade","attrs","val"]))/1e5;isNaN(L)||(s=function(M,_,P){var k=yt(M).toHsl();_>=1&&(_=1);var F=Math.min(k.l*_,1);return P?yt({h:k.h,s:k.s,l:F,a:k.a}).toHex8():yt({h:k.h,s:k.s,l:F,a:k.a}).toHex()}(s,L,g));var w=parseInt(Oe(i,["a:tint","attrs","val"]))/1e5;return isNaN(w)||(s=function(M,_,P){var k=yt(M).toHsl();_>=1&&(_=1);var F=k.l*_+(1-_);return P?yt({h:k.h,s:k.s,l:F,a:k.a}).toHex8():yt({h:k.h,s:k.s,l:F,a:k.a}).toHex()}(s,w,g)),s&&s.indexOf("#")===-1&&(s="#"+s),s}function xo(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];W0(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],W0(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else W0(e,function(r,i){var o=[],a=Oe(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||i,s={};return Oe(r,["c:cat","c:strRef","c:strCache","c:pt"])?W0(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}):Oe(r,["c:cat","c:numRef","c:numCache","c:pt"])&&W0(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}),Oe(r,["c:val","c:numRef","c:numCache","c:pt"])&&W0(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return o.push({x:l.attrs.idx,y:parseFloat(l["c:v"])}),""}),t.push({key:a,values:o,xlabels:s}),""});return t}function MRe(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),barDir:Oe(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),barDir:Oe(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:xo(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:xo(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:xo(e[n]["c:ser"]),holeSize:Oe(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:xo(e[n]["c:ser"]),style:Oe(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:xo(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:xo(e[n]["c:ser"]),style:Oe(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:xo(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:xo(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:xo(e[n]["c:ser"])}}return t}function LRe(e,t,n,r){var i=Oe(e,["a:pPr","attrs","algn"]);if(i||(i=Oe(t,["a:pPr","attrs","algn"])),!i)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var o=1,a=Oe(t,["a:pPr","attrs","lvl"]);a&&(o=parseInt(a)+1);var s="a:lvl"+o+"pPr";(i=Oe(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(i=Oe(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),i||(i=Oe(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),i||n!=="subTitle"||(i=Oe(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else i=Oe(r,n==="body"?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var l="left";if(i)switch(i){case"l":l="left";break;case"r":l="right";break;case"ctr":l="center";break;case"just":case"dist":l="justify";break;default:l="inherit"}return l}var Mi=72/914400;function Gv(e,t,n){var r;return e?r=e["a:off"].attrs:t?r=t["a:off"].attrs:n&&(r=n["a:off"].attrs),r?{top:parseInt(r.y)*Mi,left:parseInt(r.x)*Mi}:{top:0,left:0}}function zv(e,t,n){var r;return e?r=e["a:ext"].attrs:t?r=t["a:ext"].attrs:n&&(r=n["a:ext"].attrs),r?{width:parseInt(r.cx)*Mi,height:parseInt(r.cy)*Mi}:{width:0,height:0}}function _G(e,t){var n=ir(e,void 0,void 0,t),r=e.attrs,i=r.dir?parseInt(r.dir)/6e4:0,o=parseInt(r.dist)*Mi,a=r.blurRad?parseInt(r.blurRad)*Mi:"",s=o*Math.sin(i*Math.PI/180);return{h:o*Math.cos(i*Math.PI/180),v:s,blur:a,color:n}}function ZE(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return QE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return QE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function QE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&p.shift(),(d=d.concat(p)).sort(function(R,A){return!R.attrs||!A.attrs||R.attrs.order-A.attrs.order})));var v=LRe(f,t,r,i),g=TRe(f);if(g?(u?u&&u!==g&&(a+=""),a+="<".concat(g,">"),u=g):(a+="<".concat(g,">"),u=g),a+='
  • ')):(u&&(a+=""),u=""),a+='

    ')),d){var m,y=ZE(d);try{for(y.s();!(m=y.n()).done;)a+=HE(m.value,f,e,s,n,r,i)}catch(R){y.e(R)}finally{y.f()}}else a+=HE(f,t,e,s,n,r,i);a+=g?"

  • ":"

    "}}catch(R){c.e(R)}finally{c.f()}return a}function TRe(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function HE(e,t,n,r,i,o,a){var s=n["a:lstStyle"],l=a.slideMasterTextStyles,u=1,c=Oe(t["a:pPr"],["attrs","lvl"]);c!==void 0&&(u=parseInt(c)+1);var f=e["a:t"];typeof f!="string"&&(f=Oe(e,["a:fld","a:t"])),typeof f!="string"&&(f=" ");var d="",h=function(M,_,P,k,F,C){var N,I=Oe(M,["a:rPr"]);if(I&&uf(I)==="SOLID_FILL"&&(N=ir(I["a:solidFill"],void 0,void 0,C)),!N&&Oe(P,["a:lvl"+F+"pPr","a:defRPr"])){var W=Oe(P,["a:lvl"+F+"pPr","a:defRPr"]);uf(W)==="SOLID_FILL"&&(N=ir(W["a:solidFill"],void 0,void 0,C))}if(!N){var D=Oe(_,["p:style","a:fontRef"]);D&&(N=ir(D,void 0,void 0,C)),!N&&k&&(N=ir(k,void 0,void 0,C))}return N||""}(e,t,s,r,u,a),p=function(M,_,P,k){var F,C;if(Oe(M,["a:rPr","attrs","sz"])&&(F=Oe(M,["a:rPr","attrs","sz"])/100),isNaN(F)||!F){var N=Oe(_,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);F=parseInt(N)/100}return!isNaN(F)&&F||(P==="title"||P==="subTitle"||P==="ctrTitle"?C=Oe(k,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):P==="body"?C=Oe(k,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):P==="dt"||P==="sldNum"?C="1200":P||(C=Oe(k,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),C&&(F=parseInt(C)/100)),Oe(M,["a:rPr","attrs","baseline"])&&!isNaN(F)&&(F-=10),(F=isNaN(F)||!F?18:F)+"pt"}(e,i,o,l),v=function(M,_,P){var k=Oe(M,["a:rPr","a:latin","attrs","typeface"]);if(!k){var F=Oe(P.themeContent,["a:theme","a:themeElements","a:fontScheme"]);k=Oe(F,_==="title"||_==="subTitle"||_==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return k||""}(e,o,a),g=function(M){return Oe(M,["a:rPr","attrs","b"])==="1"?"bold":""}(e),m=function(M){return Oe(M,["a:rPr","attrs","i"])==="1"?"italic":""}(e),y=function(M){return Oe(M,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),R=function(M){return Oe(M,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),A=function(M){var _=Oe(M,["a:rPr","attrs","spc"]);return _?parseInt(_)/100+"pt":""}(e),x=function(M,_){var P=Oe(M,["a:rPr","a:effectLst","a:outerShdw"]);if(P){var k=_G(P,_);if(k){var F=k.h,C=k.v,N=k.blur,I=k.color;if(!isNaN(C)&&!isNaN(F))return F+"pt "+C+"pt "+(N?N+"pt":"")+" "+I}}return""}(e,a),S=function(M){var _=Oe(M,["a:rPr","attrs","baseline"]);return _?parseInt(_)>0?"super":"sub":""}(e);h&&(d+="color: ".concat(h,";")),p&&(d+="font-size: ".concat(p,";")),v&&(d+="font-family: ".concat(v,";")),g&&(d+="font-weight: ".concat(g,";")),m&&(d+="font-style: ".concat(m,";")),y&&(d+="text-decoration: ".concat(y,";")),R&&(d+="text-decoration-line: ".concat(R,";")),A&&(d+="letter-spacing: ".concat(A,";")),S&&(d+="vertical-align: ".concat(S,";")),x&&(d+="text-shadow: ".concat(x,";"));var L=Oe(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(L){var w=a.slideResObj[L].target;return'').concat(f.replace(/\t/g,"    ").replace(/\s/g," "),"")}return'').concat(f.replace(/\t/g,"    ").replace(/\s/g," "),"")}function _Re(e,t,n,r,i,o,a){var s,l=i;if(o>=i)for(;l<=o;){var u=l*(Math.PI/180),c=e+Math.cos(u)*n,f=t+Math.sin(u)*r;l===i&&(s=" M"+c+" "+f),s+=" L"+c+" "+f,l++}else for(;l>o;){var d=l*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;l===i&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,l--}return s+=""}function KE(e,t,n,r){var i,o,a,s,l,u=Oe(e,["attrs","rowSpan"]),c=Oe(e,["attrs","gridSpan"]),f=Oe(e,["attrs","vMerge"]),d=Oe(e,["attrs","hMerge"]),h=Oe(e,["a:tcPr"]);return h&&(i=TG({"p:spPr":h},void 0,r)),i||(n&&(s=Oe(t,[n,"a:tcStyle","a:fill","a:solidFill"])),s&&(i=ir(s,void 0,void 0,r))),n&&(l=Oe(t,[n,"a:tcTxStyle"])),l&&(o=ir(l,void 0,void 0,r),Oe(l,["attrs","b"])==="on"&&(a=!0)),{fillColor:i,fontColor:o,fontBold:a,rowSpan:u?+u:void 0,colSpan:c?+c:void 0,vMerge:f?+f:void 0,hMerge:d?+d:void 0}}function ORe(e,t,n,r,i){var o,a,s;if(r&&r["a:wholeTbl"]){var l=Oe(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(l){var u=ir(l,void 0,void 0,i);u&&(o=u)}var c=Oe(r,["a:wholeTbl","a:tcTxStyle"]);if(c){var f=ir(c,void 0,void 0,i);f&&(a=f),Oe(c,["attrs","b"])==="on"&&(s=!0)}}if(t===0&&n.isFrstRowAttr===1&&r){var d=Oe(r,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(d){var h=ir(d,void 0,void 0,i);h&&(o=h)}var p=Oe(r,["a:firstRow","a:tcTxStyle"]);if(p){var v=ir(p,void 0,void 0,i);v&&(a=v),Oe(p,["attrs","b"])==="on"&&(s=!0)}}else if(t>0&&n.isBandRowAttr===1&&r){if(o="",t%2==0&&r["a:band2H"]){var g=Oe(r,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(g){var m=ir(g,void 0,void 0,i);m&&(o=m)}var y=Oe(r,["a:band2H","a:tcTxStyle"]);if(y){var R=ir(y,void 0,void 0,i);R&&(a=R)}Oe(y,["attrs","b"])==="on"&&(s=!0)}if(t%2!=0&&r["a:band1H"]){var A=Oe(r,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(A){var x=ir(A,void 0,void 0,i);x&&(o=x)}var S=Oe(r,["a:band1H","a:tcTxStyle"]);if(S){var L=ir(S,void 0,void 0,i);L&&(a=L),Oe(S,["attrs","b"])==="on"&&(s=!0)}}}if(t===e.length-1&&n.isLstRowAttr===1&&r){var w=Oe(r,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(w){var M=ir(w,void 0,void 0,i);M&&(o=M)}var _=Oe(r,["a:lastRow","a:tcTxStyle"]);if(_){var P=ir(_,void 0,void 0,i);P&&(a=P),Oe(_,["attrs","b"])==="on"&&(s=!0)}}return{fillColor:o,fontColor:a,fontBold:s}}function S5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function JE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n").replaceAll(/&/g,"&").replaceAll(/'/g,"'").replaceAll(/"/g,'"')}(br(OG(e)[0]))}}function GT(e,t,n){return zT.apply(this,arguments)}function zT(){return zT=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S;return tr.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(i=Oe(t,["p:grpSpPr","a:xfrm"])){L.next=3;break}return L.abrupt("return",null);case 3:o=parseInt(i["a:off"].attrs.x)*Mi,a=parseInt(i["a:off"].attrs.y)*Mi,s=parseInt(i["a:chOff"].attrs.x)*Mi,l=parseInt(i["a:chOff"].attrs.y)*Mi,u=parseInt(i["a:ext"].attrs.cx)*Mi,c=parseInt(i["a:ext"].attrs.cy)*Mi,f=parseInt(i["a:chExt"].attrs.cx)*Mi,d=parseInt(i["a:chExt"].attrs.cy)*Mi,(h=Oe(i,["attrs","rot"])||0)&&(h=e2(h)),p=u/f,v=c/d,g=[],L.t0=tr.keys(t);case 17:if((L.t1=L.t0()).done){L.next=47;break}if(m=L.t1.value,t[m].constructor!==Array){L.next=41;break}y=zo(t[m]),L.prev=21,y.s();case 23:if((R=y.n()).done){L.next=31;break}return A=R.value,L.next=27,Fx(m,A,n,r);case 27:(x=L.sent)&&g.push(x);case 29:L.next=23;break;case 31:L.next=36;break;case 33:L.prev=33,L.t2=L.catch(21),y.e(L.t2);case 36:return L.prev=36,y.f(),L.finish(36);case 39:L.next=45;break;case 41:return L.next=43,Fx(m,t[m],n,r);case 43:(S=L.sent)&&g.push(S);case 45:L.next=17;break;case 47:return L.abrupt("return",{type:"group",top:a,left:o,width:u,height:c,rotate:h,elements:g.map(function(w){return vh(vh({},w),{},{left:(w.left-s)*p,top:(w.top-l)*v,width:w.width*p,height:w.height*v})})});case 48:case"end":return L.stop()}},e,null,[[21,33,36,39]])})),zT.apply(this,arguments)}function FG(e,t,n){var r,i,o=Oe(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Oe(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Oe(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);return s?(r=t.slideLayoutTables.typeTable[s],i=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],i=t.slideMasterTables.idxTable[a]),s||Oe(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Oe(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Oe(i,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),EG(e,r,i,o,s,t)}function WRe(e,t){return EG(e,void 0,void 0,e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,t)}function EG(e,t,n,r,i,o){var a,s=["p:spPr","a:xfrm"],l=Oe(e,s),u=Oe(t,s),c=Oe(n,s),f=Oe(e,["p:spPr","a:prstGeom","attrs","prst"]),d=Oe(e,["p:spPr","a:custGeom"]),h=Gv(l,u,c),p=h.top,v=h.left,g=zv(l,u,c),m=g.width,y=g.height,R=Oe(l,["attrs","flipV"])==="1",A=Oe(l,["attrs","flipH"])==="1",x=e2(Oe(l,["attrs","rot"])),S=Oe(e,["p:txXfrm"]);if(S){var L=Oe(S,["attrs","rot"]);L&&(a=e2(L)+90)}else a=x;var w="";e["p:txBody"]&&(w=HT(e["p:txBody"],e,t,i,o));var M,_=wg(e,i,o),P=_.borderColor,k=_.borderWidth,F=_.borderType,C=_.strokeDasharray,N=TG(e,void 0,o)||"",I=Oe(e,["p:spPr","a:effectLst","a:outerShdw"]);I&&(M=_G(I,o));var W=function(Z,Q,G){var ee=Oe(Z,["p:txBody","a:bodyPr","attrs","anchor"]);return ee||(ee=Oe(Q,["p:txBody","a:bodyPr","attrs","anchor"]))||(ee=Oe(G,["p:txBody","a:bodyPr","attrs","anchor"]))||(ee="t"),ee==="ctr"?"mid":ee==="b"?"down":"up"}(e,t,n),D=Oe(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",Y={left:v,top:p,width:m,height:y,borderColor:P,borderWidth:k,borderType:F,borderStrokeDasharray:C,fillColor:N,content:w,isFlipV:R,isFlipH:A,rotate:x,vAlign:W,name:r};if(M&&(Y.shadow=M),d&&i!=="diagram"){var re=Oe(l,["a:ext","attrs"]),B=function(Z,Q,G){var ee=Oe(Z,["a:pathLst"]),$=Oe(ee,["a:path"]);Array.isArray($)&&($=$.pop());var de=parseInt($.attrs.w),K=parseInt($.attrs.h),Ae=de===0?0:1/de*Q,ce=K===0?0:1/K*G,fe="",le=Oe($,["a:moveTo"]),j=$["a:lnTo"],X=$["a:cubicBezTo"],J=$["a:arcTo"],se=Oe($,["a:close"]);Array.isArray(le)||(le=[le]);var q=[];if(le.length>0){if(Object.keys(le).forEach(function(Ye){var ot=le[Ye]["a:pt"];ot&&Object.keys(ot).forEach(function(ke){var Ge=ot[ke],rt=Ge.x,bt=Ge.y,dt=Ge.order;q.push({type:"movto",x:rt,y:bt,order:dt})})}),j&&Object.keys(j).forEach(function(Ye){var ot=j[Ye]["a:pt"];ot&&Object.keys(ot).forEach(function(ke){var Ge=ot[ke],rt=Ge.x,bt=Ge.y,dt=Ge.order;q.push({type:"lnto",x:rt,y:bt,order:dt})})}),X){var ne=[];Array.isArray(X)||(X=[X]),Object.keys(X).forEach(function(Ye){ne.push(X[Ye]["a:pt"])}),ne.forEach(function(Ye){var ot=[];Ye.forEach(function(Ge){var rt={x:Ge.attrs.x,y:Ge.attrs.y};ot.push(rt)});var ke=Ye[0].attrs.order;q.push({type:"cubicBezTo",cubBzPt:ot,order:ke})})}if(J){var oe=J.attrs,he=oe.order,ue=oe.hR,ge=oe.wR,Re=oe.stAng,Ee=oe.swAng,Ne=0,He=0,Ve=Oe(J,["a:pt","attrs"]);Ve&&(Ne=Ve.x,He=Ve.y),q.push({type:"arcTo",hR:ue,wR:ge,stAng:Re,swAng:Ee,shftX:Ne,shftY:He,order:he})}se&&(Array.isArray(se)||(se=[se]),Object.keys(se).forEach(function(){q.push({type:"close",order:1/0})})),q.sort(function(Ye,ot){return Ye.order-ot.order});for(var xe=0;xe0&&R.isBandColAttr===1&&(R.isFrstColAttr!==1||C!==0)&&(R.isLstRowAttr!==1||C!==k.length-1)&&Z!==re.length-1&&Z%2!=0){var ee=Oe(n,["a:band2V"]);ee===void 0?(ee=Oe(n,["a:band1V"]))&&(G="a:band2V"):G="a:band2V"}Z===re.length-1&&R.isLstColAttr===1&&(G="a:lastCol",R.isLstRowAttr===1&&C===k.length-1&&Oe(n,["a:swCell"])?G="a:swCell":R.isFrstRowAttr===1&&C===0&&Oe(n,["a:nwCell"])&&(G="a:nwCell"));var $=HT(Q["a:txBody"],Q,void 0,void 0,t),de=KE(Q,n,G,t),K={text:$};de.rowSpan&&(K.rowSpan=de.rowSpan),de.colSpan&&(K.colSpan=de.colSpan),de.vMerge&&(K.vMerge=de.vMerge),de.hMerge&&(K.hMerge=de.hMerge),(de.fontBold||Y)&&(K.fontBold=de.fontBold||Y),(de.fontColor||D)&&(K.fontColor=de.fontColor||D),(de.fillColor||W||_)&&(K.fillColor=de.fillColor||W||_),B.push(K)}else{var Ae=void 0;if(R.isFrstColAttr===1&&R.isLstRowAttr!==1)Ae="a:firstCol";else if(R.isBandColAttr===1&&R.isLstRowAttr!==1){var ce=Oe(n,["a:band2V"]);(ce||(ce=Oe(n,["a:band1V"])))&&(Ae="a:band2V")}R.isLstColAttr===1&&R.isLstRowAttr!==1&&(Ae="a:lastCol");var fe=HT(re["a:txBody"],re,void 0,void 0,t),le=KE(re,n,Ae,t),j={text:fe};le.rowSpan&&(j.rowSpan=le.rowSpan),le.colSpan&&(j.colSpan=le.colSpan),le.vMerge&&(j.vMerge=le.vMerge),le.hMerge&&(j.hMerge=le.hMerge),(le.fontBold||Y)&&(j.fontBold=le.fontBold||Y),(le.fontColor||D)&&(j.fontColor=le.fontColor||D),(le.fillColor||W||_)&&(j.fillColor=le.fillColor||W||_),B.push(j)}F.push(B)}return vh({type:"table",top:s,left:l,width:c,height:f,data:F},r||{})}function BRe(e,t){return jT.apply(this,arguments)}function jT(){return jT=pa(tr.mark(function e(t,n){var r,i,o,a,s,l,u,c,f,d,h,p,v;return tr.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=Oe(t,["p:xfrm"]),i=Gv(r,void 0,void 0),o=i.top,a=i.left,s=zv(r,void 0,void 0),l=s.width,u=s.height,c=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],f=n.slideResObj[c].target,g.next=7,no(n.zip,f);case 7:if(d=g.sent,h=Oe(d,["c:chartSpace","c:chart","c:plotArea"]),p=MRe(h)){g.next=12;break}return g.abrupt("return",{});case 12:return v={type:"chart",top:o,left:a,width:l,height:u,data:p.data,chartType:p.type},p.marker!==void 0&&(v.marker=p.marker),p.barDir!==void 0&&(v.barDir=p.barDir),p.holeSize!==void 0&&(v.holeSize=p.holeSize),p.grouping!==void 0&&(v.grouping=p.grouping),p.style!==void 0&&(v.style=p.style),g.abrupt("return",v);case 19:case"end":return g.stop()}},e)})),jT.apply(this,arguments)}function YRe(e,t){var n=Oe(e,["p:xfrm"]),r=Gv(n,void 0,void 0),i=r.left,o=r.top,a=zv(n,void 0,void 0),s=a.width,l=a.height,u=Oe(t.digramFileContent,["p:drawing","p:spTree","p:sp"]),c=[];if(u){var f,d=zo(u);try{for(d.s();!(f=d.n()).done;){var h=FG(f.value,t,"diagramBg");h&&c.push(h)}}catch(p){d.e(p)}finally{d.f()}}return{type:"diagram",left:i,top:o,width:s,height:l,elements:c}}const ri=" ";function ZRe(e){let t="";Array.isArray(e)||(e=[e]);for(let n=0;ne.phi1&&(e.phi2-=2*cf),e.sweepFlag===1&&e.phi2r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];const i=Math.sqrt(r);return[[(e*n+t*i)/(e*e+t*t),(t*n-e*i)/(e*e+t*t)],[(e*n-t*i)/(e*e+t*t),(t*n+e*i)/(e*e+t*t)]]}const Wu=Math.PI/180;function qE(e,t,n){return(1-n)*e+n*t}function eX(e,t,n,r){return e+Math.cos(r/180*cf)*t+Math.sin(r/180*cf)*n}function tX(e,t,n,r){const o=t-e,a=n-t,s=r-n,l=3*o+3*s-6*a,u=(a-o)*6,c=3*o;return Math.abs(l)<1e-6?[-c/u]:QRe(u/l,c/l,1e-6)}function nX(e,t,n,r,i){const o=1-i,a=o*o*o,s=3*o*o*i,l=3*o*i*i,u=i*i*i;return e*a+t*s+n*l+r*u}function QRe(e,t,n=1e-6){const r=e*e/4-t;if(r<-n)return[];if(r<=n)return[-e/2];const i=Math.sqrt(r);return[-(e/2)-i,-(e/2)+i]}function HRe(e,t,n){e.cX||uk(e,t,n);const r=Math.min(e.phi1,e.phi2),i=Math.max(e.phi1,e.phi2),o=i-r,a=Math.ceil(o/90),s=new Array(a);let l=t,u=n;for(let c=0;c{const[M,_]=qT([L*e.rX,w*e.rY],e.xRot);return[e.cX+M,e.cY+_]};[x.x1,x.y1]=S(v,g),[x.x2,x.y2]=S(R,A),[x.x,x.y]=S(m,y),e.relative&&(x.x1-=l,x.y1-=u,x.x2-=l,x.y2-=u,x.x-=l,x.y-=u),[l,u]=[x.x,x.y],s[c]=x}return s}function KRe(e=1e13){gl(e);function t(n){return Math.round(n*e)/e}return function(r){return"x1"in r&&typeof r.x1<"u"&&(r.x1=t(r.x1)),"y1"in r&&typeof r.y1<"u"&&(r.y1=t(r.y1)),"x2"in r&&typeof r.x2<"u"&&(r.x2=t(r.x2)),"y2"in r&&typeof r.y2<"u"&&(r.y2=t(r.y2)),"x"in r&&typeof r.x<"u"&&(r.x=t(r.x)),"y"in r&&typeof r.y<"u"&&(r.y=t(r.y)),"rX"in r&&typeof r.rX<"u"&&(r.rX=t(r.rX)),"rY"in r&&typeof r.rY<"u"&&(r.rY=t(r.rY)),r}}function XG(){return ml((e,t,n)=>(e.relative&&(typeof e.x1<"u"&&(e.x1+=t),typeof e.y1<"u"&&(e.y1+=n),typeof e.x2<"u"&&(e.x2+=t),typeof e.y2<"u"&&(e.y2+=n),typeof e.x<"u"&&(e.x+=t),typeof e.y<"u"&&(e.y+=n),e.relative=!1),e))}function GRe(){return ml((e,t,n)=>(e.relative||(typeof e.x1<"u"&&(e.x1-=t),typeof e.y1<"u"&&(e.y1-=n),typeof e.x2<"u"&&(e.x2-=t),typeof e.y2<"u"&&(e.y2-=n),typeof e.x<"u"&&(e.x-=t),typeof e.y<"u"&&(e.y-=n),e.relative=!0),e))}function zRe(e=!0,t=!0,n=!0){return ml((r,i,o,a,s)=>{if(isNaN(a)&&!(r.type<.MOVE_TO))throw new Error("path must start with moveto");return t&&r.type<.HORIZ_LINE_TO&&(r.type=lt.LINE_TO,r.y=r.relative?0:o),n&&r.type<.VERT_LINE_TO&&(r.type=lt.LINE_TO,r.x=r.relative?0:i),e&&r.type<.CLOSE_PATH&&(r.type=lt.LINE_TO,r.x=r.relative?a-i:a,r.y=r.relative?s-o:s),r.type<.ARC&&(r.rX===0||r.rY===0)&&(r.type=lt.LINE_TO,delete r.rX,delete r.rY,delete r.xRot,delete r.lArcFlag,delete r.sweepFlag),r})}function WG(){let e=NaN,t=NaN,n=NaN,r=NaN;return ml((i,o,a)=>(i.type<.SMOOTH_CURVE_TO&&(i.type=lt.CURVE_TO,e=isNaN(e)?o:e,t=isNaN(t)?a:t,i.x1=i.relative?o-e:2*o-e,i.y1=i.relative?a-t:2*a-t),i.type<.CURVE_TO?(e=i.relative?o+i.x2:i.x2,t=i.relative?a+i.y2:i.y2):(e=NaN,t=NaN),i.type<.SMOOTH_QUAD_TO&&(i.type=lt.QUAD_TO,n=isNaN(n)?o:n,r=isNaN(r)?a:r,i.x1=i.relative?o-n:2*o-n,i.y1=i.relative?a-r:2*a-r),i.type<.QUAD_TO?(n=i.relative?o+i.x1:i.x1,r=i.relative?a+i.y1:i.y1):(n=NaN,r=NaN),i))}function VG(){let e=NaN,t=NaN;return ml((n,r,i)=>{if(n.type<.SMOOTH_QUAD_TO&&(n.type=lt.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?i:t,n.x1=n.relative?r-e:2*r-e,n.y1=n.relative?i-t:2*i-t),n.type<.QUAD_TO){e=n.relative?r+n.x1:n.x1,t=n.relative?i+n.y1:n.y1;const o=n.x1,a=n.y1;n.type=lt.CURVE_TO,n.x1=((n.relative?0:r)+o*2)/3,n.y1=((n.relative?0:i)+a*2)/3,n.x2=(n.x+o*2)/3,n.y2=(n.y+a*2)/3}else e=NaN,t=NaN;return n})}function ml(e){let t=0,n=0,r=NaN,i=NaN;return function(a){if(isNaN(r)&&!(a.type<.MOVE_TO))throw new Error("path must start with moveto");const s=e(a,t,n,r,i);return a.type<.CLOSE_PATH&&(t=r,n=i),"x"in a&&typeof a.x<"u"&&(t=a.relative?t+a.x:a.x),"y"in a&&typeof a.y<"u"&&(n=a.relative?n+a.y:a.y),a.type<.MOVE_TO&&(r=t,i=n),s}}function JRe(e=0){gl(e);let t=NaN,n=NaN,r=NaN,i=NaN;return ml((o,a,s,l,u)=>{const c=Math.abs;let f=!1,d=0,h=0;if(o.type<.SMOOTH_CURVE_TO&&(d=isNaN(t)?0:a-t,h=isNaN(n)?0:s-n),o.type&(lt.CURVE_TO|lt.SMOOTH_CURVE_TO)?(t=o.relative?a+o.x2:o.x2,n=o.relative?s+o.y2:o.y2):(t=NaN,n=NaN),o.type<.SMOOTH_QUAD_TO?(r=isNaN(r)?a:2*a-r,i=isNaN(i)?s:2*s-i):o.type<.QUAD_TO?(r=o.relative?a+o.x1:o.x1,i=o.relative?s+o.y1:o.y2):(r=NaN,i=NaN),o.type<.LINE_COMMANDS||o.type<.ARC&&(o.rX===0||o.rY===0||!o.lArcFlag)||o.type<.CURVE_TO||o.type<.SMOOTH_CURVE_TO||o.type<.QUAD_TO||o.type<.SMOOTH_QUAD_TO){const p=typeof o.x>"u"?0:o.relative?o.x:o.x-a,v=typeof o.y>"u"?0:o.relative?o.y:o.y-s;d=isNaN(r)?typeof o.x1>"u"?d:o.relative?o.x:o.x1-a:r-a,h=isNaN(i)?typeof o.y1>"u"?h:o.relative?o.y:o.y1-s:i-s;const g=typeof o.x2>"u"?0:o.relative?o.x:o.x2-a,m=typeof o.y2>"u"?0:o.relative?o.y:o.y2-s;c(p)<=e&&c(v)<=e&&c(d)<=e&&c(h)<=e&&c(g)<=e&&c(m)<=e&&(f=!0)}return o.type<.CLOSE_PATH&&c(a-l)<=e&&c(s-u)<=e&&(f=!0),f?[]:o})}function ud(e,t,n,r,i,o){return gl(e,t,n,r,i,o),ml((a,s,l,u)=>{const c=a.x1,f=a.x2,d=a.relative&&!isNaN(u),h=typeof a.x<"u"?a.x:d?0:s,p=typeof a.y<"u"?a.y:d?0:l;a.type<.HORIZ_LINE_TO&&t!==0&&(a.type=lt.LINE_TO,a.y=a.relative?0:l),a.type<.VERT_LINE_TO&&n!==0&&(a.type=lt.LINE_TO,a.x=a.relative?0:s),typeof a.x<"u"&&(a.x=a.x*e+p*n+(d?0:i)),typeof a.y<"u"&&(a.y=h*t+a.y*r+(d?0:o)),typeof a.x1<"u"&&(a.x1=a.x1*e+a.y1*n+(d?0:i)),typeof a.y1<"u"&&(a.y1=c*t+a.y1*r+(d?0:o)),typeof a.x2<"u"&&(a.x2=a.x2*e+a.y2*n+(d?0:i)),typeof a.y2<"u"&&(a.y2=f*t+a.y2*r+(d?0:o));function v(m){return m*m}const g=e*r-t*n;if(typeof a.xRot<"u"&&(e!==1||t!==0||n!==0||r!==1))if(g===0)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=lt.LINE_TO;else{const m=a.xRot*Math.PI/180,y=Math.sin(m),R=Math.cos(m),A=1/v(a.rX),x=1/v(a.rY),S=v(R)*A+v(y)*x,L=2*y*R*(A-x),w=v(y)*A+v(R)*x,M=S*r*r-L*t*r+w*t*t,_=L*(e*r+t*n)-2*(S*n*r+w*e*t),P=S*n*n-L*e*n+w*e*e,k=(Math.atan2(_,M-P)+Math.PI)%Math.PI/2,F=Math.sin(k),C=Math.cos(k);a.rX=Math.abs(g)/Math.sqrt(M*v(C)+_*F*C+P*v(F)),a.rY=Math.abs(g)/Math.sqrt(M*v(F)-_*F*C+P*v(C)),a.xRot=k*180/Math.PI}return typeof a.sweepFlag<"u"&&0>g&&(a.sweepFlag=+!a.sweepFlag),a})}function $Re(e,t=0,n=0){gl(e,t,n);const r=Math.sin(e),i=Math.cos(e);return ud(i,r,-r,i,t-t*i+n*r,n-t*r-n*i)}function jRe(e,t=0){return gl(e,t),ud(1,0,0,1,e,t)}function qRe(e,t=e){return gl(e,t),ud(e,0,0,t,0,0)}function ebe(e){return gl(e),ud(1,0,Math.atan(e),1,0,0)}function tbe(e){return gl(e),ud(1,Math.atan(e),0,1,0,0)}function nbe(e=0){return gl(e),ud(-1,0,0,1,e,0)}function rbe(e=0){return gl(e),ud(1,0,0,-1,0,e)}function ibe(){return ml((e,t,n)=>lt.ARC===e.type?HRe(e,e.relative?0:t,e.relative?0:n):e)}function obe(){return ml((e,t,n)=>(e.relative&&(t=0,n=0),lt.ARC===e.type&&uk(e,t,n),e))}function DG(){return e=>({...e})}function abe(){const e=DG(),t=XG(),n=VG(),r=WG(),i=ml((o,a,s)=>{const l=r(n(t(e(o))));function u(f){f>i.maxX&&(i.maxX=f),fi.maxY&&(i.maxY=f),fh&&u(nX(a,l.x1,l.x2,l.x,h));const d=tX(s,l.y1,l.y2,l.y);for(const h of d)0h&&c(nX(s,l.y1,l.y2,l.y,h))}if(l.type<.ARC){u(l.x),c(l.y),uk(l,a,s);const f=l.xRot/180*Math.PI,d=Math.cos(f)*l.rX,h=Math.sin(f)*l.rX,p=-Math.sin(f)*l.rY,v=Math.cos(f)*l.rY,[g,m]=l.phi1l.phi2?[l.phi2+360,l.phi1+360]:[l.phi2,l.phi1],y=([x,S])=>{const w=Math.atan2(S,x)*180/Math.PI;return wg&&xg&&xe===" "||e===" "||e==="\r"||e===` -`,rX=e=>48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57;class lbe extends UG{constructor(){super();Lr(this,"curNumber","");Lr(this,"curCommandType",-1);Lr(this,"curCommandRelative",!1);Lr(this,"canParseCommandOrComma",!0);Lr(this,"curNumberHasExp",!1);Lr(this,"curNumberHasExpDigits",!1);Lr(this,"curNumberHasDecimal",!1);Lr(this,"curArgs",[])}finish(n=[]){if(this.parse(" ",n),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return n}parse(n,r=[]){const i=o=>{r.push(o),this.curArgs.length=0,this.canParseCommandOrComma=!0};for(let o=0;ou)throw new SyntaxError(`Expected positive number, got "${u}" at index "${o}"`)}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError(`Expected a flag, got "${this.curNumber}" at index "${o}"`)}this.curArgs.push(u),this.curArgs.length===ube[this.curCommandType]&&(lt.HORIZ_LINE_TO===this.curCommandType?i({type:lt.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):lt.VERT_LINE_TO===this.curCommandType?i({type:lt.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===lt.MOVE_TO||this.curCommandType===lt.LINE_TO||this.curCommandType===lt.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),lt.MOVE_TO===this.curCommandType&&(this.curCommandType=lt.LINE_TO)):this.curCommandType===lt.CURVE_TO?i({type:lt.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===lt.SMOOTH_CURVE_TO?i({type:lt.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===lt.QUAD_TO?i({type:lt.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===lt.ARC&&i({type:lt.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!sbe(a)){if(a===","&&this.canParseCommandOrComma){this.canParseCommandOrComma=!1;continue}if(a==="+"||a==="-"||a==="."){this.curNumber=a,this.curNumberHasDecimal=a===".";continue}if(l){this.curNumber=a,this.curNumberHasDecimal=!1;continue}if(this.curArgs.length!==0)throw new SyntaxError(`Unterminated command at index ${o}.`);if(!this.canParseCommandOrComma)throw new SyntaxError(`Unexpected character "${a}" at index ${o}. Command cannot follow comma`);if(this.canParseCommandOrComma=!1,a==="z"||a==="Z"){r.push({type:lt.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1;continue}else if(a==="h"||a==="H")this.curCommandType=lt.HORIZ_LINE_TO,this.curCommandRelative=a==="h";else if(a==="v"||a==="V")this.curCommandType=lt.VERT_LINE_TO,this.curCommandRelative=a==="v";else if(a==="m"||a==="M")this.curCommandType=lt.MOVE_TO,this.curCommandRelative=a==="m";else if(a==="l"||a==="L")this.curCommandType=lt.LINE_TO,this.curCommandRelative=a==="l";else if(a==="c"||a==="C")this.curCommandType=lt.CURVE_TO,this.curCommandRelative=a==="c";else if(a==="s"||a==="S")this.curCommandType=lt.SMOOTH_CURVE_TO,this.curCommandRelative=a==="s";else if(a==="q"||a==="Q")this.curCommandType=lt.QUAD_TO,this.curCommandRelative=a==="q";else if(a==="t"||a==="T")this.curCommandType=lt.SMOOTH_QUAD_TO,this.curCommandRelative=a==="t";else if(a==="a"||a==="A")this.curCommandType=lt.ARC,this.curCommandRelative=a==="a";else throw new SyntaxError(`Unexpected character "${a}" at index ${o}.`)}}return r}transform(n){return Object.create(this,{parse:{value(i,o=[]){const a=Object.getPrototypeOf(this).parse.call(this,i);for(const s of a){const l=n(s);Array.isArray(l)?o.push(...l):o.push(l)}return o}}})}}const cr=class cr extends UG{constructor(n){super();Lr(this,"commands");typeof n=="string"?this.commands=cr.parse(n):this.commands=n}encode(){return cr.encode(this.commands)}getBounds(){const n=Si.CALCULATE_BOUNDS();return this.transform(n),n}transform(n){const r=[];for(const i of this.commands){const o=n(i);Array.isArray(o)?r.push(...o):r.push(o)}return this.commands=r,this}static encode(n){return ZRe(n)}static parse(n){const r=new lbe,i=[];return r.parse(n,i),r.finish(i),i}};Lr(cr,"CLOSE_PATH",1),Lr(cr,"MOVE_TO",2),Lr(cr,"HORIZ_LINE_TO",4),Lr(cr,"VERT_LINE_TO",8),Lr(cr,"LINE_TO",16),Lr(cr,"CURVE_TO",32),Lr(cr,"SMOOTH_CURVE_TO",64),Lr(cr,"QUAD_TO",128),Lr(cr,"SMOOTH_QUAD_TO",256),Lr(cr,"ARC",512),Lr(cr,"LINE_COMMANDS",cr.LINE_TO|cr.HORIZ_LINE_TO|cr.VERT_LINE_TO),Lr(cr,"DRAWING_COMMANDS",cr.HORIZ_LINE_TO|cr.VERT_LINE_TO|cr.LINE_TO|cr.CURVE_TO|cr.SMOOTH_CURVE_TO|cr.QUAD_TO|cr.SMOOTH_QUAD_TO|cr.ARC);let lt=cr;const ube={[lt.MOVE_TO]:2,[lt.LINE_TO]:2,[lt.HORIZ_LINE_TO]:1,[lt.VERT_LINE_TO]:1,[lt.CLOSE_PATH]:0,[lt.QUAD_TO]:4,[lt.SMOOTH_QUAD_TO]:2,[lt.CURVE_TO]:6,[lt.SMOOTH_CURVE_TO]:4,[lt.ARC]:7};var cbe=function(){function e(t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s=t[Symbol.iterator](),l;!(i=(l=s.next()).done)&&(r.push(l.value),!(n&&r.length===n));i=!0);}catch(u){o=!0,a=u}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),am=Math.PI*2,w5=function(t,n,r,i,o,a,s){var l=t.x,u=t.y;l*=n,u*=r;var c=i*l-o*u,f=o*l+i*u;return{x:c+a,y:f+s}},fbe=function(t,n){var r=n===1.5707963267948966?.551915024494:n===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(n/4),i=Math.cos(t),o=Math.sin(t),a=Math.cos(t+n),s=Math.sin(t+n);return[{x:i-o*r,y:o+i*r},{x:a+s*r,y:s-a*r},{x:a,y:s}]},iX=function(t,n,r,i){var o=t*i-n*r<0?-1:1,a=t*r+n*i;return a>1&&(a=1),a<-1&&(a=-1),o*Math.acos(a)},dbe=function(t,n,r,i,o,a,s,l,u,c,f,d){var h=Math.pow(o,2),p=Math.pow(a,2),v=Math.pow(f,2),g=Math.pow(d,2),m=h*p-h*g-p*v;m<0&&(m=0),m/=h*g+p*v,m=Math.sqrt(m)*(s===l?-1:1);var y=m*o/a*d,R=m*-a/o*f,A=c*y-u*R+(t+r)/2,x=u*y+c*R+(n+i)/2,S=(f-y)/o,L=(d-R)/a,w=(-f-y)/o,M=(-d-R)/a,_=iX(1,0,S,L),P=iX(S,L,w,M);return l===0&&P>0&&(P-=am),l===1&&P<0&&(P+=am),[A,x,_,P]},hbe=function(t){var n=t.px,r=t.py,i=t.cx,o=t.cy,a=t.rx,s=t.ry,l=t.xAxisRotation,u=l===void 0?0:l,c=t.largeArcFlag,f=c===void 0?0:c,d=t.sweepFlag,h=d===void 0?0:d,p=[];if(a===0||s===0)return[];var v=Math.sin(u*am/360),g=Math.cos(u*am/360),m=g*(n-i)/2+v*(r-o)/2,y=-v*(n-i)/2+g*(r-o)/2;if(m===0&&y===0)return[];a=Math.abs(a),s=Math.abs(s);var R=Math.pow(m,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(s,2);R>1&&(a*=Math.sqrt(R),s*=Math.sqrt(R));var A=dbe(n,r,i,o,a,s,f,h,v,g,m,y),x=cbe(A,4),S=x[0],L=x[1],w=x[2],M=x[3],_=Math.abs(M)/(am/4);Math.abs(1-_)<1e-7&&(_=1);var P=Math.max(Math.ceil(_),1);M/=P;for(var k=0;k{const t=new lt(e),n=[];for(const r of t.commands){const i=pbe[r.type];if((r.type===2||r.type===16)&&n.push({x:r.x,y:r.y,relative:r.relative,type:i}),r.type===32)n.push({x:r.x,y:r.y,curve:{type:"cubic",x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2},relative:r.relative,type:i});else if(r.type===128)n.push({x:r.x,y:r.y,curve:{type:"quadratic",x1:r.x1,y1:r.y1},relative:r.relative,type:i});else if(r.type===512){const o=n[n.length-1];if(!["M","L","Q","C"].includes(o.type))continue;const a=hbe({px:o.x,py:o.y,cx:r.x,cy:r.y,rx:r.rX,ry:r.rY,xAxisRotation:r.xRot,largeArcFlag:r.lArcFlag,sweepFlag:r.sweepFlag});for(const s of a)n.push({x:s.x,y:s.y,curve:{type:"cubic",x1:s.x1,y1:s.y1,x2:s.x2,y2:s.y2},relative:!1,type:"C"})}else if(r.type===1)n.push({close:!0,type:i});else continue}return n},vbe=e=>{try{const t=new lt(e),n=[],r=[];for(const i of t.commands){const o="x"in i?i.x:0,a="y"in i?i.y:0;n.push(o),r.push(a)}return{minX:Math.min(...n),minY:Math.min(...r),maxX:Math.max(...n),maxY:Math.max(...r)}}catch{return{minX:0,minY:0,maxX:0,maxY:0}}},aX=(e,t)=>e.replace(/font-size:\s*([\d.]+)pt/g,(n,r)=>`font-size: ${(parseFloat(r)*t).toFixed(1)}px`),gbe=()=>{const e=ut(),{theme:t}=De(ut()),{addSlidesFromData:n}=H2(),{isEmptySlide:r}=gc(),i=ve(!1),o=(l,u=!1)=>{const c=l[0],f=new FileReader;f.addEventListener("load",()=>{try{const d=JSON.parse(IH(f.result));u?(e.updateSlideIndex(0),e.setSlides(d)):r.value?e.setSlides(d):n(d)}catch{gn.error("无法正确读取 / 解析该文件")}}),f.readAsText(c)},a=l=>{let u=[0,0],c=[0,0];!l.isFlipV&&!l.isFlipH?(u=[0,0],c=[l.width,l.height]):l.isFlipV&&l.isFlipH?(u=[l.width,l.height],c=[0,0]):l.isFlipV&&!l.isFlipH?(u=[0,l.height],c=[l.width,0]):(u=[l.width,0],c=[0,l.height]);const f={type:"line",id:on(10),width:l.borderWidth||1,left:l.left,top:l.top,start:u,end:c,style:l.borderType,color:l.borderColor,points:["",/straightConnector/.test(l.shapType)?"arrow":""]};return/bentConnector/.test(l.shapType)&&(f.broken2=[Math.abs(u[0]-c[0])/2,Math.abs(u[1]-c[1])/2]),f};return{importSpecificFile:o,importPPTXFile:l=>{const u=l[0];if(!u)return;i.value=!0;const c=[];for(const d of ZO)c.push(...d.children);const f=new FileReader;f.onload=async d=>{const h=await PRe(d.target.result),p=96/72,v=h.size.width;e.setViewportSize(v*p);const g=[];for(const m of h.slides){const{type:y,value:R}=m.fill;let A;y==="image"?A={type:"image",image:{src:R.picBase64,size:"cover"}}:y==="gradient"?A={type:"gradient",gradient:{type:"linear",colors:R.colors.map(L=>({...L,pos:parseInt(L.pos)})),rotate:R.rot}}:A={type:"solid",color:R};const x={id:on(10),elements:[],background:A,remark:m.note||""},S=L=>{for(const w of L){const M=w.width||1,_=w.height||1,P=w.left,k=w.top;if(w.width=w.width*p,w.height=w.height*p,w.left=w.left*p,w.top=w.top*p,w.type==="text"){const F={type:"text",id:on(10),width:w.width,height:w.height,left:w.left,top:w.top,rotate:w.rotate,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,content:aX(w.content,p),lineHeight:1,outline:{color:w.borderColor,width:w.borderWidth,style:w.borderType},fill:w.fillColor,vertical:w.isVertical};w.shadow&&(F.shadow={h:w.shadow.h*p,v:w.shadow.v*p,blur:w.shadow.blur*p,color:w.shadow.color}),x.elements.push(F)}else if(w.type==="image")x.elements.push({type:"image",id:on(10),src:w.src,width:w.width,height:w.height,left:w.left,top:w.top,fixedRatio:!0,rotate:w.rotate,flipH:w.isFlipH,flipV:w.isFlipV});else if(w.type==="audio")x.elements.push({type:"audio",id:on(10),src:w.blob,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,fixedRatio:!1,color:t.value.themeColor,loop:!1,autoplay:!1});else if(w.type==="video")x.elements.push({type:"video",id:on(10),src:w.blob||w.src,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,autoplay:!1});else if(w.type==="shape")if(w.shapType==="line"||/Connector/.test(w.shapType)){const F=a(w);x.elements.push(F)}else{const F=c.find(I=>I.pptxShapeType===w.shapType),C={mid:"middle",down:"bottom",up:"top"},N={type:"shape",id:on(10),width:w.width,height:w.height,left:w.left,top:w.top,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:w.fillColor||"none",fixedRatio:!1,rotate:w.rotate,outline:{color:w.borderColor,width:w.borderWidth,style:w.borderType},text:{content:aX(w.content,p),defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:C[w.vAlign]||"middle"},flipH:w.isFlipH,flipV:w.isFlipV};if(w.shadow&&(N.shadow={h:w.shadow.h*p,v:w.shadow.v*p,blur:w.shadow.blur*p,color:w.shadow.color}),F&&(N.path=F.path,N.viewBox=F.viewBox,F.pathFormula)){N.pathFormula=F.pathFormula,N.viewBox=[w.width,w.height];const I=u0[F.pathFormula];"editable"in I&&I.editable?(N.path=I.formula(w.width,w.height,I.defaultValue),N.keypoints=I.defaultValue):N.path=I.formula(w.width,w.height)}if(w.shapType==="custom")if(w.path.indexOf("NaN")!==-1)N.path="";else{N.special=!0,N.path=w.path;const{maxX:I,maxY:W}=vbe(N.path);N.viewBox=[I||M,W||_]}N.path&&x.elements.push(N)}else if(w.type==="table"){const F=w.data.length,C=w.data[0].length,N={fontname:t.value.fontName,color:t.value.fontColor},I=[];for(let D=0;D`坐标${Y+1}`),C=["X","Y"],N=w.data;else{const D=w.data;F=Object.values(D[0].xlabels),C=D.map(Y=>Y.key),N=D.map(Y=>Y.values.map(re=>re.y))}const I={};let W="bar";switch(w.chartType){case"barChart":case"bar3DChart":W="bar",w.barDir==="bar"&&(W="column"),(w.grouping==="stacked"||w.grouping==="percentStacked")&&(I.stack=!0);break;case"lineChart":case"line3DChart":(w.grouping==="stacked"||w.grouping==="percentStacked")&&(I.stack=!0),W="line";break;case"areaChart":case"area3DChart":(w.grouping==="stacked"||w.grouping==="percentStacked")&&(I.stack=!0),W="area";break;case"scatterChart":case"bubbleChart":W="scatter";break;case"pieChart":case"pie3DChart":W="pie";break;case"radarChart":W="radar";break;case"doughnutChart":W="ring";break}x.elements.push({type:"chart",id:on(10),chartType:W,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,themeColors:[t.value.themeColor],textColor:t.value.fontColor,data:{labels:F,legends:C,series:N},options:I})}else if(w.type==="group"||w.type==="diagram"){const F=w.elements.map(C=>({...C,left:C.left+P,top:C.top+k}));S(F)}}};S(m.elements),g.push(x)}e.updateSlideIndex(0),e.setSlides(g),i.value=!1},f.readAsArrayBuffer(u)},exporting:i}},mbe={class:"hotkey-doc"},ybe={class:"title"},Abe={class:"label"},Rbe={class:"value"},bbe=Xe({__name:"HotkeyDoc",setup(e){return(t,n)=>(U(),te("div",mbe,[(U(!0),te(We,null,tt(z(o2e),r=>(U(),te(We,{key:r.type},[V("div",ybe,vt(r.type),1),(U(!0),te(We,null,tt(r.children,i=>(U(),te("div",{class:"hotkey-item",key:i.label},[V("div",Abe,vt(i.label),1),V("div",Rbe,vt(i.value),1)]))),128))],64))),128))]))}}),xbe=Be(bbe,[["__scopeId","data-v-0762be00"]]),Sbe=["accept"],wbe=Xe({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=ve(),i=()=>{r.value&&(r.value.value="",r.value.click())},o=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(U(),te("div",{class:"file-input",onClick:s[1]||(s[1]=l=>i())},[ar(a.$slots,"default",{},void 0,!0),V("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:a.accept,onChange:s[0]||(s[0]=l=>o(l))},null,40,Sbe)]))}}),$h=Be(wbe,[["__scopeId","data-v-1bd53d05"]]),Mbe=e=>(en("data-v-cb40f98b"),e=e(),tn(),e),Lbe={class:"spin"},Tbe=Mbe(()=>V("div",{class:"spinner"},null,-1)),_be={class:"text"},Obe=Xe({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},tip:{default:""}},setup(e){return(t,n)=>t.loading?(U(),te("div",{key:0,class:$e(["fullscreen-spin",{mask:t.mask}])},[V("div",Lbe,[Tbe,V("div",_be,vt(t.tip),1)])],2)):Ze("",!0)}}),ty=Be(Obe,[["__scopeId","data-v-cb40f98b"]]),kbe={class:"header"},Pbe=Xe({__name:"Drawer",props:{visible:{type:Boolean},width:{default:320},contentStyle:{},placement:{default:"right"}},emits:["update:visible"],setup(e,{emit:t}){const n=e,r=t,i=ve(!1),o=we(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const l=Se("IconClose");return U(),_e(cO,{to:"body"},[O(Yh,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=u=>i.value=!1),onBeforeEnter:s[2]||(s[2]=u=>i.value=!0)},{default:ie(()=>[ze(V("div",{class:$e(["drawer",a.placement]),style:Le({width:n.width+"px"})},[V("div",kbe,[ar(a.$slots,"title",{},void 0,!0),V("span",{class:"close-btn",onClick:s[0]||(s[0]=u=>r("update:visible",!1))},[O(l)])]),i.value?(U(),te("div",{key:0,class:"content",style:Le(o.value)},[ar(a.$slots,"default",{},void 0,!0)],4)):Ze("",!0)],6),[[uc,a.visible]])]),_:3},8,["name"])])}}}),Cbe=Be(Pbe,[["__scopeId","data-v-46f39759"]]),Ibe={class:"prefix"},Nbe=["disabled","value","placeholder","maxlength"],Fbe={class:"suffix"},Ebe=Xe({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},simple:{type:Boolean,default:!1},maxlength:{}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,i=ve(!1),o=c=>{r("update:value",c.target.value)},a=c=>{i.value=!1,r("blur",c)},s=c=>{i.value=!0,r("focus",c)},l=ve();return t({focus:()=>{l.value&&l.value.focus()}}),(c,f)=>(U(),te("div",{class:$e(["input",{disabled:c.disabled,focused:i.value,simple:c.simple}])},[V("span",Ibe,[ar(c.$slots,"prefix",{},void 0,!0)]),V("input",{type:"text",ref_key:"inputRef",ref:l,disabled:c.disabled,value:c.value,placeholder:c.placeholder,maxlength:c.maxlength,onInput:f[0]||(f[0]=d=>o(d)),onFocus:f[1]||(f[1]=d=>s(d)),onBlur:f[2]||(f[2]=d=>a(d)),onChange:f[3]||(f[3]=d=>r("change",d)),onKeydown:f[4]||(f[4]=du(d=>r("enter",d),["enter"]))},null,40,Nbe),V("span",Fbe,[ar(c.$slots,"suffix",{},void 0,!0)])],2))}}),fc=Be(Ebe,[["__scopeId","data-v-4c62eb45"]]);var ia="top",_s="bottom",Os="right",oa="left",ck="auto",ny=[ia,_s,Os,oa],bv="start",n2="end",Xbe="clippingParents",BG="viewport",_1="popper",Wbe="reference",sX=ny.reduce(function(e,t){return e.concat([t+"-"+bv,t+"-"+n2])},[]),YG=[].concat(ny,[ck]).reduce(function(e,t){return e.concat([t,t+"-"+bv,t+"-"+n2])},[]),Vbe="beforeRead",Dbe="read",Ube="afterRead",Bbe="beforeMain",Ybe="main",Zbe="afterMain",Qbe="beforeWrite",Hbe="write",Kbe="afterWrite",Gbe=[Vbe,Dbe,Ube,Bbe,Ybe,Zbe,Qbe,Hbe,Kbe];function hu(e){return e?(e.nodeName||"").toLowerCase():null}function Za(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jh(e){var t=Za(e).Element;return e instanceof t||e instanceof Element}function Ss(e){var t=Za(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function fk(e){if(typeof ShadowRoot>"u")return!1;var t=Za(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zbe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Ss(o)||!hu(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Jbe(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 i=t.elements[r],o=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},{});!Ss(i)||!hu(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const ZG={name:"applyStyles",enabled:!0,phase:"write",fn:zbe,effect:Jbe,requires:["computeStyles"]};function au(e){return e.split("-")[0]}var Ch=Math.max,Ex=Math.min,xv=Math.round;function e6(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function QG(){return!/^((?!chrome|android).)*safari/i.test(e6())}function Sv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ss(e)&&(i=e.offsetWidth>0&&xv(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&xv(r.height)/e.offsetHeight||1);var a=jh(e)?Za(e):window,s=a.visualViewport,l=!QG()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function dk(e){var t=Sv(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 HG(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&fk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function dc(e){return Za(e).getComputedStyle(e)}function $be(e){return["table","td","th"].indexOf(hu(e))>=0}function cd(e){return((jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function v3(e){return hu(e)==="html"?e:e.assignedSlot||e.parentNode||(fk(e)?e.host:null)||cd(e)}function lX(e){return!Ss(e)||dc(e).position==="fixed"?null:e.offsetParent}function jbe(e){var t=/firefox/i.test(e6()),n=/Trident/i.test(e6());if(n&&Ss(e)){var r=dc(e);if(r.position==="fixed")return null}var i=v3(e);for(fk(i)&&(i=i.host);Ss(i)&&["html","body"].indexOf(hu(i))<0;){var o=dc(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ry(e){for(var t=Za(e),n=lX(e);n&&$be(n)&&dc(n).position==="static";)n=lX(n);return n&&(hu(n)==="html"||hu(n)==="body"&&dc(n).position==="static")?t:n||jbe(e)||t}function hk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sm(e,t,n){return Ch(e,Ex(t,n))}function qbe(e,t,n){var r=sm(e,t,n);return r>n?n:r}function KG(){return{top:0,right:0,bottom:0,left:0}}function GG(e){return Object.assign({},KG(),e)}function zG(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var exe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,GG(typeof t!="number"?t:zG(t,ny))};function txe(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=au(n.placement),l=hk(s),u=[oa,Os].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!a)){var f=exe(i.padding,n),d=dk(o),h=l==="y"?ia:oa,p=l==="y"?_s:Os,v=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=ry(o),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,R=v/2-g/2,A=f[h],x=y-d[c]-f[p],S=y/2-d[c]/2+R,L=sm(A,S,x),w=l;n.modifiersData[r]=(t={},t[w]=L,t.centerOffset=L-S,t)}}function nxe(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||HG(t.elements.popper,i)&&(t.elements.arrow=i))}const rxe={name:"arrow",enabled:!0,phase:"main",fn:txe,effect:nxe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wv(e){return e.split("-")[1]}var ixe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oxe(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:xv(n*i)/i||0,y:xv(r*i)/i||0}}function uX(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,v=p===void 0?0:p,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),R=oa,A=ia,x=window;if(u){var S=ry(n),L="clientHeight",w="clientWidth";if(S===Za(n)&&(S=cd(n),dc(S).position!=="static"&&s==="absolute"&&(L="scrollHeight",w="scrollWidth")),S=S,i===ia||(i===oa||i===Os)&&o===n2){A=_s;var M=f&&S===x&&x.visualViewport?x.visualViewport.height:S[L];v-=M-r.height,v*=l?1:-1}if(i===oa||(i===ia||i===_s)&&o===n2){R=Os;var _=f&&S===x&&x.visualViewport?x.visualViewport.width:S[w];h-=_-r.width,h*=l?1:-1}}var P=Object.assign({position:s},u&&ixe),k=c===!0?oxe({x:h,y:v},Za(n)):{x:h,y:v};if(h=k.x,v=k.y,l){var F;return Object.assign({},P,(F={},F[A]=y?"0":"",F[R]=m?"0":"",F.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",F))}return Object.assign({},P,(t={},t[A]=y?v+"px":"",t[R]=m?h+"px":"",t.transform="",t))}function axe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:au(t.placement),variation:wv(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,uX(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,uX(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})}const sxe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:axe,data:{}};var ZA={passive:!0};function lxe(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Za(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,ZA)}),s&&l.addEventListener("resize",n.update,ZA),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ZA)}),s&&l.removeEventListener("resize",n.update,ZA)}}const uxe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lxe,data:{}};var cxe={left:"right",right:"left",bottom:"top",top:"bottom"};function yb(e){return e.replace(/left|right|bottom|top/g,function(t){return cxe[t]})}var fxe={start:"end",end:"start"};function cX(e){return e.replace(/start|end/g,function(t){return fxe[t]})}function pk(e){var t=Za(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function vk(e){return Sv(cd(e)).left+pk(e).scrollLeft}function dxe(e,t){var n=Za(e),r=cd(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=QG();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+vk(e),y:l}}function hxe(e){var t,n=cd(e),r=pk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ch(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ch(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+vk(e),l=-r.scrollTop;return dc(i||n).direction==="rtl"&&(s+=Ch(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function gk(e){var t=dc(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function JG(e){return["html","body","#document"].indexOf(hu(e))>=0?e.ownerDocument.body:Ss(e)&&gk(e)?e:JG(v3(e))}function lm(e,t){var n;t===void 0&&(t=[]);var r=JG(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Za(r),a=i?[o].concat(o.visualViewport||[],gk(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(lm(v3(a)))}function t6(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pxe(e,t){var n=Sv(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function fX(e,t,n){return t===BG?t6(dxe(e,n)):jh(t)?pxe(t,n):t6(hxe(cd(e)))}function vxe(e){var t=lm(v3(e)),n=["absolute","fixed"].indexOf(dc(e).position)>=0,r=n&&Ss(e)?ry(e):e;return jh(r)?t.filter(function(i){return jh(i)&&HG(i,r)&&hu(i)!=="body"}):[]}function gxe(e,t,n,r){var i=t==="clippingParents"?vxe(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var c=fX(e,u,r);return l.top=Ch(c.top,l.top),l.right=Ex(c.right,l.right),l.bottom=Ex(c.bottom,l.bottom),l.left=Ch(c.left,l.left),l},fX(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $G(e){var t=e.reference,n=e.element,r=e.placement,i=r?au(r):null,o=r?wv(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case ia:l={x:a,y:t.y-n.height};break;case _s:l={x:a,y:t.y+t.height};break;case Os:l={x:t.x+t.width,y:s};break;case oa:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?hk(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case bv:l[u]=l[u]-(t[c]/2-n[c]/2);break;case n2:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function r2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?Xbe:s,u=n.rootBoundary,c=u===void 0?BG:u,f=n.elementContext,d=f===void 0?_1:f,h=n.altBoundary,p=h===void 0?!1:h,v=n.padding,g=v===void 0?0:v,m=GG(typeof g!="number"?g:zG(g,ny)),y=d===_1?Wbe:_1,R=e.rects.popper,A=e.elements[p?y:d],x=gxe(jh(A)?A:A.contextElement||cd(e.elements.popper),l,c,a),S=Sv(e.elements.reference),L=$G({reference:S,element:R,strategy:"absolute",placement:i}),w=t6(Object.assign({},R,L)),M=d===_1?w:S,_={top:x.top-M.top+m.top,bottom:M.bottom-x.bottom+m.bottom,left:x.left-M.left+m.left,right:M.right-x.right+m.right},P=e.modifiersData.offset;if(d===_1&&P){var k=P[i];Object.keys(_).forEach(function(F){var C=[Os,_s].indexOf(F)>=0?1:-1,N=[ia,_s].indexOf(F)>=0?"y":"x";_[F]+=k[N]*C})}return _}function mxe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?YG:l,c=wv(r),f=c?s?sX:sX.filter(function(p){return wv(p)===c}):ny,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,v){return p[v]=r2(e,{placement:v,boundary:i,rootBoundary:o,padding:a})[au(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function yxe(e){if(au(e)===ck)return[];var t=yb(e);return[cX(e),t,cX(t)]}function Axe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,v=n.allowedAutoPlacements,g=t.options.placement,m=au(g),y=m===g,R=l||(y||!p?[yb(g)]:yxe(g)),A=[g].concat(R).reduce(function(G,ee){return G.concat(au(ee)===ck?mxe(t,{placement:ee,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):ee)},[]),x=t.rects.reference,S=t.rects.popper,L=new Map,w=!0,M=A[0],_=0;_=0,N=C?"width":"height",I=r2(t,{placement:P,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),W=C?F?Os:oa:F?_s:ia;x[N]>S[N]&&(W=yb(W));var D=yb(W),Y=[];if(o&&Y.push(I[k]<=0),s&&Y.push(I[W]<=0,I[D]<=0),Y.every(function(G){return G})){M=P,w=!1;break}L.set(P,Y)}if(w)for(var re=p?3:1,B=function(ee){var $=A.find(function(de){var K=L.get(de);if(K)return K.slice(0,ee).every(function(Ae){return Ae})});if($)return M=$,"break"},Z=re;Z>0;Z--){var Q=B(Z);if(Q==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const Rxe={name:"flip",enabled:!0,phase:"main",fn:Axe,requiresIfExists:["offset"],data:{_skip:!1}};function dX(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 hX(e){return[ia,Os,_s,oa].some(function(t){return e[t]>=0})}function bxe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=r2(t,{elementContext:"reference"}),s=r2(t,{altBoundary:!0}),l=dX(a,r),u=dX(s,i,o),c=hX(l),f=hX(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const xxe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bxe};function Sxe(e,t,n){var r=au(e),i=[oa,ia].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[oa,Os].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function wxe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=YG.reduce(function(c,f){return c[f]=Sxe(f,t.rects,o),c},{}),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}const Mxe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wxe};function Lxe(e){var t=e.state,n=e.name;t.modifiersData[n]=$G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Txe={name:"popperOffsets",enabled:!0,phase:"read",fn:Lxe,data:{}};function _xe(e){return e==="x"?"y":"x"}function Oxe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,v=p===void 0?0:p,g=r2(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=au(t.placement),y=wv(t.placement),R=!y,A=hk(m),x=_xe(A),S=t.modifiersData.popperOffsets,L=t.rects.reference,w=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,_=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(S){if(o){var F,C=A==="y"?ia:oa,N=A==="y"?_s:Os,I=A==="y"?"height":"width",W=S[A],D=W+g[C],Y=W-g[N],re=h?-w[I]/2:0,B=y===bv?L[I]:w[I],Z=y===bv?-w[I]:-L[I],Q=t.elements.arrow,G=h&&Q?dk(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:KG(),$=ee[C],de=ee[N],K=sm(0,L[I],G[I]),Ae=R?L[I]/2-re-K-$-_.mainAxis:B-K-$-_.mainAxis,ce=R?-L[I]/2+re+K+de+_.mainAxis:Z+K+de+_.mainAxis,fe=t.elements.arrow&&ry(t.elements.arrow),le=fe?A==="y"?fe.clientTop||0:fe.clientLeft||0:0,j=(F=P==null?void 0:P[A])!=null?F:0,X=W+Ae-j-le,J=W+ce-j,se=sm(h?Ex(D,X):D,W,h?Ch(Y,J):Y);S[A]=se,k[A]=se-W}if(s){var q,ne=A==="x"?ia:oa,oe=A==="x"?_s:Os,he=S[x],ue=x==="y"?"height":"width",ge=he+g[ne],Re=he-g[oe],Ee=[ia,oa].indexOf(m)!==-1,Ne=(q=P==null?void 0:P[x])!=null?q:0,He=Ee?ge:he-L[ue]-w[ue]-Ne+_.altAxis,Ve=Ee?he+L[ue]+w[ue]-Ne-_.altAxis:Re,xe=h&&Ee?qbe(He,he,Ve):sm(h?He:ge,he,h?Ve:Re);S[x]=xe,k[x]=xe-he}t.modifiersData[r]=k}}const kxe={name:"preventOverflow",enabled:!0,phase:"main",fn:Oxe,requiresIfExists:["offset"]};function Pxe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Cxe(e){return e===Za(e)||!Ss(e)?pk(e):Pxe(e)}function Ixe(e){var t=e.getBoundingClientRect(),n=xv(t.width)/e.offsetWidth||1,r=xv(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Nxe(e,t,n){n===void 0&&(n=!1);var r=Ss(t),i=Ss(t)&&Ixe(t),o=cd(t),a=Sv(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((hu(t)!=="body"||gk(o))&&(s=Cxe(t)),Ss(t)?(l=Sv(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=vk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Fxe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Exe(e){var t=Fxe(e);return Gbe.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Xxe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Wxe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var pX={placement:"bottom",modifiers:[],strategy:"absolute"};function vX(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function nz(e,t){return typeof e=="function"?e.apply(void 0,t):e}function gX(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Zxe(e){return e.split(/\s+/).filter(Boolean)}function Ap(e){return[].concat(e)}function mX(e,t){e.indexOf(t)===-1&&e.push(t)}function Qxe(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Hxe(e){return e.split("-")[0]}function Xx(e){return[].slice.call(e)}function yX(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function um(){return document.createElement("div")}function g3(e){return["Element","Fragment"].some(function(t){return mk(e,t)})}function Kxe(e){return mk(e,"NodeList")}function Gxe(e){return mk(e,"MouseEvent")}function zxe(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Jxe(e){return g3(e)?[e]:Kxe(e)?Xx(e):Array.isArray(e)?e:Xx(document.querySelectorAll(e))}function L5(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function AX(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function $xe(e){var t,n=Ap(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function jxe(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,u=Hxe(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,d=u==="top"?c.bottom.y:0,h=u==="right"?c.left.x:0,p=u==="left"?c.right.x:0,v=o.top-r+f>l,g=r-o.bottom-d>l,m=o.left-n+h>l,y=n-o.right-p>l;return v||g||m||y})}function T5(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function RX(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Zl={isTouch:!1},bX=0;function qxe(){Zl.isTouch||(Zl.isTouch=!0,window.performance&&document.addEventListener("mousemove",rz))}function rz(){var e=performance.now();e-bX<20&&(Zl.isTouch=!1,document.removeEventListener("mousemove",rz)),bX=e}function eSe(){var e=document.activeElement;if(zxe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function tSe(){document.addEventListener("touchstart",qxe,rh),window.addEventListener("blur",eSe)}var nSe=typeof window<"u"&&typeof document<"u",rSe=nSe?!!window.msCrypto:!1,iSe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},oSe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ll=Object.assign({appendTo:tz,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},iSe,oSe),aSe=Object.keys(ll),sSe=function(t){var n=Object.keys(t);n.forEach(function(r){ll[r]=t[r]})};function iz(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=ll[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function lSe(e,t){var n=t?Object.keys(iz(Object.assign({},ll,{plugins:t}))):aSe,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function xX(e,t){var n=Object.assign({},t,{content:nz(t.content,[e])},t.ignoreAttributes?{}:lSe(e,t.plugins));return n.aria=Object.assign({},ll.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var uSe=function(){return"innerHTML"};function n6(e,t){e[uSe()]=t}function SX(e){var t=um();return e===!0?t.className=qG:(t.className=ez,g3(e)?t.appendChild(e):n6(t,e)),t}function wX(e,t){g3(t.content)?(n6(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?n6(e,t.content):e.textContent=t.content)}function r6(e){var t=e.firstElementChild,n=Xx(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(jG)}),arrow:n.find(function(r){return r.classList.contains(qG)||r.classList.contains(ez)}),backdrop:n.find(function(r){return r.classList.contains(Yxe)})}}function oz(e){var t=um(),n=um();n.className=Bxe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=um();r.className=jG,r.setAttribute("data-state","hidden"),wX(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=r6(t),l=s.box,u=s.content,c=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&wX(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(l.removeChild(c),l.appendChild(SX(a.arrow))):l.appendChild(SX(a.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:i}}oz.$$tippy=!0;var cSe=1,QA=[],_5=[];function fSe(e,t){var n=xX(e,Object.assign({},ll,iz(yX(t)))),r,i,o,a=!1,s=!1,l=!1,u=!1,c,f,d,h=[],p=gX(X,n.interactiveDebounce),v,g=cSe++,m=null,y=Qxe(n.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},A={id:g,reference:e,popper:um(),popperInstance:m,props:n,state:R,plugins:y,clearDelayTimeouts:He,setProps:Ve,setContent:xe,show:ye,hide:Me,hideWithInteractivity:Ce,enable:Ee,disable:Ne,unmount:Ye,destroy:ot};if(!n.render)return A;var x=n.render(A),S=x.popper,L=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+A.id,A.popper=S,e._tippy=A,S._tippy=A;var w=y.map(function(ke){return ke.fn(A)}),M=e.hasAttribute("aria-expanded");return fe(),re(),W(),D("onCreate",[A]),n.showOnCreate&&ge(),S.addEventListener("mouseenter",function(){A.props.interactive&&A.state.isVisible&&A.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){A.props.interactive&&A.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",p)}),A;function _(){var ke=A.props.touch;return Array.isArray(ke)?ke:[ke,0]}function P(){return _()[0]==="hold"}function k(){var ke;return!!((ke=A.props.render)!=null&&ke.$$tippy)}function F(){return v||e}function C(){var ke=F().parentNode;return ke?$xe(ke):document}function N(){return r6(S)}function I(ke){return A.state.isMounted&&!A.state.isVisible||Zl.isTouch||c&&c.type==="focus"?0:M5(A.props.delay,ke?0:1,ll.delay)}function W(ke){ke===void 0&&(ke=!1),S.style.pointerEvents=A.props.interactive&&!ke?"":"none",S.style.zIndex=""+A.props.zIndex}function D(ke,Ge,rt){if(rt===void 0&&(rt=!0),w.forEach(function(dt){dt[ke]&&dt[ke].apply(dt,Ge)}),rt){var bt;(bt=A.props)[ke].apply(bt,Ge)}}function Y(){var ke=A.props.aria;if(ke.content){var Ge="aria-"+ke.content,rt=S.id,bt=Ap(A.props.triggerTarget||e);bt.forEach(function(dt){var gt=dt.getAttribute(Ge);if(A.state.isVisible)dt.setAttribute(Ge,gt?gt+" "+rt:rt);else{var wt=gt&>.replace(rt,"").trim();wt?dt.setAttribute(Ge,wt):dt.removeAttribute(Ge)}})}}function re(){if(!(M||!A.props.aria.expanded)){var ke=Ap(A.props.triggerTarget||e);ke.forEach(function(Ge){A.props.interactive?Ge.setAttribute("aria-expanded",A.state.isVisible&&Ge===F()?"true":"false"):Ge.removeAttribute("aria-expanded")})}}function B(){C().removeEventListener("mousemove",p),QA=QA.filter(function(ke){return ke!==p})}function Z(ke){if(!(Zl.isTouch&&(l||ke.type==="mousedown"))){var Ge=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(A.props.interactive&&RX(S,Ge))){if(Ap(A.props.triggerTarget||e).some(function(rt){return RX(rt,Ge)})){if(Zl.isTouch||A.state.isVisible&&A.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[A,ke]);A.props.hideOnClick===!0&&(A.clearDelayTimeouts(),A.hide(),s=!0,setTimeout(function(){s=!1}),A.state.isMounted||$())}}}function Q(){l=!0}function G(){l=!1}function ee(){var ke=C();ke.addEventListener("mousedown",Z,!0),ke.addEventListener("touchend",Z,rh),ke.addEventListener("touchstart",G,rh),ke.addEventListener("touchmove",Q,rh)}function $(){var ke=C();ke.removeEventListener("mousedown",Z,!0),ke.removeEventListener("touchend",Z,rh),ke.removeEventListener("touchstart",G,rh),ke.removeEventListener("touchmove",Q,rh)}function de(ke,Ge){Ae(ke,function(){!A.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&Ge()})}function K(ke,Ge){Ae(ke,Ge)}function Ae(ke,Ge){var rt=N().box;function bt(dt){dt.target===rt&&(T5(rt,"remove",bt),Ge())}if(ke===0)return Ge();T5(rt,"remove",f),T5(rt,"add",bt),f=bt}function ce(ke,Ge,rt){rt===void 0&&(rt=!1);var bt=Ap(A.props.triggerTarget||e);bt.forEach(function(dt){dt.addEventListener(ke,Ge,rt),h.push({node:dt,eventType:ke,handler:Ge,options:rt})})}function fe(){P()&&(ce("touchstart",j,{passive:!0}),ce("touchend",J,{passive:!0})),Zxe(A.props.trigger).forEach(function(ke){if(ke!=="manual")switch(ce(ke,j),ke){case"mouseenter":ce("mouseleave",J);break;case"focus":ce(rSe?"focusout":"blur",se);break;case"focusin":ce("focusout",se);break}})}function le(){h.forEach(function(ke){var Ge=ke.node,rt=ke.eventType,bt=ke.handler,dt=ke.options;Ge.removeEventListener(rt,bt,dt)}),h=[]}function j(ke){var Ge,rt=!1;if(!(!A.state.isEnabled||q(ke)||s)){var bt=((Ge=c)==null?void 0:Ge.type)==="focus";c=ke,v=ke.currentTarget,re(),!A.state.isVisible&&Gxe(ke)&&QA.forEach(function(dt){return dt(ke)}),ke.type==="click"&&(A.props.trigger.indexOf("mouseenter")<0||a)&&A.props.hideOnClick!==!1&&A.state.isVisible?rt=!0:ge(ke),ke.type==="click"&&(a=!rt),rt&&!bt&&Re(ke)}}function X(ke){var Ge=ke.target,rt=F().contains(Ge)||S.contains(Ge);if(!(ke.type==="mousemove"&&rt)){var bt=ue().concat(S).map(function(dt){var gt,wt=dt._tippy,Dt=(gt=wt.popperInstance)==null?void 0:gt.state;return Dt?{popperRect:dt.getBoundingClientRect(),popperState:Dt,props:n}:null}).filter(Boolean);jxe(bt,ke)&&(B(),Re(ke))}}function J(ke){var Ge=q(ke)||A.props.trigger.indexOf("click")>=0&&a;if(!Ge){if(A.props.interactive){A.hideWithInteractivity(ke);return}Re(ke)}}function se(ke){A.props.trigger.indexOf("focusin")<0&&ke.target!==F()||A.props.interactive&&ke.relatedTarget&&S.contains(ke.relatedTarget)||Re(ke)}function q(ke){return Zl.isTouch?P()!==ke.type.indexOf("touch")>=0:!1}function ne(){oe();var ke=A.props,Ge=ke.popperOptions,rt=ke.placement,bt=ke.offset,dt=ke.getReferenceClientRect,gt=ke.moveTransition,wt=k()?r6(S).arrow:null,Dt=dt?{getBoundingClientRect:dt,contextElement:dt.contextElement||F()}:e,Jt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(xl){var Ji=xl.state;if(k()){var y0=N(),vd=y0.box;["placement","reference-hidden","escaped"].forEach(function(wu){wu==="placement"?vd.setAttribute("data-placement",Ji.placement):Ji.attributes.popper["data-popper-"+wu]?vd.setAttribute("data-"+wu,""):vd.removeAttribute("data-"+wu)}),Ji.attributes.popper={}}}},Zn=[{name:"offset",options:{offset:bt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!gt}},Jt];k()&&wt&&Zn.push({name:"arrow",options:{element:wt,padding:3}}),Zn.push.apply(Zn,(Ge==null?void 0:Ge.modifiers)||[]),A.popperInstance=Uxe(Dt,S,Object.assign({},Ge,{placement:rt,onFirstUpdate:d,modifiers:Zn}))}function oe(){A.popperInstance&&(A.popperInstance.destroy(),A.popperInstance=null)}function he(){var ke=A.props.appendTo,Ge,rt=F();A.props.interactive&&ke===tz||ke==="parent"?Ge=rt.parentNode:Ge=nz(ke,[rt]),Ge.contains(S)||Ge.appendChild(S),A.state.isMounted=!0,ne()}function ue(){return Xx(S.querySelectorAll("[data-tippy-root]"))}function ge(ke){A.clearDelayTimeouts(),ke&&D("onTrigger",[A,ke]),ee();var Ge=I(!0),rt=_(),bt=rt[0],dt=rt[1];Zl.isTouch&&bt==="hold"&&dt&&(Ge=dt),Ge?r=setTimeout(function(){A.show()},Ge):A.show()}function Re(ke){if(A.clearDelayTimeouts(),D("onUntrigger",[A,ke]),!A.state.isVisible){$();return}if(!(A.props.trigger.indexOf("mouseenter")>=0&&A.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&a)){var Ge=I(!1);Ge?i=setTimeout(function(){A.state.isVisible&&A.hide()},Ge):o=requestAnimationFrame(function(){A.hide()})}}function Ee(){A.state.isEnabled=!0}function Ne(){A.hide(),A.state.isEnabled=!1}function He(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function Ve(ke){if(!A.state.isDestroyed){D("onBeforeUpdate",[A,ke]),le();var Ge=A.props,rt=xX(e,Object.assign({},Ge,yX(ke),{ignoreAttributes:!0}));A.props=rt,fe(),Ge.interactiveDebounce!==rt.interactiveDebounce&&(B(),p=gX(X,rt.interactiveDebounce)),Ge.triggerTarget&&!rt.triggerTarget?Ap(Ge.triggerTarget).forEach(function(bt){bt.removeAttribute("aria-expanded")}):rt.triggerTarget&&e.removeAttribute("aria-expanded"),re(),W(),L&&L(Ge,rt),A.popperInstance&&(ne(),ue().forEach(function(bt){requestAnimationFrame(bt._tippy.popperInstance.forceUpdate)})),D("onAfterUpdate",[A,ke])}}function xe(ke){A.setProps({content:ke})}function ye(){var ke=A.state.isVisible,Ge=A.state.isDestroyed,rt=!A.state.isEnabled,bt=Zl.isTouch&&!A.props.touch,dt=M5(A.props.duration,0,ll.duration);if(!(ke||Ge||rt||bt)&&!F().hasAttribute("disabled")&&(D("onShow",[A],!1),A.props.onShow(A)!==!1)){if(A.state.isVisible=!0,k()&&(S.style.visibility="visible"),W(),ee(),A.state.isMounted||(S.style.transition="none"),k()){var gt=N(),wt=gt.box,Dt=gt.content;L5([wt,Dt],0)}d=function(){var Zn;if(!(!A.state.isVisible||u)){if(u=!0,S.offsetHeight,S.style.transition=A.props.moveTransition,k()&&A.props.animation){var Fs=N(),xl=Fs.box,Ji=Fs.content;L5([xl,Ji],dt),AX([xl,Ji],"visible")}Y(),re(),mX(_5,A),(Zn=A.popperInstance)==null||Zn.forceUpdate(),D("onMount",[A]),A.props.animation&&k()&&K(dt,function(){A.state.isShown=!0,D("onShown",[A])})}},he()}}function Me(){var ke=!A.state.isVisible,Ge=A.state.isDestroyed,rt=!A.state.isEnabled,bt=M5(A.props.duration,1,ll.duration);if(!(ke||Ge||rt)&&(D("onHide",[A],!1),A.props.onHide(A)!==!1)){if(A.state.isVisible=!1,A.state.isShown=!1,u=!1,a=!1,k()&&(S.style.visibility="hidden"),B(),$(),W(!0),k()){var dt=N(),gt=dt.box,wt=dt.content;A.props.animation&&(L5([gt,wt],bt),AX([gt,wt],"hidden"))}Y(),re(),A.props.animation?k()&&de(bt,A.unmount):A.unmount()}}function Ce(ke){C().addEventListener("mousemove",p),mX(QA,p),p(ke)}function Ye(){A.state.isVisible&&A.hide(),A.state.isMounted&&(oe(),ue().forEach(function(ke){ke._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),_5=_5.filter(function(ke){return ke!==A}),A.state.isMounted=!1,D("onHidden",[A]))}function ot(){A.state.isDestroyed||(A.clearDelayTimeouts(),A.unmount(),le(),delete e._tippy,A.state.isDestroyed=!0,D("onDestroy",[A]))}}function h0(e,t){t===void 0&&(t={});var n=ll.plugins.concat(t.plugins||[]);tSe();var r=Object.assign({},t,{plugins:n}),i=Jxe(e),o=i.reduce(function(a,s){var l=s&&fSe(s,r);return l&&a.push(l),a},[]);return g3(e)?o[0]:o}h0.defaultProps=ll;h0.setDefaultProps=sSe;h0.currentInput=Zl;Object.assign({},ZG,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});h0.setDefaultProps({render:oz});const dSe=Xe({__name:"Popover",props:{value:{type:Boolean,default:!1},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{},contentStyle:{},center:{type:Boolean,default:!1},offset:{default:8}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=ve(),o=ve(),a=ve(),s=ve(!1),l=we(()=>n.contentStyle||{});return Ot(()=>n.value,()=>{i.value&&(n.value?i.value.show():i.value.hide())}),Nn(()=>{i.value&&i.value.destroy()}),Ht(()=>{i.value=h0(o.value,{content:a.value,allowHTML:!0,trigger:n.trigger,placement:n.placement,interactive:!0,appendTo:n.appendTo||document.body,maxWidth:"none",offset:[0,n.offset],duration:200,animation:"scale",theme:"popover",onShow(){s.value=!0},onShown(){n.value||r("update:value",!0)},onHidden(){n.value&&r("update:value",!1),s.value=!1}})}),(u,c)=>(U(),te("div",{class:$e(["popover",{center:u.center}]),ref_key:"triggerRef",ref:o},[V("div",{class:"popover-content",style:Le(l.value),ref_key:"contentRef",ref:a},[s.value?ar(u.$slots,"content",{key:0},void 0,!0):Ze("",!0)],4),ar(u.$slots,"default",{},void 0,!0)],2))}}),Nt=Be(dSe,[["__scopeId","data-v-6a57fbcf"]]),hSe=Xe({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,i)=>(U(),te("div",{class:$e(["popover-menu-item",{center:r.center}]),onClick:i[0]||(i[0]=o=>n("click"))},[ar(r.$slots,"default",{},void 0,!0)],2))}}),Yr=Be(hSe,[["__scopeId","data-v-1f176c16"]]),pSe=e=>(en("data-v-c5f9ed82"),e=e(),tn(),e),vSe={class:"editor-header"},gSe={class:"left"},mSe={class:"menu-item"},ySe={class:"title"},ASe=["title"],RSe={class:"right"},bSe={class:"group-menu-item"},xSe={class:"arrow-btn"},SSe=pSe(()=>V("span",{class:"text"},"AI",-1)),wSe=[SSe],MSe={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},LSe={class:"menu-item"},TSe=Xe({__name:"index",setup(e){const t=ht(),n=ut(),{title:r}=De(n),{enterScreening:i,enterScreeningFromStart:o}=ld(),{importSpecificFile:a,importPPTXFile:s,exporting:l}=gbe(),{resetSlides:u}=gc(),c=ve(!1),f=ve(!1),d=ve(!1),h=ve(),p=ve(""),v=()=>{p.value=r.value,d.value=!0,Ir(()=>{var x;return(x=h.value)==null?void 0:x.focus()})},g=()=>{n.setTitle(p.value),d.value=!1},m=x=>{window.open(x),c.value=!1},y=x=>{t.setDialogForExport(x),c.value=!1},R=()=>{t.setMarkupPanelState(!0)},A=()=>{t.setAIPPTDialogState(!0)};return(x,S)=>{const L=Se("IconHamburgerButton"),w=Se("IconPpt"),M=Se("IconDown"),_=Se("IconDownload"),P=Se("IconGithub"),k=Fn("tooltip");return U(),te("div",vSe,[V("div",gSe,[O(Nt,{trigger:"click",placement:"bottom-start",value:c.value,"onUpdate:value":S[9]||(S[9]=F=>c.value=F)},{content:ie(()=>[O(Yr,{onClick:S[0]||(S[0]=F=>{A(),c.value=!1})},{default:ie(()=>[Ue("AI 生成 PPT(测试版)")]),_:1}),O($h,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:S[1]||(S[1]=F=>{z(s)(F),c.value=!1})},{default:ie(()=>[O(Yr,null,{default:ie(()=>[Ue("导入 pptx 文件(测试版)")]),_:1})]),_:1}),O($h,{accept:".pptist",onChange:S[2]||(S[2]=F=>{z(a)(F),c.value=!1})},{default:ie(()=>[O(Yr,null,{default:ie(()=>[Ue("导入 pptist 文件")]),_:1})]),_:1}),O(Yr,{onClick:S[3]||(S[3]=F=>y("pptx"))},{default:ie(()=>[Ue("导出文件")]),_:1}),O(Yr,{onClick:S[4]||(S[4]=F=>{z(u)(),c.value=!1})},{default:ie(()=>[Ue("重置幻灯片")]),_:1}),O(Yr,{onClick:S[5]||(S[5]=F=>{R(),c.value=!1})},{default:ie(()=>[Ue("幻灯片类型标注")]),_:1}),O(Yr,{onClick:S[6]||(S[6]=F=>m("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:ie(()=>[Ue("意见反馈")]),_:1}),O(Yr,{onClick:S[7]||(S[7]=F=>m("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:ie(()=>[Ue("常见问题")]),_:1}),O(Yr,{onClick:S[8]||(S[8]=F=>{c.value=!1,f.value=!0})},{default:ie(()=>[Ue("快捷操作")]),_:1})]),default:ie(()=>[V("div",mSe,[O(L,{class:"icon"})])]),_:1},8,["value"]),V("div",ySe,[d.value?(U(),_e(fc,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":S[10]||(S[10]=F=>p.value=F),onBlur:S[11]||(S[11]=F=>g())},null,8,["value"])):(U(),te("div",{key:1,class:"title-text",onClick:S[12]||(S[12]=F=>v()),title:z(r)},vt(z(r)),9,ASe))])]),V("div",RSe,[V("div",bSe,[ze((U(),te("div",{class:"menu-item",onClick:S[13]||(S[13]=F=>z(i)())},[O(w,{class:"icon"})])),[[k,"幻灯片放映(F5)"]]),O(Nt,{trigger:"click",center:""},{content:ie(()=>[O(Yr,{onClick:S[14]||(S[14]=F=>z(o)())},{default:ie(()=>[Ue("从头开始")]),_:1}),O(Yr,{onClick:S[15]||(S[15]=F=>z(i)())},{default:ie(()=>[Ue("从当前页开始")]),_:1})]),default:ie(()=>[V("div",xSe,[O(M,{class:"arrow"})])]),_:1})]),ze((U(),te("div",{class:"menu-item",onClick:S[16]||(S[16]=F=>{A(),c.value=!1})},wSe)),[[k,"AI生成PPT"]]),ze((U(),te("div",{class:"menu-item",onClick:S[17]||(S[17]=F=>y("pptx"))},[O(_,{class:"icon"})])),[[k,"导出"]]),ze((U(),te("a",MSe,[V("div",LSe,[O(P,{class:"icon"})])])),[[k,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),O(Cbe,{width:320,visible:f.value,"onUpdate:visible":S[18]||(S[18]=F=>f.value=F),placement:"right"},{title:ie(()=>[Ue("快捷操作")]),default:ie(()=>[O(xbe)]),_:1},8,["visible"]),O(ty,{loading:z(l),tip:"正在导入..."},null,8,["loading"])])}}}),_Se=Be(TSe,[["__scopeId","data-v-c5f9ed82"]]),iy=Symbol(),yk=Symbol(),az=Symbol(),OSe=()=>{const e=window.getSelection();e&&e.removeAllRanges()},kSe=e=>{const t=ve(0),n=ve(0),r=ht(),{canvasPercentage:i,canvasDragged:o}=De(r),{viewportRatio:a,viewportSize:s}=De(ut()),l=()=>{if(!e.value)return;const h=e.value.clientWidth,p=e.value.clientHeight;if(p/h>a.value){const v=h*(i.value/100);r.setCanvasScale(v/s.value),t.value=(h-v)/2,n.value=(p-v*a.value)/2}else{const v=p*(i.value/100);r.setCanvasScale(v/(s.value*a.value)),t.value=(h-v/a.value)/2,n.value=(p-v)/2}};Ot(i,(h,p)=>{if(!e.value)return;const v=e.value.clientWidth,g=e.value.clientHeight;if(g/v>a.value){const m=v*(h/100),y=v*(p/100),R=m*a.value,A=y*a.value;r.setCanvasScale(m/s.value),t.value=t.value-(m-y)/2,n.value=n.value-(R-A)/2}else{const m=g*(h/100),y=g*(p/100),R=m/a.value,A=y/a.value;r.setCanvasScale(m/(s.value*a.value)),t.value=t.value-(R-A)/2,n.value=n.value-(m-y)/2}}),Ot(a,l),Ot(s,l),Ot(o,()=>{o.value||l()});const c=we(()=>({width:s.value,height:s.value*a.value,left:t.value,top:n.value})),f=new ResizeObserver(l);return Ht(()=>{e.value&&f.observe(e.value)}),Nn(()=>{e.value&&f.unobserve(e.value)}),{viewportStyles:c,dragViewport:h=>{let p=!0;const v=h.pageX,g=h.pageY,m=t.value,y=n.value;document.onmousemove=R=>{if(!p)return;const A=R.pageX,x=R.pageY;t.value=m+(A-v),n.value=y+(x-g)},document.onmouseup=()=>{p=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},PSe=(e,t)=>{const n=ht(),{canvasScale:r,hiddenElementIdList:i}=De(n),o=ve(!1),a=ve(1),s=ve({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:o,mouseSelectionQuadrant:a,updateMouseSelection:u=>{if(!t.value)return;let c=!0;const f=t.value.getBoundingClientRect(),d=5,h=u.pageX,p=u.pageY,v=(h-f.x)/r.value,g=(p-f.y)/r.value;s.value={top:g,left:v,width:0,height:0},o.value=!1,a.value=4,document.onmousemove=m=>{if(!c)return;const y=m.pageX,R=m.pageY,A=(y-h)/r.value,x=(R-p)/r.value,S=Math.abs(A),L=Math.abs(x);if(S0&&x>0?w=4:A<0&&x<0?w=2:A>0&&x<0?w=1:A<0&&x>0&&(w=3),s.value={...s.value,width:S,height:L},o.value=!0,a.value=w},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,c=!1;let m=[];for(let R=0;Rx&&_S&&kx-L&&_S-w&&kx&&_S-w&&kx-L&&_S&&k{if(R.groupId){const A=m.map(S=>S.id);return e.value.filter(S=>S.groupId===R.groupId).every(S=>A.includes(S.id))}return!0});const y=m.map(R=>R.id);n.setActiveElementIdList(y),o.value=!1}}}},CSe=e=>{const{disableHotkeys:t}=De(ht()),{createImageElement:n,createTextElement:r}=c0(),i=o=>{if(!o.dataTransfer||o.dataTransfer.items.length===0)return;const a=o.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&sd(s).then(l=>n(l))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const l=Sx(s);r({left:0,top:0,width:600,height:50},{content:l})})};Ht(()=>{e.value&&e.value.addEventListener("drop",i),document.ondragleave=o=>o.preventDefault(),document.ondrop=o=>o.preventDefault(),document.ondragenter=o=>o.preventDefault(),document.ondragover=o=>o.preventDefault()}),Nn(()=>{e.value&&e.value.removeEventListener("drop",i),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},ISe=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},sz=(e,t,n)=>{const r=ut(),{addHistorySnapshot:i}=nn();return{rotateElement:(a,s)=>{const l=!(a instanceof MouseEvent);if(l&&(!a.changedTouches||!a.changedTouches[0]))return;let u=!0,c=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,v=s.height,g=d+p/2,m=h+v/2;if(!t.value)return;const y=t.value.getBoundingClientRect(),R=x=>{if(!u)return;const S=x instanceof MouseEvent?x.pageX:x.changedTouches[0].pageX,L=x instanceof MouseEvent?x.pageY:x.changedTouches[0].pageY,w=(S-y.left)/n.value,M=(L-y.top)/n.value,_=w-g,P=m-M;c=ISe(_,P);const k=5;Math.abs(c)<=k?c=0:c>0&&Math.abs(c-45)<=k?c-=c-45:c<0&&Math.abs(c+45)<=k?c-=c+45:c>0&&Math.abs(c-90)<=k?c-=c-90:c<0&&Math.abs(c+90)<=k?c-=c+90:c>0&&Math.abs(c-135)<=k?c-=c-135:c<0&&Math.abs(c+135)<=k?c-=c+135:c>0&&Math.abs(c-180)<=k?c-=c-180:c<0&&Math.abs(c+180)<=k&&(c-=c+180),e.value=e.value.map(F=>s.id===F.id?{...F,rotate:c}:F)},A=()=>{u=!1,document.onmousemove=null,document.onmouseup=null,f!==c&&(r.updateSlide({elements:e.value}),i())};l?(document.ontouchmove=R,document.ontouchend=A):(document.onmousemove=R,document.onmouseup=A)}}},Mg={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},lz={text:40,image:20,shape:20,chart:200,table:30,video:250,audio:20,latex:20},MX=(e,t)=>{const{left:n,top:r,width:i,height:o}=e,a=Math.sqrt(Math.pow(i,2)+Math.pow(o,2))/2,s=Math.atan(o/i)*180/Math.PI,l=(180-t-s)*Math.PI/180,u=(s-t)*Math.PI/180,c=(90-t)*Math.PI/180,f=t*Math.PI/180,d=i/2,h=o/2,p=n+d,v=r+h,g={left:p+a*Math.cos(l),top:v-a*Math.sin(l)},m={left:p+h*Math.cos(c),top:v-h*Math.sin(c)},y={left:p+a*Math.cos(u),top:v-a*Math.sin(u)},R={left:p+d*Math.cos(f),top:v+d*Math.sin(f)},A={left:p-a*Math.cos(l),top:v+a*Math.sin(l)},x={left:p-h*Math.sin(f),top:v+h*Math.cos(f)},S={left:p-a*Math.cos(u),top:v+a*Math.sin(u)},L={left:p-d*Math.cos(f),top:v-d*Math.sin(f)};return{leftTopPoint:g,topPoint:m,rightTopPoint:y,rightPoint:R,rightBottomPoint:A,bottomPoint:x,leftBottomPoint:S,leftPoint:L}},LX=(e,t)=>({[Rt.RIGHT_BOTTOM]:t.leftTopPoint,[Rt.LEFT_BOTTOM]:t.rightTopPoint,[Rt.LEFT_TOP]:t.rightBottomPoint,[Rt.RIGHT_TOP]:t.leftBottomPoint,[Rt.TOP]:t.bottomPoint,[Rt.BOTTOM]:t.topPoint,[Rt.LEFT]:t.rightPoint,[Rt.RIGHT]:t.leftPoint})[e],uz=(e,t,n)=>{const r=ht(),i=ut(),{activeElementIdList:o,activeGroupElementId:a}=De(r),{viewportRatio:s,viewportSize:l}=De(i),{ctrlOrShiftKeyActive:u}=De(pl()),{addHistorySnapshot:c}=nn();return{scaleElement:(h,p,v)=>{const g=!(h instanceof MouseEvent);if(g&&(!h.changedTouches||!h.changedTouches[0]))return;let m=!0;r.setScalingState(!0);const y=p.left,R=p.top,A=p.width,x=p.height,S=p.type==="table"?p.cellMinHeight:0,L="rotate"in p&&p.rotate?p.rotate:0,w=Math.PI*L/180,M=u.value||"fixedRatio"in p&&p.fixedRatio,_=A/x,P=g?h.changedTouches[0].pageX:h.pageX,k=g?h.changedTouches[0].pageY:h.pageY,F=lz[p.type]||20,C=(Q,G)=>{if(!M)return Q1&&(ee=F*de),G==="width"?Q{const $=[];let de=!1,K=!1;const Ae={offsetX:0,offsetY:0};if(G||G===0)for(let ce=0;ce{if(!m)return;const G=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,ee=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY,$=G-P,de=ee-k;let K=A,Ae=x,ce=y,fe=R;if(L){const le=(Math.cos(w)*$+Math.sin(w)*de)/n.value;let j=(Math.cos(w)*de-Math.sin(w)*$)/n.value;M&&((v===Rt.RIGHT_BOTTOM||v===Rt.LEFT_TOP)&&(j=le/_),(v===Rt.LEFT_BOTTOM||v===Rt.RIGHT_TOP)&&(j=-le/_)),v===Rt.RIGHT_BOTTOM?(K=C(A+le,"width"),Ae=C(x+j,"height")):v===Rt.LEFT_BOTTOM?(K=C(A-le,"width"),Ae=C(x+j,"height"),ce=y-(K-A)):v===Rt.LEFT_TOP?(K=C(A-le,"width"),Ae=C(x-j,"height"),ce=y-(K-A),fe=R-(Ae-x)):v===Rt.RIGHT_TOP?(K=C(A+le,"width"),Ae=C(x-j,"height"),fe=R-(Ae-x)):v===Rt.TOP?(Ae=C(x-j,"height"),fe=R-(Ae-x)):v===Rt.BOTTOM?Ae=C(x+j,"height"):v===Rt.LEFT?(K=C(A-le,"width"),ce=y-(K-A)):v===Rt.RIGHT&&(K=C(A+le,"width"));const X=MX({width:K,height:Ae,left:ce,top:fe},L),J=LX(v,X),se=J.left,q=J.top,ne=se-I,oe=q-W;ce=ce-ne,fe=fe-oe}else{let le=$/n.value,j=de/n.value;if(M&&((v===Rt.RIGHT_BOTTOM||v===Rt.LEFT_TOP)&&(j=le/_),(v===Rt.LEFT_BOTTOM||v===Rt.RIGHT_TOP)&&(j=-le/_)),v===Rt.RIGHT_BOTTOM){const{offsetX:X,offsetY:J}=re(y+A+le,R+x+j);le=le-X,j=j-J,M&&(J?le=j*_:j=le/_),K=C(A+le,"width"),Ae=C(x+j,"height")}else if(v===Rt.LEFT_BOTTOM){const{offsetX:X,offsetY:J}=re(y+le,R+x+j);le=le-X,j=j-J,M&&(J?le=-j*_:j=-le/_),K=C(A-le,"width"),Ae=C(x+j,"height"),ce=y-(K-A)}else if(v===Rt.LEFT_TOP){const{offsetX:X,offsetY:J}=re(y+le,R+j);le=le-X,j=j-J,M&&(J?le=j*_:j=le/_),K=C(A-le,"width"),Ae=C(x-j,"height"),ce=y-(K-A),fe=R-(Ae-x)}else if(v===Rt.RIGHT_TOP){const{offsetX:X,offsetY:J}=re(y+A+le,R+j);le=le-X,j=j-J,M&&(J?le=-j*_:j=-le/_),K=C(A+le,"width"),Ae=C(x-j,"height"),fe=R-(Ae-x)}else if(v===Rt.LEFT){const{offsetX:X}=re(y+le,null);le=le-X,K=C(A-le,"width"),ce=y-(K-A)}else if(v===Rt.RIGHT){const{offsetX:X}=re(y+A+le,null);le=le-X,K=C(A+le,"width")}else if(v===Rt.TOP){const{offsetY:X}=re(null,R+j);j=j-X,Ae=C(x-j,"height"),fe=R-(Ae-x)}else if(v===Rt.BOTTOM){const{offsetY:X}=re(null,R+x+j);j=j-X,Ae=C(x+j,"height")}}e.value=e.value.map(le=>{if(p.id!==le.id)return le;if(le.type==="shape"&&"pathFormula"in le&&le.pathFormula){const j=u0[le.pathFormula];let X="";return"editable"in j?X=j.formula(K,Ae,le.keypoints):X=j.formula(K,Ae),{...le,left:ce,top:fe,width:K,height:Ae,viewBox:[K,Ae],path:X}}if(le.type==="table"){let j=S+(Ae-x)/le.data.length;return j=j<36?36:j,j===S?{...le,left:ce,width:K}:{...le,left:ce,top:fe,width:K,height:Ae,cellMinHeight:j<36?36:j}}return{...le,left:ce,top:fe,width:K,height:Ae}})},Z=Q=>{m=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const G=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,ee=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;P===G&&k===ee||(i.updateSlide({elements:e.value}),r.setScalingState(!1),c())};g?(document.ontouchmove=B,document.ontouchend=Z):(document.onmousemove=B,document.onmouseup=Z)},scaleMultiElement:(h,p,v)=>{let g=!0;const{minX:m,maxX:y,minY:R,maxY:A}=p,x=y-m,S=A-R,L=x/S,w=h.pageX,M=h.pageY,_=JSON.parse(JSON.stringify(e.value));document.onmousemove=P=>{if(!g)return;const k=P.pageX,F=P.pageY,C=(k-w)/n.value;let N=(F-M)/n.value;u.value&&((v===Rt.RIGHT_BOTTOM||v===Rt.LEFT_TOP)&&(N=C/L),(v===Rt.LEFT_BOTTOM||v===Rt.RIGHT_TOP)&&(N=-C/L));let I=m,W=y,D=R,Y=A;v===Rt.RIGHT_BOTTOM?(W=y+C,Y=A+N):v===Rt.LEFT_BOTTOM?(I=m+C,Y=A+N):v===Rt.LEFT_TOP?(I=m+C,D=R+N):v===Rt.RIGHT_TOP?(W=y+C,D=R+N):v===Rt.TOP?D=R+N:v===Rt.BOTTOM?Y=A+N:v===Rt.LEFT?I=m+C:v===Rt.RIGHT&&(W=y+C);const re=W-I,B=Y-D;let Z=re/x,Q=B/S;Z<=0&&(Z=0),Q<=0&&(Q=0),e.value=e.value.map(G=>{if((G.type==="image"||G.type==="shape")&&o.value.includes(G.id)){const ee=_.find($=>$.id===G.id);return{...G,width:ee.width*Z,height:ee.height*Q,left:I+(ee.left-m)*Z,top:D+(ee.top-R)*Q}}return G})},document.onmouseup=P=>{g=!1,document.onmousemove=null,document.onmouseup=null,!(w===P.pageX&&M===P.pageY)&&(i.updateSlide({elements:e.value}),c())}}}},NSe=(e,t)=>{const n=ht(),{activeElementIdList:r,activeGroupElementId:i,handleElementId:o,editorAreaFocus:a}=De(n),{ctrlOrShiftKeyActive:s}=De(pl());return{selectElement:(u,c,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(c.id)){if(s.value){let d=[];if(c.groupId){const h=[];e.value.forEach(p=>{p.groupId===c.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==c.id);d.length>0&&n.setActiveElementIdList(d)}else if(o.value!==c.id)n.setHandleElementId(c.id);else if(i.value!==c.id){const d=u instanceof MouseEvent?u.pageX:u.changedTouches[0].pageX,h=u instanceof MouseEvent?u.pageY:u.changedTouches[0].pageY;u.target.onmouseup=p=>{const v=p.pageX,g=p.pageY;d===v&&h===g&&(n.setActiveGroupElementId(c.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,c.id]:d=[c.id],c.groupId){const h=[];e.value.forEach(p=>{p.groupId===c.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(Yn.uniq(d)),n.setHandleElementId(c.id)}f&&t(u,c)}}},cz=(e,t,n)=>{const r=ut(),{activeElementIdList:i,activeGroupElementId:o}=De(ht()),{shiftKeyState:a}=De(pl()),{viewportRatio:s,viewportSize:l}=De(r),{addHistorySnapshot:u}=nn();return{dragElement:(f,d)=>{const h=!(f instanceof MouseEvent);if(h&&(!f.changedTouches||!f.changedTouches[0])||!i.value.includes(d.id))return;let p=!0;const v=l.value,g=l.value*s.value,m=5,R=JSON.parse(JSON.stringify(e.value)).filter(Q=>i.value.includes(Q.id)),A=d.left,x=d.top,S=d.width,L="height"in d&&d.height?d.height:0,w="rotate"in d&&d.rotate?d.rotate:0,M=h?f.changedTouches[0].pageX:f.pageX,_=h?f.changedTouches[0].pageY:f.pageY;let P=null;const k=d.id===o.value;let F=[],C=[];for(const Q of e.value){if(Q.type==="line"||k&&Q.id===d.id||!k&&i.value.includes(Q.id))continue;let G,ee,$,de;if("rotate"in Q&&Q.rotate){const{xRange:ne,yRange:oe}=qp({left:Q.left,top:Q.top,width:Q.width,height:Q.height,rotate:Q.rotate});G=ne[0],ee=oe[0],$=ne[1]-ne[0],de=oe[1]-oe[0]}else G=Q.left,ee=Q.top,$=Q.width,de=Q.height;const K=G+$,Ae=ee+de,ce=ee+de/2,fe=G+$/2,le={value:ee,range:[G,K]},j={value:Ae,range:[G,K]},X={value:ce,range:[G,K]},J={value:G,range:[ee,Ae]},se={value:K,range:[ee,Ae]},q={value:fe,range:[ee,Ae]};F.push(le,j,X),C.push(J,se,q)}const N={value:0,range:[0,v]},I={value:g,range:[0,v]},W={value:g/2,range:[0,v]},D={value:0,range:[0,g]},Y={value:v,range:[0,g]},re={value:v/2,range:[0,g]};F.push(N,I,W),C.push(D,Y,re),F=xx(F),C=xx(C);const B=Q=>{const G=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,ee=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;if(P!==!1&&(P=Math.abs(M-G)Math.abs(de)&&(de=0),Math.abs($)oe.id===d.id?{...oe,left:K,top:Ae}:oe);else{const oe=e.value.find(he=>he.id===d.id);if(!oe)return;e.value=e.value.map(he=>i.value.includes(he.id)?he.id===d.id?{...he,left:K,top:Ae}:{...he,left:he.left+(K-oe.left),top:he.top+(Ae-oe.top)}:he)}},Z=Q=>{p=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const G=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,ee=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;M===G&&_===ee||(r.updateSlide({elements:e.value}),u())};h?(document.ontouchmove=B,document.ontouchend=Z):(document.onmousemove=B,document.onmouseup=Z)}}},FSe=e=>{const t=ut(),{canvasScale:n}=De(ht()),{ctrlOrShiftKeyActive:r}=De(pl()),{addHistorySnapshot:i}=nn();return{dragLineElement:(a,s,l)=>{let u=!0;const c=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p{if(!u)return;const v=p.pageX,g=p.pageY,m=(v-f)/n.value,y=(g-d)/n.value;let R=s.left+s.start[0],A=s.top+s.start[1],x=s.left+s.end[0],S=s.top+s.end[1];const L=s.broken||s.broken2||s.curve||[0,0];let w=s.left+L[0],M=s.top+L[1];const[_,P]=s.cubic||[[0,0],[0,0]];let k=s.left+_[0],F=s.top+_[1],C=s.left+P[0],N=s.top+P[1];if(l===Ho.START){R=R+m,A=A+y,Math.abs(R-x)x&&(re[0]=D-I,B[0]=0),A>S&&(re[1]=Y-W,B[1]=0),e.value=e.value.map(Z=>{if(Z.id===s.id){const Q={...Z,left:I,top:W,start:re,end:B};return l===Ho.START||l===Ho.END?(r.value?(s.broken&&(Q.broken=[w-I,M-W]),s.curve&&(Q.curve=[w-I,M-W]),s.cubic&&(Q.cubic=[[k-I,F-W],[C-I,N-W]])):(s.broken&&(Q.broken=[(re[0]+B[0])/2,(re[1]+B[1])/2]),s.curve&&(Q.curve=[(re[0]+B[0])/2,(re[1]+B[1])/2]),s.cubic&&(Q.cubic=[[(re[0]+B[0])/2,(re[1]+B[1])/2],[(re[0]+B[0])/2,(re[1]+B[1])/2]])),s.broken2&&(Q.broken2=[(re[0]+B[0])/2,(re[1]+B[1])/2])):l===Ho.C?(s.broken&&(Q.broken=[w-I,M-W]),s.curve&&(Q.curve=[w-I,M-W]),s.broken2&&(D-I>=Y-W?Q.broken2=[w-I,Q.broken2[1]]:Q.broken2=[Q.broken2[0],M-W])):s.cubic&&(Q.cubic=[[k-I,F-W],[C-I,N-W]]),Q}return Z})},document.onmouseup=p=>{u=!1,document.onmousemove=null,document.onmouseup=null;const v=p.pageX,g=p.pageY;f===v&&d===g||(t.updateSlide({elements:e.value}),i())}}}},ESe=(e,t)=>{const n=ut(),{addHistorySnapshot:r}=nn();return{moveShapeKeypoint:(o,a,s=0)=>{const l=!(o instanceof MouseEvent);if(l&&(!o.changedTouches||!o.changedTouches[0]))return;let u=!0;const c=l?o.changedTouches[0].pageX:o.pageX,f=l?o.changedTouches[0].pageY:o.pageY,d=a.keypoints,h=u0[a.pathFormula];let p=null;if("editable"in h&&h.editable){const m=h.getBaseSize[s],y=h.range[s],R=h.relative[s],A=d[s],x=m(a.width,a.height),S=x*A,[L,w]=y;p={baseSize:x,originPos:S,min:L,max:w,relative:R}}const v=m=>{if(!u)return;const y=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,R=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY,A=(y-c)/t.value,x=(R-f)/t.value;e.value=e.value.map(S=>{if(S.id===a.id&&p){const{baseSize:L,originPos:w,min:M,max:_,relative:P}=p,k=S;let F=0;P==="center"?F=(w-A*2)/L:P==="left"?F=(w+A)/L:P==="right"?F=(w-A)/L:P==="top"?F=(w+x)/L:P==="bottom"?F=(w-x)/L:P==="left_bottom"?F=(w+A)/L:P==="right_bottom"?F=(w-A)/L:P==="top_right"?F=(w+x)/L:P==="bottom_right"&&(F=(w-x)/L),F_&&(F=_);let C=[];return Array.isArray(d)?(C=[...d],C[s]=F):C=[F],{...S,keypoints:C,path:h.formula(k.width,k.height,C)}}return S})},g=m=>{u=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const y=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,R=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY;c===y&&f===R||(n.updateSlide({elements:e.value}),r())};l?(document.ontouchmove=v,document.ontouchend=g):(document.onmousemove=v,document.onmouseup=g)}}},XSe=e=>{const t=ht(),{canvasScale:n,creatingElement:r}=De(t),i=c=>{const{start:f,end:d}=c;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[g,m]=d,y=Math.min(p,g),R=Math.max(p,g),A=Math.min(v,m),x=Math.max(v,m),S=(y-h.x)/n.value,L=(A-h.y)/n.value,w=(R-y)/n.value,M=(x-A)/n.value;return{left:S,top:L,width:w,height:M}},o=c=>{const{start:f,end:d}=c;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[g,m]=d,y=Math.min(p,g),R=Math.max(p,g),A=Math.min(v,m),x=Math.max(v,m),S=(y-h.x)/n.value,L=(A-h.y)/n.value,w=(R-y)/n.value,M=(x-A)/n.value;return{left:S,top:L,start:[p===y?0:w,v===A?0:M],end:[g===y?0:w,m===A?0:M]}},{createTextElement:a,createShapeElement:s,createLineElement:l}=c0();return{formatCreateSelection:i,insertElementFromCreateSelection:c=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=i(c);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=i(c);d&&s(d,r.value.data)}else if(f==="line"){const d=o(c);d&&l(d,r.value.data)}t.setCreatingElement(null)}}},m3=()=>{const e=ut(),{activeElementIdList:t,activeElementList:n}=De(ht()),{currentSlide:r,viewportRatio:i,viewportSize:o}=De(e),{addHistorySnapshot:a}=nn();return{alignElementToCanvas:l=>{const u=o.value,c=o.value*i.value,{minX:f,maxX:d,minY:h,maxY:p}=ju(n.value),v=JSON.parse(JSON.stringify(r.value.elements));for(const g of v)if(t.value.includes(g.id)){if(l===pn.CENTER){const m=h+(p-h)/2-c/2,y=f+(d-f)/2-u/2;g.top=g.top-m,g.left=g.left-y}if(l===pn.TOP){const m=h-0;g.top=g.top-m}else if(l===pn.VERTICAL){const m=h+(p-h)/2-c/2;g.top=g.top-m}else if(l===pn.BOTTOM){const m=p-c;g.top=g.top-m}else if(l===pn.LEFT){const m=f-0;g.left=g.left-m}else if(l===pn.HORIZONTAL){const m=f+(d-f)/2-u/2;g.left=g.left-m}else if(l===pn.RIGHT){const m=d-u;g.left=g.left-m}}e.updateSlide({elements:v}),a()}}},fd=e=>({shadowStyle:we(()=>{if(e.value){const{h:n,v:r,blur:i,color:o}=e.value;return`${n}px ${r}px ${i}px ${o}`}return""})}),y3=(e,t)=>({flipStyle:we(()=>{let r="";return e.value&&t.value?r="rotateX(180deg) rotateY(180deg)":t.value?r="rotateX(180deg)":e.value&&(r="rotateY(180deg)"),r})});var fz=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(fz||{});const i6={rect:{name:"矩形",type:"rect",radius:"0",style:""},rect2:{name:"矩形2",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L 0 ${t} Z`},rect3:{name:"矩形3",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L ${e*.2} ${t} L 0 ${t*.8} Z`},roundRect:{name:"圆角矩形",type:"rect",radius:"10px",style:"inset(0 round 10px)"},ellipse:{name:"圆形",type:"ellipse",style:"ellipse(50% 50% at 50% 50%)"},triangle:{name:"三角形",type:"polygon",style:"polygon(50% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M ${e*.5} 0 L 0 ${t} L ${e} ${t} Z`},triangle2:{name:"三角形2",type:"polygon",style:"polygon(50% 100%, 0% 0%, 100% 0%)",createPath:(e,t)=>`M ${e*.5} ${t} L 0 0 L ${e} 0 Z`},triangle3:{name:"三角形3",type:"polygon",style:"polygon(0% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M 0 0 L 0 ${t} L ${e} ${t} Z`},rhombus:{name:"菱形",type:"polygon",style:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${t*.5} L ${e*.5} ${t} L 0 ${t*.5} Z`},pentagon:{name:"五边形",type:"polygon",style:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${.38*t} L ${.82*e} ${t} L ${.18*e} ${t} L 0 ${.38*t} Z`},hexagon:{name:"六边形",type:"polygon",style:"polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.2} 0 L ${e*.8} 0 L ${e} ${t*.5} L ${e*.8} ${t} L ${e*.2} ${t} L 0 ${t*.5} Z`},heptagon:{name:"七边形",type:"polygon",style:"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e*.9} ${t*.2} L ${e} ${t*.6} L ${e*.75} ${t} L ${e*.25} ${t} L 0 ${t*.6} L ${e*.1} ${t*.2} Z`},octagon:{name:"八边形",type:"polygon",style:"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e*.7} 0 L ${e} ${t*.3} L ${e} ${t*.7} L ${e*.7} ${t} L ${e*.3} ${t} L 0 ${t*.7} L 0 ${t*.3} Z`},chevron:{name:"V形",type:"polygon",style:"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",createPath:(e,t)=>`M ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} L ${e*.25} ${t*.5} L 0 0 Z`},point:{name:"点",type:"polygon",style:"polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)",createPath:(e,t)=>`M 0 0 L ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} Z`},arrow:{name:"箭头",type:"polygon",style:"polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)",createPath:(e,t)=>`M 0 ${t*.2} L ${e*.6} ${t*.2} L ${e*.6} 0 L ${e} ${t*.5} L ${e*.6} ${t} L ${e*.6} ${t*.8} L 0 ${t*.8} Z`},parallelogram:{name:"平行四边形",type:"polygon",style:"polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e} 0 L ${e*.7} ${t} L 0 ${t} Z`},parallelogram2:{name:"平行四边形2",type:"polygon",style:"polygon(30% 100%, 100% 100%, 70% 0%, 0% 0%)",createPath:(e,t)=>`M ${e*.3} ${t} L ${e} ${t} L ${e*.7} 0 L 0 0 Z`},trapezoid:{name:"梯形",type:"polygon",style:"polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.25} 0 L ${e*.75} 0 L ${e} ${t} L 0 ${t} Z`},trapezoid2:{name:"梯形2",type:"polygon",style:"polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%)",createPath:(e,t)=>`M 0 0 L ${e} 0 L ${e*.75} ${t} L ${e*.25} ${t} Z`}},Ak=e=>{const t=we(()=>{let r=i6.rect;if(e.value.clip){const i=e.value.clip.shape||fz.RECT;r=i6[i]}return r.radius!==void 0&&e.value.radius&&(r={...r,radius:`${e.value.radius}px`,style:`inset(0 round ${e.value.radius}px)`}),r}),n=we(()=>{if(!e.value.clip)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,i]=e.value.clip.range,o=(i[0]-r[0])/100,a=(i[1]-r[1])/100,s=r[0]/o,l=r[1]/a;return{left:-s+"%",top:-l+"%",width:100/o+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},dz=e=>({filter:we(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const i of r)n+=`${i}(${e.value[i]}) `;return n})}),Jv=e=>{const t=we(()=>{var o;return((o=e.value)==null?void 0:o.width)??0}),n=we(()=>{var o;return((o=e.value)==null?void 0:o.style)||"solid"}),r=we(()=>{var o;return((o=e.value)==null?void 0:o.color)||"#d14424"}),i=we(()=>{const o=t.value;return n.value==="dashed"?o<=6?`${o*4.5} ${o*2}`:`${o*4} ${o*1.5}`:n.value==="dotted"?o<=6?`${o*1.8} ${o*1.6}`:`${o*1.5} ${o*1.2}`:"0 0"});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:i}},WSe=["width","height"],VSe=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],DSe=Xe({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:o.width,height:o.height},[V("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:o.radius,ry:o.radius,width:o.width,height:o.height,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,VSe)],8,WSe)):Ze("",!0)}}),USe=Be(DSe,[["__scopeId","data-v-09a0319c"]]),BSe=["width","height"],YSe=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],ZSe=Xe({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:o.width,height:o.height},[V("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:o.width/2,cy:o.height/2,rx:o.width/2,ry:o.height/2,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,YSe)],8,BSe)):Ze("",!0)}}),QSe=Be(ZSe,[["__scopeId","data-v-19e68d74"]]),HSe=["width","height"],KSe=["d","stroke","stroke-width","stroke-dasharray"],GSe=Xe({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:o.width,height:o.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:o.createPath(o.width,o.height),stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,KSe)],8,HSe)):Ze("",!0)}}),zSe=Be(GSe,[["__scopeId","data-v-a036b0a3"]]),JSe={class:"image-outline"},hz=Xe({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo),{clipShape:r}=Ak(n);return(i,o)=>(U(),te("div",JSe,[z(r).type==="rect"?(U(),_e(USe,{key:0,width:i.elementInfo.width,height:i.elementInfo.height,radius:z(r).radius,outline:i.elementInfo.outline},null,8,["width","height","radius","outline"])):z(r).type==="ellipse"?(U(),_e(QSe,{key:1,width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"])):z(r).type==="polygon"?(U(),_e(zSe,{key:2,width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline,createPath:z(r).createPath},null,8,["width","height","outline","createPath"])):Ze("",!0)]))}}),pz=e=>(en("data-v-31b3b0f9"),e=e(),tn(),e),$Se=["src"],jSe=["src"],qSe=["onMousedown"],e3e=pz(()=>V("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[V("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 16 L 4 16 L 4 4 L 16 4 L 16 0 Z"})],-1)),t3e=[e3e],n3e=["onMousedown"],r3e=pz(()=>V("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[V("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 4 L 16 4 Z"})],-1)),i3e=[r3e],o3e=Xe({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:i}=De(ht()),{ctrlOrShiftKeyActive:o}=De(pl()),a=ve({top:"0",left:"0"}),s=ve(!1),l=ve(null),u=()=>{const[w,M]=n.clipData?n.clipData.range:[[0,0],[100,100]],_=(M[0]-w[0])/100,P=(M[1]-w[1])/100,k=w[0]/_,F=w[1]/P;return{widthScale:_,heightScale:P,left:k,top:F}},c=we(()=>{const{widthScale:w,heightScale:M,left:_,top:P}=u();return{left:-_,top:-P,width:100/w,height:100/M}}),f=we(()=>({top:c.value.top+"%",left:c.value.left+"%",width:c.value.width+"%",height:c.value.height+"%"})),d=ve({top:0,left:0,width:0,height:0}),h=we(()=>{const{top:w,left:M,width:_,height:P}=d.value;return{top:w+"%",left:M+"%",width:_+"%",height:P+"%"}}),p=we(()=>{const w=c.value.width,M=c.value.height,{top:_,left:P,width:k,height:F}=d.value;return{left:-P*(100/k)+"%",top:-_*(100/F)+"%",width:w/k*100+"%",height:M/F*100+"%"}}),v=()=>{const{left:w,top:M}=u();d.value={left:w,top:M,width:100,height:100},a.value={top:-M+"%",left:-w+"%"}},g=()=>{if(s.value)return;if(!l.value){r("clip",null);return}const{left:w,top:M}=u(),_={left:(d.value.left-w)/100*n.width,top:(d.value.top-M)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},P={range:l.value,position:_};r("clip",P)},m=w=>{w.key.toUpperCase()===At.ENTER&&g()};Ht(()=>{v(),document.addEventListener("keydown",m)}),Nn(()=>{document.removeEventListener("keydown",m)});const y=()=>{const w={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},M=100/w.width,_=100/w.height,P=[-w.left*M,-w.top*_],k=[M*100+P[0],_*100+P[1]];l.value=[P,k]},R=w=>{s.value=!0;let M=!0;const _=w.pageX,P=w.pageY,k=c.value,F={...d.value};document.onmousemove=C=>{if(!M)return;const N=C.pageX,I=C.pageY,W=(N-_)/i.value,D=(I-P)/i.value,Y=Math.sqrt(W*W+D*D),B=Math.atan2(D,W)-n.rotate/180*Math.PI,Z=Y*Math.cos(B)/n.width*100,Q=Y*Math.sin(B)/n.height*100;let G=F.left+Z,ee=F.top+Q;G<0?G=0:G+F.width>k.width&&(G=k.width-F.width),ee<0?ee=0:ee+F.height>k.height&&(ee=k.height-F.height),d.value={...d.value,left:G,top:ee}},document.onmouseup=()=>{M=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>{s.value=!1},0)}},A=(w,M)=>{s.value=!0;let _=!0;const P=50/n.width*100,k=50/n.height*100,F=w.pageX,C=w.pageY,N=c.value,I={...d.value},W=d.value.width/d.value.height;document.onmousemove=D=>{if(!_)return;const Y=D.pageX,re=D.pageY,B=(Y-F)/i.value,Z=(re-C)/i.value,Q=Math.sqrt(B*B+Z*Z),ee=Math.atan2(Z,B)-n.rotate/180*Math.PI;let $=Q*Math.cos(ee)/n.width*100,de=Q*Math.sin(ee)/n.height*100;o.value&&((M===Rt.RIGHT_BOTTOM||M===Rt.LEFT_TOP)&&(de=$/W),(M===Rt.LEFT_BOTTOM||M===Rt.RIGHT_TOP)&&(de=-$/W));let K,Ae,ce,fe;M===Rt.LEFT_TOP?(I.left+$<0&&($=-I.left),I.top+de<0&&(de=-I.top),I.width-$N.width&&($=N.width-(I.left+I.width)),I.top+de<0&&(de=-I.top),I.width+$N.height&&(de=N.height-(I.top+I.height)),I.width-$N.width&&($=N.width-(I.left+I.width)),I.top+I.height+de>N.height&&(de=N.height-(I.top+I.height)),I.width+$N.height&&(de=N.height-(I.top+I.height)),I.height+deN.width&&($=N.width-(I.left+I.width)),I.width+${_=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>s.value=!1,0)}},x=we(()=>{const w="rotate-",M=n.rotate;return M>-22.5&&M<=22.5?w+0:M>22.5&&M<=67.5?w+45:M>67.5&&M<=112.5?w+90:M>112.5&&M<=157.5?w+135:M>157.5||M<=-157.5?w+0:M>-157.5&&M<=-112.5?w+45:M>-112.5&&M<=-67.5?w+90:M>-67.5&&M<=-22.5?w+135:w+0}),S=[Rt.LEFT_TOP,Rt.RIGHT_TOP,Rt.LEFT_BOTTOM,Rt.RIGHT_BOTTOM],L=[Rt.TOP,Rt.BOTTOM,Rt.LEFT,Rt.RIGHT];return(w,M)=>{const _=Fn("click-outside");return ze((U(),te("div",{class:"image-clip-handler",style:Le(a.value)},[V("img",{class:"bottom-img",src:w.src,draggable:!1,alt:"",style:Le(f.value)},null,12,$Se),V("div",{class:"top-image-content",style:Le({...h.value,clipPath:w.clipPath})},[V("img",{class:"top-img",src:w.src,draggable:!1,alt:"",style:Le(p.value)},null,12,jSe)],4),V("div",{class:"operate",style:Le(h.value),onMousedown:M[0]||(M[0]=Ft(P=>R(P),["stop"]))},[(U(),te(We,null,tt(S,P=>V("div",{class:$e(["clip-point",P,x.value]),key:P,onMousedown:Ft(k=>A(k,P),["stop"])},t3e,42,qSe)),64)),(U(),te(We,null,tt(L,P=>V("div",{class:$e(["clip-point",P,x.value]),key:P,onMousedown:Ft(k=>A(k,P),["stop"])},i3e,42,n3e)),64))],36)],4)),[[_,g]])}}}),a3e=Be(o3e,[["__scopeId","data-v-31b3b0f9"]]),s3e=["src"],l3e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{clipingImageElementId:i}=De(n),o=we(()=>i.value===t.elementInfo.id),{addHistorySnapshot:a}=nn(),s=we(()=>t.elementInfo.shadow),{shadowStyle:l}=fd(s),u=we(()=>t.elementInfo.flipH),c=we(()=>t.elementInfo.flipV),{flipStyle:f}=y3(u,c),d=we(()=>t.elementInfo),{clipShape:h,imgPosition:p}=Ak(d),v=we(()=>t.elementInfo.filters),{filter:g}=dz(v),m=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},y=R=>{if(n.setClipingImageElementId(""),!R)return;const{range:A,position:x}=R,S=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},L=t.elementInfo.left+x.left,w=t.elementInfo.top+x.top,M=t.elementInfo.width+x.width,_=t.elementInfo.height+x.height;let P=0,k=0;if(t.elementInfo.rotate){const C=L+M/2-(t.elementInfo.left+t.elementInfo.width/2),N=-(w+_/2-(t.elementInfo.top+t.elementInfo.height/2)),I=-t.elementInfo.rotate*Math.PI/180,W=C*Math.cos(I)-N*Math.sin(I),D=C*Math.sin(I)+N*Math.cos(I);P=W-C,k=-(D-N)}const F={clip:{...S,range:A},left:L+P,top:w+k,width:M,height:_};r.updateElement({id:t.elementInfo.id,props:F}),a()};return(R,A)=>{const x=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-image",{lock:R.elementInfo.lock}]),style:Le({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px",height:R.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${R.elementInfo.rotate}deg)`})},[o.value?(U(),_e(a3e,{key:0,src:R.elementInfo.src,clipData:R.elementInfo.clip,width:R.elementInfo.width,height:R.elementInfo.height,top:R.elementInfo.top,left:R.elementInfo.left,rotate:R.elementInfo.rotate,clipPath:z(h).style,onClip:A[0]||(A[0]=S=>y(S))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):ze((U(),te("div",{key:1,class:"element-content",style:Le({filter:z(l)?`drop-shadow(${z(l)})`:"",transform:z(f)}),onMousedown:A[2]||(A[2]=S=>m(S)),onTouchstart:A[3]||(A[3]=S=>m(S))},[O(hz,{elementInfo:R.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:Le({clipPath:z(h).style})},[V("img",{src:R.elementInfo.src,draggable:!1,style:Le({top:z(p).top,left:z(p).left,width:z(p).width,height:z(p).height,filter:z(g)}),onDragstart:A[1]||(A[1]=Ft(()=>{},["prevent"])),alt:""},null,44,s3e),R.elementInfo.colorMask?(U(),te("div",{key:0,class:"color-mask",style:Le({backgroundColor:R.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],36)),[[x,R.contextmenus]])],4)],6)}}}),vz=Be(l3e,[["__scopeId","data-v-86b9f3af"]]),u3e=["width","height"],c3e=["d","stroke","stroke-width","stroke-dasharray"],f3e=Xe({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"element-outline",overflow:"visible",width:o.width,height:o.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${o.width},0 L${o.width},${o.height} L0,${o.height} Z`,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,c3e)],8,u3e)):Ze("",!0)}}),A3=Be(f3e,[["__scopeId","data-v-e2ef58f5"]]),Yi=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},i2=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let o6=null;const Qu=function(e,t,n){let r=o6||(o6=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},d3e=function(){o6=null},qh=function(e,t,n,r){return n&&(TX(e,t,n,r,-1)||TX(e,t,n,r,1))},h3e=/^(img|br|input|textarea|hr)$/i;function TX(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:zl(e))){let o=e.parentNode;if(!o||o.nodeType!=1||oy(e)||h3e.test(e.nodeName)||e.contentEditable=="false")return!1;t=Yi(e)+(i<0?0:1),e=o}else if(e.nodeType==1){if(e=e.childNodes[t+(i<0?-1:0)],e.contentEditable=="false")return!1;t=i<0?zl(e):0}else return!1}}function zl(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function p3e(e,t){for(;;){if(e.nodeType==3&&t)return e;if(e.nodeType==1&&t>0){if(e.contentEditable=="false")return null;e=e.childNodes[t-1],t=zl(e)}else if(e.parentNode&&!oy(e))t=Yi(e),e=e.parentNode;else return null}}function v3e(e,t){for(;;){if(e.nodeType==3&&t2),ds=Mv||(pu?/Mac/.test(pu.platform):!1),A3e=pu?/Win/.test(pu.platform):!1,rl=/Android \d/.test(dd),ay=!!_X&&"webkitFontSmoothing"in _X.documentElement.style,R3e=ay?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function b3e(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Vu(e,t){return typeof e=="number"?e:e[t]}function x3e(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function OX(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;a;a=i2(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,u=l?b3e(o):x3e(s),c=0,f=0;if(t.topu.bottom-Vu(r,"bottom")&&(f=t.bottom-t.top>u.bottom-u.top?t.top+Vu(i,"top")-u.top:t.bottom-u.bottom+Vu(i,"bottom")),t.leftu.right-Vu(r,"right")&&(c=t.right-u.right+Vu(i,"right")),c||f)if(l)o.defaultView.scrollBy(c,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),c&&(s.scrollLeft+=c);let p=s.scrollLeft-d,v=s.scrollTop-h;t={left:t.left-p,top:t.top-v,right:t.right-p,bottom:t.bottom-v}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function S3e(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let o=(t.left+t.right)/2,a=n+1;a=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:yz(e.dom)}}function yz(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=i2(r));return t}function w3e({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;Az(n,r==0?0:r-t)}function Az(e,t){for(let n=0;n=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let v=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!l&&p.left<=t.left&&p.right>=t.left&&(l=c,u={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(o=f+1)}}return!n&&l&&(n=l,i=u,r=0),n&&n.nodeType==3?L3e(n,i):!n||r&&n.nodeType==1?{node:e,offset:o}:Rz(n,i)}function L3e(e,t){let n=e.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:e,offset:0}}function Rk(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function T3e(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}function O3e(e,t,n,r){let i=-1;for(let o=t,a=!1;o!=e.dom;){let s=e.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?i=s.posBefore:(!a&&l.right-1?i:e.docView.posFromDOM(t,n,-1)}function bz(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&i++}let u;ay&&i&&r.nodeType==1&&(u=r.childNodes[i-1]).nodeType==1&&u.contentEditable=="false"&&u.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=O3e(e,r,i,t))}s==null&&(s=_3e(e,a,t));let l=e.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function kX(e){return e.top=0&&i==r.nodeValue.length?(l--,c=1):n<0?l--:u++,O1(tf(Qu(r,l,u),c),c<0)}if(!e.state.doc.resolve(t-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==zl(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return O5(l.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(n<0||i==zl(r))){let l=r.childNodes[i-1],u=l.nodeType==3?Qu(l,zl(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(u)return O1(tf(u,1),!1)}if(o==null&&i=0)}function O1(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function O5(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Sz(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function C3e(e,t,n){let r=t.selection,i=n=="up"?r.$from:r.$to;return Sz(e,t,()=>{let{node:o}=e.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=xz(e,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Qu(s,0,s.nodeValue.length).getClientRects();else continue;for(let u=0;uc.top+1&&(n=="up"?a.top-c.top>(c.bottom-a.top)*2:c.bottom-a.bottom>(a.bottom-c.top)*2))return!1}}return!0})}const I3e=/[\u0590-\u08ac]/;function N3e(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.domSelection();return!I3e.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:Sz(e,t,()=>{let{focusNode:l,focusOffset:u,anchorNode:c,anchorOffset:f}=e.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:p,focusOffset:v}=e.domSelectionRange(),g=p&&!h.contains(p.nodeType==1?p:p.parentNode)||l==p&&u==v;try{s.collapse(c,f),l&&(l!=c||u!=f)&&s.extend&&s.extend(l,u)}catch{}return d!=null&&(s.caretBidiLevel=d),g})}let PX=null,CX=null,IX=!1;function F3e(e,t,n){return PX==t&&CX==n?IX:(PX=t,CX=n,IX=n=="up"||n=="down"?C3e(e,t,n):N3e(e,t,n))}const ws=0,NX=1,gh=2,vu=3;class sy{constructor(t,n,r,i){this.parent=t,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=ws,r.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,n,r){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let n=0;nYi(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=t;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,i=t;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return o}}getDesc(t){let n=t.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(t,n,r){for(let i=t;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;nt||a instanceof Mz){i=t-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof wz&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?Yi(o.dom)+1:0}}else{let o,a=!0;for(;o=r=c&&n<=u-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,n,c);t=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){i=Yi(d.dom)+1;break}t-=d.size}i==-1&&(i=0)}if(i>-1&&(u>n||s==this.children.length-1)){n=u;for(let c=s+1;ch&&ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n>18]+n[(258048&t)>>12]+n[(4032&t)>>6]+n[63&t];return o===1?s+=n[(252&(t=r[a]))>>2]+n[(3&t)<<4]+"==":o===2&&(s+=n[(64512&(t=r[a]<<8|r[a+1]))>>10]+n[(1008&t)>>4]+n[(15&t)<<2]+"="),s}function b5(e){return e.substr(2+(~-e.lastIndexOf(".")>>>0))}function W0(e,t){if(!e)return e;var n="";if(e.constructor===Array)for(var r=0;r":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(n){return t[n]})}function YT(e){var t="";switch(e.toLowerCase()){case"jpg":case"jpeg":t="image/jpeg";break;case"png":t="image/png";break;case"gif":t="image/gif";break;case"emf":t="image/x-emf";break;case"wmf":t="image/x-wmf";break;case"svg":t="image/svg+xml";break;case"mp4":t="video/mp4";break;case"webm":t="video/webm";break;case"ogg":t="video/ogg";break;case"avi":t="video/avi";break;case"mpg":t="video/mpg";break;case"wmv":t="video/wmv";break;case"mp3":t="audio/mpeg";break;case"wav":t="audio/wav";break;case"tif":case"tiff":t="image/tiff"}return t}function xRe(e){return/^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/.test(e)}function V0(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function t2(e,t,n,r){var i,o;if(n)o=n;else{var a=Oe(t.slideContent,["p:sld","p:clrMapOvr","a:overrideClrMapping","attrs"]);o=a||(a=Oe(t.slideLayoutContent,["p:sldLayout","p:clrMapOvr","a:overrideClrMapping","attrs"]))||Oe(t.slideMasterContent,["p:sldMaster","p:clrMap","attrs"])}var s=e.substr(2);if(s==="phClr"&&r)i=r;else{if(o)switch(s){case"tx1":case"tx2":case"bg1":case"bg2":e="a:"+o[s]}else switch(e){case"tx1":e="a:dk1";break;case"tx2":e="a:dk2";break;case"bg1":e="a:lt1";break;case"bg2":e="a:lt2"}var l=Oe(t.themeContent,["a:theme","a:themeElements","a:clrScheme",e]);!(i=Oe(l,["a:srgbClr","attrs","val"]))&&l&&(i=Oe(l,["a:sysClr","attrs","lastClr"]))}return i}function wg(e,t,n){var r=e["p:spPr"]["a:ln"],i=parseInt(Oe(r,["attrs","w"]))/12700;isNaN(i)&&(i=r||t!=="obj"?0:1);var o=Oe(r,["a:solidFill","a:srgbClr","attrs","val"]);if(!o){var a=Oe(r,["a:solidFill","a:schemeClr"]);o=t2("a:"+Oe(a,["attrs","val"]),n)}if(!o){var s=Oe(e,["p:style","a:lnRef","a:schemeClr"]);if(o=t2("a:"+Oe(s,["attrs","val"]),n)){var l=Oe(s,["a:shade","attrs","val"]);if(l){l=parseInt(l)/1e5;var u=yt("#"+o).toHsl();o=yt({h:u.h,s:u.s,l:u.l*l,a:u.a}).toHex()}}}o=o?"#".concat(o):"#000";var c="solid",f="0";switch(Oe(r,["a:prstDash","attrs","val"])){case"solid":c="solid",f="0";break;case"dash":c="dashed",f="5";break;case"dashDot":c="dashed",f="5, 5, 1, 5";break;case"dot":c="dotted",f="1, 5";break;case"lgDash":c="dashed",f="10, 5";break;case"lgDashDotDot":c="dotted",f="10, 5, 1, 5, 1, 5";break;case"sysDash":c="dashed",f="5, 2";break;case"sysDashDot":c="dotted",f="5, 2, 1, 5";break;case"sysDashDotDot":c="dotted",f="5, 2, 1, 5, 1, 5";break;case"sysDot":c="dotted",f="2, 5"}return{borderColor:o,borderWidth:i,borderType:c,strokeDasharray:f}}function x5(e,t,n){return n<0&&(n+=6),n>=6&&(n-=6),n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e}function uf(e){var t="";return e["a:noFill"]&&(t="NO_FILL"),e["a:solidFill"]&&(t="SOLID_FILL"),e["a:gradFill"]&&(t="GRADIENT_FILL"),e["a:pattFill"]&&(t="PATTERN_FILL"),e["a:blipFill"]&&(t="PIC_FILL"),e["a:grpFill"]&&(t="GROUP_FILL"),t}function SRe(e,t,n){return ZT.apply(this,arguments)}function ZT(){return ZT=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u;return tr.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(o=n["a:blip"].attrs["r:embed"],t==="slideBg"||t==="slide"?a=Oe(r,["slideResObj",o,"target"]):t==="slideLayoutBg"?a=Oe(r,["layoutResObj",o,"target"]):t==="slideMasterBg"?a=Oe(r,["masterResObj",o,"target"]):t==="themeBg"?a=Oe(r,["themeResObj",o,"target"]):t==="diagramBg"&&(a=Oe(r,["diagramResObj",o,"target"])),a){c.next=4;break}return c.abrupt("return",a);case 4:if(i=Oe(r,["loaded-images",a])){c.next=15;break}if(a=MG(a),(s=a.split(".").pop())!=="xml"){c.next=10;break}return c.abrupt("return",void 0);case 10:return c.next=12,r.zip.file(a).async("arraybuffer");case 12:l=c.sent,u=YT(s),i="data:".concat(u,";base64,").concat(wG(l));case 15:return c.abrupt("return",i);case 16:case"end":return c.stop()}},e)})),ZT.apply(this,arguments)}function T1(e,t,n){return LG.apply(this,arguments)}function LG(){return(LG=pa(tr.mark(function e(t,n,r){var i,o,a,s;return tr.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,SRe(n,t["a:blipFill"],r);case 2:return i=l.sent,o=t["a:blipFill"]["a:blip"],a=Oe(o,["a:alphaModFix","attrs"]),s=1,a&&a.amt&&a.amt!==""&&(s=parseInt(a.amt)/1e5),l.abrupt("return",{picBase64:i,opacity:s});case 8:case"end":return l.stop()}},e)}))).apply(this,arguments)}function D0(e,t,n,r){if(e){for(var i=e["a:gradFill"],o=i["a:gsLst"]["a:gs"],a=[],s=0;s1e3&&(x=A-1e3,S=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],L=[],Object.keys(S).forEach(function(xe){var ye=S[xe];if(xe!=="attrs")if(ye.constructor===Array)for(var Me=0;Me1e3)){Ve.next=89;break}if(Y=B-1e3,Q=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],K=[],Object.keys(Q).forEach(function(xe){var ye=Q[xe];if(xe!=="attrs")if(ye.constructor===Array)for(var Me=0;Me1e3)){Ve.next=142;break}if(ne=ee-1e3,oe=t.themeContent["a:theme"]["a:themeElements"]["a:fmtScheme"]["a:bgFillStyleLst"],he=[],Object.keys(oe).forEach(function(xe){var ye=oe[xe];if(xe!=="attrs")if(ye.constructor===Array)for(var Me=0;Me=360&&(N-=360),k?yt({h:N,s:P.s,l:P.l,a:P.a}).toHex8():yt({h:N,s:P.s,l:P.l,a:P.a}).toHex()}(s,R,g));var A=parseInt(Oe(i,["a:lumMod","attrs","val"]))/1e5;isNaN(A)||(s=function(M,_,k){var P=yt(M).toHsl(),N=P.l*_;return N>=1&&(N=1),k?yt({h:P.h,s:P.s,l:N,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:N,a:P.a}).toHex()}(s,A,g));var x=parseInt(Oe(i,["a:lumOff","attrs","val"]))/1e5;isNaN(x)||(s=function(M,_,k){var P=yt(M).toHsl(),N=_+P.l;return N>=1?k?yt({h:P.h,s:P.s,l:1,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:1,a:P.a}).toHex():k?yt({h:P.h,s:P.s,l:N,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:N,a:P.a}).toHex()}(s,x,g));var S=parseInt(Oe(i,["a:satMod","attrs","val"]))/1e5;isNaN(S)||(s=function(M,_,k){var P=yt(M).toHsl(),N=P.s*_;return N>=1&&(N=1),k?yt({h:P.h,s:N,l:P.l,a:P.a}).toHex8():yt({h:P.h,s:N,l:P.l,a:P.a}).toHex()}(s,S,g));var L=parseInt(Oe(i,["a:shade","attrs","val"]))/1e5;isNaN(L)||(s=function(M,_,k){var P=yt(M).toHsl();_>=1&&(_=1);var N=Math.min(P.l*_,1);return k?yt({h:P.h,s:P.s,l:N,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:N,a:P.a}).toHex()}(s,L,g));var w=parseInt(Oe(i,["a:tint","attrs","val"]))/1e5;return isNaN(w)||(s=function(M,_,k){var P=yt(M).toHsl();_>=1&&(_=1);var N=P.l*_+(1-_);return k?yt({h:P.h,s:P.s,l:N,a:P.a}).toHex8():yt({h:P.h,s:P.s,l:N,a:P.a}).toHex()}(s,w,g)),s&&s.indexOf("#")===-1&&(s="#"+s),s}function xo(e){var t=[];if(!e)return t;if(e["c:xVal"]){var n=[];W0(e["c:xVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n),n=[],W0(e["c:yVal"]["c:numRef"]["c:numCache"]["c:pt"],function(r){return n.push(parseFloat(r["c:v"])),""}),t.push(n)}else W0(e,function(r,i){var o=[],a=Oe(r,["c:tx","c:strRef","c:strCache","c:pt","c:v"])||i,s={};return Oe(r,["c:cat","c:strRef","c:strCache","c:pt"])?W0(r["c:cat"]["c:strRef"]["c:strCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}):Oe(r,["c:cat","c:numRef","c:numCache","c:pt"])&&W0(r["c:cat"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return s[l.attrs.idx]=l["c:v"],""}),Oe(r,["c:val","c:numRef","c:numCache","c:pt"])&&W0(r["c:val"]["c:numRef"]["c:numCache"]["c:pt"],function(l){return o.push({x:l.attrs.idx,y:parseFloat(l["c:v"])}),""}),t.push({key:a,values:o,xlabels:s}),""});return t}function MRe(e){var t=null;for(var n in e)switch(n){case"c:lineChart":t={type:"lineChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),marker:!!e[n]["c:marker"]};break;case"c:line3DChart":t={type:"line3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:barChart":t={type:"barChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),barDir:Oe(e[n],["c:barDir","attrs","val"])};break;case"c:bar3DChart":t={type:"bar3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"]),barDir:Oe(e[n],["c:barDir","attrs","val"])};break;case"c:pieChart":t={type:"pieChart",data:xo(e[n]["c:ser"])};break;case"c:pie3DChart":t={type:"pie3DChart",data:xo(e[n]["c:ser"])};break;case"c:doughnutChart":t={type:"doughnutChart",data:xo(e[n]["c:ser"]),holeSize:Oe(e[n],["c:holeSize","attrs","val"])};break;case"c:areaChart":t={type:"areaChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:area3DChart":t={type:"area3DChart",data:xo(e[n]["c:ser"]),grouping:Oe(e[n],["c:grouping","attrs","val"])};break;case"c:scatterChart":t={type:"scatterChart",data:xo(e[n]["c:ser"]),style:Oe(e[n],["c:scatterStyle","attrs","val"])};break;case"c:bubbleChart":t={type:"bubbleChart",data:xo(e[n]["c:ser"])};break;case"c:radarChart":t={type:"radarChart",data:xo(e[n]["c:ser"]),style:Oe(e[n],["c:radarStyle","attrs","val"])};break;case"c:surfaceChart":t={type:"surfaceChart",data:xo(e[n]["c:ser"])};break;case"c:surface3DChart":t={type:"surface3DChart",data:xo(e[n]["c:ser"])};break;case"c:stockChart":t={type:"stockChart",data:xo(e[n]["c:ser"])}}return t}function LRe(e,t,n,r){var i=Oe(e,["a:pPr","attrs","algn"]);if(i||(i=Oe(t,["a:pPr","attrs","algn"])),!i)if(n==="title"||n==="ctrTitle"||n==="subTitle"){var o=1,a=Oe(t,["a:pPr","attrs","lvl"]);a&&(o=parseInt(a)+1);var s="a:lvl"+o+"pPr";(i=Oe(r,["slideLayoutTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"]))||(i=Oe(r,["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle",s,"attrs","algn"])),i||(i=Oe(r,["slideMasterTextStyles","p:titleStyle",s,"attrs","algn"])),i||n!=="subTitle"||(i=Oe(r,["slideMasterTextStyles","p:bodyStyle",s,"attrs","algn"]))}else i=Oe(r,n==="body"?["slideMasterTextStyles","p:bodyStyle","a:lvl1pPr","attrs","algn"]:["slideMasterTables","typeTable",n,"p:txBody","a:lstStyle","a:lvl1pPr","attrs","algn"]);var l="left";if(i)switch(i){case"l":l="left";break;case"r":l="right";break;case"ctr":l="center";break;case"just":case"dist":l="justify";break;default:l="inherit"}return l}var Mi=72/914400;function Gv(e,t,n){var r;return e?r=e["a:off"].attrs:t?r=t["a:off"].attrs:n&&(r=n["a:off"].attrs),r?{top:parseInt(r.y)*Mi,left:parseInt(r.x)*Mi}:{top:0,left:0}}function zv(e,t,n){var r;return e?r=e["a:ext"].attrs:t?r=t["a:ext"].attrs:n&&(r=n["a:ext"].attrs),r?{width:parseInt(r.cx)*Mi,height:parseInt(r.cy)*Mi}:{width:0,height:0}}function _G(e,t){var n=ir(e,void 0,void 0,t),r=e.attrs,i=r.dir?parseInt(r.dir)/6e4:0,o=parseInt(r.dist)*Mi,a=r.blurRad?parseInt(r.blurRad)*Mi:"",s=o*Math.sin(i*Math.PI/180);return{h:o*Math.cos(i*Math.PI/180),v:s,blur:a,color:n}}function ZE(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(l,u){if(l){if(typeof l=="string")return QE(l,u);var c=Object.prototype.toString.call(l).slice(8,-1);if(c==="Object"&&l.constructor&&(c=l.constructor.name),c==="Map"||c==="Set")return Array.from(l);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return QE(l,u)}}(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function QE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&p.shift(),(d=d.concat(p)).sort(function(R,A){return!R.attrs||!A.attrs||R.attrs.order-A.attrs.order})));var v=LRe(f,t,r,i),g=TRe(f);if(g?(u?u&&u!==g&&(a+=""),a+="<".concat(g,">"),u=g):(a+="<".concat(g,">"),u=g),a+='
  • ')):(u&&(a+=""),u=""),a+='

    ')),d){var m,y=ZE(d);try{for(y.s();!(m=y.n()).done;)a+=HE(m.value,f,e,s,n,r,i)}catch(R){y.e(R)}finally{y.f()}}else a+=HE(f,t,e,s,n,r,i);a+=g?"

  • ":"

    "}}catch(R){c.e(R)}finally{c.f()}return a}function TRe(e){var t=e["a:pPr"];return t?t["a:buChar"]?"ul":t["a:buAutoNum"]?"ol":"":""}function HE(e,t,n,r,i,o,a){var s=n["a:lstStyle"],l=a.slideMasterTextStyles,u=1,c=Oe(t["a:pPr"],["attrs","lvl"]);c!==void 0&&(u=parseInt(c)+1);var f=e["a:t"];typeof f!="string"&&(f=Oe(e,["a:fld","a:t"])),typeof f!="string"&&(f=" ");var d="",h=function(M,_,k,P,N,C){var F,I=Oe(M,["a:rPr"]);if(I&&uf(I)==="SOLID_FILL"&&(F=ir(I["a:solidFill"],void 0,void 0,C)),!F&&Oe(k,["a:lvl"+N+"pPr","a:defRPr"])){var W=Oe(k,["a:lvl"+N+"pPr","a:defRPr"]);uf(W)==="SOLID_FILL"&&(F=ir(W["a:solidFill"],void 0,void 0,C))}if(!F){var D=Oe(_,["p:style","a:fontRef"]);D&&(F=ir(D,void 0,void 0,C)),!F&&P&&(F=ir(P,void 0,void 0,C))}return F||""}(e,t,s,r,u,a),p=function(M,_,k,P){var N,C;if(Oe(M,["a:rPr","attrs","sz"])&&(N=Oe(M,["a:rPr","attrs","sz"])/100),isNaN(N)||!N){var F=Oe(_,["p:txBody","a:lstStyle","a:lvl1pPr","a:defRPr","attrs","sz"]);N=parseInt(F)/100}return!isNaN(N)&&N||(k==="title"||k==="subTitle"||k==="ctrTitle"?C=Oe(P,["p:titleStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):k==="body"?C=Oe(P,["p:bodyStyle","a:lvl1pPr","a:defRPr","attrs","sz"]):k==="dt"||k==="sldNum"?C="1200":k||(C=Oe(P,["p:otherStyle","a:lvl1pPr","a:defRPr","attrs","sz"])),C&&(N=parseInt(C)/100)),Oe(M,["a:rPr","attrs","baseline"])&&!isNaN(N)&&(N-=10),(N=isNaN(N)||!N?18:N)+"pt"}(e,i,o,l),v=function(M,_,k){var P=Oe(M,["a:rPr","a:latin","attrs","typeface"]);if(!P){var N=Oe(k.themeContent,["a:theme","a:themeElements","a:fontScheme"]);P=Oe(N,_==="title"||_==="subTitle"||_==="ctrTitle"?["a:majorFont","a:latin","attrs","typeface"]:["a:minorFont","a:latin","attrs","typeface"])}return P||""}(e,o,a),g=function(M){return Oe(M,["a:rPr","attrs","b"])==="1"?"bold":""}(e),m=function(M){return Oe(M,["a:rPr","attrs","i"])==="1"?"italic":""}(e),y=function(M){return Oe(M,["a:rPr","attrs","u"])==="sng"?"underline":""}(e),R=function(M){return Oe(M,["a:rPr","attrs","strike"])==="sngStrike"?"line-through":""}(e),A=function(M){var _=Oe(M,["a:rPr","attrs","spc"]);return _?parseInt(_)/100+"pt":""}(e),x=function(M,_){var k=Oe(M,["a:rPr","a:effectLst","a:outerShdw"]);if(k){var P=_G(k,_);if(P){var N=P.h,C=P.v,F=P.blur,I=P.color;if(!isNaN(C)&&!isNaN(N))return N+"pt "+C+"pt "+(F?F+"pt":"")+" "+I}}return""}(e,a),S=function(M){var _=Oe(M,["a:rPr","attrs","baseline"]);return _?parseInt(_)>0?"super":"sub":""}(e);h&&(d+="color: ".concat(h,";")),p&&(d+="font-size: ".concat(p,";")),v&&(d+="font-family: ".concat(v,";")),g&&(d+="font-weight: ".concat(g,";")),m&&(d+="font-style: ".concat(m,";")),y&&(d+="text-decoration: ".concat(y,";")),R&&(d+="text-decoration-line: ".concat(R,";")),A&&(d+="letter-spacing: ".concat(A,";")),S&&(d+="vertical-align: ".concat(S,";")),x&&(d+="text-shadow: ".concat(x,";"));var L=Oe(e,["a:rPr","a:hlinkClick","attrs","r:id"]);if(L){var w=a.slideResObj[L].target;return'').concat(f.replace(/\t/g,"    ").replace(/\s/g," "),"")}return'').concat(f.replace(/\t/g,"    ").replace(/\s/g," "),"")}function _Re(e,t,n,r,i,o,a){var s,l=i;if(o>=i)for(;l<=o;){var u=l*(Math.PI/180),c=e+Math.cos(u)*n,f=t+Math.sin(u)*r;l===i&&(s=" M"+c+" "+f),s+=" L"+c+" "+f,l++}else for(;l>o;){var d=l*(Math.PI/180),h=e+Math.cos(d)*n,p=t+Math.sin(d)*r;l===i&&(s=" M "+h+" "+p),s+=" L "+h+" "+p,l--}return s+=""}function KE(e,t,n,r){var i,o,a,s,l,u=Oe(e,["attrs","rowSpan"]),c=Oe(e,["attrs","gridSpan"]),f=Oe(e,["attrs","vMerge"]),d=Oe(e,["attrs","hMerge"]),h=Oe(e,["a:tcPr"]);return h&&(i=TG({"p:spPr":h},void 0,r)),i||(n&&(s=Oe(t,[n,"a:tcStyle","a:fill","a:solidFill"])),s&&(i=ir(s,void 0,void 0,r))),n&&(l=Oe(t,[n,"a:tcTxStyle"])),l&&(o=ir(l,void 0,void 0,r),Oe(l,["attrs","b"])==="on"&&(a=!0)),{fillColor:i,fontColor:o,fontBold:a,rowSpan:u?+u:void 0,colSpan:c?+c:void 0,vMerge:f?+f:void 0,hMerge:d?+d:void 0}}function ORe(e,t,n,r,i){var o,a,s;if(r&&r["a:wholeTbl"]){var l=Oe(r,["a:wholeTbl","a:tcStyle","a:fill","a:solidFill"]);if(l){var u=ir(l,void 0,void 0,i);u&&(o=u)}var c=Oe(r,["a:wholeTbl","a:tcTxStyle"]);if(c){var f=ir(c,void 0,void 0,i);f&&(a=f),Oe(c,["attrs","b"])==="on"&&(s=!0)}}if(t===0&&n.isFrstRowAttr===1&&r){var d=Oe(r,["a:firstRow","a:tcStyle","a:fill","a:solidFill"]);if(d){var h=ir(d,void 0,void 0,i);h&&(o=h)}var p=Oe(r,["a:firstRow","a:tcTxStyle"]);if(p){var v=ir(p,void 0,void 0,i);v&&(a=v),Oe(p,["attrs","b"])==="on"&&(s=!0)}}else if(t>0&&n.isBandRowAttr===1&&r){if(o="",t%2==0&&r["a:band2H"]){var g=Oe(r,["a:band2H","a:tcStyle","a:fill","a:solidFill"]);if(g){var m=ir(g,void 0,void 0,i);m&&(o=m)}var y=Oe(r,["a:band2H","a:tcTxStyle"]);if(y){var R=ir(y,void 0,void 0,i);R&&(a=R)}Oe(y,["attrs","b"])==="on"&&(s=!0)}if(t%2!=0&&r["a:band1H"]){var A=Oe(r,["a:band1H","a:tcStyle","a:fill","a:solidFill"]);if(A){var x=ir(A,void 0,void 0,i);x&&(o=x)}var S=Oe(r,["a:band1H","a:tcTxStyle"]);if(S){var L=ir(S,void 0,void 0,i);L&&(a=L),Oe(S,["attrs","b"])==="on"&&(s=!0)}}}if(t===e.length-1&&n.isLstRowAttr===1&&r){var w=Oe(r,["a:lastRow","a:tcStyle","a:fill","a:solidFill"]);if(w){var M=ir(w,void 0,void 0,i);M&&(o=M)}var _=Oe(r,["a:lastRow","a:tcTxStyle"]);if(_){var k=ir(_,void 0,void 0,i);k&&(a=k),Oe(_,["attrs","b"])==="on"&&(s=!0)}}return{fillColor:o,fontColor:a,fontBold:s}}function S5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var l=n.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}function JE(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n").replaceAll(/&/g,"&").replaceAll(/'/g,"'").replaceAll(/"/g,'"')}(br(OG(e)[0]))}}function GT(e,t,n){return zT.apply(this,arguments)}function zT(){return zT=pa(tr.mark(function e(t,n,r){var i,o,a,s,l,u,c,f,d,h,p,v,g,m,y,R,A,x,S;return tr.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(i=Oe(t,["p:grpSpPr","a:xfrm"])){L.next=3;break}return L.abrupt("return",null);case 3:o=parseInt(i["a:off"].attrs.x)*Mi,a=parseInt(i["a:off"].attrs.y)*Mi,s=parseInt(i["a:chOff"].attrs.x)*Mi,l=parseInt(i["a:chOff"].attrs.y)*Mi,u=parseInt(i["a:ext"].attrs.cx)*Mi,c=parseInt(i["a:ext"].attrs.cy)*Mi,f=parseInt(i["a:chExt"].attrs.cx)*Mi,d=parseInt(i["a:chExt"].attrs.cy)*Mi,(h=Oe(i,["attrs","rot"])||0)&&(h=e2(h)),p=u/f,v=c/d,g=[],L.t0=tr.keys(t);case 17:if((L.t1=L.t0()).done){L.next=47;break}if(m=L.t1.value,t[m].constructor!==Array){L.next=41;break}y=zo(t[m]),L.prev=21,y.s();case 23:if((R=y.n()).done){L.next=31;break}return A=R.value,L.next=27,Fx(m,A,n,r);case 27:(x=L.sent)&&g.push(x);case 29:L.next=23;break;case 31:L.next=36;break;case 33:L.prev=33,L.t2=L.catch(21),y.e(L.t2);case 36:return L.prev=36,y.f(),L.finish(36);case 39:L.next=45;break;case 41:return L.next=43,Fx(m,t[m],n,r);case 43:(S=L.sent)&&g.push(S);case 45:L.next=17;break;case 47:return L.abrupt("return",{type:"group",top:a,left:o,width:u,height:c,rotate:h,elements:g.map(function(w){return vh(vh({},w),{},{left:(w.left-s)*p,top:(w.top-l)*v,width:w.width*p,height:w.height*v})})});case 48:case"end":return L.stop()}},e,null,[[21,33,36,39]])})),zT.apply(this,arguments)}function FG(e,t,n){var r,i,o=Oe(e,["p:nvSpPr","p:cNvPr","attrs","name"]),a=Oe(e,["p:nvSpPr","p:nvPr","p:ph","attrs","idx"]),s=Oe(e,["p:nvSpPr","p:nvPr","p:ph","attrs","type"]);return s?(r=t.slideLayoutTables.typeTable[s],i=t.slideMasterTables.typeTable[s]):a&&(r=t.slideLayoutTables.idxTable[a],i=t.slideMasterTables.idxTable[a]),s||Oe(e,["p:nvSpPr","p:cNvSpPr","attrs","txBox"])==="1"&&(s="text"),s||(s=Oe(r,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=Oe(i,["p:nvSpPr","p:nvPr","p:ph","attrs","type"])),s||(s=n==="diagramBg"?"diagram":"obj"),EG(e,r,i,o,s,t)}function WRe(e,t){return EG(e,void 0,void 0,e["p:nvCxnSpPr"]["p:cNvPr"].attrs.name,e["p:nvCxnSpPr"]["p:nvPr"]["p:ph"]===void 0?void 0:e["p:nvSpPr"]["p:nvPr"]["p:ph"].attrs.type,t)}function EG(e,t,n,r,i,o){var a,s=["p:spPr","a:xfrm"],l=Oe(e,s),u=Oe(t,s),c=Oe(n,s),f=Oe(e,["p:spPr","a:prstGeom","attrs","prst"]),d=Oe(e,["p:spPr","a:custGeom"]),h=Gv(l,u,c),p=h.top,v=h.left,g=zv(l,u,c),m=g.width,y=g.height,R=Oe(l,["attrs","flipV"])==="1",A=Oe(l,["attrs","flipH"])==="1",x=e2(Oe(l,["attrs","rot"])),S=Oe(e,["p:txXfrm"]);if(S){var L=Oe(S,["attrs","rot"]);L&&(a=e2(L)+90)}else a=x;var w="";e["p:txBody"]&&(w=HT(e["p:txBody"],e,t,i,o));var M,_=wg(e,i,o),k=_.borderColor,P=_.borderWidth,N=_.borderType,C=_.strokeDasharray,F=TG(e,void 0,o)||"",I=Oe(e,["p:spPr","a:effectLst","a:outerShdw"]);I&&(M=_G(I,o));var W=function(Y,Q,K){var q=Oe(Y,["p:txBody","a:bodyPr","attrs","anchor"]);return q||(q=Oe(Q,["p:txBody","a:bodyPr","attrs","anchor"]))||(q=Oe(K,["p:txBody","a:bodyPr","attrs","anchor"]))||(q="t"),q==="ctr"?"mid":q==="b"?"down":"up"}(e,t,n),D=Oe(e,["p:txBody","a:bodyPr","attrs","vert"])==="eaVert",Z={left:v,top:p,width:m,height:y,borderColor:k,borderWidth:P,borderType:N,borderStrokeDasharray:C,fillColor:F,content:w,isFlipV:R,isFlipH:A,rotate:x,vAlign:W,name:r};if(M&&(Z.shadow=M),d&&i!=="diagram"){var re=Oe(l,["a:ext","attrs"]),B=function(Y,Q,K){var q=Oe(Y,["a:pathLst"]),$=Oe(q,["a:path"]);Array.isArray($)&&($=$.pop());var de=parseInt($.attrs.w),G=parseInt($.attrs.h),Ae=de===0?0:1/de*Q,ce=G===0?0:1/G*K,fe="",le=Oe($,["a:moveTo"]),j=$["a:lnTo"],X=$["a:cubicBezTo"],J=$["a:arcTo"],se=Oe($,["a:close"]);Array.isArray(le)||(le=[le]);var ee=[];if(le.length>0){if(Object.keys(le).forEach(function(Ye){var ot=le[Ye]["a:pt"];ot&&Object.keys(ot).forEach(function(ke){var Ge=ot[ke],rt=Ge.x,bt=Ge.y,dt=Ge.order;ee.push({type:"movto",x:rt,y:bt,order:dt})})}),j&&Object.keys(j).forEach(function(Ye){var ot=j[Ye]["a:pt"];ot&&Object.keys(ot).forEach(function(ke){var Ge=ot[ke],rt=Ge.x,bt=Ge.y,dt=Ge.order;ee.push({type:"lnto",x:rt,y:bt,order:dt})})}),X){var ne=[];Array.isArray(X)||(X=[X]),Object.keys(X).forEach(function(Ye){ne.push(X[Ye]["a:pt"])}),ne.forEach(function(Ye){var ot=[];Ye.forEach(function(Ge){var rt={x:Ge.attrs.x,y:Ge.attrs.y};ot.push(rt)});var ke=Ye[0].attrs.order;ee.push({type:"cubicBezTo",cubBzPt:ot,order:ke})})}if(J){var oe=J.attrs,he=oe.order,ue=oe.hR,ge=oe.wR,Re=oe.stAng,Ee=oe.swAng,Ne=0,He=0,Ve=Oe(J,["a:pt","attrs"]);Ve&&(Ne=Ve.x,He=Ve.y),ee.push({type:"arcTo",hR:ue,wR:ge,stAng:Re,swAng:Ee,shftX:Ne,shftY:He,order:he})}se&&(Array.isArray(se)||(se=[se]),Object.keys(se).forEach(function(){ee.push({type:"close",order:1/0})})),ee.sort(function(Ye,ot){return Ye.order-ot.order});for(var xe=0;xe0&&R.isBandColAttr===1&&(R.isFrstColAttr!==1||C!==0)&&(R.isLstRowAttr!==1||C!==P.length-1)&&Y!==re.length-1&&Y%2!=0){var q=Oe(n,["a:band2V"]);q===void 0?(q=Oe(n,["a:band1V"]))&&(K="a:band2V"):K="a:band2V"}Y===re.length-1&&R.isLstColAttr===1&&(K="a:lastCol",R.isLstRowAttr===1&&C===P.length-1&&Oe(n,["a:swCell"])?K="a:swCell":R.isFrstRowAttr===1&&C===0&&Oe(n,["a:nwCell"])&&(K="a:nwCell"));var $=HT(Q["a:txBody"],Q,void 0,void 0,t),de=KE(Q,n,K,t),G={text:$};de.rowSpan&&(G.rowSpan=de.rowSpan),de.colSpan&&(G.colSpan=de.colSpan),de.vMerge&&(G.vMerge=de.vMerge),de.hMerge&&(G.hMerge=de.hMerge),(de.fontBold||Z)&&(G.fontBold=de.fontBold||Z),(de.fontColor||D)&&(G.fontColor=de.fontColor||D),(de.fillColor||W||_)&&(G.fillColor=de.fillColor||W||_),B.push(G)}else{var Ae=void 0;if(R.isFrstColAttr===1&&R.isLstRowAttr!==1)Ae="a:firstCol";else if(R.isBandColAttr===1&&R.isLstRowAttr!==1){var ce=Oe(n,["a:band2V"]);(ce||(ce=Oe(n,["a:band1V"])))&&(Ae="a:band2V")}R.isLstColAttr===1&&R.isLstRowAttr!==1&&(Ae="a:lastCol");var fe=HT(re["a:txBody"],re,void 0,void 0,t),le=KE(re,n,Ae,t),j={text:fe};le.rowSpan&&(j.rowSpan=le.rowSpan),le.colSpan&&(j.colSpan=le.colSpan),le.vMerge&&(j.vMerge=le.vMerge),le.hMerge&&(j.hMerge=le.hMerge),(le.fontBold||Z)&&(j.fontBold=le.fontBold||Z),(le.fontColor||D)&&(j.fontColor=le.fontColor||D),(le.fillColor||W||_)&&(j.fillColor=le.fillColor||W||_),B.push(j)}N.push(B)}return vh({type:"table",top:s,left:l,width:c,height:f,data:N},r||{})}function BRe(e,t){return jT.apply(this,arguments)}function jT(){return jT=pa(tr.mark(function e(t,n){var r,i,o,a,s,l,u,c,f,d,h,p,v;return tr.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return r=Oe(t,["p:xfrm"]),i=Gv(r,void 0,void 0),o=i.top,a=i.left,s=zv(r,void 0,void 0),l=s.width,u=s.height,c=t["a:graphic"]["a:graphicData"]["c:chart"].attrs["r:id"],f=n.slideResObj[c].target,g.next=7,no(n.zip,f);case 7:if(d=g.sent,h=Oe(d,["c:chartSpace","c:chart","c:plotArea"]),p=MRe(h)){g.next=12;break}return g.abrupt("return",{});case 12:return v={type:"chart",top:o,left:a,width:l,height:u,data:p.data,chartType:p.type},p.marker!==void 0&&(v.marker=p.marker),p.barDir!==void 0&&(v.barDir=p.barDir),p.holeSize!==void 0&&(v.holeSize=p.holeSize),p.grouping!==void 0&&(v.grouping=p.grouping),p.style!==void 0&&(v.style=p.style),g.abrupt("return",v);case 19:case"end":return g.stop()}},e)})),jT.apply(this,arguments)}function YRe(e,t){var n=Oe(e,["p:xfrm"]),r=Gv(n,void 0,void 0),i=r.left,o=r.top,a=zv(n,void 0,void 0),s=a.width,l=a.height,u=Oe(t.digramFileContent,["p:drawing","p:spTree","p:sp"]),c=[];if(u){var f,d=zo(u);try{for(d.s();!(f=d.n()).done;){var h=FG(f.value,t,"diagramBg");h&&c.push(h)}}catch(p){d.e(p)}finally{d.f()}}return{type:"diagram",left:i,top:o,width:s,height:l,elements:c}}const ri=" ";function ZRe(e){let t="";Array.isArray(e)||(e=[e]);for(let n=0;ne.phi1&&(e.phi2-=2*cf),e.sweepFlag===1&&e.phi2r)return[];if(r===0)return[[e*n/(e*e+t*t),t*n/(e*e+t*t)]];const i=Math.sqrt(r);return[[(e*n+t*i)/(e*e+t*t),(t*n-e*i)/(e*e+t*t)],[(e*n-t*i)/(e*e+t*t),(t*n+e*i)/(e*e+t*t)]]}const Wu=Math.PI/180;function qE(e,t,n){return(1-n)*e+n*t}function eX(e,t,n,r){return e+Math.cos(r/180*cf)*t+Math.sin(r/180*cf)*n}function tX(e,t,n,r){const o=t-e,a=n-t,s=r-n,l=3*o+3*s-6*a,u=(a-o)*6,c=3*o;return Math.abs(l)<1e-6?[-c/u]:QRe(u/l,c/l,1e-6)}function nX(e,t,n,r,i){const o=1-i,a=o*o*o,s=3*o*o*i,l=3*o*i*i,u=i*i*i;return e*a+t*s+n*l+r*u}function QRe(e,t,n=1e-6){const r=e*e/4-t;if(r<-n)return[];if(r<=n)return[-e/2];const i=Math.sqrt(r);return[-(e/2)-i,-(e/2)+i]}function HRe(e,t,n){e.cX||uk(e,t,n);const r=Math.min(e.phi1,e.phi2),i=Math.max(e.phi1,e.phi2),o=i-r,a=Math.ceil(o/90),s=new Array(a);let l=t,u=n;for(let c=0;c{const[M,_]=qT([L*e.rX,w*e.rY],e.xRot);return[e.cX+M,e.cY+_]};[x.x1,x.y1]=S(v,g),[x.x2,x.y2]=S(R,A),[x.x,x.y]=S(m,y),e.relative&&(x.x1-=l,x.y1-=u,x.x2-=l,x.y2-=u,x.x-=l,x.y-=u),[l,u]=[x.x,x.y],s[c]=x}return s}function KRe(e=1e13){gl(e);function t(n){return Math.round(n*e)/e}return function(r){return"x1"in r&&typeof r.x1<"u"&&(r.x1=t(r.x1)),"y1"in r&&typeof r.y1<"u"&&(r.y1=t(r.y1)),"x2"in r&&typeof r.x2<"u"&&(r.x2=t(r.x2)),"y2"in r&&typeof r.y2<"u"&&(r.y2=t(r.y2)),"x"in r&&typeof r.x<"u"&&(r.x=t(r.x)),"y"in r&&typeof r.y<"u"&&(r.y=t(r.y)),"rX"in r&&typeof r.rX<"u"&&(r.rX=t(r.rX)),"rY"in r&&typeof r.rY<"u"&&(r.rY=t(r.rY)),r}}function XG(){return ml((e,t,n)=>(e.relative&&(typeof e.x1<"u"&&(e.x1+=t),typeof e.y1<"u"&&(e.y1+=n),typeof e.x2<"u"&&(e.x2+=t),typeof e.y2<"u"&&(e.y2+=n),typeof e.x<"u"&&(e.x+=t),typeof e.y<"u"&&(e.y+=n),e.relative=!1),e))}function GRe(){return ml((e,t,n)=>(e.relative||(typeof e.x1<"u"&&(e.x1-=t),typeof e.y1<"u"&&(e.y1-=n),typeof e.x2<"u"&&(e.x2-=t),typeof e.y2<"u"&&(e.y2-=n),typeof e.x<"u"&&(e.x-=t),typeof e.y<"u"&&(e.y-=n),e.relative=!0),e))}function zRe(e=!0,t=!0,n=!0){return ml((r,i,o,a,s)=>{if(isNaN(a)&&!(r.type<.MOVE_TO))throw new Error("path must start with moveto");return t&&r.type<.HORIZ_LINE_TO&&(r.type=lt.LINE_TO,r.y=r.relative?0:o),n&&r.type<.VERT_LINE_TO&&(r.type=lt.LINE_TO,r.x=r.relative?0:i),e&&r.type<.CLOSE_PATH&&(r.type=lt.LINE_TO,r.x=r.relative?a-i:a,r.y=r.relative?s-o:s),r.type<.ARC&&(r.rX===0||r.rY===0)&&(r.type=lt.LINE_TO,delete r.rX,delete r.rY,delete r.xRot,delete r.lArcFlag,delete r.sweepFlag),r})}function WG(){let e=NaN,t=NaN,n=NaN,r=NaN;return ml((i,o,a)=>(i.type<.SMOOTH_CURVE_TO&&(i.type=lt.CURVE_TO,e=isNaN(e)?o:e,t=isNaN(t)?a:t,i.x1=i.relative?o-e:2*o-e,i.y1=i.relative?a-t:2*a-t),i.type<.CURVE_TO?(e=i.relative?o+i.x2:i.x2,t=i.relative?a+i.y2:i.y2):(e=NaN,t=NaN),i.type<.SMOOTH_QUAD_TO&&(i.type=lt.QUAD_TO,n=isNaN(n)?o:n,r=isNaN(r)?a:r,i.x1=i.relative?o-n:2*o-n,i.y1=i.relative?a-r:2*a-r),i.type<.QUAD_TO?(n=i.relative?o+i.x1:i.x1,r=i.relative?a+i.y1:i.y1):(n=NaN,r=NaN),i))}function VG(){let e=NaN,t=NaN;return ml((n,r,i)=>{if(n.type<.SMOOTH_QUAD_TO&&(n.type=lt.QUAD_TO,e=isNaN(e)?r:e,t=isNaN(t)?i:t,n.x1=n.relative?r-e:2*r-e,n.y1=n.relative?i-t:2*i-t),n.type<.QUAD_TO){e=n.relative?r+n.x1:n.x1,t=n.relative?i+n.y1:n.y1;const o=n.x1,a=n.y1;n.type=lt.CURVE_TO,n.x1=((n.relative?0:r)+o*2)/3,n.y1=((n.relative?0:i)+a*2)/3,n.x2=(n.x+o*2)/3,n.y2=(n.y+a*2)/3}else e=NaN,t=NaN;return n})}function ml(e){let t=0,n=0,r=NaN,i=NaN;return function(a){if(isNaN(r)&&!(a.type<.MOVE_TO))throw new Error("path must start with moveto");const s=e(a,t,n,r,i);return a.type<.CLOSE_PATH&&(t=r,n=i),"x"in a&&typeof a.x<"u"&&(t=a.relative?t+a.x:a.x),"y"in a&&typeof a.y<"u"&&(n=a.relative?n+a.y:a.y),a.type<.MOVE_TO&&(r=t,i=n),s}}function JRe(e=0){gl(e);let t=NaN,n=NaN,r=NaN,i=NaN;return ml((o,a,s,l,u)=>{const c=Math.abs;let f=!1,d=0,h=0;if(o.type<.SMOOTH_CURVE_TO&&(d=isNaN(t)?0:a-t,h=isNaN(n)?0:s-n),o.type&(lt.CURVE_TO|lt.SMOOTH_CURVE_TO)?(t=o.relative?a+o.x2:o.x2,n=o.relative?s+o.y2:o.y2):(t=NaN,n=NaN),o.type<.SMOOTH_QUAD_TO?(r=isNaN(r)?a:2*a-r,i=isNaN(i)?s:2*s-i):o.type<.QUAD_TO?(r=o.relative?a+o.x1:o.x1,i=o.relative?s+o.y1:o.y2):(r=NaN,i=NaN),o.type<.LINE_COMMANDS||o.type<.ARC&&(o.rX===0||o.rY===0||!o.lArcFlag)||o.type<.CURVE_TO||o.type<.SMOOTH_CURVE_TO||o.type<.QUAD_TO||o.type<.SMOOTH_QUAD_TO){const p=typeof o.x>"u"?0:o.relative?o.x:o.x-a,v=typeof o.y>"u"?0:o.relative?o.y:o.y-s;d=isNaN(r)?typeof o.x1>"u"?d:o.relative?o.x:o.x1-a:r-a,h=isNaN(i)?typeof o.y1>"u"?h:o.relative?o.y:o.y1-s:i-s;const g=typeof o.x2>"u"?0:o.relative?o.x:o.x2-a,m=typeof o.y2>"u"?0:o.relative?o.y:o.y2-s;c(p)<=e&&c(v)<=e&&c(d)<=e&&c(h)<=e&&c(g)<=e&&c(m)<=e&&(f=!0)}return o.type<.CLOSE_PATH&&c(a-l)<=e&&c(s-u)<=e&&(f=!0),f?[]:o})}function ud(e,t,n,r,i,o){return gl(e,t,n,r,i,o),ml((a,s,l,u)=>{const c=a.x1,f=a.x2,d=a.relative&&!isNaN(u),h=typeof a.x<"u"?a.x:d?0:s,p=typeof a.y<"u"?a.y:d?0:l;a.type<.HORIZ_LINE_TO&&t!==0&&(a.type=lt.LINE_TO,a.y=a.relative?0:l),a.type<.VERT_LINE_TO&&n!==0&&(a.type=lt.LINE_TO,a.x=a.relative?0:s),typeof a.x<"u"&&(a.x=a.x*e+p*n+(d?0:i)),typeof a.y<"u"&&(a.y=h*t+a.y*r+(d?0:o)),typeof a.x1<"u"&&(a.x1=a.x1*e+a.y1*n+(d?0:i)),typeof a.y1<"u"&&(a.y1=c*t+a.y1*r+(d?0:o)),typeof a.x2<"u"&&(a.x2=a.x2*e+a.y2*n+(d?0:i)),typeof a.y2<"u"&&(a.y2=f*t+a.y2*r+(d?0:o));function v(m){return m*m}const g=e*r-t*n;if(typeof a.xRot<"u"&&(e!==1||t!==0||n!==0||r!==1))if(g===0)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=lt.LINE_TO;else{const m=a.xRot*Math.PI/180,y=Math.sin(m),R=Math.cos(m),A=1/v(a.rX),x=1/v(a.rY),S=v(R)*A+v(y)*x,L=2*y*R*(A-x),w=v(y)*A+v(R)*x,M=S*r*r-L*t*r+w*t*t,_=L*(e*r+t*n)-2*(S*n*r+w*e*t),k=S*n*n-L*e*n+w*e*e,P=(Math.atan2(_,M-k)+Math.PI)%Math.PI/2,N=Math.sin(P),C=Math.cos(P);a.rX=Math.abs(g)/Math.sqrt(M*v(C)+_*N*C+k*v(N)),a.rY=Math.abs(g)/Math.sqrt(M*v(N)-_*N*C+k*v(C)),a.xRot=P*180/Math.PI}return typeof a.sweepFlag<"u"&&0>g&&(a.sweepFlag=+!a.sweepFlag),a})}function $Re(e,t=0,n=0){gl(e,t,n);const r=Math.sin(e),i=Math.cos(e);return ud(i,r,-r,i,t-t*i+n*r,n-t*r-n*i)}function jRe(e,t=0){return gl(e,t),ud(1,0,0,1,e,t)}function qRe(e,t=e){return gl(e,t),ud(e,0,0,t,0,0)}function ebe(e){return gl(e),ud(1,0,Math.atan(e),1,0,0)}function tbe(e){return gl(e),ud(1,Math.atan(e),0,1,0,0)}function nbe(e=0){return gl(e),ud(-1,0,0,1,e,0)}function rbe(e=0){return gl(e),ud(1,0,0,-1,0,e)}function ibe(){return ml((e,t,n)=>lt.ARC===e.type?HRe(e,e.relative?0:t,e.relative?0:n):e)}function obe(){return ml((e,t,n)=>(e.relative&&(t=0,n=0),lt.ARC===e.type&&uk(e,t,n),e))}function DG(){return e=>({...e})}function abe(){const e=DG(),t=XG(),n=VG(),r=WG(),i=ml((o,a,s)=>{const l=r(n(t(e(o))));function u(f){f>i.maxX&&(i.maxX=f),fi.maxY&&(i.maxY=f),fh&&u(nX(a,l.x1,l.x2,l.x,h));const d=tX(s,l.y1,l.y2,l.y);for(const h of d)0h&&c(nX(s,l.y1,l.y2,l.y,h))}if(l.type<.ARC){u(l.x),c(l.y),uk(l,a,s);const f=l.xRot/180*Math.PI,d=Math.cos(f)*l.rX,h=Math.sin(f)*l.rX,p=-Math.sin(f)*l.rY,v=Math.cos(f)*l.rY,[g,m]=l.phi1l.phi2?[l.phi2+360,l.phi1+360]:[l.phi2,l.phi1],y=([x,S])=>{const w=Math.atan2(S,x)*180/Math.PI;return wg&&xg&&xe===" "||e===" "||e==="\r"||e===` +`,rX=e=>48<=e.charCodeAt(0)&&e.charCodeAt(0)<=57;class lbe extends UG{constructor(){super();Lr(this,"curNumber","");Lr(this,"curCommandType",-1);Lr(this,"curCommandRelative",!1);Lr(this,"canParseCommandOrComma",!0);Lr(this,"curNumberHasExp",!1);Lr(this,"curNumberHasExpDigits",!1);Lr(this,"curNumberHasDecimal",!1);Lr(this,"curArgs",[])}finish(n=[]){if(this.parse(" ",n),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return n}parse(n,r=[]){const i=o=>{r.push(o),this.curArgs.length=0,this.canParseCommandOrComma=!0};for(let o=0;ou)throw new SyntaxError(`Expected positive number, got "${u}" at index "${o}"`)}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError(`Expected a flag, got "${this.curNumber}" at index "${o}"`)}this.curArgs.push(u),this.curArgs.length===ube[this.curCommandType]&&(lt.HORIZ_LINE_TO===this.curCommandType?i({type:lt.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):lt.VERT_LINE_TO===this.curCommandType?i({type:lt.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===lt.MOVE_TO||this.curCommandType===lt.LINE_TO||this.curCommandType===lt.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),lt.MOVE_TO===this.curCommandType&&(this.curCommandType=lt.LINE_TO)):this.curCommandType===lt.CURVE_TO?i({type:lt.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===lt.SMOOTH_CURVE_TO?i({type:lt.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===lt.QUAD_TO?i({type:lt.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===lt.ARC&&i({type:lt.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!sbe(a)){if(a===","&&this.canParseCommandOrComma){this.canParseCommandOrComma=!1;continue}if(a==="+"||a==="-"||a==="."){this.curNumber=a,this.curNumberHasDecimal=a===".";continue}if(l){this.curNumber=a,this.curNumberHasDecimal=!1;continue}if(this.curArgs.length!==0)throw new SyntaxError(`Unterminated command at index ${o}.`);if(!this.canParseCommandOrComma)throw new SyntaxError(`Unexpected character "${a}" at index ${o}. Command cannot follow comma`);if(this.canParseCommandOrComma=!1,a==="z"||a==="Z"){r.push({type:lt.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1;continue}else if(a==="h"||a==="H")this.curCommandType=lt.HORIZ_LINE_TO,this.curCommandRelative=a==="h";else if(a==="v"||a==="V")this.curCommandType=lt.VERT_LINE_TO,this.curCommandRelative=a==="v";else if(a==="m"||a==="M")this.curCommandType=lt.MOVE_TO,this.curCommandRelative=a==="m";else if(a==="l"||a==="L")this.curCommandType=lt.LINE_TO,this.curCommandRelative=a==="l";else if(a==="c"||a==="C")this.curCommandType=lt.CURVE_TO,this.curCommandRelative=a==="c";else if(a==="s"||a==="S")this.curCommandType=lt.SMOOTH_CURVE_TO,this.curCommandRelative=a==="s";else if(a==="q"||a==="Q")this.curCommandType=lt.QUAD_TO,this.curCommandRelative=a==="q";else if(a==="t"||a==="T")this.curCommandType=lt.SMOOTH_QUAD_TO,this.curCommandRelative=a==="t";else if(a==="a"||a==="A")this.curCommandType=lt.ARC,this.curCommandRelative=a==="a";else throw new SyntaxError(`Unexpected character "${a}" at index ${o}.`)}}return r}transform(n){return Object.create(this,{parse:{value(i,o=[]){const a=Object.getPrototypeOf(this).parse.call(this,i);for(const s of a){const l=n(s);Array.isArray(l)?o.push(...l):o.push(l)}return o}}})}}const cr=class cr extends UG{constructor(n){super();Lr(this,"commands");typeof n=="string"?this.commands=cr.parse(n):this.commands=n}encode(){return cr.encode(this.commands)}getBounds(){const n=Si.CALCULATE_BOUNDS();return this.transform(n),n}transform(n){const r=[];for(const i of this.commands){const o=n(i);Array.isArray(o)?r.push(...o):r.push(o)}return this.commands=r,this}static encode(n){return ZRe(n)}static parse(n){const r=new lbe,i=[];return r.parse(n,i),r.finish(i),i}};Lr(cr,"CLOSE_PATH",1),Lr(cr,"MOVE_TO",2),Lr(cr,"HORIZ_LINE_TO",4),Lr(cr,"VERT_LINE_TO",8),Lr(cr,"LINE_TO",16),Lr(cr,"CURVE_TO",32),Lr(cr,"SMOOTH_CURVE_TO",64),Lr(cr,"QUAD_TO",128),Lr(cr,"SMOOTH_QUAD_TO",256),Lr(cr,"ARC",512),Lr(cr,"LINE_COMMANDS",cr.LINE_TO|cr.HORIZ_LINE_TO|cr.VERT_LINE_TO),Lr(cr,"DRAWING_COMMANDS",cr.HORIZ_LINE_TO|cr.VERT_LINE_TO|cr.LINE_TO|cr.CURVE_TO|cr.SMOOTH_CURVE_TO|cr.QUAD_TO|cr.SMOOTH_QUAD_TO|cr.ARC);let lt=cr;const ube={[lt.MOVE_TO]:2,[lt.LINE_TO]:2,[lt.HORIZ_LINE_TO]:1,[lt.VERT_LINE_TO]:1,[lt.CLOSE_PATH]:0,[lt.QUAD_TO]:4,[lt.SMOOTH_QUAD_TO]:2,[lt.CURVE_TO]:6,[lt.SMOOTH_CURVE_TO]:4,[lt.ARC]:7};var cbe=function(){function e(t,n){var r=[],i=!0,o=!1,a=void 0;try{for(var s=t[Symbol.iterator](),l;!(i=(l=s.next()).done)&&(r.push(l.value),!(n&&r.length===n));i=!0);}catch(u){o=!0,a=u}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return r}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),am=Math.PI*2,w5=function(t,n,r,i,o,a,s){var l=t.x,u=t.y;l*=n,u*=r;var c=i*l-o*u,f=o*l+i*u;return{x:c+a,y:f+s}},fbe=function(t,n){var r=n===1.5707963267948966?.551915024494:n===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(n/4),i=Math.cos(t),o=Math.sin(t),a=Math.cos(t+n),s=Math.sin(t+n);return[{x:i-o*r,y:o+i*r},{x:a+s*r,y:s-a*r},{x:a,y:s}]},iX=function(t,n,r,i){var o=t*i-n*r<0?-1:1,a=t*r+n*i;return a>1&&(a=1),a<-1&&(a=-1),o*Math.acos(a)},dbe=function(t,n,r,i,o,a,s,l,u,c,f,d){var h=Math.pow(o,2),p=Math.pow(a,2),v=Math.pow(f,2),g=Math.pow(d,2),m=h*p-h*g-p*v;m<0&&(m=0),m/=h*g+p*v,m=Math.sqrt(m)*(s===l?-1:1);var y=m*o/a*d,R=m*-a/o*f,A=c*y-u*R+(t+r)/2,x=u*y+c*R+(n+i)/2,S=(f-y)/o,L=(d-R)/a,w=(-f-y)/o,M=(-d-R)/a,_=iX(1,0,S,L),k=iX(S,L,w,M);return l===0&&k>0&&(k-=am),l===1&&k<0&&(k+=am),[A,x,_,k]},hbe=function(t){var n=t.px,r=t.py,i=t.cx,o=t.cy,a=t.rx,s=t.ry,l=t.xAxisRotation,u=l===void 0?0:l,c=t.largeArcFlag,f=c===void 0?0:c,d=t.sweepFlag,h=d===void 0?0:d,p=[];if(a===0||s===0)return[];var v=Math.sin(u*am/360),g=Math.cos(u*am/360),m=g*(n-i)/2+v*(r-o)/2,y=-v*(n-i)/2+g*(r-o)/2;if(m===0&&y===0)return[];a=Math.abs(a),s=Math.abs(s);var R=Math.pow(m,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(s,2);R>1&&(a*=Math.sqrt(R),s*=Math.sqrt(R));var A=dbe(n,r,i,o,a,s,f,h,v,g,m,y),x=cbe(A,4),S=x[0],L=x[1],w=x[2],M=x[3],_=Math.abs(M)/(am/4);Math.abs(1-_)<1e-7&&(_=1);var k=Math.max(Math.ceil(_),1);M/=k;for(var P=0;P{const t=new lt(e),n=[];for(const r of t.commands){const i=pbe[r.type];if((r.type===2||r.type===16)&&n.push({x:r.x,y:r.y,relative:r.relative,type:i}),r.type===32)n.push({x:r.x,y:r.y,curve:{type:"cubic",x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2},relative:r.relative,type:i});else if(r.type===128)n.push({x:r.x,y:r.y,curve:{type:"quadratic",x1:r.x1,y1:r.y1},relative:r.relative,type:i});else if(r.type===512){const o=n[n.length-1];if(!["M","L","Q","C"].includes(o.type))continue;const a=hbe({px:o.x,py:o.y,cx:r.x,cy:r.y,rx:r.rX,ry:r.rY,xAxisRotation:r.xRot,largeArcFlag:r.lArcFlag,sweepFlag:r.sweepFlag});for(const s of a)n.push({x:s.x,y:s.y,curve:{type:"cubic",x1:s.x1,y1:s.y1,x2:s.x2,y2:s.y2},relative:!1,type:"C"})}else if(r.type===1)n.push({close:!0,type:i});else continue}return n},vbe=e=>{try{const t=new lt(e),n=[],r=[];for(const i of t.commands){const o="x"in i?i.x:0,a="y"in i?i.y:0;n.push(o),r.push(a)}return{minX:Math.min(...n),minY:Math.min(...r),maxX:Math.max(...n),maxY:Math.max(...r)}}catch{return{minX:0,minY:0,maxX:0,maxY:0}}},aX=(e,t)=>e.replace(/font-size:\s*([\d.]+)pt/g,(n,r)=>`font-size: ${(parseFloat(r)*t).toFixed(1)}px`),gbe=()=>{const e=ut(),{theme:t}=De(ut()),{addSlidesFromData:n}=H2(),{isEmptySlide:r}=gc(),i=pe(!1),o=(l,u=!1)=>{const c=l[0],f=new FileReader;f.addEventListener("load",()=>{try{const d=JSON.parse(IH(f.result));u?(e.updateSlideIndex(0),e.setSlides(d)):r.value?e.setSlides(d):n(d)}catch{gn.error("无法正确读取 / 解析该文件")}}),f.readAsText(c)},a=l=>{let u=[0,0],c=[0,0];!l.isFlipV&&!l.isFlipH?(u=[0,0],c=[l.width,l.height]):l.isFlipV&&l.isFlipH?(u=[l.width,l.height],c=[0,0]):l.isFlipV&&!l.isFlipH?(u=[0,l.height],c=[l.width,0]):(u=[l.width,0],c=[0,l.height]);const f={type:"line",id:on(10),width:l.borderWidth||1,left:l.left,top:l.top,start:u,end:c,style:l.borderType,color:l.borderColor,points:["",/straightConnector/.test(l.shapType)?"arrow":""]};return/bentConnector/.test(l.shapType)&&(f.broken2=[Math.abs(u[0]-c[0])/2,Math.abs(u[1]-c[1])/2]),f};return{importSpecificFile:o,importPPTXFile:l=>{const u=l[0];if(!u)return;i.value=!0;const c=[];for(const d of ZO)c.push(...d.children);const f=new FileReader;f.onload=async d=>{const h=await PRe(d.target.result),p=96/72,v=h.size.width;e.setViewportSize(v*p);const g=[];for(const m of h.slides){const{type:y,value:R}=m.fill;let A;y==="image"?A={type:"image",image:{src:R.picBase64,size:"cover"}}:y==="gradient"?A={type:"gradient",gradient:{type:"linear",colors:R.colors.map(L=>({...L,pos:parseInt(L.pos)})),rotate:R.rot}}:A={type:"solid",color:R};const x={id:on(10),elements:[],background:A,remark:m.note||""},S=L=>{for(const w of L){const M=w.width||1,_=w.height||1,k=w.left,P=w.top;if(w.width=w.width*p,w.height=w.height*p,w.left=w.left*p,w.top=w.top*p,w.type==="text"){const N={type:"text",id:on(10),width:w.width,height:w.height,left:w.left,top:w.top,rotate:w.rotate,defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,content:aX(w.content,p),lineHeight:1,outline:{color:w.borderColor,width:w.borderWidth,style:w.borderType},fill:w.fillColor,vertical:w.isVertical};w.shadow&&(N.shadow={h:w.shadow.h*p,v:w.shadow.v*p,blur:w.shadow.blur*p,color:w.shadow.color}),x.elements.push(N)}else if(w.type==="image")x.elements.push({type:"image",id:on(10),src:w.src,width:w.width,height:w.height,left:w.left,top:w.top,fixedRatio:!0,rotate:w.rotate,flipH:w.isFlipH,flipV:w.isFlipV});else if(w.type==="audio")x.elements.push({type:"audio",id:on(10),src:w.blob,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,fixedRatio:!1,color:t.value.themeColor,loop:!1,autoplay:!1});else if(w.type==="video")x.elements.push({type:"video",id:on(10),src:w.blob||w.src,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,autoplay:!1});else if(w.type==="shape")if(w.shapType==="line"||/Connector/.test(w.shapType)){const N=a(w);x.elements.push(N)}else{const N=c.find(I=>I.pptxShapeType===w.shapType),C={mid:"middle",down:"bottom",up:"top"},F={type:"shape",id:on(10),width:w.width,height:w.height,left:w.left,top:w.top,viewBox:[200,200],path:"M 0 0 L 200 0 L 200 200 L 0 200 Z",fill:w.fillColor||"none",fixedRatio:!1,rotate:w.rotate,outline:{color:w.borderColor,width:w.borderWidth,style:w.borderType},text:{content:aX(w.content,p),defaultFontName:t.value.fontName,defaultColor:t.value.fontColor,align:C[w.vAlign]||"middle"},flipH:w.isFlipH,flipV:w.isFlipV};if(w.shadow&&(F.shadow={h:w.shadow.h*p,v:w.shadow.v*p,blur:w.shadow.blur*p,color:w.shadow.color}),N&&(F.path=N.path,F.viewBox=N.viewBox,N.pathFormula)){F.pathFormula=N.pathFormula,F.viewBox=[w.width,w.height];const I=u0[N.pathFormula];"editable"in I&&I.editable?(F.path=I.formula(w.width,w.height,I.defaultValue),F.keypoints=I.defaultValue):F.path=I.formula(w.width,w.height)}if(w.shapType==="custom")if(w.path.indexOf("NaN")!==-1)F.path="";else{F.special=!0,F.path=w.path;const{maxX:I,maxY:W}=vbe(F.path);F.viewBox=[I||M,W||_]}F.path&&x.elements.push(F)}else if(w.type==="table"){const N=w.data.length,C=w.data[0].length,F={fontname:t.value.fontName,color:t.value.fontColor},I=[];for(let D=0;D`坐标${Z+1}`),C=["X","Y"],F=w.data;else{const D=w.data;N=Object.values(D[0].xlabels),C=D.map(Z=>Z.key),F=D.map(Z=>Z.values.map(re=>re.y))}const I={};let W="bar";switch(w.chartType){case"barChart":case"bar3DChart":W="bar",w.barDir==="bar"&&(W="column"),(w.grouping==="stacked"||w.grouping==="percentStacked")&&(I.stack=!0);break;case"lineChart":case"line3DChart":(w.grouping==="stacked"||w.grouping==="percentStacked")&&(I.stack=!0),W="line";break;case"areaChart":case"area3DChart":(w.grouping==="stacked"||w.grouping==="percentStacked")&&(I.stack=!0),W="area";break;case"scatterChart":case"bubbleChart":W="scatter";break;case"pieChart":case"pie3DChart":W="pie";break;case"radarChart":W="radar";break;case"doughnutChart":W="ring";break}x.elements.push({type:"chart",id:on(10),chartType:W,width:w.width,height:w.height,left:w.left,top:w.top,rotate:0,themeColors:[t.value.themeColor],textColor:t.value.fontColor,data:{labels:N,legends:C,series:F},options:I})}else if(w.type==="group"||w.type==="diagram"){const N=w.elements.map(C=>({...C,left:C.left+k,top:C.top+P}));S(N)}}};S(m.elements),g.push(x)}e.updateSlideIndex(0),e.setSlides(g),i.value=!1},f.readAsArrayBuffer(u)},exporting:i}},mbe={class:"hotkey-doc"},ybe={class:"title"},Abe={class:"label"},Rbe={class:"value"},bbe=Xe({__name:"HotkeyDoc",setup(e){return(t,n)=>(U(),te("div",mbe,[(U(!0),te(We,null,tt(z(o2e),r=>(U(),te(We,{key:r.type},[V("div",ybe,vt(r.type),1),(U(!0),te(We,null,tt(r.children,i=>(U(),te("div",{class:"hotkey-item",key:i.label},[V("div",Abe,vt(i.label),1),V("div",Rbe,vt(i.value),1)]))),128))],64))),128))]))}}),xbe=Be(bbe,[["__scopeId","data-v-0762be00"]]),Sbe=["accept"],wbe=Xe({__name:"FileInput",props:{accept:{default:"image/*"}},emits:["change"],setup(e,{emit:t}){const n=t,r=pe(),i=()=>{r.value&&(r.value.value="",r.value.click())},o=a=>{const s=a.target.files;s&&n("change",s)};return(a,s)=>(U(),te("div",{class:"file-input",onClick:s[1]||(s[1]=l=>i())},[ar(a.$slots,"default",{},void 0,!0),V("input",{class:"input",type:"file",name:"upload",ref_key:"inputRef",ref:r,accept:a.accept,onChange:s[0]||(s[0]=l=>o(l))},null,40,Sbe)]))}}),$h=Be(wbe,[["__scopeId","data-v-1bd53d05"]]),Mbe=e=>(en("data-v-cb40f98b"),e=e(),tn(),e),Lbe={class:"spin"},Tbe=Mbe(()=>V("div",{class:"spinner"},null,-1)),_be={class:"text"},Obe=Xe({__name:"FullscreenSpin",props:{loading:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},tip:{default:""}},setup(e){return(t,n)=>t.loading?(U(),te("div",{key:0,class:$e(["fullscreen-spin",{mask:t.mask}])},[V("div",Lbe,[Tbe,V("div",_be,vt(t.tip),1)])],2)):Ze("",!0)}}),ty=Be(Obe,[["__scopeId","data-v-cb40f98b"]]),kbe={class:"header"},Pbe=Xe({__name:"Drawer",props:{visible:{type:Boolean},width:{default:320},contentStyle:{},placement:{default:"right"}},emits:["update:visible"],setup(e,{emit:t}){const n=e,r=t,i=pe(!1),o=we(()=>({width:n.width+"px",...n.contentStyle||{}}));return(a,s)=>{const l=Se("IconClose");return U(),_e(cO,{to:"body"},[O(Yh,{name:`drawer-slide-${a.placement}`,onAfterLeave:s[1]||(s[1]=u=>i.value=!1),onBeforeEnter:s[2]||(s[2]=u=>i.value=!0)},{default:ie(()=>[ze(V("div",{class:$e(["drawer",a.placement]),style:Le({width:n.width+"px"})},[V("div",kbe,[ar(a.$slots,"title",{},void 0,!0),V("span",{class:"close-btn",onClick:s[0]||(s[0]=u=>r("update:visible",!1))},[O(l)])]),i.value?(U(),te("div",{key:0,class:"content",style:Le(o.value)},[ar(a.$slots,"default",{},void 0,!0)],4)):Ze("",!0)],6),[[uc,a.visible]])]),_:3},8,["name"])])}}}),Cbe=Be(Pbe,[["__scopeId","data-v-46f39759"]]),Ibe={class:"prefix"},Nbe=["disabled","value","placeholder","maxlength"],Fbe={class:"suffix"},Ebe=Xe({__name:"Input",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},simple:{type:Boolean,default:!1},maxlength:{}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{expose:t,emit:n}){const r=n,i=pe(!1),o=c=>{r("update:value",c.target.value)},a=c=>{i.value=!1,r("blur",c)},s=c=>{i.value=!0,r("focus",c)},l=pe();return t({focus:()=>{l.value&&l.value.focus()}}),(c,f)=>(U(),te("div",{class:$e(["input",{disabled:c.disabled,focused:i.value,simple:c.simple}])},[V("span",Ibe,[ar(c.$slots,"prefix",{},void 0,!0)]),V("input",{type:"text",ref_key:"inputRef",ref:l,disabled:c.disabled,value:c.value,placeholder:c.placeholder,maxlength:c.maxlength,onInput:f[0]||(f[0]=d=>o(d)),onFocus:f[1]||(f[1]=d=>s(d)),onBlur:f[2]||(f[2]=d=>a(d)),onChange:f[3]||(f[3]=d=>r("change",d)),onKeydown:f[4]||(f[4]=du(d=>r("enter",d),["enter"]))},null,40,Nbe),V("span",Fbe,[ar(c.$slots,"suffix",{},void 0,!0)])],2))}}),fc=Be(Ebe,[["__scopeId","data-v-4c62eb45"]]);var ia="top",_s="bottom",Os="right",oa="left",ck="auto",ny=[ia,_s,Os,oa],bv="start",n2="end",Xbe="clippingParents",BG="viewport",_1="popper",Wbe="reference",sX=ny.reduce(function(e,t){return e.concat([t+"-"+bv,t+"-"+n2])},[]),YG=[].concat(ny,[ck]).reduce(function(e,t){return e.concat([t,t+"-"+bv,t+"-"+n2])},[]),Vbe="beforeRead",Dbe="read",Ube="afterRead",Bbe="beforeMain",Ybe="main",Zbe="afterMain",Qbe="beforeWrite",Hbe="write",Kbe="afterWrite",Gbe=[Vbe,Dbe,Ube,Bbe,Ybe,Zbe,Qbe,Hbe,Kbe];function hu(e){return e?(e.nodeName||"").toLowerCase():null}function Za(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jh(e){var t=Za(e).Element;return e instanceof t||e instanceof Element}function Ss(e){var t=Za(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function fk(e){if(typeof ShadowRoot>"u")return!1;var t=Za(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zbe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},o=t.elements[n];!Ss(o)||!hu(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Jbe(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 i=t.elements[r],o=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},{});!Ss(i)||!hu(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const ZG={name:"applyStyles",enabled:!0,phase:"write",fn:zbe,effect:Jbe,requires:["computeStyles"]};function au(e){return e.split("-")[0]}var Ch=Math.max,Ex=Math.min,xv=Math.round;function e6(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function QG(){return!/^((?!chrome|android).)*safari/i.test(e6())}function Sv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ss(e)&&(i=e.offsetWidth>0&&xv(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&xv(r.height)/e.offsetHeight||1);var a=jh(e)?Za(e):window,s=a.visualViewport,l=!QG()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/i,c=(r.top+(l&&s?s.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function dk(e){var t=Sv(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 HG(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&fk(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function dc(e){return Za(e).getComputedStyle(e)}function $be(e){return["table","td","th"].indexOf(hu(e))>=0}function cd(e){return((jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function v3(e){return hu(e)==="html"?e:e.assignedSlot||e.parentNode||(fk(e)?e.host:null)||cd(e)}function lX(e){return!Ss(e)||dc(e).position==="fixed"?null:e.offsetParent}function jbe(e){var t=/firefox/i.test(e6()),n=/Trident/i.test(e6());if(n&&Ss(e)){var r=dc(e);if(r.position==="fixed")return null}var i=v3(e);for(fk(i)&&(i=i.host);Ss(i)&&["html","body"].indexOf(hu(i))<0;){var o=dc(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ry(e){for(var t=Za(e),n=lX(e);n&&$be(n)&&dc(n).position==="static";)n=lX(n);return n&&(hu(n)==="html"||hu(n)==="body"&&dc(n).position==="static")?t:n||jbe(e)||t}function hk(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sm(e,t,n){return Ch(e,Ex(t,n))}function qbe(e,t,n){var r=sm(e,t,n);return r>n?n:r}function KG(){return{top:0,right:0,bottom:0,left:0}}function GG(e){return Object.assign({},KG(),e)}function zG(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var exe=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,GG(typeof t!="number"?t:zG(t,ny))};function txe(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=au(n.placement),l=hk(s),u=[oa,Os].indexOf(s)>=0,c=u?"height":"width";if(!(!o||!a)){var f=exe(i.padding,n),d=dk(o),h=l==="y"?ia:oa,p=l==="y"?_s:Os,v=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=ry(o),y=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,R=v/2-g/2,A=f[h],x=y-d[c]-f[p],S=y/2-d[c]/2+R,L=sm(A,S,x),w=l;n.modifiersData[r]=(t={},t[w]=L,t.centerOffset=L-S,t)}}function nxe(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||HG(t.elements.popper,i)&&(t.elements.arrow=i))}const rxe={name:"arrow",enabled:!0,phase:"main",fn:txe,effect:nxe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wv(e){return e.split("-")[1]}var ixe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oxe(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:xv(n*i)/i||0,y:xv(r*i)/i||0}}function uX(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,h=d===void 0?0:d,p=a.y,v=p===void 0?0:p,g=typeof c=="function"?c({x:h,y:v}):{x:h,y:v};h=g.x,v=g.y;var m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),R=oa,A=ia,x=window;if(u){var S=ry(n),L="clientHeight",w="clientWidth";if(S===Za(n)&&(S=cd(n),dc(S).position!=="static"&&s==="absolute"&&(L="scrollHeight",w="scrollWidth")),S=S,i===ia||(i===oa||i===Os)&&o===n2){A=_s;var M=f&&S===x&&x.visualViewport?x.visualViewport.height:S[L];v-=M-r.height,v*=l?1:-1}if(i===oa||(i===ia||i===_s)&&o===n2){R=Os;var _=f&&S===x&&x.visualViewport?x.visualViewport.width:S[w];h-=_-r.width,h*=l?1:-1}}var k=Object.assign({position:s},u&&ixe),P=c===!0?oxe({x:h,y:v},Za(n)):{x:h,y:v};if(h=P.x,v=P.y,l){var N;return Object.assign({},k,(N={},N[A]=y?"0":"",N[R]=m?"0":"",N.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",N))}return Object.assign({},k,(t={},t[A]=y?v+"px":"",t[R]=m?h+"px":"",t.transform="",t))}function axe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:au(t.placement),variation:wv(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,uX(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,uX(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})}const sxe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:axe,data:{}};var ZA={passive:!0};function lxe(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Za(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,ZA)}),s&&l.addEventListener("resize",n.update,ZA),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ZA)}),s&&l.removeEventListener("resize",n.update,ZA)}}const uxe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lxe,data:{}};var cxe={left:"right",right:"left",bottom:"top",top:"bottom"};function yb(e){return e.replace(/left|right|bottom|top/g,function(t){return cxe[t]})}var fxe={start:"end",end:"start"};function cX(e){return e.replace(/start|end/g,function(t){return fxe[t]})}function pk(e){var t=Za(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function vk(e){return Sv(cd(e)).left+pk(e).scrollLeft}function dxe(e,t){var n=Za(e),r=cd(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var u=QG();(u||!u&&t==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+vk(e),y:l}}function hxe(e){var t,n=cd(e),r=pk(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=Ch(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Ch(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+vk(e),l=-r.scrollTop;return dc(i||n).direction==="rtl"&&(s+=Ch(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function gk(e){var t=dc(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function JG(e){return["html","body","#document"].indexOf(hu(e))>=0?e.ownerDocument.body:Ss(e)&&gk(e)?e:JG(v3(e))}function lm(e,t){var n;t===void 0&&(t=[]);var r=JG(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),o=Za(r),a=i?[o].concat(o.visualViewport||[],gk(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(lm(v3(a)))}function t6(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pxe(e,t){var n=Sv(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function fX(e,t,n){return t===BG?t6(dxe(e,n)):jh(t)?pxe(t,n):t6(hxe(cd(e)))}function vxe(e){var t=lm(v3(e)),n=["absolute","fixed"].indexOf(dc(e).position)>=0,r=n&&Ss(e)?ry(e):e;return jh(r)?t.filter(function(i){return jh(i)&&HG(i,r)&&hu(i)!=="body"}):[]}function gxe(e,t,n,r){var i=t==="clippingParents"?vxe(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,u){var c=fX(e,u,r);return l.top=Ch(c.top,l.top),l.right=Ex(c.right,l.right),l.bottom=Ex(c.bottom,l.bottom),l.left=Ch(c.left,l.left),l},fX(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function $G(e){var t=e.reference,n=e.element,r=e.placement,i=r?au(r):null,o=r?wv(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case ia:l={x:a,y:t.y-n.height};break;case _s:l={x:a,y:t.y+t.height};break;case Os:l={x:t.x+t.width,y:s};break;case oa:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=i?hk(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case bv:l[u]=l[u]-(t[c]/2-n[c]/2);break;case n2:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function r2(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,s=n.boundary,l=s===void 0?Xbe:s,u=n.rootBoundary,c=u===void 0?BG:u,f=n.elementContext,d=f===void 0?_1:f,h=n.altBoundary,p=h===void 0?!1:h,v=n.padding,g=v===void 0?0:v,m=GG(typeof g!="number"?g:zG(g,ny)),y=d===_1?Wbe:_1,R=e.rects.popper,A=e.elements[p?y:d],x=gxe(jh(A)?A:A.contextElement||cd(e.elements.popper),l,c,a),S=Sv(e.elements.reference),L=$G({reference:S,element:R,strategy:"absolute",placement:i}),w=t6(Object.assign({},R,L)),M=d===_1?w:S,_={top:x.top-M.top+m.top,bottom:M.bottom-x.bottom+m.bottom,left:x.left-M.left+m.left,right:M.right-x.right+m.right},k=e.modifiersData.offset;if(d===_1&&k){var P=k[i];Object.keys(_).forEach(function(N){var C=[Os,_s].indexOf(N)>=0?1:-1,F=[ia,_s].indexOf(N)>=0?"y":"x";_[N]+=P[F]*C})}return _}function mxe(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?YG:l,c=wv(r),f=c?s?sX:sX.filter(function(p){return wv(p)===c}):ny,d=f.filter(function(p){return u.indexOf(p)>=0});d.length===0&&(d=f);var h=d.reduce(function(p,v){return p[v]=r2(e,{placement:v,boundary:i,rootBoundary:o,padding:a})[au(v)],p},{});return Object.keys(h).sort(function(p,v){return h[p]-h[v]})}function yxe(e){if(au(e)===ck)return[];var t=yb(e);return[cX(e),t,cX(t)]}function Axe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,v=n.allowedAutoPlacements,g=t.options.placement,m=au(g),y=m===g,R=l||(y||!p?[yb(g)]:yxe(g)),A=[g].concat(R).reduce(function(K,q){return K.concat(au(q)===ck?mxe(t,{placement:q,boundary:c,rootBoundary:f,padding:u,flipVariations:p,allowedAutoPlacements:v}):q)},[]),x=t.rects.reference,S=t.rects.popper,L=new Map,w=!0,M=A[0],_=0;_=0,F=C?"width":"height",I=r2(t,{placement:k,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),W=C?N?Os:oa:N?_s:ia;x[F]>S[F]&&(W=yb(W));var D=yb(W),Z=[];if(o&&Z.push(I[P]<=0),s&&Z.push(I[W]<=0,I[D]<=0),Z.every(function(K){return K})){M=k,w=!1;break}L.set(k,Z)}if(w)for(var re=p?3:1,B=function(q){var $=A.find(function(de){var G=L.get(de);if(G)return G.slice(0,q).every(function(Ae){return Ae})});if($)return M=$,"break"},Y=re;Y>0;Y--){var Q=B(Y);if(Q==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const Rxe={name:"flip",enabled:!0,phase:"main",fn:Axe,requiresIfExists:["offset"],data:{_skip:!1}};function dX(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 hX(e){return[ia,Os,_s,oa].some(function(t){return e[t]>=0})}function bxe(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=r2(t,{elementContext:"reference"}),s=r2(t,{altBoundary:!0}),l=dX(a,r),u=dX(s,i,o),c=hX(l),f=hX(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const xxe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bxe};function Sxe(e,t,n){var r=au(e),i=[oa,ia].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[oa,Os].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function wxe(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=i===void 0?[0,0]:i,a=YG.reduce(function(c,f){return c[f]=Sxe(f,t.rects,o),c},{}),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}const Mxe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:wxe};function Lxe(e){var t=e.state,n=e.name;t.modifiersData[n]=$G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Txe={name:"popperOffsets",enabled:!0,phase:"read",fn:Lxe,data:{}};function _xe(e){return e==="x"?"y":"x"}function Oxe(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,p=n.tetherOffset,v=p===void 0?0:p,g=r2(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=au(t.placement),y=wv(t.placement),R=!y,A=hk(m),x=_xe(A),S=t.modifiersData.popperOffsets,L=t.rects.reference,w=t.rects.popper,M=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,_=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(o){var N,C=A==="y"?ia:oa,F=A==="y"?_s:Os,I=A==="y"?"height":"width",W=S[A],D=W+g[C],Z=W-g[F],re=h?-w[I]/2:0,B=y===bv?L[I]:w[I],Y=y===bv?-w[I]:-L[I],Q=t.elements.arrow,K=h&&Q?dk(Q):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:KG(),$=q[C],de=q[F],G=sm(0,L[I],K[I]),Ae=R?L[I]/2-re-G-$-_.mainAxis:B-G-$-_.mainAxis,ce=R?-L[I]/2+re+G+de+_.mainAxis:Y+G+de+_.mainAxis,fe=t.elements.arrow&&ry(t.elements.arrow),le=fe?A==="y"?fe.clientTop||0:fe.clientLeft||0:0,j=(N=k==null?void 0:k[A])!=null?N:0,X=W+Ae-j-le,J=W+ce-j,se=sm(h?Ex(D,X):D,W,h?Ch(Z,J):Z);S[A]=se,P[A]=se-W}if(s){var ee,ne=A==="x"?ia:oa,oe=A==="x"?_s:Os,he=S[x],ue=x==="y"?"height":"width",ge=he+g[ne],Re=he-g[oe],Ee=[ia,oa].indexOf(m)!==-1,Ne=(ee=k==null?void 0:k[x])!=null?ee:0,He=Ee?ge:he-L[ue]-w[ue]-Ne+_.altAxis,Ve=Ee?he+L[ue]+w[ue]-Ne-_.altAxis:Re,xe=h&&Ee?qbe(He,he,Ve):sm(h?He:ge,he,h?Ve:Re);S[x]=xe,P[x]=xe-he}t.modifiersData[r]=P}}const kxe={name:"preventOverflow",enabled:!0,phase:"main",fn:Oxe,requiresIfExists:["offset"]};function Pxe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Cxe(e){return e===Za(e)||!Ss(e)?pk(e):Pxe(e)}function Ixe(e){var t=e.getBoundingClientRect(),n=xv(t.width)/e.offsetWidth||1,r=xv(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Nxe(e,t,n){n===void 0&&(n=!1);var r=Ss(t),i=Ss(t)&&Ixe(t),o=cd(t),a=Sv(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((hu(t)!=="body"||gk(o))&&(s=Cxe(t)),Ss(t)?(l=Sv(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=vk(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Fxe(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||i(o)}),r}function Exe(e){var t=Fxe(e);return Gbe.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Xxe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Wxe(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var pX={placement:"bottom",modifiers:[],strategy:"absolute"};function vX(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function nz(e,t){return typeof e=="function"?e.apply(void 0,t):e}function gX(e,t){if(t===0)return e;var n;return function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function Zxe(e){return e.split(/\s+/).filter(Boolean)}function Ap(e){return[].concat(e)}function mX(e,t){e.indexOf(t)===-1&&e.push(t)}function Qxe(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Hxe(e){return e.split("-")[0]}function Xx(e){return[].slice.call(e)}function yX(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function um(){return document.createElement("div")}function g3(e){return["Element","Fragment"].some(function(t){return mk(e,t)})}function Kxe(e){return mk(e,"NodeList")}function Gxe(e){return mk(e,"MouseEvent")}function zxe(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Jxe(e){return g3(e)?[e]:Kxe(e)?Xx(e):Array.isArray(e)?e:Xx(document.querySelectorAll(e))}function L5(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function AX(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function $xe(e){var t,n=Ap(e),r=n[0];return r!=null&&(t=r.ownerDocument)!=null&&t.body?r.ownerDocument:document}function jxe(e,t){var n=t.clientX,r=t.clientY;return e.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,u=Hxe(a.placement),c=a.modifiersData.offset;if(!c)return!0;var f=u==="bottom"?c.top.y:0,d=u==="top"?c.bottom.y:0,h=u==="right"?c.left.x:0,p=u==="left"?c.right.x:0,v=o.top-r+f>l,g=r-o.bottom-d>l,m=o.left-n+h>l,y=n-o.right-p>l;return v||g||m||y})}function T5(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){e[r](i,n)})}function RX(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var Zl={isTouch:!1},bX=0;function qxe(){Zl.isTouch||(Zl.isTouch=!0,window.performance&&document.addEventListener("mousemove",rz))}function rz(){var e=performance.now();e-bX<20&&(Zl.isTouch=!1,document.removeEventListener("mousemove",rz)),bX=e}function eSe(){var e=document.activeElement;if(zxe(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function tSe(){document.addEventListener("touchstart",qxe,rh),window.addEventListener("blur",eSe)}var nSe=typeof window<"u"&&typeof document<"u",rSe=nSe?!!window.msCrypto:!1,iSe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},oSe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},ll=Object.assign({appendTo:tz,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},iSe,oSe),aSe=Object.keys(ll),sSe=function(t){var n=Object.keys(t);n.forEach(function(r){ll[r]=t[r]})};function iz(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=ll[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function lSe(e,t){var n=t?Object.keys(iz(Object.assign({},ll,{plugins:t}))):aSe,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function xX(e,t){var n=Object.assign({},t,{content:nz(t.content,[e])},t.ignoreAttributes?{}:lSe(e,t.plugins));return n.aria=Object.assign({},ll.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var uSe=function(){return"innerHTML"};function n6(e,t){e[uSe()]=t}function SX(e){var t=um();return e===!0?t.className=qG:(t.className=ez,g3(e)?t.appendChild(e):n6(t,e)),t}function wX(e,t){g3(t.content)?(n6(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?n6(e,t.content):e.textContent=t.content)}function r6(e){var t=e.firstElementChild,n=Xx(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(jG)}),arrow:n.find(function(r){return r.classList.contains(qG)||r.classList.contains(ez)}),backdrop:n.find(function(r){return r.classList.contains(Yxe)})}}function oz(e){var t=um(),n=um();n.className=Bxe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=um();r.className=jG,r.setAttribute("data-state","hidden"),wX(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=r6(t),l=s.box,u=s.content,c=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&wX(u,e.props),a.arrow?c?o.arrow!==a.arrow&&(l.removeChild(c),l.appendChild(SX(a.arrow))):l.appendChild(SX(a.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:i}}oz.$$tippy=!0;var cSe=1,QA=[],_5=[];function fSe(e,t){var n=xX(e,Object.assign({},ll,iz(yX(t)))),r,i,o,a=!1,s=!1,l=!1,u=!1,c,f,d,h=[],p=gX(X,n.interactiveDebounce),v,g=cSe++,m=null,y=Qxe(n.plugins),R={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},A={id:g,reference:e,popper:um(),popperInstance:m,props:n,state:R,plugins:y,clearDelayTimeouts:He,setProps:Ve,setContent:xe,show:ye,hide:Me,hideWithInteractivity:Ce,enable:Ee,disable:Ne,unmount:Ye,destroy:ot};if(!n.render)return A;var x=n.render(A),S=x.popper,L=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+A.id,A.popper=S,e._tippy=A,S._tippy=A;var w=y.map(function(ke){return ke.fn(A)}),M=e.hasAttribute("aria-expanded");return fe(),re(),W(),D("onCreate",[A]),n.showOnCreate&&ge(),S.addEventListener("mouseenter",function(){A.props.interactive&&A.state.isVisible&&A.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){A.props.interactive&&A.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",p)}),A;function _(){var ke=A.props.touch;return Array.isArray(ke)?ke:[ke,0]}function k(){return _()[0]==="hold"}function P(){var ke;return!!((ke=A.props.render)!=null&&ke.$$tippy)}function N(){return v||e}function C(){var ke=N().parentNode;return ke?$xe(ke):document}function F(){return r6(S)}function I(ke){return A.state.isMounted&&!A.state.isVisible||Zl.isTouch||c&&c.type==="focus"?0:M5(A.props.delay,ke?0:1,ll.delay)}function W(ke){ke===void 0&&(ke=!1),S.style.pointerEvents=A.props.interactive&&!ke?"":"none",S.style.zIndex=""+A.props.zIndex}function D(ke,Ge,rt){if(rt===void 0&&(rt=!0),w.forEach(function(dt){dt[ke]&&dt[ke].apply(dt,Ge)}),rt){var bt;(bt=A.props)[ke].apply(bt,Ge)}}function Z(){var ke=A.props.aria;if(ke.content){var Ge="aria-"+ke.content,rt=S.id,bt=Ap(A.props.triggerTarget||e);bt.forEach(function(dt){var gt=dt.getAttribute(Ge);if(A.state.isVisible)dt.setAttribute(Ge,gt?gt+" "+rt:rt);else{var wt=gt&>.replace(rt,"").trim();wt?dt.setAttribute(Ge,wt):dt.removeAttribute(Ge)}})}}function re(){if(!(M||!A.props.aria.expanded)){var ke=Ap(A.props.triggerTarget||e);ke.forEach(function(Ge){A.props.interactive?Ge.setAttribute("aria-expanded",A.state.isVisible&&Ge===N()?"true":"false"):Ge.removeAttribute("aria-expanded")})}}function B(){C().removeEventListener("mousemove",p),QA=QA.filter(function(ke){return ke!==p})}function Y(ke){if(!(Zl.isTouch&&(l||ke.type==="mousedown"))){var Ge=ke.composedPath&&ke.composedPath()[0]||ke.target;if(!(A.props.interactive&&RX(S,Ge))){if(Ap(A.props.triggerTarget||e).some(function(rt){return RX(rt,Ge)})){if(Zl.isTouch||A.state.isVisible&&A.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[A,ke]);A.props.hideOnClick===!0&&(A.clearDelayTimeouts(),A.hide(),s=!0,setTimeout(function(){s=!1}),A.state.isMounted||$())}}}function Q(){l=!0}function K(){l=!1}function q(){var ke=C();ke.addEventListener("mousedown",Y,!0),ke.addEventListener("touchend",Y,rh),ke.addEventListener("touchstart",K,rh),ke.addEventListener("touchmove",Q,rh)}function $(){var ke=C();ke.removeEventListener("mousedown",Y,!0),ke.removeEventListener("touchend",Y,rh),ke.removeEventListener("touchstart",K,rh),ke.removeEventListener("touchmove",Q,rh)}function de(ke,Ge){Ae(ke,function(){!A.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&Ge()})}function G(ke,Ge){Ae(ke,Ge)}function Ae(ke,Ge){var rt=F().box;function bt(dt){dt.target===rt&&(T5(rt,"remove",bt),Ge())}if(ke===0)return Ge();T5(rt,"remove",f),T5(rt,"add",bt),f=bt}function ce(ke,Ge,rt){rt===void 0&&(rt=!1);var bt=Ap(A.props.triggerTarget||e);bt.forEach(function(dt){dt.addEventListener(ke,Ge,rt),h.push({node:dt,eventType:ke,handler:Ge,options:rt})})}function fe(){k()&&(ce("touchstart",j,{passive:!0}),ce("touchend",J,{passive:!0})),Zxe(A.props.trigger).forEach(function(ke){if(ke!=="manual")switch(ce(ke,j),ke){case"mouseenter":ce("mouseleave",J);break;case"focus":ce(rSe?"focusout":"blur",se);break;case"focusin":ce("focusout",se);break}})}function le(){h.forEach(function(ke){var Ge=ke.node,rt=ke.eventType,bt=ke.handler,dt=ke.options;Ge.removeEventListener(rt,bt,dt)}),h=[]}function j(ke){var Ge,rt=!1;if(!(!A.state.isEnabled||ee(ke)||s)){var bt=((Ge=c)==null?void 0:Ge.type)==="focus";c=ke,v=ke.currentTarget,re(),!A.state.isVisible&&Gxe(ke)&&QA.forEach(function(dt){return dt(ke)}),ke.type==="click"&&(A.props.trigger.indexOf("mouseenter")<0||a)&&A.props.hideOnClick!==!1&&A.state.isVisible?rt=!0:ge(ke),ke.type==="click"&&(a=!rt),rt&&!bt&&Re(ke)}}function X(ke){var Ge=ke.target,rt=N().contains(Ge)||S.contains(Ge);if(!(ke.type==="mousemove"&&rt)){var bt=ue().concat(S).map(function(dt){var gt,wt=dt._tippy,Dt=(gt=wt.popperInstance)==null?void 0:gt.state;return Dt?{popperRect:dt.getBoundingClientRect(),popperState:Dt,props:n}:null}).filter(Boolean);jxe(bt,ke)&&(B(),Re(ke))}}function J(ke){var Ge=ee(ke)||A.props.trigger.indexOf("click")>=0&&a;if(!Ge){if(A.props.interactive){A.hideWithInteractivity(ke);return}Re(ke)}}function se(ke){A.props.trigger.indexOf("focusin")<0&&ke.target!==N()||A.props.interactive&&ke.relatedTarget&&S.contains(ke.relatedTarget)||Re(ke)}function ee(ke){return Zl.isTouch?k()!==ke.type.indexOf("touch")>=0:!1}function ne(){oe();var ke=A.props,Ge=ke.popperOptions,rt=ke.placement,bt=ke.offset,dt=ke.getReferenceClientRect,gt=ke.moveTransition,wt=P()?r6(S).arrow:null,Dt=dt?{getBoundingClientRect:dt,contextElement:dt.contextElement||N()}:e,Jt={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(xl){var Ji=xl.state;if(P()){var y0=F(),vd=y0.box;["placement","reference-hidden","escaped"].forEach(function(wu){wu==="placement"?vd.setAttribute("data-placement",Ji.placement):Ji.attributes.popper["data-popper-"+wu]?vd.setAttribute("data-"+wu,""):vd.removeAttribute("data-"+wu)}),Ji.attributes.popper={}}}},Zn=[{name:"offset",options:{offset:bt}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!gt}},Jt];P()&&wt&&Zn.push({name:"arrow",options:{element:wt,padding:3}}),Zn.push.apply(Zn,(Ge==null?void 0:Ge.modifiers)||[]),A.popperInstance=Uxe(Dt,S,Object.assign({},Ge,{placement:rt,onFirstUpdate:d,modifiers:Zn}))}function oe(){A.popperInstance&&(A.popperInstance.destroy(),A.popperInstance=null)}function he(){var ke=A.props.appendTo,Ge,rt=N();A.props.interactive&&ke===tz||ke==="parent"?Ge=rt.parentNode:Ge=nz(ke,[rt]),Ge.contains(S)||Ge.appendChild(S),A.state.isMounted=!0,ne()}function ue(){return Xx(S.querySelectorAll("[data-tippy-root]"))}function ge(ke){A.clearDelayTimeouts(),ke&&D("onTrigger",[A,ke]),q();var Ge=I(!0),rt=_(),bt=rt[0],dt=rt[1];Zl.isTouch&&bt==="hold"&&dt&&(Ge=dt),Ge?r=setTimeout(function(){A.show()},Ge):A.show()}function Re(ke){if(A.clearDelayTimeouts(),D("onUntrigger",[A,ke]),!A.state.isVisible){$();return}if(!(A.props.trigger.indexOf("mouseenter")>=0&&A.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(ke.type)>=0&&a)){var Ge=I(!1);Ge?i=setTimeout(function(){A.state.isVisible&&A.hide()},Ge):o=requestAnimationFrame(function(){A.hide()})}}function Ee(){A.state.isEnabled=!0}function Ne(){A.hide(),A.state.isEnabled=!1}function He(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function Ve(ke){if(!A.state.isDestroyed){D("onBeforeUpdate",[A,ke]),le();var Ge=A.props,rt=xX(e,Object.assign({},Ge,yX(ke),{ignoreAttributes:!0}));A.props=rt,fe(),Ge.interactiveDebounce!==rt.interactiveDebounce&&(B(),p=gX(X,rt.interactiveDebounce)),Ge.triggerTarget&&!rt.triggerTarget?Ap(Ge.triggerTarget).forEach(function(bt){bt.removeAttribute("aria-expanded")}):rt.triggerTarget&&e.removeAttribute("aria-expanded"),re(),W(),L&&L(Ge,rt),A.popperInstance&&(ne(),ue().forEach(function(bt){requestAnimationFrame(bt._tippy.popperInstance.forceUpdate)})),D("onAfterUpdate",[A,ke])}}function xe(ke){A.setProps({content:ke})}function ye(){var ke=A.state.isVisible,Ge=A.state.isDestroyed,rt=!A.state.isEnabled,bt=Zl.isTouch&&!A.props.touch,dt=M5(A.props.duration,0,ll.duration);if(!(ke||Ge||rt||bt)&&!N().hasAttribute("disabled")&&(D("onShow",[A],!1),A.props.onShow(A)!==!1)){if(A.state.isVisible=!0,P()&&(S.style.visibility="visible"),W(),q(),A.state.isMounted||(S.style.transition="none"),P()){var gt=F(),wt=gt.box,Dt=gt.content;L5([wt,Dt],0)}d=function(){var Zn;if(!(!A.state.isVisible||u)){if(u=!0,S.offsetHeight,S.style.transition=A.props.moveTransition,P()&&A.props.animation){var Fs=F(),xl=Fs.box,Ji=Fs.content;L5([xl,Ji],dt),AX([xl,Ji],"visible")}Z(),re(),mX(_5,A),(Zn=A.popperInstance)==null||Zn.forceUpdate(),D("onMount",[A]),A.props.animation&&P()&&G(dt,function(){A.state.isShown=!0,D("onShown",[A])})}},he()}}function Me(){var ke=!A.state.isVisible,Ge=A.state.isDestroyed,rt=!A.state.isEnabled,bt=M5(A.props.duration,1,ll.duration);if(!(ke||Ge||rt)&&(D("onHide",[A],!1),A.props.onHide(A)!==!1)){if(A.state.isVisible=!1,A.state.isShown=!1,u=!1,a=!1,P()&&(S.style.visibility="hidden"),B(),$(),W(!0),P()){var dt=F(),gt=dt.box,wt=dt.content;A.props.animation&&(L5([gt,wt],bt),AX([gt,wt],"hidden"))}Z(),re(),A.props.animation?P()&&de(bt,A.unmount):A.unmount()}}function Ce(ke){C().addEventListener("mousemove",p),mX(QA,p),p(ke)}function Ye(){A.state.isVisible&&A.hide(),A.state.isMounted&&(oe(),ue().forEach(function(ke){ke._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),_5=_5.filter(function(ke){return ke!==A}),A.state.isMounted=!1,D("onHidden",[A]))}function ot(){A.state.isDestroyed||(A.clearDelayTimeouts(),A.unmount(),le(),delete e._tippy,A.state.isDestroyed=!0,D("onDestroy",[A]))}}function h0(e,t){t===void 0&&(t={});var n=ll.plugins.concat(t.plugins||[]);tSe();var r=Object.assign({},t,{plugins:n}),i=Jxe(e),o=i.reduce(function(a,s){var l=s&&fSe(s,r);return l&&a.push(l),a},[]);return g3(e)?o[0]:o}h0.defaultProps=ll;h0.setDefaultProps=sSe;h0.currentInput=Zl;Object.assign({},ZG,{effect:function(t){var n=t.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});h0.setDefaultProps({render:oz});const dSe=Xe({__name:"Popover",props:{value:{type:Boolean,default:!1},trigger:{default:"click"},placement:{default:"bottom"},appendTo:{},contentStyle:{},center:{type:Boolean,default:!1},offset:{default:8}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=pe(),o=pe(),a=pe(),s=pe(!1),l=we(()=>n.contentStyle||{});return Ot(()=>n.value,()=>{i.value&&(n.value?i.value.show():i.value.hide())}),Nn(()=>{i.value&&i.value.destroy()}),Ht(()=>{i.value=h0(o.value,{content:a.value,allowHTML:!0,trigger:n.trigger,placement:n.placement,interactive:!0,appendTo:n.appendTo||document.body,maxWidth:"none",offset:[0,n.offset],duration:200,animation:"scale",theme:"popover",onShow(){s.value=!0},onShown(){n.value||r("update:value",!0)},onHidden(){n.value&&r("update:value",!1),s.value=!1}})}),(u,c)=>(U(),te("div",{class:$e(["popover",{center:u.center}]),ref_key:"triggerRef",ref:o},[V("div",{class:"popover-content",style:Le(l.value),ref_key:"contentRef",ref:a},[s.value?ar(u.$slots,"content",{key:0},void 0,!0):Ze("",!0)],4),ar(u.$slots,"default",{},void 0,!0)],2))}}),Nt=Be(dSe,[["__scopeId","data-v-6a57fbcf"]]),hSe=Xe({__name:"PopoverMenuItem",props:{center:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=t;return(r,i)=>(U(),te("div",{class:$e(["popover-menu-item",{center:r.center}]),onClick:i[0]||(i[0]=o=>n("click"))},[ar(r.$slots,"default",{},void 0,!0)],2))}}),Yr=Be(hSe,[["__scopeId","data-v-1f176c16"]]),pSe=e=>(en("data-v-c5f9ed82"),e=e(),tn(),e),vSe={class:"editor-header"},gSe={class:"left"},mSe={class:"menu-item"},ySe={class:"title"},ASe=["title"],RSe={class:"right"},bSe={class:"group-menu-item"},xSe={class:"arrow-btn"},SSe=pSe(()=>V("span",{class:"text"},"AI",-1)),wSe=[SSe],MSe={class:"github-link",href:"https://github.com/pipipi-pikachu/PPTist",target:"_blank"},LSe={class:"menu-item"},TSe=Xe({__name:"index",setup(e){const t=ht(),n=ut(),{title:r}=De(n),{enterScreening:i,enterScreeningFromStart:o}=ld(),{importSpecificFile:a,importPPTXFile:s,exporting:l}=gbe(),{resetSlides:u}=gc(),c=pe(!1),f=pe(!1),d=pe(!1),h=pe(),p=pe(""),v=()=>{p.value=r.value,d.value=!0,Ir(()=>{var x;return(x=h.value)==null?void 0:x.focus()})},g=()=>{n.setTitle(p.value),d.value=!1},m=x=>{window.open(x),c.value=!1},y=x=>{t.setDialogForExport(x),c.value=!1},R=()=>{t.setMarkupPanelState(!0)},A=()=>{t.setAIPPTDialogState(!0)};return(x,S)=>{const L=Se("IconHamburgerButton"),w=Se("IconPpt"),M=Se("IconDown"),_=Se("IconDownload"),k=Se("IconGithub"),P=Fn("tooltip");return U(),te("div",vSe,[V("div",gSe,[O(Nt,{trigger:"click",placement:"bottom-start",value:c.value,"onUpdate:value":S[9]||(S[9]=N=>c.value=N)},{content:ie(()=>[O(Yr,{onClick:S[0]||(S[0]=N=>{A(),c.value=!1})},{default:ie(()=>[Ue("AI 生成 PPT(测试版)")]),_:1}),O($h,{accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation",onChange:S[1]||(S[1]=N=>{z(s)(N),c.value=!1})},{default:ie(()=>[O(Yr,null,{default:ie(()=>[Ue("导入 pptx 文件(测试版)")]),_:1})]),_:1}),O($h,{accept:".pptist",onChange:S[2]||(S[2]=N=>{z(a)(N),c.value=!1})},{default:ie(()=>[O(Yr,null,{default:ie(()=>[Ue("导入 pptist 文件")]),_:1})]),_:1}),O(Yr,{onClick:S[3]||(S[3]=N=>y("pptx"))},{default:ie(()=>[Ue("导出文件")]),_:1}),O(Yr,{onClick:S[4]||(S[4]=N=>{z(u)(),c.value=!1})},{default:ie(()=>[Ue("重置幻灯片")]),_:1}),O(Yr,{onClick:S[5]||(S[5]=N=>{R(),c.value=!1})},{default:ie(()=>[Ue("幻灯片类型标注")]),_:1}),O(Yr,{onClick:S[6]||(S[6]=N=>m("https://github.com/pipipi-pikachu/PPTist/issues"))},{default:ie(()=>[Ue("意见反馈")]),_:1}),O(Yr,{onClick:S[7]||(S[7]=N=>m("https://github.com/pipipi-pikachu/PPTist/blob/master/doc/Q&A.md"))},{default:ie(()=>[Ue("常见问题")]),_:1}),O(Yr,{onClick:S[8]||(S[8]=N=>{c.value=!1,f.value=!0})},{default:ie(()=>[Ue("快捷操作")]),_:1})]),default:ie(()=>[V("div",mSe,[O(L,{class:"icon"})])]),_:1},8,["value"]),V("div",ySe,[d.value?(U(),_e(fc,{key:0,class:"title-input",ref_key:"titleInputRef",ref:h,value:p.value,"onUpdate:value":S[10]||(S[10]=N=>p.value=N),onBlur:S[11]||(S[11]=N=>g())},null,8,["value"])):(U(),te("div",{key:1,class:"title-text",onClick:S[12]||(S[12]=N=>v()),title:z(r)},vt(z(r)),9,ASe))])]),V("div",RSe,[V("div",bSe,[ze((U(),te("div",{class:"menu-item",onClick:S[13]||(S[13]=N=>z(i)())},[O(w,{class:"icon"})])),[[P,"幻灯片放映(F5)"]]),O(Nt,{trigger:"click",center:""},{content:ie(()=>[O(Yr,{onClick:S[14]||(S[14]=N=>z(o)())},{default:ie(()=>[Ue("从头开始")]),_:1}),O(Yr,{onClick:S[15]||(S[15]=N=>z(i)())},{default:ie(()=>[Ue("从当前页开始")]),_:1})]),default:ie(()=>[V("div",xSe,[O(M,{class:"arrow"})])]),_:1})]),ze((U(),te("div",{class:"menu-item",onClick:S[16]||(S[16]=N=>{A(),c.value=!1})},wSe)),[[P,"AI生成PPT"]]),ze((U(),te("div",{class:"menu-item",onClick:S[17]||(S[17]=N=>y("pptx"))},[O(_,{class:"icon"})])),[[P,"导出"]]),ze((U(),te("a",MSe,[V("div",LSe,[O(k,{class:"icon"})])])),[[P,"Copyright © 2020-PRESENT pipipi-pikachu"]])]),O(Cbe,{width:320,visible:f.value,"onUpdate:visible":S[18]||(S[18]=N=>f.value=N),placement:"right"},{title:ie(()=>[Ue("快捷操作")]),default:ie(()=>[O(xbe)]),_:1},8,["visible"]),O(ty,{loading:z(l),tip:"正在导入..."},null,8,["loading"])])}}}),_Se=Be(TSe,[["__scopeId","data-v-c5f9ed82"]]),iy=Symbol(),yk=Symbol(),az=Symbol(),OSe=()=>{const e=window.getSelection();e&&e.removeAllRanges()},kSe=e=>{const t=pe(0),n=pe(0),r=ht(),{canvasPercentage:i,canvasDragged:o}=De(r),{viewportRatio:a,viewportSize:s}=De(ut()),l=()=>{if(!e.value)return;const h=e.value.clientWidth,p=e.value.clientHeight;if(p/h>a.value){const v=h*(i.value/100);r.setCanvasScale(v/s.value),t.value=(h-v)/2,n.value=(p-v*a.value)/2}else{const v=p*(i.value/100);r.setCanvasScale(v/(s.value*a.value)),t.value=(h-v/a.value)/2,n.value=(p-v)/2}};Ot(i,(h,p)=>{if(!e.value)return;const v=e.value.clientWidth,g=e.value.clientHeight;if(g/v>a.value){const m=v*(h/100),y=v*(p/100),R=m*a.value,A=y*a.value;r.setCanvasScale(m/s.value),t.value=t.value-(m-y)/2,n.value=n.value-(R-A)/2}else{const m=g*(h/100),y=g*(p/100),R=m/a.value,A=y/a.value;r.setCanvasScale(m/(s.value*a.value)),t.value=t.value-(R-A)/2,n.value=n.value-(m-y)/2}}),Ot(a,l),Ot(s,l),Ot(o,()=>{o.value||l()});const c=we(()=>({width:s.value,height:s.value*a.value,left:t.value,top:n.value})),f=new ResizeObserver(l);return Ht(()=>{e.value&&f.observe(e.value)}),Nn(()=>{e.value&&f.unobserve(e.value)}),{viewportStyles:c,dragViewport:h=>{let p=!0;const v=h.pageX,g=h.pageY,m=t.value,y=n.value;document.onmousemove=R=>{if(!p)return;const A=R.pageX,x=R.pageY;t.value=m+(A-v),n.value=y+(x-g)},document.onmouseup=()=>{p=!1,document.onmousemove=null,document.onmouseup=null,r.setCanvasDragged(!0)}}}},PSe=(e,t)=>{const n=ht(),{canvasScale:r,hiddenElementIdList:i}=De(n),o=pe(!1),a=pe(1),s=pe({top:0,left:0,width:0,height:0});return{mouseSelection:s,mouseSelectionVisible:o,mouseSelectionQuadrant:a,updateMouseSelection:u=>{if(!t.value)return;let c=!0;const f=t.value.getBoundingClientRect(),d=5,h=u.pageX,p=u.pageY,v=(h-f.x)/r.value,g=(p-f.y)/r.value;s.value={top:g,left:v,width:0,height:0},o.value=!1,a.value=4,document.onmousemove=m=>{if(!c)return;const y=m.pageX,R=m.pageY,A=(y-h)/r.value,x=(R-p)/r.value,S=Math.abs(A),L=Math.abs(x);if(S0&&x>0?w=4:A<0&&x<0?w=2:A>0&&x<0?w=1:A<0&&x>0&&(w=3),s.value={...s.value,width:S,height:L},o.value=!0,a.value=w},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null,c=!1;let m=[];for(let R=0;Rx&&_S&&Px-L&&_S-w&&Px&&_S-w&&Px-L&&_S&&P{if(R.groupId){const A=m.map(S=>S.id);return e.value.filter(S=>S.groupId===R.groupId).every(S=>A.includes(S.id))}return!0});const y=m.map(R=>R.id);n.setActiveElementIdList(y),o.value=!1}}}},CSe=e=>{const{disableHotkeys:t}=De(ht()),{createImageElement:n,createTextElement:r}=c0(),i=o=>{if(!o.dataTransfer||o.dataTransfer.items.length===0)return;const a=o.dataTransfer.items[0];if(a.kind==="file"&&a.type.indexOf("image")!==-1){const s=a.getAsFile();s&&sd(s).then(l=>n(l))}else a.kind==="string"&&a.type==="text/plain"&&a.getAsString(s=>{if(t.value)return;const l=Sx(s);r({left:0,top:0,width:600,height:50},{content:l})})};Ht(()=>{e.value&&e.value.addEventListener("drop",i),document.ondragleave=o=>o.preventDefault(),document.ondrop=o=>o.preventDefault(),document.ondragenter=o=>o.preventDefault(),document.ondragover=o=>o.preventDefault()}),Nn(()=>{e.value&&e.value.removeEventListener("drop",i),document.ondragleave=null,document.ondrop=null,document.ondragenter=null,document.ondragover=null})},ISe=(e,t)=>{const n=Math.atan2(e,t);return 180/Math.PI*n},sz=(e,t,n)=>{const r=ut(),{addHistorySnapshot:i}=nn();return{rotateElement:(a,s)=>{const l=!(a instanceof MouseEvent);if(l&&(!a.changedTouches||!a.changedTouches[0]))return;let u=!0,c=0;const f=s.rotate||0,d=s.left,h=s.top,p=s.width,v=s.height,g=d+p/2,m=h+v/2;if(!t.value)return;const y=t.value.getBoundingClientRect(),R=x=>{if(!u)return;const S=x instanceof MouseEvent?x.pageX:x.changedTouches[0].pageX,L=x instanceof MouseEvent?x.pageY:x.changedTouches[0].pageY,w=(S-y.left)/n.value,M=(L-y.top)/n.value,_=w-g,k=m-M;c=ISe(_,k);const P=5;Math.abs(c)<=P?c=0:c>0&&Math.abs(c-45)<=P?c-=c-45:c<0&&Math.abs(c+45)<=P?c-=c+45:c>0&&Math.abs(c-90)<=P?c-=c-90:c<0&&Math.abs(c+90)<=P?c-=c+90:c>0&&Math.abs(c-135)<=P?c-=c-135:c<0&&Math.abs(c+135)<=P?c-=c+135:c>0&&Math.abs(c-180)<=P?c-=c-180:c<0&&Math.abs(c+180)<=P&&(c-=c+180),e.value=e.value.map(N=>s.id===N.id?{...N,rotate:c}:N)},A=()=>{u=!1,document.onmousemove=null,document.onmouseup=null,f!==c&&(r.updateSlide({elements:e.value}),i())};l?(document.ontouchmove=R,document.ontouchend=A):(document.onmousemove=R,document.onmouseup=A)}}},Mg={text:"文本",image:"图片",shape:"形状",line:"线条",chart:"图表",table:"表格",video:"视频",audio:"音频",latex:"公式"},lz={text:40,image:20,shape:20,chart:200,table:30,video:250,audio:20,latex:20},MX=(e,t)=>{const{left:n,top:r,width:i,height:o}=e,a=Math.sqrt(Math.pow(i,2)+Math.pow(o,2))/2,s=Math.atan(o/i)*180/Math.PI,l=(180-t-s)*Math.PI/180,u=(s-t)*Math.PI/180,c=(90-t)*Math.PI/180,f=t*Math.PI/180,d=i/2,h=o/2,p=n+d,v=r+h,g={left:p+a*Math.cos(l),top:v-a*Math.sin(l)},m={left:p+h*Math.cos(c),top:v-h*Math.sin(c)},y={left:p+a*Math.cos(u),top:v-a*Math.sin(u)},R={left:p+d*Math.cos(f),top:v+d*Math.sin(f)},A={left:p-a*Math.cos(l),top:v+a*Math.sin(l)},x={left:p-h*Math.sin(f),top:v+h*Math.cos(f)},S={left:p-a*Math.cos(u),top:v+a*Math.sin(u)},L={left:p-d*Math.cos(f),top:v-d*Math.sin(f)};return{leftTopPoint:g,topPoint:m,rightTopPoint:y,rightPoint:R,rightBottomPoint:A,bottomPoint:x,leftBottomPoint:S,leftPoint:L}},LX=(e,t)=>({[Rt.RIGHT_BOTTOM]:t.leftTopPoint,[Rt.LEFT_BOTTOM]:t.rightTopPoint,[Rt.LEFT_TOP]:t.rightBottomPoint,[Rt.RIGHT_TOP]:t.leftBottomPoint,[Rt.TOP]:t.bottomPoint,[Rt.BOTTOM]:t.topPoint,[Rt.LEFT]:t.rightPoint,[Rt.RIGHT]:t.leftPoint})[e],uz=(e,t,n)=>{const r=ht(),i=ut(),{activeElementIdList:o,activeGroupElementId:a}=De(r),{viewportRatio:s,viewportSize:l}=De(i),{ctrlOrShiftKeyActive:u}=De(pl()),{addHistorySnapshot:c}=nn();return{scaleElement:(h,p,v)=>{const g=!(h instanceof MouseEvent);if(g&&(!h.changedTouches||!h.changedTouches[0]))return;let m=!0;r.setScalingState(!0);const y=p.left,R=p.top,A=p.width,x=p.height,S=p.type==="table"?p.cellMinHeight:0,L="rotate"in p&&p.rotate?p.rotate:0,w=Math.PI*L/180,M=u.value||"fixedRatio"in p&&p.fixedRatio,_=A/x,k=g?h.changedTouches[0].pageX:h.pageX,P=g?h.changedTouches[0].pageY:h.pageY,N=lz[p.type]||20,C=(Q,K)=>{if(!M)return Q1&&(q=N*de),K==="width"?Q{const $=[];let de=!1,G=!1;const Ae={offsetX:0,offsetY:0};if(K||K===0)for(let ce=0;ce{if(!m)return;const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY,$=K-k,de=q-P;let G=A,Ae=x,ce=y,fe=R;if(L){const le=(Math.cos(w)*$+Math.sin(w)*de)/n.value;let j=(Math.cos(w)*de-Math.sin(w)*$)/n.value;M&&((v===Rt.RIGHT_BOTTOM||v===Rt.LEFT_TOP)&&(j=le/_),(v===Rt.LEFT_BOTTOM||v===Rt.RIGHT_TOP)&&(j=-le/_)),v===Rt.RIGHT_BOTTOM?(G=C(A+le,"width"),Ae=C(x+j,"height")):v===Rt.LEFT_BOTTOM?(G=C(A-le,"width"),Ae=C(x+j,"height"),ce=y-(G-A)):v===Rt.LEFT_TOP?(G=C(A-le,"width"),Ae=C(x-j,"height"),ce=y-(G-A),fe=R-(Ae-x)):v===Rt.RIGHT_TOP?(G=C(A+le,"width"),Ae=C(x-j,"height"),fe=R-(Ae-x)):v===Rt.TOP?(Ae=C(x-j,"height"),fe=R-(Ae-x)):v===Rt.BOTTOM?Ae=C(x+j,"height"):v===Rt.LEFT?(G=C(A-le,"width"),ce=y-(G-A)):v===Rt.RIGHT&&(G=C(A+le,"width"));const X=MX({width:G,height:Ae,left:ce,top:fe},L),J=LX(v,X),se=J.left,ee=J.top,ne=se-I,oe=ee-W;ce=ce-ne,fe=fe-oe}else{let le=$/n.value,j=de/n.value;if(M&&((v===Rt.RIGHT_BOTTOM||v===Rt.LEFT_TOP)&&(j=le/_),(v===Rt.LEFT_BOTTOM||v===Rt.RIGHT_TOP)&&(j=-le/_)),v===Rt.RIGHT_BOTTOM){const{offsetX:X,offsetY:J}=re(y+A+le,R+x+j);le=le-X,j=j-J,M&&(J?le=j*_:j=le/_),G=C(A+le,"width"),Ae=C(x+j,"height")}else if(v===Rt.LEFT_BOTTOM){const{offsetX:X,offsetY:J}=re(y+le,R+x+j);le=le-X,j=j-J,M&&(J?le=-j*_:j=-le/_),G=C(A-le,"width"),Ae=C(x+j,"height"),ce=y-(G-A)}else if(v===Rt.LEFT_TOP){const{offsetX:X,offsetY:J}=re(y+le,R+j);le=le-X,j=j-J,M&&(J?le=j*_:j=le/_),G=C(A-le,"width"),Ae=C(x-j,"height"),ce=y-(G-A),fe=R-(Ae-x)}else if(v===Rt.RIGHT_TOP){const{offsetX:X,offsetY:J}=re(y+A+le,R+j);le=le-X,j=j-J,M&&(J?le=-j*_:j=-le/_),G=C(A+le,"width"),Ae=C(x-j,"height"),fe=R-(Ae-x)}else if(v===Rt.LEFT){const{offsetX:X}=re(y+le,null);le=le-X,G=C(A-le,"width"),ce=y-(G-A)}else if(v===Rt.RIGHT){const{offsetX:X}=re(y+A+le,null);le=le-X,G=C(A+le,"width")}else if(v===Rt.TOP){const{offsetY:X}=re(null,R+j);j=j-X,Ae=C(x-j,"height"),fe=R-(Ae-x)}else if(v===Rt.BOTTOM){const{offsetY:X}=re(null,R+x+j);j=j-X,Ae=C(x+j,"height")}}e.value=e.value.map(le=>{if(p.id!==le.id)return le;if(le.type==="shape"&&"pathFormula"in le&&le.pathFormula){const j=u0[le.pathFormula];let X="";return"editable"in j?X=j.formula(G,Ae,le.keypoints):X=j.formula(G,Ae),{...le,left:ce,top:fe,width:G,height:Ae,viewBox:[G,Ae],path:X}}if(le.type==="table"){let j=S+(Ae-x)/le.data.length;return j=j<36?36:j,j===S?{...le,left:ce,width:G}:{...le,left:ce,top:fe,width:G,height:Ae,cellMinHeight:j<36?36:j}}return{...le,left:ce,top:fe,width:G,height:Ae}})},Y=Q=>{m=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;k===K&&P===q||(i.updateSlide({elements:e.value}),r.setScalingState(!1),c())};g?(document.ontouchmove=B,document.ontouchend=Y):(document.onmousemove=B,document.onmouseup=Y)},scaleMultiElement:(h,p,v)=>{let g=!0;const{minX:m,maxX:y,minY:R,maxY:A}=p,x=y-m,S=A-R,L=x/S,w=h.pageX,M=h.pageY,_=JSON.parse(JSON.stringify(e.value));document.onmousemove=k=>{if(!g)return;const P=k.pageX,N=k.pageY,C=(P-w)/n.value;let F=(N-M)/n.value;u.value&&((v===Rt.RIGHT_BOTTOM||v===Rt.LEFT_TOP)&&(F=C/L),(v===Rt.LEFT_BOTTOM||v===Rt.RIGHT_TOP)&&(F=-C/L));let I=m,W=y,D=R,Z=A;v===Rt.RIGHT_BOTTOM?(W=y+C,Z=A+F):v===Rt.LEFT_BOTTOM?(I=m+C,Z=A+F):v===Rt.LEFT_TOP?(I=m+C,D=R+F):v===Rt.RIGHT_TOP?(W=y+C,D=R+F):v===Rt.TOP?D=R+F:v===Rt.BOTTOM?Z=A+F:v===Rt.LEFT?I=m+C:v===Rt.RIGHT&&(W=y+C);const re=W-I,B=Z-D;let Y=re/x,Q=B/S;Y<=0&&(Y=0),Q<=0&&(Q=0),e.value=e.value.map(K=>{if((K.type==="image"||K.type==="shape")&&o.value.includes(K.id)){const q=_.find($=>$.id===K.id);return{...K,width:q.width*Y,height:q.height*Q,left:I+(q.left-m)*Y,top:D+(q.top-R)*Q}}return K})},document.onmouseup=k=>{g=!1,document.onmousemove=null,document.onmouseup=null,!(w===k.pageX&&M===k.pageY)&&(i.updateSlide({elements:e.value}),c())}}}},NSe=(e,t)=>{const n=ht(),{activeElementIdList:r,activeGroupElementId:i,handleElementId:o,editorAreaFocus:a}=De(n),{ctrlOrShiftKeyActive:s}=De(pl());return{selectElement:(u,c,f=!0)=>{if(a.value||n.setEditorareaFocus(!0),r.value.includes(c.id)){if(s.value){let d=[];if(c.groupId){const h=[];e.value.forEach(p=>{p.groupId===c.groupId&&h.push(p.id)}),d=r.value.filter(p=>!h.includes(p))}else d=r.value.filter(h=>h!==c.id);d.length>0&&n.setActiveElementIdList(d)}else if(o.value!==c.id)n.setHandleElementId(c.id);else if(i.value!==c.id){const d=u instanceof MouseEvent?u.pageX:u.changedTouches[0].pageX,h=u instanceof MouseEvent?u.pageY:u.changedTouches[0].pageY;u.target.onmouseup=p=>{const v=p.pageX,g=p.pageY;d===v&&h===g&&(n.setActiveGroupElementId(c.id),p.target.onmouseup=null)}}}else{let d=[];if(s.value?d=[...r.value,c.id]:d=[c.id],c.groupId){const h=[];e.value.forEach(p=>{p.groupId===c.groupId&&h.push(p.id)}),d=[...d,...h]}n.setActiveElementIdList(Yn.uniq(d)),n.setHandleElementId(c.id)}f&&t(u,c)}}},cz=(e,t,n)=>{const r=ut(),{activeElementIdList:i,activeGroupElementId:o}=De(ht()),{shiftKeyState:a}=De(pl()),{viewportRatio:s,viewportSize:l}=De(r),{addHistorySnapshot:u}=nn();return{dragElement:(f,d)=>{const h=!(f instanceof MouseEvent);if(h&&(!f.changedTouches||!f.changedTouches[0])||!i.value.includes(d.id))return;let p=!0;const v=l.value,g=l.value*s.value,m=5,R=JSON.parse(JSON.stringify(e.value)).filter(Q=>i.value.includes(Q.id)),A=d.left,x=d.top,S=d.width,L="height"in d&&d.height?d.height:0,w="rotate"in d&&d.rotate?d.rotate:0,M=h?f.changedTouches[0].pageX:f.pageX,_=h?f.changedTouches[0].pageY:f.pageY;let k=null;const P=d.id===o.value;let N=[],C=[];for(const Q of e.value){if(Q.type==="line"||P&&Q.id===d.id||!P&&i.value.includes(Q.id))continue;let K,q,$,de;if("rotate"in Q&&Q.rotate){const{xRange:ne,yRange:oe}=qp({left:Q.left,top:Q.top,width:Q.width,height:Q.height,rotate:Q.rotate});K=ne[0],q=oe[0],$=ne[1]-ne[0],de=oe[1]-oe[0]}else K=Q.left,q=Q.top,$=Q.width,de=Q.height;const G=K+$,Ae=q+de,ce=q+de/2,fe=K+$/2,le={value:q,range:[K,G]},j={value:Ae,range:[K,G]},X={value:ce,range:[K,G]},J={value:K,range:[q,Ae]},se={value:G,range:[q,Ae]},ee={value:fe,range:[q,Ae]};N.push(le,j,X),C.push(J,se,ee)}const F={value:0,range:[0,v]},I={value:g,range:[0,v]},W={value:g/2,range:[0,v]},D={value:0,range:[0,g]},Z={value:v,range:[0,g]},re={value:v/2,range:[0,g]};N.push(F,I,W),C.push(D,Z,re),N=xx(N),C=xx(C);const B=Q=>{const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;if(k!==!1&&(k=Math.abs(M-K)Math.abs(de)&&(de=0),Math.abs($)oe.id===d.id?{...oe,left:G,top:Ae}:oe);else{const oe=e.value.find(he=>he.id===d.id);if(!oe)return;e.value=e.value.map(he=>i.value.includes(he.id)?he.id===d.id?{...he,left:G,top:Ae}:{...he,left:he.left+(G-oe.left),top:he.top+(Ae-oe.top)}:he)}},Y=Q=>{p=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null,t.value=[];const K=Q instanceof MouseEvent?Q.pageX:Q.changedTouches[0].pageX,q=Q instanceof MouseEvent?Q.pageY:Q.changedTouches[0].pageY;M===K&&_===q||(r.updateSlide({elements:e.value}),u())};h?(document.ontouchmove=B,document.ontouchend=Y):(document.onmousemove=B,document.onmouseup=Y)}}},FSe=e=>{const t=ut(),{canvasScale:n}=De(ht()),{ctrlOrShiftKeyActive:r}=De(pl()),{addHistorySnapshot:i}=nn();return{dragLineElement:(a,s,l)=>{let u=!0;const c=8,f=a.pageX,d=a.pageY,h=[];for(let p=0;p{if(!u)return;const v=p.pageX,g=p.pageY,m=(v-f)/n.value,y=(g-d)/n.value;let R=s.left+s.start[0],A=s.top+s.start[1],x=s.left+s.end[0],S=s.top+s.end[1];const L=s.broken||s.broken2||s.curve||[0,0];let w=s.left+L[0],M=s.top+L[1];const[_,k]=s.cubic||[[0,0],[0,0]];let P=s.left+_[0],N=s.top+_[1],C=s.left+k[0],F=s.top+k[1];if(l===Ho.START){R=R+m,A=A+y,Math.abs(R-x)x&&(re[0]=D-I,B[0]=0),A>S&&(re[1]=Z-W,B[1]=0),e.value=e.value.map(Y=>{if(Y.id===s.id){const Q={...Y,left:I,top:W,start:re,end:B};return l===Ho.START||l===Ho.END?(r.value?(s.broken&&(Q.broken=[w-I,M-W]),s.curve&&(Q.curve=[w-I,M-W]),s.cubic&&(Q.cubic=[[P-I,N-W],[C-I,F-W]])):(s.broken&&(Q.broken=[(re[0]+B[0])/2,(re[1]+B[1])/2]),s.curve&&(Q.curve=[(re[0]+B[0])/2,(re[1]+B[1])/2]),s.cubic&&(Q.cubic=[[(re[0]+B[0])/2,(re[1]+B[1])/2],[(re[0]+B[0])/2,(re[1]+B[1])/2]])),s.broken2&&(Q.broken2=[(re[0]+B[0])/2,(re[1]+B[1])/2])):l===Ho.C?(s.broken&&(Q.broken=[w-I,M-W]),s.curve&&(Q.curve=[w-I,M-W]),s.broken2&&(D-I>=Z-W?Q.broken2=[w-I,Q.broken2[1]]:Q.broken2=[Q.broken2[0],M-W])):s.cubic&&(Q.cubic=[[P-I,N-W],[C-I,F-W]]),Q}return Y})},document.onmouseup=p=>{u=!1,document.onmousemove=null,document.onmouseup=null;const v=p.pageX,g=p.pageY;f===v&&d===g||(t.updateSlide({elements:e.value}),i())}}}},ESe=(e,t)=>{const n=ut(),{addHistorySnapshot:r}=nn();return{moveShapeKeypoint:(o,a,s=0)=>{const l=!(o instanceof MouseEvent);if(l&&(!o.changedTouches||!o.changedTouches[0]))return;let u=!0;const c=l?o.changedTouches[0].pageX:o.pageX,f=l?o.changedTouches[0].pageY:o.pageY,d=a.keypoints,h=u0[a.pathFormula];let p=null;if("editable"in h&&h.editable){const m=h.getBaseSize[s],y=h.range[s],R=h.relative[s],A=d[s],x=m(a.width,a.height),S=x*A,[L,w]=y;p={baseSize:x,originPos:S,min:L,max:w,relative:R}}const v=m=>{if(!u)return;const y=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,R=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY,A=(y-c)/t.value,x=(R-f)/t.value;e.value=e.value.map(S=>{if(S.id===a.id&&p){const{baseSize:L,originPos:w,min:M,max:_,relative:k}=p,P=S;let N=0;k==="center"?N=(w-A*2)/L:k==="left"?N=(w+A)/L:k==="right"?N=(w-A)/L:k==="top"?N=(w+x)/L:k==="bottom"?N=(w-x)/L:k==="left_bottom"?N=(w+A)/L:k==="right_bottom"?N=(w-A)/L:k==="top_right"?N=(w+x)/L:k==="bottom_right"&&(N=(w-x)/L),N_&&(N=_);let C=[];return Array.isArray(d)?(C=[...d],C[s]=N):C=[N],{...S,keypoints:C,path:h.formula(P.width,P.height,C)}}return S})},g=m=>{u=!1,document.ontouchmove=null,document.ontouchend=null,document.onmousemove=null,document.onmouseup=null;const y=m instanceof MouseEvent?m.pageX:m.changedTouches[0].pageX,R=m instanceof MouseEvent?m.pageY:m.changedTouches[0].pageY;c===y&&f===R||(n.updateSlide({elements:e.value}),r())};l?(document.ontouchmove=v,document.ontouchend=g):(document.onmousemove=v,document.onmouseup=g)}}},XSe=e=>{const t=ht(),{canvasScale:n,creatingElement:r}=De(t),i=c=>{const{start:f,end:d}=c;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[g,m]=d,y=Math.min(p,g),R=Math.max(p,g),A=Math.min(v,m),x=Math.max(v,m),S=(y-h.x)/n.value,L=(A-h.y)/n.value,w=(R-y)/n.value,M=(x-A)/n.value;return{left:S,top:L,width:w,height:M}},o=c=>{const{start:f,end:d}=c;if(!e.value)return;const h=e.value.getBoundingClientRect(),[p,v]=f,[g,m]=d,y=Math.min(p,g),R=Math.max(p,g),A=Math.min(v,m),x=Math.max(v,m),S=(y-h.x)/n.value,L=(A-h.y)/n.value,w=(R-y)/n.value,M=(x-A)/n.value;return{left:S,top:L,start:[p===y?0:w,v===A?0:M],end:[g===y?0:w,m===A?0:M]}},{createTextElement:a,createShapeElement:s,createLineElement:l}=c0();return{formatCreateSelection:i,insertElementFromCreateSelection:c=>{if(!r.value)return;const f=r.value.type;if(f==="text"){const d=i(c);d&&a(d,{vertical:r.value.vertical})}else if(f==="shape"){const d=i(c);d&&s(d,r.value.data)}else if(f==="line"){const d=o(c);d&&l(d,r.value.data)}t.setCreatingElement(null)}}},m3=()=>{const e=ut(),{activeElementIdList:t,activeElementList:n}=De(ht()),{currentSlide:r,viewportRatio:i,viewportSize:o}=De(e),{addHistorySnapshot:a}=nn();return{alignElementToCanvas:l=>{const u=o.value,c=o.value*i.value,{minX:f,maxX:d,minY:h,maxY:p}=ju(n.value),v=JSON.parse(JSON.stringify(r.value.elements));for(const g of v)if(t.value.includes(g.id)){if(l===pn.CENTER){const m=h+(p-h)/2-c/2,y=f+(d-f)/2-u/2;g.top=g.top-m,g.left=g.left-y}if(l===pn.TOP){const m=h-0;g.top=g.top-m}else if(l===pn.VERTICAL){const m=h+(p-h)/2-c/2;g.top=g.top-m}else if(l===pn.BOTTOM){const m=p-c;g.top=g.top-m}else if(l===pn.LEFT){const m=f-0;g.left=g.left-m}else if(l===pn.HORIZONTAL){const m=f+(d-f)/2-u/2;g.left=g.left-m}else if(l===pn.RIGHT){const m=d-u;g.left=g.left-m}}e.updateSlide({elements:v}),a()}}},fd=e=>({shadowStyle:we(()=>{if(e.value){const{h:n,v:r,blur:i,color:o}=e.value;return`${n}px ${r}px ${i}px ${o}`}return""})}),y3=(e,t)=>({flipStyle:we(()=>{let r="";return e.value&&t.value?r="rotateX(180deg) rotateY(180deg)":t.value?r="rotateX(180deg)":e.value&&(r="rotateY(180deg)"),r})});var fz=(e=>(e.RECT="rect",e.ELLIPSE="ellipse",e.POLYGON="polygon",e))(fz||{});const i6={rect:{name:"矩形",type:"rect",radius:"0",style:""},rect2:{name:"矩形2",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 0 100%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L 0 ${t} Z`},rect3:{name:"矩形3",type:"polygon",style:"polygon(0% 0%, 80% 0%, 100% 20%, 100% 100%, 20% 100%, 0% 80%)",createPath:(e,t)=>`M 0 0 L ${e*.8} 0 L ${e} ${t*.2} L ${e} ${t} L ${e*.2} ${t} L 0 ${t*.8} Z`},roundRect:{name:"圆角矩形",type:"rect",radius:"10px",style:"inset(0 round 10px)"},ellipse:{name:"圆形",type:"ellipse",style:"ellipse(50% 50% at 50% 50%)"},triangle:{name:"三角形",type:"polygon",style:"polygon(50% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M ${e*.5} 0 L 0 ${t} L ${e} ${t} Z`},triangle2:{name:"三角形2",type:"polygon",style:"polygon(50% 100%, 0% 0%, 100% 0%)",createPath:(e,t)=>`M ${e*.5} ${t} L 0 0 L ${e} 0 Z`},triangle3:{name:"三角形3",type:"polygon",style:"polygon(0% 0%, 0% 100%, 100% 100%)",createPath:(e,t)=>`M 0 0 L 0 ${t} L ${e} ${t} Z`},rhombus:{name:"菱形",type:"polygon",style:"polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${t*.5} L ${e*.5} ${t} L 0 ${t*.5} Z`},pentagon:{name:"五边形",type:"polygon",style:"polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e} ${.38*t} L ${.82*e} ${t} L ${.18*e} ${t} L 0 ${.38*t} Z`},hexagon:{name:"六边形",type:"polygon",style:"polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%)",createPath:(e,t)=>`M ${e*.2} 0 L ${e*.8} 0 L ${e} ${t*.5} L ${e*.8} ${t} L ${e*.2} ${t} L 0 ${t*.5} Z`},heptagon:{name:"七边形",type:"polygon",style:"polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%)",createPath:(e,t)=>`M ${e*.5} 0 L ${e*.9} ${t*.2} L ${e} ${t*.6} L ${e*.75} ${t} L ${e*.25} ${t} L 0 ${t*.6} L ${e*.1} ${t*.2} Z`},octagon:{name:"八边形",type:"polygon",style:"polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e*.7} 0 L ${e} ${t*.3} L ${e} ${t*.7} L ${e*.7} ${t} L ${e*.3} ${t} L 0 ${t*.7} L 0 ${t*.3} Z`},chevron:{name:"V形",type:"polygon",style:"polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%)",createPath:(e,t)=>`M ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} L ${e*.25} ${t*.5} L 0 0 Z`},point:{name:"点",type:"polygon",style:"polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)",createPath:(e,t)=>`M 0 0 L ${e*.75} 0 L ${e} ${t*.5} L ${e*.75} ${t} L 0 ${t} Z`},arrow:{name:"箭头",type:"polygon",style:"polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%)",createPath:(e,t)=>`M 0 ${t*.2} L ${e*.6} ${t*.2} L ${e*.6} 0 L ${e} ${t*.5} L ${e*.6} ${t} L ${e*.6} ${t*.8} L 0 ${t*.8} Z`},parallelogram:{name:"平行四边形",type:"polygon",style:"polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.3} 0 L ${e} 0 L ${e*.7} ${t} L 0 ${t} Z`},parallelogram2:{name:"平行四边形2",type:"polygon",style:"polygon(30% 100%, 100% 100%, 70% 0%, 0% 0%)",createPath:(e,t)=>`M ${e*.3} ${t} L ${e} ${t} L ${e*.7} 0 L 0 0 Z`},trapezoid:{name:"梯形",type:"polygon",style:"polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%)",createPath:(e,t)=>`M ${e*.25} 0 L ${e*.75} 0 L ${e} ${t} L 0 ${t} Z`},trapezoid2:{name:"梯形2",type:"polygon",style:"polygon(0% 0%, 100% 0%, 75% 100%, 25% 100%)",createPath:(e,t)=>`M 0 0 L ${e} 0 L ${e*.75} ${t} L ${e*.25} ${t} Z`}},Ak=e=>{const t=we(()=>{let r=i6.rect;if(e.value.clip){const i=e.value.clip.shape||fz.RECT;r=i6[i]}return r.radius!==void 0&&e.value.radius&&(r={...r,radius:`${e.value.radius}px`,style:`inset(0 round ${e.value.radius}px)`}),r}),n=we(()=>{if(!e.value.clip)return{top:"0",left:"0",width:"100%",height:"100%"};const[r,i]=e.value.clip.range,o=(i[0]-r[0])/100,a=(i[1]-r[1])/100,s=r[0]/o,l=r[1]/a;return{left:-s+"%",top:-l+"%",width:100/o+"%",height:100/a+"%"}});return{clipShape:t,imgPosition:n}},dz=e=>({filter:we(()=>{if(!e.value)return"";let n="";const r=Object.keys(e.value);for(const i of r)n+=`${i}(${e.value[i]}) `;return n})}),Jv=e=>{const t=we(()=>{var o;return((o=e.value)==null?void 0:o.width)??0}),n=we(()=>{var o;return((o=e.value)==null?void 0:o.style)||"solid"}),r=we(()=>{var o;return((o=e.value)==null?void 0:o.color)||"#d14424"}),i=we(()=>{const o=t.value;return n.value==="dashed"?o<=6?`${o*4.5} ${o*2}`:`${o*4} ${o*1.5}`:n.value==="dotted"?o<=6?`${o*1.8} ${o*1.6}`:`${o*1.5} ${o*1.2}`:"0 0"});return{outlineWidth:t,outlineStyle:n,outlineColor:r,strokeDashArray:i}},WSe=["width","height"],VSe=["rx","ry","width","height","stroke","stroke-width","stroke-dasharray"],DSe=Xe({__name:"ImageRectOutline",props:{width:{},height:{},outline:{},radius:{default:"0"}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-rect-outline",overflow:"visible",width:o.width,height:o.height},[V("rect",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",rx:o.radius,ry:o.radius,width:o.width,height:o.height,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,VSe)],8,WSe)):Ze("",!0)}}),USe=Be(DSe,[["__scopeId","data-v-09a0319c"]]),BSe=["width","height"],YSe=["cx","cy","rx","ry","stroke","stroke-width","stroke-dasharray"],ZSe=Xe({__name:"ImageEllipseOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-ellipse-outline",overflow:"visible",width:o.width,height:o.height},[V("ellipse",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",cx:o.width/2,cy:o.height/2,rx:o.width/2,ry:o.height/2,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,YSe)],8,BSe)):Ze("",!0)}}),QSe=Be(ZSe,[["__scopeId","data-v-19e68d74"]]),HSe=["width","height"],KSe=["d","stroke","stroke-width","stroke-dasharray"],GSe=Xe({__name:"ImagePolygonOutline",props:{width:{},height:{},createPath:{type:Function},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"image-polygon-outline",overflow:"visible",width:o.width,height:o.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:o.createPath(o.width,o.height),stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,KSe)],8,HSe)):Ze("",!0)}}),zSe=Be(GSe,[["__scopeId","data-v-a036b0a3"]]),JSe={class:"image-outline"},hz=Xe({__name:"index",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo),{clipShape:r}=Ak(n);return(i,o)=>(U(),te("div",JSe,[z(r).type==="rect"?(U(),_e(USe,{key:0,width:i.elementInfo.width,height:i.elementInfo.height,radius:z(r).radius,outline:i.elementInfo.outline},null,8,["width","height","radius","outline"])):z(r).type==="ellipse"?(U(),_e(QSe,{key:1,width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"])):z(r).type==="polygon"?(U(),_e(zSe,{key:2,width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline,createPath:z(r).createPath},null,8,["width","height","outline","createPath"])):Ze("",!0)]))}}),pz=e=>(en("data-v-31b3b0f9"),e=e(),tn(),e),$Se=["src"],jSe=["src"],qSe=["onMousedown"],e3e=pz(()=>V("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[V("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 16 L 4 16 L 4 4 L 16 4 L 16 0 Z"})],-1)),t3e=[e3e],n3e=["onMousedown"],r3e=pz(()=>V("svg",{width:"16",height:"16",fill:"#fff",stroke:"#333"},[V("path",{"stroke-width":"0.3","shape-rendering":"crispEdges",d:"M 16 0 L 0 0 L 0 4 L 16 4 Z"})],-1)),i3e=[r3e],o3e=Xe({__name:"ImageClipHandler",props:{src:{},clipPath:{},width:{},height:{},top:{},left:{},rotate:{},clipData:{}},emits:["clip"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:i}=De(ht()),{ctrlOrShiftKeyActive:o}=De(pl()),a=pe({top:"0",left:"0"}),s=pe(!1),l=pe(null),u=()=>{const[w,M]=n.clipData?n.clipData.range:[[0,0],[100,100]],_=(M[0]-w[0])/100,k=(M[1]-w[1])/100,P=w[0]/_,N=w[1]/k;return{widthScale:_,heightScale:k,left:P,top:N}},c=we(()=>{const{widthScale:w,heightScale:M,left:_,top:k}=u();return{left:-_,top:-k,width:100/w,height:100/M}}),f=we(()=>({top:c.value.top+"%",left:c.value.left+"%",width:c.value.width+"%",height:c.value.height+"%"})),d=pe({top:0,left:0,width:0,height:0}),h=we(()=>{const{top:w,left:M,width:_,height:k}=d.value;return{top:w+"%",left:M+"%",width:_+"%",height:k+"%"}}),p=we(()=>{const w=c.value.width,M=c.value.height,{top:_,left:k,width:P,height:N}=d.value;return{left:-k*(100/P)+"%",top:-_*(100/N)+"%",width:w/P*100+"%",height:M/N*100+"%"}}),v=()=>{const{left:w,top:M}=u();d.value={left:w,top:M,width:100,height:100},a.value={top:-M+"%",left:-w+"%"}},g=()=>{if(s.value)return;if(!l.value){r("clip",null);return}const{left:w,top:M}=u(),_={left:(d.value.left-w)/100*n.width,top:(d.value.top-M)/100*n.height,width:(d.value.width-100)/100*n.width,height:(d.value.height-100)/100*n.height},k={range:l.value,position:_};r("clip",k)},m=w=>{w.key.toUpperCase()===At.ENTER&&g()};Ht(()=>{v(),document.addEventListener("keydown",m)}),Nn(()=>{document.removeEventListener("keydown",m)});const y=()=>{const w={left:parseInt(p.value.left),top:parseInt(p.value.top),width:parseInt(p.value.width),height:parseInt(p.value.height)},M=100/w.width,_=100/w.height,k=[-w.left*M,-w.top*_],P=[M*100+k[0],_*100+k[1]];l.value=[k,P]},R=w=>{s.value=!0;let M=!0;const _=w.pageX,k=w.pageY,P=c.value,N={...d.value};document.onmousemove=C=>{if(!M)return;const F=C.pageX,I=C.pageY,W=(F-_)/i.value,D=(I-k)/i.value,Z=Math.sqrt(W*W+D*D),B=Math.atan2(D,W)-n.rotate/180*Math.PI,Y=Z*Math.cos(B)/n.width*100,Q=Z*Math.sin(B)/n.height*100;let K=N.left+Y,q=N.top+Q;K<0?K=0:K+N.width>P.width&&(K=P.width-N.width),q<0?q=0:q+N.height>P.height&&(q=P.height-N.height),d.value={...d.value,left:K,top:q}},document.onmouseup=()=>{M=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>{s.value=!1},0)}},A=(w,M)=>{s.value=!0;let _=!0;const k=50/n.width*100,P=50/n.height*100,N=w.pageX,C=w.pageY,F=c.value,I={...d.value},W=d.value.width/d.value.height;document.onmousemove=D=>{if(!_)return;const Z=D.pageX,re=D.pageY,B=(Z-N)/i.value,Y=(re-C)/i.value,Q=Math.sqrt(B*B+Y*Y),q=Math.atan2(Y,B)-n.rotate/180*Math.PI;let $=Q*Math.cos(q)/n.width*100,de=Q*Math.sin(q)/n.height*100;o.value&&((M===Rt.RIGHT_BOTTOM||M===Rt.LEFT_TOP)&&(de=$/W),(M===Rt.LEFT_BOTTOM||M===Rt.RIGHT_TOP)&&(de=-$/W));let G,Ae,ce,fe;M===Rt.LEFT_TOP?(I.left+$<0&&($=-I.left),I.top+de<0&&(de=-I.top),I.width-$F.width&&($=F.width-(I.left+I.width)),I.top+de<0&&(de=-I.top),I.width+$F.height&&(de=F.height-(I.top+I.height)),I.width-$F.width&&($=F.width-(I.left+I.width)),I.top+I.height+de>F.height&&(de=F.height-(I.top+I.height)),I.width+$F.height&&(de=F.height-(I.top+I.height)),I.height+deF.width&&($=F.width-(I.left+I.width)),I.width+${_=!1,document.onmousemove=null,document.onmouseup=null,y(),setTimeout(()=>s.value=!1,0)}},x=we(()=>{const w="rotate-",M=n.rotate;return M>-22.5&&M<=22.5?w+0:M>22.5&&M<=67.5?w+45:M>67.5&&M<=112.5?w+90:M>112.5&&M<=157.5?w+135:M>157.5||M<=-157.5?w+0:M>-157.5&&M<=-112.5?w+45:M>-112.5&&M<=-67.5?w+90:M>-67.5&&M<=-22.5?w+135:w+0}),S=[Rt.LEFT_TOP,Rt.RIGHT_TOP,Rt.LEFT_BOTTOM,Rt.RIGHT_BOTTOM],L=[Rt.TOP,Rt.BOTTOM,Rt.LEFT,Rt.RIGHT];return(w,M)=>{const _=Fn("click-outside");return ze((U(),te("div",{class:"image-clip-handler",style:Le(a.value)},[V("img",{class:"bottom-img",src:w.src,draggable:!1,alt:"",style:Le(f.value)},null,12,$Se),V("div",{class:"top-image-content",style:Le({...h.value,clipPath:w.clipPath})},[V("img",{class:"top-img",src:w.src,draggable:!1,alt:"",style:Le(p.value)},null,12,jSe)],4),V("div",{class:"operate",style:Le(h.value),onMousedown:M[0]||(M[0]=Ft(k=>R(k),["stop"]))},[(U(),te(We,null,tt(S,k=>V("div",{class:$e(["clip-point",k,x.value]),key:k,onMousedown:Ft(P=>A(P,k),["stop"])},t3e,42,qSe)),64)),(U(),te(We,null,tt(L,k=>V("div",{class:$e(["clip-point",k,x.value]),key:k,onMousedown:Ft(P=>A(P,k),["stop"])},i3e,42,n3e)),64))],36)],4)),[[_,g]])}}}),a3e=Be(o3e,[["__scopeId","data-v-31b3b0f9"]]),s3e=["src"],l3e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{clipingImageElementId:i}=De(n),o=we(()=>i.value===t.elementInfo.id),{addHistorySnapshot:a}=nn(),s=we(()=>t.elementInfo.shadow),{shadowStyle:l}=fd(s),u=we(()=>t.elementInfo.flipH),c=we(()=>t.elementInfo.flipV),{flipStyle:f}=y3(u,c),d=we(()=>t.elementInfo),{clipShape:h,imgPosition:p}=Ak(d),v=we(()=>t.elementInfo.filters),{filter:g}=dz(v),m=R=>{t.elementInfo.lock||(R.stopPropagation(),t.selectElement(R,t.elementInfo))},y=R=>{if(n.setClipingImageElementId(""),!R)return;const{range:A,position:x}=R,S=t.elementInfo.clip||{shape:"rect",range:[[0,0],[100,100]]},L=t.elementInfo.left+x.left,w=t.elementInfo.top+x.top,M=t.elementInfo.width+x.width,_=t.elementInfo.height+x.height;let k=0,P=0;if(t.elementInfo.rotate){const C=L+M/2-(t.elementInfo.left+t.elementInfo.width/2),F=-(w+_/2-(t.elementInfo.top+t.elementInfo.height/2)),I=-t.elementInfo.rotate*Math.PI/180,W=C*Math.cos(I)-F*Math.sin(I),D=C*Math.sin(I)+F*Math.cos(I);k=W-C,P=-(D-F)}const N={clip:{...S,range:A},left:L+k,top:w+P,width:M,height:_};r.updateElement({id:t.elementInfo.id,props:N}),a()};return(R,A)=>{const x=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-image",{lock:R.elementInfo.lock}]),style:Le({top:R.elementInfo.top+"px",left:R.elementInfo.left+"px",width:R.elementInfo.width+"px",height:R.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${R.elementInfo.rotate}deg)`})},[o.value?(U(),_e(a3e,{key:0,src:R.elementInfo.src,clipData:R.elementInfo.clip,width:R.elementInfo.width,height:R.elementInfo.height,top:R.elementInfo.top,left:R.elementInfo.left,rotate:R.elementInfo.rotate,clipPath:z(h).style,onClip:A[0]||(A[0]=S=>y(S))},null,8,["src","clipData","width","height","top","left","rotate","clipPath"])):ze((U(),te("div",{key:1,class:"element-content",style:Le({filter:z(l)?`drop-shadow(${z(l)})`:"",transform:z(f)}),onMousedown:A[2]||(A[2]=S=>m(S)),onTouchstart:A[3]||(A[3]=S=>m(S))},[O(hz,{elementInfo:R.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:Le({clipPath:z(h).style})},[V("img",{src:R.elementInfo.src,draggable:!1,style:Le({top:z(p).top,left:z(p).left,width:z(p).width,height:z(p).height,filter:z(g)}),onDragstart:A[1]||(A[1]=Ft(()=>{},["prevent"])),alt:""},null,44,s3e),R.elementInfo.colorMask?(U(),te("div",{key:0,class:"color-mask",style:Le({backgroundColor:R.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],36)),[[x,R.contextmenus]])],4)],6)}}}),vz=Be(l3e,[["__scopeId","data-v-86b9f3af"]]),u3e=["width","height"],c3e=["d","stroke","stroke-width","stroke-dasharray"],f3e=Xe({__name:"ElementOutline",props:{width:{},height:{},outline:{}},setup(e){const t=e,{outlineWidth:n,outlineColor:r,strokeDashArray:i}=Jv(Ev(t,"outline"));return(o,a)=>o.outline?(U(),te("svg",{key:0,class:"element-outline",overflow:"visible",width:o.width,height:o.height},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:"transparent",d:`M0,0 L${o.width},0 L${o.width},${o.height} L0,${o.height} Z`,stroke:z(r),"stroke-width":z(n),"stroke-dasharray":z(i)},null,8,c3e)],8,u3e)):Ze("",!0)}}),A3=Be(f3e,[["__scopeId","data-v-e2ef58f5"]]),Yi=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},i2=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t};let o6=null;const Qu=function(e,t,n){let r=o6||(o6=document.createRange());return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},d3e=function(){o6=null},qh=function(e,t,n,r){return n&&(TX(e,t,n,r,-1)||TX(e,t,n,r,1))},h3e=/^(img|br|input|textarea|hr)$/i;function TX(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:zl(e))){let o=e.parentNode;if(!o||o.nodeType!=1||oy(e)||h3e.test(e.nodeName)||e.contentEditable=="false")return!1;t=Yi(e)+(i<0?0:1),e=o}else if(e.nodeType==1){if(e=e.childNodes[t+(i<0?-1:0)],e.contentEditable=="false")return!1;t=i<0?zl(e):0}else return!1}}function zl(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function p3e(e,t){for(;;){if(e.nodeType==3&&t)return e;if(e.nodeType==1&&t>0){if(e.contentEditable=="false")return null;e=e.childNodes[t-1],t=zl(e)}else if(e.parentNode&&!oy(e))t=Yi(e),e=e.parentNode;else return null}}function v3e(e,t){for(;;){if(e.nodeType==3&&t2),ds=Mv||(pu?/Mac/.test(pu.platform):!1),A3e=pu?/Win/.test(pu.platform):!1,rl=/Android \d/.test(dd),ay=!!_X&&"webkitFontSmoothing"in _X.documentElement.style,R3e=ay?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function b3e(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function Vu(e,t){return typeof e=="number"?e:e[t]}function x3e(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function OX(e,t,n){let r=e.someProp("scrollThreshold")||0,i=e.someProp("scrollMargin")||5,o=e.dom.ownerDocument;for(let a=n||e.dom;a;a=i2(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,u=l?b3e(o):x3e(s),c=0,f=0;if(t.topu.bottom-Vu(r,"bottom")&&(f=t.bottom-t.top>u.bottom-u.top?t.top+Vu(i,"top")-u.top:t.bottom-u.bottom+Vu(i,"bottom")),t.leftu.right-Vu(r,"right")&&(c=t.right-u.right+Vu(i,"right")),c||f)if(l)o.defaultView.scrollBy(c,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),c&&(s.scrollLeft+=c);let p=s.scrollLeft-d,v=s.scrollTop-h;t={left:t.left-p,top:t.top-v,right:t.right-p,bottom:t.bottom-v}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function S3e(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let o=(t.left+t.right)/2,a=n+1;a=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:yz(e.dom)}}function yz(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=i2(r));return t}function w3e({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;Az(n,r==0?0:r-t)}function Az(e,t){for(let n=0;n=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let v=p.left>t.left?p.left-t.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>t.top&&!l&&p.left<=t.left&&p.right>=t.left&&(l=c,u={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(o=f+1)}}return!n&&l&&(n=l,i=u,r=0),n&&n.nodeType==3?L3e(n,i):!n||r&&n.nodeType==1?{node:e,offset:o}:Rz(n,i)}function L3e(e,t){let n=e.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:e,offset:0}}function Rk(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function T3e(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,i,o)}function O3e(e,t,n,r){let i=-1;for(let o=t,a=!1;o!=e.dom;){let s=e.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?i=s.posBefore:(!a&&l.right-1?i:e.docView.posFromDOM(t,n,-1)}function bz(e,t,n){let r=e.childNodes.length;if(r&&n.topt.top&&i++}let u;ay&&i&&r.nodeType==1&&(u=r.childNodes[i-1]).nodeType==1&&u.contentEditable=="false"&&u.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=O3e(e,r,i,t))}s==null&&(s=_3e(e,a,t));let l=e.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function kX(e){return e.top=0&&i==r.nodeValue.length?(l--,c=1):n<0?l--:u++,O1(tf(Qu(r,l,u),c),c<0)}if(!e.state.doc.resolve(t-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==zl(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return O5(l.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(n<0||i==zl(r))){let l=r.childNodes[i-1],u=l.nodeType==3?Qu(l,zl(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(u)return O1(tf(u,1),!1)}if(o==null&&i=0)}function O1(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function O5(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Sz(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function C3e(e,t,n){let r=t.selection,i=n=="up"?r.$from:r.$to;return Sz(e,t,()=>{let{node:o}=e.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=e.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=xz(e,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Qu(s,0,s.nodeValue.length).getClientRects();else continue;for(let u=0;uc.top+1&&(n=="up"?a.top-c.top>(c.bottom-a.top)*2:c.bottom-a.bottom>(a.bottom-c.top)*2))return!1}}return!0})}const I3e=/[\u0590-\u08ac]/;function N3e(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=e.domSelection();return!I3e.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:Sz(e,t,()=>{let{focusNode:l,focusOffset:u,anchorNode:c,anchorOffset:f}=e.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:p,focusOffset:v}=e.domSelectionRange(),g=p&&!h.contains(p.nodeType==1?p:p.parentNode)||l==p&&u==v;try{s.collapse(c,f),l&&(l!=c||u!=f)&&s.extend&&s.extend(l,u)}catch{}return d!=null&&(s.caretBidiLevel=d),g})}let PX=null,CX=null,IX=!1;function F3e(e,t,n){return PX==t&&CX==n?IX:(PX=t,CX=n,IX=n=="up"||n=="down"?C3e(e,t,n):N3e(e,t,n))}const ws=0,NX=1,gh=2,vu=3;class sy{constructor(t,n,r,i){this.parent=t,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=ws,r.pmViewDesc=this}matchesWidget(t){return!1}matchesMark(t){return!1}matchesNode(t,n,r){return!1}matchesHack(t){return!1}parseRule(){return null}stopEvent(t){return!1}get size(){let t=0;for(let n=0;nYi(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=t.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=t;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==t.childNodes.length)for(let o=t;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(t,n=!1){for(let r=!0,i=t;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(t.nodeType==1?t:t.parentNode):a==t))r=!1;else return o}}getDesc(t){let n=t.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(t,n,r){for(let i=t;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(t,n,r)}return-1}descAt(t){for(let n=0,r=0;nt||a instanceof Mz){i=t-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof wz&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?Yi(o.dom)+1:0}}else{let o,a=!0;for(;o=r=c&&n<=u-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(t,n,c);t=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){i=Yi(d.dom)+1;break}t-=d.size}i==-1&&(i=0)}if(i>-1&&(u>n||s==this.children.length-1)){n=u;for(let c=s+1;ch&&an){let h=s;s=l,l=h}let d=document.createRange();d.setEnd(l.node,l.offset),d.setStart(s.node,s.offset),u.removeAllRanges(),u.addRange(d)}}ignoreMutation(t){return!this.contentDOM&&t.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,n){for(let r=0,i=0;i=r:tr){let s=r+o.border,l=a-o.border;if(t>=s&&n<=l){this.dirty=t==r||n==a?gh:NX,t==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=vu:o.markDirty(t-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?gh:vu}r=a}this.dirty=gh}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?gh:NX;n.dirty{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(t,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(t){return this.dirty==ws&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let n=this.widget.spec.stopEvent;return n?n(t):!1}ignoreMutation(t){return t.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class E3e extends sy{constructor(t,n,r,i){super(t,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(t,n){return t!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return t.type==="characterData"&&t.target.nodeValue==t.oldValue}}class e0 extends sy{constructor(t,n,r,i){super(t,[],r,i),this.mark=n}static create(t,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=Wv.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e0(t,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&vu||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=vu&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=ws){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(o=f6(o,0,t,r));for(let s=0;s{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),c=u&&u.dom,f=u&&u.contentDOM;if(n.isText){if(!c)c=document.createTextNode(n.text);else if(c.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else c||({dom:c,contentDOM:f}=Wv.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!f&&!n.isText&&c.nodeName!="BR"&&(c.hasAttribute("contenteditable")||(c.contentEditable="false"),n.type.spec.draggable&&(c.draggable=!0));let d=c;return c=_z(c,r,n),u?l=new X3e(t,n,r,i,c,f||null,d,u,o,a+1):n.isText?new b3(t,n,r,i,c,d,o):new If(t,n,r,i,c,f||null,d,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(t.preserveWhitespace="full"),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=()=>ft.empty)}return t}matchesNode(t,n,r){return this.dirty==ws&&t.eq(this.node)&&c6(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(t,n){let r=this.node.inlineContent,i=n,o=t.composing?this.localCompositionInfo(t,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new V3e(this,a&&a.node,t);B3e(this.node,this.innerDeco,(u,c,f)=>{u.spec.marks?l.syncToMarks(u.spec.marks,r,t):u.type.side>=0&&!f&&l.syncToMarks(c==this.node.childCount?Gn.none:this.node.child(c).marks,r,t),l.placeWidget(u,t,i)},(u,c,f,d)=>{l.syncToMarks(u.marks,r,t);let h;l.findNodeMatch(u,c,f,d)||s&&t.state.selection.from>i&&t.state.selection.to-1&&l.updateNodeAt(u,c,f,h,t)||l.updateNextNode(u,c,f,t,d,i)||l.addNode(u,c,f,t,i),i+=u.nodeSize}),l.syncToMarks([],r,t),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==gh)&&(a&&this.protectLocalComposition(t,a),Lz(this.contentDOM,this.children,t),Mv&&Y3e(this.dom))}localCompositionInfo(t,n){let{from:r,to:i}=t.state.selection;if(!(t.state.selection instanceof er)||rn+this.node.content.size)return null;let o=t.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let a=o.nodeValue,s=Z3e(this.node.content,a,r-n,i-n);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(t,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new E3e(this,o,n,i);t.input.compositionNodes.push(a),this.children=f6(this.children,r,r+i.length,t,a)}update(t,n,r,i){return this.dirty==vu||!t.sameMarkup(this.node)?!1:(this.updateInner(t,n,r,i),!0)}updateInner(t,n,r,i){this.updateOuterDeco(n),this.node=t,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=ws}updateOuterDeco(t){if(c6(t,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Tz(this.dom,this.nodeDOM,u6(this.outerDeco,this.node,n),u6(t,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function FX(e,t,n,r,i){_z(r,t,e);let o=new If(void 0,e,t,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class b3 extends If{constructor(t,n,r,i,o,a,s){super(t,n,r,i,o,null,a,s,0)}parseRule(){let t=this.nodeDOM.parentNode;for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode;return{skip:t||!0}}update(t,n,r,i){return this.dirty==vu||this.dirty!=ws&&!this.inParent()||!t.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=ws||t.text!=this.node.text)&&t.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=t.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=t,this.dirty=ws,!0)}inParent(){let t=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==t)return!0;return!1}domFromPos(t){return{node:this.nodeDOM,offset:t}}localPosFromDOM(t,n,r){return t==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(t,n,r)}ignoreMutation(t){return t.type!="characterData"&&t.type!="selection"}slice(t,n,r){let i=this.node.cut(t,n),o=document.createTextNode(i.text);return new b3(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(t,n){super.markDirty(t,n),this.dom!=this.nodeDOM&&(t==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=vu)}get domAtom(){return!1}isText(t){return this.node.text==t}}class Mz extends sy{parseRule(){return{ignore:!0}}matchesHack(t){return this.dirty==ws&&this.dom.nodeName==t}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class X3e extends If{constructor(t,n,r,i,o,a,s,l,u,c){super(t,n,r,i,o,a,s,u,c),this.spec=l}update(t,n,r,i){if(this.dirty==vu)return!1;if(this.spec.update){let o=this.spec.update(t,n,r);return o&&this.updateInner(t,n,r,i),o}else return!this.contentDOM&&!t.isLeaf?!1:super.update(t,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(t,n,r,i){this.spec.setSelection?this.spec.setSelection(t,n,r):super.setSelection(t,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(t){return this.spec.stopEvent?this.spec.stopEvent(t):!1}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}}function Lz(e,t,n){let r=e.firstChild,i=!1;for(let o=0;o>1,a=Math.min(o,t.length);for(;i-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=e0.create(this.top,t[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(t,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(t,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let u=n.children[r-1];if(u instanceof e0)n=u,r=u.children.length;else{s=u,r--;break}}else{if(n==t)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=e.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function U3e(e,t){return e.type.side-t.type.side}function B3e(e,t,n,r){let i=t.locals(e),o=0;if(i.length==0){for(let u=0;uo;)s.push(i[a++]);let p=o+d.nodeSize;if(d.isText){let g=p;a!g.inline):s.slice();r(d,v,t.forChild(o,d),h),o=p}}function Y3e(e){if(e.nodeName=="UL"||e.nodeName=="OL"){let t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}function Z3e(e,t,n,r){for(let i=0,o=0;i=n){if(o>=r&&l.slice(r-t.length-s,r-s)==t)return r-t.length;let u=s=0&&u+t.length+s>=n)return s+u;if(n==r&&l.length>=r+t.length-s&&l.slice(r-s,r-s+t.length)==t)return r}}return-1}function f6(e,t,n,r,i){let o=[];for(let a=0,s=0;a=n||c<=t?o.push(l):(un&&o.push(l.slice(n-u,l.size,r)))}return o}function bk(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,u;if(R3(n)){for(l=s;i&&!i.node;)i=i.parent;let c=i.node;if(i&&c.isAtom&&zt.isSelectable(c)&&i.parent&&!(c.isInline&&g3e(n.focusNode,n.focusOffset,i.dom))){let f=i.posBefore;u=new zt(a==f?s:r.resolve(f))}}else{let c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null;l=r.resolve(c)}if(!u){let c=t=="pointer"||e.state.selection.head{(n.anchorNode!=r||n.anchorOffset!=i)&&(t.removeEventListener("selectionchange",e.input.hideSelectionGuard),setTimeout(()=>{(!Oz(e)||e.state.selection.visible)&&e.dom.classList.remove("ProseMirror-hideselection")},20))})}function H3e(e){let t=e.domSelection(),n=document.createRange(),r=e.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setEnd(r.parentNode,Yi(r)+1):n.setEnd(r,0),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!i&&!e.state.selection.visible&&aa&&Cf<=11&&(r.disabled=!0,r.disabled=!1)}function kz(e,t){if(t instanceof zt){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(DX(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else DX(e)}function DX(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=void 0)}function xk(e,t,n,r){return e.someProp("createSelectionBetween",i=>i(e,t,n))||er.between(t,n,r)}function UX(e){return e.editable&&!e.hasFocus()?!1:Pz(e)}function Pz(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return e.dom.contains(t.anchorNode.nodeType==3?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(t.focusNode.nodeType==3?t.focusNode.parentNode:t.focusNode))}catch{return!1}}function K3e(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return qh(t.node,t.offset,n.anchorNode,n.anchorOffset)}function d6(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return o&&In.findFrom(o,t)}function ff(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function BX(e,t,n){let r=e.state.selection;if(r instanceof er)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=e.state.doc.resolve(i.pos+o.nodeSize*(t<0?-1:1));return ff(e,new er(r.$anchor,a))}else if(r.empty){if(e.endOfTextblock(t>0?"forward":"backward")){let i=d6(e.state,t);return i&&i instanceof zt?ff(e,i):!1}else if(!(ds&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=t<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=e.docView.descAt(s))&&!a.contentDOM?zt.isSelectable(o)?ff(e,new zt(t<0?e.state.doc.resolve(i.pos-o.nodeSize):i)):ay?ff(e,new er(e.state.doc.resolve(t<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof zt&&r.node.isInline)return ff(e,new er(t>0?r.$to:r.$from));{let i=d6(e.state,t);return i?ff(e,i):!1}}}function Wx(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function fm(e,t){let n=e.pmViewDesc;return n&&n.size==0&&(t<0||e.nextSibling||e.nodeName!="BR")}function B0(e,t){return t<0?G3e(e):z3e(e)}function G3e(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,o,a=!1;for(fl&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(fm(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(Cz(n))break;{let s=n.previousSibling;for(;s&&fm(s,-1);)i=n.parentNode,o=Yi(s),s=s.previousSibling;if(s)n=s,r=Wx(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}}a?h6(e,n,r):i&&h6(e,i,o)}function z3e(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i=Wx(n),o,a;for(;;)if(r{e.state==i&&oc(e)},50)}function YX(e,t){let n=e.state.doc.resolve(t);if(!(ho||A3e)&&n.parent.inlineContent){let i=e.coordsAtPos(t);if(t>n.start()){let o=e.coordsAtPos(t-1),a=(o.top+o.bottom)/2;if(a>i.top&&a1)return o.lefti.top&&a1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(e.dom).direction=="rtl"?"rtl":"ltr"}function ZX(e,t,n){let r=e.state.selection;if(r instanceof er&&!r.empty||n.indexOf("s")>-1||ds&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){let a=d6(e.state,t);if(a&&a instanceof zt)return ff(e,a)}if(!i.parent.inlineContent){let a=t<0?i:o,s=r instanceof na?In.near(a,t):In.findFrom(a,t);return s?ff(e,s):!1}return!1}function QX(e,t){if(!(e.state.selection instanceof er))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;let o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=e.state.tr;return t<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),e.dispatch(a),!0}return!1}function HX(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function j3e(e){if(!Io||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&t.nodeType==1&&n==0&&t.firstChild&&t.firstChild.contentEditable=="false"){let r=t.firstChild;HX(e,r,"true"),setTimeout(()=>HX(e,r,"false"),20)}return!1}function q3e(e){let t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}function e4e(e,t){let n=t.keyCode,r=q3e(t);if(n==8||ds&&n==72&&r=="c")return QX(e,-1)||B0(e,-1);if(n==46&&!t.shiftKey||ds&&n==68&&r=="c")return QX(e,1)||B0(e,1);if(n==13||n==27)return!0;if(n==37||ds&&n==66&&r=="c"){let i=n==37?YX(e,e.state.selection.from)=="ltr"?-1:1:-1;return BX(e,i,r)||B0(e,i)}else if(n==39||ds&&n==70&&r=="c"){let i=n==39?YX(e,e.state.selection.from)=="ltr"?1:-1:1;return BX(e,i,r)||B0(e,i)}else{if(n==38||ds&&n==80&&r=="c")return ZX(e,-1,r)||B0(e,-1);if(n==40||ds&&n==78&&r=="c")return j3e(e)||ZX(e,1,r)||B0(e,1);if(r==(ds?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function Iz(e,t){e.someProp("transformCopied",h=>{t=h(t,e)});let n=[],{content:r,openStart:i,openEnd:o}=t;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=e.someProp("clipboardSerializer")||Wv.fromSchema(e.state.schema),s=Vz(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let u=l.firstChild,c,f=0;for(;u&&u.nodeType==1&&(c=Wz[u.nodeName.toLowerCase()]);){for(let h=c.length-1;h>=0;h--){let p=s.createElement(c[h]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),f++}u=l.firstChild}u&&u.nodeType==1&&u.setAttribute("data-pm-slice",`${i} ${o}${f?` -${f}`:""} ${JSON.stringify(n)}`);let d=e.someProp("clipboardTextSerializer",h=>h(t,e))||t.content.textBetween(0,t.content.size,` `);return{dom:l,text:d,slice:t}}function Nz(e,t,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!t)return null;let l=t&&(r||o||!n);if(l){if(e.someProp("transformPastedText",d=>{t=d(t,o||r,e)}),o)return t?new Mt(ft.from(e.state.schema.text(t.replace(/\r\n?/g,` -`))),0,0):Mt.empty;let f=e.someProp("clipboardTextParser",d=>d(t,i,r,e));if(f)s=f;else{let d=i.marks(),{schema:h}=e.state,p=Wv.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(v=>{let g=a.appendChild(document.createElement("p"));v&&g.appendChild(p.serializeNode(h.text(v,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=r4e(n),ay&&i4e(a);let u=a&&a.querySelector("[data-pm-slice]"),c=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(c&&c[3])for(let f=+c[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||gO.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||c),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!t4e.test(d.parentNode.nodeName)?{ignore:!0}:null}})),c)s=o4e(KX(s,+c[1],+c[2]),c[4]);else if(s=Mt.maxOpen(n4e(s.content,i),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f{s=f(s,e)}),s}const t4e=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function n4e(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i=t.node(n).contentMatchAt(t.index(n)),o,a=[];if(e.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),u;if(!l)return a=null;if(u=a.length&&o.length&&Ez(l,o,s,a[a.length-1],0))a[a.length-1]=u;else{a.length&&(a[a.length-1]=Xz(a[a.length-1],o.length));let c=Fz(s,l);a.push(c),i=i.matchType(c.type),o=l}}),a)return ft.from(a)}return e}function Fz(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,ft.from(e));return e}function Ez(e,t,n,r,i){if(i1&&(o=0),i=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(ft.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function KX(e,t,n){return t]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=Vz().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),i;if((i=r&&Wz[r[1].toLowerCase()])&&(e=i.map(o=>"<"+o+">").join("")+e+i.map(o=>"").reverse().join("")),n.innerHTML=e,i)for(let o=0;o=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=ft.from(l.create(r[s+1],i)),o++,a++}return new Mt(i,o,a)}const No={},Fo={},a4e={touchstart:!0,touchmove:!0};class s4e{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function l4e(e){for(let t in No){let n=No[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{c4e(e,r)&&!Sk(e,r)&&(e.editable||!(r.type in Fo))&&n(e,r)},a4e[t]?{passive:!0}:void 0)}Io&&e.dom.addEventListener("input",()=>null),v6(e)}function bf(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function u4e(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function v6(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>Sk(e,r))})}function Sk(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function c4e(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function f4e(e,t){!Sk(e,t)&&No[t.type]&&(e.editable||!(t.type in Fo))&&No[t.type](e,t)}Fo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!Uz(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(rl&&ho&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Mv&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",i=>i(e,uh(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||e4e(e,n)?n.preventDefault():bf(e,"key")};Fo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Fo.keypress=(e,t)=>{let n=t;if(Uz(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||ds&&n.metaKey)return;if(e.someProp("handleKeyPress",i=>i(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof er)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!e.someProp("handleTextInput",o=>o(e,r.$from.pos,r.$to.pos,i))&&e.dispatch(e.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function x3(e){return{left:e.clientX,top:e.clientY}}function d4e(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function wk(e,t,n,r,i){if(r==-1)return!1;let o=e.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(e.someProp(t,s=>a>o.depth?s(e,n,o.nodeAfter,o.before(a),i,!0):s(e,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function rv(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);r.setMeta("pointer",!0),e.dispatch(r)}function h4e(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&zt.isSelectable(r)?(rv(e,new zt(n)),!0):!1}function p4e(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof zt&&(r=n.node);let o=e.state.doc.resolve(t);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(zt.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(rv(e,zt.create(e.state.doc,i)),!0):!1}function v4e(e,t,n,r,i){return wk(e,"handleClickOn",t,n,r)||e.someProp("handleClick",o=>o(e,t,r))||(i?p4e(e,n):h4e(e,n))}function g4e(e,t,n,r){return wk(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",i=>i(e,t,r))}function m4e(e,t,n,r){return wk(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",i=>i(e,t,r))||y4e(e,n,r)}function y4e(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(rv(e,er.create(r,0,r.content.size)),!0):!1;let i=r.resolve(t);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)rv(e,er.create(r,s+1,s+1+a.content.size));else if(zt.isSelectable(a))rv(e,zt.create(r,s));else continue;return!0}}function Mk(e){return Vx(e)}const Dz=ds?"metaKey":"ctrlKey";No.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Mk(e),i=Date.now(),o="singleClick";i-e.input.lastClick.time<500&&d4e(n,e.input.lastClick)&&!n[Dz]&&(e.input.lastClick.type=="singleClick"?o="doubleClick":e.input.lastClick.type=="doubleClick"&&(o="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=e.posAtCoords(x3(n));a&&(o=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new A4e(e,a,n,!!r)):(o=="doubleClick"?g4e:m4e)(e,a.pos,a.inside,n)?n.preventDefault():bf(e,"pointer"))};class A4e{constructor(t,n,r,i){this.view=t,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[Dz],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=t.state.doc.nodeAt(n.inside),a=n.inside;else{let c=t.state.doc.resolve(n.pos);o=c.parent,a=c.depth?c.before():0}const s=i?null:r.target,l=s?t.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:u}=t.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||u instanceof zt&&u.from<=a&&u.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&fl&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),bf(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>oc(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(x3(t))),this.updateAllowDefault(t),this.allowDefault||!n?bf(this.view,"pointer"):v4e(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Io&&this.mightDrag&&!this.mightDrag.node.isAtom||ho&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(rv(this.view,In.near(this.view.state.doc.resolve(n.pos))),t.preventDefault()):bf(this.view,"pointer")}move(t){this.updateAllowDefault(t),bf(this.view,"pointer"),t.buttons==0&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}No.touchstart=e=>{e.input.lastTouch=Date.now(),Mk(e),bf(e,"pointer")};No.touchmove=e=>{e.input.lastTouch=Date.now(),bf(e,"pointer")};No.contextmenu=e=>Mk(e);function Uz(e,t){return e.composing?!0:Io&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const R4e=rl?5e3:-1;Fo.compositionstart=Fo.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))e.markCursor=e.state.storedMarks||n.marks(),Vx(e,!0),e.markCursor=null;else if(Vx(e),fl&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else i=a,o=-1}}e.input.composing=!0}Bz(e,R4e)};Fo.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,Bz(e,20))};function Bz(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>Vx(e),t))}function Yz(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=x4e());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function b4e(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=p3e(t.focusNode,t.focusOffset),r=v3e(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=e.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function x4e(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function Vx(e,t=!1){if(!(rl&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Yz(e),t||e.docView&&e.docView.dirty){let n=bk(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function S4e(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const o2=aa&&Cf<15||Mv&&R3e<604;No.copy=Fo.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type=="cut";if(r.empty)return;let o=o2?null:n.clipboardData,a=r.content(),{dom:s,text:l}=Iz(e,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):S4e(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function w4e(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function M4e(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?a2(e,r.value,null,i,t):a2(e,r.textContent,r.innerHTML,i,t)},50)}function a2(e,t,n,r,i){let o=Nz(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",l=>l(e,i,o||Mt.empty)))return!0;if(!o)return!1;let a=w4e(o),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Zz(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Fo.paste=(e,t)=>{let n=t;if(e.composing&&!rl)return;let r=o2?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&a2(e,Zz(r),r.getData("text/html"),i,n)?n.preventDefault():M4e(e,n)};class Qz{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const Hz=ds?"altKey":"ctrlKey";No.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,o=i.empty?null:e.posAtCoords(x3(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof zt?i.to-1:i.to))){if(r&&r.mightDrag)a=zt.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let f=e.docView.nearestDesc(n.target,!0);f&&f.node.type.spec.draggable&&f!=e.docView&&(a=zt.create(e.state.doc,f.posBefore))}}let s=(a||e.state.selection).content(),{dom:l,text:u,slice:c}=Iz(e,s);(!n.dataTransfer.files.length||!ho||mz>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(o2?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",o2||n.dataTransfer.setData("text/plain",u),e.dragging=new Qz(c,!n[Hz],a)};No.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Fo.dragover=Fo.dragenter=(e,t)=>t.preventDefault();Fo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let i=e.posAtCoords(x3(n));if(!i)return;let o=e.state.doc.resolve(i.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=Nz(e,Zz(n.dataTransfer),o2?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[Hz]);if(e.someProp("handleDrop",p=>p(e,n,a||Mt.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?JZ(e.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let u=e.state.tr;if(s){let{node:p}=r;p?p.replace(u):u.deleteSelection()}let c=u.mapping.map(l),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=u.doc;if(f?u.replaceRangeWith(c,c,a.content.firstChild):u.replaceRange(c,c,a),u.doc.eq(d))return;let h=u.doc.resolve(c);if(f&&zt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))u.setSelection(new zt(h));else{let p=u.mapping.map(l);u.mapping.maps[u.mapping.maps.length-1].forEach((v,g,m,y)=>p=y),u.setSelection(xk(e,h,u.doc.resolve(p)))}e.focus(),e.dispatch(u.setMeta("uiEvent","drop"))};No.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&oc(e)},20))};No.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)};No.beforeinput=(e,t)=>{if(ho&&rl&&t.inputType=="deleteContentBackward"){e.domObserver.flushSoon();let{domChangeCount:r}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=r||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",o=>o(e,uh(8,"Backspace")))))return;let{$cursor:i}=e.state.selection;i&&i.pos>0&&e.dispatch(e.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let e in Fo)No[e]=Fo[e];function s2(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Dx{constructor(t,n){this.toDOM=t,this.spec=n||Ih,this.side=this.spec.side||0}map(t,n,r,i){let{pos:o,deleted:a}=t.mapResult(n.from+i,this.side<0?-1:1);return a?null:new Wa(o-r,o-r,this)}valid(){return!0}eq(t){return this==t||t instanceof Dx&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&s2(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class Nf{constructor(t,n){this.attrs=t,this.spec=n||Ih}map(t,n,r,i){let o=t.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new Wa(o,a,this)}valid(t,n){return n.from=t&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;at){let s=this.children[a]+1;this.children[a+2].findInner(t-s,n-s,r,i+s,o)}}map(t,n,r){return this==ro||t.maps.length==0?this:this.mapInner(t,n,0,0,r||Ih)}mapInner(t,n,r,i,o){let a;for(let s=0;s{let u=l+r,c;if(c=Gz(n,s,u)){for(i||(i=this.children.slice());os&&f.to=t){this.children[s]==t&&(r=this.children[s+2]);break}let o=t+1,a=o+n.content.size;for(let s=0;so&&l.type instanceof Nf){let u=Math.max(o,l.from)-o,c=Math.min(a,l.to)-o;ui.map(t,n,Ih));return mf.from(r)}forChild(t,n){if(n.isLeaf)return si.empty;let r=[];for(let i=0;in instanceof si)?t:t.reduce((n,r)=>n.concat(r instanceof si?r:r.members),[]))}}}function L4e(e,t,n,r,i,o,a){let s=e.slice();for(let u=0,c=o;u{let g=v-p-(h-d);for(let m=0;my+c-f)continue;let R=s[m]+c-f;h>=R?s[m+1]=d<=R?-2:-1:d>=c&&g&&(s[m]+=g,s[m+1]+=g)}f+=g}),c=n.maps[u].map(c,-1)}let l=!1;for(let u=0;u=r.content.size){l=!0;continue}let d=n.map(e[u+1]+o,-1),h=d-i,{index:p,offset:v}=r.content.findIndex(f),g=r.maybeChild(p);if(g&&v==f&&v+g.nodeSize==h){let m=s[u+2].mapInner(n,g,c+1,e[u]+o+1,a);m!=ro?(s[u]=f,s[u+1]=h,s[u+2]=m):(s[u+1]=-2,l=!0)}else l=!0}if(l){let u=T4e(s,e,t,n,i,o,a),c=Ux(u,r,0,a);t=c.local;for(let f=0;fn&&a.to{let u=Gz(e,s,l+n);if(u){o=!0;let c=Ux(u,s,n+l+1,r);c!=ro&&i.push(l,l+s.nodeSize,c)}});let a=Kz(o?zz(e):e,-n).sort(Nh);for(let s=0;s0;)t++;e.splice(t,0,n)}function P5(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=ro&&t.push(r)}),e.cursorWrapper&&t.push(si.create(e.state.doc,[e.cursorWrapper.deco])),mf.from(t)}const _4e={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},O4e=aa&&Cf<=11;class k4e{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class P4e{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new k4e,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),O4e&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,_4e)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(UX(this.view)){if(this.suppressingSelectionUpdates)return oc(this.view);if(aa&&Cf<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&qh(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let n=new Set,r;for(let o=t.focusNode;o;o=i2(o))n.add(o);for(let o=t.anchorNode;o;o=i2(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=t.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&UX(t)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(t.editable)for(let c=0;cf.nodeName=="BR");if(c.length==2){let[f,d]=c;f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let d of c){let h=d.parentNode;h&&h.nodeName=="LI"&&(!f||N4e(t,f)!=h)&&d.remove()}}}let u=null;o<0&&i&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||i)&&(o>-1&&(t.docView.markDirty(o,a),C4e(t)),this.handleDOMChange(o,a,s,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||oc(t),this.currentSelection.set(r))}registerMutation(t,n){if(n.indexOf(t.target)>-1)return null;let r=this.view.docView.nearestDesc(t.target);if(t.type=="attributes"&&(r==this.view.docView||t.attributeName=="contenteditable"||t.attributeName=="style"&&!t.oldValue&&!t.target.getAttribute("style"))||!r||r.ignoreMutation(t))return null;if(t.type=="childList"){for(let c=0;ci;g--){let m=r.childNodes[g-1],y=m.pmViewDesc;if(m.nodeName=="BR"&&!y){o=g;break}if(!y||y.size)break}let f=e.state.doc,d=e.someProp("domParser")||gO.fromSchema(e.state.schema),h=f.resolve(a),p=null,v=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:i,to:o,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:u,ruleFromNode:E4e,context:h});if(u&&u[0].pos!=null){let g=u[0].pos,m=u[1]&&u[1].pos;m==null&&(m=g),p={anchor:g+a,head:m+a}}return{doc:v,sel:p,from:a,to:s}}function E4e(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Io&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(e.parentNode.lastChild==e||Io&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const X4e=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function W4e(e,t,n,r,i){let o=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let M=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,_=bk(e,M);if(_&&!e.state.selection.eq(_)){if(ho&&rl&&e.input.lastKeyCode===13&&Date.now()-100k(e,uh(13,"Enter"))))return;let P=e.state.tr.setSelection(_);M=="pointer"?P.setMeta("pointer",!0):M=="key"&&P.scrollIntoView(),o&&P.setMeta("composition",o),e.dispatch(P)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let l=e.state.selection,u=F4e(e,t,n),c=e.state.doc,f=c.slice(u.from,u.to),d,h;e.input.lastKeyCode===8&&Date.now()-100Date.now()-225||rl)&&i.some(M=>M.nodeType==1&&!X4e.test(M.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",M=>M(e,uh(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&l instanceof er&&!l.empty&&l.$head.sameParent(l.$anchor)&&!e.composing&&!(u.sel&&u.sel.anchor!=u.sel.head))p={start:l.from,endA:l.to,endB:l.to};else{if(u.sel){let M=qX(e,e.state.doc,u.sel);if(M&&!M.eq(e.state.selection)){let _=e.state.tr.setSelection(M);o&&_.setMeta("composition",o),e.dispatch(_)}}return}e.input.domChangeCount++,e.state.selection.frome.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=u.from?p.start=e.state.selection.from:p.endA=e.state.selection.to-2&&e.state.selection.to<=u.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),aa&&Cf<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>u.from&&u.doc.textBetween(p.start-u.from-1,p.start-u.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let v=u.doc.resolveNoCache(p.start-u.from),g=u.doc.resolveNoCache(p.endB-u.from),m=c.resolve(p.start),y=v.sameParent(g)&&v.parent.inlineContent&&m.end()>=p.endA,R;if((Mv&&e.input.lastIOSEnter>Date.now()-225&&(!y||i.some(M=>M.nodeName=="DIV"||M.nodeName=="P"))||!y&&v.posM(e,uh(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&D4e(c,p.start,p.endA,v,g)&&e.someProp("handleKeyDown",M=>M(e,uh(8,"Backspace")))){rl&&ho&&e.domObserver.suppressSelectionUpdates();return}ho&&rl&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),rl&&!y&&v.start()!=g.start()&&g.parentOffset==0&&v.depth==g.depth&&u.sel&&u.sel.anchor==u.sel.head&&u.sel.head==p.endA&&(p.endB-=2,g=u.doc.resolveNoCache(p.endB-u.from),setTimeout(()=>{e.someProp("handleKeyDown",function(M){return M(e,uh(13,"Enter"))})},20));let A=p.start,x=p.endA,S,L,w;if(y){if(v.pos==g.pos)aa&&Cf<=11&&v.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>oc(e),20)),S=e.state.tr.delete(A,x),L=c.resolve(p.start).marksAcross(c.resolve(p.endA));else if(p.endA==p.endB&&(w=V4e(v.parent.content.cut(v.parentOffset,g.parentOffset),m.parent.content.cut(m.parentOffset,p.endA-m.start()))))S=e.state.tr,w.type=="add"?S.addMark(A,x,w.mark):S.removeMark(A,x,w.mark);else if(v.parent.child(v.index()).isText&&v.index()==g.index()-(g.textOffset?0:1)){let M=v.parent.textBetween(v.parentOffset,g.parentOffset);if(e.someProp("handleTextInput",_=>_(e,A,x,M)))return;S=e.state.tr.insertText(M,A,x)}}if(S||(S=e.state.tr.replace(A,x,u.doc.slice(p.start-u.from,p.endB-u.from))),u.sel){let M=qX(e,S.doc,u.sel);M&&!(ho&&rl&&e.composing&&M.empty&&(p.start!=p.endB||e.input.lastAndroidDeletet.content.size?null:xk(e,t.resolve(n.anchor),t.resolve(n.head))}function V4e(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,i=n,o=r,a,s,l;for(let c=0;cc.mark(s.addToSet(c.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=c=>c.mark(s.removeFromSet(c.marks));else return null;let u=[];for(let c=0;cn||C5(a,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let o=e.node(r).maybeChild(e.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function U4e(e,t,n,r,i){let o=e.findDiffStart(t,n);if(o==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a=a?o-r:0;o-=l,o&&o=s?o-r:0;o-=l,o&&o=56320&&t<=57343&&n>=55296&&n<=56319}class B4e{constructor(t,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new s4e,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(oW),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):typeof t=="function"?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=rW(this),nW(this),this.nodeViews=iW(this),this.docView=FX(this.state.doc,tW(this),P5(this),this.dom,this),this.domObserver=new P4e(this,(r,i,o,a)=>W4e(this,r,i,o,a)),this.domObserver.start(),l4e(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let n in t)this._props[n]=t[n];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&v6(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(oW),this.directPlugins=t.plugins),this.updateStateInner(t.state,n)}setProps(t){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in t)n[r]=t[r];this.update(n)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,n){var r;let i=this.state,o=!1,a=!1;t.storedMarks&&this.composing&&(Yz(this),a=!0),this.state=t;let s=i.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=iW(this);Z4e(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&v6(this),this.editable=rW(this),nW(this);let l=P5(this),u=tW(this),c=i.plugins!=t.plugins&&!i.doc.eq(t.doc)?"reset":t.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=o||!this.docView.matchesNode(t.doc,u,l);(f||!t.selection.eq(i.selection))&&(a=!0);let d=c=="preserve"&&a&&this.dom.style.overflowAnchor==null&&S3e(this);if(a){this.domObserver.stop();let h=f&&(aa||ho)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&Y4e(i.selection,t.selection);if(f){let p=ho?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=b4e(this)),(o||!this.docView.update(t.doc,u,l,this))&&(this.docView.updateOuterDeco(u),this.docView.destroy(),this.docView=FX(t.doc,u,l,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&K3e(this))?oc(this,h):(kz(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,i),c=="reset"?this.dom.scrollTop=0:c=="to selection"?this.scrollToSelection():d&&w3e(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof zt){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&OX(this,n.getBoundingClientRect(),t)}else OX(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(!t||t.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new Qz(t.slice,t.move,i<0?void 0:zt.create(this.state.doc,i))}someProp(t,n){let r=this._props&&this._props[t],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return t||document}updateRoot(){this._root=null}posAtCoords(t){return k3e(this,t)}coordsAtPos(t,n=1){return xz(this,t,n)}domAtPos(t,n=0){return this.docView.domFromPos(t,n)}nodeDOM(t){let n=this.docView.descAt(t);return n?n.nodeDOM:null}posAtDOM(t,n,r=-1){let i=this.docView.posFromDOM(t,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(t,n){return F3e(this,n||this.state,t)}pasteHTML(t,n){return a2(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return a2(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(u4e(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],P5(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,d3e())}get isDestroyed(){return this.docView==null}dispatchEvent(t){return f4e(this,t)}dispatch(t){let n=this._props.dispatchTransaction;n?n.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){let t=this.domSelection();return Io&&this.root.nodeType===11&&m3e(this.dom.ownerDocument)==this.dom&&I4e(this,t)||t}domSelection(){return this.root.getSelection()}}function tW(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(e.state)),n)for(let r in n)r=="class"?t.class+=" "+n[r]:r=="style"?t.style=(t.style?t.style+";":"")+n[r]:!t[r]&&r!="contenteditable"&&r!="nodeName"&&(t[r]=String(n[r]))}),t.translate||(t.translate="no"),[Wa.node(0,e.state.doc.content.size,t)]}function nW(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Wa.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function rW(e){return!e.someProp("editable",t=>t(e.state)===!1)}function Y4e(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function iW(e){let t=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(t,i)||(t[i]=r[i])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Z4e(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r}function oW(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Hf={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Bx={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Q4e=typeof navigator<"u"&&/Mac/.test(navigator.platform),H4e=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Zi=0;Zi<10;Zi++)Hf[48+Zi]=Hf[96+Zi]=String(Zi);for(var Zi=1;Zi<=24;Zi++)Hf[Zi+111]="F"+Zi;for(var Zi=65;Zi<=90;Zi++)Hf[Zi]=String.fromCharCode(Zi+32),Bx[Zi]=String.fromCharCode(Zi);for(var I5 in Hf)Bx.hasOwnProperty(I5)||(Bx[I5]=Hf[I5]);function K4e(e){var t=Q4e&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||H4e&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?Bx:Hf)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const G4e=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function z4e(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s127)&&(o=Hf[r.keyCode])&&o!=i){let s=t[N5(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var Yx=200,_i=function(){};_i.prototype.append=function(t){return t.length?(t=_i.from(t),!this.length&&t||t.length=n?_i.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};_i.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};_i.prototype.forEach=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(t,n,r,0):this.forEachInvertedInner(t,n,r,0)};_i.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(t(o,a))},n,r),i};_i.from=function(t){return t instanceof _i?t:t&&t.length?new $z(t):_i.empty};var $z=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new t(this.values.slice(i,o))},t.prototype.getInner=function(i){return this.values[i]},t.prototype.forEachInner=function(i,o,a,s){for(var l=o;l=a;l--)if(i(this.values[l],s+l)===!1)return!1},t.prototype.leafAppend=function(i){if(this.length+i.length<=Yx)return new t(this.values.concat(i.flatten()))},t.prototype.leafPrepend=function(i){if(this.length+i.length<=Yx)return new t(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(_i);_i.empty=new $z([]);var $4e=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(r){return rs&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},t.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new t(this.left,i)},t.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new t(i,this.right)},t.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new t(this.left,new t(this.right,r)):new t(this,r)},t}(_i);const j4e=500;class ol{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=t.tr,s,l,u=[],c=[];return this.items.forEach((f,d)=>{if(!f.step){i||(i=this.remapping(r,d+1),o=i.maps.length),o--,c.push(f);return}if(i){c.push(new Wl(f.map));let h=f.step.map(i.slice(o)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],u.push(new Wl(p,void 0,void 0,u.length+c.length))),o--,p&&i.appendMap(p,o)}else a.maybeStep(f.step);if(f.selection)return s=i?f.selection.map(i.slice(o)):f.selection,l=new ol(this.items.slice(0,r).append(c.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let c=0;cewe&&(s=q4e(s,u),a-=u),new ol(s.append(o),a)}remapping(t,n){let r=new zp;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=t?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new ol(this.items.append(t.map(n=>new Wl(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},i);let l=n;this.items.forEach(d=>{let h=o.getMirror(--l);if(h==null)return;a=Math.min(a,h);let p=o.maps[h];if(d.step){let v=t.steps[h].invert(t.docs[h]),g=d.selection&&d.selection.map(o.slice(l+1,h));g&&s++,r.push(new Wl(p,v,g))}else r.push(new Wl(p))},i);let u=[];for(let d=n;dj4e&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),u=l&&l.getMap();if(r--,u&&n.appendMap(u,r),l){let c=a.selection&&a.selection.map(n.slice(r));c&&o++;let f=new Wl(u.invert(),l,c),d,h=i.length-1;(d=i.length&&i[h].merge(f))?i[h]=d:i.push(f)}}else a.map&&r--},this.items.length,0),new ol(_i.from(i.reverse()),o)}}ol.empty=new ol(_i.empty,0);function q4e(e,t){let n;return e.forEach((r,i)=>{if(r.selection&&t--==0)return n=i,!1}),e.slice(n)}class Wl{constructor(t,n,r,i){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Wl(n.getMap().invert(),n,this.selection)}}}class df{constructor(t,n,r,i,o){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const ewe=20;function twe(e,t,n,r){let i=n.getMeta(Ff),o;if(i)return i.historyState;n.getMeta(rwe)&&(e=new df(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(Ff))return a.getMeta(Ff).redo?new df(e.done.addTransform(n,void 0,r,Ab(t)),e.undone,sW(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new df(e.done,e.undone.addTransform(n,void 0,r,Ab(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!nwe(n,e.prevRanges)),u=a?F5(e.prevRanges,n.mapping):sW(n.mapping.maps[n.steps.length-1]);return new df(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,Ab(t)),ol.empty,u,n.time,s??e.prevComposition)}else return(o=n.getMeta("rebased"))?new df(e.done.rebased(n,o),e.undone.rebased(n,o),F5(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new df(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),F5(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function nwe(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=t[o]&&(n=!0)}),n}function sW(e){let t=[];return e.forEach((n,r,i,o)=>t.push(i,o)),t}function F5(e,t){if(!e)return null;let n=[];for(let r=0;r{let n=Ff.getState(e);return!n||n.done.eventCount==0?!1:(t&&jz(n,e,t,!1),!0)},eJ=(e,t)=>{let n=Ff.getState(e);return!n||n.undone.eventCount==0?!1:(t&&jz(n,e,t,!0),!0)};function owe(e={}){return new Dv({view(t){return new awe(t,e)}})}class awe{constructor(t,n){var r;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return t.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r;if(n){let s=t.nodeBefore,l=t.nodeAfter;if(s||l){let u=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(u){let c=u.getBoundingClientRect(),f=s?c.bottom:c.top;s&&l&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:c.left,right:c.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,t):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=JZ(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class Kr extends In{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Kr.valid(r)?new Kr(r):In.near(r)}content(){return Mt.empty}eq(t){return t instanceof Kr&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Kr(t.resolve(n.pos))}getBookmark(){return new _k(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!swe(t)||!lwe(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(t.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Kr.valid(t))return t;let i=t.pos,o=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)0){o=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;i+=n;let l=t.doc.resolve(i);if(Kr.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!zt.isSelectable(o)){t=t.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=t.doc.resolve(i);if(Kr.valid(s))return s}return null}}}Kr.prototype.visible=!1;Kr.findFrom=Kr.findGapCursorFrom;In.jsonID("gapcursor",Kr);class _k{constructor(t){this.pos=t}map(t){return new _k(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Kr.valid(n)?new Kr(n):In.near(n)}}function swe(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function lwe(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function uwe(){return new Dv({props:{decorations:hwe,createSelectionBetween(e,t,n){return t.pos==n.pos&&Kr.valid(n)?new Kr(n):null},handleClick:fwe,handleKeyDown:cwe,handleDOMEvents:{beforeinput:dwe}}})}const cwe=Jz({ArrowLeft:HA("horiz",-1),ArrowRight:HA("horiz",1),ArrowUp:HA("vert",-1),ArrowDown:HA("vert",1)});function HA(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,i,o){let a=r.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof er){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(t>0?s.after():s.before())}let u=Kr.findGapCursorFrom(s,t,l);return u?(i&&i(r.tr.setSelection(new Kr(u))),!0):!1}}function fwe(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Kr.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&zt.isSelectable(e.state.doc.nodeAt(i.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Kr(r))),!0)}function dwe(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Kr))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=ft.empty;for(let a=r.length-1;a>=0;a--)i=ft.from(r[a].createAndFill(null,i));let o=e.state.tr.replace(n.pos,n.pos,new Mt(i,0,0));return o.setSelection(er.near(o.doc.resolve(n.pos+1))),e.dispatch(o),!1}function hwe(e){if(!(e.selection instanceof Kr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",si.create(e.doc,[Wa.widget(e.selection.head,t,{key:"gapcursor"})])}const pwe=["li",0],vwe={parseDOM:[{tag:"li"}],toDOM(){return pwe},defining:!0};function gwe(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=!1,l=a;if(!a)return!1;if(a.depth>=2&&i.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let c=n.doc.resolve(a.start-2);l=new ix(c,c,a.depth),a.endIndex=0;c--)o=ft.from(n[c].type.create(n[c].attrs,o));e.step(new Gi(t.start-(r?2:0),t.end,t.start,t.end,new Mt(o,0,0),n.length,!0));let a=0;for(let c=0;c=i.depth-3;m--)f=ft.from(i.node(m).copy(f));let h=i.indexAfter(-1){if(g>-1)return!1;m.isTextblock&&m.content.size==0&&(g=y+1)}),g>-1&&v.setSelection(In.near(v.doc.resolve(g))),r(v.scrollIntoView())}return!0}let l=o.pos==i.end()?s.contentMatchAt(0).defaultType:null,u=n.tr.delete(i.pos,o.pos),c=l?[null,{type:l}]:void 0;return Jp(u.doc,i.pos,2,c)?(r&&r(u.split(i.pos,2,c).scrollIntoView()),!0):!1}}function tJ(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==e);return o?n?r.node(o.depth-1).type==e?Awe(t,n,e,o):Rwe(t,n,o):!0:!1}}function Awe(e,t,n,r){let i=e.tr,o=r.end,a=r.$to.end(r.depth);ov;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,u=o.node(-1),c=o.index(-1);if(!u.canReplace(c+(s?0:1),c+1,a.content.append(l?ft.empty:ft.from(i))))return!1;let f=o.pos,d=f+a.nodeSize;return r.step(new Gi(f-(s?1:0),d+(l?1:0),f+1,d-1,new Mt((s?ft.empty:ft.from(i.copy(ft.empty))).append(l?ft.empty:ft.from(i.copy(ft.empty))),s?0:1,l?0:1),s?0:1)),t(r.scrollIntoView()),!0}function uW(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,u=>u.childCount>0&&u.firstChild.type==e);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=e)return!1;if(n){let u=l.lastChild&&l.lastChild.type==s.type,c=ft.from(u?e.create():null),f=new Mt(ft.from(e.create(null,ft.from(s.type.create(null,c)))),u?3:1,0),d=o.start,h=o.end;n(t.tr.step(new Gi(d-(u?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class yc{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?bwe(n):n,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1}}function bwe(e){return function(t,n,r,i){let o=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);o+=n[0].slice(a+n[1].length),r+=a;let s=r-i;s>0&&(o=n[0].slice(a-s,a)+o,r=i)}return t.tr.insertText(o,r,i)}}const xwe=500;function Swe({rules:e}){let t=new Dv({state:{init(){return null},apply(n,r){let i=n.getMeta(this);return i||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,i,o){return cW(n,r,i,o,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&cW(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function cW(e,t,n,r,i,o){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t),l=s.parent.textBetween(Math.max(0,s.parentOffset-xwe),s.parentOffset,null,"")+r;for(let u=0;u{let n=e.plugins;for(let r=0;r=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(o.text){let l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,e.schema.text(o.text,l))}else a.delete(o.from,o.to);t(a)}return!0}}return!1},Mwe=new yc(/--$/,"—"),Lwe=new yc(/\.\.\.$/,"…"),Twe=new yc(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),_we=new yc(/"$/,"”"),Owe=new yc(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),kwe=new yc(/'$/,"’"),Pwe=[Twe,_we,Owe,kwe];function Ok(e,t,n=null,r){return new yc(e,(i,o,a,s)=>{let l=n instanceof Function?n(o):n,u=i.tr.delete(a,s),c=u.doc.resolve(a),f=c.blockRange(),d=f&&yO(f,t,l);if(!d)return null;u.wrap(f,d);let h=u.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Vv(u.doc,a-1)&&(!r||r(o,h))&&u.join(a-1),u})}const Cwe=e=>{const t={},n=(r,i)=>t[r]=i;return n("Alt-ArrowUp",Dhe),n("Alt-ArrowDown",Uhe),n("Mod-z",qz),n("Mod-y",eJ),n("Backspace",wwe),n("Escape",Hhe),n("Mod-b",ai(e.marks.strong)),n("Mod-i",ai(e.marks.em)),n("Mod-u",ai(e.marks.underline)),n("Mod-d",ai(e.marks.strikethrough)),n("Mod-e",ai(e.marks.code)),n("Mod-;",ai(e.marks.superscript)),n("Mod-'",ai(e.marks.subscript)),n("Enter",ZS(ywe(e.nodes.list_item),sQ,lQ,uQ,Qhe)),n("Mod-[",tJ(e.nodes.list_item)),n("Mod-]",uW(e.nodes.list_item)),n("Tab",uW(e.nodes.list_item)),t},Iwe=e=>Ok(/^\s*>\s$/,e),Nwe=e=>Ok(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),Fwe=e=>Ok(/^\s*([-+*])\s$/,e),Ewe=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new yc(e,(t,n,r,i)=>{const{schema:o}=t,a=t.tr.insertText(`${n[2]} `,r,i),s=o.marks.code.create();return a.addMark(r,r+n[2].length,s)})},Xwe=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new yc(e,(t,n,r,i)=>{const{schema:o}=t,a=t.tr.insertText(n[0],r,i),s=o.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Wwe=e=>{const t=[...Pwe,Lwe,Mwe];return t.push(Iwe(e.nodes.blockquote)),t.push(Nwe(e.nodes.ordered_list)),t.push(Fwe(e.nodes.bullet_list)),t.push(Ewe()),t.push(Xwe()),Swe({rules:t})},Vwe=e=>e.type.name==="paragraph"&&e.nodeSize===2,Dwe=e=>new Dv({props:{decorations(t){const{$from:n}=t.selection;if(Vwe(n.parent)){const r=Wa.node(n.before(),n.after(),{"data-placeholder":e});return si.create(t.doc,[r])}}}}),Uwe=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Wwe(e),aW(Cwe(e)),aW(qhe),owe(),uwe(),iwe()];return n&&r.push(Dwe(n)),r},Bwe=["p",0],Ywe=["blockquote",0],Zwe=["hr"],Qwe=["pre",["code",0]],Hwe=["br"],nJ={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return Bwe}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return Ywe}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return Zwe}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(e){return["h"+e.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return Qwe}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")}}}],toDOM(e){let{src:t,alt:n,title:r}=e.attrs;return["img",{src:t,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return Hwe}}},Kwe=["em",0],Gwe=["strong",0],zwe=["code",0],rJ={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(e){return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM(e){let{href:t,title:n}=e.attrs;return["a",{href:t,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:e=>e.type.name=="em"}],toDOM(){return Kwe}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name=="strong"},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],toDOM(){return Gwe}},code:{parseDOM:[{tag:"code"}],toDOM(){return zwe}}};new DZ({nodes:nJ,marks:rJ});const Jwe={attrs:{order:{default:1},listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ol",getAttrs:e=>{const n={order:+((e.hasAttribute("start")?e.getAttribute("start"):1)||1)},{listStyleType:r,fontSize:i,color:o}=e.style;return r&&(n.listStyleType=r),i&&(n.fontsize=i),o&&(n.color=o),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:i}=e.attrs;let o="";n&&(o+=`list-style-type: ${n};`),r&&(o+=`font-size: ${r};`),i&&(o+=`color: ${i};`);const a={style:o};return t!==1&&(a.start=t),["ol",a,0]}},$we={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:i}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),i&&(t.color=i),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let i="";return t&&(i+=`list-style-type: ${t};`),n&&(i+=`font-size: ${n};`),r&&(i+=`color: ${r};`),["ul",{style:i},0]}},jwe={...vwe,content:"paragraph block*",group:"block"},qwe={attrs:{align:{default:""},indent:{default:0},textIndent:{default:0}},content:"inline*",group:"block",parseDOM:[{tag:"p",getAttrs:e=>{const{textAlign:t,textIndent:n}=e.style;let r=e.getAttribute("align")||t||"";r=/(left|right|center|justify)/.test(r)?r:"";let i=0;n&&(/em/.test(n)?i=parseInt(n):/px/.test(n)&&(i=Math.floor(parseInt(n)/16),i||(i=1)));const o=+(e.getAttribute("data-indent")||0);return{align:r,indent:o,textIndent:i}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let i="";t&&t!=="left"&&(i+=`text-align: ${t};`),r&&(i+=`text-indent: ${r}em;`);const o={style:i};return n&&(o["data-indent"]=n),["p",o,0]}},{doc:eMe,blockquote:tMe,text:nMe}=nJ,rMe={doc:eMe,paragraph:qwe,blockquote:tMe,text:nMe,ordered_list:Jwe,bullet_list:$we,list_item:jwe},iMe={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},oMe={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},aMe={parseDOM:[{tag:"strike"},{style:"text-decoration",getAttrs:e=>e==="line-through"&&null},{style:"text-decoration-line",getAttrs:e=>e==="line-through"&&null}],toDOM:()=>["span",{style:"text-decoration-line: line-through;"},0]},sMe={parseDOM:[{tag:"u"},{style:"text-decoration",getAttrs:e=>e==="underline"&&null},{style:"text-decoration-line",getAttrs:e=>e==="underline"&&null}],toDOM:()=>["span",{style:"text-decoration: underline;"},0]},lMe={attrs:{color:{}},inline:!0,group:"inline",parseDOM:[{style:"color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>{const{color:t}=e.attrs;let n="";return t&&(n+=`color: ${t};`),["span",{style:n},0]}},uMe={attrs:{backcolor:{}},inline:!0,group:"inline",parseDOM:[{style:"background-color",getAttrs:e=>e?{backcolor:e}:{}}],toDOM:e=>{const{backcolor:t}=e.attrs;let n="";return t&&(n+=`background-color: ${t};`),["span",{style:n},0]}},cMe={attrs:{fontsize:{}},inline:!0,group:"inline",parseDOM:[{style:"font-size",getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{const{fontsize:t}=e.attrs;let n="";return t&&(n+=`font-size: ${t};`),["span",{style:n},0]}},fMe={attrs:{fontname:{}},inline:!0,group:"inline",parseDOM:[{style:"font-family",getAttrs:e=>({fontname:e&&typeof e=="string"?e.replace(/[\"\']/g,""):""})}],toDOM:e=>{const{fontname:t}=e.attrs;let n="";return t&&(n+=`font-family: ${t};`),["span",{style:n},0]}},dMe={attrs:{href:{},title:{default:null},target:{default:"_blank"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href"),n=e.getAttribute("title");return{href:t,title:n}}}],toDOM:e=>["a",e.attrs,0]},hMe={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:pMe,strong:vMe,code:gMe}=rJ,mMe={em:pMe,strong:vMe,fontsize:cMe,fontname:fMe,code:gMe,forecolor:lMe,backcolor:uMe,subscript:iMe,superscript:oMe,strikethrough:aMe,underline:sMe,link:dMe,mark:hMe},yMe=rMe,AMe=mMe,iJ=new DZ({nodes:yMe,marks:AMe}),kk=e=>{const t=`
    ${e}
    `,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return gO.fromSchema(iJ).parse(r)},oJ=(e,t,n,r)=>new B4e(e,{state:Mp.create({doc:kk(t),plugins:Uwe(iJ,r)}),...n});function RMe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}var Ti=(e=>(e.RICH_TEXT_COMMAND="RICH_TEXT_COMMAND",e.SYNC_RICH_TEXT_ATTRS_TO_STORE="SYNC_RICH_TEXT_ATTRS_TO_STORE",e.OPEN_CHART_DATA_EDITOR="OPEN_CHART_DATA_EDITOR",e.OPEN_LATEX_EDITOR="OPEN_LATEX_EDITOR",e))(Ti||{});const Hi=RMe(),bMe=(e,t,n)=>{const{selection:r,doc:i}=e;if(!r||!i)return e;const{from:o,to:a}=r,{nodes:s}=t,l=s.blockquote,u=s.list_item,c=s.paragraph,f=[];n=n||"";const d=new Set([l,u,c]);return i.nodesBetween(o,a,(h,p)=>{const v=h.type;return(h.attrs.align||"")!==n&&d.has(v)&&f.push({node:h,pos:p,nodeType:v}),!0}),f.length&&f.forEach(h=>{const{node:p,pos:v,nodeType:g}=h;let{attrs:m}=p;n?m={...m,align:n}:m={...m,align:null},e=e.setNodeMarkup(v,g,m,p.marks)}),e},xMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=bMe(n.tr.setSelection(i),r,t);e.dispatch(o)};function SMe(e,t,n,r){if(!e.doc)return e;const i=e.doc.nodeAt(t);if(!i)return e;const o=0,a=8;let s=(i.attrs[r]||0)+n;if(sa&&(s=a),s===i.attrs[r])return e;const l={...i.attrs,[r]:s};return e.setNodeMarkup(t,i.type,l,i.marks)}const aJ=(e,t,n,r)=>{const{selection:i,doc:o}=e;if(!i||!o||!(i instanceof er||i instanceof na))return e;const{from:a,to:s}=i;return o.nodesBetween(a,s,(l,u)=>{const c=l.type;return c.name==="paragraph"||c.name==="blockquote"?(e=SMe(e,u,n,r),!1):!lx(l,t)}),e},wMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=aJ(n.tr.setSelection(i),r,t,"indent");return o.docChanged?(e.dispatch(o),!0):!1},MMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=aJ(n.tr.setSelection(i),r,t,"textIndent");return o.docChanged?(e.dispatch(o),!0):!1},Zx=(e,t,n,r={})=>(i,o)=>{const{schema:a,selection:s}=i,{$from:l,$to:u}=s,c=l.blockRange(u);if(!c)return!1;const f=vQ(h=>lx(h,a))(s);if(c.depth>=1&&f&&c.depth-f.depth<=1){if(f.node.type===e&&!n)return tJ(t)(i,o);if(lx(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=i,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),o&&o(h),!1}}const d={...r};return n&&(d.listStyleType=n),gwe(e,d)(i,o)},k1=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=n.tr.setSelection(i),{doc:a}=o;if(!a)return o;const{from:s,to:l}=i;a.nodesBetween(s,l,(u,c)=>{if(lx(u,r)&&s-3<=c&&l+3>=c+u.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)o.setNodeAttribute(c,d.key,d.value)}return!1}),e.dispatch(o)},LMe=Xe({__name:"ProsemirrorEditor",props:{elementId:{},defaultColor:{},defaultFontName:{},value:{},editable:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1}},emits:["update","focus","blur","mousedown"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ht(),{handleElementId:a,textFormatPainter:s,richTextAttrs:l}=De(o),u=ve();let c;const f=Yn.debounce(function(x=!1){r.value.replace(/ style=\"\"/g,"")!==c.dom.innerHTML.replace(/ style=\"\"/g,"")&&i("update",{value:c.dom.innerHTML,ignore:x})},300,{trailing:!0}),d=()=>{o.setDisableHotkeysState(!0),i("focus")},h=()=>{o.setDisableHotkeysState(!1),i("blur")},p=Yn.debounce(function(){const x=G8(c,{color:r.defaultColor,fontname:r.defaultFontName});o.setRichtextAttrs(x)},30,{trailing:!0}),v=(x,S)=>{const{ctrlKey:L,shiftKey:w,metaKey:M}=S,_=L||w||M,P=S.key.toUpperCase(),k=_&&(P===At.Z||P===At.Y);f(k),p()},g=we(()=>r.value);Ot(g,()=>{if(!c||c.hasFocus())return;const{doc:x,tr:S}=c.state;c.dispatch(S.replaceRangeWith(0,x.content.size,kk(g.value)))}),Ot(()=>r.editable,()=>{c.setProps({editable:()=>r.editable})}),t({focus:()=>c.focus()});const y=({target:x,action:S})=>{if(!x&&a.value!==r.elementId||x&&x!==r.elementId)return;const L="command"in S?[S]:S;for(const w of L)if(w.command==="fontname"&&w.value!==void 0){const M=c.state.schema.marks.fontname.create({fontname:w.value});hi(c),Xl(c,M),w.value&&!document.fonts.check(`16px ${w.value}`)&&gn.warning("字体需要等待加载下载后生效,请稍等")}else if(w.command==="fontsize"&&w.value){const M=c.state.schema.marks.fontsize.create({fontsize:w.value});hi(c),Xl(c,M),k1(c,{key:"fontsize",value:w.value})}else if(w.command==="fontsize-add"){const M=w.value?+w.value:2;hi(c);const _=D7(c)+M+"px",P=c.state.schema.marks.fontsize.create({fontsize:_});Xl(c,P),k1(c,{key:"fontsize",value:_})}else if(w.command==="fontsize-reduce"){const M=w.value?+w.value:2;hi(c);let _=D7(c)-M;_<12&&(_=12);const P=c.state.schema.marks.fontsize.create({fontsize:_+"px"});Xl(c,P),k1(c,{key:"fontsize",value:_+"px"})}else if(w.command==="color"&&w.value){const M=c.state.schema.marks.forecolor.create({color:w.value});hi(c),Xl(c,M),k1(c,{key:"color",value:w.value})}else if(w.command==="backcolor"&&w.value){const M=c.state.schema.marks.backcolor.create({backcolor:w.value});hi(c),Xl(c,M)}else if(w.command==="bold")hi(c),ai(c.state.schema.marks.strong)(c.state,c.dispatch);else if(w.command==="em")hi(c),ai(c.state.schema.marks.em)(c.state,c.dispatch);else if(w.command==="underline")hi(c),ai(c.state.schema.marks.underline)(c.state,c.dispatch);else if(w.command==="strikethrough")hi(c),ai(c.state.schema.marks.strikethrough)(c.state,c.dispatch);else if(w.command==="subscript")ai(c.state.schema.marks.subscript)(c.state,c.dispatch);else if(w.command==="superscript")ai(c.state.schema.marks.superscript)(c.state,c.dispatch);else if(w.command==="blockquote")jR("blockquote",c.state)?Bhe(c.state,c.dispatch):Jhe(c.state.schema.nodes.blockquote)(c.state,c.dispatch);else if(w.command==="code")ai(c.state.schema.marks.code)(c.state,c.dispatch);else if(w.command==="align"&&w.value)xMe(c,w.value);else if(w.command==="indent"&&w.value)wMe(c,+w.value);else if(w.command==="textIndent"&&w.value)MMe(c,+w.value);else if(w.command==="bulletList"){const M=w.value||"",{bullet_list:_,list_item:P}=c.state.schema.nodes,k={color:l.value.color,fontsize:l.value.fontsize};Zx(_,P,M,k)(c.state,c.dispatch)}else if(w.command==="orderedList"){const M=w.value||"",{ordered_list:_,list_item:P}=c.state.schema.nodes,k={color:l.value.color,fontsize:l.value.fontsize};Zx(_,P,M,k)(c.state,c.dispatch)}else if(w.command==="clear"){hi(c);const{$from:M,$to:_}=c.state.selection;c.dispatch(c.state.tr.removeMark(M.pos,_.pos)),k1(c,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(w.command==="link"){const M=c.state.schema.marks.link,{from:_,to:P}=c.state.selection,k=e0e(c.state.doc,_,P,M);if(k)if(w.value){const F=c.state.schema.marks.link.create({href:w.value,title:w.value});Xl(c,F,{from:k.from.pos,to:k.to.pos+1})}else c.dispatch(c.state.tr.removeMark(k.from.pos,k.to.pos+1,M));else if(i0e(c.state,M))if(w.value){const F=c.state.schema.marks.link.create({href:w.value,title:w.value});Xl(c,F)}else ai(M)(c.state,c.dispatch);else w.value&&(hi(c),ai(M,{href:w.value,title:w.value})(c.state,c.dispatch))}else w.command==="insert"&&w.value&&c.dispatch(c.state.tr.insertText(w.value));c.focus(),f(),p()},R=()=>{if(!s.value)return;const{keep:x,...S}=s.value,L=[{command:"clear"}];for(const w of Object.keys(S)){const M=w,_=s.value[w];_===!0?L.push({command:M}):_&&L.push({command:M,value:_})}y({action:L}),x||o.setTextFormatPainter(null)};Ht(()=>{c=oJ(u.value,g.value,{handleDOMEvents:{focus:d,blur:h,keydown:v,click:p,mouseup:R},editable:()=>r.editable}),r.autoFocus&&c.focus()}),Nn(()=>{c&&c.destroy()});const A=()=>{a.value===r.elementId&&p()};return Hi.on(Ti.RICH_TEXT_COMMAND,y),Hi.on(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE,A),Nn(()=>{Hi.off(Ti.RICH_TEXT_COMMAND,y),Hi.off(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE,A)}),(x,S)=>(U(),te("div",{class:$e(["prosemirror-editor",{"format-painter":z(s)}]),ref_key:"editorViewRef",ref:u,onMousedown:S[0]||(S[0]=L=>i("mousedown",L))},null,34))}}),sJ=Be(LMe,[["__scopeId","data-v-c7cc0fa2"]]),lJ=e=>(en("data-v-3b68a2d9"),e=e(),tn(),e),TMe=lJ(()=>V("div",{class:"drag-handler top"},null,-1)),_Me=lJ(()=>V("div",{class:"drag-handler bottom"},null,-1)),OMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{handleElementId:i,isScaling:o}=De(n),{addHistorySnapshot:a}=nn(),s=ve(),l=we(()=>t.elementInfo.shadow),{shadowStyle:u}=fd(l),c=(y,R=!0)=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo,R))},f=ve(-1),d=ve(-1);Ot(o,()=>{i.value===t.elementInfo.id&&(o.value||(!t.elementInfo.vertical&&f.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:f.value}}),f.value=-1),t.elementInfo.vertical&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{width:d.value}}),d.value=-1)))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const A=R.height+20,x=R.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==A&&(o.value?f.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}})),t.elementInfo.vertical&&t.elementInfo.width!==x&&(o.value?d.value=x:r.updateElement({id:t.elementInfo.id,props:{width:x}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),Nn(()=>{s.value&&p.unobserve(s.value)});const v=(y,R=!1)=>{r.updateElement({id:t.elementInfo.id,props:{content:y}}),R||a()},g=Yn.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),m=we(()=>i.value===t.elementInfo.id);return Ot(m,()=>{m.value||g()}),(y,R)=>{const A=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-text",{lock:y.elementInfo.lock}]),style:Le({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px",height:y.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${y.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",ref_key:"elementRef",ref:s,style:Le({width:y.elementInfo.vertical?"auto":y.elementInfo.width+"px",height:y.elementInfo.vertical?y.elementInfo.height+"px":"auto",backgroundColor:y.elementInfo.fill,opacity:y.elementInfo.opacity,textShadow:z(u),lineHeight:y.elementInfo.lineHeight,letterSpacing:(y.elementInfo.wordSpace||0)+"px",color:y.elementInfo.defaultColor,fontFamily:y.elementInfo.defaultFontName,writingMode:y.elementInfo.vertical?"vertical-rl":"horizontal-tb"}),onMousedown:R[2]||(R[2]=x=>c(x)),onTouchstart:R[3]||(R[3]=x=>c(x))},[O(A3,{width:y.elementInfo.width,height:y.elementInfo.height,outline:y.elementInfo.outline},null,8,["width","height","outline"]),O(sJ,{class:"text",elementId:y.elementInfo.id,defaultColor:y.elementInfo.defaultColor,defaultFontName:y.elementInfo.defaultFontName,editable:!y.elementInfo.lock,value:y.elementInfo.content,style:Le({"--paragraphSpace":`${y.elementInfo.paragraphSpace===void 0?5:y.elementInfo.paragraphSpace}px`}),onUpdate:R[0]||(R[0]=({value:x,ignore:S})=>v(x,S)),onMousedown:R[1]||(R[1]=x=>c(x,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),TMe,_Me],36)),[[A,y.contextmenus]])],4)],6)}}}),uJ=Be(OMe,[["__scopeId","data-v-3b68a2d9"]]),kMe=["id","gradientTransform"],PMe=["offset","stop-color"],CMe=["id"],IMe=["offset","stop-color"],cJ=Xe({__name:"GradientDefs",props:{id:{},type:{},colors:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(U(),te("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[(U(!0),te(We,null,tt(t.colors,(r,i)=>(U(),te("stop",{key:i,offset:`${r.pos}%`,"stop-color":r.color},null,8,PMe))),128))],8,kMe)):(U(),te("radialGradient",{key:1,id:t.id},[(U(!0),te(We,null,tt(t.colors,(r,i)=>(U(),te("stop",{key:i,offset:`${r.pos}%`,"stop-color":r.color},null,8,IMe))),128))],8,CMe))}}),NMe=["width","height"],FMe={key:0},EMe=["transform"],XMe=["d","fill","stroke","stroke-width","stroke-dasharray"],WMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{handleElementId:i,shapeFormatPainter:o}=De(n),{addHistorySnapshot:a}=nn(),s=(w,M=!0)=>{t.elementInfo.lock||(w.stopPropagation(),t.selectElement(w,t.elementInfo,M))},l=()=>{if(!o.value)return;const{keep:w,...M}=o.value;r.updateElement({id:t.elementInfo.id,props:M}),a(),w||n.setShapeFormatPainter(null)},u=we(()=>t.elementInfo.outline),{outlineWidth:c,outlineColor:f,strokeDashArray:d}=Jv(u),h=we(()=>t.elementInfo.shadow),{shadowStyle:p}=fd(h),v=we(()=>t.elementInfo.flipH),g=we(()=>t.elementInfo.flipV),{flipStyle:m}=y3(v,g),y=ve(!1);Ot(i,()=>{i.value!==t.elementInfo.id&&y.value&&(y.value=!1)});const R=we(()=>{const w={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:w}),A=(w,M=!1)=>{const _={...R.value,content:w};r.updateElement({id:t.elementInfo.id,props:{text:_}}),M||a()},x=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},S=ve(),L=()=>{y.value=!0,Ir(()=>S.value&&S.value.focus())};return(w,M)=>{const _=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-shape",{lock:w.elementInfo.lock,"format-painter":z(o)}]),style:Le({top:w.elementInfo.top+"px",left:w.elementInfo.left+"px",width:w.elementInfo.width+"px",height:w.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${w.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",style:Le({opacity:w.elementInfo.opacity,filter:z(p)?`drop-shadow(${z(p)})`:"",transform:z(m),color:R.value.defaultColor,fontFamily:R.value.defaultFontName}),onMousedown:M[3]||(M[3]=P=>s(P)),onMouseup:M[4]||(M[4]=P=>l()),onTouchstart:M[5]||(M[5]=P=>s(P)),onDblclick:M[6]||(M[6]=P=>L())},[(U(),te("svg",{overflow:"visible",width:w.elementInfo.width,height:w.elementInfo.height},[w.elementInfo.gradient?(U(),te("defs",FMe,[O(cJ,{id:`editabel-gradient-${w.elementInfo.id}`,type:w.elementInfo.gradient.type,colors:w.elementInfo.gradient.colors,rotate:w.elementInfo.gradient.rotate},null,8,["id","type","colors","rotate"])])):Ze("",!0),V("g",{transform:`scale(${w.elementInfo.width/w.elementInfo.viewBox[0]}, ${w.elementInfo.height/w.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{class:"shape-path","vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:w.elementInfo.path,fill:w.elementInfo.gradient?`url(#editabel-gradient-${w.elementInfo.id})`:w.elementInfo.fill,stroke:z(f),"stroke-width":z(c),"stroke-dasharray":z(d)},null,8,XMe)],8,EMe)],8,NMe)),V("div",{class:$e(["shape-text",[R.value.align,{editable:y.value||R.value.content}]])},[y.value||R.value.content?(U(),_e(sJ,{key:0,ref_key:"prosemirrorEditorRef",ref:S,elementId:w.elementInfo.id,defaultColor:R.value.defaultColor,defaultFontName:R.value.defaultFontName,editable:!w.elementInfo.lock,value:R.value.content,onUpdate:M[0]||(M[0]=({value:P,ignore:k})=>A(P,k)),onBlur:M[1]||(M[1]=P=>x()),onMousedown:M[2]||(M[2]=P=>s(P,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Ze("",!0)],2)],36)),[[_,w.contextmenus]])],4)],6)}}}),fJ=Be(WMe,[["__scopeId","data-v-48c2d216"]]),VMe=["id","markerWidth","markerHeight","refX","refY"],DMe=["d","fill","transform"],Kf=Xe({__name:"LinePointMarker",props:{id:{},position:{},type:{},baseSize:{},color:{}},setup(e){const t=e,n={dot:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",arrow:"M0,0 L10,5 0,10 Z"},r={"arrow-start":180,"arrow-end":0},i=we(()=>n[t.type]),o=we(()=>r[`${t.type}-${t.position}`]||0),a=we(()=>t.baseSize<2?2:t.baseSize);return(s,l)=>(U(),te("marker",{id:`${s.id}-${s.type}-${s.position}`,markerUnits:"userSpaceOnUse",orient:"auto",markerWidth:a.value*3,markerHeight:a.value*3,refX:a.value*1.5,refY:a.value*1.5},[V("path",{d:i.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${o.value}, 5, 5)`},null,8,DMe)],8,VMe))}}),UMe=["width","height"],BMe=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],YMe=["d"],ZMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=u=>{t.elementInfo.lock||(u.stopPropagation(),t.selectElement(u,t.elementInfo))},r=we(()=>t.elementInfo.shadow),{shadowStyle:i}=fd(r),o=we(()=>{const u=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return u<24?24:u}),a=we(()=>{const u=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return u<24?24:u}),s=we(()=>{const u=t.elementInfo.width;return t.elementInfo.style==="dashed"?u<=8?`${u*5} ${u*2.5}`:`${u*5} ${u*1.5}`:t.elementInfo.style==="dotted"?u<=8?`${u*1.8} ${u*1.6}`:`${u*1.5} ${u*1.2}`:"0 0"}),l=we(()=>YO(t.elementInfo));return(u,c)=>{const f=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-shape",{lock:u.elementInfo.lock}]),style:Le({top:u.elementInfo.top+"px",left:u.elementInfo.left+"px"})},[V("div",{class:"element-content",style:Le({filter:z(i)?`drop-shadow(${z(i)})`:""}),onMousedown:c[0]||(c[0]=d=>n(d)),onTouchstart:c[1]||(c[1]=d=>n(d))},[(U(),te("svg",{overflow:"visible",width:o.value,height:a.value},[V("defs",null,[u.elementInfo.points[0]?(U(),_e(Kf,{key:0,id:u.elementInfo.id,position:"start",type:u.elementInfo.points[0],color:u.elementInfo.color,baseSize:u.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),u.elementInfo.points[1]?(U(),_e(Kf,{key:1,id:u.elementInfo.id,position:"end",type:u.elementInfo.points[1],color:u.elementInfo.color,baseSize:u.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),V("path",{class:"line-point",d:l.value,stroke:u.elementInfo.color,"stroke-width":u.elementInfo.width,"stroke-dasharray":s.value,fill:"none","marker-start":u.elementInfo.points[0]?`url(#${u.elementInfo.id}-${u.elementInfo.points[0]}-start)`:"","marker-end":u.elementInfo.points[1]?`url(#${u.elementInfo.id}-${u.elementInfo.points[1]}-end)`:""},null,8,BMe),ze(V("path",{class:"line-path",d:l.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,YMe),[[f,u.contextmenus]])],8,UMe))],36)],6)}}}),dJ=Be(ZMe,[["__scopeId","data-v-9dc09347"]]),QMe=({type:e,data:t,themeColors:n,textColor:r,lineSmooth:i,stack:o})=>{if(e==="bar")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"bar",label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="column")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,yAxis:{type:"category",data:t.labels},xAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"bar",label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="line")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"line",smooth:i,label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="pie")return{color:n,textStyle:r?{color:r}:{},legend:{top:"bottom",textStyle:r?{color:r}:{}},series:[{data:t.series[0].map((a,s)=>({value:a,name:t.labels[s]})),label:r?{color:r}:{},type:"pie",radius:"70%",emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{show:!0,fontSize:14,fontWeight:"bold"}}}]};if(e==="ring")return{color:n,textStyle:r?{color:r}:{},legend:{top:"bottom",textStyle:r?{color:r}:{}},series:[{data:t.series[0].map((a,s)=>({value:a,name:t.labels[s]})),label:r?{color:r}:{},type:"pie",radius:["40%","70%"],padAngle:1,avoidLabelOverlap:!1,itemStyle:{borderRadius:4},emphasis:{label:{show:!0,fontSize:14,fontWeight:"bold"}}}]};if(e==="area")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",boundaryGap:!1,data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"line",areaStyle:{},label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="radar")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,radar:{indicator:t.labels.map(a=>({name:a}))},series:[{data:t.series.map((a,s)=>({value:a,name:t.legends[s]})),type:"radar"}]};if(e==="scatter"){const a=[];for(let s=0;sd(t,i,r,e));if(f)s=f;else{let d=i.marks(),{schema:h}=e.state,p=Wv.fromSchema(h);a=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(v=>{let g=a.appendChild(document.createElement("p"));v&&g.appendChild(p.serializeNode(h.text(v,d)))})}}else e.someProp("transformPastedHTML",f=>{n=f(n,e)}),a=r4e(n),ay&&i4e(a);let u=a&&a.querySelector("[data-pm-slice]"),c=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(c&&c[3])for(let f=+c[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(e.someProp("clipboardParser")||e.someProp("domParser")||gO.fromSchema(e.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||c),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!t4e.test(d.parentNode.nodeName)?{ignore:!0}:null}})),c)s=o4e(KX(s,+c[1],+c[2]),c[4]);else if(s=Mt.maxOpen(n4e(s.content,i),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f{s=f(s,e)}),s}const t4e=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function n4e(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i=t.node(n).contentMatchAt(t.index(n)),o,a=[];if(e.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),u;if(!l)return a=null;if(u=a.length&&o.length&&Ez(l,o,s,a[a.length-1],0))a[a.length-1]=u;else{a.length&&(a[a.length-1]=Xz(a[a.length-1],o.length));let c=Fz(s,l);a.push(c),i=i.matchType(c.type),o=l}}),a)return ft.from(a)}return e}function Fz(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,ft.from(e));return e}function Ez(e,t,n,r,i){if(i1&&(o=0),i=n&&(s=t<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(ft.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}function KX(e,t,n){return t]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=Vz().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),i;if((i=r&&Wz[r[1].toLowerCase()])&&(e=i.map(o=>"<"+o+">").join("")+e+i.map(o=>"").reverse().join("")),n.innerHTML=e,i)for(let o=0;o=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=ft.from(l.create(r[s+1],i)),o++,a++}return new Mt(i,o,a)}const No={},Fo={},a4e={touchstart:!0,touchmove:!0};class s4e{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function l4e(e){for(let t in No){let n=No[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{c4e(e,r)&&!Sk(e,r)&&(e.editable||!(r.type in Fo))&&n(e,r)},a4e[t]?{passive:!0}:void 0)}Io&&e.dom.addEventListener("input",()=>null),v6(e)}function bf(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function u4e(e){e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function v6(e){e.someProp("handleDOMEvents",t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=r=>Sk(e,r))})}function Sk(e,t){return e.someProp("handleDOMEvents",n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function c4e(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function f4e(e,t){!Sk(e,t)&&No[t.type]&&(e.editable||!(t.type in Fo))&&No[t.type](e,t)}Fo.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!Uz(e,n)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(rl&&ho&&n.keyCode==13)))if(n.keyCode!=229&&e.domObserver.forceFlush(),Mv&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();e.input.lastIOSEnter=r,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==r&&(e.someProp("handleKeyDown",i=>i(e,uh(13,"Enter"))),e.input.lastIOSEnter=0)},200)}else e.someProp("handleKeyDown",r=>r(e,n))||e4e(e,n)?n.preventDefault():bf(e,"key")};Fo.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)};Fo.keypress=(e,t)=>{let n=t;if(Uz(e,n)||!n.charCode||n.ctrlKey&&!n.altKey||ds&&n.metaKey)return;if(e.someProp("handleKeyPress",i=>i(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof er)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!e.someProp("handleTextInput",o=>o(e,r.$from.pos,r.$to.pos,i))&&e.dispatch(e.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function x3(e){return{left:e.clientX,top:e.clientY}}function d4e(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function wk(e,t,n,r,i){if(r==-1)return!1;let o=e.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(e.someProp(t,s=>a>o.depth?s(e,n,o.nodeAfter,o.before(a),i,!0):s(e,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function rv(e,t,n){e.focused||e.focus();let r=e.state.tr.setSelection(t);r.setMeta("pointer",!0),e.dispatch(r)}function h4e(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&zt.isSelectable(r)?(rv(e,new zt(n)),!0):!1}function p4e(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof zt&&(r=n.node);let o=e.state.doc.resolve(t);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(zt.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(rv(e,zt.create(e.state.doc,i)),!0):!1}function v4e(e,t,n,r,i){return wk(e,"handleClickOn",t,n,r)||e.someProp("handleClick",o=>o(e,t,r))||(i?p4e(e,n):h4e(e,n))}function g4e(e,t,n,r){return wk(e,"handleDoubleClickOn",t,n,r)||e.someProp("handleDoubleClick",i=>i(e,t,r))}function m4e(e,t,n,r){return wk(e,"handleTripleClickOn",t,n,r)||e.someProp("handleTripleClick",i=>i(e,t,r))||y4e(e,n,r)}function y4e(e,t,n){if(n.button!=0)return!1;let r=e.state.doc;if(t==-1)return r.inlineContent?(rv(e,er.create(r,0,r.content.size)),!0):!1;let i=r.resolve(t);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)rv(e,er.create(r,s+1,s+1+a.content.size));else if(zt.isSelectable(a))rv(e,zt.create(r,s));else continue;return!0}}function Mk(e){return Vx(e)}const Dz=ds?"metaKey":"ctrlKey";No.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Mk(e),i=Date.now(),o="singleClick";i-e.input.lastClick.time<500&&d4e(n,e.input.lastClick)&&!n[Dz]&&(e.input.lastClick.type=="singleClick"?o="doubleClick":e.input.lastClick.type=="doubleClick"&&(o="tripleClick")),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=e.posAtCoords(x3(n));a&&(o=="singleClick"?(e.input.mouseDown&&e.input.mouseDown.done(),e.input.mouseDown=new A4e(e,a,n,!!r)):(o=="doubleClick"?g4e:m4e)(e,a.pos,a.inside,n)?n.preventDefault():bf(e,"pointer"))};class A4e{constructor(t,n,r,i){this.view=t,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!r[Dz],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=t.state.doc.nodeAt(n.inside),a=n.inside;else{let c=t.state.doc.resolve(n.pos);o=c.parent,a=c.depth?c.before():0}const s=i?null:r.target,l=s?t.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:u}=t.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||u instanceof zt&&u.from<=a&&u.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&fl&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),bf(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>oc(this.view)),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(x3(t))),this.updateAllowDefault(t),this.allowDefault||!n?bf(this.view,"pointer"):v4e(this.view,n.pos,n.inside,t,this.selectNode)?t.preventDefault():t.button==0&&(this.flushed||Io&&this.mightDrag&&!this.mightDrag.node.isAtom||ho&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(rv(this.view,In.near(this.view.state.doc.resolve(n.pos))),t.preventDefault()):bf(this.view,"pointer")}move(t){this.updateAllowDefault(t),bf(this.view,"pointer"),t.buttons==0&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}No.touchstart=e=>{e.input.lastTouch=Date.now(),Mk(e),bf(e,"pointer")};No.touchmove=e=>{e.input.lastTouch=Date.now(),bf(e,"pointer")};No.contextmenu=e=>Mk(e);function Uz(e,t){return e.composing?!0:Io&&Math.abs(t.timeStamp-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}const R4e=rl?5e3:-1;Fo.compositionstart=Fo.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))e.markCursor=e.state.storedMarks||n.marks(),Vx(e,!0),e.markCursor=null;else if(Vx(e),fl&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=e.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){e.domSelection().collapse(a,a.nodeValue.length);break}else i=a,o=-1}}e.input.composing=!0}Bz(e,R4e)};Fo.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=t.timeStamp,e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,Bz(e,20))};function Bz(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>Vx(e),t))}function Yz(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=x4e());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function b4e(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=p3e(t.focusNode,t.focusOffset),r=v3e(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=e.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function x4e(){let e=document.createEvent("Event");return e.initEvent("event",!0,!0),e.timeStamp}function Vx(e,t=!1){if(!(rl&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Yz(e),t||e.docView&&e.docView.dirty){let n=bk(e);return n&&!n.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(n)):e.updateState(e.state),!0}return!1}}function S4e(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(t),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}const o2=aa&&Cf<15||Mv&&R3e<604;No.copy=Fo.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type=="cut";if(r.empty)return;let o=o2?null:n.clipboardData,a=r.content(),{dom:s,text:l}=Iz(e,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):S4e(e,s),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function w4e(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function M4e(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?a2(e,r.value,null,i,t):a2(e,r.textContent,r.innerHTML,i,t)},50)}function a2(e,t,n,r,i){let o=Nz(e,t,n,r,e.state.selection.$from);if(e.someProp("handlePaste",l=>l(e,i,o||Mt.empty)))return!0;if(!o)return!1;let a=w4e(o),s=a?e.state.tr.replaceSelectionWith(a,r):e.state.tr.replaceSelection(o);return e.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function Zz(e){let t=e.getData("text/plain")||e.getData("Text");if(t)return t;let n=e.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}Fo.paste=(e,t)=>{let n=t;if(e.composing&&!rl)return;let r=o2?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&a2(e,Zz(r),r.getData("text/html"),i,n)?n.preventDefault():M4e(e,n)};class Qz{constructor(t,n,r){this.slice=t,this.move=n,this.node=r}}const Hz=ds?"altKey":"ctrlKey";No.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,o=i.empty?null:e.posAtCoords(x3(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof zt?i.to-1:i.to))){if(r&&r.mightDrag)a=zt.create(e.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let f=e.docView.nearestDesc(n.target,!0);f&&f.node.type.spec.draggable&&f!=e.docView&&(a=zt.create(e.state.doc,f.posBefore))}}let s=(a||e.state.selection).content(),{dom:l,text:u,slice:c}=Iz(e,s);(!n.dataTransfer.files.length||!ho||mz>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(o2?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",o2||n.dataTransfer.setData("text/plain",u),e.dragging=new Qz(c,!n[Hz],a)};No.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)};Fo.dragover=Fo.dragenter=(e,t)=>t.preventDefault();Fo.drop=(e,t)=>{let n=t,r=e.dragging;if(e.dragging=null,!n.dataTransfer)return;let i=e.posAtCoords(x3(n));if(!i)return;let o=e.state.doc.resolve(i.pos),a=r&&r.slice;a?e.someProp("transformPasted",p=>{a=p(a,e)}):a=Nz(e,Zz(n.dataTransfer),o2?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[Hz]);if(e.someProp("handleDrop",p=>p(e,n,a||Mt.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?JZ(e.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let u=e.state.tr;if(s){let{node:p}=r;p?p.replace(u):u.deleteSelection()}let c=u.mapping.map(l),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=u.doc;if(f?u.replaceRangeWith(c,c,a.content.firstChild):u.replaceRange(c,c,a),u.doc.eq(d))return;let h=u.doc.resolve(c);if(f&&zt.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))u.setSelection(new zt(h));else{let p=u.mapping.map(l);u.mapping.maps[u.mapping.maps.length-1].forEach((v,g,m,y)=>p=y),u.setSelection(xk(e,h,u.doc.resolve(p)))}e.focus(),e.dispatch(u.setMeta("uiEvent","drop"))};No.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&oc(e)},20))};No.blur=(e,t)=>{let n=t;e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),e.focused=!1)};No.beforeinput=(e,t)=>{if(ho&&rl&&t.inputType=="deleteContentBackward"){e.domObserver.flushSoon();let{domChangeCount:r}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=r||(e.dom.blur(),e.focus(),e.someProp("handleKeyDown",o=>o(e,uh(8,"Backspace")))))return;let{$cursor:i}=e.state.selection;i&&i.pos>0&&e.dispatch(e.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let e in Fo)No[e]=Fo[e];function s2(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}class Dx{constructor(t,n){this.toDOM=t,this.spec=n||Ih,this.side=this.spec.side||0}map(t,n,r,i){let{pos:o,deleted:a}=t.mapResult(n.from+i,this.side<0?-1:1);return a?null:new Wa(o-r,o-r,this)}valid(){return!0}eq(t){return this==t||t instanceof Dx&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&s2(this.spec,t.spec))}destroy(t){this.spec.destroy&&this.spec.destroy(t)}}class Nf{constructor(t,n){this.attrs=t,this.spec=n||Ih}map(t,n,r,i){let o=t.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=t.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new Wa(o,a,this)}valid(t,n){return n.from=t&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;at){let s=this.children[a]+1;this.children[a+2].findInner(t-s,n-s,r,i+s,o)}}map(t,n,r){return this==ro||t.maps.length==0?this:this.mapInner(t,n,0,0,r||Ih)}mapInner(t,n,r,i,o){let a;for(let s=0;s{let u=l+r,c;if(c=Gz(n,s,u)){for(i||(i=this.children.slice());os&&f.to=t){this.children[s]==t&&(r=this.children[s+2]);break}let o=t+1,a=o+n.content.size;for(let s=0;so&&l.type instanceof Nf){let u=Math.max(o,l.from)-o,c=Math.min(a,l.to)-o;ui.map(t,n,Ih));return mf.from(r)}forChild(t,n){if(n.isLeaf)return si.empty;let r=[];for(let i=0;in instanceof si)?t:t.reduce((n,r)=>n.concat(r instanceof si?r:r.members),[]))}}}function L4e(e,t,n,r,i,o,a){let s=e.slice();for(let u=0,c=o;u{let g=v-p-(h-d);for(let m=0;my+c-f)continue;let R=s[m]+c-f;h>=R?s[m+1]=d<=R?-2:-1:d>=c&&g&&(s[m]+=g,s[m+1]+=g)}f+=g}),c=n.maps[u].map(c,-1)}let l=!1;for(let u=0;u=r.content.size){l=!0;continue}let d=n.map(e[u+1]+o,-1),h=d-i,{index:p,offset:v}=r.content.findIndex(f),g=r.maybeChild(p);if(g&&v==f&&v+g.nodeSize==h){let m=s[u+2].mapInner(n,g,c+1,e[u]+o+1,a);m!=ro?(s[u]=f,s[u+1]=h,s[u+2]=m):(s[u+1]=-2,l=!0)}else l=!0}if(l){let u=T4e(s,e,t,n,i,o,a),c=Ux(u,r,0,a);t=c.local;for(let f=0;fn&&a.to{let u=Gz(e,s,l+n);if(u){o=!0;let c=Ux(u,s,n+l+1,r);c!=ro&&i.push(l,l+s.nodeSize,c)}});let a=Kz(o?zz(e):e,-n).sort(Nh);for(let s=0;s0;)t++;e.splice(t,0,n)}function P5(e){let t=[];return e.someProp("decorations",n=>{let r=n(e.state);r&&r!=ro&&t.push(r)}),e.cursorWrapper&&t.push(si.create(e.state.doc,[e.cursorWrapper.deco])),mf.from(t)}const _4e={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},O4e=aa&&Cf<=11;class k4e{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class P4e{constructor(t,n){this.view=t,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new k4e,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),O4e&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,_4e)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords();if(t.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(UX(this.view)){if(this.suppressingSelectionUpdates)return oc(this.view);if(aa&&Cf<=11&&!this.view.state.selection.empty){let t=this.view.domSelectionRange();if(t.focusNode&&qh(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(t){if(!t.focusNode)return!0;let n=new Set,r;for(let o=t.focusNode;o;o=i2(o))n.add(o);for(let o=t.anchorNode;o;o=i2(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}flush(){let{view:t}=this;if(!t.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=t.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&UX(t)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(t.editable)for(let c=0;cf.nodeName=="BR");if(c.length==2){let[f,d]=c;f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let d of c){let h=d.parentNode;h&&h.nodeName=="LI"&&(!f||N4e(t,f)!=h)&&d.remove()}}}let u=null;o<0&&i&&t.input.lastFocus>Date.now()-200&&Math.max(t.input.lastTouch,t.input.lastClick.time)-1||i)&&(o>-1&&(t.docView.markDirty(o,a),C4e(t)),this.handleDOMChange(o,a,s,l),t.docView&&t.docView.dirty?t.updateState(t.state):this.currentSelection.eq(r)||oc(t),this.currentSelection.set(r))}registerMutation(t,n){if(n.indexOf(t.target)>-1)return null;let r=this.view.docView.nearestDesc(t.target);if(t.type=="attributes"&&(r==this.view.docView||t.attributeName=="contenteditable"||t.attributeName=="style"&&!t.oldValue&&!t.target.getAttribute("style"))||!r||r.ignoreMutation(t))return null;if(t.type=="childList"){for(let c=0;ci;g--){let m=r.childNodes[g-1],y=m.pmViewDesc;if(m.nodeName=="BR"&&!y){o=g;break}if(!y||y.size)break}let f=e.state.doc,d=e.someProp("domParser")||gO.fromSchema(e.state.schema),h=f.resolve(a),p=null,v=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:i,to:o,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:u,ruleFromNode:E4e,context:h});if(u&&u[0].pos!=null){let g=u[0].pos,m=u[1]&&u[1].pos;m==null&&(m=g),p={anchor:g+a,head:m+a}}return{doc:v,sel:p,from:a,to:s}}function E4e(e){let t=e.pmViewDesc;if(t)return t.parseRule();if(e.nodeName=="BR"&&e.parentNode){if(Io&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(e.parentNode.lastChild==e||Io&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null}const X4e=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function W4e(e,t,n,r,i){let o=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let M=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,_=bk(e,M);if(_&&!e.state.selection.eq(_)){if(ho&&rl&&e.input.lastKeyCode===13&&Date.now()-100P(e,uh(13,"Enter"))))return;let k=e.state.tr.setSelection(_);M=="pointer"?k.setMeta("pointer",!0):M=="key"&&k.scrollIntoView(),o&&k.setMeta("composition",o),e.dispatch(k)}return}let a=e.state.doc.resolve(t),s=a.sharedDepth(n);t=a.before(s+1),n=e.state.doc.resolve(n).after(s+1);let l=e.state.selection,u=F4e(e,t,n),c=e.state.doc,f=c.slice(u.from,u.to),d,h;e.input.lastKeyCode===8&&Date.now()-100Date.now()-225||rl)&&i.some(M=>M.nodeType==1&&!X4e.test(M.nodeName))&&(!p||p.endA>=p.endB)&&e.someProp("handleKeyDown",M=>M(e,uh(13,"Enter")))){e.input.lastIOSEnter=0;return}if(!p)if(r&&l instanceof er&&!l.empty&&l.$head.sameParent(l.$anchor)&&!e.composing&&!(u.sel&&u.sel.anchor!=u.sel.head))p={start:l.from,endA:l.to,endB:l.to};else{if(u.sel){let M=qX(e,e.state.doc,u.sel);if(M&&!M.eq(e.state.selection)){let _=e.state.tr.setSelection(M);o&&_.setMeta("composition",o),e.dispatch(_)}}return}e.input.domChangeCount++,e.state.selection.frome.state.selection.from&&p.start<=e.state.selection.from+2&&e.state.selection.from>=u.from?p.start=e.state.selection.from:p.endA=e.state.selection.to-2&&e.state.selection.to<=u.to&&(p.endB+=e.state.selection.to-p.endA,p.endA=e.state.selection.to)),aa&&Cf<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>u.from&&u.doc.textBetween(p.start-u.from-1,p.start-u.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let v=u.doc.resolveNoCache(p.start-u.from),g=u.doc.resolveNoCache(p.endB-u.from),m=c.resolve(p.start),y=v.sameParent(g)&&v.parent.inlineContent&&m.end()>=p.endA,R;if((Mv&&e.input.lastIOSEnter>Date.now()-225&&(!y||i.some(M=>M.nodeName=="DIV"||M.nodeName=="P"))||!y&&v.posM(e,uh(13,"Enter")))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>p.start&&D4e(c,p.start,p.endA,v,g)&&e.someProp("handleKeyDown",M=>M(e,uh(8,"Backspace")))){rl&&ho&&e.domObserver.suppressSelectionUpdates();return}ho&&rl&&p.endB==p.start&&(e.input.lastAndroidDelete=Date.now()),rl&&!y&&v.start()!=g.start()&&g.parentOffset==0&&v.depth==g.depth&&u.sel&&u.sel.anchor==u.sel.head&&u.sel.head==p.endA&&(p.endB-=2,g=u.doc.resolveNoCache(p.endB-u.from),setTimeout(()=>{e.someProp("handleKeyDown",function(M){return M(e,uh(13,"Enter"))})},20));let A=p.start,x=p.endA,S,L,w;if(y){if(v.pos==g.pos)aa&&Cf<=11&&v.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>oc(e),20)),S=e.state.tr.delete(A,x),L=c.resolve(p.start).marksAcross(c.resolve(p.endA));else if(p.endA==p.endB&&(w=V4e(v.parent.content.cut(v.parentOffset,g.parentOffset),m.parent.content.cut(m.parentOffset,p.endA-m.start()))))S=e.state.tr,w.type=="add"?S.addMark(A,x,w.mark):S.removeMark(A,x,w.mark);else if(v.parent.child(v.index()).isText&&v.index()==g.index()-(g.textOffset?0:1)){let M=v.parent.textBetween(v.parentOffset,g.parentOffset);if(e.someProp("handleTextInput",_=>_(e,A,x,M)))return;S=e.state.tr.insertText(M,A,x)}}if(S||(S=e.state.tr.replace(A,x,u.doc.slice(p.start-u.from,p.endB-u.from))),u.sel){let M=qX(e,S.doc,u.sel);M&&!(ho&&rl&&e.composing&&M.empty&&(p.start!=p.endB||e.input.lastAndroidDeletet.content.size?null:xk(e,t.resolve(n.anchor),t.resolve(n.head))}function V4e(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,i=n,o=r,a,s,l;for(let c=0;cc.mark(s.addToSet(c.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=c=>c.mark(s.removeFromSet(c.marks));else return null;let u=[];for(let c=0;cn||C5(a,!0,!1)0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let o=e.node(r).maybeChild(e.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function U4e(e,t,n,r,i){let o=e.findDiffStart(t,n);if(o==null)return null;let{a,b:s}=e.findDiffEnd(t,n+e.size,n+t.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a=a?o-r:0;o-=l,o&&o=s?o-r:0;o-=l,o&&o=56320&&t<=57343&&n>=55296&&n<=56319}class B4e{constructor(t,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new s4e,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(oW),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):typeof t=="function"?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=rW(this),nW(this),this.nodeViews=iW(this),this.docView=FX(this.state.doc,tW(this),P5(this),this.dom,this),this.domObserver=new P4e(this,(r,i,o,a)=>W4e(this,r,i,o,a)),this.domObserver.start(),l4e(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props;this._props={};for(let n in t)this._props[n]=t[n];this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&v6(this);let n=this._props;this._props=t,t.plugins&&(t.plugins.forEach(oW),this.directPlugins=t.plugins),this.updateStateInner(t.state,n)}setProps(t){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in t)n[r]=t[r];this.update(n)}updateState(t){this.updateStateInner(t,this._props)}updateStateInner(t,n){var r;let i=this.state,o=!1,a=!1;t.storedMarks&&this.composing&&(Yz(this),a=!0),this.state=t;let s=i.plugins!=t.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=iW(this);Z4e(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&v6(this),this.editable=rW(this),nW(this);let l=P5(this),u=tW(this),c=i.plugins!=t.plugins&&!i.doc.eq(t.doc)?"reset":t.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=o||!this.docView.matchesNode(t.doc,u,l);(f||!t.selection.eq(i.selection))&&(a=!0);let d=c=="preserve"&&a&&this.dom.style.overflowAnchor==null&&S3e(this);if(a){this.domObserver.stop();let h=f&&(aa||ho)&&!this.composing&&!i.selection.empty&&!t.selection.empty&&Y4e(i.selection,t.selection);if(f){let p=ho?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=b4e(this)),(o||!this.docView.update(t.doc,u,l,this))&&(this.docView.updateOuterDeco(u),this.docView.destroy(),this.docView=FX(t.doc,u,l,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&K3e(this))?oc(this,h):(kz(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,i),c=="reset"?this.dom.scrollTop=0:c=="to selection"?this.scrollToSelection():d&&w3e(d)}scrollToSelection(){let t=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof zt){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&OX(this,n.getBoundingClientRect(),t)}else OX(this,this.coordsAtPos(this.state.selection.head,1),t)}destroyPluginViews(){let t;for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(!t||t.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new Qz(t.slice,t.move,i<0?void 0:zt.create(this.state.doc,i))}someProp(t,n){let r=this._props&&this._props[t],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return t||document}updateRoot(){this._root=null}posAtCoords(t){return k3e(this,t)}coordsAtPos(t,n=1){return xz(this,t,n)}domAtPos(t,n=0){return this.docView.domFromPos(t,n)}nodeDOM(t){let n=this.docView.descAt(t);return n?n.nodeDOM:null}posAtDOM(t,n,r=-1){let i=this.docView.posFromDOM(t,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(t,n){return F3e(this,n||this.state,t)}pasteHTML(t,n){return a2(this,"",t,!1,n||new ClipboardEvent("paste"))}pasteText(t,n){return a2(this,t,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(u4e(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],P5(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,d3e())}get isDestroyed(){return this.docView==null}dispatchEvent(t){return f4e(this,t)}dispatch(t){let n=this._props.dispatchTransaction;n?n.call(this,t):this.updateState(this.state.apply(t))}domSelectionRange(){let t=this.domSelection();return Io&&this.root.nodeType===11&&m3e(this.dom.ownerDocument)==this.dom&&I4e(this,t)||t}domSelection(){return this.root.getSelection()}}function tW(e){let t=Object.create(null);return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(e.state)),n)for(let r in n)r=="class"?t.class+=" "+n[r]:r=="style"?t.style=(t.style?t.style+";":"")+n[r]:!t[r]&&r!="contenteditable"&&r!="nodeName"&&(t[r]=String(n[r]))}),t.translate||(t.translate="no"),[Wa.node(0,e.state.doc.content.size,t)]}function nW(e){if(e.markCursor){let t=document.createElement("img");t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:Wa.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function rW(e){return!e.someProp("editable",t=>t(e.state)===!1)}function Y4e(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function iW(e){let t=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(t,i)||(t[i]=r[i])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Z4e(e,t){let n=0,r=0;for(let i in e){if(e[i]!=t[i])return!0;n++}for(let i in t)r++;return n!=r}function oW(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Hf={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Bx={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Q4e=typeof navigator<"u"&&/Mac/.test(navigator.platform),H4e=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Zi=0;Zi<10;Zi++)Hf[48+Zi]=Hf[96+Zi]=String(Zi);for(var Zi=1;Zi<=24;Zi++)Hf[Zi+111]="F"+Zi;for(var Zi=65;Zi<=90;Zi++)Hf[Zi]=String.fromCharCode(Zi+32),Bx[Zi]=String.fromCharCode(Zi);for(var I5 in Hf)Bx.hasOwnProperty(I5)||(Bx[I5]=Hf[I5]);function K4e(e){var t=Q4e&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||H4e&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",n=!t&&e.key||(e.shiftKey?Bx:Hf)[e.keyCode]||e.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const G4e=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function z4e(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s127)&&(o=Hf[r.keyCode])&&o!=i){let s=t[N5(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var Yx=200,_i=function(){};_i.prototype.append=function(t){return t.length?(t=_i.from(t),!this.length&&t||t.length=n?_i.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};_i.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};_i.prototype.forEach=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(t,n,r,0):this.forEachInvertedInner(t,n,r,0)};_i.prototype.map=function(t,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(t(o,a))},n,r),i};_i.from=function(t){return t instanceof _i?t:t&&t.length?new $z(t):_i.empty};var $z=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new t(this.values.slice(i,o))},t.prototype.getInner=function(i){return this.values[i]},t.prototype.forEachInner=function(i,o,a,s){for(var l=o;l=a;l--)if(i(this.values[l],s+l)===!1)return!1},t.prototype.leafAppend=function(i){if(this.length+i.length<=Yx)return new t(this.values.concat(i.flatten()))},t.prototype.leafPrepend=function(i){if(this.length+i.length<=Yx)return new t(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(_i);_i.empty=new $z([]);var $4e=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(r){return rs&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},t.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},t.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new t(this.left,i)},t.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new t(i,this.right)},t.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new t(this.left,new t(this.right,r)):new t(this,r)},t}(_i);const j4e=500;class ol{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=t.tr,s,l,u=[],c=[];return this.items.forEach((f,d)=>{if(!f.step){i||(i=this.remapping(r,d+1),o=i.maps.length),o--,c.push(f);return}if(i){c.push(new Wl(f.map));let h=f.step.map(i.slice(o)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],u.push(new Wl(p,void 0,void 0,u.length+c.length))),o--,p&&i.appendMap(p,o)}else a.maybeStep(f.step);if(f.selection)return s=i?f.selection.map(i.slice(o)):f.selection,l=new ol(this.items.slice(0,r).append(c.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let c=0;cewe&&(s=q4e(s,u),a-=u),new ol(s.append(o),a)}remapping(t,n){let r=new zp;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=t?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new ol(this.items.append(t.map(n=>new Wl(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},i);let l=n;this.items.forEach(d=>{let h=o.getMirror(--l);if(h==null)return;a=Math.min(a,h);let p=o.maps[h];if(d.step){let v=t.steps[h].invert(t.docs[h]),g=d.selection&&d.selection.map(o.slice(l+1,h));g&&s++,r.push(new Wl(p,v,g))}else r.push(new Wl(p))},i);let u=[];for(let d=n;dj4e&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),u=l&&l.getMap();if(r--,u&&n.appendMap(u,r),l){let c=a.selection&&a.selection.map(n.slice(r));c&&o++;let f=new Wl(u.invert(),l,c),d,h=i.length-1;(d=i.length&&i[h].merge(f))?i[h]=d:i.push(f)}}else a.map&&r--},this.items.length,0),new ol(_i.from(i.reverse()),o)}}ol.empty=new ol(_i.empty,0);function q4e(e,t){let n;return e.forEach((r,i)=>{if(r.selection&&t--==0)return n=i,!1}),e.slice(n)}class Wl{constructor(t,n,r,i){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new Wl(n.getMap().invert(),n,this.selection)}}}class df{constructor(t,n,r,i,o){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const ewe=20;function twe(e,t,n,r){let i=n.getMeta(Ff),o;if(i)return i.historyState;n.getMeta(rwe)&&(e=new df(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(Ff))return a.getMeta(Ff).redo?new df(e.done.addTransform(n,void 0,r,Ab(t)),e.undone,sW(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new df(e.done,e.undone.addTransform(n,void 0,r,Ab(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!nwe(n,e.prevRanges)),u=a?F5(e.prevRanges,n.mapping):sW(n.mapping.maps[n.steps.length-1]);return new df(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,Ab(t)),ol.empty,u,n.time,s??e.prevComposition)}else return(o=n.getMeta("rebased"))?new df(e.done.rebased(n,o),e.undone.rebased(n,o),F5(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new df(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),F5(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function nwe(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=t[o]&&(n=!0)}),n}function sW(e){let t=[];return e.forEach((n,r,i,o)=>t.push(i,o)),t}function F5(e,t){if(!e)return null;let n=[];for(let r=0;r{let n=Ff.getState(e);return!n||n.done.eventCount==0?!1:(t&&jz(n,e,t,!1),!0)},eJ=(e,t)=>{let n=Ff.getState(e);return!n||n.undone.eventCount==0?!1:(t&&jz(n,e,t,!0),!0)};function owe(e={}){return new Dv({view(t){return new awe(t,e)}})}class awe{constructor(t,n){var r;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return t.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r;if(n){let s=t.nodeBefore,l=t.nodeAfter;if(s||l){let u=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(u){let c=u.getBoundingClientRect(),f=s?c.bottom:c.top;s&&l&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:c.left,right:c.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,t):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=JZ(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}class Kr extends In{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Kr.valid(r)?new Kr(r):In.near(r)}content(){return Mt.empty}eq(t){return t instanceof Kr&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Kr(t.resolve(n.pos))}getBookmark(){return new _k(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!swe(t)||!lwe(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(t.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Kr.valid(t))return t;let i=t.pos,o=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)0){o=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;i+=n;let l=t.doc.resolve(i);if(Kr.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!zt.isSelectable(o)){t=t.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=t.doc.resolve(i);if(Kr.valid(s))return s}return null}}}Kr.prototype.visible=!1;Kr.findFrom=Kr.findGapCursorFrom;In.jsonID("gapcursor",Kr);class _k{constructor(t){this.pos=t}map(t){return new _k(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Kr.valid(n)?new Kr(n):In.near(n)}}function swe(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function lwe(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function uwe(){return new Dv({props:{decorations:hwe,createSelectionBetween(e,t,n){return t.pos==n.pos&&Kr.valid(n)?new Kr(n):null},handleClick:fwe,handleKeyDown:cwe,handleDOMEvents:{beforeinput:dwe}}})}const cwe=Jz({ArrowLeft:HA("horiz",-1),ArrowRight:HA("horiz",1),ArrowUp:HA("vert",-1),ArrowDown:HA("vert",1)});function HA(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,i,o){let a=r.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof er){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(t>0?s.after():s.before())}let u=Kr.findGapCursorFrom(s,t,l);return u?(i&&i(r.tr.setSelection(new Kr(u))),!0):!1}}function fwe(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Kr.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&zt.isSelectable(e.state.doc.nodeAt(i.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Kr(r))),!0)}function dwe(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Kr))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=ft.empty;for(let a=r.length-1;a>=0;a--)i=ft.from(r[a].createAndFill(null,i));let o=e.state.tr.replace(n.pos,n.pos,new Mt(i,0,0));return o.setSelection(er.near(o.doc.resolve(n.pos+1))),e.dispatch(o),!1}function hwe(e){if(!(e.selection instanceof Kr))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",si.create(e.doc,[Wa.widget(e.selection.head,t,{key:"gapcursor"})])}const pwe=["li",0],vwe={parseDOM:[{tag:"li"}],toDOM(){return pwe},defining:!0};function gwe(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=!1,l=a;if(!a)return!1;if(a.depth>=2&&i.node(a.depth-1).type.compatibleContent(e)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let c=n.doc.resolve(a.start-2);l=new ix(c,c,a.depth),a.endIndex=0;c--)o=ft.from(n[c].type.create(n[c].attrs,o));e.step(new Gi(t.start-(r?2:0),t.end,t.start,t.end,new Mt(o,0,0),n.length,!0));let a=0;for(let c=0;c=i.depth-3;m--)f=ft.from(i.node(m).copy(f));let h=i.indexAfter(-1){if(g>-1)return!1;m.isTextblock&&m.content.size==0&&(g=y+1)}),g>-1&&v.setSelection(In.near(v.doc.resolve(g))),r(v.scrollIntoView())}return!0}let l=o.pos==i.end()?s.contentMatchAt(0).defaultType:null,u=n.tr.delete(i.pos,o.pos),c=l?[null,{type:l}]:void 0;return Jp(u.doc,i.pos,2,c)?(r&&r(u.split(i.pos,2,c).scrollIntoView()),!0):!1}}function tJ(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==e);return o?n?r.node(o.depth-1).type==e?Awe(t,n,e,o):Rwe(t,n,o):!0:!1}}function Awe(e,t,n,r){let i=e.tr,o=r.end,a=r.$to.end(r.depth);ov;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,u=o.node(-1),c=o.index(-1);if(!u.canReplace(c+(s?0:1),c+1,a.content.append(l?ft.empty:ft.from(i))))return!1;let f=o.pos,d=f+a.nodeSize;return r.step(new Gi(f-(s?1:0),d+(l?1:0),f+1,d-1,new Mt((s?ft.empty:ft.from(i.copy(ft.empty))).append(l?ft.empty:ft.from(i.copy(ft.empty))),s?0:1,l?0:1),s?0:1)),t(r.scrollIntoView()),!0}function uW(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,u=>u.childCount>0&&u.firstChild.type==e);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=e)return!1;if(n){let u=l.lastChild&&l.lastChild.type==s.type,c=ft.from(u?e.create():null),f=new Mt(ft.from(e.create(null,ft.from(s.type.create(null,c)))),u?3:1,0),d=o.start,h=o.end;n(t.tr.step(new Gi(d-(u?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}class yc{constructor(t,n,r={}){this.match=t,this.match=t,this.handler=typeof n=="string"?bwe(n):n,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1}}function bwe(e){return function(t,n,r,i){let o=e;if(n[1]){let a=n[0].lastIndexOf(n[1]);o+=n[0].slice(a+n[1].length),r+=a;let s=r-i;s>0&&(o=n[0].slice(a-s,a)+o,r=i)}return t.tr.insertText(o,r,i)}}const xwe=500;function Swe({rules:e}){let t=new Dv({state:{init(){return null},apply(n,r){let i=n.getMeta(this);return i||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,i,o){return cW(n,r,i,o,e,t)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&cW(n,r.pos,r.pos,"",e,t)})}}},isInputRules:!0});return t}function cW(e,t,n,r,i,o){if(e.composing)return!1;let a=e.state,s=a.doc.resolve(t),l=s.parent.textBetween(Math.max(0,s.parentOffset-xwe),s.parentOffset,null,"")+r;for(let u=0;u{let n=e.plugins;for(let r=0;r=0;l--)a.step(s.steps[l].invert(s.docs[l]));if(o.text){let l=a.doc.resolve(o.from).marks();a.replaceWith(o.from,o.to,e.schema.text(o.text,l))}else a.delete(o.from,o.to);t(a)}return!0}}return!1},Mwe=new yc(/--$/,"—"),Lwe=new yc(/\.\.\.$/,"…"),Twe=new yc(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),_we=new yc(/"$/,"”"),Owe=new yc(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),kwe=new yc(/'$/,"’"),Pwe=[Twe,_we,Owe,kwe];function Ok(e,t,n=null,r){return new yc(e,(i,o,a,s)=>{let l=n instanceof Function?n(o):n,u=i.tr.delete(a,s),c=u.doc.resolve(a),f=c.blockRange(),d=f&&yO(f,t,l);if(!d)return null;u.wrap(f,d);let h=u.doc.resolve(a-1).nodeBefore;return h&&h.type==t&&Vv(u.doc,a-1)&&(!r||r(o,h))&&u.join(a-1),u})}const Cwe=e=>{const t={},n=(r,i)=>t[r]=i;return n("Alt-ArrowUp",Dhe),n("Alt-ArrowDown",Uhe),n("Mod-z",qz),n("Mod-y",eJ),n("Backspace",wwe),n("Escape",Hhe),n("Mod-b",ai(e.marks.strong)),n("Mod-i",ai(e.marks.em)),n("Mod-u",ai(e.marks.underline)),n("Mod-d",ai(e.marks.strikethrough)),n("Mod-e",ai(e.marks.code)),n("Mod-;",ai(e.marks.superscript)),n("Mod-'",ai(e.marks.subscript)),n("Enter",ZS(ywe(e.nodes.list_item),sQ,lQ,uQ,Qhe)),n("Mod-[",tJ(e.nodes.list_item)),n("Mod-]",uW(e.nodes.list_item)),n("Tab",uW(e.nodes.list_item)),t},Iwe=e=>Ok(/^\s*>\s$/,e),Nwe=e=>Ok(/^(\d+)\.\s$/,e,t=>({order:+t[1]}),(t,n)=>n.childCount+n.attrs.order===+t[1]),Fwe=e=>Ok(/^\s*([-+*])\s$/,e),Ewe=()=>{const e=/(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;return new yc(e,(t,n,r,i)=>{const{schema:o}=t,a=t.tr.insertText(`${n[2]} `,r,i),s=o.marks.code.create();return a.addMark(r,r+n[2].length,s)})},Xwe=()=>{const e=/(?:https?:\/\/)?[\w-]+(?:\.[\w-]+)+\.?(?:\d+)?(?:\/\S*)?$/;return new yc(e,(t,n,r,i)=>{const{schema:o}=t,a=t.tr.insertText(n[0],r,i),s=o.marks.link.create({href:n[0],title:n[0]});return a.addMark(r,r+n[0].length,s)})},Wwe=e=>{const t=[...Pwe,Lwe,Mwe];return t.push(Iwe(e.nodes.blockquote)),t.push(Nwe(e.nodes.ordered_list)),t.push(Fwe(e.nodes.bullet_list)),t.push(Ewe()),t.push(Xwe()),Swe({rules:t})},Vwe=e=>e.type.name==="paragraph"&&e.nodeSize===2,Dwe=e=>new Dv({props:{decorations(t){const{$from:n}=t.selection;if(Vwe(n.parent)){const r=Wa.node(n.before(),n.after(),{"data-placeholder":e});return si.create(t.doc,[r])}}}}),Uwe=(e,t)=>{const n=t==null?void 0:t.placeholder,r=[Wwe(e),aW(Cwe(e)),aW(qhe),owe(),uwe(),iwe()];return n&&r.push(Dwe(n)),r},Bwe=["p",0],Ywe=["blockquote",0],Zwe=["hr"],Qwe=["pre",["code",0]],Hwe=["br"],nJ={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return Bwe}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return Ywe}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return Zwe}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(e){return["h"+e.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return Qwe}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")}}}],toDOM(e){let{src:t,alt:n,title:r}=e.attrs;return["img",{src:t,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return Hwe}}},Kwe=["em",0],Gwe=["strong",0],zwe=["code",0],rJ={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(e){return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM(e){let{href:t,title:n}=e.attrs;return["a",{href:t,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:e=>e.type.name=="em"}],toDOM(){return Kwe}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name=="strong"},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],toDOM(){return Gwe}},code:{parseDOM:[{tag:"code"}],toDOM(){return zwe}}};new DZ({nodes:nJ,marks:rJ});const Jwe={attrs:{order:{default:1},listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ol",getAttrs:e=>{const n={order:+((e.hasAttribute("start")?e.getAttribute("start"):1)||1)},{listStyleType:r,fontSize:i,color:o}=e.style;return r&&(n.listStyleType=r),i&&(n.fontsize=i),o&&(n.color=o),n}}],toDOM:e=>{const{order:t,listStyleType:n,fontsize:r,color:i}=e.attrs;let o="";n&&(o+=`list-style-type: ${n};`),r&&(o+=`font-size: ${r};`),i&&(o+=`color: ${i};`);const a={style:o};return t!==1&&(a.start=t),["ol",a,0]}},$we={attrs:{listStyleType:{default:""},fontsize:{default:""},color:{default:""}},content:"list_item+",group:"block",parseDOM:[{tag:"ul",getAttrs:e=>{const t={},{listStyleType:n,fontSize:r,color:i}=e.style;return n&&(t.listStyleType=n),r&&(t.fontsize=r),i&&(t.color=i),t}}],toDOM:e=>{const{listStyleType:t,fontsize:n,color:r}=e.attrs;let i="";return t&&(i+=`list-style-type: ${t};`),n&&(i+=`font-size: ${n};`),r&&(i+=`color: ${r};`),["ul",{style:i},0]}},jwe={...vwe,content:"paragraph block*",group:"block"},qwe={attrs:{align:{default:""},indent:{default:0},textIndent:{default:0}},content:"inline*",group:"block",parseDOM:[{tag:"p",getAttrs:e=>{const{textAlign:t,textIndent:n}=e.style;let r=e.getAttribute("align")||t||"";r=/(left|right|center|justify)/.test(r)?r:"";let i=0;n&&(/em/.test(n)?i=parseInt(n):/px/.test(n)&&(i=Math.floor(parseInt(n)/16),i||(i=1)));const o=+(e.getAttribute("data-indent")||0);return{align:r,indent:o,textIndent:i}}},{tag:"img",ignore:!0},{tag:"pre",skip:!0}],toDOM:e=>{const{align:t,indent:n,textIndent:r}=e.attrs;let i="";t&&t!=="left"&&(i+=`text-align: ${t};`),r&&(i+=`text-indent: ${r}em;`);const o={style:i};return n&&(o["data-indent"]=n),["p",o,0]}},{doc:eMe,blockquote:tMe,text:nMe}=nJ,rMe={doc:eMe,paragraph:qwe,blockquote:tMe,text:nMe,ordered_list:Jwe,bullet_list:$we,list_item:jwe},iMe={excludes:"subscript",parseDOM:[{tag:"sub"},{style:"vertical-align",getAttrs:e=>e==="sub"&&null}],toDOM:()=>["sub",0]},oMe={excludes:"superscript",parseDOM:[{tag:"sup"},{style:"vertical-align",getAttrs:e=>e==="super"&&null}],toDOM:()=>["sup",0]},aMe={parseDOM:[{tag:"strike"},{style:"text-decoration",getAttrs:e=>e==="line-through"&&null},{style:"text-decoration-line",getAttrs:e=>e==="line-through"&&null}],toDOM:()=>["span",{style:"text-decoration-line: line-through;"},0]},sMe={parseDOM:[{tag:"u"},{style:"text-decoration",getAttrs:e=>e==="underline"&&null},{style:"text-decoration-line",getAttrs:e=>e==="underline"&&null}],toDOM:()=>["span",{style:"text-decoration: underline;"},0]},lMe={attrs:{color:{}},inline:!0,group:"inline",parseDOM:[{style:"color",getAttrs:e=>e?{color:e}:{}}],toDOM:e=>{const{color:t}=e.attrs;let n="";return t&&(n+=`color: ${t};`),["span",{style:n},0]}},uMe={attrs:{backcolor:{}},inline:!0,group:"inline",parseDOM:[{style:"background-color",getAttrs:e=>e?{backcolor:e}:{}}],toDOM:e=>{const{backcolor:t}=e.attrs;let n="";return t&&(n+=`background-color: ${t};`),["span",{style:n},0]}},cMe={attrs:{fontsize:{}},inline:!0,group:"inline",parseDOM:[{style:"font-size",getAttrs:e=>e?{fontsize:e}:{}}],toDOM:e=>{const{fontsize:t}=e.attrs;let n="";return t&&(n+=`font-size: ${t};`),["span",{style:n},0]}},fMe={attrs:{fontname:{}},inline:!0,group:"inline",parseDOM:[{style:"font-family",getAttrs:e=>({fontname:e&&typeof e=="string"?e.replace(/[\"\']/g,""):""})}],toDOM:e=>{const{fontname:t}=e.attrs;let n="";return t&&(n+=`font-family: ${t};`),["span",{style:n},0]}},dMe={attrs:{href:{},title:{default:null},target:{default:"_blank"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href"),n=e.getAttribute("title");return{href:t,title:n}}}],toDOM:e=>["a",e.attrs,0]},hMe={attrs:{index:{default:null}},parseDOM:[{tag:"mark",getAttrs:e=>({index:e.dataset.index})}],toDOM:e=>["mark",{"data-index":e.attrs.index},0]},{em:pMe,strong:vMe,code:gMe}=rJ,mMe={em:pMe,strong:vMe,fontsize:cMe,fontname:fMe,code:gMe,forecolor:lMe,backcolor:uMe,subscript:iMe,superscript:oMe,strikethrough:aMe,underline:sMe,link:dMe,mark:hMe},yMe=rMe,AMe=mMe,iJ=new DZ({nodes:yMe,marks:AMe}),kk=e=>{const t=`
    ${e}
    `,r=new window.DOMParser().parseFromString(t,"text/html").body.firstElementChild;return gO.fromSchema(iJ).parse(r)},oJ=(e,t,n,r)=>new B4e(e,{state:Mp.create({doc:kk(t),plugins:Uwe(iJ,r)}),...n});function RMe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}var Ti=(e=>(e.RICH_TEXT_COMMAND="RICH_TEXT_COMMAND",e.SYNC_RICH_TEXT_ATTRS_TO_STORE="SYNC_RICH_TEXT_ATTRS_TO_STORE",e.OPEN_CHART_DATA_EDITOR="OPEN_CHART_DATA_EDITOR",e.OPEN_LATEX_EDITOR="OPEN_LATEX_EDITOR",e))(Ti||{});const Hi=RMe(),bMe=(e,t,n)=>{const{selection:r,doc:i}=e;if(!r||!i)return e;const{from:o,to:a}=r,{nodes:s}=t,l=s.blockquote,u=s.list_item,c=s.paragraph,f=[];n=n||"";const d=new Set([l,u,c]);return i.nodesBetween(o,a,(h,p)=>{const v=h.type;return(h.attrs.align||"")!==n&&d.has(v)&&f.push({node:h,pos:p,nodeType:v}),!0}),f.length&&f.forEach(h=>{const{node:p,pos:v,nodeType:g}=h;let{attrs:m}=p;n?m={...m,align:n}:m={...m,align:null},e=e.setNodeMarkup(v,g,m,p.marks)}),e},xMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=bMe(n.tr.setSelection(i),r,t);e.dispatch(o)};function SMe(e,t,n,r){if(!e.doc)return e;const i=e.doc.nodeAt(t);if(!i)return e;const o=0,a=8;let s=(i.attrs[r]||0)+n;if(sa&&(s=a),s===i.attrs[r])return e;const l={...i.attrs,[r]:s};return e.setNodeMarkup(t,i.type,l,i.marks)}const aJ=(e,t,n,r)=>{const{selection:i,doc:o}=e;if(!i||!o||!(i instanceof er||i instanceof na))return e;const{from:a,to:s}=i;return o.nodesBetween(a,s,(l,u)=>{const c=l.type;return c.name==="paragraph"||c.name==="blockquote"?(e=SMe(e,u,n,r),!1):!lx(l,t)}),e},wMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=aJ(n.tr.setSelection(i),r,t,"indent");return o.docChanged?(e.dispatch(o),!0):!1},MMe=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=aJ(n.tr.setSelection(i),r,t,"textIndent");return o.docChanged?(e.dispatch(o),!0):!1},Zx=(e,t,n,r={})=>(i,o)=>{const{schema:a,selection:s}=i,{$from:l,$to:u}=s,c=l.blockRange(u);if(!c)return!1;const f=vQ(h=>lx(h,a))(s);if(c.depth>=1&&f&&c.depth-f.depth<=1){if(f.node.type===e&&!n)return tJ(t)(i,o);if(lx(f.node,a)&&e.validContent(f.node.content)){const{tr:h}=i,p={...f.node.attrs,...r};return n&&(p.listStyleType=n),h.setNodeMarkup(f.pos,e,p),o&&o(h),!1}}const d={...r};return n&&(d.listStyleType=n),gwe(e,d)(i,o)},k1=(e,t)=>{const{state:n}=e,{schema:r,selection:i}=n,o=n.tr.setSelection(i),{doc:a}=o;if(!a)return o;const{from:s,to:l}=i;a.nodesBetween(s,l,(u,c)=>{if(lx(u,r)&&s-3<=c&&l+3>=c+u.nodeSize){const f=Array.isArray(t)?t:[t];for(const d of f)o.setNodeAttribute(c,d.key,d.value)}return!1}),e.dispatch(o)},LMe=Xe({__name:"ProsemirrorEditor",props:{elementId:{},defaultColor:{},defaultFontName:{},value:{},editable:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1}},emits:["update","focus","blur","mousedown"],setup(e,{expose:t,emit:n}){const r=e,i=n,o=ht(),{handleElementId:a,textFormatPainter:s,richTextAttrs:l}=De(o),u=pe();let c;const f=Yn.debounce(function(x=!1){r.value.replace(/ style=\"\"/g,"")!==c.dom.innerHTML.replace(/ style=\"\"/g,"")&&i("update",{value:c.dom.innerHTML,ignore:x})},300,{trailing:!0}),d=()=>{o.setDisableHotkeysState(!0),i("focus")},h=()=>{o.setDisableHotkeysState(!1),i("blur")},p=Yn.debounce(function(){const x=G8(c,{color:r.defaultColor,fontname:r.defaultFontName});o.setRichtextAttrs(x)},30,{trailing:!0}),v=(x,S)=>{const{ctrlKey:L,shiftKey:w,metaKey:M}=S,_=L||w||M,k=S.key.toUpperCase(),P=_&&(k===At.Z||k===At.Y);f(P),p()},g=we(()=>r.value);Ot(g,()=>{if(!c||c.hasFocus())return;const{doc:x,tr:S}=c.state;c.dispatch(S.replaceRangeWith(0,x.content.size,kk(g.value)))}),Ot(()=>r.editable,()=>{c.setProps({editable:()=>r.editable})}),t({focus:()=>c.focus()});const y=({target:x,action:S})=>{if(!x&&a.value!==r.elementId||x&&x!==r.elementId)return;const L="command"in S?[S]:S;for(const w of L)if(w.command==="fontname"&&w.value!==void 0){const M=c.state.schema.marks.fontname.create({fontname:w.value});hi(c),Xl(c,M),w.value&&!document.fonts.check(`16px ${w.value}`)&&gn.warning("字体需要等待加载下载后生效,请稍等")}else if(w.command==="fontsize"&&w.value){const M=c.state.schema.marks.fontsize.create({fontsize:w.value});hi(c),Xl(c,M),k1(c,{key:"fontsize",value:w.value})}else if(w.command==="fontsize-add"){const M=w.value?+w.value:2;hi(c);const _=D7(c)+M+"px",k=c.state.schema.marks.fontsize.create({fontsize:_});Xl(c,k),k1(c,{key:"fontsize",value:_})}else if(w.command==="fontsize-reduce"){const M=w.value?+w.value:2;hi(c);let _=D7(c)-M;_<12&&(_=12);const k=c.state.schema.marks.fontsize.create({fontsize:_+"px"});Xl(c,k),k1(c,{key:"fontsize",value:_+"px"})}else if(w.command==="color"&&w.value){const M=c.state.schema.marks.forecolor.create({color:w.value});hi(c),Xl(c,M),k1(c,{key:"color",value:w.value})}else if(w.command==="backcolor"&&w.value){const M=c.state.schema.marks.backcolor.create({backcolor:w.value});hi(c),Xl(c,M)}else if(w.command==="bold")hi(c),ai(c.state.schema.marks.strong)(c.state,c.dispatch);else if(w.command==="em")hi(c),ai(c.state.schema.marks.em)(c.state,c.dispatch);else if(w.command==="underline")hi(c),ai(c.state.schema.marks.underline)(c.state,c.dispatch);else if(w.command==="strikethrough")hi(c),ai(c.state.schema.marks.strikethrough)(c.state,c.dispatch);else if(w.command==="subscript")ai(c.state.schema.marks.subscript)(c.state,c.dispatch);else if(w.command==="superscript")ai(c.state.schema.marks.superscript)(c.state,c.dispatch);else if(w.command==="blockquote")jR("blockquote",c.state)?Bhe(c.state,c.dispatch):Jhe(c.state.schema.nodes.blockquote)(c.state,c.dispatch);else if(w.command==="code")ai(c.state.schema.marks.code)(c.state,c.dispatch);else if(w.command==="align"&&w.value)xMe(c,w.value);else if(w.command==="indent"&&w.value)wMe(c,+w.value);else if(w.command==="textIndent"&&w.value)MMe(c,+w.value);else if(w.command==="bulletList"){const M=w.value||"",{bullet_list:_,list_item:k}=c.state.schema.nodes,P={color:l.value.color,fontsize:l.value.fontsize};Zx(_,k,M,P)(c.state,c.dispatch)}else if(w.command==="orderedList"){const M=w.value||"",{ordered_list:_,list_item:k}=c.state.schema.nodes,P={color:l.value.color,fontsize:l.value.fontsize};Zx(_,k,M,P)(c.state,c.dispatch)}else if(w.command==="clear"){hi(c);const{$from:M,$to:_}=c.state.selection;c.dispatch(c.state.tr.removeMark(M.pos,_.pos)),k1(c,[{key:"fontsize",value:""},{key:"color",value:""}])}else if(w.command==="link"){const M=c.state.schema.marks.link,{from:_,to:k}=c.state.selection,P=e0e(c.state.doc,_,k,M);if(P)if(w.value){const N=c.state.schema.marks.link.create({href:w.value,title:w.value});Xl(c,N,{from:P.from.pos,to:P.to.pos+1})}else c.dispatch(c.state.tr.removeMark(P.from.pos,P.to.pos+1,M));else if(i0e(c.state,M))if(w.value){const N=c.state.schema.marks.link.create({href:w.value,title:w.value});Xl(c,N)}else ai(M)(c.state,c.dispatch);else w.value&&(hi(c),ai(M,{href:w.value,title:w.value})(c.state,c.dispatch))}else w.command==="insert"&&w.value&&c.dispatch(c.state.tr.insertText(w.value));c.focus(),f(),p()},R=()=>{if(!s.value)return;const{keep:x,...S}=s.value,L=[{command:"clear"}];for(const w of Object.keys(S)){const M=w,_=s.value[w];_===!0?L.push({command:M}):_&&L.push({command:M,value:_})}y({action:L}),x||o.setTextFormatPainter(null)};Ht(()=>{c=oJ(u.value,g.value,{handleDOMEvents:{focus:d,blur:h,keydown:v,click:p,mouseup:R},editable:()=>r.editable}),r.autoFocus&&c.focus()}),Nn(()=>{c&&c.destroy()});const A=()=>{a.value===r.elementId&&p()};return Hi.on(Ti.RICH_TEXT_COMMAND,y),Hi.on(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE,A),Nn(()=>{Hi.off(Ti.RICH_TEXT_COMMAND,y),Hi.off(Ti.SYNC_RICH_TEXT_ATTRS_TO_STORE,A)}),(x,S)=>(U(),te("div",{class:$e(["prosemirror-editor",{"format-painter":z(s)}]),ref_key:"editorViewRef",ref:u,onMousedown:S[0]||(S[0]=L=>i("mousedown",L))},null,34))}}),sJ=Be(LMe,[["__scopeId","data-v-c7cc0fa2"]]),lJ=e=>(en("data-v-3b68a2d9"),e=e(),tn(),e),TMe=lJ(()=>V("div",{class:"drag-handler top"},null,-1)),_Me=lJ(()=>V("div",{class:"drag-handler bottom"},null,-1)),OMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{handleElementId:i,isScaling:o}=De(n),{addHistorySnapshot:a}=nn(),s=pe(),l=we(()=>t.elementInfo.shadow),{shadowStyle:u}=fd(l),c=(y,R=!0)=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo,R))},f=pe(-1),d=pe(-1);Ot(o,()=>{i.value===t.elementInfo.id&&(o.value||(!t.elementInfo.vertical&&f.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:f.value}}),f.value=-1),t.elementInfo.vertical&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{width:d.value}}),d.value=-1)))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const A=R.height+20,x=R.width+20;!t.elementInfo.vertical&&t.elementInfo.height!==A&&(o.value?f.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}})),t.elementInfo.vertical&&t.elementInfo.width!==x&&(o.value?d.value=x:r.updateElement({id:t.elementInfo.id,props:{width:x}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),Nn(()=>{s.value&&p.unobserve(s.value)});const v=(y,R=!1)=>{r.updateElement({id:t.elementInfo.id,props:{content:y}}),R||a()},g=Yn.debounce(function(){t.elementInfo.content.replace(/<[^>]+>/g,"")||r.deleteElement(t.elementInfo.id)},300,{trailing:!0}),m=we(()=>i.value===t.elementInfo.id);return Ot(m,()=>{m.value||g()}),(y,R)=>{const A=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-text",{lock:y.elementInfo.lock}]),style:Le({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px",height:y.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${y.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",ref_key:"elementRef",ref:s,style:Le({width:y.elementInfo.vertical?"auto":y.elementInfo.width+"px",height:y.elementInfo.vertical?y.elementInfo.height+"px":"auto",backgroundColor:y.elementInfo.fill,opacity:y.elementInfo.opacity,textShadow:z(u),lineHeight:y.elementInfo.lineHeight,letterSpacing:(y.elementInfo.wordSpace||0)+"px",color:y.elementInfo.defaultColor,fontFamily:y.elementInfo.defaultFontName,writingMode:y.elementInfo.vertical?"vertical-rl":"horizontal-tb"}),onMousedown:R[2]||(R[2]=x=>c(x)),onTouchstart:R[3]||(R[3]=x=>c(x))},[O(A3,{width:y.elementInfo.width,height:y.elementInfo.height,outline:y.elementInfo.outline},null,8,["width","height","outline"]),O(sJ,{class:"text",elementId:y.elementInfo.id,defaultColor:y.elementInfo.defaultColor,defaultFontName:y.elementInfo.defaultFontName,editable:!y.elementInfo.lock,value:y.elementInfo.content,style:Le({"--paragraphSpace":`${y.elementInfo.paragraphSpace===void 0?5:y.elementInfo.paragraphSpace}px`}),onUpdate:R[0]||(R[0]=({value:x,ignore:S})=>v(x,S)),onMousedown:R[1]||(R[1]=x=>c(x,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value","style"]),TMe,_Me],36)),[[A,y.contextmenus]])],4)],6)}}}),uJ=Be(OMe,[["__scopeId","data-v-3b68a2d9"]]),kMe=["id","gradientTransform"],PMe=["offset","stop-color"],CMe=["id"],IMe=["offset","stop-color"],cJ=Xe({__name:"GradientDefs",props:{id:{},type:{},colors:{},rotate:{default:0}},setup(e){return(t,n)=>t.type==="linear"?(U(),te("linearGradient",{key:0,id:t.id,x1:"0%",y1:"0%",x2:"100%",y2:"0%",gradientTransform:`rotate(${t.rotate},0.5,0.5)`},[(U(!0),te(We,null,tt(t.colors,(r,i)=>(U(),te("stop",{key:i,offset:`${r.pos}%`,"stop-color":r.color},null,8,PMe))),128))],8,kMe)):(U(),te("radialGradient",{key:1,id:t.id},[(U(!0),te(We,null,tt(t.colors,(r,i)=>(U(),te("stop",{key:i,offset:`${r.pos}%`,"stop-color":r.color},null,8,IMe))),128))],8,CMe))}}),NMe=["width","height"],FMe={key:0},EMe=["transform"],XMe=["d","fill","stroke","stroke-width","stroke-dasharray"],WMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{handleElementId:i,shapeFormatPainter:o}=De(n),{addHistorySnapshot:a}=nn(),s=(w,M=!0)=>{t.elementInfo.lock||(w.stopPropagation(),t.selectElement(w,t.elementInfo,M))},l=()=>{if(!o.value)return;const{keep:w,...M}=o.value;r.updateElement({id:t.elementInfo.id,props:M}),a(),w||n.setShapeFormatPainter(null)},u=we(()=>t.elementInfo.outline),{outlineWidth:c,outlineColor:f,strokeDashArray:d}=Jv(u),h=we(()=>t.elementInfo.shadow),{shadowStyle:p}=fd(h),v=we(()=>t.elementInfo.flipH),g=we(()=>t.elementInfo.flipV),{flipStyle:m}=y3(v,g),y=pe(!1);Ot(i,()=>{i.value!==t.elementInfo.id&&y.value&&(y.value=!1)});const R=we(()=>{const w={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:w}),A=(w,M=!1)=>{const _={...R.value,content:w};r.updateElement({id:t.elementInfo.id,props:{text:_}}),M||a()},x=()=>{if(!t.elementInfo.text)return;t.elementInfo.text.content.replace(/<[^>]+>/g,"")||(r.removeElementProps({id:t.elementInfo.id,propName:"text"}),a())},S=pe(),L=()=>{y.value=!0,Ir(()=>S.value&&S.value.focus())};return(w,M)=>{const _=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-shape",{lock:w.elementInfo.lock,"format-painter":z(o)}]),style:Le({top:w.elementInfo.top+"px",left:w.elementInfo.left+"px",width:w.elementInfo.width+"px",height:w.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${w.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",style:Le({opacity:w.elementInfo.opacity,filter:z(p)?`drop-shadow(${z(p)})`:"",transform:z(m),color:R.value.defaultColor,fontFamily:R.value.defaultFontName}),onMousedown:M[3]||(M[3]=k=>s(k)),onMouseup:M[4]||(M[4]=k=>l()),onTouchstart:M[5]||(M[5]=k=>s(k)),onDblclick:M[6]||(M[6]=k=>L())},[(U(),te("svg",{overflow:"visible",width:w.elementInfo.width,height:w.elementInfo.height},[w.elementInfo.gradient?(U(),te("defs",FMe,[O(cJ,{id:`editabel-gradient-${w.elementInfo.id}`,type:w.elementInfo.gradient.type,colors:w.elementInfo.gradient.colors,rotate:w.elementInfo.gradient.rotate},null,8,["id","type","colors","rotate"])])):Ze("",!0),V("g",{transform:`scale(${w.elementInfo.width/w.elementInfo.viewBox[0]}, ${w.elementInfo.height/w.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{class:"shape-path","vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:w.elementInfo.path,fill:w.elementInfo.gradient?`url(#editabel-gradient-${w.elementInfo.id})`:w.elementInfo.fill,stroke:z(f),"stroke-width":z(c),"stroke-dasharray":z(d)},null,8,XMe)],8,EMe)],8,NMe)),V("div",{class:$e(["shape-text",[R.value.align,{editable:y.value||R.value.content}]])},[y.value||R.value.content?(U(),_e(sJ,{key:0,ref_key:"prosemirrorEditorRef",ref:S,elementId:w.elementInfo.id,defaultColor:R.value.defaultColor,defaultFontName:R.value.defaultFontName,editable:!w.elementInfo.lock,value:R.value.content,onUpdate:M[0]||(M[0]=({value:k,ignore:P})=>A(k,P)),onBlur:M[1]||(M[1]=k=>x()),onMousedown:M[2]||(M[2]=k=>s(k,!1))},null,8,["elementId","defaultColor","defaultFontName","editable","value"])):Ze("",!0)],2)],36)),[[_,w.contextmenus]])],4)],6)}}}),fJ=Be(WMe,[["__scopeId","data-v-48c2d216"]]),VMe=["id","markerWidth","markerHeight","refX","refY"],DMe=["d","fill","transform"],Kf=Xe({__name:"LinePointMarker",props:{id:{},position:{},type:{},baseSize:{},color:{}},setup(e){const t=e,n={dot:"m0 5a5 5 0 1 0 10 0a5 5 0 1 0 -10 0z",arrow:"M0,0 L10,5 0,10 Z"},r={"arrow-start":180,"arrow-end":0},i=we(()=>n[t.type]),o=we(()=>r[`${t.type}-${t.position}`]||0),a=we(()=>t.baseSize<2?2:t.baseSize);return(s,l)=>(U(),te("marker",{id:`${s.id}-${s.type}-${s.position}`,markerUnits:"userSpaceOnUse",orient:"auto",markerWidth:a.value*3,markerHeight:a.value*3,refX:a.value*1.5,refY:a.value*1.5},[V("path",{d:i.value,fill:s.color,transform:`scale(${a.value*.3}, ${a.value*.3}) rotate(${o.value}, 5, 5)`},null,8,DMe)],8,VMe))}}),UMe=["width","height"],BMe=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],YMe=["d"],ZMe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=u=>{t.elementInfo.lock||(u.stopPropagation(),t.selectElement(u,t.elementInfo))},r=we(()=>t.elementInfo.shadow),{shadowStyle:i}=fd(r),o=we(()=>{const u=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return u<24?24:u}),a=we(()=>{const u=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return u<24?24:u}),s=we(()=>{const u=t.elementInfo.width;return t.elementInfo.style==="dashed"?u<=8?`${u*5} ${u*2.5}`:`${u*5} ${u*1.5}`:t.elementInfo.style==="dotted"?u<=8?`${u*1.8} ${u*1.6}`:`${u*1.5} ${u*1.2}`:"0 0"}),l=we(()=>YO(t.elementInfo));return(u,c)=>{const f=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-shape",{lock:u.elementInfo.lock}]),style:Le({top:u.elementInfo.top+"px",left:u.elementInfo.left+"px"})},[V("div",{class:"element-content",style:Le({filter:z(i)?`drop-shadow(${z(i)})`:""}),onMousedown:c[0]||(c[0]=d=>n(d)),onTouchstart:c[1]||(c[1]=d=>n(d))},[(U(),te("svg",{overflow:"visible",width:o.value,height:a.value},[V("defs",null,[u.elementInfo.points[0]?(U(),_e(Kf,{key:0,id:u.elementInfo.id,position:"start",type:u.elementInfo.points[0],color:u.elementInfo.color,baseSize:u.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),u.elementInfo.points[1]?(U(),_e(Kf,{key:1,id:u.elementInfo.id,position:"end",type:u.elementInfo.points[1],color:u.elementInfo.color,baseSize:u.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),V("path",{class:"line-point",d:l.value,stroke:u.elementInfo.color,"stroke-width":u.elementInfo.width,"stroke-dasharray":s.value,fill:"none","marker-start":u.elementInfo.points[0]?`url(#${u.elementInfo.id}-${u.elementInfo.points[0]}-start)`:"","marker-end":u.elementInfo.points[1]?`url(#${u.elementInfo.id}-${u.elementInfo.points[1]}-end)`:""},null,8,BMe),ze(V("path",{class:"line-path",d:l.value,stroke:"transparent","stroke-width":"20",fill:"none"},null,8,YMe),[[f,u.contextmenus]])],8,UMe))],36)],6)}}}),dJ=Be(ZMe,[["__scopeId","data-v-9dc09347"]]),QMe=({type:e,data:t,themeColors:n,textColor:r,lineSmooth:i,stack:o})=>{if(e==="bar")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"bar",label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="column")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,yAxis:{type:"category",data:t.labels},xAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"bar",label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="line")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"line",smooth:i,label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="pie")return{color:n,textStyle:r?{color:r}:{},legend:{top:"bottom",textStyle:r?{color:r}:{}},series:[{data:t.series[0].map((a,s)=>({value:a,name:t.labels[s]})),label:r?{color:r}:{},type:"pie",radius:"70%",emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{show:!0,fontSize:14,fontWeight:"bold"}}}]};if(e==="ring")return{color:n,textStyle:r?{color:r}:{},legend:{top:"bottom",textStyle:r?{color:r}:{}},series:[{data:t.series[0].map((a,s)=>({value:a,name:t.labels[s]})),label:r?{color:r}:{},type:"pie",radius:["40%","70%"],padAngle:1,avoidLabelOverlap:!1,itemStyle:{borderRadius:4},emphasis:{label:{show:!0,fontSize:14,fontWeight:"bold"}}}]};if(e==="area")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,xAxis:{type:"category",boundaryGap:!1,data:t.labels},yAxis:{type:"value"},series:t.series.map((a,s)=>{const l={data:a,name:t.legends[s],type:"line",areaStyle:{},label:{show:!0}};return o&&(l.stack="A"),l})};if(e==="radar")return{color:n,textStyle:r?{color:r}:{},legend:t.series.length>1?{top:"bottom",textStyle:r?{color:r}:{}}:void 0,radar:{indicator:t.labels.map(a=>({name:a}))},series:[{data:t.series.map((a,s)=>({value:a,name:t.legends[s]})),type:"radar"}]};if(e==="scatter"){const a=[];for(let s=0;s"u"&&typeof self<"u"?or.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(or.node=!0,or.svgSupported=!0):GMe(navigator.userAgent,or);function GMe(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),o=e.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}var Pk=12,hJ="sans-serif",Gf=Pk+"px "+hJ,zMe=20,JMe=100,$Me="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function jMe(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n=0)s=a*n.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}return n}function S5e(e,t,n){for(var r="trans",i=t[r],o=t.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,d=c.left,h=c.top;a.push(d,h),l=l&&o&&d===o[f]&&h===o[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&i?i:(t.srcCoords=a,t[r]=R5e(a,s))}function bJ(e){return e.nodeName.toUpperCase()==="CANVAS"}var w5e=/([&<>"'])/g,M5e={"&":"&","<":"<",">":">",'"':""","'":"'"};function L5e(e){return e==null?"":(e+"").replace(w5e,function(t,n){return M5e[n]})}var T5e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,V5=[],_5e=or.browser.firefox&&+or.browser.version.split(".")[0]<39;function x6(e,t,n,r){return n=n||{},r?vW(e,t,n):_5e&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):vW(e,t,n),n}function vW(e,t,n){if(or.domSupported&&e.getBoundingClientRect){var r=t.clientX,i=t.clientY;if(bJ(e)){var o=e.getBoundingClientRect();n.zrX=r-o.left,n.zrY=i-o.top;return}else if(b5e(V5,e,r,i)){n.zrX=V5[0],n.zrY=V5[1];return}}n.zrX=n.zrY=0}function Ek(e){return e||window.event}function $s(e,t,n){if(t=Ek(t),t.zrX!=null)return t;var r=t.type,i=r&&r.indexOf("touch")>=0;if(i){var a=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];a&&x6(e,a,t,n)}else{x6(e,t,t,n);var o=O5e(t);t.zrDelta=o?o/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&T5e.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function O5e(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var i=Math.abs(r!==0?r:n),o=r>0?-1:r<0?1:n>0?-1:1;return 3*i*o}function k5e(e,t,n,r){e.addEventListener(t,n,r)}function P5e(e,t,n,r){e.removeEventListener(t,n,r)}var C5e=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0},I5e=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var i=t.touches;if(i){for(var o={points:[],touches:[],target:n,event:t},a=0,s=i.length;a1&&r&&r.length>1){var o=gW(r)/gW(i);!isFinite(o)&&(o=1),t.pinchScale=o;var a=N5e(r);return t.pinchX=a[0],t.pinchY=a[1],{type:"pinch",target:e[0].target,event:t}}}}};function pm(){return[1,0,0,1,0,0]}function Xk(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function F5e(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function ov(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4],l=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=l,e}function mW(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function xJ(e,t,n,r){r===void 0&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(n),f=Math.cos(n);return e[0]=i*f+s*c,e[1]=-i*c+s*f,e[2]=o*f+l*c,e[3]=-o*c+f*l,e[4]=f*(a-r[0])+c*(u-r[1])+r[0],e[5]=f*(u-r[1])-c*(a-r[0])+r[1],e}function E5e(e,t,n){var r=n[0],i=n[1];return e[0]=t[0]*r,e[1]=t[1]*i,e[2]=t[2]*r,e[3]=t[3]*i,e[4]=t[4]*r,e[5]=t[5]*i,e}function Wk(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=t[5],l=n*a-o*r;return l?(l=1/l,e[0]=a*l,e[1]=-o*l,e[2]=-r*l,e[3]=n*l,e[4]=(r*s-a*i)*l,e[5]=(o*i-n*s)*l,e):null}var cn=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,i){t.x=n.x+r.x*i,t.y=n.y+r.y*i},e.lerp=function(t,n,r,i){var o=1-i;t.x=o*n.x+i*r.x,t.y=o*n.y+i*r.y},e}(),GA=Math.min,zA=Math.max,kd=new cn,Pd=new cn,Cd=new cn,Id=new cn,P1=new cn,C1=new cn,dr=function(){function e(t,n,r,i){r<0&&(t=t+r,r=-r),i<0&&(n=n+i,i=-i),this.x=t,this.y=n,this.width=r,this.height=i}return e.prototype.union=function(t){var n=GA(t.x,this.x),r=GA(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=zA(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=zA(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,i=t.height/n.height,o=pm();return mW(o,o,[-n.x,-n.y]),E5e(o,o,[r,i]),mW(o,o,[t.x,t.y]),o},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,d=!(op&&(p=R,vp&&(p=A,m=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];t.x=n.x*i+a,t.y=n.y*o+s,t.width=n.width*i,t.height=n.height*o,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}kd.x=Cd.x=n.x,kd.y=Id.y=n.y,Pd.x=Id.x=n.x+n.width,Pd.y=Cd.y=n.y+n.height,kd.transform(r),Id.transform(r),Pd.transform(r),Cd.transform(r),t.x=GA(kd.x,Pd.x,Cd.x,Id.x),t.y=GA(kd.y,Pd.y,Cd.y,Id.y);var l=zA(kd.x,Pd.x,Cd.x,Id.x),u=zA(kd.y,Pd.y,Cd.y,Id.y);t.width=l-t.x,t.height=u-t.y},e}(),SJ="silent";function X5e(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:W5e}}function W5e(){C5e(this.event)}var V5e=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Ac),I1=function(){function e(t,n){this.x=t,this.y=n}return e}(),D5e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],U5=new dr(0,0,0,0),wJ=function(e){St(t,e);function t(n,r,i,o,a){var s=e.call(this)||this;return s._hovered=new I1(0,0),s.storage=n,s.painter=r,s.painterRoot=o,s._pointerSize=a,i=i||new V5e,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new y5e(s),s}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(Pe(D5e,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,i=n.zrY,o=MJ(this,r,i),a=this._hovered,s=a.target;s&&!s.__zr&&(a=this.findHover(a.x,a.y),s=a.target);var l=this._hovered=o?new I1(r,i):this.findHover(r,i),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(a,"mouseout",n),this.dispatchToElement(l,"mousemove",n),u&&u!==s&&this.dispatchToElement(l,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new I1(0,0)},t.prototype.dispatch=function(n,r){var i=this[n];i&&i.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,i){n=n||{};var o=n.target;if(!(o&&o.silent)){for(var a="on"+r,s=X5e(r,n,i);o&&(o[a]&&(s.cancelBubble=!!o[a].call(o,s)),o.trigger(r,s),o=o.__hostTarget?o.__hostTarget:o.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(r,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[a]=="function"&&l[a].call(l,s),l.trigger&&l.trigger(r,s)}))}},t.prototype.findHover=function(n,r,i){var o=this.storage.getDisplayList(),a=new I1(n,r);if(yW(o,a,n,r,i),this._pointerSize&&!a.target){for(var s=[],l=this._pointerSize,u=l/2,c=new dr(n-u,r-u,l,l),f=o.length-1;f>=0;f--){var d=o[f];d!==i&&!d.ignore&&!d.ignoreCoarsePointer&&(!d.parent||!d.parent.ignoreCoarsePointer)&&(U5.copy(d.getBoundingRect()),d.transform&&U5.applyTransform(d.transform),U5.intersect(c)&&s.push(d))}if(s.length)for(var h=4,p=Math.PI/12,v=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(o,e,t)}});function U5e(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s||r.parent}return i?SJ:!0}return!1}function yW(e,t,n,r,i){for(var o=e.length-1;o>=0;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=U5e(a,n,r))&&(!t.topTarget&&(t.topTarget=a),s!==SJ)){t.target=a;break}}}function MJ(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var LJ=32,N1=7;function B5e(e){for(var t=0;e>=LJ;)t|=e&1,e>>=1;return e+t}function AW(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function Y5e(e,t,n){for(n--;t>>1,i(o,e[l])<0?s=l:a=l+1;var u=r-a;switch(u){case 3:e[a+3]=e[a+2];case 2:e[a+2]=e[a+1];case 1:e[a+1]=e[a];break;default:for(;u>0;)e[a+u]=e[a+u-1],u--}e[a]=o}}function B5(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])>0){for(s=r-i;l0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a>>1);o(e,t[n+c])>0?a=c+1:l=c}return l}function Y5(e,t,n,r,i,o){var a=0,s=0,l=1;if(o(e,t[n+i])<0){for(s=i+1;ls&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l=0;)a=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a>>1);o(e,t[n+c])<0?l=c:a=c+1}return l}function Z5e(e,t){var n=N1,r,i,o=0,a=[];r=[],i=[];function s(h,p){r[o]=h,i[o]=p,o+=1}function l(){for(;o>1;){var h=o-2;if(h>=1&&i[h-1]<=i[h]+i[h+1]||h>=2&&i[h-2]<=i[h]+i[h-1])i[h-1]i[h+1])break;c(h)}}function u(){for(;o>1;){var h=o-2;h>0&&i[h-1]=N1||L>=N1);if(w)break;x<0&&(x=0),x+=2}if(n=x,n<1&&(n=1),p===1){for(m=0;m=0;m--)e[S+m]=e[x+m];e[A]=a[R];return}for(var L=n;;){var w=0,M=0,_=!1;do if(t(a[R],e[y])<0){if(e[A--]=e[y--],w++,M=0,--p===0){_=!0;break}}else if(e[A--]=a[R--],M++,w=0,--g===1){_=!0;break}while((w|M)=0;m--)e[S+m]=e[x+m];if(p===0){_=!0;break}}if(e[A--]=a[R--],--g===1){_=!0;break}if(M=g-B5(e[y],a,0,g,g-1,t),M!==0){for(A-=M,R-=M,g-=M,S=A+1,x=R+1,m=0;m=N1||M>=N1);if(_)break;L<0&&(L=0),L+=2}if(n=L,n<1&&(n=1),g===1){for(A-=p,y-=p,S=A+1,x=y+1,m=p-1;m>=0;m--)e[S+m]=e[x+m];e[A]=a[R]}else{if(g===0)throw new Error;for(x=A-(g-1),m=0;ms&&(l=s),RW(e,n,n+l,n+o,t),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(i!==0);a.forceMergeRuns()}}var Jl=1,Lg=2,bp=4,bW=!1;function Z5(){bW||(bW=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function xW(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Q5e=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=xW}return e.prototype.traverse=function(t,n){for(var r=0;r0&&(c.__clipPaths=[]),isNaN(c.z)&&(Z5(),c.z=0),isNaN(c.z2)&&(Z5(),c.z2=0),isNaN(c.zlevel)&&(Z5(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,n,r);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,n,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),S6;S6=or.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var vm={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-vm.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?vm.bounceIn(e*2)*.5:vm.bounceOut(e*2-1)*.5+.5}},JA=Math.pow,Ef=Math.sqrt,Hx=1e-8,TJ=1e-4,SW=Ef(3),$A=1/3,$l=$v(),ps=$v(),av=$v();function Sf(e){return e>-Hx&&eHx||e<-Hx}function Qi(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function wW(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function Kx(e,t,n,r,i,o){var a=r+3*(t-n)-e,s=3*(n-t*2+e),l=3*(t-e),u=e-i,c=s*s-3*a*l,f=s*l-9*a*u,d=l*l-3*s*u,h=0;if(Sf(c)&&Sf(f))if(Sf(s))o[0]=0;else{var p=-l/s;p>=0&&p<=1&&(o[h++]=p)}else{var v=f*f-4*c*d;if(Sf(v)){var g=f/c,p=-s/a+g,m=-g/2;p>=0&&p<=1&&(o[h++]=p),m>=0&&m<=1&&(o[h++]=m)}else if(v>0){var y=Ef(v),R=c*s+1.5*a*(-f+y),A=c*s+1.5*a*(-f-y);R<0?R=-JA(-R,$A):R=JA(R,$A),A<0?A=-JA(-A,$A):A=JA(A,$A);var p=(-s-(R+A))/(3*a);p>=0&&p<=1&&(o[h++]=p)}else{var x=(2*c*s-3*a*f)/(2*Ef(c*c*c)),S=Math.acos(x)/3,L=Ef(c),w=Math.cos(S),p=(-s-2*L*w)/(3*a),m=(-s+L*(w+SW*Math.sin(S)))/(3*a),M=(-s+L*(w-SW*Math.sin(S)))/(3*a);p>=0&&p<=1&&(o[h++]=p),m>=0&&m<=1&&(o[h++]=m),M>=0&&M<=1&&(o[h++]=M)}}return h}function OJ(e,t,n,r,i){var o=6*n-12*t+6*e,a=9*t+3*r-3*e-9*n,s=3*t-3*e,l=0;if(Sf(a)){if(_J(o)){var u=-s/o;u>=0&&u<=1&&(i[l++]=u)}}else{var c=o*o-4*a*s;if(Sf(c))i[0]=-o/(2*a);else if(c>0){var f=Ef(c),u=(-o+f)/(2*a),d=(-o-f)/(2*a);u>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function Gx(e,t,n,r,i,o){var a=(t-e)*i+e,s=(n-t)*i+t,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,f=(c-u)*i+u;o[0]=e,o[1]=a,o[2]=u,o[3]=f,o[4]=f,o[5]=c,o[6]=l,o[7]=r}function H5e(e,t,n,r,i,o,a,s,l,u,c){var f,d=.005,h=1/0,p,v,g,m;$l[0]=l,$l[1]=u;for(var y=0;y<1;y+=.05)ps[0]=Qi(e,n,i,a,y),ps[1]=Qi(t,r,o,s,y),g=iv($l,ps),g=0&&g=0&&u<=1&&(i[l++]=u)}}else{var c=a*a-4*o*s;if(Sf(c)){var u=-a/(2*o);u>=0&&u<=1&&(i[l++]=u)}else if(c>0){var f=Ef(c),u=(-a+f)/(2*o),d=(-a-f)/(2*o);u>=0&&u<=1&&(i[l++]=u),d>=0&&d<=1&&(i[l++]=d)}}return l}function kJ(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function zx(e,t,n,r,i){var o=(t-e)*r+e,a=(n-t)*r+t,s=(a-o)*r+o;i[0]=e,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function z5e(e,t,n,r,i,o,a,s,l){var u,c=.005,f=1/0;$l[0]=a,$l[1]=s;for(var d=0;d<1;d+=.05){ps[0]=Jo(e,n,i,d),ps[1]=Jo(t,r,o,d);var h=iv($l,ps);h=0&&h=1?1:Kx(0,r,o,1,l,s)&&Qi(0,i,a,1,s[0])}}}var j5e=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ba,this.ondestroy=t.ondestroy||Ba,this.onrestart=t.onrestart||Ba,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,i=t-this._startTime-this._pausedTime,o=i/r;o<0&&(o=0),o=Math.min(o,1);var a=this.easingFunc,s=a?a(o):o;if(this.onframe(s),o===1)if(this.loop){var l=i%r;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=An(t)?t:vm[t]||Vk(t)},e}(),PJ=function(){function e(t){this.value=t}return e}(),q5e=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new PJ(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),cy=function(){function e(t){this._list=new q5e,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,i=this._map,o=null;if(i[t]==null){var a=r.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=r.head;r.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=n:s=new PJ(n),s.key=t,r.insertEntry(s),i[t]=s}return o},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),LW={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Xf(e){return e=Math.round(e),e<0?0:e>255?255:e}function w6(e){return e<0?0:e>1?1:e}function Q5(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Xf(parseFloat(t)/100*255):Xf(parseInt(t,10))}function gm(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?w6(parseFloat(t)/100):w6(parseFloat(t))}function H5(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function jA(e,t,n){return e+(t-e)*n}function ss(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function M6(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var CJ=new cy(20),qA=null;function Z0(e,t){qA&&M6(qA,t),qA=CJ.put(e,qA||t.slice())}function su(e,t){if(e){t=t||[];var n=CJ.get(e);if(n)return M6(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in LW)return M6(t,LW[r]),Z0(e,t),t;var i=r.length;if(r.charAt(0)==="#"){if(i===4||i===5){var o=parseInt(r.slice(1,4),16);if(!(o>=0&&o<=4095)){ss(t,0,0,0,1);return}return ss(t,(o&3840)>>4|(o&3840)>>8,o&240|(o&240)>>4,o&15|(o&15)<<4,i===5?parseInt(r.slice(4),16)/15:1),Z0(e,t),t}else if(i===7||i===9){var o=parseInt(r.slice(1,7),16);if(!(o>=0&&o<=16777215)){ss(t,0,0,0,1);return}return ss(t,(o&16711680)>>16,(o&65280)>>8,o&255,i===9?parseInt(r.slice(7),16)/255:1),Z0(e,t),t}return}var a=r.indexOf("("),s=r.indexOf(")");if(a!==-1&&s+1===i){var l=r.substr(0,a),u=r.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ss(t,+u[0],+u[1],+u[2],1):ss(t,0,0,0,1);c=gm(u.pop());case"rgb":if(u.length>=3)return ss(t,Q5(u[0]),Q5(u[1]),Q5(u[2]),u.length===3?c:gm(u[3])),Z0(e,t),t;ss(t,0,0,0,1);return;case"hsla":if(u.length!==4){ss(t,0,0,0,1);return}return u[3]=gm(u[3]),TW(u,t),Z0(e,t),t;case"hsl":if(u.length!==3){ss(t,0,0,0,1);return}return TW(u,t),Z0(e,t),t;default:return}}ss(t,0,0,0,1)}}function TW(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=gm(e[1]),i=gm(e[2]),o=i<=.5?i*(r+1):i+r-i*r,a=i*2-o;return t=t||[],ss(t,Xf(H5(a,o,n+1/3)*255),Xf(H5(a,o,n)*255),Xf(H5(a,o,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function _W(e,t){var n=su(e);if(n){for(var r=0;r<3;r++)n[r]=n[r]*(1-t)|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return M3(n,n.length===4?"rgba":"rgb")}}function eLe(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),i=Math.floor(r),o=Math.ceil(r),a=su(t[i]),s=su(t[o]),l=r-i,u=M3([Xf(jA(a[0],s[0],l)),Xf(jA(a[1],s[1],l)),Xf(jA(a[2],s[2],l)),w6(jA(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:i,rightIndex:o,value:r}:u}}function M3(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function Jx(e,t){var n=su(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var OW=new cy(100);function L6(e){if(Qt(e)){var t=OW.get(e);return t||(t=_W(e,-.1),OW.put(e,t)),t}else if(Nk(e)){var n=pt({},e);return n.colorStops=_t(e.colorStops,function(r){return{offset:r.offset,color:_W(r.color,-.1)}}),n}return e}var $x=Math.round;function c2(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=su(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t??1}}var kW=1e-4;function wf(e){return e-kW}function eR(e){return $x(e*1e3)/1e3}function T6(e){return $x(e*1e4)/1e4}function tLe(e){return"matrix("+eR(e[0])+","+eR(e[1])+","+eR(e[2])+","+eR(e[3])+","+T6(e[4])+","+T6(e[5])+")"}var nLe={left:"start",right:"end",center:"middle",middle:"middle"};function rLe(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function iLe(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function oLe(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function IJ(e){return e&&!!e.image}function aLe(e){return e&&!!e.svgElement}function Dk(e){return IJ(e)||aLe(e)}function NJ(e){return e.type==="linear"}function FJ(e){return e.type==="radial"}function EJ(e){return e&&(e.type==="linear"||e.type==="radial")}function L3(e){return"url(#"+e+")"}function XJ(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function WJ(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*Rb,i=sn(e.scaleX,1),o=sn(e.scaleY,1),a=e.skewX||0,s=e.skewY||0,l=[];return(t||n)&&l.push("translate("+t+"px,"+n+"px)"),r&&l.push("rotate("+r+")"),(i!==1||o!==1)&&l.push("scale("+i+","+o+")"),(a||s)&&l.push("skew("+$x(a*Rb)+"deg, "+$x(s*Rb)+"deg)"),l.join(" ")}var sLe=function(){return or.hasGlobalWindow&&An(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),_6=Array.prototype.slice;function Hu(e,t,n){return(t-e)*n+e}function K5(e,t,n,r){for(var i=t.length,o=0;or?t:e,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;sa;if(s)r.length=a;else for(var l=o;l=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var i=this.keyframes,o=i.length,a=!1,s=CW,l=n;if(fa(n)){var u=fLe(n);s=u,(u===1&&!Ar(n[0])||u===2&&!Ar(n[0][0]))&&(a=!0)}else if(Ar(n)&&!Qx(n))s=nR;else if(Qt(n))if(!isNaN(+n))s=nR;else{var c=su(n);c&&(l=c,s=Tg)}else if(Nk(n)){var f=pt({},l);f.colorStops=_t(n.colorStops,function(h){return{offset:h.offset,color:su(h.color)}}),NJ(n)?s=O6:FJ(n)&&(s=k6),l=f}o===0?this.valType=s:(s!==this.valType||s===CW)&&(a=!0),this.discrete=this.discrete||a;var d={time:t,value:l,rawValue:n,percent:0};return r&&(d.easing=r,d.easingFunc=An(r)?r:vm[r]||Vk(r)),i.push(d),d},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(v,g){return v.time-g.time});for(var i=this.valType,o=r.length,a=r[o-1],s=this.discrete,l=rR(i),u=IW(i),c=0;c=0&&!(a[c].percent<=n);c--);c=d(c,s-2)}else{for(c=f;cn);c++);c=d(c-1,s-2)}p=a[c+1],h=a[c]}if(h&&p){this._lastFr=c,this._lastFrP=n;var g=p.percent-h.percent,m=g===0?1:d((n-h.percent)/g,1);p.easingFunc&&(m=p.easingFunc(m));var y=r?this._additiveValue:u?F1:t[l];if((rR(o)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?h.rawValue:p.rawValue;else if(rR(o))o===wb?K5(y,h[i],p[i],m):lLe(y,h[i],p[i],m);else if(IW(o)){var R=h[i],A=p[i],x=o===O6;t[l]={type:x?"linear":"radial",x:Hu(R.x,A.x,m),y:Hu(R.y,A.y,m),colorStops:_t(R.colorStops,function(L,w){var M=A.colorStops[w];return{offset:Hu(L.offset,M.offset,m),color:Sb(K5([],L.color,M.color,m))}}),global:A.global},x?(t[l].x2=Hu(R.x2,A.x2,m),t[l].y2=Hu(R.y2,A.y2,m)):t[l].r=Hu(R.r,A.r,m)}else if(u)K5(y,h[i],p[i],m),r||(t[l]=Sb(y));else{var S=Hu(h[i],p[i],m);r?this._additiveValue=S:t[l]=S}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,i=this._additiveValue;n===nR?t[r]=t[r]+i:n===Tg?(su(t[r],F1),tR(F1,F1,i,1),t[r]=Sb(F1)):n===wb?tR(t[r],t[r],i,1):n===VJ&&PW(t[r],t[r],i,1)},e}(),Uk=function(){function e(t,n,r,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&i){mJ("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,Dn(n),r)},e.prototype.whenWithKeys=function(t,n,r,i){for(var o=this._tracks,a=0;a0&&l.addKeyframe(0,xb(u),i),this._trackKeys.push(s)}l.addKeyframe(t,xb(n[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r0)){this._started=1;for(var n=this,r=[],i=this._maxTime||0,o=0;o1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},e}();function Cp(){return new Date().getTime()}var hLe=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,i=n.next;r?r.next=i:this._head=i,i?i.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=Cp()-this._pausedTime,i=r-this._time,o=this._head;o;){var a=o.next,s=o.step(r,i);s&&(o.ondestroy(),this.removeClip(o)),o=a}this._time=r,n||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(S6(r),!n._paused&&n.update())}S6(r)},t.prototype.start=function(){this._running||(this._time=Cp(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Cp(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Cp()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var i=new Uk(n,r.loop);return this.addAnimator(i),i},t}(Ac),pLe=300,G5=or.domSupported,z5=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=_t(e,function(i){var o=i.replace("mouse","pointer");return n.hasOwnProperty(o)?o:i});return{mouse:e,touch:t,pointer:r}}(),NW={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},FW=!1;function P6(e){var t=e.pointerType;return t==="pen"||t==="touch"}function vLe(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function J5(e){e&&(e.zrByTouch=!0)}function gLe(e,t){return $s(e.dom,new mLe(e,t),!0)}function DJ(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var mLe=function(){function e(t,n){this.stopPropagation=Ba,this.stopImmediatePropagation=Ba,this.preventDefault=Ba,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),js={mousedown:function(e){e=$s(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=$s(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=$s(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=$s(this.dom,e);var t=e.toElement||e.relatedTarget;DJ(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){FW=!0,e=$s(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){FW||(e=$s(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=$s(this.dom,e),J5(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),js.mousemove.call(this,e),js.mousedown.call(this,e)},touchmove:function(e){e=$s(this.dom,e),J5(e),this.handler.processGesture(e,"change"),js.mousemove.call(this,e)},touchend:function(e){e=$s(this.dom,e),J5(e),this.handler.processGesture(e,"end"),js.mouseup.call(this,e),+new Date-+this.__lastTouchMomentVW||e<-VW}var Fd=[],Q0=[],j5=pm(),q5=Math.abs,Bk=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Nd(this.rotation)||Nd(this.x)||Nd(this.y)||Nd(this.scaleX-1)||Nd(this.scaleY-1)||Nd(this.skewX)||Nd(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(WW(r),this.invTransform=null);return}r=r||pm(),n?this.getLocalTransform(r):WW(r),t&&(n?ov(r,t,r):F5e(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(Fd);var r=Fd[0]<0?-1:1,i=Fd[1]<0?-1:1,o=((Fd[0]-r)*n+r)/Fd[0]||0,a=((Fd[1]-i)*n+i)/Fd[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||pm(),Wk(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),o=Math.PI/2+i-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(o),n=Math.sqrt(n),this.skewX=o,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||pm(),ov(Q0,t.invTransform,n),n=Q0);var r=this.originX,i=this.originY;(r||i)&&(j5[4]=r,j5[5]=i,ov(Q0,n,j5),Q0[4]-=r,Q0[5]-=i,n=Q0),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],i=this.invTransform;return i&&Ms(r,r,i),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],i=this.transform;return i&&Ms(r,r,i),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&q5(t[0]-1)>1e-10&&q5(t[3]-1)>1e-10?Math.sqrt(q5(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){BJ(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(r||i||s||l){var p=r+s,v=i+l;n[4]=-p*o-d*v*a,n[5]=-v*a-h*p*o}else n[4]=n[5]=0;return n[0]=o,n[3]=a,n[1]=h*o,n[2]=d*a,u&&xJ(n,n,u),n[4]+=r+c,n[5]+=i+f,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),f2=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function BJ(e,t){for(var n=0;n=0?parseFloat(e)/100*t:parseFloat(e):e}function jx(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=Jf(r[0],n.width),u+=Jf(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+a,u+=s,f="middle";break;case"top":l+=a/2,u-=i,c="center",f="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=a-i,u+=s,c="right",f="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,f="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var eL="__zr_normal__",tL=f2.concat(["ignore"]),xLe=zf(f2,function(e,t){return e[t]=!0,e},{ignore:!1}),H0={},SLe=new dr(0,0,0,0),_3=function(){function e(t){this.id=gJ(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,o=n.innerTransformable,a=void 0,s=void 0,l=!1;o.parent=i?this:null;var u=!1;if(o.copyTransform(n),r.position!=null){var c=SLe;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(H0,r,c):jx(H0,r,c),o.x=H0.x,o.y=H0.y,a=H0.align,s=H0.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=Jf(f[0],c.width),h=Jf(f[1],c.height)),u=!0,o.originX=-o.x+d+(i?0:c.x),o.originY=-o.y+h+(i?0:c.y)}}r.rotation!=null&&(o.rotation=r.rotation);var p=r.offset;p&&(o.x+=p[0],o.y+=p[1],u||(o.originX=-p[0],o.originY=-p[1]));var v=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,R=void 0;v&&this.canBeInsideText()?(m=r.insideFill,y=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),R=!0)):(m=r.outsideFill,y=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),R=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||R!==g.autoStroke||a!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=R,g.align=a,g.verticalAlign=s,n.setDefaultTextStyle(g)),n.__dirty|=Jl,l&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?F6:N6},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&su(n);r||(r=[255,255,255,1]);for(var i=r[3],o=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*i+(o?0:255)*(1-i);return r[3]=1,M3(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},pt(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(rn(t))for(var r=t,i=Dn(r),o=0;o0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(eL,!1,t)},e.prototype.useState=function(t,n,r,i){var o=t===eL,a=this.hasState();if(!(!a&&o)){var s=this.currentStates,l=this.stateTransition;if(!(Sr(s,t)>=0&&(n||s.length===1))){var u;if(this.stateProxy&&!o&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!o){mJ("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,n,r,c),d&&d.useState(t,n,r,c),o?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Jl),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,a=t.length,s=a===o.length;if(s){for(var l=0;l0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,n,d),g&&g.useStates(t,n,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Jl)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var i=this.currentStates.slice(),o=Sr(i,t),a=Sr(i,n)>=0;o>=0?a?i.splice(o,1):i[o]=n:r&&!a&&i.push(n),this.useStates(i)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,i=0;i=0&&o.splice(a,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,i=r.length,o=[],a=0;a0&&n.during&&o[0].during(function(p,v){n.during(v)});for(var d=0;d0||i.force&&!a.length){var w=void 0,M=void 0,_=void 0;if(s){M={},d&&(w={});for(var A=0;A=0&&(i.splice(o,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var i=Sr(this._children,n);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(n,r){var i=this._children,o=i[r];if(n&&n!==this&&n.parent!==this&&n!==o){i[r]=n,o.parent=null;var a=this.__zr;a&&o.removeSelfFromZr(a),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,i=this._children,o=Sr(i,n);return o<0?this:(i.splice(o,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,i=0;i=0?parseFloat(e)/100*t:parseFloat(e):e}function jx(e,t,n){var r=t.position||"inside",i=t.distance!=null?t.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",f="top";if(r instanceof Array)l+=Jf(r[0],n.width),u+=Jf(r[1],n.height),c=null,f=null;else switch(r){case"left":l-=i,u+=s,c="right",f="middle";break;case"right":l+=i+a,u+=s,f="middle";break;case"top":l+=a/2,u-=i,c="center",f="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=i,u+=s,f="middle";break;case"insideRight":l+=a-i,u+=s,c="right",f="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",f="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,f="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var eL="__zr_normal__",tL=f2.concat(["ignore"]),xLe=zf(f2,function(e,t){return e[t]=!0,e},{ignore:!1}),H0={},SLe=new dr(0,0,0,0),_3=function(){function e(t){this.id=gJ(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,i=r.local,o=n.innerTransformable,a=void 0,s=void 0,l=!1;o.parent=i?this:null;var u=!1;if(o.copyTransform(n),r.position!=null){var c=SLe;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(H0,r,c):jx(H0,r,c),o.x=H0.x,o.y=H0.y,a=H0.align,s=H0.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=Jf(f[0],c.width),h=Jf(f[1],c.height)),u=!0,o.originX=-o.x+d+(i?0:c.x),o.originY=-o.y+h+(i?0:c.y)}}r.rotation!=null&&(o.rotation=r.rotation);var p=r.offset;p&&(o.x+=p[0],o.y+=p[1],u||(o.originX=-p[0],o.originY=-p[1]));var v=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,R=void 0;v&&this.canBeInsideText()?(m=r.insideFill,y=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),R=!0)):(m=r.outsideFill,y=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),R=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||R!==g.autoStroke||a!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=R,g.align=a,g.verticalAlign=s,n.setDefaultTextStyle(g)),n.__dirty|=Jl,l&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?F6:N6},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&su(n);r||(r=[255,255,255,1]);for(var i=r[3],o=this.__zr.isDarkMode(),a=0;a<3;a++)r[a]=r[a]*i+(o?0:255)*(1-i);return r[3]=1,M3(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},pt(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(rn(t))for(var r=t,i=Dn(r),o=0;o0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(eL,!1,t)},e.prototype.useState=function(t,n,r,i){var o=t===eL,a=this.hasState();if(!(!a&&o)){var s=this.currentStates,l=this.stateTransition;if(!(Sr(s,t)>=0&&(n||s.length===1))){var u;if(this.stateProxy&&!o&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!o){mJ("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,n,r,c),d&&d.useState(t,n,r,c),o?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Jl),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var i=[],o=this.currentStates,a=t.length,s=a===o.length;if(s){for(var l=0;l0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,n,d),g&&g.useStates(t,n,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Jl)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var i=this.currentStates.slice(),o=Sr(i,t),a=Sr(i,n)>=0;o>=0?a?i.splice(o,1):i[o]=n:r&&!a&&i.push(n),this.useStates(i)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,i=0;i=0&&o.splice(a,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,i=r.length,o=[],a=0;a0&&n.during&&o[0].during(function(p,v){n.during(v)});for(var d=0;d0||i.force&&!a.length){var w=void 0,M=void 0,_=void 0;if(s){M={},d&&(w={});for(var A=0;A=0&&(i.splice(o,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var i=Sr(this._children,n);return i>=0&&this.replaceAt(r,i),this},t.prototype.replaceAt=function(n,r){var i=this._children,o=i[r];if(n&&n!==this&&n.parent!==this&&n!==o){i[r]=n,o.parent=null;var a=this.__zr;a&&o.removeSelfFromZr(a),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,i=this._children,o=Sr(i,n);return o<0?this:(i.splice(o,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n0){if(e<=i)return a;if(e>=o)return s}else{if(e>=i)return a;if(e<=o)return s}else{if(e===i)return a;if(e===o)return s}return(e-i)/l*u+a}function mr(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Qt(e)?NLe(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function ui(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),HJ),e=(+e).toFixed(t),n?e:+e}function tc(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return FLe(e)}function FLe(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,i=n>0?n:t.length,o=t.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function ELe(e,t){var n=Math.log,r=Math.LN10,i=Math.floor(n(e[1]-e[0])/r),o=Math.round(n(Math.abs(t[1]-t[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function XLe(e,t){var n=zf(e,function(h,p){return h+(isNaN(p)?0:p)},0);if(n===0)return[];for(var r=Math.pow(10,t),i=_t(e,function(h){return(isNaN(h)?0:h)/n*r*100}),o=r*100,a=_t(i,function(h){return Math.floor(h)}),s=zf(a,function(h,p){return h+p},0),l=_t(i,function(h,p){return h-a[p]});su&&(u=l[f],c=f);++a[c],l[c]=0,++s}return _t(a,function(h){return h/r})}function WLe(e,t){var n=Math.max(tc(e),tc(t)),r=e+t;return n>HJ?r:ui(r,n)}function KJ(e){var t=Math.PI*2;return(e%t+t)%t}function qx(e){return e>-YW&&e=10&&t++,t}function GJ(e,t){var n=Yk(e),r=Math.pow(10,n),i=e/r,o;return i<1.5?o=1:i<2.5?o=2:i<4?o=3:i<7?o=5:o=10,e=o*r,n>=-20?+e.toFixed(n<0?-n:0):e}function ULe(e){var t=parseFloat(e);return t==e&&(t!==0||!Qt(e)||e.indexOf("x")<=0)?t:NaN}function BLe(e){return!isNaN(ULe(e))}function YLe(){return Math.round(Math.random()*9)}function zJ(e,t){return t===0?e:zJ(t,e%t)}function ZW(e,t){return e==null?t:t==null?e:e*t/zJ(e,t)}function Ia(e){throw new Error(e)}function QW(e,t,n){return(t-e)*n+e}var JJ="series\0",ZLe="\0_ec_\0";function Co(e){return e instanceof Array?e:e==null?[]:[e]}function W6(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r=0||o&&Sr(o,l)<0)){var u=r.getShallow(l,t);u!=null&&(a[e[s][0]]=u)}}return a}}var d8e=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],h8e=h2(d8e),p8e=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return h8e(this,t,n)},e}(),V6=new cy(50);function v8e(e){if(typeof e=="string"){var t=V6.get(e);return t&&t.image}else return e}function Hk(e,t,n,r,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var o=V6.get(e),a={hostEl:n,cb:r,cbPayload:i};return o?(t=o.image,!P3(t)&&o.pending.push(a)):(t=ly.loadImage(e,KW,KW),t.__zrImageSrc=e,V6.put(e,t.__cachedImgObj={image:t,pending:[a]})),t}else return e;else return t}function KW(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=a;l++)s-=a;var u=Ya(n,t);return u>s&&(n="",u=0),s=e-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=e,i}function r$(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=Ya(e,r);if(o<=n)return e;for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=a===0?m8e(e,i,t.ascCharWidth,t.cnCharWidth):o>0?Math.floor(e.length*i/o):0;e=e.substr(0,s),o=Ya(e,r)}return e===""&&(e=t.placeholder),e}function m8e(e,t,n,r){for(var i=0,o=0,a=e.length;oh&&u){var p=Math.floor(h/s);f=f.slice(0,p)}if(e&&o&&c!=null)for(var v=n$(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;gs&&aL(n,e.substring(s,u),t,a),aL(n,l[2],t,a,l[1]),s=oL.lastIndex}si){x>0?(y.tokens=y.tokens.slice(0,x),g(y,A,R),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}var k=L.width,F=k==null||k==="auto";if(typeof k=="string"&&k.charAt(k.length-1)==="%")S.percentWidth=k,c.push(S),S.contentWidth=Ya(S.text,_);else{if(F){var C=L.backgroundColor,N=C&&C.image;N&&(N=v8e(N),P3(N)&&(S.width=Math.max(S.width,N.width*P/N.height)))}var I=p&&r!=null?r-A:null;I!=null&&I0&&p+r.accumWidth>r.width&&(c=t.split(` +`):[];var d=f.length*s,h=sn(t.height,d);if(d>h&&u){var p=Math.floor(h/s);f=f.slice(0,p)}if(e&&o&&c!=null)for(var v=n$(c,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;gs&&aL(n,e.substring(s,u),t,a),aL(n,l[2],t,a,l[1]),s=oL.lastIndex}si){x>0?(y.tokens=y.tokens.slice(0,x),g(y,A,R),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}var P=L.width,N=P==null||P==="auto";if(typeof P=="string"&&P.charAt(P.length-1)==="%")S.percentWidth=P,c.push(S),S.contentWidth=Ya(S.text,_);else{if(N){var C=L.backgroundColor,F=C&&C.image;F&&(F=v8e(F),P3(F)&&(S.width=Math.max(S.width,F.width*k/F.height)))}var I=p&&r!=null?r-A:null;I!=null&&I0&&p+r.accumWidth>r.width&&(c=t.split(` `),u=!0),r.accumWidth=p}else{var v=i$(t,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=v.accumWidth+h,f=v.linesWidths,c=v.lines}}else c=t.split(` `);for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var S8e=zf(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function w8e(e){return x8e(e)?!!S8e[e]:!0}function i$(e,t,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,f=0;fn:i+c+h>n){c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=h)):p?(o.push(l),a.push(u),l=d,u=h):(o.push(d),a.push(h));continue}c+=h,p?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!o.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),o.length===1&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var D6="__zr_style_"+Math.round(Math.random()*10),Fh={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},C3={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Fh[D6]=!0;var zW=["z","z2","invisible"],M8e=["invisible"],L8e=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Dn(n),i=0;i1e-4){s[0]=e-n,s[1]=t-r,l[0]=e+n,l[1]=t+r;return}if(iR[0]=cL(i)*n+e,iR[1]=uL(i)*r+t,oR[0]=cL(o)*n+e,oR[1]=uL(o)*r+t,u(s,iR,oR),c(l,iR,oR),i=i%Xd,i<0&&(i=i+Xd),o=o%Xd,o<0&&(o=o+Xd),i>o&&!a?o+=Xd:ii&&(aR[0]=cL(h)*n+e,aR[1]=uL(h)*r+t,u(s,aR,s),c(l,aR,l))}var jn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Wd=[],Vd=[],kl=[],Ec=[],Pl=[],Cl=[],fL=Math.min,dL=Math.max,Dd=Math.cos,Ud=Math.sin,Du=Math.abs,U6=Math.PI,nf=U6*2,hL=typeof Float32Array<"u",E1=[];function pL(e){var t=Math.round(e/U6*1e8)/1e8;return t%2*U6}function o$(e,t){var n=pL(e[0]);n<0&&(n+=nf);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=nf?i=n+nf:t&&n-i>=nf?i=n-nf:!t&&n>i?i=n+(nf-pL(n-i)):t&&n0&&(this._ux=Du(r/XW/t)||0,this._uy=Du(r/XW/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(jn.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=Du(t-this._xi),i=Du(n-this._yi),o=r>this._ux||i>this._uy;if(this.addData(jn.L,t,n),this._ctx&&o&&this._ctx.lineTo(t,n),o)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var a=r*r+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){return this._drawPendingPt(),this.addData(jn.C,t,n,r,i,o,a),this._ctx&&this._ctx.bezierCurveTo(t,n,r,i,o,a),this._xi=o,this._yi=a,this},e.prototype.quadraticCurveTo=function(t,n,r,i){return this._drawPendingPt(),this.addData(jn.Q,t,n,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,n,r,i,o,a){this._drawPendingPt(),E1[0]=i,E1[1]=o,o$(E1,a),i=E1[0],o=E1[1];var s=o-i;return this.addData(jn.A,t,n,r,r,i,s,0,a?0:1),this._ctx&&this._ctx.arc(t,n,r,i,o,a),this._xi=Dd(o)*r+t,this._yi=Ud(o)*r+n,this},e.prototype.arcTo=function(t,n,r,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,i,o),this},e.prototype.rect=function(t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,i),this.addData(jn.R,t,n,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(jn.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&hL&&(this.data=new Float32Array(n));for(var r=0;rc.length&&(this._expandData(),c=this.data);for(var f=0;f0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){kl[0]=kl[1]=Pl[0]=Pl[1]=Number.MAX_VALUE,Ec[0]=Ec[1]=Cl[0]=Cl[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,i=0,o=0,a;for(a=0;ar||Du(R)>i||d===n-1)&&(v=Math.sqrt(y*y+R*R),o=g,a=m);break}case jn.C:{var A=t[d++],x=t[d++],g=t[d++],m=t[d++],S=t[d++],L=t[d++];v=K5e(o,a,A,x,g,m,S,L,10),o=S,a=L;break}case jn.Q:{var A=t[d++],x=t[d++],g=t[d++],m=t[d++];v=J5e(o,a,A,x,g,m,10),o=g,a=m;break}case jn.A:var w=t[d++],M=t[d++],_=t[d++],P=t[d++],k=t[d++],F=t[d++],C=F+k;d+=1,p&&(s=Dd(k)*_+w,l=Ud(k)*P+M),v=dL(_,P)*fL(nf,Math.abs(F)),o=Dd(C)*_+w,a=Ud(C)*P+M;break;case jn.R:{s=o=t[d++],l=a=t[d++];var N=t[d++],I=t[d++];v=N*2+I*2;break}case jn.Z:{var y=s-o,R=l-a;v=Math.sqrt(y*y+R*R),o=s,a=l;break}}v>=0&&(u[f++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,i=this._ux,o=this._uy,a=this._len,s,l,u,c,f,d,h=n<1,p,v,g=0,m=0,y,R=0,A,x;if(!(h&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,v=this._pathLen,y=n*v,!y)))e:for(var S=0;S0&&(t.lineTo(A,x),R=0),L){case jn.M:s=u=r[S++],l=c=r[S++],t.moveTo(u,c);break;case jn.L:{f=r[S++],d=r[S++];var M=Du(f-u),_=Du(d-c);if(M>i||_>o){if(h){var P=p[m++];if(g+P>y){var k=(y-g)/P;t.lineTo(u*(1-k)+f*k,c*(1-k)+d*k);break e}g+=P}t.lineTo(f,d),u=f,c=d,R=0}else{var F=M*M+_*_;F>R&&(A=f,x=d,R=F)}break}case jn.C:{var C=r[S++],N=r[S++],I=r[S++],W=r[S++],D=r[S++],Y=r[S++];if(h){var P=p[m++];if(g+P>y){var k=(y-g)/P;Gx(u,C,I,D,k,Wd),Gx(c,N,W,Y,k,Vd),t.bezierCurveTo(Wd[1],Vd[1],Wd[2],Vd[2],Wd[3],Vd[3]);break e}g+=P}t.bezierCurveTo(C,N,I,W,D,Y),u=D,c=Y;break}case jn.Q:{var C=r[S++],N=r[S++],I=r[S++],W=r[S++];if(h){var P=p[m++];if(g+P>y){var k=(y-g)/P;zx(u,C,I,k,Wd),zx(c,N,W,k,Vd),t.quadraticCurveTo(Wd[1],Vd[1],Wd[2],Vd[2]);break e}g+=P}t.quadraticCurveTo(C,N,I,W),u=I,c=W;break}case jn.A:var re=r[S++],B=r[S++],Z=r[S++],Q=r[S++],G=r[S++],ee=r[S++],$=r[S++],de=!r[S++],K=Z>Q?Z:Q,Ae=Du(Z-Q)>.001,ce=G+ee,fe=!1;if(h){var P=p[m++];g+P>y&&(ce=G+ee*(y-g)/P,fe=!0),g+=P}if(Ae&&t.ellipse?t.ellipse(re,B,Z,Q,$,G,ce,de):t.arc(re,B,K,G,ce,de),fe)break e;w&&(s=Dd(G)*Z+re,l=Ud(G)*Q+B),u=Dd(ce)*Z+re,c=Ud(ce)*Q+B;break;case jn.R:s=u=r[S],l=c=r[S+1],f=r[S++],d=r[S++];var le=r[S++],j=r[S++];if(h){var P=p[m++];if(g+P>y){var X=y-g;t.moveTo(f,d),t.lineTo(f+fL(X,le),d),X-=le,X>0&&t.lineTo(f+le,d+fL(X,j)),X-=j,X>0&&t.lineTo(f+dL(le-X,0),d+j),X-=le,X>0&&t.lineTo(f,d+dL(j-X,0));break e}g+=P}t.rect(f,d,le,j);break;case jn.Z:if(h){var P=p[m++];if(g+P>y){var k=(y-g)/P;t.lineTo(u*(1-k)+s*k,c*(1-k)+l*k);break e}g+=P}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=jn,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function K0(e,t,n,r,i,o,a){if(i===0)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||ae+s&&o>n+s||ot+f&&c>r+f&&c>o+f&&c>s+f||ce+f&&u>n+f&&u>i+f&&u>a+f||ut+u&&l>r+u&&l>o+u||le+u&&s>n+u&&s>i+u||sn||c+ui&&(i+=X1);var d=Math.atan2(l,s);return d<0&&(d+=X1),d>=r&&d<=i||d+X1>=r&&d+X1<=i}function Bd(e,t,n,r,i,o){if(o>t&&o>r||oi?s:0}var Xc=jf.CMD,Yd=Math.PI*2,N8e=1e-4;function F8e(e,t){return Math.abs(e-t)t&&u>r&&u>o&&u>s||u1&&E8e(),h=Qi(t,r,o,s,fs[0]),d>1&&(p=Qi(t,r,o,s,fs[1]))),d===2?gt&&s>r&&s>o||s=0&&u<=1){for(var c=0,f=Jo(t,r,o,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);To[0]=-l,To[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=Yd-1e-4){r=0,i=Yd;var c=o?1:-1;return a>=To[0]+e&&a<=To[1]+e?c:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=Yd,i+=Yd);for(var d=0,h=0;h<2;h++){var p=To[h];if(p+e>a){var v=Math.atan2(s,p),c=o?1:-1;v<0&&(v=Yd+v),(v>=r&&v<=i||v+Yd>=r&&v+Yd<=i)&&(v>Math.PI/2&&v1&&(n||(s+=Bd(l,u,c,f,r,i))),g&&(l=o[p],u=o[p+1],c=l,f=u),v){case Xc.M:c=o[p++],f=o[p++],l=c,u=f;break;case Xc.L:if(n){if(K0(l,u,o[p],o[p+1],t,r,i))return!0}else s+=Bd(l,u,o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.C:if(n){if(P8e(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],t,r,i))return!0}else s+=X8e(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.Q:if(n){if(C8e(l,u,o[p++],o[p++],o[p],o[p+1],t,r,i))return!0}else s+=W8e(l,u,o[p++],o[p++],o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.A:var m=o[p++],y=o[p++],R=o[p++],A=o[p++],x=o[p++],S=o[p++];p+=1;var L=!!(1-o[p++]);d=Math.cos(x)*R+m,h=Math.sin(x)*A+y,g?(c=d,f=h):s+=Bd(l,u,d,h,r,i);var w=(r-m)*A/R+m;if(n){if(I8e(m,y,A,x,x+S,L,t,w,i))return!0}else s+=V8e(m,y,A,x,x+S,L,w,i);l=Math.cos(x+S)*R+m,u=Math.sin(x+S)*A+y;break;case Xc.R:c=l=o[p++],f=u=o[p++];var M=o[p++],_=o[p++];if(d=c+M,h=f+_,n){if(K0(c,f,d,f,t,r,i)||K0(d,f,d,h,t,r,i)||K0(d,h,c,h,t,r,i)||K0(c,h,c,f,t,r,i))return!0}else s+=Bd(d,f,d,h,r,i),s+=Bd(c,h,c,f,r,i);break;case Xc.Z:if(n){if(K0(l,u,c,f,t,r,i))return!0}else s+=Bd(l,u,c,f,r,i);l=c,u=f;break}}return!n&&!F8e(u,f)&&(s+=Bd(l,u,c,f,r,i)||0),s!==0}function D8e(e,t,n){return a$(e,0,!1,t,n)}function U8e(e,t,n,r){return a$(e,t,!0,n,r)}var eS=En({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Fh),B8e={style:En({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},C3.style)},vL=f2.concat(["invisible","culling","z","z2","zlevel","parent"]),Jn=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){n.buildPath(l,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?N6:r>.2?bLe:F6}else if(n)return F6}return N6},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(Qt(r)){var i=this.__zr,o=!!(i&&i.isDarkMode()),a=Jx(n,0)0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,i=!n;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var a=this.path;(o||this.__dirty&bp)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),n=a.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||i){s.copy(n);var l=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return n},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect(),a=this.style;if(n=i[0],r=i[1],o.contain(n,r)){var s=this.path;if(this.hasStroke()){var l=a.lineWidth,u=a.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),U8e(s,l/u,n,r)))return!0}if(this.hasFill())return D8e(s,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=bp,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var i=this.shape;return i||(i=this.shape={}),typeof n=="string"?i[n]=r:pt(i,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&bp)},t.prototype.createStyle=function(n){return w3(eS,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=pt({},this.shape))},t.prototype._applyStateObj=function(n,r,i,o,a,s){e.prototype._applyStateObj.call(this,n,r,i,o,a,s);var l=!(r&&o),u;if(r&&r.shape?a?o?u=r.shape:(u=pt({},i.shape),pt(u,r.shape)):(u=pt({},o?this.shape:i.shape),pt(u,r.shape)):l&&(u=i.shape),u)if(a){this.shape=pt({},this.shape);for(var c={},f=Dn(u),d=0;d0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return w3(Y8e,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var i=YJ(r,n.font,n.textAlign,n.textBaseline);if(i.x+=n.x||0,i.y+=n.y||0,this.hasStroke()){var o=n.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(dy);p2.prototype.type="tspan";var Z8e=En({x:0,y:0},Fh),Q8e={style:En({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},C3.style)};function H8e(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Al=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return w3(Z8e,n)},t.prototype._getSize=function(n){var r=this.style,i=r[n];if(i!=null)return i;var o=H8e(r.image)?r.image:this.__image;if(!o)return 0;var a=n==="width"?"height":"width",s=r[a];return s==null?o[n]:o[n]/o[a]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Q8e},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new dr(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(dy);Al.prototype.type="image";function K8e(e,t){var n=t.x,r=t.y,i=t.width,o=t.height,a=t.r,s,l,u,c;i<0&&(n=n+i,i=-i),o<0&&(r=r+o,o=-o),typeof a=="number"?s=l=u=c=a:a instanceof Array?a.length===1?s=l=u=c=a[0]:a.length===2?(s=u=a[0],l=c=a[1]):a.length===3?(s=a[0],l=c=a[1],u=a[2]):(s=a[0],l=a[1],u=a[2],c=a[3]):s=l=u=c=0;var f;s+l>i&&(f=s+l,s*=i/f,l*=i/f),u+c>i&&(f=u+c,u*=i/f,c*=i/f),l+u>o&&(f=l+u,l*=o/f,u*=o/f),s+c>o&&(f=s+c,s*=o/f,c*=o/f),e.moveTo(n+s,r),e.lineTo(n+i-l,r),l!==0&&e.arc(n+i-l,r+l,l,-Math.PI/2,0),e.lineTo(n+i,r+o-u),u!==0&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+c,r+o),c!==0&&e.arc(n+c,r+o-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+s),s!==0&&e.arc(n+s,r+s,s,Math.PI,Math.PI*1.5)}var Ip=Math.round;function s$(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s&&(Ip(r*2)===Ip(i*2)&&(e.x1=e.x2=yh(r,s,!0)),Ip(o*2)===Ip(a*2)&&(e.y1=e.y2=yh(o,s,!0))),e}}function l$(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s&&(e.x=yh(r,s,!0),e.y=yh(i,s,!0),e.width=Math.max(yh(r+o,s,!1)-e.x,o===0?0:1),e.height=Math.max(yh(i+a,s,!1)-e.y,a===0?0:1)),e}}function yh(e,t,n){if(!t)return e;var r=Ip(e*2);return(r+Ip(t))%2===0?r/2:(r+(n?1:-1))/2}var G8e=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),z8e={},Oi=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new G8e},t.prototype.buildPath=function(n,r){var i,o,a,s;if(this.subPixelOptimize){var l=l$(z8e,r,this.style);i=l.x,o=l.y,a=l.width,s=l.height,l.r=r.r,r=l}else i=r.x,o=r.y,a=r.width,s=r.height;r.r?K8e(n,r):n.rect(i,o,a,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Jn);Oi.prototype.type="rect";var eV={fill:"#000"},tV=2,J8e={style:En({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},C3.style)},Qa=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=eV,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,k=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),F=a.calculatedLineHeight,C=0;C=0&&(C=S[F],C.align==="right");)this._placeToken(C,n,w,m,k,"right",R),M-=C.width,k-=C.width,F--;for(P+=(o-(P-g)-(y-k)-M)/2;_<=F;)C=S[_],this._placeToken(C,n,w,m,P+C.width/2,"center",R),P+=C.width,_++;m+=w}},t.prototype._placeToken=function(n,r,i,o,a,s,l){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,f=o+i/2;c==="top"?f=o+n.height/2:c==="bottom"&&(f=o+i-n.height/2);var d=!n.isLineHolder&&gL(u);d&&this._renderBackground(u,r,s==="right"?a-n.width:s==="center"?a-n.width/2:a,f-n.height/2,n.width,n.height);var h=!!u.backgroundColor,p=n.textPadding;p&&(a=sV(a,s,p),f-=n.height/2-p[0]-n.innerHeight/2);var v=this._getOrCreateChild(p2),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,R=0,A=aV("fill"in u?u.fill:"fill"in r?r.fill:(y=!0,m.fill)),x=oV("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!l&&(!m.autoStroke||y)?(R=tV,m.stroke):null),S=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=a,g.y=f,S&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=n.font||Gf,g.opacity=dm(u.opacity,r.opacity,1),rV(g,u),x&&(g.lineWidth=dm(u.lineWidth,r.lineWidth,R),g.lineDash=sn(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=x),A&&(g.fill=A);var L=n.contentWidth,w=n.contentHeight;v.setBoundingRect(new dr(_g(g.x,L,g.textAlign),xp(g.y,w,g.textBaseline),L,w))},t.prototype._renderBackground=function(n,r,i,o,a,s){var l=n.backgroundColor,u=n.borderWidth,c=n.borderColor,f=l&&l.image,d=l&&!f,h=n.borderRadius,p=this,v,g;if(d||n.lineHeight||u&&c){v=this._getOrCreateChild(Oi),v.useStyle(v.createStyle()),v.style.fill=null;var m=v.shape;m.x=i,m.y=o,m.width=a,m.height=s,m.r=h,v.dirtyShape()}if(d){var y=v.style;y.fill=l||null,y.fillOpacity=sn(n.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Al),g.onload=function(){p.dirtyStyle()};var R=g.style;R.image=l.image,R.x=i,R.y=o,R.width=a,R.height=s}if(u&&c){var y=v.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=sn(n.strokeOpacity,1),y.lineDash=n.borderDash,y.lineDashOffset=n.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var A=(v||g).style;A.shadowBlur=n.shadowBlur||0,A.shadowColor=n.shadowColor||"transparent",A.shadowOffsetX=n.shadowOffsetX||0,A.shadowOffsetY=n.shadowOffsetY||0,A.opacity=dm(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return c$(n)&&(r=[n.fontStyle,n.fontWeight,u$(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&xf(r)||n.textFont||n.font},t}(dy),$8e={left:!0,right:1,center:1},j8e={top:1,bottom:1,middle:1},nV=["fontStyle","fontWeight","fontSize","fontFamily"];function u$(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Pk+"px":e+"px"}function rV(e,t){for(var n=0;n=0,o=!1;if(e instanceof Jn){var a=f$(e),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(G0(s)||G0(l)){r=r||{};var u=r.style||{};u.fill==="inherit"?(o=!0,r=pt({},r),u=pt({},u),u.fill=s):!G0(u.fill)&&G0(s)?(o=!0,r=pt({},r),u=pt({},u),u.fill=L6(s)):!G0(u.stroke)&&G0(l)&&(o||(r=pt({},r),u=pt({},u)),u.stroke=L6(l)),r.style=u}}if(r&&r.z2==null){o||(r=pt({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c??tTe)}return r}function sTe(e,t,n){if(n&&n.z2==null){n=pt({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??nTe)}return n}function lTe(e,t,n){var r=Sr(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:oTe(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return a.opacity==null&&(n=pt({},n),a=pt({opacity:r?i:o.opacity*.1},a),n.style=a),n}function mL(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return aTe(this,e,t,n);if(e==="blur")return lTe(this,e,n);if(e==="select")return sTe(this,e,n)}return n}function uTe(e){e.stateProxy=mL;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=mL),n&&(n.stateProxy=mL)}function hV(e,t){!y$(e,t)&&!e.__highByOuter&&Rc(e,d$)}function pV(e,t){!y$(e,t)&&!e.__highByOuter&&Rc(e,h$)}function nS(e,t){e.__highByOuter|=1<<(t||0),Rc(e,d$)}function rS(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Rc(e,h$)}function cTe(e){Rc(e,zk)}function v$(e){Rc(e,p$)}function g$(e){Rc(e,rTe)}function m$(e){Rc(e,iTe)}function y$(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function A$(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(i,o){var a=Kk(o),s=i==="series",l=s?e.getViewOfSeriesModel(o):e.getViewOfComponentModel(o);!s&&r.push(l),a.isBlured&&(l.group.traverse(function(u){p$(u)}),s&&n.push(o)),a.isBlured=!1}),Pe(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(n,!1,t)})}function B6(e,t,n,r){var i=r.getModel();n=n||"coordinateSystem";function o(u,c){for(var f=0;f0){var s={dataIndex:a,seriesIndex:n.seriesIndex};o!=null&&(s.dataType=o),t.push(s)}})}),t}function Z6(e,t,n){R$(e,!0),Rc(e,uTe),mTe(e,t,n)}function gTe(e){R$(e,!1)}function Tv(e,t,n,r){r?gTe(e):Z6(e,t,n)}function mTe(e,t,n){var r=wr(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var gV=["emphasis","blur","select"],yTe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function _v(e,t,n,r){n=n||"itemStyle";for(var i=0;i1&&(a*=yL(p),s*=yL(p));var v=(i===o?-1:1)*yL((a*a*(s*s)-a*a*(h*h)-s*s*(d*d))/(a*a*(h*h)+s*s*(d*d)))||0,g=v*a*h/s,m=v*-s*d/a,y=(e+n)/2+uR(f)*g-lR(f)*m,R=(t+r)/2+lR(f)*g+uR(f)*m,A=RV([1,0],[(d-g)/a,(h-m)/s]),x=[(d-g)/a,(h-m)/s],S=[(-1*d-g)/a,(-1*h-m)/s],L=RV(x,S);if(K6(x,S)<=-1&&(L=W1),K6(x,S)>=1&&(L=0),L<0){var w=Math.round(L/W1*1e6)/1e6;L=W1*2+w%2*W1}c.addData(u,y,R,a,s,A,L,f,o)}var wTe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,MTe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function LTe(e){var t=new jf;if(!e)return t;var n=0,r=0,i=n,o=r,a,s=jf.CMD,l=e.match(wTe);if(!l)return t;for(var u=0;uC*C+N*N&&(w=_,M=P),{cx:w,cy:M,x0:-c,y0:-f,x1:w*(i/x-1),y1:M*(i/x-1)}}function NTe(e){var t;if(It(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function FTe(e,t){var n,r=Og(t.r,0),i=Og(t.r0||0,0),o=r>0,a=i>0;if(!(!o&&!a)){if(o||(r=i,i=0),i>r){var s=r;r=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,d=!!t.clockwise,h=xV(u-l),p=h>AL&&h%AL;if(p>zs&&(h=p),!(r>zs))e.moveTo(c,f);else if(h>AL-zs)e.moveTo(c+r*J0(l),f+r*Zd(l)),e.arc(c,f,r,l,u,!d),i>zs&&(e.moveTo(c+i*J0(u),f+i*Zd(u)),e.arc(c,f,i,u,l,d));else{var v=void 0,g=void 0,m=void 0,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0,L=void 0,w=void 0,M=void 0,_=void 0,P=void 0,k=void 0,F=void 0,C=void 0,N=r*J0(l),I=r*Zd(l),W=i*J0(u),D=i*Zd(u),Y=h>zs;if(Y){var re=t.cornerRadius;re&&(n=NTe(re),v=n[0],g=n[1],m=n[2],y=n[3]);var B=xV(r-i)/2;if(R=Il(B,m),A=Il(B,y),x=Il(B,v),S=Il(B,g),M=L=Og(R,A),_=w=Og(x,S),(L>zs||w>zs)&&(P=r*J0(u),k=r*Zd(u),F=i*J0(l),C=i*Zd(l),hzs){var Ae=Il(m,M),ce=Il(y,M),fe=cR(F,C,N,I,r,Ae,d),le=cR(P,k,W,D,r,ce,d);e.moveTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),M0&&e.arc(c+fe.cx,f+fe.cy,Ae,qi(fe.y0,fe.x0),qi(fe.y1,fe.x1),!d),e.arc(c,f,r,qi(fe.cy+fe.y1,fe.cx+fe.x1),qi(le.cy+le.y1,le.cx+le.x1),!d),ce>0&&e.arc(c+le.cx,f+le.cy,ce,qi(le.y1,le.x1),qi(le.y0,le.x0),!d))}else e.moveTo(c+N,f+I),e.arc(c,f,r,l,u,!d);if(!(i>zs)||!Y)e.lineTo(c+W,f+D);else if(_>zs){var Ae=Il(v,_),ce=Il(g,_),fe=cR(W,D,P,k,i,-ce,d),le=cR(N,I,F,C,i,-Ae,d);e.lineTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),_0&&e.arc(c+fe.cx,f+fe.cy,ce,qi(fe.y0,fe.x0),qi(fe.y1,fe.x1),!d),e.arc(c,f,i,qi(fe.cy+fe.y1,fe.cx+fe.x1),qi(le.cy+le.y1,le.cx+le.x1),d),Ae>0&&e.arc(c+le.cx,f+le.cy,Ae,qi(le.y1,le.x1),qi(le.y0,le.x0),!d))}else e.lineTo(c+W,f+D),e.arc(c,f,i,u,l,d)}e.closePath()}}}var ETe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),hd=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new ETe},t.prototype.buildPath=function(n,r){FTe(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Jn);hd.prototype.type="sector";var XTe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),E3=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new XTe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.PI*2;n.moveTo(i+r.r,o),n.arc(i,o,r.r,0,a,!1),n.moveTo(i+r.r0,o),n.arc(i,o,r.r0,0,a,!0)},t}(Jn);E3.prototype.type="ring";function WTe(e,t,n,r){var i=[],o=[],a=[],s=[],l,u,c,f;if(r){c=[1/0,1/0],f=[-1/0,-1/0];for(var d=0,h=e.length;d=2){if(r){var o=WTe(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[s*2],u=o[s*2+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;sHd[1]){if(s=!1,o)return s;var c=Math.abs(Hd[0]-Qd[1]),f=Math.abs(Qd[0]-Hd[1]);Math.min(c,f)>i.len()&&(c0){var f=c.duration,d=c.delay,h=c.easing,p={duration:f,delay:d||0,easing:h,done:o,force:!!o||!!a,setToFinal:!u,scope:e,during:a};s?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!s&&t.attr(n),a&&a(1),o&&o()}function go(e,t,n,r,i,o){qk("update",e,t,n,r,i,o)}function sa(e,t,n,r,i,o){qk("enter",e,t,n,r,i,o)}function bm(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function MV(e){return!e.isGroup}function l6e(e){return e.shape!=null}function I$(e,t,n){if(!e||!t)return;function r(a){var s={};return a.traverse(function(l){MV(l)&&l.anid&&(s[l.anid]=l)}),s}function i(a){var s={x:a.x,y:a.y,rotation:a.rotation};return l6e(a)&&(s.shape=pt({},a.shape)),s}var o=r(e);t.traverse(function(a){if(MV(a)&&a.anid){var s=o[a.anid];if(s){var l=i(a);a.attr(i(s)),go(a,l,n,wr(a).dataIndex)}}})}function u6e(e,t){return _t(e,function(n){var r=n[0];r=sS(r,t.x),r=lS(r,t.x+t.width);var i=n[1];return i=sS(i,t.y),i=lS(i,t.y+t.height),[r,i]})}function c6e(e,t){var n=sS(e.x,t.x),r=lS(e.x+e.width,t.x+t.width),i=sS(e.y,t.y),o=lS(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function N$(e,t,n){var r=pt({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),En(i,n),new Al(r)):eP(e.replace("path://",""),r,n,"center")}function f6e(e,t,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var g=RL(h,p,c,f)/d;return!(g<0||g>1)}function RL(e,t,n,r){return e*r-n*t}function d6e(e){return e<=1e-6&&e>=-1e-6}function tP(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Qt(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Pe(Dn(l),function(c){u2(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=wr(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:En({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function LV(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function W3(e,t){if(e)if(It(e))for(var n=0;n=0&&s.push(l)}),s}}function W$(e,t){return sr(sr({},e,!0),t,!0)}const _6e={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},O6e={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var uS="ZH",nP="EN",sv=nP,Ob={},rP={},V$=or.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||sv).toUpperCase();return e.indexOf(uS)>-1?uS:sv}():sv;function D$(e,t){e=e.toUpperCase(),rP[e]=new ki(t),Ob[e]=t}function k6e(e){if(Qt(e)){var t=Ob[e.toUpperCase()]||{};return e===uS||e===nP?Vn(t):sr(Vn(t),Vn(Ob[sv]),!1)}else return sr(Vn(e),Vn(Ob[sv]),!1)}function P6e(e){return rP[e]}function C6e(){return rP[sv]}D$(nP,_6e);D$(uS,O6e);var iP=1e3,oP=iP*60,xm=oP*60,As=xm*24,IV=As*365,kg={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},hR="{yyyy}-{MM}-{dd}",NV={year:"{yyyy}",month:"{yyyy}-{MM}",day:hR,hour:hR+" "+kg.hour,minute:hR+" "+kg.minute,second:hR+" "+kg.second,millisecond:kg.none},SL=["year","month","day","hour","minute","second","millisecond"],U$=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Wc(e,t){return e+="","0000".substr(0,t-e.length)+e}function lv(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function I6e(e){return e===lv(e)}function N6e(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function B$(e,t,n,r){var i=$f(e),o=i[aP(n)](),a=i[uv(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[B3(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[y2(n)](),f=(c-1)%12+1,d=i[Y3(n)](),h=i[Z3(n)](),p=i[Q3(n)](),v=c>=12?"pm":"am",g=v.toUpperCase(),m=r instanceof ki?r:P6e(r||V$)||C6e(),y=m.getModel("time"),R=y.get("month"),A=y.get("monthAbbr"),x=y.get("dayOfWeek"),S=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,v+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Wc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,R[a-1]).replace(/{MMM}/g,A[a-1]).replace(/{MM}/g,Wc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Wc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Wc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Wc(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Wc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Wc(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Wc(p,3)).replace(/{S}/g,p+"")}function F6e(e,t,n,r,i){var o=null;if(Qt(n))o=n;else if(An(n))o=n(e.value,t,{level:e.level});else{var a=pt({},kg);if(e.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(It(o)){var f=e.level==null?0:e.level>=0?e.level:o.length+e.level;f=Math.min(f,o.length-1),o=o[f]}}return B$(new Date(e.value),o,i,r)}function Y$(e,t){var n=$f(e),r=n[uv(t)]()+1,i=n[B3(t)](),o=n[y2(t)](),a=n[Y3(t)](),s=n[Z3(t)](),l=n[Q3(t)](),u=l===0,c=u&&s===0,f=c&&a===0,d=f&&o===0,h=d&&i===1,p=h&&r===1;return p?"year":h?"month":d?"day":f?"hour":c?"minute":u?"second":"millisecond"}function FV(e,t,n){var r=Ar(e)?$f(e):e;switch(t=t||Y$(e,n),t){case"year":return r[aP(n)]();case"half-year":return r[uv(n)]()>=6?1:0;case"quarter":return Math.floor((r[uv(n)]()+1)/4);case"month":return r[uv(n)]();case"day":return r[B3(n)]();case"half-day":return r[y2(n)]()/24;case"hour":return r[y2(n)]();case"minute":return r[Y3(n)]();case"second":return r[Z3(n)]();case"millisecond":return r[Q3(n)]()}}function aP(e){return e?"getUTCFullYear":"getFullYear"}function uv(e){return e?"getUTCMonth":"getMonth"}function B3(e){return e?"getUTCDate":"getDate"}function y2(e){return e?"getUTCHours":"getHours"}function Y3(e){return e?"getUTCMinutes":"getMinutes"}function Z3(e){return e?"getUTCSeconds":"getSeconds"}function Q3(e){return e?"getUTCMilliseconds":"getMilliseconds"}function E6e(e){return e?"setUTCFullYear":"setFullYear"}function Z$(e){return e?"setUTCMonth":"setMonth"}function Q$(e){return e?"setUTCDate":"setDate"}function H$(e){return e?"setUTCHours":"setHours"}function K$(e){return e?"setUTCMinutes":"setMinutes"}function G$(e){return e?"setUTCSeconds":"setSeconds"}function z$(e){return e?"setUTCMilliseconds":"setMilliseconds"}function X6e(e){if(!BLe(e))return Qt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}var J$=yJ,EV=["a","b","c","d","e","f","g"],wL=function(e,t){return"{"+e+(t??"")+"}"};function W6e(e,t,n){It(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;or||l.newline?(o=0,h=v,a+=s+n,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(d?-d.y+c.y:0);p=a+g,p>i||l.newline?(o+=s+n,a=0,p=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),e==="horizontal"?o=h+n:a=p+n)})}var Sm=sP;Fa(sP,"vertical");Fa(sP,"horizontal");function cS(e,t,n){n=J$(n||0);var r=t.width,i=t.height,o=mr(e.left,r),a=mr(e.top,i),s=mr(e.right,r),l=mr(e.bottom,i),u=mr(e.width,r),c=mr(e.height,i),f=n[2]+n[0],d=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-s-d-o),isNaN(c)&&(c=i-l-f-a),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/i?u=r*.8:c=i*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(o)&&(o=r-s-u-d),isNaN(a)&&(a=i-l-c-f),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-d;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-f;break}o=o||0,a=a||0,isNaN(u)&&(u=r-d-o-(s||0)),isNaN(c)&&(c=i-f-a-(l||0));var p=new dr(o+n[3],a+n[0],u,c);return p.margin=n,p}function A2(e){var t=e.layoutMode||e.constructor.layoutMode;return rn(t)?t:t?{type:t}:null}function Ov(e,t,n){var r=n&&n.ignoreSize;!It(r)&&(r=[r,r]);var i=a(pR[0],0),o=a(pR[1],1);u(pR[0],e,i),u(pR[1],e,o);function a(c,f){var d={},h=0,p={},v=0,g=2;if(kb(c,function(R){p[R]=e[R]}),kb(c,function(R){s(t,R)&&(d[R]=p[R]=t[R]),l(d,R)&&h++,l(p,R)&&v++}),r[f])return l(t,c[1])?p[c[2]]=null:l(t,c[2])&&(p[c[1]]=null),p;if(v===g||!h)return p;if(h>=g)return d;for(var m=0;m=0;l--)s=sr(s,i[l],!0);r.defaultOption=s}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var i=n+"Index",o=n+"Id";return O3(this.ecModel,n,{index:this.get(i,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(ki);t$(fr,ki);k3(fr);L6e(fr);T6e(fr,B6e);function B6e(e){var t=[];return Pe(fr.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=_t(t,function(n){return tu(n).main}),e!=="dataset"&&Sr(t,"dataset")<=0&&t.unshift("dataset"),t}var $$="";typeof navigator<"u"&&($$=navigator.platform||"");var $0="rgba(0, 0, 0, 0.2)";const Y6e={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:$0,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:$0,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:$0,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:$0,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:$0,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:$0,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:$$.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var j$=xn(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ns="original",ha="arrayRows",bl="objectRows",xu="keyedColumns",Wf="typedArray",q$="unknown",ac="column",e1="row",Vi={Must:1,Might:2,Not:3},ej=Ii();function Z6e(e){ej(e).datasetMap=xn()}function Q6e(e,t,n){var r={},i=lP(t);if(!i||!e)return r;var o=[],a=[],s=t.ecModel,l=ej(s).datasetMap,u=i.uid+"_"+n.seriesLayoutBy,c,f;e=e.slice(),Pe(e,function(v,g){var m=rn(v)?v:e[g]={name:v};m.type==="ordinal"&&c==null&&(c=g,f=p(m)),r[m.name]=[]});var d=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});Pe(e,function(v,g){var m=v.name,y=p(v);if(c==null){var R=d.valueWayDim;h(r[m],R,y),h(a,R,y),d.valueWayDim+=y}else if(c===g)h(r[m],0,y),h(o,0,y);else{var R=d.categoryWayDim;h(r[m],R,y),h(a,R,y),d.categoryWayDim+=y}});function h(v,g,m){for(var y=0;yt)return e[r];return e[n-1]}function $6e(e,t,n,r,i,o,a){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=a==null||!r?n:J6e(r,a);if(c=c||n,!(!c||!c.length)){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}function j6e(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var vR,V1,WV,VV="\0_ec_inner",q6e=1,cP=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,i,o,a,s){o=o||{},this.option=null,this._theme=new ki(o),this._locale=new ki(a),this._optionManager=s},t.prototype.setOption=function(n,r,i){var o=BV(r);this._optionManager.setOption(n,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(n,r){return this._resetOption(n,BV(r))},t.prototype._resetOption=function(n,r){var i=!1,o=this._optionManager;if(!n||n==="recreate"){var a=o.mountOption(n==="recreate");!this.option||n==="recreate"?WV(this,a):(this.restoreData(),this._mergeOption(a,r)),i=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var s=o.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,r))}if(!n||n==="recreate"||n==="media"){var l=o.getMediaOption(this);l.length&&Pe(l,function(u){i=!0,this._mergeOption(u,r)},this)}return i},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var i=this.option,o=this._componentsMap,a=this._componentsCount,s=[],l=xn(),u=r&&r.replaceMergeMainTypeMap;Z6e(this),Pe(n,function(f,d){f!=null&&(fr.hasClass(d)?d&&(s.push(d),l.set(d,!0)):i[d]=i[d]==null?Vn(f):sr(i[d],f,!0))}),u&&u.each(function(f,d){fr.hasClass(d)&&!l.get(d)&&(s.push(d),l.set(d,!0))}),fr.topologicalTravel(s,fr.getAllClassMainTypes(),c,this);function c(f){var d=z6e(this,f,Co(n[f])),h=o.get(f),p=h?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=HLe(h,d,p);qLe(v,f,fr),i[f]=null,o.set(f,null),a.set(f,0);var g=[],m=[],y=0,R;Pe(v,function(A,x){var S=A.existing,L=A.newOption;if(!L)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var w=f==="series",M=fr.getClass(f,A.keyInfo.subType,!w);if(!M)return;if(f==="tooltip"){if(R)return;R=!0}if(S&&S.constructor===M)S.name=A.keyInfo.name,S.mergeOption(L,this),S.optionUpdated(L,!1);else{var _=pt({componentIndex:x},A.keyInfo);S=new M(L,this,this,_),pt(S,_),A.brandNew&&(S.__requireNewView=!0),S.init(L,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),m.push(S),y++):(g.push(void 0),m.push(void 0))},this),i[f]=g,o.set(f,m),a.set(f,y),f==="series"&&vR(this)}this._seriesIndices||vR(this)},t.prototype.getOption=function(){var n=Vn(this.option);return Pe(n,function(r,i){if(fr.hasClass(i)){for(var o=Co(r),a=o.length,s=!1,l=a-1;l>=0;l--)o[l]&&!d2(o[l])?s=!0:(o[l]=null,!s&&a--);o.length=a,n[i]=o}}),delete n[VV],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var i=this._componentsMap.get(n);if(i){var o=i[r||0];if(o)return o;if(r==null){for(var a=0;a=t:n==="max"?e<=t:e===t}function l_e(e,t){return e.join(",")===t.join(",")}var Us=Pe,R2=rn,YV=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function LL(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=YV.length;n=0;g--){var m=e[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,h)),p>=0){var y=m.data.getByRawIndex(m.stackResultDimension,p);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&d>=0&&y>0||l==="samesign"&&d<=0&&y<0){d=WLe(d,y),v=y;break}}}return r[0]=d,r[1]=v,r})})}var K3=function(){function e(t){this.data=t.data||(t.sourceFormat===xu?{}:[]),this.sourceFormat=t.sourceFormat||q$,this.seriesLayoutBy=t.seriesLayoutBy||ac,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rv&&(v=R)}h[0]=p,h[1]=v}},i=function(){return this._data?this._data.length/this._dimSize:0};JV=(t={},t[ha+"_"+ac]={pure:!0,appendData:o},t[ha+"_"+e1]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[bl]={pure:!0,appendData:o},t[xu]={pure:!0,appendData:function(a){var s=this._data;Pe(a,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[Ns]={appendData:o},t[Wf]={persistent:!1,pure:!0,appendData:function(a){this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(a){for(var s=0;s=0&&(v=a.interpolatedValue[g])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,n){return kv(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function wm(e){return new L_e(e)}var L_e=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(a!==l||s!==u)&&(o="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||o==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(d!=null?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(f||h1&&r>0?s:a}};return o;function a(){return t=e?null:l65535?E_e:X_e}function j0(){return[1/0,-1/0]}function W_e(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function nD(e,t,n,r,i){var o=vj[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;ug[1]&&(g[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,n,r){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=_t(a,function(y){return y.property}),c=0;cm[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)o=a-1;else return a}return-1},e.prototype.indicesOfNearest=function(t,n,r){var i=this._chunks,o=i[t],a=[];if(!o)return a;r==null&&(r=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c=0&&l<0)&&(s=p,l=h,u=0),h===l&&(a[u++]=c))}return a.length=u,a},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,i=this._count;if(r===Array){t=new r(i);for(var o=0;o=f&&y<=d||isNaN(y))&&(l[u++]=v),v++}p=!0}else if(o===2){for(var g=h[i[0]],R=h[i[1]],A=t[i[1]][0],x=t[i[1]][1],m=0;m=f&&y<=d||isNaN(y))&&(S>=A&&S<=x||isNaN(S))&&(l[u++]=v),v++}p=!0}}if(!p)if(o===1)for(var m=0;m=f&&y<=d||isNaN(y))&&(l[u++]=L)}else for(var m=0;mt[_][1])&&(w=!1)}w&&(l[u++]=n.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),i=r._chunks,o=i[t],a=this.count(),s=0,l=Math.floor(1/n),u=this.getRawIndex(0),c,f,d,h=new(U1(this._rawCount))(Math.min((Math.ceil(a/l)+2)*2,a));h[s++]=u;for(var p=1;pc&&(c=f,d=A)}P>0&&Pc-p&&(l=c-p,s.length=l);for(var v=0;vf[1]&&(f[1]=m),d[h++]=y}return o._count=h,o._indices=d,o._updateGetRawIdx(),o},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,i=this._chunks,o=0,a=this.count();ol&&(l=f)}return a=[s,l],this._extent[t]=a,a},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],i=this._chunks,o=0;o=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,i,o){return Pb(n[o],this._dimensions[o])}OL={arrayRows:t,objectRows:function(n,r,i,o){return Pb(n[r],this._dimensions[o])},keyedColumns:t,original:function(n,r,i,o){var a=n&&(n.value==null?n:n.value);return Pb(a instanceof Array?a[o]:a,this._dimensions[o])},typedArray:function(n,r,i,o){return n[o]}}}(),e}(),V_e=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,i,o;if(gR(t)){var a=t,s=void 0,l=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,o=[c._getVersionSign()]}else s=a.get("data",!0),l=da(s)?Wf:Ns,o=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},h=sn(f.seriesLayoutBy,d.seriesLayoutBy)||null,p=sn(f.sourceHeader,d.sourceHeader),v=sn(f.dimensions,d.dimensions),g=h!==d.seriesLayoutBy||!!p!=!!d.sourceHeader||v;i=g?[$6(s,{seriesLayoutBy:h,sourceHeader:p,dimensions:v},l)]:[]}else{var m=t;if(r){var y=this._applyTransform(n);i=y.sourceList,o=y.upstreamSignList}else{var R=m.get("source",!0);i=[$6(R,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&rD(o)}var a,s=[],l=[];return Pe(t,function(u){u.prepareSource();var c=u.getSource(i||0),f="";i!=null&&!c&&rD(f),s.push(c),l.push(u._getVersionSign())}),r?a=N_e(r,s,{datasetIndex:n.componentIndex}):i!=null&&(a=[y_e(s[0])]),{sourceList:a,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n1||l&&!a){var p=U_e(s,t,n,o,u);c=p.inlineValues,f=p.inlineValueTypes,d=p.blocks,h=p.inlineValues[0]}else if(a){var v=i.getDimensionInfo(o[0]);h=c=kv(i,n,o[0]),f=v.type}else h=c=l?s[0]:s;var g=Zk(t),m=g&&t.name||"",y=i.getName(n),R=r?m:y;return b2("section",{header:m,noHeader:r||!g,sortParam:h,blocks:[b2("nameValue",{markerType:"item",markerColor:u,name:R,noName:!xf(R),value:c,valueType:f,dataIndex:n})].concat(d||[])})}function U_e(e,t,n,r,i){var o=t.getData(),a=zf(e,function(f,d,h){var p=o.getDimensionInfo(h);return f=f||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];r.length?Pe(r,function(f){c(kv(o,n,f),f)}):Pe(e,c);function c(f,d){var h=o.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(a?u.push(b2("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:f,valueType:h.type})):(s.push(f),l.push(h.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Vc=Ii();function mR(e,t){return e.getName(t)||e.getId(t)}var B_e="__universalTransitionEnabled",Ha=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,i){this.seriesIndex=this.componentIndex,this.dataTask=wm({count:Z_e,reset:Q_e}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,i);var o=Vc(this).sourceManager=new V_e(this);o.prepareSource();var a=this.getInitialData(n,i);oD(a,this),this.dataTask.context.data=a,Vc(this).dataBeforeProcessed=a,iD(this),this._initSelectedMapFromData(a)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=A2(this),o=i?H3(n):{},a=this.subType;fr.hasClass(a)&&(a+="Series"),sr(n,r.getTheme().get(this.subType)),sr(n,this.getDefaultOption()),W6(n,"label",["show"]),this.fillDataTextStyle(n.data),i&&Ov(n,o,i)},t.prototype.mergeOption=function(n,r){n=sr(this.option,n,!0),this.fillDataTextStyle(n.data);var i=A2(this);i&&Ov(this.option,n,i);var o=Vc(this).sourceManager;o.dirty(),o.prepareSource();var a=this.getInitialData(n,r);oD(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Vc(this).dataBeforeProcessed=a,iD(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(n){if(n&&!da(n))for(var r=["show"],i=0;ithis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,i){var o=this.ecModel,a=uP.prototype.getColorFromPalette.call(this,n,r,i);return a||(a=o.getColorFromPalette(n,r,i)),a},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,a=this.getData(r);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(a)}return i},t.prototype.isSelected=function(n,r){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(r);return(i==="all"||i[mR(o,n)])&&!o.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[B_e])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var i,o,a=this.option,s=a.selectedMode,l=r.length;if(!(!s||!l)){if(s==="series")a.selectedMap="all";else if(s==="multiple"){rn(a.selectedMap)||(a.selectedMap={});for(var u=a.selectedMap,c=0;c0&&this._innerSelect(n,r)}},t.registerClass=function(n){return fr.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(fr);yl(Ha,M_e);yl(Ha,uP);t$(Ha,fr);function iD(e){var t=e.name;Zk(e)||(e.name=Y_e(e)||t)}function Y_e(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return Pe(n,function(i){var o=t.getDimensionInfo(i);o.displayName&&r.push(o.displayName)}),r.join(" ")}function Z_e(e){return e.model.getRawData().count()}function Q_e(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),H_e}function H_e(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function oD(e,t){Pe(f5e(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Fa(K_e,t))})}function K_e(e,t){var n=q6(e);return n&&n.setOutputEnd((t||this).count()),t}function q6(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}var hc=function(){function e(){this.group=new Ai,this.uid=U3("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){},e.prototype.updateLayout=function(t,n,r,i){},e.prototype.updateVisual=function(t,n,r,i){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();Qk(hc);k3(hc);function vP(){var e=Ii();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==s)&&"reset"}}var mj=Ii(),G_e=vP(),la=function(){function e(){this.group=new Ai,this.uid=U3("viewChart"),this.renderTask=wm({plan:z_e,reset:J_e}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.highlight=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&sD(o,i,"emphasis")},e.prototype.downplay=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&sD(o,i,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateLayout=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateVisual=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.eachRendered=function(t){W3(this.group,t)},e.markUpdateMethod=function(t,n){mj(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function aD(e,t,n){e&&Q6(e)&&(t==="emphasis"?nS:rS)(e,n)}function sD(e,t,n){var r=Lv(e,t),i=t&&t.highlightKey!=null?ATe(t.highlightKey):null;r!=null?Pe(Co(r),function(o){aD(e.getItemGraphicEl(o),n,i)}):e.eachItemGraphicEl(function(o){aD(o,n,i)})}Qk(la);k3(la);function z_e(e){return G_e(e.model)}function J_e(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&mj(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return l!=="render"&&a[l](t,n,r,i),$_e[l]}var $_e={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};function yj(e,t,n){var r,i=0,o=0,a=null,s,l,u,c;t=t||0;function f(){o=new Date().getTime(),a=null,e.apply(l,u||[])}var d=function(){for(var h=[],p=0;p=0?f():a=setTimeout(f,-s),i=r};return d.clear=function(){a&&(clearTimeout(a),a=null)},d.debounceNextCall=function(h){c=h},d}var lD=Ii(),uD={itemStyle:h2(X$,!0),lineStyle:h2(E$,!0)},j_e={lineStyle:"stroke",itemStyle:"fill"};function Aj(e,t){var n=e.visualStyleMapper||uD[t];return n||(console.warn("Unknown style type '"+t+"'."),uD.itemStyle)}function Rj(e,t){var n=e.visualDrawType||j_e[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var q_e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=Aj(e,r),a=o(i),s=i.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=Rj(e,r),u=a[l],c=An(u)?u:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[l]||c||f){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[l]||(a[l]=d,n.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||An(a.fill)?d:a.fill,a.stroke=a.stroke==="auto"||An(a.stroke)?d:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,p){var v=e.getDataParams(p),g=pt({},a);g[l]=c(v),h.setItemVisual(p,"style",g)}}}},B1=new ki,eOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Aj(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(a,s){var l=a.getRawDataItem(s);if(l&&l[r]){B1.option=l[r];var u=i(B1),c=a.ensureUniqueItemVisual(s,"style");pt(c,u),B1.option.decal&&(a.setItemVisual(s,"decal",B1.option.decal),B1.option.decal.dirty=!0),o in u&&a.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},tOe={performRawSeries:!0,overallReset:function(e){var t=xn();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var i=n.type+"-"+r,o=t.get(i);o||(o={},t.set(i,o)),lD(n).scope=o}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),i={},o=n.getData(),a=lD(n).scope,s=n.visualStyleAccessPath||"itemStyle",l=Rj(n,s);o.each(function(u){var c=o.getRawIndex(u);i[c]=u}),r.each(function(u){var c=i[u],f=o.getItemVisual(c,"colorFromPalette");if(f){var d=o.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",p=r.count();d[l]=n.getColorFromPalette(h,a,p)}})}})}},yR=Math.PI;function nOe(e,t){t=t||{},En(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Ai,r=new Oi({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new Qa({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Oi({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(o);var a;return t.showSpinner&&(a=new X3({shape:{startAngle:-yR/2,endAngle:-yR/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:yR*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:yR*3/2}).delay(300).start("circularInOut"),n.add(a)),n.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=e.getHeight()/2;t.showSpinner&&a.setShape({cx:u,cy:c}),o.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var bj=function(){function e(t,n,r,i){this._stageTaskMap=xn(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,o=!n&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,a=o?r.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/a):null;return{step:a,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),a=r.progressiveEnabled&&n.incrementalPrepareRender&&o>=r.threshold,s=t.get("large")&&o>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:a,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=xn();t.eachSeries(function(i){var o=i.getProgressive(),a=i.uid;r.set(a,{id:a,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;Pe(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";gu(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,n,r),i.overallReset&&this._createOverallStageTask(i,o,n,r)},this)},e.prototype.prepareView=function(t,n,r,i){var o=t.renderTask,a=o.context;a.model=n,a.ecModel=r,a.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(n,o)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,i){i=i||{};var o=!1,a=this;Pe(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var c=a._stageTaskMap.get(l.uid),f=c.seriesTaskMap,d=c.overallTask;if(d){var h,p=d.agentStubMap;p.each(function(g){s(i,g)&&(g.dirty(),h=!0)}),h&&d.dirty(),a.updatePayload(d,r);var v=a.getPerformArgs(d,i.block);p.each(function(g){g.perform(v)}),d.perform(v)&&(o=!0)}else f&&f.each(function(g,m){s(i,g)&&g.dirty();var y=a.getPerformArgs(g,i.block);y.skip=!l.performRawSeries&&n.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(y)&&(o=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,i){var o=this,a=n.seriesTaskMap,s=n.seriesTaskMap=xn(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):l?r.eachRawSeriesByType(l,c):u&&u(r,i).each(c);function c(f){var d=f.uid,h=s.set(d,a&&a.get(d)||wm({plan:sOe,reset:lOe,count:cOe}));h.context={model:f,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(f,h)}},e.prototype._createOverallStageTask=function(t,n,r,i){var o=this,a=n.overallTask=n.overallTask||wm({reset:rOe});a.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:o};var s=a.agentStubMap,l=a.agentStubMap=xn(),u=t.seriesType,c=t.getTargetSeries,f=!0,d=!1,h="";gu(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,p):c?c(r,i).each(p):(f=!1,Pe(r.getSeries(),p));function p(v){var g=v.uid,m=l.set(g,s&&s.get(g)||(d=!0,wm({reset:iOe,onDirty:aOe})));m.context={model:v,overallProgress:f},m.agent=a,m.__block=f,o._pipe(v,m)}d&&a.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i},e.wrapStageHandler=function(t,n){return An(t)&&(t={overallReset:t,seriesType:fOe(t)}),t.uid=U3("stageHandler"),n&&(t.visualType=n),t},e}();function rOe(e){e.overallReset(e.ecModel,e.api,e.payload)}function iOe(e){return e.overallProgress&&oOe}function oOe(){this.agent.dirty(),this.getDownstream().dirty()}function aOe(){this.agent&&this.agent.dirty()}function sOe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function lOe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Co(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?_t(t,function(n,r){return xj(r)}):uOe}var uOe=xj(0);function xj(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o0&&h===u.length-d.length){var p=u.slice(0,h);p!=="data"&&(n.mainType=p,n[d.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(r[u]=l,c=!0),c||(i[u]=l)})}return{cptQuery:n,dataQuery:r,otherQuery:i}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=n.cptQuery,u=n.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,n.otherQuery,i,o));function c(f,d,h,p){return f[h]==null||d[p||h]===f[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),e_=["symbol","symbolSize","symbolRotate","symbolOffset"],hD=e_.concat(["symbolKeepAspect"]),pOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},o=!1,a=0;a=0&&Ah(l)?l:.5;var u=e.createRadialGradient(a,s,0,a,s,l);return u}function pD(e,t,n){for(var r=t.type==="radial"?COe(e,t,n):POe(e,t,n),i=t.colorStops,o=0;o0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Ar(e)?[e]:It(e)?e:null}function gP(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&NOe(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=_t(n,function(o){return o/i}),r/=i)}return[n,r]}var FOe=new jf(!0);function dS(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function gD(e){return typeof e=="string"&&e!=="none"}function hS(e){var t=e.fill;return t!=null&&t!=="none"}function mD(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function yD(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function AD(e,t,n){var r=Hk(t.image,t.__image,n);if(P3(r)){var i=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*Rb),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function EOe(e,t,n,r){var i,o=dS(n),a=hS(n),s=n.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||FOe,f=t.__dirty;if(!r){var d=n.fill,h=n.stroke,p=a&&!!d.colorStops,v=o&&!!h.colorStops,g=a&&!!d.image,m=o&&!!h.image,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0;(p||v)&&(S=t.getBoundingRect()),p&&(y=f?pD(e,d,S):t.__canvasFillGradient,t.__canvasFillGradient=y),v&&(R=f?pD(e,h,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=R),g&&(A=f||!t.__canvasFillPattern?AD(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=A),m&&(x=f||!t.__canvasStrokePattern?AD(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=A),p?e.fillStyle=y:g&&(A?e.fillStyle=A:a=!1),v?e.strokeStyle=R:m&&(x?e.strokeStyle=x:o=!1)}var L=t.getGlobalScale();c.setScale(L[0],L[1],t.segmentIgnoreThreshold);var w,M;e.setLineDash&&n.lineDash&&(i=gP(t),w=i[0],M=i[1]);var _=!0;(u||f&bp)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),_=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),_&&c.rebuildPath(e,l?s:1),w&&(e.setLineDash(w),e.lineDashOffset=M),r||(n.strokeFirst?(o&&yD(e,n),a&&mD(e,n)):(a&&mD(e,n),o&&yD(e,n))),w&&e.setLineDash([])}function XOe(e,t,n){var r=t.__image=Hk(n.image,t.__image,t,t.onload);if(!(!r||!P3(r))){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(a==null&&s!=null?a=s*l:s==null&&a!=null?s=a/l:a==null&&s==null&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,f=a-u,d=s-c;e.drawImage(r,u,c,f,d,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}function WOe(e,t,n){var r,i=n.text;if(i!=null&&(i+=""),i){e.font=n.font||Gf,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=gP(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(dS(n)&&e.strokeText(i,n.x,n.y),hS(n)&&e.fillText(i,n.x,n.y)):(hS(n)&&e.fillText(i,n.x,n.y),dS(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var RD=["shadowBlur","shadowOffsetX","shadowOffsetY"],bD=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function _j(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){jo(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Fh.opacity:a}(r||t.blend!==n.blend)&&(o||(jo(e,i),o=!0),e.globalCompositeOperation=t.blend||Fh.blend);for(var s=0;s0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,i){if(!this[eo]){if(this._disposed){this.id;return}var o,a,s;if(rn(r)&&(i=r.lazyUpdate,o=r.silent,a=r.replaceMerge,s=r.transition,r=r.notMerge),this[eo]=!0,!this._model||r){var l=new i_e(this._api),u=this._theme,c=this._model=new cP;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(n,{replaceMerge:a},o_);var f={seriesTransition:s,optionChanged:!0};if(i)this[Bo]={silent:o,updateParams:f},this[eo]=!1,this.getZr().wakeUp();else{try{ep(this),Dc.update.call(this,null,f)}catch(d){throw this[Bo]=null,this[eo]=!1,d}this._ssr||this._zr.flush(),this[Bo]=null,this[eo]=!1,Y1.call(this,o),Z1.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||or.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(or.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return Pe(r,function(i){i.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,i=this._model,o=[],a=this;Pe(r,function(l){i.eachComponent({mainType:l},function(u){var c=a._componentsMap[u.__viewId];c.group.ignore||(o.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return Pe(o,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",i=this.group,o=Math.min,a=Math.max,s=1/0;if(ED[i]){var l=s,u=s,c=-s,f=-s,d=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();Pe(Lm,function(R,A){if(R.group===i){var x=r?R.getZr().painter.getSvgDom().innerHTML:R.renderToCanvas(Vn(n)),S=R.getDom().getBoundingClientRect();l=o(S.left,l),u=o(S.top,u),c=a(S.right,c),f=a(S.bottom,f),d.push({dom:x,left:S.left,top:S.top})}}),l*=h,u*=h,c*=h,f*=h;var p=c-l,v=f-u,g=ly.createCanvas(),m=BW(g,{renderer:r?"svg":"canvas"});if(m.resize({width:p,height:v}),r){var y="";return Pe(d,function(R){var A=R.left-l,x=R.top-u;y+=''+R.dom+""}),m.painter.getSvgRoot().innerHTML=y,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new Oi({shape:{x:0,y:0,width:p,height:v},style:{fill:n.connectedBackgroundColor}})),Pe(d,function(R){var A=new Al({style:{x:R.left*h-l,y:R.top*h-u,image:R.dom}});m.add(A)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return NL(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return NL(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var i=this._model,o,a=iL(i,n);return Pe(a,function(s,l){l.indexOf("Models")>=0&&Pe(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)o=o||!!c.containPoint(r);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(o=o||f.containPoint(r,u))}},this)},this),!!o},t.prototype.getVisual=function(n,r){var i=this._model,o=iL(i,n,{defaultMainType:"series"}),a=o.seriesModel,s=a.getData(),l=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?s.indexOfRawIndex(o.dataIndex):null;return l!=null?gOe(s,l,r):mOe(s,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;Pe(cke,function(r){var i=function(o){var a=n.getModel(),s=o.target,l,u=r==="globalout";if(u?l={}:s&&RR(s,function(p){var v=wr(p);if(v&&v.dataIndex!=null){var g=v.dataModel||a.getSeriesByIndex(v.seriesIndex);return l=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return l=pt({},v.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var d=c&&f!=null&&a.getComponent(c,f),h=d&&n[d.mainType==="series"?"_chartsMap":"_componentsMap"][d.__viewId];l.event=o,l.type=r,n._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:d,view:h},n.trigger(r,l)}};i.zrEventfulCallAtLast=!0,n._zr.on(r,i,n)}),Pe(Mm,function(r,i){n._messageCenter.on(i,function(o){this.trigger(i,o)},n)}),Pe(["selectchanged"],function(r){n._messageCenter.on(r,function(i){this.trigger(r,i)},n)}),AOe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&qJ(this.getDom(),AP,"");var r=this,i=r._api,o=r._model;Pe(r._componentsViews,function(a){a.dispose(o,i)}),Pe(r._chartsViews,function(a){a.dispose(o,i)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Lm[r.id]},t.prototype.resize=function(n){if(!this[eo]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),o=n&&n.silent;this[Bo]&&(o==null&&(o=this[Bo].silent),i=!0,this[Bo]=null),this[eo]=!0;try{i&&ep(this),Dc.update.call(this,{type:"resize",animation:pt({duration:0},n&&n.animation)})}catch(a){throw this[eo]=!1,a}this[eo]=!1,Y1.call(this,o),Z1.call(this,o)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(rn(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!a_[n]){var i=a_[n](this._api,r),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=pt({},n);return r.type=Mm[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(rn(r)||(r={silent:!!r}),!!pS[n.type]&&this._model){if(this[eo]){this._pendingActions.push(n);return}var i=r.silent;EL.call(this,n,i);var o=r.flush;o?this._zr.flush():o!==!1&&or.browser.weChat&&this._throttledZrFlush(),Y1.call(this,i),Z1.call(this,i)}},t.prototype.updateLabelLayout=function(){qs.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(r);o.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){ep=function(f){var d=f._scheduler;d.restorePipelines(f._model),d.prepareStageTasks(),IL(f,!0),IL(f,!1),d.plan()},IL=function(f,d){for(var h=f._model,p=f._scheduler,v=d?f._componentsViews:f._chartsViews,g=d?f._componentsMap:f._chartsMap,m=f._zr,y=f._api,R=0;Rd.get("hoverLayerThreshold")&&!or.node&&!or.worker&&d.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=f._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function a(f,d){var h=f.get("blendMode")||null;d.eachRendered(function(p){p.isGroup||(p.style.blend=h)})}function s(f,d){if(!f.preventAutoZ){var h=f.get("z")||0,p=f.get("zlevel")||0;d.eachRendered(function(v){return l(v,h,p,-1/0),!0})}}function l(f,d,h,p){var v=f.getTextContent(),g=f.getTextGuideLine(),m=f.isGroup;if(m)for(var y=f.childrenRef(),R=0;R0?{duration:v,delay:h.get("delay"),easing:h.get("easing")}:null;d.eachRendered(function(m){if(m.states&&m.states.emphasis){if(bm(m))return;if(m instanceof Jn&&RTe(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(p){m.stateTransition=g;var R=m.getTextContent(),A=m.getTextGuideLine();R&&(R.stateTransition=g),A&&(A.stateTransition=g)}m.__dirty&&i(m)}})}ND=function(f){return new(function(d){St(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(p){for(;p;){var v=p.__ecComponentInfo;if(v!=null)return f._model.getComponent(v.mainType,v.index);p=p.parent}},h.prototype.enterEmphasis=function(p,v){nS(p,v),rs(f)},h.prototype.leaveEmphasis=function(p,v){rS(p,v),rs(f)},h.prototype.enterBlur=function(p){cTe(p),rs(f)},h.prototype.leaveBlur=function(p){v$(p),rs(f)},h.prototype.enterSelect=function(p){g$(p),rs(f)},h.prototype.leaveSelect=function(p){m$(p),rs(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(p){return f.getViewOfComponentModel(p)},h.prototype.getViewOfSeriesModel=function(p){return f.getViewOfSeriesModel(p)},h}(rj))(f)},Bj=function(f){function d(h,p){for(var v=0;v=0)){XD.push(n);var o=bj.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function Gj(e,t){a_[e]=t}function yke(e,t,n){var r=zOe("registerMap");r&&r(e,t,n)}var Ake=I_e;v0(mP,q_e);v0(z3,eOe);v0(z3,tOe);v0(mP,pOe);v0(z3,vOe);v0(Ej,KOe);Hj(oj);Kj(jOe,g_e);Gj("default",nOe);t1({type:Eh,event:Eh,update:Eh},Ba);t1({type:Tb,event:Tb,update:Tb},Ba);t1({type:ym,event:ym,update:ym},Ba);t1({type:_b,event:_b,update:_b},Ba);t1({type:Am,event:Am,update:Am},Ba);Qj("light",dOe);Qj("dark",Mj);function Q1(e){return e==null?0:e.length||1}function WD(e){return e}var Rke=function(){function e(t,n,r,i,o,a){this._old=t,this._new=n,this._oldKeyGetter=r||WD,this._newKeyGetter=i||WD,this.context=o,this._diffModeMultiple=a==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},i=new Array(t.length),o=new Array(n.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(n,r,o,"_newKeyGetter");for(var a=0;a1){var c=l.shift();l.length===1&&(r[s]=l[0]),this._update&&this._update(c,a)}else u===1?(r[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(n,i,a,"_newKeyGetter");for(var s=0;s1&&d===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(f===1&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(f===1&&d===1)this._update&&this._update(c,u),i[l]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var h=0;h1)for(var s=0;s30}var H1=rn,Uc=_t,Tke=typeof Int32Array>"u"?Array:Int32Array,_ke="e\0\0",VD=-1,Oke=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],kke=["_approximateExtent"],DD,wR,K1,G1,VL,MR,DL,eq=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,i=!1;Jj(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var o={},a=[],s={},l=!1,u={},c=0;c=n)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,l=s===Ns;if(l&&!i.pure)for(var u=[],c=t;c0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var o=i[n];return o==null&&(o=this.getVisual(n),It(o)?o=o.slice():H1(o)&&(o=pt({},o)),i[n]=o),o},e.prototype.setItemVisual=function(t,n,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,H1(n)?pt(i,n):i[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){H1(t)?pt(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?pt(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;eTe(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){Pe(this._graphicEls,function(r,i){r&&t&&t.call(n,r,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Uc(this.dimensions,this._getDimInfo,this),this.hostModel)),VL(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];An(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return n.apply(this,[i].concat(Fk(arguments)))})},e.internalField=function(){DD=function(t){var n=t._invertedIndicesMap;Pe(n,function(r,i){var o=t._dimInfos[i],a=o.ordinalMeta,s=t._store;if(a){r=n[i]=new Tke(a.categories.length);for(var l=0;l1&&(l+="__ec__"+c),i[n]=l}}}(),e}();function tq(e,t){dP(e)||(e=aj(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=xn(),o=[],a=Cke(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&qj(a),l=r===e.dimensionsDefine,u=l?jj(e):$j(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,a));for(var f=xn(c),d=new pj(a),h=0;h0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function Cke(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return Pe(t,function(o){var a;rn(o)&&(a=o.dimsDef)&&(i=Math.max(i,a.length))}),i}function Ike(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var Nke=function(){function e(t){this.coordSysDims=[],this.axisMap=xn(),this.categoryAxisMap=xn(),this.coordSysName=t}return e}();function Fke(e){var t=e.get("coordinateSystem"),n=new Nke(t),r=Eke[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var Eke={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",ul).models[0],o=e.getReferringComponents("yAxis",ul).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),tp(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),tp(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",ul).models[0];t.coordSysDims=["single"],n.set("single",i),tp(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",ul).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),tp(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),tp(a)&&(r.set("angle",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Pe(o.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),c=a[l];n.set(c,u),tp(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function tp(e){return e.get("type")==="category"}function Xke(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,o,a,s;Wke(t)?o=t:(a=t.schema,o=a.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,f,d;if(Pe(o,function(y,R){Qt(y)&&(o[R]=y={name:y}),l&&!y.isExtraCoord&&(!r&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!r&&!u&&(r=!0),c){f="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,p=c.type,v=0;Pe(o,function(y){y.coordDim===h&&v++});var g={name:f,coordDim:h,coordDimIndex:v,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},m={name:d,coordDim:d,coordDimIndex:v+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(s&&(g.storeDimIndex=s.ensureCalculationDimension(d,p),m.storeDimIndex=s.ensureCalculationDimension(f,p)),a.appendCalculationDimension(g),a.appendCalculationDimension(m)):(o.push(g),o.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:d,stackResultDimension:f}}function Wke(e){return!Jj(e.schema)}function Pv(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Vke(e,t){return Pv(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Dke(e,t){var n=e.get("coordinateSystem"),r=fP.get(n),i;return t&&t.coordSysDims&&(i=_t(t.coordSysDims,function(o){var a={name:o},s=t.axisMap.get(o);if(s){var l=s.get("type");a.type=Ske(l)}return a})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function Uke(e,t,n){var r,i;return n&&Pe(e,function(o,a){var s=o.coordDim,l=n.categoryAxisMap.get(s);l&&(r==null&&(r=a),o.ordinalMeta=l.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function J3(e,t,n){n=n||{};var r=t.getSourceManager(),i,o=!1;i=r.getSource(),o=i.sourceFormat===Ns;var a=Fke(t),s=Dke(t,a),l=n.useEncodeDefaulter,u=An(l)?l:l?Fa(Q6e,s,t):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},f=tq(i,c),d=Uke(f.dimensions,n.createInvertedIndices,a),h=o?null:r.getSharedDataStore(f),p=Xke(t,{schema:f,store:h}),v=new eq(f,t);v.setCalculationInfo(p);var g=d!=null&&Bke(i)?function(m,y,R,A){return A===d?R:this.defaultDimValueGetter(m,y,R,A)}:null;return v.hasItemOption=!1,v.initData(o?i:h,null,g),v}function Bke(e){if(e.sourceFormat===Ns){var t=Yke(e.data||[]);return!It(fy(t))}}function Yke(e){for(var t=0;tn[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();k3(Su);var Zke=0,s_=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Zke}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&_t(r,Qke);return new e({categories:i,needCollect:!i,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!Qt(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var i=this._getOrCreateMap();return n=i.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=xn(this.categories))},e}();function Qke(e){return rn(e)&&e.value!=null?e.value:e+""}function l_(e){return e.type==="interval"||e.type==="log"}function Hke(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=GJ(o/t);n!=null&&ar&&(a=i.interval=r);var s=i.intervalPrecision=nq(a),l=i.niceTickExtent=[ui(Math.ceil(e[0]/a)*a,s),ui(Math.floor(e[1]/a)*a,s)];return Kke(l,e),i}function UL(e){var t=Math.pow(10,Yk(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,ui(n*t)}function nq(e){return tc(e)+2}function UD(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function Kke(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),UD(e,0,t),UD(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function $3(e,t){return e>=t[0]&&e<=t[1]}function j3(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function q3(e,t){return e*(t[1]-t[0])+t[0]}var xP=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new s_({})),It(i)&&(i=new s_({categories:_t(i,function(o){return rn(o)?o.value:o})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:Qt(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),$3(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),j3(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(q3(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,i=r[0];i<=r[1];)n.push({value:i}),i++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],a=0,s=this._ordinalMeta.categories.length,l=Math.min(s,r.length);a=0&&n=0&&n=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Su);Su.registerClass(xP);var Jd=ui,td=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return $3(n,this._extent)},t.prototype.normalize=function(n){return j3(n,this._extent)},t.prototype.scale=function(n){return q3(n,this._extent)},t.prototype.setExtent=function(n,r){var i=this._extent;isNaN(n)||(i[0]=parseFloat(n)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=nq(n)},t.prototype.getTicks=function(n){var r=this._interval,i=this._extent,o=this._niceExtent,a=this._intervalPrecision,s=[];if(!r)return s;var l=1e4;i[0]l)return[];var c=s.length?s[s.length-1].value:o[1];return i[1]>c&&(n?s.push({value:Jd(c+r,a)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),i=[],o=this.getExtent(),a=1;ao[0]&&h0&&(o=o===null?s:Math.min(o,s))}n[r]=o}}return n}function oq(e){var t=Jke(e),n=[];return Pe(e,function(r){var i=r.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent(),s;if(o.type==="category")s=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var l=o.dim+"_"+o.index,u=t[l],c=Math.abs(a[1]-a[0]),f=o.scale.getExtent(),d=Math.abs(f[1]-f[0]);s=u?c/d*u:c}else{var h=r.getData();s=Math.abs(a[1]-a[0])/h.count()}var p=mr(r.get("barWidth"),s),v=mr(r.get("barMaxWidth"),s),g=mr(r.get("barMinWidth")||(sq(r)?.5:1),s),m=r.get("barGap"),y=r.get("barCategoryGap");n.push({bandWidth:s,barWidth:p,barMaxWidth:v,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:wP(o),stackId:SP(r)})}),$ke(n)}function $ke(e){var t={};Pe(e,function(r,i){var o=r.axisKey,a=r.bandWidth,s=t[o]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[o]=s;var u=r.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=r.barMaxWidth;f&&(l[u].maxWidth=f);var d=r.barMinWidth;d&&(l[u].minWidth=d);var h=r.barGap;h!=null&&(s.gap=h);var p=r.barCategoryGap;p!=null&&(s.categoryGap=p)});var n={};return Pe(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,s=r.categoryGap;if(s==null){var l=Dn(o).length;s=Math.max(35-l*4,15)+"%"}var u=mr(s,a),c=mr(r.gap,1),f=r.remainedWidth,d=r.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),Pe(o,function(m){var y=m.maxWidth,R=m.minWidth;if(m.width){var A=m.width;y&&(A=Math.min(A,y)),R&&(A=Math.max(A,R)),m.width=A,f-=A+c*A,d--}else{var A=h;y&&yA&&(A=R),A!==h&&(m.width=A,f-=A+c*A,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var p=0,v;Pe(o,function(m,y){m.width||(m.width=h),v=m,p+=m.width*(1+c)}),v&&(p-=v.width*c);var g=-p/2;Pe(o,function(m,y){n[i][y]=n[i][y]||{bandWidth:a,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function jke(e,t,n){if(e&&t){var r=e[wP(t)];return r!=null&&n!=null?r[SP(n)]:r}}function qke(e,t){var n=iq(e,t),r=oq(n);Pe(n,function(i){var o=i.getData(),a=i.coordinateSystem,s=a.getBaseAxis(),l=SP(i),u=r[wP(s)][l],c=u.offset,f=u.width;o.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function ePe(e){return{seriesType:e,plan:vP(),reset:function(t){if(aq(t)){var n=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),o=r.getOtherAxis(i),a=n.getDimensionIndex(n.mapDimension(o.dim)),s=n.getDimensionIndex(n.mapDimension(i.dim)),l=t.get("showBackground",!0),u=n.mapDimension(o.dim),c=n.getCalculationInfo("stackResultDimension"),f=Pv(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),d=o.isHorizontal(),h=tPe(i,o),p=sq(t),v=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),y=n.getLayout("offset");return{progress:function(R,A){for(var x=R.count,S=p&&nc(x*3),L=p&&l&&nc(x*3),w=p&&nc(x),M=r.master.getRect(),_=d?M.width:M.height,P,k=A.getStore(),F=0;(P=R.next())!=null;){var C=k.get(f?g:a,P),N=k.get(s,P),I=h,W=void 0;f&&(W=+C-k.get(a,P));var D=void 0,Y=void 0,re=void 0,B=void 0;if(d){var Z=r.dataToPoint([C,N]);if(f){var Q=r.dataToPoint([W,N]);I=Q[0]}D=I,Y=Z[1]+y,re=Z[0]-I,B=m,Math.abs(re)0?n:1:n))}var nPe=function(e,t,n,r){for(;n>>1;e[i][1]i&&(this._approxInterval=i);var s=LR.length,l=Math.min(nPe(LR,this._approxInterval,0,s),s-1);this._interval=LR[l][1],this._minLevelUnit=LR[Math.max(l-1,0)][0]},t.prototype.parse=function(n){return Ar(n)?n:+$f(n)},t.prototype.contain=function(n){return $3(this.parse(n),this._extent)},t.prototype.normalize=function(n){return j3(this.parse(n),this._extent)},t.prototype.scale=function(n){return q3(n,this._extent)},t.type="time",t}(td),LR=[["second",iP],["minute",oP],["hour",xm],["quarter-day",xm*6],["half-day",xm*12],["day",As*1.2],["half-week",As*3.5],["week",As*7],["month",As*31],["quarter",As*95],["half-year",IV/2],["year",IV]];function rPe(e,t,n,r){var i=$f(t),o=$f(n),a=function(p){return FV(i,p,r)===FV(o,p,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},f=function(){return c()&&a("minute")},d=function(){return f()&&a("second")},h=function(){return d()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return d();case"millisecond":return h()}}function iPe(e,t){return e/=As,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function oPe(e){var t=30*As;return e/=t,e>6?6:e>3?3:e>2?2:1}function aPe(e){return e/=xm,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function BD(e,t){return e/=t?oP:iP,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function sPe(e){return GJ(e)}function lPe(e,t,n){var r=new Date(e);switch(lv(t)){case"year":case"month":r[Z$(n)](0);case"day":r[Q$(n)](1);case"hour":r[H$(n)](0);case"minute":r[K$(n)](0);case"second":r[G$(n)](0),r[z$(n)](0)}return r.getTime()}function uPe(e,t,n,r){var i=1e4,o=U$,a=0;function s(_,P,k,F,C,N,I){for(var W=new Date(P),D=P,Y=W[F]();D1&&N===0&&k.unshift({value:k[0].value-D})}}for(var N=0;N=r[0]&&y<=r[1]&&f++)}var R=(r[1]-r[0])/t;if(f>R*1.5&&d>R/1.5||(u.push(g),f>R||e===o[h]))break}c=[]}}}for(var A=ao(_t(u,function(_){return ao(_,function(P){return P.value>=r[0]&&P.value<=r[1]&&!P.notAdd})}),function(_){return _.length>0}),x=[],S=A.length-1,h=0;h0;)o*=10;var s=[ui(dPe(r[0]/o)*o),ui(fPe(r[1]/o)*o)];this._interval=o,this._niceExtent=s}},t.prototype.calcNiceExtent=function(n){Tm.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=Bs(n)/Bs(this.base),$3(n,this._extent)},t.prototype.normalize=function(n){return n=Bs(n)/Bs(this.base),j3(n,this._extent)},t.prototype.scale=function(n){return n=q3(n,this._extent),TR(this.base,n)},t.type="log",t}(Su),uq=MP.prototype;uq.getMinorTicks=Tm.getMinorTicks;uq.getLabel=Tm.getLabel;function _R(e,t){return cPe(e,tc(t))}Su.registerClass(MP);var hPe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var d=this._determinedMin,h=this._determinedMax;return d!=null&&(s=d,u=!0),h!=null&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,n){this[vPe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=pPe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),pPe={min:"_determinedMin",max:"_determinedMax"},vPe={min:"_dataMin",max:"_dataMax"};function gPe(e,t,n){var r=e.rawExtentInfo;return r||(r=new hPe(e,t,n),e.rawExtentInfo=r,r)}function OR(e,t){return t==null?null:Qx(t)?NaN:e.parse(t)}function cq(e,t){var n=e.type,r=gPe(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&n==="time"){var s=iq("bar",a),l=!1;if(Pe(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=oq(s),c=mPe(i,o,t,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function mPe(e,t,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=jke(r,n.axis);if(a===void 0)return{min:e,max:t};var s=1/0;Pe(a,function(h){s=Math.min(h.offset,s)});var l=-1/0;Pe(a,function(h){l=Math.max(h.offset+h.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=1-(s+l)/o,d=c/f-c;return t+=d*(l/u),e-=d*(s/u),{min:e,max:t}}function ZD(e,t){var n=t,r=cq(e,n),i=r.extent,o=n.get("splitNumber");e instanceof MP&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l=a==="interval"||a==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function yPe(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new xP({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new lq({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Su.getClass(t)||td)}}function APe(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function n1(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(i,o){return e.scale.getFormattedLabel(i,o,r)}}(t):Qt(t)?function(r){return function(i){var o=e.scale.getLabel(i),a=r.replace("{value}",o??"");return a}}(t):An(t)?function(r){return function(i,o){return n!=null&&(o=i.value-n),r(RPe(e,i),o,i.level!=null?{level:i.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function RPe(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function bPe(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,i,o=n.getExtent();n instanceof xP?i=n.count():(r=n.getTicks(),i=r.length);var a=e.getLabelModel(),s=n1(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c=0||(QD.push(e),An(e)&&(e={install:e}),e.install(wPe))}var w2=Ii();function hq(e,t){var n=_t(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function MPe(e){var t=e.getLabelModel().get("customValues");if(t){var n=n1(e);return{labels:hq(e,t).map(function(r){var i={value:r};return{formattedLabel:n(i),rawLabel:e.scale.getLabel(i),tickValue:r}})}}return e.type==="category"?TPe(e):OPe(e)}function LPe(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:hq(e,n)}:e.type==="category"?_Pe(e,t):{ticks:_t(e.scale.getTicks(),function(r){return r.value})}}function TPe(e){var t=e.getLabelModel(),n=pq(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function pq(e,t){var n=vq(e,"labels"),r=LP(t),i=gq(n,r);if(i)return i;var o,a;return An(r)?o=Aq(e,r):(a=r==="auto"?kPe(e):r,o=yq(e,a)),mq(n,r,{labels:o,labelCategoryInterval:a})}function _Pe(e,t){var n=vq(e,"ticks"),r=LP(t),i=gq(n,r);if(i)return i;var o,a;if((!t.get("show")||e.scale.isBlank())&&(o=[]),An(r))o=Aq(e,r,!0);else if(r==="auto"){var s=pq(e,e.getLabelModel());a=s.labelCategoryInterval,o=_t(s.labels,function(l){return l.tickValue})}else a=r,o=yq(e,a,!0);return mq(n,r,{ticks:o,tickCategoryInterval:a})}function OPe(e){var t=e.scale.getTicks(),n=n1(e);return{labels:_t(t,function(r,i){return{level:r.level,formattedLabel:n(r,i),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function vq(e,t){return w2(e)[t]||(w2(e)[t]=[])}function gq(e,t){for(var n=0;n40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;l<=o[1];l+=s){var p=0,v=0,g=YJ(n({value:l}),t.font,"center","top");p=g.width*1.3,v=g.height*1.3,d=Math.max(d,p,7),h=Math.max(h,v,7)}var m=d/c,y=h/f;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var R=Math.max(0,Math.floor(Math.min(m,y))),A=w2(e.model),x=e.getExtent(),S=A.lastAutoInterval,L=A.lastTickCount;return S!=null&&L!=null&&Math.abs(S-R)<=1&&Math.abs(L-a)<=1&&S>R&&A.axisExtent0===x[0]&&A.axisExtent1===x[1]?R=S:(A.lastTickCount=a,A.lastAutoInterval=R,A.axisExtent0=x[0],A.axisExtent1=x[1]),R}function CPe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function yq(e,t,n){var r=n1(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=fq(e),d=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;d&&u!==o[0]&&v(o[0]);for(var p=u;p<=o[1];p+=l)v(p);h&&p-l!==o[1]&&v(o[1]);function v(g){var m={value:g};s.push(n?g:{formattedLabel:r(m),rawLabel:i.getLabel(m),tickValue:g})}return s}function Aq(e,t,n){var r=e.scale,i=n1(e),o=[];return Pe(r.getTicks(),function(a){var s=r.getLabel(a),l=a.value;t(a.value,s)&&o.push(n?l:{formattedLabel:i(a),rawLabel:s,tickValue:l})}),o}var HD=[0,1],Rq=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=r&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return ELe(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),KD(r,i.count())),X6(t,HD,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),KD(r,i.count()));var o=X6(t,r,HD,n);return this.scale.scale(o)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=LPe(this,n),i=r.ticks,o=_t(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),a=n.get("alignWithLabel");return IPe(this,o,a,t.clamp),o},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),i=_t(r,function(o){return _t(o,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return i},e.prototype.getViewLabels=function(){return MPe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},e.prototype.calculateCategoryInterval=function(){return PPe(this)},e}();function KD(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function IPe(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o=e.getExtent(),a,s;if(i===1)t[0].coord=o[0],a=t[1]={coord:o[1]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;Pe(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[i-1].tickValue,a={coord:t[i-1].coord+u*s},t.push(a)}var f=o[0]>o[1];d(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&d(o[0],t[0].coord)&&t.unshift({coord:o[0]}),d(o[1],a.coord)&&(r?a.coord=o[1]:t.pop()),r&&d(a.coord,o[1])&&t.push({coord:o[1]});function d(h,p){return h=ui(h),p=ui(p),f?h>p:h0){t=t/180*Math.PI,Mf.fromArray(e[0]),Zr.fromArray(e[1]),Bi.fromArray(e[2]),cn.sub(Lf,Mf,Zr),cn.sub(jl,Bi,Zr);var n=Lf.len(),r=jl.len();if(!(n<.001||r<.001)){Lf.scale(1/n),jl.scale(1/r);var i=Lf.dot(jl),o=Math.cos(t);if(o1&&cn.copy(_o,Bi),_o.toArray(e[1])}}}}function FPe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Mf.fromArray(e[0]),Zr.fromArray(e[1]),Bi.fromArray(e[2]),cn.sub(Lf,Zr,Mf),cn.sub(jl,Bi,Zr);var r=Lf.len(),i=jl.len();if(!(r<.001||i<.001)){Lf.scale(1/r),jl.scale(1/i);var o=Lf.dot(t),a=Math.cos(n);if(o=l)cn.copy(_o,Bi);else{_o.scaleAndAdd(jl,s/Math.tan(Math.PI/2-c));var f=Bi.x!==Zr.x?(_o.x-Zr.x)/(Bi.x-Zr.x):(_o.y-Zr.y)/(Bi.y-Zr.y);if(isNaN(f))return;f<0?cn.copy(_o,Zr):f>1&&cn.copy(_o,Bi)}_o.toArray(e[1])}}}}function BL(e,t,n,r){var i=n==="normal",o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&a===!0&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function EPe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=R6(r[0],r[1]),o=R6(r[1],r[2]);if(!i||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*n,s=W5([],r[1],r[0],a/i),l=W5([],r[1],r[2],a/o),u=W5([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&x(-c/a,0,a);var v=e[0],g=e[a-1],m,y;R(),m<0&&S(-m,.8),y<0&&S(y,.8),R(),A(m,y,1),A(y,m,-1),R(),m<0&&L(-m),y<0&&L(y);function R(){m=v.rect[t]-r,y=i-g.rect[t]-g.rect[n]}function A(w,M,_){if(w<0){var P=Math.min(M,-w);if(P>0){x(P*_,0,a);var k=P+w;k<0&&S(-k*_,1)}else S(-w*_,1)}}function x(w,M,_){w!==0&&(u=!0);for(var P=M;P<_;P++){var k=e[P],F=k.rect;F[t]+=w,k.label[t]+=w}}function S(w,M){for(var _=[],P=0,k=1;k0)for(var k=0;k0;k--){var I=_[k-1]*N;x(-I,k,a)}}}function L(w){var M=w<0?-1:1;w=Math.abs(w);for(var _=Math.ceil(w/(a-1)),P=0;P0?x(_,0,P+1):x(-_,a-P-1,a),w-=_,w<=0)return}return u}function UPe(e,t,n,r){return DPe(e,"y","height",t,n,r)}function BPe(e){var t=[];e.sort(function(v,g){return g.priority-v.priority});var n=new dr(0,0,0,0);function r(v){if(!v.ignore){var g=v.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}v.ignore=!0}for(var i=0;i-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ha);function TP(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var i=kv(e,t,n[0]);return i!=null?i+"":null}else if(r){for(var o=[],a=0;a=0&&r.push(t[o])}return r.join(" ")}var _P=function(e){St(t,e);function t(n,r,i,o){var a=e.call(this)||this;return a.updateData(n,r,i,o),a}return t.prototype._createSymbol=function(n,r,i,o,a){this.removeAll();var s=ed(n,-1,-1,2,2,null,a);s.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),s.drift=ZPe,this._symbolType=n,this.add(s)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){nS(this.childAt(0))},t.prototype.downplay=function(){rS(this.childAt(0))},t.prototype.setZ=function(n,r){var i=this.childAt(0);i.zlevel=n,i.z=r},t.prototype.setDraggable=function(n,r){var i=this.childAt(0);i.draggable=n,i.cursor=!r&&n?"move":i.cursor},t.prototype.updateData=function(n,r,i,o){this.silent=!1;var a=n.getItemVisual(r,"symbol")||"circle",s=n.hostModel,l=t.getSymbolSize(n,r),u=a!==this._symbolType,c=o&&o.disableAnimation;if(u){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,n,r,l,f)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:l[0]/2,scaleY:l[1]/2};c?d.attr(h):go(d,h,s,r),v2(d)}if(this._updateCommon(n,r,l,i,o),u){var d=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,sa(d,h,s,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,i,o,a){var s=this.childAt(0),l=n.hostModel,u,c,f,d,h,p,v,g,m;if(o&&(u=o.emphasisItemStyle,c=o.blurItemStyle,f=o.selectItemStyle,d=o.focus,h=o.blurScope,v=o.labelStatesModels,g=o.hoverScale,m=o.cursorStyle,p=o.emphasisDisabled),!o||n.hasItemOption){var y=o&&o.itemModel?o.itemModel:n.getItemModel(r),R=y.getModel("emphasis");u=R.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),d=R.get("focus"),h=R.get("blurScope"),p=R.get("disabled"),v=qv(y),g=R.getShallow("scale"),m=y.getShallow("cursor")}var A=n.getItemVisual(r,"symbolRotate");s.attr("rotation",(A||0)*Math.PI/180||0);var x=Tj(n.getItemVisual(r,"symbolOffset"),i);x&&(s.x=x[0],s.y=x[1]),m&&s.attr("cursor",m);var S=n.getItemVisual(r,"style"),L=S.fill;if(s instanceof Al){var w=s.style;s.useStyle(pt({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},S))}else s.__isEmptyBrush?s.useStyle(pt({},S)):s.useStyle(S),s.style.decal=null,s.setColor(L,a&&a.symbolInnerColor),s.style.strokeNoScale=!0;var M=n.getItemVisual(r,"liftZ"),_=this._z2;M!=null?_==null&&(this._z2=s.z2,s.z2+=M):_!=null&&(s.z2=_,this._z2=null);var P=a&&a.useNameLabel;jv(s,v,{labelFetcher:l,labelDataIndex:r,defaultText:k,inheritColor:L,defaultOpacity:S.opacity});function k(N){return P?n.getName(N):TP(n,N)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var F=s.ensureState("emphasis");F.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var C=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;F.scaleX=this._sizeX*C,F.scaleY=this._sizeY*C,this.setSymbolScale(1),Tv(this,d,h,p)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,i){var o=this.childAt(0),a=wr(this).dataIndex,s=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var l=o.getTextContent();l&&oS(l,{style:{opacity:0}},r,{dataIndex:a,removeOpt:s,cb:function(){o.removeTextContent()}})}else o.removeTextContent();oS(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:n,removeOpt:s})},t.getSymbolSize=function(n,r){return Lj(n.getItemVisual(r,"symbolSize"))},t}(Ai);function ZPe(e,t){this.parent.drift(e,t)}function YL(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function GD(e){return e!=null&&!rn(e)&&(e={isIgnore:e}),e||{}}function zD(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:qv(t),cursorStyle:t.get("cursor")}}var Sq=function(){function e(t){this.group=new Ai,this._SymbolCtor=t||_P}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=GD(n);var r=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=n.disableAnimation,l=zD(t),u={disableAnimation:s},c=n.getSymbolPoint||function(f){return t.getItemLayout(f)};o||r.removeAll(),t.diff(o).add(function(f){var d=c(f);if(YL(t,d,f,n)){var h=new a(t,f,l,u);h.setPosition(d),t.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,d){var h=o.getItemGraphicEl(d),p=c(f);if(!YL(t,p,f,n)){r.remove(h);return}var v=t.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==v)r.remove(h),h=new a(t,f,l,u),h.setPosition(p);else{h.updateData(t,f,l,u);var m={x:p[0],y:p[1]};s?h.attr(m):go(h,m,i)}r.add(h),t.setItemGraphicEl(f,h)}).remove(function(f){var d=o.getItemGraphicEl(f);d&&d.fadeOut(function(){r.remove(d)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,i){var o=t._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=zD(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=GD(r);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o0?n=r[0]:r[1]<0&&(n=r[1]),n}function Mq(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}function HPe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,i){n.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function KPe(e,t,n,r,i,o,a,s){for(var l=HPe(e,t),u=[],c=[],f=[],d=[],h=[],p=[],v=[],g=wq(i,t,a),m=e.getLayout("points")||[],y=t.getLayout("points")||[],R=0;R=i||v<0)break;if(Xh(m,y)){if(l){v+=o;continue}break}if(v===n)e[o>0?"moveTo":"lineTo"](m,y),f=m,d=y;else{var R=m-u,A=y-c;if(R*R+A*A<.5){v+=o;continue}if(a>0){for(var x=v+o,S=t[x*2],L=t[x*2+1];S===m&&L===y&&g=r||Xh(S,L))h=m,p=y;else{_=S-u,P=L-c;var C=m-u,N=S-m,I=y-c,W=L-y,D=void 0,Y=void 0;if(s==="x"){D=Math.abs(C),Y=Math.abs(N);var re=_>0?1:-1;h=m-re*D*a,p=y,k=m+re*Y*a,F=y}else if(s==="y"){D=Math.abs(I),Y=Math.abs(W);var B=P>0?1:-1;h=m,p=y-B*D*a,k=m,F=y+B*Y*a}else D=Math.sqrt(C*C+I*I),Y=Math.sqrt(N*N+W*W),M=Y/(Y+D),h=m-_*a*(1-M),p=y-P*a*(1-M),k=m+_*a*M,F=y+P*a*M,k=Bc(k,Yc(S,m)),F=Bc(F,Yc(L,y)),k=Yc(k,Bc(S,m)),F=Yc(F,Bc(L,y)),_=k-m,P=F-y,h=m-_*D/Y,p=y-P*D/Y,h=Bc(h,Yc(u,m)),p=Bc(p,Yc(c,y)),h=Yc(h,Bc(u,m)),p=Yc(p,Bc(c,y)),_=m-h,P=y-p,k=m+_*Y/D,F=y+P*Y/D}e.bezierCurveTo(f,d,h,p,m,y),f=k,d=F}else e.lineTo(m,y)}u=m,c=y,v+=o}return g}var Lq=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),GPe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lq},t.prototype.buildPath=function(n,r){var i=r.points,o=0,a=i.length/2;if(r.connectNulls){for(;a>0&&Xh(i[a*2-2],i[a*2-1]);a--);for(;o=0){var A=u?(p-l)*R+l:(h-s)*R+s;return u?[n,A]:[A,n]}s=h,l=p;break;case a.C:h=o[f++],p=o[f++],v=o[f++],g=o[f++],m=o[f++],y=o[f++];var x=u?Kx(s,h,v,m,n,c):Kx(l,p,g,y,n,c);if(x>0)for(var S=0;S=0){var A=u?Qi(l,p,g,y,L):Qi(s,h,v,m,L);return u?[n,A]:[A,n]}}s=m,l=y;break}}},t}(Jn),zPe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Lq),JPe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new zPe},t.prototype.buildPath=function(n,r){var i=r.points,o=r.stackedOnPoints,a=0,s=i.length/2,l=r.smoothMonotone;if(r.connectNulls){for(;s>0&&Xh(i[s*2-2],i[s*2-1]);s--);for(;at){o?n.push(a(o,l,t)):i&&n.push(a(i,l,0),a(i,l,t));break}else i&&(n.push(a(i,l,0)),i=null),n.push(l),o=l}return n}function eCe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){o=r[a];break}}if(o){var l=t.getAxis(i),u=_t(o.stops,function(R){return{coord:l.toGlobalCoord(l.dataToCoord(R.value)),color:R.color}}),c=u.length,f=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var d=qPe(u,i==="x"?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=10,v=d[0].coord-p,g=d[h-1].coord+p,m=g-v;if(m<.001)return"transparent";Pe(d,function(R){R.offset=(R.coord-v)/m}),d.push({offset:h?d[h-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:f[0]||"transparent"});var y=new _$(0,0,0,0,d,!0);return y[i]=v,y[i+"2"]=g,y}}}function tCe(e,t,n){var r=e.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(i&&nCe(o,t))){var a=t.mapDimension(o.dim),s={};return Pe(o.getViewLabels(),function(l){var u=o.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(a,l))}}}}function nCe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function rCe(e,t){return isNaN(e)||isNaN(t)}function iCe(e){for(var t=e.length/2;t>0&&rCe(e[t*2-2],e[t*2-1]);t--);return t-1}function eU(e,t){return[e[t*2],e[t*2+1]]}function oCe(e,t,n){for(var r=e.length/2,i=n==="x"?0:1,o,a,s=0,l=-1,u=0;u=t||o>=t&&a<=t){l=u;break}s=u,o=a}return{range:[s,l],t:(t-o)/(a-o)}}function Oq(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var re=v.getState("emphasis").style;re.lineWidth=+v.style.lineWidth+1}wr(v).seriesIndex=n.seriesIndex,Tv(v,W,D,Y);var B=qD(n.get("smooth")),Z=n.get("smoothMonotone");if(v.setShape({smooth:B,smoothMonotone:Z,connectNulls:w}),g){var Q=l.getCalculationInfo("stackedOnSeries"),G=0;g.useStyle(En(c.getAreaStyle(),{fill:F,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),Q&&(G=qD(Q.get("smooth"))),g.setShape({smooth:B,stackedOnSmooth:G,smoothMonotone:Z,connectNulls:w}),_v(g,n,"areaStyle"),wr(g).seriesIndex=n.seriesIndex,Tv(g,W,D,Y)}var ee=function($){o._changePolyState($)};l.eachItemGraphicEl(function($){$&&($.onHoverStateChange=ee)}),this._polyline.onHoverStateChange=ee,this._data=l,this._coordSys=a,this._stackedOnPoints=S,this._points=f,this._step=P,this._valueOrigin=A,n.get("triggerLineEvent")&&(this.packEventData(n,v),g&&this.packEventData(n,g))},t.prototype.packEventData=function(n,r){wr(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,i,o){var a=n.getData(),s=Lv(a,o);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=a.getLayout("points"),u=a.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var d=n.get("zlevel")||0,h=n.get("z")||0;u=new _P(a,s),u.x=c,u.y=f,u.setZ(d,h);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=d,p.z=h,p.z2=this._polyline.z2+1),u.__temp=!0,a.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else la.prototype.highlight.call(this,n,r,i,o)},t.prototype.downplay=function(n,r,i,o){var a=n.getData(),s=Lv(a,o);if(this._changePolyState("normal"),s!=null&&s>=0){var l=a.getItemGraphicEl(s);l&&(l.__temp?(a.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else la.prototype.downplay.call(this,n,r,i,o)},t.prototype._changePolyState=function(n){var r=this._polygon;dV(this._polyline,n),r&&dV(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new GPe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new JPe({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(n,r,i){var o,a,s=r.getBaseAxis(),l=s.inverse;r.type==="cartesian2d"?(o=s.isHorizontal(),a=!1):r.type==="polar"&&(o=s.dim==="angle",a=!0);var u=n.hostModel,c=u.get("animationDuration");An(c)&&(c=c(null));var f=u.get("animationDelay")||0,d=An(f)?f(null):f;n.eachItemGraphicEl(function(h,p){var v=h;if(v){var g=[h.x,h.y],m=void 0,y=void 0,R=void 0;if(i)if(a){var A=i,x=r.pointToCoord(g);o?(m=A.startAngle,y=A.endAngle,R=-x[1]/180*Math.PI):(m=A.r0,y=A.r,R=x[0])}else{var S=i;o?(m=S.x,y=S.x+S.width,R=h.x):(m=S.y+S.height,y=S.y,R=h.y)}var L=y===m?0:(R-m)/(y-m);l&&(L=1-L);var w=An(f)?f(p):c*L+d,M=v.getSymbolPath(),_=M.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:w}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:w}),M.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,i){var o=n.getModel("endLabel");if(Oq(n)){var a=n.getData(),s=this._polyline,l=a.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Qa({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=iCe(l);c>=0&&(jv(s,qv(n,"endLabel"),{inheritColor:i,labelFetcher:n,labelDataIndex:c,defaultText:function(f,d,h){return h!=null?xq(a,h):TP(a,f)},enableTextSetter:!0},aCe(o,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,i,o,a,s,l){var u=this._endLabel,c=this._polyline;if(u){n<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var f=i.getLayout("points"),d=i.hostModel,h=d.get("connectNulls"),p=s.get("precision"),v=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,R=r.shape,A=y?m?R.x:R.y+R.height:m?R.x+R.width:R.y,x=(m?v:0)*(y?-1:1),S=(m?0:-v)*(y?-1:1),L=m?"x":"y",w=oCe(f,A,L),M=w.range,_=M[1]-M[0],P=void 0;if(_>=1){if(_>1&&!h){var k=eU(f,M[0]);u.attr({x:k[0]+x,y:k[1]+S}),a&&(P=d.getRawValue(M[0]))}else{var k=c.getPointOn(A,L);k&&u.attr({x:k[0]+x,y:k[1]+S});var F=d.getRawValue(M[0]),C=d.getRawValue(M[1]);a&&(P=r8e(i,p,F,C,w.t))}o.lastFrameIndex=M[0]}else{var N=n===1||o.lastFrameIndex>0?M[0]:0,k=eU(f,N);a&&(P=d.getRawValue(N)),u.attr({x:k[0]+x,y:k[1]+S})}if(a){var I=D3(u);typeof I.setLabelText=="function"&&I.setLabelText(P)}}},t.prototype._doUpdateAnimation=function(n,r,i,o,a,s,l){var u=this._polyline,c=this._polygon,f=n.hostModel,d=KPe(this._data,n,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),h=d.current,p=d.stackedOnCurrent,v=d.next,g=d.stackedOnNext;if(a&&(h=Zc(d.current,i,a,l),p=Zc(d.stackedOnCurrent,i,a,l),v=Zc(d.next,i,a,l),g=Zc(d.stackedOnNext,i,a,l)),jD(h,v)>3e3||c&&jD(p,g)>3e3){u.stopAnimation(),u.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:g}));return}u.shape.__points=d.current,u.shape.points=h;var m={shape:{points:v}};d.current!==h&&(m.shape.__points=d.next),u.stopAnimation(),go(u,m,f),c&&(c.setShape({points:h,stackedOnPoints:p}),c.stopAnimation(),go(c,{shape:{stackedOnPoints:g}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],R=d.status,A=0;At&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;nt&&(t=o,n=i)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},uCe=function(e){return Math.round(e.length/2)};function kq(e){return{seriesType:e,reset:function(t,n,r){var i=t.getData(),o=t.get("sampling"),a=t.coordinateSystem,s=i.count();if(s>10&&a.type==="cartesian2d"&&o){var l=a.getBaseAxis(),u=a.getOtherAxis(l),c=l.getExtent(),f=r.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(f||1),h=Math.round(s/d);if(isFinite(h)&&h>1){o==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h));var p=void 0;Qt(o)?p=lCe[o]:An(o)&&(p=o),p&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,p,uCe))}}}}}function cCe(e){e.registerChartView(sCe),e.registerSeriesModel(YPe),e.registerLayout(kP("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,kq("line"))}var c_=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var a=o.clampData(n),s=o.dataToPoint(a);if(i)Pe(o.getAxes(),function(d,h){if(d.type==="category"&&r!=null){var p=d.getTicksCoords(),v=d.getTickModel().get("alignWithLabel"),g=a[h],m=r[h]==="x1"||r[h]==="y1";if(m&&!v&&(g+=1),p.length<2)return;if(p.length===2){s[h]=d.toGlobalCoord(d.getExtent()[m?1:0]);return}for(var y=void 0,R=void 0,A=1,x=0;xg){R=(S+y)/2;break}x===1&&(A=L-p[0].tickValue)}R==null&&(y?y&&(R=p[p.length-1].coord):R=p[0].coord),s[h]=d.toGlobalCoord(R)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=o.getBaseAxis().isHorizontal()?0:1;s[f]+=u+c/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Ha);Ha.registerClass(c_);var fCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return J3(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,i){return i.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=W$(c_.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(c_),dCe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),tU=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new dCe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.max(r.r0||0,0),s=Math.max(r.r,0),l=(s-a)*.5,u=a+l,c=r.startAngle,f=r.endAngle,d=r.clockwise,h=Math.PI*2,p=d?f-cMath.PI/2&&cs)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var i=r.scale,o=i.getExtent(),a=Math.max(0,o[0]),s=Math.min(o[1],i.getOrdinalMeta().categories.length-1);a<=s;++a)if(n.ordinalNumbers[a]!==i.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(n,r,i,o){if(this._isOrderChangedWithinSameData(n,r,i)){var a=this._dataSort(n,i,r);this._isOrderDifferentInView(a,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(n,r,i){var o=r.baseAxis,a=this._dataSort(n,o,function(s){return n.get(n.mapDimension(r.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:a})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,i=this._data;n&&n.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){aS(o,n,wr(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(la),nU={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=QL(t.x,e.x),s=HL(t.x+t.width,i),l=QL(t.y,e.y),u=HL(t.y+t.height,o),c=si?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=HL(t.r,e.r),o=QL(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return a}},rU={cartesian2d:function(e,t,n,r,i,o,a,s,l){var u=new Oi({shape:pt({},r),z2:1});if(u.__dataIndex=n,u.name="item",o){var c=u.shape,f=i?"height":"width";c[f]=0}return u},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?tU:hd,c=new u({shape:r,z2:1});c.name="item";var f=Pq(i);if(c.calculateTextPosition=hCe(f,{isRoundCap:u===tU}),o){var d=c.shape,h=i?"r":"endAngle",p={};d[h]=i?r.r0:r.startAngle,p[h]=r[h],(s?go:sa)(c,{shape:p},o)}return c}};function mCe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function iU(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?go:sa)(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?go:sa)(n,{shape:u},c,i)}function oU(e,t){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function RCe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function Pq(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function sU(e,t,n,r,i,o,a,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,f=Cg(r.getModel("itemStyle"),c,!0);pt(c,f),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(l);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var h=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=qv(r);jv(e,p,{labelFetcher:o,labelDataIndex:n,defaultText:TP(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var v=e.getTextContent();if(s&&v){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,pCe(e,g==="outside"?h:g,Pq(a),r.get(["label","rotate"]))}y6e(v,p,o.getRawValue(n),function(y){return xq(t,y)});var m=r.getModel(["emphasis"]);Tv(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),_v(e,r),RCe(i)&&(e.style.fill="none",e.style.stroke="none",Pe(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function bCe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var xCe=function(){function e(){}return e}(),lU=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new xCe},t.prototype.buildPath=function(n,r){for(var i=r.points,o=this.baseDimIdx,a=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c=0?n:null},30,!1);function SCe(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function Cq(e,t,n){if(OP(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:Math.PI*2}}}function wCe(e,t,n){var r=e.type==="polar"?hd:Oi;return new r({shape:Cq(t,n,e),silent:!0,z2:0})}function MCe(e){e.registerChartView(gCe),e.registerSeriesModel(fCe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Fa(qke,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,ePe("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,kq("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var fU=Math.PI*2,IR=Math.PI/180;function Iq(e,t){return cS(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Nq(e,t){var n=Iq(e,t),r=e.get("center"),i=e.get("radius");It(i)||(i=[0,i]);var o=mr(n.width,t.getWidth()),a=mr(n.height,t.getHeight()),s=Math.min(o,a),l=mr(i[0],s/2),u=mr(i[1],s/2),c,f,d=e.coordinateSystem;if(d){var h=d.dataToPoint(r);c=h[0]||0,f=h[1]||0}else It(r)||(r=[r,r]),c=mr(r[0],o)+n.x,f=mr(r[1],a)+n.y;return{cx:c,cy:f,r0:l,r:u}}function LCe(e,t,n){t.eachSeriesByType(e,function(r){var i=r.getData(),o=i.mapDimension("value"),a=Iq(r,n),s=Nq(r,n),l=s.cx,u=s.cy,c=s.r,f=s.r0,d=-r.get("startAngle")*IR,h=r.get("endAngle"),p=r.get("padAngle")*IR;h=h==="auto"?d-fU:-h*IR;var v=r.get("minAngle")*IR,g=v+p,m=0;i.each(o,function(W){!isNaN(W)&&m++});var y=i.getSum(o),R=Math.PI/(y||m)*2,A=r.get("clockwise"),x=r.get("roseType"),S=r.get("stillShowZeroSum"),L=i.getDataExtent(o);L[0]=0;var w=A?1:-1,M=[d,h],_=w*p/2;o$(M,!A),d=M[0],h=M[1];var P=Fq(r);P.startAngle=d,P.endAngle=h,P.clockwise=A;var k=Math.abs(h-d),F=k,C=0,N=d;if(i.setLayout({viewRect:a,r:c}),i.each(o,function(W,D){var Y;if(isNaN(W)){i.setItemLayout(D,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:l,cy:u,r0:f,r:x?NaN:c});return}x!=="area"?Y=y===0&&S?R:W*R:Y=k/m,YY?(B=N+w*Y/2,Z=B):(B=N+_,Z=re-_),i.setItemLayout(D,{angle:Y,startAngle:B,endAngle:Z,clockwise:A,cx:l,cy:u,r0:f,r:x?X6(W,L,[f,c]):c}),N=re}),Fn?m:g,x=Math.abs(R.label.y-n);if(x>=A.maxY){var S=R.label.x-t-R.len2*i,L=r+R.len,w=Math.abs(S)e.unconstrainedWidth?null:h:null;r.setStyle("width",p)}var v=r.getBoundingRect();o.width=v.width;var g=(r.style.margin||0)+2.1;o.height=v.height+g,o.y-=(o.height-f)/2}}}function KL(e){return e.position==="center"}function OCe(e){var t=e.getData(),n=[],r,i,o=!1,a=(e.get("minShowLabelAngle")||0)*TCe,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,d=s.height;function h(S){S.ignore=!0}function p(S){if(!S.ignore)return!0;for(var L in S.states)if(S.states[L].ignore===!1)return!0;return!1}t.each(function(S){var L=t.getItemGraphicEl(S),w=L.shape,M=L.getTextContent(),_=L.getTextGuideLine(),P=t.getItemModel(S),k=P.getModel("label"),F=k.get("position")||P.get(["emphasis","label","position"]),C=k.get("distanceToLabelLine"),N=k.get("alignTo"),I=mr(k.get("edgeDistance"),u),W=k.get("bleedMargin"),D=P.getModel("labelLine"),Y=D.get("length");Y=mr(Y,u);var re=D.get("length2");if(re=mr(re,u),Math.abs(w.endAngle-w.startAngle)0?"right":"left":Z>0?"left":"right"}var J=Math.PI,se=0,q=k.get("rotate");if(Ar(q))se=q*(J/180);else if(F==="center")se=0;else if(q==="radial"||q===!0){var ne=Z<0?-B+J:-B;se=ne}else if(q==="tangential"&&F!=="outside"&&F!=="outer"){var oe=Math.atan2(Z,Q);oe<0&&(oe=J*2+oe);var he=Q>0;he&&(oe=J+oe),se=oe-J}if(o=!!se,M.x=G,M.y=ee,M.rotation=se,M.setStyle({verticalAlign:"middle"}),K){M.setStyle({align:de});var Re=M.states.select;Re&&(Re.x+=M.x,Re.y+=M.y)}else{var ue=M.getBoundingRect().clone();ue.applyTransform(M.getComputedTransform());var ge=(M.style.margin||0)+2.1;ue.y-=ge/2,ue.height+=ge,n.push({label:M,labelLine:_,position:F,len:Y,len2:re,minTurnAngle:D.get("minTurnAngle"),maxSurfaceAngle:D.get("maxSurfaceAngle"),surfaceNormal:new cn(Z,Q),linePoints:$,textAlign:de,labelDistance:C,labelAlignTo:N,edgeDistance:I,bleedMargin:W,rect:ue,unconstrainedWidth:ue.width,labelStyleWidth:M.style.width})}L.setTextConfig({inside:K})}}),!o&&e.get("avoidLabelOverlap")&&_Ce(n,r,i,l,u,d,c,f);for(var v=0;v0){for(var c=a.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f=o.r0}},t.type="pie",t}(la);function Wq(e,t,n){t=It(t)&&{coordDimensions:t}||pt({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=tq(r,t).dimensions,o=new eq(i,e);return o.initData(r,n),o}var Vq=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}(),CCe=Ii(),ICe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Vq(gi(this.getData,this),gi(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Wq(this,{coordDimensions:["value"],encodeDefaulter:Fa(H6e,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),i=CCe(r),o=i.seats;if(!o){var a=[];r.each(r.mapDimension("value"),function(l){a.push(l)}),o=i.seats=XLe(a,r.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,n);return s.percent=o[n]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(n){W6(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Ha);function NCe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(i){var o=r.mapDimension("value"),a=r.get(o,i);return!(Ar(a)&&!isNaN(a)&&a<0)})}}}function FCe(e){e.registerChartView(PCe),e.registerSeriesModel(ICe),yOe("pie",e.registerAction),e.registerLayout(Fa(LCe,"pie")),e.registerProcessor(Eq("pie")),e.registerProcessor(NCe("pie"))}var ECe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(n,r,i){return i.point(r.getItemLayout(n))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Ha),Dq=4,XCe=function(){function e(){}return e}(),WCe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.getDefaultShape=function(){return new XCe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(n,r){var i=r.points,o=r.size,a=this.symbolProxy,s=a.shape,l=n.getContext?n.getContext():n,u=l&&o[0]=0;u--){var c=u*2,f=o[c]-s/2,d=o[c+1]-l/2;if(n>=f&&r>=d&&n<=f+s&&r<=d+l)return u}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.points,o=r.size,a=o[0],s=o[1],l=1/0,u=1/0,c=-1/0,f=-1/0,d=0;d=0&&(u.dataIndex=f+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),DCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.updateData(o,{clipShape:this._getClipShape(n)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.incrementalPrepareUpdate(o),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._symbolDraw.incrementalUpdate(n,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=n.end===r.getData().count()},t.prototype.updateTransform=function(n,r,i){var o=n.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var a=kP("").reset(n,r,i);a.progress&&a.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},t.prototype._getClipShape=function(n){if(n.get("clip",!0)){var r=n.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},t.prototype._updateSymbolDraw=function(n,r){var i=this._symbolDraw,o=r.pipelineContext,a=o.large;return(!i||a!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=a?new VCe:new Sq,this._isLargeDraw=a,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(la),UCe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(fr),f_=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ul).models[0]},t.type="cartesian2dAxis",t}(fr);yl(f_,dq);var Uq={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},BCe=sr({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Uq),PP=sr({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Uq),YCe=sr({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},PP),ZCe=En({logBase:10},PP);const Bq={category:BCe,value:PP,time:YCe,log:ZCe};var QCe={value:1,category:1,time:1,log:1};function hU(e,t,n,r){Pe(QCe,function(i,o){var a=sr(sr({},Bq[o],!0),r,!0),s=function(l){St(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+o,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var d=A2(this),h=d?H3(c):{},p=f.getTheme();sr(c,p.get(o+"Axis")),sr(c,this.getDefaultOption()),c.type=pU(c),d&&Ov(c,h,d)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=s_.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+o,u.defaultOption=a,u}(n);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",pU)}function pU(e){return e.type||(e.data?"category":"value")}var HCe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return _t(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),ao(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}(),d_=["x","y"];function vU(e){return e.type==="interval"||e.type==="time"}var KCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=d_,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!vU(n)||!vU(r))){var i=n.getExtent(),o=r.getExtent(),a=this.dataToPoint([i[0],o[0]]),s=this.dataToPoint([i[1],o[1]]),l=i[1]-i[0],u=o[1]-o[0];if(!(!l||!u)){var c=(s[0]-a[0])/l,f=(s[1]-a[1])/u,d=a[0]-i[0]*c,h=a[1]-o[0]*f,p=this._transform=[c,0,0,f,d,h];this._invTransform=Wk([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&i.contain(i.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var i=this.dataToPoint(n),o=this.dataToPoint(r),a=this.getArea(),s=new dr(i[0],i[1],o[0]-i[0],o[1]-i[1]);return a.intersect(s)},t.prototype.dataToPoint=function(n,r,i){i=i||[];var o=n[0],a=n[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return Ms(i,n,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(o,r)),i[1]=l.toGlobalCoord(l.dataToCoord(a,r)),i},t.prototype.clampData=function(n,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,a=i.getExtent(),s=o.getExtent(),l=i.parse(n[0]),u=o.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),l),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),r},t.prototype.pointToData=function(n,r){var i=[];if(this._invTransform)return Ms(i,n,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(n[0]),r),i[1]=a.coordToData(a.toLocalCoord(n[1]),r),i},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-n,a=Math.min(i[0],i[1])-n,s=Math.max(r[0],r[1])-o+n,l=Math.max(i[0],i[1])-a+n;return new dr(o,a,s,l)},t}(HCe),GCe=function(e){St(t,e);function t(n,r,i,o,a){var s=e.call(this,n,r,i)||this;return s.index=0,s.type=o||"value",s.position=a||"bottom",s}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(Rq);function zCe(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,p=u==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(a){var v=a.toGlobalCoord(a.dataToCoord(0));p[d.onZero]=Math.max(Math.min(v,p[1]),p[0])}o.position=[u==="y"?p[d[l]]:f[0],u==="x"?p[d[l]]:f[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[s],o.labelOffset=a?p[d[s]]-p[d.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),l2(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate=l==="top"?-m:m,o.z2=1,o}function gU(e){return e.get("coordinateSystem")==="cartesian2d"}function mU(e){var t={xAxisModel:null,yAxisModel:null};return Pe(t,function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,ul).models[0];t[r]=o}),t}var GL=Math.log;function Yq(e,t,n){var r=td.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=cq(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(e.type==="log"){var d=GL(e.base);u=[GL(u[0])/d,GL(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:f});var h=r.getExtent.call(e);c&&(u[0]=h[0]),f&&(u[1]=h[1]);var p=r.getInterval.call(e),v=u[0],g=u[1];if(c&&f)p=(g-v)/a;else if(c)for(g=u[0]+p*a;gu[0]&&isFinite(v)&&isFinite(u[0]);)p=UL(p),v=u[1]-p*a;else{var m=e.getTicks().length-1;m>a&&(p=UL(p));var y=p*a;g=Math.ceil(u[1]/p)*p,v=ui(g-y),v<0&&u[0]>=0?(v=0,g=ui(y)):g>0&&u[1]<=0&&(g=0,v=-ui(y))}var R=(i[0].value-o[0].value)/s,A=(i[a].value-o[a].value)/s;r.setExtent.call(e,v+p*R,g+p*A),r.setInterval.call(e,p),(R||A)&&r.setNiceExtent.call(e,v+p,g-p)}var JCe=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=d_,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function i(a){var s,l=Dn(a),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var d=+l[f],h=a[d],p=h.model,v=h.scale;l_(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(h):(ZD(v,p),l_(v)&&(s=h))}c.length&&(s||(s=c.pop(),ZD(s.scale,s.model)),Pe(c,function(g){Yq(g.scale,g.model,s.scale)}))}}i(r.x),i(r.y);var o={};Pe(r.x,function(a){yU(r,"y",a,o)}),Pe(r.y,function(a){yU(r,"x",a,o)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var i=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),a=cS(i,{width:n.getWidth(),height:n.getHeight()});this._rect=a;var s=this._axesList;l(),o&&(Pe(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=bPe(u);if(c){var f=u.isHorizontal()?"height":"width",d=u.model.get(["axisLabel","margin"]);a[f]-=c[f]+d,u.position==="top"?a.y+=c.height+d:u.position==="left"&&(a.x+=c.width+d)}}}),l()),Pe(this._coordsList,function(u){u.calcAffineTransform()});function l(){Pe(s,function(u){var c=u.isHorizontal(),f=c?[0,a.width]:[0,a.height],d=u.inverse?1:0;u.setExtent(f[d],f[1-d]),$Ce(u,c?a.x:a.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}rn(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i0?"top":"bottom",o="center"):qx(i-Tf)?(a=r>0?"bottom":"top",o="center"):(a="middle",i>0&&i0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:a}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),RU={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Ms(s,s,a),Ms(l,l,a));var c=pt({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new qf({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});g2(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var d=t.get(["axisLine","symbol"]);if(d!=null){var h=t.get(["axisLine","symbolSize"]);Qt(d)&&(d=[d,d]),(Qt(h)||Ar(h))&&(h=[h,h]);var p=Tj(t.get(["axisLine","symbolOffset"])||0,h),v=h[0],g=h[1];Pe([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,y){if(d[y]!=="none"&&d[y]!=null){var R=ed(d[y],-v/2,-g/2,v,g,c.stroke,!0),A=m.r+m.offset,x=u?l:s;R.attr({rotation:m.rotate,x:x[0]+A*Math.cos(e.rotation),y:x[1]-A*Math.sin(e.rotation),silent:!0,z2:11}),n.add(R)}})}}},axisTickLabel:function(e,t,n,r){var i=eIe(n,r,t,e),o=nIe(n,r,t,e);if(qCe(t,o,i),tIe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=VPe(_t(o,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));BPe(a)}},axisName:function(e,t,n,r){var i=l2(e.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),a=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[o==="start"?u[0]-c*l:o==="end"?u[1]+c*l:(u[0]+u[1])/2,xU(o)?e.labelOffset+a*l:0],d,h=t.get("nameRotate");h!=null&&(h=h*Tf/180);var p;xU(o)?d=Vf.innerTextLayout(e.rotation,h??e.rotation,a):(d=jCe(e.rotation,o,h||0,u),p=e.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(d.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=l2(e.nameTruncateMaxWidth,g.maxWidth,p),R=new Qa({x:f[0],y:f[1],rotation:d.rotation,silent:Vf.isLabelSilent(t),style:m2(s,{text:i,font:v,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||d.textAlign,verticalAlign:s.get("verticalAlign")||d.textVerticalAlign}),z2:1});if(tP({el:R,componentModel:t,itemName:i}),R.__fullText=i,R.anid="name",t.get("triggerEvent")){var A=Vf.makeAxisEventDataBase(t);A.targetType="axisName",A.name=i,wr(R).eventData=A}r.add(R),R.updateTransform(),n.add(R),R.decomposeTransform()}}};function jCe(e,t,n,r){var i=KJ(n-e),o,a,s=r[0]>r[1],l=t==="start"&&!s||t!=="start"&&s;return qx(i-Tf/2)?(a=l?"bottom":"top",o="center"):qx(i-Tf*1.5)?(a=l?"top":"bottom",o="center"):(a="middle",iTf/2?o=l?"left":"right":o=l?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:a}}function qCe(e,t,n){if(!fq(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];r===!1?(is(o),is(u)):bU(o,a)&&(r?(is(a),is(c)):(is(o),is(u))),i===!1?(is(s),is(f)):bU(l,s)&&(i?(is(l),is(d)):(is(s),is(f)))}}function is(e){e&&(e.ignore=!0)}function bU(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var i=Xk([]);return xJ(i,i,-e.rotation),n.applyTransform(ov([],i,e.getLocalTransform())),r.applyTransform(ov([],i,t.getLocalTransform())),n.intersect(r)}}function xU(e){return e==="middle"||e==="center"}function Zq(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;ll[1]&&l.reverse(),(a==null||a>l[1])&&(a=l[1]),a0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var v=l;p.color!=null&&(v=En({color:p.color},l));var g=sr(Vn(p),{boundaryGap:n,splitNumber:r,scale:i,axisLine:o,axisTick:a,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:v,triggerEvent:d},!1);if(Qt(c)){var m=g.name;g.name=c.replace("{value}",m??"")}else An(c)&&(g.name=c(g.name,g));var y=new ki(g,null,this.ecModel);return yl(y,dq.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:sr({lineStyle:{color:"#bbb"}},z1.axisLine),axisLabel:NR(z1.axisLabel,!1),axisTick:NR(z1.axisTick,!1),splitLine:NR(z1.splitLine,!0),splitArea:NR(z1.splitArea,!0),indicator:[]},t}(fr),xIe=["axisLine","axisTickLabel","axisName"],SIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},t.prototype._buildAxes=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes(),o=_t(i,function(a){var s=a.model.get("showName")?a.name:"",l=new Vf(a.model,{axisName:s,position:[r.cx,r.cy],rotation:a.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});Pe(o,function(a){Pe(xIe,a.add,a),this.group.add(a.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var o=n.get("shape"),a=n.getModel("splitLine"),s=n.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),c=a.get("show"),f=s.get("show"),d=l.get("color"),h=u.get("color"),p=It(d)?d:[d],v=It(h)?h:[h],g=[],m=[];function y(N,I,W){var D=W%I.length;return N[D]=N[D]||[],D}if(o==="circle")for(var R=i[0].getTicksCoords(),A=r.cx,x=r.cy,S=0;S=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(fr),np=Fa,v_=Pe,FR=Ai,Gq=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new FR),this.group.add(this._selectorGroup=new FR),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var a=n.get("align"),s=n.get("orient");(!a||a==="auto")&&(a=n.get("left")==="right"&&s==="vertical"?"right":"left");var l=n.get("selector",!0),u=n.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(a,n,r,i,l,s,u);var c=n.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},d=n.get("padding"),h=cS(c,f,d),p=this.layoutInner(n,a,h,o,l,u),v=cS(En({width:p.width,height:p.height},c),f,d);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=_Ie(p,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,i,o,a,s,l){var u=this.getContentGroup(),c=xn(),f=r.get("selectedMode"),d=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&d.push(h.id)}),v_(r.getData(),function(h,p){var v=h.get("name");if(!this.newlineDisabled&&(v===""||v===` -`)){var g=new FR;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(v)[0];if(!c.get(v))if(m){var y=m.getData(),R=y.getVisual("legendLineStyle")||{},A=y.getVisual("legendIcon"),x=y.getVisual("style"),S=this._createItem(m,v,p,h,r,n,R,x,A,f,o);S.on("click",np(TU,v,null,o,d)).on("mouseover",np(g_,m.name,null,o,d)).on("mouseout",np(m_,m.name,null,o,d)),i.ssr&&S.eachChild(function(L){var w=wr(L);w.seriesIndex=m.seriesIndex,w.dataIndex=p,w.ssrType="legend"}),c.set(v,!0)}else i.eachRawSeries(function(L){if(!c.get(v)&&L.legendVisualProvider){var w=L.legendVisualProvider;if(!w.containName(v))return;var M=w.indexOfName(v),_=w.getItemVisual(M,"style"),P=w.getItemVisual(M,"legendIcon"),k=su(_.fill);k&&k[3]===0&&(k[3]=.2,_=pt(pt({},_),{fill:M3(k,"rgba")}));var F=this._createItem(L,v,p,h,r,n,{},_,P,f,o);F.on("click",np(TU,null,v,o,d)).on("mouseover",np(g_,null,v,o,d)).on("mouseout",np(m_,null,v,o,d)),i.ssr&&F.eachChild(function(C){var N=wr(C);N.seriesIndex=L.seriesIndex,N.dataIndex=p,N.ssrType="legend"}),c.set(v,!0)}},this)},this),a&&this._createSelector(a,r,o,s,l)},t.prototype._createSelector=function(n,r,i,o,a){var s=this.getSelectorGroup();v_(n,function(u){var c=u.type,f=new Qa({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var d=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);jv(f,{normal:d,emphasis:h},{defaultText:u.title}),Z6(f)})},t.prototype._createItem=function(n,r,i,o,a,s,l,u,c,f,d){var h=n.visualDrawType,p=a.get("itemWidth"),v=a.get("itemHeight"),g=a.isSelected(r),m=o.get("symbolRotate"),y=o.get("symbolKeepAspect"),R=o.get("icon");c=R||c||"roundRect";var A=kIe(c,o,l,u,h,g,d),x=new FR,S=o.getModel("textStyle");if(An(n.getLegendIcon)&&(!R||R==="inherit"))x.add(n.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:m,itemStyle:A.itemStyle,lineStyle:A.lineStyle,symbolKeepAspect:y}));else{var L=R==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;x.add(PIe({itemWidth:p,itemHeight:v,icon:c,iconRotate:L,itemStyle:A.itemStyle,lineStyle:A.lineStyle,symbolKeepAspect:y}))}var w=s==="left"?p+5:-5,M=s,_=a.get("formatter"),P=r;Qt(_)&&_?P=_.replace("{name}",r??""):An(_)&&(P=_(r));var k=g?S.getTextColor():o.get("inactiveColor");x.add(new Qa({style:m2(S,{text:P,x:w,y:v/2,fill:k,align:M,verticalAlign:"middle"},{inheritColor:k})}));var F=new Oi({shape:x.getBoundingRect(),style:{fill:"transparent"}}),C=o.getModel("tooltip");return C.get("show")&&tP({el:F,componentModel:a,itemName:r,itemTooltipOption:C.option}),x.add(F),x.eachChild(function(N){N.silent=!0}),F.silent=!f,this.getContentGroup().add(x),Z6(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(n,r,i,o,a,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Sm(n.get("orient"),l,n.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),a){Sm("horizontal",u,n.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],p=n.get("selectorButtonGap",!0),v=n.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",y=v===0?"y":"x";s==="end"?h[v]+=c[g]+p:f[v]+=d[g]+p,h[1-v]+=c[m]/2-d[m]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var R={x:0,y:0};return R[g]=c[g]+p+d[g],R[m]=Math.max(c[m],d[m]),R[y]=Math.min(0,d[y]+h[1-v]),R}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(hc);function kIe(e,t,n,r,i,o,a){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),v_(g,function(y,R){g[R]==="inherit"&&(g[R]=m[R])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:r_(f,a),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),s(u,r);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth=p==="auto"?r.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function PIe(e){var t=e.icon||"roundRect",n=ed(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function TU(e,t,n,r){m_(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e??t}),g_(e,t,n,r)}function zq(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,i=t.length;rn:i+c+h>n){c?(s||l)&&(p?(s||(s=l,l="",u=0,c=u),o.push(s),a.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=d,c=h)):p?(o.push(l),a.push(u),l=d,u=h):(o.push(d),a.push(h));continue}c+=h,p?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!o.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),o.length===1&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var D6="__zr_style_"+Math.round(Math.random()*10),Fh={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},C3={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Fh[D6]=!0;var zW=["z","z2","invisible"],M8e=["invisible"],L8e=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=Dn(n),i=0;i1e-4){s[0]=e-n,s[1]=t-r,l[0]=e+n,l[1]=t+r;return}if(iR[0]=cL(i)*n+e,iR[1]=uL(i)*r+t,oR[0]=cL(o)*n+e,oR[1]=uL(o)*r+t,u(s,iR,oR),c(l,iR,oR),i=i%Xd,i<0&&(i=i+Xd),o=o%Xd,o<0&&(o=o+Xd),i>o&&!a?o+=Xd:ii&&(aR[0]=cL(h)*n+e,aR[1]=uL(h)*r+t,u(s,aR,s),c(l,aR,l))}var jn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Wd=[],Vd=[],kl=[],Ec=[],Pl=[],Cl=[],fL=Math.min,dL=Math.max,Dd=Math.cos,Ud=Math.sin,Du=Math.abs,U6=Math.PI,nf=U6*2,hL=typeof Float32Array<"u",E1=[];function pL(e){var t=Math.round(e/U6*1e8)/1e8;return t%2*U6}function o$(e,t){var n=pL(e[0]);n<0&&(n+=nf);var r=n-e[0],i=e[1];i+=r,!t&&i-n>=nf?i=n+nf:t&&n-i>=nf?i=n-nf:!t&&n>i?i=n+(nf-pL(n-i)):t&&n0&&(this._ux=Du(r/XW/t)||0,this._uy=Du(r/XW/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(jn.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=Du(t-this._xi),i=Du(n-this._yi),o=r>this._ux||i>this._uy;if(this.addData(jn.L,t,n),this._ctx&&o&&this._ctx.lineTo(t,n),o)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var a=r*r+i*i;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=a)}return this},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){return this._drawPendingPt(),this.addData(jn.C,t,n,r,i,o,a),this._ctx&&this._ctx.bezierCurveTo(t,n,r,i,o,a),this._xi=o,this._yi=a,this},e.prototype.quadraticCurveTo=function(t,n,r,i){return this._drawPendingPt(),this.addData(jn.Q,t,n,r,i),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,i),this._xi=r,this._yi=i,this},e.prototype.arc=function(t,n,r,i,o,a){this._drawPendingPt(),E1[0]=i,E1[1]=o,o$(E1,a),i=E1[0],o=E1[1];var s=o-i;return this.addData(jn.A,t,n,r,r,i,s,0,a?0:1),this._ctx&&this._ctx.arc(t,n,r,i,o,a),this._xi=Dd(o)*r+t,this._yi=Ud(o)*r+n,this},e.prototype.arcTo=function(t,n,r,i,o){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,i,o),this},e.prototype.rect=function(t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,i),this.addData(jn.R,t,n,r,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(jn.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&hL&&(this.data=new Float32Array(n));for(var r=0;rc.length&&(this._expandData(),c=this.data);for(var f=0;f0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){kl[0]=kl[1]=Pl[0]=Pl[1]=Number.MAX_VALUE,Ec[0]=Ec[1]=Cl[0]=Cl[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,i=0,o=0,a;for(a=0;ar||Du(R)>i||d===n-1)&&(v=Math.sqrt(y*y+R*R),o=g,a=m);break}case jn.C:{var A=t[d++],x=t[d++],g=t[d++],m=t[d++],S=t[d++],L=t[d++];v=K5e(o,a,A,x,g,m,S,L,10),o=S,a=L;break}case jn.Q:{var A=t[d++],x=t[d++],g=t[d++],m=t[d++];v=J5e(o,a,A,x,g,m,10),o=g,a=m;break}case jn.A:var w=t[d++],M=t[d++],_=t[d++],k=t[d++],P=t[d++],N=t[d++],C=N+P;d+=1,p&&(s=Dd(P)*_+w,l=Ud(P)*k+M),v=dL(_,k)*fL(nf,Math.abs(N)),o=Dd(C)*_+w,a=Ud(C)*k+M;break;case jn.R:{s=o=t[d++],l=a=t[d++];var F=t[d++],I=t[d++];v=F*2+I*2;break}case jn.Z:{var y=s-o,R=l-a;v=Math.sqrt(y*y+R*R),o=s,a=l;break}}v>=0&&(u[f++]=v,c+=v)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,i=this._ux,o=this._uy,a=this._len,s,l,u,c,f,d,h=n<1,p,v,g=0,m=0,y,R=0,A,x;if(!(h&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,v=this._pathLen,y=n*v,!y)))e:for(var S=0;S0&&(t.lineTo(A,x),R=0),L){case jn.M:s=u=r[S++],l=c=r[S++],t.moveTo(u,c);break;case jn.L:{f=r[S++],d=r[S++];var M=Du(f-u),_=Du(d-c);if(M>i||_>o){if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;t.lineTo(u*(1-P)+f*P,c*(1-P)+d*P);break e}g+=k}t.lineTo(f,d),u=f,c=d,R=0}else{var N=M*M+_*_;N>R&&(A=f,x=d,R=N)}break}case jn.C:{var C=r[S++],F=r[S++],I=r[S++],W=r[S++],D=r[S++],Z=r[S++];if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;Gx(u,C,I,D,P,Wd),Gx(c,F,W,Z,P,Vd),t.bezierCurveTo(Wd[1],Vd[1],Wd[2],Vd[2],Wd[3],Vd[3]);break e}g+=k}t.bezierCurveTo(C,F,I,W,D,Z),u=D,c=Z;break}case jn.Q:{var C=r[S++],F=r[S++],I=r[S++],W=r[S++];if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;zx(u,C,I,P,Wd),zx(c,F,W,P,Vd),t.quadraticCurveTo(Wd[1],Vd[1],Wd[2],Vd[2]);break e}g+=k}t.quadraticCurveTo(C,F,I,W),u=I,c=W;break}case jn.A:var re=r[S++],B=r[S++],Y=r[S++],Q=r[S++],K=r[S++],q=r[S++],$=r[S++],de=!r[S++],G=Y>Q?Y:Q,Ae=Du(Y-Q)>.001,ce=K+q,fe=!1;if(h){var k=p[m++];g+k>y&&(ce=K+q*(y-g)/k,fe=!0),g+=k}if(Ae&&t.ellipse?t.ellipse(re,B,Y,Q,$,K,ce,de):t.arc(re,B,G,K,ce,de),fe)break e;w&&(s=Dd(K)*Y+re,l=Ud(K)*Q+B),u=Dd(ce)*Y+re,c=Ud(ce)*Q+B;break;case jn.R:s=u=r[S],l=c=r[S+1],f=r[S++],d=r[S++];var le=r[S++],j=r[S++];if(h){var k=p[m++];if(g+k>y){var X=y-g;t.moveTo(f,d),t.lineTo(f+fL(X,le),d),X-=le,X>0&&t.lineTo(f+le,d+fL(X,j)),X-=j,X>0&&t.lineTo(f+dL(le-X,0),d+j),X-=le,X>0&&t.lineTo(f,d+dL(j-X,0));break e}g+=k}t.rect(f,d,le,j);break;case jn.Z:if(h){var k=p[m++];if(g+k>y){var P=(y-g)/k;t.lineTo(u*(1-P)+s*P,c*(1-P)+l*P);break e}g+=k}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=jn,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function K0(e,t,n,r,i,o,a){if(i===0)return!1;var s=i,l=0,u=e;if(a>t+s&&a>r+s||ae+s&&o>n+s||ot+f&&c>r+f&&c>o+f&&c>s+f||ce+f&&u>n+f&&u>i+f&&u>a+f||ut+u&&l>r+u&&l>o+u||le+u&&s>n+u&&s>i+u||sn||c+ui&&(i+=X1);var d=Math.atan2(l,s);return d<0&&(d+=X1),d>=r&&d<=i||d+X1>=r&&d+X1<=i}function Bd(e,t,n,r,i,o){if(o>t&&o>r||oi?s:0}var Xc=jf.CMD,Yd=Math.PI*2,N8e=1e-4;function F8e(e,t){return Math.abs(e-t)t&&u>r&&u>o&&u>s||u1&&E8e(),h=Qi(t,r,o,s,fs[0]),d>1&&(p=Qi(t,r,o,s,fs[1]))),d===2?gt&&s>r&&s>o||s=0&&u<=1){for(var c=0,f=Jo(t,r,o,u),d=0;dn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);To[0]=-l,To[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=Yd-1e-4){r=0,i=Yd;var c=o?1:-1;return a>=To[0]+e&&a<=To[1]+e?c:0}if(r>i){var f=r;r=i,i=f}r<0&&(r+=Yd,i+=Yd);for(var d=0,h=0;h<2;h++){var p=To[h];if(p+e>a){var v=Math.atan2(s,p),c=o?1:-1;v<0&&(v=Yd+v),(v>=r&&v<=i||v+Yd>=r&&v+Yd<=i)&&(v>Math.PI/2&&v1&&(n||(s+=Bd(l,u,c,f,r,i))),g&&(l=o[p],u=o[p+1],c=l,f=u),v){case Xc.M:c=o[p++],f=o[p++],l=c,u=f;break;case Xc.L:if(n){if(K0(l,u,o[p],o[p+1],t,r,i))return!0}else s+=Bd(l,u,o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.C:if(n){if(P8e(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],t,r,i))return!0}else s+=X8e(l,u,o[p++],o[p++],o[p++],o[p++],o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.Q:if(n){if(C8e(l,u,o[p++],o[p++],o[p],o[p+1],t,r,i))return!0}else s+=W8e(l,u,o[p++],o[p++],o[p],o[p+1],r,i)||0;l=o[p++],u=o[p++];break;case Xc.A:var m=o[p++],y=o[p++],R=o[p++],A=o[p++],x=o[p++],S=o[p++];p+=1;var L=!!(1-o[p++]);d=Math.cos(x)*R+m,h=Math.sin(x)*A+y,g?(c=d,f=h):s+=Bd(l,u,d,h,r,i);var w=(r-m)*A/R+m;if(n){if(I8e(m,y,A,x,x+S,L,t,w,i))return!0}else s+=V8e(m,y,A,x,x+S,L,w,i);l=Math.cos(x+S)*R+m,u=Math.sin(x+S)*A+y;break;case Xc.R:c=l=o[p++],f=u=o[p++];var M=o[p++],_=o[p++];if(d=c+M,h=f+_,n){if(K0(c,f,d,f,t,r,i)||K0(d,f,d,h,t,r,i)||K0(d,h,c,h,t,r,i)||K0(c,h,c,f,t,r,i))return!0}else s+=Bd(d,f,d,h,r,i),s+=Bd(c,h,c,f,r,i);break;case Xc.Z:if(n){if(K0(l,u,c,f,t,r,i))return!0}else s+=Bd(l,u,c,f,r,i);l=c,u=f;break}}return!n&&!F8e(u,f)&&(s+=Bd(l,u,c,f,r,i)||0),s!==0}function D8e(e,t,n){return a$(e,0,!1,t,n)}function U8e(e,t,n,r){return a$(e,t,!0,n,r)}var eS=En({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Fh),B8e={style:En({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},C3.style)},vL=f2.concat(["invisible","culling","z","z2","zlevel","parent"]),Jn=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(l){n.buildPath(l,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s.5?N6:r>.2?bLe:F6}else if(n)return F6}return N6},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(Qt(r)){var i=this.__zr,o=!!(i&&i.isDarkMode()),a=Jx(n,0)0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,i=!n;if(i){var o=!1;this.path||(o=!0,this.createPathProxy());var a=this.path;(o||this.__dirty&bp)&&(a.beginPath(),this.buildPath(a,this.shape,!1),this.pathUpdated()),n=a.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||i){s.copy(n);var l=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return n},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect(),a=this.style;if(n=i[0],r=i[1],o.contain(n,r)){var s=this.path;if(this.hasStroke()){var l=a.lineWidth,u=a.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),U8e(s,l/u,n,r)))return!0}if(this.hasFill())return D8e(s,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=bp,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var i=this.shape;return i||(i=this.shape={}),typeof n=="string"?i[n]=r:pt(i,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&bp)},t.prototype.createStyle=function(n){return w3(eS,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=pt({},this.shape))},t.prototype._applyStateObj=function(n,r,i,o,a,s){e.prototype._applyStateObj.call(this,n,r,i,o,a,s);var l=!(r&&o),u;if(r&&r.shape?a?o?u=r.shape:(u=pt({},i.shape),pt(u,r.shape)):(u=pt({},o?this.shape:i.shape),pt(u,r.shape)):l&&(u=i.shape),u)if(a){this.shape=pt({},this.shape);for(var c={},f=Dn(u),d=0;d0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return w3(Y8e,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var i=YJ(r,n.font,n.textAlign,n.textBaseline);if(i.x+=n.x||0,i.y+=n.y||0,this.hasStroke()){var o=n.lineWidth;i.x-=o/2,i.y-=o/2,i.width+=o,i.height+=o}this._rect=i}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(dy);p2.prototype.type="tspan";var Z8e=En({x:0,y:0},Fh),Q8e={style:En({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},C3.style)};function H8e(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Al=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return w3(Z8e,n)},t.prototype._getSize=function(n){var r=this.style,i=r[n];if(i!=null)return i;var o=H8e(r.image)?r.image:this.__image;if(!o)return 0;var a=n==="width"?"height":"width",s=r[a];return s==null?o[n]:o[n]/o[a]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Q8e},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new dr(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(dy);Al.prototype.type="image";function K8e(e,t){var n=t.x,r=t.y,i=t.width,o=t.height,a=t.r,s,l,u,c;i<0&&(n=n+i,i=-i),o<0&&(r=r+o,o=-o),typeof a=="number"?s=l=u=c=a:a instanceof Array?a.length===1?s=l=u=c=a[0]:a.length===2?(s=u=a[0],l=c=a[1]):a.length===3?(s=a[0],l=c=a[1],u=a[2]):(s=a[0],l=a[1],u=a[2],c=a[3]):s=l=u=c=0;var f;s+l>i&&(f=s+l,s*=i/f,l*=i/f),u+c>i&&(f=u+c,u*=i/f,c*=i/f),l+u>o&&(f=l+u,l*=o/f,u*=o/f),s+c>o&&(f=s+c,s*=o/f,c*=o/f),e.moveTo(n+s,r),e.lineTo(n+i-l,r),l!==0&&e.arc(n+i-l,r+l,l,-Math.PI/2,0),e.lineTo(n+i,r+o-u),u!==0&&e.arc(n+i-u,r+o-u,u,0,Math.PI/2),e.lineTo(n+c,r+o),c!==0&&e.arc(n+c,r+o-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+s),s!==0&&e.arc(n+s,r+s,s,Math.PI,Math.PI*1.5)}var Ip=Math.round;function s$(e,t,n){if(t){var r=t.x1,i=t.x2,o=t.y1,a=t.y2;e.x1=r,e.x2=i,e.y1=o,e.y2=a;var s=n&&n.lineWidth;return s&&(Ip(r*2)===Ip(i*2)&&(e.x1=e.x2=yh(r,s,!0)),Ip(o*2)===Ip(a*2)&&(e.y1=e.y2=yh(o,s,!0))),e}}function l$(e,t,n){if(t){var r=t.x,i=t.y,o=t.width,a=t.height;e.x=r,e.y=i,e.width=o,e.height=a;var s=n&&n.lineWidth;return s&&(e.x=yh(r,s,!0),e.y=yh(i,s,!0),e.width=Math.max(yh(r+o,s,!1)-e.x,o===0?0:1),e.height=Math.max(yh(i+a,s,!1)-e.y,a===0?0:1)),e}}function yh(e,t,n){if(!t)return e;var r=Ip(e*2);return(r+Ip(t))%2===0?r/2:(r+(n?1:-1))/2}var G8e=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),z8e={},Oi=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new G8e},t.prototype.buildPath=function(n,r){var i,o,a,s;if(this.subPixelOptimize){var l=l$(z8e,r,this.style);i=l.x,o=l.y,a=l.width,s=l.height,l.r=r.r,r=l}else i=r.x,o=r.y,a=r.width,s=r.height;r.r?K8e(n,r):n.rect(i,o,a,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Jn);Oi.prototype.type="rect";var eV={fill:"#000"},tV=2,J8e={style:En({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},C3.style)},Qa=function(e){St(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=eV,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n0,P=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),N=a.calculatedLineHeight,C=0;C=0&&(C=S[N],C.align==="right");)this._placeToken(C,n,w,m,P,"right",R),M-=C.width,P-=C.width,N--;for(k+=(o-(k-g)-(y-P)-M)/2;_<=N;)C=S[_],this._placeToken(C,n,w,m,k+C.width/2,"center",R),k+=C.width,_++;m+=w}},t.prototype._placeToken=function(n,r,i,o,a,s,l){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,f=o+i/2;c==="top"?f=o+n.height/2:c==="bottom"&&(f=o+i-n.height/2);var d=!n.isLineHolder&&gL(u);d&&this._renderBackground(u,r,s==="right"?a-n.width:s==="center"?a-n.width/2:a,f-n.height/2,n.width,n.height);var h=!!u.backgroundColor,p=n.textPadding;p&&(a=sV(a,s,p),f-=n.height/2-p[0]-n.innerHeight/2);var v=this._getOrCreateChild(p2),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,R=0,A=aV("fill"in u?u.fill:"fill"in r?r.fill:(y=!0,m.fill)),x=oV("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!l&&(!m.autoStroke||y)?(R=tV,m.stroke):null),S=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=a,g.y=f,S&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=n.font||Gf,g.opacity=dm(u.opacity,r.opacity,1),rV(g,u),x&&(g.lineWidth=dm(u.lineWidth,r.lineWidth,R),g.lineDash=sn(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=x),A&&(g.fill=A);var L=n.contentWidth,w=n.contentHeight;v.setBoundingRect(new dr(_g(g.x,L,g.textAlign),xp(g.y,w,g.textBaseline),L,w))},t.prototype._renderBackground=function(n,r,i,o,a,s){var l=n.backgroundColor,u=n.borderWidth,c=n.borderColor,f=l&&l.image,d=l&&!f,h=n.borderRadius,p=this,v,g;if(d||n.lineHeight||u&&c){v=this._getOrCreateChild(Oi),v.useStyle(v.createStyle()),v.style.fill=null;var m=v.shape;m.x=i,m.y=o,m.width=a,m.height=s,m.r=h,v.dirtyShape()}if(d){var y=v.style;y.fill=l||null,y.fillOpacity=sn(n.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Al),g.onload=function(){p.dirtyStyle()};var R=g.style;R.image=l.image,R.x=i,R.y=o,R.width=a,R.height=s}if(u&&c){var y=v.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=sn(n.strokeOpacity,1),y.lineDash=n.borderDash,y.lineDashOffset=n.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var A=(v||g).style;A.shadowBlur=n.shadowBlur||0,A.shadowColor=n.shadowColor||"transparent",A.shadowOffsetX=n.shadowOffsetX||0,A.shadowOffsetY=n.shadowOffsetY||0,A.opacity=dm(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return c$(n)&&(r=[n.fontStyle,n.fontWeight,u$(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&xf(r)||n.textFont||n.font},t}(dy),$8e={left:!0,right:1,center:1},j8e={top:1,bottom:1,middle:1},nV=["fontStyle","fontWeight","fontSize","fontFamily"];function u$(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?Pk+"px":e+"px"}function rV(e,t){for(var n=0;n=0,o=!1;if(e instanceof Jn){var a=f$(e),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(G0(s)||G0(l)){r=r||{};var u=r.style||{};u.fill==="inherit"?(o=!0,r=pt({},r),u=pt({},u),u.fill=s):!G0(u.fill)&&G0(s)?(o=!0,r=pt({},r),u=pt({},u),u.fill=L6(s)):!G0(u.stroke)&&G0(l)&&(o||(r=pt({},r),u=pt({},u)),u.stroke=L6(l)),r.style=u}}if(r&&r.z2==null){o||(r=pt({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c??tTe)}return r}function sTe(e,t,n){if(n&&n.z2==null){n=pt({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??nTe)}return n}function lTe(e,t,n){var r=Sr(e.currentStates,t)>=0,i=e.style.opacity,o=r?null:oTe(e,["opacity"],t,{opacity:1});n=n||{};var a=n.style||{};return a.opacity==null&&(n=pt({},n),a=pt({opacity:r?i:o.opacity*.1},a),n.style=a),n}function mL(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return aTe(this,e,t,n);if(e==="blur")return lTe(this,e,n);if(e==="select")return sTe(this,e,n)}return n}function uTe(e){e.stateProxy=mL;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=mL),n&&(n.stateProxy=mL)}function hV(e,t){!y$(e,t)&&!e.__highByOuter&&Rc(e,d$)}function pV(e,t){!y$(e,t)&&!e.__highByOuter&&Rc(e,h$)}function nS(e,t){e.__highByOuter|=1<<(t||0),Rc(e,d$)}function rS(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Rc(e,h$)}function cTe(e){Rc(e,zk)}function v$(e){Rc(e,p$)}function g$(e){Rc(e,rTe)}function m$(e){Rc(e,iTe)}function y$(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function A$(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(i,o){var a=Kk(o),s=i==="series",l=s?e.getViewOfSeriesModel(o):e.getViewOfComponentModel(o);!s&&r.push(l),a.isBlured&&(l.group.traverse(function(u){p$(u)}),s&&n.push(o)),a.isBlured=!1}),Pe(r,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(n,!1,t)})}function B6(e,t,n,r){var i=r.getModel();n=n||"coordinateSystem";function o(u,c){for(var f=0;f0){var s={dataIndex:a,seriesIndex:n.seriesIndex};o!=null&&(s.dataType=o),t.push(s)}})}),t}function Z6(e,t,n){R$(e,!0),Rc(e,uTe),mTe(e,t,n)}function gTe(e){R$(e,!1)}function Tv(e,t,n,r){r?gTe(e):Z6(e,t,n)}function mTe(e,t,n){var r=wr(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var gV=["emphasis","blur","select"],yTe={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function _v(e,t,n,r){n=n||"itemStyle";for(var i=0;i1&&(a*=yL(p),s*=yL(p));var v=(i===o?-1:1)*yL((a*a*(s*s)-a*a*(h*h)-s*s*(d*d))/(a*a*(h*h)+s*s*(d*d)))||0,g=v*a*h/s,m=v*-s*d/a,y=(e+n)/2+uR(f)*g-lR(f)*m,R=(t+r)/2+lR(f)*g+uR(f)*m,A=RV([1,0],[(d-g)/a,(h-m)/s]),x=[(d-g)/a,(h-m)/s],S=[(-1*d-g)/a,(-1*h-m)/s],L=RV(x,S);if(K6(x,S)<=-1&&(L=W1),K6(x,S)>=1&&(L=0),L<0){var w=Math.round(L/W1*1e6)/1e6;L=W1*2+w%2*W1}c.addData(u,y,R,a,s,A,L,f,o)}var wTe=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,MTe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function LTe(e){var t=new jf;if(!e)return t;var n=0,r=0,i=n,o=r,a,s=jf.CMD,l=e.match(wTe);if(!l)return t;for(var u=0;uC*C+F*F&&(w=_,M=k),{cx:w,cy:M,x0:-c,y0:-f,x1:w*(i/x-1),y1:M*(i/x-1)}}function NTe(e){var t;if(It(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function FTe(e,t){var n,r=Og(t.r,0),i=Og(t.r0||0,0),o=r>0,a=i>0;if(!(!o&&!a)){if(o||(r=i,i=0),i>r){var s=r;r=i,i=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,d=!!t.clockwise,h=xV(u-l),p=h>AL&&h%AL;if(p>zs&&(h=p),!(r>zs))e.moveTo(c,f);else if(h>AL-zs)e.moveTo(c+r*J0(l),f+r*Zd(l)),e.arc(c,f,r,l,u,!d),i>zs&&(e.moveTo(c+i*J0(u),f+i*Zd(u)),e.arc(c,f,i,u,l,d));else{var v=void 0,g=void 0,m=void 0,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0,L=void 0,w=void 0,M=void 0,_=void 0,k=void 0,P=void 0,N=void 0,C=void 0,F=r*J0(l),I=r*Zd(l),W=i*J0(u),D=i*Zd(u),Z=h>zs;if(Z){var re=t.cornerRadius;re&&(n=NTe(re),v=n[0],g=n[1],m=n[2],y=n[3]);var B=xV(r-i)/2;if(R=Il(B,m),A=Il(B,y),x=Il(B,v),S=Il(B,g),M=L=Og(R,A),_=w=Og(x,S),(L>zs||w>zs)&&(k=r*J0(u),P=r*Zd(u),N=i*J0(l),C=i*Zd(l),hzs){var Ae=Il(m,M),ce=Il(y,M),fe=cR(N,C,F,I,r,Ae,d),le=cR(k,P,W,D,r,ce,d);e.moveTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),M0&&e.arc(c+fe.cx,f+fe.cy,Ae,qi(fe.y0,fe.x0),qi(fe.y1,fe.x1),!d),e.arc(c,f,r,qi(fe.cy+fe.y1,fe.cx+fe.x1),qi(le.cy+le.y1,le.cx+le.x1),!d),ce>0&&e.arc(c+le.cx,f+le.cy,ce,qi(le.y1,le.x1),qi(le.y0,le.x0),!d))}else e.moveTo(c+F,f+I),e.arc(c,f,r,l,u,!d);if(!(i>zs)||!Z)e.lineTo(c+W,f+D);else if(_>zs){var Ae=Il(v,_),ce=Il(g,_),fe=cR(W,D,k,P,i,-ce,d),le=cR(F,I,N,C,i,-Ae,d);e.lineTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),_0&&e.arc(c+fe.cx,f+fe.cy,ce,qi(fe.y0,fe.x0),qi(fe.y1,fe.x1),!d),e.arc(c,f,i,qi(fe.cy+fe.y1,fe.cx+fe.x1),qi(le.cy+le.y1,le.cx+le.x1),d),Ae>0&&e.arc(c+le.cx,f+le.cy,Ae,qi(le.y1,le.x1),qi(le.y0,le.x0),!d))}else e.lineTo(c+W,f+D),e.arc(c,f,i,u,l,d)}e.closePath()}}}var ETe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),hd=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new ETe},t.prototype.buildPath=function(n,r){FTe(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Jn);hd.prototype.type="sector";var XTe=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),E3=function(e){St(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new XTe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.PI*2;n.moveTo(i+r.r,o),n.arc(i,o,r.r,0,a,!1),n.moveTo(i+r.r0,o),n.arc(i,o,r.r0,0,a,!0)},t}(Jn);E3.prototype.type="ring";function WTe(e,t,n,r){var i=[],o=[],a=[],s=[],l,u,c,f;if(r){c=[1/0,1/0],f=[-1/0,-1/0];for(var d=0,h=e.length;d=2){if(r){var o=WTe(i,r,n,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[s*2],u=o[s*2+1],c=i[(s+1)%a];e.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;sHd[1]){if(s=!1,o)return s;var c=Math.abs(Hd[0]-Qd[1]),f=Math.abs(Qd[0]-Hd[1]);Math.min(c,f)>i.len()&&(c0){var f=c.duration,d=c.delay,h=c.easing,p={duration:f,delay:d||0,easing:h,done:o,force:!!o||!!a,setToFinal:!u,scope:e,during:a};s?t.animateFrom(n,p):t.animateTo(n,p)}else t.stopAnimation(),!s&&t.attr(n),a&&a(1),o&&o()}function go(e,t,n,r,i,o){qk("update",e,t,n,r,i,o)}function sa(e,t,n,r,i,o){qk("enter",e,t,n,r,i,o)}function bm(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function MV(e){return!e.isGroup}function l6e(e){return e.shape!=null}function I$(e,t,n){if(!e||!t)return;function r(a){var s={};return a.traverse(function(l){MV(l)&&l.anid&&(s[l.anid]=l)}),s}function i(a){var s={x:a.x,y:a.y,rotation:a.rotation};return l6e(a)&&(s.shape=pt({},a.shape)),s}var o=r(e);t.traverse(function(a){if(MV(a)&&a.anid){var s=o[a.anid];if(s){var l=i(a);a.attr(i(s)),go(a,l,n,wr(a).dataIndex)}}})}function u6e(e,t){return _t(e,function(n){var r=n[0];r=sS(r,t.x),r=lS(r,t.x+t.width);var i=n[1];return i=sS(i,t.y),i=lS(i,t.y+t.height),[r,i]})}function c6e(e,t){var n=sS(e.x,t.x),r=lS(e.x+e.width,t.x+t.width),i=sS(e.y,t.y),o=lS(e.y+e.height,t.y+t.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function N$(e,t,n){var r=pt({rectHover:!0},t),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),En(i,n),new Al(r)):eP(e.replace("path://",""),r,n,"center")}function f6e(e,t,n,r,i){for(var o=0,a=i[i.length-1];o1)return!1;var g=RL(h,p,c,f)/d;return!(g<0||g>1)}function RL(e,t,n,r){return e*r-n*t}function d6e(e){return e<=1e-6&&e>=-1e-6}function tP(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=Qt(t)?{formatter:t}:t,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=e.formatterParamsExtra;l&&Pe(Dn(l),function(c){u2(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=wr(e.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:En({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function LV(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function W3(e,t){if(e)if(It(e))for(var n=0;n=0&&s.push(l)}),s}}function W$(e,t){return sr(sr({},e,!0),t,!0)}const _6e={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},O6e={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var uS="ZH",nP="EN",sv=nP,Ob={},rP={},V$=or.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||sv).toUpperCase();return e.indexOf(uS)>-1?uS:sv}():sv;function D$(e,t){e=e.toUpperCase(),rP[e]=new ki(t),Ob[e]=t}function k6e(e){if(Qt(e)){var t=Ob[e.toUpperCase()]||{};return e===uS||e===nP?Vn(t):sr(Vn(t),Vn(Ob[sv]),!1)}else return sr(Vn(e),Vn(Ob[sv]),!1)}function P6e(e){return rP[e]}function C6e(){return rP[sv]}D$(nP,_6e);D$(uS,O6e);var iP=1e3,oP=iP*60,xm=oP*60,As=xm*24,IV=As*365,kg={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},hR="{yyyy}-{MM}-{dd}",NV={year:"{yyyy}",month:"{yyyy}-{MM}",day:hR,hour:hR+" "+kg.hour,minute:hR+" "+kg.minute,second:hR+" "+kg.second,millisecond:kg.none},SL=["year","month","day","hour","minute","second","millisecond"],U$=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Wc(e,t){return e+="","0000".substr(0,t-e.length)+e}function lv(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function I6e(e){return e===lv(e)}function N6e(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function B$(e,t,n,r){var i=$f(e),o=i[aP(n)](),a=i[uv(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[B3(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[y2(n)](),f=(c-1)%12+1,d=i[Y3(n)](),h=i[Z3(n)](),p=i[Q3(n)](),v=c>=12?"pm":"am",g=v.toUpperCase(),m=r instanceof ki?r:P6e(r||V$)||C6e(),y=m.getModel("time"),R=y.get("month"),A=y.get("monthAbbr"),x=y.get("dayOfWeek"),S=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,v+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Wc(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,R[a-1]).replace(/{MMM}/g,A[a-1]).replace(/{MM}/g,Wc(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Wc(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Wc(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Wc(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Wc(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Wc(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Wc(p,3)).replace(/{S}/g,p+"")}function F6e(e,t,n,r,i){var o=null;if(Qt(n))o=n;else if(An(n))o=n(e.value,t,{level:e.level});else{var a=pt({},kg);if(e.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(It(o)){var f=e.level==null?0:e.level>=0?e.level:o.length+e.level;f=Math.min(f,o.length-1),o=o[f]}}return B$(new Date(e.value),o,i,r)}function Y$(e,t){var n=$f(e),r=n[uv(t)]()+1,i=n[B3(t)](),o=n[y2(t)](),a=n[Y3(t)](),s=n[Z3(t)](),l=n[Q3(t)](),u=l===0,c=u&&s===0,f=c&&a===0,d=f&&o===0,h=d&&i===1,p=h&&r===1;return p?"year":h?"month":d?"day":f?"hour":c?"minute":u?"second":"millisecond"}function FV(e,t,n){var r=Ar(e)?$f(e):e;switch(t=t||Y$(e,n),t){case"year":return r[aP(n)]();case"half-year":return r[uv(n)]()>=6?1:0;case"quarter":return Math.floor((r[uv(n)]()+1)/4);case"month":return r[uv(n)]();case"day":return r[B3(n)]();case"half-day":return r[y2(n)]()/24;case"hour":return r[y2(n)]();case"minute":return r[Y3(n)]();case"second":return r[Z3(n)]();case"millisecond":return r[Q3(n)]()}}function aP(e){return e?"getUTCFullYear":"getFullYear"}function uv(e){return e?"getUTCMonth":"getMonth"}function B3(e){return e?"getUTCDate":"getDate"}function y2(e){return e?"getUTCHours":"getHours"}function Y3(e){return e?"getUTCMinutes":"getMinutes"}function Z3(e){return e?"getUTCSeconds":"getSeconds"}function Q3(e){return e?"getUTCMilliseconds":"getMilliseconds"}function E6e(e){return e?"setUTCFullYear":"setFullYear"}function Z$(e){return e?"setUTCMonth":"setMonth"}function Q$(e){return e?"setUTCDate":"setDate"}function H$(e){return e?"setUTCHours":"setHours"}function K$(e){return e?"setUTCMinutes":"setMinutes"}function G$(e){return e?"setUTCSeconds":"setSeconds"}function z$(e){return e?"setUTCMilliseconds":"setMilliseconds"}function X6e(e){if(!BLe(e))return Qt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}var J$=yJ,EV=["a","b","c","d","e","f","g"],wL=function(e,t){return"{"+e+(t??"")+"}"};function W6e(e,t,n){It(t)||(t=[t]);var r=t.length;if(!r)return"";for(var i=t[0].$vars||[],o=0;or||l.newline?(o=0,h=v,a+=s+n,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(d?-d.y+c.y:0);p=a+g,p>i||l.newline?(o+=s+n,a=0,p=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),e==="horizontal"?o=h+n:a=p+n)})}var Sm=sP;Fa(sP,"vertical");Fa(sP,"horizontal");function cS(e,t,n){n=J$(n||0);var r=t.width,i=t.height,o=mr(e.left,r),a=mr(e.top,i),s=mr(e.right,r),l=mr(e.bottom,i),u=mr(e.width,r),c=mr(e.height,i),f=n[2]+n[0],d=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-s-d-o),isNaN(c)&&(c=i-l-f-a),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/i?u=r*.8:c=i*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(o)&&(o=r-s-u-d),isNaN(a)&&(a=i-l-c-f),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-d;break}switch(e.top||e.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-f;break}o=o||0,a=a||0,isNaN(u)&&(u=r-d-o-(s||0)),isNaN(c)&&(c=i-f-a-(l||0));var p=new dr(o+n[3],a+n[0],u,c);return p.margin=n,p}function A2(e){var t=e.layoutMode||e.constructor.layoutMode;return rn(t)?t:t?{type:t}:null}function Ov(e,t,n){var r=n&&n.ignoreSize;!It(r)&&(r=[r,r]);var i=a(pR[0],0),o=a(pR[1],1);u(pR[0],e,i),u(pR[1],e,o);function a(c,f){var d={},h=0,p={},v=0,g=2;if(kb(c,function(R){p[R]=e[R]}),kb(c,function(R){s(t,R)&&(d[R]=p[R]=t[R]),l(d,R)&&h++,l(p,R)&&v++}),r[f])return l(t,c[1])?p[c[2]]=null:l(t,c[2])&&(p[c[1]]=null),p;if(v===g||!h)return p;if(h>=g)return d;for(var m=0;m=0;l--)s=sr(s,i[l],!0);r.defaultOption=s}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var i=n+"Index",o=n+"Id";return O3(this.ecModel,n,{index:this.get(i,!0),id:this.get(o,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(ki);t$(fr,ki);k3(fr);L6e(fr);T6e(fr,B6e);function B6e(e){var t=[];return Pe(fr.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=_t(t,function(n){return tu(n).main}),e!=="dataset"&&Sr(t,"dataset")<=0&&t.unshift("dataset"),t}var $$="";typeof navigator<"u"&&($$=navigator.platform||"");var $0="rgba(0, 0, 0, 0.2)";const Y6e={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:$0,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:$0,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:$0,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:$0,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:$0,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:$0,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:$$.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var j$=xn(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ns="original",ha="arrayRows",bl="objectRows",xu="keyedColumns",Wf="typedArray",q$="unknown",ac="column",e1="row",Vi={Must:1,Might:2,Not:3},ej=Ii();function Z6e(e){ej(e).datasetMap=xn()}function Q6e(e,t,n){var r={},i=lP(t);if(!i||!e)return r;var o=[],a=[],s=t.ecModel,l=ej(s).datasetMap,u=i.uid+"_"+n.seriesLayoutBy,c,f;e=e.slice(),Pe(e,function(v,g){var m=rn(v)?v:e[g]={name:v};m.type==="ordinal"&&c==null&&(c=g,f=p(m)),r[m.name]=[]});var d=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});Pe(e,function(v,g){var m=v.name,y=p(v);if(c==null){var R=d.valueWayDim;h(r[m],R,y),h(a,R,y),d.valueWayDim+=y}else if(c===g)h(r[m],0,y),h(o,0,y);else{var R=d.categoryWayDim;h(r[m],R,y),h(a,R,y),d.categoryWayDim+=y}});function h(v,g,m){for(var y=0;yt)return e[r];return e[n-1]}function $6e(e,t,n,r,i,o,a){o=o||e;var s=t(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=a==null||!r?n:J6e(r,a);if(c=c||n,!(!c||!c.length)){var f=c[l];return i&&(u[i]=f),s.paletteIdx=(l+1)%c.length,f}}function j6e(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var vR,V1,WV,VV="\0_ec_inner",q6e=1,cP=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,i,o,a,s){o=o||{},this.option=null,this._theme=new ki(o),this._locale=new ki(a),this._optionManager=s},t.prototype.setOption=function(n,r,i){var o=BV(r);this._optionManager.setOption(n,i,o),this._resetOption(null,o)},t.prototype.resetOption=function(n,r){return this._resetOption(n,BV(r))},t.prototype._resetOption=function(n,r){var i=!1,o=this._optionManager;if(!n||n==="recreate"){var a=o.mountOption(n==="recreate");!this.option||n==="recreate"?WV(this,a):(this.restoreData(),this._mergeOption(a,r)),i=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var s=o.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,r))}if(!n||n==="recreate"||n==="media"){var l=o.getMediaOption(this);l.length&&Pe(l,function(u){i=!0,this._mergeOption(u,r)},this)}return i},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var i=this.option,o=this._componentsMap,a=this._componentsCount,s=[],l=xn(),u=r&&r.replaceMergeMainTypeMap;Z6e(this),Pe(n,function(f,d){f!=null&&(fr.hasClass(d)?d&&(s.push(d),l.set(d,!0)):i[d]=i[d]==null?Vn(f):sr(i[d],f,!0))}),u&&u.each(function(f,d){fr.hasClass(d)&&!l.get(d)&&(s.push(d),l.set(d,!0))}),fr.topologicalTravel(s,fr.getAllClassMainTypes(),c,this);function c(f){var d=z6e(this,f,Co(n[f])),h=o.get(f),p=h?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=HLe(h,d,p);qLe(v,f,fr),i[f]=null,o.set(f,null),a.set(f,0);var g=[],m=[],y=0,R;Pe(v,function(A,x){var S=A.existing,L=A.newOption;if(!L)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var w=f==="series",M=fr.getClass(f,A.keyInfo.subType,!w);if(!M)return;if(f==="tooltip"){if(R)return;R=!0}if(S&&S.constructor===M)S.name=A.keyInfo.name,S.mergeOption(L,this),S.optionUpdated(L,!1);else{var _=pt({componentIndex:x},A.keyInfo);S=new M(L,this,this,_),pt(S,_),A.brandNew&&(S.__requireNewView=!0),S.init(L,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),m.push(S),y++):(g.push(void 0),m.push(void 0))},this),i[f]=g,o.set(f,m),a.set(f,y),f==="series"&&vR(this)}this._seriesIndices||vR(this)},t.prototype.getOption=function(){var n=Vn(this.option);return Pe(n,function(r,i){if(fr.hasClass(i)){for(var o=Co(r),a=o.length,s=!1,l=a-1;l>=0;l--)o[l]&&!d2(o[l])?s=!0:(o[l]=null,!s&&a--);o.length=a,n[i]=o}}),delete n[VV],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var i=this._componentsMap.get(n);if(i){var o=i[r||0];if(o)return o;if(r==null){for(var a=0;a=t:n==="max"?e<=t:e===t}function l_e(e,t){return e.join(",")===t.join(",")}var Us=Pe,R2=rn,YV=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function LL(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=YV.length;n=0;g--){var m=e[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,h)),p>=0){var y=m.data.getByRawIndex(m.stackResultDimension,p);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&d>=0&&y>0||l==="samesign"&&d<=0&&y<0){d=WLe(d,y),v=y;break}}}return r[0]=d,r[1]=v,r})})}var K3=function(){function e(t){this.data=t.data||(t.sourceFormat===xu?{}:[]),this.sourceFormat=t.sourceFormat||q$,this.seriesLayoutBy=t.seriesLayoutBy||ac,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;rv&&(v=R)}h[0]=p,h[1]=v}},i=function(){return this._data?this._data.length/this._dimSize:0};JV=(t={},t[ha+"_"+ac]={pure:!0,appendData:o},t[ha+"_"+e1]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[bl]={pure:!0,appendData:o},t[xu]={pure:!0,appendData:function(a){var s=this._data;Pe(a,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[Ns]={appendData:o},t[Wf]={persistent:!1,pure:!0,appendData:function(a){this._data=a},clean:function(){this._offset+=this.count(),this._data=null}},t);function o(a){for(var s=0;s=0&&(v=a.interpolatedValue[g])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,n){return kv(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function wm(e){return new L_e(e)}var L_e=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var o;this._plan&&!r&&(o=this._plan(this.context));var a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(a!==l||s!==u)&&(o="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||o==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,p=Math.min(d!=null?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(f||h1&&r>0?s:a}};return o;function a(){return t=e?null:l65535?E_e:X_e}function j0(){return[1/0,-1/0]}function W_e(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function nD(e,t,n,r,i){var o=vj[n||"float"];if(i){var a=e[t],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;ug[1]&&(g[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,n,r){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=_t(a,function(y){return y.property}),c=0;cm[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n=0&&n=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&rt)o=a-1;else return a}return-1},e.prototype.indicesOfNearest=function(t,n,r){var i=this._chunks,o=i[t],a=[];if(!o)return a;r==null&&(r=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c=0&&l<0)&&(s=p,l=h,u=0),h===l&&(a[u++]=c))}return a.length=u,a},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,i=this._count;if(r===Array){t=new r(i);for(var o=0;o=f&&y<=d||isNaN(y))&&(l[u++]=v),v++}p=!0}else if(o===2){for(var g=h[i[0]],R=h[i[1]],A=t[i[1]][0],x=t[i[1]][1],m=0;m=f&&y<=d||isNaN(y))&&(S>=A&&S<=x||isNaN(S))&&(l[u++]=v),v++}p=!0}}if(!p)if(o===1)for(var m=0;m=f&&y<=d||isNaN(y))&&(l[u++]=L)}else for(var m=0;mt[_][1])&&(w=!1)}w&&(l[u++]=n.getRawIndex(m))}return um[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),i=r._chunks,o=i[t],a=this.count(),s=0,l=Math.floor(1/n),u=this.getRawIndex(0),c,f,d,h=new(U1(this._rawCount))(Math.min((Math.ceil(a/l)+2)*2,a));h[s++]=u;for(var p=1;pc&&(c=f,d=A)}k>0&&kc-p&&(l=c-p,s.length=l);for(var v=0;vf[1]&&(f[1]=m),d[h++]=y}return o._count=h,o._indices=d,o._updateGetRawIdx(),o},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,i=this._chunks,o=0,a=this.count();ol&&(l=f)}return a=[s,l],this._extent[t]=a,a},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],i=this._chunks,o=0;o=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,i,o){return Pb(n[o],this._dimensions[o])}OL={arrayRows:t,objectRows:function(n,r,i,o){return Pb(n[r],this._dimensions[o])},keyedColumns:t,original:function(n,r,i,o){var a=n&&(n.value==null?n:n.value);return Pb(a instanceof Array?a[o]:a,this._dimensions[o])},typedArray:function(n,r,i,o){return n[o]}}}(),e}(),V_e=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,i,o;if(gR(t)){var a=t,s=void 0,l=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,o=[c._getVersionSign()]}else s=a.get("data",!0),l=da(s)?Wf:Ns,o=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},h=sn(f.seriesLayoutBy,d.seriesLayoutBy)||null,p=sn(f.sourceHeader,d.sourceHeader),v=sn(f.dimensions,d.dimensions),g=h!==d.seriesLayoutBy||!!p!=!!d.sourceHeader||v;i=g?[$6(s,{seriesLayoutBy:h,sourceHeader:p,dimensions:v},l)]:[]}else{var m=t;if(r){var y=this._applyTransform(n);i=y.sourceList,o=y.upstreamSignList}else{var R=m.get("source",!0);i=[$6(R,this._getSourceMetaRawOption(),null)],o=[]}}this._setLocalSource(i,o)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(i!=null){var o="";t.length!==1&&rD(o)}var a,s=[],l=[];return Pe(t,function(u){u.prepareSource();var c=u.getSource(i||0),f="";i!=null&&!c&&rD(f),s.push(c),l.push(u._getVersionSign())}),r?a=N_e(r,s,{datasetIndex:n.componentIndex}):i!=null&&(a=[y_e(s[0])]),{sourceList:a,upstreamSignList:l}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n1||l&&!a){var p=U_e(s,t,n,o,u);c=p.inlineValues,f=p.inlineValueTypes,d=p.blocks,h=p.inlineValues[0]}else if(a){var v=i.getDimensionInfo(o[0]);h=c=kv(i,n,o[0]),f=v.type}else h=c=l?s[0]:s;var g=Zk(t),m=g&&t.name||"",y=i.getName(n),R=r?m:y;return b2("section",{header:m,noHeader:r||!g,sortParam:h,blocks:[b2("nameValue",{markerType:"item",markerColor:u,name:R,noName:!xf(R),value:c,valueType:f,dataIndex:n})].concat(d||[])})}function U_e(e,t,n,r,i){var o=t.getData(),a=zf(e,function(f,d,h){var p=o.getDimensionInfo(h);return f=f||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];r.length?Pe(r,function(f){c(kv(o,n,f),f)}):Pe(e,c);function c(f,d){var h=o.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(a?u.push(b2("nameValue",{markerType:"subItem",markerColor:i,name:h.displayName,value:f,valueType:h.type})):(s.push(f),l.push(h.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var Vc=Ii();function mR(e,t){return e.getName(t)||e.getId(t)}var B_e="__universalTransitionEnabled",Ha=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,i){this.seriesIndex=this.componentIndex,this.dataTask=wm({count:Z_e,reset:Q_e}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,i);var o=Vc(this).sourceManager=new V_e(this);o.prepareSource();var a=this.getInitialData(n,i);oD(a,this),this.dataTask.context.data=a,Vc(this).dataBeforeProcessed=a,iD(this),this._initSelectedMapFromData(a)},t.prototype.mergeDefaultAndTheme=function(n,r){var i=A2(this),o=i?H3(n):{},a=this.subType;fr.hasClass(a)&&(a+="Series"),sr(n,r.getTheme().get(this.subType)),sr(n,this.getDefaultOption()),W6(n,"label",["show"]),this.fillDataTextStyle(n.data),i&&Ov(n,o,i)},t.prototype.mergeOption=function(n,r){n=sr(this.option,n,!0),this.fillDataTextStyle(n.data);var i=A2(this);i&&Ov(this.option,n,i);var o=Vc(this).sourceManager;o.dirty(),o.prepareSource();var a=this.getInitialData(n,r);oD(a,this),this.dataTask.dirty(),this.dataTask.context.data=a,Vc(this).dataBeforeProcessed=a,iD(this),this._initSelectedMapFromData(a)},t.prototype.fillDataTextStyle=function(n){if(n&&!da(n))for(var r=["show"],i=0;ithis.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,i){var o=this.ecModel,a=uP.prototype.getColorFromPalette.call(this,n,r,i);return a||(a=o.getColorFromPalette(n,r,i)),a},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var i=this.option.selectedMap;if(i){var o=this.option.selectedMode,a=this.getData(r);if(o==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(a)}return i},t.prototype.isSelected=function(n,r){var i=this.option.selectedMap;if(!i)return!1;var o=this.getData(r);return(i==="all"||i[mR(o,n)])&&!o.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[B_e])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var i,o,a=this.option,s=a.selectedMode,l=r.length;if(!(!s||!l)){if(s==="series")a.selectedMap="all";else if(s==="multiple"){rn(a.selectedMap)||(a.selectedMap={});for(var u=a.selectedMap,c=0;c0&&this._innerSelect(n,r)}},t.registerClass=function(n){return fr.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(fr);yl(Ha,M_e);yl(Ha,uP);t$(Ha,fr);function iD(e){var t=e.name;Zk(e)||(e.name=Y_e(e)||t)}function Y_e(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return Pe(n,function(i){var o=t.getDimensionInfo(i);o.displayName&&r.push(o.displayName)}),r.join(" ")}function Z_e(e){return e.model.getRawData().count()}function Q_e(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),H_e}function H_e(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function oD(e,t){Pe(f5e(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Fa(K_e,t))})}function K_e(e,t){var n=q6(e);return n&&n.setOutputEnd((t||this).count()),t}function q6(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(e.uid))}return r}}var hc=function(){function e(){this.group=new Ai,this.uid=U3("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){},e.prototype.updateLayout=function(t,n,r,i){},e.prototype.updateVisual=function(t,n,r,i){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();Qk(hc);k3(hc);function vP(){var e=Ii();return function(t){var n=e(t),r=t.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==s)&&"reset"}}var mj=Ii(),G_e=vP(),la=function(){function e(){this.group=new Ai,this.uid=U3("viewChart"),this.renderTask=wm({plan:z_e,reset:J_e}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,i){},e.prototype.highlight=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&sD(o,i,"emphasis")},e.prototype.downplay=function(t,n,r,i){var o=t.getData(i&&i.dataType);o&&sD(o,i,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateLayout=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.updateVisual=function(t,n,r,i){this.render(t,n,r,i)},e.prototype.eachRendered=function(t){W3(this.group,t)},e.markUpdateMethod=function(t,n){mj(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function aD(e,t,n){e&&Q6(e)&&(t==="emphasis"?nS:rS)(e,n)}function sD(e,t,n){var r=Lv(e,t),i=t&&t.highlightKey!=null?ATe(t.highlightKey):null;r!=null?Pe(Co(r),function(o){aD(e.getItemGraphicEl(o),n,i)}):e.eachItemGraphicEl(function(o){aD(o,n,i)})}Qk(la);k3(la);function z_e(e){return G_e(e.model)}function J_e(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=e.view,s=i&&mj(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return l!=="render"&&a[l](t,n,r,i),$_e[l]}var $_e={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};function yj(e,t,n){var r,i=0,o=0,a=null,s,l,u,c;t=t||0;function f(){o=new Date().getTime(),a=null,e.apply(l,u||[])}var d=function(){for(var h=[],p=0;p=0?f():a=setTimeout(f,-s),i=r};return d.clear=function(){a&&(clearTimeout(a),a=null)},d.debounceNextCall=function(h){c=h},d}var lD=Ii(),uD={itemStyle:h2(X$,!0),lineStyle:h2(E$,!0)},j_e={lineStyle:"stroke",itemStyle:"fill"};function Aj(e,t){var n=e.visualStyleMapper||uD[t];return n||(console.warn("Unknown style type '"+t+"'."),uD.itemStyle)}function Rj(e,t){var n=e.visualDrawType||j_e[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var q_e={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=Aj(e,r),a=o(i),s=i.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=Rj(e,r),u=a[l],c=An(u)?u:null,f=a.fill==="auto"||a.stroke==="auto";if(!a[l]||c||f){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());a[l]||(a[l]=d,n.setVisual("colorFromPalette",!0)),a.fill=a.fill==="auto"||An(a.fill)?d:a.fill,a.stroke=a.stroke==="auto"||An(a.stroke)?d:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,p){var v=e.getDataParams(p),g=pt({},a);g[l]=c(v),h.setItemVisual(p,"style",g)}}}},B1=new ki,eOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=Aj(e,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(a,s){var l=a.getRawDataItem(s);if(l&&l[r]){B1.option=l[r];var u=i(B1),c=a.ensureUniqueItemVisual(s,"style");pt(c,u),B1.option.decal&&(a.setItemVisual(s,"decal",B1.option.decal),B1.option.decal.dirty=!0),o in u&&a.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},tOe={performRawSeries:!0,overallReset:function(e){var t=xn();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var i=n.type+"-"+r,o=t.get(i);o||(o={},t.set(i,o)),lD(n).scope=o}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),i={},o=n.getData(),a=lD(n).scope,s=n.visualStyleAccessPath||"itemStyle",l=Rj(n,s);o.each(function(u){var c=o.getRawIndex(u);i[c]=u}),r.each(function(u){var c=i[u],f=o.getItemVisual(c,"colorFromPalette");if(f){var d=o.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",p=r.count();d[l]=n.getColorFromPalette(h,a,p)}})}})}},yR=Math.PI;function nOe(e,t){t=t||{},En(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Ai,r=new Oi({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var i=new Qa({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),o=new Oi({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(o);var a;return t.showSpinner&&(a=new X3({shape:{startAngle:-yR/2,endAngle:-yR/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),a.animateShape(!0).when(1e3,{endAngle:yR*3/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:yR*3/2}).delay(300).start("circularInOut"),n.add(a)),n.resize=function(){var s=i.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=e.getHeight()/2;t.showSpinner&&a.setShape({cx:u,cy:c}),o.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var bj=function(){function e(t,n,r,i){this._stageTaskMap=xn(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=r.concat(i)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var i=r.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),i=r.context,o=!n&&r.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>r.blockIndex,a=o?r.step:null,s=i&&i.modDataCount,l=s!=null?Math.ceil(s/a):null;return{step:a,modBy:l,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),i=t.getData(),o=i.count(),a=r.progressiveEnabled&&n.incrementalPrepareRender&&o>=r.threshold,s=t.get("large")&&o>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?o:null;t.pipelineContext=r.context={progressiveRender:a,modDataCount:l,large:s}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=xn();t.eachSeries(function(i){var o=i.getProgressive(),a=i.uid;r.set(a,{id:a,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:o&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(o||700),count:0}),n._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;Pe(this._allHandlers,function(i){var o=t.get(i.uid)||t.set(i.uid,{}),a="";gu(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,o,n,r),i.overallReset&&this._createOverallStageTask(i,o,n,r)},this)},e.prototype.prepareView=function(t,n,r,i){var o=t.renderTask,a=o.context;a.model=n,a.ecModel=r,a.api=i,o.__block=!t.incrementalPrepareRender,this._pipe(n,o)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,i){i=i||{};var o=!1,a=this;Pe(t,function(l,u){if(!(i.visualType&&i.visualType!==l.visualType)){var c=a._stageTaskMap.get(l.uid),f=c.seriesTaskMap,d=c.overallTask;if(d){var h,p=d.agentStubMap;p.each(function(g){s(i,g)&&(g.dirty(),h=!0)}),h&&d.dirty(),a.updatePayload(d,r);var v=a.getPerformArgs(d,i.block);p.each(function(g){g.perform(v)}),d.perform(v)&&(o=!0)}else f&&f.each(function(g,m){s(i,g)&&g.dirty();var y=a.getPerformArgs(g,i.block);y.skip=!l.performRawSeries&&n.isSeriesFiltered(g.context.model),a.updatePayload(g,r),g.perform(y)&&(o=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=o||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,i){var o=this,a=n.seriesTaskMap,s=n.seriesTaskMap=xn(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):l?r.eachRawSeriesByType(l,c):u&&u(r,i).each(c);function c(f){var d=f.uid,h=s.set(d,a&&a.get(d)||wm({plan:sOe,reset:lOe,count:cOe}));h.context={model:f,ecModel:r,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:o},o._pipe(f,h)}},e.prototype._createOverallStageTask=function(t,n,r,i){var o=this,a=n.overallTask=n.overallTask||wm({reset:rOe});a.context={ecModel:r,api:i,overallReset:t.overallReset,scheduler:o};var s=a.agentStubMap,l=a.agentStubMap=xn(),u=t.seriesType,c=t.getTargetSeries,f=!0,d=!1,h="";gu(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,p):c?c(r,i).each(p):(f=!1,Pe(r.getSeries(),p));function p(v){var g=v.uid,m=l.set(g,s&&s.get(g)||(d=!0,wm({reset:iOe,onDirty:aOe})));m.context={model:v,overallProgress:f},m.agent=a,m.__block=f,o._pipe(v,m)}d&&a.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,i=this._pipelineMap.get(r);!i.head&&(i.head=n),i.tail&&i.tail.pipe(n),i.tail=n,n.__idxInPipeline=i.count++,n.__pipeline=i},e.wrapStageHandler=function(t,n){return An(t)&&(t={overallReset:t,seriesType:fOe(t)}),t.uid=U3("stageHandler"),n&&(t.visualType=n),t},e}();function rOe(e){e.overallReset(e.ecModel,e.api,e.payload)}function iOe(e){return e.overallProgress&&oOe}function oOe(){this.agent.dirty(),this.getDownstream().dirty()}function aOe(){this.agent&&this.agent.dirty()}function sOe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function lOe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Co(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?_t(t,function(n,r){return xj(r)}):uOe}var uOe=xj(0);function xj(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o0&&h===u.length-d.length){var p=u.slice(0,h);p!=="data"&&(n.mainType=p,n[d.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(r[u]=l,c=!0),c||(i[u]=l)})}return{cptQuery:n,dataQuery:r,otherQuery:i}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=n.cptQuery,u=n.dataQuery;return c(l,a,"mainType")&&c(l,a,"subType")&&c(l,a,"index","componentIndex")&&c(l,a,"name")&&c(l,a,"id")&&c(u,o,"name")&&c(u,o,"dataIndex")&&c(u,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,n.otherQuery,i,o));function c(f,d,h,p){return f[h]==null||d[p||h]===f[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),e_=["symbol","symbolSize","symbolRotate","symbolOffset"],hD=e_.concat(["symbolKeepAspect"]),pOe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},i={},o=!1,a=0;a=0&&Ah(l)?l:.5;var u=e.createRadialGradient(a,s,0,a,s,l);return u}function pD(e,t,n){for(var r=t.type==="radial"?COe(e,t,n):POe(e,t,n),i=t.colorStops,o=0;o0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Ar(e)?[e]:It(e)?e:null}function gP(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&NOe(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(n=_t(n,function(o){return o/i}),r/=i)}return[n,r]}var FOe=new jf(!0);function dS(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function gD(e){return typeof e=="string"&&e!=="none"}function hS(e){var t=e.fill;return t!=null&&t!=="none"}function mD(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function yD(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function AD(e,t,n){var r=Hk(t.image,t.__image,n);if(P3(r)){var i=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(t.x||0,t.y||0),o.rotateSelf(0,0,(t.rotation||0)*Rb),o.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(o)}return i}}function EOe(e,t,n,r){var i,o=dS(n),a=hS(n),s=n.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||FOe,f=t.__dirty;if(!r){var d=n.fill,h=n.stroke,p=a&&!!d.colorStops,v=o&&!!h.colorStops,g=a&&!!d.image,m=o&&!!h.image,y=void 0,R=void 0,A=void 0,x=void 0,S=void 0;(p||v)&&(S=t.getBoundingRect()),p&&(y=f?pD(e,d,S):t.__canvasFillGradient,t.__canvasFillGradient=y),v&&(R=f?pD(e,h,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=R),g&&(A=f||!t.__canvasFillPattern?AD(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=A),m&&(x=f||!t.__canvasStrokePattern?AD(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=A),p?e.fillStyle=y:g&&(A?e.fillStyle=A:a=!1),v?e.strokeStyle=R:m&&(x?e.strokeStyle=x:o=!1)}var L=t.getGlobalScale();c.setScale(L[0],L[1],t.segmentIgnoreThreshold);var w,M;e.setLineDash&&n.lineDash&&(i=gP(t),w=i[0],M=i[1]);var _=!0;(u||f&bp)&&(c.setDPR(e.dpr),l?c.setContext(null):(c.setContext(e),_=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),_&&c.rebuildPath(e,l?s:1),w&&(e.setLineDash(w),e.lineDashOffset=M),r||(n.strokeFirst?(o&&yD(e,n),a&&mD(e,n)):(a&&mD(e,n),o&&yD(e,n))),w&&e.setLineDash([])}function XOe(e,t,n){var r=t.__image=Hk(n.image,t.__image,t,t.onload);if(!(!r||!P3(r))){var i=n.x||0,o=n.y||0,a=t.getWidth(),s=t.getHeight(),l=r.width/r.height;if(a==null&&s!=null?a=s*l:s==null&&a!=null?s=a/l:a==null&&s==null&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,f=a-u,d=s-c;e.drawImage(r,u,c,f,d,i,o,a,s)}else e.drawImage(r,i,o,a,s)}}function WOe(e,t,n){var r,i=n.text;if(i!=null&&(i+=""),i){e.font=n.font||Gf,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var o=void 0,a=void 0;e.setLineDash&&n.lineDash&&(r=gP(t),o=r[0],a=r[1]),o&&(e.setLineDash(o),e.lineDashOffset=a),n.strokeFirst?(dS(n)&&e.strokeText(i,n.x,n.y),hS(n)&&e.fillText(i,n.x,n.y)):(hS(n)&&e.fillText(i,n.x,n.y),dS(n)&&e.strokeText(i,n.x,n.y)),o&&e.setLineDash([])}}var RD=["shadowBlur","shadowOffsetX","shadowOffsetY"],bD=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function _j(e,t,n,r,i){var o=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){jo(e,i),o=!0;var a=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(a)?Fh.opacity:a}(r||t.blend!==n.blend)&&(o||(jo(e,i),o=!0),e.globalCompositeOperation=t.blend||Fh.blend);for(var s=0;s0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,i){if(!this[eo]){if(this._disposed){this.id;return}var o,a,s;if(rn(r)&&(i=r.lazyUpdate,o=r.silent,a=r.replaceMerge,s=r.transition,r=r.notMerge),this[eo]=!0,!this._model||r){var l=new i_e(this._api),u=this._theme,c=this._model=new cP;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(n,{replaceMerge:a},o_);var f={seriesTransition:s,optionChanged:!0};if(i)this[Bo]={silent:o,updateParams:f},this[eo]=!1,this.getZr().wakeUp();else{try{ep(this),Dc.update.call(this,null,f)}catch(d){throw this[Bo]=null,this[eo]=!1,d}this._ssr||this._zr.flush(),this[Bo]=null,this[eo]=!1,Y1.call(this,o),Z1.call(this,o)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||or.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(or.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return Pe(r,function(i){i.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,i=this._model,o=[],a=this;Pe(r,function(l){i.eachComponent({mainType:l},function(u){var c=a._componentsMap[u.__viewId];c.group.ignore||(o.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return Pe(o,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",i=this.group,o=Math.min,a=Math.max,s=1/0;if(ED[i]){var l=s,u=s,c=-s,f=-s,d=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();Pe(Lm,function(R,A){if(R.group===i){var x=r?R.getZr().painter.getSvgDom().innerHTML:R.renderToCanvas(Vn(n)),S=R.getDom().getBoundingClientRect();l=o(S.left,l),u=o(S.top,u),c=a(S.right,c),f=a(S.bottom,f),d.push({dom:x,left:S.left,top:S.top})}}),l*=h,u*=h,c*=h,f*=h;var p=c-l,v=f-u,g=ly.createCanvas(),m=BW(g,{renderer:r?"svg":"canvas"});if(m.resize({width:p,height:v}),r){var y="";return Pe(d,function(R){var A=R.left-l,x=R.top-u;y+=''+R.dom+""}),m.painter.getSvgRoot().innerHTML=y,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new Oi({shape:{x:0,y:0,width:p,height:v},style:{fill:n.connectedBackgroundColor}})),Pe(d,function(R){var A=new Al({style:{x:R.left*h-l,y:R.top*h-u,image:R.dom}});m.add(A)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return NL(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return NL(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var i=this._model,o,a=iL(i,n);return Pe(a,function(s,l){l.indexOf("Models")>=0&&Pe(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)o=o||!!c.containPoint(r);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(o=o||f.containPoint(r,u))}},this)},this),!!o},t.prototype.getVisual=function(n,r){var i=this._model,o=iL(i,n,{defaultMainType:"series"}),a=o.seriesModel,s=a.getData(),l=o.hasOwnProperty("dataIndexInside")?o.dataIndexInside:o.hasOwnProperty("dataIndex")?s.indexOfRawIndex(o.dataIndex):null;return l!=null?gOe(s,l,r):mOe(s,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;Pe(cke,function(r){var i=function(o){var a=n.getModel(),s=o.target,l,u=r==="globalout";if(u?l={}:s&&RR(s,function(p){var v=wr(p);if(v&&v.dataIndex!=null){var g=v.dataModel||a.getSeriesByIndex(v.seriesIndex);return l=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return l=pt({},v.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var d=c&&f!=null&&a.getComponent(c,f),h=d&&n[d.mainType==="series"?"_chartsMap":"_componentsMap"][d.__viewId];l.event=o,l.type=r,n._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:d,view:h},n.trigger(r,l)}};i.zrEventfulCallAtLast=!0,n._zr.on(r,i,n)}),Pe(Mm,function(r,i){n._messageCenter.on(i,function(o){this.trigger(i,o)},n)}),Pe(["selectchanged"],function(r){n._messageCenter.on(r,function(i){this.trigger(r,i)},n)}),AOe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&qJ(this.getDom(),AP,"");var r=this,i=r._api,o=r._model;Pe(r._componentsViews,function(a){a.dispose(o,i)}),Pe(r._chartsViews,function(a){a.dispose(o,i)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Lm[r.id]},t.prototype.resize=function(n){if(!this[eo]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var i=r.resetOption("media"),o=n&&n.silent;this[Bo]&&(o==null&&(o=this[Bo].silent),i=!0,this[Bo]=null),this[eo]=!0;try{i&&ep(this),Dc.update.call(this,{type:"resize",animation:pt({duration:0},n&&n.animation)})}catch(a){throw this[eo]=!1,a}this[eo]=!1,Y1.call(this,o),Z1.call(this,o)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(rn(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!a_[n]){var i=a_[n](this._api,r),o=this._zr;this._loadingFX=i,o.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=pt({},n);return r.type=Mm[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(rn(r)||(r={silent:!!r}),!!pS[n.type]&&this._model){if(this[eo]){this._pendingActions.push(n);return}var i=r.silent;EL.call(this,n,i);var o=r.flush;o?this._zr.flush():o!==!1&&or.browser.weChat&&this._throttledZrFlush(),Y1.call(this,i),Z1.call(this,i)}},t.prototype.updateLabelLayout=function(){qs.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,i=this.getModel(),o=i.getSeriesByIndex(r);o.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){ep=function(f){var d=f._scheduler;d.restorePipelines(f._model),d.prepareStageTasks(),IL(f,!0),IL(f,!1),d.plan()},IL=function(f,d){for(var h=f._model,p=f._scheduler,v=d?f._componentsViews:f._chartsViews,g=d?f._componentsMap:f._chartsMap,m=f._zr,y=f._api,R=0;Rd.get("hoverLayerThreshold")&&!or.node&&!or.worker&&d.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=f._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function a(f,d){var h=f.get("blendMode")||null;d.eachRendered(function(p){p.isGroup||(p.style.blend=h)})}function s(f,d){if(!f.preventAutoZ){var h=f.get("z")||0,p=f.get("zlevel")||0;d.eachRendered(function(v){return l(v,h,p,-1/0),!0})}}function l(f,d,h,p){var v=f.getTextContent(),g=f.getTextGuideLine(),m=f.isGroup;if(m)for(var y=f.childrenRef(),R=0;R0?{duration:v,delay:h.get("delay"),easing:h.get("easing")}:null;d.eachRendered(function(m){if(m.states&&m.states.emphasis){if(bm(m))return;if(m instanceof Jn&&RTe(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(p){m.stateTransition=g;var R=m.getTextContent(),A=m.getTextGuideLine();R&&(R.stateTransition=g),A&&(A.stateTransition=g)}m.__dirty&&i(m)}})}ND=function(f){return new(function(d){St(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(p){for(;p;){var v=p.__ecComponentInfo;if(v!=null)return f._model.getComponent(v.mainType,v.index);p=p.parent}},h.prototype.enterEmphasis=function(p,v){nS(p,v),rs(f)},h.prototype.leaveEmphasis=function(p,v){rS(p,v),rs(f)},h.prototype.enterBlur=function(p){cTe(p),rs(f)},h.prototype.leaveBlur=function(p){v$(p),rs(f)},h.prototype.enterSelect=function(p){g$(p),rs(f)},h.prototype.leaveSelect=function(p){m$(p),rs(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(p){return f.getViewOfComponentModel(p)},h.prototype.getViewOfSeriesModel=function(p){return f.getViewOfSeriesModel(p)},h}(rj))(f)},Bj=function(f){function d(h,p){for(var v=0;v=0)){XD.push(n);var o=bj.wrapStageHandler(n,i);o.__prio=t,o.__raw=n,e.push(o)}}function Gj(e,t){a_[e]=t}function yke(e,t,n){var r=zOe("registerMap");r&&r(e,t,n)}var Ake=I_e;v0(mP,q_e);v0(z3,eOe);v0(z3,tOe);v0(mP,pOe);v0(z3,vOe);v0(Ej,KOe);Hj(oj);Kj(jOe,g_e);Gj("default",nOe);t1({type:Eh,event:Eh,update:Eh},Ba);t1({type:Tb,event:Tb,update:Tb},Ba);t1({type:ym,event:ym,update:ym},Ba);t1({type:_b,event:_b,update:_b},Ba);t1({type:Am,event:Am,update:Am},Ba);Qj("light",dOe);Qj("dark",Mj);function Q1(e){return e==null?0:e.length||1}function WD(e){return e}var Rke=function(){function e(t,n,r,i,o,a){this._old=t,this._new=n,this._oldKeyGetter=r||WD,this._newKeyGetter=i||WD,this.context=o,this._diffModeMultiple=a==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},i=new Array(t.length),o=new Array(n.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(n,r,o,"_newKeyGetter");for(var a=0;a1){var c=l.shift();l.length===1&&(r[s]=l[0]),this._update&&this._update(c,a)}else u===1?(r[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},i={},o=[],a=[];this._initIndexMap(t,r,o,"_oldKeyGetter"),this._initIndexMap(n,i,a,"_newKeyGetter");for(var s=0;s1&&d===1)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(f===1&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(f===1&&d===1)this._update&&this._update(c,u),i[l]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(f>1)for(var h=0;h1)for(var s=0;s30}var H1=rn,Uc=_t,Tke=typeof Int32Array>"u"?Array:Int32Array,_ke="e\0\0",VD=-1,Oke=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],kke=["_approximateExtent"],DD,wR,K1,G1,VL,MR,DL,eq=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,i=!1;Jj(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,r=t),r=r||["x","y"];for(var o={},a=[],s={},l=!1,u={},c=0;c=n)){var r=this._store,i=r.getProvider();this._updateOrdinalMeta();var o=this._nameList,a=this._idList,s=i.getSource().sourceFormat,l=s===Ns;if(l&&!i.pure)for(var u=[],c=t;c0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,i=r[t];i||(i=r[t]={});var o=i[n];return o==null&&(o=this.getVisual(n),It(o)?o=o.slice():H1(o)&&(o=pt({},o)),i[n]=o),o},e.prototype.setItemVisual=function(t,n,r){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,H1(n)?pt(i,n):i[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){H1(t)?pt(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?pt(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;eTe(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){Pe(this._graphicEls,function(r,i){r&&t&&t.call(n,r,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Uc(this.dimensions,this._getDimInfo,this),this.hostModel)),VL(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];An(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=r.apply(this,arguments);return n.apply(this,[i].concat(Fk(arguments)))})},e.internalField=function(){DD=function(t){var n=t._invertedIndicesMap;Pe(n,function(r,i){var o=t._dimInfos[i],a=o.ordinalMeta,s=t._store;if(a){r=n[i]=new Tke(a.categories.length);for(var l=0;l1&&(l+="__ec__"+c),i[n]=l}}}(),e}();function tq(e,t){dP(e)||(e=aj(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],i=xn(),o=[],a=Cke(e,n,r,t.dimensionsCount),s=t.canOmitUnusedDimensions&&qj(a),l=r===e.dimensionsDefine,u=l?jj(e):$j(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,a));for(var f=xn(c),d=new pj(a),h=0;h0&&(r.name=i+(o-1)),o++,t.set(i,o)}}function Cke(e,t,n,r){var i=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return Pe(t,function(o){var a;rn(o)&&(a=o.dimsDef)&&(i=Math.max(i,a.length))}),i}function Ike(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var Nke=function(){function e(t){this.coordSysDims=[],this.axisMap=xn(),this.categoryAxisMap=xn(),this.coordSysName=t}return e}();function Fke(e){var t=e.get("coordinateSystem"),n=new Nke(t),r=Eke[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var Eke={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",ul).models[0],o=e.getReferringComponents("yAxis",ul).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),tp(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),tp(o)&&(r.set("y",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var i=e.getReferringComponents("singleAxis",ul).models[0];t.coordSysDims=["single"],n.set("single",i),tp(i)&&(r.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var i=e.getReferringComponents("polar",ul).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),tp(o)&&(r.set("radius",o),t.firstCategoryDimIndex=0),tp(a)&&(r.set("angle",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=i.getComponent("parallel",e.get("parallelIndex")),a=t.coordSysDims=o.dimensions.slice();Pe(o.parallelAxisIndex,function(s,l){var u=i.getComponent("parallelAxis",s),c=a[l];n.set(c,u),tp(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function tp(e){return e.get("type")==="category"}function Xke(e,t,n){n=n||{};var r=n.byIndex,i=n.stackedCoordDimension,o,a,s;Wke(t)?o=t:(a=t.schema,o=a.dimensions,s=t.store);var l=!!(e&&e.get("stack")),u,c,f,d;if(Pe(o,function(y,R){Qt(y)&&(o[R]=y={name:y}),l&&!y.isExtraCoord&&(!r&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!r&&!u&&(r=!0),c){f="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,p=c.type,v=0;Pe(o,function(y){y.coordDim===h&&v++});var g={name:f,coordDim:h,coordDimIndex:v,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},m={name:d,coordDim:d,coordDimIndex:v+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(s&&(g.storeDimIndex=s.ensureCalculationDimension(d,p),m.storeDimIndex=s.ensureCalculationDimension(f,p)),a.appendCalculationDimension(g),a.appendCalculationDimension(m)):(o.push(g),o.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:d,stackResultDimension:f}}function Wke(e){return!Jj(e.schema)}function Pv(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Vke(e,t){return Pv(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Dke(e,t){var n=e.get("coordinateSystem"),r=fP.get(n),i;return t&&t.coordSysDims&&(i=_t(t.coordSysDims,function(o){var a={name:o},s=t.axisMap.get(o);if(s){var l=s.get("type");a.type=Ske(l)}return a})),i||(i=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),i}function Uke(e,t,n){var r,i;return n&&Pe(e,function(o,a){var s=o.coordDim,l=n.categoryAxisMap.get(s);l&&(r==null&&(r=a),o.ordinalMeta=l.getOrdinalMeta(),t&&(o.createInvertedIndices=!0)),o.otherDims.itemName!=null&&(i=!0)}),!i&&r!=null&&(e[r].otherDims.itemName=0),r}function J3(e,t,n){n=n||{};var r=t.getSourceManager(),i,o=!1;i=r.getSource(),o=i.sourceFormat===Ns;var a=Fke(t),s=Dke(t,a),l=n.useEncodeDefaulter,u=An(l)?l:l?Fa(Q6e,s,t):null,c={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},f=tq(i,c),d=Uke(f.dimensions,n.createInvertedIndices,a),h=o?null:r.getSharedDataStore(f),p=Xke(t,{schema:f,store:h}),v=new eq(f,t);v.setCalculationInfo(p);var g=d!=null&&Bke(i)?function(m,y,R,A){return A===d?R:this.defaultDimValueGetter(m,y,R,A)}:null;return v.hasItemOption=!1,v.initData(o?i:h,null,g),v}function Bke(e){if(e.sourceFormat===Ns){var t=Yke(e.data||[]);return!It(fy(t))}}function Yke(e){for(var t=0;tn[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();k3(Su);var Zke=0,s_=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Zke}return e.createByAxisModel=function(t){var n=t.option,r=n.data,i=r&&_t(r,Qke);return new e({categories:i,needCollect:!i,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!Qt(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var i=this._getOrCreateMap();return n=i.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,i.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=xn(this.categories))},e}();function Qke(e){return rn(e)&&e.value!=null?e.value:e+""}function l_(e){return e.type==="interval"||e.type==="log"}function Hke(e,t,n,r){var i={},o=e[1]-e[0],a=i.interval=GJ(o/t);n!=null&&ar&&(a=i.interval=r);var s=i.intervalPrecision=nq(a),l=i.niceTickExtent=[ui(Math.ceil(e[0]/a)*a,s),ui(Math.floor(e[1]/a)*a,s)];return Kke(l,e),i}function UL(e){var t=Math.pow(10,Yk(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,ui(n*t)}function nq(e){return tc(e)+2}function UD(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function Kke(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),UD(e,0,t),UD(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function $3(e,t){return e>=t[0]&&e<=t[1]}function j3(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function q3(e,t){return e*(t[1]-t[0])+t[0]}var xP=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var i=r.getSetting("ordinalMeta");return i||(i=new s_({})),It(i)&&(i=new s_({categories:_t(i,function(o){return rn(o)?o.value:o})})),r._ordinalMeta=i,r._extent=r.getSetting("extent")||[0,i.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:Qt(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),$3(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),j3(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(q3(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,i=r[0];i<=r[1];)n.push({value:i}),i++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,i=this._ordinalNumbersByTick=[],o=this._ticksByOrdinalNumber=[],a=0,s=this._ordinalMeta.categories.length,l=Math.min(s,r.length);a=0&&n=0&&n=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Su);Su.registerClass(xP);var Jd=ui,td=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return $3(n,this._extent)},t.prototype.normalize=function(n){return j3(n,this._extent)},t.prototype.scale=function(n){return q3(n,this._extent)},t.prototype.setExtent=function(n,r){var i=this._extent;isNaN(n)||(i[0]=parseFloat(n)),isNaN(r)||(i[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=nq(n)},t.prototype.getTicks=function(n){var r=this._interval,i=this._extent,o=this._niceExtent,a=this._intervalPrecision,s=[];if(!r)return s;var l=1e4;i[0]l)return[];var c=s.length?s[s.length-1].value:o[1];return i[1]>c&&(n?s.push({value:Jd(c+r,a)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),i=[],o=this.getExtent(),a=1;ao[0]&&h0&&(o=o===null?s:Math.min(o,s))}n[r]=o}}return n}function oq(e){var t=Jke(e),n=[];return Pe(e,function(r){var i=r.coordinateSystem,o=i.getBaseAxis(),a=o.getExtent(),s;if(o.type==="category")s=o.getBandWidth();else if(o.type==="value"||o.type==="time"){var l=o.dim+"_"+o.index,u=t[l],c=Math.abs(a[1]-a[0]),f=o.scale.getExtent(),d=Math.abs(f[1]-f[0]);s=u?c/d*u:c}else{var h=r.getData();s=Math.abs(a[1]-a[0])/h.count()}var p=mr(r.get("barWidth"),s),v=mr(r.get("barMaxWidth"),s),g=mr(r.get("barMinWidth")||(sq(r)?.5:1),s),m=r.get("barGap"),y=r.get("barCategoryGap");n.push({bandWidth:s,barWidth:p,barMaxWidth:v,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:wP(o),stackId:SP(r)})}),$ke(n)}function $ke(e){var t={};Pe(e,function(r,i){var o=r.axisKey,a=r.bandWidth,s=t[o]||{bandWidth:a,remainedWidth:a,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[o]=s;var u=r.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=r.barMaxWidth;f&&(l[u].maxWidth=f);var d=r.barMinWidth;d&&(l[u].minWidth=d);var h=r.barGap;h!=null&&(s.gap=h);var p=r.barCategoryGap;p!=null&&(s.categoryGap=p)});var n={};return Pe(t,function(r,i){n[i]={};var o=r.stacks,a=r.bandWidth,s=r.categoryGap;if(s==null){var l=Dn(o).length;s=Math.max(35-l*4,15)+"%"}var u=mr(s,a),c=mr(r.gap,1),f=r.remainedWidth,d=r.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),Pe(o,function(m){var y=m.maxWidth,R=m.minWidth;if(m.width){var A=m.width;y&&(A=Math.min(A,y)),R&&(A=Math.max(A,R)),m.width=A,f-=A+c*A,d--}else{var A=h;y&&yA&&(A=R),A!==h&&(m.width=A,f-=A+c*A,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var p=0,v;Pe(o,function(m,y){m.width||(m.width=h),v=m,p+=m.width*(1+c)}),v&&(p-=v.width*c);var g=-p/2;Pe(o,function(m,y){n[i][y]=n[i][y]||{bandWidth:a,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function jke(e,t,n){if(e&&t){var r=e[wP(t)];return r!=null&&n!=null?r[SP(n)]:r}}function qke(e,t){var n=iq(e,t),r=oq(n);Pe(n,function(i){var o=i.getData(),a=i.coordinateSystem,s=a.getBaseAxis(),l=SP(i),u=r[wP(s)][l],c=u.offset,f=u.width;o.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function ePe(e){return{seriesType:e,plan:vP(),reset:function(t){if(aq(t)){var n=t.getData(),r=t.coordinateSystem,i=r.getBaseAxis(),o=r.getOtherAxis(i),a=n.getDimensionIndex(n.mapDimension(o.dim)),s=n.getDimensionIndex(n.mapDimension(i.dim)),l=t.get("showBackground",!0),u=n.mapDimension(o.dim),c=n.getCalculationInfo("stackResultDimension"),f=Pv(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),d=o.isHorizontal(),h=tPe(i,o),p=sq(t),v=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),y=n.getLayout("offset");return{progress:function(R,A){for(var x=R.count,S=p&&nc(x*3),L=p&&l&&nc(x*3),w=p&&nc(x),M=r.master.getRect(),_=d?M.width:M.height,k,P=A.getStore(),N=0;(k=R.next())!=null;){var C=P.get(f?g:a,k),F=P.get(s,k),I=h,W=void 0;f&&(W=+C-P.get(a,k));var D=void 0,Z=void 0,re=void 0,B=void 0;if(d){var Y=r.dataToPoint([C,F]);if(f){var Q=r.dataToPoint([W,F]);I=Q[0]}D=I,Z=Y[1]+y,re=Y[0]-I,B=m,Math.abs(re)0?n:1:n))}var nPe=function(e,t,n,r){for(;n>>1;e[i][1]i&&(this._approxInterval=i);var s=LR.length,l=Math.min(nPe(LR,this._approxInterval,0,s),s-1);this._interval=LR[l][1],this._minLevelUnit=LR[Math.max(l-1,0)][0]},t.prototype.parse=function(n){return Ar(n)?n:+$f(n)},t.prototype.contain=function(n){return $3(this.parse(n),this._extent)},t.prototype.normalize=function(n){return j3(this.parse(n),this._extent)},t.prototype.scale=function(n){return q3(n,this._extent)},t.type="time",t}(td),LR=[["second",iP],["minute",oP],["hour",xm],["quarter-day",xm*6],["half-day",xm*12],["day",As*1.2],["half-week",As*3.5],["week",As*7],["month",As*31],["quarter",As*95],["half-year",IV/2],["year",IV]];function rPe(e,t,n,r){var i=$f(t),o=$f(n),a=function(p){return FV(i,p,r)===FV(o,p,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},f=function(){return c()&&a("minute")},d=function(){return f()&&a("second")},h=function(){return d()&&a("millisecond")};switch(e){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return d();case"millisecond":return h()}}function iPe(e,t){return e/=As,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function oPe(e){var t=30*As;return e/=t,e>6?6:e>3?3:e>2?2:1}function aPe(e){return e/=xm,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function BD(e,t){return e/=t?oP:iP,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function sPe(e){return GJ(e)}function lPe(e,t,n){var r=new Date(e);switch(lv(t)){case"year":case"month":r[Z$(n)](0);case"day":r[Q$(n)](1);case"hour":r[H$(n)](0);case"minute":r[K$(n)](0);case"second":r[G$(n)](0),r[z$(n)](0)}return r.getTime()}function uPe(e,t,n,r){var i=1e4,o=U$,a=0;function s(_,k,P,N,C,F,I){for(var W=new Date(k),D=k,Z=W[N]();D1&&F===0&&P.unshift({value:P[0].value-D})}}for(var F=0;F=r[0]&&y<=r[1]&&f++)}var R=(r[1]-r[0])/t;if(f>R*1.5&&d>R/1.5||(u.push(g),f>R||e===o[h]))break}c=[]}}}for(var A=ao(_t(u,function(_){return ao(_,function(k){return k.value>=r[0]&&k.value<=r[1]&&!k.notAdd})}),function(_){return _.length>0}),x=[],S=A.length-1,h=0;h0;)o*=10;var s=[ui(dPe(r[0]/o)*o),ui(fPe(r[1]/o)*o)];this._interval=o,this._niceExtent=s}},t.prototype.calcNiceExtent=function(n){Tm.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=Bs(n)/Bs(this.base),$3(n,this._extent)},t.prototype.normalize=function(n){return n=Bs(n)/Bs(this.base),j3(n,this._extent)},t.prototype.scale=function(n){return n=q3(n,this._extent),TR(this.base,n)},t.type="log",t}(Su),uq=MP.prototype;uq.getMinorTicks=Tm.getMinorTicks;uq.getLabel=Tm.getLabel;function _R(e,t){return cPe(e,tc(t))}Su.registerClass(MP);var hPe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var d=this._determinedMin,h=this._determinedMax;return d!=null&&(s=d,u=!0),h!=null&&(l=h,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,n){this[vPe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=pPe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),pPe={min:"_determinedMin",max:"_determinedMax"},vPe={min:"_dataMin",max:"_dataMax"};function gPe(e,t,n){var r=e.rawExtentInfo;return r||(r=new hPe(e,t,n),e.rawExtentInfo=r,r)}function OR(e,t){return t==null?null:Qx(t)?NaN:e.parse(t)}function cq(e,t){var n=e.type,r=gPe(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var i=r.min,o=r.max,a=t.ecModel;if(a&&n==="time"){var s=iq("bar",a),l=!1;if(Pe(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=oq(s),c=mPe(i,o,t,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function mPe(e,t,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=jke(r,n.axis);if(a===void 0)return{min:e,max:t};var s=1/0;Pe(a,function(h){s=Math.min(h.offset,s)});var l=-1/0;Pe(a,function(h){l=Math.max(h.offset+h.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-e,f=1-(s+l)/o,d=c/f-c;return t+=d*(l/u),e-=d*(s/u),{min:e,max:t}}function ZD(e,t){var n=t,r=cq(e,n),i=r.extent,o=n.get("splitNumber");e instanceof MP&&(e.base=n.get("logBase"));var a=e.type,s=n.get("interval"),l=a==="interval"||a==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function yPe(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new xP({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new lq({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Su.getClass(t)||td)}}function APe(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function n1(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(i,o){return e.scale.getFormattedLabel(i,o,r)}}(t):Qt(t)?function(r){return function(i){var o=e.scale.getLabel(i),a=r.replace("{value}",o??"");return a}}(t):An(t)?function(r){return function(i,o){return n!=null&&(o=i.value-n),r(RPe(e,i),o,i.level!=null?{level:i.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function RPe(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function bPe(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,i,o=n.getExtent();n instanceof xP?i=n.count():(r=n.getTicks(),i=r.length);var a=e.getLabelModel(),s=n1(e),l,u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c=0||(QD.push(e),An(e)&&(e={install:e}),e.install(wPe))}var w2=Ii();function hq(e,t){var n=_t(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function MPe(e){var t=e.getLabelModel().get("customValues");if(t){var n=n1(e);return{labels:hq(e,t).map(function(r){var i={value:r};return{formattedLabel:n(i),rawLabel:e.scale.getLabel(i),tickValue:r}})}}return e.type==="category"?TPe(e):OPe(e)}function LPe(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:hq(e,n)}:e.type==="category"?_Pe(e,t):{ticks:_t(e.scale.getTicks(),function(r){return r.value})}}function TPe(e){var t=e.getLabelModel(),n=pq(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function pq(e,t){var n=vq(e,"labels"),r=LP(t),i=gq(n,r);if(i)return i;var o,a;return An(r)?o=Aq(e,r):(a=r==="auto"?kPe(e):r,o=yq(e,a)),mq(n,r,{labels:o,labelCategoryInterval:a})}function _Pe(e,t){var n=vq(e,"ticks"),r=LP(t),i=gq(n,r);if(i)return i;var o,a;if((!t.get("show")||e.scale.isBlank())&&(o=[]),An(r))o=Aq(e,r,!0);else if(r==="auto"){var s=pq(e,e.getLabelModel());a=s.labelCategoryInterval,o=_t(s.labels,function(l){return l.tickValue})}else a=r,o=yq(e,a,!0);return mq(n,r,{ticks:o,tickCategoryInterval:a})}function OPe(e){var t=e.scale.getTicks(),n=n1(e);return{labels:_t(t,function(r,i){return{level:r.level,formattedLabel:n(r,i),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function vq(e,t){return w2(e)[t]||(w2(e)[t]=[])}function gq(e,t){for(var n=0;n40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=e.dataToCoord(l+1)-e.dataToCoord(l),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;l<=o[1];l+=s){var p=0,v=0,g=YJ(n({value:l}),t.font,"center","top");p=g.width*1.3,v=g.height*1.3,d=Math.max(d,p,7),h=Math.max(h,v,7)}var m=d/c,y=h/f;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var R=Math.max(0,Math.floor(Math.min(m,y))),A=w2(e.model),x=e.getExtent(),S=A.lastAutoInterval,L=A.lastTickCount;return S!=null&&L!=null&&Math.abs(S-R)<=1&&Math.abs(L-a)<=1&&S>R&&A.axisExtent0===x[0]&&A.axisExtent1===x[1]?R=S:(A.lastTickCount=a,A.lastAutoInterval=R,A.axisExtent0=x[0],A.axisExtent1=x[1]),R}function CPe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function yq(e,t,n){var r=n1(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=o[0],c=i.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=fq(e),d=a.get("showMinLabel")||f,h=a.get("showMaxLabel")||f;d&&u!==o[0]&&v(o[0]);for(var p=u;p<=o[1];p+=l)v(p);h&&p-l!==o[1]&&v(o[1]);function v(g){var m={value:g};s.push(n?g:{formattedLabel:r(m),rawLabel:i.getLabel(m),tickValue:g})}return s}function Aq(e,t,n){var r=e.scale,i=n1(e),o=[];return Pe(r.getTicks(),function(a){var s=r.getLabel(a),l=a.value;t(a.value,s)&&o.push(n?l:{formattedLabel:i(a),rawLabel:s,tickValue:l})}),o}var HD=[0,1],Rq=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return t>=r&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return ELe(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(r=r.slice(),KD(r,i.count())),X6(t,HD,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(r=r.slice(),KD(r,i.count()));var o=X6(t,r,HD,n);return this.scale.scale(o)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=LPe(this,n),i=r.ticks,o=_t(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),a=n.get("alignWithLabel");return IPe(this,o,a,t.clamp),o},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),i=_t(r,function(o){return _t(o,function(a){return{coord:this.dataToCoord(a),tickValue:a}},this)},this);return i},e.prototype.getViewLabels=function(){return MPe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/r},e.prototype.calculateCategoryInterval=function(){return PPe(this)},e}();function KD(e,t){var n=e[1]-e[0],r=t,i=n/r/2;e[0]+=i,e[1]-=i}function IPe(e,t,n,r){var i=t.length;if(!e.onBand||n||!i)return;var o=e.getExtent(),a,s;if(i===1)t[0].coord=o[0],a=t[1]={coord:o[1]};else{var l=t[i-1].tickValue-t[0].tickValue,u=(t[i-1].coord-t[0].coord)/l;Pe(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();s=1+c[1]-t[i-1].tickValue,a={coord:t[i-1].coord+u*s},t.push(a)}var f=o[0]>o[1];d(t[0].coord,o[0])&&(r?t[0].coord=o[0]:t.shift()),r&&d(o[0],t[0].coord)&&t.unshift({coord:o[0]}),d(o[1],a.coord)&&(r?a.coord=o[1]:t.pop()),r&&d(a.coord,o[1])&&t.push({coord:o[1]});function d(h,p){return h=ui(h),p=ui(p),f?h>p:h0){t=t/180*Math.PI,Mf.fromArray(e[0]),Zr.fromArray(e[1]),Bi.fromArray(e[2]),cn.sub(Lf,Mf,Zr),cn.sub(jl,Bi,Zr);var n=Lf.len(),r=jl.len();if(!(n<.001||r<.001)){Lf.scale(1/n),jl.scale(1/r);var i=Lf.dot(jl),o=Math.cos(t);if(o1&&cn.copy(_o,Bi),_o.toArray(e[1])}}}}function FPe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Mf.fromArray(e[0]),Zr.fromArray(e[1]),Bi.fromArray(e[2]),cn.sub(Lf,Zr,Mf),cn.sub(jl,Bi,Zr);var r=Lf.len(),i=jl.len();if(!(r<.001||i<.001)){Lf.scale(1/r),jl.scale(1/i);var o=Lf.dot(t),a=Math.cos(n);if(o=l)cn.copy(_o,Bi);else{_o.scaleAndAdd(jl,s/Math.tan(Math.PI/2-c));var f=Bi.x!==Zr.x?(_o.x-Zr.x)/(Bi.x-Zr.x):(_o.y-Zr.y)/(Bi.y-Zr.y);if(isNaN(f))return;f<0?cn.copy(_o,Zr):f>1&&cn.copy(_o,Bi)}_o.toArray(e[1])}}}}function BL(e,t,n,r){var i=n==="normal",o=i?e:e.ensureState(n);o.ignore=t;var a=r.get("smooth");a&&a===!0&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?e.useStyle(s):o.style=s}function EPe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=R6(r[0],r[1]),o=R6(r[1],r[2]);if(!i||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var a=Math.min(i,o)*n,s=W5([],r[1],r[0],a/i),l=W5([],r[1],r[2],a/o),u=W5([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c0&&o&&x(-c/a,0,a);var v=e[0],g=e[a-1],m,y;R(),m<0&&S(-m,.8),y<0&&S(y,.8),R(),A(m,y,1),A(y,m,-1),R(),m<0&&L(-m),y<0&&L(y);function R(){m=v.rect[t]-r,y=i-g.rect[t]-g.rect[n]}function A(w,M,_){if(w<0){var k=Math.min(M,-w);if(k>0){x(k*_,0,a);var P=k+w;P<0&&S(-P*_,1)}else S(-w*_,1)}}function x(w,M,_){w!==0&&(u=!0);for(var k=M;k<_;k++){var P=e[k],N=P.rect;N[t]+=w,P.label[t]+=w}}function S(w,M){for(var _=[],k=0,P=1;P0)for(var P=0;P0;P--){var I=_[P-1]*F;x(-I,P,a)}}}function L(w){var M=w<0?-1:1;w=Math.abs(w);for(var _=Math.ceil(w/(a-1)),k=0;k0?x(_,0,k+1):x(-_,a-k-1,a),w-=_,w<=0)return}return u}function UPe(e,t,n,r){return DPe(e,"y","height",t,n,r)}function BPe(e){var t=[];e.sort(function(v,g){return g.priority-v.priority});var n=new dr(0,0,0,0);function r(v){if(!v.ignore){var g=v.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}v.ignore=!0}for(var i=0;i-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ha);function TP(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var i=kv(e,t,n[0]);return i!=null?i+"":null}else if(r){for(var o=[],a=0;a=0&&r.push(t[o])}return r.join(" ")}var _P=function(e){St(t,e);function t(n,r,i,o){var a=e.call(this)||this;return a.updateData(n,r,i,o),a}return t.prototype._createSymbol=function(n,r,i,o,a){this.removeAll();var s=ed(n,-1,-1,2,2,null,a);s.attr({z2:100,culling:!0,scaleX:o[0]/2,scaleY:o[1]/2}),s.drift=ZPe,this._symbolType=n,this.add(s)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){nS(this.childAt(0))},t.prototype.downplay=function(){rS(this.childAt(0))},t.prototype.setZ=function(n,r){var i=this.childAt(0);i.zlevel=n,i.z=r},t.prototype.setDraggable=function(n,r){var i=this.childAt(0);i.draggable=n,i.cursor=!r&&n?"move":i.cursor},t.prototype.updateData=function(n,r,i,o){this.silent=!1;var a=n.getItemVisual(r,"symbol")||"circle",s=n.hostModel,l=t.getSymbolSize(n,r),u=a!==this._symbolType,c=o&&o.disableAnimation;if(u){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(a,n,r,l,f)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:l[0]/2,scaleY:l[1]/2};c?d.attr(h):go(d,h,s,r),v2(d)}if(this._updateCommon(n,r,l,i,o),u){var d=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,sa(d,h,s,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,i,o,a){var s=this.childAt(0),l=n.hostModel,u,c,f,d,h,p,v,g,m;if(o&&(u=o.emphasisItemStyle,c=o.blurItemStyle,f=o.selectItemStyle,d=o.focus,h=o.blurScope,v=o.labelStatesModels,g=o.hoverScale,m=o.cursorStyle,p=o.emphasisDisabled),!o||n.hasItemOption){var y=o&&o.itemModel?o.itemModel:n.getItemModel(r),R=y.getModel("emphasis");u=R.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),d=R.get("focus"),h=R.get("blurScope"),p=R.get("disabled"),v=qv(y),g=R.getShallow("scale"),m=y.getShallow("cursor")}var A=n.getItemVisual(r,"symbolRotate");s.attr("rotation",(A||0)*Math.PI/180||0);var x=Tj(n.getItemVisual(r,"symbolOffset"),i);x&&(s.x=x[0],s.y=x[1]),m&&s.attr("cursor",m);var S=n.getItemVisual(r,"style"),L=S.fill;if(s instanceof Al){var w=s.style;s.useStyle(pt({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},S))}else s.__isEmptyBrush?s.useStyle(pt({},S)):s.useStyle(S),s.style.decal=null,s.setColor(L,a&&a.symbolInnerColor),s.style.strokeNoScale=!0;var M=n.getItemVisual(r,"liftZ"),_=this._z2;M!=null?_==null&&(this._z2=s.z2,s.z2+=M):_!=null&&(s.z2=_,this._z2=null);var k=a&&a.useNameLabel;jv(s,v,{labelFetcher:l,labelDataIndex:r,defaultText:P,inheritColor:L,defaultOpacity:S.opacity});function P(F){return k?n.getName(F):TP(n,F)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var N=s.ensureState("emphasis");N.style=u,s.ensureState("select").style=f,s.ensureState("blur").style=c;var C=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;N.scaleX=this._sizeX*C,N.scaleY=this._sizeY*C,this.setSymbolScale(1),Tv(this,d,h,p)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,i){var o=this.childAt(0),a=wr(this).dataIndex,s=i&&i.animation;if(this.silent=o.silent=!0,i&&i.fadeLabel){var l=o.getTextContent();l&&oS(l,{style:{opacity:0}},r,{dataIndex:a,removeOpt:s,cb:function(){o.removeTextContent()}})}else o.removeTextContent();oS(o,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:a,cb:n,removeOpt:s})},t.getSymbolSize=function(n,r){return Lj(n.getItemVisual(r,"symbolSize"))},t}(Ai);function ZPe(e,t){this.parent.drift(e,t)}function YL(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function GD(e){return e!=null&&!rn(e)&&(e={isIgnore:e}),e||{}}function zD(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:qv(t),cursorStyle:t.get("cursor")}}var Sq=function(){function e(t){this.group=new Ai,this._SymbolCtor=t||_P}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=GD(n);var r=this.group,i=t.hostModel,o=this._data,a=this._SymbolCtor,s=n.disableAnimation,l=zD(t),u={disableAnimation:s},c=n.getSymbolPoint||function(f){return t.getItemLayout(f)};o||r.removeAll(),t.diff(o).add(function(f){var d=c(f);if(YL(t,d,f,n)){var h=new a(t,f,l,u);h.setPosition(d),t.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,d){var h=o.getItemGraphicEl(d),p=c(f);if(!YL(t,p,f,n)){r.remove(h);return}var v=t.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==v)r.remove(h),h=new a(t,f,l,u),h.setPosition(p);else{h.updateData(t,f,l,u);var m={x:p[0],y:p[1]};s?h.attr(m):go(h,m,i)}r.add(h),t.setItemGraphicEl(f,h)}).remove(function(f){var d=o.getItemGraphicEl(f);d&&d.fadeOut(function(){r.remove(d)},i)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,i){var o=t._getSymbolPoint(i);r.setPosition(o),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=zD(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=GD(r);function i(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var o=t.start;o0?n=r[0]:r[1]<0&&(n=r[1]),n}function Mq(e,t,n,r){var i=NaN;e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart);var o=e.baseDataOffset,a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}function HPe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,i){n.push({cmd:"=",idx:i,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function KPe(e,t,n,r,i,o,a,s){for(var l=HPe(e,t),u=[],c=[],f=[],d=[],h=[],p=[],v=[],g=wq(i,t,a),m=e.getLayout("points")||[],y=t.getLayout("points")||[],R=0;R=i||v<0)break;if(Xh(m,y)){if(l){v+=o;continue}break}if(v===n)e[o>0?"moveTo":"lineTo"](m,y),f=m,d=y;else{var R=m-u,A=y-c;if(R*R+A*A<.5){v+=o;continue}if(a>0){for(var x=v+o,S=t[x*2],L=t[x*2+1];S===m&&L===y&&g=r||Xh(S,L))h=m,p=y;else{_=S-u,k=L-c;var C=m-u,F=S-m,I=y-c,W=L-y,D=void 0,Z=void 0;if(s==="x"){D=Math.abs(C),Z=Math.abs(F);var re=_>0?1:-1;h=m-re*D*a,p=y,P=m+re*Z*a,N=y}else if(s==="y"){D=Math.abs(I),Z=Math.abs(W);var B=k>0?1:-1;h=m,p=y-B*D*a,P=m,N=y+B*Z*a}else D=Math.sqrt(C*C+I*I),Z=Math.sqrt(F*F+W*W),M=Z/(Z+D),h=m-_*a*(1-M),p=y-k*a*(1-M),P=m+_*a*M,N=y+k*a*M,P=Bc(P,Yc(S,m)),N=Bc(N,Yc(L,y)),P=Yc(P,Bc(S,m)),N=Yc(N,Bc(L,y)),_=P-m,k=N-y,h=m-_*D/Z,p=y-k*D/Z,h=Bc(h,Yc(u,m)),p=Bc(p,Yc(c,y)),h=Yc(h,Bc(u,m)),p=Yc(p,Bc(c,y)),_=m-h,k=y-p,P=m+_*Z/D,N=y+k*Z/D}e.bezierCurveTo(f,d,h,p,m,y),f=P,d=N}else e.lineTo(m,y)}u=m,c=y,v+=o}return g}var Lq=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),GPe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Lq},t.prototype.buildPath=function(n,r){var i=r.points,o=0,a=i.length/2;if(r.connectNulls){for(;a>0&&Xh(i[a*2-2],i[a*2-1]);a--);for(;o=0){var A=u?(p-l)*R+l:(h-s)*R+s;return u?[n,A]:[A,n]}s=h,l=p;break;case a.C:h=o[f++],p=o[f++],v=o[f++],g=o[f++],m=o[f++],y=o[f++];var x=u?Kx(s,h,v,m,n,c):Kx(l,p,g,y,n,c);if(x>0)for(var S=0;S=0){var A=u?Qi(l,p,g,y,L):Qi(s,h,v,m,L);return u?[n,A]:[A,n]}}s=m,l=y;break}}},t}(Jn),zPe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Lq),JPe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new zPe},t.prototype.buildPath=function(n,r){var i=r.points,o=r.stackedOnPoints,a=0,s=i.length/2,l=r.smoothMonotone;if(r.connectNulls){for(;s>0&&Xh(i[s*2-2],i[s*2-1]);s--);for(;at){o?n.push(a(o,l,t)):i&&n.push(a(i,l,0),a(i,l,t));break}else i&&(n.push(a(i,l,0)),i=null),n.push(l),o=l}return n}function eCe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var i,o,a=r.length-1;a>=0;a--){var s=e.getDimensionInfo(r[a].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){o=r[a];break}}if(o){var l=t.getAxis(i),u=_t(o.stops,function(R){return{coord:l.toGlobalCoord(l.dataToCoord(R.value)),color:R.color}}),c=u.length,f=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var d=qPe(u,i==="x"?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=10,v=d[0].coord-p,g=d[h-1].coord+p,m=g-v;if(m<.001)return"transparent";Pe(d,function(R){R.offset=(R.coord-v)/m}),d.push({offset:h?d[h-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:f[0]||"transparent"});var y=new _$(0,0,0,0,d,!0);return y[i]=v,y[i+"2"]=g,y}}}function tCe(e,t,n){var r=e.get("showAllSymbol"),i=r==="auto";if(!(r&&!i)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(i&&nCe(o,t))){var a=t.mapDimension(o.dim),s={};return Pe(o.getViewLabels(),function(l){var u=o.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(a,l))}}}}function nCe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var i=t.count(),o=Math.max(1,Math.round(i/5)),a=0;ar)return!1;return!0}function rCe(e,t){return isNaN(e)||isNaN(t)}function iCe(e){for(var t=e.length/2;t>0&&rCe(e[t*2-2],e[t*2-1]);t--);return t-1}function eU(e,t){return[e[t*2],e[t*2+1]]}function oCe(e,t,n){for(var r=e.length/2,i=n==="x"?0:1,o,a,s=0,l=-1,u=0;u=t||o>=t&&a<=t){l=u;break}s=u,o=a}return{range:[s,l],t:(t-o)/(a-o)}}function Oq(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var re=v.getState("emphasis").style;re.lineWidth=+v.style.lineWidth+1}wr(v).seriesIndex=n.seriesIndex,Tv(v,W,D,Z);var B=qD(n.get("smooth")),Y=n.get("smoothMonotone");if(v.setShape({smooth:B,smoothMonotone:Y,connectNulls:w}),g){var Q=l.getCalculationInfo("stackedOnSeries"),K=0;g.useStyle(En(c.getAreaStyle(),{fill:N,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),Q&&(K=qD(Q.get("smooth"))),g.setShape({smooth:B,stackedOnSmooth:K,smoothMonotone:Y,connectNulls:w}),_v(g,n,"areaStyle"),wr(g).seriesIndex=n.seriesIndex,Tv(g,W,D,Z)}var q=function($){o._changePolyState($)};l.eachItemGraphicEl(function($){$&&($.onHoverStateChange=q)}),this._polyline.onHoverStateChange=q,this._data=l,this._coordSys=a,this._stackedOnPoints=S,this._points=f,this._step=k,this._valueOrigin=A,n.get("triggerLineEvent")&&(this.packEventData(n,v),g&&this.packEventData(n,g))},t.prototype.packEventData=function(n,r){wr(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,i,o){var a=n.getData(),s=Lv(a,o);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=a.getLayout("points"),u=a.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var d=n.get("zlevel")||0,h=n.get("z")||0;u=new _P(a,s),u.x=c,u.y=f,u.setZ(d,h);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=d,p.z=h,p.z2=this._polyline.z2+1),u.__temp=!0,a.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else la.prototype.highlight.call(this,n,r,i,o)},t.prototype.downplay=function(n,r,i,o){var a=n.getData(),s=Lv(a,o);if(this._changePolyState("normal"),s!=null&&s>=0){var l=a.getItemGraphicEl(s);l&&(l.__temp?(a.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else la.prototype.downplay.call(this,n,r,i,o)},t.prototype._changePolyState=function(n){var r=this._polygon;dV(this._polyline,n),r&&dV(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new GPe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new JPe({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(n,r,i){var o,a,s=r.getBaseAxis(),l=s.inverse;r.type==="cartesian2d"?(o=s.isHorizontal(),a=!1):r.type==="polar"&&(o=s.dim==="angle",a=!0);var u=n.hostModel,c=u.get("animationDuration");An(c)&&(c=c(null));var f=u.get("animationDelay")||0,d=An(f)?f(null):f;n.eachItemGraphicEl(function(h,p){var v=h;if(v){var g=[h.x,h.y],m=void 0,y=void 0,R=void 0;if(i)if(a){var A=i,x=r.pointToCoord(g);o?(m=A.startAngle,y=A.endAngle,R=-x[1]/180*Math.PI):(m=A.r0,y=A.r,R=x[0])}else{var S=i;o?(m=S.x,y=S.x+S.width,R=h.x):(m=S.y+S.height,y=S.y,R=h.y)}var L=y===m?0:(R-m)/(y-m);l&&(L=1-L);var w=An(f)?f(p):c*L+d,M=v.getSymbolPath(),_=M.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:w}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:w}),M.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,i){var o=n.getModel("endLabel");if(Oq(n)){var a=n.getData(),s=this._polyline,l=a.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Qa({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=iCe(l);c>=0&&(jv(s,qv(n,"endLabel"),{inheritColor:i,labelFetcher:n,labelDataIndex:c,defaultText:function(f,d,h){return h!=null?xq(a,h):TP(a,f)},enableTextSetter:!0},aCe(o,r)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,i,o,a,s,l){var u=this._endLabel,c=this._polyline;if(u){n<1&&o.originalX==null&&(o.originalX=u.x,o.originalY=u.y);var f=i.getLayout("points"),d=i.hostModel,h=d.get("connectNulls"),p=s.get("precision"),v=s.get("distance")||0,g=l.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,R=r.shape,A=y?m?R.x:R.y+R.height:m?R.x+R.width:R.y,x=(m?v:0)*(y?-1:1),S=(m?0:-v)*(y?-1:1),L=m?"x":"y",w=oCe(f,A,L),M=w.range,_=M[1]-M[0],k=void 0;if(_>=1){if(_>1&&!h){var P=eU(f,M[0]);u.attr({x:P[0]+x,y:P[1]+S}),a&&(k=d.getRawValue(M[0]))}else{var P=c.getPointOn(A,L);P&&u.attr({x:P[0]+x,y:P[1]+S});var N=d.getRawValue(M[0]),C=d.getRawValue(M[1]);a&&(k=r8e(i,p,N,C,w.t))}o.lastFrameIndex=M[0]}else{var F=n===1||o.lastFrameIndex>0?M[0]:0,P=eU(f,F);a&&(k=d.getRawValue(F)),u.attr({x:P[0]+x,y:P[1]+S})}if(a){var I=D3(u);typeof I.setLabelText=="function"&&I.setLabelText(k)}}},t.prototype._doUpdateAnimation=function(n,r,i,o,a,s,l){var u=this._polyline,c=this._polygon,f=n.hostModel,d=KPe(this._data,n,this._stackedOnPoints,r,this._coordSys,i,this._valueOrigin),h=d.current,p=d.stackedOnCurrent,v=d.next,g=d.stackedOnNext;if(a&&(h=Zc(d.current,i,a,l),p=Zc(d.stackedOnCurrent,i,a,l),v=Zc(d.next,i,a,l),g=Zc(d.stackedOnNext,i,a,l)),jD(h,v)>3e3||c&&jD(p,g)>3e3){u.stopAnimation(),u.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:g}));return}u.shape.__points=d.current,u.shape.points=h;var m={shape:{points:v}};d.current!==h&&(m.shape.__points=d.next),u.stopAnimation(),go(u,m,f),c&&(c.setShape({points:h,stackedOnPoints:p}),c.stopAnimation(),go(c,{shape:{stackedOnPoints:g}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],R=d.status,A=0;At&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;nt&&(t=o,n=i)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},uCe=function(e){return Math.round(e.length/2)};function kq(e){return{seriesType:e,reset:function(t,n,r){var i=t.getData(),o=t.get("sampling"),a=t.coordinateSystem,s=i.count();if(s>10&&a.type==="cartesian2d"&&o){var l=a.getBaseAxis(),u=a.getOtherAxis(l),c=l.getExtent(),f=r.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(f||1),h=Math.round(s/d);if(isFinite(h)&&h>1){o==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/h));var p=void 0;Qt(o)?p=lCe[o]:An(o)&&(p=o),p&&t.setData(i.downSample(i.mapDimension(u.dim),1/h,p,uCe))}}}}}function cCe(e){e.registerChartView(sCe),e.registerSeriesModel(YPe),e.registerLayout(kP("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,kq("line"))}var c_=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,i){var o=this.coordinateSystem;if(o&&o.clampData){var a=o.clampData(n),s=o.dataToPoint(a);if(i)Pe(o.getAxes(),function(d,h){if(d.type==="category"&&r!=null){var p=d.getTicksCoords(),v=d.getTickModel().get("alignWithLabel"),g=a[h],m=r[h]==="x1"||r[h]==="y1";if(m&&!v&&(g+=1),p.length<2)return;if(p.length===2){s[h]=d.toGlobalCoord(d.getExtent()[m?1:0]);return}for(var y=void 0,R=void 0,A=1,x=0;xg){R=(S+y)/2;break}x===1&&(A=L-p[0].tickValue)}R==null&&(y?y&&(R=p[p.length-1].coord):R=p[0].coord),s[h]=d.toGlobalCoord(R)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=o.getBaseAxis().isHorizontal()?0:1;s[f]+=u+c/2}return s}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Ha);Ha.registerClass(c_);var fCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return J3(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,i){return i.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=W$(c_.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(c_),dCe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),tU=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new dCe},t.prototype.buildPath=function(n,r){var i=r.cx,o=r.cy,a=Math.max(r.r0||0,0),s=Math.max(r.r,0),l=(s-a)*.5,u=a+l,c=r.startAngle,f=r.endAngle,d=r.clockwise,h=Math.PI*2,p=d?f-cMath.PI/2&&cs)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var i=r.scale,o=i.getExtent(),a=Math.max(0,o[0]),s=Math.min(o[1],i.getOrdinalMeta().categories.length-1);a<=s;++a)if(n.ordinalNumbers[a]!==i.getRawOrdinalNumber(a))return!0},t.prototype._updateSortWithinSameData=function(n,r,i,o){if(this._isOrderChangedWithinSameData(n,r,i)){var a=this._dataSort(n,i,r);this._isOrderDifferentInView(a,i)&&(this._removeOnRenderedListener(o),o.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:a}))}},t.prototype._dispatchInitSort=function(n,r,i){var o=r.baseAxis,a=this._dataSort(n,o,function(s){return n.get(n.mapDimension(r.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:o.dim+"Axis",isInitSort:!0,axisId:o.index,sortInfo:a})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,i=this._data;n&&n.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(o){aS(o,n,wr(o).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(la),nU={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,o=e.y+e.height,a=QL(t.x,e.x),s=HL(t.x+t.width,i),l=QL(t.y,e.y),u=HL(t.y+t.height,o),c=si?s:a,t.y=f&&l>o?u:l,t.width=c?0:s-a,t.height=f?0:u-l,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var i=HL(t.r,e.r),o=QL(t.r0,e.r0);t.r=i,t.r0=o;var a=i-o<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return a}},rU={cartesian2d:function(e,t,n,r,i,o,a,s,l){var u=new Oi({shape:pt({},r),z2:1});if(u.__dataIndex=n,u.name="item",o){var c=u.shape,f=i?"height":"width";c[f]=0}return u},polar:function(e,t,n,r,i,o,a,s,l){var u=!i&&l?tU:hd,c=new u({shape:r,z2:1});c.name="item";var f=Pq(i);if(c.calculateTextPosition=hCe(f,{isRoundCap:u===tU}),o){var d=c.shape,h=i?"r":"endAngle",p={};d[h]=i?r.r0:r.startAngle,p[h]=r[h],(s?go:sa)(c,{shape:p},o)}return c}};function mCe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function iU(e,t,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?go:sa)(n,{shape:l},t,i,null);var c=t?e.baseAxis.model:null;(a?go:sa)(n,{shape:u},c,i)}function oU(e,t){for(var n=0;n0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function RCe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function Pq(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function sU(e,t,n,r,i,o,a,s){var l=t.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var c=e.shape,f=Cg(r.getModel("itemStyle"),c,!0);pt(c,f),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(l);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var h=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=qv(r);jv(e,p,{labelFetcher:o,labelDataIndex:n,defaultText:TP(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var v=e.getTextContent();if(s&&v){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,pCe(e,g==="outside"?h:g,Pq(a),r.get(["label","rotate"]))}y6e(v,p,o.getRawValue(n),function(y){return xq(t,y)});var m=r.getModel(["emphasis"]);Tv(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),_v(e,r),RCe(i)&&(e.style.fill="none",e.style.stroke="none",Pe(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function bCe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),o=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,i,o)}var xCe=function(){function e(){}return e}(),lU=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new xCe},t.prototype.buildPath=function(n,r){for(var i=r.points,o=this.baseDimIdx,a=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c=0?n:null},30,!1);function SCe(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,f=o.length/3;c=s[0]&&t<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function Cq(e,t,n){if(OP(n,"cartesian2d")){var r=t,i=n.getArea();return{x:e?r.x:i.x,y:e?i.y:r.y,width:e?r.width:i.width,height:e?i.height:r.height}}else{var i=n.getArea(),o=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:o.r0,r:e?i.r:o.r,startAngle:e?o.startAngle:0,endAngle:e?o.endAngle:Math.PI*2}}}function wCe(e,t,n){var r=e.type==="polar"?hd:Oi;return new r({shape:Cq(t,n,e),silent:!0,z2:0})}function MCe(e){e.registerChartView(gCe),e.registerSeriesModel(fCe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Fa(qke,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,ePe("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,kq("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var fU=Math.PI*2,IR=Math.PI/180;function Iq(e,t){return cS(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Nq(e,t){var n=Iq(e,t),r=e.get("center"),i=e.get("radius");It(i)||(i=[0,i]);var o=mr(n.width,t.getWidth()),a=mr(n.height,t.getHeight()),s=Math.min(o,a),l=mr(i[0],s/2),u=mr(i[1],s/2),c,f,d=e.coordinateSystem;if(d){var h=d.dataToPoint(r);c=h[0]||0,f=h[1]||0}else It(r)||(r=[r,r]),c=mr(r[0],o)+n.x,f=mr(r[1],a)+n.y;return{cx:c,cy:f,r0:l,r:u}}function LCe(e,t,n){t.eachSeriesByType(e,function(r){var i=r.getData(),o=i.mapDimension("value"),a=Iq(r,n),s=Nq(r,n),l=s.cx,u=s.cy,c=s.r,f=s.r0,d=-r.get("startAngle")*IR,h=r.get("endAngle"),p=r.get("padAngle")*IR;h=h==="auto"?d-fU:-h*IR;var v=r.get("minAngle")*IR,g=v+p,m=0;i.each(o,function(W){!isNaN(W)&&m++});var y=i.getSum(o),R=Math.PI/(y||m)*2,A=r.get("clockwise"),x=r.get("roseType"),S=r.get("stillShowZeroSum"),L=i.getDataExtent(o);L[0]=0;var w=A?1:-1,M=[d,h],_=w*p/2;o$(M,!A),d=M[0],h=M[1];var k=Fq(r);k.startAngle=d,k.endAngle=h,k.clockwise=A;var P=Math.abs(h-d),N=P,C=0,F=d;if(i.setLayout({viewRect:a,r:c}),i.each(o,function(W,D){var Z;if(isNaN(W)){i.setItemLayout(D,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:l,cy:u,r0:f,r:x?NaN:c});return}x!=="area"?Z=y===0&&S?R:W*R:Z=P/m,ZZ?(B=F+w*Z/2,Y=B):(B=F+_,Y=re-_),i.setItemLayout(D,{angle:Z,startAngle:B,endAngle:Y,clockwise:A,cx:l,cy:u,r0:f,r:x?X6(W,L,[f,c]):c}),F=re}),Nn?m:g,x=Math.abs(R.label.y-n);if(x>=A.maxY){var S=R.label.x-t-R.len2*i,L=r+R.len,w=Math.abs(S)e.unconstrainedWidth?null:h:null;r.setStyle("width",p)}var v=r.getBoundingRect();o.width=v.width;var g=(r.style.margin||0)+2.1;o.height=v.height+g,o.y-=(o.height-f)/2}}}function KL(e){return e.position==="center"}function OCe(e){var t=e.getData(),n=[],r,i,o=!1,a=(e.get("minShowLabelAngle")||0)*TCe,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,d=s.height;function h(S){S.ignore=!0}function p(S){if(!S.ignore)return!0;for(var L in S.states)if(S.states[L].ignore===!1)return!0;return!1}t.each(function(S){var L=t.getItemGraphicEl(S),w=L.shape,M=L.getTextContent(),_=L.getTextGuideLine(),k=t.getItemModel(S),P=k.getModel("label"),N=P.get("position")||k.get(["emphasis","label","position"]),C=P.get("distanceToLabelLine"),F=P.get("alignTo"),I=mr(P.get("edgeDistance"),u),W=P.get("bleedMargin"),D=k.getModel("labelLine"),Z=D.get("length");Z=mr(Z,u);var re=D.get("length2");if(re=mr(re,u),Math.abs(w.endAngle-w.startAngle)0?"right":"left":Y>0?"left":"right"}var J=Math.PI,se=0,ee=P.get("rotate");if(Ar(ee))se=ee*(J/180);else if(N==="center")se=0;else if(ee==="radial"||ee===!0){var ne=Y<0?-B+J:-B;se=ne}else if(ee==="tangential"&&N!=="outside"&&N!=="outer"){var oe=Math.atan2(Y,Q);oe<0&&(oe=J*2+oe);var he=Q>0;he&&(oe=J+oe),se=oe-J}if(o=!!se,M.x=K,M.y=q,M.rotation=se,M.setStyle({verticalAlign:"middle"}),G){M.setStyle({align:de});var Re=M.states.select;Re&&(Re.x+=M.x,Re.y+=M.y)}else{var ue=M.getBoundingRect().clone();ue.applyTransform(M.getComputedTransform());var ge=(M.style.margin||0)+2.1;ue.y-=ge/2,ue.height+=ge,n.push({label:M,labelLine:_,position:N,len:Z,len2:re,minTurnAngle:D.get("minTurnAngle"),maxSurfaceAngle:D.get("maxSurfaceAngle"),surfaceNormal:new cn(Y,Q),linePoints:$,textAlign:de,labelDistance:C,labelAlignTo:F,edgeDistance:I,bleedMargin:W,rect:ue,unconstrainedWidth:ue.width,labelStyleWidth:M.style.width})}L.setTextConfig({inside:G})}}),!o&&e.get("avoidLabelOverlap")&&_Ce(n,r,i,l,u,d,c,f);for(var v=0;v0){for(var c=a.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f=o.r0}},t.type="pie",t}(la);function Wq(e,t,n){t=It(t)&&{coordDimensions:t}||pt({encodeDefine:e.getEncode()},t);var r=e.getSource(),i=tq(r,t).dimensions,o=new eq(i,e);return o.initData(r,n),o}var Vq=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}(),CCe=Ii(),ICe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Vq(gi(this.getData,this),gi(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Wq(this,{coordDimensions:["value"],encodeDefaulter:Fa(H6e,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),i=CCe(r),o=i.seats;if(!o){var a=[];r.each(r.mapDimension("value"),function(l){a.push(l)}),o=i.seats=XLe(a,r.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,n);return s.percent=o[n]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(n){W6(n,"labelLine",["show"]);var r=n.labelLine,i=n.emphasis.labelLine;r.show=r.show&&n.label.show,i.show=i.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Ha);function NCe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(i){var o=r.mapDimension("value"),a=r.get(o,i);return!(Ar(a)&&!isNaN(a)&&a<0)})}}}function FCe(e){e.registerChartView(PCe),e.registerSeriesModel(ICe),yOe("pie",e.registerAction),e.registerLayout(Fa(LCe,"pie")),e.registerProcessor(Eq("pie")),e.registerProcessor(NCe("pie"))}var ECe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return J3(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(n,r,i){return i.point(r.getItemLayout(n))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Ha),Dq=4,XCe=function(){function e(){}return e}(),WCe=function(e){St(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.getDefaultShape=function(){return new XCe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(n,r){var i=r.points,o=r.size,a=this.symbolProxy,s=a.shape,l=n.getContext?n.getContext():n,u=l&&o[0]=0;u--){var c=u*2,f=o[c]-s/2,d=o[c+1]-l/2;if(n>=f&&r>=d&&n<=f+s&&r<=d+l)return u}return-1},t.prototype.contain=function(n,r){var i=this.transformCoordToLocal(n,r),o=this.getBoundingRect();if(n=i[0],r=i[1],o.contain(n,r)){var a=this.hoverDataIdx=this.findDataIndex(n,r);return a>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,i=r.points,o=r.size,a=o[0],s=o[1],l=1/0,u=1/0,c=-1/0,f=-1/0,d=0;d=0&&(u.dataIndex=f+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),DCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.updateData(o,{clipShape:this._getClipShape(n)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,i){var o=n.getData(),a=this._updateSymbolDraw(o,n);a.incrementalPrepareUpdate(o),this._finished=!1},t.prototype.incrementalRender=function(n,r,i){this._symbolDraw.incrementalUpdate(n,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=n.end===r.getData().count()},t.prototype.updateTransform=function(n,r,i){var o=n.getData();if(this.group.dirty(),!this._finished||o.count()>1e4)return{update:!0};var a=kP("").reset(n,r,i);a.progress&&a.progress({start:0,end:o.count(),count:o.count()},o),this._symbolDraw.updateLayout(o)},t.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},t.prototype._getClipShape=function(n){if(n.get("clip",!0)){var r=n.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},t.prototype._updateSymbolDraw=function(n,r){var i=this._symbolDraw,o=r.pipelineContext,a=o.large;return(!i||a!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=a?new VCe:new Sq,this._isLargeDraw=a,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(la),UCe=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(fr),f_=function(e){St(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ul).models[0]},t.type="cartesian2dAxis",t}(fr);yl(f_,dq);var Uq={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},BCe=sr({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Uq),PP=sr({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Uq),YCe=sr({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},PP),ZCe=En({logBase:10},PP);const Bq={category:BCe,value:PP,time:YCe,log:ZCe};var QCe={value:1,category:1,time:1,log:1};function hU(e,t,n,r){Pe(QCe,function(i,o){var a=sr(sr({},Bq[o],!0),r,!0),s=function(l){St(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+o,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var d=A2(this),h=d?H3(c):{},p=f.getTheme();sr(c,p.get(o+"Axis")),sr(c,this.getDefaultOption()),c.type=pU(c),d&&Ov(c,h,d)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=s_.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+o,u.defaultOption=a,u}(n);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",pU)}function pU(e){return e.type||(e.data?"category":"value")}var HCe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return _t(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),ao(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}(),d_=["x","y"];function vU(e){return e.type==="interval"||e.type==="time"}var KCe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=d_,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!vU(n)||!vU(r))){var i=n.getExtent(),o=r.getExtent(),a=this.dataToPoint([i[0],o[0]]),s=this.dataToPoint([i[1],o[1]]),l=i[1]-i[0],u=o[1]-o[0];if(!(!l||!u)){var c=(s[0]-a[0])/l,f=(s[1]-a[1])/u,d=a[0]-i[0]*c,h=a[1]-o[0]*f,p=this._transform=[c,0,0,f,d,h];this._invTransform=Wk([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),i=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&i.contain(i.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var i=this.dataToPoint(n),o=this.dataToPoint(r),a=this.getArea(),s=new dr(i[0],i[1],o[0]-i[0],o[1]-i[1]);return a.intersect(s)},t.prototype.dataToPoint=function(n,r,i){i=i||[];var o=n[0],a=n[1];if(this._transform&&o!=null&&isFinite(o)&&a!=null&&isFinite(a))return Ms(i,n,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(o,r)),i[1]=l.toGlobalCoord(l.dataToCoord(a,r)),i},t.prototype.clampData=function(n,r){var i=this.getAxis("x").scale,o=this.getAxis("y").scale,a=i.getExtent(),s=o.getExtent(),l=i.parse(n[0]),u=o.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(a[0],a[1]),l),Math.max(a[0],a[1])),r[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),r},t.prototype.pointToData=function(n,r){var i=[];if(this._invTransform)return Ms(i,n,this._invTransform);var o=this.getAxis("x"),a=this.getAxis("y");return i[0]=o.coordToData(o.toLocalCoord(n[0]),r),i[1]=a.coordToData(a.toLocalCoord(n[1]),r),i},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),o=Math.min(r[0],r[1])-n,a=Math.min(i[0],i[1])-n,s=Math.max(r[0],r[1])-o+n,l=Math.max(i[0],i[1])-a+n;return new dr(o,a,s,l)},t}(HCe),GCe=function(e){St(t,e);function t(n,r,i,o,a){var s=e.call(this,n,r,i)||this;return s.index=0,s.type=o||"value",s.position=a||"bottom",s}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(Rq);function zCe(e,t,n){n=n||{};var r=e.coordinateSystem,i=t.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,p=u==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(a){var v=a.toGlobalCoord(a.dataToCoord(0));p[d.onZero]=Math.max(Math.min(v,p[1]),p[0])}o.position=[u==="y"?p[d[l]]:f[0],u==="x"?p[d[l]]:f[3]],o.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=g[s],o.labelOffset=a?p[d[s]]-p[d.onZero]:0,t.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),l2(n.labelInside,t.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=t.get(["axisLabel","rotate"]);return o.labelRotate=l==="top"?-m:m,o.z2=1,o}function gU(e){return e.get("coordinateSystem")==="cartesian2d"}function mU(e){var t={xAxisModel:null,yAxisModel:null};return Pe(t,function(n,r){var i=r.replace(/Model$/,""),o=e.getReferringComponents(i,ul).models[0];t[r]=o}),t}var GL=Math.log;function Yq(e,t,n){var r=td.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=cq(e,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(e.type==="log"){var d=GL(e.base);u=[GL(u[0])/d,GL(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:f});var h=r.getExtent.call(e);c&&(u[0]=h[0]),f&&(u[1]=h[1]);var p=r.getInterval.call(e),v=u[0],g=u[1];if(c&&f)p=(g-v)/a;else if(c)for(g=u[0]+p*a;gu[0]&&isFinite(v)&&isFinite(u[0]);)p=UL(p),v=u[1]-p*a;else{var m=e.getTicks().length-1;m>a&&(p=UL(p));var y=p*a;g=Math.ceil(u[1]/p)*p,v=ui(g-y),v<0&&u[0]>=0?(v=0,g=ui(y)):g>0&&u[1]<=0&&(g=0,v=-ui(y))}var R=(i[0].value-o[0].value)/s,A=(i[a].value-o[a].value)/s;r.setExtent.call(e,v+p*R,g+p*A),r.setInterval.call(e,p),(R||A)&&r.setNiceExtent.call(e,v+p,g-p)}var JCe=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=d_,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function i(a){var s,l=Dn(a),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var d=+l[f],h=a[d],p=h.model,v=h.scale;l_(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(h):(ZD(v,p),l_(v)&&(s=h))}c.length&&(s||(s=c.pop(),ZD(s.scale,s.model)),Pe(c,function(g){Yq(g.scale,g.model,s.scale)}))}}i(r.x),i(r.y);var o={};Pe(r.x,function(a){yU(r,"y",a,o)}),Pe(r.y,function(a){yU(r,"x",a,o)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var i=t.getBoxLayoutParams(),o=!r&&t.get("containLabel"),a=cS(i,{width:n.getWidth(),height:n.getHeight()});this._rect=a;var s=this._axesList;l(),o&&(Pe(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=bPe(u);if(c){var f=u.isHorizontal()?"height":"width",d=u.model.get(["axisLabel","margin"]);a[f]-=c[f]+d,u.position==="top"?a.y+=c.height+d:u.position==="left"&&(a.x+=c.width+d)}}}),l()),Pe(this._coordsList,function(u){u.calcAffineTransform()});function l(){Pe(s,function(u){var c=u.isHorizontal(),f=c?[0,a.width]:[0,a.height],d=u.inverse?1:0;u.setExtent(f[d],f[1-d]),$Ce(u,c?a.x:a.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}rn(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,o=this._coordsList;i0?"top":"bottom",o="center"):qx(i-Tf)?(a=r>0?"bottom":"top",o="center"):(a="middle",i>0&&i0?"right":"left":o=r>0?"left":"right"),{rotation:i,textAlign:o,textVerticalAlign:a}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),RU={axisLine:function(e,t,n,r){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var o=t.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(Ms(s,s,a),Ms(l,l,a));var c=pt({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new qf({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});g2(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var d=t.get(["axisLine","symbol"]);if(d!=null){var h=t.get(["axisLine","symbolSize"]);Qt(d)&&(d=[d,d]),(Qt(h)||Ar(h))&&(h=[h,h]);var p=Tj(t.get(["axisLine","symbolOffset"])||0,h),v=h[0],g=h[1];Pe([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(m,y){if(d[y]!=="none"&&d[y]!=null){var R=ed(d[y],-v/2,-g/2,v,g,c.stroke,!0),A=m.r+m.offset,x=u?l:s;R.attr({rotation:m.rotate,x:x[0]+A*Math.cos(e.rotation),y:x[1]-A*Math.sin(e.rotation),silent:!0,z2:11}),n.add(R)}})}}},axisTickLabel:function(e,t,n,r){var i=eIe(n,r,t,e),o=nIe(n,r,t,e);if(qCe(t,o,i),tIe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var a=VPe(_t(o,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));BPe(a)}},axisName:function(e,t,n,r){var i=l2(e.axisName,t.get("name"));if(i){var o=t.get("nameLocation"),a=e.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[o==="start"?u[0]-c*l:o==="end"?u[1]+c*l:(u[0]+u[1])/2,xU(o)?e.labelOffset+a*l:0],d,h=t.get("nameRotate");h!=null&&(h=h*Tf/180);var p;xU(o)?d=Vf.innerTextLayout(e.rotation,h??e.rotation,a):(d=jCe(e.rotation,o,h||0,u),p=e.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(d.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=l2(e.nameTruncateMaxWidth,g.maxWidth,p),R=new Qa({x:f[0],y:f[1],rotation:d.rotation,silent:Vf.isLabelSilent(t),style:m2(s,{text:i,font:v,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||d.textAlign,verticalAlign:s.get("verticalAlign")||d.textVerticalAlign}),z2:1});if(tP({el:R,componentModel:t,itemName:i}),R.__fullText=i,R.anid="name",t.get("triggerEvent")){var A=Vf.makeAxisEventDataBase(t);A.targetType="axisName",A.name=i,wr(R).eventData=A}r.add(R),R.updateTransform(),n.add(R),R.decomposeTransform()}}};function jCe(e,t,n,r){var i=KJ(n-e),o,a,s=r[0]>r[1],l=t==="start"&&!s||t!=="start"&&s;return qx(i-Tf/2)?(a=l?"bottom":"top",o="center"):qx(i-Tf*1.5)?(a=l?"top":"bottom",o="center"):(a="middle",iTf/2?o=l?"left":"right":o=l?"right":"left"),{rotation:i,textAlign:o,textVerticalAlign:a}}function qCe(e,t,n){if(!fq(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var o=t[0],a=t[1],s=t[t.length-1],l=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];r===!1?(is(o),is(u)):bU(o,a)&&(r?(is(a),is(c)):(is(o),is(u))),i===!1?(is(s),is(f)):bU(l,s)&&(i?(is(l),is(d)):(is(s),is(f)))}}function is(e){e&&(e.ignore=!0)}function bU(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var i=Xk([]);return xJ(i,i,-e.rotation),n.applyTransform(ov([],i,e.getLocalTransform())),r.applyTransform(ov([],i,t.getLocalTransform())),n.intersect(r)}}function xU(e){return e==="middle"||e==="center"}function Zq(e,t,n,r,i){for(var o=[],a=[],s=[],l=0;ll[1]&&l.reverse(),(a==null||a>l[1])&&(a=l[1]),a0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var v=l;p.color!=null&&(v=En({color:p.color},l));var g=sr(Vn(p),{boundaryGap:n,splitNumber:r,scale:i,axisLine:o,axisTick:a,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:v,triggerEvent:d},!1);if(Qt(c)){var m=g.name;g.name=c.replace("{value}",m??"")}else An(c)&&(g.name=c(g.name,g));var y=new ki(g,null,this.ecModel);return yl(y,dq.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:sr({lineStyle:{color:"#bbb"}},z1.axisLine),axisLabel:NR(z1.axisLabel,!1),axisTick:NR(z1.axisTick,!1),splitLine:NR(z1.splitLine,!0),splitArea:NR(z1.splitArea,!0),indicator:[]},t}(fr),xIe=["axisLine","axisTickLabel","axisName"],SIe=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,i){var o=this.group;o.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},t.prototype._buildAxes=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes(),o=_t(i,function(a){var s=a.model.get("showName")?a.name:"",l=new Vf(a.model,{axisName:s,position:[r.cx,r.cy],rotation:a.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});Pe(o,function(a){Pe(xIe,a.add,a),this.group.add(a.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(n){var r=n.coordinateSystem,i=r.getIndicatorAxes();if(!i.length)return;var o=n.get("shape"),a=n.getModel("splitLine"),s=n.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),c=a.get("show"),f=s.get("show"),d=l.get("color"),h=u.get("color"),p=It(d)?d:[d],v=It(h)?h:[h],g=[],m=[];function y(F,I,W){var D=W%I.length;return F[D]=F[D]||[],D}if(o==="circle")for(var R=i[0].getTicksCoords(),A=r.cx,x=r.cy,S=0;S=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(fr),np=Fa,v_=Pe,FR=Ai,Gq=function(e){St(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new FR),this.group.add(this._selectorGroup=new FR),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,i){var o=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var a=n.get("align"),s=n.get("orient");(!a||a==="auto")&&(a=n.get("left")==="right"&&s==="vertical"?"right":"left");var l=n.get("selector",!0),u=n.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(a,n,r,i,l,s,u);var c=n.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},d=n.get("padding"),h=cS(c,f,d),p=this.layoutInner(n,a,h,o,l,u),v=cS(En({width:p.width,height:p.height},c),f,d);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=_Ie(p,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,i,o,a,s,l){var u=this.getContentGroup(),c=xn(),f=r.get("selectedMode"),d=[];i.eachRawSeries(function(h){!h.get("legendHoverLink")&&d.push(h.id)}),v_(r.getData(),function(h,p){var v=h.get("name");if(!this.newlineDisabled&&(v===""||v===` +`)){var g=new FR;g.newline=!0,u.add(g);return}var m=i.getSeriesByName(v)[0];if(!c.get(v))if(m){var y=m.getData(),R=y.getVisual("legendLineStyle")||{},A=y.getVisual("legendIcon"),x=y.getVisual("style"),S=this._createItem(m,v,p,h,r,n,R,x,A,f,o);S.on("click",np(TU,v,null,o,d)).on("mouseover",np(g_,m.name,null,o,d)).on("mouseout",np(m_,m.name,null,o,d)),i.ssr&&S.eachChild(function(L){var w=wr(L);w.seriesIndex=m.seriesIndex,w.dataIndex=p,w.ssrType="legend"}),c.set(v,!0)}else i.eachRawSeries(function(L){if(!c.get(v)&&L.legendVisualProvider){var w=L.legendVisualProvider;if(!w.containName(v))return;var M=w.indexOfName(v),_=w.getItemVisual(M,"style"),k=w.getItemVisual(M,"legendIcon"),P=su(_.fill);P&&P[3]===0&&(P[3]=.2,_=pt(pt({},_),{fill:M3(P,"rgba")}));var N=this._createItem(L,v,p,h,r,n,{},_,k,f,o);N.on("click",np(TU,null,v,o,d)).on("mouseover",np(g_,null,v,o,d)).on("mouseout",np(m_,null,v,o,d)),i.ssr&&N.eachChild(function(C){var F=wr(C);F.seriesIndex=L.seriesIndex,F.dataIndex=p,F.ssrType="legend"}),c.set(v,!0)}},this)},this),a&&this._createSelector(a,r,o,s,l)},t.prototype._createSelector=function(n,r,i,o,a){var s=this.getSelectorGroup();v_(n,function(u){var c=u.type,f=new Qa({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(f);var d=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);jv(f,{normal:d,emphasis:h},{defaultText:u.title}),Z6(f)})},t.prototype._createItem=function(n,r,i,o,a,s,l,u,c,f,d){var h=n.visualDrawType,p=a.get("itemWidth"),v=a.get("itemHeight"),g=a.isSelected(r),m=o.get("symbolRotate"),y=o.get("symbolKeepAspect"),R=o.get("icon");c=R||c||"roundRect";var A=kIe(c,o,l,u,h,g,d),x=new FR,S=o.getModel("textStyle");if(An(n.getLegendIcon)&&(!R||R==="inherit"))x.add(n.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:m,itemStyle:A.itemStyle,lineStyle:A.lineStyle,symbolKeepAspect:y}));else{var L=R==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;x.add(PIe({itemWidth:p,itemHeight:v,icon:c,iconRotate:L,itemStyle:A.itemStyle,lineStyle:A.lineStyle,symbolKeepAspect:y}))}var w=s==="left"?p+5:-5,M=s,_=a.get("formatter"),k=r;Qt(_)&&_?k=_.replace("{name}",r??""):An(_)&&(k=_(r));var P=g?S.getTextColor():o.get("inactiveColor");x.add(new Qa({style:m2(S,{text:k,x:w,y:v/2,fill:P,align:M,verticalAlign:"middle"},{inheritColor:P})}));var N=new Oi({shape:x.getBoundingRect(),style:{fill:"transparent"}}),C=o.getModel("tooltip");return C.get("show")&&tP({el:N,componentModel:a,itemName:r,itemTooltipOption:C.option}),x.add(N),x.eachChild(function(F){F.silent=!0}),N.silent=!f,this.getContentGroup().add(x),Z6(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(n,r,i,o,a,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Sm(n.get("orient"),l,n.get("itemGap"),i.width,i.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),a){Sm("horizontal",u,n.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],p=n.get("selectorButtonGap",!0),v=n.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",y=v===0?"y":"x";s==="end"?h[v]+=c[g]+p:f[v]+=d[g]+p,h[1-v]+=c[m]/2-d[m]/2,u.x=h[0],u.y=h[1],l.x=f[0],l.y=f[1];var R={x:0,y:0};return R[g]=c[g]+p+d[g],R[m]=Math.max(c[m],d[m]),R[y]=Math.min(0,d[y]+h[1-v]),R}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(hc);function kIe(e,t,n,r,i,o,a){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),v_(g,function(y,R){g[R]==="inherit"&&(g[R]=m[R])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:r_(f,a),u.fill==="inherit"&&(u.fill=r[i]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(i==="fill"?r:n).opacity),s(u,r);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(s(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!o){var p=t.get("inactiveBorderWidth"),v=u[c];u.lineWidth=p==="auto"?r.lineWidth>0&&v?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function PIe(e){var t=e.icon||"roundRect",n=ed(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function TU(e,t,n,r){m_(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e??t}),g_(e,t,n,r)}function zq(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,i=t.length;ri[a],g=[-h.x,-h.y];r||(g[o]=c[u]);var m=[0,0],y=[-p.x,-p.y],R=sn(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(v){var A=n.get("pageButtonPosition",!0);A==="end"?y[o]+=i[a]-p[a]:m[o]+=p[a]+R}y[1-o]+=h[s]/2-p[s]/2,c.setPosition(g),f.setPosition(m),d.setPosition(y);var x={x:0,y:0};if(x[a]=v?i[a]:h[a],x[s]=Math.max(h[s],p[s]),x[l]=Math.min(0,p[l]+y[1-o]),f.__rectSize=i[a],v){var S={x:0,y:0};S[a]=Math.max(i[a]-p[a]-R,0),S[s]=x[s],f.setClipPath(new Oi({shape:S})),f.__rectSize=S[a]}else d.eachChild(function(w){w.attr({invisible:!0,silent:!0})});var L=this._getPageInfo(n);return L.pageIndex!=null&&go(c,{x:L.contentPosition[0],y:L.contentPosition[1]},v?n:null),this._updatePageInfoView(n,L),x},t.prototype._pageGo=function(n,r,i){var o=this._getPageInfo(r)[n];o!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:o,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var i=this._controllerGroup;Pe(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",d=r[f]!=null,h=i.childOfName(c);h&&(h.setStyle("fill",d?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),h.cursor=d?"pointer":"default")});var o=i.childOfName("pageText"),a=n.get("pageFormatter"),s=r.pageIndex,l=s!=null?s+1:0,u=r.pageCount;o&&a&&o.setStyle("text",Qt(a)?a.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):a({current:l,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),i=this.getContentGroup(),o=this._containerGroup.__rectSize,a=n.getOrient().index,s=JL[a],l=$L[a],u=this._findTargetItemIndex(r),c=i.children(),f=c[u],d=c.length,h=d?1:0,p={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return p;var v=A(f);p.contentPosition[a]=-v.s;for(var g=u+1,m=v,y=v,R=null;g<=d;++g)R=A(c[g]),(!R&&y.e>m.s+o||R&&!x(R,m.s))&&(y.i>m.i?m=y:m=R,m&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=R;for(var g=u-1,m=v,y=v,R=null;g>=-1;--g)R=A(c[g]),(!R||!x(y,R.s))&&m.i=L&&S.s<=L+o}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,i=this.getContentGroup(),o;return i.eachChild(function(a,s){var l=a.__legendDataIndex;o==null&&l!=null&&(o=s),l===n&&(r=s)}),r??o},t.type="legend.scroll",t}(Gq);function EIe(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(r)})})}function XIe(e){t0(Jq),e.registerComponentModel(NIe),e.registerComponentView(FIe),EIe(e)}function WIe(e){t0(Jq),t0(XIe)}var jL=Math.sin,qL=Math.cos,$q=Math.PI,$d=Math.PI*2,VIe=180/$q,jq=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,n){this._add("M",t,n)},e.prototype.lineTo=function(t,n){this._add("L",t,n)},e.prototype.bezierCurveTo=function(t,n,r,i,o,a){this._add("C",t,n,r,i,o,a)},e.prototype.quadraticCurveTo=function(t,n,r,i){this._add("Q",t,n,r,i)},e.prototype.arc=function(t,n,r,i,o,a){this.ellipse(t,n,r,r,0,i,o,a)},e.prototype.ellipse=function(t,n,r,i,o,a,s,l){var u=s-a,c=!l,f=Math.abs(u),d=wf(f-$d)||(c?u>=$d:-u>=$d),h=u>0?u%$d:u%$d+$d,p=!1;d?p=!0:wf(f)?p=!1:p=h>=$q==!!c;var v=t+r*qL(a),g=n+i*jL(a);this._start&&this._add("M",v,g);var m=Math.round(o*VIe);if(d){var y=1/this._p,R=(c?1:-1)*($d-y);this._add("A",r,i,m,1,+c,t+r*qL(a+R),n+i*jL(a+R)),y>.01&&this._add("A",r,i,m,0,+c,v,g)}else{var A=t+r*qL(s),x=n+i*jL(s);this._add("A",r,i,m,+p,+c,A,x)}},e.prototype.rect=function(t,n,r,i){this._add("M",t,n),this._add("l",r,0),this._add("l",0,i),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,i,o,a,s,l,u){for(var c=[],f=this._p,d=1;d"}function GIe(e){return""}function IP(e,t){t=t||{};var n=t.newline?` `:"";function r(i){var o=i.children,a=i.tag,s=i.attrs,l=i.text;return KIe(a,s)+(a!=="style"?L5e(l):l||"")+(o?""+n+_t(o,function(u){return r(u)}).join(n)+n:"")+GIe(a)}return r(e)}function zIe(e,t,n){n=n||{};var r=n.newline?` -`:"",i=" {"+r,o=r+"}",a=_t(Dn(e),function(l){return l+i+_t(Dn(e[l]),function(u){return u+":"+e[l][u]+";"}).join(r)+o}).join(r),s=_t(Dn(t),function(l){return"@keyframes "+l+i+_t(Dn(t[l]),function(u){return u+i+_t(Dn(t[l][u]),function(c){var f=t[l][u][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(r)+o}).join(r)+o}).join(r);return!a&&!s?"":[""].join(r)}function A_(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function PU(e,t,n,r){return yi("svg","root",{width:e,height:t,xmlns:qq,"xmlns:xlink":eee,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var JIe=0;function nee(){return JIe++}var CU={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},ih="transform-origin";function $Ie(e,t,n){var r=pt({},e.shape);pt(r,t),e.buildPath(n,r);var i=new jq;return i.reset(XJ(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function jIe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[ih]=n+"px "+r+"px")}var qIe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function ree(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function eNe(e,t,n){var r=e.shape.paths,i={},o,a;if(Pe(r,function(l){var u=A_(n.zrId);u.animation=!0,e4(l,{},u,!0);var c=u.cssAnims,f=u.cssNodes,d=Dn(c),h=d.length;if(h){a=d[h-1];var p=c[a];for(var v in p){var g=p[v];i[v]=i[v]||{d:""},i[v].d+=g.d||""}for(var m in f){var y=f[m].animation;y.indexOf(a)>=0&&(o=y)}}}),!!o){t.d=!1;var s=ree(i,n);return o.replace(a,s)}}function IU(e){return Qt(e)?CU[e]?"cubic-bezier("+CU[e]+")":Vk(e)?e:"":""}function e4(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof L$){var s=eNe(e,t,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0}).length){var de=ree(L,n);return de+" "+y[0]+" both"}}for(var g in l){var s=v(l[g]);s&&a.push(s)}if(a.length){var m=n.zrId+"-cls-"+nee();n.cssNodes["."+m]={animation:a.join(",")},t.class=m}}function tNe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};NU(r,t,n)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||a;l&&(o=L6(l))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),NU(r,t,n)}}function NU(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+nee(),n.cssStyleCache[i]=o,n.cssNodes["."+o+":hover"]=e),t.class=t.class?t.class+" "+o:o}var M2=Math.round;function iee(e){return e&&Qt(e.src)}function oee(e){return e&&An(e.toDataURL)}function NP(e,t,n,r){ZIe(function(i,o){var a=i==="fill"||i==="stroke";a&&EJ(o)?see(t,e,i,r):a&&Dk(o)?lee(n,e,i,r):a&&o==="none"?e[i]="transparent":e[i]=o},t,n,!1),lNe(n,e,r)}function FP(e,t){var n=CLe(t);n&&(n.each(function(r,i){r!=null&&(e[(kU+i).toLowerCase()]=r+"")}),t.isSilent()&&(e[kU+"silent"]="true"))}function FU(e){return wf(e[0]-1)&&wf(e[1])&&wf(e[2])&&wf(e[3]-1)}function nNe(e){return wf(e[4])&&wf(e[5])}function EP(e,t,n){if(t&&!(nNe(t)&&FU(t))){var r=1e4;e.transform=FU(t)?"translate("+M2(t[4]*r)/r+" "+M2(t[5]*r)/r+")":tLe(t)}}function EU(e,t,n){for(var r=e.points,i=[],o=0;o"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";gu(d,g),gu(h,g)}else if(d==null||h==null){var m=function(_,P){if(_){var k=_.elm,F=d||P.width,C=h||P.height;_.tag==="pattern"&&(u?(C=1,F/=o.width):c&&(F=1,C/=o.height)),_.attrs.width=F,_.attrs.height=C,k&&(k.setAttribute("width",F),k.setAttribute("height",C))}},y=Hk(p,null,e,function(_){l||m(S,_),m(f,_)});y&&y.width&&y.height&&(d=d||y.width,h=h||y.height)}f=yi("image","img",{href:p,width:d,height:h}),a.width=d,a.height=h}else i.svgElement&&(f=Vn(i.svgElement),a.width=i.svgWidth,a.height=i.svgHeight);if(f){var R,A;l?R=A=1:u?(A=1,R=a.width/o.width):c?(R=1,A=a.height/o.height):a.patternUnits="userSpaceOnUse",R!=null&&!isNaN(R)&&(a.width=R),A!=null&&!isNaN(A)&&(a.height=A);var x=WJ(i);x&&(a.patternTransform=x);var S=yi("pattern","",a,[f]),L=IP(S),w=r.patternCache,M=w[L];M||(M=r.zrId+"-p"+r.patternIdx++,w[L]=M,a.id=M,S=r.defs[M]=yi("pattern",M,a,[f])),t[n]=L3(M)}}function uNe(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){o=n.zrId+"-c"+n.clipPathIdx++;var a={id:o};r[e.id]=o,i[o]=yi("clipPath",o,a,[aee(e,n)])}t["clip-path"]=L3(o)}function VU(e){return document.createTextNode(e)}function ch(e,t,n){e.insertBefore(t,n)}function DU(e,t){e.removeChild(t)}function UU(e,t){e.appendChild(t)}function uee(e){return e.parentNode}function cee(e){return e.nextSibling}function e8(e,t){e.textContent=t}var BU=58,cNe=120,fNe=yi("","");function R_(e){return e===void 0}function Yl(e){return e!==void 0}function dNe(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;o!==void 0&&(r[o]=i)}return r}function Ig(e,t){var n=e.key===t.key,r=e.tag===t.tag;return r&&n}function L2(e){var t,n=e.children,r=e.tag;if(Yl(r)){var i=e.elm=tee(r);if(XP(fNe,e),It(n))for(t=0;to?(p=n[l+1]==null?null:n[l+1].elm,fee(e,p,n,i,l)):mS(e,t,r,o))}function Sp(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(XP(e,t),R_(t.text)?Yl(r)&&Yl(i)?r!==i&&hNe(n,r,i):Yl(i)?(Yl(e.text)&&e8(n,""),fee(n,null,i,0,i.length-1)):Yl(r)?mS(n,r,0,r.length-1):Yl(e.text)&&e8(n,""):e.text!==t.text&&(Yl(r)&&mS(n,r,0,r.length-1),e8(n,t.text)))}function pNe(e,t){if(Ig(e,t))Sp(e,t);else{var n=e.elm,r=uee(n);L2(t),r!==null&&(ch(r,t.elm,cee(n)),mS(r,[e],0,0))}return t}var vNe=0,gNe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=YU(),this.configLayer=YU(),this.storage=n,this._opts=r=pt({},r),this.root=t,this._id="zr"+vNe++,this._oldVNode=PU(r.width,r.height),t&&!r.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=tee("svg");XP(null,this._oldVNode),i.appendChild(o),t.appendChild(i)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",pNe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return WU(t,A_(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,i=this._height,o=A_(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis;var a=[],s=this._bgVNode=mNe(r,i,this._backgroundColor,o);s&&a.push(s);var l=t.compress?null:this._mainVNode=yi("g","main",{},[]);this._paintList(n,o,l?l.children:a),l&&a.push(l);var u=_t(Dn(o.defs),function(d){return o.defs[d]});if(u.length&&a.push(yi("defs","defs",{},u)),t.animation){var c=zIe(o.cssNodes,o.cssAnims,{newline:!0});if(c){var f=yi("style","stl",{},[],c);a.push(f)}}return PU(r,i,a,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},IP(this.renderToVNode({animation:sn(t.cssAnimation,!0),emphasis:sn(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:sn(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var i=t.length,o=[],a=0,s,l,u=0,c=0;c=0&&!(d&&l&&d[v]===l[v]);v--);for(var g=p-1;g>v;g--)a--,s=o[a-1];for(var m=v+1;m{let a=[];if(t.themeColors.length>=10)a=t.themeColors;else if(t.themeColors.length===1)a=at(t.themeColors[0]).analogous(10).map(s=>s.toRgbString());else{const s=t.themeColors.length,l=at(t.themeColors[s-1]).analogous(11-s).map(u=>u.toRgbString());a=[...t.themeColors.slice(0,s-1),...l]}return a}),o=()=>{var s,l;const a=QMe({type:t.type,data:t.data,themeColors:i.value,textColor:t.textColor,lineSmooth:((s=t.options)==null?void 0:s.lineSmooth)||!1,stack:((l=t.options)==null?void 0:l.stack)||!1});a&&n.setOption(a,!0)};return Ht(()=>{n=dke(r.value,null,{renderer:"svg"}),o();const a=()=>n.resize();new ResizeObserver(a).observe(r.value)}),Ot(()=>t.type,o),Ot(()=>t.data,o),Ot(()=>t.themeColors,o),Ot(()=>t.textColor,o),(a,s)=>(U(),te("div",{class:"chart",ref_key:"chartRef",ref:r},null,512))}}),dee=Be(ANe,[["__scopeId","data-v-1e5b5ad9"]]),RNe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=i=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo))},r=()=>{Hi.emit(Ti.OPEN_CHART_DATA_EDITOR)};return(i,o)=>{const a=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-chart",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",style:Le({backgroundColor:i.elementInfo.fill}),onMousedown:o[0]||(o[0]=s=>n(s)),onTouchstart:o[1]||(o[1]=s=>n(s)),onDblclick:o[2]||(o[2]=s=>r())},[O(A3,{width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"]),O(dee,{width:i.elementInfo.width,height:i.elementInfo.height,type:i.elementInfo.chartType,data:i.elementInfo.data,themeColors:i.elementInfo.themeColors,textColor:i.elementInfo.textColor,options:i.elementInfo.options},null,8,["width","height","type","data","themeColors","textColor","options"])],36)),[[a,i.contextmenus]])],4)],6)}}}),hee=Be(RNe,[["__scopeId","data-v-3b1105a2"]]),pee=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:i,color:o,backcolor:a,fontsize:s,fontname:l,align:u}=e;let c=`${r?"underline":""} ${i?"line-through":""}`;return c===" "&&(c="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:c,color:o||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:l||"",textAlign:u||"left"}},vee=e=>e.replace(/\n/g,"
    ").replace(/ /g," "),gee=e=>({hideCells:we(()=>{const n=[];for(let r=0;r1||a.rowspan>1)for(let s=r;s{const t=ve(["",""]);return Ot(()=>e.value,()=>{e.value&&(t.value=XH(e.value.color))},{immediate:!0}),{subThemeColor:t}},bNe=["innerHTML"],xNe=Xe({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,i=ve(),o=ve(""),a=ve(!1);Ot(()=>n.value,()=>{a.value||(o.value=n.value,i.value&&(i.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!i.value)return;const c=i.value.innerHTML;r("updateValue",c)},l=()=>{a.value=!0,i.value&&(i.value.onpaste=c=>{if(c.preventDefault(),!c.clipboardData)return;const f=c.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof BO(d)=="object")return;const p=EH(d);if(p){r("insertExcelData",p),i.value&&(i.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},u=()=>{a.value=!1,i.value&&(i.value.onpaste=null)};return o0(()=>{i.value&&(i.value.onpaste=null)}),(c,f)=>(U(),te("div",{class:"custom-textarea",ref_key:"textareaRef",ref:i,contenteditable:!0,onFocus:f[0]||(f[0]=d=>l()),onBlur:f[1]||(f[1]=d=>u()),onInput:f[2]||(f[2]=d=>s()),innerHTML:o.value},null,40,bNe))}}),SNe=Be(xNe,[["__scopeId","data-v-cfadb975"]]),wNe={key:0,class:"handler"},MNe=["onMousedown"],LNe=["width"],TNe=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],_Ne=["innerHTML"],ONe=Xe({__name:"EditableTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},emits:["change","changeColWidths","changeSelectedCells"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:i}=De(ht()),o=ve(!1),a=ve([]),s=ve([]),l=we({get(){return n.data},set(ce){r("change",ce)}}),u=we(()=>n.theme),{subThemeColor:c}=mee(u),f=ve([]),d=we(()=>f.value.reduce((ce,fe)=>ce+fe));Ot([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(ce=>ce*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};Ot(()=>n.editable,()=>{n.editable||h()});const p=we(()=>{const ce=[];for(let fe=1;fej+X);ce.push(le)}return ce}),v=we(()=>n.data),{hideCells:g}=gee(v),m=we(()=>{if(!a.value.length)return[];const[ce,fe]=a.value;if(!s.value.length)return[`${ce}_${fe}`];const[le,j]=s.value;if(ce===le&&fe===j)return[`${ce}_${fe}`];const X=[],J=Math.min(ce,le),se=Math.min(fe,j),q=Math.max(ce,le),ne=Math.max(fe,j);for(let oe=0;oe=J&&oe<=q&&ue>=se&&ue<=ne&&X.push(`${oe}_${ue}`)}return X});Ot(m,(ce,fe)=>{Yn.isEqual(ce,fe)||r("changeSelectedCells",m.value)});const y=we(()=>m.value.length>1?null:m.value[0]),R=()=>o.value=!1,A=(ce,fe,le)=>{ce.button===0&&(s.value=[],o.value=!0,a.value=[fe,le])},x=(ce,fe)=>{o.value&&(s.value=[ce,fe])};Ht(()=>{document.addEventListener("mouseup",R)}),Nn(()=>{document.removeEventListener("mouseup",R)});const S=(ce,fe)=>g.value.includes(`${ce}_${fe}`),L=ce=>{const fe=l.value.length-1;a.value=[0,ce],s.value=[fe,ce]},w=ce=>{const fe=l.value[ce].length-1;a.value=[ce,0],s.value=[ce,fe]},M=()=>{const ce=l.value.length-1,fe=l.value[ce].length-1;a.value=[0,0],s.value=[ce,fe]},_=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=l.value[ce],j=[];for(let X=0;X=0;J--)if(!S(J,X)){fe[J][X].rowspan=fe[J][X].rowspan-1;break}fe.splice(ce,1),l.value=fe},P=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=[];for(let j=0;j=0;X--)if(!S(j,X)){fe[j][X].colspan=fe[j][X].colspan-1;break}l.value=fe.map(j=>(j.splice(ce,1),j)),f.value.splice(ce,1),r("changeColWidths",f.value)},k=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=[];for(let j=0;j{l.value=l.value.map(fe=>{const le={colspan:1,rowspan:1,text:"",id:on(10)};return fe.splice(ce,0,le),fe}),f.value.splice(ce,0,100),r("changeColWidths",f.value)},C=(ce,fe)=>{let le=JSON.parse(JSON.stringify(l.value));const j={colspan:1,rowspan:1,text:""};if(ce){const X=[];for(let J=0;J{const J=[];for(let se=0;se{const[ce,fe]=a.value,[le,j]=s.value,X=Math.min(ce,le),J=Math.min(fe,j),se=Math.max(ce,le),q=Math.max(fe,j),ne=JSON.parse(JSON.stringify(l.value));ne[X][J].rowspan=se-X+1,ne[X][J].colspan=q-J+1,l.value=ne,h()},I=(ce,fe)=>{const le=JSON.parse(JSON.stringify(l.value));le[ce][fe].rowspan=1,le[ce][fe].colspan=1,l.value=le,h()},W=(ce,fe)=>{h();let le=!0;const j=f.value[fe],X=ce.pageX,J=50;document.onmousemove=se=>{if(!le)return;const q=(se.pageX-X)/i.value,ne=j+q{le=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},D=()=>{const ce=JSON.parse(JSON.stringify(l.value));for(let fe=0;fe{Ir(()=>{const ce=document.querySelector(".cell-text.active");ce&&ce.focus()})},re=()=>{const ce=(X,J)=>l.value[X]?l.value[X][J]?S(X,J)?ce(X,J+1):[X,J]:ce(X+1,0):null;s.value=[];const fe=a.value[0],le=a.value[1]+1,j=ce(fe,le);j?a.value=j:(k(fe+1),a.value=[fe+1,0]),Y()},B=ce=>{const fe=+m.value[0].split("_")[0],le=+m.value[0].split("_")[1],j=l.value.length,X=l.value[0].length,J=se=>{if(se[0]<0||se[1]<0||se[0]>j-1||se[1]>X-1)return[0,0];const q=`${se[0]}_${se[1]}`;return g.value.includes(q)?ce==="UP"?J([se[0],se[1]-1]):ce==="DOWN"?J([se[0],se[1]-1]):ce==="LEFT"?J([se[0]-1,se[1]]):ce==="RIGHT"?J([se[0]-1,se[1]]):[0,0]:se};if(ce==="UP"){const se=fe-1;if(se<0)return;s.value=[],a.value=J([se,le])}else if(ce==="DOWN"){const se=fe+1;if(se>j-1)return;s.value=[],a.value=J([se,le])}else if(ce==="LEFT"){const se=le-1;if(se<0)return;s.value=[],a.value=J([fe,se])}else if(ce==="RIGHT"){const se=le+1;if(se>X-1)return;s.value=[],a.value=J([fe,se])}Y()},Z=ce=>{var le;const fe=window.getSelection();if(fe&&fe.rangeCount>0){const j=fe.getRangeAt(0),X=j.cloneRange();X.selectNodeContents(ce),X.setEnd(j.startContainer,j.startOffset);const J=X.toString().length;X.setEnd(j.endContainer,j.endOffset);const se=X.toString().length,q=((le=ce.textContent)==null?void 0:le.length)||0;return{start:J,end:se,len:q}}return null},Q=ce=>{if(!n.editable||!m.value.length)return;const fe=ce.key.toUpperCase();if(m.value.length<2){if(fe===At.TAB)ce.preventDefault(),re();else if(ce.ctrlKey&&fe===At.UP){ce.preventDefault();const le=+m.value[0].split("_")[0];k(le)}else if(ce.ctrlKey&&fe===At.DOWN){ce.preventDefault();const le=+m.value[0].split("_")[0];k(le+1)}else if(ce.ctrlKey&&fe===At.LEFT){ce.preventDefault();const le=+m.value[0].split("_")[1];F(le)}else if(ce.ctrlKey&&fe===At.RIGHT){ce.preventDefault();const le=+m.value[0].split("_")[1];F(le+1)}else if(fe===At.UP){const le=Z(ce.target);le&&le.start===le.end&&le.start===0&&B("UP")}else if(fe===At.DOWN){const le=Z(ce.target);le&&le.start===le.end&&le.start===le.len&&B("DOWN")}else if(fe===At.LEFT){const le=Z(ce.target);le&&le.start===le.end&&le.start===0&&B("LEFT")}else if(fe===At.RIGHT){const le=Z(ce.target);le&&le.start===le.end&&le.start===le.len&&B("RIGHT")}}else fe===At.DELETE&&D()};Ht(()=>{document.addEventListener("keydown",Q)}),Nn(()=>{document.removeEventListener("keydown",Q)});const G=Yn.debounce(function(ce,fe,le){l.value[fe][le].text=ce,r("change",l.value)},300,{trailing:!0}),ee=(ce,fe,le)=>{const j=ce.length,X=ce[0].length;let J=0,se=0;fe+j>l.value.length&&(J=fe+j-l.value.length),le+X>l.value[0].length&&(se=le+X-l.value[0].length),(J||se)&&C(J,se),Ir(()=>{for(let q=0;q{const ce=[];for(let fe=0;fe{const ce=$(),fe=ce.length>1,le=ce[0].length>1;return{canDeleteRow:fe,canDeleteCol:le}},K=(ce,fe)=>{const le=m.value.length>1,j=l.value[ce][fe],X=le,J=!le&&(j.rowspan>1||j.colspan>1);return{canMerge:X,canSplit:J}},Ae=ce=>{const fe=ce.dataset.cellIndex,le=+fe.split("_")[0],j=+fe.split("_")[1];m.value.includes(`${le}_${j}`)||(a.value=[le,j],s.value=[]);const{canMerge:X,canSplit:J}=K(le,j),{canDeleteRow:se,canDeleteCol:q}=de();return[{text:"插入列",children:[{text:"到左侧",handler:()=>F(j)},{text:"到右侧",handler:()=>F(j+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>k(le)},{text:"到下方",handler:()=>k(le+1)}]},{text:"删除列",disable:!q,handler:()=>P(j)},{text:"删除行",disable:!se,handler:()=>_(le)},{divider:!0},{text:"合并单元格",disable:!X,handler:N},{text:"取消合并单元格",disable:!J,handler:()=>I(le,j)},{divider:!0},{text:"选中当前列",handler:()=>L(j)},{text:"选中当前行",handler:()=>w(le)},{text:"选中全部单元格",handler:M}]};return(ce,fe)=>{var j,X,J,se,q;const le=Fn("contextmenu");return U(),te("div",{class:"editable-table",style:Le({width:d.value+"px"})},[ce.editable?(U(),te("div",wNe,[(U(!0),te(We,null,tt(p.value,(ne,oe)=>(U(),te("div",{class:"drag-line",key:oe,style:Le({left:ne+"px"}),onMousedown:he=>W(he,oe)},null,44,MNe))),128))])):Ze("",!0),V("table",{class:$e({theme:u.value,"row-header":(j=u.value)==null?void 0:j.rowHeader,"row-footer":(X=u.value)==null?void 0:X.rowFooter,"col-header":(J=u.value)==null?void 0:J.colHeader,"col-footer":(se=u.value)==null?void 0:se.colFooter}),style:Le(`--themeColor: ${(q=u.value)==null?void 0:q.color}; --subThemeColor1: ${z(c)[0]}; --subThemeColor2: ${z(c)[1]}`)},[V("colgroup",null,[(U(!0),te(We,null,tt(f.value,(ne,oe)=>(U(),te("col",{span:"1",key:oe,width:ne},null,8,LNe))),128))]),V("tbody",null,[(U(!0),te(We,null,tt(l.value,(ne,oe)=>(U(),te("tr",{key:oe,style:Le({height:ce.cellMinHeight+"px"})},[(U(!0),te(We,null,tt(ne,(he,ue)=>ze((U(),te("td",{class:$e(["cell",{selected:m.value.includes(`${oe}_${ue}`)&&m.value.length>1,active:y.value===`${oe}_${ue}`}]),style:Le({borderStyle:ce.outline.style,borderColor:ce.outline.color,borderWidth:ce.outline.width+"px",...z(pee)(he.style)}),key:he.id,rowspan:he.rowspan,colspan:he.colspan,"data-cell-index":`${oe}_${ue}`,onMousedown:ge=>A(ge,oe,ue),onMouseenter:ge=>x(oe,ue)},[y.value===`${oe}_${ue}`?(U(),_e(SNe,{key:0,class:$e(["cell-text",{active:y.value===`${oe}_${ue}`}]),style:Le({minHeight:ce.cellMinHeight-4+"px"}),value:he.text,onUpdateValue:ge=>z(G)(ge,oe,ue),onInsertExcelData:ge=>ee(ge,oe,ue)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(U(),te("div",{key:1,class:"cell-text",style:Le({minHeight:ce.cellMinHeight-4+"px"}),innerHTML:z(vee)(he.text)},null,12,_Ne))],46,TNe)),[[uc,!z(g).includes(`${oe}_${ue}`)],[le,ge=>Ae(ge)]])),128))],4))),128))])],6)],4)}}}),kNe=Be(ONe,[["__scopeId","data-v-938823e2"]]),PNe={class:"element-content"},CNe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{canvasScale:i,handleElementId:o,isScaling:a}=De(n),s=ve(),{addHistorySnapshot:l}=nn(),u=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},c=ve(!1);Ot(o,()=>{o.value!==t.elementInfo.id&&(c.value=!1)}),Ot(c,()=>{n.setDisableHotkeysState(c.value)});const f=()=>{t.elementInfo.lock||(c.value=!0)},d=ve(-1);Ot(a,()=>{o.value===t.elementInfo.id&&(a.value&&(c.value=!1),!a.value&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:d.value}}),d.value=-1))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const A=R.height;t.elementInfo.height!==A&&(a.value?d.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),Nn(()=>{s.value&&p.unobserve(s.value)});const v=y=>{r.updateElement({id:t.elementInfo.id,props:{data:y}}),l()},g=y=>{const R=y.reduce((x,S)=>x+S),A=y.map(x=>x/R);r.updateElement({id:t.elementInfo.id,props:{width:R,colWidths:A}}),l()},m=y=>{Ir(()=>n.setSelectedTableCells(y))};return(y,R)=>{const A=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-table",{lock:y.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:Le({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${y.elementInfo.rotate}deg)`})},[ze((U(),te("div",PNe,[O(kNe,{onMousedown:R[0]||(R[0]=Ft(()=>{},["stop"])),data:y.elementInfo.data,width:y.elementInfo.width,cellMinHeight:y.elementInfo.cellMinHeight,colWidths:y.elementInfo.colWidths,outline:y.elementInfo.outline,theme:y.elementInfo.theme,editable:c.value,onChange:R[1]||(R[1]=x=>v(x)),onChangeColWidths:R[2]||(R[2]=x=>g(x)),onChangeSelectedCells:R[3]||(R[3]=x=>m(x))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!c.value||y.elementInfo.lock?(U(),te("div",{key:0,class:$e(["table-mask",{lock:y.elementInfo.lock}]),onDblclick:R[4]||(R[4]=x=>f()),onMousedown:R[5]||(R[5]=x=>u(x)),onTouchstart:R[6]||(R[6]=x=>u(x))},[z(o)===y.elementInfo.id?(U(),te("div",{key:0,class:"mask-tip",style:Le({transform:`scale(${1/z(i)})`})},"双击编辑",4)):Ze("",!0)],34)):Ze("",!0)])),[[A,y.contextmenus]])],4)],6)}}}),yee=Be(CNe,[["__scopeId","data-v-7795910a"]]),INe=["width","height","stroke","stroke-width"],NNe=["transform"],FNe=["d"],ENe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=i=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo))},r=()=>{Hi.emit(Ti.OPEN_LATEX_EDITOR)};return(i,o)=>{const a=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-latex",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",onMousedown:o[0]||(o[0]=s=>n(s)),onTouchstart:o[1]||(o[1]=s=>n(s)),onDblclick:o[2]||(o[2]=s=>r())},[(U(),te("svg",{overflow:"visible",width:i.elementInfo.width,height:i.elementInfo.height,stroke:i.elementInfo.color,"stroke-width":i.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${i.elementInfo.width/i.elementInfo.viewBox[0]}, ${i.elementInfo.height/i.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:i.elementInfo.path},null,8,FNe)],8,NNe)],8,INe))],32)),[[a,i.contextmenus]])],4)],6)}}}),Aee=Be(ENe,[["__scopeId","data-v-b73586f6"]]),XNe=(e,t)=>{Ht(()=>{if(!t.value)return;let n="normal";if(/m3u8(#|\?|$)/i.exec(e)?n="hls":/.flv(#|\?|$)/i.exec(e)&&(n="flv"),t.value&&n==="hls"&&(t.value.canPlayType("application/x-mpegURL")||t.value.canPlayType("application/vnd.apple.mpegURL"))&&(n="normal"),n==="hls"){const r=window.Hls;if(r&&r.isSupported()){const i=new r;i.loadSource(e),i.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const i=r.createPlayer({type:"flv",url:e});i.attachMediaElement(t.value),i.load()}}})},WP=e=>(en("data-v-597c0901"),e=e(),tn(),e),WNe={key:0,class:"load-error"},VNe=["src","autoplay","poster"],DNe={class:"bezel"},UNe=WP(()=>V("div",{class:"controller-mask"},null,-1)),BNe={class:"controller"},YNe={class:"icons icons-left"},ZNe={class:"icon-content"},QNe={class:"volume"},HNe={class:"icon-content"},KNe=WP(()=>V("span",{class:"thumb"},null,-1)),GNe=[KNe],zNe={class:"time"},JNe={class:"ptime"},$Ne={class:"dtime"},jNe={class:"icons icons-right"},qNe={class:"speed"},e7e={class:"icon speed-icon"},t7e=["onClick"],n7e={class:"icon-content"},r7e={class:"bar"},i7e=WP(()=>V("span",{class:"thumb"},null,-1)),o7e=[i7e],a7e=Xe({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(X=0)=>{if(X===0||isNaN(X))return"00:00";const J=oe=>oe<10?"0"+oe:""+oe,se=Math.floor(X/3600),q=Math.floor((X-se*3600)/60),ne=Math.floor(X-se*3600-q*60);return(se>0?[se,q,ne]:[q,ne]).map(J).join(":")},r=X=>X.getBoundingClientRect().left,i=ve(),o=ve(),a=ve(),s=ve(.5),l=ve(!0),u=ve(0),c=ve(0),f=ve(0),d=ve(!1),h=ve(!1),p=ve(1),v=ve(!1),g=ve("00:00"),m=ve("0"),y=we(()=>n(u.value)),R=we(()=>n(c.value)),A=we(()=>u.value/c.value*100+"%"),x=we(()=>f.value/c.value*100+"%"),S=we(()=>s.value*100+"%"),L=ve(!1),w=[{label:"2x",value:2},{label:"1.5x",value:1.5},{label:"1.25x",value:1.25},{label:"1x",value:1},{label:"0.75x",value:.75},{label:"0.5x",value:.5}],M=X=>{i.value&&(X=Math.max(X,0),X=Math.min(X,c.value),i.value.currentTime=X,u.value=X)},_=()=>{i.value&&(l.value=!1,i.value.play(),h.value=!0)},P=()=>{i.value&&(l.value=!0,i.value.pause(),h.value=!0)},k=()=>{l.value?_():P()},F=X=>{i.value&&(X=Math.max(X,0),X=Math.min(X,1),i.value.volume=X,s.value=X,i.value.muted&&X!==0&&(i.value.muted=!1))},C=X=>{i.value&&(i.value.playbackRate=X),p.value=X},N=()=>{var X;c.value=((X=i.value)==null?void 0:X.duration)||0},I=()=>{var X;u.value=((X=i.value)==null?void 0:X.currentTime)||0},W=()=>{d.value?(M(0),_()):P()},D=()=>{var X;f.value=(X=i.value)!=null&&X.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},Y=ve(!1),re=()=>Y.value=!0,B=X=>{if(!i.value||!o.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(o.value))/o.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const q=se*c.value;i.value.currentTime=q,u.value=q},Z=X=>{if(!i.value||!o.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(o.value))/o.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const q=se*c.value;i.value.currentTime=q,u.value=q,document.removeEventListener("mousemove",B),document.removeEventListener("touchmove",B),document.removeEventListener("mouseup",Z),document.removeEventListener("touchend",Z)},Q=()=>{document.addEventListener("mousemove",B),document.addEventListener("touchmove",B),document.addEventListener("mouseup",Z),document.addEventListener("touchend",Z)},G=X=>{if(!a.value)return;const se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(a.value))/45;F(se)},ee=()=>{document.removeEventListener("mousemove",G),document.removeEventListener("touchmove",G),document.removeEventListener("mouseup",ee),document.removeEventListener("touchend",ee)},$=()=>{document.addEventListener("mousemove",G),document.addEventListener("touchmove",G),document.addEventListener("mouseup",ee),document.addEventListener("touchend",ee)},de=X=>{if(!a.value)return;const J=(X.clientX-r(a.value))/45;F(J)},K=X=>{if(c.value&&o.value){const J=o.value.getBoundingClientRect().left,se=X.clientX-J;if(se<0||se>o.value.offsetWidth)return;const q=c.value*(se/o.value.offsetWidth);m.value=`${se-(q>=3600?25:20)}px`,g.value=n(q),v.value=!0}},Ae=()=>{i.value&&(i.value.muted?(i.value.muted=!1,F(.5)):(i.value.muted=!0,F(0)))},ce=()=>{d.value=!d.value},fe=ve(-1),le=ve(!1),j=()=>{le.value=!1,clearTimeout(fe.value),fe.value=setTimeout(()=>{var X;(X=i.value)!=null&&X.played.length&&(le.value=!0)},3e3)};return XNe(t.src,i),(X,J)=>{const se=Se("IconPause"),q=Se("IconPlayOne"),ne=Se("IconVolumeMute"),oe=Se("IconVolumeNotice"),he=Se("IconVolumeSmall");return U(),te("div",{class:$e(["video-player",{"hide-controller":le.value}]),style:Le({width:X.width*X.scale+"px",height:X.height*X.scale+"px",transform:`scale(${1/X.scale})`}),onMousemove:J[22]||(J[22]=ue=>j()),onClick:J[23]||(J[23]=ue=>j())},[V("div",{class:"video-wrap",onClick:J[8]||(J[8]=ue=>k())},[Y.value?(U(),te("div",WNe,"视频加载失败")):Ze("",!0),V("video",{class:"video",ref_key:"videoRef",ref:i,src:X.src,autoplay:X.autoplay,poster:X.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:J[0]||(J[0]=ue=>N()),onTimeupdate:J[1]||(J[1]=ue=>I()),onEnded:J[2]||(J[2]=ue=>W()),onProgress:J[3]||(J[3]=ue=>D()),onPlay:J[4]||(J[4]=ue=>{j(),l.value=!1}),onPause:J[5]||(J[5]=ue=>j()),onError:J[6]||(J[6]=ue=>re())},null,40,VNe),V("div",DNe,[V("span",{class:$e(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:J[7]||(J[7]=ue=>h.value=!1)},[l.value?(U(),_e(se,{key:0})):(U(),_e(q,{key:1}))],34)])]),UNe,V("div",BNe,[V("div",YNe,[V("div",{class:"icon play-icon",onClick:J[9]||(J[9]=ue=>k())},[V("span",ZNe,[l.value?(U(),_e(q,{key:0})):(U(),_e(se,{key:1}))])]),V("div",QNe,[V("div",{class:"icon volume-icon",onClick:J[10]||(J[10]=ue=>Ae())},[V("span",HNe,[s.value===0?(U(),_e(ne,{key:0})):s.value===1?(U(),_e(oe,{key:1})):(U(),_e(he,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:J[11]||(J[11]=ue=>$()),onTouchstart:J[12]||(J[12]=ue=>$()),onClick:J[13]||(J[13]=ue=>de(ue))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[V("div",{class:"volume-bar-inner",style:Le({width:S.value})},GNe,4)],512)],32)]),V("span",zNe,[V("span",JNe,vt(y.value),1),Ue(" / "),V("span",$Ne,vt(R.value),1)])]),V("div",jNe,[V("div",qNe,[V("div",e7e,[V("span",{class:"icon-content",onClick:J[14]||(J[14]=ue=>L.value=!L.value)},vt(p.value===1?"倍速":p.value+"x"),1),L.value?(U(),te("div",{key:0,class:"speed-menu",onMouseleave:J[15]||(J[15]=ue=>L.value=!1)},[(U(),te(We,null,tt(w,ue=>V("div",{class:$e(["speed-menu-item",{active:ue.value===p.value}]),key:ue.label,onClick:ge=>C(ue.value)},vt(ue.label),11,t7e)),64))],32)):Ze("",!0)])]),V("div",{class:"loop",onClick:J[16]||(J[16]=ue=>ce())},[V("div",{class:$e(["icon loop-icon",{active:d.value}])},[V("span",n7e,"循环"+vt(d.value?"开":"关"),1)],2)])]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:o,onMousedown:J[17]||(J[17]=ue=>Q()),onTouchstart:J[18]||(J[18]=ue=>Q()),onMousemove:J[19]||(J[19]=ue=>K(ue)),onMouseenter:J[20]||(J[20]=ue=>v.value=!0),onMouseleave:J[21]||(J[21]=ue=>v.value=!1)},[V("div",{class:$e(["bar-time",{hidden:!v.value}]),style:Le({left:m.value})},vt(g.value),7),V("div",r7e,[V("div",{class:"loaded",style:Le({width:x.value})},null,4),V("div",{class:"played",style:Le({width:A.value})},o7e,4)])],544)])],38)}}}),Ree=Be(a7e,[["__scopeId","data-v-597c0901"]]),s7e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=(i,o=!0)=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo,o))};return(i,o)=>{const a=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-video",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",onMousedown:o[2]||(o[2]=s=>r(s,!1)),onTouchstart:o[3]||(o[3]=s=>r(s,!1))},[O(Ree,{width:i.elementInfo.width,height:i.elementInfo.height,src:i.elementInfo.src,poster:i.elementInfo.poster,scale:z(n)},null,8,["width","height","src","poster","scale"]),(U(),te(We,null,tt(["t","b","l","r"],s=>V("div",{class:$e(["handler-border",s]),key:s,onMousedown:o[0]||(o[0]=l=>r(l)),onTouchstart:o[1]||(o[1]=l=>r(l))},null,34)),64))],32)),[[a,i.contextmenus]])],4)],6)}}}),bee=Be(s7e,[["__scopeId","data-v-c50d3bc7"]]),xee=e=>(en("data-v-32038f5c"),e=e(),tn(),e),l7e=["src","autoplay"],u7e={class:"controller"},c7e={class:"icons"},f7e={class:"icon-content"},d7e={class:"volume"},h7e={class:"icon-content"},p7e=xee(()=>V("span",{class:"thumb"},null,-1)),v7e=[p7e],g7e={class:"time"},m7e={class:"ptime"},y7e={class:"dtime"},A7e={class:"bar"},R7e=xee(()=>V("span",{class:"thumb"},null,-1)),b7e=[R7e],x7e=Xe({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(ee=0)=>{if(ee===0||isNaN(ee))return"00:00";const $=ce=>ce<10?"0"+ce:""+ce,de=Math.floor(ee/3600),K=Math.floor((ee-de*3600)/60),Ae=Math.floor(ee-de*3600-K*60);return(de>0?[de,K,Ae]:[K,Ae]).map($).join(":")},i=ee=>ee.getBoundingClientRect().left,o=ve(),a=ve(),s=ve(),l=ve(.5),u=ve(!0),c=ve(0),f=ve(0),d=ve(0),h=ve(!1),p=ve("00:00"),v=ve("0"),g=we(()=>r(c.value)),m=we(()=>r(f.value)),y=we(()=>c.value/f.value*100+"%"),R=we(()=>d.value/f.value*100+"%"),A=we(()=>l.value*100+"%"),x=ee=>{o.value&&(ee=Math.max(ee,0),ee=Math.min(ee,f.value),o.value.currentTime=ee,c.value=ee)},S=()=>{o.value&&(u.value=!1,o.value.play())},L=()=>{o.value&&(u.value=!0,o.value.pause())},w=()=>{u.value?S():L()},M=ee=>{o.value&&(ee=Math.max(ee,0),ee=Math.min(ee,1),o.value.volume=ee,l.value=ee,o.value.muted&&ee!==0&&(o.value.muted=!1))},_=()=>{var ee;f.value=((ee=o.value)==null?void 0:ee.duration)||0},P=()=>{var ee;c.value=((ee=o.value)==null?void 0:ee.currentTime)||0},k=()=>{u.value=!1},F=()=>{n.loop?(x(0),S()):L()},C=()=>{var ee;d.value=(ee=o.value)!=null&&ee.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},N=()=>gn.error("视频加载失败"),I=ee=>{if(!o.value||!a.value)return;let de=(("clientX"in ee?ee.clientX:ee.changedTouches[0].clientX)-i(a.value))/a.value.clientWidth;de=Math.max(de,0),de=Math.min(de,1);const K=de*f.value;o.value.currentTime=K,c.value=K},W=ee=>{if(!o.value||!a.value)return;let de=(("clientX"in ee?ee.clientX:ee.changedTouches[0].clientX)-i(a.value))/a.value.clientWidth;de=Math.max(de,0),de=Math.min(de,1);const K=de*f.value;o.value.currentTime=K,c.value=K,document.removeEventListener("mousemove",I),document.removeEventListener("touchmove",I),document.removeEventListener("mouseup",W),document.removeEventListener("touchend",W)},D=()=>{document.addEventListener("mousemove",I),document.addEventListener("touchmove",I),document.addEventListener("mouseup",W),document.addEventListener("touchend",W)},Y=ee=>{if(!s.value)return;const de=(("clientX"in ee?ee.clientX:ee.changedTouches[0].clientX)-i(s.value))/45;M(de)},re=()=>{document.removeEventListener("mousemove",Y),document.removeEventListener("touchmove",Y),document.removeEventListener("mouseup",re),document.removeEventListener("touchend",re)},B=()=>{document.addEventListener("mousemove",Y),document.addEventListener("touchmove",Y),document.addEventListener("mouseup",re),document.addEventListener("touchend",re)},Z=ee=>{if(!s.value)return;const $=(ee.clientX-i(s.value))/45;M($)},Q=ee=>{if(f.value&&a.value){const $=a.value.getBoundingClientRect().left,de=ee.clientX-$;if(de<0||de>a.value.offsetWidth)return;const K=f.value*(de/a.value.offsetWidth);v.value=`${de-(K>=3600?25:20)}px`,p.value=r(K),h.value=!0}},G=()=>{o.value&&(o.value.muted?(o.value.muted=!1,M(.5)):(o.value.muted=!0,M(0)))};return t({toggle:w}),(ee,$)=>{const de=Se("IconPlayOne"),K=Se("IconPause"),Ae=Se("IconVolumeMute"),ce=Se("IconVolumeNotice"),fe=Se("IconVolumeSmall");return U(),te("div",{class:"audio-player",style:Le({transform:`scale(${1/ee.scale})`})},[V("audio",{class:"audio",ref_key:"audioRef",ref:o,src:ee.src,autoplay:ee.autoplay,onDurationchange:$[0]||($[0]=le=>_()),onTimeupdate:$[1]||($[1]=le=>P()),onPlay:$[2]||($[2]=le=>k()),onEnded:$[3]||($[3]=le=>F()),onProgress:$[4]||($[4]=le=>C()),onError:$[5]||($[5]=le=>N())},null,40,l7e),V("div",u7e,[V("div",c7e,[V("div",{class:"icon play-icon",onClick:$[6]||($[6]=le=>w())},[V("span",f7e,[u.value?(U(),_e(de,{key:0})):(U(),_e(K,{key:1}))])]),V("div",d7e,[V("div",{class:"icon volume-icon",onClick:$[7]||($[7]=le=>G())},[V("span",h7e,[l.value===0?(U(),_e(Ae,{key:0})):l.value===1?(U(),_e(ce,{key:1})):(U(),_e(fe,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:$[8]||($[8]=le=>B()),onTouchstart:$[9]||($[9]=le=>B()),onClick:$[10]||($[10]=le=>Z(le))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[V("div",{class:"volume-bar-inner",style:Le({width:A.value})},v7e,4)],512)],32)])]),V("span",g7e,[V("span",m7e,vt(g.value),1),Ue(" / "),V("span",y7e,vt(m.value),1)]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:$[11]||($[11]=le=>D()),onTouchstart:$[12]||($[12]=le=>D()),onMousemove:$[13]||($[13]=le=>Q(le)),onMouseenter:$[14]||($[14]=le=>h.value=!0),onMouseleave:$[15]||($[15]=le=>h.value=!1)},[V("div",{class:$e(["bar-time",{hidden:!h.value}]),style:Le({left:v.value})},vt(p.value),7),V("div",A7e,[V("div",{class:"loaded",style:Le({width:R.value})},null,4),V("div",{class:"played",style:Le({width:y.value})},b7e,4)])],544)])],4)}}}),See=Be(x7e,[["__scopeId","data-v-32038f5c"]]),S7e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=De(ht()),{viewportRatio:i,viewportSize:o}=De(ut()),a=we(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),s=we(()=>{const u=o.value,c=o.value*i.value,f=280/n.value,d=50/n.value,h=t.elementInfo.width,p=t.elementInfo.height,v=t.elementInfo.left,g=t.elementInfo.top;let m=0,y=p;return v+f>=u&&(m=h-f),g+p+d>=c&&(y=-d),{left:m+"px",top:y+"px"}}),l=u=>{t.elementInfo.lock||(u.stopPropagation(),t.selectElement(u,t.elementInfo))};return(u,c)=>{const f=Se("IconVolumeNotice"),d=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-audio",{lock:u.elementInfo.lock}]),style:Le({top:u.elementInfo.top+"px",left:u.elementInfo.left+"px",width:u.elementInfo.width+"px",height:u.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${u.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",onMousedown:c[1]||(c[1]=h=>l(h)),onTouchstart:c[2]||(c[2]=h=>l(h))},[O(f,{class:"audio-icon",style:Le({fontSize:a.value,color:u.elementInfo.color})},null,8,["style"]),z(r)===u.elementInfo.id?(U(),_e(See,{key:0,class:"audio-player",style:Le({...s.value}),src:u.elementInfo.src,loop:u.elementInfo.loop,scale:z(n),onMousedown:c[0]||(c[0]=Ft(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Ze("",!0)],32)),[[d,u.contextmenus]])],4)],6)}}}),wee=Be(S7e,[["__scopeId","data-v-07f623ea"]]),w7e=["id"],M7e=Xe({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:vz,[Et.TEXT]:uJ,[Et.SHAPE]:fJ,[Et.LINE]:dJ,[Et.CHART]:hee,[Et.TABLE]:yee,[Et.LATEX]:Aee,[Et.VIDEO]:bee,[Et.AUDIO]:wee})[t.elementInfo.type]||null),{orderElement:r}=G2(),{alignElementToCanvas:i}=m3(),{combineElements:o,uncombineElements:a}=HO(),{deleteElement:s}=K2(),{lockElement:l,unlockElement:u}=VH(),{copyElement:c,pasteElement:f,cutElement:d}=KO(),{selectAllElements:h}=i3(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>u(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:c},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>i(pn.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>i(pn.CENTER)},{text:"水平居中",handler:()=>i(pn.HORIZONTAL)},{text:"左对齐",handler:()=>i(pn.LEFT)},{text:"右对齐",handler:()=>i(pn.RIGHT)}]},{text:"垂直居中",handler:()=>i(pn.VERTICAL),children:[{text:"水平垂直居中",handler:()=>i(pn.CENTER)},{text:"垂直居中",handler:()=>i(pn.VERTICAL)},{text:"顶部对齐",handler:()=>i(pn.TOP)},{text:"底部对齐",handler:()=>i(pn.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,Wr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,Wr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,Wr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,Wr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,Wr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,Wr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:o,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:l},{text:"删除",subText:"Delete",handler:s}];return(v,g)=>(U(),te("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${v.elementInfo.id}`,style:Le({zIndex:v.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:v.elementInfo,selectElement:v.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,w7e))}}),L7e=Xe({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(U(),te("div",{class:$e(`mouse-selection quadrant-${t.quadrant}`),style:Le({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),T7e=Be(L7e,[["__scopeId","data-v-053bfa3e"]]),_7e={class:"grid-lines"},O7e=["d","stroke"],k7e=Xe({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=De(ht()),{currentSlide:r,viewportRatio:i,viewportSize:o}=De(ut()),a=we(()=>{var u;return(u=r.value)==null?void 0:u.background}),s=we(()=>{var f;const u=((f=a.value)==null?void 0:f.color)||"#fff",c=["#000","#fff"];return at.mostReadable(u,c,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),l=we(()=>{const u=o.value,c=o.value*i.value;let f="";for(let d=0;d<=Math.floor(c/n.value);d++)f+=`M0 ${d*n.value} L${u} ${d*n.value} `;for(let d=0;d<=Math.floor(u/n.value);d++)f+=`M${d*n.value} 0 L${d*n.value} ${c} `;return f});return(u,c)=>(U(),te("svg",_7e,[V("path",{style:Le({transform:`scale(${z(t)})`}),d:l.value,fill:"none",stroke:s.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,O7e)]))}}),P7e=Be(k7e,[["__scopeId","data-v-93264269"]]),t4=e=>({backgroundStyle:we(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:i,gradient:o}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image"&&i){const{src:a,size:s}=i;return a?s==="repeat"?{backgroundImage:`url(${a}`,backgroundRepeat:"repeat",backgroundSize:"contain"}:{backgroundImage:`url(${a}`,backgroundRepeat:"no-repeat",backgroundSize:s||"cover"}:{backgroundColor:"#fff"}}else if(n==="gradient"&&o){const{type:a,colors:s,rotate:l}=o,u=s.map(c=>`${c.color} ${c.pos}%`);return a==="radial"?{backgroundImage:`radial-gradient(${u.join(",")}`}:{backgroundImage:`linear-gradient(${l}deg, ${u.join(",")}`}}return{backgroundColor:"#fff"}})}),C7e=Xe({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=De(ht()),{currentSlide:n}=De(ut()),r=we(()=>{var o;return(o=n.value)==null?void 0:o.background}),{backgroundStyle:i}=t4(r);return(o,a)=>(U(),te("div",{class:"viewport-background",style:Le(z(i))},[z(t)?(U(),_e(P7e,{key:0})):Ze("",!0)],4))}}),I7e=Be(C7e,[["__scopeId","data-v-203ea8ff"]]),N7e=Xe({__name:"AlignmentLine",props:{type:{},axis:{},length:{},canvasScale:{}},setup(e){const t=e,n=we(()=>t.axis.x*t.canvasScale+"px"),r=we(()=>t.axis.y*t.canvasScale+"px"),i=we(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(o,a)=>(U(),te("div",{class:"alignment-line",style:Le({left:n.value,top:r.value})},[V("div",{class:$e(["line",o.type]),style:Le(i.value)},null,6)],4))}}),Mee=Be(N7e,[["__scopeId","data-v-7cd3d25d"]]),F7e={class:"ruler"},E7e={key:0},X7e={key:0},W7e=Xe({__name:"Ruler",props:{viewportStyles:{},elementList:{}},setup(e){const t=e,{canvasScale:n,activeElementIdList:r}=De(ht()),{viewportRatio:i,viewportSize:o}=De(ut()),a=ve(null);Xv(()=>{const l=t.elementList.filter(u=>r.value.includes(u.id));if(!l.length)return a.value=null;a.value=ju(l)});const s=we(()=>t.viewportStyles.width*n.value/(o.value/100));return(l,u)=>(U(),te("div",F7e,[V("div",{class:"h",style:Le({width:l.viewportStyles.width*z(n)+"px",left:l.viewportStyles.left+"px"})},[(U(),te(We,null,tt(20,c=>V("div",{class:$e(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`h-marker-100-${c}`,style:Le({width:s.value+"px"})},[c*100<=z(o)?(U(),te("span",E7e,vt(c*100),1)):Ze("",!0)],6)),64)),a.value?(U(),te("div",{key:0,class:"range",style:Le({left:a.value.minX*z(n)+"px",width:(a.value.maxX-a.value.minX)*z(n)+"px"})},null,4)):Ze("",!0)],4),V("div",{class:"v",style:Le({height:l.viewportStyles.height*z(n)+"px",top:l.viewportStyles.top+"px"})},[(U(),te(We,null,tt(20,c=>V("div",{class:$e(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`v-marker-100-${c}`,style:Le({height:s.value+"px"})},[c*100<=z(o)*z(i)?(U(),te("span",X7e,vt(c*100),1)):Ze("",!0)],6)),64)),a.value?(U(),te("div",{key:0,class:"range",style:Le({top:a.value.minY*z(n)+"px",height:(a.value.maxY-a.value.minY)*z(n)+"px"})},null,4)):Ze("",!0)],4)]))}}),V7e=Be(W7e,[["__scopeId","data-v-c6df5cc2"]]),D7e=["width","height"],U7e=["d"],B7e=Xe({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ht(),{creatingElement:i}=De(r),{ctrlOrShiftKeyActive:o}=De(pl()),a=ve(),s=ve(),l=ve(),u=ve({x:0,y:0});Ht(()=>{if(!l.value)return;const{x:h,y:p}=l.value.getBoundingClientRect();u.value={x:h,y:p}});const c=h=>{let p=!0;const v=h.pageX,g=h.pageY;a.value=[v,g],document.onmousemove=m=>{if(!i.value||!p)return;let y=m.pageX,R=m.pageY;if(o.value){const A=y-v,x=R-g,S=Math.abs(A),L=Math.abs(x);if(i.value.type==="shape"){const w=x>0&&A<0||x<0&&A>0;S>L?R=w?g-A:g+A:y=w?v-x:v+x}else i.value.type==="line"&&(S>L?R=g:y=v)}s.value=[y,R]},document.onmouseup=m=>{var x,S;if(document.onmousemove=null,document.onmouseup=null,m.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const y=m.pageX,R=m.pageY,A=30;if(((x=i.value)==null?void 0:x.type)==="line"&&(Math.abs(y-v)>=A||Math.abs(R-g)>=A))n("created",{start:a.value,end:s.value});else if(((S=i.value)==null?void 0:S.type)!=="line"&&Math.abs(y-v)>=A&&Math.abs(R-g)>=A)n("created",{start:a.value,end:s.value});else{const w=Math.min(y,v),M=Math.min(R,g),_=Math.max(y,v),P=Math.max(R,g),k=_-w>=A?_-w:200,F=P-M>=A?P-M:200;n("created",{start:[w,M],end:[w+k,M+F]})}}},f=we(()=>{if(!a.value||!s.value||!i.value||i.value.type!=="line")return null;const[h,p]=a.value,[v,g]=s.value,m=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,g),A=Math.max(p,g),x=y-m>=24?y-m:24,S=A-R>=24?A-R:24,L=h===m?0:y-m,w=p===R?0:A-R,M=v===m?0:y-m,_=g===R?0:A-R,P=`M${L}, ${w} L${M}, ${_}`;return{svgWidth:x,svgHeight:S,startX:L,startY:w,endX:M,endY:_,path:P}}),d=we(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[v,g]=s.value,m=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,g),A=Math.max(p,g),x=y-m,S=A-R;return{left:m-u.value.x+"px",top:R-u.value.y+"px",width:x+"px",height:S+"px"}});return(h,p)=>{var v,g;return U(),te("div",{class:"element-create-selection",ref_key:"selectionRef",ref:l,onMousedown:p[0]||(p[0]=Ft(m=>c(m),["stop"])),onContextmenu:p[1]||(p[1]=Ft(()=>{},["stop","prevent"]))},[a.value&&s.value?(U(),te("div",{key:0,class:$e(["selection",(v=z(i))==null?void 0:v.type]),style:Le(d.value)},[((g=z(i))==null?void 0:g.type)==="line"&&f.value?(U(),te("svg",{key:0,overflow:"visible",width:f.value.svgWidth,height:f.value.svgHeight},[V("path",{d:f.value.path,stroke:"#d14424",fill:"none","stroke-width":"2"},null,8,U7e)],8,D7e)):Ze("",!0)],6)):Ze("",!0)],544)}}}),Y7e=Be(B7e,[["__scopeId","data-v-7b17a883"]]),Z7e={overflow:"visible"},Q7e=["d","fill"],H7e=Xe({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ht(),{ctrlOrShiftKeyActive:i}=De(pl()),{theme:o}=De(ut()),a=ve(),s=ve(!1),l=ve({x:0,y:0});Ht(()=>{if(!a.value)return;const{x:A,y:x}=a.value.getBoundingClientRect();l.value={x:A,y:x}});const u=ve(null),c=ve([]),f=ve(!1),d=(A,x=!1)=>{let S=A.pageX-l.value.x,L=A.pageY-l.value.y;if(x)return{pageX:S,pageY:L};if(i.value&&c.value.length){const[w,M]=c.value[c.value.length-1];Math.abs(w-S)-Math.abs(M-L)>0?L=M:S=w}return{pageX:S,pageY:L}},h=A=>{if(s.value){const{pageX:L,pageY:w}=d(A,!0);c.value.push([L,w]),u.value=null;return}const{pageX:x,pageY:S}=d(A);if(u.value=[x,S],c.value.length>=2){const[L,w]=c.value[0];Math.abs(L-x)<5&&Math.abs(w-S)<5?f.value=!0:f.value=!1}else f.value=!1},p=we(()=>{let A="";for(let x=0;x{const x=c.value.map(I=>I[0]),S=c.value.map(I=>I[1]),L=Math.min(...x),w=Math.min(...S),M=Math.max(...x),_=Math.max(...S),P=c.value.map(I=>[I[0]-L,I[1]-w]);let k="";for(let I=0;I{const{pageX:x,pageY:S}=d(A);s.value=!0,f.value?n("created",v()):c.value.push([x,S]),document.onmouseup=()=>{s.value=!1}},m=()=>{r.setCreatingCustomShapeState(!1)},y=()=>{n("created",{...v(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:o.value.themeColor,style:"solid"}}),m()},R=A=>{const x=A.key.toUpperCase();x===At.ESC&&m(),x===At.ENTER&&y()};return Ht(()=>{gn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:0}),document.addEventListener("keydown",R)}),Nn(()=>{document.removeEventListener("keydown",R),gn.closeAll()}),(A,x)=>(U(),te("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:x[0]||(x[0]=Ft(S=>g(S),["stop"])),onMousemove:x[1]||(x[1]=S=>h(S)),onContextmenu:x[2]||(x[2]=Ft(S=>m(),["stop","prevent"]))},[(U(),te("svg",Z7e,[V("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,Q7e)]))],544))}}),K7e=Be(H7e,[["__scopeId","data-v-8ea8c340"]]),g0=(e,t)=>{const n=we(()=>[{direction:Rt.LEFT_TOP,style:{}},{direction:Rt.TOP,style:{left:e.value/2+"px"}},{direction:Rt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:Rt.LEFT,style:{top:t.value/2+"px"}},{direction:Rt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:Rt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:Rt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:Rt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=we(()=>[{direction:Rt.LEFT,style:{top:t.value/2+"px"}},{direction:Rt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),i=we(()=>[{direction:Rt.TOP,style:{left:e.value/2+"px"}},{direction:Rt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),o=we(()=>[{type:pg.T,style:{width:e.value+"px"}},{type:pg.B,style:{top:t.value+"px",width:e.value+"px"}},{type:pg.L,style:{height:t.value+"px"}},{type:pg.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:i,borderLines:o}},G7e=Xe({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=we(()=>{const r="rotate-",i=t.rotate;return i>-22.5&&i<=22.5?r+0:i>22.5&&i<=67.5?r+45:i>67.5&&i<=112.5?r+90:i>112.5&&i<=157.5?r+135:i>157.5||i<=-157.5?r+0:i>-157.5&&i<=-112.5?r+45:i>-112.5&&i<=-67.5?r+90:i>-67.5&&i<=-22.5?r+135:r+0});return(r,i)=>(U(),te("div",{class:$e(["resize-handler",n.value,r.type])},null,2))}}),pd=Be(G7e,[["__scopeId","data-v-bb3f9e62"]]),z7e=Xe({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),te("div",{class:$e(["border-line",t.type,{wide:t.isWide}])},null,2))}}),m0=Be(z7e,[["__scopeId","data-v-7114fb45"]]),J7e=Xe({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=De(ht()),i=we(()=>t.elementList.filter(d=>n.value.includes(d.id))),o=ve({minX:0,maxX:0,minY:0,maxY:0}),a=we(()=>(o.value.maxX-o.value.minX)*r.value),s=we(()=>(o.value.maxY-o.value.minY)*r.value),{resizeHandlers:l,borderLines:u}=g0(a,s);Xv(()=>{const{minX:d,maxX:h,minY:p,maxY:v}=ju(i.value);o.value={minX:d,maxX:h,minY:p,maxY:v}});const f=we(()=>i.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(U(),te("div",{class:"multi-select-operate",style:Le({left:o.value.minX*z(r)+"px",top:o.value.minY*z(r)+"px"})},[(U(!0),te(We,null,tt(z(u),p=>(U(),_e(m0,{key:p.type,type:p.type,style:Le(p.style)},null,8,["type","style"]))),128)),f.value?Ze("",!0):(U(!0),te(We,{key:0},tt(z(l),p=>(U(),_e(pd,{key:p.direction,type:p.direction,style:Le(p.style),onMousedown:Ft(v=>d.scaleMultiElement(v,o.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),$7e=Be(J7e,[["__scopeId","data-v-135c8cb7"]]),j7e={},q7e={class:"rotate-handler"};function e9e(e,t){return U(),te("div",q7e)}const r1=Be(j7e,[["render",e9e],["__scopeId","data-v-9f21fc0f"]]),t9e={inheritAttrs:!1},n9e=Xe({...t9e,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=De(ht()),i=we(()=>r.value===t.elementInfo.id),o=we(()=>t.elementInfo.width*n.value),a=we(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:l}=g0(o,a);return(u,c)=>(U(),te("div",{class:$e(["image-element-operate",{cliping:i.value}])},[(U(!0),te(We,null,tt(z(l),f=>(U(),_e(m0,{class:"operate-border-line",key:f.type,type:f.type,style:Le(f.style)},null,8,["type","style"]))),128)),u.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(s),f=>(U(),_e(pd,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:u.elementInfo.rotate,style:Le(f.style),onMousedown:Ft(d=>u.scaleElement(d,u.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:o.value/2+"px"}),onMousedown:c[0]||(c[0]=Ft(f=>u.rotateElement(f,u.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)],2))}}),r9e=Be(n9e,[["__scopeId","data-v-2a1bef4e"]]),i9e={class:"text-element-operate"},o9e={inheritAttrs:!1},a9e=Xe({...o9e,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.width*n.value),i=we(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:o,verticalTextElementResizeHandlers:a,borderLines:s}=g0(r,i),l=we(()=>t.elementInfo.vertical?a.value:o.value);return(u,c)=>(U(),te("div",i9e,[(U(!0),te(We,null,tt(z(s),f=>(U(),_e(m0,{class:"operate-border-line",key:f.type,type:f.type,style:Le(f.style)},null,8,["type","style"]))),128)),u.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(l.value,f=>(U(),_e(pd,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:u.elementInfo.rotate,style:Le(f.style),onMousedown:Ft(d=>u.scaleElement(d,u.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:c[0]||(c[0]=Ft(f=>u.rotateElement(f,u.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),s9e={class:"shape-element-operate"},l9e=["onMousedown"],u9e={inheritAttrs:!1},c9e=Xe({...u9e,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.width*n.value),i=we(()=>t.elementInfo.height*n.value),{resizeHandlers:o,borderLines:a}=g0(r,i),s=we(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoints===void 0)return[];const l=u0[t.elementInfo.pathFormula];return t.elementInfo.keypoints.map((u,c)=>{const f=l.getBaseSize[c],d=l.relative[c],h=f(t.elementInfo.width,t.elementInfo.height)*u;let p={};return d==="left"?p={left:h*n.value+"px"}:d==="right"?p={left:(t.elementInfo.width-h)*n.value+"px"}:d==="center"?p={left:(t.elementInfo.width-h)/2*n.value+"px"}:d==="top"?p={top:h*n.value+"px"}:d==="bottom"?p={top:(t.elementInfo.height-h)*n.value+"px"}:d==="left_bottom"?p={left:h*n.value+"px",top:t.elementInfo.height*n.value+"px"}:d==="right_bottom"?p={left:(t.elementInfo.width-h)*n.value+"px",top:t.elementInfo.height*n.value+"px"}:d==="top_right"?p={left:t.elementInfo.width*n.value+"px",top:h*n.value+"px"}:d==="bottom_right"&&(p={left:t.elementInfo.width*n.value+"px",top:(t.elementInfo.height-h)*n.value+"px"}),{keypoint:u,styles:p}})});return(l,u)=>(U(),te("div",s9e,[(U(!0),te(We,null,tt(z(a),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(o),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"]),(U(!0),te(We,null,tt(s.value,(c,f)=>(U(),te("div",{class:"operate-keypoint-handler",key:f,style:Le(c.styles),onMousedown:Ft(d=>l.moveShapeKeypoint(d,l.elementInfo,f),["stop"])},null,44,l9e))),128))],64)):Ze("",!0)]))}}),f9e=Be(c9e,[["__scopeId","data-v-11747e5a"]]),d9e={class:"line-element-operate"},h9e=["width","height","stroke"],p9e={key:0},v9e=["x1","y1","x2","y2"],g9e=["x1","y1","x2","y2"],m9e=["x1","y1","x2","y2"],y9e=["x1","y1","x2","y2"],A9e={inheritAttrs:!1},R9e=Xe({...A9e,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),i=we(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),o=we(()=>{const a=[{handler:Ho.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Ho.END,style:{left:t.elementInfo.end[0]*n.value+"px",top:t.elementInfo.end[1]*n.value+"px"}}];if(t.elementInfo.curve||t.elementInfo.broken||t.elementInfo.broken2){const s=t.elementInfo.curve||t.elementInfo.broken||t.elementInfo.broken2;a.push({handler:Ho.C,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}})}else if(t.elementInfo.cubic){const[s,l]=t.elementInfo.cubic;a.push({handler:Ho.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Ho.C2,style:{left:l[0]*n.value+"px",top:l[1]*n.value+"px"}})}return a});return(a,s)=>(U(),te("div",d9e,[a.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(o.value,l=>(U(),_e(pd,{class:"operate-resize-handler",key:l.handler,style:Le(l.style),onMousedown:Ft(u=>a.dragLineElement(u,a.elementInfo,l.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(U(),te("svg",{width:r.value||1,height:i.value||1,stroke:a.elementInfo.color,overflow:"visible",style:Le({transform:`scale(${z(n)})`})},[a.elementInfo.curve?(U(),te("g",p9e,[V("line",{class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,v9e),V("line",{class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,g9e)])):Ze("",!0),a.elementInfo.cubic?(U(!0),te(We,{key:1},tt(a.elementInfo.cubic,(l,u)=>(U(),te("g",{key:u},[u===0?(U(),te("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:l[0],y2:l[1]},null,8,m9e)):Ze("",!0),u===1?(U(),te("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:l[0],y2:l[1]},null,8,y9e)):Ze("",!0)]))),128)):Ze("",!0)],12,h9e))],64)):Ze("",!0)]))}}),b9e=Be(R9e,[["__scopeId","data-v-9dea4d6a"]]),x9e={class:"table-element-operate"},S9e={inheritAttrs:!1},w9e=Xe({...S9e,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.outline.width||1),i=we(()=>(t.elementInfo.width+r.value)*n.value),o=we(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=g0(i,o);return(l,u)=>(U(),te("div",x9e,[(U(!0),te(We,null,tt(z(s),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(a),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),M9e={class:"common-element-operate"},L9e={inheritAttrs:!1},ER=Xe({...L9e,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.width*n.value),i=we(()=>t.elementInfo.height*n.value),{resizeHandlers:o,borderLines:a}=g0(r,i),s=we(()=>["chart","video","audio"].includes(t.elementInfo.type));return(l,u)=>(U(),te("div",M9e,[(U(!0),te(We,null,tt(z(a),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(o),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Ze("",!0):(U(),_e(r1,{key:0,class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"]))],64)):Ze("",!0)]))}}),Lee=()=>{const e=ut(),{addHistorySnapshot:t}=nn();return{setLink:(i,o)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(o.type==="web"&&!a.test(o.target))return gn.error("不是正确的网页链接地址"),!1;if(o.type==="slide"&&!o.target)return gn.error("请先选择链接目标"),!1;const s={link:o};return e.updateElement({id:i.id,props:s}),t(),!0},removeLink:i=>{e.removeElementProps({id:i.id,propName:"link"}),t()}}},T9e=Xe({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:-1}},setup(e){return(t,n)=>(U(),te("div",{class:$e(["divider",t.type]),style:Le({margin:t.type==="horizontal"?`${t.margin>=0?t.margin:24}px 0`:`0 ${t.margin>=0?t.margin:8}px`})},null,6))}}),Zt=Be(T9e,[["__scopeId","data-v-80adabfa"]]),_9e=["href"],O9e={class:"btns"},k9e=Xe({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{canvasScale:i}=De(n),{slides:o}=De(r),{removeLink:a}=Lee(),s=we(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),l=u=>{const c=o.value.findIndex(f=>f.id===u);c!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(c))};return(u,c)=>(U(),te("div",{class:"link-handler",style:Le({top:s.value*z(i)+10+"px"})},[u.link.type==="web"?(U(),te("a",{key:0,class:"link",href:u.link.target,target:"_blank"},vt(u.link.target),9,_9e)):(U(),te("a",{key:1,class:"link",onClick:c[0]||(c[0]=f=>l(u.link.target))},"幻灯片页面 "+vt(u.link.target),1)),V("div",O9e,[V("div",{class:"btn",onClick:c[1]||(c[1]=f=>u.openLinkDialog())},"更换"),O(Zt,{type:"vertical"}),V("div",{class:"btn",onClick:c[2]||(c[2]=f=>z(a)(u.elementInfo))},"移除")])],4))}}),P9e=Be(k9e,[["__scopeId","data-v-f8f46f78"]]),C9e={key:1,class:"animation-index"},I9e=Xe({__name:"index",props:{elementInfo:{},isSelected:{type:Boolean},isActive:{type:Boolean},isActiveGroupElement:{type:Boolean},isMultiSelect:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},dragLineElement:{type:Function},moveShapeKeypoint:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,{canvasScale:n,toolbarState:r}=De(ht()),{formatedAnimations:i}=De(ut()),o=we(()=>({[Et.IMAGE]:r9e,[Et.TEXT]:a9e,[Et.SHAPE]:f9e,[Et.LINE]:b9e,[Et.TABLE]:w9e,[Et.CHART]:ER,[Et.LATEX]:ER,[Et.VIDEO]:ER,[Et.AUDIO]:ER})[t.elementInfo.type]||null),a=we(()=>{const u=[];for(let c=0;cd.elId).includes(t.elementInfo.id)&&u.push(c);return u}),s=we(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),l=we(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(u,c)=>(U(),te("div",{class:$e(["operate",{"multi-select":u.isMultiSelect&&!u.isActive}]),style:Le({top:u.elementInfo.top*z(n)+"px",left:u.elementInfo.left*z(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${u.elementInfo.width*z(n)/2}px ${l.value*z(n)/2}px`})},[u.isSelected?(U(),_e(Ru(o.value),{key:0,elementInfo:u.elementInfo,handlerVisible:!u.elementInfo.lock&&(u.isActiveGroupElement||!u.isMultiSelect),rotateElement:u.rotateElement,scaleElement:u.scaleElement,dragLineElement:u.dragLineElement,moveShapeKeypoint:u.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Ze("",!0),z(r)==="elAnimation"&&a.value.length?(U(),te("div",C9e,[(U(!0),te(We,null,tt(a.value,f=>(U(),te("div",{class:"index-item",key:f},vt(f+1),1))),128))])):Ze("",!0),u.isActive&&u.elementInfo.link?(U(),_e(P9e,{key:2,elementInfo:u.elementInfo,link:u.elementInfo.link,openLinkDialog:u.openLinkDialog,onMousedown:c[0]||(c[0]=Ft(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Ze("",!0)],6))}}),N9e=Be(I9e,[["__scopeId","data-v-7c6be7e7"]]),F9e=["src"],E9e=Xe({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n),i=we(()=>t.elementInfo.flipH),o=we(()=>t.elementInfo.flipV),{flipStyle:a}=y3(i,o),s=we(()=>t.elementInfo),{clipShape:l,imgPosition:u}=Ak(s),c=we(()=>t.elementInfo.filters),{filter:f}=dz(c);return(d,h)=>(U(),te("div",{class:"base-element-image",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({filter:z(r)?`drop-shadow(${z(r)})`:"",transform:z(a)})},[O(hz,{elementInfo:d.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:Le({clipPath:z(l).style})},[V("img",{src:d.elementInfo.src,draggable:!1,style:Le({top:z(u).top,left:z(u).left,width:z(u).width,height:z(u).height,filter:z(f)}),alt:""},null,12,F9e),d.elementInfo.colorMask?(U(),te("div",{key:0,class:"color-mask",style:Le({backgroundColor:d.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],4)],4)],4))}}),Tee=Be(E9e,[["__scopeId","data-v-67c9bdc0"]]),X9e=["innerHTML"],W9e=Xe({__name:"BaseTextElement",props:{elementInfo:{},target:{}},setup(e){const t=e,n=we(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n);return(i,o)=>(U(),te("div",{class:"base-element-text",style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({width:i.elementInfo.vertical?"auto":i.elementInfo.width+"px",height:i.elementInfo.vertical?i.elementInfo.height+"px":"auto",backgroundColor:i.elementInfo.fill,opacity:i.elementInfo.opacity,textShadow:z(r),lineHeight:i.elementInfo.lineHeight,letterSpacing:(i.elementInfo.wordSpace||0)+"px",color:i.elementInfo.defaultColor,fontFamily:i.elementInfo.defaultFontName,writingMode:i.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[O(A3,{width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"]),V("div",{class:$e(["text ProseMirror-static",{thumbnail:i.target==="thumbnail"}]),style:Le({"--paragraphSpace":`${i.elementInfo.paragraphSpace===void 0?5:i.elementInfo.paragraphSpace}px`}),innerHTML:i.elementInfo.content},null,14,X9e)],4)],4)],4))}}),_ee=Be(W9e,[["__scopeId","data-v-a3ec163d"]]),V9e=["width","height"],D9e={key:0},U9e=["transform"],B9e=["d","fill","stroke","stroke-width","stroke-dasharray"],Y9e=["innerHTML"],Z9e=Xe({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:i,strokeDashArray:o}=Jv(n),a=we(()=>t.elementInfo.shadow),{shadowStyle:s}=fd(a),l=we(()=>t.elementInfo.flipH),u=we(()=>t.elementInfo.flipV),{flipStyle:c}=y3(l,u),f=we(()=>{const d={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(U(),te("div",{class:"base-element-shape",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({opacity:d.elementInfo.opacity,filter:z(s)?`drop-shadow(${z(s)})`:"",transform:z(c),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(U(),te("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(U(),te("defs",D9e,[O(cJ,{id:`base-gradient-${d.elementInfo.id}`,type:d.elementInfo.gradient.type,colors:d.elementInfo.gradient.colors,rotate:d.elementInfo.gradient.rotate},null,8,["id","type","colors","rotate"])])):Ze("",!0),V("g",{transform:`scale(${d.elementInfo.width/d.elementInfo.viewBox[0]}, ${d.elementInfo.height/d.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:d.elementInfo.path,fill:d.elementInfo.gradient?`url(#base-gradient-${d.elementInfo.id})`:d.elementInfo.fill,stroke:z(i),"stroke-width":z(r),"stroke-dasharray":z(o)},null,8,B9e)],8,U9e)],8,V9e)),V("div",{class:$e(["shape-text",f.value.align])},[V("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Y9e)],2)],4)],4)],4))}}),Oee=Be(Z9e,[["__scopeId","data-v-ed406be1"]]),Q9e=["width","height"],H9e=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],K9e=Xe({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n),i=we(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),o=we(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),a=we(()=>{const l=t.elementInfo.width;return t.elementInfo.style==="dashed"?l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`:t.elementInfo.style==="dotted"?l<=8?`${l*1.8} ${l*1.6}`:`${l*1.5} ${l*1.2}`:"0 0"}),s=we(()=>YO(t.elementInfo));return(l,u)=>(U(),te("div",{class:"base-element-line",style:Le({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[V("div",{class:"element-content",style:Le({filter:z(r)?`drop-shadow(${z(r)})`:""})},[(U(),te("svg",{overflow:"visible",width:i.value,height:o.value},[V("defs",null,[l.elementInfo.points[0]?(U(),_e(Kf,{key:0,id:l.elementInfo.id,position:"start",type:l.elementInfo.points[0],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),l.elementInfo.points[1]?(U(),_e(Kf,{key:1,id:l.elementInfo.id,position:"end",type:l.elementInfo.points[1],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),V("path",{d:s.value,stroke:l.elementInfo.color,"stroke-width":l.elementInfo.width,"stroke-dasharray":a.value,fill:"none","marker-start":l.elementInfo.points[0]?`url(#${l.elementInfo.id}-${l.elementInfo.points[0]}-start)`:"","marker-end":l.elementInfo.points[1]?`url(#${l.elementInfo.id}-${l.elementInfo.points[1]}-end)`:""},null,8,H9e)],8,Q9e))],4)],4))}}),kee=Be(K9e,[["__scopeId","data-v-833e88cd"]]),G9e=Xe({__name:"BaseChartElement",props:{elementInfo:{},target:{}},setup(e){return(t,n)=>(U(),te("div",{class:$e(["base-element-chart",{"is-thumbnail":t.target==="thumbnail"}]),style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({backgroundColor:t.elementInfo.fill})},[O(A3,{width:t.elementInfo.width,height:t.elementInfo.height,outline:t.elementInfo.outline},null,8,["width","height","outline"]),O(dee,{width:t.elementInfo.width,height:t.elementInfo.height,type:t.elementInfo.chartType,data:t.elementInfo.data,themeColors:t.elementInfo.themeColors,textColor:t.elementInfo.textColor,options:t.elementInfo.options},null,8,["width","height","type","data","themeColors","textColor","options"])],4)],4)],6))}}),Pee=Be(G9e,[["__scopeId","data-v-5a1fd6e3"]]),z9e=["width"],J9e=["rowspan","colspan"],$9e=["innerHTML"],j9e=Xe({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=ve([]),r=we(()=>n.value.reduce((l,u)=>l+u));Ot([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(l=>l*t.width)},{immediate:!0});const i=we(()=>t.data),{hideCells:o}=gee(i),a=we(()=>t.theme),{subThemeColor:s}=mee(a);return(l,u)=>{var c,f,d,h,p;return U(),te("div",{class:"static-table",style:Le({width:r.value+"px"})},[V("table",{class:$e({theme:a.value,"row-header":(c=a.value)==null?void 0:c.rowHeader,"row-footer":(f=a.value)==null?void 0:f.rowFooter,"col-header":(d=a.value)==null?void 0:d.colHeader,"col-footer":(h=a.value)==null?void 0:h.colFooter}),style:Le(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${z(s)[0]}; --subThemeColor2: ${z(s)[1]}`)},[V("colgroup",null,[(U(!0),te(We,null,tt(n.value,(v,g)=>(U(),te("col",{span:"1",key:g,width:v},null,8,z9e))),128))]),V("tbody",null,[(U(!0),te(We,null,tt(l.data,(v,g)=>(U(),te("tr",{key:g,style:Le({height:l.cellMinHeight+"px"})},[(U(!0),te(We,null,tt(v,(m,y)=>ze((U(),te("td",{class:"cell",style:Le({borderStyle:l.outline.style,borderColor:l.outline.color,borderWidth:l.outline.width+"px",...z(pee)(m.style)}),key:m.id,rowspan:m.rowspan,colspan:m.colspan},[V("div",{class:"cell-text",style:Le({minHeight:l.cellMinHeight-4+"px"}),innerHTML:z(vee)(m.text)},null,12,$9e)],12,J9e)),[[uc,!z(o).includes(`${g}_${y}`)]])),128))],4))),128))])],6)],4)}}}),q9e=Be(j9e,[["__scopeId","data-v-6d887dcd"]]),eFe={class:"element-content"},tFe=Xe({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),te("div",{class:"base-element-table",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",eFe,[O(q9e,{data:t.elementInfo.data,width:t.elementInfo.width,cellMinHeight:t.elementInfo.cellMinHeight,colWidths:t.elementInfo.colWidths,outline:t.elementInfo.outline,theme:t.elementInfo.theme},null,8,["data","width","cellMinHeight","colWidths","outline","theme"])])],4)],4))}}),Cee=Be(tFe,[["__scopeId","data-v-77cfa6e4"]]),nFe={class:"element-content"},rFe=["width","height","stroke","stroke-width"],iFe=["transform"],oFe=["d"],aFe=Xe({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),te("div",{class:"base-element-latex",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",nFe,[(U(),te("svg",{overflow:"visible",width:t.elementInfo.width,height:t.elementInfo.height,stroke:t.elementInfo.color,"stroke-width":t.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${t.elementInfo.width/t.elementInfo.viewBox[0]}, ${t.elementInfo.height/t.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:t.elementInfo.path},null,8,oFe)],8,iFe)],8,rFe))])],4)],4))}}),Iee=Be(aFe,[["__scopeId","data-v-93374af9"]]),sFe=Xe({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=Se("IconPlayOne");return U(),te("div",{class:"base-element-video",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[O(r,{class:"icon"})],4)],4)],4)}}}),lFe=Be(sFe,[["__scopeId","data-v-2fb0e771"]]),uFe={class:"element-content"},cFe=Xe({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,i)=>{const o=Se("IconVolumeNotice");return U(),te("div",{class:"base-element-audio",style:Le({top:r.elementInfo.top+"px",left:r.elementInfo.left+"px",width:r.elementInfo.width+"px",height:r.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${r.elementInfo.rotate}deg)`})},[V("div",uFe,[O(o,{class:"audio-icon",style:Le({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),fFe=Be(cFe,[["__scopeId","data-v-b33e6120"]]),dFe=Xe({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:Tee,[Et.TEXT]:_ee,[Et.SHAPE]:Oee,[Et.LINE]:kee,[Et.CHART]:Pee,[Et.TABLE]:Cee,[Et.LATEX]:Iee,[Et.VIDEO]:lFe,[Et.AUDIO]:fFe})[t.elementInfo.type]||null);return(r,i)=>(U(),te("div",{class:$e(["base-element",`base-element-${r.elementInfo.id}`]),style:Le({zIndex:r.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),hFe={key:1,class:"placeholder"},pFe=Xe({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=De(ut()),i=we(()=>t.slide.background),{backgroundStyle:o}=t4(i),a=we(()=>t.size/r.value);return a0(iy,a),(s,l)=>(U(),te("div",{class:"thumbnail-slide",style:Le({width:s.size+"px",height:s.size*z(n)+"px"})},[s.visible?(U(),te("div",{key:0,class:"elements",style:Le({width:z(r)+"px",height:z(r)*z(n)+"px",transform:`scale(${a.value})`})},[V("div",{class:"background",style:Le(z(o))},null,4),(U(!0),te(We,null,tt(s.slide.elements,(u,c)=>(U(),_e(dFe,{key:u.id,elementInfo:u,elementIndex:c+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(U(),te("div",hFe,"加载中 ..."))],4))}}),dl=Be(pFe,[["__scopeId","data-v-c8cdb1af"]]),vFe=["onClick"],gFe=Xe({__name:"Tabs",props:{value:{},tabs:{},card:{type:Boolean,default:!1},tabsStyle:{},tabStyle:{},spaceAround:{type:Boolean,default:!1},spaceBetween:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=t;return(r,i)=>(U(),te("div",{class:$e(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:Le(r.tabsStyle||{})},[(U(!0),te(We,null,tt(r.tabs,o=>(U(),te("div",{class:$e(["tab",{active:o.key===r.value}]),key:o.key,style:Le({...r.tabStyle||{},"--color":o.color}),onClick:a=>n("update:value",o.key)},vt(o.label),15,vFe))),128))],6))}}),hl=Be(gFe,[["__scopeId","data-v-c7f9dce0"]]),mFe=Xe({__name:"Button",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{default:"default"},size:{default:"normal"},first:{type:Boolean,default:!1},last:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=()=>{n.disabled||r("click")};return(o,a)=>(U(),te("button",{class:$e(["button",{disabled:o.disabled,checked:!o.disabled&&o.checked,default:!o.disabled&&o.type==="default",primary:!o.disabled&&o.type==="primary",checkbox:!o.disabled&&o.type==="checkbox",radio:!o.disabled&&o.type==="radio",small:o.size==="small",first:o.first,last:o.last}]),onClick:a[0]||(a[0]=s=>i())},[ar(o.$slots,"default",{},void 0,!0)],2))}}),et=Be(mFe,[["__scopeId","data-v-3a484f58"]]),yFe={key:0,class:"select-wrap"},AFe={class:"selector"},RFe={class:"icon"},bFe=["onClick"],xFe={class:"selector"},SFe={class:"icon"},wFe=Xe({__name:"Select",props:{value:{},options:{},disabled:{type:Boolean,default:!1},search:{type:Boolean,default:!1},searchLabel:{default:"搜索"}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=ve(!1),o=ve(),a=ve(),s=ve(0),l=ve(""),u=we(()=>{var p;return((p=n.options.find(v=>v.value===n.value))==null?void 0:p.label)||n.value}),c=we(()=>{if(!n.search||!l.value.trim())return n.options;const p=n.options.filter(v=>v.label.toLowerCase().indexOf(l.value.toLowerCase())!==-1);return p.length?p:n.options});Ot(i,()=>{i.value?Ir(()=>{a.value&&a.value.focus()}):l.value=""}),o0(()=>{l.value=""});const f=()=>{o.value&&(s.value=o.value.clientWidth)},d=new ResizeObserver(f);Ht(()=>{o.value&&d.observe(o.value)}),Nn(()=>{o.value&&d.unobserve(o.value)});const h=p=>{p.disabled||(r("update:value",p.value),i.value=!1)};return(p,v)=>{const g=Se("IconDown");return p.disabled?(U(),te("div",yFe,[V("div",{class:"select disabled",ref_key:"selectRef",ref:o},[V("div",AFe,vt(p.value),1),V("div",RFe,[ar(p.$slots,"icon",{},()=>[O(g,{size:14})],!0)])],512)])):(U(),_e(Nt,{key:1,class:"select-wrap",trigger:"click",value:i.value,"onUpdate:value":v[1]||(v[1]=m=>i.value=m),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:ie(()=>[p.search?(U(),te(We,{key:0},[O(fc,{ref_key:"searchInputRef",ref:a,simple:"",placeholder:p.searchLabel,value:l.value,"onUpdate:value":v[0]||(v[0]=m=>l.value=m),style:Le({width:s.value+2+"px"})},null,8,["placeholder","value","style"]),O(Zt,{margin:0})],64)):Ze("",!0),V("div",{class:"options",style:Le({width:s.value+2+"px"})},[(U(!0),te(We,null,tt(c.value,m=>(U(),te("div",{class:$e(["option",{disabled:m.disabled,selected:m.value===p.value}]),key:m.value,onClick:y=>h(m)},vt(m.label),11,bFe))),128))],4)]),default:ie(()=>[V("div",{class:"select",ref_key:"selectRef",ref:o},[V("div",xFe,vt(u.value),1),V("div",SFe,[ar(p.$slots,"icon",{},()=>[O(g,{size:14})],!0)])],512)]),_:3},8,["value"]))}}}),zr=Be(wFe,[["__scopeId","data-v-eb1f268a"]]),MFe=e=>(en("data-v-853e5bc2"),e=e(),tn(),e),LFe={class:"link-dialog"},TFe={key:2,class:"preview"},_Fe=MFe(()=>V("div",null,"预览:",-1)),OFe={class:"btns"},kFe=Xe({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=De(ht()),{slides:i,currentSlide:o}=De(ut()),a=ve("web"),s=ve(""),l=ve(""),u=we(()=>i.value.map((v,g)=>({label:`幻灯片 ${g+1}`,value:v.id,disabled:o.value.id===v.id})));l.value=((p=i.value.find(v=>v.id!==o.value.id))==null?void 0:p.id)||"";const c=we(()=>l.value&&i.value.find(v=>v.id===l.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=Lee();Ht(()=>{var v;(v=r.value)!=null&&v.link&&(r.value.link.type==="web"?s.value=r.value.link.target:r.value.link.type==="slide"&&(l.value=r.value.link.target),a.value=r.value.link.type)});const h=()=>{const v={type:a.value,target:a.value==="web"?s.value:l.value};r.value&&(d(r.value,v)?n("close"):s.value="")};return(v,g)=>(U(),te("div",LFe,[O(hl,{tabs:f,value:a.value,"onUpdate:value":g[0]||(g[0]=m=>a.value=m),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(U(),_e(fc,{key:0,class:"input",value:s.value,"onUpdate:value":g[1]||(g[1]=m=>s.value=m),placeholder:"请输入网页链接地址"},null,8,["value"])):Ze("",!0),a.value==="slide"?(U(),_e(zr,{key:1,class:"input",value:l.value,"onUpdate:value":g[2]||(g[2]=m=>l.value=m),options:u.value},null,8,["value","options"])):Ze("",!0),a.value==="slide"&&c.value?(U(),te("div",TFe,[_Fe,O(dl,{class:"thumbnail",slide:c.value,size:500},null,8,["slide"])])):Ze("",!0),V("div",OFe,[O(et,{onClick:g[3]||(g[3]=m=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:g[4]||(g[4]=m=>h())},{default:ie(()=>[Ue("确认")]),_:1})])]))}}),PFe=Be(kFe,[["__scopeId","data-v-853e5bc2"]]),CFe=Xe({__name:"Modal",props:{visible:{type:Boolean},width:{default:480},closeButton:{type:Boolean,default:!1},closeOnClickMask:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},contentStyle:{}},emits:["update:visible","closed"],setup(e,{emit:t}){const{IconClose:n}=bx,r=e,i=ve(),o=t,a=ve(!1),s=we(()=>({width:r.width+"px",...r.contentStyle||{}}));Ot(()=>r.visible,()=>{r.visible&&Ir(()=>i.value.focus())});const l=()=>{o("update:visible",!1),o("closed")},u=()=>{r.visible&&r.closeOnEsc&&l()},c=()=>{r.closeOnClickMask&&l()};return(f,d)=>(U(),_e(cO,{to:"body"},[O(Yh,{name:"modal-fade"},{default:ie(()=>[ze(V("div",{class:"modal",ref_key:"modalRef",ref:i,tabindex:"-1",onKeyup:d[4]||(d[4]=du(h=>u(),["esc"]))},[V("div",{class:"mask",onClick:d[0]||(d[0]=h=>c())}),O(Yh,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:ie(()=>[ze(V("div",{class:"modal-content",style:Le(s.value)},[f.closeButton?(U(),te("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>l())},[O(z(n))])):Ze("",!0),a.value?ar(f.$slots,"default",{key:1},void 0,!0):Ze("",!0)],4),[[uc,f.visible]])]),_:3})],544),[[uc,f.visible]])]),_:3})]))}}),n0=Be(CFe,[["__scopeId","data-v-4d27bcca"]]),IFe={class:"operates"},NFe={key:2,class:"drag-mask"},FFe=Xe({__name:"index",setup(e){const t=ht(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:i,hiddenElementIdList:o,editorAreaFocus:a,gridLineSize:s,showRuler:l,creatingElement:u,creatingCustomShape:c,canvasScale:f,textFormatPainter:d}=De(t),{currentSlide:h}=De(ut()),{ctrlKeyState:p,spaceKeyState:v}=De(pl()),g=ve(),m=ve([]),y=ve(!1),R=()=>y.value=!0;Ot(i,()=>{t.setActiveGroupElementId("")});const A=ve([]);Xv(()=>{A.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const S=ve(),{dragViewport:L,viewportStyles:w}=kSe(S);CSe(S);const{mouseSelection:M,mouseSelectionVisible:_,mouseSelectionQuadrant:P,updateMouseSelection:k}=PSe(A,g),{dragElement:F}=cz(A,m,f),{dragLineElement:C}=FSe(A),{selectElement:N}=NSe(A,F),{scaleElement:I,scaleMultiElement:W}=uz(A,m,f),{rotateElement:D}=sz(A,g,f),{moveShapeKeypoint:Y}=ESe(A,f),{selectAllElements:re}=i3(),{deleteAllElements:B}=K2(),{pasteElement:Z}=KO(),{enterScreeningFromStart:Q}=ld(),{updateSlideIndex:G}=gc(),{createTextElement:ee,createShapeElement:$}=c0();Ht(()=>{n.value.length&&Ir(()=>t.setActiveElementIdList([]))});const de=oe=>{n.value.length&&t.setActiveElementIdList([]),v.value?L(oe):k(oe),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),OSe()},K=oe=>{if(n.value.length||u.value||c.value||!g.value)return;const he=g.value.getBoundingClientRect(),ue=(oe.pageX-he.x)/f.value,ge=(oe.pageY-he.y)/f.value;ee({left:ue,top:ge,width:200/f.value,height:0})};Nn(()=>{d.value&&t.setTextFormatPainter(null)});const Ae=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:ce}=zO(),fe=Yn.throttle(ce,100,{leading:!0,trailing:!1}),le=Yn.throttle(G,300,{leading:!0,trailing:!1}),j=oe=>{oe.preventDefault(),p.value?oe.deltaY>0?fe("-"):oe.deltaY<0&&fe("+"):oe.deltaY>0?le(At.DOWN):oe.deltaY<0&&le(At.UP)},X=()=>{t.setRulerState(!l.value)},{insertElementFromCreateSelection:J,formatCreateSelection:se}=XSe(g),q=oe=>{const{start:he,end:ue,path:ge,viewBox:Re}=oe,Ee=se({start:he,end:ue});if(Ee){const Ne={};oe.fill&&(Ne.fill=oe.fill),oe.outline&&(Ne.outline=oe.outline),$(Ee,{path:ge,viewBox:Re},Ne)}t.setCreatingCustomShapeState(!1)},ne=()=>[{text:"粘贴",subText:"Ctrl + V",handler:Z},{text:"全选",subText:"Ctrl + A",handler:re},{text:"标尺",subText:l.value?"√":"",handler:X},{text:"网格线",handler:()=>t.setGridLineSize(s.value?0:50),children:[{text:"无",subText:s.value===0?"√":"",handler:()=>t.setGridLineSize(0)},{text:"小",subText:s.value===25?"√":"",handler:()=>t.setGridLineSize(25)},{text:"中",subText:s.value===50?"√":"",handler:()=>t.setGridLineSize(50)},{text:"大",subText:s.value===100?"√":"",handler:()=>t.setGridLineSize(100)}]},{text:"重置当前页",handler:B},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:Q}];return a0(iy,f),(oe,he)=>{const ue=Fn("contextmenu"),ge=Fn("click-outside");return ze((U(),te("div",{class:"canvas",ref_key:"canvasRef",ref:S,onWheel:he[4]||(he[4]=Re=>j(Re)),onMousedown:he[5]||(he[5]=Re=>de(Re)),onDblclick:he[6]||(he[6]=Re=>K(Re))},[z(u)?(U(),_e(Y7e,{key:0,onCreated:he[0]||(he[0]=Re=>z(J)(Re))})):Ze("",!0),z(c)?(U(),_e(K7e,{key:1,onCreated:he[1]||(he[1]=Re=>q(Re))})):Ze("",!0),V("div",{class:"viewport-wrapper",style:Le({width:z(w).width*z(f)+"px",height:z(w).height*z(f)+"px",left:z(w).left+"px",top:z(w).top+"px"})},[V("div",IFe,[(U(!0),te(We,null,tt(m.value,(Re,Ee)=>(U(),_e(Mee,{key:Ee,type:Re.type,axis:Re.axis,length:Re.length,canvasScale:z(f)},null,8,["type","axis","length","canvasScale"]))),128)),z(n).length>1?(U(),_e($7e,{key:0,elementList:A.value,scaleMultiElement:z(W)},null,8,["elementList","scaleMultiElement"])):Ze("",!0),(U(!0),te(We,null,tt(A.value,Re=>ze((U(),_e(N9e,{key:Re.id,elementInfo:Re,isSelected:z(n).includes(Re.id),isActive:z(i)===Re.id,isActiveGroupElement:z(r)===Re.id,isMultiSelect:z(n).length>1,rotateElement:z(D),scaleElement:z(I),openLinkDialog:R,dragLineElement:z(C),moveShapeKeypoint:z(Y)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[uc,!z(o).includes(Re.id)]])),128)),O(I7e)]),V("div",{class:"viewport",ref_key:"viewportRef",ref:g,style:Le({transform:`scale(${z(f)})`})},[z(_)?(U(),_e(T7e,{key:0,top:z(M).top,left:z(M).left,width:z(M).width,height:z(M).height,quadrant:z(P)},null,8,["top","left","width","height","quadrant"])):Ze("",!0),(U(!0),te(We,null,tt(A.value,(Re,Ee)=>ze((U(),_e(M7e,{key:Re.id,elementInfo:Re,elementIndex:Ee+1,isMultiSelect:z(n).length>1,selectElement:z(N),openLinkDialog:R},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[uc,!z(o).includes(Re.id)]])),128))],4)],4),z(v)?(U(),te("div",NFe)):Ze("",!0),z(l)?(U(),_e(V7e,{key:3,viewportStyles:z(w),elementList:A.value},null,8,["viewportStyles","elementList"])):Ze("",!0),O(n0,{visible:y.value,"onUpdate:visible":he[3]||(he[3]=Re=>y.value=Re),width:540},{default:ie(()=>[O(PFe,{onClose:he[2]||(he[2]=Re=>y.value=!1)})]),_:1},8,["visible"])],32)),[[ue,ne],[ge,Ae]])}}}),EFe=Be(FFe,[["__scopeId","data-v-904dbab0"]]),XFe={class:"shape-item-thumbnail"},WFe={class:"shape-content"},VFe={overflow:"visible",width:"18",height:"18"},DFe=["transform"],UFe=["fill","stroke","d"],BFe=Xe({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(U(),te("div",XFe,[V("div",WFe,[(U(),te("svg",VFe,[V("g",{transform:`scale(${18/t.shape.viewBox[0]}, ${18/t.shape.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{class:$e(["shape-path",{outlined:t.shape.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:t.shape.outlined?"#999":"transparent",stroke:t.shape.outlined?"transparent":"#999","stroke-width":"2",d:t.shape.path},null,10,UFe)],8,DFe)]))])]))}}),Nee=Be(BFe,[["__scopeId","data-v-2896ae03"]]),YFe={class:"shape-pool"},ZFe={class:"category-name"},QFe={class:"shape-list"},HFe=Xe({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=i=>{n("select",i)};return(i,o)=>(U(),te("div",YFe,[(U(!0),te(We,null,tt(z(ZO),a=>(U(),te("div",{class:"category",key:a.type},[V("div",ZFe,vt(a.type),1),V("div",QFe,[(U(!0),te(We,null,tt(a.children,(s,l)=>(U(),_e(Nee,{class:"shape-item",key:l,shape:s,onClick:u=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),KFe=Be(HFe,[["__scopeId","data-v-d92f642a"]]),GFe=[{type:"直线",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"]}]},{type:"折线、曲线",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0},{path:"M 0 0 L 10 0 L 10 20 L 20 20",style:"solid",points:["","arrow"],isBroken2:!0},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0}]}],zFe={class:"line-pool"},JFe={class:"category-name"},$Fe={class:"line-list"},jFe=["onClick"],qFe={overflow:"visible",width:"20",height:"20"},eEe=["d","stroke-dasharray","marker-start","marker-end"],tEe=Xe({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=i=>{n("select",i)};return(i,o)=>(U(),te("div",zFe,[(U(!0),te(We,null,tt(z(GFe),(a,s)=>(U(),te("div",{class:"category",key:a.type},[V("div",JFe,vt(a.type),1),V("div",$Fe,[(U(!0),te(We,null,tt(a.children,(l,u)=>(U(),te("div",{class:"line-item",key:u},[V("div",{class:"line-content",onClick:c=>r(l)},[(U(),te("svg",qFe,[V("defs",null,[l.points[0]?(U(),_e(Kf,{key:0,class:"line-marker",id:`preset-line-${s}-${u}`,position:"start",type:l.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0),l.points[1]?(U(),_e(Kf,{key:1,class:"line-marker",id:`preset-line-${s}-${u}`,position:"end",type:l.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0)]),V("path",{class:"line-path",d:l.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":l.style==="solid"?"0, 0":"4, 1","marker-start":l.points[0]?`url(#${`preset-line-${s}-${u}`}-${l.points[0]}-start)`:"","marker-end":l.points[1]?`url(#${`preset-line-${s}-${u}`}-${l.points[1]}-end)`:""},null,8,eEe)]))],8,jFe)]))),128))])]))),128))]))}}),nEe=Be(tEe,[["__scopeId","data-v-fd42a3c4"]]),rEe={class:"chart-pool"},iEe=["onClick"],oEe={class:"name"},aEe=Xe({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","column","line","area","scatter","pie","ring","radar"],i=o=>{n("select",o)};return(o,a)=>{const s=Se("IconChartLine"),l=Se("IconChartHistogram"),u=Se("IconChartPie"),c=Se("IconChartHistogramOne"),f=Se("IconChartLineArea"),d=Se("IconChartRing"),h=Se("IconChartScatter"),p=Se("IconRadarChart");return U(),te("ul",rEe,[(U(),te(We,null,tt(r,(v,g)=>V("li",{class:"chart-item",key:g},[V("div",{class:"chart-content",onClick:m=>i(v)},[v==="line"?(U(),_e(s,{key:0,size:"24"})):v==="bar"?(U(),_e(l,{key:1,size:"24"})):v==="pie"?(U(),_e(u,{key:2,size:"24"})):v==="column"?(U(),_e(c,{key:3,size:"24"})):v==="area"?(U(),_e(f,{key:4,size:"24"})):v==="ring"?(U(),_e(d,{key:5,size:"24"})):v==="scatter"?(U(),_e(h,{key:6,size:"24"})):v==="radar"?(U(),_e(p,{key:7,size:"23"})):Ze("",!0),V("div",oEe,vt(z(LT)[v]),1)],8,iEe)])),64))])}}}),sEe=Be(aEe,[["__scopeId","data-v-55770a5d"]]),Fee=e=>(en("data-v-ba8ef208"),e=e(),tn(),e),lEe={class:"prefix"},uEe={class:"input-wrap"},cEe=["disabled","placeholder"],fEe={class:"handlers"},dEe=Fee(()=>V("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[V("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"})],-1)),hEe=[dEe],pEe=Fee(()=>V("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[V("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"})],-1)),vEe=[pEe],gEe={class:"suffix"},mEe=Xe({__name:"NumberInput",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},min:{default:0},max:{default:1/0},step:{default:1}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{emit:t}){const n=e,r=t,i=ve(0),o=ve(!1);Ot(()=>n.value,()=>{n.value!==i.value&&(i.value=n.value)},{immediate:!0}),Ot(i,()=>{const c=+i.value;if(!isNaN(c)){{if(c>n.max)return;if(c{let c=+i.value;isNaN(c)?c=n.min:c>n.max?c=n.max:c{a(),r("enter",c)},l=c=>{a(),o.value=!1,r("blur",c)},u=c=>{o.value=!0,r("focus",c)};return(c,f)=>(U(),te("div",{class:$e(["number-input",{disabled:c.disabled,focused:o.value}])},[V("span",lEe,[ar(c.$slots,"prefix",{},void 0,!0)]),V("div",uEe,[ze(V("input",{type:"text",disabled:c.disabled,"onUpdate:modelValue":f[0]||(f[0]=d=>i.value=d),placeholder:c.placeholder,onInput:f[1]||(f[1]=d=>r("input",d)),onFocus:f[2]||(f[2]=d=>u(d)),onBlur:f[3]||(f[3]=d=>l(d)),onChange:f[4]||(f[4]=d=>r("change",d)),onKeydown:f[5]||(f[5]=du(d=>s(d),["enter"]))},null,40,cEe),[[Dm,i.value]]),V("div",fEe,[V("span",{class:"handler",onClick:f[6]||(f[6]=d=>i.value+=c.step)},hEe),V("span",{class:"handler",onClick:f[7]||(f[7]=d=>i.value-=c.step)},vEe)])]),V("span",gEe,[ar(c.$slots,"suffix",{},void 0,!0)])],2))}}),qo=Be(mEe,[["__scopeId","data-v-ba8ef208"]]),Eee=e=>(en("data-v-dcc16f05"),e=e(),tn(),e),yEe={class:"table-generator"},AEe={class:"title"},REe={class:"lef"},bEe=["onMouseenter"],xEe={key:1,class:"custom"},SEe={class:"row"},wEe=Eee(()=>V("div",{class:"label",style:{width:"25%"}},"行数:",-1)),MEe={class:"row"},LEe=Eee(()=>V("div",{class:"label",style:{width:"25%"}},"列数:",-1)),TEe={class:"btns"},_Ee=Xe({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=ve([]),i=ve(3),o=ve(3),a=ve(!1),s=()=>{if(!r.value.length)return;const[c,f]=r.value;n("insert",{row:c,col:f})},l=()=>{if(i.value<1||i.value>20||o.value<1||o.value>20)return gn.warning("行数/列数必须在0~20之间!");n("insert",{row:i.value,col:o.value}),a.value=!1},u=()=>{n("close"),a.value=!1};return(c,f)=>(U(),te("div",yEe,[V("div",AEe,[V("div",REe,"表格 "+vt(r.value.length?`${r.value[0]} x ${r.value[1]}`:""),1),V("div",{class:"right",onClick:f[0]||(f[0]=d=>a.value=!a.value)},vt(a.value?"返回":"自定义"),1)]),a.value?(U(),te("div",xEe,[V("div",SEe,[wEe,O(qo,{min:1,max:20,value:i.value,"onUpdate:value":f[3]||(f[3]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",MEe,[LEe,O(qo,{min:1,max:20,value:o.value,"onUpdate:value":f[4]||(f[4]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",TEe,[O(et,{class:"btn",onClick:f[5]||(f[5]=d=>u())},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>l())},{default:ie(()=>[Ue("确认")]),_:1})])])):(U(),te("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[V("tbody",null,[(U(),te(We,null,tt(10,d=>V("tr",{key:d},[(U(),te(We,null,tt(10,h=>V("td",{onMouseenter:p=>r.value=[d,h],key:h},[V("div",{class:$e(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,bEe)),64))])),64))])],32))]))}}),OEe=Be(_Ee,[["__scopeId","data-v-dcc16f05"]]),kEe={class:"media-input"},PEe={class:"btns"},CEe={class:"btns"},IEe=Xe({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=ve("video"),i=ve("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),o=ve("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!i.value)return gn.error("请先输入正确的视频地址");n("insertVideo",i.value)},l=()=>{if(!o.value)return gn.error("请先输入正确的音频地址");n("insertAudio",o.value)};return(u,c)=>(U(),te("div",kEe,[O(hl,{tabs:a,value:r.value,"onUpdate:value":c[0]||(c[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(U(),te(We,{key:0},[O(fc,{value:i.value,"onUpdate:value":c[1]||(c[1]=f=>i.value=f),placeholder:"请输入视频地址,e.g. https://xxx.mp4"},null,8,["value"]),V("div",PEe,[O(et,{onClick:c[2]||(c[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:c[3]||(c[3]=f=>s())},{default:ie(()=>[Ue("确认")]),_:1})])],64)):Ze("",!0),r.value==="audio"?(U(),te(We,{key:1},[O(fc,{value:o.value,"onUpdate:value":c[4]||(c[4]=f=>o.value=f),placeholder:"请输入音频地址,e.g. https://xxx.mp3"},null,8,["value"]),V("div",CEe,[O(et,{onClick:c[5]||(c[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:c[6]||(c[6]=f=>l())},{default:ie(()=>[Ue("确认")]),_:1})])],64)):Ze("",!0)]))}}),NEe=Be(IEe,[["__scopeId","data-v-999b18ca"]]);var XR=82;function Np(e){return b_[e]==null&&FEe(e),b_[e]}function FEe(e){var t=EEe[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-XR,i=1*n.charCodeAt(1)-XR,o=t.substring(5),a=[[]],s=1/0,l=-1/0,u=1/0,c=-1/0,f=0;ff>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q":2242,"~":2246,"@":2273,"\\":804}[e]}var ka={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function XEe(e){e=e.replace(/\n/g," ");let t=0,n=[],r="";for(;t0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;c=e[f].bbox.y,e[u].text=="'"?e[u].bbox.y=c:(Lo(e[u],ka.SUB_SUP_SCALE,null,0,0),Ln[e[f].text]&&Ln[e[f].text].flags.big?e[u].bbox.y=c-e[u].bbox.h:e[f].text=="\\int"?e[u].bbox.y=c:e[u].bbox.y=c-e[u].bbox.h/2)}else if(e[u].text=="_"){let c=1,f=u;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;c=e[f].bbox.y+e[f].bbox.h,Lo(e[u],ka.SUB_SUP_SCALE,null,0,0),Ln[e[f].text]&&Ln[e[f].text].flags.big?e[u].bbox.y=c:e[f].text=="\\int"?e[u].bbox.y=c-e[u].bbox.h:e[u].bbox.y=c-e[u].bbox.h/2}function n(u,c,f,d,h){let p=u,v=h,g=1/0,m=-1/0;for(;d>0?p=0;){if(e[p].text==c)v++;else if(e[p].text==f){if(v--,v==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(g=Math.min(g,e[p].bbox.y),m=Math.max(m,e[p].bbox.y+e[p].bbox.h));p+=d}return[g,m]}for(let u=0;uu.text=="&"||u.text=="\\\\"))return;let r=[],i=[],o=[];for(let u=0;u0&&(e.chld[y].text=="^"||e.chld[y].text=="_"||e.chld[y].text=="'");)y--;let R=Ln[e.chld[y].text]&&Ln[e.chld[y].text].flags.big;if(g.text=="'"){let A=y+1,x=0;for(;A1;DEe(e.chld,f);let p=Wee(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let v=0;vr.bbox.w)c=c/Math.max(a.w,1)*r.bbox.w,c+=r.bbox.x;else{c=c/16*i;let d=(r.bbox.w-a.w/16*i)/2;c+=r.bbox.x+d}if(Ln[r.text].flags.yfl)f=(f-a.ymin)/Math.max(a.ymax-a.ymin,1)*r.bbox.h,f+=r.bbox.y;else{if(f=f/16*i,o){let d=(a.ymax+a.ymin)/2;f-=d/16*i}f+=r.bbox.y+r.bbox.h/2}l.push([c,f])}t.push(l)}}else if(Ln[r.text]&&Ln[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(Ln[r.text]&&Ln[r.text].flags.txt);for(let l=Number(s);l16?h*=16/u.w:h+=(16-u.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=i:a+=u.w/16*i}}}return t}function Nl(e){return Math.round(e*100)/100}var VP=class{constructor(e){this._latex=e,this._tokens=XEe(e),this._tree=x_(this._tokens),Xee(this._tree.chld),El(this._tree),UEe(this._tree),this._polylines=BEe(this._tree)}resolveScale(e){var t,n,r,i;if(e==null)return[16,16,16,16];let o=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let u=0;for(let f=0;f"].join(r)}function A_(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function PU(e,t,n,r){return yi("svg","root",{width:e,height:t,xmlns:qq,"xmlns:xlink":eee,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var JIe=0;function nee(){return JIe++}var CU={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},ih="transform-origin";function $Ie(e,t,n){var r=pt({},e.shape);pt(r,t),e.buildPath(n,r);var i=new jq;return i.reset(XJ(e)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function jIe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[ih]=n+"px "+r+"px")}var qIe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function ree(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function eNe(e,t,n){var r=e.shape.paths,i={},o,a;if(Pe(r,function(l){var u=A_(n.zrId);u.animation=!0,e4(l,{},u,!0);var c=u.cssAnims,f=u.cssNodes,d=Dn(c),h=d.length;if(h){a=d[h-1];var p=c[a];for(var v in p){var g=p[v];i[v]=i[v]||{d:""},i[v].d+=g.d||""}for(var m in f){var y=f[m].animation;y.indexOf(a)>=0&&(o=y)}}}),!!o){t.d=!1;var s=ree(i,n);return o.replace(a,s)}}function IU(e){return Qt(e)?CU[e]?"cubic-bezier("+CU[e]+")":Vk(e)?e:"":""}function e4(e,t,n,r){var i=e.animators,o=i.length,a=[];if(e instanceof L$){var s=eNe(e,t,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0}).length){var de=ree(L,n);return de+" "+y[0]+" both"}}for(var g in l){var s=v(l[g]);s&&a.push(s)}if(a.length){var m=n.zrId+"-cls-"+nee();n.cssNodes["."+m]={animation:a.join(",")},t.class=m}}function tNe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};NU(r,t,n)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},o=i.fill;if(!o){var a=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,l=e.currentStates.indexOf("select")>=0&&s||a;l&&(o=L6(l))}var u=i.lineWidth;if(u){var c=!i.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};o&&(r.fill=o),i.stroke&&(r.stroke=i.stroke),u&&(r["stroke-width"]=u),NU(r,t,n)}}function NU(e,t,n,r){var i=JSON.stringify(e),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+nee(),n.cssStyleCache[i]=o,n.cssNodes["."+o+":hover"]=e),t.class=t.class?t.class+" "+o:o}var M2=Math.round;function iee(e){return e&&Qt(e.src)}function oee(e){return e&&An(e.toDataURL)}function NP(e,t,n,r){ZIe(function(i,o){var a=i==="fill"||i==="stroke";a&&EJ(o)?see(t,e,i,r):a&&Dk(o)?lee(n,e,i,r):a&&o==="none"?e[i]="transparent":e[i]=o},t,n,!1),lNe(n,e,r)}function FP(e,t){var n=CLe(t);n&&(n.each(function(r,i){r!=null&&(e[(kU+i).toLowerCase()]=r+"")}),t.isSilent()&&(e[kU+"silent"]="true"))}function FU(e){return wf(e[0]-1)&&wf(e[1])&&wf(e[2])&&wf(e[3]-1)}function nNe(e){return wf(e[4])&&wf(e[5])}function EP(e,t,n){if(t&&!(nNe(t)&&FU(t))){var r=1e4;e.transform=FU(t)?"translate("+M2(t[4]*r)/r+" "+M2(t[5]*r)/r+")":tLe(t)}}function EU(e,t,n){for(var r=e.points,i=[],o=0;o"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";gu(d,g),gu(h,g)}else if(d==null||h==null){var m=function(_,k){if(_){var P=_.elm,N=d||k.width,C=h||k.height;_.tag==="pattern"&&(u?(C=1,N/=o.width):c&&(N=1,C/=o.height)),_.attrs.width=N,_.attrs.height=C,P&&(P.setAttribute("width",N),P.setAttribute("height",C))}},y=Hk(p,null,e,function(_){l||m(S,_),m(f,_)});y&&y.width&&y.height&&(d=d||y.width,h=h||y.height)}f=yi("image","img",{href:p,width:d,height:h}),a.width=d,a.height=h}else i.svgElement&&(f=Vn(i.svgElement),a.width=i.svgWidth,a.height=i.svgHeight);if(f){var R,A;l?R=A=1:u?(A=1,R=a.width/o.width):c?(R=1,A=a.height/o.height):a.patternUnits="userSpaceOnUse",R!=null&&!isNaN(R)&&(a.width=R),A!=null&&!isNaN(A)&&(a.height=A);var x=WJ(i);x&&(a.patternTransform=x);var S=yi("pattern","",a,[f]),L=IP(S),w=r.patternCache,M=w[L];M||(M=r.zrId+"-p"+r.patternIdx++,w[L]=M,a.id=M,S=r.defs[M]=yi("pattern",M,a,[f])),t[n]=L3(M)}}function uNe(e,t,n){var r=n.clipPathCache,i=n.defs,o=r[e.id];if(!o){o=n.zrId+"-c"+n.clipPathIdx++;var a={id:o};r[e.id]=o,i[o]=yi("clipPath",o,a,[aee(e,n)])}t["clip-path"]=L3(o)}function VU(e){return document.createTextNode(e)}function ch(e,t,n){e.insertBefore(t,n)}function DU(e,t){e.removeChild(t)}function UU(e,t){e.appendChild(t)}function uee(e){return e.parentNode}function cee(e){return e.nextSibling}function e8(e,t){e.textContent=t}var BU=58,cNe=120,fNe=yi("","");function R_(e){return e===void 0}function Yl(e){return e!==void 0}function dNe(e,t,n){for(var r={},i=t;i<=n;++i){var o=e[i].key;o!==void 0&&(r[o]=i)}return r}function Ig(e,t){var n=e.key===t.key,r=e.tag===t.tag;return r&&n}function L2(e){var t,n=e.children,r=e.tag;if(Yl(r)){var i=e.elm=tee(r);if(XP(fNe,e),It(n))for(t=0;to?(p=n[l+1]==null?null:n[l+1].elm,fee(e,p,n,i,l)):mS(e,t,r,o))}function Sp(e,t){var n=t.elm=e.elm,r=e.children,i=t.children;e!==t&&(XP(e,t),R_(t.text)?Yl(r)&&Yl(i)?r!==i&&hNe(n,r,i):Yl(i)?(Yl(e.text)&&e8(n,""),fee(n,null,i,0,i.length-1)):Yl(r)?mS(n,r,0,r.length-1):Yl(e.text)&&e8(n,""):e.text!==t.text&&(Yl(r)&&mS(n,r,0,r.length-1),e8(n,t.text)))}function pNe(e,t){if(Ig(e,t))Sp(e,t);else{var n=e.elm,r=uee(n);L2(t),r!==null&&(ch(r,t.elm,cee(n)),mS(r,[e],0,0))}return t}var vNe=0,gNe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=YU(),this.configLayer=YU(),this.storage=n,this._opts=r=pt({},r),this.root=t,this._id="zr"+vNe++,this._oldVNode=PU(r.width,r.height),t&&!r.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var o=this._svgDom=this._oldVNode.elm=tee("svg");XP(null,this._oldVNode),i.appendChild(o),t.appendChild(i)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",pNe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return WU(t,A_(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,i=this._height,o=A_(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis;var a=[],s=this._bgVNode=mNe(r,i,this._backgroundColor,o);s&&a.push(s);var l=t.compress?null:this._mainVNode=yi("g","main",{},[]);this._paintList(n,o,l?l.children:a),l&&a.push(l);var u=_t(Dn(o.defs),function(d){return o.defs[d]});if(u.length&&a.push(yi("defs","defs",{},u)),t.animation){var c=zIe(o.cssNodes,o.cssAnims,{newline:!0});if(c){var f=yi("style","stl",{},[],c);a.push(f)}}return PU(r,i,a,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},IP(this.renderToVNode({animation:sn(t.cssAnimation,!0),emphasis:sn(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:sn(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var i=t.length,o=[],a=0,s,l,u=0,c=0;c=0&&!(d&&l&&d[v]===l[v]);v--);for(var g=p-1;g>v;g--)a--,s=o[a-1];for(var m=v+1;m{let a=[];if(t.themeColors.length>=10)a=t.themeColors;else if(t.themeColors.length===1)a=at(t.themeColors[0]).analogous(10).map(s=>s.toRgbString());else{const s=t.themeColors.length,l=at(t.themeColors[s-1]).analogous(11-s).map(u=>u.toRgbString());a=[...t.themeColors.slice(0,s-1),...l]}return a}),o=()=>{var s,l;const a=QMe({type:t.type,data:t.data,themeColors:i.value,textColor:t.textColor,lineSmooth:((s=t.options)==null?void 0:s.lineSmooth)||!1,stack:((l=t.options)==null?void 0:l.stack)||!1});a&&n.setOption(a,!0)};return Ht(()=>{n=dke(r.value,null,{renderer:"svg"}),o();const a=()=>n.resize();new ResizeObserver(a).observe(r.value)}),Ot(()=>t.type,o),Ot(()=>t.data,o),Ot(()=>t.themeColors,o),Ot(()=>t.textColor,o),(a,s)=>(U(),te("div",{class:"chart",ref_key:"chartRef",ref:r},null,512))}}),dee=Be(ANe,[["__scopeId","data-v-1e5b5ad9"]]),RNe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=i=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo))},r=()=>{Hi.emit(Ti.OPEN_CHART_DATA_EDITOR)};return(i,o)=>{const a=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-chart",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",style:Le({backgroundColor:i.elementInfo.fill}),onMousedown:o[0]||(o[0]=s=>n(s)),onTouchstart:o[1]||(o[1]=s=>n(s)),onDblclick:o[2]||(o[2]=s=>r())},[O(A3,{width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"]),O(dee,{width:i.elementInfo.width,height:i.elementInfo.height,type:i.elementInfo.chartType,data:i.elementInfo.data,themeColors:i.elementInfo.themeColors,textColor:i.elementInfo.textColor,options:i.elementInfo.options},null,8,["width","height","type","data","themeColors","textColor","options"])],36)),[[a,i.contextmenus]])],4)],6)}}}),hee=Be(RNe,[["__scopeId","data-v-3b1105a2"]]),pee=e=>{if(!e)return{};const{bold:t,em:n,underline:r,strikethrough:i,color:o,backcolor:a,fontsize:s,fontname:l,align:u}=e;let c=`${r?"underline":""} ${i?"line-through":""}`;return c===" "&&(c="none"),{fontWeight:t?"bold":"normal",fontStyle:n?"italic":"normal",textDecoration:c,color:o||"#000",backgroundColor:a||"",fontSize:s||"14px",fontFamily:l||"",textAlign:u||"left"}},vee=e=>e.replace(/\n/g,"
    ").replace(/ /g," "),gee=e=>({hideCells:we(()=>{const n=[];for(let r=0;r1||a.rowspan>1)for(let s=r;s{const t=pe(["",""]);return Ot(()=>e.value,()=>{e.value&&(t.value=XH(e.value.color))},{immediate:!0}),{subThemeColor:t}},bNe=["innerHTML"],xNe=Xe({__name:"CustomTextarea",props:{value:{default:""}},emits:["updateValue","insertExcelData"],setup(e,{emit:t}){const n=e,r=t,i=pe(),o=pe(""),a=pe(!1);Ot(()=>n.value,()=>{a.value||(o.value=n.value,i.value&&(i.value.innerHTML=n.value))},{immediate:!0});const s=()=>{if(!i.value)return;const c=i.value.innerHTML;r("updateValue",c)},l=()=>{a.value=!0,i.value&&(i.value.onpaste=c=>{if(c.preventDefault(),!c.clipboardData)return;const f=c.clipboardData.items[0];f&&f.kind==="string"&&f.type==="text/plain"&&f.getAsString(d=>{if(typeof BO(d)=="object")return;const p=EH(d);if(p){r("insertExcelData",p),i.value&&(i.value.innerHTML=p[0][0]);return}document.execCommand("insertText",!1,d)})})},u=()=>{a.value=!1,i.value&&(i.value.onpaste=null)};return o0(()=>{i.value&&(i.value.onpaste=null)}),(c,f)=>(U(),te("div",{class:"custom-textarea",ref_key:"textareaRef",ref:i,contenteditable:!0,onFocus:f[0]||(f[0]=d=>l()),onBlur:f[1]||(f[1]=d=>u()),onInput:f[2]||(f[2]=d=>s()),innerHTML:o.value},null,40,bNe))}}),SNe=Be(xNe,[["__scopeId","data-v-cfadb975"]]),wNe={key:0,class:"handler"},MNe=["onMousedown"],LNe=["width"],TNe=["rowspan","colspan","data-cell-index","onMousedown","onMouseenter"],_Ne=["innerHTML"],ONe=Xe({__name:"EditableTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},emits:["change","changeColWidths","changeSelectedCells"],setup(e,{emit:t}){const n=e,r=t,{canvasScale:i}=De(ht()),o=pe(!1),a=pe([]),s=pe([]),l=we({get(){return n.data},set(ce){r("change",ce)}}),u=we(()=>n.theme),{subThemeColor:c}=mee(u),f=pe([]),d=we(()=>f.value.reduce((ce,fe)=>ce+fe));Ot([()=>n.colWidths,()=>n.width],()=>{f.value=n.colWidths.map(ce=>ce*n.width)},{immediate:!0});const h=()=>{a.value=[],s.value=[]};Ot(()=>n.editable,()=>{n.editable||h()});const p=we(()=>{const ce=[];for(let fe=1;fej+X);ce.push(le)}return ce}),v=we(()=>n.data),{hideCells:g}=gee(v),m=we(()=>{if(!a.value.length)return[];const[ce,fe]=a.value;if(!s.value.length)return[`${ce}_${fe}`];const[le,j]=s.value;if(ce===le&&fe===j)return[`${ce}_${fe}`];const X=[],J=Math.min(ce,le),se=Math.min(fe,j),ee=Math.max(ce,le),ne=Math.max(fe,j);for(let oe=0;oe=J&&oe<=ee&&ue>=se&&ue<=ne&&X.push(`${oe}_${ue}`)}return X});Ot(m,(ce,fe)=>{Yn.isEqual(ce,fe)||r("changeSelectedCells",m.value)});const y=we(()=>m.value.length>1?null:m.value[0]),R=()=>o.value=!1,A=(ce,fe,le)=>{ce.button===0&&(s.value=[],o.value=!0,a.value=[fe,le])},x=(ce,fe)=>{o.value&&(s.value=[ce,fe])};Ht(()=>{document.addEventListener("mouseup",R)}),Nn(()=>{document.removeEventListener("mouseup",R)});const S=(ce,fe)=>g.value.includes(`${ce}_${fe}`),L=ce=>{const fe=l.value.length-1;a.value=[0,ce],s.value=[fe,ce]},w=ce=>{const fe=l.value[ce].length-1;a.value=[ce,0],s.value=[ce,fe]},M=()=>{const ce=l.value.length-1,fe=l.value[ce].length-1;a.value=[0,0],s.value=[ce,fe]},_=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=l.value[ce],j=[];for(let X=0;X=0;J--)if(!S(J,X)){fe[J][X].rowspan=fe[J][X].rowspan-1;break}fe.splice(ce,1),l.value=fe},k=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=[];for(let j=0;j=0;X--)if(!S(j,X)){fe[j][X].colspan=fe[j][X].colspan-1;break}l.value=fe.map(j=>(j.splice(ce,1),j)),f.value.splice(ce,1),r("changeColWidths",f.value)},P=ce=>{const fe=JSON.parse(JSON.stringify(l.value)),le=[];for(let j=0;j{l.value=l.value.map(fe=>{const le={colspan:1,rowspan:1,text:"",id:on(10)};return fe.splice(ce,0,le),fe}),f.value.splice(ce,0,100),r("changeColWidths",f.value)},C=(ce,fe)=>{let le=JSON.parse(JSON.stringify(l.value));const j={colspan:1,rowspan:1,text:""};if(ce){const X=[];for(let J=0;J{const J=[];for(let se=0;se{const[ce,fe]=a.value,[le,j]=s.value,X=Math.min(ce,le),J=Math.min(fe,j),se=Math.max(ce,le),ee=Math.max(fe,j),ne=JSON.parse(JSON.stringify(l.value));ne[X][J].rowspan=se-X+1,ne[X][J].colspan=ee-J+1,l.value=ne,h()},I=(ce,fe)=>{const le=JSON.parse(JSON.stringify(l.value));le[ce][fe].rowspan=1,le[ce][fe].colspan=1,l.value=le,h()},W=(ce,fe)=>{h();let le=!0;const j=f.value[fe],X=ce.pageX,J=50;document.onmousemove=se=>{if(!le)return;const ee=(se.pageX-X)/i.value,ne=j+ee{le=!1,document.onmousemove=null,document.onmouseup=null,r("changeColWidths",f.value)}},D=()=>{const ce=JSON.parse(JSON.stringify(l.value));for(let fe=0;fe{Ir(()=>{const ce=document.querySelector(".cell-text.active");ce&&ce.focus()})},re=()=>{const ce=(X,J)=>l.value[X]?l.value[X][J]?S(X,J)?ce(X,J+1):[X,J]:ce(X+1,0):null;s.value=[];const fe=a.value[0],le=a.value[1]+1,j=ce(fe,le);j?a.value=j:(P(fe+1),a.value=[fe+1,0]),Z()},B=ce=>{const fe=+m.value[0].split("_")[0],le=+m.value[0].split("_")[1],j=l.value.length,X=l.value[0].length,J=se=>{if(se[0]<0||se[1]<0||se[0]>j-1||se[1]>X-1)return[0,0];const ee=`${se[0]}_${se[1]}`;return g.value.includes(ee)?ce==="UP"?J([se[0],se[1]-1]):ce==="DOWN"?J([se[0],se[1]-1]):ce==="LEFT"?J([se[0]-1,se[1]]):ce==="RIGHT"?J([se[0]-1,se[1]]):[0,0]:se};if(ce==="UP"){const se=fe-1;if(se<0)return;s.value=[],a.value=J([se,le])}else if(ce==="DOWN"){const se=fe+1;if(se>j-1)return;s.value=[],a.value=J([se,le])}else if(ce==="LEFT"){const se=le-1;if(se<0)return;s.value=[],a.value=J([fe,se])}else if(ce==="RIGHT"){const se=le+1;if(se>X-1)return;s.value=[],a.value=J([fe,se])}Z()},Y=ce=>{var le;const fe=window.getSelection();if(fe&&fe.rangeCount>0){const j=fe.getRangeAt(0),X=j.cloneRange();X.selectNodeContents(ce),X.setEnd(j.startContainer,j.startOffset);const J=X.toString().length;X.setEnd(j.endContainer,j.endOffset);const se=X.toString().length,ee=((le=ce.textContent)==null?void 0:le.length)||0;return{start:J,end:se,len:ee}}return null},Q=ce=>{if(!n.editable||!m.value.length)return;const fe=ce.key.toUpperCase();if(m.value.length<2){if(fe===At.TAB)ce.preventDefault(),re();else if(ce.ctrlKey&&fe===At.UP){ce.preventDefault();const le=+m.value[0].split("_")[0];P(le)}else if(ce.ctrlKey&&fe===At.DOWN){ce.preventDefault();const le=+m.value[0].split("_")[0];P(le+1)}else if(ce.ctrlKey&&fe===At.LEFT){ce.preventDefault();const le=+m.value[0].split("_")[1];N(le)}else if(ce.ctrlKey&&fe===At.RIGHT){ce.preventDefault();const le=+m.value[0].split("_")[1];N(le+1)}else if(fe===At.UP){const le=Y(ce.target);le&&le.start===le.end&&le.start===0&&B("UP")}else if(fe===At.DOWN){const le=Y(ce.target);le&&le.start===le.end&&le.start===le.len&&B("DOWN")}else if(fe===At.LEFT){const le=Y(ce.target);le&&le.start===le.end&&le.start===0&&B("LEFT")}else if(fe===At.RIGHT){const le=Y(ce.target);le&&le.start===le.end&&le.start===le.len&&B("RIGHT")}}else fe===At.DELETE&&D()};Ht(()=>{document.addEventListener("keydown",Q)}),Nn(()=>{document.removeEventListener("keydown",Q)});const K=Yn.debounce(function(ce,fe,le){l.value[fe][le].text=ce,r("change",l.value)},300,{trailing:!0}),q=(ce,fe,le)=>{const j=ce.length,X=ce[0].length;let J=0,se=0;fe+j>l.value.length&&(J=fe+j-l.value.length),le+X>l.value[0].length&&(se=le+X-l.value[0].length),(J||se)&&C(J,se),Ir(()=>{for(let ee=0;ee{const ce=[];for(let fe=0;fe{const ce=$(),fe=ce.length>1,le=ce[0].length>1;return{canDeleteRow:fe,canDeleteCol:le}},G=(ce,fe)=>{const le=m.value.length>1,j=l.value[ce][fe],X=le,J=!le&&(j.rowspan>1||j.colspan>1);return{canMerge:X,canSplit:J}},Ae=ce=>{const fe=ce.dataset.cellIndex,le=+fe.split("_")[0],j=+fe.split("_")[1];m.value.includes(`${le}_${j}`)||(a.value=[le,j],s.value=[]);const{canMerge:X,canSplit:J}=G(le,j),{canDeleteRow:se,canDeleteCol:ee}=de();return[{text:"插入列",children:[{text:"到左侧",handler:()=>N(j)},{text:"到右侧",handler:()=>N(j+1)}]},{text:"插入行",children:[{text:"到上方",handler:()=>P(le)},{text:"到下方",handler:()=>P(le+1)}]},{text:"删除列",disable:!ee,handler:()=>k(j)},{text:"删除行",disable:!se,handler:()=>_(le)},{divider:!0},{text:"合并单元格",disable:!X,handler:F},{text:"取消合并单元格",disable:!J,handler:()=>I(le,j)},{divider:!0},{text:"选中当前列",handler:()=>L(j)},{text:"选中当前行",handler:()=>w(le)},{text:"选中全部单元格",handler:M}]};return(ce,fe)=>{var j,X,J,se,ee;const le=Fn("contextmenu");return U(),te("div",{class:"editable-table",style:Le({width:d.value+"px"})},[ce.editable?(U(),te("div",wNe,[(U(!0),te(We,null,tt(p.value,(ne,oe)=>(U(),te("div",{class:"drag-line",key:oe,style:Le({left:ne+"px"}),onMousedown:he=>W(he,oe)},null,44,MNe))),128))])):Ze("",!0),V("table",{class:$e({theme:u.value,"row-header":(j=u.value)==null?void 0:j.rowHeader,"row-footer":(X=u.value)==null?void 0:X.rowFooter,"col-header":(J=u.value)==null?void 0:J.colHeader,"col-footer":(se=u.value)==null?void 0:se.colFooter}),style:Le(`--themeColor: ${(ee=u.value)==null?void 0:ee.color}; --subThemeColor1: ${z(c)[0]}; --subThemeColor2: ${z(c)[1]}`)},[V("colgroup",null,[(U(!0),te(We,null,tt(f.value,(ne,oe)=>(U(),te("col",{span:"1",key:oe,width:ne},null,8,LNe))),128))]),V("tbody",null,[(U(!0),te(We,null,tt(l.value,(ne,oe)=>(U(),te("tr",{key:oe,style:Le({height:ce.cellMinHeight+"px"})},[(U(!0),te(We,null,tt(ne,(he,ue)=>ze((U(),te("td",{class:$e(["cell",{selected:m.value.includes(`${oe}_${ue}`)&&m.value.length>1,active:y.value===`${oe}_${ue}`}]),style:Le({borderStyle:ce.outline.style,borderColor:ce.outline.color,borderWidth:ce.outline.width+"px",...z(pee)(he.style)}),key:he.id,rowspan:he.rowspan,colspan:he.colspan,"data-cell-index":`${oe}_${ue}`,onMousedown:ge=>A(ge,oe,ue),onMouseenter:ge=>x(oe,ue)},[y.value===`${oe}_${ue}`?(U(),_e(SNe,{key:0,class:$e(["cell-text",{active:y.value===`${oe}_${ue}`}]),style:Le({minHeight:ce.cellMinHeight-4+"px"}),value:he.text,onUpdateValue:ge=>z(K)(ge,oe,ue),onInsertExcelData:ge=>q(ge,oe,ue)},null,8,["class","style","value","onUpdateValue","onInsertExcelData"])):(U(),te("div",{key:1,class:"cell-text",style:Le({minHeight:ce.cellMinHeight-4+"px"}),innerHTML:z(vee)(he.text)},null,12,_Ne))],46,TNe)),[[uc,!z(g).includes(`${oe}_${ue}`)],[le,ge=>Ae(ge)]])),128))],4))),128))])],6)],4)}}}),kNe=Be(ONe,[["__scopeId","data-v-938823e2"]]),PNe={class:"element-content"},CNe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{canvasScale:i,handleElementId:o,isScaling:a}=De(n),s=pe(),{addHistorySnapshot:l}=nn(),u=y=>{t.elementInfo.lock||(y.stopPropagation(),t.selectElement(y,t.elementInfo))},c=pe(!1);Ot(o,()=>{o.value!==t.elementInfo.id&&(c.value=!1)}),Ot(c,()=>{n.setDisableHotkeysState(c.value)});const f=()=>{t.elementInfo.lock||(c.value=!0)},d=pe(-1);Ot(a,()=>{o.value===t.elementInfo.id&&(a.value&&(c.value=!1),!a.value&&d.value!==-1&&(r.updateElement({id:t.elementInfo.id,props:{height:d.value}}),d.value=-1))});const h=y=>{const R=y[0].contentRect;if(!s.value)return;const A=R.height;t.elementInfo.height!==A&&(a.value?d.value=A:r.updateElement({id:t.elementInfo.id,props:{height:A}}))},p=new ResizeObserver(h);Ht(()=>{s.value&&p.observe(s.value)}),Nn(()=>{s.value&&p.unobserve(s.value)});const v=y=>{r.updateElement({id:t.elementInfo.id,props:{data:y}}),l()},g=y=>{const R=y.reduce((x,S)=>x+S),A=y.map(x=>x/R);r.updateElement({id:t.elementInfo.id,props:{width:R,colWidths:A}}),l()},m=y=>{Ir(()=>n.setSelectedTableCells(y))};return(y,R)=>{const A=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-table",{lock:y.elementInfo.lock}]),ref_key:"elementRef",ref:s,style:Le({top:y.elementInfo.top+"px",left:y.elementInfo.left+"px",width:y.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${y.elementInfo.rotate}deg)`})},[ze((U(),te("div",PNe,[O(kNe,{onMousedown:R[0]||(R[0]=Ft(()=>{},["stop"])),data:y.elementInfo.data,width:y.elementInfo.width,cellMinHeight:y.elementInfo.cellMinHeight,colWidths:y.elementInfo.colWidths,outline:y.elementInfo.outline,theme:y.elementInfo.theme,editable:c.value,onChange:R[1]||(R[1]=x=>v(x)),onChangeColWidths:R[2]||(R[2]=x=>g(x)),onChangeSelectedCells:R[3]||(R[3]=x=>m(x))},null,8,["data","width","cellMinHeight","colWidths","outline","theme","editable"]),!c.value||y.elementInfo.lock?(U(),te("div",{key:0,class:$e(["table-mask",{lock:y.elementInfo.lock}]),onDblclick:R[4]||(R[4]=x=>f()),onMousedown:R[5]||(R[5]=x=>u(x)),onTouchstart:R[6]||(R[6]=x=>u(x))},[z(o)===y.elementInfo.id?(U(),te("div",{key:0,class:"mask-tip",style:Le({transform:`scale(${1/z(i)})`})},"双击编辑",4)):Ze("",!0)],34)):Ze("",!0)])),[[A,y.contextmenus]])],4)],6)}}}),yee=Be(CNe,[["__scopeId","data-v-7795910a"]]),INe=["width","height","stroke","stroke-width"],NNe=["transform"],FNe=["d"],ENe=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,n=i=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo))},r=()=>{Hi.emit(Ti.OPEN_LATEX_EDITOR)};return(i,o)=>{const a=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-latex",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",onMousedown:o[0]||(o[0]=s=>n(s)),onTouchstart:o[1]||(o[1]=s=>n(s)),onDblclick:o[2]||(o[2]=s=>r())},[(U(),te("svg",{overflow:"visible",width:i.elementInfo.width,height:i.elementInfo.height,stroke:i.elementInfo.color,"stroke-width":i.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${i.elementInfo.width/i.elementInfo.viewBox[0]}, ${i.elementInfo.height/i.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:i.elementInfo.path},null,8,FNe)],8,NNe)],8,INe))],32)),[[a,i.contextmenus]])],4)],6)}}}),Aee=Be(ENe,[["__scopeId","data-v-b73586f6"]]),XNe=(e,t)=>{Ht(()=>{if(!t.value)return;let n="normal";if(/m3u8(#|\?|$)/i.exec(e)?n="hls":/.flv(#|\?|$)/i.exec(e)&&(n="flv"),t.value&&n==="hls"&&(t.value.canPlayType("application/x-mpegURL")||t.value.canPlayType("application/vnd.apple.mpegURL"))&&(n="normal"),n==="hls"){const r=window.Hls;if(r&&r.isSupported()){const i=new r;i.loadSource(e),i.attachMedia(t.value)}}else if(n==="flv"){const r=window.flvjs;if(r&&r.isSupported()){const i=r.createPlayer({type:"flv",url:e});i.attachMediaElement(t.value),i.load()}}})},WP=e=>(en("data-v-597c0901"),e=e(),tn(),e),WNe={key:0,class:"load-error"},VNe=["src","autoplay","poster"],DNe={class:"bezel"},UNe=WP(()=>V("div",{class:"controller-mask"},null,-1)),BNe={class:"controller"},YNe={class:"icons icons-left"},ZNe={class:"icon-content"},QNe={class:"volume"},HNe={class:"icon-content"},KNe=WP(()=>V("span",{class:"thumb"},null,-1)),GNe=[KNe],zNe={class:"time"},JNe={class:"ptime"},$Ne={class:"dtime"},jNe={class:"icons icons-right"},qNe={class:"speed"},e7e={class:"icon speed-icon"},t7e=["onClick"],n7e={class:"icon-content"},r7e={class:"bar"},i7e=WP(()=>V("span",{class:"thumb"},null,-1)),o7e=[i7e],a7e=Xe({__name:"index",props:{width:{},height:{},src:{},poster:{default:""},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e){const t=e,n=(X=0)=>{if(X===0||isNaN(X))return"00:00";const J=oe=>oe<10?"0"+oe:""+oe,se=Math.floor(X/3600),ee=Math.floor((X-se*3600)/60),ne=Math.floor(X-se*3600-ee*60);return(se>0?[se,ee,ne]:[ee,ne]).map(J).join(":")},r=X=>X.getBoundingClientRect().left,i=pe(),o=pe(),a=pe(),s=pe(.5),l=pe(!0),u=pe(0),c=pe(0),f=pe(0),d=pe(!1),h=pe(!1),p=pe(1),v=pe(!1),g=pe("00:00"),m=pe("0"),y=we(()=>n(u.value)),R=we(()=>n(c.value)),A=we(()=>u.value/c.value*100+"%"),x=we(()=>f.value/c.value*100+"%"),S=we(()=>s.value*100+"%"),L=pe(!1),w=[{label:"2x",value:2},{label:"1.5x",value:1.5},{label:"1.25x",value:1.25},{label:"1x",value:1},{label:"0.75x",value:.75},{label:"0.5x",value:.5}],M=X=>{i.value&&(X=Math.max(X,0),X=Math.min(X,c.value),i.value.currentTime=X,u.value=X)},_=()=>{i.value&&(l.value=!1,i.value.play(),h.value=!0)},k=()=>{i.value&&(l.value=!0,i.value.pause(),h.value=!0)},P=()=>{l.value?_():k()},N=X=>{i.value&&(X=Math.max(X,0),X=Math.min(X,1),i.value.volume=X,s.value=X,i.value.muted&&X!==0&&(i.value.muted=!1))},C=X=>{i.value&&(i.value.playbackRate=X),p.value=X},F=()=>{var X;c.value=((X=i.value)==null?void 0:X.duration)||0},I=()=>{var X;u.value=((X=i.value)==null?void 0:X.currentTime)||0},W=()=>{d.value?(M(0),_()):k()},D=()=>{var X;f.value=(X=i.value)!=null&&X.buffered.length?i.value.buffered.end(i.value.buffered.length-1):0},Z=pe(!1),re=()=>Z.value=!0,B=X=>{if(!i.value||!o.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(o.value))/o.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const ee=se*c.value;i.value.currentTime=ee,u.value=ee},Y=X=>{if(!i.value||!o.value)return;let se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(o.value))/o.value.clientWidth;se=Math.max(se,0),se=Math.min(se,1);const ee=se*c.value;i.value.currentTime=ee,u.value=ee,document.removeEventListener("mousemove",B),document.removeEventListener("touchmove",B),document.removeEventListener("mouseup",Y),document.removeEventListener("touchend",Y)},Q=()=>{document.addEventListener("mousemove",B),document.addEventListener("touchmove",B),document.addEventListener("mouseup",Y),document.addEventListener("touchend",Y)},K=X=>{if(!a.value)return;const se=(("clientX"in X?X.clientX:X.changedTouches[0].clientX)-r(a.value))/45;N(se)},q=()=>{document.removeEventListener("mousemove",K),document.removeEventListener("touchmove",K),document.removeEventListener("mouseup",q),document.removeEventListener("touchend",q)},$=()=>{document.addEventListener("mousemove",K),document.addEventListener("touchmove",K),document.addEventListener("mouseup",q),document.addEventListener("touchend",q)},de=X=>{if(!a.value)return;const J=(X.clientX-r(a.value))/45;N(J)},G=X=>{if(c.value&&o.value){const J=o.value.getBoundingClientRect().left,se=X.clientX-J;if(se<0||se>o.value.offsetWidth)return;const ee=c.value*(se/o.value.offsetWidth);m.value=`${se-(ee>=3600?25:20)}px`,g.value=n(ee),v.value=!0}},Ae=()=>{i.value&&(i.value.muted?(i.value.muted=!1,N(.5)):(i.value.muted=!0,N(0)))},ce=()=>{d.value=!d.value},fe=pe(-1),le=pe(!1),j=()=>{le.value=!1,clearTimeout(fe.value),fe.value=setTimeout(()=>{var X;(X=i.value)!=null&&X.played.length&&(le.value=!0)},3e3)};return XNe(t.src,i),(X,J)=>{const se=Se("IconPause"),ee=Se("IconPlayOne"),ne=Se("IconVolumeMute"),oe=Se("IconVolumeNotice"),he=Se("IconVolumeSmall");return U(),te("div",{class:$e(["video-player",{"hide-controller":le.value}]),style:Le({width:X.width*X.scale+"px",height:X.height*X.scale+"px",transform:`scale(${1/X.scale})`}),onMousemove:J[22]||(J[22]=ue=>j()),onClick:J[23]||(J[23]=ue=>j())},[V("div",{class:"video-wrap",onClick:J[8]||(J[8]=ue=>P())},[Z.value?(U(),te("div",WNe,"视频加载失败")):Ze("",!0),V("video",{class:"video",ref_key:"videoRef",ref:i,src:X.src,autoplay:X.autoplay,poster:X.poster,"webkit-playsinline":"",playsinline:"",onDurationchange:J[0]||(J[0]=ue=>F()),onTimeupdate:J[1]||(J[1]=ue=>I()),onEnded:J[2]||(J[2]=ue=>W()),onProgress:J[3]||(J[3]=ue=>D()),onPlay:J[4]||(J[4]=ue=>{j(),l.value=!1}),onPause:J[5]||(J[5]=ue=>j()),onError:J[6]||(J[6]=ue=>re())},null,40,VNe),V("div",DNe,[V("span",{class:$e(["bezel-icon",{"bezel-transition":h.value}]),onAnimationend:J[7]||(J[7]=ue=>h.value=!1)},[l.value?(U(),_e(se,{key:0})):(U(),_e(ee,{key:1}))],34)])]),UNe,V("div",BNe,[V("div",YNe,[V("div",{class:"icon play-icon",onClick:J[9]||(J[9]=ue=>P())},[V("span",ZNe,[l.value?(U(),_e(ee,{key:0})):(U(),_e(se,{key:1}))])]),V("div",QNe,[V("div",{class:"icon volume-icon",onClick:J[10]||(J[10]=ue=>Ae())},[V("span",HNe,[s.value===0?(U(),_e(ne,{key:0})):s.value===1?(U(),_e(oe,{key:1})):(U(),_e(he,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:J[11]||(J[11]=ue=>$()),onTouchstart:J[12]||(J[12]=ue=>$()),onClick:J[13]||(J[13]=ue=>de(ue))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:a},[V("div",{class:"volume-bar-inner",style:Le({width:S.value})},GNe,4)],512)],32)]),V("span",zNe,[V("span",JNe,vt(y.value),1),Ue(" / "),V("span",$Ne,vt(R.value),1)])]),V("div",jNe,[V("div",qNe,[V("div",e7e,[V("span",{class:"icon-content",onClick:J[14]||(J[14]=ue=>L.value=!L.value)},vt(p.value===1?"倍速":p.value+"x"),1),L.value?(U(),te("div",{key:0,class:"speed-menu",onMouseleave:J[15]||(J[15]=ue=>L.value=!1)},[(U(),te(We,null,tt(w,ue=>V("div",{class:$e(["speed-menu-item",{active:ue.value===p.value}]),key:ue.label,onClick:ge=>C(ue.value)},vt(ue.label),11,t7e)),64))],32)):Ze("",!0)])]),V("div",{class:"loop",onClick:J[16]||(J[16]=ue=>ce())},[V("div",{class:$e(["icon loop-icon",{active:d.value}])},[V("span",n7e,"循环"+vt(d.value?"开":"关"),1)],2)])]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:o,onMousedown:J[17]||(J[17]=ue=>Q()),onTouchstart:J[18]||(J[18]=ue=>Q()),onMousemove:J[19]||(J[19]=ue=>G(ue)),onMouseenter:J[20]||(J[20]=ue=>v.value=!0),onMouseleave:J[21]||(J[21]=ue=>v.value=!1)},[V("div",{class:$e(["bar-time",{hidden:!v.value}]),style:Le({left:m.value})},vt(g.value),7),V("div",r7e,[V("div",{class:"loaded",style:Le({width:x.value})},null,4),V("div",{class:"played",style:Le({width:A.value})},o7e,4)])],544)])],38)}}}),Ree=Be(a7e,[["__scopeId","data-v-597c0901"]]),s7e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=(i,o=!0)=>{t.elementInfo.lock||(i.stopPropagation(),t.selectElement(i,t.elementInfo,o))};return(i,o)=>{const a=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-video",{lock:i.elementInfo.lock}]),style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",onMousedown:o[2]||(o[2]=s=>r(s,!1)),onTouchstart:o[3]||(o[3]=s=>r(s,!1))},[O(Ree,{width:i.elementInfo.width,height:i.elementInfo.height,src:i.elementInfo.src,poster:i.elementInfo.poster,scale:z(n)},null,8,["width","height","src","poster","scale"]),(U(),te(We,null,tt(["t","b","l","r"],s=>V("div",{class:$e(["handler-border",s]),key:s,onMousedown:o[0]||(o[0]=l=>r(l)),onTouchstart:o[1]||(o[1]=l=>r(l))},null,34)),64))],32)),[[a,i.contextmenus]])],4)],6)}}}),bee=Be(s7e,[["__scopeId","data-v-c50d3bc7"]]),xee=e=>(en("data-v-32038f5c"),e=e(),tn(),e),l7e=["src","autoplay"],u7e={class:"controller"},c7e={class:"icons"},f7e={class:"icon-content"},d7e={class:"volume"},h7e={class:"icon-content"},p7e=xee(()=>V("span",{class:"thumb"},null,-1)),v7e=[p7e],g7e={class:"time"},m7e={class:"ptime"},y7e={class:"dtime"},A7e={class:"bar"},R7e=xee(()=>V("span",{class:"thumb"},null,-1)),b7e=[R7e],x7e=Xe({__name:"AudioPlayer",props:{src:{},loop:{type:Boolean},autoplay:{type:Boolean,default:!1},scale:{default:1}},setup(e,{expose:t}){const n=e,r=(q=0)=>{if(q===0||isNaN(q))return"00:00";const $=ce=>ce<10?"0"+ce:""+ce,de=Math.floor(q/3600),G=Math.floor((q-de*3600)/60),Ae=Math.floor(q-de*3600-G*60);return(de>0?[de,G,Ae]:[G,Ae]).map($).join(":")},i=q=>q.getBoundingClientRect().left,o=pe(),a=pe(),s=pe(),l=pe(.5),u=pe(!0),c=pe(0),f=pe(0),d=pe(0),h=pe(!1),p=pe("00:00"),v=pe("0"),g=we(()=>r(c.value)),m=we(()=>r(f.value)),y=we(()=>c.value/f.value*100+"%"),R=we(()=>d.value/f.value*100+"%"),A=we(()=>l.value*100+"%"),x=q=>{o.value&&(q=Math.max(q,0),q=Math.min(q,f.value),o.value.currentTime=q,c.value=q)},S=()=>{o.value&&(u.value=!1,o.value.play())},L=()=>{o.value&&(u.value=!0,o.value.pause())},w=()=>{u.value?S():L()},M=q=>{o.value&&(q=Math.max(q,0),q=Math.min(q,1),o.value.volume=q,l.value=q,o.value.muted&&q!==0&&(o.value.muted=!1))},_=()=>{var q;f.value=((q=o.value)==null?void 0:q.duration)||0},k=()=>{var q;c.value=((q=o.value)==null?void 0:q.currentTime)||0},P=()=>{u.value=!1},N=()=>{n.loop?(x(0),S()):L()},C=()=>{var q;d.value=(q=o.value)!=null&&q.buffered.length?o.value.buffered.end(o.value.buffered.length-1):0},F=()=>gn.error("视频加载失败"),I=q=>{if(!o.value||!a.value)return;let de=(("clientX"in q?q.clientX:q.changedTouches[0].clientX)-i(a.value))/a.value.clientWidth;de=Math.max(de,0),de=Math.min(de,1);const G=de*f.value;o.value.currentTime=G,c.value=G},W=q=>{if(!o.value||!a.value)return;let de=(("clientX"in q?q.clientX:q.changedTouches[0].clientX)-i(a.value))/a.value.clientWidth;de=Math.max(de,0),de=Math.min(de,1);const G=de*f.value;o.value.currentTime=G,c.value=G,document.removeEventListener("mousemove",I),document.removeEventListener("touchmove",I),document.removeEventListener("mouseup",W),document.removeEventListener("touchend",W)},D=()=>{document.addEventListener("mousemove",I),document.addEventListener("touchmove",I),document.addEventListener("mouseup",W),document.addEventListener("touchend",W)},Z=q=>{if(!s.value)return;const de=(("clientX"in q?q.clientX:q.changedTouches[0].clientX)-i(s.value))/45;M(de)},re=()=>{document.removeEventListener("mousemove",Z),document.removeEventListener("touchmove",Z),document.removeEventListener("mouseup",re),document.removeEventListener("touchend",re)},B=()=>{document.addEventListener("mousemove",Z),document.addEventListener("touchmove",Z),document.addEventListener("mouseup",re),document.addEventListener("touchend",re)},Y=q=>{if(!s.value)return;const $=(q.clientX-i(s.value))/45;M($)},Q=q=>{if(f.value&&a.value){const $=a.value.getBoundingClientRect().left,de=q.clientX-$;if(de<0||de>a.value.offsetWidth)return;const G=f.value*(de/a.value.offsetWidth);v.value=`${de-(G>=3600?25:20)}px`,p.value=r(G),h.value=!0}},K=()=>{o.value&&(o.value.muted?(o.value.muted=!1,M(.5)):(o.value.muted=!0,M(0)))};return t({toggle:w}),(q,$)=>{const de=Se("IconPlayOne"),G=Se("IconPause"),Ae=Se("IconVolumeMute"),ce=Se("IconVolumeNotice"),fe=Se("IconVolumeSmall");return U(),te("div",{class:"audio-player",style:Le({transform:`scale(${1/q.scale})`})},[V("audio",{class:"audio",ref_key:"audioRef",ref:o,src:q.src,autoplay:q.autoplay,onDurationchange:$[0]||($[0]=le=>_()),onTimeupdate:$[1]||($[1]=le=>k()),onPlay:$[2]||($[2]=le=>P()),onEnded:$[3]||($[3]=le=>N()),onProgress:$[4]||($[4]=le=>C()),onError:$[5]||($[5]=le=>F())},null,40,l7e),V("div",u7e,[V("div",c7e,[V("div",{class:"icon play-icon",onClick:$[6]||($[6]=le=>w())},[V("span",f7e,[u.value?(U(),_e(de,{key:0})):(U(),_e(G,{key:1}))])]),V("div",d7e,[V("div",{class:"icon volume-icon",onClick:$[7]||($[7]=le=>K())},[V("span",h7e,[l.value===0?(U(),_e(Ae,{key:0})):l.value===1?(U(),_e(ce,{key:1})):(U(),_e(fe,{key:2}))])]),V("div",{class:"volume-bar-wrap",onMousedown:$[8]||($[8]=le=>B()),onTouchstart:$[9]||($[9]=le=>B()),onClick:$[10]||($[10]=le=>Y(le))},[V("div",{class:"volume-bar",ref_key:"volumeBarRef",ref:s},[V("div",{class:"volume-bar-inner",style:Le({width:A.value})},v7e,4)],512)],32)])]),V("span",g7e,[V("span",m7e,vt(g.value),1),Ue(" / "),V("span",y7e,vt(m.value),1)]),V("div",{class:"bar-wrap",ref_key:"playBarWrap",ref:a,onMousedown:$[11]||($[11]=le=>D()),onTouchstart:$[12]||($[12]=le=>D()),onMousemove:$[13]||($[13]=le=>Q(le)),onMouseenter:$[14]||($[14]=le=>h.value=!0),onMouseleave:$[15]||($[15]=le=>h.value=!1)},[V("div",{class:$e(["bar-time",{hidden:!h.value}]),style:Le({left:v.value})},vt(p.value),7),V("div",A7e,[V("div",{class:"loaded",style:Le({width:R.value})},null,4),V("div",{class:"played",style:Le({width:y.value})},b7e,4)])],544)])],4)}}}),See=Be(x7e,[["__scopeId","data-v-32038f5c"]]),S7e=Xe({__name:"index",props:{elementInfo:{},selectElement:{type:Function},contextmenus:{type:Function}},setup(e){const t=e,{canvasScale:n,handleElementId:r}=De(ht()),{viewportRatio:i,viewportSize:o}=De(ut()),a=we(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px"),s=we(()=>{const u=o.value,c=o.value*i.value,f=280/n.value,d=50/n.value,h=t.elementInfo.width,p=t.elementInfo.height,v=t.elementInfo.left,g=t.elementInfo.top;let m=0,y=p;return v+f>=u&&(m=h-f),g+p+d>=c&&(y=-d),{left:m+"px",top:y+"px"}}),l=u=>{t.elementInfo.lock||(u.stopPropagation(),t.selectElement(u,t.elementInfo))};return(u,c)=>{const f=Se("IconVolumeNotice"),d=Fn("contextmenu");return U(),te("div",{class:$e(["editable-element-audio",{lock:u.elementInfo.lock}]),style:Le({top:u.elementInfo.top+"px",left:u.elementInfo.left+"px",width:u.elementInfo.width+"px",height:u.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${u.elementInfo.rotate}deg)`})},[ze((U(),te("div",{class:"element-content",onMousedown:c[1]||(c[1]=h=>l(h)),onTouchstart:c[2]||(c[2]=h=>l(h))},[O(f,{class:"audio-icon",style:Le({fontSize:a.value,color:u.elementInfo.color})},null,8,["style"]),z(r)===u.elementInfo.id?(U(),_e(See,{key:0,class:"audio-player",style:Le({...s.value}),src:u.elementInfo.src,loop:u.elementInfo.loop,scale:z(n),onMousedown:c[0]||(c[0]=Ft(()=>{},["stop"]))},null,8,["style","src","loop","scale"])):Ze("",!0)],32)),[[d,u.contextmenus]])],4)],6)}}}),wee=Be(S7e,[["__scopeId","data-v-07f623ea"]]),w7e=["id"],M7e=Xe({__name:"EditableElement",props:{elementInfo:{},elementIndex:{},isMultiSelect:{type:Boolean},selectElement:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:vz,[Et.TEXT]:uJ,[Et.SHAPE]:fJ,[Et.LINE]:dJ,[Et.CHART]:hee,[Et.TABLE]:yee,[Et.LATEX]:Aee,[Et.VIDEO]:bee,[Et.AUDIO]:wee})[t.elementInfo.type]||null),{orderElement:r}=G2(),{alignElementToCanvas:i}=m3(),{combineElements:o,uncombineElements:a}=HO(),{deleteElement:s}=K2(),{lockElement:l,unlockElement:u}=VH(),{copyElement:c,pasteElement:f,cutElement:d}=KO(),{selectAllElements:h}=i3(),p=()=>t.elementInfo.lock?[{text:"解锁",handler:()=>u(t.elementInfo)}]:[{text:"剪切",subText:"Ctrl + X",handler:d},{text:"复制",subText:"Ctrl + C",handler:c},{text:"粘贴",subText:"Ctrl + V",handler:f},{divider:!0},{text:"水平居中",handler:()=>i(pn.HORIZONTAL),children:[{text:"水平垂直居中",handler:()=>i(pn.CENTER)},{text:"水平居中",handler:()=>i(pn.HORIZONTAL)},{text:"左对齐",handler:()=>i(pn.LEFT)},{text:"右对齐",handler:()=>i(pn.RIGHT)}]},{text:"垂直居中",handler:()=>i(pn.VERTICAL),children:[{text:"水平垂直居中",handler:()=>i(pn.CENTER)},{text:"垂直居中",handler:()=>i(pn.VERTICAL)},{text:"顶部对齐",handler:()=>i(pn.TOP)},{text:"底部对齐",handler:()=>i(pn.BOTTOM)}]},{divider:!0},{text:"置于顶层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,Wr.TOP),children:[{text:"置于顶层",handler:()=>r(t.elementInfo,Wr.TOP)},{text:"上移一层",handler:()=>r(t.elementInfo,Wr.UP)}]},{text:"置于底层",disable:t.isMultiSelect&&!t.elementInfo.groupId,handler:()=>r(t.elementInfo,Wr.BOTTOM),children:[{text:"置于底层",handler:()=>r(t.elementInfo,Wr.BOTTOM)},{text:"下移一层",handler:()=>r(t.elementInfo,Wr.DOWN)}]},{divider:!0},{text:"设置链接",handler:t.openLinkDialog},{text:t.elementInfo.groupId?"取消组合":"组合",subText:"Ctrl + G",handler:t.elementInfo.groupId?a:o,hide:!t.isMultiSelect},{text:"全选",subText:"Ctrl + A",handler:h},{text:"锁定",subText:"Ctrl + L",handler:l},{text:"删除",subText:"Delete",handler:s}];return(v,g)=>(U(),te("div",{class:"editable-element",ref:"elementRef",id:`editable-element-${v.elementInfo.id}`,style:Le({zIndex:v.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:v.elementInfo,selectElement:v.selectElement,contextmenus:p},null,8,["elementInfo","selectElement"]))],12,w7e))}}),L7e=Xe({__name:"MouseSelection",props:{top:{},left:{},width:{},height:{},quadrant:{}},setup(e){return(t,n)=>(U(),te("div",{class:$e(`mouse-selection quadrant-${t.quadrant}`),style:Le({top:t.top+"px",left:t.left+"px",width:t.width+"px",height:t.height+"px"})},null,6))}}),T7e=Be(L7e,[["__scopeId","data-v-053bfa3e"]]),_7e={class:"grid-lines"},O7e=["d","stroke"],k7e=Xe({__name:"GridLines",setup(e){const{canvasScale:t,gridLineSize:n}=De(ht()),{currentSlide:r,viewportRatio:i,viewportSize:o}=De(ut()),a=we(()=>{var u;return(u=r.value)==null?void 0:u.background}),s=we(()=>{var f;const u=((f=a.value)==null?void 0:f.color)||"#fff",c=["#000","#fff"];return at.mostReadable(u,c,{includeFallbackColors:!0}).setAlpha(.5).toRgbString()}),l=we(()=>{const u=o.value,c=o.value*i.value;let f="";for(let d=0;d<=Math.floor(c/n.value);d++)f+=`M0 ${d*n.value} L${u} ${d*n.value} `;for(let d=0;d<=Math.floor(u/n.value);d++)f+=`M${d*n.value} 0 L${d*n.value} ${c} `;return f});return(u,c)=>(U(),te("svg",_7e,[V("path",{style:Le({transform:`scale(${z(t)})`}),d:l.value,fill:"none",stroke:s.value,"stroke-width":"0.3","stroke-dasharray":"5"},null,12,O7e)]))}}),P7e=Be(k7e,[["__scopeId","data-v-93264269"]]),t4=e=>({backgroundStyle:we(()=>{if(!e.value)return{backgroundColor:"#fff"};const{type:n,color:r,image:i,gradient:o}=e.value;if(n==="solid")return{backgroundColor:r};if(n==="image"&&i){const{src:a,size:s}=i;return a?s==="repeat"?{backgroundImage:`url(${a}`,backgroundRepeat:"repeat",backgroundSize:"contain"}:{backgroundImage:`url(${a}`,backgroundRepeat:"no-repeat",backgroundSize:s||"cover"}:{backgroundColor:"#fff"}}else if(n==="gradient"&&o){const{type:a,colors:s,rotate:l}=o,u=s.map(c=>`${c.color} ${c.pos}%`);return a==="radial"?{backgroundImage:`radial-gradient(${u.join(",")}`}:{backgroundImage:`linear-gradient(${l}deg, ${u.join(",")}`}}return{backgroundColor:"#fff"}})}),C7e=Xe({__name:"ViewportBackground",setup(e){const{gridLineSize:t}=De(ht()),{currentSlide:n}=De(ut()),r=we(()=>{var o;return(o=n.value)==null?void 0:o.background}),{backgroundStyle:i}=t4(r);return(o,a)=>(U(),te("div",{class:"viewport-background",style:Le(z(i))},[z(t)?(U(),_e(P7e,{key:0})):Ze("",!0)],4))}}),I7e=Be(C7e,[["__scopeId","data-v-203ea8ff"]]),N7e=Xe({__name:"AlignmentLine",props:{type:{},axis:{},length:{},canvasScale:{}},setup(e){const t=e,n=we(()=>t.axis.x*t.canvasScale+"px"),r=we(()=>t.axis.y*t.canvasScale+"px"),i=we(()=>t.type==="vertical"?{height:t.length*t.canvasScale+"px"}:{width:t.length*t.canvasScale+"px"});return(o,a)=>(U(),te("div",{class:"alignment-line",style:Le({left:n.value,top:r.value})},[V("div",{class:$e(["line",o.type]),style:Le(i.value)},null,6)],4))}}),Mee=Be(N7e,[["__scopeId","data-v-7cd3d25d"]]),F7e={class:"ruler"},E7e={key:0},X7e={key:0},W7e=Xe({__name:"Ruler",props:{viewportStyles:{},elementList:{}},setup(e){const t=e,{canvasScale:n,activeElementIdList:r}=De(ht()),{viewportRatio:i,viewportSize:o}=De(ut()),a=pe(null);Xv(()=>{const l=t.elementList.filter(u=>r.value.includes(u.id));if(!l.length)return a.value=null;a.value=ju(l)});const s=we(()=>t.viewportStyles.width*n.value/(o.value/100));return(l,u)=>(U(),te("div",F7e,[V("div",{class:"h",style:Le({width:l.viewportStyles.width*z(n)+"px",left:l.viewportStyles.left+"px"})},[(U(),te(We,null,tt(20,c=>V("div",{class:$e(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`h-marker-100-${c}`,style:Le({width:s.value+"px"})},[c*100<=z(o)?(U(),te("span",E7e,vt(c*100),1)):Ze("",!0)],6)),64)),a.value?(U(),te("div",{key:0,class:"range",style:Le({left:a.value.minX*z(n)+"px",width:(a.value.maxX-a.value.minX)*z(n)+"px"})},null,4)):Ze("",!0)],4),V("div",{class:"v",style:Le({height:l.viewportStyles.height*z(n)+"px",top:l.viewportStyles.top+"px"})},[(U(),te(We,null,tt(20,c=>V("div",{class:$e(["ruler-marker-100",{hide:s.value<36,omit:s.value<72}]),key:`v-marker-100-${c}`,style:Le({height:s.value+"px"})},[c*100<=z(o)*z(i)?(U(),te("span",X7e,vt(c*100),1)):Ze("",!0)],6)),64)),a.value?(U(),te("div",{key:0,class:"range",style:Le({top:a.value.minY*z(n)+"px",height:(a.value.maxY-a.value.minY)*z(n)+"px"})},null,4)):Ze("",!0)],4)]))}}),V7e=Be(W7e,[["__scopeId","data-v-c6df5cc2"]]),D7e=["width","height"],U7e=["d"],B7e=Xe({__name:"ElementCreateSelection",emits:["created"],setup(e,{emit:t}){const n=t,r=ht(),{creatingElement:i}=De(r),{ctrlOrShiftKeyActive:o}=De(pl()),a=pe(),s=pe(),l=pe(),u=pe({x:0,y:0});Ht(()=>{if(!l.value)return;const{x:h,y:p}=l.value.getBoundingClientRect();u.value={x:h,y:p}});const c=h=>{let p=!0;const v=h.pageX,g=h.pageY;a.value=[v,g],document.onmousemove=m=>{if(!i.value||!p)return;let y=m.pageX,R=m.pageY;if(o.value){const A=y-v,x=R-g,S=Math.abs(A),L=Math.abs(x);if(i.value.type==="shape"){const w=x>0&&A<0||x<0&&A>0;S>L?R=w?g-A:g+A:y=w?v-x:v+x}else i.value.type==="line"&&(S>L?R=g:y=v)}s.value=[y,R]},document.onmouseup=m=>{var x,S;if(document.onmousemove=null,document.onmouseup=null,m.button===2){setTimeout(()=>r.setCreatingElement(null),0);return}p=!1;const y=m.pageX,R=m.pageY,A=30;if(((x=i.value)==null?void 0:x.type)==="line"&&(Math.abs(y-v)>=A||Math.abs(R-g)>=A))n("created",{start:a.value,end:s.value});else if(((S=i.value)==null?void 0:S.type)!=="line"&&Math.abs(y-v)>=A&&Math.abs(R-g)>=A)n("created",{start:a.value,end:s.value});else{const w=Math.min(y,v),M=Math.min(R,g),_=Math.max(y,v),k=Math.max(R,g),P=_-w>=A?_-w:200,N=k-M>=A?k-M:200;n("created",{start:[w,M],end:[w+P,M+N]})}}},f=we(()=>{if(!a.value||!s.value||!i.value||i.value.type!=="line")return null;const[h,p]=a.value,[v,g]=s.value,m=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,g),A=Math.max(p,g),x=y-m>=24?y-m:24,S=A-R>=24?A-R:24,L=h===m?0:y-m,w=p===R?0:A-R,M=v===m?0:y-m,_=g===R?0:A-R,k=`M${L}, ${w} L${M}, ${_}`;return{svgWidth:x,svgHeight:S,startX:L,startY:w,endX:M,endY:_,path:k}}),d=we(()=>{if(!a.value||!s.value)return{};const[h,p]=a.value,[v,g]=s.value,m=Math.min(h,v),y=Math.max(h,v),R=Math.min(p,g),A=Math.max(p,g),x=y-m,S=A-R;return{left:m-u.value.x+"px",top:R-u.value.y+"px",width:x+"px",height:S+"px"}});return(h,p)=>{var v,g;return U(),te("div",{class:"element-create-selection",ref_key:"selectionRef",ref:l,onMousedown:p[0]||(p[0]=Ft(m=>c(m),["stop"])),onContextmenu:p[1]||(p[1]=Ft(()=>{},["stop","prevent"]))},[a.value&&s.value?(U(),te("div",{key:0,class:$e(["selection",(v=z(i))==null?void 0:v.type]),style:Le(d.value)},[((g=z(i))==null?void 0:g.type)==="line"&&f.value?(U(),te("svg",{key:0,overflow:"visible",width:f.value.svgWidth,height:f.value.svgHeight},[V("path",{d:f.value.path,stroke:"#d14424",fill:"none","stroke-width":"2"},null,8,U7e)],8,D7e)):Ze("",!0)],6)):Ze("",!0)],544)}}}),Y7e=Be(B7e,[["__scopeId","data-v-7b17a883"]]),Z7e={overflow:"visible"},Q7e=["d","fill"],H7e=Xe({__name:"ShapeCreateCanvas",emits:["created"],setup(e,{emit:t}){const n=t,r=ht(),{ctrlOrShiftKeyActive:i}=De(pl()),{theme:o}=De(ut()),a=pe(),s=pe(!1),l=pe({x:0,y:0});Ht(()=>{if(!a.value)return;const{x:A,y:x}=a.value.getBoundingClientRect();l.value={x:A,y:x}});const u=pe(null),c=pe([]),f=pe(!1),d=(A,x=!1)=>{let S=A.pageX-l.value.x,L=A.pageY-l.value.y;if(x)return{pageX:S,pageY:L};if(i.value&&c.value.length){const[w,M]=c.value[c.value.length-1];Math.abs(w-S)-Math.abs(M-L)>0?L=M:S=w}return{pageX:S,pageY:L}},h=A=>{if(s.value){const{pageX:L,pageY:w}=d(A,!0);c.value.push([L,w]),u.value=null;return}const{pageX:x,pageY:S}=d(A);if(u.value=[x,S],c.value.length>=2){const[L,w]=c.value[0];Math.abs(L-x)<5&&Math.abs(w-S)<5?f.value=!0:f.value=!1}else f.value=!1},p=we(()=>{let A="";for(let x=0;x{const x=c.value.map(I=>I[0]),S=c.value.map(I=>I[1]),L=Math.min(...x),w=Math.min(...S),M=Math.max(...x),_=Math.max(...S),k=c.value.map(I=>[I[0]-L,I[1]-w]);let P="";for(let I=0;I{const{pageX:x,pageY:S}=d(A);s.value=!0,f.value?n("created",v()):c.value.push([x,S]),document.onmouseup=()=>{s.value=!1}},m=()=>{r.setCreatingCustomShapeState(!1)},y=()=>{n("created",{...v(!1),fill:"rgba(0, 0, 0, 0)",outline:{width:2,color:o.value.themeColor,style:"solid"}}),m()},R=A=>{const x=A.key.toUpperCase();x===At.ESC&&m(),x===At.ENTER&&y()};return Ht(()=>{gn.success("点击绘制任意形状,首尾闭合完成绘制,按 ESC 键或鼠标右键取消,按 ENTER 键提前完成",{duration:0}),document.addEventListener("keydown",R)}),Nn(()=>{document.removeEventListener("keydown",R),gn.closeAll()}),(A,x)=>(U(),te("div",{class:"shape-create-canvas",ref_key:"shapeCanvasRef",ref:a,onMousedown:x[0]||(x[0]=Ft(S=>g(S),["stop"])),onMousemove:x[1]||(x[1]=S=>h(S)),onContextmenu:x[2]||(x[2]=Ft(S=>m(),["stop","prevent"]))},[(U(),te("svg",Z7e,[V("path",{d:p.value,stroke:"#d14424",fill:f.value?"rgba(226, 83, 77, 0.15)":"none","stroke-width":"2"},null,8,Q7e)]))],544))}}),K7e=Be(H7e,[["__scopeId","data-v-8ea8c340"]]),g0=(e,t)=>{const n=we(()=>[{direction:Rt.LEFT_TOP,style:{}},{direction:Rt.TOP,style:{left:e.value/2+"px"}},{direction:Rt.RIGHT_TOP,style:{left:e.value+"px"}},{direction:Rt.LEFT,style:{top:t.value/2+"px"}},{direction:Rt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}},{direction:Rt.LEFT_BOTTOM,style:{top:t.value+"px"}},{direction:Rt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}},{direction:Rt.RIGHT_BOTTOM,style:{left:e.value+"px",top:t.value+"px"}}]),r=we(()=>[{direction:Rt.LEFT,style:{top:t.value/2+"px"}},{direction:Rt.RIGHT,style:{left:e.value+"px",top:t.value/2+"px"}}]),i=we(()=>[{direction:Rt.TOP,style:{left:e.value/2+"px"}},{direction:Rt.BOTTOM,style:{left:e.value/2+"px",top:t.value+"px"}}]),o=we(()=>[{type:pg.T,style:{width:e.value+"px"}},{type:pg.B,style:{top:t.value+"px",width:e.value+"px"}},{type:pg.L,style:{height:t.value+"px"}},{type:pg.R,style:{left:e.value+"px",height:t.value+"px"}}]);return{resizeHandlers:n,textElementResizeHandlers:r,verticalTextElementResizeHandlers:i,borderLines:o}},G7e=Xe({__name:"ResizeHandler",props:{type:{},rotate:{default:0}},setup(e){const t=e,n=we(()=>{const r="rotate-",i=t.rotate;return i>-22.5&&i<=22.5?r+0:i>22.5&&i<=67.5?r+45:i>67.5&&i<=112.5?r+90:i>112.5&&i<=157.5?r+135:i>157.5||i<=-157.5?r+0:i>-157.5&&i<=-112.5?r+45:i>-112.5&&i<=-67.5?r+90:i>-67.5&&i<=-22.5?r+135:r+0});return(r,i)=>(U(),te("div",{class:$e(["resize-handler",n.value,r.type])},null,2))}}),pd=Be(G7e,[["__scopeId","data-v-bb3f9e62"]]),z7e=Xe({__name:"BorderLine",props:{type:{},isWide:{type:Boolean,default:!1}},setup(e){return(t,n)=>(U(),te("div",{class:$e(["border-line",t.type,{wide:t.isWide}])},null,2))}}),m0=Be(z7e,[["__scopeId","data-v-7114fb45"]]),J7e=Xe({__name:"MultiSelectOperate",props:{elementList:{},scaleMultiElement:{type:Function}},setup(e){const t=e,{activeElementIdList:n,canvasScale:r}=De(ht()),i=we(()=>t.elementList.filter(d=>n.value.includes(d.id))),o=pe({minX:0,maxX:0,minY:0,maxY:0}),a=we(()=>(o.value.maxX-o.value.minX)*r.value),s=we(()=>(o.value.maxY-o.value.minY)*r.value),{resizeHandlers:l,borderLines:u}=g0(a,s);Xv(()=>{const{minX:d,maxX:h,minY:p,maxY:v}=ju(i.value);o.value={minX:d,maxX:h,minY:p,maxY:v}});const f=we(()=>i.value.some(d=>!((d.type==="image"||d.type==="shape")&&!d.rotate)));return(d,h)=>(U(),te("div",{class:"multi-select-operate",style:Le({left:o.value.minX*z(r)+"px",top:o.value.minY*z(r)+"px"})},[(U(!0),te(We,null,tt(z(u),p=>(U(),_e(m0,{key:p.type,type:p.type,style:Le(p.style)},null,8,["type","style"]))),128)),f.value?Ze("",!0):(U(!0),te(We,{key:0},tt(z(l),p=>(U(),_e(pd,{key:p.direction,type:p.direction,style:Le(p.style),onMousedown:Ft(v=>d.scaleMultiElement(v,o.value,p.direction),["stop"])},null,8,["type","style","onMousedown"]))),128))],4))}}),$7e=Be(J7e,[["__scopeId","data-v-135c8cb7"]]),j7e={},q7e={class:"rotate-handler"};function e9e(e,t){return U(),te("div",q7e)}const r1=Be(j7e,[["render",e9e],["__scopeId","data-v-9f21fc0f"]]),t9e={inheritAttrs:!1},n9e=Xe({...t9e,__name:"ImageElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n,clipingImageElementId:r}=De(ht()),i=we(()=>r.value===t.elementInfo.id),o=we(()=>t.elementInfo.width*n.value),a=we(()=>t.elementInfo.height*n.value),{resizeHandlers:s,borderLines:l}=g0(o,a);return(u,c)=>(U(),te("div",{class:$e(["image-element-operate",{cliping:i.value}])},[(U(!0),te(We,null,tt(z(l),f=>(U(),_e(m0,{class:"operate-border-line",key:f.type,type:f.type,style:Le(f.style)},null,8,["type","style"]))),128)),u.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(s),f=>(U(),_e(pd,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:u.elementInfo.rotate,style:Le(f.style),onMousedown:Ft(d=>u.scaleElement(d,u.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:o.value/2+"px"}),onMousedown:c[0]||(c[0]=Ft(f=>u.rotateElement(f,u.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)],2))}}),r9e=Be(n9e,[["__scopeId","data-v-2a1bef4e"]]),i9e={class:"text-element-operate"},o9e={inheritAttrs:!1},a9e=Xe({...o9e,__name:"TextElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.width*n.value),i=we(()=>t.elementInfo.height*n.value),{textElementResizeHandlers:o,verticalTextElementResizeHandlers:a,borderLines:s}=g0(r,i),l=we(()=>t.elementInfo.vertical?a.value:o.value);return(u,c)=>(U(),te("div",i9e,[(U(!0),te(We,null,tt(z(s),f=>(U(),_e(m0,{class:"operate-border-line",key:f.type,type:f.type,style:Le(f.style)},null,8,["type","style"]))),128)),u.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(l.value,f=>(U(),_e(pd,{class:"operate-resize-handler",key:f.direction,type:f.direction,rotate:u.elementInfo.rotate,style:Le(f.style),onMousedown:Ft(d=>u.scaleElement(d,u.elementInfo,f.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:c[0]||(c[0]=Ft(f=>u.rotateElement(f,u.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),s9e={class:"shape-element-operate"},l9e=["onMousedown"],u9e={inheritAttrs:!1},c9e=Xe({...u9e,__name:"ShapeElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},moveShapeKeypoint:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.width*n.value),i=we(()=>t.elementInfo.height*n.value),{resizeHandlers:o,borderLines:a}=g0(r,i),s=we(()=>{if(!t.elementInfo.pathFormula||t.elementInfo.keypoints===void 0)return[];const l=u0[t.elementInfo.pathFormula];return t.elementInfo.keypoints.map((u,c)=>{const f=l.getBaseSize[c],d=l.relative[c],h=f(t.elementInfo.width,t.elementInfo.height)*u;let p={};return d==="left"?p={left:h*n.value+"px"}:d==="right"?p={left:(t.elementInfo.width-h)*n.value+"px"}:d==="center"?p={left:(t.elementInfo.width-h)/2*n.value+"px"}:d==="top"?p={top:h*n.value+"px"}:d==="bottom"?p={top:(t.elementInfo.height-h)*n.value+"px"}:d==="left_bottom"?p={left:h*n.value+"px",top:t.elementInfo.height*n.value+"px"}:d==="right_bottom"?p={left:(t.elementInfo.width-h)*n.value+"px",top:t.elementInfo.height*n.value+"px"}:d==="top_right"?p={left:t.elementInfo.width*n.value+"px",top:h*n.value+"px"}:d==="bottom_right"&&(p={left:t.elementInfo.width*n.value+"px",top:(t.elementInfo.height-h)*n.value+"px"}),{keypoint:u,styles:p}})});return(l,u)=>(U(),te("div",s9e,[(U(!0),te(We,null,tt(z(a),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(o),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"]),(U(!0),te(We,null,tt(s.value,(c,f)=>(U(),te("div",{class:"operate-keypoint-handler",key:f,style:Le(c.styles),onMousedown:Ft(d=>l.moveShapeKeypoint(d,l.elementInfo,f),["stop"])},null,44,l9e))),128))],64)):Ze("",!0)]))}}),f9e=Be(c9e,[["__scopeId","data-v-11747e5a"]]),d9e={class:"line-element-operate"},h9e=["width","height","stroke"],p9e={key:0},v9e=["x1","y1","x2","y2"],g9e=["x1","y1","x2","y2"],m9e=["x1","y1","x2","y2"],y9e=["x1","y1","x2","y2"],A9e={inheritAttrs:!1},R9e=Xe({...A9e,__name:"LineElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},dragLineElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>Math.max(t.elementInfo.start[0],t.elementInfo.end[0])),i=we(()=>Math.max(t.elementInfo.start[1],t.elementInfo.end[1])),o=we(()=>{const a=[{handler:Ho.START,style:{left:t.elementInfo.start[0]*n.value+"px",top:t.elementInfo.start[1]*n.value+"px"}},{handler:Ho.END,style:{left:t.elementInfo.end[0]*n.value+"px",top:t.elementInfo.end[1]*n.value+"px"}}];if(t.elementInfo.curve||t.elementInfo.broken||t.elementInfo.broken2){const s=t.elementInfo.curve||t.elementInfo.broken||t.elementInfo.broken2;a.push({handler:Ho.C,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}})}else if(t.elementInfo.cubic){const[s,l]=t.elementInfo.cubic;a.push({handler:Ho.C1,style:{left:s[0]*n.value+"px",top:s[1]*n.value+"px"}}),a.push({handler:Ho.C2,style:{left:l[0]*n.value+"px",top:l[1]*n.value+"px"}})}return a});return(a,s)=>(U(),te("div",d9e,[a.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(o.value,l=>(U(),_e(pd,{class:"operate-resize-handler",key:l.handler,style:Le(l.style),onMousedown:Ft(u=>a.dragLineElement(u,a.elementInfo,l.handler),["stop"])},null,8,["style","onMousedown"]))),128)),(U(),te("svg",{width:r.value||1,height:i.value||1,stroke:a.elementInfo.color,overflow:"visible",style:Le({transform:`scale(${z(n)})`})},[a.elementInfo.curve?(U(),te("g",p9e,[V("line",{class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,v9e),V("line",{class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:a.elementInfo.curve[0],y2:a.elementInfo.curve[1]},null,8,g9e)])):Ze("",!0),a.elementInfo.cubic?(U(!0),te(We,{key:1},tt(a.elementInfo.cubic,(l,u)=>(U(),te("g",{key:u},[u===0?(U(),te("line",{key:0,class:"anchor-line",x1:a.elementInfo.start[0],y1:a.elementInfo.start[1],x2:l[0],y2:l[1]},null,8,m9e)):Ze("",!0),u===1?(U(),te("line",{key:1,class:"anchor-line",x1:a.elementInfo.end[0],y1:a.elementInfo.end[1],x2:l[0],y2:l[1]},null,8,y9e)):Ze("",!0)]))),128)):Ze("",!0)],12,h9e))],64)):Ze("",!0)]))}}),b9e=Be(R9e,[["__scopeId","data-v-9dea4d6a"]]),x9e={class:"table-element-operate"},S9e={inheritAttrs:!1},w9e=Xe({...S9e,__name:"TableElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.outline.width||1),i=we(()=>(t.elementInfo.width+r.value)*n.value),o=we(()=>t.elementInfo.height*n.value),{resizeHandlers:a,borderLines:s}=g0(i,o);return(l,u)=>(U(),te("div",x9e,[(U(!0),te(We,null,tt(z(s),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(a),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),O(r1,{class:"operate-rotate-handler",style:Le({left:i.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"])],64)):Ze("",!0)]))}}),M9e={class:"common-element-operate"},L9e={inheritAttrs:!1},ER=Xe({...L9e,__name:"CommonElementOperate",props:{elementInfo:{},handlerVisible:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function}},setup(e){const t=e,{canvasScale:n}=De(ht()),r=we(()=>t.elementInfo.width*n.value),i=we(()=>t.elementInfo.height*n.value),{resizeHandlers:o,borderLines:a}=g0(r,i),s=we(()=>["chart","video","audio"].includes(t.elementInfo.type));return(l,u)=>(U(),te("div",M9e,[(U(!0),te(We,null,tt(z(a),c=>(U(),_e(m0,{class:"operate-border-line",key:c.type,type:c.type,style:Le(c.style)},null,8,["type","style"]))),128)),l.handlerVisible?(U(),te(We,{key:0},[(U(!0),te(We,null,tt(z(o),c=>(U(),_e(pd,{class:"operate-resize-handler",key:c.direction,type:c.direction,rotate:l.elementInfo.rotate,style:Le(c.style),onMousedown:Ft(f=>l.scaleElement(f,l.elementInfo,c.direction),["stop"])},null,8,["type","rotate","style","onMousedown"]))),128)),s.value?Ze("",!0):(U(),_e(r1,{key:0,class:"operate-rotate-handler",style:Le({left:r.value/2+"px"}),onMousedown:u[0]||(u[0]=Ft(c=>l.rotateElement(c,l.elementInfo),["stop"]))},null,8,["style"]))],64)):Ze("",!0)]))}}),Lee=()=>{const e=ut(),{addHistorySnapshot:t}=nn();return{setLink:(i,o)=>{const a=/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w\-.,@?^=%&:\/~+#]*[\w\-@?^=%&\/~+#])?$/;if(o.type==="web"&&!a.test(o.target))return gn.error("不是正确的网页链接地址"),!1;if(o.type==="slide"&&!o.target)return gn.error("请先选择链接目标"),!1;const s={link:o};return e.updateElement({id:i.id,props:s}),t(),!0},removeLink:i=>{e.removeElementProps({id:i.id,propName:"link"}),t()}}},T9e=Xe({__name:"Divider",props:{type:{default:"horizontal"},margin:{default:-1}},setup(e){return(t,n)=>(U(),te("div",{class:$e(["divider",t.type]),style:Le({margin:t.type==="horizontal"?`${t.margin>=0?t.margin:24}px 0`:`0 ${t.margin>=0?t.margin:8}px`})},null,6))}}),Zt=Be(T9e,[["__scopeId","data-v-80adabfa"]]),_9e=["href"],O9e={class:"btns"},k9e=Xe({__name:"LinkHandler",props:{elementInfo:{},link:{},openLinkDialog:{type:Function}},setup(e){const t=e,n=ht(),r=ut(),{canvasScale:i}=De(n),{slides:o}=De(r),{removeLink:a}=Lee(),s=we(()=>t.elementInfo.type==="line"?0:t.elementInfo.height),l=u=>{const c=o.value.findIndex(f=>f.id===u);c!==-1&&(n.setActiveElementIdList([]),r.updateSlideIndex(c))};return(u,c)=>(U(),te("div",{class:"link-handler",style:Le({top:s.value*z(i)+10+"px"})},[u.link.type==="web"?(U(),te("a",{key:0,class:"link",href:u.link.target,target:"_blank"},vt(u.link.target),9,_9e)):(U(),te("a",{key:1,class:"link",onClick:c[0]||(c[0]=f=>l(u.link.target))},"幻灯片页面 "+vt(u.link.target),1)),V("div",O9e,[V("div",{class:"btn",onClick:c[1]||(c[1]=f=>u.openLinkDialog())},"更换"),O(Zt,{type:"vertical"}),V("div",{class:"btn",onClick:c[2]||(c[2]=f=>z(a)(u.elementInfo))},"移除")])],4))}}),P9e=Be(k9e,[["__scopeId","data-v-f8f46f78"]]),C9e={key:1,class:"animation-index"},I9e=Xe({__name:"index",props:{elementInfo:{},isSelected:{type:Boolean},isActive:{type:Boolean},isActiveGroupElement:{type:Boolean},isMultiSelect:{type:Boolean},rotateElement:{type:Function},scaleElement:{type:Function},dragLineElement:{type:Function},moveShapeKeypoint:{type:Function},openLinkDialog:{type:Function}},setup(e){const t=e,{canvasScale:n,toolbarState:r}=De(ht()),{formatedAnimations:i}=De(ut()),o=we(()=>({[Et.IMAGE]:r9e,[Et.TEXT]:a9e,[Et.SHAPE]:f9e,[Et.LINE]:b9e,[Et.TABLE]:w9e,[Et.CHART]:ER,[Et.LATEX]:ER,[Et.VIDEO]:ER,[Et.AUDIO]:ER})[t.elementInfo.type]||null),a=we(()=>{const u=[];for(let c=0;cd.elId).includes(t.elementInfo.id)&&u.push(c);return u}),s=we(()=>"rotate"in t.elementInfo?t.elementInfo.rotate:0),l=we(()=>"height"in t.elementInfo?t.elementInfo.height:0);return(u,c)=>(U(),te("div",{class:$e(["operate",{"multi-select":u.isMultiSelect&&!u.isActive}]),style:Le({top:u.elementInfo.top*z(n)+"px",left:u.elementInfo.left*z(n)+"px",transform:`rotate(${s.value}deg)`,transformOrigin:`${u.elementInfo.width*z(n)/2}px ${l.value*z(n)/2}px`})},[u.isSelected?(U(),_e(Ru(o.value),{key:0,elementInfo:u.elementInfo,handlerVisible:!u.elementInfo.lock&&(u.isActiveGroupElement||!u.isMultiSelect),rotateElement:u.rotateElement,scaleElement:u.scaleElement,dragLineElement:u.dragLineElement,moveShapeKeypoint:u.moveShapeKeypoint},null,8,["elementInfo","handlerVisible","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])):Ze("",!0),z(r)==="elAnimation"&&a.value.length?(U(),te("div",C9e,[(U(!0),te(We,null,tt(a.value,f=>(U(),te("div",{class:"index-item",key:f},vt(f+1),1))),128))])):Ze("",!0),u.isActive&&u.elementInfo.link?(U(),_e(P9e,{key:2,elementInfo:u.elementInfo,link:u.elementInfo.link,openLinkDialog:u.openLinkDialog,onMousedown:c[0]||(c[0]=Ft(()=>{},["stop"]))},null,8,["elementInfo","link","openLinkDialog"])):Ze("",!0)],6))}}),N9e=Be(I9e,[["__scopeId","data-v-7c6be7e7"]]),F9e=["src"],E9e=Xe({__name:"BaseImageElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n),i=we(()=>t.elementInfo.flipH),o=we(()=>t.elementInfo.flipV),{flipStyle:a}=y3(i,o),s=we(()=>t.elementInfo),{clipShape:l,imgPosition:u}=Ak(s),c=we(()=>t.elementInfo.filters),{filter:f}=dz(c);return(d,h)=>(U(),te("div",{class:"base-element-image",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({filter:z(r)?`drop-shadow(${z(r)})`:"",transform:z(a)})},[O(hz,{elementInfo:d.elementInfo},null,8,["elementInfo"]),V("div",{class:"image-content",style:Le({clipPath:z(l).style})},[V("img",{src:d.elementInfo.src,draggable:!1,style:Le({top:z(u).top,left:z(u).left,width:z(u).width,height:z(u).height,filter:z(f)}),alt:""},null,12,F9e),d.elementInfo.colorMask?(U(),te("div",{key:0,class:"color-mask",style:Le({backgroundColor:d.elementInfo.colorMask})},null,4)):Ze("",!0)],4)],4)],4)],4))}}),Tee=Be(E9e,[["__scopeId","data-v-67c9bdc0"]]),X9e=["innerHTML"],W9e=Xe({__name:"BaseTextElement",props:{elementInfo:{},target:{}},setup(e){const t=e,n=we(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n);return(i,o)=>(U(),te("div",{class:"base-element-text",style:Le({top:i.elementInfo.top+"px",left:i.elementInfo.left+"px",width:i.elementInfo.width+"px",height:i.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${i.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({width:i.elementInfo.vertical?"auto":i.elementInfo.width+"px",height:i.elementInfo.vertical?i.elementInfo.height+"px":"auto",backgroundColor:i.elementInfo.fill,opacity:i.elementInfo.opacity,textShadow:z(r),lineHeight:i.elementInfo.lineHeight,letterSpacing:(i.elementInfo.wordSpace||0)+"px",color:i.elementInfo.defaultColor,fontFamily:i.elementInfo.defaultFontName,writingMode:i.elementInfo.vertical?"vertical-rl":"horizontal-tb"})},[O(A3,{width:i.elementInfo.width,height:i.elementInfo.height,outline:i.elementInfo.outline},null,8,["width","height","outline"]),V("div",{class:$e(["text ProseMirror-static",{thumbnail:i.target==="thumbnail"}]),style:Le({"--paragraphSpace":`${i.elementInfo.paragraphSpace===void 0?5:i.elementInfo.paragraphSpace}px`}),innerHTML:i.elementInfo.content},null,14,X9e)],4)],4)],4))}}),_ee=Be(W9e,[["__scopeId","data-v-a3ec163d"]]),V9e=["width","height"],D9e={key:0},U9e=["transform"],B9e=["d","fill","stroke","stroke-width","stroke-dasharray"],Y9e=["innerHTML"],Z9e=Xe({__name:"BaseShapeElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo.outline),{outlineWidth:r,outlineColor:i,strokeDashArray:o}=Jv(n),a=we(()=>t.elementInfo.shadow),{shadowStyle:s}=fd(a),l=we(()=>t.elementInfo.flipH),u=we(()=>t.elementInfo.flipV),{flipStyle:c}=y3(l,u),f=we(()=>{const d={content:"",defaultFontName:"",defaultColor:"#000",align:"middle"};return t.elementInfo.text?t.elementInfo.text:d});return(d,h)=>(U(),te("div",{class:"base-element-shape",style:Le({top:d.elementInfo.top+"px",left:d.elementInfo.left+"px",width:d.elementInfo.width+"px",height:d.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${d.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({opacity:d.elementInfo.opacity,filter:z(s)?`drop-shadow(${z(s)})`:"",transform:z(c),color:f.value.defaultColor,fontFamily:f.value.defaultFontName})},[(U(),te("svg",{overflow:"visible",width:d.elementInfo.width,height:d.elementInfo.height},[d.elementInfo.gradient?(U(),te("defs",D9e,[O(cJ,{id:`base-gradient-${d.elementInfo.id}`,type:d.elementInfo.gradient.type,colors:d.elementInfo.gradient.colors,rotate:d.elementInfo.gradient.rotate},null,8,["id","type","colors","rotate"])])):Ze("",!0),V("g",{transform:`scale(${d.elementInfo.width/d.elementInfo.viewBox[0]}, ${d.elementInfo.height/d.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",d:d.elementInfo.path,fill:d.elementInfo.gradient?`url(#base-gradient-${d.elementInfo.id})`:d.elementInfo.fill,stroke:z(i),"stroke-width":z(r),"stroke-dasharray":z(o)},null,8,B9e)],8,U9e)],8,V9e)),V("div",{class:$e(["shape-text",f.value.align])},[V("div",{class:"ProseMirror-static",innerHTML:f.value.content},null,8,Y9e)],2)],4)],4)],4))}}),Oee=Be(Z9e,[["__scopeId","data-v-ed406be1"]]),Q9e=["width","height"],H9e=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],K9e=Xe({__name:"BaseLineElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>t.elementInfo.shadow),{shadowStyle:r}=fd(n),i=we(()=>{const l=Math.abs(t.elementInfo.start[0]-t.elementInfo.end[0]);return l<24?24:l}),o=we(()=>{const l=Math.abs(t.elementInfo.start[1]-t.elementInfo.end[1]);return l<24?24:l}),a=we(()=>{const l=t.elementInfo.width;return t.elementInfo.style==="dashed"?l<=8?`${l*5} ${l*2.5}`:`${l*5} ${l*1.5}`:t.elementInfo.style==="dotted"?l<=8?`${l*1.8} ${l*1.6}`:`${l*1.5} ${l*1.2}`:"0 0"}),s=we(()=>YO(t.elementInfo));return(l,u)=>(U(),te("div",{class:"base-element-line",style:Le({top:l.elementInfo.top+"px",left:l.elementInfo.left+"px"})},[V("div",{class:"element-content",style:Le({filter:z(r)?`drop-shadow(${z(r)})`:""})},[(U(),te("svg",{overflow:"visible",width:i.value,height:o.value},[V("defs",null,[l.elementInfo.points[0]?(U(),_e(Kf,{key:0,id:l.elementInfo.id,position:"start",type:l.elementInfo.points[0],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0),l.elementInfo.points[1]?(U(),_e(Kf,{key:1,id:l.elementInfo.id,position:"end",type:l.elementInfo.points[1],color:l.elementInfo.color,baseSize:l.elementInfo.width},null,8,["id","type","color","baseSize"])):Ze("",!0)]),V("path",{d:s.value,stroke:l.elementInfo.color,"stroke-width":l.elementInfo.width,"stroke-dasharray":a.value,fill:"none","marker-start":l.elementInfo.points[0]?`url(#${l.elementInfo.id}-${l.elementInfo.points[0]}-start)`:"","marker-end":l.elementInfo.points[1]?`url(#${l.elementInfo.id}-${l.elementInfo.points[1]}-end)`:""},null,8,H9e)],8,Q9e))],4)],4))}}),kee=Be(K9e,[["__scopeId","data-v-833e88cd"]]),G9e=Xe({__name:"BaseChartElement",props:{elementInfo:{},target:{}},setup(e){return(t,n)=>(U(),te("div",{class:$e(["base-element-chart",{"is-thumbnail":t.target==="thumbnail"}]),style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({backgroundColor:t.elementInfo.fill})},[O(A3,{width:t.elementInfo.width,height:t.elementInfo.height,outline:t.elementInfo.outline},null,8,["width","height","outline"]),O(dee,{width:t.elementInfo.width,height:t.elementInfo.height,type:t.elementInfo.chartType,data:t.elementInfo.data,themeColors:t.elementInfo.themeColors,textColor:t.elementInfo.textColor,options:t.elementInfo.options},null,8,["width","height","type","data","themeColors","textColor","options"])],4)],4)],6))}}),Pee=Be(G9e,[["__scopeId","data-v-5a1fd6e3"]]),z9e=["width"],J9e=["rowspan","colspan"],$9e=["innerHTML"],j9e=Xe({__name:"StaticTable",props:{data:{},width:{},cellMinHeight:{},colWidths:{},outline:{},theme:{},editable:{type:Boolean,default:!0}},setup(e){const t=e,n=pe([]),r=we(()=>n.value.reduce((l,u)=>l+u));Ot([()=>t.colWidths,()=>t.width],()=>{n.value=t.colWidths.map(l=>l*t.width)},{immediate:!0});const i=we(()=>t.data),{hideCells:o}=gee(i),a=we(()=>t.theme),{subThemeColor:s}=mee(a);return(l,u)=>{var c,f,d,h,p;return U(),te("div",{class:"static-table",style:Le({width:r.value+"px"})},[V("table",{class:$e({theme:a.value,"row-header":(c=a.value)==null?void 0:c.rowHeader,"row-footer":(f=a.value)==null?void 0:f.rowFooter,"col-header":(d=a.value)==null?void 0:d.colHeader,"col-footer":(h=a.value)==null?void 0:h.colFooter}),style:Le(`--themeColor: ${(p=a.value)==null?void 0:p.color}; --subThemeColor1: ${z(s)[0]}; --subThemeColor2: ${z(s)[1]}`)},[V("colgroup",null,[(U(!0),te(We,null,tt(n.value,(v,g)=>(U(),te("col",{span:"1",key:g,width:v},null,8,z9e))),128))]),V("tbody",null,[(U(!0),te(We,null,tt(l.data,(v,g)=>(U(),te("tr",{key:g,style:Le({height:l.cellMinHeight+"px"})},[(U(!0),te(We,null,tt(v,(m,y)=>ze((U(),te("td",{class:"cell",style:Le({borderStyle:l.outline.style,borderColor:l.outline.color,borderWidth:l.outline.width+"px",...z(pee)(m.style)}),key:m.id,rowspan:m.rowspan,colspan:m.colspan},[V("div",{class:"cell-text",style:Le({minHeight:l.cellMinHeight-4+"px"}),innerHTML:z(vee)(m.text)},null,12,$9e)],12,J9e)),[[uc,!z(o).includes(`${g}_${y}`)]])),128))],4))),128))])],6)],4)}}}),q9e=Be(j9e,[["__scopeId","data-v-6d887dcd"]]),eFe={class:"element-content"},tFe=Xe({__name:"BaseTableElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),te("div",{class:"base-element-table",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",eFe,[O(q9e,{data:t.elementInfo.data,width:t.elementInfo.width,cellMinHeight:t.elementInfo.cellMinHeight,colWidths:t.elementInfo.colWidths,outline:t.elementInfo.outline,theme:t.elementInfo.theme},null,8,["data","width","cellMinHeight","colWidths","outline","theme"])])],4)],4))}}),Cee=Be(tFe,[["__scopeId","data-v-77cfa6e4"]]),nFe={class:"element-content"},rFe=["width","height","stroke","stroke-width"],iFe=["transform"],oFe=["d"],aFe=Xe({__name:"BaseLatexElement",props:{elementInfo:{}},setup(e){return(t,n)=>(U(),te("div",{class:"base-element-latex",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",nFe,[(U(),te("svg",{overflow:"visible",width:t.elementInfo.width,height:t.elementInfo.height,stroke:t.elementInfo.color,"stroke-width":t.elementInfo.strokeWidth,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${t.elementInfo.width/t.elementInfo.viewBox[0]}, ${t.elementInfo.height/t.elementInfo.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{d:t.elementInfo.path},null,8,oFe)],8,iFe)],8,rFe))])],4)],4))}}),Iee=Be(aFe,[["__scopeId","data-v-93374af9"]]),sFe=Xe({__name:"BaseVideoElement",props:{elementInfo:{}},setup(e){return(t,n)=>{const r=Se("IconPlayOne");return U(),te("div",{class:"base-element-video",style:Le({top:t.elementInfo.top+"px",left:t.elementInfo.left+"px",width:t.elementInfo.width+"px",height:t.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${t.elementInfo.rotate}deg)`})},[V("div",{class:"element-content",style:Le({backgroundImage:t.elementInfo.poster?`url(${t.elementInfo.poster})`:""})},[O(r,{class:"icon"})],4)],4)],4)}}}),lFe=Be(sFe,[["__scopeId","data-v-2fb0e771"]]),uFe={class:"element-content"},cFe=Xe({__name:"BaseAudioElement",props:{elementInfo:{}},setup(e){const t=e,n=we(()=>Math.min(t.elementInfo.width,t.elementInfo.height)+"px");return(r,i)=>{const o=Se("IconVolumeNotice");return U(),te("div",{class:"base-element-audio",style:Le({top:r.elementInfo.top+"px",left:r.elementInfo.left+"px",width:r.elementInfo.width+"px",height:r.elementInfo.height+"px"})},[V("div",{class:"rotate-wrapper",style:Le({transform:`rotate(${r.elementInfo.rotate}deg)`})},[V("div",uFe,[O(o,{class:"audio-icon",style:Le({fontSize:n.value,color:r.elementInfo.color})},null,8,["style"])])],4)],4)}}}),fFe=Be(cFe,[["__scopeId","data-v-b33e6120"]]),dFe=Xe({__name:"ThumbnailElement",props:{elementInfo:{},elementIndex:{}},setup(e){const t=e,n=we(()=>({[Et.IMAGE]:Tee,[Et.TEXT]:_ee,[Et.SHAPE]:Oee,[Et.LINE]:kee,[Et.CHART]:Pee,[Et.TABLE]:Cee,[Et.LATEX]:Iee,[Et.VIDEO]:lFe,[Et.AUDIO]:fFe})[t.elementInfo.type]||null);return(r,i)=>(U(),te("div",{class:$e(["base-element",`base-element-${r.elementInfo.id}`]),style:Le({zIndex:r.elementIndex})},[(U(),_e(Ru(n.value),{elementInfo:r.elementInfo,target:"thumbnail"},null,8,["elementInfo"]))],6))}}),hFe={key:1,class:"placeholder"},pFe=Xe({__name:"index",props:{slide:{},size:{},visible:{type:Boolean,default:!0}},setup(e){const t=e,{viewportRatio:n,viewportSize:r}=De(ut()),i=we(()=>t.slide.background),{backgroundStyle:o}=t4(i),a=we(()=>t.size/r.value);return a0(iy,a),(s,l)=>(U(),te("div",{class:"thumbnail-slide",style:Le({width:s.size+"px",height:s.size*z(n)+"px"})},[s.visible?(U(),te("div",{key:0,class:"elements",style:Le({width:z(r)+"px",height:z(r)*z(n)+"px",transform:`scale(${a.value})`})},[V("div",{class:"background",style:Le(z(o))},null,4),(U(!0),te(We,null,tt(s.slide.elements,(u,c)=>(U(),_e(dFe,{key:u.id,elementInfo:u,elementIndex:c+1},null,8,["elementInfo","elementIndex"]))),128))],4)):(U(),te("div",hFe,"加载中 ..."))],4))}}),dl=Be(pFe,[["__scopeId","data-v-c8cdb1af"]]),vFe=["onClick"],gFe=Xe({__name:"Tabs",props:{value:{},tabs:{},card:{type:Boolean,default:!1},tabsStyle:{},tabStyle:{},spaceAround:{type:Boolean,default:!1},spaceBetween:{type:Boolean,default:!1}},emits:["update:value"],setup(e,{emit:t}){const n=t;return(r,i)=>(U(),te("div",{class:$e(["tabs",{card:r.card,"space-around":r.spaceAround,"space-between":r.spaceBetween}]),style:Le(r.tabsStyle||{})},[(U(!0),te(We,null,tt(r.tabs,o=>(U(),te("div",{class:$e(["tab",{active:o.key===r.value}]),key:o.key,style:Le({...r.tabStyle||{},"--color":o.color}),onClick:a=>n("update:value",o.key)},vt(o.label),15,vFe))),128))],6))}}),hl=Be(gFe,[["__scopeId","data-v-c7f9dce0"]]),mFe=Xe({__name:"Button",props:{checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},type:{default:"default"},size:{default:"normal"},first:{type:Boolean,default:!1},last:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,r=t,i=()=>{n.disabled||r("click")};return(o,a)=>(U(),te("button",{class:$e(["button",{disabled:o.disabled,checked:!o.disabled&&o.checked,default:!o.disabled&&o.type==="default",primary:!o.disabled&&o.type==="primary",checkbox:!o.disabled&&o.type==="checkbox",radio:!o.disabled&&o.type==="radio",small:o.size==="small",first:o.first,last:o.last}]),onClick:a[0]||(a[0]=s=>i())},[ar(o.$slots,"default",{},void 0,!0)],2))}}),et=Be(mFe,[["__scopeId","data-v-3a484f58"]]),yFe={key:0,class:"select-wrap"},AFe={class:"selector"},RFe={class:"icon"},bFe=["onClick"],xFe={class:"selector"},SFe={class:"icon"},wFe=Xe({__name:"Select",props:{value:{},options:{},disabled:{type:Boolean,default:!1},search:{type:Boolean,default:!1},searchLabel:{default:"搜索"}},emits:["update:value"],setup(e,{emit:t}){const n=e,r=t,i=pe(!1),o=pe(),a=pe(),s=pe(0),l=pe(""),u=we(()=>{var p;return((p=n.options.find(v=>v.value===n.value))==null?void 0:p.label)||n.value}),c=we(()=>{if(!n.search||!l.value.trim())return n.options;const p=n.options.filter(v=>v.label.toLowerCase().indexOf(l.value.toLowerCase())!==-1);return p.length?p:n.options});Ot(i,()=>{i.value?Ir(()=>{a.value&&a.value.focus()}):l.value=""}),o0(()=>{l.value=""});const f=()=>{o.value&&(s.value=o.value.clientWidth)},d=new ResizeObserver(f);Ht(()=>{o.value&&d.observe(o.value)}),Nn(()=>{o.value&&d.unobserve(o.value)});const h=p=>{p.disabled||(r("update:value",p.value),i.value=!1)};return(p,v)=>{const g=Se("IconDown");return p.disabled?(U(),te("div",yFe,[V("div",{class:"select disabled",ref_key:"selectRef",ref:o},[V("div",AFe,vt(p.value),1),V("div",RFe,[ar(p.$slots,"icon",{},()=>[O(g,{size:14})],!0)])],512)])):(U(),_e(Nt,{key:1,class:"select-wrap",trigger:"click",value:i.value,"onUpdate:value":v[1]||(v[1]=m=>i.value=m),placement:"bottom",contentStyle:{padding:0,boxShadow:"0 6px 16px 0 rgba(0, 0, 0, 0.08)"}},{content:ie(()=>[p.search?(U(),te(We,{key:0},[O(fc,{ref_key:"searchInputRef",ref:a,simple:"",placeholder:p.searchLabel,value:l.value,"onUpdate:value":v[0]||(v[0]=m=>l.value=m),style:Le({width:s.value+2+"px"})},null,8,["placeholder","value","style"]),O(Zt,{margin:0})],64)):Ze("",!0),V("div",{class:"options",style:Le({width:s.value+2+"px"})},[(U(!0),te(We,null,tt(c.value,m=>(U(),te("div",{class:$e(["option",{disabled:m.disabled,selected:m.value===p.value}]),key:m.value,onClick:y=>h(m)},vt(m.label),11,bFe))),128))],4)]),default:ie(()=>[V("div",{class:"select",ref_key:"selectRef",ref:o},[V("div",xFe,vt(u.value),1),V("div",SFe,[ar(p.$slots,"icon",{},()=>[O(g,{size:14})],!0)])],512)]),_:3},8,["value"]))}}}),zr=Be(wFe,[["__scopeId","data-v-eb1f268a"]]),MFe=e=>(en("data-v-853e5bc2"),e=e(),tn(),e),LFe={class:"link-dialog"},TFe={key:2,class:"preview"},_Fe=MFe(()=>V("div",null,"预览:",-1)),OFe={class:"btns"},kFe=Xe({__name:"LinkDialog",emits:["close"],setup(e,{emit:t}){var p;const n=t,{handleElement:r}=De(ht()),{slides:i,currentSlide:o}=De(ut()),a=pe("web"),s=pe(""),l=pe(""),u=we(()=>i.value.map((v,g)=>({label:`幻灯片 ${g+1}`,value:v.id,disabled:o.value.id===v.id})));l.value=((p=i.value.find(v=>v.id!==o.value.id))==null?void 0:p.id)||"";const c=we(()=>l.value&&i.value.find(v=>v.id===l.value)||null),f=[{key:"web",label:"网页链接"},{key:"slide",label:"幻灯片页面"}],{setLink:d}=Lee();Ht(()=>{var v;(v=r.value)!=null&&v.link&&(r.value.link.type==="web"?s.value=r.value.link.target:r.value.link.type==="slide"&&(l.value=r.value.link.target),a.value=r.value.link.type)});const h=()=>{const v={type:a.value,target:a.value==="web"?s.value:l.value};r.value&&(d(r.value,v)?n("close"):s.value="")};return(v,g)=>(U(),te("div",LFe,[O(hl,{tabs:f,value:a.value,"onUpdate:value":g[0]||(g[0]=m=>a.value=m),tabsStyle:{marginBottom:"20px"}},null,8,["value"]),a.value==="web"?(U(),_e(fc,{key:0,class:"input",value:s.value,"onUpdate:value":g[1]||(g[1]=m=>s.value=m),placeholder:"请输入网页链接地址"},null,8,["value"])):Ze("",!0),a.value==="slide"?(U(),_e(zr,{key:1,class:"input",value:l.value,"onUpdate:value":g[2]||(g[2]=m=>l.value=m),options:u.value},null,8,["value","options"])):Ze("",!0),a.value==="slide"&&c.value?(U(),te("div",TFe,[_Fe,O(dl,{class:"thumbnail",slide:c.value,size:500},null,8,["slide"])])):Ze("",!0),V("div",OFe,[O(et,{onClick:g[3]||(g[3]=m=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:g[4]||(g[4]=m=>h())},{default:ie(()=>[Ue("确认")]),_:1})])]))}}),PFe=Be(kFe,[["__scopeId","data-v-853e5bc2"]]),CFe=Xe({__name:"Modal",props:{visible:{type:Boolean},width:{default:480},closeButton:{type:Boolean,default:!1},closeOnClickMask:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},contentStyle:{}},emits:["update:visible","closed"],setup(e,{emit:t}){const{IconClose:n}=bx,r=e,i=pe(),o=t,a=pe(!1),s=we(()=>({width:r.width+"px",...r.contentStyle||{}}));Ot(()=>r.visible,()=>{r.visible&&Ir(()=>i.value.focus())});const l=()=>{o("update:visible",!1),o("closed")},u=()=>{r.visible&&r.closeOnEsc&&l()},c=()=>{r.closeOnClickMask&&l()};return(f,d)=>(U(),_e(cO,{to:"body"},[O(Yh,{name:"modal-fade"},{default:ie(()=>[ze(V("div",{class:"modal",ref_key:"modalRef",ref:i,tabindex:"-1",onKeyup:d[4]||(d[4]=du(h=>u(),["esc"]))},[V("div",{class:"mask",onClick:d[0]||(d[0]=h=>c())}),O(Yh,{name:"modal-zoom",onAfterLeave:d[2]||(d[2]=h=>a.value=!1),onBeforeEnter:d[3]||(d[3]=h=>a.value=!0)},{default:ie(()=>[ze(V("div",{class:"modal-content",style:Le(s.value)},[f.closeButton?(U(),te("span",{key:0,class:"close-btn",onClick:d[1]||(d[1]=h=>l())},[O(z(n))])):Ze("",!0),a.value?ar(f.$slots,"default",{key:1},void 0,!0):Ze("",!0)],4),[[uc,f.visible]])]),_:3})],544),[[uc,f.visible]])]),_:3})]))}}),n0=Be(CFe,[["__scopeId","data-v-4d27bcca"]]),IFe={class:"operates"},NFe={key:2,class:"drag-mask"},FFe=Xe({__name:"index",setup(e){const t=ht(),{activeElementIdList:n,activeGroupElementId:r,handleElementId:i,hiddenElementIdList:o,editorAreaFocus:a,gridLineSize:s,showRuler:l,creatingElement:u,creatingCustomShape:c,canvasScale:f,textFormatPainter:d}=De(t),{currentSlide:h}=De(ut()),{ctrlKeyState:p,spaceKeyState:v}=De(pl()),g=pe(),m=pe([]),y=pe(!1),R=()=>y.value=!0;Ot(i,()=>{t.setActiveGroupElementId("")});const A=pe([]);Xv(()=>{A.value=h.value?JSON.parse(JSON.stringify(h.value.elements)):[]});const S=pe(),{dragViewport:L,viewportStyles:w}=kSe(S);CSe(S);const{mouseSelection:M,mouseSelectionVisible:_,mouseSelectionQuadrant:k,updateMouseSelection:P}=PSe(A,g),{dragElement:N}=cz(A,m,f),{dragLineElement:C}=FSe(A),{selectElement:F}=NSe(A,N),{scaleElement:I,scaleMultiElement:W}=uz(A,m,f),{rotateElement:D}=sz(A,g,f),{moveShapeKeypoint:Z}=ESe(A,f),{selectAllElements:re}=i3(),{deleteAllElements:B}=K2(),{pasteElement:Y}=KO(),{enterScreeningFromStart:Q}=ld(),{updateSlideIndex:K}=gc(),{createTextElement:q,createShapeElement:$}=c0();Ht(()=>{n.value.length&&Ir(()=>t.setActiveElementIdList([]))});const de=oe=>{n.value.length&&t.setActiveElementIdList([]),v.value?L(oe):P(oe),a.value||t.setEditorareaFocus(!0),d.value&&t.setTextFormatPainter(null),OSe()},G=oe=>{if(n.value.length||u.value||c.value||!g.value)return;const he=g.value.getBoundingClientRect(),ue=(oe.pageX-he.x)/f.value,ge=(oe.pageY-he.y)/f.value;q({left:ue,top:ge,width:200/f.value,height:0})};Nn(()=>{d.value&&t.setTextFormatPainter(null)});const Ae=()=>{a.value&&t.setEditorareaFocus(!1)},{scaleCanvas:ce}=zO(),fe=Yn.throttle(ce,100,{leading:!0,trailing:!1}),le=Yn.throttle(K,300,{leading:!0,trailing:!1}),j=oe=>{oe.preventDefault(),p.value?oe.deltaY>0?fe("-"):oe.deltaY<0&&fe("+"):oe.deltaY>0?le(At.DOWN):oe.deltaY<0&&le(At.UP)},X=()=>{t.setRulerState(!l.value)},{insertElementFromCreateSelection:J,formatCreateSelection:se}=XSe(g),ee=oe=>{const{start:he,end:ue,path:ge,viewBox:Re}=oe,Ee=se({start:he,end:ue});if(Ee){const Ne={};oe.fill&&(Ne.fill=oe.fill),oe.outline&&(Ne.outline=oe.outline),$(Ee,{path:ge,viewBox:Re},Ne)}t.setCreatingCustomShapeState(!1)},ne=()=>[{text:"粘贴",subText:"Ctrl + V",handler:Y},{text:"全选",subText:"Ctrl + A",handler:re},{text:"标尺",subText:l.value?"√":"",handler:X},{text:"网格线",handler:()=>t.setGridLineSize(s.value?0:50),children:[{text:"无",subText:s.value===0?"√":"",handler:()=>t.setGridLineSize(0)},{text:"小",subText:s.value===25?"√":"",handler:()=>t.setGridLineSize(25)},{text:"中",subText:s.value===50?"√":"",handler:()=>t.setGridLineSize(50)},{text:"大",subText:s.value===100?"√":"",handler:()=>t.setGridLineSize(100)}]},{text:"重置当前页",handler:B},{divider:!0},{text:"幻灯片放映",subText:"F5",handler:Q}];return a0(iy,f),(oe,he)=>{const ue=Fn("contextmenu"),ge=Fn("click-outside");return ze((U(),te("div",{class:"canvas",ref_key:"canvasRef",ref:S,onWheel:he[4]||(he[4]=Re=>j(Re)),onMousedown:he[5]||(he[5]=Re=>de(Re)),onDblclick:he[6]||(he[6]=Re=>G(Re))},[z(u)?(U(),_e(Y7e,{key:0,onCreated:he[0]||(he[0]=Re=>z(J)(Re))})):Ze("",!0),z(c)?(U(),_e(K7e,{key:1,onCreated:he[1]||(he[1]=Re=>ee(Re))})):Ze("",!0),V("div",{class:"viewport-wrapper",style:Le({width:z(w).width*z(f)+"px",height:z(w).height*z(f)+"px",left:z(w).left+"px",top:z(w).top+"px"})},[V("div",IFe,[(U(!0),te(We,null,tt(m.value,(Re,Ee)=>(U(),_e(Mee,{key:Ee,type:Re.type,axis:Re.axis,length:Re.length,canvasScale:z(f)},null,8,["type","axis","length","canvasScale"]))),128)),z(n).length>1?(U(),_e($7e,{key:0,elementList:A.value,scaleMultiElement:z(W)},null,8,["elementList","scaleMultiElement"])):Ze("",!0),(U(!0),te(We,null,tt(A.value,Re=>ze((U(),_e(N9e,{key:Re.id,elementInfo:Re,isSelected:z(n).includes(Re.id),isActive:z(i)===Re.id,isActiveGroupElement:z(r)===Re.id,isMultiSelect:z(n).length>1,rotateElement:z(D),scaleElement:z(I),openLinkDialog:R,dragLineElement:z(C),moveShapeKeypoint:z(Z)},null,8,["elementInfo","isSelected","isActive","isActiveGroupElement","isMultiSelect","rotateElement","scaleElement","dragLineElement","moveShapeKeypoint"])),[[uc,!z(o).includes(Re.id)]])),128)),O(I7e)]),V("div",{class:"viewport",ref_key:"viewportRef",ref:g,style:Le({transform:`scale(${z(f)})`})},[z(_)?(U(),_e(T7e,{key:0,top:z(M).top,left:z(M).left,width:z(M).width,height:z(M).height,quadrant:z(k)},null,8,["top","left","width","height","quadrant"])):Ze("",!0),(U(!0),te(We,null,tt(A.value,(Re,Ee)=>ze((U(),_e(M7e,{key:Re.id,elementInfo:Re,elementIndex:Ee+1,isMultiSelect:z(n).length>1,selectElement:z(F),openLinkDialog:R},null,8,["elementInfo","elementIndex","isMultiSelect","selectElement"])),[[uc,!z(o).includes(Re.id)]])),128))],4)],4),z(v)?(U(),te("div",NFe)):Ze("",!0),z(l)?(U(),_e(V7e,{key:3,viewportStyles:z(w),elementList:A.value},null,8,["viewportStyles","elementList"])):Ze("",!0),O(n0,{visible:y.value,"onUpdate:visible":he[3]||(he[3]=Re=>y.value=Re),width:540},{default:ie(()=>[O(PFe,{onClose:he[2]||(he[2]=Re=>y.value=!1)})]),_:1},8,["visible"])],32)),[[ue,ne],[ge,Ae]])}}}),EFe=Be(FFe,[["__scopeId","data-v-904dbab0"]]),XFe={class:"shape-item-thumbnail"},WFe={class:"shape-content"},VFe={overflow:"visible",width:"18",height:"18"},DFe=["transform"],UFe=["fill","stroke","d"],BFe=Xe({__name:"ShapeItemThumbnail",props:{shape:{}},setup(e){return(t,n)=>(U(),te("div",XFe,[V("div",WFe,[(U(),te("svg",VFe,[V("g",{transform:`scale(${18/t.shape.viewBox[0]}, ${18/t.shape.viewBox[1]}) translate(0,0) matrix(1,0,0,1,0,0)`},[V("path",{class:$e(["shape-path",{outlined:t.shape.outlined}]),"vector-effect":"non-scaling-stroke","stroke-linecap":"butt","stroke-miterlimit":"8",fill:t.shape.outlined?"#999":"transparent",stroke:t.shape.outlined?"transparent":"#999","stroke-width":"2",d:t.shape.path},null,10,UFe)],8,DFe)]))])]))}}),Nee=Be(BFe,[["__scopeId","data-v-2896ae03"]]),YFe={class:"shape-pool"},ZFe={class:"category-name"},QFe={class:"shape-list"},HFe=Xe({__name:"ShapePool",emits:["select"],setup(e,{emit:t}){const n=t,r=i=>{n("select",i)};return(i,o)=>(U(),te("div",YFe,[(U(!0),te(We,null,tt(z(ZO),a=>(U(),te("div",{class:"category",key:a.type},[V("div",ZFe,vt(a.type),1),V("div",QFe,[(U(!0),te(We,null,tt(a.children,(s,l)=>(U(),_e(Nee,{class:"shape-item",key:l,shape:s,onClick:u=>r(s)},null,8,["shape","onClick"]))),128))])]))),128))]))}}),KFe=Be(HFe,[["__scopeId","data-v-d92f642a"]]),GFe=[{type:"直线",children:[{path:"M 0 0 L 20 20",style:"solid",points:["",""]},{path:"M 0 0 L 20 20",style:"dashed",points:["",""]},{path:"M 0 0 L 20 20",style:"solid",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"dashed",points:["","arrow"]},{path:"M 0 0 L 20 20",style:"solid",points:["","dot"]}]},{type:"折线、曲线",children:[{path:"M 0 0 L 0 20 L 20 20",style:"solid",points:["","arrow"],isBroken:!0},{path:"M 0 0 L 10 0 L 10 20 L 20 20",style:"solid",points:["","arrow"],isBroken2:!0},{path:"M 0 0 Q 0 20 20 20",style:"solid",points:["","arrow"],isCurve:!0},{path:"M 0 0 C 20 0 0 20 20 20",style:"solid",points:["","arrow"],isCubic:!0}]}],zFe={class:"line-pool"},JFe={class:"category-name"},$Fe={class:"line-list"},jFe=["onClick"],qFe={overflow:"visible",width:"20",height:"20"},eEe=["d","stroke-dasharray","marker-start","marker-end"],tEe=Xe({__name:"LinePool",emits:["select"],setup(e,{emit:t}){const n=t,r=i=>{n("select",i)};return(i,o)=>(U(),te("div",zFe,[(U(!0),te(We,null,tt(z(GFe),(a,s)=>(U(),te("div",{class:"category",key:a.type},[V("div",JFe,vt(a.type),1),V("div",$Fe,[(U(!0),te(We,null,tt(a.children,(l,u)=>(U(),te("div",{class:"line-item",key:u},[V("div",{class:"line-content",onClick:c=>r(l)},[(U(),te("svg",qFe,[V("defs",null,[l.points[0]?(U(),_e(Kf,{key:0,class:"line-marker",id:`preset-line-${s}-${u}`,position:"start",type:l.points[0],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0),l.points[1]?(U(),_e(Kf,{key:1,class:"line-marker",id:`preset-line-${s}-${u}`,position:"end",type:l.points[1],color:"currentColor",baseSize:2},null,8,["id","type"])):Ze("",!0)]),V("path",{class:"line-path",d:l.path,stroke:"currentColor",fill:"none","stroke-width":"2","stroke-dasharray":l.style==="solid"?"0, 0":"4, 1","marker-start":l.points[0]?`url(#${`preset-line-${s}-${u}`}-${l.points[0]}-start)`:"","marker-end":l.points[1]?`url(#${`preset-line-${s}-${u}`}-${l.points[1]}-end)`:""},null,8,eEe)]))],8,jFe)]))),128))])]))),128))]))}}),nEe=Be(tEe,[["__scopeId","data-v-fd42a3c4"]]),rEe={class:"chart-pool"},iEe=["onClick"],oEe={class:"name"},aEe=Xe({__name:"ChartPool",emits:["select"],setup(e,{emit:t}){const n=t,r=["bar","column","line","area","scatter","pie","ring","radar"],i=o=>{n("select",o)};return(o,a)=>{const s=Se("IconChartLine"),l=Se("IconChartHistogram"),u=Se("IconChartPie"),c=Se("IconChartHistogramOne"),f=Se("IconChartLineArea"),d=Se("IconChartRing"),h=Se("IconChartScatter"),p=Se("IconRadarChart");return U(),te("ul",rEe,[(U(),te(We,null,tt(r,(v,g)=>V("li",{class:"chart-item",key:g},[V("div",{class:"chart-content",onClick:m=>i(v)},[v==="line"?(U(),_e(s,{key:0,size:"24"})):v==="bar"?(U(),_e(l,{key:1,size:"24"})):v==="pie"?(U(),_e(u,{key:2,size:"24"})):v==="column"?(U(),_e(c,{key:3,size:"24"})):v==="area"?(U(),_e(f,{key:4,size:"24"})):v==="ring"?(U(),_e(d,{key:5,size:"24"})):v==="scatter"?(U(),_e(h,{key:6,size:"24"})):v==="radar"?(U(),_e(p,{key:7,size:"23"})):Ze("",!0),V("div",oEe,vt(z(LT)[v]),1)],8,iEe)])),64))])}}}),sEe=Be(aEe,[["__scopeId","data-v-55770a5d"]]),Fee=e=>(en("data-v-ba8ef208"),e=e(),tn(),e),lEe={class:"prefix"},uEe={class:"input-wrap"},cEe=["disabled","placeholder"],fEe={class:"handlers"},dEe=Fee(()=>V("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[V("path",{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"})],-1)),hEe=[dEe],pEe=Fee(()=>V("svg",{fill:"currentColor",width:"1em",height:"1em",viewBox:"64 64 896 896"},[V("path",{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"})],-1)),vEe=[pEe],gEe={class:"suffix"},mEe=Xe({__name:"NumberInput",props:{value:{},disabled:{type:Boolean,default:!1},placeholder:{default:""},min:{default:0},max:{default:1/0},step:{default:1}},emits:["update:value","input","change","blur","focus","enter"],setup(e,{emit:t}){const n=e,r=t,i=pe(0),o=pe(!1);Ot(()=>n.value,()=>{n.value!==i.value&&(i.value=n.value)},{immediate:!0}),Ot(i,()=>{const c=+i.value;if(!isNaN(c)){{if(c>n.max)return;if(c{let c=+i.value;isNaN(c)?c=n.min:c>n.max?c=n.max:c{a(),r("enter",c)},l=c=>{a(),o.value=!1,r("blur",c)},u=c=>{o.value=!0,r("focus",c)};return(c,f)=>(U(),te("div",{class:$e(["number-input",{disabled:c.disabled,focused:o.value}])},[V("span",lEe,[ar(c.$slots,"prefix",{},void 0,!0)]),V("div",uEe,[ze(V("input",{type:"text",disabled:c.disabled,"onUpdate:modelValue":f[0]||(f[0]=d=>i.value=d),placeholder:c.placeholder,onInput:f[1]||(f[1]=d=>r("input",d)),onFocus:f[2]||(f[2]=d=>u(d)),onBlur:f[3]||(f[3]=d=>l(d)),onChange:f[4]||(f[4]=d=>r("change",d)),onKeydown:f[5]||(f[5]=du(d=>s(d),["enter"]))},null,40,cEe),[[Dm,i.value]]),V("div",fEe,[V("span",{class:"handler",onClick:f[6]||(f[6]=d=>i.value+=c.step)},hEe),V("span",{class:"handler",onClick:f[7]||(f[7]=d=>i.value-=c.step)},vEe)])]),V("span",gEe,[ar(c.$slots,"suffix",{},void 0,!0)])],2))}}),qo=Be(mEe,[["__scopeId","data-v-ba8ef208"]]),Eee=e=>(en("data-v-dcc16f05"),e=e(),tn(),e),yEe={class:"table-generator"},AEe={class:"title"},REe={class:"lef"},bEe=["onMouseenter"],xEe={key:1,class:"custom"},SEe={class:"row"},wEe=Eee(()=>V("div",{class:"label",style:{width:"25%"}},"行数:",-1)),MEe={class:"row"},LEe=Eee(()=>V("div",{class:"label",style:{width:"25%"}},"列数:",-1)),TEe={class:"btns"},_Ee=Xe({__name:"TableGenerator",emits:["insert","close"],setup(e,{emit:t}){const n=t,r=pe([]),i=pe(3),o=pe(3),a=pe(!1),s=()=>{if(!r.value.length)return;const[c,f]=r.value;n("insert",{row:c,col:f})},l=()=>{if(i.value<1||i.value>20||o.value<1||o.value>20)return gn.warning("行数/列数必须在0~20之间!");n("insert",{row:i.value,col:o.value}),a.value=!1},u=()=>{n("close"),a.value=!1};return(c,f)=>(U(),te("div",yEe,[V("div",AEe,[V("div",REe,"表格 "+vt(r.value.length?`${r.value[0]} x ${r.value[1]}`:""),1),V("div",{class:"right",onClick:f[0]||(f[0]=d=>a.value=!a.value)},vt(a.value?"返回":"自定义"),1)]),a.value?(U(),te("div",xEe,[V("div",SEe,[wEe,O(qo,{min:1,max:20,value:i.value,"onUpdate:value":f[3]||(f[3]=d=>i.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",MEe,[LEe,O(qo,{min:1,max:20,value:o.value,"onUpdate:value":f[4]||(f[4]=d=>o.value=d),style:{width:"75%"}},null,8,["value"])]),V("div",TEe,[O(et,{class:"btn",onClick:f[5]||(f[5]=d=>u())},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",type:"primary",onClick:f[6]||(f[6]=d=>l())},{default:ie(()=>[Ue("确认")]),_:1})])])):(U(),te("table",{key:0,onMouseleave:f[1]||(f[1]=d=>r.value=[]),onClick:f[2]||(f[2]=d=>s())},[V("tbody",null,[(U(),te(We,null,tt(10,d=>V("tr",{key:d},[(U(),te(We,null,tt(10,h=>V("td",{onMouseenter:p=>r.value=[d,h],key:h},[V("div",{class:$e(["cell",{active:r.value.length&&d<=r.value[0]&&h<=r.value[1]}])},null,2)],40,bEe)),64))])),64))])],32))]))}}),OEe=Be(_Ee,[["__scopeId","data-v-dcc16f05"]]),kEe={class:"media-input"},PEe={class:"btns"},CEe={class:"btns"},IEe=Xe({__name:"MediaInput",emits:["insertVideo","insertAudio","close"],setup(e,{emit:t}){const n=t,r=pe("video"),i=pe("https://mazwai.com/videvo_files/video/free/2019-01/small_watermarked/181004_04_Dolphins-Whale_06_preview.webm"),o=pe("https://freesound.org/data/previews/614/614107_11861866-lq.mp3"),a=[{key:"video",label:"视频"},{key:"audio",label:"音频"}],s=()=>{if(!i.value)return gn.error("请先输入正确的视频地址");n("insertVideo",i.value)},l=()=>{if(!o.value)return gn.error("请先输入正确的音频地址");n("insertAudio",o.value)};return(u,c)=>(U(),te("div",kEe,[O(hl,{tabs:a,value:r.value,"onUpdate:value":c[0]||(c[0]=f=>r.value=f),tabsStyle:{marginBottom:"15px"}},null,8,["value"]),r.value==="video"?(U(),te(We,{key:0},[O(fc,{value:i.value,"onUpdate:value":c[1]||(c[1]=f=>i.value=f),placeholder:"请输入视频地址,e.g. https://xxx.mp4"},null,8,["value"]),V("div",PEe,[O(et,{onClick:c[2]||(c[2]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:c[3]||(c[3]=f=>s())},{default:ie(()=>[Ue("确认")]),_:1})])],64)):Ze("",!0),r.value==="audio"?(U(),te(We,{key:1},[O(fc,{value:o.value,"onUpdate:value":c[4]||(c[4]=f=>o.value=f),placeholder:"请输入音频地址,e.g. https://xxx.mp3"},null,8,["value"]),V("div",CEe,[O(et,{onClick:c[5]||(c[5]=f=>n("close")),style:{"margin-right":"10px"}},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{type:"primary",onClick:c[6]||(c[6]=f=>l())},{default:ie(()=>[Ue("确认")]),_:1})])],64)):Ze("",!0)]))}}),NEe=Be(IEe,[["__scopeId","data-v-999b18ca"]]);var XR=82;function Np(e){return b_[e]==null&&FEe(e),b_[e]}function FEe(e){var t=EEe[e];if(t!=null){for(var n=t.substring(3,5),r=1*n.charCodeAt(0)-XR,i=1*n.charCodeAt(1)-XR,o=t.substring(5),a=[[]],s=1/0,l=-1/0,u=1/0,c=-1/0,f=0;ff>RfR",797:" 3D`D``D",798:" 3RRR>Rf",799:" 3D`DD``",800:" 3D`DR`R",801:" 3F^FY^K",802:" 3KYK^YF",803:" 3RRRDR`",804:" 3KYKFY^",805:" 3F^FK^Y",806:" 3KYKRYR",807:" 3MWMWWM",808:" 3RRRKRY",809:" 3MWMMWW",810:" 8GRRGPGMHJJHMGPGR",811:" 8GRGRGTHWJZM\\P]R]",812:" 8R]R]T]W\\ZZ\\W]T]R",813:" 8R]]R]P\\MZJWHTGRG",814:" 9D`DOGQKSPTTTYS]Q`O",815:" 9PUUDSGQKPPPTQYS]U`",816:" 9OTODQGSKTPTTSYQ]O`",817:" 9D`DUGSKQPPTPYQ]S`U",818:" 5KYRJYNKVRZ",819:" 5JZJRNKVYZR",820:" 5KYKVKNYVYN",821:" 5JZLXJPZTXL",822:" 23JZJ]L]O\\Q[TXUVVSVOULTJSIQIPJOLNONSOVPXS[U\\X]Z]",823:" 23I]]Z]X\\U[SXPVOSNONLOJPIQISJTLUOVSVVUXT[Q\\O]L]J",824:" 23JZZGXGUHSIPLONNQNUOXPZQ[S[TZUXVUVQUNTLQIOHLGJG",825:" 23G[GJGLHOIQLTNUQVUVXUZT[S[QZPXOUNQNNOLPISHUGXGZ",826:" 21E[EPFRHTJUMVQVUUXSZP[NZLWLSMQNNPLSKVKYL\\M^",827:" 19EYETHVKWPWSVVTXQYNYLXKVKSLPNNQMTMYN\\P_",828:" 26OUQOOQOSQUSUUSUQSOQO RQPPQPSQTSTTSTQSPQP RRQQRRSSRRQ",829:" 11RWRMSMUNVOWQWSVUUVSWRW",830:" 9D`DRJR RORUR RZR`R",831:" 5D`DUDO`O`U",832:" 6JZRDJR RRDZR",833:" 9D`DR`R RJYZY RP`T`",834:" 9D`DR`R RDRRb R`RRb",840:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",841:" 6LXLLLXXXXLLL",842:" 5KYRJKVYVRJ",843:" 6LXRHLRR\\XRRH",844:" 12JZRIPOJOOSMYRUWYUSZOTORI",845:" 6KYRKRY RKRYR",846:" 6MWMMWW RWMMW",847:" 9MWRLRX RMOWU RWOMU",850:" 35NVQNOONQNSOUQVSVUUVSVQUOSNQN ROQOS RPPPT RQOQU RRORU RSOSU RTPTT RUQUS",851:" 27NVNNNVVVVNNN ROOOU RPOPU RQOQU RRORU RSOSU RTOTU RUOUU",852:" 17MWRLMUWURL RROOT RROUT RRRQT RRRST",853:" 17LULRUWUMLR RORTU RORTO RRRTS RRRTQ",854:" 17MWRXWOMORX RRUUP RRUOP RRRSP RRRQP",855:" 17OXXROMOWXR RURPO RURPU RRRPQ RRRPS",856:" 22LXRLNWXPLPVWRL RRRRL RRRLP RRRNW RRRVW RRRXP",857:" 11RYRKRY RRKYNRQ RSMVNSO",860:" 13MWRLRX ROOUO RMUOWQXSXUWWU",861:" 11LXRLRX RLQMOWOXQ RPWTW",862:" 14KYMNWX RWNMX ROLLOKQ RULXOYQ",863:" 18I[NII[ RVI[[ RMM[[ RWMI[ RNIVI RMMWM",864:" 21I[RGRV RMJWP RWJMP RIVL\\ R[VX\\ RIV[V RL\\X\\",865:" 11G[MJSV RKPSL RG\\[\\[RG\\",866:" 14LXPLPPLPLTPTPXTXTTXTXPTPTLPL",867:" 32KYYPXNVLSKQKNLLNKQKSLVNXQYSYVXXVYT RYPWNUMSMQNPOOQOSPUQVSWUWWVYT",868:" 10KYRJKVYVRJ RRZYNKNRZ",869:" 34G]PIPGQFSFTGTI RGZHXJVKTLPLKMJOIUIWJXKXPYTZV\\X]Z RGZ]Z RQZP[Q\\S\\T[SZ",870:" 64JZRMRS RRSQ\\ RRSS\\ RQ\\S\\ RRMQJPHNG RQJNG RRMSJTHVG RSJVG RRMNKLKJM RPLLLJM RRMVKXKZM RTLXLZM RRMPNOOOR RRMPOOR RRMTNUOUR RRMTOUR",871:" 94JZRIRK RRNRP RRSRU RRYQ\\ RRYS\\ RQ\\S\\ RRGQIPJ RRGSITJ RPJRITJ RRKPNNOMN RRKTNVOWN RNOPORNTOVO RRPPSNTLTKRKSLT RRPTSVTXTYRYSXT RNTPTRSTTVT RRUPXOYMZLZKYJWJYLZ RRUTXUYWZXZYYZWZYXZ RMZOZRYUZWZ",872:" 40JZRYQ\\ RRYS\\ RQ\\S\\ RRYUZXZZXZUYTWTYRZOYMWLUMVJUHSGQGOHNJOMMLKMJOKRMTKTJUJXLZOZRY",873:" 32JZRYQ\\ RRYS\\ RQ\\S\\ RRYVXVVXUXRZQZLYIXHVHTGPGNHLHKIJLJQLRLUNVNXRY",874:" 15I[IPKR RLKNP RRGRO RXKVP R[PYR",899:" 6QSRQQRRSSRRQ",900:" 10PTQPPQPSQTSTTSTQSPQP",901:" 14NVQNOONQNSOUQVSVUUVSVQUOSNQN",902:" 18MWQMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM",903:" 18KYQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",904:" 22G]PGMHJJHMGPGTHWJZM\\P]T]W\\ZZ\\W]T]P\\MZJWHTGPG",905:" 34AcPALBJCGEEGCJBLAPATBXCZE]G_JaLbPcTcXbZa]__]aZbXcTcPbLaJ_G]EZCXBTAPA",906:" 34fRAPCMDJDGCEA>H@JAMAZB]D_G`M`PaRc RRATCWDZD]C_AfHdJcMcZb]`_]`W`TaRc",909:" 33AcRAPCMDJDGCEABGAKAPBTDXG\\L`Rc RRATCWDZD]C_AbGcKcPbT`X]\\X`Rc RBHbH",997:" 3MWMXWX",998:" 3JZJZZZ",999:" 3JZJ]Z]",1001:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1002:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1003:" 24KYVLWKWOVLTKQKOLNMMPMSNVOWQXTXVWWU RQKOMNPNSOVQX",1004:" 26JZNKNX ROKOX RLKSKVLWMXPXSWVVWSXLX RSKULVMWPWSVVUWSX",1005:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1006:" 20JXNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXQX",1007:" 36K[VLWKWOVLTKQKOLNMMPMSNVOWQXTXVW RQKOMNPNSOVQX RTXUWVU RVSVX RWSWX RTSYS",1008:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1009:" 12NWRKRX RSKSX RPKUK RPXUX",1010:" 19LXSKSURWQX RTKTUSWQXPXNWMUNTOUNV RQKVK",1011:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1012:" 14KXOKOX RPKPX RMKRK RMXWXWTVX",1013:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1014:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1015:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1016:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1017:" 47KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RPWPUQTSTTUUZV[W[XZ RTUUXVZW[",1018:" 37JZNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX RSRTSUWVXWXXW RSRUSVWWX",1019:" 32KZVMWKWOVMULSKQKOLNMNOOPQQTRVSWT RNNOOQPTQVRWSWVVWTXRXPWOVNTNXOV",1020:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1021:" 20J[NKNUOWQXTXVWWUWK ROKOUPWQX RLKQK RUKYK",1022:" 15KYMKRX RNKRU RWKRX RKKPK RTKYK",1023:" 24I[LKOX RMKOT RRKOX RRKUX RSKUT RXKUX RJKOK RVKZK",1024:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1025:" 20LYNKRRRX ROKSR RWKSRSX RLKQK RTKYK RPXUX",1026:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1027:" 18KYRKMX RRNVX RRKWX ROTTT RKXPX RTXYX",1028:" 35JZNKNX ROKOX RLKSKVLWNVPSQ RSKULVNUPSQ ROQSQVRWTWUVWSXLX RSQURVTVUUWSX",1029:" 14KXOKOX RPKPX RMKWKWOVK RMXRX",1030:" 15KYRKLX RRMWX RRKXX RMWVW RLXXX",1031:" 22JYNKNX ROKOX RSOSS RLKVKVOUK ROQSQ RLXVXVTUX",1032:" 16LYVKNX RWKOX ROKNONKWK RNXWXWTVX",1033:" 27J[NKNX ROKOX RVKVX RWKWX RLKQK RTKYK ROQVQ RLXQX RTXYX",1034:" 44KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK RQOQT RTOTT RQQTQ RQRTR",1035:" 12NWRKRX RSKSX RPKUK RPXUX",1036:" 27JZNKNX ROKOX RWKOS RQQVX RRQWX RLKQK RTKYK RLXQX RTXYX",1037:" 15KYRKMX RRNVX RRKWX RKXPX RTXYX",1038:" 30I\\MKMX RNNRX RNKRU RWKRX RWKWX RXKXX RKKNK RWKZK RKXOX RUXZX",1039:" 21JZNKNX ROMVX ROKVV RVKVX RLKOK RTKXK RLXPX",1040:" 36JZMJLM RXJWM RPPOS RUPTS RMVLY RXVWY RMKWK RMLWL RPQTQ RPRTR RMWWW RMXWX",1041:" 32KZQKOLNMMPMSNVOWQXTXVWWVXSXPWMVLTKQK RQKOMNPNSOVQX RTXVVWSWPVMTK",1042:" 21J[NKNX ROKOX RVKVX RWKWX RLKYK RLXQX RTXYX",1043:" 25JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXQX",1044:" 20K[MKRQ RNKSQMX RMKWKXOVK RNWWW RMXWXXTVX",1045:" 16KZRKRX RSKSX RNKMOMKXKXOWK RPXUX",1046:" 33KZMONLOKPKQLRORX RXOWLVKUKTLSOSX RMONMOLPLQMRO RXOWMVLULTMSO RPXUX",1047:" 40KZRKRX RSKSX RQNNOMQMRNTQUTUWTXRXQWOTNQN RQNOONQNROTQU RTUVTWRWQVOTN RPKUK RPXUX",1048:" 21KZNKVX ROKWX RWKNX RLKQK RTKYK RLXQX RTXYX",1049:" 33J[RKRX RSKSX RLPMONOOSQU RTUVSWOXOYP RMONROTQUTUVTWRXO RPKUK RPXUX",1050:" 35KZMVNXQXMRMONMOLQKTKVLWMXOXRTXWXXV ROUNRNOOMQK RTKVMWOWRVU RNWPW RUWWW",1051:" 18KYTKKX RSMTX RTKUX RNTTT RIXNX RRXWX",1052:" 34JYPKLX RQKMX RNKUKWLWNVPSQ RUKVLVNUPSQ ROQRQTRUSUUTWQXJX RRQTSTUSWQX",1053:" 25KXVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUU RRKPMOONRNVPX",1054:" 26JYPKLX RQKMX RNKTKVLWNWQVTUVTWQXJX RTKULVNVQUTTVSWQX",1055:" 22JYPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXTXUUSX",1056:" 20JXPKLX RQKMX RSORS RNKXKWNWK ROQRQ RJXOX",1057:" 33KYVLWLXKWNVLTKRKPLOMNOMRMUNWPXRXTWUVVS RRKPMOONRNVPX RRXTVUS RSSXS",1058:" 27J[PKLX RQKMX RXKTX RYKUX RNKSK RVK[K ROQVQ RJXOX RRXWX",1059:" 12NWTKPX RUKQX RRKWK RNXSX",1060:" 19LXUKRUQWPX RVKSURWPXOXMWLUMTNUMV RSKXK",1061:" 27JZPKLX RQKMX RYKOR RRPTX RSPUX RNKSK RVK[K RJXOX RRXWX",1062:" 14KXQKMX RRKNX ROKTK RKXUXVUTX",1063:" 30I\\OKKX ROMPX RPKQV RYKPX RYKUX RZKVX RMKPK RYK\\K RIXMX RSXXX",1064:" 21JZPKLX RPKTX RQKTU RXKTX RNKQK RVKZK RJXNX",1065:" 32KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK",1066:" 24JYPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RJXOX",1067:" 46KYRKPLOMNOMRMUNWPXRXTWUVVTWQWNVLTKRK RRKPMOONRNVPX RRXTVUTVQVMTK ROWOVPUQURVRZS[T[UZ RRVSZT[",1068:" 35JZPKLX RQKMX RNKUKWLXMXOWQTROR RUKWMWOVQTR RSRTWUXVXWW RSRTSUWVX RJXOX",1069:" 28KZWLXLYKXNWLUKRKPLOMOOPPUSVT RONPOURVSVVUWSXPXNWMULXMWNW",1070:" 16KZTKPX RUKQX RPKNNOKZKYNYK RNXSX",1071:" 20J[PKMUMWOXSXUWVUYK RQKNUNWOX RNKSK RWK[K",1072:" 15KYOKPX RPKQV RYKPX RMKRK RVK[K",1073:" 24I[NKMX ROKNV RTKMX RTKSX RUKTV RZKSX RLKQK RXK\\K",1074:" 21KZPKTX RQKUX RYKLX RNKSK RVK[K RJXOX RRXWX",1075:" 20LYPKRQPX RQKSQ RYKSQQX RNKSK RVK[K RNXSX",1076:" 16LYXKLX RYKMX RQKONPKYK RLXUXVUTX",1101:" 32LZQOPPPQOQOPQOTOVQVWWXXX RTOUQUWWX RURRSPTOUOWPXSXTWUU RRSPUPWQX",1102:" 29JYNKNX ROKOX RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLKOK",1103:" 24LXVQUQURVRVQUPSOQOOPNRNUOWQXSXUWVV RQOPPOROUPWQX",1104:" 32L[VKVX RWKWX RVRUPSOQOOPNRNUOWQXSXUWVU RQOPPOROUPWQX RTKWK RVXYX",1105:" 26LXOSVSVRUPSOQOOPNRNUOWQXSXUWVV RUSUQSO RQOPPOROUPWQX",1106:" 20LWTKULUMVMVLTKRKPMPX RRKQMQX RNOSO RNXSX",1107:" 42LYQOOQOSQUSUUSUQSOQO RQOPQPSQU RSUTSTQSO RTPUOVO RPTOUOXPYTYVZ ROWPXTXVYV[T\\P\\N[NYPX",1108:" 28J[NKNX ROKOX RORPPROTOVPWRWX RTOUPVRVX RLKOK RLXQX RTXYX",1109:" 18NWRKRLSLSKRK RRORX RSOSX RPOSO RPXUX",1110:" 23NWSKSLTLTKSK RSOSZR\\ RTOTZR\\P\\O[OZPZP[O[ RQOTO",1111:" 27JZNKNX ROKOX RWOOU RRSVX RSSWX RLKOK RTOYO RLXQX RTXYX",1112:" 12NWRKRX RSKSX RPKSK RPXUX",1113:" 44F_JOJX RKOKX RKRLPNOPORPSRSX RPOQPRRRX RSRTPVOXOZP[R[X RXOYPZRZX RHOKO RHXMX RPXUX RXX]X",1114:" 28J[NONX ROOOX RORPPROTOVPWRWX RTOUPVRVX RLOOO RLXQX RTXYX",1115:" 28LYQOOPNRNUOWQXTXVWWUWRVPTOQO RQOPPOROUPWQX RTXUWVUVRUPTO",1116:" 32JYNON\\ ROOO\\ RORPPROTOVPWRWUVWTXRXPWOU RTOUPVRVUUWTX RLOOO RL\\Q\\",1117:" 29KYUOU\\ RVOV\\ RURTPROPONPMRMUNWPXRXTWUU RPOOPNRNUOWPX RS\\X\\",1118:" 22KXOOOX RPOPX RPRQPSOUOVPVQUQUPVP RMOPO RMXRX",1119:" 26LYTOUPUQVQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWOVPVPWQX",1120:" 14LWPKPVRXTXUWUV RQKQVRX RNOTO",1121:" 28J[NONUOWQXSXUWVU ROOOUPWQX RVOVX RWOWX RLOOO RTOWO RVXYX",1122:" 15KYNORX ROORV RVORX RLOQO RTOXO",1123:" 24I[LOOX RMOOU RROOX RROUX RSOUU RXOUX RJOOO RVOZO",1124:" 21KYNOUX ROOVX RVONX RLOQO RTOXO RLXPX RSXXX",1125:" 23KYNORX ROORV RVORXP[N\\M\\L[LZMZM[L[ RLOQO RTOXO",1126:" 16LXUONX RVOOX ROONQNOVO RNXVXVVUX",1127:" 32K[QOOPNQMSMUNWPXQXSWUUWRXO RQOOQNSNUOWPX RQOSOUPWWXX RSOTPVWXXYX",1128:" 40KXRKPMOOMUK\\ RQLPNNTL\\ RRKTKVLVNUPRQ RTKULUNTPRQ RRQTRUTUVTWRXQXOWNT RRQSRTTTVRX",1129:" 19KYLQNOPORPSSSXR\\ RLQNPPPRQSS RWOVRSXQ\\",1130:" 39KYSOQOOPNQMSMUNWPXRXTWUVVTVRUPRNQLQKRJTJUKVM RQOOQNSNVPX RRXTVUTUQSO RQLRKTKVM",1131:" 27LXVPTOQOOPOQPRRS RQOPPPQRS RRSOTNUNWPXSXUW RRSPTOUOWPX",1132:" 28LWRKQLQMSNVNVMSNPOOPNRNTOVPWRXSYS[R\\P\\O[ RSNQOPPOROTPVRX",1133:" 26IYJRKPLONOOPOQMX RMONPNQLX ROQPPROTOVPVRS\\ RTOUPURR\\",1134:" 35IYJSKQLPNPOQOVPX RMPNQNUOWPXQXSWTVUTVQVNULTKRKQLQNRPURWS RQXSVTTUQUNTK",1135:" 13NWROPVPWQXSXUWVU RSOQVQWRX",1136:" 26KYOOLX RPOMX RUOVPWPVOTORQOR RORPSRWTXVWWU RORQSSWTX",1137:" 15LXLKNKPLWX RNKOLVX RRPMX RRPNX",1138:" 26KZOOK\\ RPOL\\ RNUNWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1139:" 19JYNOMX ROONUMX RVRVOWOVRTUQWNXMX RLOOO",1140:" 36MXRKQLQMSNVN RTNQOPPPRRSUS RTNROQPQRRS RSSPTOUOWQXSYTZT[S\\Q\\ RSSQTPUPWQX",1141:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1142:" 20IZPPMX RPPNX RTPSX RTPTX RKQMOXO RKQMPXP",1143:" 29JXSOQOOPNQMSJ\\ RQOOQNSK\\ RSOUPVRVTUVTWRXPXNWMU RSOUQUTTVRX",1144:" 28K[YOQOOPNQMSMUNWPXRXTWUVVTVRUPYP RQOOQNSNVPX RRXTVUTUQSO",1145:" 14KZSPQX RSPRX RMQOOXO RMQOPXP",1146:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1147:" 35KZOPNQMSMUNWPXRXUWWUXRXPWOUOTPSRRUO\\ RMUNVPWRWUVWTXR RXQWPUPSR RRUQXP\\",1148:" 17KXMONOPPS[T\\ RNOOPR[T\\U\\ RVOTRNYL\\",1149:" 28I[TKQ\\ RUKP\\ RJRKPLONOOPOVPWSWUVWT RMONPNTOWPXSXUWWTXRYO",1150:" 36JZNPPPPONPMQLSLUMWNXPXQWRUSR RLUNWPWRU RRRRWSXUXWVXTXRWPVOVPWP RRUSWUWWV",1151:" 32KZVOTVTWUXWXXWYU RWOUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1152:" 32JXOKMR RPKNRNVPX RNROPQOSOUPVRVTUVTWRXPXNWMUMR RSOUQUTTVRX RMKPK",1153:" 22KXUPUQVQUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1154:" 35KZWKTVTWUXWXXWYU RXKUVUWVX RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RUKXK",1155:" 23KWNURTTSURUPSOQOOPNQMSMUNWPXRXTWUV RQOOQNSNVPX",1156:" 23MXWKXLXKVKTLSNPYO[N\\ RVKULTNQYP[N\\L\\L[M\\ RPOVO",1157:" 34KYVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX",1158:" 29KZPKLX RQKMX ROQPPROTOVPVRUUUWVX RTOUPURTUTWUXWXXWYU RNKQK",1159:" 26MWSKSLTLTKSK RNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1160:" 26MWTKTLULUKTK RORPPQOSOTPTRRYQ[O\\M\\M[N\\ RROSPSRQYP[O\\",1161:" 32KXPKLX RQKMX RVPUQVQVPUOTORQPROR RORPSQWRXTXUWVU RORQSRWSX RNKQK",1162:" 16NVSKPVPWQXSXTWUU RTKQVQWRX RQKTK",1163:" 46F^GRHPIOKOLPLQJX RJOKPKQIX RLQMPOOQOSPSQQX RQORPRQPX RSQTPVOXOZPZRYUYWZX RXOYPYRXUXWYX[X\\W]U",1164:" 33J[KRLPMOOOPPPQNX RNOOPOQMX RPQQPSOUOWPWRVUVWWX RUOVPVRUUUWVXXXYWZU",1165:" 28KXQOOPNQMSMUNWPXRXTWUVVTVRUPSOQO RQOOQNSNVPX RRXTVUTUQSO",1166:" 35JYKRLPMOOOPPPQM\\ RNOOPOQL\\ RPQROTOVPWRWTVVUWSXQXOVOT RTOVQVTUVSX RJ\\O\\",1167:" 28KYVOR\\ RWOS\\ RUSUQSOQOOPNQMSMUNWPXRXTV RQOOQNSNVPX RP\\U\\",1168:" 22LXMRNPOOQORPRQPX RPOQPQQOX RRQSPUOVOWPWQVQWP",1169:" 24LYVPVQWQVPTOQOOPORQSTTVU ROQQRTSVTVWTXQXOWNVOVOW",1170:" 16NWSKPVPWQXSXTWUU RTKQVQWRX RPOUO",1171:" 33IZJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVTWUXWXXWYU RWOUVUWVX",1172:" 24JXKRLPMOOOPPPROUOWPX RNOOPORNUNWPXQXSWUUVRVOUOVP",1173:" 37H\\IRJPKOMONPNRMUMWNX RLOMPMRLULWNXOXQWRV RTORVRWTX RUOSVSWTXUXWWYUZRZOYOZP",1174:" 38JZMRNPPOROSPSR RQORPRRQUPWNXMXLWLVMVLW RXPWQXQXPWOVOTPSRRURWSX RQUQWRXTXVWWU",1175:" 35IYJRKPLONOOPORNUNWOX RMONPNRMUMWOXQXSWTV RVOTVSYR[ RWOUVTYR[P\\M\\L[M[N\\",1176:" 27KYWOWPVQNVMWMX RNQOOROUQ ROPRPUQVQ RNVOVRWUW ROVRXUXVV",1177:" 39H[RKSLSMTMTLRKOKMLLNLX ROKNLMNMX RXKYLYMZMZLXKVKTMTX RVKUMUX RJOWO RJXOX RRXWX",1178:" 29J[UKVLWLWKQKOLNNNX RQKPLONOX RVOVX RWOWX RLOWO RLXQX RTXYX",1179:" 27J[WKQKOLNNNX RQKPLONOX RUKVLVX RWKWX RLOVO RLXQX RTXYX",1180:" 48F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX RYKZL[L[KUKSLRNRX RUKTLSNSX RZOZX R[O[X RHO[O RHXMX RPXUX RXX]X",1181:" 46F_PKQLQMRMRLPKMKKLJNJX RMKLLKNKX R[KUKSLRNRX RUKTLSNSX RYKZLZX R[K[X RHOZO RHXMX RPXUX RXX]X",1182:" 12NWRORX RSOSX RPOSO RPXUX",1184:" 21LXVPTOROPPOQNSNUOWQXSXUW RROPQOSOVQX ROSSS",1185:" 35LYSKQLPMOONRNUOWPXRXTWUVVTWQWNVLUKSK RSKQMPOOSOVPX RRXTVUTVPVMUK ROQVQ",1186:" 34KZTKQ\\ RUKP\\ RQONPMRMUNWQXTXWWXUXRWPTOQO RQOOPNRNUOWQX RTXVWWUWRVPTO",1187:" 22LXUPVRVQUPSOQOOPNRNTOVRX RQOOQOTPVRXSYS[R\\P\\",1191:" 45I[VKWLXLVKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RZK[L[KYKWLVNSYR[Q\\ RYKXLWNTYS[Q\\O\\O[P\\ RLOYO",1192:" 38IZVKWLXLXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RVOTVTWUXWXXWYU RWOUVUWVX RLOWO",1193:" 38IZVKWL RXKSKQLPMOOLYK[J\\ RSKQMPOMYL[J\\H\\H[I\\ RWKTVTWUXWXXWYU RXKUVUWVX RLOVO",1194:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L\\L\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ RZOXVXWYX[X\\W]U R[OYVYWZX RIO[O",1195:" 63F^SKTLTM RULSKPKNLMMLOIYH[G\\ RPKNMMOJYI[G\\E\\E[F\\ RZK[L R\\KWKUL RTMSOPYO[N\\ RWKUMTOQYP[N\\L\\L[M\\ R[KXVXWYX[X\\W]U R\\KYVYWZX RIOZO",1196:" 20MWNROPPOROSPSRRURWSX RQORPRRQUQWRXTXUWVU",1200:" 28LYQKOLNONTOWQXTXVWWTWOVLTKQK RQKPLOOOTPWQX RTXUWVTVOULTK",1201:" 10LYPNSKSX RRLRX ROXVX",1202:" 35LYOMONNNNMOLQKTKVLWNVPTQQROSNUNX RTKULVNUPTQ RNWOVPVSWVWWV RPVSXVXWVWU",1203:" 39LYOMONNNNMOLQKTKVLWNVPTQ RTKULVNUPTQ RRQTQVRWTWUVWTXQXOWNVNUOUOV RTQURVTVUUWTX",1204:" 13LYSMSX RTKTX RTKMTXT RQXVX",1205:" 33LYOKNQ ROKVK ROLSLVK RNQOPQOTOVPWRWUVWTXQXOWNVNUOUOV RTOUPVRVUUWTX",1206:" 36LYVMVNWNWMVLTKRKPLOMNPNUOWQXTXVWWUWSVQTPQPNR RRKPMOPOUPWQX RTXUWVUVSUQTP",1207:" 22LYNKNO RVMRTPX RWKTQQX RNMPKRKUM RNMPLRLUMVM",1208:" 51LYQKOLNNOPQQTQVPWNVLTKQK RQKPLONPPQQ RTQUPVNULTK RQQORNTNUOWQXTXVWWUWTVRTQ RQQPROTOUPWQX RTXUWVUVTURTQ",1209:" 36LYOVOUNUNVOWQXSXUWVVWSWNVLTKQKOLNNNPORQSTSWQ RSXUVVSVNULTK RQKPLONOPPRQS",1210:" 6NVRVQWRXSWRV",1211:" 8NVSWRXQWRVSWSYQ[",1212:" 12NVROQPRQSPRO RRVQWRXSWRV",1213:" 14NVROQPRQSPRO RSWRXQWRVSWSYQ[",1214:" 15NVRKQLRSSLRK RRLRO RRVQWRXSWRV",1215:" 29LYNNONOONONNOLQKTKVLWNWOVQSRRSRTST RTKVMVPUQSR RRWRXSXSWRW",1216:" 6OVRKRP RSKRP",1217:" 12LXOKOP RPKOP RUKUP RVKUP",1218:" 10MWQKPLPNQOSOTNTLSKQK",1219:" 9MWRJRP ROKUO RUKOO",1220:" 3KZXHM\\",1221:" 16MWUHSJQMPPPTQWSZU\\ RSJRLQPQTRXSZ",1222:" 16MWOHQJSMTPTTSWQZO\\ RQJRLSPSTRXQZ",1223:" 12MWPHP\\ RQHQ\\ RPHUH RP\\U\\",1224:" 12MWSHS\\ RTHT\\ ROHTH RO\\T\\",1225:" 38LWSHQIPJPLRNSP RQIPL RSNRQ RPJQLSNSPRQPRRSSTSVQXPZ RRSSV RPXQ[ RSTRVPXPZQ[S\\",1226:" 38MXQHSITJTLRNQP RSITL RQNRQ RTJSLQNQPRQTRRSQTQVSXTZ RRSQV RTXS[ RQTRVTXTZS[Q\\",1227:" 4MWTHPRT\\",1228:" 4MWPHTRP\\",1229:" 3OURHR\\",1230:" 6MWPHP\\ RTHT\\",1231:" 3I[LRXR",1232:" 6I[RLRX RLRXR",1233:" 9JZRMRX RMRWR RMXWX",1234:" 9JZRMRX RMMWM RMRWR",1235:" 6JZMMWW RWMMW",1236:" 6NVRQQRRSSRRQ",1237:" 15I[RLQMRNSMRL RLRXR RRVQWRXSWRV",1238:" 6I[LPXP RLTXT",1239:" 9I[WLMX RLPXP RLTXT",1240:" 9I[LNXN RLRXR RLVXV",1241:" 4JZWLMRWX",1242:" 4JZMLWRMX",1243:" 10JZWKMOWS RMTWT RMXWX",1244:" 10JZMKWOMS RMTWT RMXWX",1245:" 21H[YUWUUTTSRPQOONNNLOKQKRLTNUOUQTRSTPUOWNYN",1246:" 16JZLTLRMPOPUSWSXR RLRMQOQUTWTXRXP",1247:" 8JZMSRPWS RMSRQWS",1248:" 7NVSKPO RSKTLPO",1249:" 7NVQKTO RQKPLTO",1250:" 14LXNKOMQNSNUMVK RNKONQOSOUNVK",1251:" 8NVSLRMQLRKSLSNQP",1252:" 8NVSKQMQORPSORNQO",1253:" 8NVQLRMSLRKQLQNSP",1254:" 8NVQKSMSORPQORNSO",1256:" 11JZWMQMONNOMQMSNUOVQWWW",1257:" 11JZMMMSNUOVQWSWUVVUWSWM",1258:" 11JZMMSMUNVOWQWSVUUVSWMW",1259:" 11JZMWMQNOONQMSMUNVOWQWW",1260:" 14JZWMQMONNOMQMSNUOVQWWW RMRUR",1261:" 13I[TOUPXRUTTU RUPWRUT RLRWR",1262:" 13MWRMRX ROPPORLTOUP RPORMTO",1263:" 13I[POOPLROTPU ROPMROT RMRXR",1264:" 13MWRLRW ROTPURXTUUT RPURWTU",1265:" 37KYVSUPSOQOOPNQMSMUNWPXRXTWUVVTWQWNVLTKQKPLQLRK RQOOQNSNVPX RRXTVUTVQVNULTK",1266:" 15JZLKRX RMKRV RXKRX RLKXK RNLWL",1267:" 10G[IOLORW RKORX R[FRX",1268:" 26I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[",1269:" 40I[XIXJYJYIXHVHTJSLROQUPYO[ RUITKSORUQXPZN\\L\\K[KZLZL[ RQNOONQNSOUQVSVUUVSVQUOSNQN",1270:" 26H\\ZRYTWUVUTTSSQPPONNMNKOJQJRKTMUNUPTQSSPTOVNWNYOZQZR",1271:" 26JZXKLX ROKPLPNOOMOLNLLMKOKSLVLXK RUTTUTWUXWXXWXUWTUT",1272:" 41J[YPXPXQYQYPXOWOVPUTTVSWQXOXMWLVLTMSORRPSNSLRKPKOLONPQUWWXXXYW ROXMVMTOR RONPPVWWX",1273:" 29J[UPSOQOPQPRQTSTUS RUOUSVTXTYRYQXNVLSKRKOLMNLQLRMUOWRXSXVW",1274:" 34KZQHQ\\ RTHT\\ RWLVLVMWMWLUKPKNLNNOPVSWT RNNOOVRWTWVVWTXQXOWNVNUOUOVNV",1275:" 12KYRKN\\ RVKR\\ RNQWQ RMVVV",1276:" 40LXTLSLSMTMTLSKQKPLPNQPTRUS RPNQOTQUSUUSW RQPOROTPVSXTY ROTPUSWTYT[S\\Q\\P[PZQZQ[P[",1277:" 29LXRKQLRMSLRK RRMRQ RRQQSRVSSRQ RRVR\\ RPOONNOOPPOTOUNVOUPTO",1278:" 42LXRMSLRKQLRMRQQRSURV RRQSRQURVRZQ[R\\S[RZ RPOONNOOPPOTOUNVOUPTO RPXOWNXOYPXTXUWVXUYTX",1279:" 12LYVKVX RNKVK RQQVQ RNXVX",1281:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRQQRRSSRRQ",1282:" 33LYQKPLPMQN RTKULUMTN RRNPOOQORPTRUSUUTVRVQUOSNRN RRURY RSUSY ROWVW",1283:" 23LYRKPLONOOPQRRSRUQVOVNULSKRK RRRRX RSRSX ROUVU",1284:" 24H\\QKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK RRKRY RKRYR",1285:" 25JYRRPQOQMRLTLUMWOXPXRWSUSTRR RWMRR RRMWMWR RRMVNWR",1286:" 25JZLLMKOKQLRNRPQRPSNT ROKPLQNQQPS RVKUX RWKTX RNTXT",1287:" 27JYNKNU ROKNR RNROPQOSOUPVQVTTVTXUYVYWX RSOUQUTTV RLKOK",1288:" 27LYONRKRQ RVNSKSQ RRQPROTOUPWRXSXUWVUVTURSQ RRTRUSUSTRT",1289:" 27JZRKRY RMKMPNRPSTSVRWPWK RLMMKNM RQMRKSM RVMWKXM ROVUV",1290:" 27JYNKNX ROKOX RLKSKVLWNWOVQSROR RSKULVNVOUQSR RLXVXVUUX",1291:" 20LYWKTKQLONNQNSOVQXTYWY RWKTLRNQQQSRVTXWY",1292:" 23JZRRPQOQMRLTLUMWOXPXRWSUSTRR RSLQQ RWMRR RXQSS",1293:" 12KYPMTW RTMPW RMPWT RWPMT",1294:" 34J[OUMULVLXMYOYPXPVNTMRMONMOLQKTKVLWMXOXRWTUVUXVYXYYXYVXUVU RNMPLULWM",1295:" 34J[OOMOLNLLMKOKPLPNNPMRMUNWOXQYTYVXWWXUXRWPUNULVKXKYLYNXOVO RNWPXUXWW",1401:" 21F^KHK\\ RLHL\\ RXHX\\ RYHY\\ RHH\\H RH\\O\\ RU\\\\\\",1402:" 20H]KHRQJ\\ RJHQQ RJHYHZMXH RK[X[ RJ\\Y\\ZWX\\",1403:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",1404:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",1405:" 12KYOBOb RPBPb ROBVB RObVb",1406:" 12KYTBTb RUBUb RNBUB RNbUb",1407:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",1408:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",1409:" 24KYU@RCPFOIOLPOSVTYT\\S_Ra RRCQEPHPKQNTUUXU[T^RaOd",1410:" 24KYO@RCTFUIULTOQVPYP\\Q_Ra RRCSETHTKSNPUOXO[P^RaUd",1411:" 13AXCRGRR` RGSRa RFSRb RX:Rb",1412:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2001:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2002:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2003:" 32G\\XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXXYV RQFOGMILKKNKSLVMXOZQ[",2004:" 30G]LFL[ RMFM[ RIFSFVGXIYKZNZSYVXXVZS[I[ RSFUGWIXKYNYSXVWXUZS[",2005:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2006:" 20G[LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[P[",2007:" 40G^XIYLYFXIVGSFQFNGLIKKJNJSKVLXNZQ[S[VZXX RQFOGMILKKNKSLVMXOZQ[ RXSX[ RYSY[ RUS\\S",2008:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2009:" 12MXRFR[ RSFS[ ROFVF RO[V[",2010:" 20KZUFUWTZR[P[NZMXMVNUOVNW RTFTWSZR[ RQFXF",2011:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2012:" 14I[NFN[ ROFO[ RKFRF RK[Z[ZUY[",2013:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2014:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2015:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2016:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2017:" 64G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF RNYNXOVQURUTVUXV_W`Y`Z^Z] RUXV\\W^X_Y_Z^",2018:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUPMP RUFWGXHYJYLXNWOUP RI[P[ RRPTQURXYYZZZ[Y RTQUSWZX[Z[[Y[X",2019:" 34H\\XIYFYLXIVGSFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[Q[NZLXKUK[LX",2020:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2021:" 23F^KFKULXNZQ[S[VZXXYUYF RLFLUMXOZQ[ RHFOF RVF\\F",2022:" 15H\\KFR[ RLFRX RYFR[ RIFOF RUF[F",2023:" 24F^JFN[ RKFNV RRFN[ RRFV[ RSFVV RZFV[ RGFNF RWF]F",2024:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2025:" 20H]KFRQR[ RLFSQS[ RZFSQ RIFOF RVF\\F RO[V[",2026:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2027:" 18H\\RFK[ RRFY[ RRIX[ RMUVU RI[O[ RU[[[",2028:" 45G]LFL[ RMFM[ RIFUFXGYHZJZLYNXOUP RUFWGXHYJYLXNWOUP RMPUPXQYRZTZWYYXZU[I[ RUPWQXRYTYWXYWZU[",2029:" 14I[NFN[ ROFO[ RKFZFZLYF RK[R[",2030:" 15H\\RFJ[ RRFZ[ RRIY[ RKZYZ RJ[Z[",2031:" 22G\\LFL[ RMFM[ RSLST RIFYFYLXF RMPSP RI[Y[YUX[",2032:" 16H\\XFK[ RYFL[ RLFKLKFYF RK[Y[YUX[",2033:" 27F^KFK[ RLFL[ RXFX[ RYFY[ RHFOF RUF\\F RLPXP RH[O[ RU[\\[",2034:" 56G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF ROMOT RUMUT ROPUP ROQUQ",2035:" 12MXRFR[ RSFS[ ROFVF RO[V[",2036:" 27F\\KFK[ RLFL[ RYFLS RQOY[ RPOX[ RHFOF RUF[F RH[O[ RU[[[",2037:" 15H\\RFK[ RRFY[ RRIX[ RI[O[ RU[[[",2038:" 30F_KFK[ RLFRX RKFR[ RYFR[ RYFY[ RZFZ[ RHFLF RYF]F RH[N[ RV[][",2039:" 21G^LFL[ RMFYY RMHY[ RYFY[ RIFMF RVF\\F RI[O[",2040:" 36G]KEJJ RZEYJ RONNS RVNUS RKWJ\\ RZWY\\ RKGYG RKHYH ROPUP ROQUQ RKYYY RKZYZ",2041:" 44G]QFNGLIKKJOJRKVLXNZQ[S[VZXXYVZRZOYKXIVGSFQF RQFOGMILKKOKRLVMXOZQ[ RS[UZWXXVYRYOXKWIUGSF",2042:" 21F^KFK[ RLFL[ RXFX[ RYFY[ RHF\\F RH[O[ RU[\\[",2043:" 29G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[P[",2044:" 20H]KFRPJ[ RJFQP RJFYFZLXF RKZXZ RJ[Y[ZUX[",2045:" 16I\\RFR[ RSFS[ RLFKLKFZFZLYF RO[V[",2046:" 33I\\KKKILGMFOFPGQIRMR[ RKIMGOGQI RZKZIYGXFVFUGTISMS[ RZIXGVGTI RO[V[",2047:" 48H]RFR[ RSFS[ RPKMLLMKOKRLTMUPVUVXUYTZRZOYMXLUKPK RPKNLMMLOLRMTNUPV RUVWUXTYRYOXMWLUK ROFVF RO[V[",2048:" 21H\\KFX[ RLFY[ RYFK[ RIFOF RUF[F RI[O[ RU[[[",2049:" 41G^RFR[ RSFS[ RIMJLLMMQNSOTQU RJLKMLQMSNTQUTUWTXSYQZM[L RTUVTWSXQYM[L\\M ROFVF RO[V[",2050:" 43G]JXK[O[MWKSJPJLKIMGPFTFWGYIZLZPYSWWU[Y[ZX RMWLTKPKLLINGPF RTFVGXIYLYPXTWW RKZNZ RVZYZ",2051:" 18H\\UFH[ RUFV[ RTHU[ RLUUU RF[L[ RR[X[",2052:" 41F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVP RWFYGZIZKYNXOVP RMPVPXQYSYUXXVZR[F[ RVPWQXSXUWXUZR[",2053:" 34H]ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[S[UZWXXV RTFRGPINLMOLSLVMYNZP[",2054:" 30F]OFI[ RPFJ[ RLFUFXGYHZKZOYSWWUYSZO[F[ RUFWGXHYKYOXSVWTYRZO[",2055:" 22F]OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[U[WVT[",2056:" 20F\\OFI[ RPFJ[ RTLRT RLF[FZLZF RMPSP RF[M[",2057:" 42H^ZH[H\\F[L[JZHYGWFTFQGOIMLLOKSKVLYMZP[R[UZWXYT RTFRGPINLMOLSLVMYNZP[ RR[TZVXXT RUT\\T",2058:" 27E_NFH[ ROFI[ R[FU[ R\\FV[ RKFRF RXF_F RLPXP RE[L[ RR[Y[",2059:" 12LYUFO[ RVFP[ RRFYF RL[S[",2060:" 21I[XFSWRYQZO[M[KZJXJVKULVKW RWFRWQYO[ RTF[F",2061:" 27F]OFI[ RPFJ[ R]FLS RSOW[ RROV[ RLFSF RYF_F RF[M[ RS[Y[",2062:" 14H\\QFK[ RRFL[ RNFUF RH[W[YUV[",2063:" 30E`NFH[ RNFO[ ROFPY R\\FO[ R\\FV[ R]FW[ RKFOF R\\F`F RE[K[ RS[Z[",2064:" 21F_OFI[ ROFVX ROIV[ R\\FV[ RLFOF RYF_F RF[L[",2065:" 42G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF",2066:" 27F]OFI[ RPFJ[ RLFXF[G\\I\\K[NYPUQMQ RXFZG[I[KZNXPUQ RF[M[",2067:" 61G]SFPGNILLKOJSJVKYLZN[Q[TZVXXUYRZNZKYHXGVFSF RSFQGOIMLLOKSKVLYN[ RQ[SZUXWUXRYNYKXHVF RLYLXMVOUPURVSXS_T`V`W^W] RSXT^U_V_W^",2068:" 42F^OFI[ RPFJ[ RLFWFZG[I[KZNYOVPMP RWFYGZIZKYNXOVP RRPTQURVZW[Y[ZYZX RURWYXZYZZY RF[M[",2069:" 35G^ZH[H\\F[L[JZHYGVFRFOGMIMKNMONVRXT RMKOMVQWRXTXWWYVZS[O[LZKYJWJUI[JYKY",2070:" 16H]UFO[ RVFP[ ROFLLNF]F\\L\\F RL[S[",2071:" 25F_NFKQJUJXKZN[R[UZWXXU\\F ROFLQKUKXLZN[ RKFRF RYF_F",2072:" 15H\\NFO[ ROFPY R\\FO[ RLFRF RXF^F",2073:" 24E_MFK[ RNFLY RUFK[ RUFS[ RVFTY R]FS[ RJFQF RZF`F",2074:" 21G]NFU[ ROFV[ R\\FH[ RLFRF RXF^F RF[L[ RR[X[",2075:" 20H]NFRPO[ ROFSPP[ R]FSP RLFRF RYF_F RL[S[",2076:" 16G][FH[ R\\FI[ ROFLLNF\\F RH[V[XUU[",2077:" 46H\\KILKXWYYY[ RLLXX RKIKKLMXYY[ RPPLTKVKXLZK[ RKVMZ RLTLVMXMZK[ RSSXN RVIVLWNYNYLWKVI RVIWLYN",2101:" 39I]NONPMPMONNPMTMVNWOXQXXYZZ[ RWOWXXZZ[[[ RWQVRPSMTLVLXMZP[S[UZWX RPSNTMVMXNZP[",2102:" 33G\\LFL[ RMFM[ RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIFMF",2103:" 28H[WPVQWRXQXPVNTMQMNNLPKSKULXNZQ[S[VZXX RQMONMPLSLUMXOZQ[",2104:" 36H]WFW[ RXFX[ RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTFXF RW[[[",2105:" 31H[LSXSXQWOVNTMQMNNLPKSKULXNZQ[S[VZXX RWSWPVN RQMONMPLSLUMXOZQ[",2106:" 22KXUGTHUIVHVGUFSFQGPIP[ RSFRGQIQ[ RMMUM RM[T[",2107:" 60I\\QMONNOMQMSNUOVQWSWUVVUWSWQVOUNSMQM RONNPNTOV RUVVTVPUN RVOWNYMYNWN RNUMVLXLYM[P\\U\\X]Y^ RLYMZP[U[X\\Y^Y_XaUbObLaK_K^L\\O[",2108:" 28G]LFL[ RMFM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIFMF RI[P[ RT[[[",2109:" 18MXRFQGRHSGRF RRMR[ RSMS[ ROMSM RO[V[",2110:" 25MXSFRGSHTGSF RTMT_SaQbObNaN`O_P`Oa RSMS_RaQb RPMTM",2111:" 27G\\LFL[ RMFM[ RWMMW RRSX[ RQSW[ RIFMF RTMZM RI[P[ RT[Z[",2112:" 12MXRFR[ RSFS[ ROFSF RO[V[",2113:" 44BcGMG[ RHMH[ RHPJNMMOMRNSPS[ ROMQNRPR[ RSPUNXMZM]N^P^[ RZM\\N]P][ RDMHM RD[K[ RO[V[ RZ[a[",2114:" 28G]LML[ RMMM[ RMPONRMTMWNXPX[ RTMVNWPW[ RIMMM RI[P[ RT[[[",2115:" 36H\\QMNNLPKSKULXNZQ[S[VZXXYUYSXPVNSMQM RQMONMPLSLUMXOZQ[ RS[UZWXXUXSWPUNSM",2116:" 36G\\LMLb RMMMb RMPONQMSMVNXPYSYUXXVZS[Q[OZMX RSMUNWPXSXUWXUZS[ RIMMM RIbPb",2117:" 33H\\WMWb RXMXb RWPUNSMQMNNLPKSKULXNZQ[S[UZWX RQMONMPLSLUMXOZQ[ RTb[b",2118:" 23IZNMN[ ROMO[ ROSPPRNTMWMXNXOWPVOWN RKMOM RK[R[",2119:" 32J[WOXMXQWOVNTMPMNNMOMQNRPSUUWVXW RMPNQPRUTWUXVXYWZU[Q[OZNYMWM[NY",2120:" 16KZPFPWQZS[U[WZXX RQFQWRZS[ RMMUM",2121:" 28G]LMLXMZP[R[UZWX RMMMXNZP[ RWMW[ RXMX[ RIMMM RTMXM RW[[[",2122:" 15I[LMR[ RMMRY RXMR[ RJMPM RTMZM",2123:" 24F^JMN[ RKMNX RRMN[ RRMV[ RSMVX RZMV[ RGMNM RWM]M",2124:" 21H\\LMW[ RMMX[ RXML[ RJMPM RTMZM RJ[P[ RT[Z[",2125:" 22H[LMR[ RMMRY RXMR[P_NaLbKbJaK`La RJMPM RTMZM",2126:" 16I[WML[ RXMM[ RMMLQLMXM RL[X[XWW[",2127:" 40G^QMNNLPKRJUJXKZN[P[RZUWWTYPZM RQMONMPLRKUKXLZN[ RQMSMUNVPXXYZZ[ RSMTNUPWXXZZ[[[",2128:" 57G\\TFQGOIMMLPKTJZIb RTFRGPINMMPLTKZJb RTFVFXGYHYKXMWNTOPO RVFXHXKWMVNTO RPOTPVRWTWWVYUZR[P[NZMYLV RPOSPURVTVWUYTZR[",2129:" 28H\\IPKNMMOMQNROSRSVRZOb RJOLNPNRO RZMYPXRSYP^Nb RYMXPWRSY",2130:" 44I\\VNTMRMONMQLTLWMYNZP[R[UZWWXTXQWOSJRHRFSEUEWFYH RRMPNNQMTMXNZ RR[TZVWWTWPVNTKSISGTFVFYH",2131:" 32I[XPVNTMPMNNNPPRSS RPMONOPQRSS RSSNTLVLXMZP[S[UZWX RSSOTMVMXNZP[",2132:" 31I[TFRGQHQIRJUKZKZJWKSMPOMRLULWMYP[S]T_TaSbQbPa RULQONRMUMWNYP[",2133:" 32G]HQIOKMNMONOPNTL[ RMMNNNPMTK[ RNTPPRNTMVMXNYOYRXWUb RVMXOXRWWTb",2134:" 44F]GQHOJMMMNNNPMUMXNZO[ RLMMNMPLULXMZO[Q[SZUXWUXRYMYIXGVFTFRHRJSMUPWRZT RSZUWVUWRXMXIWGVF",2135:" 15LXRMPTOXOZP[S[UYVW RSMQTPXPZQ[",2136:" 29H\\NMJ[ ROMK[ RXMYNZNYMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW",2137:" 23H\\KFMFOGPHQJWXXZY[ RMFOHPJVXWZY[Z[ RRMJ[ RRMK[",2138:" 28F]MMGb RNMHb RMPLVLYN[P[RZTXVU RXMUXUZV[Y[[Y\\W RYMVXVZW[",2139:" 24H\\NML[ ROMNSMXL[ RYMXQVU RZMYPXRVUTWQYOZL[ RKMOM",2140:" 45IZTFRGQHQIRJUKXK RUKQLOMNONQPSSTVT RUKRLPMOOOQQSST RSTOUMVLXLZN\\S^T_TaRbPb RSTPUNVMXMZO\\S^",2141:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2142:" 22G]PNL[ RPNM[ RVNV[ RVNW[ RIPKNNM[M RIPKONN[N",2143:" 31H[LVMYNZP[R[UZWWXTXQWOVNTMRMONMQLTHb RR[TZVWWTWPVN RRMPNNQMTIb",2144:" 35H][MQMNNLQKTKWLYMZO[Q[TZVWWTWQVOUNSM RQMONMQLTLXMZ RQ[SZUWVTVPUN RUN[N",2145:" 16H\\SNP[ RSNQ[ RJPLNOMZM RJPLOONZN",2146:" 31H\\IQJOLMOMPNPPNVNYP[ RNMONOPMVMYNZP[Q[TZVXXUYRYOXMWNXOYR RXUYO",2147:" 37G]ONMOKQJTJWKYLZN[Q[TZWXYUZRZOXMVMTORSPXMb RJWLYNZQZTYWWYU RZOXNVNTPRSPYNb",2148:" 23I[KMMMONPPU_VaWb RMMNNOPT_UaWbYb RZMYOWRM]K`Jb",2149:" 34F]UFOb RVFNb RGQHOJMMMNNNPMUMXOZRZTYWVYS RLMMNMPLULXMZO[R[TZVXXUYS[M",2150:" 44F]JQLOONNMLNJQITIWJZK[M[OZQWRT RIWJYKZMZOYQW RQTQWRZS[U[WZYWZTZQYNXMWNYOZQ RQWRYSZUZWYYW",2151:" 39H]XMVTUXUZV[Y[[Y\\W RYMWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2152:" 36H[PFLSLVMYNZ RQFMS RMSNPPNRMTMVNWOXQXTWWUZR[P[NZMWMS RVNWPWTVWTZR[ RMFQF",2153:" 25I[WPWQXQXPWNUMRMONMQLTLWMYNZP[R[UZWW RRMPNNQMTMXNZ",2154:" 42H]ZFVTUXUZV[Y[[Y\\W R[FWTVXVZW[ RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RWF[F",2155:" 26I[MVQUTTWRXPWNUMRMONMQLTLWMYNZP[R[UZWX RRMPNNQMTMXNZ",2156:" 35KZZGYHZI[H[GZFXFVGUHTJSMP[O_Na RXFVHUJTNRWQ[P^O`NaLbJbIaI`J_K`Ja ROMYM",2157:" 43H\\YMU[T^RaObLbJaI`I_J^K_J` RXMT[S^QaOb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ",2158:" 31H]PFJ[ RQFK[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W RMFQF",2159:" 26LYUFTGUHVGUF RMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2160:" 32LYVFUGVHWGVF RNQOOQMTMUNUQR[Q^P`OaMbKbJaJ`K_L`Ka RSMTNTQQ[P^O`Mb",2161:" 34H\\PFJ[ RQFK[ RXNWOXPYOYNXMWMUNQROSMS ROSQTSZT[ ROSPTRZS[U[WZYW RMFQF",2162:" 18MYUFQTPXPZQ[T[VYWW RVFRTQXQZR[ RRFVF",2163:" 52AbBQCOEMHMINIPHTF[ RGMHNHPGTE[ RHTJPLNNMPMRNSOSQP[ RPMRORQO[ RRTTPVNXMZM\\N]O]Q[W[Z\\[ RZM\\O\\QZWZZ[[^[`YaW",2164:" 37F]GQHOJMMMNNNPMTK[ RLMMNMPLTJ[ RMTOPQNSMUMWNXOXQVWVZW[ RUMWOWQUWUZV[Y[[Y\\W",2165:" 32I[RMONMQLTLWMYNZP[R[UZWWXTXQWOVNTMRM RRMPNNQMTMXNZ RR[TZVWWTWPVN",2166:" 42G\\HQIOKMNMONOPNTJb RMMNNNPMTIb RNTOQQNSMUMWNXOYQYTXWVZS[Q[OZNWNT RWNXPXTWWUZS[ RFbMb",2167:" 33H\\XMRb RYMSb RVTVQUNSMQMNNLQKTKWLYMZO[Q[SZUWVT RQMONMQLTLXMZ RObVb",2168:" 26IZJQKOMMPMQNQPPTN[ ROMPNPPOTM[ RPTRPTNVMXMYNYOXPWOXN",2169:" 28J[XOXPYPYOXNUMRMONNONQORVVWW RNPOQVUWVWYVZS[P[MZLYLXMXMY",2170:" 18KYTFPTOXOZP[S[UYVW RUFQTPXPZQ[ RNMWM",2171:" 37F]GQHOJMMMNNNQLWLYN[ RLMMNMQKWKYLZN[P[RZTXVT RXMVTUXUZV[Y[[Y\\W RYMWTVXVZW[",2172:" 26H\\IQJOLMOMPNPQNWNYP[ RNMONOQMWMYNZP[Q[TZVXXUYQYMXMYO",2173:" 41C`DQEOGMJMKNKQIWIYK[ RIMJNJQHWHYIZK[M[OZQXRV RTMRVRYSZU[W[YZ[X\\V]R]M\\M]O RUMSVSYU[",2174:" 42H\\KQMNOMRMSOSR RQMRORRQVPXNZL[K[JZJYKXLYKZ RQVQYR[U[WZYW RYNXOYPZOZNYMXMVNTPSRRVRYS[",2175:" 41G\\HQIOKMNMONOQMWMYO[ RMMNNNQLWLYMZO[Q[SZUXWT RZMV[U^SaPbMbKaJ`J_K^L_K` RYMU[T^RaPb",2176:" 31H\\YMXOVQNWLYK[ RLQMOOMRMVO RMOONRNVOXO RLYNYRZUZWY RNYR[U[WYXW",2177:" 43G^VGUHVIWHWGUFRFOGMILLL[ RRFPGNIMLM[ R\\G[H\\I]H]G\\FZFXGWIW[ RZFYGXIX[ RIM[M RI[P[ RT[[[",2178:" 33G]WGVHWIXHWGUFRFOGMILLL[ RRFPGNIMLM[ RWMW[ RXMX[ RIMXM RI[P[ RT[[[",2179:" 35G]VGUHVIWHWGUF RXFRFOGMILLL[ RRFPGNIMLM[ RWHW[ RXFX[ RIMWM RI[P[ RT[[[",2180:" 54BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R]G\\H]I^H]G[FXFUGSIRLR[ RXFVGTISLS[ R]M][ R^M^[ RDM^M RD[K[ RO[V[ RZ[a[",2181:" 56BcRGQHRISHRGPFMFJGHIGLG[ RMFKGIIHLH[ R\\G[H\\I]H]G[F R^FXFUGSIRLR[ RXFVGTISLS[ R]H][ R^F^[ RDM]M RD[K[ RO[V[ RZ[a[",2182:" 12MXRMR[ RSMS[ ROMSM RO[V[",2184:" 25IZWNUMRMONMPLSLVMYNZQ[T[VZ RRMPNNPMSMVNYOZQ[ RMTUT",2185:" 43I\\TFQGOJNLMOLTLXMZO[Q[TZVWWUXRYMYIXGVFTF RTFRGPJOLNOMTMXNZO[ RQ[SZUWVUWRXMXIWGVF RNPWP",2186:" 42G]UFOb RVFNb RQMMNKPJSJVKXMZP[S[WZYXZUZRYPWNTMQM RQMNNLPKSKVLXNZP[ RS[VZXXYUYRXPVNTM",2187:" 27I[TMVNXPXOWNTMQMNNMOLQLSMUOWSZ RQMONNOMQMSNUSZT\\T^S_Q_",2190:" 45G]LMKNJPJRKUOYP[ RJRKTOXP[P]O`MbLbKaJ_J\\KXMTOQRNTMVMYNZPZTYXWZU[T[SZSXTWUXTY RVMXNYPYTXXWZ",2191:" 69E_YGXHYIZHYGWFTFQGOINKMNLRJ[I_Ha RTFRGPIOKNNLWK[J^I`HaFbDbCaC`D_E`Da R_G^H_I`H`G_F]F[GZHYJXMU[T_Sa R]F[HZJYNWWV[U^T`SaQbObNaN`O_P`Oa RIM^M",2192:" 52F^[GZH[I\\H[GXFUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea RYMWTVXVZW[Z[\\Y]W RZMXTWXWZX[ RJMZM",2193:" 54F^YGXHYIZHZGXF R\\FUFRGPIOKNNMRK[J_Ia RUFSGQIPKONMWL[K^J`IaGbEbDaD`E_F`Ea R[FWTVXVZW[Z[\\Y]W R\\FXTWXWZX[ RJMYM",2194:" 86@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R`G_H`IaH`G]FZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R^M\\T[X[Z\\[_[aYbW R_M]T\\X\\Z][ RDM_M",2195:" 88@cTGSHTIUHTGRFOFLGJIIKHNGRE[D_Ca ROFMGKIJKINGWF[E^D`CaAb?b>a>`?_@`?a R^G]H^I_H_G]F RaFZFWGUITKSNRRP[O_Na RZFXGVIUKTNRWQ[P^O`NaLbJbIaI`J_K`Ja R`F\\T[X[Z\\[_[aYbW RaF]T\\X\\Z][ RDM^M",2196:" 20LYMQNOPMSMTNTQRWRZS[ RRMSNSQQWQZR[U[WYXW",2200:" 40H\\QFNGLJKOKRLWNZQ[S[VZXWYRYOXJVGSFQF RQFOGNHMJLOLRMWNYOZQ[ RS[UZVYWWXRXOWJVHUGSF",2201:" 11H\\NJPISFS[ RRGR[ RN[W[",2202:" 45H\\LJMKLLKKKJLHMGPFTFWGXHYJYLXNUPPRNSLUKXK[ RTFVGWHXJXLWNTPPR RKYLXNXSZVZXYYX RNXS[W[XZYXYV",2203:" 47H\\LJMKLLKKKJLHMGPFTFWGXIXLWNTOQO RTFVGWIWLVNTO RTOVPXRYTYWXYWZT[P[MZLYKWKVLUMVLW RWQXTXWWYVZT[",2204:" 13H\\THT[ RUFU[ RUFJUZU RQ[X[",2205:" 39H\\MFKP RKPMNPMSMVNXPYSYUXXVZS[P[MZLYKWKVLUMVLW RSMUNWPXSXUWXUZS[ RMFWF RMGRGWF",2206:" 48H\\WIVJWKXJXIWGUFRFOGMILKKOKULXNZQ[S[VZXXYUYTXQVOSNRNOOMQLT RRFPGNIMKLOLUMXOZQ[ RS[UZWXXUXTWQUOSN",2207:" 31H\\KFKL RKJLHNFPFUIWIXHYF RLHNGPGUI RYFYIXLTQSSRVR[ RXLSQRSQVQ[",2208:" 63H\\PFMGLILLMNPOTOWNXLXIWGTFPF RPFNGMIMLNNPO RTOVNWLWIVGTF RPOMPLQKSKWLYMZP[T[WZXYYWYSXQWPTO RPONPMQLSLWMYNZP[ RT[VZWYXWXSWQVPTO",2209:" 48H\\XMWPURRSQSNRLPKMKLLINGQFSFVGXIYLYRXVWXUZR[O[MZLXLWMVNWMX RQSORMPLMLLMIOGQF RSFUGWIXLXRWVVXTZR[",2210:" 6MWRYQZR[SZRY",2211:" 8MWR[QZRYSZS\\R^Q_",2212:" 12MWRMQNROSNRM RRYQZR[SZRY",2213:" 14MWRMQNROSNRM RR[QZRYSZS\\R^Q_",2214:" 15MWRFQHRTSHRF RRHRN RRYQZR[SZRY",2215:" 32I[MJNKMLLKLJMHNGPFSFVGWHXJXLWNVORQRT RSFUGVHWJWLVNTP RRYQZR[SZRY",2216:" 6NVRFQM RSFQM",2217:" 12JZNFMM ROFMM RVFUM RWFUM",2218:" 14KYQFOGNINKOMQNSNUMVKVIUGSFQF",2219:" 9JZRFRR RMIWO RWIMO",2220:" 3G][BIb",2221:" 20KYVBTDRGPKOPOTPYR]T`Vb RTDRHQKPPPTQYR\\T`",2222:" 20KYNBPDRGTKUPUTTYR]P`Nb RPDRHSKTPTTSYR\\P`",2223:" 12KYOBOb RPBPb ROBVB RObVb",2224:" 12KYTBTb RUBUb RNBUB RNbUb",2225:" 40KYTBRCQDPFPHQJRKSMSOQQ RRCQEQGRISJTLTNSPORSTTVTXSZR[Q]Q_Ra RQSSUSWRYQZP\\P^Q`RaTb",2226:" 40KYPBRCSDTFTHSJRKQMQOSQ RRCSESGRIQJPLPNQPURQTPVPXQZR[S]S_Ra RSSQUQWRYSZT\\T^S`RaPb",2227:" 4KYUBNRUb",2228:" 4KYOBVROb",2229:" 3NVRBRb",2230:" 6KYOBOb RUBUb",2231:" 3E_IR[R",2232:" 6E_RIR[ RIR[R",2233:" 9F^RJR[ RJRZR RJ[Z[",2234:" 9F^RJR[ RJJZJ RJRZR",2235:" 6G]KKYY RYKKY",2236:" 6MWRQQRRSSRRQ",2237:" 15E_RIQJRKSJRI RIR[R RRYQZR[SZRY",2238:" 6E_IO[O RIU[U",2239:" 9E_YIK[ RIO[O RIU[U",2240:" 9E_IM[M RIR[R RIW[W",2241:" 4F^ZIJRZ[",2242:" 4F^JIZRJ[",2243:" 10F^ZFJMZT RJVZV RJ[Z[",2244:" 10F^JFZMJT RJVZV RJ[Z[",2245:" 21F_[WYWWVUTRPQOONMNKOJQJSKUMVOVQURTUPWNYM[M",2246:" 24F^IUISJPLONOPPTSVTXTZS[Q RISJQLPNPPQTTVUXUZT[Q[O",2247:" 8G]JTROZT RJTRPZT",2248:" 7LXTFOL RTFUGOL",2249:" 7LXPFUL RPFOGUL",2250:" 18H\\KFLHNJQKSKVJXHYF RKFLINKQLSLVKXIYF",2251:" 8MWRHQGRFSGSIRKQL",2252:" 8MWSFRGQIQKRLSKRJ",2253:" 8MWRHSGRFQGQIRKSL",2254:" 8MWQFRGSISKRLQKRJ",2255:" 10E[HMLMRY RKMR[ R[BR[",2256:" 13F^ZJSJOKMLKNJQJSKVMXOYSZZZ",2257:" 13F^JJJQKULWNYQZSZVYXWYUZQZJ",2258:" 13F^JJQJUKWLYNZQZSYVWXUYQZJZ",2259:" 13F^JZJSKOLMNKQJSJVKXMYOZSZZ",2260:" 16F^ZJSJOKMLKNJQJSKVMXOYSZZZ RJRVR",2261:" 11E_XP[RXT RUMZRUW RIRZR",2262:" 11JZPLRITL RMORJWO RRJR[",2263:" 11E_LPIRLT ROMJROW RJR[R",2264:" 11JZPXR[TX RMURZWU RRIRZ",2265:" 44I\\XRWOVNTMRMONMQLTLWMYNZP[R[UZWXXUYPYKXHWGUFRFPGOHOIPIPH RRMPNNQMTMXNZ RR[TZVXWUXPXKWHUF",2266:" 15H\\JFR[ RKFRY RZFR[ RJFZF RKGYG",2267:" 10AbDMIMRY RHNR[ Rb:R[",2268:" 32F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia",2269:" 50F^[CZD[E\\D\\C[BYBWCUETGSJRNPZO^N` RVDUFTJRVQZP]O_MaKbIbHaH`I_J`Ia RQKNLLNKQKSLVNXQYSYVXXVYSYQXNVLSKQK",2270:" 26F_\\S[UYVWVUUTTQPPONNLNJOIQISJULVNVPUQTTPUOWNYN[O\\Q\\S",2271:" 32F^[FI[ RNFPHPJOLMMKMIKIIJGLFNFPGSHVHYG[F RWTUUTWTYV[X[ZZ[X[VYTWT",2272:" 49F_[NZO[P\\O\\N[MZMYNXPVUTXRZP[M[JZIXIUJSPORMSKSIRGPFNGMIMKNNPQUXWZZ[[[\\Z\\Y RM[KZJXJUKSMQ RMKNMVXXZZ[",2273:" 56E`WNVLTKQKOLNMMPMSNUPVSVUUVS RQKOMNPNSOUPV RWKVSVUXVZV\\T]Q]O\\L[JYHWGTFQFNGLHJJILHOHRIUJWLYNZQ[T[WZYYZX RXKWSWUXV",2274:" 42H\\PBP_ RTBT_ RXIWJXKYJYIWGTFPFMGKIKKLMMNOOUQWRYT RKKMMONUPWQXRYTYXWZT[P[MZKXKWLVMWLX",2275:" 12H]SFLb RYFRb RLQZQ RKWYW",2276:" 46JZUITJUKVJVIUGSFQFOGNINKOMQOVR ROMTPVRWTWVVXTZ RPNNPMRMTNVPXU[ RNVSYU[V]V_UaSbQbOaN_N^O]P^O_",2277:" 30JZRFQHRJSHRF RRFRb RRQQTRbSTRQ RLMNNPMNLLM RLMXM RTMVNXMVLTM",2278:" 56JZRFQHRJSHRF RRFRT RRPQRSVRXQVSRRP RRTRb RR^Q`RbS`R^ RLMNNPMNLLM RLMXM RTMVNXMVLTM RL[N\\P[NZL[ RL[X[ RT[V\\X[VZT[",2279:" 12I\\XFX[ RKFXF RPPXP RK[X[",2281:" 38E`QFNGKIILHOHRIUKXNZQ[T[WZZX\\U]R]O\\LZIWGTFQF RROQPQQRRSRTQTPSORO RRPRQSQSPRP",2282:" 45J[PFNGOIQJ RPFOGOI RUFWGVITJ RUFVGVI RQJOKNLMNMQNSOTQUTUVTWSXQXNWLVKTJQJ RRUR[ RSUS[ RNXWX",2283:" 27I\\RFOGMILLLMMPORRSSSVRXPYMYLXIVGSFRF RRSR[ RSSS[ RNWWW",2284:" 28D`PFMGJIHLGOGSHVJYM[P\\T\\W[ZY\\V]S]O\\LZIWGTFPF RRFR\\ RGQ]Q",2285:" 31G`PMMNKPJSJTKWMYPZQZTYVWWTWSVPTNQMPM R]GWG[HUN R]G]M\\IVO R\\HVN",2286:" 28F\\IIJGLFOFQGRIRLQOPQNSKU ROFPGQIQMPPNS RVFT[ RWFS[ RKUYU",2287:" 30I\\MFMU RNFMQ RMQNOONQMTMWNXPXRWTUV RTMVNWPWRTXTZU[W[YY RKFNF",2288:" 44I\\RNOOMQLTLUMXOZR[S[VZXXYUYTXQVOSNRN RRHNJRFRN RSHWJSFSN RRSQTQURVSVTUTTSSRS RRTRUSUSTRT",2289:" 37G^QHRFR[ RTHSFS[ RJHKFKMLPNRQSRS RMHLFLNMQ R[HZFZMYPWRTSSS RXHYFYNXQ RNWWW",2290:" 31G]LFL[ RMFM[ RIFUFXGYHZJZMYOXPUQMQ RUFWGXHYJYMXOWPUQ RI[Y[YVX[",2291:" 24H[YGUGQHNJLMKPKSLVNYQ[U\\Y\\ RYGVHSJQMPPPSQVSYV[Y\\",2292:" 27F_OQMQKRJSIUIWJYKZM[O[QZRYSWSURSQROQ RSHPQ RZJRR R\\QST",2293:" 12H\\OKUY RUKOY RKOYU RYOKU",2294:" 48F^NVLUKUIVHXHYI[K\\L\\N[OYOXNVKRJOJMKJMHPGTGWHYJZMZOYRVVUXUYV[X\\Y\\[[\\Y\\X[VYUXUVV RJMKKMIPHTHWIYKZM",2295:" 48F^NMLNKNIMHKHJIHKGLGNHOJOKNMKQJTJVKYM[P\\T\\W[YYZVZTYQVMUKUJVHXGYG[H\\J\\K[MYNXNVM RJVKXMZP[T[WZYXZV",2301:" 40F_JMILIJJHLGNGPHQIRKSP RIJKHMHOIPJQLRPR[ R[M\\L\\J[HYGWGUHTISKRP R\\JZHXHVIUJTLSPS[",2302:" 51F^IGJKKMMOPPTPWOYMZK[G RIGJJKLMNPOTOWNYLZJ[G RPONPMQLSLVMXOZQ[S[UZWXXVXSWQVPTO RPPNQMSMVNY RVYWVWSVQTP",2303:" 30F^MJMV RNKNU RVKVU RWJWV RIGKIMJPKTKWJYI[G RIYKWMVPUTUWVYW[Y",2304:" 48F^[ILIJJILINJPLQNQPPQNQLPJ[J RIMJOKPMQ RQMPKOJMI RIXXXZW[U[SZQXPVPTQSSSUTWIW R[TZRYQWP RSTTVUWWX",2305:" 48F]OUMTLTJUIWIXJZL[M[OZPXPWOUJPINIKJILHOGSGWHYJZLZOYRVUUWUYV[X[YZZX RMSKPJNJKKILH RSGVHXJYLYOXRVU",2306:" 48G_HKKHMKMV RJILLLV RMKPHRKRU ROIQLQU RRKUHWKW[ RTIVLV[ RWKZH[J\\M\\P[SZUXWUYP[ RYIZJ[M[PZSYUWWTYP[",2307:" 41F^ISMSLRKOKMLJNHQGSGVHXJYMYOXRWS[S RITOTMRLOLMMJOHQG RSGUHWJXMXOWRUT[T RKXYX RKYYY",2308:" 30F_GLJIMLMX RIJLMLX RMLPISLSX ROJRMRX RSLVIYLYW[Y RUJXMXXZZ]W",2309:" 33G]ZIJY RZIWJQJ RXKUKQJ RZIYLYR RXKXNYR RQRJR RPSMSJR RQRQY RPSPVQY",2310:" 33F^HOJKOU RJMOWRPWPZO[M[KZIXHWHUITKTMUPVRWUWXUZ RWHVIUKUMWQXTXWWYUZ",2311:" 36F^IOLLPN RKMOORLUN RQMTOWLYN RVMXO[L RIULRPT RKSOURRUT RQSTUWRYT RVSXU[R",2312:" 48F^JHNJPLQOQRPUNWJY RJHMIOJQLRO RRRQUOWMXJY RZHWIUJSLRO RRRSUUWWXZY RZHVJTLSOSRTUVWZY RIP[P RIQ[Q",2317:" 12NVQQQSSSSQQQ RQQSS RSQQS",2318:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2319:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2320:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2321:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2322:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2323:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2324:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2325:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2326:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2327:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2328:" 49JZMLWX RMLONQOTOVNWMWKUKUMTO RONTO RQOWM RVKVN RULWL RWXUVSUPUNVMWMYOYOWPU RUVPU RSUMW RNVNY RMXOX",2329:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLWY",2330:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2331:"103EfNSOUQVSVUUVSVQUOSNQNOONPMSMVNYP[S\\V\\Y[[Y\\W]T]P\\MZJXIUHRHOIMJKLIOHSHXI]KaMcPeTfYf]e`cba RKLJNIRIXJ\\L`NbQdUeYe]d_cba RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU RaLaNcNcLaL RbLbN RaMcM RaVaXcXcVaV RbVbX RaWcW",2332:" 30D`H@Hd RM@Md RW@Wd R\\@\\d RMMWK RMNWL RMOWM RMWWU RMXWV RMYWW",2367:" 12NVQQQSSSSQQQ RQQSS RSQQS",2368:" 18JZMPQRTTVVWYW[V]U^ RMQST RMRPSTUVWWY",2369:" 18JZWKVMTOPQMR RSPMS RUFVGWIWKVNTPQRMT",2370:" 32H\\PMMNLOKQKSLUMVPWTWWVXUYSYQXOWNTMPM RMNLPLSMUNVPW RWVXTXQWOVNTM",2371:" 36H\\SMONLPKRKTLVNWQWUVXTYRYPXNVMSM RXNSM RVMQNLP RONKR RLVQW RNWSVXT RUVYR",2372:" 34J[SMPNNPMRMTNVPWRWUVWTXRXPWNUMSM ROPUM RNRVN RMTWO RNUXP ROVWR RPWVT",2373:" 18JZOGO^ RUFU] RMNWL RMOWM RMWWU RMXWV",2374:" 18JZNFNX RVLV^ RNNVL RNOVM RNWVU RNXVV",2375:" 25JZNBNW RNNQLTLVMWOWQVSSUQVNW RNNQMTMVN RUMVOVQUSSU",2376:" 18E_HIHL R\\I\\L RHI\\I RHJ\\J RHK\\K RHL\\L",2377:" 18JZMNMQ RWNWQ RMNWN RMOWO RMPWP RMQWQ",2378:" 36JZQCVMRTRU RULQS RTITKPRRUUY RW\\UYSXQXOYN[N]O_Ra RW\\UZSYOYO]P_Ra RSXPZN]",2379:" 26JZPOOMOKMKMMNNPOSOUNWL RNKNN RMLOL RMMSO RPOUN RWLSY",2380:" 86A^GfHfIeIdHcGcFdFfGhIiKiNhPfQdR`RUQ;Q4R/S-U,V,X-Y/Y3X6W8U;P?JCHEFHEJDNDREVGYJ[N\\R\\V[XZZW[T[PZMYKWITHPHMIKKJNJRKUMW RGdGeHeHdGd RU;Q?LCIFGIFKENERFVGXJ[ RR\\U[WZYWZTZPYMXKVITH",2381:" 89IjNQOOQNSNUOVQVSUUSVQVOUNTMQMNNKPISHWH[I^K`NaRaW`[_]]`ZcVfQiMk RWHZI]K_N`R`W_[^]\\`YcTgQi RPOTO ROPUP RNQVQ RNRVR RNSVS ROTUT RPUTU ReLeNgNgLeL RfLfN ReMgM ReVeXgXgVeV RfVfX ReWgW",2382:" 85D`H>Hf RI>If RM>Mf RQBSBSDQDQAR?T>W>Y?[A\\D\\I[LYNWOUOSNRLQNOQNROSQVRXSVUUWUYV[X\\[\\`[cYeWfTfReQcQ`S`SbQb RRBRD RQCSC RY?ZA[D[IZLYN RRLRNPQNRPSRVRX RYVZX[[[`ZcYe RR`Rb RQaSa",2401:" 21AcHBHb RIBIb R[B[b R\\B\\b RDB`B RDbMb RWb`b",2402:" 23BaGBQPFb RFBPP REBPQ REB\\B^I[B RGa\\a RFb\\b^[[b",2403:" 28I[X+U1R8P=OANFMNMVN^OcPgRlUsXy RU1S6Q":2242,"~":2246,"@":2273,"\\":804}[e]}var ka={SUB_SUP_SCALE:.75,SQRT_MAG_SCALE:.5,FRAC_SCALE:.85,LINE_SPACING:.5,FRAC_SPACING:.4};function XEe(e){e=e.replace(/\n/g," ");let t=0,n=[],r="";for(;t0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;c=e[f].bbox.y,e[u].text=="'"?e[u].bbox.y=c:(Lo(e[u],ka.SUB_SUP_SCALE,null,0,0),Ln[e[f].text]&&Ln[e[f].text].flags.big?e[u].bbox.y=c-e[u].bbox.h:e[f].text=="\\int"?e[u].bbox.y=c:e[u].bbox.y=c-e[u].bbox.h/2)}else if(e[u].text=="_"){let c=1,f=u;for(;f>0&&(e[f].text=="^"||e[f].text=="_"||e[f].text=="'");)f--;c=e[f].bbox.y+e[f].bbox.h,Lo(e[u],ka.SUB_SUP_SCALE,null,0,0),Ln[e[f].text]&&Ln[e[f].text].flags.big?e[u].bbox.y=c:e[f].text=="\\int"?e[u].bbox.y=c-e[u].bbox.h:e[u].bbox.y=c-e[u].bbox.h/2}function n(u,c,f,d,h){let p=u,v=h,g=1/0,m=-1/0;for(;d>0?p=0;){if(e[p].text==c)v++;else if(e[p].text==f){if(v--,v==0)break}else e[p].text=="^"||e[p].text=="_"||e[p].bbox&&(g=Math.min(g,e[p].bbox.y),m=Math.max(m,e[p].bbox.y+e[p].bbox.h));p+=d}return[g,m]}for(let u=0;uu.text=="&"||u.text=="\\\\"))return;let r=[],i=[],o=[];for(let u=0;u0&&(e.chld[y].text=="^"||e.chld[y].text=="_"||e.chld[y].text=="'");)y--;let R=Ln[e.chld[y].text]&&Ln[e.chld[y].text].flags.big;if(g.text=="'"){let A=y+1,x=0;for(;A1;DEe(e.chld,f);let p=Wee(e.chld);e.text=="\\text"&&(p.x-=1,p.w+=2);for(let v=0;vr.bbox.w)c=c/Math.max(a.w,1)*r.bbox.w,c+=r.bbox.x;else{c=c/16*i;let d=(r.bbox.w-a.w/16*i)/2;c+=r.bbox.x+d}if(Ln[r.text].flags.yfl)f=(f-a.ymin)/Math.max(a.ymax-a.ymin,1)*r.bbox.h,f+=r.bbox.y;else{if(f=f/16*i,o){let d=(a.ymax+a.ymin)/2;f-=d/16*i}f+=r.bbox.y+r.bbox.h/2}l.push([c,f])}t.push(l)}}else if(Ln[r.text]&&Ln[r.text].flags.txt||r.type=="char"){let a=r.bbox.x,s=!!(Ln[r.text]&&Ln[r.text].flags.txt);for(let l=Number(s);l16?h*=16/u.w:h+=(16-u.w)/2/16),h+=a,p+=r.bbox.y+r.bbox.h/2,f.push([h,p])}t.push(f)}r.mode=="tt"?a+=i:a+=u.w/16*i}}}return t}function Nl(e){return Math.round(e*100)/100}var VP=class{constructor(e){this._latex=e,this._tokens=XEe(e),this._tree=x_(this._tokens),Xee(this._tree.chld),El(this._tree),UEe(this._tree),this._polylines=BEe(this._tree)}resolveScale(e){var t,n,r,i;if(e==null)return[16,16,16,16];let o=(t=e.SCALE_X)!=null?t:16,a=(n=e.SCALE_Y)!=null?n:16;if(e.MIN_CHAR_H!=null){let u=0;for(let f=0;f>startxref %%EOF -`,l+u}boxes(e){e||(e={});let[t,n,r,i]=this.resolveScale(e),o=[];for(let a=0;a"},{latex:"="},{latex:"\\neq\\ne"},{latex:"\\leqq"},{latex:"\\geqq"},{latex:"\\leq"},{latex:"\\geq"},{latex:"\\propto"},{latex:"\\sim"},{latex:"\\equiv"},{latex:"\\dagger"},{latex:"\\ddagger"},{latex:"\\ell"},{latex:"\\#"},{latex:"\\$"},{latex:"\\&"},{latex:"\\%"},{latex:"\\langle\\rangle"},{latex:"()"},{latex:"[]"},{latex:"\\{\\}"},{latex:"||"},{latex:"\\|"},{latex:"\\exists"},{latex:"\\in"},{latex:"\\subset"},{latex:"\\supset"},{latex:"\\cup"},{latex:"\\cap"},{latex:"\\infty"},{latex:"\\partial"},{latex:"\\nabla"},{latex:"\\aleph"},{latex:"\\wp"},{latex:"\\therefore"},{latex:"\\mid"},{latex:"\\sum"},{latex:"\\prod"},{latex:"\\bigoplus"},{latex:"\\bigodot"},{latex:"\\int"},{latex:"\\oint"},{latex:"\\oplus"},{latex:"\\odot"},{latex:"\\perp"},{latex:"\\angle"},{latex:"\\triangle"},{latex:"\\Box"},{latex:"\\rightarrow"},{latex:"\\to"},{latex:"\\leftarrow"},{latex:"\\gets"},{latex:"\\circ"},{latex:"\\bigcirc"},{latex:"\\bullet"},{latex:"\\star"},{latex:"\\diamond"},{latex:"\\ast"},{latex:","},{latex:"."},{latex:";"},{latex:"!"}]},{type:"group",label:"组合",children:[{latex:"\\frac{a}{b}"},{latex:"\\frac{dx}{dx}"},{latex:"\\frac{\\partial a}{\\partial b}"},{latex:"\\sqrt{x}"},{latex:"\\sqrt[n]{x}"},{latex:"x^{n}"},{latex:"x_{n}"},{latex:"x_a^b"},{latex:"\\int_{a}^{b}"},{latex:"\\oint_a^b"},{latex:"\\lim_{a \\rightarrow b}"},{latex:"\\prod_a^b"},{latex:"\\sum_a^b"},{latex:"\\left(\\begin{array}a \\\\ b\\end{array}\\right)"},{latex:"\\begin{bmatrix}a & b \\\\ c & d \\end{bmatrix}"},{latex:"\\begin{cases}a & x = 0 \\\\ b & x > 0\\end{cases}"},{latex:"\\hat{a}"},{latex:"\\breve{a}"},{latex:"\\acute{a}"},{latex:"\\grave{a}"},{latex:"\\tilde{a}"},{latex:"\\bar{a}"},{latex:"\\vec{a}"},{latex:"\\underline{a}"},{latex:"\\overline{a}"},{latex:"\\widehat{ab}"},{latex:"\\overleftarrow{ab}"},{latex:"\\overrightarrow{ab}"}]},{type:"verbatim",label:"函数",children:[{latex:"\\log"},{latex:"\\ln"},{latex:"\\exp"},{latex:"\\mod"},{latex:"\\lim"},{latex:"\\sin"},{latex:"\\cos"},{latex:"\\tan"},{latex:"\\csc"},{latex:"\\sec"},{latex:"\\cot"},{latex:"\\sinh"},{latex:"\\cosh"},{latex:"\\tanh"},{latex:"\\csch"},{latex:"\\sech"},{latex:"\\coth"},{latex:"\\arcsin"},{latex:"\\arccos"},{latex:"\\arctan"},{latex:"\\arccsc"},{latex:"\\arcsec"},{latex:"\\arccot"}]},{type:"greek",label:"希腊字母",children:[{latex:"\\alpha"},{latex:"\\beta"},{latex:"\\gamma"},{latex:"\\delta"},{latex:"\\varepsilon"},{latex:"\\zeta"},{latex:"\\eta"},{latex:"\\vartheta"},{latex:"\\iota"},{latex:"\\kappa"},{latex:"\\lambda"},{latex:"\\mu"},{latex:"\\nu"},{latex:"\\xi"},{latex:"\\omicron"},{latex:"\\pi"},{latex:"\\rho"},{latex:"\\sigma"},{latex:"\\tau"},{latex:"\\upsilon"},{latex:"\\varphi"},{latex:"\\chi"},{latex:"\\psi"},{latex:"\\omega"},{latex:"\\epsilon"},{latex:"\\theta"},{latex:"\\phi"},{latex:"\\varsigma"},{latex:"\\Alpha"},{latex:"\\Beta"},{latex:"\\Gamma"},{latex:"\\Delta"},{latex:"\\Epsilon"},{latex:"\\Zeta"},{latex:"\\Eta"},{latex:"\\Theta"},{latex:"\\Iota"},{latex:"\\Kappa"},{latex:"\\Lambda"},{latex:"\\Mu"},{latex:"\\Nu"},{latex:"\\Xi"},{latex:"\\Omicron"},{latex:"\\Pi"},{latex:"\\Rho"},{latex:"\\Sigma"},{latex:"\\Tau"},{latex:"\\Upsilon"},{latex:"\\Phi"},{latex:"\\Chi"},{latex:"\\Psi"},{latex:"\\Omega"}]}],ZEe=["width","height"],QEe=["transform"],HEe=["d"],KEe=Xe({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=ve({x:0,y:0,w:0,h:0}),r=ve("");Ot(()=>t.latex,()=>{const o=new VP(t.latex);r.value=o.pathd({}),n.value=o.box({})},{immediate:!0});const i=we(()=>{const o=n.value.w+32,a=n.value.h+32;return o>t.width||a>t.height?o/a>t.width/t.height?t.width/o:t.height/a:1});return(o,a)=>(U(),te("svg",{class:"formula-content",overflow:"visible",width:n.value.w+32,height:n.value.h+32,stroke:"#000","stroke-width":"1",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${i.value}, ${i.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[V("path",{d:r.value},null,8,HEe)],8,QEe)],8,ZEe))}}),ZU=Be(KEe,[["__scopeId","data-v-fa1b116d"]]),GEe=["innerHTML"],zEe=Xe({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=we(()=>new VP(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,i)=>(U(),te("div",{class:"symbol-content",innerHTML:n.value},null,8,GEe))}}),JEe=["disabled","value","rows","placeholder"],$Ee=Xe({__name:"TextArea",props:{value:{},rows:{default:4},padding:{},disabled:{type:Boolean,default:!1},resizable:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","focus","blur","enter"],setup(e,{expose:t,emit:n}){const r=n,i=s=>{r("update:value",s.target.value)},o=ve();return t({focus:()=>{o.value&&o.value.focus()}}),(s,l)=>(U(),te("textarea",{class:$e(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:o,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,style:Le({padding:s.padding?`${s.padding}px`:"10px"}),onInput:l[0]||(l[0]=u=>i(u)),onFocus:l[1]||(l[1]=u=>r("focus",u)),onBlur:l[2]||(l[2]=u=>r("blur",u)),onKeydown:l[3]||(l[3]=du(u=>r("enter",u),["enter"]))},null,46,JEe))}}),S_=Be($Ee,[["__scopeId","data-v-96f315e1"]]),jEe={class:"latex-editor"},qEe={class:"container"},eXe={class:"left"},tXe={class:"input-area"},nXe={class:"preview"},rXe={key:0,class:"placeholder"},iXe={key:1,class:"preview-content"},oXe={class:"right"},aXe={class:"content"},sXe={key:0,class:"symbol"},lXe={class:"symbol-pool"},uXe=["onClick"],cXe={key:1,class:"formula"},fXe={class:"formula-title"},dXe=["onClick"],hXe={class:"footer"},pXe=Xe({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,i=t,o=YEe,a=t8.map(p=>({label:p.label,key:p.type})),s=ve(""),l=ve("symbol"),u=ve(),c=ve(t8[0].type),f=we(()=>{const p=t8.find(v=>v.type===c.value);return(p==null?void 0:p.children)||[]});Ht(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return gn.error("公式不能为空");const p=new VP(s.value),v=p.pathd({}),g=p.box({});i("update",{latex:s.value,path:v,w:g.w+32,h:g.h+32})},h=p=>{u.value&&(u.value.focus(),document.execCommand("insertText",!1,p))};return(p,v)=>(U(),te("div",jEe,[V("div",qEe,[V("div",eXe,[V("div",tXe,[O(S_,{value:s.value,"onUpdate:value":v[0]||(v[0]=g=>s.value=g),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:u},null,8,["value"])]),V("div",nXe,[s.value?(U(),te("div",iXe,[O(ZU,{width:518,height:138,latex:s.value},null,8,["latex"])])):(U(),te("div",rXe,"公式预览"))])]),V("div",oXe,[O(hl,{tabs:n,value:l.value,"onUpdate:value":v[1]||(v[1]=g=>l.value=g),card:""},null,8,["value"]),V("div",aXe,[l.value==="symbol"?(U(),te("div",sXe,[O(hl,{tabs:z(a),value:c.value,"onUpdate:value":v[2]||(v[2]=g=>c.value=g),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),V("div",lXe,[(U(!0),te(We,null,tt(f.value,g=>(U(),te("div",{class:"symbol-item",key:g.latex,onClick:m=>h(g.latex)},[O(zEe,{latex:g.latex},null,8,["latex"])],8,uXe))),128))])])):(U(),te("div",cXe,[(U(!0),te(We,null,tt(z(o),g=>(U(),te("div",{class:"formula-item",key:g.label},[V("div",fXe,vt(g.label),1),V("div",{class:"formula-item-content",onClick:m=>s.value=g.latex},[O(ZU,{width:236,height:60,latex:g.latex},null,8,["latex"])],8,dXe)]))),128))]))])])]),V("div",hXe,[O(et,{class:"btn",onClick:v[3]||(v[3]=g=>i("close"))},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",type:"primary",onClick:v[4]||(v[4]=g=>d())},{default:ie(()=>[Ue("确定")]),_:1})])]))}}),Vee=Be(pXe,[["__scopeId","data-v-fc449335"]]),vXe={class:"canvas-tool"},gXe={class:"left-handler"},mXe={class:"more"},yXe={class:"add-element-handler"},AXe={class:"handler-item group-btn"},RXe={class:"handler-item group-btn",offset:10},bXe={class:"right-handler"},xXe={class:"text"},SXe=Xe({__name:"index",setup(e){const t=ht(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:i,showSearchPanel:o,showNotesPanel:a}=De(t),{canUndo:s,canRedo:l}=De(JS()),{redo:u,undo:c}=nn(),{scaleCanvas:f,setCanvasScalePercentage:d,resetCanvas:h,canvasScalePercentage:p}=zO(),v=[200,150,125,100,75,50],g=ve(!1),m=ee=>{d(ee),g.value=!1},{createImageElement:y,createChartElement:R,createTableElement:A,createLatexElement:x,createVideoElement:S,createAudioElement:L}=c0(),w=ee=>{const $=ee[0];$&&sd($).then(de=>y(de))},M=ve(!1),_=ve(!1),P=ve(!1),k=ve(!1),F=ve(!1),C=ve(!1),N=ve(!1),I=ve(!1),W=ve(!1),D=(ee=!1)=>{t.setCreatingElement({type:"text",vertical:ee})},Y=ee=>{t.setCreatingElement({type:"shape",data:ee}),M.value=!1},re=()=>{t.setCreatingCustomShapeState(!0),M.value=!1},B=ee=>{t.setCreatingElement({type:"line",data:ee}),_.value=!1},Z=()=>{t.setSelectPanelState(!i.value)},Q=()=>{t.setSearchPanelState(!o.value)},G=()=>{t.setNotesPanelState(!a.value)};return(ee,$)=>{var xe;const de=Se("IconBack"),K=Se("IconNext"),Ae=Se("IconMore"),ce=Se("IconComment"),fe=Se("IconMoveOne"),le=Se("IconSearch"),j=Se("IconFontSize"),X=Se("IconTextRotationNone"),J=Se("IconTextRotationDown"),se=Se("IconDown"),q=Se("IconGraphicDesign"),ne=Se("IconPicture"),oe=Se("IconConnection"),he=Se("IconChartProportion"),ue=Se("IconInsertTable"),ge=Se("IconFormula"),Re=Se("IconVideoTwo"),Ee=Se("IconMinus"),Ne=Se("IconPlus"),He=Se("IconFullScreen"),Ve=Fn("tooltip");return U(),te("div",vXe,[V("div",gXe,[ze(O(de,{class:$e(["handler-item",{disable:!z(s)}]),onClick:$[0]||($[0]=ye=>z(c)())},null,8,["class"]),[[Ve,"撤销(Ctrl + Z)"]]),ze(O(K,{class:$e(["handler-item",{disable:!z(l)}]),onClick:$[1]||($[1]=ye=>z(u)())},null,8,["class"]),[[Ve,"重做(Ctrl + Y)"]]),V("div",mXe,[O(Zt,{type:"vertical",style:{height:"20px"}}),O(Nt,{class:"more-icon",trigger:"click",value:W.value,"onUpdate:value":$[5]||($[5]=ye=>W.value=ye),offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:$[2]||($[2]=ye=>{G(),W.value=!1})},{default:ie(()=>[Ue("批注面板")]),_:1}),O(Yr,{center:"",onClick:$[3]||($[3]=ye=>{Z(),W.value=!1})},{default:ie(()=>[Ue("选择窗格")]),_:1}),O(Yr,{center:"",onClick:$[4]||($[4]=ye=>{Q(),W.value=!1})},{default:ie(()=>[Ue("查找替换")]),_:1})]),default:ie(()=>[O(Ae,{class:"handler-item"})]),_:1},8,["value"]),ze(O(ce,{class:$e(["handler-item",{active:z(a)}]),onClick:$[6]||($[6]=ye=>G())},null,8,["class"]),[[Ve,"批注面板"]]),ze(O(fe,{class:$e(["handler-item",{active:z(i)}]),onClick:$[7]||($[7]=ye=>Z())},null,8,["class"]),[[Ve,"选择窗格"]]),ze(O(le,{class:$e(["handler-item",{active:z(o)}]),onClick:$[8]||($[8]=ye=>Q())},null,8,["class"]),[[Ve,"查找/替换(Ctrl + F)"]])])]),V("div",yXe,[ze((U(),te("div",AXe,[O(j,{class:$e(["icon",{active:((xe=z(n))==null?void 0:xe.type)==="text"}]),onClick:$[9]||($[9]=ye=>D())},null,8,["class"]),O(Nt,{trigger:"click",value:N.value,"onUpdate:value":$[12]||($[12]=ye=>N.value=ye),style:{height:"100%"},offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:$[10]||($[10]=()=>{D(),N.value=!1})},{default:ie(()=>[O(X),Ue(" 横向文本框")]),_:1}),O(Yr,{center:"",onClick:$[11]||($[11]=()=>{D(!0),N.value=!1})},{default:ie(()=>[O(J),Ue(" 竖向文本框")]),_:1})]),default:ie(()=>[O(se,{class:"arrow"})]),_:1},8,["value"])])),[[Ve,"插入文字"]]),ze((U(),te("div",RXe,[O(Nt,{trigger:"click",style:{height:"100%"},value:M.value,"onUpdate:value":$[14]||($[14]=ye=>M.value=ye),offset:10},{content:ie(()=>[O(KFe,{onSelect:$[13]||($[13]=ye=>Y(ye))})]),default:ie(()=>{var ye;return[O(q,{class:$e(["icon",{active:z(r)||((ye=z(n))==null?void 0:ye.type)==="shape"}])},null,8,["class"])]}),_:1},8,["value"]),O(Nt,{trigger:"click",value:I.value,"onUpdate:value":$[16]||($[16]=ye=>I.value=ye),style:{height:"100%"},offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:$[15]||($[15]=()=>{re(),I.value=!1})},{default:ie(()=>[Ue("自由绘制")]),_:1})]),default:ie(()=>[O(se,{class:"arrow"})]),_:1},8,["value"])])),[[Ve,"插入形状"]]),O($h,{onChange:$[17]||($[17]=ye=>w(ye))},{default:ie(()=>[ze(O(ne,{class:"handler-item"},null,512),[[Ve,"插入图片"]])]),_:1}),O(Nt,{trigger:"click",value:_.value,"onUpdate:value":$[19]||($[19]=ye=>_.value=ye),offset:10},{content:ie(()=>[O(nEe,{onSelect:$[18]||($[18]=ye=>B(ye))})]),default:ie(()=>{var ye;return[ze(O(oe,{class:$e(["handler-item",{active:((ye=z(n))==null?void 0:ye.type)==="line"}])},null,8,["class"]),[[Ve,"插入线条"]])]}),_:1},8,["value"]),O(Nt,{trigger:"click",value:P.value,"onUpdate:value":$[21]||($[21]=ye=>P.value=ye),offset:10},{content:ie(()=>[O(sEe,{onSelect:$[20]||($[20]=ye=>{z(R)(ye),P.value=!1})})]),default:ie(()=>[ze(O(he,{class:"handler-item"},null,512),[[Ve,"插入图表"]])]),_:1},8,["value"]),O(Nt,{trigger:"click",value:k.value,"onUpdate:value":$[24]||($[24]=ye=>k.value=ye),offset:10},{content:ie(()=>[O(OEe,{onClose:$[22]||($[22]=ye=>k.value=!1),onInsert:$[23]||($[23]=({row:ye,col:Me})=>{z(A)(ye,Me),k.value=!1})})]),default:ie(()=>[ze(O(ue,{class:"handler-item"},null,512),[[Ve,"插入表格"]])]),_:1},8,["value"]),ze(O(ge,{class:"handler-item",onClick:$[25]||($[25]=ye=>C.value=!0)},null,512),[[Ve,"插入公式"]]),O(Nt,{trigger:"click",value:F.value,"onUpdate:value":$[29]||($[29]=ye=>F.value=ye),offset:10},{content:ie(()=>[O(NEe,{onClose:$[26]||($[26]=ye=>F.value=!1),onInsertVideo:$[27]||($[27]=ye=>{z(S)(ye),F.value=!1}),onInsertAudio:$[28]||($[28]=ye=>{z(L)(ye),F.value=!1})})]),default:ie(()=>[ze(O(Re,{class:"handler-item"},null,512),[[Ve,"插入音视频"]])]),_:1},8,["value"])]),V("div",bXe,[ze(O(Ee,{class:"handler-item viewport-size",onClick:$[30]||($[30]=ye=>z(f)("-"))},null,512),[[Ve,"画布缩小(Ctrl + -)"]]),O(Nt,{trigger:"click",value:g.value,"onUpdate:value":$[32]||($[32]=ye=>g.value=ye)},{content:ie(()=>[(U(),te(We,null,tt(v,ye=>O(Yr,{center:"",key:ye,onClick:Me=>m(ye)},{default:ie(()=>[Ue(vt(ye)+"%",1)]),_:2},1032,["onClick"])),64)),O(Yr,{center:"",onClick:$[31]||($[31]=ye=>z(h)())},{default:ie(()=>[Ue("适应屏幕")]),_:1})]),default:ie(()=>[V("span",xXe,vt(z(p)),1)]),_:1},8,["value"]),ze(O(Ne,{class:"handler-item viewport-size",onClick:$[33]||($[33]=ye=>z(f)("+"))},null,512),[[Ve,"画布放大(Ctrl + =)"]]),ze(O(He,{class:"handler-item viewport-size-adaptation",onClick:$[34]||($[34]=ye=>z(h)())},null,512),[[Ve,"适应屏幕(Ctrl + 0)"]])]),O(n0,{visible:C.value,"onUpdate:visible":$[37]||($[37]=ye=>C.value=ye),width:880},{default:ie(()=>[O(Vee,{onClose:$[35]||($[35]=ye=>C.value=!1),onUpdate:$[36]||($[36]=ye=>{z(x)(ye),C.value=!1})})]),_:1},8,["visible"])])}}}),wXe=Be(SXe,[["__scopeId","data-v-5a02ef27"]]),MXe=()=>{const e=ut(),{slides:t}=De(e),{addHistorySnapshot:n}=nn(),{deleteSlide:r}=gc();return{createSection:()=>{e.updateSlide({sectionTag:{id:on(6)}}),n()},removeSection:u=>{if(!u)return;const c=t.value.find(f=>{var d;return((d=f.sectionTag)==null?void 0:d.id)===u});e.removeSlideProps({id:c.id,propName:"sectionTag"}),n()},removeAllSection:()=>{const u=t.value.map(c=>(c.sectionTag&&delete c.sectionTag,c));e.setSlides(u),n()},removeSectionSlides:u=>{let c=0;u&&(c=t.value.findIndex(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===u}));const f=[];for(let d=c;d{if(c){if(u==="default")e.updateSlide({sectionTag:{id:on(6),title:c}},t.value[0].id);else{const f=t.value.find(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===u});if(!f)return;e.updateSlide({sectionTag:{...f.sectionTag,title:c}},f.id)}n()}}}},vy=()=>{const{slides:e}=De(ut()),t=ve(null),n=ve(50),r=()=>{e.value.length>n.value?t.value=setTimeout(()=>{n.value=n.value+20,r()},600):n.value=9999};return Ht(r),Nn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},LXe=e=>(en("data-v-5a791b40"),e=e(),tn(),e),TXe={class:"layout-pool"},_Xe=LXe(()=>V("div",{class:"header"},"页面模板",-1)),OXe={class:"list"},kXe={class:"btns"},PXe=Xe({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,r=ut(),{layouts:i}=De(r),o=a=>{n("select",a)};return(a,s)=>(U(),te("div",TXe,[_Xe,V("div",OXe,[(U(!0),te(We,null,tt(z(i),l=>(U(),te("div",{class:"layout-item",key:l.id},[O(dl,{class:"thumbnail",slide:l,size:180},null,8,["slide"]),V("div",kXe,[O(et,{class:"btn",type:"primary",size:"small",onClick:u=>o(l)},{default:ie(()=>[Ue("插入模板")]),_:2},1032,["onClick"])])]))),128))])]))}}),CXe=Be(PXe,[["__scopeId","data-v-5a791b40"]]);var Dee={exports:{}};const IXe=xO(wde);/**! +`,l+u}boxes(e){e||(e={});let[t,n,r,i]=this.resolveScale(e),o=[];for(let a=0;a"},{latex:"="},{latex:"\\neq\\ne"},{latex:"\\leqq"},{latex:"\\geqq"},{latex:"\\leq"},{latex:"\\geq"},{latex:"\\propto"},{latex:"\\sim"},{latex:"\\equiv"},{latex:"\\dagger"},{latex:"\\ddagger"},{latex:"\\ell"},{latex:"\\#"},{latex:"\\$"},{latex:"\\&"},{latex:"\\%"},{latex:"\\langle\\rangle"},{latex:"()"},{latex:"[]"},{latex:"\\{\\}"},{latex:"||"},{latex:"\\|"},{latex:"\\exists"},{latex:"\\in"},{latex:"\\subset"},{latex:"\\supset"},{latex:"\\cup"},{latex:"\\cap"},{latex:"\\infty"},{latex:"\\partial"},{latex:"\\nabla"},{latex:"\\aleph"},{latex:"\\wp"},{latex:"\\therefore"},{latex:"\\mid"},{latex:"\\sum"},{latex:"\\prod"},{latex:"\\bigoplus"},{latex:"\\bigodot"},{latex:"\\int"},{latex:"\\oint"},{latex:"\\oplus"},{latex:"\\odot"},{latex:"\\perp"},{latex:"\\angle"},{latex:"\\triangle"},{latex:"\\Box"},{latex:"\\rightarrow"},{latex:"\\to"},{latex:"\\leftarrow"},{latex:"\\gets"},{latex:"\\circ"},{latex:"\\bigcirc"},{latex:"\\bullet"},{latex:"\\star"},{latex:"\\diamond"},{latex:"\\ast"},{latex:","},{latex:"."},{latex:";"},{latex:"!"}]},{type:"group",label:"组合",children:[{latex:"\\frac{a}{b}"},{latex:"\\frac{dx}{dx}"},{latex:"\\frac{\\partial a}{\\partial b}"},{latex:"\\sqrt{x}"},{latex:"\\sqrt[n]{x}"},{latex:"x^{n}"},{latex:"x_{n}"},{latex:"x_a^b"},{latex:"\\int_{a}^{b}"},{latex:"\\oint_a^b"},{latex:"\\lim_{a \\rightarrow b}"},{latex:"\\prod_a^b"},{latex:"\\sum_a^b"},{latex:"\\left(\\begin{array}a \\\\ b\\end{array}\\right)"},{latex:"\\begin{bmatrix}a & b \\\\ c & d \\end{bmatrix}"},{latex:"\\begin{cases}a & x = 0 \\\\ b & x > 0\\end{cases}"},{latex:"\\hat{a}"},{latex:"\\breve{a}"},{latex:"\\acute{a}"},{latex:"\\grave{a}"},{latex:"\\tilde{a}"},{latex:"\\bar{a}"},{latex:"\\vec{a}"},{latex:"\\underline{a}"},{latex:"\\overline{a}"},{latex:"\\widehat{ab}"},{latex:"\\overleftarrow{ab}"},{latex:"\\overrightarrow{ab}"}]},{type:"verbatim",label:"函数",children:[{latex:"\\log"},{latex:"\\ln"},{latex:"\\exp"},{latex:"\\mod"},{latex:"\\lim"},{latex:"\\sin"},{latex:"\\cos"},{latex:"\\tan"},{latex:"\\csc"},{latex:"\\sec"},{latex:"\\cot"},{latex:"\\sinh"},{latex:"\\cosh"},{latex:"\\tanh"},{latex:"\\csch"},{latex:"\\sech"},{latex:"\\coth"},{latex:"\\arcsin"},{latex:"\\arccos"},{latex:"\\arctan"},{latex:"\\arccsc"},{latex:"\\arcsec"},{latex:"\\arccot"}]},{type:"greek",label:"希腊字母",children:[{latex:"\\alpha"},{latex:"\\beta"},{latex:"\\gamma"},{latex:"\\delta"},{latex:"\\varepsilon"},{latex:"\\zeta"},{latex:"\\eta"},{latex:"\\vartheta"},{latex:"\\iota"},{latex:"\\kappa"},{latex:"\\lambda"},{latex:"\\mu"},{latex:"\\nu"},{latex:"\\xi"},{latex:"\\omicron"},{latex:"\\pi"},{latex:"\\rho"},{latex:"\\sigma"},{latex:"\\tau"},{latex:"\\upsilon"},{latex:"\\varphi"},{latex:"\\chi"},{latex:"\\psi"},{latex:"\\omega"},{latex:"\\epsilon"},{latex:"\\theta"},{latex:"\\phi"},{latex:"\\varsigma"},{latex:"\\Alpha"},{latex:"\\Beta"},{latex:"\\Gamma"},{latex:"\\Delta"},{latex:"\\Epsilon"},{latex:"\\Zeta"},{latex:"\\Eta"},{latex:"\\Theta"},{latex:"\\Iota"},{latex:"\\Kappa"},{latex:"\\Lambda"},{latex:"\\Mu"},{latex:"\\Nu"},{latex:"\\Xi"},{latex:"\\Omicron"},{latex:"\\Pi"},{latex:"\\Rho"},{latex:"\\Sigma"},{latex:"\\Tau"},{latex:"\\Upsilon"},{latex:"\\Phi"},{latex:"\\Chi"},{latex:"\\Psi"},{latex:"\\Omega"}]}],ZEe=["width","height"],QEe=["transform"],HEe=["d"],KEe=Xe({__name:"FormulaContent",props:{latex:{},width:{},height:{}},setup(e){const t=e,n=pe({x:0,y:0,w:0,h:0}),r=pe("");Ot(()=>t.latex,()=>{const o=new VP(t.latex);r.value=o.pathd({}),n.value=o.box({})},{immediate:!0});const i=we(()=>{const o=n.value.w+32,a=n.value.h+32;return o>t.width||a>t.height?o/a>t.width/t.height?t.width/o:t.height/a:1});return(o,a)=>(U(),te("svg",{class:"formula-content",overflow:"visible",width:n.value.w+32,height:n.value.h+32,stroke:"#000","stroke-width":"1",fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},[V("g",{transform:`scale(${i.value}, ${i.value}) translate(0,0) matrix(1,0,0,1,0,0)`,"transform-origin":"0 50%"},[V("path",{d:r.value},null,8,HEe)],8,QEe)],8,ZEe))}}),ZU=Be(KEe,[["__scopeId","data-v-fa1b116d"]]),GEe=["innerHTML"],zEe=Xe({__name:"SymbolContent",props:{latex:{}},setup(e){const t=e,n=we(()=>new VP(t.latex).svg({SCALE_X:10,SCALE_Y:10}));return(r,i)=>(U(),te("div",{class:"symbol-content",innerHTML:n.value},null,8,GEe))}}),JEe=["disabled","value","rows","placeholder"],$Ee=Xe({__name:"TextArea",props:{value:{},rows:{default:4},padding:{},disabled:{type:Boolean,default:!1},resizable:{type:Boolean,default:!1},placeholder:{default:""}},emits:["update:value","focus","blur","enter"],setup(e,{expose:t,emit:n}){const r=n,i=s=>{r("update:value",s.target.value)},o=pe();return t({focus:()=>{o.value&&o.value.focus()}}),(s,l)=>(U(),te("textarea",{class:$e(["textarea",{disabled:s.disabled,resizable:s.resizable}]),ref_key:"textareaRef",ref:o,disabled:s.disabled,value:s.value,rows:s.rows,placeholder:s.placeholder,style:Le({padding:s.padding?`${s.padding}px`:"10px"}),onInput:l[0]||(l[0]=u=>i(u)),onFocus:l[1]||(l[1]=u=>r("focus",u)),onBlur:l[2]||(l[2]=u=>r("blur",u)),onKeydown:l[3]||(l[3]=du(u=>r("enter",u),["enter"]))},null,46,JEe))}}),S_=Be($Ee,[["__scopeId","data-v-96f315e1"]]),jEe={class:"latex-editor"},qEe={class:"container"},eXe={class:"left"},tXe={class:"input-area"},nXe={class:"preview"},rXe={key:0,class:"placeholder"},iXe={key:1,class:"preview-content"},oXe={class:"right"},aXe={class:"content"},sXe={key:0,class:"symbol"},lXe={class:"symbol-pool"},uXe=["onClick"],cXe={key:1,class:"formula"},fXe={class:"formula-title"},dXe=["onClick"],hXe={class:"footer"},pXe=Xe({__name:"index",props:{value:{default:""}},emits:["update","close"],setup(e,{emit:t}){const n=[{label:"常用符号",key:"symbol"},{label:"预置公式",key:"formula"}],r=e,i=t,o=YEe,a=t8.map(p=>({label:p.label,key:p.type})),s=pe(""),l=pe("symbol"),u=pe(),c=pe(t8[0].type),f=we(()=>{const p=t8.find(v=>v.type===c.value);return(p==null?void 0:p.children)||[]});Ht(()=>{r.value&&(s.value=r.value)});const d=()=>{if(!s.value)return gn.error("公式不能为空");const p=new VP(s.value),v=p.pathd({}),g=p.box({});i("update",{latex:s.value,path:v,w:g.w+32,h:g.h+32})},h=p=>{u.value&&(u.value.focus(),document.execCommand("insertText",!1,p))};return(p,v)=>(U(),te("div",jEe,[V("div",qEe,[V("div",eXe,[V("div",tXe,[O(S_,{value:s.value,"onUpdate:value":v[0]||(v[0]=g=>s.value=g),placeholder:"输入 LaTeX 公式",ref_key:"textAreaRef",ref:u},null,8,["value"])]),V("div",nXe,[s.value?(U(),te("div",iXe,[O(ZU,{width:518,height:138,latex:s.value},null,8,["latex"])])):(U(),te("div",rXe,"公式预览"))])]),V("div",oXe,[O(hl,{tabs:n,value:l.value,"onUpdate:value":v[1]||(v[1]=g=>l.value=g),card:""},null,8,["value"]),V("div",aXe,[l.value==="symbol"?(U(),te("div",sXe,[O(hl,{tabs:z(a),value:c.value,"onUpdate:value":v[2]||(v[2]=g=>c.value=g),spaceBetween:"",tabsStyle:{margin:"10px 10px 0"}},null,8,["tabs","value"]),V("div",lXe,[(U(!0),te(We,null,tt(f.value,g=>(U(),te("div",{class:"symbol-item",key:g.latex,onClick:m=>h(g.latex)},[O(zEe,{latex:g.latex},null,8,["latex"])],8,uXe))),128))])])):(U(),te("div",cXe,[(U(!0),te(We,null,tt(z(o),g=>(U(),te("div",{class:"formula-item",key:g.label},[V("div",fXe,vt(g.label),1),V("div",{class:"formula-item-content",onClick:m=>s.value=g.latex},[O(ZU,{width:236,height:60,latex:g.latex},null,8,["latex"])],8,dXe)]))),128))]))])])]),V("div",hXe,[O(et,{class:"btn",onClick:v[3]||(v[3]=g=>i("close"))},{default:ie(()=>[Ue("取消")]),_:1}),O(et,{class:"btn",type:"primary",onClick:v[4]||(v[4]=g=>d())},{default:ie(()=>[Ue("确定")]),_:1})])]))}}),Vee=Be(pXe,[["__scopeId","data-v-fc449335"]]),vXe={class:"canvas-tool"},gXe={class:"left-handler"},mXe={class:"more"},yXe={class:"add-element-handler"},AXe={class:"handler-item group-btn"},RXe={class:"handler-item group-btn",offset:10},bXe={class:"right-handler"},xXe={class:"text"},SXe=Xe({__name:"index",setup(e){const t=ht(),{creatingElement:n,creatingCustomShape:r,showSelectPanel:i,showSearchPanel:o,showNotesPanel:a}=De(t),{canUndo:s,canRedo:l}=De(JS()),{redo:u,undo:c}=nn(),{scaleCanvas:f,setCanvasScalePercentage:d,resetCanvas:h,canvasScalePercentage:p}=zO(),v=[200,150,125,100,75,50],g=pe(!1),m=q=>{d(q),g.value=!1},{createImageElement:y,createChartElement:R,createTableElement:A,createLatexElement:x,createVideoElement:S,createAudioElement:L}=c0(),w=q=>{const $=q[0];$&&sd($).then(de=>y(de))},M=pe(!1),_=pe(!1),k=pe(!1),P=pe(!1),N=pe(!1),C=pe(!1),F=pe(!1),I=pe(!1),W=pe(!1),D=(q=!1)=>{t.setCreatingElement({type:"text",vertical:q})},Z=q=>{t.setCreatingElement({type:"shape",data:q}),M.value=!1},re=()=>{t.setCreatingCustomShapeState(!0),M.value=!1},B=q=>{t.setCreatingElement({type:"line",data:q}),_.value=!1},Y=()=>{t.setSelectPanelState(!i.value)},Q=()=>{t.setSearchPanelState(!o.value)},K=()=>{t.setNotesPanelState(!a.value)};return(q,$)=>{var xe;const de=Se("IconBack"),G=Se("IconNext"),Ae=Se("IconMore"),ce=Se("IconComment"),fe=Se("IconMoveOne"),le=Se("IconSearch"),j=Se("IconFontSize"),X=Se("IconTextRotationNone"),J=Se("IconTextRotationDown"),se=Se("IconDown"),ee=Se("IconGraphicDesign"),ne=Se("IconPicture"),oe=Se("IconConnection"),he=Se("IconChartProportion"),ue=Se("IconInsertTable"),ge=Se("IconFormula"),Re=Se("IconVideoTwo"),Ee=Se("IconMinus"),Ne=Se("IconPlus"),He=Se("IconFullScreen"),Ve=Fn("tooltip");return U(),te("div",vXe,[V("div",gXe,[ze(O(de,{class:$e(["handler-item",{disable:!z(s)}]),onClick:$[0]||($[0]=ye=>z(c)())},null,8,["class"]),[[Ve,"撤销(Ctrl + Z)"]]),ze(O(G,{class:$e(["handler-item",{disable:!z(l)}]),onClick:$[1]||($[1]=ye=>z(u)())},null,8,["class"]),[[Ve,"重做(Ctrl + Y)"]]),V("div",mXe,[O(Zt,{type:"vertical",style:{height:"20px"}}),O(Nt,{class:"more-icon",trigger:"click",value:W.value,"onUpdate:value":$[5]||($[5]=ye=>W.value=ye),offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:$[2]||($[2]=ye=>{K(),W.value=!1})},{default:ie(()=>[Ue("批注面板")]),_:1}),O(Yr,{center:"",onClick:$[3]||($[3]=ye=>{Y(),W.value=!1})},{default:ie(()=>[Ue("选择窗格")]),_:1}),O(Yr,{center:"",onClick:$[4]||($[4]=ye=>{Q(),W.value=!1})},{default:ie(()=>[Ue("查找替换")]),_:1})]),default:ie(()=>[O(Ae,{class:"handler-item"})]),_:1},8,["value"]),ze(O(ce,{class:$e(["handler-item",{active:z(a)}]),onClick:$[6]||($[6]=ye=>K())},null,8,["class"]),[[Ve,"批注面板"]]),ze(O(fe,{class:$e(["handler-item",{active:z(i)}]),onClick:$[7]||($[7]=ye=>Y())},null,8,["class"]),[[Ve,"选择窗格"]]),ze(O(le,{class:$e(["handler-item",{active:z(o)}]),onClick:$[8]||($[8]=ye=>Q())},null,8,["class"]),[[Ve,"查找/替换(Ctrl + F)"]])])]),V("div",yXe,[ze((U(),te("div",AXe,[O(j,{class:$e(["icon",{active:((xe=z(n))==null?void 0:xe.type)==="text"}]),onClick:$[9]||($[9]=ye=>D())},null,8,["class"]),O(Nt,{trigger:"click",value:F.value,"onUpdate:value":$[12]||($[12]=ye=>F.value=ye),style:{height:"100%"},offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:$[10]||($[10]=()=>{D(),F.value=!1})},{default:ie(()=>[O(X),Ue(" 横向文本框")]),_:1}),O(Yr,{center:"",onClick:$[11]||($[11]=()=>{D(!0),F.value=!1})},{default:ie(()=>[O(J),Ue(" 竖向文本框")]),_:1})]),default:ie(()=>[O(se,{class:"arrow"})]),_:1},8,["value"])])),[[Ve,"插入文字"]]),ze((U(),te("div",RXe,[O(Nt,{trigger:"click",style:{height:"100%"},value:M.value,"onUpdate:value":$[14]||($[14]=ye=>M.value=ye),offset:10},{content:ie(()=>[O(KFe,{onSelect:$[13]||($[13]=ye=>Z(ye))})]),default:ie(()=>{var ye;return[O(ee,{class:$e(["icon",{active:z(r)||((ye=z(n))==null?void 0:ye.type)==="shape"}])},null,8,["class"])]}),_:1},8,["value"]),O(Nt,{trigger:"click",value:I.value,"onUpdate:value":$[16]||($[16]=ye=>I.value=ye),style:{height:"100%"},offset:10},{content:ie(()=>[O(Yr,{center:"",onClick:$[15]||($[15]=()=>{re(),I.value=!1})},{default:ie(()=>[Ue("自由绘制")]),_:1})]),default:ie(()=>[O(se,{class:"arrow"})]),_:1},8,["value"])])),[[Ve,"插入形状"]]),O($h,{onChange:$[17]||($[17]=ye=>w(ye))},{default:ie(()=>[ze(O(ne,{class:"handler-item"},null,512),[[Ve,"插入图片"]])]),_:1}),O(Nt,{trigger:"click",value:_.value,"onUpdate:value":$[19]||($[19]=ye=>_.value=ye),offset:10},{content:ie(()=>[O(nEe,{onSelect:$[18]||($[18]=ye=>B(ye))})]),default:ie(()=>{var ye;return[ze(O(oe,{class:$e(["handler-item",{active:((ye=z(n))==null?void 0:ye.type)==="line"}])},null,8,["class"]),[[Ve,"插入线条"]])]}),_:1},8,["value"]),O(Nt,{trigger:"click",value:k.value,"onUpdate:value":$[21]||($[21]=ye=>k.value=ye),offset:10},{content:ie(()=>[O(sEe,{onSelect:$[20]||($[20]=ye=>{z(R)(ye),k.value=!1})})]),default:ie(()=>[ze(O(he,{class:"handler-item"},null,512),[[Ve,"插入图表"]])]),_:1},8,["value"]),O(Nt,{trigger:"click",value:P.value,"onUpdate:value":$[24]||($[24]=ye=>P.value=ye),offset:10},{content:ie(()=>[O(OEe,{onClose:$[22]||($[22]=ye=>P.value=!1),onInsert:$[23]||($[23]=({row:ye,col:Me})=>{z(A)(ye,Me),P.value=!1})})]),default:ie(()=>[ze(O(ue,{class:"handler-item"},null,512),[[Ve,"插入表格"]])]),_:1},8,["value"]),ze(O(ge,{class:"handler-item",onClick:$[25]||($[25]=ye=>C.value=!0)},null,512),[[Ve,"插入公式"]]),O(Nt,{trigger:"click",value:N.value,"onUpdate:value":$[29]||($[29]=ye=>N.value=ye),offset:10},{content:ie(()=>[O(NEe,{onClose:$[26]||($[26]=ye=>N.value=!1),onInsertVideo:$[27]||($[27]=ye=>{z(S)(ye),N.value=!1}),onInsertAudio:$[28]||($[28]=ye=>{z(L)(ye),N.value=!1})})]),default:ie(()=>[ze(O(Re,{class:"handler-item"},null,512),[[Ve,"插入音视频"]])]),_:1},8,["value"])]),V("div",bXe,[ze(O(Ee,{class:"handler-item viewport-size",onClick:$[30]||($[30]=ye=>z(f)("-"))},null,512),[[Ve,"画布缩小(Ctrl + -)"]]),O(Nt,{trigger:"click",value:g.value,"onUpdate:value":$[32]||($[32]=ye=>g.value=ye)},{content:ie(()=>[(U(),te(We,null,tt(v,ye=>O(Yr,{center:"",key:ye,onClick:Me=>m(ye)},{default:ie(()=>[Ue(vt(ye)+"%",1)]),_:2},1032,["onClick"])),64)),O(Yr,{center:"",onClick:$[31]||($[31]=ye=>z(h)())},{default:ie(()=>[Ue("适应屏幕")]),_:1})]),default:ie(()=>[V("span",xXe,vt(z(p)),1)]),_:1},8,["value"]),ze(O(Ne,{class:"handler-item viewport-size",onClick:$[33]||($[33]=ye=>z(f)("+"))},null,512),[[Ve,"画布放大(Ctrl + =)"]]),ze(O(He,{class:"handler-item viewport-size-adaptation",onClick:$[34]||($[34]=ye=>z(h)())},null,512),[[Ve,"适应屏幕(Ctrl + 0)"]])]),O(n0,{visible:C.value,"onUpdate:visible":$[37]||($[37]=ye=>C.value=ye),width:880},{default:ie(()=>[O(Vee,{onClose:$[35]||($[35]=ye=>C.value=!1),onUpdate:$[36]||($[36]=ye=>{z(x)(ye),C.value=!1})})]),_:1},8,["visible"])])}}}),wXe=Be(SXe,[["__scopeId","data-v-5a02ef27"]]),MXe=()=>{const e=ut(),{slides:t}=De(e),{addHistorySnapshot:n}=nn(),{deleteSlide:r}=gc();return{createSection:()=>{e.updateSlide({sectionTag:{id:on(6)}}),n()},removeSection:u=>{if(!u)return;const c=t.value.find(f=>{var d;return((d=f.sectionTag)==null?void 0:d.id)===u});e.removeSlideProps({id:c.id,propName:"sectionTag"}),n()},removeAllSection:()=>{const u=t.value.map(c=>(c.sectionTag&&delete c.sectionTag,c));e.setSlides(u),n()},removeSectionSlides:u=>{let c=0;u&&(c=t.value.findIndex(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===u}));const f=[];for(let d=c;d{if(c){if(u==="default")e.updateSlide({sectionTag:{id:on(6),title:c}},t.value[0].id);else{const f=t.value.find(d=>{var h;return((h=d.sectionTag)==null?void 0:h.id)===u});if(!f)return;e.updateSlide({sectionTag:{...f.sectionTag,title:c}},f.id)}n()}}}},vy=()=>{const{slides:e}=De(ut()),t=pe(null),n=pe(50),r=()=>{e.value.length>n.value?t.value=setTimeout(()=>{n.value=n.value+20,r()},600):n.value=9999};return Ht(r),Nn(()=>{t.value&&clearTimeout(t.value)}),{slidesLoadLimit:n}},LXe=e=>(en("data-v-5a791b40"),e=e(),tn(),e),TXe={class:"layout-pool"},_Xe=LXe(()=>V("div",{class:"header"},"页面模板",-1)),OXe={class:"list"},kXe={class:"btns"},PXe=Xe({__name:"LayoutPool",emits:["select"],setup(e,{emit:t}){const n=t,r=ut(),{layouts:i}=De(r),o=a=>{n("select",a)};return(a,s)=>(U(),te("div",TXe,[_Xe,V("div",OXe,[(U(!0),te(We,null,tt(z(i),l=>(U(),te("div",{class:"layout-item",key:l.id},[O(dl,{class:"thumbnail",slide:l,size:180},null,8,["slide"]),V("div",kXe,[O(et,{class:"btn",type:"primary",size:"small",onClick:u=>o(l)},{default:ie(()=>[Ue("插入模板")]),_:2},1032,["onClick"])])]))),128))])]))}}),CXe=Be(PXe,[["__scopeId","data-v-5a791b40"]]);var Dee={exports:{}};const IXe=xO(wde);/**! * Sortable 1.14.0 * @author RubaXa * @author owenm * @license MIT */function QU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mu(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function EXe(e,t){if(e==null)return{};var n=FXe(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function XXe(e){return WXe(e)||VXe(e)||DXe(e)||UXe()}function WXe(e){if(Array.isArray(e))return w_(e)}function VXe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DXe(e,t){if(e){if(typeof e=="string")return w_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w_(e,t)}}function w_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function ZXe(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function nl(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&yS(e,t):yS(e,t))||r&&e===n)return e;if(e===n)break}while(e=ZXe(e))}return null}var KU=/\s+/g;function Er(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(KU," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(KU," ")}}function Pt(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function Wh(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Pt(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Yee(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i=o,!a)return r;if(r===uu())break;r=_f(r,!1)}return!1}function Cv(e,t,n,r){for(var i=0,o=0,a=e.children;o2&&arguments[2]!==void 0?arguments[2]:{},i=r.evt,o=EXe(r,$Xe);my.pluginEvent.bind(Kt)(t,n,mu({dragEl:mt,parentEl:Ur,ghostEl:hn,rootEl:Tr,nextEl:oh,lastDownEl:Fb,cloneEl:Br,cloneHidden:yf,dragStarted:Fg,putSortable:Xi,activeSortable:Kt.active,originalEvent:i,oldIndex:Fp,oldDraggableIndex:km,newIndex:La,newDraggableIndex:hf,hideGhostForTarget:zee,unhideGhostForTarget:Jee,cloneNowHidden:function(){yf=!0},cloneNowShown:function(){yf=!1},dispatchSortableEvent:function(s){Mo({sortable:n,name:s,originalEvent:i})}},o))};function Mo(e){Ng(mu({putSortable:Xi,cloneEl:Br,targetEl:mt,rootEl:Tr,oldIndex:Fp,oldDraggableIndex:km,newIndex:La,newDraggableIndex:hf},e))}var mt,Ur,hn,Tr,oh,Fb,Br,yf,Fp,La,km,hf,WR,Xi,wp=!1,AS=!1,RS=[],jd,Ys,o8,a8,$U,jU,Fg,ip,Pm,Cm=!1,VR=!1,Eb,to,s8=[],M_=!1,bS=[],n4=typeof document<"u",DR=Uee,qU=gy||bc?"cssFloat":"float",jXe=n4&&!YXe&&!Uee&&"draggable"in document.createElement("div"),Hee=function(){if(n4){if(bc)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Kee=function(t,n){var r=Pt(t),i=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=Cv(t,0,n),a=Cv(t,1,n),s=o&&Pt(o),l=a&&Pt(a),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+kr(o).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+kr(a).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return o&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||u>=i&&r[qU]==="none"||a&&r[qU]==="none"&&u+c>i)?"vertical":"horizontal"},qXe=function(t,n,r){var i=r?t.left:t.top,o=r?t.right:t.bottom,a=r?t.width:t.height,s=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return i===s||o===l||i+a/2===s+u/2},eWe=function(t,n){var r;return RS.some(function(i){var o=i[co].options.emptyInsertThreshold;if(!(!o||DP(i))){var a=kr(i),s=t>=a.left-o&&t<=a.right+o,l=n>=a.top-o&&n<=a.bottom+o;if(s&&l)return r=i}}),r},Gee=function(t){function n(o,a){return function(s,l,u,c){var f=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(o==null&&(a||f))return!0;if(o==null||o===!1)return!1;if(a&&o==="clone")return o;if(typeof o=="function")return n(o(s,l,u,c),a)(s,l,u,c);var d=(a?s:l).options.group.name;return o===!0||typeof o=="string"&&o===d||o.join&&o.indexOf(d)>-1}}var r={},i=t.group;(!i||Nb(i)!="object")&&(i={name:i}),r.name=i.name,r.checkPull=n(i.pull,!0),r.checkPut=n(i.put),r.revertClone=i.revertClone,t.group=r},zee=function(){!Hee&&hn&&Pt(hn,"display","none")},Jee=function(){!Hee&&hn&&Pt(hn,"display","")};n4&&document.addEventListener("click",function(e){if(AS)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),AS=!1,!1},!0);var qd=function(t){if(mt){t=t.touches?t.touches[0]:t;var n=eWe(t.clientX,t.clientY);if(n){var r={};for(var i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[co]._onDragOver(r)}}},tWe=function(t){mt&&mt.parentNode[co]._isOutsideThisEl(t.target)};function Kt(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Ps({},t),e[co]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Kee(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,s){a.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Kt.supportPointer!==!1&&"PointerEvent"in window&&!_m,emptyInsertThreshold:5};my.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Gee(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:jXe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?On(e,"pointerdown",this._onTapStart):(On(e,"mousedown",this._onTapStart),On(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(On(e,"dragover",this),On(e,"dragenter",this)),RS.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Ps(this,GXe())}Kt.prototype={constructor:Kt,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(ip=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,mt):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,i=this.options,o=i.preventOnFilter,a=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,c=i.filter;if(uWe(r),!mt&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&_m&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=nl(l,i.draggable,r,!1),!(l&&l.animated)&&Fb!==l)){if(Fp=Hr(l),km=Hr(l,i.draggable),typeof c=="function"){if(c.call(this,t,l,this)){Mo({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),Yo("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=nl(u,f.trim(),r,!1),f)return Mo({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),Yo("filter",n,{evt:t}),!0}),c)){o&&t.cancelable&&t.preventDefault();return}i.handle&&!nl(u,i.handle,r,!1)||this._prepareDragStart(t,s,l)}}},_prepareDragStart:function(t,n,r){var i=this,o=i.el,a=i.options,s=o.ownerDocument,l;if(r&&!mt&&r.parentNode===o){var u=kr(r);if(Tr=o,mt=r,Ur=mt.parentNode,oh=mt.nextSibling,Fb=r,WR=a.group,Kt.dragged=mt,jd={target:mt,clientX:(n||t).clientX,clientY:(n||t).clientY},$U=jd.clientX-u.left,jU=jd.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,mt.style["will-change"]="all",l=function(){if(Yo("delayEnded",i,{evt:t}),Kt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!HU&&i.nativeDraggable&&(mt.draggable=!0),i._triggerDragStart(t,n),Mo({sortable:i,name:"choose",originalEvent:t}),Er(mt,a.chosenClass,!0)},a.ignore.split(",").forEach(function(c){Yee(mt,c.trim(),l8)}),On(s,"dragover",qd),On(s,"mousemove",qd),On(s,"touchmove",qd),On(s,"mouseup",i._onDrop),On(s,"touchend",i._onDrop),On(s,"touchcancel",i._onDrop),HU&&this.nativeDraggable&&(this.options.touchStartThreshold=4,mt.draggable=!0),Yo("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(gy||bc))){if(Kt.eventCanceled){this._onDrop();return}On(s,"mouseup",i._disableDelayedDrag),On(s,"touchend",i._disableDelayedDrag),On(s,"touchcancel",i._disableDelayedDrag),On(s,"mousemove",i._delayedDragTouchMoveHandler),On(s,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&On(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(l,a.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){mt&&l8(mt),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Sn(t,"mouseup",this._disableDelayedDrag),Sn(t,"touchend",this._disableDelayedDrag),Sn(t,"touchcancel",this._disableDelayedDrag),Sn(t,"mousemove",this._delayedDragTouchMoveHandler),Sn(t,"touchmove",this._delayedDragTouchMoveHandler),Sn(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?On(document,"pointermove",this._onTouchMove):n?On(document,"touchmove",this._onTouchMove):On(document,"mousemove",this._onTouchMove):(On(mt,"dragend",this),On(Tr,"dragstart",this._onDragStart));try{document.selection?Xb(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(wp=!1,Tr&&mt){Yo("dragStarted",this,{evt:n}),this.nativeDraggable&&On(document,"dragover",tWe);var r=this.options;!t&&Er(mt,r.dragClass,!1),Er(mt,r.ghostClass,!0),Kt.active=this,t&&this._appendGhost(),Mo({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Ys){this._lastX=Ys.clientX,this._lastY=Ys.clientY,zee();for(var t=document.elementFromPoint(Ys.clientX,Ys.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Ys.clientX,Ys.clientY),t!==n);)n=t;if(mt.parentNode[co]._isOutsideThisEl(t),n)do{if(n[co]){var r=void 0;if(r=n[co]._onDragOver({clientX:Ys.clientX,clientY:Ys.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Jee()}},_onTouchMove:function(t){if(jd){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=hn&&Wh(hn,!0),s=hn&&a&&a.a,l=hn&&a&&a.d,u=DR&&to&&zU(to),c=(o.clientX-jd.clientX+i.x)/(s||1)+(u?u[0]-s8[0]:0)/(s||1),f=(o.clientY-jd.clientY+i.y)/(l||1)+(u?u[1]-s8[1]:0)/(l||1);if(!Kt.active&&!wp){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))=0&&(Mo({rootEl:Ur,name:"add",toEl:Ur,fromEl:Tr,originalEvent:t}),Mo({sortable:this,name:"remove",toEl:Ur,originalEvent:t}),Mo({rootEl:Ur,name:"sort",toEl:Ur,fromEl:Tr,originalEvent:t}),Mo({sortable:this,name:"sort",toEl:Ur,originalEvent:t})),Xi&&Xi.save()):La!==Fp&&La>=0&&(Mo({sortable:this,name:"update",toEl:Ur,originalEvent:t}),Mo({sortable:this,name:"sort",toEl:Ur,originalEvent:t})),Kt.active&&((La==null||La===-1)&&(La=Fp,hf=km),Mo({sortable:this,name:"end",toEl:Ur,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Yo("nulling",this),Tr=mt=Ur=hn=oh=Br=Fb=yf=jd=Ys=Fg=La=hf=Fp=km=ip=Pm=Xi=WR=Kt.dragged=Kt.ghost=Kt.clone=Kt.active=null,bS.forEach(function(t){t.checked=!0}),bS.length=o8=a8=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":mt&&(this._onDragOver(t),nWe(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,i=0,o=r.length,a=this.options;ir.right+i||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+i}function aWe(e,t,n,r,i,o,a,s){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,f=r?n.bottom:n.right,d=!1;if(!a){if(s&&Ebc+u*o/2:lf-Eb)return-Pm}else if(l>c+u*(1-i)/2&&lf-u*o/2)?l>c+u/2?1:-1:0}function sWe(e){return Hr(mt)1&&(un.forEach(function(s){o.addAnimationState({target:s,rect:Zo?kr(s):a}),r8(s),s.fromRect=a,r.removeAnimationState(s)}),Zo=!1,pWe(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var r=n.sortable,i=n.isOwner,o=n.insertion,a=n.activeSortable,s=n.parentEl,l=n.putSortable,u=this.options;if(o){if(i&&a._hideClone(),j1=!1,u.animation&&un.length>1&&(Zo||!i&&!a.options.sort&&!l)){var c=kr(pr,!1,!0,!0);un.forEach(function(d){d!==pr&&(JU(d,c),s.appendChild(d))}),Zo=!0}if(!i)if(Zo||YR(),un.length>1){var f=BR;a._showClone(r),a.options.animation&&!BR&&f&&Ma.forEach(function(d){a.addAnimationState({target:d,rect:q1}),d.fromRect=q1,d.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,i=n.isOwner,o=n.activeSortable;if(un.forEach(function(s){s.thisAnimationDuration=null}),o.options.animation&&!i&&o.multiDrag.isMultiDrag){q1=Ps({},r);var a=Wh(pr,!0);q1.top-=a.f,q1.left-=a.e}},dragOverAnimationComplete:function(){Zo&&(Zo=!1,YR())},drop:function(n){var r=n.originalEvent,i=n.rootEl,o=n.parentEl,a=n.sortable,s=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,c=u||this.sortable;if(r){var f=this.options,d=o.children;if(!op)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Er(pr,f.selectedClass,!~un.indexOf(pr)),~un.indexOf(pr))un.splice(un.indexOf(pr),1),$1=null,Ng({sortable:a,rootEl:i,name:"deselect",targetEl:pr,originalEvt:r});else{if(un.push(pr),Ng({sortable:a,rootEl:i,name:"select",targetEl:pr,originalEvt:r}),r.shiftKey&&$1&&a.el.contains($1)){var h=Hr($1),p=Hr(pr);if(~h&&~p&&h!==p){var v,g;for(p>h?(g=h,v=p):(g=p,v=h+1);g1){var m=kr(pr),y=Hr(pr,":not(."+this.options.selectedClass+")");if(!j1&&f.animation&&(pr.thisAnimationDuration=null),c.captureAnimationState(),!j1&&(f.animation&&(pr.fromRect=m,un.forEach(function(A){if(A.thisAnimationDuration=null,A!==pr){var x=Zo?kr(A):m;A.fromRect=x,c.addAnimationState({target:A,rect:x})}})),YR(),un.forEach(function(A){d[y]?o.insertBefore(A,d[y]):o.appendChild(A),y++}),l===Hr(pr))){var R=!1;un.forEach(function(A){if(A.sortableIndex!==Hr(A)){R=!0;return}}),R&&s("update")}un.forEach(function(A){r8(A)}),c.animateAll()}Zs=c}(i===o||u&&u.lastPutMode!=="clone")&&Ma.forEach(function(A){A.parentNode&&A.parentNode.removeChild(A)})}},nullingGlobal:function(){this.isMultiDrag=op=!1,Ma.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Sn(document,"pointerup",this._deselectMultiDrag),Sn(document,"mouseup",this._deselectMultiDrag),Sn(document,"touchend",this._deselectMultiDrag),Sn(document,"keydown",this._checkKeyDown),Sn(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof op<"u"&&op)&&Zs===this.sortable&&!(n&&nl(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;un.length;){var r=un[0];Er(r,this.options.selectedClass,!1),un.shift(),Ng({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ps(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[co];!r||!r.options.multiDrag||~un.indexOf(n)||(Zs&&Zs!==r&&(Zs.multiDrag._deselectMultiDrag(),Zs=r),Er(n,r.options.selectedClass,!0),un.push(n))},deselect:function(n){var r=n.parentNode[co],i=un.indexOf(n);!r||!r.options.multiDrag||!~i||(Er(n,r.options.selectedClass,!1),un.splice(i,1))}},eventProperties:function(){var n=this,r=[],i=[];return un.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var a;Zo&&o!==pr?a=-1:Zo?a=Hr(o,":not(."+n.options.selectedClass+")"):a=Hr(o),i.push({multiDragElement:o,index:a})}),{items:XXe(un),clones:[].concat(Ma),oldIndicies:r,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function pWe(e,t){un.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function tB(e,t){Ma.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function YR(){un.forEach(function(e){e!==pr&&e.parentNode&&e.parentNode.removeChild(e)})}Kt.mount(new cWe);Kt.mount(YP,BP);const vWe=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:hWe,Sortable:Kt,Swap:fWe,default:Kt},Symbol.toStringTag,{value:"Module"})),gWe=xO(vWe);(function(e,t){(function(r,i){e.exports=i(IXe,gWe)})(typeof self<"u"?self:Xt,function(n,r){return function(i){var o={};function a(s){if(o[s])return o[s].exports;var l=o[s]={i:s,l:!1,exports:{}};return i[s].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=i,a.c=o,a.d=function(s,l,u){a.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:u})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,l){if(l&1&&(s=a(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var u=Object.create(null);if(a.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var c in s)a.d(u,c,(function(f){return s[f]}).bind(null,c));return u},a.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(l,"a",l),l},a.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},a.p="",a(a.s="fb15")}({"00ee":function(i,o,a){var s=a("b622"),l=s("toStringTag"),u={};u[l]="z",i.exports=String(u)==="[object z]"},"0366":function(i,o,a){var s=a("1c0b");i.exports=function(l,u,c){if(s(l),u===void 0)return l;switch(c){case 0:return function(){return l.call(u)};case 1:return function(f){return l.call(u,f)};case 2:return function(f,d){return l.call(u,f,d)};case 3:return function(f,d,h){return l.call(u,f,d,h)}}return function(){return l.apply(u,arguments)}}},"057f":function(i,o,a){var s=a("fc6a"),l=a("241c").f,u={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(d){try{return l(d)}catch{return c.slice()}};i.exports.f=function(h){return c&&u.call(h)=="[object Window]"?f(h):l(s(h))}},"06cf":function(i,o,a){var s=a("83ab"),l=a("d1e7"),u=a("5c6c"),c=a("fc6a"),f=a("c04e"),d=a("5135"),h=a("0cfb"),p=Object.getOwnPropertyDescriptor;o.f=s?p:function(g,m){if(g=c(g),m=f(m,!0),h)try{return p(g,m)}catch{}if(d(g,m))return u(!l.f.call(g,m),g[m])}},"0cfb":function(i,o,a){var s=a("83ab"),l=a("d039"),u=a("cc12");i.exports=!s&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,o,a){var s=a("23e7"),l=a("d58f").left,u=a("a640"),c=a("ae40"),f=u("reduce"),d=c("reduce",{1:0});s({target:"Array",proto:!0,forced:!f||!d},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,o,a){var s=a("c6b6"),l=a("9263");i.exports=function(u,c){var f=u.exec;if(typeof f=="function"){var d=f.call(u,c);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(s(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,c)}},"159b":function(i,o,a){var s=a("da84"),l=a("fdbc"),u=a("17c2"),c=a("9112");for(var f in l){var d=s[f],h=d&&d.prototype;if(h&&h.forEach!==u)try{c(h,"forEach",u)}catch{h.forEach=u}}},"17c2":function(i,o,a){var s=a("b727").forEach,l=a("a640"),u=a("ae40"),c=l("forEach"),f=u("forEach");i.exports=!c||!f?function(h){return s(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,o,a){var s=a("d066");i.exports=s("document","documentElement")},"1c0b":function(i,o){i.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(i,o,a){var s=a("b622"),l=s("iterator"),u=!1;try{var c=0,f={next:function(){return{done:!!c++}},return:function(){u=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}i.exports=function(d,h){if(!h&&!u)return!1;var p=!1;try{var v={};v[l]=function(){return{next:function(){return{done:p=!0}}}},d(v)}catch{}return p}},"1d80":function(i,o){i.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(i,o,a){var s=a("d039"),l=a("b622"),u=a("2d00"),c=l("species");i.exports=function(f){return u>=51||!s(function(){var d=[],h=d.constructor={};return h[c]=function(){return{foo:1}},d[f](Boolean).foo!==1})}},"23cb":function(i,o,a){var s=a("a691"),l=Math.max,u=Math.min;i.exports=function(c,f){var d=s(c);return d<0?l(d+f,0):u(d,f)}},"23e7":function(i,o,a){var s=a("da84"),l=a("06cf").f,u=a("9112"),c=a("6eeb"),f=a("ce4e"),d=a("e893"),h=a("94ca");i.exports=function(p,v){var g=p.target,m=p.global,y=p.stat,R,A,x,S,L,w;if(m?A=s:y?A=s[g]||f(g,{}):A=(s[g]||{}).prototype,A)for(x in v){if(L=v[x],p.noTargetGet?(w=l(A,x),S=w&&w.value):S=A[x],R=h(m?x:g+(y?".":"#")+x,p.forced),!R&&S!==void 0){if(typeof L==typeof S)continue;d(L,S)}(p.sham||S&&S.sham)&&u(L,"sham",!0),c(A,x,L,p)}}},"241c":function(i,o,a){var s=a("ca84"),l=a("7839"),u=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return s(f,u)}},"25f0":function(i,o,a){var s=a("6eeb"),l=a("825a"),u=a("d039"),c=a("ad6d"),f="toString",d=RegExp.prototype,h=d[f],p=u(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),v=h.name!=f;(p||v)&&s(RegExp.prototype,f,function(){var m=l(this),y=String(m.source),R=m.flags,A=String(R===void 0&&m instanceof RegExp&&!("flags"in d)?c.call(m):R);return"/"+y+"/"+A},{unsafe:!0})},"2ca0":function(i,o,a){var s=a("23e7"),l=a("06cf").f,u=a("50c4"),c=a("5a34"),f=a("1d80"),d=a("ab13"),h=a("c430"),p="".startsWith,v=Math.min,g=d("startsWith"),m=!h&&!g&&!!function(){var y=l(String.prototype,"startsWith");return y&&!y.writable}();s({target:"String",proto:!0,forced:!m&&!g},{startsWith:function(R){var A=String(f(this));c(R);var x=u(v(arguments.length>1?arguments[1]:void 0,A.length)),S=String(R);return p?p.call(A,S,x):A.slice(x,x+S.length)===S}})},"2d00":function(i,o,a){var s=a("da84"),l=a("342f"),u=s.process,c=u&&u.versions,f=c&&c.v8,d,h;f?(d=f.split("."),h=d[0]+d[1]):l&&(d=l.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=l.match(/Chrome\/(\d+)/),d&&(h=d[1]))),i.exports=h&&+h},"342f":function(i,o,a){var s=a("d066");i.exports=s("navigator","userAgent")||""},"35a1":function(i,o,a){var s=a("f5df"),l=a("3f8c"),u=a("b622"),c=u("iterator");i.exports=function(f){if(f!=null)return f[c]||f["@@iterator"]||l[s(f)]}},"37e8":function(i,o,a){var s=a("83ab"),l=a("9bf2"),u=a("825a"),c=a("df75");i.exports=s?Object.defineProperties:function(d,h){u(d);for(var p=c(h),v=p.length,g=0,m;v>g;)l.f(d,m=p[g++],h[m]);return d}},"3bbe":function(i,o,a){var s=a("861d");i.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(i,o,a){var s=a("6547").charAt,l=a("69f3"),u=a("7dd0"),c="String Iterator",f=l.set,d=l.getterFor(c);u(String,"String",function(h){f(this,{type:c,string:String(h),index:0})},function(){var p=d(this),v=p.string,g=p.index,m;return g>=v.length?{value:void 0,done:!0}:(m=s(v,g),p.index+=m.length,{value:m,done:!1})})},"3f8c":function(i,o){i.exports={}},4160:function(i,o,a){var s=a("23e7"),l=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(i,o,a){var s=a("da84");i.exports=s},"44ad":function(i,o,a){var s=a("d039"),l=a("c6b6"),u="".split;i.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return l(c)=="String"?u.call(c,""):Object(c)}:Object},"44d2":function(i,o,a){var s=a("b622"),l=a("7c73"),u=a("9bf2"),c=s("unscopables"),f=Array.prototype;f[c]==null&&u.f(f,c,{configurable:!0,value:l(null)}),i.exports=function(d){f[c][d]=!0}},"44e7":function(i,o,a){var s=a("861d"),l=a("c6b6"),u=a("b622"),c=u("match");i.exports=function(f){var d;return s(f)&&((d=f[c])!==void 0?!!d:l(f)=="RegExp")}},4930:function(i,o,a){var s=a("d039");i.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(i,o,a){var s=a("fc6a"),l=a("50c4"),u=a("23cb"),c=function(f){return function(d,h,p){var v=s(d),g=l(v.length),m=u(p,g),y;if(f&&h!=h){for(;g>m;)if(y=v[m++],y!=y)return!0}else for(;g>m;m++)if((f||m in v)&&v[m]===h)return f||m||0;return!f&&-1}};i.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(i,o,a){var s=a("23e7"),l=a("b727").filter,u=a("1dde"),c=a("ae40"),f=u("filter"),d=c("filter");s({target:"Array",proto:!0,forced:!f||!d},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,o,a){var s=a("0366"),l=a("7b0b"),u=a("9bdd"),c=a("e95a"),f=a("50c4"),d=a("8418"),h=a("35a1");i.exports=function(v){var g=l(v),m=typeof this=="function"?this:Array,y=arguments.length,R=y>1?arguments[1]:void 0,A=R!==void 0,x=h(g),S=0,L,w,M,_,P,k;if(A&&(R=s(R,y>2?arguments[2]:void 0,2)),x!=null&&!(m==Array&&c(x)))for(_=x.call(g),P=_.next,w=new m;!(M=P.call(_)).done;S++)k=A?u(_,R,[M.value,S],!0):M.value,d(w,S,k);else for(L=f(g.length),w=new m(L);L>S;S++)k=A?R(g[S],S):g[S],d(w,S,k);return w.length=S,w}},"4fad":function(i,o,a){var s=a("23e7"),l=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(c){return l(c)}})},"50c4":function(i,o,a){var s=a("a691"),l=Math.min;i.exports=function(u){return u>0?l(s(u),9007199254740991):0}},5135:function(i,o){var a={}.hasOwnProperty;i.exports=function(s,l){return a.call(s,l)}},5319:function(i,o,a){var s=a("d784"),l=a("825a"),u=a("7b0b"),c=a("50c4"),f=a("a691"),d=a("1d80"),h=a("8aa5"),p=a("14c3"),v=Math.max,g=Math.min,m=Math.floor,y=/\$([$&'`]|\d\d?|<[^>]*>)/g,R=/\$([$&'`]|\d\d?)/g,A=function(x){return x===void 0?x:String(x)};s("replace",2,function(x,S,L,w){var M=w.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,_=w.REPLACE_KEEPS_$0,P=M?"$":"$0";return[function(C,N){var I=d(this),W=C==null?void 0:C[x];return W!==void 0?W.call(C,I,N):S.call(String(I),C,N)},function(F,C){if(!M&&_||typeof C=="string"&&C.indexOf(P)===-1){var N=L(S,F,this,C);if(N.done)return N.value}var I=l(F),W=String(this),D=typeof C=="function";D||(C=String(C));var Y=I.global;if(Y){var re=I.unicode;I.lastIndex=0}for(var B=[];;){var Z=p(I,W);if(Z===null||(B.push(Z),!Y))break;var Q=String(Z[0]);Q===""&&(I.lastIndex=h(W,c(I.lastIndex),re))}for(var G="",ee=0,$=0;$=ee&&(G+=W.slice(ee,K)+j,ee=K+de.length)}return G+W.slice(ee)}];function k(F,C,N,I,W,D){var Y=N+F.length,re=I.length,B=R;return W!==void 0&&(W=u(W),B=y),S.call(D,B,function(Z,Q){var G;switch(Q.charAt(0)){case"$":return"$";case"&":return F;case"`":return C.slice(0,N);case"'":return C.slice(Y);case"<":G=W[Q.slice(1,-1)];break;default:var ee=+Q;if(ee===0)return Z;if(ee>re){var $=m(ee/10);return $===0?Z:$<=re?I[$-1]===void 0?Q.charAt(1):I[$-1]+Q.charAt(1):Z}G=I[ee-1]}return G===void 0?"":G})}})},5692:function(i,o,a){var s=a("c430"),l=a("c6cd");(i.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,o,a){var s=a("d066"),l=a("241c"),u=a("7418"),c=a("825a");i.exports=s("Reflect","ownKeys")||function(d){var h=l.f(c(d)),p=u.f;return p?h.concat(p(d)):h}},"5a34":function(i,o,a){var s=a("44e7");i.exports=function(l){if(s(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(i,o){i.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(i,o,a){var s=a("23e7"),l=a("a2bf"),u=a("7b0b"),c=a("50c4"),f=a("1c0b"),d=a("65f0");s({target:"Array",proto:!0},{flatMap:function(p){var v=u(this),g=c(v.length),m;return f(p),m=d(v,0),m.length=l(m,v,v,g,0,1,p,arguments.length>1?arguments[1]:void 0),m}})},6547:function(i,o,a){var s=a("a691"),l=a("1d80"),u=function(c){return function(f,d){var h=String(l(f)),p=s(d),v=h.length,g,m;return p<0||p>=v?c?"":void 0:(g=h.charCodeAt(p),g<55296||g>56319||p+1===v||(m=h.charCodeAt(p+1))<56320||m>57343?c?h.charAt(p):g:c?h.slice(p,p+2):(g-55296<<10)+(m-56320)+65536)}};i.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(i,o,a){var s=a("861d"),l=a("e8b5"),u=a("b622"),c=u("species");i.exports=function(f,d){var h;return l(f)&&(h=f.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:s(h)&&(h=h[c],h===null&&(h=void 0))),new(h===void 0?Array:h)(d===0?0:d)}},"69f3":function(i,o,a){var s=a("7f9a"),l=a("da84"),u=a("861d"),c=a("9112"),f=a("5135"),d=a("f772"),h=a("d012"),p=l.WeakMap,v,g,m,y=function(M){return m(M)?g(M):v(M,{})},R=function(M){return function(_){var P;if(!u(_)||(P=g(_)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return P}};if(s){var A=new p,x=A.get,S=A.has,L=A.set;v=function(M,_){return L.call(A,M,_),_},g=function(M){return x.call(A,M)||{}},m=function(M){return S.call(A,M)}}else{var w=d("state");h[w]=!0,v=function(M,_){return c(M,w,_),_},g=function(M){return f(M,w)?M[w]:{}},m=function(M){return f(M,w)}}i.exports={set:v,get:g,has:m,enforce:y,getterFor:R}},"6eeb":function(i,o,a){var s=a("da84"),l=a("9112"),u=a("5135"),c=a("ce4e"),f=a("8925"),d=a("69f3"),h=d.get,p=d.enforce,v=String(String).split("String");(i.exports=function(g,m,y,R){var A=R?!!R.unsafe:!1,x=R?!!R.enumerable:!1,S=R?!!R.noTargetGet:!1;if(typeof y=="function"&&(typeof m=="string"&&!u(y,"name")&&l(y,"name",m),p(y).source=v.join(typeof m=="string"?m:"")),g===s){x?g[m]=y:c(m,y);return}else A?!S&&g[m]&&(x=!0):delete g[m];x?g[m]=y:l(g,m,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(i,o,a){var s=a("83ab"),l=a("df75"),u=a("fc6a"),c=a("d1e7").f,f=function(d){return function(h){for(var p=u(h),v=l(p),g=v.length,m=0,y=[],R;g>m;)R=v[m++],(!s||c.call(p,R))&&y.push(d?[R,p[R]]:p[R]);return y}};i.exports={entries:f(!0),values:f(!1)}},"73d9":function(i,o,a){var s=a("44d2");s("flatMap")},7418:function(i,o){o.f=Object.getOwnPropertySymbols},"746f":function(i,o,a){var s=a("428f"),l=a("5135"),u=a("e538"),c=a("9bf2").f;i.exports=function(f){var d=s.Symbol||(s.Symbol={});l(d,f)||c(d,f,{value:u.f(f)})}},7839:function(i,o){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,o,a){var s=a("1d80");i.exports=function(l){return Object(s(l))}},"7c73":function(i,o,a){var s=a("825a"),l=a("37e8"),u=a("7839"),c=a("d012"),f=a("1be4"),d=a("cc12"),h=a("f772"),p=">",v="<",g="prototype",m="script",y=h("IE_PROTO"),R=function(){},A=function(M){return v+m+p+M+v+"/"+m+p},x=function(M){M.write(A("")),M.close();var _=M.parentWindow.Object;return M=null,_},S=function(){var M=d("iframe"),_="java"+m+":",P;return M.style.display="none",f.appendChild(M),M.src=String(_),P=M.contentWindow.document,P.open(),P.write(A("document.F=Object")),P.close(),P.F},L,w=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}w=L?x(L):S();for(var M=u.length;M--;)delete w[g][u[M]];return w()};c[y]=!0,i.exports=Object.create||function(_,P){var k;return _!==null?(R[g]=s(_),k=new R,R[g]=null,k[y]=_):k=w(),P===void 0?k:l(k,P)}},"7dd0":function(i,o,a){var s=a("23e7"),l=a("9ed3"),u=a("e163"),c=a("d2bb"),f=a("d44e"),d=a("9112"),h=a("6eeb"),p=a("b622"),v=a("c430"),g=a("3f8c"),m=a("ae93"),y=m.IteratorPrototype,R=m.BUGGY_SAFARI_ITERATORS,A=p("iterator"),x="keys",S="values",L="entries",w=function(){return this};i.exports=function(M,_,P,k,F,C,N){l(P,_,k);var I=function($){if($===F&&B)return B;if(!R&&$ in Y)return Y[$];switch($){case x:return function(){return new P(this,$)};case S:return function(){return new P(this,$)};case L:return function(){return new P(this,$)}}return function(){return new P(this)}},W=_+" Iterator",D=!1,Y=M.prototype,re=Y[A]||Y["@@iterator"]||F&&Y[F],B=!R&&re||I(F),Z=_=="Array"&&Y.entries||re,Q,G,ee;if(Z&&(Q=u(Z.call(new M)),y!==Object.prototype&&Q.next&&(!v&&u(Q)!==y&&(c?c(Q,y):typeof Q[A]!="function"&&d(Q,A,w)),f(Q,W,!0,!0),v&&(g[W]=w))),F==S&&re&&re.name!==S&&(D=!0,B=function(){return re.call(this)}),(!v||N)&&Y[A]!==B&&d(Y,A,B),g[_]=B,F)if(G={values:I(S),keys:C?B:I(x),entries:I(L)},N)for(ee in G)(R||D||!(ee in Y))&&h(Y,ee,G[ee]);else s({target:_,proto:!0,forced:R||D},G);return G}},"7f9a":function(i,o,a){var s=a("da84"),l=a("8925"),u=s.WeakMap;i.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(i,o,a){var s=a("861d");i.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(i,o,a){var s=a("d039");i.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,o,a){var s=a("c04e"),l=a("9bf2"),u=a("5c6c");i.exports=function(c,f,d){var h=s(f);h in c?l.f(c,h,u(0,d)):c[h]=d}},"861d":function(i,o){i.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(i,o,a){var s,l,u;(function(c,f){l=[],s=f,u=typeof s=="function"?s.apply(o,l):s,u!==void 0&&(i.exports=u)})(typeof self<"u"?self:this,function(){function c(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=d.exec(L.stack)||h.exec(L.stack),v=p&&p[1]||!1,g=p&&p[2]||!1,m=document.location.href.replace(document.location.hash,""),y,R,A,x=document.getElementsByTagName("script");v===m&&(y=document.documentElement.outerHTML,R=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]* +